Data variables (m registers) -9 – Yaskawa MotionSuite Series Machine Controller Programming Manual User Manual

Page 181

Advertising
background image

MotionSuite™ Series Machine Controller Programming Manual

Chapter 5: Variables (Registers)

5-9

5.2.2

Data Variables (M Registers)

!

!

!

! Outline

The data variables (M registers) can be used in ladder programs, user functions, and each
motion program; they also handle the interface between the motion programs, as well as
the ladder programs.

!

!

!

! Detailed Explanation

The M register command method is shown as follows:

The M registers are used as variables to substitute the calculation results, or designate the
positioning coordinate values and speeds with variables. The variable numbers are
displayed with decimals.

!

!

!

! Program Example

When designating the positions and speeds with variables during an axis movement
command

MB000000 ~

MW000000 ~

ML000000 ~

MF000000 ~

MB32767F

MW32767

ML32767

MF32767

• Parameter (Command unit: mm, decimal place: 3)

ML00100=100000;
ML00102=200000;
ML00104=300000;
ML11016=500000;
MVS[X]ML00100[Y]ML00102[Z]ML00104FML00106;

→ 1000.000mm

→ 2000,000mm

→ 3000,000mm

→ 5000,000mm/min

Advertising