FB_BA_SchedB

FB_BA_SchedB 1:

The FB_BA_SchedB function block represents a binary scheduler within the TF8040 project structure.

Inheritance hierarchy

FB_BA_Base

    FB_BA_BasePublisher

        FB_BA_Object

            FB_BA_BaseSched

Illustration

FUNCTION_BLOCK FB_BA_SchedB EXTENDS FB_BA_BaseSched IMPLEMENTS I_BA_SchedB
VAR_OUTPUT
  bPresentValue      : BOOL;
  bPredictedValue    : BOOL;
END_VAR
VAR_INPUT CONSTANT PERSISTENT
  {region 'Fixed Parameters'}
    bDefaultValue    : BOOL;
  {endregion}
  {region 'Variable Parameters'}
    sInactiveText    : T_BA_StateText;
    sActiveText      : T_BA_StateText;
  {endregion}
END_VAR

FB_BA_SchedB 2: Outputs

Name

Type

Description

bPresentValue

BOOL

Current binary output value of the object.

bPredictedValue

BOOL

Value that is assumed after the next switching.

FB_BA_SchedB 3: Inputs CONSTANT PERSISTENT

Name

Type

Description

bDefaultValue

BOOL

Value that is assumed if all 16 priorities of the Priority_Array of a commandable object have no entry or are NULL.

sInactiveText

T_BA_StateText

Text output when the object is inactive.

sActiveText

T_BA_StateText

Text output when the object is active.

Requirements

Development environment

Required PLC library

TwinCAT from v3.1.4024.35

Tc3_XBA from v5.3.0.0