Instruction Manual

5. Modbus RTU
129
Modbus
(4) Query sample
A sample query that moves the actuator of a controller of axis No. 0 to the position specified by
the position number stored in the position number specification register (POSR: 0D03
H
) is shown
below.
Query (silent intervals are inserted before and after the query)
First time 01 05 04 0C FF 00 4D 09 --- Move to the specified position
Second time 01 05 04 0C 00 00 0C F9 --- Restore to the normal status
Field RTU mode
8-bit data
Start Silent interval
Slave address [H] 01
Function code [H] 05
Start address [H] 040C
Changed data [H] First time: FF00
Second time: 0000
(Restore to the normal status.)
Error check [H] First time: 4D09
(in accordance with CRC calculation)
Second time: 0CF9
(in accordance with CRC calculation)
End Silent interval
If the change is successful, the response message will be the same as the query.