Alarm definition

Top  Previous  Next

The alarm variables are assigned alarm-specific properties, actions and information in the <Alarm> worksheet.

 

The Alarm worksheet has the following structure:

 

Variable

Alarm number

Text/File

Font

Color

Back color

Alarminfo action

Alarm Helptext

Class

[0].0

 

1 = Alarm(s) active (EPAM -> PLC)

 

 

 

 

 

 

[0].1

 

1 = User has acknowledged all alarms (EPAM -> PLC)

 

 

 

 

 

 

[0].2

 

1 = Unacknowledged alarm(s) present (EPAM -> PLC)

 

 

 

 

 

 

[0].3

 

1 = Alarm file saved

 

 

 

 

 

 

[0].4 - [0].15

 

reserved

 

 

 

 

 

 

[1]

 

Alarm number for acknowledging an individual alarm (EPAM -> PLC)

 

 

 

 

 

 

[2].0

 

1 = Acknowledgement of all alarms (PLC -> EPAM)

 

 

 

 

 

 

[2].1

 

1 = Disable Alarm action (PLC -> EPAM)

 

 

 

 

 

 

[2].2

 

1 = Disable save (PLC -> EPAM)

 

 

 

 

 

 

[2].3 - [2].15

 

reserved

 

 

 

 

 

 

[3]

 

Alarm number for acknowledging an individual alarm (PLC -> EPAM)

 

 

 

 

 

 

[4].0

100

Alarm 1

Alarm.fnt

red

black

#Page=Diagnose,Page=Detail100

Alarm100.txt

Warning

[4].1

101


 

 

 

 

 

 

...

 


 

 

 

 

 

 

[4].15

 


 

 

 

 

 

 

[5].0

 


 

 

 

 

 

 

...

 


 

 

 

 

 

 

 

Variable column

Variable specifies the data word and data bit in the alarm buffer. The data words [0] to [3] are reserved for status information. Alarms start from data word [4].

Alarm number column

The Alarm number column defines the alarm number of the corresponding alarm. Alarm numbers must be unique.

Text/File column

The associated alarm text is defined in the Text/File column. Multi-lingual alarm texts can be defined.

Font, Color, Backcolor columns

These columns define the alarm-specific Font, Color and background color.

Action Alarm Info column

The Action Alarm Info column is used to define one or several comma separated alarm-specific actions. The action of the selected alarm in the alarm list can be called using the Alarmlist:Info=<x> button action.

 

Call alarm info of the selected alarm.

Example

AlarmList:info=1 -> #Page=Diagnose

AlarmList:info=2 -> #Page=Detail100

Action Alarm Helptext column

The Action Alarm Helptext column is used to define an alarm-specific Help text file. The Help text of the currently selected alarm in the alarm list is saved in the /S/SYS/AlarmList[<name>].TxtInfo system variable and can be displayed using the TextList object.

 

Class column

An alarm may be assigned to a specific class. Followin classes are supported:

 

Error ( Default, if no class is specified )

Default behavior.

 

Warning:

Automatic acknowledgment

Doesn't affect bit [0].2

 

 

See also

Alarm object
Alarm list object
Alarm actions
Alarm system variables
Alarm display