Modbus – IAI America ROBO Cylinder Series User Manual

Page 135

Advertising
background image

5. Modbus RTU

127

Modbus

(4) Query sample

A query example that executes home return operation of a controller of axis No. 0 is shown here.

Query (silent intervals are inserted before and after the query)

First time 01 05 04 0B 00 00 BD 38 --- Set normal status

Second time 01 05 04 0B FF 00 FC C8 --- Execute home return

Field

RTU mode

8-bit data

Start

Silent interval

Slave address [H]

01

Function code [H]

05

Start address [H]

040B

Changed data [H]

First time: 0000

Second time: FF00

(Send data twice to set the rising edge.)

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.

Advertising