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

A JSON object describing a holding register has the following syntax:

{
"@IO.Modbus.HoldingRegister": {
"id": "Holding Register 4",
"uuid": "ce30fa69-c291-4813-9cc6-b7897a2bd16a",
"address": 4,
"format": "uint16",
"poll": "Modbus Controller 4.Poll Outputs"
}
}

Object Members
idA string value containing the ID of the holding register. The ID is used to construct the registers’s primary key.
uuidA string value containing the unique UUID of the holding register.
addressAn integer value containing the 0-based address of the holding register. Must be in the range of 0 to 65535. For multi-register data formats, this must be the address of the first register of the data.
formatA string value describing the data format of the holding register. The format implicitly also specifies the number of registers to read or write.
pollAn optional string value describing the poll in which the holding register’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 register’s current value will be unavailable.