Modbus – IAI America ROBO Cylinder Series User Manual
Page 271

6. Modbus
ASCII
263
Modbus
(4) Sample query
[1] A sample query that makes a controller of axis No. 0 jog is shown below.
Query: 01 05 04 17 EF 00 E0
Field
ASCII mode 8-bit data
Converted ASCII
code data [H]
Start
‘:’
3A
Slave address [H]
‘0’, ‘1’
3031
Function code [H]
‘0’, ‘5’
3035
Start address [H]
‘0’, ‘4’, ‘1’, ‘7’
30343137
Changed data [H]
‘F’, ‘F’, ‘0’, ‘0’
46463030
Error check [H]
‘E’, ‘0’ (in accordance with LRC calculation) 4530
End
‘CR’, ‘LF’
0D0A
If the change was 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:
First time:
01 05 04 17 FF 00 E0 --- Inching movement
Second time: 01 05 04 17 00 00 DF --- Restore normal status
Field
ASCII mode 8-bit data
Converted ASCII
code data [H]
Start
‘:’
3A
Slave address [H]
‘0’, ‘1’
3031
Function code [H]
‘0’, ‘5’
3035
Start address [H]
‘0’, ‘4’, ‘1’, ‘7’
30343047
Changed data [H]
First time: ‘F’, ‘F’, ‘0’, ‘0’
Second time: ‘0’, ‘0’, ‘0’, ‘0’
(Restore the normal status.)
46463030
30303030
Error check [H]
First time: ‘E’, ‘0’ (in accordance with LRC
calculation)
Second time: ‘D’, ‘F’ (in accordance with
LRC calculation)
4530
4446
End
‘CR’, ‘LF’
0D0A
If the change is successful, the response message will be the same as the query.