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

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

Set the value of a Template Parameter on an Instance via Scripting/Logic

EcoStruxure Geo SCADA Expert Forum

Schneider Electric support forum about installation, configuration, integration and troubleshooting of EcoStruxure Geo SCADA Expert (ClearSCADA, ViewX, WebX).

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
  • Remote Operations
  • EcoStruxure Geo SCADA Expert Forum
  • Set the value of a Template Parameter on an Instance via Scripting/Logic
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
sbeadle
Kirk sbeadle Kirk
307
AndrewScott
Admiral AndrewScott
95
BevanWeiss
Spock BevanWeiss
89
AdamWoodlandToo
Lt. Commander AdamWoodlandToo
36
View All
Related Products
product field
Schneider Electric
EcoStruxure™ Geo SCADA Expert

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to EcoStruxure Geo SCADA Expert Forum
Solved
rlao
Lt. Commander rlao
Lt. Commander

Posted: ‎2020-03-26 06:44 PM . Last Modified: ‎2023-05-03 12:15 AM

0 Likes
5
2944
  • 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: ‎2020-03-26 06:44 PM . Last Modified: ‎2023-05-03 12:15 AM

Set the value of a Template Parameter on an Instance via Scripting/Logic

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?

Labels
  • Labels:
  • SCADA
  • Telemetry
Reply

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

  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
Anonymous user
Not applicable

Posted: ‎2020-03-29 05:57 PM

0 Likes
1
2916
  • 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: ‎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.

See Answer In Context

Reply

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

Replies 5
Anonymous user
Not applicable

Posted: ‎2020-03-29 05:57 PM

0 Likes
1
2917
  • 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: ‎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.

Reply

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

rlao
Lt. Commander rlao
Lt. Commander

Posted: ‎2020-03-29 07:47 PM

In response to Anonymous user
0 Likes
0
2913
  • 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: ‎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.

Reply

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

geoffpatton
Captain geoffpatton
Captain

Posted: ‎2020-03-30 07:26 AM . Last Modified: ‎2020-03-30 07:50 AM

0 Likes
2
2907
  • 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: ‎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.

Reply

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

rlao
Lt. Commander rlao
Lt. Commander

Posted: ‎2020-03-30 10:10 PM

In response to geoffpatton
0 Likes
1
2891
  • 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: ‎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.

Reply

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

Hardin4019
Lieutenant Hardin4019
Lieutenant

Posted: ‎2020-03-31 05:27 AM

In response to rlao
0 Likes
0
2886
  • 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: ‎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. 

 

 

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