Schneider EcoStruxure Control Expert V15 – search and replace variables.

bogu

Lifetime Supporting Member
Join Date
Mar 2020
Location
Alberta
Posts
22
Greetings,
I have a lot of variables that I wish to import into ’EcoS’ ~ 3000 (each analog in contains about 14 additional support variables). I also have a lot of standard FB to populate with these variables. Too much minutia.
Is there a method to copy a bunch of FB containing dummy variables, then do a search / replace approach? Maybe something like: I export the variable list, make the search/replace association then import?

Kind regards,
-mk
 
CE has build in search / replace.
Key is first to import all variables with correct names to CE.
Then make first FBD with correct variables.
Copy this FBD and paste somewhere on CE.


Then edit -> search / replace.
(uncheck make new variables)


Replace can't done for variables which don't actualle exist on project. (red errors)
 
What I've done before is create the first four DFBs in the layout I wanted (FBD), exported the section as XEF and opened in a text editor. The format is very simple XML style.

I then wrote an excel macro to recreate the 50 odd DFBs I needed based on cells in the spreadsheet and a FOR loop to go through all the motors and instruments and write the text. Then renamed file as XEF and inported back in.

It took 15 minutes to create the macro but it was more engaging than copy paste!

Unfortunately didn't take it with me when i changed jobs recently.
 
What I've done before is create the first four DFBs in the layout I wanted (FBD), exported the section as XEF and opened in a text editor. The format is very simple XML style.

I then wrote an excel macro to recreate the 50 odd DFBs I needed based on cells in the spreadsheet and a FOR loop to go through all the motors and instruments and write the text. Then renamed file as XEF and inported back in.

It took 15 minutes to create the macro but it was more engaging than copy paste!

Unfortunately didn't take it with me when i changed jobs recently.

Saffa,
Awesome. Just awesome. This is going to save so much time.
Just did a quick test and it worked brilliantly.
  • Import all my variables first.
  • Import the FB using the above variables.
  • .... and done. %$#@-yeah!
Thanks for sharing.
 
Saffa,
Awesome. Just awesome. This is going to save so much time.
Just did a quick test and it worked brilliantly.
  • Import all my variables first.
  • Import the FB using the above variables.
  • .... and done. %$#@-yeah!
Thanks for sharing.

Glad you got it working!
 

Similar Topics

This is apparatenly the rebranding and the new version of the Unity Pro software, and essentially the V14. But didn't V13 release like one year...
Replies
8
Views
8,468
Hello, As part of our project, we are using an M241 controller. This controller interfaces with an industrial computer and a router via a switch...
Replies
2
Views
99
Everything was working fine, but suddenly CPU went into error mode, and the ERR and TER LEDs lit up. Now I can't download or connect with the PLC...
Replies
0
Views
32
Hello all, I am wanting to update the system clock via NTP in the M580/M340. I'm aware that we are able to connect to a NTP in the controller...
Replies
4
Views
115
I am using Schneider elau pack drive servo motor ISH-100. I am facing the problem that On the ISH -100 red light is blinking and pack drive C-600...
Replies
0
Views
57
Back
Top Bottom