10 inverse function generator instruction (ifgn), Outline – Yaskawa MP900 Series Machine Controller New Ladder Editor User Manual

Page 157

Advertising
background image

1.7 DDC Instructions

1-147

1

Double-length Integer Type Operation (Number of Data: N

= 20)

#L00000 to #L00080 are used for the parameter table.

Real Number Type Operation (Number of Data: N

= 20)

#F00000 to #F00080 are used for the parameter table.

1.7.10 INVERSE FUNCTION GENERATOR Instruction (IFGN)

„

Outline

The IFGN instruction generates a function curve according to the contents of a previously
set parameter table. The input to the IFGN instruction can be integer, double-length integer,
or real number data.

The configuration of the parameter table differs according to the type of data.

If the data set in the parameter table for the IFGN instruction are X

n

and Y

n

, the data must be

set so that Y

n

is less than or equal to Y

n+1

. The IFGN instruction searches for an X

n

/Y

n

pair

within the parameter table in which Y

n

is less than or equal to Y which is less than or equal

to Y

n+1

from input value Y and calculates the output value X.

Deviation input value

Head address of parameter table
FGN output value

Deviation input value

Head address of parameter table
FGN output value

Table 1.24 Integer Type IFGN 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

Advertising
This manual is related to the following products: