FB_BA_BI_Raw

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
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
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 |