The Xentara Siemens S7 Driver v1.1.3
User Manual
JSON Format for Data Items

A JSON object describing a data item has the following syntax:

{
"@Skill.S7.Item": {
"name": "Charge Name",
"UUID": "be4ccfb9-eff1-4563-b23a-0e22a770bd14",
"ACL": { ... },
"dataType": "String",
"stringSize": 32,
"address": "MW14",
"writable": true,
"command": "PLC 1.Command"
}
}

Object Members
nameA string value containing the name of the data item. The name is used to construct the data item’s primary key.
UUIDA string value containing the unique UUID of the data item.
ACLAn optional JSON object containing the element ACL of the data item. The format of the object is described under JSON Format for ACLs in the Xentara user manual.
dataTypeThe data type of the variable the data item refers to, in the target S7 PLC.
addressThe address of the variable the data item refers to, in the target S7 PLC.
stringSize

The size of the “S7 String”. The valid range is [0-254] inclusive.

This parameter is required for data items with the data type of "String" and is not allowed for other data types.

writable

An optional Boolean value to enable or disable write operation for the data item. Setting the value to false, makes the data item read only.

If you do not specify this parameter, then the data item will not be writable.

commandThe Command that should be used to read and write the data item.