FB_BA_MI_IO

The FB_BA_MO_IO function block represents the Multi-State-Output object for connection to the local I/O level.
It has a priority array and can therefore be commanded (see Commanding objects).
The Multi-State-Output object specifies an object type whose object properties represent externally visible characteristics of a data point for multiple binary outputs, provided they are connected by any binary logic. The object is derived from physical or virtual data points, e.g. for "active/inactive" states of several binary outputs or the value of an analog output.
Inheritance hierarchy
FB_BA_Base
Syntax
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 |