FB_BA_BaseSched
The function block FB_BA_BaseSched forms the base for scheduler function blocks.
Illustration
FUNCTION_BLOCK ABSTRACT FB_BA_BaseSched EXTENDS FB_BA_Object IMPLEMENTS I_BA_BaseSched
VAR_INPUT CONSTANT PERSISTENT
{region 'Variable Parameters'}
nPredictTime : UDINT;
aWeek : T_BA_SchedWeek;
aCalendar : T_BA_SchedCalendar;
aException : T_BA_SchedExceptionList;
{endregion}
END_VAR
VAR_INPUT CONSTANT
{region 'Variable Parameters'}
bWriteWeekly : BOOL;
bWriteException : BOOL;
{endregion}
END_VAR
Inputs CONSTANT PERSISTENT
Name | Type | Description |
---|---|---|
nPredictTime | UDINT | Calculated time value. |
aWeek | Weekly scheduler. | |
aCalendar | Calendar. | |
aException | List of exception conditions. |
Inputs CONSTANT
Name | Type | Description |
---|---|---|
bWriteWeekly | BOOL | Writes weekly. |
bWriteException | BOOL | Writes time exceptions. |
Requirements
Development environment | Required PLC library |
---|---|
TwinCAT from v3.1.4024.35 | Tc3_XBA from v5.3.0.0 |