Yaskawa MP2000 Series: User's Manual for Motion Progr Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Ausrüstung Yaskawa MP2000 Series: User's Manual for Motion Progr herunter. Yaskawa MP2000 Series: User's Manual for Motion Programming User Manual Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 356
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen

Inhaltsverzeichnis

Seite 1 - USER’S MANUAL

USER’S MANUALMachine Controller MP2000 Seriesfor Motion ProgrammingMANUAL NO. SIEP C880700 38C12345678910OverviewSpecificationsProgram Development Fl

Seite 2

xContentsAbout This Manual - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - iiiUsing

Seite 3 - Manuals for MP2000 Series

7 Programming7.2.4 Speed Reference7-127.2.4 Speed ReferenceThe unit for the speed coded in a motion program can be selected: Reference unit/s, 10n

Seite 4 - Related Manuals

7.3 Group Definition7-137Programming7.3 Group DefinitionAxes to be grouped together are defined in the Group Definition window.This section describe

Seite 5 - Safety Information

7 Programming7-14 Axis No.Set an axis number for the axis used.The axis number can be checked in the detailed screen of the used motion module. Logic

Seite 6 - Safety Precautions

7.4 Priority Levels of Operations7-157Programming7.4 Priority Levels of OperationsA priority level is assigned to each operator used in an operation

Seite 7 -  General Precautions

7 Programming7-16• Logical Operation Example Precautions on operations involving three or more itemsFor example, with the following operation,With

Seite 8 - Warranty

7.5 Commands and Execution Scans7-177Programming7.5 Commands and Execution Scans7.5.1 Command TypesThere are three motion language command types. T

Seite 9 - (4) Specifications Change

7 Programming7.5.2 List of Command Types7-187.5.2 List of Command TypesThe following table lists the command types.Classification Command S Type M

Seite 10 - Contents

7.6 Sequence Program Format7-197Programming7.6 Sequence Program FormatThe format of a sequence program is the same as that for a motion program.Howe

Seite 11 - 4 Motion Programs

8-18Command Reference8Command ReferenceThis chapter describes the motion language commands.8.1 Axis Setting Commands - - - - - - - - - - - - - - - -

Seite 12 - 6 Variables (Registers)

8 Command Reference 8-28.4 Program Control Commands - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 8-878.4.1 Branching Commands (I

Seite 13

xi2 Specifications2.1 MP2000 Series Machine Controller Specifications - - - - - - - - - - - - - - - - - - - - - - 2-22.1.1 Applicable Machine Contr

Seite 14

8.1 Axis Setting Commands8-38Command Reference8.1 Axis Setting CommandsThis section describes the axis setting commands.8.1.1 Absolute Mode (ABS)(1

Seite 15 - 10 Troubleshooting

8 Command Reference8.1.1 Absolute Mode (ABS)8-4(2) Format(3) Programming ExampleAn ABS command programming example is given below.Fig. 8.2 ABS Comm

Seite 16 - Revision History

8.1 Axis Setting Commands8-58Command Reference(b) Finite-length Axis and Infinite-length AxisThe position reference value of a coordinate word for a

Seite 17 - Overview

8 Command Reference8.1.1 Absolute Mode (ABS)8-6• When Selecting ABS Mode for an Infinite-length AxisSpecify the target position in the range betwee

Seite 18 - MP2300, CPU-01, CPU-02

8.1 Axis Setting Commands8-78Command Reference8.1.2 Incremental Mode (INC) (1) OverviewThe Incremental Mode (INC) command causes the coordinate word

Seite 19 - Set motion

8 Command Reference8.1.2 Incremental Mode (INC)8-8(2) Format(3) Programming ExampleAn INC command programming example is given below.Fig. 8.4 INC C

Seite 20 - Positioning

8.1 Axis Setting Commands8-98Command Reference(b) Finite-length Axis and Infinite-length AxisThe position reference value of a coordinate word for a

Seite 21 - Read Update

8 Command Reference8.1.2 Incremental Mode (INC)8-10• When Selecting INC Mode for Infinite-length AxisSpecify the relative movement amount for the p

Seite 22 - 1.2.9 Program Online Editing

8.1 Axis Setting Commands8-118Command Reference8.1.3 Acceleration Time Change (ACC)(1) OverviewThe Acceleration Time Change command (ACC) changes th

Seite 23 - Debug Function

8 Command Reference8.1.3 Acceleration Time Change (ACC)8-12(2) Format(3) Setting Items for ACC CommandEither acceleration time (ms) or acceleration

Seite 24 - Motion parameters

xii5 Sequence Programs5.1 Sequence Program Types - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5-25.2 How to Ru

Seite 25

8.1 Axis Setting Commands8-138Command Referencec) Positioning speedThe speed for positioning related commands MOV, MVT, or EXM.Set the positioning sp

Seite 26 - MSEE command execution

8 Command Reference8.1.3 Acceleration Time Change (ACC)8-14(4) Programming ExamplesACC command programming examples are shown below.• When bits 4

Seite 27 - 1.6 Grouping

8.1 Axis Setting Commands8-158Command Reference• When bits 4 to 7 of OW03 (Acceleration/deceleration degree unit selection) are set to 0 (referen

Seite 28 - 1.7 Application Examples

8 Command Reference8.1.3 Acceleration Time Change (ACC)8-16(5) Supplemental Information on ACC Command(a) Related Motion ParametersACC changes the

Seite 29

8.1 Axis Setting Commands8-178Command Reference8.1.4 Deceleration Time Change (DCC)(1) OverviewThe Deceleration Time Change command (DCC) changes th

Seite 30

8 Command Reference8.1.4 Deceleration Time Change (DCC)8-18(2) Format(3) Setting Items for the DCC CommandEither deceleration time (ms) or decelerat

Seite 31 - 1.9.1 Execution Method

8.1 Axis Setting Commands8-198Command Referencec) Positioning speedThe speed for positioning related commands MOV, MVT, or EXM.Set the positioning sp

Seite 32 - Write a repeated

8 Command Reference8.1.4 Deceleration Time Change (DCC)8-20(4) Programming ExamplesDCC command programming examples are shown below.• When bits 4

Seite 33 - Specifications

8.1 Axis Setting Commands8-218Command Reference• When bits 4 to 7 (Acceleration/deceleration degree unit selection) of OW03 are set to 0 (referen

Seite 34

8 Command Reference8.1.4 Deceleration Time Change (DCC)8-22(5) Supplemental Information on DCC Command(a) Related Motion ParametersDCC changes the

Seite 35

xiii8 Command Reference8.1 Axis Setting Commands - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 8-38.1.1 Absolute

Seite 36

8.1 Axis Setting Commands8-238Command Reference8.1.5 S-curve Time Constant Change (SCC)(1) OverviewThe S-curve Time Constant Change command (SCC) ch

Seite 37 - • MPE720 Ver.5

8 Command Reference8.1.5 S-curve Time Constant Change (SCC)8-24(3) Setting Items for SCC CommandMotion ImageSpecify a numerical value or register fo

Seite 38

8.1 Axis Setting Commands8-258Command Reference(4) Programming ExamplesAn SCC command programming example is given below.The following example shows

Seite 39 - Program Development Flow

8 Command Reference8.1.5 S-curve Time Constant Change (SCC)8-26(5) Supplemental Information on SCC Command(a) Related Motion ParametersSCC command c

Seite 40 - 3.1 Program Development Flow

8.1 Axis Setting Commands8-278Command Reference(b) Movement Path by Interpolation Command and S-Curve Acceleration/DecelerationThe S-curve accelerati

Seite 41 - 3.2.4 System Setup

8 Command Reference8.1.5 S-curve Time Constant Change (SCC)8-28(c) Filter Type SelectionBefore enabling the S-curve acceleration/deceleration, set t

Seite 42 - 3.2.5 Creating Project Files

8.1 Axis Setting Commands8-298Command Reference8.1.6 Set Velocity (VEL)(1) OverviewThe Set Velocity command (VEL) changes the feed speed of each axi

Seite 43 - 3.2.6 Group Definitions

8 Command Reference8.1.6 Set Velocity (VEL)8-30(3) Setting Items for VEL CommandMotion Imagea) Rated speedUse motion fixed parameter 34 (Rated motor

Seite 44

8.1 Axis Setting Commands8-318Command Reference(4) Programming ExamplesA VEL command programming example is shown below.This example shows execution

Seite 45

8 Command Reference8.1.6 Set Velocity (VEL)8-32(b) OverrideMotion setting parameter OW18 (Override) can be used to specify a percentage of positio

Seite 46 - ON command MB000000

xiv8.4.14 Single-block Signal Disabled (SNGD)/Single-block Signal Enabled (SNGE) - - - - - - - - - - - 8-1168.5 Arithmetic Operations - - - - -

Seite 47

8.1 Axis Setting Commands8-338Command Reference(c) Motor Speed SpecificationsIn addition to the VEL command reference range, the motor rated speed an

Seite 48

8 Command Reference8.1.6 Set Velocity (VEL)8-34- Continued from the previous page -• Parameter Setting Example: When the Electronic Gear is Disabl

Seite 49

8.1 Axis Setting Commands8-358Command Reference8.1.7 Maximum Interpolation Feed Speed Setting (FMX)(1) OverviewThe Maximum Interpolation Feed Speed

Seite 50 - 3.2.10 Debugging the Program

8 Command Reference8.1.7 Maximum Interpolation Feed Speed Setting (FMX)8-36(3) Setting Items for FMX CommandMotion Image a) Max. feed speed for inte

Seite 51 - 2. Click the Start button

8.1 Axis Setting Commands8-378Command Reference8.1.8 Interpolation Feed Speed Ratio Setting (IFP)(1) OverviewThe Interpolation Feed Speed Ratio Sett

Seite 52 - ON to turn the servo ON

8 Command Reference8.1.8 Interpolation Feed Speed Ratio Setting (IFP)8-38(2) Format IFP command cannot be coded in the same block used for an interp

Seite 53 - Motion Programs

8.1 Axis Setting Commands8-398Command Reference• When using an interpolation override• The interpolation feed speed can be specified by using eithe

Seite 54 - A1 B1 A2 D2 A3

8 Command Reference8.1.9 Interpolation Acceleration Time Change (IAC)8-408.1.9 Interpolation Acceleration Time Change (IAC)(1) OverviewThe Interpol

Seite 55 - 4.3 Running a Motion Program

8.1 Axis Setting Commands8-418Command Reference(3) Setting Items for IAC CommandMotion Imagea) Interpolation acceleration timeSpecify a numerical val

