FB_BA_BaseSched

FB_BA_BaseSched 1:

The function block FB_BA_BaseSched forms the base for scheduler function blocks.

Inheritance hierarchy

FB_BA_Base

    FB_BA_BasePublisher

        FB_BA_Object

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

FB_BA_BaseSched 2: Inputs CONSTANT PERSISTENT

Name

Type

Description

nPredictTime

UDINT

Calculated time value.

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.

bWriteException

BOOL

Writes time exceptions.

Requirements

Development environment

Required PLC library

TwinCAT from v3.1.4024.35

Tc3_XBA from v5.3.0.0