Modbus – IAI America ROBO Cylinder Series User Manual
Page 269

6. Modbus
ASCII
261
Modbus
(4) Sample query
[1] A sample query that makes a controller of axis No. 0 jog is shown below.
Query: 01 05 04 16 FF 00 E1
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’, ‘6’
30343136
Changed data [H]
‘F’, ‘F’, ‘0’, ‘0’
46463030
Error check [H]
‘E’, ‘1’ (In accordance with LRC calculation) 4531
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 16 FF 00 E1 --- Inching movement
Second time: 01 05 04 16 00 00 E0 --- 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’, ‘6’
30343046
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’, ‘1’ (In accordance with LRC
calculation)
Second time: ‘E’, ‘0’ (In accordance with
LRC calculation)
4531
4530
End
‘CR’, ‘LF’
0D0A
If the change is successful, the response message will be the same as the query.