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 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)
Slave address Function Byte count Data
Data
Data
Error check (CRC16)
Low
High
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 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 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)
Error check (CRC16)
Low
High
11 H
02 H
02 H
CD H
01 H
## H
## H
CRC16
CRC16
Содержание SPR1 Series
Страница 1: ... Copyright Reserved Autonics Co Ltd i ...
Страница 2: ...ii Copyright Reserved Autonics Co Ltd ...
Страница 8: ...Safety Considerations viii Copyright Reserved Autonics Co Ltd ...
Страница 10: ...Table of Contents x Copyright Reserved Autonics Co Ltd ...
Страница 22: ...2 Modbus Mapping Table 22 Copyright Reserved Autonics Co Ltd MCY SPRC1 V1 2 1807US ...