Tag Addressing for Derived Data Types (DDT)
- Last UpdatedAug 04, 2025
- 1 minute read
The following table defines the syntax for configuring the tag that represents the field of a structure.
|
Address |
Example |
|---|---|
|
[<alias>!]<item_ID>.<field> |
MyStruct.MyField1 or PLC1!MyStruct.MyField1 |
For example, if the Derived Data Type (DDT) "MyStruct" is defined in UnityPro as the following:
|
Field Name |
UnityPro Type |
|---|---|
|
MyField1 |
INT |
|
MyField2 |
INT |
|
MyField3 |
INT |
And MyStructInstance is configured as an instance of MyStruct in UnityPro®, then you would need to configure the following tags to access the fields of MyStructInstance:
|
Tag Name |
Tag Address |
Plant SCADA Type |
|---|---|---|
|
MyStructInstance_MyField1 |
MyStructInstance.MyField1 |
INT |
|
MyStructInstance_MyField2 |
MyStructInstance.MyField2 |
INT |
|
MyStructInstance_MyField3 |
MyStructInstance.MyField3 |
INT |