Modbus – IAI America ROBO Cylinder Series User Manual

Page 143

Advertising
background image

5. Modbus RTU

135

Modbus

(4) Query sample

A sample query that acquires the current position when a controller of axis No. 0 is in the teaching

mode is shown below.

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

01 05 04 15 FF 00 9C CE

Field

RTU mode

8-bit data

Start

Silent interval

Slave address [H]

01

Function code [H]

05

Start address [H]

0415

Changed data [H]

FF00

Error check [H]

9CCE (in accordance with

CRC calculation)

End

Silent interval

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

Advertising