FB_BA_BO_IO

FB_BA_BO_IO 1:

The function block FB_BA_BO_IO represents a binary output object within the base framework. The variables for linking the switching output to the terminal are declared within the function block. The feedback control of the binary output is automatically activated if the variable bRawValFeedback is linked to the process image of a terminal.

Inheritance hierarchy

FB_BA_Base

    FB_BA_BasePublisher

        FB_BA_Object

            FB_BA_EventObject

                FB_BA_EventObjectEx

                    FB_BA_ComEventObject

                        FB_BA_BaseBO

Illustration

FUNCTION_BLOCK FB_BA_BO_IO EXTENDS FB_BA_BaseBO IMPLEMENTS I_BA_RawBO
VAR_INPUT CONSTANT PERSISTENT
  {region 'Variable Parameters'}
    eFeedbackPolarity           : E_BA_Polarity := E_BA_Polarity.eNormal;
    eOverriddenPolarity         : E_BA_Polarity := E_BA_Polarity.eNormal;
  {endregion}
END_VAR
VAR
  {region 'Raw I/O'}
    bRawOverridden    AT %I*    : BOOL;
    bRawValFeedback   AT %I*    : BOOL;
    bRawVal           AT %Q*    : BOOL;
  {endregion}
END_VAR

FB_BA_BO_IO 2: Inputs Constant Persistent

Name

Type

Description

eFeedbackPolarity

E_BA_Polarity

Variable for parameterizing the polarity of the binary operating feedback of an output.

eOverridenPolarity

E_BA_Polarity

Output terminals with mechanical priority operation report the state of their switches back to the controller.

With this enumeration the polarity of the switch feedback can be parameterized.

VAR

Name

Type

Description

bRawOverridden

BOOL

Variable for detecting an override from the outside.

bRawValFeedback

BOOL

Activation of feedback control after linking with the bus terminal.

bRawVal

BOOL

Variable for linking the output value to the terminal.

Requirements

Development environment

Required PLC library

TwinCAT from v3.1.4024.35

Tc3_XBA from v5.3.0.0