FB_BA_AI_Raw

FB_BA_AI_Raw 1:

The function block represents the object of an analog input.

It has input variables for connecting the process values of the 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_Raw EXTENDS FB_BA_BaseAI
VAR_INPUT
  nRawState    : USINT;
  nRawVal      : INT;
END_VAR

FB_BA_AI_Raw 2: Inputs

Name

Type

Description

nRawState

USINT

Variable for linking the status information of a terminal.

nRawVal

INT

Raw value

Requirements

Development environment

Required PLC library

TwinCAT from v3.1.4024.35

Tc3_XBA from v5.3.0.0