Instructions – Toshiba 6F3B0253 User Manual

Page 232

Advertising
background image

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

x

1

D0601

-100

x

2

D0602

100

x

3

D0603

2000

x

4

D0604

-1800

y

1

D0605

-300

y

2

D0606

300

y

3

D0607

1800

y

4

The FG instruction interpolators

f(x)

value for

x

based on the n parameters of (

x

i

,y

i

).

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

x

1

x

2

...

x

i

...

x

n

. In the above example, the

data of D0600 to D0603 should be D0600

D0601

D0602

D0603.

If

x

is smaller than

x

1

,

y

1

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

x

n

,

y

n

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

(x

4

,y

4

)

1800

y = f(x)

300

(x

3

,y

3

)

x

2000

100

-100

-

2000

(x

2

,y

2

)

-

300

(x

1

,y

1

)

-

1800

y

1800

1405

300

x

1500

2000

100

-100

-

2000

-

300

-

1800

Advertising