FB_BA_SchedB
The FB_BA_SchedB function block represents a binary scheduler within the TF8040 project structure.
Illustration
FUNCTION_BLOCK FB_BA_SchedB EXTENDS FB_BA_BaseSched IMPLEMENTS I_BA_SchedB
VAR_OUTPUT
bPresentValue : BOOL;
bPredictedValue : BOOL;
END_VAR
VAR_INPUT CONSTANT PERSISTENT
{region 'Fixed Parameters'}
bDefaultValue : BOOL;
{endregion}
{region 'Variable Parameters'}
sInactiveText : T_BA_StateText;
sActiveText : T_BA_StateText;
{endregion}
END_VAR
Outputs
Name | Type | Description |
---|---|---|
bPresentValue | BOOL | Current binary output value of the object. |
bPredictedValue | BOOL | Value that is assumed after the next switching. |
Inputs CONSTANT PERSISTENT
Name | Type | Description |
---|---|---|
bDefaultValue | BOOL | Value that is assumed if all 16 priorities of the Priority_Array of a commandable object have no entry or are NULL. |
sInactiveText | Text output when the object is inactive. | |
sActiveText | Text output when the object is active. |
Requirements
Development environment | Required PLC library |
---|---|
TwinCAT from v3.1.4024.35 | Tc3_XBA from v5.3.0.0 |