All rights reserved. No part of this publication may be reproduced, stored in a retrieval system,
or transmitted, in any form, or by any means, mechanical, electronic, photocopying, recording,
or otherwise, without the prior written permission of Yaskawa. No patent liability is assumed
with respect to the use of the information contained herein. Moreover, because Yaskawa is constantly striving to improve its high-quality products, the information contained in this manual is
subject to change without notice. Every precaution has been taken in the preparation of this
manual. Nevertheless, Yaskawa assumes no responsibility for errors or omissions. Neither is
any liability assumed for damages resulting from the use of the information contained in this
publication.
About This Manual
This manual provides information on motion commands for the MP2000 series Machine Control-
lers.
• Motion program overview
• Specifications
• Program development flow
• Motion programs and sequence programs
• Variables
• Programming
• Command reference
• Engineering tool MPE720
• Troubleshooting, etc.
Read this manual carefully to ensure the proper use of the MP2000 series Machine Controller.
Also, keep this manual in a safe place so that it can be referred to whenever necessary.
Using This Manual
Intended Audience
This manual is intended for the following users.
• Those responsible for designing the MP2000 series Machine Controller system
• Those responsible for writing MP2000 series Machine Controller motion programs and sequence programs
Engineering Tool MPE720 Version Number
In this manual, the operation of MPE720 is described using screenshots of MPE720 version 6.
For this reason, the screenshots and some descriptions may differ from those for MPE720 version 5.
Description of Abbreviation
In this manual, the following abbreviation is used.
• MP2000: Machine controller model including MP2100, MP2100M, MP2200, MP2300, MP2300S,
MP2310, MP2400, MP2500, MP2500M, MP2500D, and MP2500MD
Manuals for MP2000 Series
The user’s manuals are prepared by classifying MP2000 series Machine Controller models into
MP2100, MP2100M, MP2200, MP2300, MP2300S, MP2310, MP2400, MP2500, MP2500M,
MP2500D, and MP2500MD.
Refer to Related Manuals on the next page as required.
iii
Related Manuals
The following table lists the related manuals. Refer to these manuals as required.
Before using, be sure you understand the product conditions, including specifications and usage
Machine Controller MP2000 Series Communication Module
User’s Manual
Engineering Tool for Machine Controller MP2000 Series
MPE720 Version 6 User’s Manual
Machine Controller MP900/MP2000 Series MPE720
Software for Programming Device User’s Manual
Machine Controller MP900/MP2000 Series User’s Manual,
Ladder Programming
Machine Controller MP900/MP2000 Series
New Ladder Editor User’s Manual
Programming Manual
Machine Controller MP900/MP2000 Series
New Ladder Editor User’s Manual
Operation
SIEPC88073201
SIEPC88075200
SIEPC88070033
SIEPC88070032
SIEPC88070028
SIEPC88070004
SIEPC88070030
SIEPC88070005
SIEZ-C887-1.2
SIEZ-C887-13.1
SIEZ-C887-13.2
Describes the functions, specifications, setup
procedures, and operating methods of the
MP2100/MP2100M.
Describes the functions, specifications, setup
procedures, and operating methods of the
MP2200.
Describes the functions, specifications, setup
procedures, and operating methods of the
MP2300.
Describes the functions, specifications, setup
procedures, and operating methods of the
MP2300S.
Describes the functions, specifications, setup
procedures, and operating methods of the
MP2310.
Describes the functions, specifications, setup
procedures, and operating methods of the
MP2400.
Describes the functions, specifications, setup
procedures, and operating methods of the
MP2500/MP2500M/MP2500D/MP2500MD.
Describes the functions, specifications, and
application methods of the MP2000-series
Motion Module that is built into the SVB and
SVB-01 Module.
Describes the functions, specifications, and
operating methods of MP2000-series Motion
Module SVA-01.
Describes the functions, specifications, and
operating methods of MP2000-series Motion
Module PO-01.
Describes the functions, specifications, and
application methods of the MP2000 series
Communication Modules.
Describes the installation and operation of
the programming software MPE720 for
MP2000 series.
Describes the installation and operation of
the programming software MPE720 for
MP900/MP2000 series.
Describes the processing instructions used in
MP900/MP2000 series Machine Controller
ladder programs.
Describes
the New Ladder Editor, whic
MP900/MP2000-series design and maintenance.
Describes the operating methods of the New
Ladder Editor, which assists MP900/
MP2000-series design and maintenance.
the programming instructions of
h assists
iv
Visual Aids
IMPORTANT
EXAMPLE
INFO
TERMS
CAUTION
PROHIBITED
MANDATORY
The following aids are used to indicate certain types of information for easier reference.
Indicates important information that should be memorized, including precautions such as alarm displays to
avoid damaging the devices.
Indicates supplemental information.
Indicates application examples.
Indicates definitions of difficult terms or terms that have not been previously explained in this manual.
Safety Information
The following conventions are used to indicate precautions in this manual. Information marked as shown
below is important for the safety of the user. Always read this information and heed the precautions that are
provided. The conventions are as follows:
WARNING
Indicates precautions that, if not heeded, could possibly result in loss of life or serious injury.
Indicates precautions that, if not heeded, could result in relatively serious or minor injury,
or property damage.
If not heeded, even precautions classified under can lead to serious
results depending on circumstances.
Indicates prohibited actions. Specific prohibitions are indicated inside .
For example, indicates no fire or open flame.
Indicates mandatory actions. Specific actions are indicated inside .
For example, indicates that grounding is required.
CAUTION
v
EXAMPLE
Safety Precautions
This section describes important precautions that apply to motion programming. Before programming,
always read this manual and all other attached documents to ensure correct programming.
Before using the equipment, familiarize yourself with equipment details, safety information, and all other
precautions.
Application Precautions
CAUTION
• When programming the following axis move commands, check the path to make sure that there are no
tools or other obstacles in the way of the workpiece.
The axis move commands that must be checked are as follows:
• Positioning (MOV)
• Linear Interpolation (MVS)
• Circular Interpolation (MCC, MCW)
• Helical Interpolation (MCC, MCW)
• Set Time Positioning (MVT)
• Linear Interpolation with Skip Function (SKP)
• Zero Point Return (ZRN)
• External Positioning (EXM)
axis 3
Each axis is moved
independently at rapid
traverse speed.
axis 3
Current position
axis 2
Failure to carry out the above checks may result in damage to equipment, serious personal injury,
or even death.
axis 2
Example of Basic Path for Positioning (MOV)
Positioning
axis 1
End position
axis 1
vi
• If the following coordinate commands are designated incorrectly, the subsequent move operations will
CAUTION
be entirely different than those expected. Before starting operations, be sure to check that the settings
are designated correctly.
The coordinate commands that must be checked are as follows:
• Absolute Programming Mode (ABS)
• Incremental Programming Mode (INC)
• Current Position Set (POS)
• Move ON Machine Coordinates (MVM)
EXAMPLE
axis 2
axis 2
(axis 1)
Current position
(axis 2)
Failure to carry out the above checks may result in damage to equipment, serious personal injury, or even death.
General Precautions
• MP2000-series Machine Controller was not designed or manufactured for use in devices or systems directly
related to human life. Users who intend to use the product described in this manual for special purposes such as
devices or systems relating to transportation, medical, space aviation, atomic power control, or underwater use
must contact Yaskawa Electric Corporation beforehand.
• MP2000-series Machine Controller has been manufactured under strict quality control guidelines.
However, if this product is to be installed in any location in which a failure of MP2000-series Machine Controller involves a life and death situation or in a facility where failure may cause a serious accident, safety devices
MUST be installed to minimize the likelihood of any accident.
• Drawings and photos in this manual show typical product examples that may differ somewhat from the product
delivered.
• We will update the data sheet number for the manual and issue revisions when changes are made. The edition
number of the revised manual appears on the back of the manual.
• Contact your Yaskawa representative and quote the data sheet number on the front page of the manual if you
need to replace a manual that was lost or destroyed.
• Contact your Yaskawa representative to order new nameplates whenever a nameplate becomes worn or damaged.
(0, 0)
(0, 0)
Example of Work Coordinate System Created with
Machine coordinate system
Workpiece coordinate system
Current Position Set (POS)
Observe the following general precautions
to ensure safe application.
axis 1
axis 1
vii
Warranty
(1) Details of Warranty
Warranty Period
The warranty period for a product that was purchased (hereinafter called “delivered product”) is one year
from the time of delivery to the location specified by the customer or 18 months from the time of shipment
from the Yaskawa factory, whichever is sooner.
Warranty Scope
Yaskawa shall replace or repair a defective product free of charge if a defect attributable to Yaskawa occurs
during the warranty period above. This warranty does not cover defects caused by the delivered product
reaching the end of its service life and replacement of parts that require replacement or that have a limited
service life.
This warranty does not cover failures that result from any of the following causes.
1. Improper handling, abuse, or use in unsuitable conditions or in environments not described in product catalogs or manuals, or in any separately agreed-upon specifications
2. Causes not attributable to the delivered product itself
3. Modifications or repairs not performed by Yaskawa
4. Abuse of the delivered product in a manner in which it was not originally intended
5. Causes that were not foreseeable with the scientific and technological understanding at the time of shipment from Yaskawa
6. Events for which Yaskawa is not responsible, such as natural or human-made disasters
(2) Limitations of Liability
1. Yaskawa shall in no event be responsible for any damage or loss of opportunity to the customer that arises
due to failure of the delivered product.
2. Yaskawa shall not be responsible for any programs (including parameter settings) or the results of program execution of the programs provided by the user or by a third party for use with programmable
Yaskawa products.
3. The information described in product catalogs or manuals is provided for the purpose of the customer purchasing the appropriate product for the intended application. The use thereof does not guarantee that there
are no infringements of intellectual property rights or other proprietary rights of Yaskawa or third parties,
nor does it construe a license.
4. Yaskawa shall not be responsible for any damage arising from infringements of intellectual property
rights or other proprietary rights of third parties as a result of using the information described in catalogs
or manuals.
viii
(3) Suitability for Use
1. It is the customer’s responsibility to confirm conformity with any standards, codes, or regulations that
apply if the Yaskawa product is used in combination with any other products.
2. The customer must confirm that the Yaskawa product is suitable for the systems, machines, and equipment used by the customer.
3. Consult with Yaskawa to determine whether use in the following applications is acceptable. If use in the
application is acceptable, use the product with extra allowance in ratings and specifications, and provide
safety measures to minimize hazards in the event of failure.
• Outdoor use, use involving potential chemical contamination or electrical interference, or use in conditions or environments not described in product catalogs or manuals
• Nuclear energy control systems, combustion systems, railroad systems, aviation systems, vehicle systems, medical equipment, amusement machines, and installations subject to separate industry or government regulations
• Systems, machines, and equipment that may present a risk to life or property
• Systems that require a high degree of reliability, such as systems that supply gas, water, or electricity,
or systems that operate continuously 24 hours a day
• Other systems that require a similar high degree of safety
4. Never use the product for an application involving serious risk to life or property without first ensuring
that the system is designed to secure the required level of safety with risk warnings and redundancy, and
that the Yaskawa product is properly rated and installed.
5. The circuit examples and other application examples described in product catalogs and manuals are for
reference. Check the functionality and safety of the actual devices and equipment to be used before using
the product.
6. Read and understand all use prohibitions and precautions, and operate the Yaskawa product correctly to
prevent accidental harm to third parties.
(4) Specifications Change
The names, specifications, appearance, and accessories of products in product catalogs and manuals may be
changed at any time based on improvements and other reasons. The next editions of the revised catalogs or
manuals will be published with updated code numbers. Consult with your Yaskawa representative to confirm
the actual specifications before purchasing a product.
The motion program is a program written in motion language, Yaskawa’s unique textual language.
A motion program can be executed either by coding an MSEE command in a ladder program or by registering
the motion program in the program execution registry screen dialog box for the M-EXECUTOR Module.
Note: The M-EXECUTOR Module can not be used with the following modules and Machine Controllers:
MP2300, CPU-01, CPU-02
Apart from ladder programs, up to 256 motion programs can be created.
An example of a motion program is shown below.
The features of motion programs are described starting from the next page.
1-2
1
Overview
1.2 Motion Program Features
Ladder program
(Scan execution)
Motion program
(Sequential execution)
One program
is executed
in a fixed
cycle.
IB00000 IB00001OB00000
IB00002
IB00003
DB000005
IB00004 DB000006OB00001
END
MOV [X]1000 [Y]2000;
MOV [X]-1000 [Y]-2000;
MVS [X]2000 [Y]1000 F30000;
END;
At the completion of
execution of one
move command,
the next command will
be executed.
Motion control in full
synchronization with
high-speed scans
Motion parameters
Set motion
parameters
Fully
synchronized
control
Position
control
Speed
control
Torque
control
1.2.1 Execution Method
A motion program employs an execution method that differs from the ladder program.
With a ladder program, processing from the program start to an END command is completed within one scan.
With a motion program, the processing requested by one command normally requires more than one scan.
Also, the commands are executed sequentially, in the order they are coded.
In this manual, the execution method of ladder program is referred to as Scan Execution, and that of a motion
program as Sequential Execution.
1.2 Motion Program Features
1.2.2 Motion Control in Full Synchronization with Sequence Control
The process written in a motion program is executed in full synchronization with high-speed scans of the
MP2000-series Machine Controller. The axis movement will start within one scan after the start request from the
ladder program, without any time lag to start the motion program.
1-3
1 Overview
1.2.3 Easy to Realize High-level Motion Control
1.2.3 Easy to Realize High-level Motion Control
In addition to basic motion control, motion control that involves complicated movements can be easily realized
by using motion programs.
Positioning
Circular
interpolation
Linear
interpolation
Helical
interpolation
1.2.4 Easy-to-Understand Motion Language
A motion program employs intuitive motion language commands such as VEL to set a velocity and MOV for
positioning.
Set Velocity
Positioning
VEL [A1]1000 [B1]500;
MOV [A1]100 [B1]200;
1.2.5 Arithmetic Operations
The motion language includes commands for arithmetic operations and logical operations.
These commands allow you to include various calculations, such as calculation of target position in a motion program.
DL00000 = DL00002+DW00004;
DL00000 = DW00002
MW00000 = MW00000 & 00FFH;
MF00000 =
SIN(30.0);
DL00004;
*
1-4
1
Overview
1.2.6 Data Transfer from/to Ladder Program
Data register
(M register)
MOV [A1] ML00000;
Ladder program
Motion program
Read Update
Read Update
Main program
MPM001
Main program
MPM002
Main program
MPM003
Subprogram
MPS010
Calling
(MSEE)
Write common
processing in a
subprogram.
Calling
(MSEE)
Calling
(MSEE)
Data can be transferred between a ladder program and motion program.
Data registers (M registers) are used to transfer the data.
In this way, a value updated in a ladder program can be used in a motion program, and vice versa
1.2 Motion Program Features
1.2.7 Memory Usage Reduced by Use of Subprograms
Subroutines (subprograms) can be created within a motion program.
The number of program steps can be minimized by creating a subprogram that includes a set of commands to
perform a repeated or regular task, thus reducing memory usage.
1-5
1 Overview
MP2000series
Machine
Controller
Task 1
Task 2
Task 16
Processing 1
Subprogram
Processing
1-1
Processing
1-2
Processing 2
Processing 3
Processing 4
Task
Simultaneous
execution of
up to 16 tasks
Up to four main programs
can be executed
in parallel.
Up to two subprograms
can be executed in
parallel.
Offline editing
Online editing
Programming
Operation to transfer a program
to the Machine Controller
Debugging
INFO
1.2.8 Parallel Program Execution
1.2.8 Parallel Program Execution
With a single MP2000-series Machine Controller, up to 16 tasks can be simultaneously executed using motion
programs. With one motion program, up to four main programs can be simultaneously executed. Additionally, up
to two subprograms can be simultaneously executed by calling subprograms from the main program. Multiple
different movements can be simultaneously controlled by using such the parallel program execution function.
1.2.9 Program Online Editing
Motion programs can be edited online in the same way as ladder programs.
Online editing refers to editing programs with the programming device logged on to the Machine Controller.
In online editing mode, the operation to save the edited program automatically transfers the saved program to the
Machine Controller. Thus, an operation to transfer to the Machine Controller is not required and program development efficiency is improved.
Online editing is disabled while a motion program is running.
1-6
1.2 Motion Program Features
1
Overview
Test Run Function
Control the axes onscreen.
Program Execution Registration Function
Easily register programs to be executed in the system.
Operation Control Panel Function
Start motion programs from the MotionEditor window.
Debug Function
Debug a motion program.
The debug commands, including step-by-step execution
and break point setting, are provided.
Axis Operation Monitor Function
View the motion status of each axis onscreen.
Command Input Assistant Function
Simply select a command and set data in the MotionCommand Assist dialog box to insert the command in
the editor.
Inserts the command
1.2.10 Enriched Easy Programming Functions (MPE720 Ver.6.04 or later)
The engineering tool MPE720 Ver.6 for MP2000-series Machine Controllers is provided with the following easy
programming functions.
1-7
1 Overview
H
H01
H02
H01.01
H01.02
Ladder program
MP2000-series Machine Controller
M-EXECUTOR
Program Definition tab
Calling
Calling
Motion programs
SVR
Built-in
SVB
SVB-01
SVA-01
PO-01
Transfer the created programs
MSEE command
Motion Editor Window
Can call motion
programs without using
ladder program
The motion programs created on the MPE720 Motion Editor window are transferred to the MP2000-series
Machine Controller. The transferred motion programs can be called by MSEE commands coded in the ladder
program, or from the execution registry screen dialog box of the M-EXECUTOR Module. Motion commands are
sent to the motion module via the motion parameters to move axes.
The following diagram illustrates how motion programs created using the MPE720 are executed.
1-8
1
Overview
1.4 Motion Program Execution Registration
INFO
M-EXECUTOR
Program definition
MPM001
INC;
VEL [A1]100 [B1]200;
MOV [A1]1000 [B1]2000;
END;
Motion program
Control registers
Calls
INFO
Execution of motion programs can be registered in two ways.
Calling a Motion Program from the Ladder Program
Code an MSEE command in an H drawing to call the motion program to run. An MSEE work register is used
to start/stop the called motion program. Motion programs can be called from any H drawing: parent drawing,
child drawing, or grandchild drawing.
DWG.H
Calls
INC;
VEL [A1]100 [B1]200;
1.4 Motion Program Execution Registration
Motion program
MPM001
Work register
Status
Control signal
Interpolation override
System work number
MOV [A1]1000 [B1]2000;
END;
In this manual, the high-speed processing drawing of a ladder program is referred to as H drawing.
Registering Motion Programs in M-EXECUTOR
Register motion programs in the M-EXECUTOR program execution definition. A control register (I/O register) is used to start or stop the registered motion program.
M-EXECUTOR is a software module to execute motion programs and sequence programs.
1-9
1 Overview
Empty
I/O service
(Output)
H drawing
M-EXECUTOR
External device
Batch
output
Batch
input
MP2000-series CPU
Requests
to execute
Reports
Motion program
Status
Control signal
Subprogram
M-EXECUTOR
Requests
to execute
Reports
Status
Control signal
High-speed scan
High-speed scan
High-speed scan
I/O service
(Input)
EmptyEmpty
MSEE
END;
MPM001
RET;
MPS101
DWG.H
Motion program
Subprogram
MSEE
END;
MPM002
RET;
MPS102
System processing
Output (O)
register
Input (I)
register
1.5 Motion Program Execution Timing
Motion programs are executed in full synchronization with MP2000 high-speed scans. In every high-speed scan
cycle, I/O services are performed first, and the motion program registered in M-EXECUTOR is executed.
Next, the motion program initiated in the MSEE command coded in the DWG.H is executed at the timing of the
MSEE command execution.
The following diagram illustrates motion program execution timing.
1-10
1
Overview
1.6 Grouping
The axes involved in related operations are organized into individual groups. Motion programs can be created for
each group. This allows one MP2000-series Machine Controller to independently control multiple machines
using group operation. Group operation can be single group operation or multiple group operation.
Definitions for axes to be grouped together are made under Group Definitions.
Single Group Operation
1.6 Grouping
MP2000 series
Machine Controller
Multiple Group Operation
A1B1A2D2A3
SGDS
SGDS
A1B1C1F1G1
Group1
SGDS
SGDS
SGDS
MP2000 series
Machine Controller
SGDS
SGDS
G
roup1Group2Group3
SGDS
SGDS
SGDS
Groups are organized
in a tree structure.
1-11
1 Overview
Pallet
Pallet
+
+
-
+
-
+
-
+
-
+
-
-
2
Printed
board
Stand
Parts tray
Robot 2
Robot 1
1.7.1 Example 1: Handling System
1.7 Application Examples
Motion programs can be used for operations of various systems.
Some application examples are shown below.
1.7.1 Example 1: Handling System
Outline
• To stack a specified number of cardboard boxes on a pallet
and transport them to the next process
• The system operation includes three axes motion control for
the palletizing process and an automatic pallet feeding
sequence.
Control points
• Moves X1 and X2 axes in synchronization using
• Realizes smooth movements by using interpola-
• Palletizes by calculating the position data with the
1.7.2 Example 2: Mechanical Parts Inserting Machine
Outline
• To insert parts, such as connectors, in a printed board.
• The handling robot takes out the parts and brings them to the
stand. The inserting robot inserts the parts in the specified position and angle on the board.
a virtual axis.
tion.
motion program according to predefined conditions (box dimensions, the number of boxes in a
horizontal row, the number of boxes in a vertical
row, and the number of boxes in a stack.
1-12
Control points
• Two groups of axes are organized, and programs
are created for each group, so that each robot is
independently controlled.
• The tact time can be shortened by using two-axes
or three-axes linear interpolation.
1
Overview
1.7.3 Example 3: Panel Processing Machine
z
Y
Wave forms
Cutter
Flat panel
Outline
• To draw waveforms on a flat panel made of construction
material.
• More than ten cutters are mounted in series on the X axis, and
the width of the pattern can be easily changed.
1.7 Application Examples
Control points
• Moves X and Y axes in circular interpolation
to draw waveforms.
• Moves Y1 and Y2 axes in synchronization
using a vertical axis.
1.7.4 Example 4: Metal Sheet Bending Equipment
Outline
• To bend a metal sheet
• A metal sheet can be bent into various shapes by changing the
adjusting axis while feeding a sheet using the rolling axis.
Workpiece
Motor for
adjusting roller
platform
Gear
Motor for feeding roller
Feeding roller (urethane)
Adjusting roller
Workpiece
(metal sheet)
Motor for
inserting workpieces
Control points
• Controls two axes, a linear axis and rotational axis, in linear interpolation.
• Switches the motion program to be called
according to the process.
1-13
1 Overview
1.8 What is a Sequence Program?
The sequence program is a scan execution type program written in the language commonly used for the motion
program.
An application to cyclically check a status, such as an interlock, can be created by using a sequence program.
A sequence program can be executed by calling from the program execution registry screen dialog box of MEXECUTOR Module.
Note: The M-EXECUTOR Module can not be used with the following modules and Machine Controllers:
MP2300, CPU-01, CPU-02
A total of up to 256 sequence and motion programs can be created.
An example of a sequence program is shown below.
The features of sequence programs are described, starting from the next page.
1-14
Loading...
+ 326 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.