|
The Xentara Beckhoff ADS Driver v1.3
User Manual
|
A JSON object describing a Variable has the following syntax:
| name | A string value containing the name of the Variable. The name is used to construct the Variable’s primary key. |
| UUID | A string value containing the unique UUID of the Variable. |
| ACL | An optional JSON object containing the element ACL of the Variable. The format of the object is described under JSON Format for ACLs in the Xentara user manual. |
| symbolName | A string value containing the symbol name of the variable in the target ADS device. |
| dataType | A string value containing the data type of the variable in the target ADS device. |
| length | An integer value containing the length of the string if the dataType is “STRING” or “WSTRING”. This member is not defined for other data types. |
| poll | A string value containing the primary key of the poll which the variable belongs to. |
| Data Type | Description | |
|---|---|---|
| 1 | BOOL | Boolean value (true or false) |
| 2 | BYTE | unsigned 8-bit integer |
| 3 | WORD | unsigned 16-bit integer |
| 4 | DWORD | unsigned 32-bit integer |
| 5 | LWORD | unsigned 64-bit integer |
| 6 | SINT | signed 8-bit integer |
| 7 | USINT | unsigned 8-bit integer |
| 8 | INT | signed 16-bit integer |
| 9 | UINT | unsigned 16-bit integer |
| 10 | DINT | signed 32-bit integer |
| 11 | UDINT | unsigned 32-bit integer |
| 12 | LINT | signed 64-bit integer |
| 13 | ULINT | unsigned 64-bit integer |
| 14 | REAL | 32-bit IEEE 754 floating point value |
| 15 | LREAL | 64-bit IEEE 754 floating point value |
| 16 | STRING | A string of 8-Bit characters |
| 17 | WSTRING | A string of 16-Bit characters |