Modbus, Example 7) – IAI America ROBO Cylinder Series User Manual

Page 176

Advertising
background image

5. Modbus RTU

168

Modbus

(Example 7)

Change the push current limit from 70% to 50% during a push-motion operation.

Target

position

[mm]

Positioning

band

[mm]

Speed

[mm/s]

Acceleration/

deceleration

[G]

Push

[%]

Control flag

50

20

100

0.3

70 o 50

Push-motion

operation

(bit1 = 1,

bit2 = 1)

„

Query : 01 10 9907 0002 04 007F 0006 C5C5

„

Response : 01 10 9907 0002 DE95

--- The query message is copied, except for the number of bytes and new data, and returned

as a response.

„ᴾ

Breakdown of Query Message

Field

RTU mode

8-bit data

Remarks

Start

None

Silent interval

Slave address

01

H

Axis No. 0 + 1

Function code

10

H

Start address

9907

H

The start address is the target position specification

register 9907

H

.

Number of registers

0002

H

Specify 9907

H

through 9908

H

as the addresses to be

written.

Number of bytes

04

H

2 (registers) x 2 = 4 (bytes) o 4

H

New data 8 (push)

Input unit (%)

007F

H

50 [%]o7F

H

New data 9 (control flag)

0006

H

(Push setting)

0110bĺ0006

H

Error check

C5C5

H

CRC check calculation result o C5C5

H

End

None

Silent interval

Total number of bytes

13

Advertising