F_BA_IsDisturbed

F_BA_IsDisturbed 1:

The function F_BA_IsDisturbed of return type BOOL checks the subcomponents of the input structure stStateFlags.

If the variable bFault or bInAlarm is set, the return value of the function is TRUE.

Syntax

FUNCTION F_BA_IsDisturbed : BOOL
VAR_INPUT
  stStateFlags    : ST_BA_StatusFlags;
END_VAR

F_BA_IsDisturbed 2: Inputs

Name

Type

Description

stStateFlags

ST_BA_StatusFlags

Status flags that are checked.

Requirements

Development environment

Required PLC library

TwinCAT 3.1 4024.35

Tc3_BA2_Common from V2.1.20.0