Seite 56

8 Command Reference8.1.9 Interpolation Acceleration Time Change (IAC)8-42(5) Supplemental Information on IAC Command(a) Related Motion ParametersThe

Seite 57 - MPM number

xv9 Engineering Tool MPE7209.1 Motion Editor - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 9-29.1.

Seite 58 - 4.3.3 Work Registers

8.1 Axis Setting Commands8-438Command Reference8.1.10 Interpolation Deceleration Time Change (IDC)(1) OverviewThe Interpolation Deceleration Time Ch

Seite 59 - (a) Status Flag

8 Command Reference8.1.10 Interpolation Deceleration Time Change (IDC)8-44(2) Format(3) Setting Items for IDC CommandMotion Imagea) Interpolation de

Seite 60 - (b) Control Signal

8.1 Axis Setting Commands8-458Command Reference(4) Programming ExamplesAn IDC command programming example is shown below.Fig. 8.23 Interpolation Dec

Seite 61 - (d) System Work Number

8 Command Reference8.2.1 Positioning (MOV)8-468.2 Axis Move CommandsThis chapter described axis move commands.8.2.1 Positioning (MOV)(1) OverviewT

Seite 62

8.2 Axis Move Commands8-478Command Reference(3) Setting Items for MOV CommandMotion Imagea) Moving amountThe moving amount of each axis differs depen

Seite 63 - 4.4 Advanced Programming

8 Command Reference8.2.1 Positioning (MOV)8-48(a) No acceleration/decelerationMovement with both the acceleration time and deceleration time set to

Seite 64

8.2 Axis Move Commands8-498Command Reference(4) Programming ExamplesA programming example for a MOV command in ABS mode is shown below.Fig. 8.26 MOV

Seite 65

8 Command Reference8.2.2 Linear Interpolation (MVS)8-508.2.2 Linear Interpolation (MVS)(1) OverviewThe Linear Interpolation command (MVS) moves eac

Seite 66

8.2 Axis Move Commands8-518Command Reference(3) Setting Items for MVS CommandMotion Imagea) Composite moving amountThe composite moving amount differ

Seite 67

8 Command Reference8.2.2 Linear Interpolation (MVS)8-52b) Interpolation feed speed (F command or IFP)Specify a numerical value or register following

Seite 68 - Sequence Programs

xviAppendicesA Motion Language Commands - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A-2A.1 Axis Setting Commands

Seite 69 - 5.1 Sequence Program Types

8.2 Axis Move Commands8-538Command ReferenceThe interpolation override can be changed during axis movement.Fig. 8.28 Interpolation Override and Inte

Seite 70

8 Command Reference8.2.2 Linear Interpolation (MVS)8-54• Code a FMX command to specify the maximum feed speed for interpolation at the beginning of

Seite 71 - Register the program to run

8.2 Axis Move Commands8-558Command Reference8.2.3 Clockwise/Counterclockwise Circular Interpolation with Center Position Desig-nation (MCW, MCC)(1)

Seite 72 - 5.2.3 Work Register

8 Command Reference8.2.3 Clockwise/Counterclockwise Circular Interpolation with Center Position Designation (MCW, MCC)8-56(2) Format(3) Setting Ite

Seite 73 - Variables (Registers)

8.2 Axis Move Commands8-578Command Reference• In ABS ModeThe center position and end position are treated as absolute positions.• In INC ModeThe ce

Seite 74 - 6.1.1 Variable Types

8 Command Reference8.2.3 Clockwise/Counterclockwise Circular Interpolation with Center Position Designation (MCW, MCC)8-58Special care must be taken

Seite 75 - Use them as required

8.2 Axis Move Commands8-598Command Referencec) Interpolation feed speedFor circular interpolation (MCW, MCC), the specified interpolation feed speed

Seite 76 - Fig. 6.1 Global Variables

8 Command Reference8.2.3 Clockwise/Counterclockwise Circular Interpolation with Center Position Designation (MCW, MCC)8-60(4) Programming ExamplesA

Seite 77

8.2 Axis Move Commands8-618Command Reference8.2.4 Clockwise/Counterclockwise Circular Interpolation with Radius Designation (MCW, MCC)(1) OverviewTh

Seite 78

8 Command Reference8.2.4 Clockwise/Counterclockwise Circular Interpolation with Radius Designation (MCW, MCC)8-62(2) Format(3) Setting Items for MCW

Seite 79 - 6.2 Using Variables

1-11Overview1OverviewThis chapter introduces motion programs and describes their features for those who are unfamilier with them. 1.1 What is a Motion

Seite 80 - (2) Description

8.2 Axis Move Commands8-638Command Reference(4) Programming ExamplesProgramming examples of the circular interpolation command (MCW, MCC) in ABS mode

Seite 81

8 Command Reference8.2.4 Clockwise/Counterclockwise Circular Interpolation with Radius Designation (MCW, MCC)8-64TurningDirectionArc Angle Programmi

Seite 82

8.2 Axis Move Commands8-658Command Reference8.2.5 Clockwise/Counterclockwise Helical Interpolation with Center Position Desig-nation (MCW, MCC)(1) O

Seite 83

8 Command Reference8.2.5 Clockwise/Counterclockwise Helical Interpolation with Center Position Designation (MCW, MCC)8-66(2) Format(3) Setting Items

Seite 84

8.2 Axis Move Commands8-678Command Reference(4) Programming ExamplesA programming example of a clockwise helical interpolation command (MCC) in ABS m

Seite 85

8 Command Reference8.2.6 Clockwise/Counterclockwise Helical Interpolation with Radius Designation (MCW, MCC)8-688.2.6 Clockwise/Counterclockwise He

Seite 86

8.2 Axis Move Commands8-698Command Reference(3) Setting Items for MCW and MCC CommandsMotion ImageThe designation methods of the radius and end posit

Seite 87

