48
0x10 Write Multiple Registers
Request
Communication address
1 byte
0* to 255
Function code
1 byte
0x10
Starting Address
2 bytes
0x0000 to 0xFFFF
Quantity of Registers
2 bytes
0x0001 to 0x007b (N)
Byte count
1 byte
2 X N
Register value
N X 2 bytes
Value
CRC
2 bytes
2 bytes CRC
Response
Communication address
1 byte
1 to 255
Function code
1 byte
0x10
Quantity of Registers
2 bytes
0x0001 to 0x007b (N)
CRC
2 bytes
2 bytes CRC
Error
Communication address
1 byte
1 to 255
Error code
1 byte
0x90
Exception code
1 bytes
0x01 or 02 or 03 or 04
CRC
2 bytes
2 bytes CRC
*Note: communication address 0 is a broadcast command to all the slaves. The slave will not
respond a broadcast command.