Access to Template Paramaters in nested Templates

When creating a template, its possible to click "Property Overrides" and create parameters. Then you can define a property override of type "By Expression" and reference the parameter to define a value.
This useful as i may create a template that represents an instrument and create a parameter called "PIDTag" and then use that parameter to define an x70's Object name, for example if i use the expression PIDTag + '_PV' and then instance the template, edit the instance and enter 'PT001' as the value of PIDTag, the points x70 Object name will be automatically populated with "PT001_PV" which is great.
The problem is that if i go and instance that template into another template, such as a site template, i have to define the value the parameter PIDTag there in the new template where i have created the instance of the template that contains the parameter. This means in this case i'd need to be sure that my instrument uses the same PID tag name for every site that i create using my new 'site' template.
What i would really like to see is a way to access the parameter PIDTag from the instance i create that contains the instance of that template within in, so i can instance sites everywhere and set each sites PIDTag uniquely - where as now i'm forced to set it within the instance within the site level template.
EG, i make an instrument template and create the PIDTag parameter. Then i create a site template that might represent a reservoir site and i instance the instrument template within.
Then i go and instance the reservoir several times to create several sites. With my new reservoir instances, i'm unable to access the PIDTag parameter of the instruments to set each PIDTag parameter uniquely.
This would greatly benefit me and others in creating x70 templates.
- Find more ideas tagged with:
- english
- scada
- SCADA app
- SCADA software
- SCADA tutorial
- Telemetry and SCADA
Link copied. Please paste this link to share this article on your social media post.