Instruction Manual

5. Modbus RTU
96
Modbus
(4) Query sample
A sample query that reads the system status (from address 9008
H
) of a controller of axis No. 0 is
shown below.
z Query (silent intervals are inserted before and after the query)
01 03 90 08 00 02 68 C9
Field RTU mode
8-bit data
Start Silent interval
Slave address [H] 01
Function code [H] 03
Start address [H] 9008
Number of registers [H] 0002
Error check [H] 68C9 (in accordance with
CRC calculation)
End Silent interval
The response to the query is as follows.
z Response (silent intervals are inserted before and after the response)
01 03 04 00 0C 00 17 7A 3E
Field RTU mode
8-bit data
Start Silent interval
Slave address [H] 01
Function code [H] 03
Number of data bytes [H] 04 (4 bytes = 2 registers)
Data 1 [H] 00 0C 00 17
Error check [H]
7A3E (in accordance with CRC calculation)
End Silent interval
Note The data of the response example is simply an example and will vary depending on
various conditions.