Reading Alarms

<< Click to Display Table of Contents >>

 

Reading Alarms

Read-Only

Use a PLC or Block Tag to read alarms from a device, using the parameters described on the next table.

Parameters for reading alarms

N1/B1

Address (ID) of a device

N2/B2

1000

N3/B3

Not used

N4/B4

Alarm number, ranging from 0 (zero) to 31

 

A device provides a reading of 32 alarms, numbered from 0 (zero) to 31, with a status value of 1 for On or 0 for Off.

 

Reading Multiple Alarms using a Block Tag

Use a Block Tag to read multiple alarms, in which each Element represents, sequentially, the status of an alarm, starting with the alarm number defined in the B4 parameter. The next table contains some examples of using Block Tags.

Usage examples of Block Tags

Objective

Elements

B1

B2

B3

b4 (initial alarm)

Reading all 32 alarms

32

Device ID

1000

Not used

0 (zero)

Reading the first 10 alarms

10

Device ID

1000

Not used

0 (zero)

Reading the last 10 alarms

10

Device ID

1000

Not used

22

Reading 5 (five) alarms, starting from alarm 10

5 (five)

Device ID

1000

Not used

10

 

Reading a Simple Alarm using a PLC Tag

Use a PLC Tag to individually read the status of the alarm number, between 0 (zero) and 31, defined in the N4 parameter. The next table contains some examples of using PLC Tags.

Usage examples of PLC Tags

Objective

N1

N2

N3

N4 (alarm number)

Reading alarm number 14

Device ID

1000

Not used

14

Reading alarm number 30

Device ID

1000

Not used

30

 

NOTE

All alarms are stored in two Words, in registers 0xC000 and 0xC001 of a device's memory.

Was this page useful?