4 ) additional information – Yaskawa MP900 Series Ladder Programming Manual User Manual

Page 240

Advertising
background image

5.8 DDC Instructions

5.8.9 Function Generator (FGN)

5-171

Instructions

5

( 4 ) Additional Information

The FGN instruction searches for the pair X

n

and Y

n

where X

n

≤ Input X ≤ X

n

+ 1 to calculate output value Y.

If the pair X

n

and Y

n

, where X

n

≤ Input X ≤ X

n+1

, does not exist, the calculation is as follows:

• If Input value X < X

1

,

• If Input value X > X

N

,

= Y

n

+

X

n

) (1 ≤ n ≤ N – 1)

× (

Output value Y

Y

n+1

– Y

n

X

n+1

– X

n

Input value X

= Y

1

+

X

1

)

× (

Output value Y

Y

2

– Y

1

X

2

– X

1

Input value X

= Y

N

+

X

N

)

× (

Output value Y

Y

N

– Y

N-1

X

N

– X

N-1

Input value X

Advertising
This manual is related to the following products: