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

A JSON object describing a coil has the following syntax:

{
"@IO.Modbus.Coil": {
"id": "Coil 12",
"uuid": "980ac0c9-4802-4ace-8ac0-20665b411791",
"address": 12,
"poll": "Modbus Controller 4.Poll Inputs"
}
}

Object Members
idA string value containing the ID of the coil. The ID is used to construct the coil’s primary key.
uuidA string value containing the unique UUID of the coil.
addressAn integer value containing the 0-based address of the coil. Must be in the range of 0 to 65535.
pollAn optional string value describing the poll in which the coil’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 coil’s current value will be unavailable.