The Xentara Modbus Driver v1.1
User Manual
Loading...
Searching...
No Matches
JSON Format for Discrete Inputs
See also
JSON Format for I/O Points in the Xentara user manual

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

{
"@IO.Modbus.DiscreteInput": {
"id": "Discrete Input 108",
"uuid": "ce30fa69-c291-4813-9cc6-b7897a2bd16a",
"address": 108,
"poll": "Modbus Controller 4.Poll Outputs"
}
}

Object Members
idA string value containing the ID of the discrete input. The ID is used to construct the inputs’s primary key.
uuidA string value containing the unique UUID of the discrete input.
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.