Modbus – IAI America ROBO Cylinder Series User Manual

Page 74

Advertising
background image

5. Modbus RTU

66

Modbus

5.3.2 Alarm Detail Description Reading <<ALAO, ALCO, ALTO>>

(1) Function

This bit reads the alarm codes, alarm detail codes and alarm occurrence time that last occurred.

When any alarm is not issued, it is “0

H

”. [Refer to 4.3.2 (1) to (3) for detail]

(2) Query format

Field

Number of data items

(number of bytes)

RTU mode

8-bit data

Remarks

Start

None

Silent interval

Slave address [H]

1

Arbitrary

Axis number + 1 (01

H

to 10

H

)

Function code [H]

1

03

Register reading

Start address [H]

2

0500

Alarm detail code

Number of registers [H]

2

0006

Reading addresses 0500

H

to

0505

H

Error check [H]

2

CRC (16 bits)

End

None

Silent interval

Total number of bytes

8

(3) Response format

A response message contains 16 bits of data per register.

Field

Number of data items

(number of bytes)

RTU mode

8-bit data

Remarks

Start

None

Silent interval

Slave address [H]

1

Arbitrary

Axis number + 1 (01

H

to 10

H

)

Function code [H]

1

03

Register reading

Number of data bytes [H]

1

0C

Reading 6 registers = 12

bytes

Data 1 [H]

4

Alarm detail code

Alarm address

Alarm detail code(0500

H

) [Hex]

Alarm address(0501

H

) [Hex]

Data 2 [H]

4

Alarm code

Alarm code [Hex]

Data 3 [H]

4

Alarm occurrence

time

(Note1)

Alarm occurrence time

[Hex]

Error check [H]

2

CRC (16 bits)

End

None

Silent interval

Total number of bytes

17

Note 1 The contents of data differ for the case when the model is equipped with RTC (calendar)

function and RTC is effective [1] and the case when RTC is ineffective or the model is not

equipped with RTC [2].ᴾ

[1] It shows the alarm occurrence time.

[2] It shows the time [msec] passed since the power

was turned on.ᴾ

Advertising