Alarm_M
Inputs
Input |
Data Type |
Range |
Unit |
Default |
Description |
---|---|---|---|---|---|
IN |
BOOL |
|
|
|
Process signal. |
ACK |
BOOL |
|
|
|
Acknowledge command. |
RST |
BOOL |
|
|
|
Reset command. |
Outputs
Output |
Data Type |
Range |
Unit |
Description |
---|---|---|---|---|
Q |
BOOL |
|
|
TRUE if alarm is active. |
QACK |
BOOL |
|
|
TRUE if alarm is acknowledged. |
Remarks
- Combine this block with the lim_alrm block for managing analog alarms.
Sequence
FBD Language Example
FFLD Language Example
IL Language Example
(*MyALARM is declared as an instance of ALARM_M function block*)
Op1: CAL MyALARM (IN, ACK, RST)
FFLD "Free Form Ladder Diagram" MyALARM.Q
ST "Structured text" A high-level language that is block structured and syntactically resembles Pascal Q
FFLD MyALARM.QACK
ST QACK
ST Language Example
(* MyALARM is declared as an instance of ALARM_M function block *)
MyALARM (IN, ACK, RST);
Q := MyALARM.Q;
QACK := MyALARM.QACK;
See Also