FB_BA_AO_Raw

FB_BA_AO_Raw 1:

The function block represents an analog output object within the base framework. The variable nRawVal is used to link the control value with the process image of the terminal.

It has a priority array and can therefore be commanded.

Inheritance hierarchy

FB_BA_Base

    FB_BA_BasePublisher

        FB_BA_Object

            FB_BA_EventObject

                FB_BA_EventObjectEx

                    FB_BA_ComEventObject

                        FB_BA_BaseAO

Syntax

FUNCTION_BLOCK FB_BA_AO_Raw EXTENDS FB_BA_BaseAO
VAR_INPUT
  bRawOverridden    : BOOL;
END_VAR
VAR_OUTPUT
  nRawVal           : INT;
END_VAR

FB_BA_AO_Raw 2: Inputs

Name

Type

Description

bRawOverridden

BOOL

To this variable can be connected the feedback of a switch contained in a terminal, for the mechanical override of an output.

FB_BA_AO_Raw 3: Outputs

Name

Type

Description

nRawVal

INT

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