5.10 Reading several registers
This instruction allows reading 16-bit registers.
XX
valid value in Hex-Format
hex
LSB: least significant byte
MSB: most significant byte
Instruction (Master):
Field name
Slave address
Function Read
Start at register address (MSB)
Start at register address (LSB)
Number of registers (MSB)
Number of registers (LSB)
CRC value (LSB)
CRC value (MSB)
Response (Slave):
Field name
Slave address
Function Read
Number of data bytes
Register value 1 (MSB)
Register value 1 (LSB)
...
Register value N (MSB)
Register value N (LSB)
CRC value (LSB)
CRC value (MSB)
5.11 Writing several registers
This instruction allows writing 16-bit registers.
Instruction (Master):
Field name
Slave address
Function Write
Start at register address (MSB)
Value
Start at register address (LSB)
XX
hex
Number of registers (MSB)
03
hex
Number of registers (LSB)
XX
hex
Number of data bytes
XX
hex
(2 * number of registers)
XX
hex
Register value 1 (MSB)
XX
hex
Register value 1 (LSB)
XX
hex
...
XX
hex
Register value N (MSB)
Register value N (LSB)
CRC value (LSB)
Value
CRC value (MSB)
XX
hex
Response (Slave):
03
hex
XX
hex
Field name
XX
hex
Slave address
XX
hex
Function Write
...
Start at register address (MSB)
XX
hex
Start at register address (LSB)
XX
hex
Number of registers (MSB)
XX
hex
Number of registers (LSB)
XX
hex
CRC value (LSB)
CRC value (MSB)
Value
XX
hex
10
hex
XX
hex
XX
hex
XX
hex
XX
hex
XX
hex
XX
hex
XX
hex
...
XX
hex
XX
hex
XX
hex
XX
hex
Value
XX
hex
10
hex
XX
hex
XX
hex
XX
hex
XX
hex
XX
hex
XX
hex
Page 9 | ENG