FB_BA_BaseSched

The FB_BA_BaseSched function block forms the base for scheduler function blocks. It does not have to be called explicitly. This description serves solely to explain the inheritance structure of the scheduler function blocks.
Syntax
FUNCTION_BLOCK ABSTRACT FB_BA_BaseSched EXTENDS FB_BA_Object IMPLEMENTS I_BA_BaseSched
VAR_INPUT CONSTANT PERSISTENT
{region 'Variable Parameters'}
{attribute 'parameterCategory':='Value'}
{attribute 'parameterUnit':= 's'}
nPredictTime : UDINT
{attribute 'parameterCategory':='Value'}
aWeek : T_BA_SchedWeek;
{attribute 'parameterCategory':='Value'}
aCalendar : T_BA_SchedCalendar;
{attribute 'parameterCategory':='Value'}
aException : T_BA_SchedExceptionList;
{endregion}
END_VAR
VAR_INPUT CONSTANT
{region 'Variable Parameters'}
{attribute 'parameterCategory':='Value'}
bWriteWeekly : BOOL;
{attribute 'parameterCategory':='Value'}
bWriteCalendar : BOOL;
{attribute 'parameterCategory':='Value'}
bWriteException : BOOL;
{endregion}
END_VAR
Inputs CONSTANT PERSISTENT
Name | Type | Description |
|---|---|---|
nPredictTime | UDINT | Offset to the current time [s] for predictive scheduling. |
aWeek | Weekly scheduler. | |
aCalendar | Calendar. | |
aException | List of exception conditions. |
Inputs CONSTANT
Name | Type | Description |
|---|---|---|
bWriteWeekly | BOOL | Writes weekly. |
bWriteCalendar | BOOL | Writes calendar entries. |
bWriteException | BOOL | Writes time exceptions. |
Requirements
Development environment | Required PLC library |
|---|---|
TwinCAT from v3.1.4024.35 | Tc3_XBA from v5.3.0.0 |