1 Modbus RTU Protocol
12 © Copyright Reserved Autonics Co., Ltd.
1.2 Read input status(Func 02–02H)
Read Input ON/OFF status(1X reference) in Slave device.
(1) Query (Master)
Slave
Function
1Byte 1Byte 1Byte 1Byte 1Byte 1Byte 1Byte 1Byte
(2) Response (Slave)
Slave
Function Byte count Data Data Data
1Byte 1Byte 1Byte 1Byte 1Byte 1Byte 1Byte 1Byte
If read the 10 input status(ON: 1, OFF: 0) within range 100001(0000 H) to 100010(0009 H) in the
Slave from the Master.
Query (Master)
Slave address Function
11 H 02 H 00 H 00 H 00 H 0A H ## H ## H
If the values range 100008(0007 H) to 100001(0000 H) on Slave are “ON-ON-OFF-OFF-ON-
ON-OFF-ON”, and the values of 100010(0009 H) and 100009(0008 H) are respectively “OFF-
ON”.
Response (Slave)
Slave address Function
Byte count
Data
(100008 to 100001)
Data
(100010 to 100009)
11 H 02 H 02 H CD H 01 H ## H ## H