Remote Operations Forum
Support forum for Schneider Electric SCADA systems, radios and RTUs. From commissioning integration devices and software, to enhancing existing installations or troubleshooting.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-11-21 02:44 PM . Last Modified: 2024-11-21 03:09 PM
In Workbench a Program can have Local Variables - these are consumed within the program 'POU' but are not available to anything outside of it.
Is this option available in SCADAPack x70 Logic - I couldn't see any way to do that...
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-11-26 08:40 AM . Last Modified: 2024-11-26 08:44 AM
Hello Scott,
The RemoteConnect Help guide offers assistance on this topic as well as many others, in the section called "Porting Guide for SCADAPack E to SCADAPack RemoteConnect" which is in the Configuration Manuals. Look at the specific topic called "Global and Local Variables".
Please refer to the two attached screen captures which will show more details. You'll see in one image that a Program Unit was created instead of a Section. Variables in a Program Unit are by default Private, though they can be changed to Input, Output or Public type.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-11-26 08:40 AM . Last Modified: 2024-11-26 08:44 AM
Hello Scott,
The RemoteConnect Help guide offers assistance on this topic as well as many others, in the section called "Porting Guide for SCADAPack E to SCADAPack RemoteConnect" which is in the Configuration Manuals. Look at the specific topic called "Global and Local Variables".
Please refer to the two attached screen captures which will show more details. You'll see in one image that a Program Unit was created instead of a Section. Variables in a Program Unit are by default Private, though they can be changed to Input, Output or Public type.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-11-27 09:12 AM
Thanks Joel.
This falls down to the difference between a Section and a Program Unit, which I find the manuals don't really explain anywhere - I had beena voiding Program Units but evidently need them.
So, on a thus related note: the manuals state that a Program Unit can access Global Variables via the External setting. However, when I do this they are not connected. I don't want to pass everything in and out as parameters. Is this correct? They don't appear in the (Global) Variables...
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-11-29 08:39 AM . Last Modified: 2024-11-29 08:43 AM
Hi Scott,
I discussed this with our Logic Editor / Control Expert trainer, who's had a lot of experience with this type of programming. He stated that due to the nature of program units it's necessary to have this type of isolation for complete re-usability. If you're stuck on a specific issue, though, please feel free to reach out to our Global Customer Support team who have a lot of experience with these sorts of issues.
Link copied. Please paste this link to share this article on your social media post.
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.