3
F
unction
d
iag
ram
s
3.17
Fr
ee fun
ction
b
locks
SINAMICS
G120D
76
0
L
ist Manual (LH
14)
, 01/2
016
, A5E3384231
3
F
ig.
3
-147
72
26 – PLI
0 ... 1
- 7226 -
Function diagram
8
7
6
5
4
3
2
1
fp_7226_97_61.vsd
Free function blocks - Arithmetic function blocks
G120D CU240D-2
09.12.2015
V4.7.6
PLI 0 … 1
PLI 1
r20379
PLI 1 output Y
PLI 1 RTG
5 ... 9999
p20382 (9999)
PLI 1 RunSeq
0 ... 32000
p20383 (990)
PLI 1 X-coordinate
-340.28235E36 ... 340.28235E36
p20380 (0.0000)
PLI 1 Y-coordinate
-340.28235E36 ... 340.28235E36
p20381 (0.0000)
PLI 1 input X
(0)
p20378
Yn
Xn
A18/B18
A19/B19
A1/B1
A0/B0
X
Y
r20373
PLI 0 output Y
PLI 0 RTG
5 ... 9999
p20376 (9999)
PLI 0 RunSeq
0 ... 32000
p20377 (980)
PLI 0 X-coordinate
-340.28235E36 ... 340.28235E36
p20374 (0.0000)
PLI 0 Y-coordinate
-340.28235E36 ... 340.28235E36
p20375 (0.0000)
PLI 0 input X
(0)
p20372
Yn
Xn
A18/B18
A19/B19
A1/B1
A0/B0
X
Y
X
Y
X
Y
Breakpoint 0 (A0/B0 = p20374[0]/p20375[0]) ... Breakpoint 19 (A19/B19 = p20374[19]/p20375[19])
Breakpoint 0 (A0/B0 = p20380[0]/p20381[0]) ... Breakpoint 19 (A19/B19 = p20380[19]/p20381[19])
This function block randomly adapts output variable Y to input variable X by means of up to 20 breakpoints in 4 quadrants.
Interpolation is carried out linearly between the breakpoints. Outlying the area A0 to A19, the characteristic curve runs horizontally.
During configuration, you must ensure that the values of A0 to A19 are arranged in ascending order. Otherwise the values at the output will not be correct. The values B0 to B19 can be selected at random, i.e., independently of
the previous value.
If breakpoints are not needed (e.g., A16/B16 and higher), the following values of the X- and Y-coordinates (A16/B16 to A19/B19) must be assigned the same values as A15/B15.
PLI (polyline scaling)
<1>
<1>
PLI 0