Modbus – IAI America ROBO Cylinder Series User Manual

Page 153

Advertising
background image

5. Modbus RTU

145

Modbus

(4) Response

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

If invalid data is sent, an exception response (refer to section 7) will be returned, or no response

will be returned.

(5) Query sample

A sample query that enables the Modbus command of the operation of a controller of axis No. 0 is

shown below.

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

01 05 04 27 FF 00 3D 01

Field

RTU mode

8-bit data

Start

Silent interval

Slave address [H]

01

Function code [H]

05

Start address [H]

0427

Changed data [H]

FF00

Error check [H]

3D01 (in accordance with

CRC calculation)

End

Silent interval

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

Advertising