6F3B0253
230 T1-16S User’s Manual
7. Instructions
Parameter table
4 registers for x parameters and subsequent 4 registers for corresponding f(x) parameters
D0600 -2000 x1
D0601 -100 x2
D0602 100 x3
D0603 2000 x4
D0604 -1800 y1
D0605 -300 y2
D0606 300 y3
D0607 1800 y4
The FG instruction interpolators f(x) value for x based on the n parameters of (xi,yi).
For example, if XW04 is 1500 (x = 1500), the result 1405 (f(x) = 1405) is stored in D0100.
Note
• The order of the x parameters should be x1
≤
x2
≤
...
≤
xi
≤
...
≤
xn. In the above example, the
data of D0600 to D0603 should be D0600 ≤ D0601 ≤ D0602 ≤ D0603.
• If x is smaller than x1, y1 is given as f(x). In this example, D0604 data (-1800) is stored in
D0100 if XW04 is smaller than D0600 (-2000).
• If x is greater than xn, yn is given as f(x). In this example, D0607 data (1800) is stored in
D0100 if XW04 is greater than D0603 (2000).
• The valid data range is -32768 to 32767.
y(x4,y4)
1800
y = f(x)
300 (x3,y3)
x
2000100
-100-2000
(x2,y2)-300
(x1,y1)-1800
y
1800
1405
300
x
1500
2000100
-100-2000
-300
-1800