The type of the register value. This may be one of the following:
bit
: One-bit value (a coil, in Modbus terminology).s16
: Signed 16-bit integer.u16
: Unsigned 16-bit integer.s32
: Signed 32-bit integer.u32
: Unsigned 32-bit integer.s32l
: Signed 32-bit integer, word-swapped.u32l
: Unsigned 32-bit integer, word-swapped.s64
: Signed 64-bit integer.u64
: Unsigned 64-bit integer.float16
: IEEE-754 half-precision float.float16l
: IEEE-754 half-precision floating point,
little-endian (byte-swapped).float
: IEEE-754 single-precision float.floatl
: IEEE-754 single-precision float, word-swapped.double
: IEEE-754 double-precision float.Normal response.
Unauthorized response.
{- "result": "u32",
- "error": "Error message (present if an error occurred)."
}