6F3B0250
7. Instructions
Parameter table
4 registers for x parameters and subsequent 4 registers for corresponding f(x) parameters
D0600
D0601
D0602
D0603
D0604
D0605
D0606
D0607
100
2000
300
1800
|
| y |
| (x4,y4) |
| |
| y = f(x) |
|
|
| ||
x1 | 1800 |
|
|
| ||
|
|
|
|
| ||
x2 |
|
|
|
|
| |
x3 |
| 300 | (x3,y3) |
|
| |
x4 |
|
| ||||
100 | 2000 | x | ||||
y1 |
| (x2,y2) | ||||
y2 |
|
|
| |||
|
|
|
|
| ||
y3 |
|
|
|
|
| |
y4 | (x1,y1) |
|
|
| ||
|
|
|
|
|
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.
y
1800
1405
300
100 | 2000 | x |
1500
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
·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
248 T1/T1S User’s Manual
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net