AnalogValue
AnalogValue (FB)
AnalogValue (FB)FUNCTION_BLOCK AnalogValue
Short description
Processing of a raw value Typical application: Reading the raw value from an analog input.
Representation

Function description
General
This function block consists of the functions of the four individual FBs:\
TwoPoint\
Offset\
Limiter\
DampingT1\
Processing is carried out in this order.\
Codesys
InOut:
Input
rIn
REAL
Output
rOut
REAL
Output
xErr
BOOL
Input Const
tInitDelayFilter
TIME
TIME#10s0ms
Input Const
rInitValueFilter
REAL
100
Input Const
eInitialFilter
eInit
eInit.InputValueDelayed
Input Const
tTimeConstantFilter
TIME
TIME#10s0ms
Input Const
xFilterActive
BOOL
TRUE
Input Const
rReplacementValueLimit
REAL
-50
Input Const
eReplacementOptionLimit
eLimiterMode
eLimiterMode.ReplacementValue
Input Const
rMaxLimit
REAL
150
Input Const
rMinLimit
REAL
-50
Input Const
xLimitAktiv
BOOL
TRUE
Input Const
rOffset
REAL
0
Input Const
iMinMaxOffsetTwoPoint
INT
0
Input Const
xMinMaxLimitTwoPoint
BOOL
FALSE
Input Const
rY2TwoPoint
REAL
100
Input Const
rY1TwoPoint
REAL
0
Input Const
rX2TwoPoint
REAL
100
Input Const
rX1TwoPoint
REAL
0
Last updated

