Customizable logic
(Operating point 1 (X1, Y1), Operating point 2 (X2, Y2), Operating point 3 (X3, Y3))
By using function block 3001, quadratic function K
A
·x
2
+ K
B
·x + K
C
is calculated relative to the input signal x as
shown in the following diagram, allowing the output to be obtained. Here, K
A
, K
B
, and K
C
are coefficients, and they
can be set with function codes.
Coefficients K
A
, K
B
, K
C
Coefficients K
A
, K
B
, K
C
for quadratic function K
A
·x
2
+ K
B
·x + K
C
can be set within the following ranges.
Setting range
Coefficient KA -9.999×105 to 9.999×105
Coefficient KB -9.999×105 to 9.999×105
Coefficient KC -9.999×105 to 9.999×105
These coefficients are set using function codes U92 to U97.
Function code Name Setting range
U92 Coefficient KA mantissa portion -9.999 to 9.999
U93 Coefficient KA exponent portion -5 to 5
U94 Coefficient KB mantissa portion -9.999 to 9.999
U95 Coefficient KB exponent portion -5 to 5
U96 Coefficient KC mantissa portion -9.999 to 9.999
U97 Coefficient KC exponent portion -5 to 5
Instead of setting the coefficients individually, they can be calculated and set automatically in function codes U92 to
U97, by changing U107 from 0 to 1 after setting the arbitrary three sets of operating point data P
1 (X1, Y1), P2 (X2,
Y2), and P3 (X3, Y3) from the above diagram in function codes U101 to U106.
Function code Name Setting range
U101 Operating point data P1 (X1) -999.00 to 0.00 to 9990.00
U102 Operating point data P1 (Y1) 999.00 to 0.00 to 9990.00
U103 Operating point data P2 (X2) 999.00 to 0.00 to 9990.00
U104 Operating point data P2 (Y2) 999.00 to 0.00 to 9990.00
U105 Operating point data P3 (X3) 999.00 to 0.00 to 9990.00
U106 Operating point data P3 (Y3) 999.00 to 0.00 to 9990.00
U107 Automatic calculation 0: No calculation, 1: Calculation