EasyManua.ls Logo

Autonics SPR Series - Read Input Status (Func 02-02 H)

Autonics SPR Series
26 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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

Other manuals for Autonics SPR Series

Related product manuals