9 function generator instruction (fgn), Program example integer type operation, Real number type operation – Yaskawa MP900 Series Machine Controller New Ladder Editor User Manual
Page 154: Outline

1 Ladder Program Instructions
1.7.9 FUNCTION GENERATOR Instruction (FGN)
1-144
Program Example
Integer Type Operation
MW00100 to MW00105 are used for the parameter table.
Real Number Type Operation
MF00200 to MF00208 are used for the parameter table.
1.7.9 FUNCTION GENERATOR Instruction (FGN)
Outline
The FGN instruction generates a function curve according to the contents of a previously set
parameter table. The input to the FGN instruction can be integer, double-length integer, or
real number data. The configuration of the parameter table differs according to the type of
data.
Deviation input value
Head address of parameter table
LLAG output value
Deviation input value
Head address of parameter table
LLAG output value
Deviation input value
Head address of parameter table
LLAG output value
Table 1.22 Integer Type FGN Instruction Parameters
ADR
Type
Symbol
Name
Specifications
I/O
0
W
N
Number of data
Number of pairs of X and Y
IN
1
W
X1
Data 1
IN
2
W
Y1
Data 1
IN
3
W
X2
Data 2
IN
4
W
Y2
Data 2
IN
•••
•••
•••
•••
•••
•••
2N-1
W
XN
Data N
IN
2N
W
YN
Data N
IN