The #AlarmList object enables the content of the alarm buffer of an #Alarm object to be displayed.
The following information (columns) can be displayed:
Parameters
|
Description
|
AlarmNo
|
Alarm number as configured in the Alarm definition
|
AlarmOn
|
Date/time of the occurrence of the alarm (rising edge).
|
AlarmOff
|
Date/time of the going of an alarm (falling edge).
|
AlarmQuit
|
Date/time, of the acknowledgement.
|
AlarmText
|
Alarm text, as configured (language dependent).
|
If several #Alarm objects were configured, setting the system variable /S/App/Alarm:Type or statically with the option AlarmType=<type>, can determine the #Alarm object from which the alarms are to be displayed. If, however, only a single #Alarm object was configured, this variable can stay empty.
Parameters
Object
Column A
|
M/O
|
Default
|
Description
|
#AlarmList
|
M
|
|
Display of alarm messages
|
Text/File
Column B
|
M/O
|
Default
|
Description
|
<AlarmList definition>.txt
|
M
|
|
Name of the AlarmList definition.
The AlarmList is defined in a separate worksheet. This determines which data is displayed as well as the display order and format.
|
<AlarmList definition> becomes the ID of the alarm list. The ID is only needed in conjunction with the alarmlist button actions when several alarm lists are active at the same time. Assigning the ID in the /S/APP/AlarmList:Type system variable determines which #Alarmlist is meant.
Font
X, Y, DX, DY
Color
BackColor
Format
Column J
|
M/O
|
Default
|
Description
|
Format
|
O
|
No frame
|
Type of frame, all except Border=Shadow
|
Border=Standard
|
O
|
|
Standard Qt-Border
|
Action
Column K
|
M/O
|
Default
|
Description
|
AlarmList:Info=1
|
O
|
|
When an alarm is selected, the first page defined in AlarmInfo is opened.
|
AlarmList:Info=2
|
O
|
|
When an alarm is selected, the second page defined in AlarmInfo is opened.
|
VarValue
Column P
|
M/O
|
Default
|
Description
|
<variable>
|
O
|
|
Line number of the currently selected alarm. The first line is 0.
The selection is changed by changing the variable (e.g. in the PLC).
|
VarType
VarState
Option
Column S
|
M/O
|
Default
|
Description
|
DX=<width>
|
O
|
25
|
Defines the width of the vertical scroll bar in pixels. 0 = Hide scroll bar
|
DY=<height>
|
O
|
25
|
Defines the height of the horizontal scroll bar in pixels. 0 = Hide scroll bar
|
AlarmFilter=<filter>
• | AlarmFilter=activ|notquit |
• | AlarmFilter=activ+notquit |
|
O
|
AlarmFilter=all
|
• | Display all active or unacknowledged alarms |
• | Display all active and unacknowledged alarms |
• | Display all active alarms |
• | Display all unacknowledged alarms |
|
AlarmSort=<sort>
|
O
|
AlarmSort=Fifo
|
• | Sort in ascending order by AlarmOn |
• | Sort in descending order by AlarmOn |
• | Sort in ascending order by AlarmNo |
|
Coff
|
O
|
|
Individual alarms can be selected. The display of the selected alarm is inverted (Color/Backcolor).
If this option is set, no other alarm can be selected.
|
AlarmType=<type>
|
O
|
|
Connect to #Alarm object type <type>
/S/App/Alarm:Type will be ignored!
|
The #AlarmList object supports the following display formats. They can be selected/defined using Button actions and/or via fixed format definitions of the Alarm list in the Option column:
Alarm type
Alarm filter
• | Active and unacknowledged alarms |
• | Active or unacknowledged alarms |
Alarm sorting
• | Display by priority (low alarm number = high priority) |
• | Display by time: Newest alarm first (last in first out) |
• | Display by time: Oldest alarm first (first in first out) |
Alarm diagnostics/alarm system variables
The alarm message selected in the alarm list can be used via the AlarmList:info=1 or AlarmList:info=2 action to jump to 2 screen pages configured in the Alarm worksheet in the Action Alarm Info column.
It is also possible to configure a text listwith the system variable /S/SYS/AlarmList[<name>].TXTINFO entered in the Text/File column. The screen page with the configured text list can be opened via the alarm message selected in the alarm list using a #Page=<name> action. This text list then shows the text file configured in the corresponding Alarm worksheet under Alarm Helptext.
The alarm information of the last selected alarm in conjunction with alarm list is stored in the following system variables in EPAM.
See also
Difference to EPAM3
• | The alarm list is shown as a table. Any font can therefore be used. |
• | Alarm messages can be shown over several lines in the alarm list. |
• | The EPAM3 format settings no=%[Width][Type], tin=Format, tout=Format, tquit=Format, sep=keycode are no longer supported. |
|