ecification
(2) Examples of Queries/Responses
Queries are implemented by reading a 1-word register and thus the basic pattern is the same with all queries. The only
differences are the starting address and data.
[1] Read gateway status signal 0, 1
The configuration of the completed position number register of axis (0) is shown below.
z Query
Field name
RTU mode data
(8 bits)
Data length
(bytes)
Remarks
Header None -
Slave address 3F H 1 Fixed.
Function code 03 H 1
Starting address (upper) F7 H
Starting address (lower) 00 H
2 Initial address of gateway status signal 0, 1
Number of registers (upper) 00 H
Number of registers (lower) 02 H
2 Number of registers (1 register = 1 word): 2
Error check (CRC)
Based on
calculation result
2 (F2 A1)
Trailer None -
Total bytes 8