Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

We Value Your Feedback!
Could you please spare a few minutes to share your thoughts on Cloud Connected vs On-Premise Services. Your feedback can help us shape the future of services.
Learn more about the survey or Click here to Launch the survey
Schneider Electric Services Innovation Team!

Help with scripting automatic conversion to .ZEF format for Unity/Control Expert

Industry Automation and Control Forum

This forum is addressing industrial automation design & engineering, operations, asset performance, cyber security and digital transformation for Plants & Machines.

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • Industrial Automation
  • Industry Automation and Control Forum
  • Help with scripting automatic conversion to .ZEF format for Unity/Control Expert
Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
Bastian_Schmitz
Admiral Bastian_Schmitz Admiral
32
LeTomas
Lt. Commander LeTomas Lt. Commander
11
RoozeeR
Lt. Commander RoozeeR Lt. Commander
6
JerryBartlemay
Lieutenant JG JerryBartlemay Lieutenant JG
6
View All
Related Products
product field
Schneider Electric
EcoStruxure™ Control Expert
product field
Schneider
Unity Developer's Edition (UDE)

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Back to Industry Automation and Control Forum
PeterC
PeterC
Cadet

Posted: ‎2022-02-08 12:24 PM

0 Likes
6
2697
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2022-02-08 12:24 PM

Help with scripting automatic conversion to .ZEF format for Unity/Control Expert

Hello I'm looking into writing a script/tool that automates conversion from different Unity/Control Expert format such as STA, STU to the ZEF file format. 

 

I've looked into the Unity Developer's Edition, with which you're supposed to be able to build clients that interface with the Unity Pro Server. The documentation seems a little outdated and I'm having trouble understanding where I can find the installer for the Unity Pro Server. It doesn't look like it's available as a download on the Schneider site. 

 

Would this be the right approach for writing a conversion script, and if so, where can I get the Unity Pro Server installer?

If not, I would like to hear your thoughts on writing such an automated conversion tool. 

Labels
  • Labels:
  • Connected Products
  • Smart Design & Engineering
  • Tags:
  • english
Reply

Link copied. Please paste this link to share this article on your social media post.

  • All forum topics
  • Previous Topic
  • Next Topic
Replies 6
PLC-Easy
Ensign PLC-Easy
Ensign

Posted: ‎2022-02-08 12:57 PM

0 Likes
0
2694
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2022-02-08 12:57 PM

Hello Peter,

 

From memory, the ZEF format is a ZIP file based on either the STA or STU format.

I am not sure if that is helpful....

 

Martyn

  • Tags:
  • english
Reply

Link copied. Please paste this link to share this article on your social media post.

BevanWeiss
Spock BevanWeiss
Spock

Posted: ‎2022-02-08 04:29 PM

0 Likes
0
2682
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2022-02-08 04:29 PM

The ZEF format is just a zipped set of XML documents I believe.

 

I've manually hacked at them a bit, and it's a pretty annoying format, just due to configurations for M340 and M580 being so drastically different.  Like two entirely different XML schemas really.

 

I did have a look at the UDE and didn't make much progress either.  My expectation is that the Unity Pro Server requires a running instance of Unity Pro / ControlExpert.  There's not much knowledge of this UDE platform within Schneider Tech Support however, so trying to get support for it is almost impossible.

 

I wasn't able to find them myself, but the UDE documentation seems to suggest that the XML schema definitions are included with it somewhere... which might make manipulating the ControlExpert files programmatically possible (although this would only be offline, you'd need to import it back through ControlExpert prior to downloading to a PLC).

 

If you can get the XSD for the XML files within the ZEF package, then you could use something like XSD (or xsd2) to generate a set of .NET class definitions which you could then use to build up a custom C# or similar application to do the project modifications.

 

 

If you make more headway on the pure UDE approach, it would be great if you'd provide some more information on it.  It seemed like a good opportunity as a System Integrator to get standardisation and quality assurance within our developments... but I gave up pretty quickly when I couldn't get their example stuff working.


Lead Control Systems Engineer for Alliance Automation (VIC).
All opinions are my own and do not represent the opinions or policies of my employer, or of my cat..
  • Tags:
  • english
Reply

Link copied. Please paste this link to share this article on your social media post.

Christophe
Ensign Christophe Ensign
Ensign

Posted: ‎2022-02-08 11:59 PM

0 Likes
2
2674
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2022-02-08 11:59 PM

Hi,

 

I have been working with the UDE toolkit many many years ago, so the following indications may not be more valid or accurate.

 

First, you did not need a separate installation of a special ECE version (EcoStruxure Control Expert) to use the server mode and I don't think that it has changed throughout the years and all the subsequent versions released. As soon as you had the software installed, you were able to use the server mode which is a way to programmatically use the ECE software without using its user interface. So with these toolkit you were capable to create a new project or modify an existing one. Mostly, it was used to populate a project with variable tags or program sections from an external tool.

This toolkit has never been officially distributed "as a product", you could not order it and there was no support, so don't expect to find anyone familiar with this toolkit in the regular tech support services. I remember that it was given for free to partners who were  mostly industrial software vendors who wanted to interoperate with ECE (the name was UnityPro at that time). Eventually, many years ago, it was decided to stop this UDE toolkit that has not been updated for a very loooooong time 🙂

 

  • Tags:
  • english
Reply

Link copied. Please paste this link to share this article on your social media post.

BevanWeiss
Spock BevanWeiss
Spock

Posted: ‎2022-02-09 04:36 PM

In response to Christophe
0 Likes
1
2652
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2022-02-09 04:36 PM

Do you have a more modern way to automate modifications to ControlExpert project files?

 

Rockwell Automation provide a document which details the .L5X schema, this allows for a Logix5000 project to be exported as L5X, modified programmatically, and then Imported back in.

 

I haven't seen any similar documentation around the ControlExpert XML schemas.


Lead Control Systems Engineer for Alliance Automation (VIC).
All opinions are my own and do not represent the opinions or policies of my employer, or of my cat..
  • Tags:
  • english
Reply

Link copied. Please paste this link to share this article on your social media post.

Christophe
Ensign Christophe Ensign
Ensign

Posted: ‎2022-02-09 11:30 PM

In response to BevanWeiss
1 Like
0
2641
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2022-02-09 11:30 PM

The XML schemas were docummented in the UDE toolkit documentation 

 

2022-02-10_082405.jpg

  • Tags:
  • english
Reply

Link copied. Please paste this link to share this article on your social media post.

Benjamin11
Benjamin11
Cadet

Posted: ‎2023-11-06 05:21 AM

0 Likes
0
1864
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2023-11-06 05:21 AM

我正在做施耐德PLC的管理程序,可以利用UnityPro的自动化接口

在Excel的VBA环境里,先引用 PSBroker.PServerBroker 对象

Function test()

Dim interfaceVersion As Long

Set oApp = Nothing
Set oPSB = CreateObject("PSBroker.PServerBroker.1")

interfaceVersion = oPSB.interfaceVersion

'开打一个文件
Set oApp = oPSB.OpenApplication("c:\testSTU\lcu5+pc5_20210227.stu")

'oApp.DisplayStart psrHmiReadWrite, sCmdLine
'True是可写参数
Set oProject = oApp.Project(True)
'oProject.Variables.Item(1).

'输出特定格式
Dim ExportOption As Long
ExportOption = psrExportWithConf
oProject.Export "C:\222myExport.zef", ExportOption
oApp.ProjectClose

 


有其它技术问题可以联系我。

wanpeng8011@gmail.com

Reply

Link copied. Please paste this link to share this article on your social media post.

Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

 
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of