User manual
RS232-ADC16/24
Response : Read Input Registers
Function code 1 byte 0x04
Byte count 1 byte (Register count) * 2
Register values (Register count) * 2 bytes
Otherwise an error response is send.
6.3 Write Single Register
Single holding registers can be written using this function. The function code is
followed by a 16-bit register address and a 16-bit register value.
Command/Response : Write Single Register
Function code 1 byte 0x06
Register address 2 bytes 0x0000 to 0xFFFF
Register value 2 bytes
If the function succeeds the response is equal to the received command
otherwise an error response is send.
6.4 Write Multiple Registers
If more than one holding registers have to be written, this function can be used.
A block of register values follows function code, address and register count. Up
to 123 registers can be written simultaneous.
Command : Write Multiple Registers
Function code 1 byte 0x10
Register address 2 bytes 0x0000 to 0xFFFF
Register count 2 bytes 0x0001 to 0x007B
Byte count 1 byte (Register count) * 2
Register values (Register count) * 2 bytes
If the function succeeds the corresponding response is send.
Page 9/22