Chapter 6 Modbus RTU protocol
61
amount of data transmitted by the device
◆
Slave device failure (error code: 04 H): The query command was not completed
correctly
For example
:
The master side reads the output state of the non-existing coil 001001 (03E8 H) (ON: 1,
OFF: 0) from the slave side (address 17).
Inquire (master side)
Slave
address
function
Initial address
Data quantity
Error check
(CRC16)
High
Low
High
Low
Low
High
11 H
01 H
03 H
E8 H
00 H
01 H
** H
** H
Answer (slave side)
Slave
addre
ss
Functi
on
+80H
Error code
Error check
(CRC16)
Low
High
11 H
81 H
02 H
** H
** H