8 Command Reference8.2.7 Zero Point Return (ZRN)8-708.2.7 Zero Point Return (ZRN) (1) OverviewThe Zero Point Return (ZRN) command executes the zero

Seite 88

8.2 Axis Move Commands8-718Command Reference(3) Setting Items for ZRN Command(a) Zero Point Return MethodsUse motion setting parameter OW3C (Zero p

Seite 89

8 Command Reference8.2.8 Linear Interpolation with Skip Function (SKP)8-728.2.8 Linear Interpolation with Skip Function (SKP)(1) OverviewThe Linear

Seite 90 - 7.1.2 Block Format

1 Overview 1-21.1 What is a Motion Program?The motion program is a program written in motion language, Yaskawa’s unique textual language.A motion p

Seite 91 - MVS 20.0 ;

8.2 Axis Move Commands8-738Command Reference(3) Programming ExamplesA programming example of a SKP command in ABS mode is shown below.Fig. 8.41 SKP

Seite 92 - (4) Coordinate Words

8 Command Reference8.2.9 Set Time Positioning (MVT)8-748.2.9 Set Time Positioning (MVT)(1) OverviewThe Set Time Positioning command (MVT) is an ext

Seite 93 - (5) Specific Characters

8.2 Axis Move Commands8-758Command ReferenceThe positioning time reference range is between 1 and 2147483647 (ms).Inside the MP2000 Machine Controlle

Seite 94 - Line Feed

8 Command Reference8.2.10 External Positioning (EXM)8-768.2.10 External Positioning (EXM)(1) OverviewThe External Positioning command (EXM) is an e

Seite 95 - (2) Variables

8.2 Axis Move Commands8-778Command Reference(3) Setting Items for EXM CommandMotion Imagea) Moving amount from when the external positioning signal i

Seite 96

8 Command Reference8.3.1 Current Position Set (POS)8-788.3 Axis Control CommandsThis section describes the axis control commands.8.3.1 Current Pos

Seite 97 - 7.2.2 Reference Unit

8.3 Axis Control Commands8-798Command ReferenceThe following table shows the setting status of the machine coordinate system and the work coordinate

Seite 98 - 7.2.3 Electronic Gear

