Sign In Help
Schneider Electric
HelpSign In
Schneider Electric Exchange
  • Home
  • Collaborate
  • Develop
  • Shop
Home Collaborate Develop Shop Log in or Register Help

Invite a Co-worker

Send a co-worker an invite to the Exchange 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
  • Home
  • Collaborate
  • Exchange Community
  • :
  • SCADA & Telemetry Solutions
  • :
  • Geo SCADA Expert Forum
  • :
  • Changing Template ID of Group Templates
Community Menu
  • Forums
    • By Topic
        • EcoStruxure IT
          • EcoStruxure IT forum
        • Industrial Automation
          • Industry Automation and Control Forum
          • Alliance System Integrators Forum
          • Machine Solutions in the Digital Transformation
          • EcoStruxure Automation Expert / IEC 61499 Forum
          • Industrial Edge Computing Forum
          • Level and Pressure Instrumentation Forum
          • Modicon User Group
          • PLC Club Indonesia
          • SEE Automation Club Forum
          • Fabrika ve Makina Otomasyonu Çözümleri
          • Форум по промышленной автоматизации СНГ
        • SCADA & Telemetry Solutions
          • Geo SCADA Expert Forum
          • SCADA and Telemetry Devices Forum
        • Power Distribution IEC
          • Power Distribution and Digital
          • Power Standards & Regulations
          • Paneelbouw & Energie Distributie
          • Eldistribution & Fastighetsautomation
        • Power Distribution Softwares
          • EcoStruxure Power Design Forum
          • SEE Electrical Building+ Forum
          • LayoutFAST User Group Forum
        • Wireless Information Network Solutions
          • Instrument Area Network
          • Remote Monitoring
          • Tank Level Monitoring
          • Remote Data Collection
        • Solutions for your Business
          • Solutions for Food & Beverage Forum
          • Solutions for Healthcare Forum
    • By Segment
        • Food & Beverage
          • Solutions for Food & Beverage Forum
        • Healthcare
          • Solutions for Healthcare Forum
      • EcoStruxure IT
        • EcoStruxure IT forum
      • Industrial Automation
        • Industry Automation and Control Forum
        • Alliance System Integrators Forum
        • Machine Solutions in the Digital Transformation
        • EcoStruxure Automation Expert / IEC 61499 Forum
        • Industrial Edge Computing Forum
        • Level and Pressure Instrumentation Forum
        • Modicon User Group
        • PLC Club Indonesia
        • SEE Automation Club Forum
        • Fabrika ve Makina Otomasyonu Çözümleri
        • Форум по промышленной автоматизации СНГ
      • SCADA & Telemetry Solutions
        • Geo SCADA Expert Forum
        • SCADA and Telemetry Devices Forum
      • Power Distribution IEC
        • Power Distribution and Digital
        • Power Standards & Regulations
        • Paneelbouw & Energie Distributie
        • Eldistribution & Fastighetsautomation
      • Power Distribution Softwares
        • EcoStruxure Power Design Forum
        • SEE Electrical Building+ Forum
        • LayoutFAST User Group Forum
      • Wireless Information Network Solutions
        • Instrument Area Network
        • Remote Monitoring
        • Tank Level Monitoring
        • Remote Data Collection
      • Solutions for your Business
        • Solutions for Food & Beverage Forum
        • Solutions for Healthcare Forum
      • Food & Beverage
        • Solutions for Food & Beverage Forum
      • Healthcare
        • Solutions for Healthcare Forum
  • Blogs
    • By Topic
        • Industrial Automation
          • Industrial Edge Computing Blog
          • Industry 4.0 Blog
          • Industrie du Futur France
        • SCADA & Telemetry Solutions
          • SCADA and Telemetry Blog
        • Power Distribution IEC
          • Power Events & Webinars
          • Power Foundations Blog
        • Power Distribution NEMA
          • NEMA Power Foundations Blog
        • Power Distribution Softwares
          • EcoStruxure Power Design Blog
          • SEE Electrical Building+ Blog
        • Solutions for your Business
          • Solutions for Food & Beverage Blog
          • Solutions for Healthcare Blog
          • Solutions for Retail Blog
        • Community experts & publishers
          • Publishers Community
    • By Segment
        • Food & Beverage
          • Solutions for Food & Beverage Blog
        • Healthcare
          • Solutions for Healthcare Blog
        • Retail
          • Solutions for Retail Blog
      • Industrial Automation
        • Industrial Edge Computing Blog
        • Industry 4.0 Blog
        • Industrie du Futur France
      • SCADA & Telemetry Solutions
        • SCADA and Telemetry Blog
      • Power Distribution IEC
        • Power Events & Webinars
        • Power Foundations Blog
      • Power Distribution NEMA
        • NEMA Power Foundations Blog
      • Power Distribution Softwares
        • EcoStruxure Power Design Blog
        • SEE Electrical Building+ Blog
      • Solutions for your Business
        • Solutions for Food & Beverage Blog
        • Solutions for Healthcare Blog
        • Solutions for Retail Blog
      • Community experts & publishers
        • Publishers Community
      • Food & Beverage
        • Solutions for Food & Beverage Blog
      • Healthcare
        • Solutions for Healthcare Blog
      • Retail
        • Solutions for Retail Blog
  • Ideas
        • Industrial Automation
          • Modicon Ideas & new features
        • SCADA & Telemetry Solutions
          • Geo SCADA Expert Ideas
          • SCADA and Telemetry Devices Ideas
  • Knowledge Center
    • Building Automation Knowledge Base
    • Industrial Automation Knowledge Base
    • Industrial Automation How-to videos
    • SCADA & Telemetry Solutions Knowledge Base
    • Digital E-books
    • Success Stories Corner
    • Power Talks
  • Events & Webinars
    • Innovation Talks
    • Innovation Summit
    • Let's Exchange Series
    • Technology Partners
  • Support
    • Ask Exchange
    • Leaderboard
    • Our Community Guidelines
    • Community User Guide
    • How-To & Best Practices
    • More
