03.01.2013 Views

Toshiba PROSEC T1-16S PLC User's Manual - CTi Automation

Toshiba PROSEC T1-16S PLC User's Manual - CTi Automation

Toshiba PROSEC T1-16S PLC User's Manual - CTi Automation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

7. Instructions<br />

Parameter table<br />

4 registers for x parameters and subsequent 4 registers for corresponding f(x) parameters<br />

D0600 -2000 x1<br />

D0601 -100 x2<br />

D0602 100 x3<br />

D0603 2000 x4<br />

D0604 -1800 y1<br />

D0605 -300 y2<br />

D0606 300 y3<br />

D0607 1800 y4<br />

The FG instruction interpolators f(x) value for x based on the n parameters of (xi,yi).<br />

For example, if XW04 is 1500 (x = 1500), the result 1405 (f(x) = 1405) is stored in D0100.<br />

230 <strong>T1</strong>-<strong>16S</strong> User’s <strong>Manual</strong><br />

-2000<br />

1405<br />

y = f(x)<br />

-2000<br />

(x1,y1)<br />

y<br />

1800<br />

300<br />

-100<br />

100<br />

-300<br />

-1800<br />

6F3B0253<br />

Note<br />

• The order of the x parameters should be x1 ≤ x2 ≤ ... ≤ xi ≤ ... ≤ xn. In the above example, the<br />

data of D0600 to D0603 should be D0600 ≤ D0601 ≤ D0602 ≤ D0603.<br />

• If x is smaller than x1, y1 is given as f(x). In this example, D0604 data (-1800) is stored in<br />

D0100 if XW04 is smaller than D0600 (-2000).<br />

• If x is greater than xn, yn is given as f(x). In this example, D0607 data (1800) is stored in<br />

D0100 if XW04 is greater than D0603 (2000).<br />

• The valid data range is -32768 to 32767.<br />

y<br />

1800<br />

300<br />

-100<br />

(x3,y3)<br />

100<br />

(x2,y2) -300<br />

2000<br />

1500<br />

<strong>CTi</strong> <strong>Automation</strong> - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net<br />

-1800<br />

x<br />

(x4,y4)<br />

2000<br />

x

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!