#AlarmList

Top  Previous  Next

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).

 

 

Icon-HinweisIf 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.

 

Icon-Hinweis <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

Column C

M/O

Default

Description

<Font name>

O

Current font

Font for the alarm text, etc.

Alarm-specific fonts can be configured in the Alarm definition.

X, Y, DX, DY

Columns D-G

M/O

Default

Description

Integer constants

Variable of type INT

O

Autom. positioning

Position and dimension

Color

Column H

M/O

Default

Description

Color

O

Current foreground color

Font color

The font color can be defined for each alarm in the Alarm definition.

BackColor

Column I

M/O

Default

Description

Color

O

Current background color

Background color

The background color for each alarm can be defined in the Alarm definition .

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

Column Q

M/O

Default

Description

WORD

UINT

INT

O


See VarType column

VarState

Column R

M/O

Default

Description

<variable>

O


See VarState column

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=all
AlarmFilter=activ|notquit
AlarmFilter=activ+notquit
AlarmFilter=activ
AlarmFilter=notquit

O

AlarmFilter=all

 

Display all alarms
Display all active or unacknowledged alarms
Display all active and unacknowledged alarms
Display all active alarms
Display all unacknowledged alarms

AlarmSort=<sort>

AlarmSort=FiFo
AlarmSort=LiFo
AlarmSort=Priority

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

Display by alarm type

Alarm filter

Display of all alarms
Only active alarms
Active and unacknowledged alarms
Active or unacknowledged alarms
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.

 

Icon-Hinweis        The alarm information of the last selected alarm in conjunction with alarm list is stored in the following system variables in EPAM.

 

/S/SYS/AlarmList[<name>].NR

…Alarm number

/S/SYS/AlarmList[<name>].TEXT

…Alarm text

/S/SYS/AlarmList[<name>].TIN

…Time alarm "Come" (WSTRING)

/S/SYS/AlarmList[<name>].TOUT

…Time alarm "Go" (WSTRING)

/S/SYS/AlarmList[<name>].TQUIT

…Time alarm acknowledged (WSTRING)

/S/SYS/AlarmList[<name>].TIN_DT

…Time alarm "Come" (DT)

/S/SYS/AlarmList[<name>].TOUT_DT

…Time alarm "Go" (DT)

/S/SYS/AlarmList[<name>].TQUIT_DT

…Time alarm acknowledged (DT)

/S/SYS/AlarmList[<name>].INFO

…Alarm info (WSTRING)

/S/SYS/AlarmList[<name>].TXTINFO

...Alarm Help text  (WSTRING)

         

 

See also

AlarmList action
Alarm action

 

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.