8 Command Reference8.3.2 Move On Machine Coordinates (MVM)8-808.3.2 Move On Machine Coordinates (MVM)(1) OverviewThe Move ON Machine Coordinates (M

Seite 99 - 360°/rotation

8.3 Axis Control Commands8-818Command Reference8.3.3 Program Current Position Update (PLD)(1) OverviewThe Program Current Position Update command (P

Seite 100 - 7.2.4 Speed Reference

8 Command Reference8.3.4 In-Position Check (PFN)8-828.3.4 In-Position Check (PFN)(1) OverviewThe In-Position Check command (PFN) verifies whether t

Seite 101 - 7.3 Group Definition

1.2 Motion Program Features1-31Overview1.2 Motion Program Features1.2.1 Execution MethodA motion program employs an execution method that differs f

Seite 102 - 7 Programming

8.3 Axis Control Commands8-838Command Reference(3) Programming ExamplesPFN command programming examples are shown below.(a) When coding a PFN command

Seite 103 - Programming

8 Command Reference8.3.5 Set In-Position Range (INP)8-848.3.5 Set In-Position Range (INP)(1) OverviewThe Set In-Position Range command (INP) is use

Seite 104 - • Logical Operation Example

8.3 Axis Control Commands8-858Command Reference(3) Programming ExamplesAn INP command programming example is shown below.EXAMPLEABS;MOV [A1]0 [B1]0;

Seite 105 - 7.5.1 Command Types

8 Command Reference8.3.6 Coordinate Plane Setting (PLN)8-868.3.6 Coordinate Plane Setting (PLN)(1) OverviewThe Coordinate Plane Setting command (PL

Seite 106 - 7.5.2 List of Command Types

8.4 Program Control Commands8-878Command Reference8.4 Program Control CommandsThis section describes program control commands including branching co

Seite 107 - 7.6 Sequence Program Format

8 Command Reference8.4.1 Branching Commands (IF ELSE IEND)8-88The conditional expressions that can be used for the branching commands are as follows

Seite 108 - Command Reference

8.4 Program Control Commands8-898Command Reference8.4.2 Repeat (WHILE WEND)(1) OverviewThe Repeat commands (WHILE WEND) repeatedly execute the bloc

Seite 109 - 8 Command Reference

8 Command Reference8.4.2 Repeat (WHILE WEND)8-90The conditional expressions that can be used for repeat commands are as follows.(a) Bit Data Compari

Seite 110 - 8.1 Axis Setting Commands

8.4 Program Control Commands8-918Command Reference(3) Programming ExamplesA programming example of a repeat command (WHILE WEND) is shown below.With

Seite 111 - (3) Programming Example

8 Command Reference8.4.3 Parallel Execution (PFORK, JOINTO, PJOINT)8-928.4.3 Parallel Execution (PFORK, JOINTO, PJOINT)(1) OverviewThe Parallel Fo

Seite 112 - 20000-2000 1000

Copyright © 2008 YASKAWA ELECTRIC CORPORATIONAll rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or tra

Seite 113 - 8.1.1 Absolute Mode (ABS)

1 Overview1.2.3 Easy to Realize High-level Motion Control1-41.2.3 Easy to Realize High-level Motion ControlIn addition to basic motion control, mot

Seite 114 - (1) Overview

8.4 Program Control Commands8-938Command Reference(b) Parallel Execution Commands in SubprogramsThe following restrictions apply to the parallel exec

Seite 115

8 Command Reference8.4.3 Parallel Execution (PFORK, JOINTO, PJOINT)8-94(3) Programming ExamplesA programming example of parallel execution commands

Seite 116 - 20000-1000 1000

8.4 Program Control Commands8-958Command Reference8.4.4 Selective Execution (SFORK, JOINTO, SJOINT)(1) OverviewThe Selective Execution commands (SFO

Seite 117 - (POSMAX)

8 Command Reference8.4.4 Selective Execution (SFORK, JOINTO, SJOINT)8-96(2) FormatThe conditional expressions that can be used for selective executi

Seite 118

8.4 Program Control Commands8-978Command Reference(b) Integer/Double Integer/Real Number Data Comparison Format• All data comparison command

Seite 119

8 Command Reference8.4.4 Selective Execution (SFORK, JOINTO, SJOINT)8-98(3) Programming ExamplesA programming example of selective execution command

Seite 120 - 0 (reference unit/s

8.4 Program Control Commands8-998Command Reference8.4.5 Motion Subprogram Call (MSEE)(1) OverviewThe Motion Subprogram Call command (MSEE) can call

Seite 121 - (4) Programming Examples

8 Command Reference8.4.6 Sequence Subprogram Call (SSEE)8-1008.4.6 Sequence Subprogram Call (SSEE)(1) OverviewThe Sequence Subprogram Call command

Seite 122

8.4 Program Control Commands8-1018Command Reference8.4.7 User Function Call From Motion Program (UFC)(1) OverviewThe User Function Call From Motion

Seite 123

8 Command Reference8.4.7 User Function Call From Motion Program (UFC)8-102(3) Programming ExamplesA UFC command programming example is shown below.F

Seite 124

1.2 Motion Program Features1-51Overview1.2.6 Data Transfer from/to Ladder ProgramData can be transferred between a ladder program and motion program

Seite 125

8.4 Program Control Commands8-1038Command Reference(6) Relationship between I/O Registers and Internal Function RegistersThe correspondence between t

Seite 126

8 Command Reference8.4.7 User Function Call From Motion Program (UFC)8-104The following 11 types of register can be used in each function.Note: SA,

Seite 127

8.4 Program Control Commands8-1058Command ReferenceAn example of the transfer of I/O registers is shown below.Fig. 8.62 Motion Program CodingUFC TE

Seite 128

8 Command Reference8.4.7 User Function Call From Motion Program (UFC)8-106(7) Creating User FunctionsThe procedure for creating the user function of

Seite 129

8.4 Program Control Commands8-1078Command Reference3. A blank ladder program field will appear in the Ladder subwindow. Right-click FUNC-T1 to select

Seite 130

8 Command Reference8.4.7 User Function Call From Motion Program (UFC)8-1085. Close the DWG Configuration Definition window, and edit the user functi

Seite 131 - Time (t)

8.4 Program Control Commands8-1098Command Reference8.4.8 User Function Call from Sequence Program (FUNC)(1) OverviewThe User Function Call from Sequ

Seite 132

8 Command Reference8.4.9 Program End (END)8-1108.4.9 Program End (END)(1) OverviewThe Program End command (END) ends program operation.No other com

Seite 133 - (a) Related Motion Parameters

8.4 Program Control Commands8-1118Command Reference8.4.10 Subprogram End (RET)(1) OverviewThe Subprogram End command (RET) ends subprogram operation

Seite 134

8 Command Reference8.4.11 Dwell Time (TIM)8-1128.4.11 Dwell Time (TIM)(1) OverviewThe Dwell Time command (TIM) causes execution to pause for a spec

Seite 135 - (c) Filter Type Selection

1 Overview1.2.8 Parallel Program Execution1-61.2.8 Parallel Program ExecutionWith a single MP2000-series Machine Controller, up to 16 tasks can be

Seite 136 - 8.1.6 Set Velocity (VEL)

8.4 Program Control Commands8-1138Command Reference8.4.12 I/O Variable Wait (IOW)(1) OverviewThe I/O Variable Wait command (IOW) causes execution to

Seite 137

8 Command Reference8.4.12 I/O Variable Wait (IOW)8-114(b) Integer/Double Integer/Real Number Data Comparison (3) Programming ExamplesAn IOW command

Seite 138

8.4 Program Control Commands8-1158Command Reference8.4.13 One Scan Wait (EOX)(1) OverviewThe One Scan Wait command (EOX) causes program execution to

Seite 139 - (b) Override

8 Command Reference8.4.14 Single-block Signal Disabled (SNGD)/Single-block Signal Enabled (SNGE)8-1168.4.14 Single-block Signal Disabled (SNGD)/Sin

Seite 140

8.5 Arithmetic Operations8-1178Command Reference8.5 Arithmetic OperationsThis section explains the arithmetic operation commands.For priority levels

Seite 141

8 Command Reference8.5.2 Add (+)8-1188.5.2 Add (+) (1) OverviewADD (+) performs integer and real number addition on the right side and stores the

Seite 142

8.5 Arithmetic Operations8-1198Command Reference8.5.3 Subtract (-)(1) OverviewSubtract (-) performs integer and real number subtraction on the right

Seite 143

8 Command Reference8.5.4 Multiply (*)8-1208.5.4 Multiply (*)(1) OverviewMultiply (*) performs integer and real number multiplication on the right s

Seite 144

8.5 Arithmetic Operations8-1218Command Reference8.5.5 Divide (/)(1) OverviewDivide (/) performs integer and real number division on the right side a

Seite 145

8 Command Reference8.5.6 Remainder (MOD)8-1228.5.6 Remainder (MOD) (1) OverviewWhen specified in the next block after Divide, MOD stores the remain

Seite 146 - (reference units/min)

1.2 Motion Program Features1-71Overview1.2.10 Enriched Easy Programming Functions (MPE720 Ver.6.04 or later)The engineering tool MPE720 Ver.6 for MP

Seite 147

8.6 Logic Operation8-1238Command Reference8.6 Logic OperationThis section explains the commands used to perform bit and integer logic operations.Alt

Seite 148

8 Command Reference8.6.1 OR (|)8-124(3) Programming ExamplesLogical OR(|) command programming examples are shown below.TypeMotion Programs/Sequence

Seite 149

8.6 Logic Operation8-1258Command Reference8.6.2 AND (&)(1) OverviewAND (&) performs a logical AND for the immediately preceding operation re

Seite 150

8 Command Reference8.6.3 XOR (^)8-1268.6.3 XOR (^)(1) OverviewXOR (^) performs an exclusive logical OR for the immediately preceding operation resu

Seite 151

8.6 Logic Operation8-1278Command Reference8.6.4 NOT (!)(1) OverviewNOT inverts the data in the specified register and returns the operation result.

Seite 152

8 Command Reference8.7.1 Data Comparison Commands (==, <>, >, <, >=, <=)8-1288.7 Data ComparisonsThis section explains the data c

Seite 153 - 8.2 Axis Move Commands

8.7 Data Comparisons8-1298Command ReferenceThe conditional expressions that can be used with data comparison commands are as shown below.(a) Bit Data

Seite 154

8 Command Reference8.8.1 Bit Right Shift (SFR)8-1308.8 Data OperationsThis section describes the data operation commands that are used to shift, tr

Seite 155 - 8.2.1 Positioning (MOV)

8.8 Data Operations8-1318Command Reference8.8.2 Bit Left Shift (SFL)(1) OverviewThe SFL command shifts a bit string designated by the leading bit nu

Seite 156

8 Command Reference8.8.3 Block Move (BLK)8-1328.8.3 Block Move (BLK)(1) OverviewThe BLK command moves the specified number of words from the beginn

Seite 157 - Usable Data

1 Overview1-81.3 Motion Program Execution SequenceThe motion programs created on the MPE720 Motion Editor window are transferred to the MP2000-serie

Seite 158

8.8 Data Operations8-1338Command Reference8.8.4 Clear (CLR)(1) OverviewThe CLR command clears the specified number of blocks from the leading data c

Seite 159

8 Command Reference8.8.5 ASCII Conversion 1 (ASCII)8-1348.8.5 ASCII Conversion 1 (ASCII)(1) OverviewThe ASCII command converts the character string

Seite 160

8.8 Data Operations8-1358Command Reference(3) Programming ExamplesASCII command programming examples are shown below.(a) Storing the character string

Seite 161

8 Command Reference8.9.1 Sine (SIN)8-1368.9 Basic FunctionsThis section describes the basic function commands, including trigonometric functions, s

Seite 162

8.9 Basic Functions8-1378Command Reference(3) Programming ExamplesSIN command programming examples are shown below.EXAMPLETypeMotion Programs/Sequenc

Seite 163 - (2) Format

8 Command Reference8.9.2 Cosine (COS)8-1388.9.2 Cosine (COS)(1) OverviewThe cosine command (COS) returns the cosine of integer or real number data

Seite 164 - • In INC Mode

8.9 Basic Functions8-1398Command Reference8.9.3 Tangent (TAN)(1) OverviewThe TAN command uses the specified variable or constant (unit = degrees) as

Seite 165 - IMPORTANT

8 Command Reference8.9.4 Arc Sine (ASN)8-1408.9.4 Arc Sine (ASN)(1) OverviewThe ASN command uses the specified variable or constant as input and re

Seite 166

8.9 Basic Functions8-1418Command Reference8.9.5 Arc Cosine (ACS)(1) OverviewThe ACS command uses the specified variable or constant as input and ret

Seite 167

8 Command Reference8.9.6 Arc Tangent (ATN)8-1428.9.6 Arc Tangent (ATN)(1) OverviewThe ATN command returns the arc tangent of integer or real number

Seite 168 - (MCW, MCC)

1.4 Motion Program Execution Registration1-91Overview1.4 Motion Program Execution RegistrationExecution of motion programs can be registered in two

Seite 169

8.9 Basic Functions8-1438Command Reference8.9.7 Square Root (SQT)(1) OverviewThe SQT command returns the square root of an integer or real number as

Seite 170

8 Command Reference8.9.7 Square Root (SQT)8-144(3) Programming ExamplesSQT command programming examples are shown below.TypeMotion Programs/Sequence

Seite 171 - ° or more

8.9 Basic Functions8-1458Command Reference8.9.8 BCD to Binary (BIN)(1) OverviewThe BCD to Binary (BIN) command converts BCD data to binary data.Only

Seite 172

8 Command Reference8.9.9 Binary to BCD (BCD)8-1468.9.9 Binary to BCD (BCD)(1) OverviewThe Binary to BCD (BCD) command converts binary data to BCD d

Seite 173

8.9 Basic Functions8-1478Command Reference8.9.10 Set Bit (S{ })(1) OverviewThis command turns ON the specified bit if the logical operation result i

Seite 174

8 Command Reference8.9.11 Reset Bit (R{ })8-1488.9.11 Reset Bit (R{ })(1) OverviewThis command turns OFF the specified bit if the logical operation

Seite 175

8.9 Basic Functions8-1498Command Reference8.9.12 Rising Pulse (PON)(1) OverviewThe PON command is ON during one scan of bit output when the bit inpu

Seite 176

8 Command Reference8.9.12 Rising Pulse (PON)8-150(3) Programming ExamplesThe PON command programming examples are shown below.(a) Outputting to a Co

Seite 177

8.9 Basic Functions8-1518Command Reference8.9.13 Falling Pulse (NON)(1) OverviewFalling Pulse (NON) is ON during one scan of bit output when the bit

Seite 178

8 Command Reference8.9.13 Falling Pulse (NON)8-152(3) Programming ExamplesNON command programming examples are shown below.(a) Outputting to a Coil•

Seite 179

1 Overview1-101.5 Motion Program Execution TimingMotion programs are executed in full synchronization with MP2000 high-speed scans. In every high-sp

Seite 180 - (3) Programming Examples

8.9 Basic Functions8-1538Command Reference(b) Using a NON Command Combined with an IF Command• Ladder equivalent circuit• Timing chartIF NON(DB0000

Seite 181

8 Command Reference8.9.14 ON-Delay Timer (TON): Counting unit: 0.01 second8-1548.9.14 ON-Delay Timer (TON): Counting unit: 0.01 second(1) OverviewT

Seite 182

8.9 Basic Functions8-1558Command Reference(3) Programming ExamplesTON command programming examples are shown below.• Ladder equivalent circuit• Tim

Seite 183

8 Command Reference8.9.15 OFF-Delay Timer (TOF):Counting unit: 0.01 second8-1568.9.15 OFF-Delay Timer (TOF):Counting unit: 0.01 second(1) OverviewT

Seite 184

8.9 Basic Functions8-1578Command Reference(3) Programming ExamplesTOF command programming examples are shown below.• Ladder equivalent circuit• Tim

Seite 185 - 8.3 Axis Control Commands

8 Command Reference8.10.1 C-Language Task Control (CTSK)8-1588.10 C-Language Control Commands8.10.1 C-Language Task Control (CTSK)(1) OverviewThe

Seite 186

8.10 C-Language Control Commands8-1598Command Reference* The μITRON detection errors will not occur normally because the system manages them.Note: 1

Seite 187 - Program current position

8 Command Reference8.10.2 C-Language Function Call (CFUNC)8-1608.10.2 C-Language Function Call (CFUNC)(1) OverviewThe C-Language Function Call comm

Seite 188

8.10 C-Language Control Commands8-1618Command Reference(2) Format(3) Programming ExamplesThe CFUNC command programming example is shown below.CFUNC E

Seite 189

9-19Engineering Tool MPE7209Engineering Tool MPE720This chapter describes the engineering tool MP720, for creating and editing motion programs and seq

Seite 190

1.6 Grouping1-111Overview1.6 GroupingThe axes involved in related operations are organized into individual groups. Motion programs can be created fo

Seite 191 -  Directly designated value

9 Engineering Tool MPE7209.1.1 Overview9-29.1 Motion EditorThis section describes the Motion Editor.9.1.1 OverviewThe Motion Editor is a programmi

Seite 192

9.1 Motion Editor9-39Engineering Tool MPE720There are two ways to start the Motion Editor:• Double-click the program in the Motion subwindow.• Clic

Seite 193 - Logical axis

9 Engineering Tool MPE7209.1.2 Names and Descriptions of Motion Editor Window Components9-49.1.2 Names and Descriptions of Motion Editor Window Com

Seite 194 - 8.4 Program Control Commands

9.1 Motion Editor9-59Engineering Tool MPE720e) Tool iconsThe following table shows the icons used to edit programs.f) Monitor tab and status barUsed

Seite 195

9 Engineering Tool MPE7209.2.1 Overview9-69.2 Command Input Assistant FunctionThis section describes the motion command input assistant function.9.

Seite 196 - 8.4.2 Repeat (WHILE WEND)

9.2 Command Input Assistant Function9-79Engineering Tool MPE720• Select Motion command assist from the pop-up menu when you right-click the Motion E

Seite 197 - => Syntax error

9 Engineering Tool MPE7209.2.2 Motion Command Assist Dialog Box Details9-89.2.2 Motion Command Assist Dialog Box Detailsa) Select command (Command

Seite 198 - Circle 1

9.2 Command Input Assistant Function9-99Engineering Tool MPE720c) Axis number (Number of axes to be controlled)For axis move commands, the number of

Seite 199

9 Engineering Tool MPE7209.2.2 Motion Command Assist Dialog Box Details9-10e) Comment check box and Comment input fieldSelecting the Comment check b

Seite 200

9.2 Command Input Assistant Function9-119Engineering Tool MPE720i) Help buttonClick the Help button to display a description of the selected command.

Seite 201

1 Overview1.7.1 Example 1: Handling System1-121.7 Application ExamplesMotion programs can be used for operations of various systems.Some applicatio

Seite 202

9 Engineering Tool MPE7209.3.1 Overview9-129.3 Program Execution Registration FunctionThis section describes the program execution registration fun

Seite 203

9.3 Program Execution Registration Function9-139Engineering Tool MPE7209.3.2 Program Execution Registry Screen Dialog Box Detailsa) Program executio

