Modbus – IAI America ROBO Cylinder Series User Manual
Page 129
5. Modbus RTU
121
Modbus
(4) Query sample
A sample query that resets the alarms of a controller of axis No. 0 is shown below.
Query (silent intervals are inserted before and after the query)
First time
01 05 04 07 FF 00 3C CB --- Execute alarm reset
Second time 01 05 04 07 00 00 7D 3B --- Restore normal status
Field
RTU mode
8-bit data
Start
Silent interval
Slave address [H]
01
Function code [H]
05
Start address [H]
0407
Changed data [H]
First time: FF00
Second time: 0000
(
Write 0000
H
after resetting alarms to
restore the normal status.)
Error check [H]
First time: 3CCB
(in accordance with CRC calculation)
Second time: 7D3B
(in accordance with CRC calculation)
End
Silent interval
If the change is successful, the response message will be the same as the query.