Modbus – IAI America ROBO Cylinder Series User Manual

Page 267

Advertising
background image

6. Modbus

ASCII

259

Modbus

(4) Sample query

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

mode is shown below.

Query: 01 05 04 15 FF 00 E2

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

30343135

Changed data [H]

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

46463030

Error check [H]

‘E’, ‘2’ (In accordance with LRC calculation) 4532

End

‘CR’, ‘LF’

0D0A

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

Advertising