FB_BA_BI_Raw

FB_BA_BI_Raw 1:

The function block FB_BA_BI_Raw generates a binary input object within the basic framework.
The variable bRawVal is used to link the binary input to the terminal.

Inheritance hierarchy

FB_BA_Base

    FB_BA_BasePublisher

        FB_BA_Object

            FB_BA_EventObject

                FB_BA_EventObjectEx

                    FB_BA_ComEventObject

                        FB_BA_BaseBI

Syntax

FUNCTION_BLOCK FB_BA_BI_Raw EXTENDS FB_BA_BaseBI
VAR_INPUT CONSTANT PERSISTENT
  {region 'Variable Parameters'}
    {attribute 'parameterCategory':='Config'}
    ePolarity    : E_BA_Polarity := E_BA_Polarity.eNormal;
  {endregion}
END_VAR
VAR_INPUT
  bRawVal         : BOOL
END_VAR

FB_BA_BI_Raw 2: Inputs CONSTANT PERSISTENT

Name

Type

Description

ePolarity

E_BA_Polarity

The polarity of the sensor must be set at this input. The setting is made by selecting the type in the enumeration.

FB_BA_BI_Raw 3: Inputs

Name

Type

Description

bRawVal

BOOL

Raw value.

Requirements

Development environment

Required PLC library

TwinCAT from v3.1.4024.35

Tc3_XBA from v5.3.0.0