Sample Program 2: Positioning Control; Program Outline - YASKAWA MP2100 Series User Manual

Machine controller design and maintenance
Table of Contents

Advertisement

3.3 Sample Program 2: Positioning Control

3.3.1 Program Outline

Sample program 2 will use a motion program to operate a hypothetical X-Y plotter, such as the one in the follow-
ing diagram.
• The H04 drawing (ladder program) starts a text-format motion program.
• The motion program executes the commands and operations in the program in order from the beginning.
The following sample motion programs have been prepared.
• Motion program No. 1 (MPM001): Zero point return operation using phase-C pulse
• Motion program No. 2 (MPM002): 2-axis positioning and interpolation
• Motion program No. 3 (MPM003): 2-axis positioning and interpolation
Refer to 3.3.3 Program Details for details on the sample program.
Parent Drawing
H Drawing
SEE
Name H04
END
High-speed scan
• This program is solely for the purpose of describing the MP2100 system startup. Care must be taken because
IMPORTANT
actual applications will differ.
• This system for the program has no power OFF circuit for the SERVOPACK in the event of emergency stops
or overtravel. Include a proper emergency stop circuit in actual applications.
Servomotor
Y
X
X-Y plotter
Child Drawing
H04 Drawing
Start motion
program.
MSEE
Program No. 001
Data
DA00020
END
3.3 Sample Program 2: Positioning Control
Motion programs
MPM003
MPM002
MPM001
0W803C=3;
0W80BC=3;
VEL[X]100[Y]100;
ACC[X]100[Y]100;
Text-format
program
3
3-45

Advertisement

Table of Contents
loading

This manual is also suitable for:

Japmc-mc2100Mp2100m seriesJapmc-mc2140

Table of Contents