FB_BA_MI_IO
The function block FB_BA_MI_IO represents the Multi-State_Input object.
The Multi-State_Input object specifies an object type whose object properties represent externally visible characteristics of a data point for multiple binary inputs. The object is derived from physical or virtual data points, e.g. the limit messages of several analog inputs or analog values or from a mathematical calculation.
Inheritance hierarchy
FB_BA_Base
FB_BA_BasePublisher
Illustration
FUNCTION_BLOCK FB_BA_MI_IO EXTENDS FB_BA_BaseMI IMPLEMENTS I_BA_RawMI
VAR_INPUT CONSTANT PERSISTENT
{region 'Variable Parameters'}
nDefaultValue : UDINT := 1;
{endregion}
END_VAR
VAR
{region 'Raw I/O'}
stRawVal AT %I* : ST_BA_Byte;
{endregion}
END_VAR
Inputs CONSTANT PERSISTENT
Name | Type | Description |
---|---|---|
nDefaultValue | UDINT | Value that is assumed if all 16 priorities of the Priority_Array of a commandable object have no entry or are NULL. |
Requirements
Development environment | Required PLC library |
---|---|
TwinCAT from v3.1.4024.35 | Tc3_XBA from v5.3.0.0 |