Join Now
How can we help?
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: 
51160members
Join Now
245323posts
Join Now

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
Back to Geo SCADA Expert Forum
krishnaprasad68
Ensign krishnaprasad68
Ensign
‎2020-12-23 03:14 AM
0 Likes
7
446
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-12-23 03:14 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
  • SCADA
Tags (8)
  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
  • template
  • templateID
Share
Reply
  • All forum topics
  • Previous Topic
  • Next Topic
7 Replies 7
sbeadle
Sisko sbeadle Sisko
Sisko
‎2020-12-23 07:32 AM
1 Like
6
435
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-12-23 07:32 AM

Re: Changing Template ID of Group Templates

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 (6)
  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
Share
Reply
krishnaprasad68
Ensign krishnaprasad68
Ensign
‎2020-12-23 07:58 AM
0 Likes
5
433
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-12-23 07:58 AM

Re: Changing Template ID of Group Templates

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 (6)
  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
Share
Reply
BevanWeiss
Sisko BevanWeiss
Sisko
‎2020-12-24 04:59 PM
1 Like
4
385
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-12-24 04:59 PM

Re: Changing Template ID of Group Templates

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 (6)
  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
Share
Reply
krishnaprasad68
Ensign krishnaprasad68
Ensign
‎2021-01-19 07:37 AM
0 Likes
3
284
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2021-01-19 07:37 AM

Re: Changing Template ID of Group Templates

@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.? 

 

 

 

 

Share
Reply
geoffpatton
Lt. Commander geoffpatton
Lt. Commander
‎2021-01-19 01:37 PM
1 Like
1
279
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2021-01-19 01:37 PM

Re: Changing Template ID of Group Templates

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 (6)
  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
Share
Reply
BevanWeiss
Sisko BevanWeiss
Sisko
‎2021-01-19 09:36 PM
1 Like
0
274
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2021-01-19 09:36 PM

Re: Changing Template ID of Group Templates

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 (6)
  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
Share
Reply
krishnaprasad68
Ensign krishnaprasad68
Ensign
1 week ago
1 Like
0
57
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
1 week ago

Re: Changing Template ID of Group Templates

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

Tags (6)
  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
Share
Reply
Top Experts
User Count
sbeadle
Sisko sbeadle Sisko
188
BevanWeiss
Sisko BevanWeiss
52
AdamWoodland
Lt. Commander AdamWoodland Lt. Commander
16
JChamberlain
Lieutenant JChamberlain Lieutenant
16
AndrewScott
Lieutenant AndrewScott
15
See More Top Experts
Find a Service Provider
Find a certified partner to help you address your integration, installation, maintenance and project needs.
View all Providers
Support

Have a question? Please contact us with details, and we will respond.

Contact Us
FAQ

Look through existing questions to find popular answers.

Learn More
About

Want to know more about Exchange and its possibilities?

Learn More

Full access is just steps away!

Join Exchange for FREE and get unlimited access to our global community of experts.

Connect with Peers & Experts

Discuss challenges in energy and automation with 30,000+ experts and peers.

Get Support in Our Knowledge Base

Find answers in 10,000+ support articles to help solve your product and business challenges.

Ask Questions. Give Solutions

Find peer based solutions to your questions. Provide answers for fellow community members!

Register today for FREE

Register Now

Already have an account?Log in

About Us FAQ Terms & Conditions Privacy Notice Change your cookie settings
©2020, Schneider Electric