Modbus – IAI America ROBO Cylinder Series User Manual

Page 141

Advertising
background image

5. Modbus RTU

133

Modbus

(4) Query sample

A sample query that switches the operation mode of a controller of axis No. 0 to teaching mode is

shown below.

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

01 05 04 14 FF 00 CD 0E

Field

RTU mode

8-bit data

Start

Silent interval

Slave address [H]

01

Function code [H]

05

Start address [H]

0414

Changed data [H]

FF00

Error check [H]

CD0E (in accordance with

CRC calculation)

End

Silent interval

If the change is successful, the response message will be the same as the query.

Advertising