FB_BA_Cal

FB_BA_Cal 1:

The function block FB_BA_Cal represents a calendar within the project structure.

Inheritance hierarchy

FB_BA_Base

    FB_BA_BasePublisher

        FB_BA_Object

Illustration

FUNCTION_BLOCK FB_BA_Cal EXTENDS FB_BA_Object IMPLEMENTS I_BA_Cal
VAR_OUTPUT
  bPresentValue       : BOOL;
END_VAR
VAR_INPUT CONSTANT PERSISTENT
  {region 'Variable Parameters'}
    aDateList         : T_BA_CalendarDateList;
  {endregion}
END_VAR
VAR_INPUT CONSTANT
  {region 'Variable Parameters'}
    bWriteDateList    : BOOL;
  {endregion}
END_VAR

FB_BA_Cal 2: Outputs

Name

Type

Description

bPresentValue

BOOL

Current binary output value of the object.

FB_BA_Cal 3: Inputs CONSTANT PERSISTENT

Name

Type

Description

aDateList

T_BA_CalendarDateList

Date list.

FB_BA_Cal 4: Inputs CONSTANT

Name

Type

Description

bWriteDateList

BOOL

Enable to write to a date list.

Requirements

Development environment

Required PLC library

TwinCAT from v3.1.4024.17

Tc3_BA2 from v4.8.9.0