FB_BA_Alm
Alarm function block with selectable alarm memory and acknowledgement
Functional description
without alarm memory (bRstReqd = FALSE)
- T1: The function block is not enabled (bEn=FALSE). A message at input bIn has not effect on the alarm output bQ.
- T2: The function block is enabled (bEn=TRUE). The alarm output bQ remains set as long as the message is active at input bIn.
with alarm memory (bRstReqd = TRUE)
- T1: The function block is not enabled (bEn=FALSE). A message at input bIn has not effect on the alarm output bQ.
- T2: The function block is enabled (bEn=TRUE). A rising edge at alarm input bIn sets the alarm output bQ. It can be reset through a rising edge at reset input bRst, but only if the message is no longer active at bIn.
- T3: As a rule, alarm messages at bQ are only present if the function block bEn is enabled.
Inputs/outputs
VAR_INPUT
bEn : BOOL;
bIn : BOOL;
bRstReqd : BOOL;
bRst : BOOL;
bEn: enable of the function block
bIn: message input
bRstReqd: alarm memory activation (requires acknowledgement)
bRst: reset alarm
VAR_OUTPUT
bQ : BOOL;
bQ: alarm output
Requirements
Development environment | Target system | required library | required supplement |
---|---|---|---|
TwinCAT 2.11 R3/x64 | PC/CX | TcBA library from V1.0.0 | TS8040 | TwinCAT Building Automation from V1.0.0 |