F_BA_IsDisturbed

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
Inputs
Name | Type | Description |
---|---|---|
stStateFlags |
Status flags that are checked. |
Requirements
Development environment | Required PLC library |
---|---|
TwinCAT 3.1 4024.35 | Tc3_BA2_Common from V2.1.20.0 |