Seite 204 -

9 Engineering Tool MPE7209.3.2 Program Execution Registry Screen Dialog Box Details9-14e) Register allocationAllocate the registers. The allocated r

Seite 205

9.4 Debug Function9-159Engineering Tool MPE7209.4 Debug FunctionThis section describes the debug function.9.4.1 OverviewThe debug function debugs m

Seite 206

9 Engineering Tool MPE7209.4.2 Motion Editor Window during Debugging9-169.4.2 Motion Editor Window during Debugginga) Executing program lineThe exe

Seite 207

9.4 Debug Function9-179Engineering Tool MPE720• Debug mode Click this icon to switch the operation mode to the debug mode and start debugging from t

Seite 208

9 Engineering Tool MPE7209.4.2 Motion Editor Window during Debugging9-18• Set/Delete break point Click this icon to set a break point. A maximum of

Seite 209

9.4 Debug Function9-199Engineering Tool MPE720• Execute Click this icon to continuously execute program lines. When the break point is reached, the

Seite 210 - Input Output

9 Engineering Tool MPE7209.4.2 Motion Editor Window during Debugging9-20• Setting the execute task (Only for subprograms)Set the subprogram infor

Seite 211

9.4 Debug Function9-219Engineering Tool MPE720• Set/Delete BreakpointEnables or disables the break point.• Add RegisterThe register displayed on th

Seite 212

1.7 Application Examples1-131Overview1.7.3 Example 3: Panel Processing Machine1.7.4 Example 4: Metal Sheet Bending EquipmentOutline• To draw wavefo

Seite 213 - (7) Creating User Functions

9 Engineering Tool MPE7209.5.1 Overview9-229.5 Motion Task ManagerThis section describes the Motion Task Manager.9.5.1 OverviewThe Motion Task Man

Seite 214

9.5 Motion Task Manager9-239Engineering Tool MPE7209.5.2 Motion Task Manager Window Detailsa) Task execution status is displayed in a tree structure

Seite 215

9 Engineering Tool MPE7209.6.1 Overview9-249.6 Drive Control PanelThis section describes the Drive Control Panel.9.6.1 OverviewTo execute the crea

Seite 216

9.6 Drive Control Panel9-259Engineering Tool MPE720Click the icon in the Motion Editor window to start the Drive control panel.

Seite 217 - 8.4.9 Program End (END)

9 Engineering Tool MPE7209.6.2 Drive Control Panel Details9-269.6.2 Drive Control Panel Detailsa) Program exec registry No.The program execution re

Seite 218 - 8.4.10 Subprogram End (RET)

9.6 Drive Control Panel9-279Engineering Tool MPE720h) Display buttonClick the Display button to open the Error information screen window. Refer to 10

Seite 219 - 8.4.11 Dwell Time (TIM)

9 Engineering Tool MPE7209.7.1 Overview9-289.7 Test Run FunctionThis section describes the Test Run function.9.7.1 OverviewThe Test Run function i

Seite 220

9.7 Test Run Function9-299Engineering Tool MPE7209.7.2 Test Run Window Detailsa) AxisSelect the axis for the test run.b) Servo Enable, AlarmThe serv

