Modbus – IAI America ROBO Cylinder Series User Manual

Page 204

Advertising
background image

6. Modbus

ASCII

196

Modbus

6.4.5 Present Time Reading <<TIMN>>

(1) Function

This bit reads the present time.ᴾ

[Dedicated for PCON-CA/CFA and SCON-CA]

(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

SCON-CA:

‘8’, ‘4’, ‘1’, ‘A’

PCON-CA/CFA:

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

Present time monitor

Number of registers [H]

4

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

Reading addresses 8402

H

to 8403

H

Error check [H]

2

LRC calculation result

Trailer

2

‘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 [H]

8

Present time

Refer to (4) for conversion

at time.

Error check [H]

2

LRC calculation result

Trailer

2

‘CR’, ‘LF’

Silent interval

Total number of bytes

19

Advertising