Specifications
sigmadue - IEC 61131-3 Function Block Library
16
1-3-10 CHARACTERIZER 16 SEGMENTS
FB Prototype
CHARACTERIZER_16
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_17
and
Py_1
÷
Py_17
). 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 16, 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.
Label Type Description
AI REAL Input value
N_SEG UINT Number of segments
Px_1 ÷ Px_17 REAL X Coordinates of the segments
Py_1 ÷ Py_17 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
Px_10
Py_10
Px_11
Py_11
Px_12
Py_12
Px_13
Py_13
Px_14
Py_14
Px_15
Py_15
Px_16
Py_16
Px_17
Py_17
REAL
UINT
REAL
REAL
REAL
REAL
REAL
REAL
REAL
REAL
REAL
REAL
REAL
REAL
REAL
REAL
REAL
REAL
REAL
REAL
REAL
REAL
REAL
REAL
REAL
REAL
REAL
REAL
REAL
REAL
REAL
REAL
REAL
REAL
REAL
REAL
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡
REAL AOUT
¡
Out = F (In)
P (x1,y1)
P (x2,y2)
P (x3,y3)
P (x4,y4)
P (xn,yn)
Value (In
)