Seite 221 - MB001002

9 Engineering Tool MPE7209.7.2 Test Run Window Details9-30d) Speed referenceSet the speed reference value. Special care must be taken for this opera

Seite 222 - 8.4.13 One Scan Wait (EOX)

9.8 Axis Status and Alarm Monitor9-319Engineering Tool MPE7209.8 Axis Status and Alarm MonitorThis section describes the axis operation monitor and

Seite 223

iiiAbout This Manual This manual provides information on motion commands for the MP2000 series Machine Control-lers.• Motion program overview• Spec

Seite 224 - 8.5.1 Substitute (=)

1 Overview1-141.8 What is a Sequence Program?The sequence program is a scan execution type program written in the language commonly used for the mot

Seite 225 - 8.5.2 Add (+)

9 Engineering Tool MPE7209.8.1 Overview9-32Double-click Axis monitor or Alarm monitor in the System subwindow to start the axis monitor or alarm mon

Seite 226 - 8.5.3 Subtract (-)

9.8 Axis Status and Alarm Monitor9-339Engineering Tool MPE7209.8.2 Monitor Window Details(1) Axis Monitora) CircuitSelect the circuit whose motion m

Seite 227 - 8.5.4 Multiply (*)

9 Engineering Tool MPE7209.8.2 Monitor Window Details9-34g) Motion monitoring parameter selection A maximum of eight motion monitoring parameters ca

Seite 228 - 8.5.5 Divide (/)

9.8 Axis Status and Alarm Monitor9-359Engineering Tool MPE720(2) Alarm Monitora) Manually refreshClick this icon to refresh the alarm and warning inf

Seite 229 - 8.5.6 Remainder (MOD)

10-110Troubleshooting10TroubleshootingThis chapter describes the causes of errors in motion programs and sequence programs, and suggests corrective ac

