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

Changing Template ID of Group Templates

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
  • Changing Template ID of Group Templates
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
Back to EcoStruxure Geo SCADA Expert Forum
krishnaprasad68
Ensign krishnaprasad68
Ensign

Posted: ‎2020-12-23 03:14 AM . Last Modified: ‎2023-05-03 12:06 AM

0 Likes
7
2654
  • 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-12-23 03:14 AM . Last Modified: ‎2023-05-03 12:06 AM

Changing Template ID of Group Templates

I am encountering a problem inside clear SCADA while changing the template ID of group instances.

I have two different templates with Group instance of another template inside them. I have created a group instance (instance 1)of one of them. I have referenced variables from the instance into various ST programs. I have a use case where I have to dynamically change the template ID of the instance 1. I have chosen the names such that the tags in various ST programs are not affected by this change. but every time i change the template ID the ST programs pops an error " Object(s) that this program depends on no longer exists".But on recompiling the ST program the error disappears. can anybody clarify the reason behind this and possible solutions.

 

Thanks in Advance

Labels
  • Labels:
  • SCADA
  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
  • template
  • templateID
Reply

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

  • All forum topics
  • Previous Topic
  • Next Topic
Replies 7
sbeadle
Kirk sbeadle Kirk
Kirk

Posted: ‎2020-12-23 07:32 AM

1 Like
6
2643
  • 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-12-23 07:32 AM

Hi. Logic programs resolve references at compile time, so unfortunately 'pulling the rug' under points which are being (effectively) re-referenced is not going to work. A possible workaround is to use indirectly referenced point objects and a program which fires off the Logic passing string names of the points. Note that you can't expect indirect tags to cause Logic to run on change, so you'll need to consider that.

  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
Reply

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

krishnaprasad68
Ensign krishnaprasad68
Ensign

Posted: ‎2020-12-23 07:58 AM

In response to sbeadle
0 Likes
5
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: ‎2020-12-23 07:58 AM

Thanks for the information @sbeadle . 

 

So if i use indirect tags the variables won't get updated quickly. i s that you are referring with the last statement?

  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
Reply

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

BevanWeiss
Spock BevanWeiss
Spock

Posted: ‎2020-12-24 04:59 PM

In response to krishnaprasad68
1 Like
4
2593
  • 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-12-24 04:59 PM

What Steve was meaning, I believe, is that if you use Indirect Tags, then 'On Input Processed' is no longer applicable.

Since the exact input property is not known at configure time, then the Logic Engine can't subscribe to the 'On Input Processed' event to know when it should execute.

 

Hence, if using Indirect Tags then you can only use 'On Interval' (or I guess more correctly, you can't use 'On Input Processed') as the trigger condition.

 

This may mean that the variables won't get updated as quickly, since On Input Processed is triggered on each (valid) input property change, and you would need to use On Interval which is at a fixed update rate instead.

 

 

It's probably worth you looking into a few other options to keep the fixed references.  If your logic is in a Template then you could try a 'repair instance' to see if that patches up the logic references, although I'd definitely do this on an offline database first to make sure it doesn't have any unwanted side effects.

And you should probably log a case with your local Tech Support.  When performing the Convert To... Instance of... action I would expect that all references to objects within the Template Instance should be 'patched' as required, which would make the logic valid (and re-register subscriptions as required).  It's a bit of a niche situation obviously, and so unlikely to be high up the development fix priority list, but it does seem like undesired behaviour that should ideally be improved in the future (so that these negative side effects are reduced overall).

 


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
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
Reply

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

krishnaprasad68
Ensign krishnaprasad68
Ensign

Posted: ‎2021-01-19 07:37 AM

In response to BevanWeiss
0 Likes
3
2492
  • 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: ‎2021-01-19 07:37 AM

@BevanWeiss  Thanks for the reply.

 

Unfortunately, FBD s where I want to use fixed references all are stand-alone ones, they are not part of a template. So the solution did not work for me.

 

I used another way around this problem. I used SQL queries to access and manipulate database objects instead of direct tags. This allowed me to continue using the logic even if the template IDs are changed. But this made the whole system behave in a funny way.  Now even logic programs that use direct tags are not getting executed correctly. Does using SQL queries in St programs affect system performance.? 

 

 

 

 

Reply

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

geoffpatton
Captain geoffpatton
Captain

Posted: ‎2021-01-19 01:37 PM

In response to krishnaprasad68
1 Like
1
2487
  • 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: ‎2021-01-19 01:37 PM

Yes SQL in ST can really slow down the system. When you have a lot of complex ST programs, especially if they are executing quickly, you get a bunch of things getting stuck in the queue wanting to be completed.

 

One thing that might help if you are not using it already is to use NOCACHE

 

VAR NOCACHE
Your Query code here
END_VAR

 

  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
Reply

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

BevanWeiss
Spock BevanWeiss
Spock

Posted: ‎2021-01-19 09:36 PM

In response to krishnaprasad68
1 Like
0
2482
  • 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: ‎2021-01-19 09:36 PM

As @geoffpatton said, YES SQL in ST has serious performance impacts on your database.

I'd suggest that you just don't use it, have this as your rule.

 

If your FBDs aren't in templates, then you should only have a small number of them, so manually updating them alongside the other configuration change shouldn't be too much work.


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
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
Reply

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

krishnaprasad68
Ensign krishnaprasad68
Ensign

Posted: ‎2021-02-23 10:21 PM

In response to geoffpatton
1 Like
0
2265
  • 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: ‎2021-02-23 10:21 PM

Thanks for the insight @geoffpatton . using Nocache variables improved the situation.

  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
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