FB_BA_SchedM
The function block FB_BA_SchedM represents a multi-state scheduler within the project structure of TF8040.
Illustration
FUNCTION_BLOCK FB_BA_SchedM EXTENDS FB_BA_BaseSched IMPLEMENTS I_BA_SchedM
VAR_OUTPUT
nPresentValue : UDINT;
END_VAR
VAR_INPUT CONSTANT PERSISTENT
{region 'Fixed Parameters'}
aStateText : T_BA_StateTextArray;
nDefaultValue : UDINT := 1;
{endregion}
END_VAR
VAR
{region 'Output-Properties'}
nStateCount : UDINT;
{endregion}
END_VAR
Inputs CONSTANT PERSISTENT
Name | Type | Description |
---|---|---|
aStateText | The array is used to declare the state texts of a multi-state object. | |
nDefaultValue | UDINT | Value that is assumed if all 16 priorities of the Priority_Array of a commandable object have no entry or are NULL. |
Requirements
Development environment | Required PLC library |
---|---|
TwinCAT from v3.1.4024.35 | Tc3_XBA from v5.3.0.0 |