FB_BA_BaseSched

FB_BA_BaseSched 1:

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.

Inheritance hierarchy

FB_BA_Base

    FB_BA_BasePublisher

        FB_BA_Object

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

FB_BA_BaseSched 2: Inputs CONSTANT PERSISTENT

Name

Type

Description

nPredictTime

UDINT

Offset to the current time [s] for predictive scheduling.

aWeek

T_BA_SchedWeek

Weekly scheduler.

aCalendar

T_BA_SchedCalendar

Calendar.

aException

T_BA_SchedExceptionList

List of exception conditions.

FB_BA_BaseSched 3: 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