Description
The ADS.Variable defines an individual variable in target ADS device with its symbol name and data type. Also the Poll which the variable belongs to will be configured through its members. The specific member length is also required for STRING and WSTRING data types. Furthermore the variable publishes multiple attributes that reflect the current value, error, quality and other information about its status.
Members
- Members
id | A string value containing the ID of the ADS variable. The ID is used to construct the ADS variable’s primary key. |
UUID | A string value containing the unique UUID of the ADS variable. |
ACL | An optional JSON object containing the element ACL of the ADS variable. The format of the block is described here. |
dataType | A string value containing the data type of the variable in the target ADS device. |
symbolName | A string value containing the symbol name of the variable in the target ADS device. |
poll | A string value containing the primary key of the poll which the variable belongs to. |
length | The length of the string if the dataType is STRING or WSTRING. This member is not defined for other data types. |
Attributes
- Attributes
value | The value of the variable. |
quality | The quality of the current value. |
error | The last read error. |
updateTime | The last time the value was updated. |
changeTime | The last time the value changed. |
writeTime | The last time the value was written. |
writeError | The last write error. |
Supported data types