FB_BA_AI

FB_BA_AI 1:

The function block represents an analog input.

It is used to map a measured value within the project structure by means of an analog input object.
The measured value must already exist as a scaled value within the controller. When using this function block, the measuring signal comes, for example, from a fieldbus and not from a bus terminal.

Inheritance hierarchy

FB_BA_Base

    FB_BA_BasePublisher

        FB_BA_Object

            FB_BA_EventObject

                FB_BA_EventObjectEx

                    FB_BA_ComEventObject

                        FB_BA_BaseAI

Syntax

FUNCTION_BLOCK FB_BA_AI EXTENDS FB_BA_BaseAI
VAR_INPUT
  fVal      : REAL;
  eRlbty    : E_BA_Reliability;
END_VAR

FB_BA_AI 2: Inputs

Name

Type

Description

fVal

REAL

Scaled, analog input value.

eRlbty

E_BA_Reliability

Availability or reliability of a value.

Requirements

Development environment

Required PLC library

TwinCAT from v3.1.4024.35

Tc3_XBA from v5.3.0.0