Overriding Properties in UDT Instances

It is possible to override properties of a UDT instance to create a different base structure as compared to other instances of the same data type. For example, you may have to create an instance of a UDT that uses a completely different OPC address scheme from the definition.

To override the properties

All the instances of the same data type definition, have the same configuration. But when there is an instance which needs to have a different value from the rest of them, you can override that value. Lets say we want to override the OPC Item Path property of the STATUS tag of the Motor 4 instance.

  1. From the Tag Browser, you would go to Tags > Data Types, right-click on Motor 4, then select Edit tag(s).
    The Tag Editor is displayed.

  2. Under Data Type Structure, select the STATUS tag.
    You can see that none of the fields are highlight for which you can make any changes to them.

  3. Look for the circle to the right of the OPC Item Path box and click it so you can highlight this box.
    The circle changes its color to green allowing you to edit the box.

  4. Edit the OPC Item Path and click OK.

  5. Go to Tag Browser, click on the Column selection icon on the toolbar, and select the box for OPC Item Path.
    See your changes in the column that displays the value of the OPC Item Path.

  6. To go back to the original configuration, you can unclick the green circle next to the OPC Item Path.

images/download/attachments/6034191/Tags_in_Ignition_-_Overriding_Prop_in_UDT_Instances.png

Next ...