ALARM_A

Function Block - Alarm with automatic reset

Inputs

IN   : BOOL Process signal
ACK  : BOOL Acknowledge command

Outputs

Q    : BOOL TRUE if alarm is active
QACK : BOOL TRUE if alarm is acknoledged

Sequence

Remarks

Combine this block with the LIM_ALRM block for managing analog alarms.

ST Language

(* MyALARM is declared as an instance of ALARM_A function block *)
MyALARM (IN, ACK, RST);
Q := MyALARM.Q;
QACK := MyALARM.QACK;

FBD Language

LD Language

IL Language

(* MyALARM is declared as an instance of ALARM_A function block *)
Op1: CAL MyALARM (IN, ACK, RST)
     LD  MyALARM.Q
     ST  Q
     LD  MyALARM.QACK
     ST  QACK

See also

ALARM_M   LIM_ALRM