FB_BA_AI
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
Syntax
FUNCTION_BLOCK FB_BA_AI EXTENDS FB_BA_BaseAI
VAR_INPUT
fVal : REAL;
eRlbty : E_BA_Reliability;
END_VAR
Inputs
Name | Type | Description |
---|---|---|
fVal | REAL | Scaled, analog input value. |
eRlbty | 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 |