Currently template expressions are limited to Name and Fullname for properties. There's also no way to set template expressions programmatically. I think it would be extremely beneficial to allow template expressions to reference any OPC property from an object relative to the template. This would allow for dynamically configured fields such as control min/max, alarm conditions, tagname/itemid's, alarm sources, metadata, etc...
Ex: On a Analog in the template --> ControlMin = ".AI1.FullScale"
AlarmSource = "..Name" + ' - ' + ".AI1.DisplayName"
In short, it enables a poor mans version of bindings for OPC properties. Maybe what I'm more looking for is bindings in general for OPC properties. Being able to set something like AlarmsDisabled = (".Flow Rate" = 0) quickly from a simple properties form rather than writing logic to do it every time would be pretty neat.
Discuss challenges in energy and automation with 30,000+ experts and peers.
Find answers in 10,000+ support articles to help solve your product and business challenges.
Find peer based solutions to your questions. Provide answers for fellow community members!