FB_BA_BI_IO

The function block FB_BA_BI_IO represents a binary input object within the base framework. The variables for linking the input to the terminal are declared within the function block.
Inheritance hierarchy
FB_BA_Base
Syntax
FUNCTION_BLOCK FB_BA_BI_IO EXTENDS FB_BA_BaseBI IMPLEMENTS I_BA_RawBI
VAR_INPUT CONSTANT PERSISTENT
{region 'Variable Parameters'}
{attribute 'parameterCategory':='Config'}
ePolarity : E_BA_Polarity := E_BA_Polarity.eNormal;
{endregion}
END_VAR
VAR
{region 'Raw I/O'}
bRawVal AT %I* : BOOL;
{endregion}
END_VAR
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. |
Requirements
Development environment | Required PLC library |
|---|---|
TwinCAT from v3.1.4024.35 | Tc3_XBA from v5.3.0.0 |