9 function generator (fgn), 1 ) operation – Yaskawa MP900 Series Ladder Programming Manual User Manual

Page 236

Advertising
background image

5.8 DDC Instructions

5.8.9 Function Generator (FGN)

5-167

Instructions

5

5.8.9 Function Generator (FGN)

( 1 ) Operation

The FGN instruction generates a function based on the parameters specified in the parameter table. It then uses the
function to calculate output value Y based on the value of input X.
The FGN instruction will be for integers, double-length integers, or real numbers, depending on the data type of input
value X. The structure of the parameter table changes accordingly.

Œ

Create the parameter table so that X

1

< X

2

< ... < X

N

.

Output value Y is calculated from
input value X for the function
generated by the parameter table.

Output value Y

X

1

X

2

X

3

Y

1

Y

2

Y

3

Input value X

X

N

Y

N

Function generated by setting X

1…N

,

Y

1…N

in the parameter table.

Advertising
This manual is related to the following products: