Skip to end of metadata
Go to start of metadata
 Returns the value of the tag at the path specified. Normally, you'd use the expression language's built-in bound-value syntax to use a tag value in an expression. What makes this function useful is that the path itself can be the result of an expression, meaning it can be dynamic.
tag("Tanks/Tank5") //returns Tank5's value.
tag("Tanks/Tank" + {Root Container.TankNum}) //returns the value for the tank represented by the dynamic property TankNum on the Root Container.
  • No labels

1 Comment

  1. Anonymous

    Can you use this function to directly address a device's tag or data point?  Like with modbus for example.  Something like tag('[MODBUS_DEVICE]1.IRI200')....I've tried a few different ways (with OPC server path etc.), but no dice so far...