ALARM_MPLCopen motion icon

Function BlockClosedA function block groups an algorithm and a set of private data. It has inputs and outputs. - Alarm with manual reset

Inputs

IN   : BOOL Process signal
ACK  : BOOL Acknowledge command
RST  : BOOL Reset command

Outputs

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

Sequence

Remarks

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

ST Language

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

FBD Language

FFLD Language

IL Language

(* MyALARM is declared as an instance of ALARM_M function block *)
Op1: CAL MyALARM (IN, ACK, RST)
FFLD  MyALARM.Q
STClosed"Structured text" A high-level language that is block structured and syntactically resembles Pascal  Q
FFLD  MyALARM.QACK
ST  QACK

See also

ALARM_A   LIM_ALRM