EcoStruxure Geo SCADA Expert Forum
Schneider Electric support forum about installation, configuration, integration and troubleshooting of EcoStruxure Geo SCADA Expert (ClearSCADA, ViewX, WebX).
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-03-26 06:44 PM . Last Modified: 2023-05-03 12:15 AM
Hi,
We have a single pump template that caters to two different types of VSD's that both talk via the built-in SCADAPack Modbus Scanner. The only difference between those two types of VSD's is the Modbus mapping is different. This difference is currently accounted for via a template parameter, i.e. you set this parameter in the site instance to 0 and it will use a certain Modbus map, while setting the parameter to 1 will use a different Modbus map. This allows the single template to cater for both VSD configurations.
The issue is if maintenance crews change the VSD out on-site from one type to another, then we have to be engaged just to toggle that one parameter. Is there a way to expose template parameters somehow so that it can be changed by an operator from a mimic? Such as through scripting and/or logic?
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-03-29 05:57 PM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-03-29 05:57 PM
They aren't exposed internally, you'd have to use the .NET API. There's a method in Client.Simple; DBObject.SetInstanceVariablesMethod.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-03-29 05:57 PM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-03-29 05:57 PM
They aren't exposed internally, you'd have to use the .NET API. There's a method in Client.Simple; DBObject.SetInstanceVariablesMethod.
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: 2020-03-29 07:47 PM
Thanks Jesse, probably too much complexity and trouble for our particular situation but definitely good to keep in mind for future.
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: 2020-03-30 07:26 AM . Last Modified: 2020-03-30 07:50 AM
@rlao You can allow writing to a Variable object in the template.
Just put it on a mimic and set the pick action to the method.
One gotcha with Parameters is that if you export it, you don't get the value because it is not part of the configuration. I have gotten around this by using a Constant Variable.
Set the override on Variable Value.
The user needs configuration rights to be able to write to it. Also, you have to use a script to set the Value.
Edited: to be more clear on the override and what is being set.
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: 2020-03-30 10:10 PM
Hi Geoff,
Yes that's the way we've always done it, but I am trying to embrace the use of template parameters. Works very well in some cases but I've also encountered shortcomings such as this. I think if there was a way to expose template parameters to the end-user rather than just have it as an engineering thing, it would be a lot easier to adopt.
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: 2020-03-31 05:27 AM
+1 to what Geoff said.
I'm assuming two things. One is your operators have the ability to Control. The second is that your "single pump template" has within it, everything that it needs for both VSD's and, you aren't changing from one instance of a template, to an instance of a completely different template.
I would use a Variable (Boolean) or Internal Digital Point inside of your template that your operators can Control. The Internal has the added bonus of having history so it can be added to a Trend. Have your Variable or Internal Digital run a ST or FBD program set to either run On Input Processed, or Set to Timed but with a time limit of 0, then give your operators a button to Execute the program. Then have the program change the the same parameter you are already using. This way when you export or backup your Database, you have the parameter in the current state.
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.