FB_BA_MO_Raw

FB_BA_MO_Raw 1:

The function block FB_BA_MO_Raw 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_Raw EXTENDS FB_BA_BaseMO
VAR_INPUT
  bEnFeedback        : BOOL;
  nRawValFeedback    : UDINT;
END_VAR
VAR_OUTPUT
  nRawVal            : UDINT;
END_VAR

FB_BA_MO_Raw 2: Inputs

Name

Type

Description

bEnFdbck

BOOL

Variable for starting the monitoring of the feedback at the binary output.

nRawValFdbck

UDINT

Raw value feedback.

FB_BA_MO_Raw 3: Outputs

Name

Type

Description

nRawVal

UDINT

The variable is used to link the raw value of an object with the process image of the input or output terminal.

Requirements

Development environment

Required PLC library

TwinCAT from v3.1.4024.35

Tc3_XBA from v5.3.0.0