The Xentara Modbus Driver v1.2
User Manual
JSON Format for Discrete Inputs
See also
Skill Element Blocks in the Xentara user manual

A JSON object describing a discrete input has the following syntax:

{
"@Skill.Modbus.DiscreteInput": {
"name": "Discrete Input 108",
"UUID": "ce30fa69-c291-4813-9cc6-b7897a2bd16a",
"ACL": { ... },
"address": 108,
"poll": "Modbus Controller 4.Poll Outputs"
}
}

Object Members
nameA string value containing the name of the discrete input. The name is used to construct the discrete input’s primary key.
UUIDA string value containing the unique UUID of the discrete input.
ACLAn optional JSON object containing the element ACL of the discrete input. The format of the object is described under JSON Format for ACLs in the Xentara user manual.
addressAn integer value containing the 0-based address of the discrete input. Must be in the range of 0 to 65535.
pollAn optional string value describing the poll in which the discrete input’s current value should be queried. The string value must contain the primary key of the poll. If you do not specify a poll, the input’s current value will be unavailable.