Specifications

Chapter 1 - AsconACLib
15
1-3-9 CHARACTERIZER 8 SEGMENTS
FB Prototype
CHARACTERIZER_8
Input parameters
Output parameters
Description
This function block provides a linear interpolation of the input signal, using the
table passed as input (
Px_1
÷
Px_9
and
Py_1
÷
Py_9
). The parameter
N_SEG
specifies the number of the segments in which is divided the input range: if this
value is 0 or grater then 8, the output
AOUT
is always 0.0. Furthermore the FB
checks if the
AI
input is out of range, and in this case it forces the minimum or the
maximum values provided for the output linearization.
Default values
Output parameters
Label Type Description
AI REAL Input value
N_SEG UINT Number of segments
Px_1 ÷ Px_9 REAL X Coordinates of the segments
Py_1 ÷ Py_9 REAL Y Coordinates of the segments
Label Type Description
AOUT REAL Output linearized value
AI
N_SEG
Px_1
Py_1
Px_2
Py_2
Px_3
Py_3
Px_4
Py_4
Px_5
Py_5
Px_6
Py_6
Px_7
Py_7
Px_8
Py_8
Px_9
Py_9
REAL
UINT
REAL
REAL
REAL
REAL
REAL
REAL
REAL
REAL
REAL
REAL
REAL
REAL
REAL
REAL
REAL
REAL
REAL
REAL
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡
REAL AOUT
¡
Input Default values
AI 0.0
N_SEG 0
Output Default values
AOUT 0.0
Out = F (In)
P (x1,y1)
P (x2,y2)
P (x3,y3)
P (x4,y4)
P (xn,yn)
Value (In