Modbus – IAI America ROBO Cylinder Series User Manual

Page 277

Advertising
background image

6. Modbus

ASCII

269

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: 01 05 04 27 FF 00 D0

Field

ASCII mode 8-bit data

Converted ASCII

code data [H]

Start

‘:’

3A

Slave address [H]

‘0’, ‘1’

3031

Function code [H]

‘0’, ‘5’

3035

Start address [H]

‘0’, ‘4’, ‘2’, ‘7’

30343237

Changed data [H]

‘F’, ‘F’, ‘0’, ‘0’

46463030

Error check [H]

‘D’, ‘0’ (in accordance with LRC calculation) 4430

End

‘CR’, ‘LF’

0D0A

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

Advertising