Overview Block alarm memory multiple

Block function block for the control element Block Alarm (multiple). The control element must be connected with this function block.

With this block several alarm or message texts are managed via a configurable list. In the data table (parameter „Data") a message text and a trigger type are defined per row; for each row a separate trigger input (T0..Tn) is created. When a trigger fires, the corresponding message text is entered into the message list with date and time and shown on the control element. The list is limited to „Max. number of messages"; once it is full, the oldest message is removed. Status, count and the last message text are stored persistently and are available again after a restart. Optionally, an e-mail with the complete message list can be sent on every new alarm.


Inputs

T0..Tn
Trigger 0..n
Trigger input per message. One trigger input is created for each row of the data table. How an input triggers an alarm is determined by the trigger type of the respective row (see parameter „Data").

Outputs

AP
Alarm pulse
Set to 1 for approx. 2 seconds on every new alarm (pulse), then back to 0.
AS
Alarm status
1 if at least one message is in the list, otherwise 0.
AZ
Alarm count
Number of messages in the list.
AA
Alarm current
Text of the most recently occurred message (string).

Parameters

Data
List of messages, editable via the „…" button. Each row defines a trigger type and a message text. The number of rows determines the number of trigger inputs. Possible trigger types per row:
  • 0->1 Rising edge: alarm on change of the input from 0 to 1.
  • 1->0 Falling edge: alarm on change from 1 to 0.
  • Change: alarm on every value change of the input.
  • Telegram value 1: alarm on receipt of a telegram with the value 1.
  • Telegram value 0: alarm on receipt of a telegram with the value 0.
  • Telegram: alarm on receipt of every telegram.
For the telegram types, only telegrams with the WRITE command are evaluated, no feedbacks.
Max. number of messages
Maximum length of the message list (1 to 255). If the number is exceeded, the oldest message is deleted.
Mail
Enables sending an e-mail on every new alarm. The e-mail contains the complete message list with time stamps.
Address
Recipient address for the e-mail (only visible when „Mail" is enabled).
Subject
Subject of the e-mail (only visible when „Mail" is enabled).

See also common parameters of all function blocks.