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 address
Function
1Byte 1Byte 1Byte 1Byte 1Byte 1Byte 1Byte 1Byte
(2) Response (Slave)
Slave address
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 (Address 17) 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
(100008 to
(100010 to
Low High
11 H 02 H 02 H CD H 01 H ## H ## H