type

ModbusAddr

ModbusAddr : ProtocolAddr

ModbusAddr contains all info required to connect to a modbus point. Only supports 6-digit extended Modicon format (no hex or decimal).

Example:

{ "addr": "400001", "encoding": "u2", "scale": "+32768 /10", "access": "rw" , "dis": "Run Cmd"}

slots addr

Must follow 6-digit extended Modicon address format

encoding

Specifies data representation format

bitIndex

Optional bit index within a register

access

"r" (default), "rw" (Read/Write), or "w" (Write Only)

scale

Optional ordered op chain applied to the raw value

byteOrder

Optional - defines byte ordering and endianness

dis

Optional but preferred vendor human-readable point name

addr Str <pattern:[0134]\d{5}>

Must follow 6-digit extended Modicon address format. Leading digit selects the type/function; the remaining 5 digits are the 1-based register number. Only the following register values are allowed:

0xxxxx  Coil              000001-065536
1xxxxx  Discrete Input    100001-165536
3xxxxx  Input Register    300001-365536
4xxxxx  Holding Register  400001-465536

encoding ModbusEncoding

Specifies data representation format

bitIndex Int? <maxVal:15, minVal:0>

Optional bit index within a register

access ModbusAccess <val:r>

"r" (default), "rw" (Read/Write), or "w" (Write Only)

scale ModbusScaleExpr?

Optional ordered op chain applied to the raw value.

byteOrder ModbusByteOrder?

Optional - defines byte ordering and endianness

dis Str?

Optional but preferred vendor human-readable point name

Haxall 4.0.6 ∙ 21-Jul-2026 09:48 EDT