FB_BA_MO_IO

FB_BA_MO_IO 1:

The function block FB_BA_MO_IO represents the Multi-State_Output object.
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, connected by arbitrary 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

    FB_BA_BasePublisher

        FB_BA_Object

            FB_BA_EventObject

                FB_BA_EventObjectEx

                    FB_BA_ComEventObject

                        FB_BA_BaseMO

Illustration

FUNCTION_BLOCK FB_BA_MO_IO EXTENDS FB_BA_BaseMO IMPLEMENTS I_BA_RawMO
VAR
  {region 'Raw I/O'}
    stRawVal            AT %Q*    : ST_BA_Byte;
    stRawValFeedback    AT %I*    : ST_BA_Byte;
  {endregion}
END_VAR

VAR

Name

Type

Description

stRawVal

ST_BA_Byte

Raw value for output to a bus terminal.

stRawValFeedback

ST_BA_Byte

Feedback input of the raw value (optional).

Requirements

Development environment

Required PLC library

TwinCAT from v3.1.4024.35

Tc3_XBA from v5.3.0.0