Yaskawa MP940 Reference Manual User Manual

Page 86

Advertising
background image

Register

MotionSuite™ MP940 Machine Controller Reference Manual

3-44

If the suffix is in double-length integer form

The value of I is the same as the value of J when added to a register number.
For example, when I = 1 ML00000l is the same as ML0000I. Be aware that
ML0000J is as follows when J = 0 and when J = 1.

If the suffix is in real number form

The value of I is the same as the value of J when added to a register number.
For example, when I = 1 MF00000l is the same as MF0000I. Be aware that
MF0000J is as follows when J = 0 and when J = 1.

Example of Program Using Suffixes

Using suffix J, this program requests a total of 100 registers from MW00100
to MW0199 into MW00200.

Equal

00030

MW00001j

MW00031

J

When J=0 ML00000J: ML00000

When J=1 ML00000J: ML00001

Upper-level

Word

MW00001

Lower-level

Word

MW00000

MW00002

MW00001

When J=0 MF00000J: MF00000

When J=1 MF00000J: MF00001

Upper-level

Word

MW00001

Lower-level

Word

MW00000

MW00002

MW00001

00000

FOR J = 00000 to 00099 by 00001

MW00200 + MW00100j

FEND

MW00200

MW00200

Advertising