On
the previous post it was shown how to create a template
and bind using two different methods: Expression binding to concatenate a text
with a dynamic index and Indirect Binding to bind a tag via its path. In both
cases the dynamic parameter passed was the motorIndex (int)
which was created into the Custom Properties.
In
this post a third method for dynamic binding, called
Property, is described. This method can be used, for instance, when there's not a well
structured tag path or as an alternative way to connect to the OPC tags from an UDT.
Creating the template with 3 Custom Properties: one for the id, for the OPC temperature and humidity values.
Instantiating with the tags from the project:
No comments:
Post a Comment