Seite 230 - 8.6.1 OR (

10 Troubleshooting10.1.1 Basic Flow of Troubleshooting10-210.1 TroubleshootingThis section describes troubleshooting methods, and provides a list o

Seite 231

10.2 Troubleshooting for Motion Programs10-310Troubleshooting10.2 Troubleshooting for Motion Programs10.2.1 Error Investigation FlowIf the cause of

Seite 232 - 8.6.2 AND (&)

10 Troubleshooting10.2.2 Problem Starting a Motion Program10-410.2.2 Problem Starting a Motion ProgramIf a problem exists when starting a motion pr

Seite 233 - 8.6.3 XOR (^)

10.2 Troubleshooting for Motion Programs10-510Troubleshooting(2) Program Start Request Bit of Control Signal and Program Running Status Bit of Sta-tu

Seite 234 - 8.6.4 NOT (!)

10 Troubleshooting10.2.2 Problem Starting a Motion Program10-6(3) Program Alarm Bit of Status FlagIf status flag bit 8 (Program alarm) is ON, the mo

Seite 235 - 8.7 Data Comparisons

1.9 Sequence Program Features1-151Overview1.9 Sequence Program Features1.9.1 Execution MethodA sequence program employs the same execution method a

Seite 236 - => Syntax error

10.2 Troubleshooting for Motion Programs10-710Troubleshooting(4) "No System Work" Error/Execution Scan Error Bit of Status FlagIf running s

Seite 237 - 8.8 Data Operations

10 Troubleshooting10.2.2 Problem Starting a Motion Program10-8(5) Main Program Number Over the Range Status Flag BitWhen status flag bit F (Main pro

Seite 238 - 8.8.2 Bit Left Shift (SFL)

10.2 Troubleshooting for Motion Programs10-910Troubleshooting10.2.3 Confirming the Alarm CodeWhen an alarm occurs in motion programs (status flag bi

Seite 239 - 8.8.3 Block Move (BLK)

10 Troubleshooting10.2.3 Confirming the Alarm Code10-10The components of the Error information screen window are described below.a) Registry numberW

Seite 240 - 8.8.4 Clear (CLR)

10.2 Troubleshooting for Motion Programs10-1110Troubleshootingg) Block numberThe block number where an error occurs is displayed.Double-click the blo

Seite 241

10 Troubleshooting10.2.3 Confirming the Alarm Code10-12• System Work Number 1 to 8System Work NumberSystem Work 1System Work 2System Work 3System W

Seite 242

10.2 Troubleshooting for Motion Programs10-1310Troubleshooting• System Word Number 9 to 16Logical axis #13Program Current PositionSL03314 SL03372 SL

Seite 243 - Equivalent

10 Troubleshooting10.2.3 Confirming the Alarm Code10-14Logical axis #8Program Current PositionSL03768 SL03826 SL03884 SL03942 SL04000 SL04058 SL0411

Seite 244

10.2 Troubleshooting for Motion Programs10-1510Troubleshooting10.2.4 Motion Program Alarm Codes(1) Configuration of Motion Program AlarmsThe followi

Seite 245

10 Troubleshooting10.2.4 Motion Program Alarm Codes10-161Fh Address P out of rangeDesignation exceeded the valid range in the IFP command. Review th

Seite 246 - (1.0) (45.0)

1 Overview1.9.4 Memory Usage Reduced by Use of Subprograms1-161.9.4 Memory Usage Reduced by Use of SubprogramsSubroutines (subprograms) can be crea

Seite 247 - (30.0) (0.5)

10.3 Troubleshooting for Sequence Programs10-1710Troubleshooting10.3 Troubleshooting for Sequence Programs10.3.1 Error Investigation FlowIf the cau

Seite 248 - (60.0) (0.5)

10 Troubleshooting10.3.2 Problem Starting a Sequence Program10-1810.3.2 Problem Starting a Sequence ProgramWhen a problem exists when starting a se

Seite 249

A-1AppAppendicesA Motion Language Commands - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A-2A.1 Axis Setting Commands - - - -

Seite 250 - 8.9.7 Square Root (SQT)

Appendices A.1 Axis Setting CommandsA-2A Motion Language CommandsMotion language commands are listed below. Refer to Chapter 8 Command Reference fo

Seite 251

AppA Motion Language CommandsA-3A.2 Axis Move CommandsCom-mandName Programming Format DescriptionMotion ProgramsSequence ProgramsMOV PositioningMOV

Seite 252 - 8.9.8 BCD to Binary (BIN)

Appendices A.2 Axis Move CommandsA-4ZRNZero Point ReturnZRN [Logical axis name1]0[Logical axis name 2]0 [Logical axis name 3] ;Returns each axis to

Seite 253 - 8.9.9 Binary to BCD (BCD)

AppA Motion Language CommandsA-5A.3 Control CommandsCom-mandName Programming Format DescriptionMotion ProgramsSequence ProgramsPOSCurrentPosition Se

Seite 254 - 8.9.10 Set Bit (S{ })

Appendices A.4 Program Control CommandsA-6A.4 Program Control CommandsCom-mandName Programming Format DescriptionMotion ProgramsSequence ProgramsIF

Seite 255 - 8.9.11 Reset Bit (R{ })

AppA Motion Language CommandsA-7TIM Dwell Time TIM T−Waits for the period of time specified by T, and then proceeds to the next block. −IOW I/O Wai

Seite 256 - 8.9.12 Rising Pulse (PON)

Appendices A.5 Arithmetic OperationsA-8A.5 Arithmetic OperationsA.6 Logical OperationsCom-mandName Programming Format DescriptionMotion ProgramsSe

Seite 257

2-12Specifications2SpecificationsThis chapter describes the relevant specifications of motion program and engineering tool MPE720.2.1 MP2000 Series Ma

Seite 258 - 8.9.13 Falling Pulse (NON)

AppA Motion Language CommandsA-9A.7 Data ComparisonA.8 Data OperationsCom-mandName Programming Format DescriptionMotion ProgramsSequence Programs==

Seite 259

Appendices A.9 Basic FunctionsA-10A.9 Basic FunctionsCom-mandName Programming Format DescriptionMotion ProgramsSequence ProgramsSIN SineSIN (MW − )

Seite 260 - • Timing chart

AppA Motion Language CommandsA-11A.10 C-Language Control CommandsCom-mandName Programming Format DescriptionMotion ProgramsSequence ProgramsCTSKC-La

Seite 261

Appendices A-12B Sample ProgramsThe following table shows the sample programs.Sample Programs DescriptionReference SectionPrograms to control motion

Seite 262

AppB Sample ProgramsA-13B.1 Programs for Controlling Motion Program ExecutionSample ladder and sequence programs to control execution of motion prog

Seite 263

Appendices B.1 Programs for Controlling Motion Program ExecutionA-14(2) Sequence ProgramNo MSEE command can be embedded in sequence programs.In this

Seite 264

AppB Sample ProgramsA-15B.2 Parallel ProcessingA sample motion program for parallel execution accomplished by using a PFORK command is shown below.T

Seite 265

Appendices B.3 Motion Program for Speed ControlA-16B.3 Motion Program for Speed ControlA sample motion program for speed control is shown below.For

Seite 266

AppB Sample ProgramsA-17B.4 Simple Synchronized Operation Using a Virtual AxisWith this sample program, a motion program is used to move an SVR (vir

Seite 267

Appendices B.4 Simple Synchronized Operation Using a Virtual AxisA-18

Seite 268

2 Specifications2.1.1 Applicable Machine Controller Models2-22.1 MP2000 Series Machine Controller Specifications2.1.1 Applicable Machine Controlle

Seite 269 - Engineering Tool MPE720

AppB Sample ProgramsA-19B.5 Sequence ProgramsIn this sample program, sequence programs are used for JOG and STEP operation of servomotor with single

Seite 270 - 9.1.1 Overview

Appendices B.5 Sequence ProgramsA-20Sequence subprogram (SPS003)"SPS003: JOG & STEP operation process" "-------------------------

Seite 271

AppC Differences between MP900 Series and MP2000 Series Machine ControllersA-21C Differences between MP900 Series and MP2000 SeriesMachine Controlle

Seite 272

Appendices C.3 Motion Programming CommandsA-22C.3 Motion Programming CommandsC.4 Group DefinitionsItem MP900 Series MP2000 Series RemarksACC, DCC•

Seite 273 - Used to monitor programs

AppC Differences between MP900 Series and MP2000 Series Machine ControllersA-23C.5 Debug FunctionC.6 Motion Program AlarmsItem MP900 Series MP2000

Seite 274 - 9.2.1 Overview

Appendices D.1 General PrecautionsA-24D PrecautionsD.1 General Precautions(1) Saving the Changes in Programs to the Flash MemoryAfter changing an

Seite 275

AppD PrecautionsA-25With a motion program, an ABS or INC command is used to set the absolute mode or incremental mode:Code an ABS command to set the

Seite 276 - MOV: Positioning

Appendices D.2 Precautions on Motion Parameter SettingsA-26(3) Do not access a motion register of a different circuit by using a subscriptAs with th

Seite 277

AppD PrecautionsA-27(4) Do not change the motion setting parameter OL1C “Position reference setting” while axis motion is in progress in a motion p

Seite 278

IndexIndex-1IndexSymbols! - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2-6, 8-127# register- - - - - - - - - - - -

Seite 279

2.1 MP2000 Series Machine Controller Specifications2-32Specifications2.1.3 List of Machine Controller SpecificationsMP2100,MP2100MMP2300 MP2300S MP2

Seite 280 - 9.3.1 Overview

IndexIndex-2Command Input Assistant function- - - - - - - - - - - - - - - - - - 1-7, 1-16command input assistant function- - - - - - - - - - - - - - -

Seite 281

IndexIndex-3integer - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 6-3internal function register - - - - - - - - -

Seite 282

IndexIndex-4MPE720 Ver.5- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2-5MPE720 Ver.6- - - - - - - - - - - - - - - - - - - -

Seite 283 - 9.4.1 Overview

IndexIndex-5remainder (MOD) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 8-122Repeat (WHILE WEND)- - - - - - - - - - - - - - - - - -

Seite 284

IndexIndex-6TIM- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2-6, 8-112TOF- - - - - - - - - - - - - - - - - - - - - - -

Seite 285 - • Shift start point

Revision HistoryThe revision dates and numbers of the revised manuals are given on the bottom of the back cover.Date of PublicationRev. No.WEB Rev. No

Seite 286 - • Step over

IRUMA BUSINESS CENTER (SOLUTION CENTER)480, Kamifujisawa, Iruma, Saitama 358-8555, JapanPhone 81-4-2962-5151 Fax 81-4-2962-6138http://www.yaskawa.

Seite 287

2 Specifications2.1.3 List of Machine Controller Specifications2-4Sequence ProgramApplicable N/A Applicable N/AApplica-bleN/AApplica-ble−Number ofPr

Seite 288 - MPS003 (Nest 2)

2.2 Engineering Tool MPE720 Specifications2-52Specifications2.2 Engineering Tool MPE720 Specifications2.2.1 Applicable Version Numbers of the Engin

Seite 289 - • Add Register

2 Specifications2-62.3 List of Motion Language CommandsType Command Name Type Commands NameAxis Set CommandsABS Absolute ModeArithmetic Operation= S

Seite 290 - 9.5.1 Overview

3-13Program Development Flow3Program Development FlowThis chapter describes the procedures from system setup to operation start using the program-ming

Seite 291

ivRelated Manuals The following table lists the related manuals. Refer to these manuals as required. Before using, be sure you understand the pr

Seite 292 - 9.6.1 Overview

3 Program Development Flow 3-23.1 Program Development FlowIn this chapter, motion program development procedures are described according to the fol

Seite 293

3.2 Program Development Procedure3-33Program Development Flow3.2 Program Development Procedure3.2.1 Hardware ConfigurationThe program development p

Seite 294

3 Program Development Flow3.2.5 Creating Project Files3-43.2.5 Creating Project Files1. Double-click the MPE720 Ver.6 icon on the computer desktop

Seite 295

3.2 Program Development Procedure3-53Program Development Flow3.2.6 Group DefinitionsBefore creating a motion program, organize the axes into individ

Seite 296 - 9.7.1 Overview

3 Program Development Flow3.2.7 Creating a Motion Program3-63.2.7 Creating a Motion ProgramStart the Motion Editor to create a motion program.1. Pr

Seite 297

3.2 Program Development Procedure3-73Program Development Flow3.2.8 Registering the Program ExecutionCall the created motion program from the H drawi

Seite 298

3 Program Development Flow3.2.8 Registering the Program Execution3-84. Create the ladder program shown below. After the ladder program has been crea

Seite 299 - 9.8.1 Overview

3.2 Program Development Procedure3-93Program Development FlowThe motion programs can be registered to run by registering the programs in the M-EXECUT

Seite 300

3 Program Development Flow3.2.9 Transferring the Motion Program3-103.2.9 Transferring the Motion ProgramTransfer the motion program to the MP2000-s

Seite 301 - 9.8.2 Monitor Window Details

3.2 Program Development Procedure3-113Program Development Flow4. Click the Individual button, and then select the Program check box. Click the Start

Seite 302

vVisual AidsThe following aids are used to indicate certain types of information for easier reference.Indicates important information that should be m

Seite 303 - (2) Alarm Monitor

3 Program Development Flow3.2.10 Debugging the Program3-123.2.10 Debugging the ProgramDebug the created program. For details on debugging, refer to

Seite 304 - Troubleshooting

3.2 Program Development Procedure3-133Program Development Flow3.2.11 Saving the Programs in Flash MemorySave the data in the MP2000-series Machine C

Seite 305 - 10.1 Troubleshooting

3 Program Development Flow3.2.12 Executing the Programs3-143.2.12 Executing the ProgramsExecute the created programs to operate the actual machine.

Seite 306 - Motion Program

4-14Motion Programs4Motion ProgramsThis chapter describes motion program types and how to run them.4.1 Types of Motion Programs - - - - - - - - - - -

Seite 307 - MSEE command is embedded

4 Motion Programs 4-24.1 Types of Motion ProgramsThere are two motion program types, as listed below. The program numbers of motion programs are m

Seite 308

4.3 Running a Motion Program4-34Motion Programs4.3 Running a Motion Program4.3.1 How to Run a Motion ProgramTo run the created motion programs, the

Seite 309

4 Motion Programs4.3.1 How to Run a Motion Program4-4(2) Registering it to the M-EXECUTOR Program Execution DefinitionAfter creating a motion progra

Seite 310

4.3 Running a Motion Program4-54Motion Programs4.3.2 Registering the Program ExecutionPrograms can be registered in the two following ways.The follo

Seite 311

4 Motion Programs4.3.3 Work Registers4-64.3.3 Work RegistersWhen registering motion programs as described in 4.3.2 Registering the Program Executio

Seite 312

4.3 Running a Motion Program4-74Motion Programs(a) Status FlagBit No Status Description0 to 3Bit 0 Program runningThis bit is ON while the motion pro

Seite 313

viSafety PrecautionsThis section describes important precautions that apply to motion programming. Before programming, always read this manual and

Seite 314 - (2) Using S Register

4 Motion Programs4.3.3 Work Registers4-8(b) Control Signal: Signals with this indication must be kept ON until they are accepted by the system.: Sig

Seite 315 - • System Work Number 1 to 8

4.3 Running a Motion Program4-94Motion Programs(c) Interpolation OverrideSet the override value for execution of an interpolation command MVS, MCW, M

Seite 316 - • System Word Number 9 to 16

4 Motion Programs4.3.3 Work Registers4-10• Timing Chart for Motion Program Control SignalsThe following figure shows an example of a timing chart f

Seite 317

4.4 Advanced Programming4-114Motion Programs4.4 Advanced Programming4.4.1 Indirect Designation of a Program Number Using a RegisterThis method call

Seite 318

4 Motion Programs4.4.2 Controlling the Motion Program Directly from an External Device4-124.4.2 Controlling the Motion Program Directly from an Ext

Seite 319

4.4 Advanced Programming4-134Motion Programs4.4.3 Monitor the Motion Program Execution Information Using S RegisterUsing S register (SW03200 to SW04

Seite 320 - Sequence Program

4 Motion Programs4.4.3 Monitor the Motion Program Execution Information Using S Register4-14(a) Register Areas for Motion Program Execution Informat

Seite 321 - M-EXECUTOR

4.4 Advanced Programming4-154Motion Programs(b) Details of Program Information Used by Work nFor a list of S registers, refer (2) Using S Register in

Seite 322

5-15Sequence Programs5Sequence ProgramsThis chapter describes sequence program types and how to run them.5.1 Sequence Program Types - - - - - - - - -

Seite 323 - A.1 Axis Setting Commands

5 Sequence Programs 5-25.1 Sequence Program TypesSequence programs are of the following two types. The program numbers of sequence programs are ma

Seite 324 - A.2 Axis Move Commands

vii General Precautions• If the following coordinate commands are designated incorrectly, the subsequent move operations will be entirely different

Seite 325

5.2 How to Run a Sequence Program5-35Sequence Programs5.2 How to Run a Sequence Program5.2.1 How to Run a Sequence ProgramA sequence program is exe

Seite 326 - A.3 Control Commands

5 Sequence Programs5.2.2 Registering Program Execution5-4(2) Execution TimingThe following diagram illustrates program execution timing.As shown in

Seite 327 - A.4 Program Control Commands

5.2 How to Run a Sequence Program5-55Sequence Programs5.2.3 Work RegisterA status flag to monitor program status is assigned to the sequence program

Seite 328

6-16Variables (Registers)6Variables (Registers)This chapter describes the details of variables that can be used in both motion programs and sequence p

Seite 329 - A.6 Logical Operations

6 Variables (Registers)6.1.1 Variable Types6-26.1 OverviewThis section summarizes the variables used in motion programs.6.1.1 Variable TypesIn a m

Seite 330 - A.8 Data Operations

6.1 Overview6-36Variables (Registers)(2) Data TypesAs shown in the following table, the data types are bit, integer, double integer, and real number

Seite 331 - A.9 Basic Functions

6 Variables (Registers)6.1.2 Global Variables and Local Variables6-46.1.2 Global Variables and Local Variables(1) Global VariablesGlobal variables

Seite 332

6.1 Overview6-56Variables (Registers)The number of local variables (D registers) to be used in each program can be specified in the Program Prop-erty

Seite 333 - B Sample Programs

6 Variables (Registers)6.1.2 Global Variables and Local Variables6-6 Precautions for Variable OperationsStoring data in a variable of a different d

Seite 334 - (1) Ladder Program

6.2 Using Variables6-76Variables (Registers)6.2 Using VariablesThis section explains how to use variables.6.2.1 System Variables (S Registers)(1) O

Seite 335 - (2) Sequence Program

viiiWarranty(1) Details of Warranty Warranty PeriodThe warranty period for a product that was purchased (hereinafter called “delivered product”)

Seite 336 - B.2 Parallel Processing

6 Variables (Registers)6.2.2 Data Variables (M Registers)6-86.2.2 Data Variables (M Registers)(1) OverviewM registers are general-purpose variables

Seite 337

6.2 Using Variables6-96Variables (Registers)6.2.3 Input Variables (I Registers)(1) OverviewThese variables are used by input data and the servo moni

Seite 338 - • Motion Program

6 Variables (Registers)6.2.3 Input Variables (I Registers)6-10The register numbers for each axis of the motion monitor parameters can be obtained by

Seite 339

6.2 Using Variables6-116Variables (Registers)6.2.4 Output Variables (O Registers)(1) OverviewThese variables are used for output data and servo sett

Seite 340 - B.5 Sequence Programs

6 Variables (Registers)6.2.4 Output Variables (O Registers)6-12The register numbers for each axis of motion setting parameters can be obtained by th

Seite 341 - Sequence subprogram (SPS003)

6.2 Using Variables6-136Variables (Registers)6.2.5 C Variables (C Registers)(1) OverviewC registers are variables to be referenced from programs. Th

Seite 342 - C.2 Sequence Programs

6 Variables (Registers)6.2.6 D Variables (D Registers)6-146.2.6 D Variables (D Registers)(1) OverviewD variables can be used only by the relevant p

Seite 343 - C.4 Group Definitions

6.3 How to Use Subscripts i, j6-156Variables (Registers)6.3 How to Use Subscripts i, jTwo type of registers (i, j) are available as dedicated regist

Seite 344 - C.6 Motion Program Alarms

6 Variables (Registers)6-16• The following versions of system software and programming tool MPE720 are required to use subscripts i and j.• Both u

Seite 345 - D.1 General Precautions

7-17Programming7ProgrammingThis chapter describes the rules for creating motion programs and sequence programs.7.1 Motion Program Format - - - - - -

Seite 346 - Incremental mode (INC)

ix(3) Suitability for Use1. It is the customer’s responsibility to confirm conformity with any standards, codes, or regulations that apply if the Yask

Seite 347

7 Programming7.1.1 Motion Program Structure7-27.1 Motion Program Format7.1.1 Motion Program StructureA motion program contains a program number, a

Seite 348 - • • • (b)

7.1 Motion Program Format7-37Programming(1) LabelA label consists of a character string containing from one to eight alphanumeric characters or symbo

Seite 349

7 Programming7.1.2 Block Format7-4(4) Coordinate WordsA coordinate word is a numerical value or a variable to be coded after an axis name. A coordin

Seite 350

7.1 Motion Program Format7-57Programming(5) Specific CharactersThe meaning and application examples of each specific character are listed below. Refe

Seite 351

7 Programming7.1.2 Block Format7-6(6) End of BlockInsert a semi-colon at the end of block. There is no limitation on the number of lines in a block.

Seite 352

7.1 Motion Program Format7-77Programming7.1.3 Using Constants and Variables(1) ConstantsThe constants that can be used in motion programs are listed

Seite 353

7 Programming7.1.3 Using Constants and Variables7-80 (zero) cannot be omitted in all constants and variables. Examples Where 0 (zero) Can be Omitte

Seite 354

7.2 Motion Module Parameters7-97Programming7.2 Motion Module ParametersMotion control using motion programs is determined according to the settings

Seite 355

7 Programming7.2.3 Electronic Gear7-10The range of reference positions for an axis move command are as follows:7.2.3 Electronic GearIn contrast to

Seite 356

7.2 Motion Module Parameters7-117Programming(2) Parameter Setting Example Using Rotating Table• Machine specifications: Rotating table axis rotates

Kommentare zu diesen Handbüchern

Keine Kommentare