Modbus – IAI America ROBO Cylinder Series User Manual
Page 147

5. Modbus RTU
139
Modbus
(4) Query sample
[1] A sample query that makes a controller of axis No. 0 jog is shown below.
Query (silent intervals are inserted before and after the query)
01 05 04 17 FF 00 3D 0E
Field
RTU mode
8-bit data
Start
Silent interval
Slave address [H]
01
Function code [H]
05
Start address [H]
0417
Changed data [H]
FF00
Error check [H]
3D0E (in accordance with
CRC calculation)
End
Silent interval
If the change is successful, the response message will be the same as the query.
[2] A sample query that makes a controller of axis No. 0 inch is shown below.
Query (silent intervals are inserted before and after the query)
First time
01 05 04 17 FF 00 3D 0E ··· Perform inching movement
Second time 01 05 04 17 00 00 7C FE ··· Restore the normal status
Field
RTU mode
8-bit data
Start
Silent interval
Slave address [H]
01
Function code [H]
05
Start address [H]
0417
Changed data [H]
First time: FF00
Second time: 0000
(Restore the normal status)
Error check [H]
First time: 3D0E
(in accordance with CRC calculation)
Second time: 7CFE
(in accordance with CRC calculation)
End
Silent interval
If the change is successful, the response message will be the same as the query.