Modbus – IAI America ROBO Cylinder Series User Manual

Page 263

Advertising
background image

6. Modbus

ASCII

255

Modbus

(4) Sample query

A sample query that switches the operation of a controller of axis No. 0 to inching is shown below.

Query: 01 05 04 11 FF 00 E6

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’, ‘1’, ‘1’

30343131

Changed data [H]

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

46463030

Error check [H]

‘E’, ‘6’ (In accordance with LRC calculation) 4536

End

‘CR’, ‘LF’

0D0A

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

Advertising