1 Modbus RTU Protocol Autonics
10 © Copyright Reserved Autonics Co., Ltd.
1.2 Read Input Status(Func02–02H)
Read the input(1X reference) ON/OFF Status in Slave device.
(1) Query(Master Side)
Slave Address Function
Starting Address No. of Points. Error Check(CRC16)
High Low High Low Low High
1Byte 1Byte 1Byte 1Byte 1Byte 1Byte 1Byte 1Byte
(2) Response(Slave Side)
Slave Address Function Byte Count Data Data Data
Error Check(CRC16)
Low High
1Byte 1Byte 1Byte 1Byte 1Byte 1Byte 1Byte 1Byte
If read the input status of 10EA(ON: 1, OFF:0) within 10001(0000 H) ~ 10010(0009 H) on
Slave side(Address 17) from the Master side.
Query(Master Side)
Slave Address Function
Starting Address No. of Points Error Check(CRC16)
High Low High Low Low High
11 H 02 H 00 H 00 H 00 H 0A H ## H ## H
If the values of 10008(0007 H)~10001(0000 H) on the Slave side are “ON-ON-OFF-OFF-
ON-ON-OFF-ON” and the values of 10010(0009 H)~10009(0008 H) are “OFF-ON”.
Response(Slave Side)
Slave Address Function Byte Count
Data
(00008~00001)
Data
(00010~00009)
Error Check(CRC16)
Low High
11 H 02 H 02 H CD H 01 H ## H ## H