F_BA_MdltCrit
The function of return type ST_BA_Mdlt enables writing to the priority "Critical" of the return type of the function.
In the function table you can see which states are output at the return type of the function.
bEnCrit | F_BA_MdltCrit.bEnSfty | F_BA_MdltCrit.eValSfty | F_BA_MdltCrit.bEnCrit | F_BA_MdltCrit.eValCrit | F_BA_MdltCrit.bEnPgm | F_BA_MdltCrit.eValPgm |
---|---|---|---|---|---|---|
FALSE | stCmd.bEnSfty | stCmd.eValSfty | stCmd.bEnCrit | stCmd.eValCrit | stCmd.bEnPgm | stCmd.eValPgm |
TRUE | stCmd.bEnSfty | stCmd.eValSfty | bEnCrit | eValCrit | stCmd.bEnPgm | stCmd.eValPgm |
Syntax
FUNCTION F_BA_MdltCrit : ST_BA_Mdlt
VAR_INPUT
bEnCrit : BOOL;
eValCrit : E_BA_Mdlt;
stCmd : ST_BA_Mdlt;
END_VAR
Inputs
Name | Type | Description |
---|---|---|
bEnCrit | BOOL | Enable for writing the "Critical" priority of the return type ST_BA_Mdlt. |
eValCrit | Value of the priority "Critical" of the return type ST_BA_Mdlt to be written if bEnCrit has the value TRUE. | |
stCmd | The command structure stCmd is used to control modulating aggregates. |
Requirements
Development environment | Required PLC library |
---|---|
TwinCAT from v3.1.4024.22 | Tc3_BA2 from v5.2.5.0 |