Modbus – IAI America ROBO Cylinder Series User Manual

Page 200

Advertising
background image

6. Modbus

ASCII

192

Modbus



6.4.3 Total moving count Reading <<TLMC>>

(1) Function

This bit reads the total moving count.

[Refer to Section 4.3.2(8)]

(2) Query format

Field

Number of characters ASCII mode character

string (fixed)

Remarks

Header

1

‘:’

Slave address [H]

2

Arbitrary

Axis number + 1

(01

H

to 10

H

)

Function code [H]

2

‘0’, ‘3’

Register reading

Start address [H]

4

‘8’, ‘4’, ‘0’, ‘0’

Total moving count

Number of registers [H]

4

‘0’, ‘0’, ‘0’, ‘2’

Reading addresses 8400

H

to 8401

H

Error check [H]

2

LRC calculation result

Trailer

4

‘CR’, ‘LF’

Total number of bytes

17

(3) Response format

A response message contains 16 bits of data per register.

Field

Number of characters ASCII mode character

string (fixed)

Remarks

Header

1

‘:’

Slave address [H]

2

Arbitrary

Axis number + 1

(01

H

to 10

H

)

Function code [H]

2

‘0’, ‘3’

Register reading

Number of data bytes [H]

2

‘0’, ‘4’

Reading 2 registers

= 4 bytes

Data 1 [H]

4

Total moving count

Total moving count(0500

H

)

[Hex] (most significant digit)

Data 2 [H]

4

Total moving count

Total moving count(0501

H

)

[Hex] (least significant

digit)

Error check [H]

2

LRC calculation result

Trailer

2

‘CR’, ‘LF’

Silent interval

Total number of bytes

19

Advertising