Infosys在阅读器中打开 / AI 翻译

TF8xxx - Industry specific · 0 次阅读

FB_BA_Alm

FB_BA_Alm 1:

The FB_BA_Alm represents an alarm function block with switchable alarm memory and acknowledgment.

without alarm memory (bRstReqd = FALSE)

FB_BA_Alm 2:
  • 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)

FB_BA_Alm 3:
  • 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 message 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 as long as the function block bEn is enabled.

Syntax

FUNCTION_BLOCK FB_BA_Alm
VAR_INPUT
  bEn                     : BOOL;
  bIn                     : BOOL;
  bRstReqd                : BOOL;
  bRst                    : BOOL;
END_VAR
VAR_OUTPUT
  bQ                      : BOOL;
END_VAR

FB_BA_Alm 4: Inputs

Name

Type

Description

bEn

BOOL

Enable function block.

bIn

BOOL

Message input

bRstRqd

BOOL

Alarm memory activation (requires acknowledgement).

bRst

BOOL

Edge-triggered input for resetting the alarm.

FB_BA_Alm 5: Outputs

Name

Type

Description

bQ

BOOL

Alarm output

Requirements

Development environment

Required PLC library

TwinCAT from v3.1.4024.62

Tc3_BA2 from v5.5.18.0