siepc88070030c_2_1
siepc88070030c_2_1
siepc88070030c_2_1
MPE720 Version 6
USER'S MANUAL
Model CPMC-MPE770
App
The graphic symbols used in this manual indicate the following type of information.
This symbol is used to indicate important information that should be memorized or minor precautions,
such as precautions that will result in alarms if not heeded.
Project files are always overwritten when closed. A project file cannot be saved under a new name. Whenever a backup
file is required, be sure to make a copy of the project file before opening it or before overwriting changes while editing
the project.
MPE720 version 6 does not support these three table programming functions: Interlock Tables, Part Composition
Tables, and I/O Conversion Tables.
Trademarks
iii
Contents
Graphic Symbols Used in this Manual - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - iii
Caution on Managing Passwords- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - iii
Caution on Managing Project Files- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - iii
Table Programming Functions Not Supported by MPE720 Version 6 - - - - - - - - - - - - - - - - - - - iii
Trademarks - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - iii
iv
1.9 Environment Settings - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-55
1.9.1 Environment Setting Dialog Box - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-55
1.9.2 System: Communication Setting - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-56
1.9.3 System: Controller Type - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-57
1.9.4 Security: User Registration - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-58
1.9.5 Security: Project Password- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-60
1.9.6 Security: Default User Setting - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-61
1.9.7 Setup: System Setting - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-62
1.9.8 Setup: Scan Time Setting- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-63
1.9.9 Ladder: General - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-64
1.9.10 Motion/Tab - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-65
1.9.11 Motion/Font - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-66
1.9.12 C Language: General- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-67
1.9.13 C Language: Linker - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-67
1.9.14 Variable: Variable- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-68
1.9.15 Monitor: System Monitor - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-69
1.9.16 Transfer: Transfer - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-70
1.9.17 Transfer: MPLoader - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-71
1.9.18 Print: Ladder - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-72
1.11 Stopping (STOP) and Restarting (RUN) the Machine Controller CPU- - - - - - - 1-79
1.11.1 Stopping Machine Controller CPU (STOP) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-79
1.11.2 Restarting Machine Controller CPU (RUN) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-81
2 Configuration- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2-1
2.1 Module Configuration - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2-2
2.2 Motion Parameters - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2-4
2.2.1 Fixed Parameters - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2-4
2.2.2 Setting Parameters - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2-4
2.2.3 Monitoring Parameters- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2-4
2.2.4 SERVOPACK Parameters - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2-4
v
3.3 Editing Ladder Programs- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-12
3.3.1 Ladder Program Edit Window - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-12
3.3.2 Main Functions Used in Editing Ladder Programs - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-13
3.3.3 Updating Subwindow Displays - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-14
3.3.4 Changing Edit Window Displays- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-14
3.3.5 Editing Program Comments - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-21
3.3.6 Inserting and Editing New Rung Comments - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-22
3.3.7 Inserting and Editing New Rungs - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-23
3.3.8 Inserting Branches - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-24
3.3.9 Editing Branches - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-26
3.3.10 Inserting Instruction Objects- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-28
3.3.11 Editing Instruction Objects - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-30
3.3.12 Entering and Changing Variables and Registers - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-31
3.3.13 Editing Comment Fields - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-33
3.3.14 Entering and Editing Expressions for EXPRESSION Instructions - - - - - - - - - - - - - - - - - - 3-34
3.3.15 Creating Functions - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-35
3.3.16 Calling Functions - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-37
3.3.17 Ladder Program Compiling and Compile Options- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-38
3.3.18 Compiling when Exiting - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-39
vi
4.4 Main Menu List- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 4-15
4.4.1 Program - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 4-15
4.4.2 Debug - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 4-15
5 Variables - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5-1
5.1 Overview - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5-2
5.1.1 Types of Variables - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5-2
5.1.2 Displaying Variables - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5-3
vii
5.4 Using Variables and Comments - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5-27
5.4.1 Using Variables - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5-27
6 Exporting/Importing - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 6-1
6.1 Types of Export/Import - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 6-2
6.2 Motion Parameters - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 6-3
6.2.1 Exporting/Importing Motion Parameters - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 6-3
6.2.2 Export - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 6-6
6.2.3 Import - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 6-8
viii
9 Printing - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 9-1
9.1 Printing Ladder Programs - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 9-2
9.1.1 Page Setup- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 9-2
9.1.2 Print Previews - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 9-3
9.1.3 Printing- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 9-5
9.1.4 Printing Cross-Reference Information - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 9-8
9.1.5 Printing Call Program Instructions (FUNC/SEE/MSEE) - - - - - - - - - - - - - - - - - - - - - - - - - - - - 9-9
11 Axes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 11-1
11.1 Axis Setup Wizard- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 11-2
11.1.1 Overview of the Axis Setup Wizard - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 11-2
11.1.2 Starting the Axis Setup Wizard - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 11-2
11.1.3 Names and Descriptions of Components of the Axis Setup Wizard- - - - - - - - - - - - - - - - - - 11-4
ix
11.4 Alarm Monitor - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 11-39
11.4.1 Overview of Alarm Monitor - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 11-39
11.4.2 Starting Alarm Monitor - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 11-40
11.4.3 Names and Descriptions of Components of Alarm Monitor - - - - - - - - - - - - - - - - - - - - - - 11-41
11.4.4 When an Alarm/Warning Occurs- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 11-44
12 Monitoring- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 12-1
12.1 Types of Monitoring - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 12-2
12.2 Register Lists - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 12-3
12.2.1 Outline- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 12-3
12.2.2 Displaying Memory Maps - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 12-3
12.2.3 Changing Memory Map Displays - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 12-4
12.2.4 Editing Data - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 12-5
13 Tracing - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 13-1
13.1 Types of Tracing - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 13-2
13.2 Real-Time Tracing - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 13-3
13.2.1 Overview of Real-Time Tracing - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 13-3
13.2.2 Starting Real-Time Trace - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 13-3
13.2.3 Names and Descriptions of Components of Real-Time Tracing - - - - - - - - - - - - - - - - - - - - 13-5
13.2.4 Analyzing Trace Data - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 13-23
13.2.5 Reading Trace Data - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 13-26
13.2.6 Saving Trace Data - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 13-28
13.2.7 Displaying in List Format - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 13-30
13.2.8 Copying the Graph - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 13-32
x
13.3 Data Tracing- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 13-34
13.3.1 Outline - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 13-34
13.3.2 Starting a Data Trace Window- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 13-34
13.3.3 Data Trace Window Configuration - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 13-35
13.3.4 Displaying Graphs - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 13-36
13.3.5 Operation Panel - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 13-37
13.3.6 Graph Area Operations - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 13-39
13.3.7 List Area Operations - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 13-45
13.3.8 Other Functions- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 13-56
Appendices - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A-1
A Variable Tables - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A-2
A.1 Variables that are Automatically Assigned by System - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A-2
A.2 Axis Variable Details - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A-5
A.3 I/O Variables - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A-27
A.4 System Structures - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A-39
Index
Revision History
xi
Overview and Basic Operations of MPE720 Version 6
1
Overview and Basic Operations of MPE720
Version 6
This chapter provides an overview of MPE720 version 6 and describes basic MPE720 operations.
1-1
1 Overview and Basic Operations of MPE720 Version 6
1.11 Stopping (STOP) and Restarting (RUN) the Machine Controller CPU - - - 1-79
1.11.1 Stopping Machine Controller CPU (STOP) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1-79
1.11.2 Restarting Machine Controller CPU (RUN) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1-81
1-2
1.1 What Is MPE720 Version 6?
M-I/II M-I/II
BATTERY
CN1
CPU I/O
DC24V
CN2
DC 0V 10Base-T
POWER
CN2
MPE720 version 6
YASKAWA SERVOPACK 200V YASKAWA SERVOPACK 200V
SGDS-01A12A SGDS-01A12A
SW1 SW1
C C
N N
CHARGE 6 CHARGE 6
Communications
A/B A/B
L1 L1
L2 L2
L1C C L1C C
(such as RS-232C)
N N
SERVOPACK
L2C 3 L2C 3
B1/ B1/
B2 B2
C C
U N U N
1 1
V V
W W
N N
2 2
C C
N N
4 4
Servomotor
Programming
Control
Monitoring
1
1.2 Basic Engineering Procedure Using MPE720 Version 6
Use the following procedure to operate a Machine Controller and motion system using MPE720 version 6.
2. Install MPE720 version 6 on the computer. (Refer to 1.3.4 Installing MPE720 Version 6.)
Make the required settings. (Refer to 1.10.1 Connecting to Machine Controllers and 2.1 Module
6.
Configuration.)
7. Create the programs. (Refer to Chapter 3 Ladder Programming and Chapter 4 Motion Programming.)
1-3
1 Overview and Basic Operations of MPE720 Version 6
1.3.1 MPE720 Version 6 System Requirements
Item Specifications
CPU Pentium 800 MHz min. or equivalent. (1 GHz min. is recommended.)
Memory Capacity 128 MB min. (256 MB min. is recommended.)
Display Resolution: 1,024 x 768 min., 16-bit High Color
Available HDD Space 200 MB min.
CD Drive One CD drive (Required only for installation.)
Communications Ports Serial, Ethernet, MP2100 bus, or USB
Windows 2000 (service pack 1 or later)
Operating System
Windows XP, Windows Vista, Windows 7 (32 bit version)
Adobe Reader version 6.00 or later (Required for help displays.)
Other
Internet Explorer version 5.5 or later (Required for displaying online help for ladder instructions.)
1-4
1.3 Installing and Uninstalling MPE720 Version 6
To install MPE720 version 6, you need to logon with the administrator privilege.
If MPE720 version 5 is already installed, uninstall it before installing MPE720 version 6 is not required. Moreover,
Prepare the MPE720 version 6 installation CD-ROM and use the following procedure to install the software.
1. Start the computer, and insert the installation CD-ROM in the CD-ROM drive.
If any other software applications are running, close them before proceeding.
If either MPE720 version 5 or MPE720 version 6 is already installed, the following dialog boxes may be dis-
played for confirmation when the InstallShield Wizard is started. In either case, click the Yes Button.
The following dialog box will then be displayed for confirmation. Click the OK Button. The earlier version or the
same version of the Communications Process or the Electronic CAM Tool will be overwritten.
The MPE720 version 6 Installer will automatically start, the Title Window will be displayed, and then the
License Agreement Window will be displayed.
1-5
1 Overview and Basic Operations of MPE720 Version 6
1.3.4 Installing MPE720 Version 6
3. Enter the user name, company name, and product serial number, and then click the Next Button to
continue.
A window to set the destination folder for the installation will be displayed.
1-6
1.3 Installing and Uninstalling MPE720 Version 6
4. To install the program in the destination folder that is displayed, click the Next Button. To install it in a
different folder, click the Browse Button, specify the destination folder, and then click the Next Button.
The installation will begin, and messages to indicate the progress will be displayed. When the installation has
been completed, a window to complete the installation will be displayed.
1-7
1 Overview and Basic Operations of MPE720 Version 6
1.3.4 Installing MPE720 Version 6
The InstallShield Wizard will close and the installation of MPE720 version 6 will be completed.
1-8
1.3 Installing and Uninstalling MPE720 Version 6
3. Select YASKAWA MPE720 Ver.6 from the list of programs, and click the Remove Button.
A dialog box will be displayed for confirmation that the program is to be removed.
1-9
1 Overview and Basic Operations of MPE720 Version 6
1.3.5 Uninstalling MPE720 Version 6
The operation to uninstall MPE720 version 6 will begin. When uninstall is finished, the Maintenance Complete
Window will be displayed.
1-10
1.3 Installing and Uninstalling MPE720 Version 6
[ b ] Conditions of Use
The communications ports that can be used for the connection with the Machine Controller are as follows.
• Ethernet (10 MB Ethernet)
• Ethernet (LP) (100 MB Ethernet)
• Serial
• USB
• MP2100 bus
Table 1.1 List of Communications Ports Connectable to Machine Controller
1-11
1 Overview and Basic Operations of MPE720 Version 6
1.3.6 Communication Settings
1. Click the Start Button and then select Settings - Control Panel - Internet Options.
The Internet Properties Dialog Box will be displayed.
2. Select the Connections Tab, and then click the LAN Settings Button.
The Local Area Network (LAN) Settings Dialog Box will be displayed.
1-12
1.3 Installing and Uninstalling MPE720 Version 6
3. Confirm that the Automatically detect settings check box is not selected, and then click the OK But-
ton to close the dialog box.
6. Select the Internet Protocol (TCP/IP) check box and then click the Properties Button.
1-13
1 Overview and Basic Operations of MPE720 Version 6
1.3.6 Communication Settings
7. Select Use the following IP address, and then enter the IP address, “192.168.1.2” for example, in the
IP address field and “255.255.255.0” in the Subnet mask field.
1. Select Online - Communications Setting from the Main Menu. Alternatively, click Communications
Setting under Controller (or Project) in the Start Window.
The Communications Setting Dialog Box will be displayed.
2. Select the communications port to be used for connecting to the Machine Controller and click the Con-
nection Button.
The Communications Setting Dialog Box closes and the MPE720 version 6 is connected to the Machine Con-
troller.
The Connection Button and the Setting Button are invalid while connected to the Machine Controller, and
communications cannot be set.
1-14
1.3 Installing and Uninstalling MPE720 Version 6
1. Select Online - Communications Setting from the Main Menu. Alternatively, click Communications
Setting under Controller (or Project) in the Start Window.
The Communications Setting Dialog Box will be displayed.
2. Select the communications port to be used for connecting to the Machine Controller and click the Con-
nection Button.
The Communications Setting Dialog Box closes and the MPE720 version 6 is connected to the Machine Con-
troller.
The Connection Button and the Setting Button are invalid while connected to the Machine Controller, and
communications cannot be set.
If the connection to the Machine Controller cannot be established, perform the following operations.
Setting the communications port
1. Open the Communications Setting Dialog Box and click the Search Button.
2. The name and IP address of the Machine Controllers that can be connected are listed in the Machine Controller
search list.
3. Check that the IP address of the target Machine Controller displayed in step 2 is identical to the one set for the IP
address field, and then click the Connection Button.
1-15
1 Overview and Basic Operations of MPE720 Version 6
1.3.7 Communication Process Settings
1. Select Online - Communications Setting from the Main Menu. Alternatively, click Communications
Setting under Controller (or Project) in the Start Window.
The Communications Setting Dialog Box will be displayed.
2. Select the communications port to be used for connecting to the Machine Controller and click the Con-
nection Button.
The Communications Setting Dialog Box closes and the MPE720 version 6 is connected to the Machine Con-
troller.
The Connection Button and the Setting Button are invalid while connected to the Machine Controller, and
communications cannot be set.
1. Start the Communication Manager (Communication Process) either by double-clicking the Communi-
cation Manager Icon in the YE_Applications Folder on the desktop or by clicking the Start Button
and selecting Programs - YE_Applications - Communication Manager.
The Communication Process Icon will be displayed in the task bar at the bottom right of the screen.
2. Double-click the Communication Process Icon in the task bar to display the Communication Manager
Window.
If the window is not displayed when the Communication Process Icon is double-clicked, then right-click the
icon and select Application Display from the pop-up menu.
1-16
1.3 Installing and Uninstalling MPE720 Version 6
3. Double-click the logical port number (logical PT) for which the settings are to be made.
4. Select an option for Port Kind and set the TimeOut and other fields. Click the Detail Button.
CP-215: Connected through a CP-215 cable
Serial: Connected through a serial cable
Modem: Connected through a modem
CP-218: Connected through a 10 MB Ethernet cable
Ethernet (LP): Connected through a 100 MB Ethernet cable
MP2100/2500: Selected when using Machine Controller MP2100
USB: Connected through a USB cable
The explanation given here takes “Serial” as an example.
1-17
1 Overview and Basic Operations of MPE720 Version 6
1.3.7 Communication Process Settings
6. Click the OK Button in the Logical Port Setting Dialog Box. The Communication Manager Window
will again be displayed.
Serial will be displayed for the logical port selected in step 3.
7. Select File - Save and then click the Yes Button in the dialog box displayed for confirmation.
The settings will be saved.
8. Select File - Exit and then click the Yes Button in the dialog box displayed for confirmation.
The Communication Manager (Communication Process) will be closed.
1-18
1.3 Installing and Uninstalling MPE720 Version 6
1-19
1 Overview and Basic Operations of MPE720 Version 6
1.3.7 Communication Process Settings
4. Set the physical port of the newly added port name in the Serial Port Setting Dialog Box opened from
the Communication Manager Window.
1-20
1.3 Installing and Uninstalling MPE720 Version 6
1. Double-click No. 2 under Logical PT in the Communication Manager Window to open the Logical
Port Setting Dialog Box.
3. Enter the IP address of the computer for IP Address (First) and select the OFF option for Default.
Leave the other items at their default settings, and then click OK to close the dialog box.
1-21
1 Overview and Basic Operations of MPE720 Version 6
1.3.7 Communication Process Settings
4. When OK is clicked in the Logical Port Setting Dialog Box, you will be returned to the Communica-
tion Manager Window.
CP-218 will be displayed for the logical port selected in step 1.
5. Select File-Save, and then click Yes in the dialog box displayed for confirmation.
The setting will be saved.
6. Select File-Exit, and then click Yes in the dialog box displayed for confirmation.
The setting will be saved.
1-22
1.3 Installing and Uninstalling MPE720 Version 6
CP-215
NW#1
ST#6
MPE720
RS-232C
1
* 1. “Relay Station” indicates an MP200 Machine Controller equipped with more than one 215AIF-01 Module whose
MPLINK or MR connectors are connected with another network’s MPLINK/CP-215 cables to transmit data between
networks.
* 2. Only engineering message transmission is possible with the relay function.
To use the relay function, “Message relay function” must be enabled, and “Relayed network number” must be speci-
fied by setting the 215AIF-01 Module parameters.
1-23
1 Overview and Basic Operations of MPE720 Version 6
1.4.1 Starting MPE720 Version 6
MPE720 version 6 will start and the MPE720 Ver.6 Window will appear as shown above.
For details on the Start Window, refer to 1.5.1 Names and Descriptions of Window Components.
For details on opening project files, refer to 1.8.2 Creating New Project Files and 1.8.3 Opening Project Files.
1-24
1.4 Starting and Exiting MPE720 Version 6
When MPE720 version 6 is started from a project file, then only Project and Help will be displayed in the Start Win-
dow as shown above, and their contents will be displayed in ladder and variable subwindows.
If the contents of communications settings are stored in the selected project file, the following dialog box will open.
(Refer to 1.10.1 Connecting to Machine Controllers.)
1-25
1 Overview and Basic Operations of MPE720 Version 6
1.4.2 Exiting MPE720 Version 6
1-26
1.5 MPE720 Version 6 Window Operations
1. Main Menu
2. Toolbar
4. Caption Bar
3. Launcher
6. Window Tab
Pages
5. Main WIndows
7. Subwindows
7. Subwindows
1
1. Main Menu
Used to select operations required for using MPE720 version 6.
2. Toolbar
Used to facilitate using functions related to project file management and programming.
3. Launcher
A submenu bar for quick and easy access to often-used functions.
The launcher can be set to be displayed or hidden in the View Menu.
4. Caption Bar
Displays the Machine Controller connection status (online or offline), Machine Controller name, CPU status
(when online), and project file name (when offline).
5. Main Windows
Aside from the Start Window, the following windows are displayed depending on the operation selected.
Ladder Program Edit Window (Refer to 3.3.1 Ladder Program Edit Window.)
Motion Program Edit Window (Refer to Chapter 4 Motion Programming.)
Data Trace Edit Window (Refer to Chapter 13 Tracing.)
Register Comment Edit Window (Refer to 5.7.1 Referencing Comment Lists.)
Adjustment Panel Edit Window (Refer to Chapter 14 Tuning Panel.)
For details on the Start Window, refer to 1.5.1 Names and Descriptions of Window Components.
6. Window Tab Pages
Used to select the window displayed in the foreground when multiple windows are displayed. If there are many
windows and not all of the tabs can be displayed, click the [ ▼ ] symbol to display a list of tabs from which to
select.
7. Subwindows
Subwindows are windows for supplementing the operations in the main windows. Multiple subwindows can be
displayed by selecting from the View Menu. (Refer to 1.7 Subwindow Operations.)
1-27
1 Overview and Basic Operations of MPE720 Version 6
1.6.1 Start Window
1-28
1.6 Main Window Operations
Controller
Communications Setting: Display the Communications Setting Dialog Box. The communications port can
then be set, and a connection can be made to the Machine Controller. (Refer to 1.10.1 Connecting to Machine
Controllers.)
Saving Data when Connected to a Machine Controller after Opening a Project File
When MPE720 version 6 is started from a project file and a connection is made to a Machine Controller from the Communica-
tions Setting Dialog Box or when a connection is made to a Machine Controller from Connection (Connection Name) in the 1
Start Window, the display will be changed to the contents of the application data stored in the Machine Controller RAM. If the
displayed application data is edited and then a save or exit (disconnection) operation is executed, the changes will be overwrit-
ten in both the Machine Controller RAM and the selected project file (on the computer).
1-29
1 Overview and Basic Operations of MPE720 Version 6
1.6.2 My Tool Window
( 1 ) What is My Tool?
My Tool is the function to facilitate the calling of various functions just by clicking a button displayed in the main win-
dow. The buttons registered to My Tool can be customized, and registering frequently used functions enables engineer-
ing to be started quickly.
( 2 ) Starting My Tool
My Tool is automatically displayed when a project file is opened, or a connection to the Machine Controller is estab-
lished.
1-30
1.6 Main Window Operations
[ a ] My Tool Buttons
The following buttons can be registered to the My Tool Window to enable calling of the functions by clicking the but-
1-31
1 Overview and Basic Operations of MPE720 Version 6
1.6.2 My Tool Window
18. Electronic Cam Tool* Starts the Electronic Cam Tool to create cam data.
19. Communications Setting* Sets the communications to connect to the Controller.
20. System Setting* Displays the system settings.
21. Scope 3 Analyzes the data obtained by scope 3 in the form of a trend graph/XY graph.
22. Scope 4 Analyzes the data obtained by scope 4 in the form of a trend graph/XY graph.
23. Write into Controller Writes data of the project file to the Controller.
24. Read from Controller Reads the data of the Controller to the project file.
25. Save to Flash Writes the data in the Controller RAM to the flash memory.
* Displayed by default.
[ b ] Edit Window
Buttons can be edited, i.e. registered, removed, or sorted, in this window.
(4)
(5)
(1)
(6)
(4)
(2) (7)
(8)
1-32
1.6 Main Window Operations
[ c ] Add Window
Pressing (5) the Add Button in the [ b ] Edit Window displays the Add My Tool Window, enabling addition of a button.
(2) (3)
1-33
1 Overview and Basic Operations of MPE720 Version 6
1.6.2 My Tool Window
( 4 ) Editing My Tool
In My Tool, frequently used functions can be registered as buttons, and the names and the arrangement of the buttons
can be customized for better comprehension.
One customized setting is possible for one installation environment of MPE720 version 6.
[ a ] Registering/Removing a Button
2. The Edit My Tool Window will be displayed. Click the Add Button.
1-34
1.6 Main Window Operations
3. The Add My Tool Window will be displayed. Select the function to be registered in the Registration
button column and click the Add Button. After registering all desired buttons, click the Close Button.
1-35
1 Overview and Basic Operations of MPE720 Version 6
1.6.2 My Tool Window
1-36
1.6 Main Window Operations
1-37
1 Overview and Basic Operations of MPE720 Version 6
1.6.2 My Tool Window
3. The button corresponding to the selected function will be removed from the Edit My Tool Window.
Click the OK Button.
4. The button corresponding to the selected function will be removed from the My Tool Window.
1-38
1.6 Main Window Operations
1-39
1 Overview and Basic Operations of MPE720 Version 6
1.6.2 My Tool Window
Renaming a Button
1. Display the Edit My Tool Window. Select the function to be renamed in the Registration button col-
umn and enter the new name to the Button Name field. Then click the OK or Apply Button.
1-40
1.6 Main Window Operations
1. Display the Edit My Tool Window. Select a value from the Number of buttons by a line list and click
the OK Button.
1-41
1 Overview and Basic Operations of MPE720 Version 6
1.6.2 My Tool Window
2. The number of buttons to be displayed in each row is changed and the My Tool Window will be dis-
played with the new setting.
1-42
1.7 Subwindow Operations
Close Button: Close the currently selected subwindow. To display the subwindow again, select
the subwindow name from the View Menu.
Automatic Hide Button: Specify automatic hide status. (Refer to 1.7.4 Types of Subwindow Dis-
plays.)
Menu Button: Display the menu for selecting the subwindow display status. (Refer to 1.7.5
Changing the Subwindow Display Type.)
Expand Button: Displayed in a subwindow when a tree hierarchy or category list is displayed.
Expand the display to show the lower levels of the hierarchy or a list of items included in the
category. When the Collapse Button (-) is clicked, the displayed list restores the original dis-
play.
1-43
1 Overview and Basic Operations of MPE720 Version 6
1.7.2 Displaying and Hiding Subwindows
1-44
1.7 Subwindow Operations
2. Docked subwindows
1. Floating subwindows
1. Floating
Displayed apart from the MPE720 Ver.6 Window. Can be freely moved
by dragging the task bar.
2. Docked
This is the subwindow display type when MPE720 version 6 is first
started after being installed. Multiple subwindows are displayed on top
of each other just like the main windows. The top subwindow can be
changed by clicking the tabs.
3. Automatically Hidden
The subwindow slides out from the side when the relevant tab is clicked,
and closes when any location outside of the subwindow is clicked.
When an Automatically Hidden Subwin- As shown in the illustration to the left, it is displayed above the main
dow Is Displayed window and below floating subwindows.
1-45
1 Overview and Basic Operations of MPE720 Version 6
1.7.5 Changing the Subwindow Display Type
1-46
1.8 Project Files
z Program Files
• Ladder programs: High-speed, Low-speed, Start, Interrupt, and Function
• Motion programs: Main, Sub, and Group definitions
• Table data
• Variables: Axis, I/O, Global, Constant, and User structure
• Comments: I/O, Global, and Constant
z Register Files
• M (Data registers), D (Internal registers), C (Constant registers),
S (System registers), I (Input registers), and O (Output registers)
Project files keep these files together so that they can be managed as a single file in Windows. The file extension is
1
YMW.
The above files can be edited when the project file is opened.
An attached file is displayed for an open project file, as shown below. This file indicates that the project file is open.
When the project file is closed, the attached file is deleted.
Attached file
Project file
Only one project file can be opened at a time for a single MPE720 Ver.6 Window. In addition, the same project file
cannot be opened in multiple MPE720 Ver.6 Windows. If an attempt is made to open a project file that is already open,
the MPE720 Ver.6 Window for which the project file is open will be displayed in front.
1-47
1 Overview and Basic Operations of MPE720 Version 6
1.8.2 Creating New Project Files
2. Open the save destination folder, input the file name, and select the file type and the Machine Controller
to be used.
(a) (d)
(b) (e)
(f)
(c)
1-48
1.8 Project Files
1-49
1 Overview and Basic Operations of MPE720 Version 6
1.8.3 Opening Project Files
( 1 ) Opening the Project File in an MPE720 Version 6 Window That Is Already Started
Execute any of the following operations to open a project file in the MPE720 Ver.6 Window.
• Click a project file name displayed in History under Project in the Start Menu.
• Click File in the main menu, and select a project file from the file history displayed in the menu.
• Drag and drop a project file icon into an MPE720 window that is already started.
• Select File - Open Project from the main menu, and then select a project file in the Project File Dialog Box.
• Click Open under Project in the Start Window, and then select a project file in the Project File Dialog Box.
If one of the above operations is executed when another project file is already open in the same window, the project
file that was already open will be automatically overwritten and closed. For details on closing project files, refer to
1.8.6 Closing Project Files.
If the contents of Communications Setting are saved in the selected project file, the following dialog box will be dis-
played. (Refer to 1.10.1 Connecting to Machine Controllers.)
Enter the password that has been set, and then click the OK Button.
For details on project file passwords, refer to 1.9.5 Security: Project Password.
1-50
1.8 Project Files
If the contents of Communications Setting are saved in the selected project file, the following dialog box will be dis-
played. (Refer to 1.10.1 Connecting to Machine Controllers.)
Enter the password that has been set, and then click the OK Button.
For details on project file passwords, refer to 1.9.5 Security: Project Password.
1-51
1 Overview and Basic Operations of MPE720 Version 6
1.8.4 Opening an MPE720 Version 5 MAL File
2. Select File - Open Project from the Main Menu. Alternatively, select Open under Project in the Start
Window.
The Open Project Dialog Box will be displayed.
A MAL file can be opened by dragging and dropping into an MPE720 Ver.6 Window that is already open.
If doing that, skip to step 4.
3. Select a file with an MAL extension, and click the Open Button.
1-52
1.8 Project Files
2. Enter a project file name, and then click the Save Button. 1
An existing project file can be opened if it is not opened by another computer running MPE720 version 6.
① ③
② ④
⑤
If a project file with the same name already exists in the specified folder, a message asking for confirmation to
overwrite the existing file will appear.
Yes: The existing file is overwritten with the new project file and the selected name.
No: The project file is not saved, and the Save as a new Project Dialog Box will be displayed.
1-53
1 Overview and Basic Operations of MPE720 Version 6
1.8.6 Closing Project Files
If the project file to be overwritten is opened by another MPE720 version 6, the following error message will
appear and the file cannot be saved.
Yes: After the applicable program has been compiled, it will be saved and closed. If a compile error occurs during
the compiling, closing the project file will be cancelled as if the Cancel Button had been clicked and editing
can be continued.
No: The applicable program will be closed without saving the changes.
Cancel: Closing the project file will be cancelled and editing can be continued. All programs closed up to that
point, however, will remain closed.
When all uncompiled programs are closed, the project file will close.
If there is a connection to a Machine Controller when the project file is closed, the connection will be closed at the
same time.
1.8.7 Moving Project Files: Deleting, Copying, and Renaming Project Files
Just as with other Windows application files, operations such as moving project files to other folders or deleting, copy-
ing, or renaming project files can be executed using a file manager tool such as Explorer.
Shortcut keys, such as Ctrl+C (copy), Ctrl+X (cut), and Ctrl+V (paste) can also be used.
1-54
1.9 Environment Settings
Tree
The following settings can be made by selecting items from the tree. (Controller Type is for reference only.) 1
An asterisk (*) is displayed next to any item for which the setting has been changed after the Environment
Setting Dialog Box is opened.
System
Communications Settings (Refer to 1.9.2 System: Communication Setting.
Controller Type (For reference only. Refer to 1.9.3 System: Controller Type.)
Security
User Registration (Refer to 1.9.4 Security: User Registration.)
Protect Password (Refer to 1.9.5 Security: Project Password.)
Default User Settings (Refer to 1.9.6 Security: Default User Setting.)
Setup
System Settings (Refer to 1.9.7 Setup: System Setting)
Scan Time Settings (Refer to 1.9.8 Setup: Scan Time Setting.)
Ladder
General (Refer to 1.9.9 Ladder: General.)
Motion
Tab (Refer to 1.9.10 Motion/Tab.)
Font and Color (Refer to 1.9.11 Motion/Font.)
C language
General (Refer to 1.9.12 C Language: General.)
Linker
Variables
Variables (Refer to 1.9.14 Variable: Variable.)
Monitor
System Monitor (Refer to 1.9.15 Monitor: System Monitor.)
Transfer
Transfer (Refer to 1.9.16 Transfer: Transfer.)
MP Loader (Refer to 1.9.17 Transfer: MPLoader.)
Print
Ladder (Refer to 1.9.18 Print: Ladder.)
1-55
1 Overview and Basic Operations of MPE720 Version 6
1.9.2 System: Communication Setting
1-56
1.9 Environment Settings
1-57
1 Overview and Basic Operations of MPE720 Version 6
1.9.4 Security: User Registration
Once a password has been set, be very careful not to forget it. If a password that has been set is forgotten,
there is no way to undo it, and that user will no longer be able to open the project file.
1-58
1.9 Environment Settings
For details on the registration contents, refer to ( 1 )Registering New Users on the previous page.
If the default user has been selected, only the default privileges can be changed.
For details on specifying the default user, refer to 1.9.6 Security: Default User Setting.)
1-59
1 Overview and Basic Operations of MPE720 Version 6
1.9.5 Security: Project Password
Once a password has been set for a project file, be very careful not to forget it. If a password that has been
set is forgotten, there is no way to undo it that project file can no longer be opened.
Select Security - Project Password from the tree in the Environment Setting Dialog Box to bring up that window, and
then make the settings. (Refer to 1.9.1 Environment Setting Dialog Box.)
Password
Enter a new password using from 1 to 16 alphanumeric characters. No distinction is made between upper and
lower case.
Password (confirm)
Enter the same password again for confirmation, and then press the OK Button.
The OK Button is valid when one or more characters of text are entered in the Password (Confirm) Field.
( 2 ) Deleting Passwords
To clear the password that has been set, clear the When the project is opened, the password is input option in the
Project Password Area.
1-60
1.9 Environment Settings
Select Security - Default User Setting from the tree in the Environment Setting Dialog Box to bring up that window,
and then make the settings. (Refer to 1.9.1 Environment Setting Dialog Box.)
1-61
1 Overview and Basic Operations of MPE720 Version 6
1.9.7 Setup: System Setting
z System Settings
Write Protect
Select Writable or Not Writable to allow or prohibit the writing of program data to the Machine Controller. If
Not writable is selected, data cannot be transferred to the Machine Controller and the program cannot be
edited of compiled while connected, online, to the Machine Controller.
PCI Reset Signal (MP2100/2500 Only)
Select from Enable or Disable whether PCI reset signals of the MP2100/MP2500 are to be valid or invalid.
D Register Clear when Start
Select from Enable or Disable whether or not the D registers are to be cleared when the Machine Controller is
started. If Disable is selected, the contents of the D registers in flash memory will be read to RAM.
Keep Latest Value
Set a number from 1 to 255 to specify the number of previous input values to be stored for both the high-speed
and low-speed scan when an I/O error occurs.
1-62
1.9 Environment Settings
1-63
1 Overview and Basic Operations of MPE720 Version 6
1.9.9 Ladder: General
z Program
Create new CP ladder
Set whether the Create new CP ladder option is to be displayed in Ladder Subwindow pop-up menus.
On selecting Use, the Create new CP ladder option will be displayed in Ladder Subwindow pop-up menus.
Even if Create new CP ladder option is selected to Not Use, the Engineering Manager can still be used to create
programs in the CP form. For details, refer to 3.2.2 ( 2 ) Creating New Programs from the Engineering Manager.
z Compile Option
Multiple coil check
On selecting Use, the programs to be compiled will be checked and duplicate coils will be detected at compi-
lation.
Compile to ver. 5 compatible
On selecting Use, the ladder programs will be compiled so that they can be displayed or edited on MPE720
version 5. MPE720 version 5.34 and later can be used for displaying or editing.
1-64
1.9 Environment Settings
1.9.10 Motion/Tab
These options can be used to set the tab stop position and the size of automatic indentation.
Select Motion - Tab from the tree in the Environment Setting Dialog Box to bring up that window, and then make the
Tab
Set the tab stop position. The tab stop position and the size of automatic indentations share the same setting.
Indent
Automatic indentation is a function to indent the start position of the next line to the tab stop position of the
current line when the Enter key is pressed. 1
When the Auto indent check box is selected, automatic indentation is activated.
The tab stop position and the size of automatic indentations share the same setting.
1-65
1 Overview and Basic Operations of MPE720 Version 6
1.9.11 Motion/Font
1.9.11 Motion/Font
Different colors can be used for motion commands, logical axis names, comments to distinguish them from other text
strings in programs. This makes it possible to comprehend the program code at a glance.
Select Motion - Font from the tree in the Environment Setting Dialog Box to bring up that window, and then change
the settings. (Refer to 1.9.1 Environment Setting Dialog Box.)
Font
Set the font family and the font size.
Color
Set the text colors and background colors used in the edit windows.
1-66
1.9 Environment Settings
1-67
1 Overview and Basic Operations of MPE720 Version 6
1.9.14 Variable: Variable
1-68
1.9 Environment Settings
z Alarm Notification
Automatically Notified when the Alarm Occurs
When Notify is selected, the System Monitor Subwindow is automatically displayed when an alarm occurs. 1
Automatically Notified when the Battery Alarm Occurs
This function is valid when Automatic notification when an alarm occurs (above) is set to Notify.
When Notify is also selected, the System Monitor Subwindow is automatically displayed when a battery alarm
occurs.
1-69
1 Overview and Basic Operations of MPE720 Version 6
1.9.16 Transfer: Transfer
z Save to Flash
Automatic Run after Disconnection the Controller
When Yes is selected, project files in the Machine Controller RAM are saved to flash memory when the
Machine Controller is disconnected.
z CPU Control
Check before Write into Controller
This function is valid when Individual is selected in the Transfer Program - Write into Controller Dialog
Box. (Refer to 10.2.1 Writing to Machine Controllers.)
When Yes is selected, a message is displayed for confirmation before data is transferred to the Machine Con-
troller.
1-70
1.9 Environment Settings
1-71
1 Overview and Basic Operations of MPE720 Version 6
1.9.18 Print: Ladder
z Print Setting
Circuit auto-reduction print
When Print is selected, the rungs that cannot fit in one page will be reduced in rung units.
Print the cross reference information
When Print is selected, the cross reference information will be printed on the right side of the ladder program.
When there is too much cross reference information to be printed, the distance between rungs will be automat-
ically adjusted so that they will not run into one another. Thus, the ladder circuit and all the cross reference
information can be printed.
Refer to 9.1.4 Printing Cross-Reference Information for details.
Open closed Scope and print
When Print is selected, all ladder instructions will be expanded to show the details.
Refer to 3.3.10 Inserting Instruction Objects for information on the Minimize/Maximize Button of simplified
display (scope).
Line of instruction object
When Print is selected, the frame of each instruction object in ladder programs will be printed.
1-72
1.10 Connecting to and Disconnecting from Machine Controllers
There are two ways to connect MPE720 version 6 and a Machine Controller:
Project Link Connection: Connects a Machine Controller to MPE720 version 6 with an open project file.
Direct Connection: Connects a Machine Controller to MPE720 version 6 without an open project file.
The following diagrams illustrate data transfer images.
Project file
1
Saving Data while Connected (when Compiled) When a program is compiled while connected to a
MPE720 Ver.6 Machine Controller or when the connection is closed
and the program is compiled, the edited data is written
Edited data
Machine Controller to both the Machine Controller RAM and the open
RAM
project file.
Project file
Before connecting a MPE720 version 6 to a Machine Controller, the settings for the communication processing (refer
to 1.3.7 Communication Process Settings) and the settings for communications (refer to 1.3.6 Communication Set-
tings) must be completed. The following section describes how to make the settings for communications.
1-73
1 Overview and Basic Operations of MPE720 Version 6
1.10.1 Connecting to Machine Controllers
( 1 ) Communications Settings
Configure the communications settings for the Machine Controller.
1. Select Online - Communications Setting from the Main Menu. Alternatively, click Communications
Setting under Controller (or Project) in the Start Window.
The Communications Setting Dialog Box will be displayed.
2. Select the logical port number to be used for connecting to the Machine Controller and click the Set-
ting Button.
For details on the logical port numbers that are set, refer to 1.3.7 Communication Process Settings.
The communications settings will be completed, and the dialog box will be closed.
• The Connection Button and the Setting Button are invalid while connected to the Machine Controller, and
communications cannot be set.
The MPE720 version 6 operations when connecting to a Machine Controller are different from when opening a
project file with connection data (settings made in the Communications Setting Dialog Box) and other situa-
tions.
1-74
1.10 Connecting to and Disconnecting from Machine Controllers
When Disconnection is displayed by selecting Online from the Main Menu, the connection with the Machine
Controller has been completed.
The program displayed when a ladder program is opened after connecting is the program in the Machine Con-
troller RAM. If the displayed ladder program is edited and saved (compiled), the changes will be overwritten in
both the Machine Controller RAM and the open project file (on the computer). For details on saving data while
connected, refer to 1.10.1 Connecting to Machine Controllers.
1-75
1 Overview and Basic Operations of MPE720 Version 6
1.10.1 Connecting to Machine Controllers
The connection to the Machine Controller will be started by clicking the Connect Button. When the connection has
been made, the Machine Controller name and a ladder program tree will be displayed in the Ladder Subwindow.
If the Not connect Button is clicked, the project file will be opened without connecting to the Machine Controller.
The program displayed when a ladder program is opened after connecting is the program in the Machine Con-
troller RAM. If the displayed ladder program is edited and saved (compiled), the changes will be overwritten in
both the Machine Controller RAM and the open project file (on the computer). For details on writing data while
connected, refer to 1.10.1 Connecting to Machine Controllers.
1-76
1.10 Connecting to and Disconnecting from Machine Controllers
( 3 ) Direct Connection
Connect to the Machine Controller as described below.
The program displayed when a ladder program is opened after connecting is the program in the Machine Con-
troller RAM, and it is not yet saved in the HDD of the computer. Refer to 10.2.4 Reading from Machine Control-
lers and save the Machine Controller application data to a project file on the computer.
1-77
1 Overview and Basic Operations of MPE720 Version 6
1.10.2 Disconnecting from Machine Controllers
1. Select Online - Disconnection from the Main Menu, or select Disconnection under Controller in the
Start Window.
The connection to the Machine Controller will be closed, and the Ladder Subwindow will become blank.
The connection is also closed by exiting MPE720 version 6.
1. Select Online - Disconnection from the Main Menu, or select Disconnection under Project in the Start
Window.
The connection to be Machine Controller will be closed, and a window will be displayed for the open project file.
The connection is also closed when by exiting MPE720 version 6 or by closing the project file.
1-78
1.11 Stopping (STOP) and Restarting (RUN) the Machine Controller CPU
1-79
1 Overview and Basic Operations of MPE720 Version 6
1.11.1 Stopping Machine Controller CPU (STOP)
CPU STOP can be set again even after it has been previously set by using this function. This is because of the pos-
sibility that multiple users may be connected simultaneously to the same Machine Controller, and that the CPU sta-
tus may be changed by another user. Even if the CPU status is changed by another user, the CPU can be certainly
stopped by setting CPU STOP.
1-80
1.11 Stopping (STOP) and Restarting (RUN) the Machine Controller CPU
CPU RUN can be set again even after it has been previously set by using this function. This is because of the possi-
bility that multiple users may be connected simultaneously to the same Machine Controller, and that the CPU status
may be changed by another user. Even if the CPU status is changed by another user, the CPU can be certainly
restarted by setting CPU RUN.
1-81
1 Overview and Basic Operations of MPE720 Version 6
1.12.1 Security for User
1.12 Security
1.12.1 Security for User
For details, refer to 1.9.4 Security: User Registration.
Once a password has been set, be very careful not to forget it. If a password that has been set is forgotten,
there is no way to undo it, and that user will no longer be able to open the project file.
( 1 ) Setting a Password
1. Right-click the program for which a password is to be set in the Ladder Subwindow, and select Set
Password from the pop-up menu that will be displayed.
The Program Password Dialog Box will be displayed.
1-82
1.12 Security
2. Enter a password of 1 to 8 characters in the New Password Field. Enter the same password again in
the Password (Confirm) Field, and click the OK Button.
The OK Button is valid when one or more characters of the text are entered in the Password (Confirm) Field.
No distinction is made between uppercase and lowercase.
( 2 ) Changing a Password
1. Right-click the program for which the password is to be changed in the Ladder Subwindow, and select
Set Password from the pop-up menu that will be displayed.
The Program Password Dialog Box will be displayed.
1. Right-click the program for which the password is to be cancelled in the Ladder Subwindow, and select
Cancel Password from the pop-up menu that will be displayed.
1-83
1 Overview and Basic Operations of MPE720 Version 6
1.12.3 Setting Passwords for Ladder Programs
2. Enter the current password in the Program Password Field, and click the OK Button.
The OK Button is valid when one or more characters of text are entered in the Program Password Field.
The lock mark will be removed from icon for the ladder program selected in step 1, and the Program Password
Dialog Box will be closed.
1. When an attempt is made to open a ladder program for which a password is set (i.e., a ladder program
indicated by a lock at the icon), the Program Password Dialog Box is displayed.
2. Enter the current password in the Program Password Field, and click the OK Button.
The OK Button is valid when one or more characters of text are entered in the Program Password Field.
The selected ladder program will be opened in the main window.
When opening a CP ladder program or motion program, the password must be cancelled. If a password is
required, a new password can be created after the operation is completed.
1-84
1.12 Security
When the Apply File Reading Restriction check box is selected while the CARD and SAVE DIP switches
on Machine Controller MP2200 CPU-02 are set to ON, the function for saving to a CF card will be disabled.
For details, refer to Machine Controller MP2200 User’s Manual (manual no. SIEPC88070014).
1-85
1 Overview and Basic Operations of MPE720 Version 6
1.12.4 Online Security
1. With the Machine Controller connected to the MPE720 version 6 (online), select Online - Security
Setting from the main menu.
The Security Setting Dialog Box will appear.
2. Select the Apply File Reading Restriction check box, and then select a program privilege level from
the Restriction Privilege combo-box list.
3. Enter a security key (password) in the Security Key Field, and re-enter it in the Security Key Confir-
mation Field. Then, click the Set Button.
The Set Button will be activated when one or more characters are entered in the Security Key Field.
The file reading restriction and security key will be set, and the following message will be displayed asking for
confirmation.
4. Click OK.
Click the Close Button in the upper-right to close the Security Setting Dialog Box.
If saving to flash memory is required, save the settings to the flash memory.
1-86
1.12 Security
1. With the Machine Controller connected to the MPE720 version 6 (online), select Online - Security
2. Enter the correct security key (password) in the Security Key Field, and then click Set to None.
The following message will appear asking for confirmation.
1
3. Click OK.
Click the Close button in the upper-right to close the Security Setting Dialog Box.
If saving to flash memory is required, save the change to the flash memory.
1-87
1 Overview and Basic Operations of MPE720 Version 6
1.12.4 Online Security
1. With the Machine Controller Connected to the MPE720 version 6 (online), select Online - Security
Setting from the main menu.
The Security Setting Dialog Box will appear.
2. Select or deselect the Apply File Reading Restriction check box, or change the level in the Restric-
tion Privilege Field, as required.
3. Enter the correct security key (password) in the Security Key Field, and then click Set.
The following message will appear asking for confirmation.
4. Click OK.
Click the Close button in the upper-right to close the Security Setting Dialog Box.
If saving to flash memory is required, save the change to the flash memory.
1-88
1.12 Security
1. With the Machine Controller connected to the MPE720 version 6 (online), select Online - Security
3. Enter the currently valid security key (password) in the Current Security Key Field and a new security
key in the New Security Key Field. Re-enter the new security key in the New Security Key Confir-
mation Field. Then click OK.
The following message will appear asking for confirmation.
4. Click OK.
Click the Close button in the upper-right to close the Security Setting Dialog Box.
If saving to flash memory is required, save the change to the flash memory.
1-89
2
Configuration
This chapter provides an overview of module configuration definitions and motion parameter
functions.
Configuration
2.1 Module Configuration - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2-2
2.2 Motion Parameters - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2-4
2.2.1 Fixed Parameters - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2-4
2.2.2 Setting Parameters - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2-4 2
2.2.3 Monitoring Parameters - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2-4
2.2.4 SERVOPACK Parameters - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2-4
2-1
2 Configuration
Set and save the module configuration of a Machine Controller with the following procedure.
2. When online, select Order - Self Configure All Modules from the main menu.
The data for all electrical devices connected to the Machine Controller will be written to the Machine Controller.
When offline, Self-configuration cannot be executed. Make the settings manually for each Module.
2-2
2.1 Module Configuration
3. Double-click Module detail fields as required to display Configuration Data Area and change the settings.
Configuration
For details on Configuration, refer to the relevant Machine Controller or Option Module operation manual.
4. Select File - Save & FLASH Save from the main menu.
The Module Configuration will be saved in the Machine Controller flash memory and RAM.
When offline, execute the save operation by selecting File - Save.
2
2-3
2 Configuration
2.2.1 Fixed Parameters
2-4
2.2 Motion Parameters
Configuration
SERVOPACK Parameter Setting Window 2
Unmatched Parameters Displayed in Red
Display of alarm message and unmatched values can be used to prevent incorrect parameters from being written into a
SERVOPACK.
Select Edit - SERVOPACK Current Value → Input Data from the main menu of the Engineering Manager to set the
current value as the set value.
2-5
3
Ladder Programming
This chapter provides an overview of ladder programming and describes basic operations.
Ladder Programming
3.1 Overview of Ladder Programming - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-3
3.1.1 What is Ladder Programming? - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-3
3.1.2 Overview of Ladder Program Functions - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-4
3-1
3 Ladder Programming
3-2
3.1 Overview of Ladder Programming
Ladder Programming
3
For details on displaying the Ladder Program Edit Window, refer to 3.2 Beginning Ladder Programming.
For details on editing ladder programs, refer to 3.3 Editing Ladder Programs.
For details on compiling ladder programs, refer to 3.3.17 Ladder Program Compiling and Compile Options.
For details on transferring Machine Controller programs, refer to 1.12 Security.
3-3
3 Ladder Programming
3.1.2 Overview of Ladder Program Functions
3-4
3.2 Beginning Ladder Programming
Ladder Programming
Ladder Program Edit Window
The Ladder Program Edit Window is displayed to perform either of the following operations:
• Creating new ladder programs 3
• Opening ladder programs
Both of these operations are described below.
For details on the Ladder Program Edit Window, refer to 3.3.1 Ladder Program Edit Window.
3-5
3 Ladder Programming
3.2.1 Creating New Ladder Programs
3
10 4
5
6
7
8
9
3-6
3.2 Beginning Ladder Programming
5. Write
Select a writing privilege level between 0 and 7 for this program. The higher the number, the higher the privi-
lege level will be. Numbers cannot be entered directly.
A writing privilege level cannot be set higher than the current user level.
For details on user privilege levels and writing privilege levels, refer to User Privilege Levels and Reading and
Writing Privilege Levels below.
6. Use Register Number
The number of D registers, work registers, and # registers used by this program are displayed here.
7. D Register
Set the maximum number of D registers (between 0 and 16,384) to be used by this program. The number can
be set either by directly entering it or by using the spin buttons.
8. Work Register
The number of D registers used as work registers by the system is displayed here. This number cannot be set.
9. # Register
Set the maximum number of # registers (from 0 to 16,384) to be used by this program. The number can be set
either by directly entering it or by using the spin buttons.
10. Detail Definition
This setting is not required when creating a new program. Refer to 3.4.3 ( 5 ) Ladder Program Properties.
Ladder Programming
Make the above settings, and click the OK Button. The Create New Program Dialog Box will be closed, and the
Ladder Program Edit Window will be displayed as shown below with only the program title (by default, the program
number), the number 0000 rung, and the END instruction entered. A ladder program can now be created.
For details on editing ladder programs and on the terminology, refer to 3.3 Editing Ladder Programs.
3-7
3 Ladder Programming
3.2.2 Creating Ladder Programs in the CP Form
1. In the Ladder Subwindow, right-click a program folder or program from High-speed to Interrupt, and
select Create new CP ladder from the pop-up menu that will be displayed.
Create new CP ladder is displayed only when the Create new CP ladder: use Option is selected in the Envi-
ronment Setting Dialog Box. For details, refer to 1.9.9 Ladder: General.
The Create New Program Dialog Box will be displayed.
For details on the items to be set, refer to 3.2.1 Creating New Ladder Programs.
The Engineering Manager will be started, and the Edit Window for CP ladder programs will be displayed.
3-8
3.2 Beginning Ladder Programming
2. Select File - Open - Program - Open New Diagram from the Main Menu.
The Open DWG setting Dialog Box will be displayed.
3. Enter the name of the diagram, and then click the OK Button.
Ladder Programming
The Edit Window for CP ladder programs will be displayed.
3-9
3 Ladder Programming
3.2.3 Opening Ladder Programs
When the dialog box is displayed, enter the password in the Program Password Field, and click the OK Button.
The OK Button is valid when one or more characters of text are entered in the Program Password Field.
CP ladder programs can also be opened. For details, refer to 1.8.4 Opening an MPE720 Version 5 MAL File.
3-10
3.2 Beginning Ladder Programming
3.2.5 Displaying and Editing MPE720 Version 6 Ladder Programs on MPE720 Ver-
sion 5
To display and edit the ladder programs that were created on MPE720 version 6 on MPE720 version 5, the ladder pro-
grams need to be compiled into MPE720 version 5 compatible programs.
The ladder programs can be compiled into MPE720 version 5 compatible programs by the following methods.
MPE720 version 5 compatible programs mean that programs originally made with version 6 are compiled into a for-
mat that is compatible with MPE720 version 5.
Refer to 3.3.17 Ladder Program Compiling and Compile Options for details.
Ladder Programming
3. Select Compile from the Main Menu again. The Compile to Ver.5 Compatible command will appear
under Compile menu.
Click Compile to Ver.5 Compatible to start compilation.
3
Selecting Compile - Compile All Programs from the Main Menu will compile all ladder programs at once.
4. Write the ladder program into the Machine Controller and save.
Start MPE720 version 5 and read the data of the ladder program from the Machine Controller.
3-11
3 Ladder Programming
3.3.1 Ladder Program Edit Window
1. Program comment
2. Rung comment
3. Rung
4. Branch
5. Input guide
6. Instruction object
7. END instruction
8. Rung number
block
1. Program Comments
A comment about the program. The program name is displayed as the program comment when the program is
created.
For details on editing program comments, refer to 3.3.5 Editing Program Comments.
2.Rung Comments
A comment about the next rung or rung block. Multiple rung comments can be set for a single rung.
For details on creating and editing rung comments, refer to 3.3.6 Inserting and Editing New Rung Comments.
3. Rungs
A basic line for placing objects, such as instructions and branches.
For details on inserting and editing rungs, refer to 3.3.7 Inserting and Editing New Rungs.
4. Branches
Lines used for arranging instructions in parallel. Further branches can also be created from the original branches.
For details on inserting and editing branches, refer to 3.3.8 Inserting Branches and 3.3.9 Editing Branches.
5. Input Guide
Displays the object entry position.
6. Instruction Objects
The instruction name, comment, variable name, and register* are displayed for each instruction object. Different
instruction types are distinguished by color.
* The register can be displayed or hidden. The default is for the register address to be hidden (as in the above
window). For details on displaying or hiding addresses, refer to 3.3.4 Changing Edit Window Displays.
For details on inserting and editing instructions, refer to 3.3.10 Inserting Instruction Objects and 3.3.11 Editing
Instruction Objects.
7. END Instruction
Entered when a program is created and indicates the end of the program. Cannot be edited.
8. Rung Number Blocks
Displays Rung information. Rung information cannot be edited.
Line 1, rung number: The rung number is displayed.
Line 2, step number: The total number of steps up until that rung is displayed.
Line 3, nesting number: The nesting level is displayed.
Objects
All components used in creating ladder programs are called objects.
3-12
3.3 Editing Ladder Programs
The Ladder Editor Toolbar is used for editing ladder program objects.
The Ladder Instruction Toolbar is used for entering instruction objects into ladder programs. Instruction objects can be
entered by simply clicking the icons.
For details on entering instruction objects, refer to 3.3.10 Inserting Instruction Objects.
Ladder Programming
( 3 ) Ladder Instruction Subwindow
The Ladder Instruction Subwindow is used for entering instruction objects into
ladder programs. Instructions can be entered by dragging and dropping them in
edit subwindows.
Click the Expand Button (+) to enlarge the ladder instruction stored in the Ladder
Instruction Subwindow, and click the Contract Button (−) to shrink the instruction.
For details on entering instruction objects, refer to 3.3.10 Inserting Instruction
Objects. 3
( 4 ) Variable Subwindow
The Variable Subwindow is used for entering comments and variables for instruction objects. A variable tree is displayed.
Variables and comments are expanded to display by clicking the Expand Button (+). The original display is restored by
clicking the Contract Button (−).
The Local Variable Subwindow is displayed by moving the cursor to the Local Variable Tab Page.
For details on entering variables in ladder programs, refer to 3.3.12 Entering and Changing Variables and Registers.
For details on variables, refer to Chapter 5 Variables.
3-13
3 Ladder Programming
3.3.3 Updating Subwindow Displays
The display magnification can be changed to 10%, 25%, 50%, 75%, 100%, 125%, 150%, 175%, or 200% by clicking
the drop-down arrow and selecting the magnification from the list. The number of the display magnification is set in
1% increments by directly entering the number (10% to 500%) into the Magnification Box.
Click the OK Button to close the dialog box and change the display magnification.
Click the Cancel Button to cancel the setting and close the dialog box.
Click the Apply Button to change the display magnification while leaving the dialog box open so that the display
magnification can be changed again.
3-14
3.3 Editing Ladder Programs
The display/hide function for registers, variables, and comments can be used in the following combinations.
√ √ √ √ − −
√ √ − − √ −
Ladder Programming
√ − √ − − √
− √ √ − − −
3
√ : Display − : Hide
Even if variables are set to be Displayed, the register will be displayed if no variable is set for that address.
3-15
3 Ladder Programming
3.3.4 Changing Edit Window Displays
Category:
Click the drop-down arrow and select the instruction category to be set. (Refer
to the illustration on the left.)
If Instruction or Instruction Name is selected from the Item Combo box and
the instruction category is selected from the Category Comb box, the display in
the Sample Field will be changed to the current value of the selected instruction.
Color:
3-16
3.3 Editing Ladder Programs
Sample:
Displays preview.
Ladder Programming
3
The following items can be set. When a setting is changed, the change is reflected in the text in the Sample Field.
Font:
Select from the list the font that is to be used in the Edit Window. The fonts displayed in the list will vary
depending on which fonts are installed in the computer.
Size:
Select from the list the font size (points) that is to be used in the Edit Window. The text cursor is displayed by
clicking inside the comb box and then a number from 1 to 128 can be entered directly.
If an out-of-range number is entered, and the OK Button or the Apply Button is clicked, the previously set
number will be restored.
Style:
Use the B, I, and U Buttons to set the font styles to be displayed in the Edit Window.
Each of these buttons can be set independently. The setting is toggled between ON and OFF each time a but-
ton is clicked.
B: Bold
I: Italic
U: Underline
3-17
3 Ladder Programming
3.3.4 Changing Edit Window Displays
3-18
3.3 Editing Ladder Programs
Ladder Programming
With Wrapping; Without Reducing With Wrapping and Reducing
Display Register:
When the check box is selected, register addresses are displayed in instruction objects. This setting is linked 3
with the operation of the Address Display Button in the Ladder Editor Toolbar. (Refer to 3.3.4 Changing Edit
Window Displays and ( 2 ) Displaying or Hiding Addresses, Variables, and Comments.)
Comment:
Check Box:
When the check box is selected, comments are displayed in instruction objects. The method for displaying com-
ments can also be set. When the check box is unchecked, comments are not displayed and the setting fields are
also invalid.
This setting is linked with the operation of the Comment Display Button in the Ladder Editor Toolbar. (Refer to
3.3.4 Changing Edit Window Displays and 3.3.4 ( 2 ) Displaying or Hiding Addresses, Variables, and Com-
ments.)
Single line strings:
The maximum number of characters that can be entered in one line in the Comment Field for an instruction object
can be set from 10 to 255.
Maximum Number of Lines:
The maximum number of lines that can be entered in the Comment Field for an instruction object can be set from
1 to 5, or to No limit. Numbers cannot be entered.
Allocate:
Comments in the instruction object Comment Field formatted as Center, Flush Left, or Flush Right.
3-19
3 Ladder Programming
3.3.4 Changing Edit Window Displays
The key allocations used for entering instructions for objects can be changed.
Double-click in the Key Field for the instruction that is to be changed, as shown in the window above. When the text
cursor is displayed, enter the key that is to be allocated.
If a key that is already being used is allocated or deleted, the following error message will be displayed.
3-20
3.3 Editing Ladder Programs
Ladder Programming
( 2 ) Editing Comments Directly in the Program Comment Field
1. Click a program comment to select it, and then select Program - Edit Program Comment from the
Main Menu. Alternatively, right-click the program comment and select Edit Program Comment from
the pop-up menu that will be displayed.
The mode will be changed to the Program Comment Edit Mode, and the entered text will be selected.
3-21
3 Ladder Programming
3.3.6 Inserting and Editing New Rung Comments
1. Click to select the rung number block for the rung where the rung comment is to be inserted.
2. Select Program - Insert Rung Comment from the Main Menu. Alternatively, right-click the rung num-
ber block and select Insert Rung Comment from the pop-up menu that will be displayed.
The rung comment will be inserted before the selected rung, as shown in the following illustration.
3. Press the Enter Key to exit the edited rung comment and also press the Esc Key to cancel the editing
operation.
3-22
3.3 Editing Ladder Programs
• Select Program - Insert Rung or Add Rungs from the Main Menu.
• Right-click the rung number block and select Insert Rung or Add Rungs from the pop-up menu that will be
Ladder Programming
displayed.
• Press the Insert Key on the keyboard.
With any the above operations, a new rung will be inserted before the selected rung (or after, for Add), and the
rung number in the inserted position will be advanced by one.
When Insert Rung or Add Rungs is selected, or when the Insert Key is pressed, an input guide will be displayed
for the inserted rung.
The number of rungs that can be inserted with a single insertion operation can be changed using the Ladder
Tab Page in the Editor Option Dialog Box. For details, refer to 3.3.4 ( 3 ) Changing Edit Window Displays (Edi-
tor Options).
3
( 2 ) Cutting, Copying, and Pasting Rungs
2. With the rung number block selected, select Edit - Cut (or Copy) from the Main Menu. Alternatively,
right-click the rung number block and select Cut or Copy from the pop-up menu that will be displayed.
After the rung has been cut, it must be pasted before another cut or copy operation is executed or else the
branch that was cut first will be deleted.
3. Select the rung number block for the insertion position, and select Edit - Paste from the Main Menu.
Alternatively, right-click the rung number block for the insertion position, and then select Paste from the
pop-up menu that will be displayed.
Rungs from other ladder programs and program files can also be pasted.
1. Select and drag the number block of the rung that is to be moved.
An UP pointer “ ” between the rungs will be displayed where the moved rung will be dropped.
2. Release the mouse button when the “ ” symbol is displayed at the destination position.
( 4 ) Deleting Rungs
1. Select the number block of the rung to be deleted, and then select Edit - Delete from the Main Menu.
Alternatively, right-click the rung number block and select Delete from the pop-up menu that will be dis-
played. Another method is to press the Delete Key on the keyboard.
Rung comment objects can be moved and deleted using the same methods as in (3) and (4).
3-23
3 Ladder Programming
3.3.8 Inserting Branches
1. Click the position where the branch is to be inserted to display an input guide.
2. Select Program - Insert Branch from the Main Menu. Alternatively, right-click the input guide and
select Insert Branch from the pop-up menu that will be displayed. Another method is to press the
Ctrl+B Keys.
An empty branch will be inserted with branch points before and after the input guide.
1. Click one end of the position where the branch is to be inserted, to display an input guide.
2. Either click the Create Branch Mode Icon ( ) in the Ladder Edit Toolbar, or select Program - Create
Branch Mode from the Main Menu. Alternatively, press the Ctrl+I Keys.
The cursor will be changed for creating branches.
4. Move the cursor to display a V symbol for the branch end point, and click the V.
3-24
3.3 Editing Ladder Programs
2. Right-click the selected instruction object and select Insert Branch from the pop-up menu that will be
displayed. Alternatively, select Program - Insert Branch from the Main Menu. Another method is to
press the Ctrl+B Keys.
A branch with that instruction will be inserted in parallel to the selected instruction object.
Ladder Programming
Fields and 3.3.12 Entering and Changing Variables and Registers.
For information on the meanings and uses of ladder instructions, refer to the Machine Controller MP900/
MP2000 Series New Ladder Editor User’s Manual (SIEZ-C887-13.2).
If more than one instruction object is selected, the last one selected will be taken as the selected object.
2. From the Ladder Instruction Toolbar, click the object to be arranged on the branch.
Alternatively, right-click the selected instruction object and select Add Parallel Instruction - [Instruc-
tion Type] - [Instruction] from the pop-up menu that will be displayed. Another method is to select
Program - Add Parallel Instruction - [Instruction Type] - [Instruction] from the Main Menu. Another
method is to drag and drop an instruction from the Instruction Subwindow into the instruction object of
step 1.
A branch with the instruction selected in step 2 will be inserted in parallel with the instruction object selected in
step 1.
For details on entering comments and registers for the inserted instruction, refer to 3.3.13 Editing Comment
Fields and 3.3.12 Entering and Changing Variables and Registers.
For information on the meanings and uses of ladder instructions, refer to the Machine Controller MP900/
MP2000 Series New Ladder Editor User’s Manual (SIEZ-C887-13.2).
3-25
3 Ladder Programming
3.3.9 Editing Branches
1. Click the branching point of the branch that is to be edited. A branch edit mark ( ) will be displayed
and the branch that is to be edited will be selected. Be careful when clicking the branching point,
because the object that is selected will differ as shown below depending on which place is clicked.
Edit mark
Edit mark
2. Select Edit - Cut or Copy from the Main Menu. Alternatively, right-click the edit mark and select Cut or
Copy from the pop-up menu that will be displayed. Another method is to press the Ctrl+X Keys (Cut)
or the Ctrl+C Keys (Copy).
After a branch has been cut, it must be pasted before another cut or copy operation is executed or else the
branch that was cut first will be deleted.
4. Select Edit - Paste from the Main Menu. Alternatively, right-click the edit mark and select Paste from
the pop-up menu that will be displayed. Another method is to press the Ctrl+V Keys.
When any of the above is executed, the cut or copied branch will be inserted at the input guide position.
1. Select the branch to be moved. The edit mark ( ) will be displayed. (For details on objects of edit
marks, refer to 3.3.9 ( 1 ) Cutting, Copying, and Pasting Branches.)
2. Drag the edit mark to display the input guide at the destination position, and release the mouse button.
Rungs with other ladder programs displayed in the Ladder Subwindow can also be used.
3-26
3.3 Editing Ladder Programs
1. Select the branch position to be changed. The edit mark ( ) will be displayed. (For details on applica-
ble objects of edit marks, refer to 3.3.9 ( 1 ) Cutting, Copying, and Pasting Branches.
2. Click the Branch Edit Mode Icon ( ) in the Ladder Editor Toolbar. Alternatively, select Program -
Branch Edit Mode from the Main Menu.
The cursor will be changed for editing branches.
3. Move the cursor to display the Up or Down Arrow at either the input or output side of the branch,
whichever side is to be changed, and click the edit mark.
Ladder Programming
The branch point will then move with the cursor.
The change of branch positions can be cancelled by pressing the Esc Key.
6. Click the Normal Edit Mode Icon ( ) in the Ladder Editor Toolbar to exit the Branch Edit Mode and
return the cursor to its normal form.
The cursor will be also returned to its normal form by pressing the Esc Key.
( 4 ) Deleting Branches
1. Select the branch to be deleted. The edit mark ( ) will be displayed. (For details on applicable objects
of edit marks, refer to 3.3.9 ( 1 ) Cutting, Copying, and Pasting Branches.
2. Select Edit - Delete from the Main Menu. Alternatively, right-click the edit mark and select Delete from
the pop-up menu that will be displayed. Another method is to press the Delete Key.
3-27
3 Ladder Programming
3.3.10 Inserting Instruction Objects
For information on the meanings and uses of ladder instructions, refer to Machine Controller MP900/MP2000 Series
New Ladder Editor Programming Manual (SIEZ-C887-13.1).
1. Click the position that the ladder instruction is inserted to display the input guide.
2. Enter the instruction name or instruction key allocation. Alternatively, press any key on the keyboard.
A list of instruction names will be displayed as shown below.
3-28
3.3 Editing Ladder Programs
3. Enter the instruction name and instruction key allocation and press the Enter Key, or select the instruc-
tion name and instruction key allocation from the list.
The instruction object will be inserted at the input guide position.
Insertion of the instruction can be cancelled by pressing the Esc Key or clicking outside of the list and field in
the Ladder Edit Window before pressing the Enter Key or clicking in the list.
Ladder Programming
W: Word type
L: Long type
F: Float type
A: Address type
B: Bit type
3-29
3 Ladder Programming
3.3.11 Editing Instruction Objects
5. Minimize Button
Instruction objects can be minimized the display as shown below. The original display size (more detailed) can
be restored by clicking the Maximize Button.
Maximize Button
2. Select Edit - Cut or Copy from the Main Menu. Alternatively, right-click the selected instruction objects
and select Cut or Copy from the pop-up menu that will be displayed. Another method is to press the
Ctrl+X Keys (Cut) or the Ctrl+C Keys (Copy).
After an instruction object has been cut, it must be pasted before another cut or copy operation is executed or
else the branch that was cut first will be deleted.
3. Either click the insertion position to display an input guide, or select the instruction object at the inser-
tion position.
Objects from other ladder programs and other project files can also be used.
4. Select Edit - Paste from the Main Menu. Alternatively, right-click the selected instruction object and
select Paste from the pop-up menu that will be displayed. Another method is to press the Ctrl+V Keys.
If an input guide was displayed in step 3, then the instruction object selected in step 1 will be inserted at that posi-
tion.
If an instruction object was selected in step 3, then the instruction object selected in step 1 will be inserted in par-
allel with that object.
2. Release the mouse button when the V is displayed at the destination position.
( 4 ) Changing instructions
Instructions that have already been entered can be changed to other instructions.
3-30
3.3 Editing Ladder Programs
1. Select the instruction object that is to be changed, and click the Instruction Name Field. Alternatively,
select Program - Edit Instruction from the Main Menu. Another method is to right-click the instruction
object and select Edit Instruction from the pop-up menu that will displayed.
The instruction name will be selected, and the List Button will be displayed.
2. Enter an instruction name and instruction key allocation and press the Enter Key, or select an instruc-
tion name and instruction key allocation from the list.
The instruction object selected in step 1 will be replaced by the instruction object entered in step 2.
Insertion of the instruction can be cancelled by pressing the Esc Key or clicking outside of the list or field in the
Ladder Edit Window before pressing the Enter Key or clicking in the list.
Ladder Programming
Variables can be entered in the following ways.
• Directly entering the address or variable name
• Copying and pasting the variable
• Dragging and dropping the variable
Variables that have already been entered can be changed to other variables.
Variables are assigned in a database with names called variable names given to combinations of comments, regis-
ter types, and registers. Six types of variables can be referenced from any project file: system variables, axis vari-
ables, I/O variables, global variables, and local variables assigned for individual programs. For details on variables, 3
refer to Chapter 5 Variables.
1. Click to select the Variable Name Field of the instruction object for which the variable is to be entered
or changed, and then enter the register or variable name.
1. Select the variable that is to be entered or changed in the Variable Subwindow, and then select Edit -
Copy from the Main Menu. Alternatively, right-click the variable to be entered in the Variable Subwindow,
and then select Copy from the pop-up menu that will be displayed.
3-31
3 Ladder Programming
3.3.12 Entering and Changing Variables and Registers
2. Click to select the Variable Name Field of the instruction object for which the variable is to be entered,
and then select Edit - Paste from the Main Menu. Alternatively, right-click the Variable Name Field of
the instruction object, and then select Paste from the pop-up menu that will be displayed.
The variable will be entered in the instruction object.
Paste
The variable cannot be entered when anything other than the Variable Name Field is selected.
1. Select the variable that is to be entered or changed in the Variable Subwindow, and then drag it to the
instruction object.
2. When > is displayed in the Variable Name Field of the instruction object, release the mouse button to
enter the variable.
3-32
3.3 Editing Ladder Programs
Variable Comments
Comments can be edited by double-clicking the Comment Field to display the Edit variable Dialog Box. For details,
refer to 5.2.3 ( 3 ) Editing I/O Module Names and Comments.
Ladder Programming
Comments Other Than Variable Comments
3
Editing is enabled by double-clicking the Comment Field to display the Comment Editor.
When any of the following operations is performed while the Comment Field is selected, the mode will be changed to
Comment Edit Mode. If any text has already been entered, that text will be selected.
• Select Program - Edit Comment from the Main Menu.
• Press the F2 Key.
• Right-click a comment and select Edit Comment from the pop-up menu that will be displayed.
3-33
3 Ladder Programming
3.3.14 Entering and Editing Expressions for EXPRESSION Instructions
Comment Field
Expression Field
Comments are displayed in green in the Expression Editor. Reserved words are displayed in blue.
3-34
3.3 Editing Ladder Programs
1. Right-click the Function Folder in the Ladder Subwindow and select Create New Program from the
pop-up menu that will be displayed.
The Create New Program Dialog Box will be displayed.
2. Click I/O definition on the left side of the dialog box to display Function input no., Address input no.,
and Function output no.
Ladder Programming
3
3. Click these to display the respective detail definition windows, and then set the details.
Function Input No.: Set the number of data items to be entered for FUNC instruction objects in the ladder pro-
gram. Click the Type Field and then select BIT, WORD, LONG, or FLOAT as the data type.
Addresses Input No.: Set the number of addresses for FUNC instruction objects.
Function Output No.: Set the number of data objects to be output from FUNC instruction objects. Click the Type
Field and then select BIT, WORD, LONG, or FLOAT as the data type.
After a function has been set, it will be displayed in the right side of the Create New Program Dialog Box.
3-35
3 Ladder Programming
3.3.15 Creating Functions
4. Click the OK Button in the Create New Program Dialog Box. The function will be created and will be
displayed under the Function Folder in the Ladder Subwindow.
3-36
3.3 Editing Ladder Programs
1. Click the position where the function is to be entered in the Ladder Program Edit Window. The pointer
will change to a “V” to show where the data is to be entered.
2. Select FUNC: User Function from the entry list for the instruction.
Ladder Programming
The FUNC instruction object will be entered at the ladder input guide position.
3. Double-click the Name Field and enter the function name to be used. Alternatively, select the function
name to be used from the list displayed in the Name Field.
3
The FUNC instruction object will be entered.
3-37
3 Ladder Programming
3.3.17 Ladder Program Compiling and Compile Options
Compile Options
With a ladder program displayed in the main window, select Compile - Compile Option from the Main Menu. The
Compile Option Dialog Box will be displayed as shown below. Either of the compile options can then be set. This
setting will be applied to all programs.
3-38
3.3 Editing Ladder Programs
Ladder Programming
3
3-39
3 Ladder Programming
3.4.1 Changing Ladder Subwindow Displays
The following operations can be executed for ladder programs in the Ladder
Subwindow:
• Creating programs (Refer to 3.2.1 Creating New Ladder Programs.)
• Opening edit windows for ladder programs (Refer to 3.2.3 Opening Lad-
der Programs.)
• Cutting, copying, and pasting
• Deleting
• Changing names
• Compiling (Refer to 3.3.17 Ladder Program Compiling and Compile
Options.)
• Enabling or disabling
• Displaying properties
• Setting and cancelling passwords
Fig. 3.3 Ladder Subwindow
This section describes how to change the display and manage ladder programs in the Ladder Subwindow.
3-40
3.4 Managing Programs in the Ladder Subwindow
( 2 ) Displaying Properties
The Ladder Display Property Dialog Box will be displayed by clicking the Ladder Program Properties Button.
Ladder Programming
3
3-41
3 Ladder Programming
3.4.3 Managing Ladder Program Files
1. Open the project file for which the ladder program is to be cut or copied, and display the Ladder Sub-
window. (Refer to 1.8.3 Opening Project Files.)
2. If the paste destination is a separate project file, open that project file in a separate window and display
the Ladder Subwindow.
3. In the Ladder Subwindow for the project file that was opened in step 1, select the program that is to be
cut or copied.
A folder, such as the Ladder program Folder of the High-speed Folder, can also be selected. In that case, the
operation will apply to all of the ladder programs under the folder. The folder itself cannot be cut or copied.
When a program is selected, the operation will apply to all of the programs belonging to that program.
4. In the Ladder Subwindow for the project file where the ladder program is to be pasted, select the desti-
nation program folder.
5. Right-click the paste destination folder and select Paste from the pop-up menu that will be displayed.
Alternatively, select Edit - Paste from the Main Menu.
The ladder program cut or copied in step 3 will be over written to the program folder selected in step 4.
2. Either select Edit - Delete from the Main Menu, or right-click the selected program file and select
Delete from the pop-up menu that will be displayed. Alternatively, press the Delete Key.
3-42
3.4 Managing Programs in the Ladder Subwindow
2. Right-click the selected program and select Rename from the pop-up menu that will be displayed.
The Program Property Dialog Box will be displayed.
Ladder Programming
3. Change the name displayed in the Program No. Field, and click the OK Button.
1. Select the program or program folder that is to be enabled or disabled in the Ladder Subwindow. 3
If a program folder is selected, the operation will apply to the main program in that folder.
2. Right-click the selected program (or folder) and select Enable/Disable from the pop-up menu that will
be displayed. (If a folder is selected, select Enable Main Program or Disable Main Program.)
A message asking for confirmation will be displayed.
3. Click the Yes Button in the message box. Disable or Enable will be set.
3-43
3 Ladder Programming
3.4.3 Managing Ladder Program Files
1. Select the ladder program file for which the properties are to be displayed in the Ladder Subwindow.
2. Right-click the selected program and select Property from the pop-up menu that will be displayed.
The Program Property Dialog Box will be displayed.
[ a ] Configuration
The file privilege and number of registers to be used can be set.
For details on the items to be set for the Configuration, refer to 3.2.1 Creating New Ladder Programs.
The numbers can be set by clicking the Read, Write, D register, and # register Fields.
For details on renaming ladder programs, refer to 3.4.3 ( 3 ) Renaming Ladder Programs.
3-44
3.4 Managing Programs in the Ladder Subwindow
[ b ] Detail Definition
The number of steps being executed and the date and time of the latest modification of the program are displayed. The
operation to convert data from real-numbers to integers can be displayed and set.
Ladder Programming
No. of steps
Displays the number of steps being executed. Cannot be edited.
Modified
Displays the date and time of the latest modification of the program. Compiling the program will refresh the
displayed date and time. Cannot be edited.
Setting the operations
The operation to convert data from real-numbers to integers can be set. 3
[ c ] Modified History
The revision history can be confirmed.
Modified history
The latest 10 revision records of the program can be displayed.
3-45
3 Ladder Programming
3.5.1 Monitoring Ladder Program Execution
3-46
3.5 Debugging Ladder Programs
( 1 ) Searching in a Program
1. Display the program that is to be searched in the foreground of the Ladder Edit Window, and select
Edit - Search from the main menu.
The Search Dialog Box will be displayed.
2. Click the Variable, Instruction, or Comment Tab Page, and specify the content of the search.
Ladder Programming
The Variable Tab Page is used to search for variables and register addresses. Variables can be
copied and pasted from the Variable Subwindow.
In the Instruction Tab Page, enter an instruction name or instruction key allocation in the Instruc-
tion Field.
Variables can also be entered by copying and pasting from the Variable Subwindow.
The Variable Field will be changed to Program Name depending on the search object.
The Comment Tab Page is used to search for object, rung, and program comments, and for com-
ments in expressions.
3-47
3 Ladder Programming
3.5.2 Searching and Replacing in a Program
Use wild card: When selected, the wildcards * and ? can be used in searches.
Search agree completely item: When selected, only exact matches between character strings in comments
and search objects will be searched. Whether distinctions are made between uppercase and lowercase, however,
depends on the Case-sensitive setting.
Case-sensitive: When selected, a distinction is made between uppercase and lowercase characters.
Register compensation: When selected, a character string that was entered as a search object is converted to
the correct register notation when it is recognized as a register.
Output log at Search 2: If Output log at Search 2 is selected, the search results will be output in the Search 2
Subwindow, and the output contents of the Search 1 Subwindow will not be changed. If Output log at Search 2 is
not selected, the search results will be output in the Search 1 Subwindow.
Select range: When selected, the search range can be set by specifying the start rung and end rung.
4. End the search by clicking the Cancel Button or the Close Button (X).
( 2 ) Replacing in a Program
1. Display the program that is to be searched and replaced in the foreground of the Ladder Edit Window,
and select Edit - Replace from the Main Menu.
The Replace Dialog Box will be displayed.
2. Select the Register or Comment Tab Page, and specify the search object and the replace object.
3-48
3.5 Debugging Ladder Programs
The Comment Tab Page is used to find and replace object, rung, and program comments,
and comments in expressions.
Use wild card: When selected, the wildcards * and ? can be used in searches.
If either * or ? is used in the Replace Object, it will be treated not as a wildcard but as a character.
Select range: When selected, the search range can be set by specifying the start rung and end rung.
Ladder Programming
3. Start the search and replace operation.
When the Search Button is clicked, the relevant instruction object will be searched and selected. When the
Replace Button is clicked, the selected item will be replaced by the characters in either the Replace Register
Field or the Replace Object Field.
If the Replace All Button is clicked on the Register Tab Page, all of the relevant registers will be replaced and
the replacement results will be displayed in the Output Subwindow.
4. End the replace operation by clicking the Cancel Button or the Close Button (X).
3-49
3 Ladder Programming
3.5.3 Searching and Replacing in a Project File
1. Display the program that is to be selected in the foreground of the Ladder Edit Window, and select
Edit - Search in Project from the main menu.
The Search in Project Dialog Box will be displayed.
2. Set the variable (or address) to be searched and the name of the target program.
Variables can also be entered by copying and pasting from the Variable Subwindow.
Multiple programs can be specified in the Target Program Field by separating them with commas and spaces.
Asterisks (*) can also be used as wildcards in the Target Program Field, as follows:
*, H, L*, I*, A*, F* (all functions), MPM*, MPS*
Wildcards can be used only in the above forms. They cannot be used in forms such as H01.*.
If Output log at Search 2 is selected, the search results will be output in the Search 2 Subwindow, and the output
contents of the Search 1 Subwindow will not be changed. If Output log at Search 2 is not selected, the search
results will be output in the Search 1 Subwindow.
3-50
3.5 Debugging Ladder Programs
After a replace operation in a project file has been completed, compiling and saving will be executed. The
replace operation cannot be undone to restore the project to its previous status, so be sure to back up any
essential files before performing the operation.
If a motion program is opened by the Engineering Manager before a replace operation, the program will not be auto-
matically updated. Close any open motion programs before executing a replace operation.
1. Display the program that is to be selected in the foreground of the Ladder Edit Window, and select
Edit - Replace in Project from the main menu.
The Replace in the Project Dialog Box will be displayed.
2. Set the variable (or address) to be searched and the name of the target program.
Variables can also be entered by copying, pasting from the Variable Subwindow.
Multiple programs can be specified in the Target Program Field by separating them with commas and spaces.
Asterisks (*) can also be used as wildcards in the Target Program Field, as follows:
*, H, L*, I*, A*, F* (all functions), MPM*, MPS*
Ladder Programming
Wildcards can be used only in the above forms. They cannot be used in forms such as H01.*.
3. Click the Register or Address Tab Page, and specify the search object and the replace object.
Asterisks (*) can also be used as wildcards in the Target Program Field, as follows:
*, H, L*, I*, A*, F*, MPM*, MPS*
3-51
3 Ladder Programming
3.5.3 Searching and Replacing in a Project File
The replace operation can be aborted by clicking the Cancel Button in the dialog box of the progress bar, but
the program will be compiled and saved with whatever items have already been replaced up to that point.
If an error occurs while the program is being compiled, the items will not be replaced.
After the replace operation has been completed, the register or variable replacements will be displayed.
3-52
3.5 Debugging Ladder Programs
2. Set the variable (or register) to be searched and the name of the target program.
The target program can be selected from the list. Variables can also be entered by copying and pasting from the
Variable Subwindow.
Ladder Programming
3. Click the Search Button.
The cross reference searching will be executed, and the search results will be displayed in the Cross Reference 1
Subwindow. Input registers will be displayed in blue, and output registers in red. 3
The program will be opened and the objects in the selected register will be selected by double-clicking on a dis-
played register.
3-53
3 Ladder Programming
3.5.5 Searching for Duplicate Coils
1. Select Debug - Check for Multiple Coils from the Main Menu.
The search will be started, and the results will be output to the Check for Multiple Coils Subwindow.
If Enable to Multiple Coil Check is selected in the compile options, a search for duplicate coils will also be exe-
cuted while the program is being compiled and the results will be displayed in the Output Subwindow as a
warning.
For details on the compile options, refer to 3.3.17 Ladder Program Compiling and Compile Options.
3-54
3.5 Debugging Ladder Programs
Forced ON
Ladder Programming
Forced OFF
3
3. To clear the forced ON or forced OFF, select Debug - Clear Forced ON/OFF from the main menu.
Forced ON/OFF
cleared
3-55
3 Ladder Programming
3.5.6 Forcing Coils ON/OFF
The Forced Coil List Subwindow consists of the list field and the toolbar containing buttons, each with a distinctive
icon, to search for forced coils, re-search, and change the forced status.
Toolbar
(a) (b) (c) (d) (e) (f)
Research Button ( )
Click this icon to research forced status coils in the programs specified in the Forced Coil Condition Setting
Subwindow.
Forced Status Clear Button ( )
Select the check boxes of the coils for which forced status is to be cleared, and click this icon to clear the forced
status of the selected coils.
Forced ON Button ( )
Select the check boxes of the coils to be forcibly turned ON, and click this icon to forcibly turn ON the selected
coils.
Forced OFF Button ( )
Select the check boxes of the coils to be forcibly turned OFF, and click this icon to forcibly turn OFF the
selected coils.
(c) Program
Displays the name of the program where the coil is searched.
3-56
3.5 Debugging Ladder Programs
(d) Variable
Displays the variables or registers that are set for the searched coil.
(e) Comment
Displays the comments set for the variable.
(f) Execution Step
Displays the execution step number where the searched coil is located.
Refer to 3.3.1 Ladder Program Edit Window for details.
(g) Check Box
Select the check boxes of the coils for which forced operations such as Forced ON, Forced OFF, and Forced
Status Clear are to be executed. Select an icon on the toolbar or select a command from the pop-up menu to set
or change the forced status of all the selected coils.
Ladder Programming
The forced status coils will be searched in all programs, and the search results will be displayed in the Forced
Coil List Subwindow.
To specify the programs in which the search is to be executed, click the icon (forced coil search condition
setting) to display the Forced Coil Condition Setting Dialog Box.
Search Program
Select the program for which the search for forced status coils is to be executed. Type the program name or
select the program from the drop-down list box.
Search
Click this button to start search for forced status coils in the selected program and to display the forced status
coils in a list.
Cancel
Click this button to cancel the search operation.
3. The search results will be displayed in the Forced Coil List Subwindow.
Right-click in the list field of the Forced Coil List Subwindow and select Check All or Uncheck All from the pop-up
menu that appears. All the check boxes of forced status coils will be selected or cleared at once.
3-57
3 Ladder Programming
3.5.6 Forcing Coils ON/OFF
In the list in the Forced Coil List Subwindow, select or double-click a row to jump to the corresponding coil in the lad-
der program. Alternatively, select a row and right-click to display the pop-up menu, and select Jump from the pop-up
menu.
If the corresponding ladder program is not already open, it will be automatically opened to jump to the corresponding
coil.
Right-click in the list field of the Forced Coil List Subwindow and select Cross Reference from the pop-up menu that
appears. Alternatively, select Debug - Cross Reference from the Main Menu. The registers set for the forced status
coil will be searched and the search results will be displayed in the Cross Reference Subwindow.
If a ladder program is edited while the search results are displayed, the coils of the program that being edited is
shown in gray.
3-58
3.5 Debugging Ladder Programs
1. Select the SEE or FUNC instruction object for the program to be checked, and select Debug - REFER
from the Main Menu.
Ladder Programming
2. The referenced program will be displayed in the Edit Window.
Program information such as <-H06/step:0 in the diagram below will be displayed in the tab for the referenced
program.
3-59
3 Ladder Programming
3.6.1 Converting CP Ladder Programs as a Batch
Once a CP ladder program has been converted to an ordinary ladder program, the CP ladder program can-
not be opened any more.
If the CP ladder program is needed, use either of the following methods to save the project file.
• Copy the project file from Windows Explorer and paste.
• Select Edit - Save Project As from the main menu.
If a security setting has been set for the CP ladder program, it needs to be cleared before converting the CP
ladder program to a ladder program.
Refer to 1.9.4 Security: User Registration for details on security settings, and 3.4.3 ( 4 ) Enabling or Disabling Lad-
der Programs for details on enabling or disabling ladder programs.
When executing CP ladder program conversion for the first time, the following message will appear.
1. Select a program folder (High-speed, Low-speed, Start, Interrupt, or Function) or select a program that
contains programs of the lower hierarchical levels. Then, right-click the selected folder or program and
select Conversion of CP ladder from the pop-up menu.
When the selected program contains programs of lower hierarchical levels, the following message will appear
asking for confirmation.
Conversion: Click this button to convert the current program and all lower level programs to new ladder pro-
grams.
Select: Click this button to display the Conversion of CP ladder Dialog Box. See step 2 for details on setting.
Cancel: Click this button to cancel program conversion.
3-60
3.6 Converting CP Ladder Programs to Ordinary Ladder Programs
2. Click Select.
The Conversion of CP ladder Dialog Box will appear.
The check box of the CP ladder program specified in step 1 or the check boxes of the CP ladder programs that are
displayed under the ladder program specified in step 1 will be selected.
When a program from the second hierarchical level is specified in step 1, the check box of the programs of first
hierarchical level will also be selected.
After deselecting the check boxes of the CP ladder programs not to be converted in step 3, the check boxes of the
project file, ladder program folder, High-speed, Low-speed, Start, Interrupt, or Function folder to which non-selected
CP ladder programs belong will be shaded. This is because some of CP ladder programs in the file or folder are
selected and the rest are not selected.
Ladder Programming
3. Clear the check boxes of CP ladder programs not to be converted. 3
Ordinary Ladder programs are shaded, and cannot be selected.
4. Click Conversion. All the selected CP ladder programs will be converted to new ladder programs.
If you click the Cancel Button, the CP ladder program conversion will be cancelled.
An error code (0xAxxxxxxx) and an error name may be displayed in the Output Subwindow in accordance with
the changed program.
Select the error code (0xAxxxxxxx) and press the F1 Key. Error Generating Information will appear.
Check the error causes and take corrective action.
3-61
3 Ladder Programming
3.6.2 Converting a Program Individually
1. Select a CP ladder program that does not contain programs of lower hierarchical levels, or a CP ladder
program under which no hierarchical structure is displayed, from the Ladder Subwindow. Then, right-
click the selected program and select Conversion of CP ladder from the pop-up menu.
2. Click OK.
The following message will appear asking for confirmation.
When the selected program contains programs of lower hierarchical levels, refer to 3.6.1 Converting CP Lad-
der Programs as a Batch.
3. Click Yes. The selected CP ladder program will be converted to an ordinary ladder program.
3-62
4
Motion Programming
This chapter describes an overview of motion programs and how to develop motion programs.
Motion Programming
4.1.3 Differences Compared with Existing Motion Programs - - - - - - - - - - - - - - - - - - - - - - - 4-5
4-1
4 Motion Programming
4-2
4.1 Overview
4.1 Overview
4.1.1 What Is a Motion Program?
A motion program is written in a text language called motion language.
Such a program can be executed either by referencing (calling) it from a ladder program using an MSEE command, or
by registering it in the M-EXECUTOR module using the Task Allocation Window.
A combined total of 256 programs of the motion program and sequence program types can be created.
Motion Programming
Motion programs consist of main programs (MPMxxx) and sub programs (MPSxxx). Main programs are called
directly from ladder programs, and sub programs are called from either main programs or other sub programs.
The “xxx” represents a number from 1 to 256.
4
4-3
4 Motion Programming
4.1.2 Flow from Program Creation to Execution
4-4
4.1 Overview
Motion Programming
4
4-5
4 Motion Programming
(1)
(2)
4-6
4.3 Motion Program Part Names and Functions
Motion Programming
• Allocating tasks (Refer to 4.9.2 Allocation to the Task Allocation
Function.)
Drive Control Panel
• Operation control panel (Refer to 4.11 Test Running Programs.)
4-7
4 Motion Programming
4.3.2 Group Definition Window
(1) (4)
(2) (5)
(8)
(3)
(7)
(6)
(9) (10)
4-8
4.3 Motion Program Part Names and Functions
(1) (3)
(4)
(5)
(7)
(6)
(8)
Motion Programming
(9) (10)
4-9
4 Motion Programming
4.3.3 Motion Editor Tab Page
Executes a program.
You can check the syntax of motion commands while creating a motion program. When
(4) Entry guidance the cursor is located on a motion command (blue), the entry method for that command is
displayed.
This is the line number counting the number of the lines of stated character strings (com-
(5) Line number
mands, comments, blank lines, etc.).
This is the line number counting only the executable lines. (Comments, blank lines and so
(6) Block number
on are not counted.)
(7) Editing (entry) area This is the area in which programs are input.
Displays the current operation mode and alarm occurrence status.
[Normal operation mode]
Executing: Execution in progress
Alarm: An alarm has occurred.
(8) Status bar
[Debug mode]
Running in the debug mode: Debug Mode
Single block stop in effect: Debug Mode >>> Suspend
Alarm has occurred: Debug Mode >>> Alarm
(9) Fork/Nest Displays fork numbers and nest numbers.
(10) Main program Displays the number of the main program referencing this motion program.
4-10
4.3 Motion Program Part Names and Functions
(1)
(2)
(3)
(4) (5)
Motion Programming
(1) Main Program No. Sets which main program a subprogram is to be called from.
(2) Fork No. Sets which fork of the main program a subprogram is to be called from.
(3) Nest No. Sets the nesting level at which the subprogram is to be called.
(4) OK Sets the motion task and returns you to the Motion Editor Tab Page.
(5) Cancel Returns you to the Motion Editor Tab Page without setting the motion task.
4-11
4 Motion Programming
4.3.5 Motion Alarm Window
(6)
(7)
(8)
4-12
4.3 Motion Program Part Names and Functions
(1)
(2)
(3)
(4)
Motion Programming
4
4-13
4 Motion Programming
4.3.7 Breakpoints Window
(1) (2)
(4)
(3) (5)
(8)
4-14
4.4 Main Menu List
4.4.1 Program
The menu options used for program operations are shown below.
Item Function
Motion command assist Displays the Motion Command Assist Window.
Add semicolons Automatically appends a semicolon.
Line comment Inserts a line comment.
Cancel line comment Cancels a line comment.
Line indent Inserts a line indentation.
Cancel line indent Cancels a line indentation.
Set/cancel bookmark Sets/cancels a bookmark.
Next bookmark Moves you to the next bookmark.
Motion Programming
Previous bookmark Moves you to the previous bookmark.
Clear bookmark Cancels a set bookmark.
4.4.2 Debug
The menu options used for debugging operations are shown below.
Item Function
Debug mode Activates the debug mode. 4
Normal operation mode Activates the normal operation mode.
Execute Executes a program.
Break Stops the execution of a program.
Forced termination Forcibly terminates the program being executed.
Step-in Activates the step-in mode.
Step-over Activates the step-over mode.
Move execution start line Changes the selection of the line from which execution is started.
Set/cancel break point Sets/cancels a break point.
Activate/deactivate break point Activates/deactivates a break point.
List break points Displays a list of break points.
Update current position Updates to the latest status.
Set motion task Displays the Motion Task Window.
Reference motion subprogram References a motion subprogram.
Motion alarm Displays the Motion Alarm Window.
Add to watch Adds a register to the watch.
Add to trace Adds a register to the trace.
4-15
4 Motion Programming
4.5.1 Monitor
Icon
Follows up the block being executed and always displays the block in
Monitor auto scroll ON
the window.
Automatic scrolling is cancelled by performing the following operations as well as turning the monitor auto scroll OFF.
• Pressing any key on the keyboard
• Left or right-clicking with the mouse
• Moving the mouse wheel
• Moving the vertical scroll bar of the Program Window
( 2 ) Motion Alarm
Displays the Motion Alarm Window.
For details on motion alarms, refer to 4.10.4 Alarm Display.
4.5.2 Program
( 1 ) Compile
Compiles the open program.
4-16
4.5 Toolbar List
( 3 ) Add Semicolons
This is a function whereby semicolons can be automatically appended at the end of lines on pressing the Enter key
when entering a motion command.
By clicking icons you can select the mode in which semicolons are automatically appended.
If there is already a semicolon at the end of a line, no semicolon is appended.
Icon
Automatically append semicolon Semicolons are automatically appended at the ends of lines.
Don’t automatically append semicolon Semicolons are not automatically appended at the ends of lines.
( 4 ) Allocate Task
Displays the Task Allocation Window.
( 1 ) Debug Mode
Selects the debug mode.
Motion Programming
4
4-17
4 Motion Programming
4.5.3 Motion Debugging
( 3 ) Execute Program
Runs a program continuously.
On reaching a breakpoint line, execution stops at that line. Execution continues until break, forced termination or nor-
mal operation is invoked.
( 4 ) Break
Temporarily stops the program during debug operation.
( 5 ) Forced Termination
Forcibly terminates execution of the program during debugging.
Processing beyond the line of the program that is currently being executed is not executed.
4-18
4.5 Toolbar List
( 6 ) Step In
Executes one line of a program.
When an MSEE command or SSEE command is executed in the step-in mode, the control moves to the initial line of
the subprogram.
( 7 ) Step Over
Executes one line of a program.
When an MSEE command or SSEE command is executed in the step-over mode, the control moves to the next line
after execution of the subprogram.
Motion Programming
4
1. Place the cursor on the line where you want program execution to start.
4-19
4 Motion Programming
4.5.3 Motion Debugging
4. On clicking the Yes Button, the execution start line is moved to the point where the cursor is located.
* “OB88000 = 1” is not executed.
( 9 ) Set/Delete Breakpoint
Sets/deletes breakpoints.
Set breakpoint: Sets a breakpoint. Up to four breakpoints can be set in one motion program.
Delete breakpoint: Clicking the icon again on a line where a breakpoint has been set deletes that breakpoint.
4-20
4.5 Toolbar List
( 10 ) Activate/Deactivate Breakpoint
Activates and deactivates breakpoints.
Activate breakpoint: Activates the selected breakpoint.
Motion Programming
( 11 ) Breakpoints Window 4
The set breakpoints are listed here.
The check boxes of the lines where breakpoints are activated are checked here. The check boxes of lines where break-
points are deactivated are not checked.
Breakpoints can also be set and deleted in the Breakpoints Window.
4-21
4 Motion Programming
4.5.3 Motion Debugging
[ a ] Setting a Breakpoint
2. Set the Program Kind, the Program Name, and the Block Number where you want to set the break-
point, then click the Add Button.
[ b ] Deleting a Breakpoint
1. Select the breakpoint to be deleted in the Breakpoints Window, then click the Delete Button.
The selected breakpoint will be deleted.
4-22
4.6 Group Definition
Motion Programming
4
4-23
4 Motion Programming
4.7.1 Setting a Group Definition
1. Double-click the Motion program folder in the Motion Subwindow. Alternatively, right-click on Motion
program and select Group Definition from the pop-up menu.
Or, double-click the Axis Variable folder in the Variable Subwindow.
The Group Definition Dialog Box will be displayed.
4-24
4.7 Creating and Editing Programs
2. Set each item in the Configuration, and then click the OK Button.
For details on Detail definition and Modified history, refer to 4.12.4 Properties of Motion Programs.
Motion Programming
The Motion Editor Tab Page is displayed in the main window, enabling editing of the motion program. 4
4-25
4 Motion Programming
4.7.3 Editing
4.7.3 Editing
( 1 ) Environment Setting
[ a ] Motion/Tab
The tab stop position and the size of automatic indentation.
Select Motion - Tab from the tree of the Environment Setting Dialog Box.
Tab: Sets the tab stop position. The tab stop position and the size of automatic indentations share
the same setting.
Indent: Automatic indentation is a function to indent the start position of the next line to the tab stop
position of the current line when the Enter key is pressed. When the Auto indent check box
is selected, automatic indentation is activated. The tab stop position and the size of automatic
indentations share the same setting.
4-26
4.7 Creating and Editing Programs
[ b ] Motion/Font
Different colors can be used for motion commands, logical axis names, comments to distinguish them from other text
strings in programs. This makes it possible to comprehend the program code at a glance.
Select Motion - Font from the tree in the Environment Setting Dialog Box and then change the settings.
Motion Programming
Item Default Character Color Default Background Color
Text Black -
Motion command Blue -
Axis Name Dark red -
Comment Green - 4
Block line while executing White Black
Line occurred execution error White Red
Line occurred compile error White Red
( 2 ) Edit
The Windows standard editing functions are as follows.
[ a ] Undo
Undoes the last operation performed.
[ b ] Redo
Performs the last operation performed again.
[ c ] Cut
Cuts the selected range and stores it on the clipboard.
4-27
4 Motion Programming
4.7.3 Editing
[ d ] Copy
Copies the selected range and stores it on the clipboard.
[ e ] Paste
Pastes the contents of the clipboard.
[ f ] Delete
Deletes the selected range.
[ g ] Select All
Selects all the programs in the file.
[ h ] Find
Searches for a character string in the program. Enter the character string to be searched for as it is written in the pro-
gram.
Example: If the character string in the program is “MW1,” enter “MW1.” If you enter “MW01” or “MW00001,”
“MW1” will not be searched for.
This function is usable when the connection with the Machine Controller is broken (when offline).
[ i ] Replace
Replaces a character string in the program with another character string. Enter the character string to be searched for as
it is written in the program.
Example: If the character string in the program is “MW1,” enter “MW1.” If you enter “MW01” or “MW00001,”
“MW1” will not be searched for.
This function is usable when the connection with the Machine Controller is broken (when offline).
4-28
4.7 Creating and Editing Programs
[ j ] Search in Project
All motion programs and ladder programs (or specified programs) within a project file can be searched for registers.
You can specify multiple programs at Target Program by separating them with a comma or a space. You can also use
“*” (the wild card) in the Target Program field, as shown below.
*, MPM*, MPS*
Wildcards can be used only in the above forms. They cannot be used in forms such as “MPM001.*”
This function is usable when the connection with the Machine Controller is broken (when offline).
Motion Programming
Registers and addresses can be searched for and replaced in all the motion programs or ladder programs (or specified
programs) within a project file.
You can specify multiple programs at Target Program by separating them with a comma or a space. You can also use
“*” (the wild card) in the Target Program field, as shown below.
*, MPM*, MPS*
Wildcards can be used only in the above forms. They cannot be used in forms such as “MPM001.*”
This function is usable when the connection with the Machine Controller is broken (when offline).
4-29
4 Motion Programming
4.7.3 Editing
( 3 ) Programs
[ a ] Entering Commands
There are two method for entering motion commands: entry by using the motion command assist function and entry by
direct entry from the keyboard.
1. Display the Motion Command Assist Dialog Box by using any of the following methods.
3. After completing the insertion of motion commands, click the Close Button.
4-30
4.7 Creating and Editing Programs
1. Move the cursor to the start of the range of lines to be commented out.
Motion Programming
[ c ] Canceling Line Comments
1. Move the cursor to the start of the commented out line to be retrieved as code.
4-31
4 Motion Programming
4.7.3 Editing
[ f ] Bookmarks
This is a “bookmark” function that can be used within motion programs.
Bookmarks can be set in line units. By pressing the F2 Key, you can jump to the location where a bookmark has been
set.
Bookmarks that have been set remain in effect until the Editor Window is closed.
Setting and canceling bookmarks Select Program - Set/Cancel Bookmark from the Main Menu.
Press the Ctrl + F2 Keys.
Clearing bookmarks Select Program - Clear Bookmark from the Main Menu.
Jumping to the next bookmark Select Program - Next Bookmark from the Main Menu.
Press the F2 Key.
Jumping to the previous bookmark Select Program - Previous Bookmark from the Main Menu.
Press the Shift + F2 Keys.
4-32
4.7 Creating and Editing Programs
( 4 ) Other
[ g ] Autocomplete
This is a function that assists you with the entry of motion commands. When you want to use a logical axis or a subpro-
gram, you can select the available logical axes and subprograms.
Program autocomplete:
On entering a space after an MSEE command or SSEE command, the
Motion Programming
subprograms that can be referenced are shown in a pop-up display.
4-33
4 Motion Programming
4.8 Compilation
This is the checking and saving of created motion programs.
4-34
4.8 Compilation
If an error or alarm occurs at compilation, double-click the error indication in the Output Subwindow. The program line
in which the error or alarm has occurred will be shown in red.
Motion Programming
4
When compiling while connected to the Machine Controller, the following restrictions apply.
• During program execution
Compilation is not possible while the program is being executed.
• During program debugging
It is possible to compile a program during a single block stop. However, compilation is not possible when
a subprogram has been called with an MSEE (SSEE) command.
4-35
4 Motion Programming
4.9.1 Allocation to a Ladder Program
2. Enter the program number of the motion program to be executed and the work register for execution
and then compile the ladder program.
The procedure for allocating a program to the Task Allocation Function is as follows.
1. Open the Module Configuration Window and allocate and save the M-EXECUTOR module.
At the initial startup, M-EXECUTOR is only allocated for Machine Controllers MP2300S and MP2400.
4-36
4.9 Preparing for Executing a Program
3. Set the number of tasks to be allocated (1 to 16) at Program definition number, and save.
The number of tasks set at Program definition number becomes the number of task allocations in the Motion
Subwindow.
4.
Motion Programming
Close the M-EXECUTOR Module Window.
5. Press the F5 Key in the Motion Subwindow, or right-click and then select Update from the pop-up
menu.
The Motion Subwindow is updated with the latest information.
6. At Task (M-EXECUTOR) in the Motion Subwindow, double-click the task number where you want to
register the program. If the motion program is open, click the task allocation icon ( ) in the Motion 4
Program Window.
The Task Allocation Dialog Box will be displayed.
4-37
4 Motion Programming
4.9.2 Allocation to the Task Allocation Function
Task Allocation No.: The task number to which the program is to be allocated is shown here. If you
have clicked the task allocation icon ( ) in the toolbar of the Motion Program
Window, you can select the task number from the combo box.
Task Type: Set the type of the program to be executed here.
Program to be Exe-
Task Type Execution Conditions
cuted
Executed once only when the power is
Sequence program (start)
turned on.
Sequence program
Sequence program Executed every low-speed scan time.
(L scan)
Sequence program
Executed every high-speed scan time.
(H scan)
Executed when the “program operation
Motion Programs Motion program
start request” control signal is on.
Program Specification: Select the method for specifying the program here.
Direct: The method where a program number is specified (for example MPM001)
Indirect: The method where a register in which the program number is stored is specified
(for example: register types that can be entered, such as MW01000)
Program: Set the program number here.
Allocation Register: Set the allocated registers here. You can set any kind of register: I registers, O registers
or M registers.
Programs are registered in tasks.
4-38
4.10 Debugging and Monitoring
Motion Programming
There are two types of debugging and monitoring: the debug mode and the normal operation mode.
Debug mode: This is the mode in which the program is executed line by line while checking. While
operating in the debug mode you can check the operation status at the Drive Control
Panel. 4
Normal operation mode: This is the mode in which the program is executed continuously from start to end.
4-39
4 Motion Programming
4.10.3 Normal Operation Mode
( 1 ) Block Monitor
When a program is executed, the block being executed is highlighted.
[ a ] With a Subprogram
For subprograms, a motion task has to be set in advance.
Monitoring will not be executed with respect to subprograms for which no motion task is set. For details on setting
motion tasks, see 4.10.5 Setting Motion Tasks.
4-40
4.10 Debugging and Monitoring
Motion Programming
1. Double-click the line that is displayed in red.
The Motion Alarm Dialog Box will be displayed.
The location where the alarm occurred, the details of the alarm and the method for correcting the alarm are dis-
played.
4
2. Click the OK Button.
3. Close the Motion Alarm Dialog Box and correct the alarm in the motion program.
Main Program No.: The number of the main program that calls the subprogram
Fork No.: The number of the fork that calls the subprogram (default: No setting)
Nest No.: The nest number that calls the subprogram (default: No setting)
There are two methods for setting motion tasks.
Simple monitor: Set only the main program number.
Detailed monitor: Set the main program number, the fork number and the nest number.
4-41
4 Motion Programming
4.11.1 Explanation of the Drive Control Panel
4-42
4.11 Test Running Programs
( 1 ) Pop-up Menu
Motion Programming
: This is the status when the bit is ON.
4-43
4 Motion Programming
4.11.3 Test Running and Monitoring
2. Right-click in the row of the task number under which the program is registered, then select Enable
Panel Control from the pop-up menu.
This will enable operation of the buttons ( ).
If Enable Panel Control in the pop-up menu is not checked, the buttons are disabled.
3. When panel operation is enabled, you can perform operations on the following bit registers.
The operating status of the bit registers whose registers have been operated can be checked at status.
• When the test run has ended, disable panel operation in order to prevent misoperation.
Select Enable Panel Control from the pop-up menu.
4-44
4.11 Test Running Programs
Motion Programming
4
4-45
4 Motion Programming
4.12.1 Editing Motion Program Files
1. In the Motion Subwindow, select the motion program that is to be edited, and then select Edit - Cut (or
Copy or Paste) from the Main Menu. Alternatively, right-click and then select Cut, Copy or Paste from
the pop-up menu.
Programs cannot be cut, copied, or pasted between main programs and sub programs.
Before cutting a ladder program, finish editing and close the ladder program.
When Paste is selected, the following confirmation message will be displayed. Click the OK Button to go ahead
with pasting.
4-46
4.12 Program Management in the Motion Subwindow
( 2 ) Deleting
Before using this function, first close the motion program that is to be deleted.
2. Either select Edit - Delete from the Main Menu, or right-click the selected program file and select
Delete from the pop-up menu that will be displayed. Alternatively, press the Delete Key.
( 3 ) Renaming
Before using this function, first close the motion program that is to be renamed.
Motion Programming
2. Right-click the selected program and select Rename from the pop-up menu that will be displayed.
The Program Property Dialog Box will be displayed.
3. Change the program name displayed in the Program Name field, then click the OK Button.
The program number cannot be changed.
4-47
4 Motion Programming
4.12.2 Displaying Property Columns
To display information in the Motion Subwindow, select the appropriate check box and then click the OK Button. A
column for that information will then be displayed in the Motion Subwindow.
4-48
4.12 Program Management in the Motion Subwindow
Motion Programming
The results of the compile operation will be output in the Output Subwindow.
4-49
4 Motion Programming
4.12.4 Properties of Motion Programs
1. In the Motion Subwindow, select the motion program file whose properties are to be displayed.
2. Right-click the selected program and select Property from the pop-up menu that will be displayed.
The Program Property Dialog Box is displayed.
( 1 ) Configuration
The file privilege and number of D registers can be set.
On clicking the numerical value field for Read, Write, or D register, you can set a numerical value.
File privilege:
The reading privilege level and writing privilege level for the program are displayed here.
Read:
Select a reading privilege level between 0 and 7 for this program. The higher the number, the higher the privilege
level will be. Numbers cannot be entered directly.
A reading privilege level cannot be set higher than the current user privilege level. (For example, if the current
user level is 3, a level of 4 or higher cannot be set.)
For details on user privilege levels and reading privilege levels, refer to User Privilege Levels and Reading
and Writing Privilege Levels below.
Write:
Select a writing privilege level between 0 and 7 for this program. The higher the number, the higher the privilege
level will be. Numbers cannot be entered directly.
A writing privilege level cannot be set higher than the current user level.
For details on user privilege levels and writing privilege levels, refer to User Privilege Levels and Reading and
Writing Privilege Levels below.
D register:
Set the maximum number of D registers (between 0 and 16384) to be used by this program. The number can be
set either by directly entering it or by using the spin buttons.
4-50
4.12 Program Management in the Motion Subwindow
( 2 ) Detail Definition
You can check the number of steps executed and the date and hour of updates, and you can display and set the operation
settings for casting real numbers.
Motion Programming
Program Lines:
The number of steps that have been executed is indicated here. This entry cannot be changed.
Modified:
The date and hour when the program was updated are shown here. On compiling the program, the date and hour
are updated. This entry cannot be changed. 4
Setting the operation when real...:
You can set the operation when converting the data from real numbers to integers.
( 3 ) Modified History
You can confirm the update history.
* This is not displayed when creating a new program.
Modified history:
A maximum of ten entries can be displayed in the program update history.
4-51
5
Variables
Variables
5.3.1 Variables that Can be Referred from Any Program - - - - - - - - - - - - - - - - - - - - - - - - - 5-12
5.3.2 Local Variables for Use in One Variable - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5-23
5-1
5 Variables
5.1.1 Types of Variables
5.1 Overview
5.1.1 Types of Variables
Variables are used to assign names (called variable names) and comments to registers. When a variable is input for an
instruction object in a ladder program, the register and comment are entered at the same time.
For details on entering variables for instruction objects, refer to 3.3.12 Entering and Changing Variables and Regis-
ters.
MPE 720 Version 6 does not support for the #, X, Y, and Z registers.
Several types of variables can be used:
Variables that Are Automatically Assigned by System
• System Variables (S Registers)
Prepared in the system, and displays the operation status of the controller
• Axis Variables (I/O Registers)
Displays the setting parameters for axes, and the monitor parameters.
• I/O Variables (I/O Registers)
Prepared according to the numbers of I/O modules.
Variables that Can Be Set by the User
• Global Variables (M Registers)
• Global Constants (C Registers)
• Internal Variables (D Registers)
• Function External Variables (A Registers)
5-2
5.1 Overview
The Local Variable Subwindow is displayed by moving the cursor to the Local Variable Tab Page displayed
when the ladder program is opened.
The display for each variable in the folders in the variable tree provides the following information.
When a variable is entered for an instruction object, the variable name and comment are displayed as follows:
Variables
Comment
Variable name
Register
Registers are displayed when the address indicator icon on the ladder editor toolbar is ON.
5
Refer to 3.3.4 ( 2 ) Displaying or Hiding Addresses, Variables, and Comments for details on selecting the dis-
play for addresses, variables, and comments.
The variables are described in more detail on the following pages.
5-3
5 Variables
5.2.1 System Variables (S Registers)
Note that the user cannot edit comments for system variables and axis variables.
Note that changing the module configuration definitions or register range will automatically delete the vari-
ables. The comments will not be deleted.
Changing the registers of already set variables will not replace the variables used in the ladder program.
S registers (system variables) and I/O registers (axis variables and I/O variables) can be assigned for trace. How-
ever, those registers that can be assigned are limited to registers of BIT, WORD, LONG, and FLOAT type data.
The contents of the variable set is the same for each axis. It consists of Monitor Parameters and Setting Parameters.
Group names and logical axis names can be set optionally, but the contents of the axis variable set cannot be
changed.
The logical axis variables set in the Group Definitions are displayed by default.
Refer to A.2 Axis Variable Details for details on axis variable sets.
5-4
5.2 Variables that Are Automatically Assigned by System
Do not use the name that is same as the register name for the logical port.
Otherwise, axis variables can not be used, and the error message will occur.
2.
Variables
Set the items, and then click the OK Button.
Group List
When a number is entered for No. of Group, the group number and name will be displayed. The group name
can be changed by clicking the cell to display the text cursor and then changing the name.
When the group name is clicked, the specified axes for that group will be displayed in the Axis Specification
Field.
Axis Specification [Group Name]
Set the axis specifications for the selected group.
When the number of controlled axes is entered in the Control Axis No. Field, the fields for setting that number
of axes will be displayed.
For the Logical Axis Name, double-click the cell to display the text cursor. Then enter the name and press the
Enter Key.
5-5
5 Variables
5.2.2 Axis Variables (I/O Registers)
In the Logical Axis Name Field, enter up to eight alphanumeric characters starting with a letter of the alphabet.
Do not use a number for the leading character.
When the OK Button is clicked, the contents that have been set will be displayed under Axis Variable in the Vari-
able Subwindow.
5-6
5.2 Variables that Are Automatically Assigned by System
Note that executing any of the following operations will delete the set registers:
1. If the LIO Module that is assigned in the Module Configuration is saved by setting to UNDEFINE, the I/O
variables that are assigned will be deleted.
2. If the register range (leading I/O register numbers and end input register number) that is assigned for the
subslot in the Module Configuration Window is changed, the I/O variables that were out of the range will be
deleted.
The following example shows a display with 16-point local I/O variables.
Variables
Input variables
5
Output variables
5-7
5 Variables
5.2.3 I/O Variables (I/O Registers)
Variable names and registers cannot be changed for I/O variables, but the following items can be edited.
I/O Module name
I/O leading address comments
I/O variable comments
The next section describes how to edit these items.
5-8
5.2 Variables that Are Automatically Assigned by System
Variables
PCLINK-01 PC-LINK YES NO
217IF NO NO
MNET-01
MNET YES NO
AFMP-01 ANYWIRE YES NO 5
CC-LINK YES NO
AFMP-02
ANYWIRE YES NO
AFMP-02-C CC-Link YES NO
A-net YES NO
MPANL00-0
A-Link YES NO
A-Link YES NO
MPALL00-0
A-Link YES NO
MPAL000-0 A-Link YES NO
MPAN000-0 A-net YES NO
SVA-01 SVA01 NO YES
SVB-01 SVB01* YES YES
SVC-01 SVC01* YES YES
PO-01 PO NO YES
CSIF-01 CSIF YES NO
5-9
5 Variables
5.2.3 I/O Variables (I/O Registers)
1. Right-click the I/O module name, leading I/O address, or I/O variable that is to be edited, and then
select Edit from the pop-up menu that will be displayed. Alternatively, double-click the item to be
edited.
The Edit variable Dialog Box will be displayed.
2. Edit the text in the field that is to be changed, and then click the OK Button.
Input the I/O Module name, using a maximum of 16 alphanumeric characters. Use a letter of the alphabet for
the leading character.
Carriage returns or line feeds cannot be used in the comments.
The display in the Variable Subwindow will be changed. If the selected variable is entered in the program, the
comment for that variable will also be changed.
5-10
5.3 Variables that Can Be Set by the User
Variables
No: Cancels new variable assignment.
• If the register already included in a structure is also used for a variable to be added, the following message will
appear.
5-11
5 Variables
5.3.1 Variables that Can be Referred from Any Program
1. In the Variable Subwindow, right-click the Global Variable Folder or the folder of the data type to be
registered (Bit, Word, Long, Float, or Address), and select Add from the pop-up menu.
The Variable Registration Dialog Box will be displayed. In the Register Field, the lowest address among the M
registers for which variable assignment on is currently possible will be displayed.
For details on structures, refer to 5.3.1( 1 ) [ b ] Creating System Structures on the next page.
5-12
5.3 Variables that Can Be Set by the User
3. Enter the variable name in the Variable Name Field and comment in the Comment Field, and click the OK Button.
In the Variable Name Field, enter up to 64 alphanumeric characters starting with a letter of the alphabet.
An error will occur if the leading character in the name is a number.
An error will occur if a name identical to a register, such as MB (mb0) or IW00000 (iw00000), is used at the
beginning of the variable.
A variable name that is already assigned cannot be used again.
Reserved words, such as motion instructions, cannot be used. For a list of reserved words, refer to Appendix B
Reserved Words.
The same address can be assigned for different data types (e.g., MB00000 and MW00000). When the address
is assigned, however, a message will be displayed notifying that “A malfunction may occur.”
A maximum of 255 alphanumeric characters can be entered in the Comment Field.
Carriage returns and line feeds cannot be used in the comments.
Click the OK Button. The Variable Registration Dialog Box will be closed, and the assigned variable will be
displayed in the Variable Subwindow.
Variables
5
In the program where the assigned variable is used, the assigned variable name will be displayed for the instruc-
tion object of the applicable address.
5-13
5 Variables
5.3.1 Variables that Can be Referred from Any Program
1. Select System Structure or User Structure, and select a pre-registered structure name from the list
in the System Structure or User Structure field.
5-14
5.3 Variables that Can Be Set by the User
2. Enter the variable name in the Variable Name Field and comment in the Comment Field, specify the
address type (MA*****) in the Register Field, and click the OK Button.
In the Variable Name Field, enter up to 64 alphanumeric characters starting with a letter of the alphabet.
An error will occur if the leading character in the name is a number.
An error will occur if a name identical to a register, such as MB0 (mb0) or IW00000 (iw00000), is used.
A variable name that is already assigned cannot be used again.
Reserved words, such as motion instructions, cannot be used. For a list of reserved words, refer to Appendix B
Reserved Words.
An address that is already used for another data type cannot be assigned again.
A maximum of 255 alphanumeric characters can be input in the Comment Field.
Carriage returns and line feeds cannot be used in the comments.
Variables
5
5-15
5 Variables
5.3.1 Variables that Can be Referred from Any Program
The variable included in the assigned user structures will appear in the Variable Subwindow.
If the data type in the register is not the ADDRESS type, the following message will be displayed. Click the Yes
Button to complete the assignment.
1. In the Variable Subwindow, right-click the global variable to be edited and select Edit from the pop-up
menu. Alternatively, double-click the global variable to be edited.
The Edit variable Dialog Box will be displayed.
2. Just as with assigning variables, edit the variable name, the registers, and the comment, and click the
OK Button.
5-16
5.3 Variables that Can Be Set by the User
If there is a comment already on the register to be edited, a message will appear asking for confirmation to over-
write the comment.
Overwrite: Overwrites the comment with the comment of the edited register.
Not Overwrite: The comment will not be overwritten and the previous comment will remain unchanged.
Cancel: Cancels the comment editing operation and closes the dialog box.
If there is a comment on the register before being edited, and no unmatched comment on the edited register,
the previous comment will remain unchanged.
For global variables (M, I, O, and C), comments are saved in two different files: One for BIT type data and
one for other data types (WORD, LONG, FLOAT, and ADDRESS).
For local registers (D, #, X, Y, Z, and A), comments are saved in a file for each program regardless of data
type (BIT, WORD, LONG, FLOAT, and ADDRESS).
Before transferring data (Write into Controller or Read from Controller), the data in the reading source and in
the saving destination must be matched so that the data in the Machine Controller will not be lost.
Variables
5
5-17
5 Variables
5.3.1 Variables that Can be Referred from Any Program
1. In the Variable Subwindow, select the variable to be deleted and press the Delete Key. Alternatively,
right-click the variable to be deleted and select Delete from the pop-up menu that appears.
A dialog box for confirmation will be displayed.
2. Click the Yes Button. The selected variable will be deleted from the Variable Subwindow.
5-18
5.3 Variables that Can Be Set by the User
1. In the Variable Subwindow, right-click the Constant Variable Folder and select Add from the pop-up
menu that will be displayed.
The Constant Group Variable Registration Dialog Box will be displayed.
Variables
Variable Name
Enter the group name with up to eight alphanumeric characters. “C_” will be automatically displayed at the
beginning of the variable name.
Size of Use
Enter, the number of Words to be used beginning from the leading address set in the Register Field. 5
Click the Search Empty Register Button. Available registers of the size to be used will be found, and the
leading address will be automatically entered in the Register Field.
Register
Enter, in WORD type, the leading address of the C register group to be assigned.
Comment
Enter a comment for this group. A maximum of 255 alphanumeric characters can be entered.
Carriage returns and line feeds cannot be used.
5-19
5 Variables
5.3.1 Variables that Can be Referred from Any Program
3. Click OK.
The global constant group variable will be created, and it will be displayed under the Constant Variable Folder.
1. In the Variable Subwindow, right-click the global constant group variable to which the variable is to be
assigned and select Add from the pop-up menu.
The Constant Variable Registration Dialog Box will be displayed.
5-20
5.3 Variables that Can Be Set by the User
Register
Enter the address of the C register for which the name is to be assigned. Click the drop-down arrow and select
the data type from the list. Cxnnnn will be input. (x: W, L, or F; nnnn: the lowest number used for the selected
data type within the address range of the group)
Comment
A maximum of 255 alphanumeric characters can be entered for the comment for this variable.
Carriage returns and line feeds cannot be used.
Variables
5
5-21
5 Variables
5.3.1 Variables that Can be Referred from Any Program
1. In the Variable Subwindow, right-click the global constant folder or global constant group variable to be
edited and select Edit from the pop-up menu that will appear. Alternatively, double-click the global con-
stants or global variable constant group to be edited.
The Edit constant Dialog Box will appear.
2. Just as with assigning global constants, edit the variable name, register, or the comment, and click the
OK Button.
When Global Constant is Selected When Global Constant Group Variable is Selected
If the user attempts to assign a register out of the possible range when the Register Field is being edited, a
message will be displayed notifying that “The out-of-range constants are to be deleted. Yes or No?” Click the
Yes Button. The constants that are out of range will be deleted.
1. In the Variable Subwindow, select the global constants to be deleted and press the Delete Key. Alter-
natively, right-click the global constants to be deleted and select Delete from the pop-up menu that will
be displayed.
A dialog box asking for confirmation will be displayed.
2. Click the Yes Button. The selected global constants or global constant group variables will be deleted
from the Variable Subwindow.
5-22
5.3 Variables that Can Be Set by the User
The following sections describe how to assign and edit internal variables and function external variables.
Variables
ables in a ladder program.
1. Open the relevant ladder program and display in the foreground of the main window. Line up the
mouse cursor with the Local Variable Tab Page to display the Local Variable Subwindow.
5
5-23
5 Variables
5.3.2 Local Variables for Use in One Variable
4. Enter the variable name in the Variable Name Field and comment in the Comment Field, and click the
OK Button.
In the Variable Name Field, enter up to 60 alphanumeric characters (or up to 64 characters if the name begins
with VAR_).
Variable names that have already been assigned cannot be used again in the same program.
Reserved words, such as motion instructions, cannot be used. For a list of reserved words, refer to Appendix B
Reserved Words.
The same address can be assigned for different data types (e.g., DB00000 and DW00000). When the address
is assigned, however, a message will be displayed notifying that “A malfunction may occur.”
A maximum of 255 alphanumeric characters can be entered in the Comment Field.
Carriage returns and line feeds cannot be used in the comments.
Click the OK Button. The Variable Registration Dialog Box will be closed, and the assigned variable will be
displayed in the Local Variable Subwindow.
VAR_ will be displayed at the beginning of the variable name to indicate that it is a local variable.
In the program where the assigned variable is used, the assigned variable name will be displayed for the instruc-
tion object of the applicable address.
1. Open the relevant ladder program and display it in the foreground of the main window.
2. In the Local Variable Subwindow, right-click the variable to be edited (or deleted) and select Edit (or
Delete) from the pop-up menu that will be displayed.
Edit: The Edit Variable Dialog Box will be displayed.
Delete: A dialog box asking for confirmation will be displayed. Click the Yes Button to delete the variable.
Variables can also be edited by double-clicking in the Local Variable Subwindow.
Variables can also be deleted by selecting a variable in the Local Variable Subwindow and then pressing the Delete
Key.
5-24
5.3 Variables that Can Be Set by the User
1. Open the relevant function and display in the foreground of the main window. Line up the mouse cursor
with the Local Variable Tab Page to display the Local Variable Subwindow.
Variables
3. Enter the register address in the Register Field.
Click the Structure Button. A list of structures will be displayed. By giving a variable name (folder name) to the
structure, the variables that are included in that structure can be assigned together.
5
4. Enter the variable name in the Variable Name Field and comment in the Comment Field, and click the
OK Button.
Enter up to 60 alphanumeric characters in the Variable Name Field.
Variable names that have already been assigned cannot be used again in the same program.
The same address can be assigned for different data types (e.g., AB00000 and AW00000). When the address
is assigned, however, a message will be displayed notifying that “A malfunction may occur.”
A maximum of 255 alphanumeric characters can be entered in the Comment Field.
Carriage returns and line feeds cannot be used in the comments.
5-25
5 Variables
5.3.2 Local Variables for Use in One Variable
Click the OK Button. The Variable Registration Dialog Box will be closed, and the assigned variable will be
displayed in the Local Variable Subwindow.
VAR_ will be displayed at the beginning of the variable name to indicate that it is a local variable.
In programs where the assigned variable is used, the assigned variable name will be displayed for the instruction
object for the applicable register.
1. Open the relevant function program and display it in the foreground of the main window.
2. In the Local Variable Subwindow, right-click the variable to be edited (or deleted) and select Edit (or
Delete) from the pop-up menu that will be displayed.
Edit: The Edit Variable Dialog Box will be displayed. The same procedure can be used for editing as is
used for assignment.
Delete: A dialog box asking for confirmation will be displayed. Click the Yes Button to delete the variable.
Variables can also be edited by double-clicking in the Local Variable Subwindow.
Variables can also be deleted by selecting a variable in the Local Variable Subwindow and then pressing the Delete
Key.
5-26
5.4 Using Variables and Comments
Variables
5
5-27
5 Variables
5.5.1 Saving Comments
When online by project link connection, if the registers saved in the project file from which data is to be read
are unmatched with those saved in the project file and Machine Controller to which data is to be written, the
data in the writing destination may be overwritten by the read data and some data may be deleted.
During direct connection, if a comment of the S register is edited in the comment bar or comment list of the
Engineering Manager, the comment will be invalid and not saved.
5-28
5.6 User Structures
Registers assigned to a user structure are called “Structure Members”, and up to 100 structure members can be assigned
to one user structure.
User structures are used by assigning them to ADDRESS type global or local variables.
Variables
ture Dialog Box.
Use the following procedure to create a user structure.
1. Right-click the User structure Folder in the Variable Subwindow and select Add from the pop-up
menu. 5
The Registration Structure Dialog Box will be displayed.
2. Enter a structure name in the Structure Name Field, and comments in the Comment Field. Then, click
Add.
5-29
5 Variables
5.6.2 Creating User Structures
3. Enter a member name in the Member Name Field, an offset address in the Offset Address Field,
and comments in the Member Comment Field. Then, click OK.
Click the ▼ Button in the Member Type Field to open the list and select the data type BIT, WORD, LONG,
FLOAT, or ADDRESS.
In the Structure Name Field, enter up to 64 characters starting with an alphabetic letter. An error will occur if a name
starting with a number is entered.
An error will occur if a register name such as MB0 (mb0) and IW00000 (iw00000) is used for a structure name.
A unique name must be used for each structure. A structure name that is already registered cannot be used more
than once. (Nor can the system structure names provided by MPE720 version 6 be used.)
Reserved words, such as motion instructions, cannot be used for structure names. Refer to Appendix B Reserved
Words for details on the reserved words.
A maximum of 255 alphanumeric characters can be entered in the Comment Field.
Carriage returns and line feeds cannot be used when entering comments.
The Registration Structure Dialog Box will appear.
The assigned structure members will be displayed in a list.
5-30
5.6 User Structures
If you click OK, the following message will appear asking for confirmation.
Variables
Click Yes to register the newly created structure.
5-31
5 Variables
5.6.2 Creating User Structures
If you click OK, the following error message will appear. Change either of the overlapped registers, as one regis-
ter can only be assigned once in one user structure.
5-32
5.6 User Structures
If a user structure has already been assigned to the variable, the user structure will not be deleted and its name will
remain unchanged. However, the display will be deactivated.
Variables
5
When a structure member of the user structure that has already been assigned to a variable is deleted in the Regis-
tration Structure Dialog Box, the structure member will also be deleted from the tree structure under the variable in
the Variable Subwindow.
When the name of a structure member is changed, the change will be written in the user structure that has already
been assigned to the variable.
When the comments for a structure member are changed, the change will not be written to the comments for the
variable that has already been assigned. Change the comments of the variable that has already been assigned
accordingly after having assigned the structure member.
5-33
5 Variables
5.6.3 Assigning User Structures
Fig. 5.1 Program Transfer Dialog Box when Write to Project is Selected
5-34
5.7 Comment Lists
The same comment list can be referenced regardless of whether the comment list is opened from the Variable Sub-
window or the Local Variable Subwindow.
1. Double-click Comment List in the Variable Subwindow or the Local Variable Subwindow. Alternatively,
right-click the Comment List in the Local Variable Window and select Edit from the pop-up menu that
appears.
The comment list will open in the main window.
Variables
2. Select the register that is to be referenced from the Register List, or select Open from the pop-up
menu that appears.
The comment list for the selected register will be displayed. 5
3. Specify the data type to be referenced using the BIT, WORD, LONG, FLOAT, or ADDRESS Button.
The comment list for the specified register and data type will be displayed.
Scroll the list to refer to the comment for the target register.
Click the Close Button for the Comment List Tab Page to exit the list display.
Enter the desired register in the Register input field in the Comment List Tab Page. The list will scroll to display
the entered register.
5-35
5 Variables
5.7.1 Referencing Comment Lists
1. Double-click Comment List in the Variable Subwindow or the Local Variable Subwindow.
The comment list will be opened in the main window.
2. Select from the Register List the register that is to be referenced, or select Open from the pop-up
menu that will be displayed.
The comment list for the selected register will be displayed.
3. Specify the data type to be referenced using the BIT, WORD, LONG, FLOAT, or ADDRESS Button.
4. Click the drop-down arrow for the Program Field, and select from the list the program to be referenced.
The comment list for the specified program, register, and data type will be displayed.
Fig. 5.2 Display Example: Comment List for D Register and BIT Data
Fig. 5.3 Display Example: Comment List for A Register and BIT Data
Scroll the list to refer the comment for the target register.
Click the Close Button for the Comment List Tab Page to exit the list display.
Enter the desired register in the Register input field in the Comment List Tab Page. The list will scroll to display
the entered register.
5-36
5.7 Comment Lists
Variables
Cut, Copy, Paste, and Delete
Comments selected in the Comment Field can be cut, copied, pasted, or deleted. If multiple comments are to
be pasted after cutting or copying them, they can be pasted in multiple Comment Fields starting from the 5
selected Comment Field.
Comment All Clear
All comments displayed in the main window will be deleted. Comments cannot be recovered once they have
been deleted.
Find
The comments in the registers displayed in the Comment List Tab can be searched.
Replace
The comments in the registers displayed in the Comment List Tab can be replaced.
Cross Reference and Add to Watch
The register for the comment selected will be added to the Cross reference Subwindow or the Watch Subwin-
dow.
For cross references, refer to 3.5.4 Cross Reference Searching. For the watch function, refer to 12.3 Watch
Function.
Import
The CSV, CTF, and YST files in which the comments assigned to each variable are saved will be imported
into MPE720 version 6.
Export
The comments assigned to each variable will be saved in a CSV, CTF, and YST files.
Refer to 6 Exporting/Importing for details on import and export functions.
After editing, the comments will be changed for all objects and subwindows using the applicable register.
5-37
5 Variables
5.7.1 Referencing Comment Lists
When automatic selection of the IME entry mode is set to OFF ( ), the entry mode cannot be selected automati-
cally.
When using an English font on an English operating system, you can change the status of the IME entry
mode automatic selection icon to ON ( ) or OFF ( ), but automatic selection of the entry mode is not
available.
5-38
5.7 Comment Lists
1. Double-click the Comment List Tab in the Variable Subwindow and then select the Comment column.
2. Select Edit - Find from the main menu, or right-click the Comment column and select Find from the
pop-up menu.
The Find Dialog Box will appear.
3. Enter a character string to search for, and then click Find Next. The cursor will move to the corre-
sponding character string.
When the search completes, the following message will appear.
Variables
( 2 ) Replace in Comment List
The comments in the registers displayed in the Comment column can be replaced with another character string. 5
1. Double-click the Comment List Tab in the Variable Subwindow, and then select the Comment col-
umn.
2. Select Edit - Replace from the main menu, or right-click the Comment column and select Replace
from the pop-up menu.
The Replace Dialog Box will appear.
3. Enter a character string to search for, and a character string to replace it with, and then click Replace.
4. The character string that is input in the Find what text box will be searched for and replaced with the
character string entered in the Replace with text box.
5-39
5 Variables
5.7.2 Search/Replace/Delete in Comment List
1. Right-click the Comment column in the Comment List Tab of the Variable Subwindow, and select
Comments All Clear from the pop-up menu.
The following message will appear asking whether or not to delete all comments.
5-40
6
Exporting/Importing
This chapter describes the functions for exporting and importing parameters, variables and register
data.
Exporting/Importing
6.2.3 Import - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 6-8
6-1
6 Exporting/Importing
6-2
6.2 Motion Parameters
SERVOPACK Parame-
Module Fixed Parameters Setting Parameters
ters
SVB-01 Applicable Applicable Applicable
SVA-01 Applicable Applicable Not applicable
PO-01 Applicable Applicable Not applicable
SVR Applicable Applicable Not applicable
( 1 ) CSV File
The specified name is set for each CSV file according to the motion parameter type, regardless of module type such as
Exporting/Importing
SVB-01, SVA-01, PO-01, and SVR, and a line number xx and axis number yy are added to the name.
A character string can be added in the beginning of each CSV file name as required.
Example: CSV file name with a character string MPE, for fixed parameters
CSV file name: MPE_FixPrm_xxyy.csv
Axis number
Line number
Fixed parameters*
6
Character string
A CSV file data consists of an array with array elements separated by commas.
The following table shows the details of the structure of the CSV file data.
Motion parameters are classified into three types: BIT type, Combo type, and Others. The CSV file data format differs
depending on these parameter types.
The display examples when the above types of parameters are exported to CSV files are shown below.
6-3
6 Exporting/Importing
6.2.1 Exporting/Importing Motion Parameters
Export, then...
Displayed in
Hexadecimal
Export, then...
Displayed in dec-
imal (Input Value
1 = Positioning)
6-4
6.2 Motion Parameters
Export, then...
Displayed in
numerical
values
When the number of digits of input data before export to a CSV file exceeds the space allowed, this value is dis-
played in exponent form such as “E+09”, when the CSV file is opened. This is because the display is limited by the
Exporting/Importing
cell width of the CSV file. (See the window shown above on the right.)
Refer to Machine Controller MP2200/2300 Motion Modules User’s Manual (manual number: SIEP C880700 16) for
details of Input data.
The procedures to export and import motion parameters are described on the following pages.
6-5
6 Exporting/Importing
6.2.2 Export
6.2.2 Export
Select the CSV files created for each type of parameter, and then export the selected CSV files to MPE720 version 6.
(a)
(b)
(c) (j)
(d) (e) (f) (g)
(k)
(h) (i)
6-6
6.2 Motion Parameters
If a duplicate file name exists in the export destination folder, the following message will appear. Select one of
the options shown in the following image, and then click OK.
Exporting/Importing
6
Overwrite the CSV file in the folder and export:
The data at the export destination will be overwritten with the new file data.
Delete the all CSV files in the folder and export:
All the data at the export destination will be deleted and the new file data will be exported.
Cancel the export:
The export operation will be cancelled and the dialog box will close.
6-7
6 Exporting/Importing
6.2.3 Import
6.2.3 Import
Multiple parameters can be imported at one time, or each CSV file can be imported individually.
On the main menu in the Engineering Manager, select File-Import. The Import Dialog Box will appear. Select Batch
import or Individual import.
The following sections describe how to import CSV files individually or in a batch.
( 1 ) Batch Import
1. Select File - Import on the main menu. Then in the Import box click the Batch Import (button).
The Batch import Dialog Box will appear.
6-8
6.2 Motion Parameters
(a)
(b)
(c)
(j)
(d) (e) (f) (g)
(k)
(i)
(h)
Exporting/Importing
ground of the Module Configuration Definition Window.
Module Name
The module name for which a line number is assigned in the subslot, SVB01, SVA01, PO, or SVR, is
displayed.
Line Number
Displays the line number defined in the Module Configuration Definition. (Line #xx: xx = 1 to 16)
For details on subslot and line numbers, refer to Machine Controller MP900/MP2000 series Program-
ming Software MPE720 User’s Manual (manual number: SIEP C880700 05).
6
(d) Axis
Displays the axis assigned for the module. The information given in the axis combo box in the motion param-
eter setting window of Engineering Manager is displayed.
(e) Fixed Parameters
Displays CSV file names “FixPrm_xxyy.csv” for fixed parameters of CSV file data. xx indicates a line num-
ber, and yy indicates an axis number. If no file exists, no CSV file name is displayed.
6-9
6 Exporting/Importing
6.2.3 Import
Click Yes to start a batch import. When the importing starts, the progress indicator will display the percentage of
the process that has been completed.
6-10
6.2 Motion Parameters
( 2 ) Individual Import
1. Select File - Import from the main menu and click the Individual Import Button in the Import Dialog
Box.
The file import Dialog Box will appear. All the CSV files, including files whose names start with the specified
character string, can be selected.
Exporting/Importing
Click Yes to start importing the selected file. When importing starts, the progress indicator will display the per-
centage of the process that has been completed.
The selected CSV file data will be imported to the parameter window displayed in the foreground of the cur-
rently opened window.
6-11
6 Exporting/Importing
6.3.1 Exporting/Importing Global Variables, I/O Variables and Comments
6.3 Variables
Variables can be exported from an open project file on the MPE720 version 6 to a CSV, CTF, or YST file, or imported
from a CSV, CTF, or YST file to the MPE720 version 6.
Export means to save variables, comments, and structures in a CSV, CTF, or YST file. Only CSV files can be edited in
Microsoft Excel.
Import means to save the CSV, CTF, or YST file in MPE720 version 6 again.
The variable data exported from a project file can be imported for use in another project file.
Data in a CSV file can be edited in Excel as required, and the edited CSV file data can be imported to a project file.
The results of export and import are output to the Output Subwindow.
Import can be executed regardless of Machine Controller model.
Refer to 6.2.1 Exporting/Importing Motion Parameters for information on exporting/importing motion parameters.
( 1 ) Outline
I/O variables, global variables, and I, O, M, and C register comments can be exported to CSV files. A desired file name
can be set for each CSV file with a file extension “.CSV”.
If a CSV file with the same name already exists in the export destination, the data of CSV file in the export destination
will be deleted, and new data will be written.
The editing of CSV files is described below.
When a CSV file is opened, the data is displayed from left to right, “Register”, “Comment”, “Variable”, and “Struc-
ture,” as shown below. When nothing is set for “Comment”, “Variable”, and/or “Structure”, the corresponding cell is
left blank.
6-12
6.3 Variables
The edited CSV file can be imported to the MPE720 version 6. The data in the import destination file will be overwrit-
ten with the data in the import source.
Axis variables can be neither exported nor imported.
Exporting/importing only a specified register range is not possible.
Right-click the corresponding folder in the Variable Subwindow and select Export or Import from the pop-up menu
to execute export or import.
Exporting/Importing
Data after A was imported to B (Data in the Variable Subwindow of the project file)
A B C D
1 MA00200 PI parameter Parameter PI_W
2 MB000000 Test TESTER
3 MF00070 Ti
4 MW00100 RUN speed Drive
6
If the Comment column for the register of the CSV file that is the import source is blank but a comment exists
for the same register at the destination, the comment at the destination will be deleted.
If the Variable Column of the register in the import source (CSV file) is blank but a variable is set for the
same register in the project file of the import destination, the variable in the import destination will not be
overwritten and will remain unchanged.
6-13
6 Exporting/Importing
6.3.1 Exporting/Importing Global Variables, I/O Variables and Comments
The following diagram illustrates the data export and import operation flow.
A CSV file "STEP.CSV"
Excel
[ a ] Export
The assigned global variables and comments can be exported to a CSV file by using the following procedure.
1. Select File - Export - Global variables and comments from the main menu.
The Save As Dialog Box will appear.
2. Select a folder as the export destination, and enter a file name in the File name field. Then, click Save.
6-14
6.3 Variables
3. All the check boxes of variables and comments in the CSV file specified in step 2 will be selected.
Clear the check boxes of the items not to be exported, and then click Export.
If Browse is clicked, the specified export destination (file name) or the Save As Dialog Box to create a file as the
export destination will be displayed. To create a file, enter a file name and then click Save in the Save As Dialog
Box.
The following message will appear asking for confirmation.
Exporting/Importing
4. Click Yes. Data export will start, and the results will be displayed in the Output Subwindow.
6
6-15
6 Exporting/Importing
6.3.1 Exporting/Importing Global Variables, I/O Variables and Comments
[ b ] Import
The global variables and comments in the CSV file can be imported to MPE720 version 6 using the following proce-
dure.
1. Select File - Import - Global variables and comments from the main menu.
The Open Dialog Box will appear.
3. All the check boxes of variables and comments in the CSV file specified in step 2 will be selected.
Clear the check boxes of the items not to be imported, and then click Import.
If you wish to reselect the CSV file to be imported, click Browse.
6-16
6.3 Variables
4. Click Yes. The selected data will start importing and the results will be displayed in the Output Subwin-
dow.
Exporting/Importing
Select the error code (0xAxxxxxxx) and then press the F1 Key. The Error Generating Information Dialog Box
will appear.
6-17
6 Exporting/Importing
6.3.2 Exporting/Importing Local Variables and Comments
( 1 ) Outline
Internal variables, variables outside functions, and D, #, X, Y, Z, and A register comments can be exported to a CSV
file.
CSV files will be saved under the specified folder for each program.
MPE720 version 6 adds .csv to the program number, which is used as the file name. For the names of CSV files for
three-level hierarchy programs, the period between levels will be omitted as shown below.
Example: CSV file name for H01: H01.csv
CSV file name for H02.03: H0203.csv
If a CSV file with the same name already exists in the export destination, the data of the CSV file in the export destina-
tion will be deleted and overwritten with the new data.
The procedure to edit or display CSV files when exporting or importing is the same as for exporting or importing glo-
bal variables and comments. Refer to 6.3.1 ( 1 ) Outline for details.
Right-click a folder in the Variable Subwindow and select Export or Import from the pop-up menu to implement the
exporting or importing of data.
Export D, #, X, Y, Z, A registers
MPE720 Local internal variables
version 6 Variables outside function
Import Comments
Structures
H01.CSV
Open and edit
FUNC.CSV
Save
Excel
6-18
6.3 Variables
[ a ] Export
The local variables and comments assigned for each program can be exported to a CSV file by using the following pro-
cedure.
1. Select File - Export - Local variables and comments from the main menu.
The Browse For Folder Dialog Box will appear.
Exporting/Importing
The Export Dialog Box will appear.
3. All the check boxes of ladder programs (CSV files) in the folder specified in step 2 will be selected.
Clear the check boxes of ladder program data not to be exported, and then click the Export Button.
If you wish to select a export destination program again, click Browse.
6-19
6 Exporting/Importing
6.3.2 Exporting/Importing Local Variables and Comments
Click Yes. Data export will start, and the results will be displayed in the Output Subwindow.
[ b ] Import
The local variables and comments assigned for each program can be imported from the CSV file to the MPE720 ver-
sion 6 by using the following procedure.
1. Select File - Import - Local variables and comments from the main menu.
The Browse For Folder Dialog Box will appear.
2. Select the folder in which the data to be imported is saved, and then click OK.
6-20
6.3 Variables
3. All the check boxes of ladder programs (CSV files) in the folder specified in step 2 will be selected.
Clear the check boxes of ladder programs not to be imported, and then click Import.
If you wish to change the import source folder, click Browse.
Exporting/Importing
4. Click Yes. The selected files will start importing, and the results will be displayed in the Output Subwin-
dow.
6-21
6 Exporting/Importing
6.3.3 Exporting/Importing Constant Variables
( 1 ) Outline
Constant variables, registers, comments, units, and values in a constant group variable can be exported.
The exported files will be saved in the specified folder for each constant group variable. The data will be exported with
the constant group variable name with a CTF file extension.
If a CTF file with the same name already exists at the export destination, the data of CTF file in the export destination
will be deleted and overwritten with the new data.
The data in the CTF files can be imported to the MPE720 version 6 as they are.
CTF files cannot be edited.
A: Constant Variable Import Source Folder B: Constant Variable of Import Destination Folder
Right-click a folder in the Variable Subwindow and select Export or Import from the pop-up menu to export or
import.
6-22
6.3 Variables
The following diagram outlines the export and import operation flow.
CTF file for each constant variable
㧔DATA.CTF)
Export C registers
MPE720 Comments
version 6 Units
Import Values
Exporting/Importing
When the Register Ranges in the Import Source and Destination Overlap, and the Same Constant
Variables Exist in the Import Destination
When the register range of the constant group variable overlaps with that of the import destination and the same
constant variables exist in the import destination, the following error message will appear. Constant variables
identical to those in the import destination cannot be imported.
If the register range is not overlapping with that in the import destination, the error message will not appear,
even if the constant variables are the same as those in the import destination. 6
6-23
6 Exporting/Importing
6.3.3 Exporting/Importing Constant Variables
[ a ] Export
Data of constant variables can be exported group by group to CTF files in the selected folder by using the following
procedure.
3. All the check boxes of constant variables (CTF files) in the folder specified in step 2 will be selected.
Clear the check boxes of the items not to be exported and then click Export.
If you wish to change the export destination folder, click Browse.
6-24
6.3 Variables
4. Click Yes. Data export will start and the results will appear in the Output Subwindow.
[ b ] Import
Data of constant variables can be imported group by group to MPE720 version 6 using the following procedure.
2. Select the folder in which the data to be imported is saved, and then click OK.
Exporting/Importing
6
6-25
6 Exporting/Importing
6.3.3 Exporting/Importing Constant Variables
3. All the check boxes of constant variables (CTF files) in the folder specified in step 2 will be selected.
Clear the check boxes of the items not to be imported, and then click Import.
If you wish to change the import source folder, click Browse.
4. Click Yes. The selected files will start importing and the results will appear in the Output Subwindow.
6-26
6.3 Variables
The exported data in a YST file can be imported to the MPE720 version 6 as is.
The data in the destination file will be overwritten with the data in the imported file.
The following diagram illustrates the export/import operation flow.
YST file per user structure
㧔PROGRAM.YST㧕
Export
MPE720 User structure
version 6 Structure members
Import
[ a ] Export
Data of a user structure can be exported to a YST file by using the following procedure.
Exporting/Importing
1. Select File - Export - User structure from the main menu.
The Save As Dialog Box will appear.
2. Select a folder as the export destination and enter a file name in the File name Field. Then, click Save.
6-27
6 Exporting/Importing
6.3.4 Exporting/Importing User Structures
3. All the check boxes of user structures in the YST file specified in step 2 will be selected. Clear the
check boxes of user structures that are not to be exported, and then click Export.
If Browse is clicked, the already specified export destination (file name) or the Save As Dialog Box to create a
file for export destination will appear. To create a new file, enter a file name and click Save in the Save As Dialog
Box.
4. Click Yes. Data export will start and the results will appear in the Output Subwindow.
6-28
6.3 Variables
[ b ] Import
Data of user structures saved in a YST file can be imported to the MPE720 version 6 by using the following procedure.
Exporting/Importing
3. All the check boxes of user structures in the YST file specified in step 2 will be selected. Clear the
check boxes of user structures not to be imported, and then click Import.
6-29
6 Exporting/Importing
6.3.4 Exporting/Importing User Structures
4. Click Yes. The selected structures will start importing and the results will appear in the Output Subwin-
dow.
6-30
6.3 Variables
MPE720 Register
Exporting/Importing
version 6 Import Comments
6-31
6 Exporting/Importing
6.3.5 Importing MPE720 Version 5 CMT Files
1. Select File - Import - Ver5 CMT file from the main menu.
The import of Ver5 CMT file Dialog Box will appear.
3. Click Yes. The CMT file will start importing and the results will appear in the Output Subwindow.
The data that can be imported is limited to registers and comments. When you wish to use the symbols to which
comments are assigned on the MPE720 version 5 for variables on the MPE720 version 6, use the following proce-
dure to import the symbols to the MPE720 version 6.
1. Select File - Import - Global variables and comments from the main menu. Alternatively, select File -
Import - Local variables and comments. Then, create a CSV file.
2. Open the CSV file to enter symbols in the variable column.
3. Import the edited CSV file to the MPE720 version 6.
In this way, the symbols used in the MPE720 version 5 can be used as the variables in the MPE720 version 6.
6-32
6.4 Register Data
Importing/exporting register data from/to CSV files: Refer to 6.4.1 Exporting/Importing the Register Data to/from CSV
Files.
Exporting registers of cam data created with the Electronic Cam Data Tool: Refer to 6.4.2 Importing Registers in Cam
Data Created with the Electronic Cam Data Tool.
( 1 ) Outline of Exporting/Importing
You can export register data to a CSV file, or import register data from a CSV file to MPE720 version 6.
If the exported register data is to be used in another project file or Machine Controller, importing the register data saved
in a CSV file makes it possible to use the same data.
The data types that can be imported and exported are the Word, Long and Float data types of I, O, M, C and D registers.
You can assign any name you like to a CSV file, and the extension is set as “.CSV.” Because CSV file data can be
edited in Excel, you can edit the data as required before importing.
The results of importing and exporting are output to the Output Subwindow.
Exporting/Importing
A schematic diagram for export/import data is shown below.
Import 6
I,O,M,C,D register
(WORD,LONG,FLOAT)
Export
Project file
Import
Open/Edit
Save
Excel
6-33
6 Exporting/Importing
6.4.1 Exporting/Importing the Register Data to/from CSV Files
A B C C
1 MW00000 *1 *1 … ← Start register
2 H *2 ← Program name (local registers only)
3 30 98
4 2 3
5 86 706 ← Register data
6 987 8641 Enter the correct data.
7 19873 0
The third and subsequent register data of start register IL0025 are grayed out
and cannot be imported.
6-34
6.4 Register Data
Example: When all of the first line of the register data of the columns where the start register has been entered have
been left blank:
Exporting/Importing
When all of the first line of the register data is illegal, it is not recognized as
register data and the data of the second and subsequent lines is shifted upward
and displayed.
6-35
6 Exporting/Importing
6.4.1 Exporting/Importing the Register Data to/from CSV Files
( 2 ) Exporting/Importing Procedure
[ a ] Exporting
Register data that has been set in the Register List or Watch Tab Pages can be exported to a CSV file.
The procedure for this is as follows.
3. Select the export destination folder and enter the file name, then click the Save Button.
6-36
6.4 Register Data
4. Enter the register data to be exported (Start register, Program name, Number), then click the Export
Button.
Start register: Enter the register from which the register data to be exported is to start.
Program name: When dealing with local registers, enter the program name of the program being used.
* If an entry is made here although dealing with registers other than local registers, an error message is dis-
played on executing export.
Number: Enter the number of data to be exported, counting from the start register.
Example: When exporting the data from MW00010 to MW00017, the setting to be made for Number
is 18.
Exporting/Importing
5. Export of the register data starts, and the result is displayed in the Output Subwindow.
6-37
6 Exporting/Importing
6.4.1 Exporting/Importing the Register Data to/from CSV Files
[ b ] Importing
Register data saved in a CSV file can be imported to MPE720 version 6.
The procedure for this is as follows.
1. Select File - Import from the Main Menu. Alternatively, right-click the Register List Subwindow or
Watch Subwindow and select Import from the pop-up menu that will be displayed.
The Import Dialog Box will be displayed.
3. Select the CSV file from which to import data, and click the Open Button.
6-38
6.4 Register Data
4. The check boxes of all of the start registers in the CSV file selected in step 3 are checked. Uncheck the
check boxes of the start registers that do not need to be imported, then click the Import Button.
Start register: The start registers of each of the register data in the CSV file are shown here.
Program name: If the start register is a local register, the program name is shown here.
5. Import of the register data starts, and the result is displayed in the Output Subwindow.
Exporting/Importing
6
6-39
6 Exporting/Importing
6.4.2 Importing Registers in Cam Data Created with the Electronic Cam Data Tool
6.4.2 Importing Registers in Cam Data Created with the Electronic Cam Data Tool
Using MPE720 version 6, the registers in cam data created with the Electronic Cam Data Tool (CDT file) can be
imported to a project file.
In addition, cam data can be transferred from a project file to the Machine Controller by using Write to machine con-
troller in the Transfer menu.
The data to be imported can be selected based on the kinds of cam data (displacement, speed, acceleration).
Machine Controller
Import
Displacement, speed,
acceleration
The procedure for importing cam data created with the Electronic Cam Data Tool to MPE720 version 6 is as follows.
3. Select electronic cam file (*.cdt) as the file type. Select the CDT file to be imported and click the Open
Button.
The Cam data import Dialog Box will be displayed.
4. The check boxes of all of the data kinds in the CDT file selected in step 3 are checked. Uncheck the
check boxes of data types that are not to be imported.
6-40
6.4 Register Data
5. Enter the start register of the register data to be imported for each data kind, then click the Import But-
ton.
Data kind: Uncheck the check boxes of data other than that you want to import (Displacement, Speed,
Acceleration).
Start register: Enter the start register of the registers you want to import.
Program name: If the entered start register is a local register, enter the program name here.
6. Import of the register data starts, and the result is displayed in the Output Subwindow.
Exporting/Importing
6
6-41
7
Electronic Cam Data Preparation Tool
This chapter describes how to start the Electronic Cam Data Preparation Tool.
7-1
7 Electronic Cam Data Preparation Tool
For details on operating the Electronic Cam Data Tool, refer to the Machine Controller MP900/MP2000 Series Elec-
tronic Cam Data Preparation Tool Operation Manual (SIEP C880700 18).
7-2
8
Data Table Programs
8-1
8 Data Table Programs
2. Select File - Open - Define Data Table - Data Table Map from the Main Menu.
For details on preparing data tables, refer to Chapter 11 Data Table Folders in the Machine Controller MP900/
MP2000 Series MPE720 Software for Programming Device User's Manual (SIEP C880700 05).
8-2
9
Printing
This chapter describes how to print out ladder programs and other programs.
Printing
9
9-1
9 Printing
9.1.1 Page Setup
With project link connection and direct connection to a Machine Controller, the project file will appear on
screen. However, the ladder program saved in the Machine Controller RAM will be printed out.
Refer to 1.10.1 Connecting to Machine Controllers for details on project link connection and direct connec-
tion.
1. Open the program to be printed in the main window, and display it in the foreground of the window.
9-2
9.1 Printing Ladder Programs
1. Open the ladder program for which the print preview is to be displayed in the main window, and display
the program in the foreground of the window.
Printing
9
9-3
9 Printing
9.1.2 Print Previews
9-4
9.1 Printing Ladder Programs
9.1.3 Printing
1. Open the program to be printed in the main window, and display it in the foreground of the window.
3. Set each item, and then click the OK Button. The program will then be printed.
Printing
9
9-5
9 Printing
9.1.3 Printing
1. Right-click the ladder program to be printed and select Print from the pop-up menu.
The Print Setup Dialog Box will appear.
2. Set each item, and then click OK. The selected ladder program will be printed.
Refer to 3.4.1 Changing Ladder Subwindow Displays for display of hierarchy structure.
1. Select a program folder High-speed, Low-speed, Start, Interrupt, or Function, or select a program
that contains programs of lower hierarchical levels from the Ladder Subwindow. Then, right-click the
selected folder or program, and select Print from the pop-up menu.
When the selected program contains programs of lower hierarchical levels, the following message will appear.
When a program folder is selected, the above message will not appear. Proceed to step 3.
When the Select Button is clicked, the Print Dialog Box will appear.
9-6
9.1 Printing Ladder Programs
3. All the check boxes of the programs under the selected program folder will be selected.
Clear the check boxes of programs not to be printed.
When some check boxes are deselected in step 3, some check boxes of project files, ladder program folders, and
High-speed, Low-speed, Start, Interrupt, and Function Drawing Folders may be shaded. This is because some of the
check boxes of the files contained in the folder are selected or not selected.
4. Click Print.
The Print Setup Dialog Box will appear.
5. Select each item and then click OK. All selected programs will be printed out as a batch.
Printing
9
9-7
9 Printing
9.1.4 Printing Cross-Reference Information
H01:
Motion 1 [MB300010]
MB3000010 H04/0000 H02.01/0002w
0000 ==
0000 [WLF]SrcA MW00000
NL-1 [WLF]SrcB 00000
Motion 2 [MB300018]
MB3000018 H04/0002 H02.02/0002w
0001 ==
0002 [WLF]SrcA MW00000
NL-1 [WLF]SrcB 00000
0006 END
0014
NL-1
9-8
9.1 Printing Ladder Programs
Cross-reference information is given with Program name/Step number + Additional information in the same way as CP
ladder programs.
(Ex.) H01.01 / 0010w
Additional information
Step number
Program name
7 levels
<Example>
H DWGψH01ψH01.01ψFUNC01ψFUNC02ψFUNC03ψFUNC04ψFUNC05ψFUNC06ψFUNC07
Call Instruction refers to the instruction to call and refer an instruction object in another program, such as FUNC,
MSEE, and SEE.
Printing
Use the following procedure to print out the program call instructions.
1. Select Utility - Print Manager from the Launcher and select the Program Tab in the Print Manager
Window. Click Details on the DWG List in the Program Tab.
9
The Print Object Setting Dialog Box will appear.
2. Select the Drawing Tree check box, and then click OK.
4. Check the Program check box and click the Execute Button.
The Printers Dialog Box will be displayed.
9-9
9 Printing
9.1.5 Printing Call Program Instructions (FUNC/SEE/MSEE)
Constant Register
Display MPM is added to a value. Register, as is
Example: | --- MSEE MPM001 Example: | --- MSEE DW00001
9-10
9.2 Printing Other Programs
With project link connection, the data saved in the Machine Controller RAM will be printed for CP ladder pro-
grams, and the data saved in a project file will be printed for registers, definitions (system definition, scan
time definition, module configuration, data trace), and motion programs.
With direct connection, data other than CP ladder programs cannot be printed, as no project file was open
when connecting the Machine Controller to the MPE720 version 6.
Refer to 1.10.1 Connecting to Machine Controllers for details on project link connection and direct connection.
Printing
9
Refer to 1.5.1 Names and Descriptions of Window Components for information on Launcher.
9-11
9 Printing
3. Select an object to be printed and set the page margins, and then click Execute.
The Print Dialog Box will appear.
When printing is executed from the Print Manager for the first time, the Printers Dialog Box will appear. Set the
printer type and then click OK.
4. Set each item, and then click OK. Printing will start.
Select File - Print cancel from the menu to hold or cancel the printing operation.
The List Manager will open at the same time as the Print Manager, and indicate the progress of printing operation.
9-12
9.2 Printing Other Programs
Printing
9
9-13
9 Printing
3. Select an object to be printed and set the page margins, then click Execute.
The Print Dialog Box will appear.
When printing is executed from the Print Manager for the first time, the Printers Dialog Box will appear. Set the
printer type and then click OK.
4. Set each item, and then click OK. Printing will start.
The List Manager will open at the same time as the Print Manager, and indicate the progress of printing operation.
9-14
10
Transferring Data
Transferring Data
10.2.13 Detailed Comparison of Programs and Registers - - - - - - - - - - - - - - - - - - - - - - - 10-24
10
10-1
10 Transferring Data
z System Configuration
• System Definitions
• Scan Time Definitions
• Module Configuration Definitions
• Data Trace Data
z Programs
• Ladder programs (High-speed, Low-speed, Start, Interrupt, Function)
• Motion programs (Main, Sub, Group definitions)
• Table data
• Variables (Axis, I/O, Global, Constant, and User structure)
• Comments (I/O, Global, and Constant)
z Registers
• M (Data registers), D (Internal registers), C (Constant registers),
S* (System registers), I* (Input registers), O* (Output registers)
* Registers marked by asterisks (*) cannot be written.
The type of data transfer can be specified by selecting Online - Transfer on the Main Menu, and then selecting the
transfer type in the Transfer Dialog Box that will be displayed.
For purposes of description, all of the icons in the above dialog box are shown as active.
The transfer can also be executed by selecting Online - Write into Controller, Read from Controller, or Save
to Flash from the Main Menu.
The transfer can also be executed by selecting Transfer and then Write into Controller, Read from Control-
ler, or Save to Flash from the Launcher.
10-2
10.1 Outline of Data Transfers
The following diagrams illustrate the data transfer procedures using MPE720 version 6.
Data Transfers
1. Writing to the Machine Controller and Saving to Flash Memory
MPE720 Ver.6
When Write into Controller is executed in the Trans-
fer Dialog Box, data from the open project file (or
Project file Machine Controller another specified project file) is written to the Machine
RAM
transfer data
Controller RAM. When Save to Flash is executed,
data in the Machine Controller RAM is written to the
Machine Controller flash memory.
Project file Machine
Another project file
Controller
flash memory
Another
Project file project file
Transferring Data
10
10-3
10 Transferring Data
10.2.1 Writing to Machine Controllers
1. Select Online - Transfer from the Main Menu, and click the Write into Controller Button in the Trans-
fer Dialog Box that will be displayed.
Alternatively, select Online - Write into Controller from the Main Menu.
A third method is to select Transfer - Write into Controller from the Launcher.
If the project file does not contain connection information, or if the Write into Controller Button is clicked in
the Transfer Dialog Box, the Communications Setting Dialog Box will be displayed.
In all other cases, the Transfer Program - Write into Controller Dialog Box shown in step 3 will be displayed.
2. Select the port to be used for the transfer, and click the Connection Button.
With this procedure, connection information will not be written to the project file even when the Connection
Button is clicked. To write connection information to the project file, select Online - Communications Setting
from the Main Menu, and then make the settings in the Communications Setting Dialog Box that will be dis-
played.
The Transfer Program - Write into Controller Dialog Box will be displayed.
10-4
10.2 Transferring Data
If writing to the Machine Controller is prohibited in the system settings (under Setup in the Environment Setting
Window), a write error will occur when the Start Button is clicked, and the following message will be displayed.
For details on system settings, refer to 1.9.7 Setup: System Setting.
When selecting Batch, select the types of data to be transferred from among System Configuration, Program,
Register, and Comment.
With a batch transfer, the Machine Controller RAM will be cleared before the transfer, and it will be updated by
the project file data being transferred.
When Individual is selected, not only can System Configuration, Program, Register or Comment be specified, but
also the particular data to be transferred.
With an individual transfer, only the same file will be overwritten by the data being transferred.
If The flash saving is executed after transfer is selected, the data will be saved to flash memory after being trans-
ferred to the Machine Controller RAM.
For details on the data of the System Configuration, Program, Register, and Comment that is transferred, refer
Transferring Data
to .
If the CPU is in RUN status, one of the following messages will be displayed.
10
(a) When Program Is Selected for a Batch Transfer
10-5
10 Transferring Data
10.2.1 Writing to Machine Controllers
If the CPU was stopped, the following message will be displayed when the OK Button is clicked. Click the Yes
Button to restart (RUN) the CPU and end the transfer, or click the No Button to end the transfer with the CPU
stopped.
After the transfer is complete, the data transfer log and results can be confirmed in the Transfer Subwindow.
1. Select Online - Transfer from the Main Menu, and click the Write into Controller Button in the Trans-
fer Dialog Box that will be displayed.
Alternatively, select Online - Write into Controller from the Main Menu.
A third method is to select Transfer - Write into Controller from the Launcher.
The Open Project Dialog Box will be displayed.
10-6
10.2 Transferring Data
2. Select the project file that is to be transferred, and click the Open Button.
Select a project file for which the Machine Controller type is the same as that of the currently connected
Machine Controller.
The Transfer Program - Write into Controller Dialog Box will be displayed.
The subsequent operations are the same as from step 3 onwards in ( 1 )Offline with an Open Project File.
Transferring Data
10
10-7
10 Transferring Data
10.2.2 Program Disable Processing when a Write Error Occurs
If this message is displayed, the main ladder program (high-speed or low-speed) is invalid in the Machine Controller
and will not be executed even if the CPU is restarted (RUN).
Even under the above conditions, if there is a communications timeout or if a write error occurs due to not being able
to communicate with the Machine Controller, the message below in (2) will be displayed and disable processing will
not be executed.
If this message is displayed, the program will be executed when the CPU is restarted (RUN) even if the program is
incompletely written. Before restarting the CPU, be sure to execute the data transfer again to ensure that the program in
the Machine Controller is complete.
10-8
10.2 Transferring Data
1. Select Online - Transfer from the main menu, and click the Save to Flash Button in the Transfer Dia-
log Box.
Alternatively, select Online - Save to Flash from the main menu.
A third method is to select Transfer - Save to Flash from the Launcher.
The Transfer Program - Save to Flash Dialog Box will appear.
If the CPU is in RUN status, the following message will appear. Click either the Yes Button or the CPU STOP
Button to start saving the data to flash memory.
If the Yes Button is clicked, the operation will take more time.
When the save operation is completed, the following message will appear.
Transferring Data
Click the OK Button. If the data was saved to flash memory with the CPU in RUN status, the operation will be
finished.
If the data was saved to flash memory with the CPU stopped, the following message will appear.
10
If the Yes Button is clicked, the CPU will be restarted (RUN), and the save operation will be completed.
If the No Button is clicked, the save operation will complete with the CPU stopped.
10-9
10 Transferring Data
10.2.4 Reading from Machine Controllers
1. Select Online - Transfer from the Main Menu, and click the Read from Controller Button in the
Transfer Dialog Box that will be displayed.
Alternatively, select Online - Read from Controller from the Main Menu.
If the project file does not contain connection information, or if the Read from Controller Button is clicked in
the Transfer Dialog Box, the Communications Setting Dialog Box will be displayed.
In all other cases, the Transfer Program - Read from Controller Dialog Box shown in step 3 will be displayed.
2. Select the port to be used for the transfer, and click the Connection Button.
The Transfer Program - Read from Controller Dialog Box will be displayed.
When selecting Batch, select the types of data to be transferred from among System Configuration, Program,
Register, and Comment.
When Individual is selected, not only can System Configuration, Program, Register, or Comment be specified,
but also the particular data to be transferred.
10-10
10.2 Transferring Data
For details on the data of the System Configuration, Program, Register, and Comment that is transferred, refer
to .
Reading from the Machine Controller will be started.
When the transfer has been completed, the following message will be displayed. Click the OK Button to end the
read operation.
After the transfer is complete, the data transfer log and results can be confirmed in the Transfer Subwindow.
1. Select Online - Transfer from the Main Menu, and click the Read from Controller Button in the
Transfer Dialog Box that will be displayed.
Alternatively, select Online - Read from Controller from the Main Menu.
A third method is to select Transfer - Read from Controller from the Launcher.
The Open Project Dialog Box will be displayed.
2. Either select the project file in which the data read from the Machine Controller is to be saved or enter
the name of a new project file to be created, and then click the Open Button.
Transferring Data
10
If a new project file is being created, the class of the currently connected Machine Controller will be set for that
project file.
The Transfer Program - Read from Controller Dialog Box will be displayed.
The subsequent operations are the same as from step 3 onwards in ( 1 )Offline with an Open Project File.
10-11
10 Transferring Data
10.2.5 Writing into a Project File
1. Select Online - Transfer from the main menu, and click the Write into Project Button in the Transfer
Dialog Box.
The Open Project Dialog Box will appear.
The Transfer Program - Write into Project Dialog Box will appear.
3. Click either the Batch or Individual Button, and then click the Start Button.
When selecting the Batch or Individual Button, the types of data to be transferred (System Configuration, Pro-
gram, Register, and Comment) can be selected.
When selecting the Individual Button, the particular data to be transferred can also be designated.
For details on the data of the System Configuration, Program, Register, and Comment that is transferred,
refer to .
After clicking Start, the data will begin writing into the project file.
10-12
10.2 Transferring Data
When the writing is complete, the following message will appear. Click OK.
After the transfer is complete, the data transfer log and results can be confirmed in the Transfer Subwindow.
Transferring Data
10
10-13
10 Transferring Data
10.2.6 Reading from a Project File
1. Select Online - Transfer from the main menu, and click the Read from Project Button in the Transfer
Dialog Box.
The Read from Project Dialog Box will appear.
2. Select a project file from which a data is to be read and then click the Open Button.
The Transfer Program - Read from Project Dialog Box will appear.
3. Click either the Batch or Individual Button, and then click the Start Button.
When selecting the Batch or Individual Button, the types of data to be transferred (System Configuration, Pro-
gram, Register, and Comment) can be selected.
When selecting the Individual Button, the particular data to be transferred can also be designated.
For details on the data of the System Configuration, Program, Register, and Comment that is transferred,
refer to .
After clicking Start, the data will begin reading from the project file.
10-14
10.2 Transferring Data
When reading is complete, the following message will appear. Click OK.
After the transfer is complete, the data transfer log and results can be confirmed in the Transfer Subwindow.
Transferring Data
10
10-15
10 Transferring Data
10.2.7 Writing into the CF Card
1. Select Online - Transfer from the main menu, and click the Write into CF Card Button in the Transfer
Dialog Box.
The Select Drive Dialog Box will appear.
The Transfer Program - Write into CF Card Dialog Box will appear.
After the transfer is complete, the data transfer log and results can be confirmed in the Transfer Subwindow.
10-16
10.2 Transferring Data
1. Select Online - Transfer from the main menu, and click the Read from CF Card Button in the Trans-
fer Dialog Box.
The Select Drive Dialog Box will appear.
The Transfer Program - Read from CF Card Dialog Box will appear.
Transferring Data
Reading from the CF card will begin.
When the reading is complete, the following message will appear. Click OK to end the transfer operation.
10
After the transfer is complete, the data transfer log and results can be confirmed in the Transfer Subwindow.
10-17
10 Transferring Data
10.2.9 Comparison with the Machine Controller
( 1 ) Offline
1. Select Online - Transfer from the main menu, and click the Compare with Controller Button in the
Transfer Dialog Box.
The Communications Setting Dialog Box will appear.
2. Select the port to be used for the transfer, and click the Connection Button.
The Compare Program - Compare with Controller Dialog Box will appear.
When selecting the Batch or Individual Button, the types of data to be compared (System Configuration, Pro-
gram, Register, and Comment) can be selected.
When selecting the Individual Button, the particular data to be compared can also be designated.
For details on the data of the System Configuration, Program, Register, and Comment that is compared, refer
to .
After clicking Start, the data will begin comparison.
10-18
10.2 Transferring Data
When the comparison has been completed, the following message will be displayed. Click OK to end the com-
pare operation.
After the comparison is complete, the data comparison log and result can be confirmed in the Transfer Subwin-
dow.
( 2 ) Online
1. Select Online - Transfer from the main menu, and click the Compare with Controller Button in the
Transfer Dialog Box.
The Open Project Dialog Box will appear.
2. Select the project file to be compared with the Machine Controller Data, and click the Open Button.
When a connection is made to the Machine Controller after the project file has been opened, the file name of
the open project file will be displayed in the File name Field as the default.
Transferring Data
The Compare Program - Compare with Controller Dialog Box will appear.
The subsequent operations are the same as from step 3 onwards in 10.2.9 ( 1 ) Offline.
10
10-19
10 Transferring Data
10.2.10 Comparing Flash Memory and RAM
1. Select Online - Transfer from the main menu, and click the Compare Flash to RAM Button in the
Transfer Dialog Box.
The Compare Program - Compare Flash to RAM Dialog Box will appear.
The comparison between the data in flash memory and the data in RAM will begin.
When the comparison has been completed, one of the following messages will be displayed. Click OK to end the
compare operation.
After the comparison is complete, the data comparison log and results can be confirmed in the Transfer Sub-
window.
10-20
10.2 Transferring Data
1. Select Online - Transfer from the main menu, and click the Compare with Project File Button in the
Transfer Dialog Box.
The Open Project Dialog Box will appear.
2. Select the project file to be compared and click the Open Button.
The Compare Program - Compare with Project File Dialog Box will appear.
Transferring Data
10
When selecting the Batch or Individual Button, the types of data to be compared (System Configuration, Pro-
gram, Register, and Comment) can be selected.
When selecting the Individual Button, the particular data to be compared can also be designated.
For details on the data of the System Configuration, Program, Register, and Comment that is compared, refer
to .
10-21
10 Transferring Data
10.2.11 Comparing Project Files
After the comparison is complete, the data comparison log and result can be confirmed in the Transfer Subwin-
dow.
10-22
10.2 Transferring Data
1. Select Online - Transfer from the main menu, and click the Compare with CF Card Button in the
Transfer Dialog Box.
The Select Drive Dialog Box will appear.
The Compare Program - Compare with CF Card Dialog Box will appear.
Transferring Data
Comparison will begin.
When the comparison is complete, the following message will appear. Click OK to end the comparison opera-
tion.
10
After the comparison is complete, the comparison data log and results can be confirmed in the Transfer Sub-
window.
10-23
10 Transferring Data
10.2.13 Detailed Comparison of Programs and Registers
1. Select Online - Transfer from the main menu, and select a program to be compared in the Transfer
Dialog Box.
2. Select a data of project file, CF card, or Machine Controller to be compared, and then click the Open
Button. This explanation will use the selection of Compare with Project File as an example.
The Compare Program - Compare with Project File Dialog Box will appear.
3. Click either the Batch or Individual Button, and then click the Start Button.
When selecting the Batch or Individual Button, the types of data to be compared (System Configuration, Pro-
gram, Register, and Comment) can be selected.
10-24
10.2 Transferring Data
When selecting the Individual Button, the particular data to be compared can also be designated.
For details on the data of the System Configuration, Program, Register, and Comment that is transferred,
refer to .
After clicking Start, the data will begin comparison.
When the comparison is complete, the following message will appear. Click OK to end the comparison opera-
tion.
After the comparison is complete, the data comparison log and results can be confirmed in the Transfer Sub-
window.
Transferring Data
Multiple differences were found though only one element in the program was modified
This contradiction may appear in the results because ladder programs are compared on the base of execu-
tion codes (executable data after compilation) and one instruction is converted into multiple execution codes
(instruction numbers). This will not cause any problems in the operation.
10
Differences were found though the same data were compared.
(a) This contradiction may appear due to differences between two types of compilations (normal compilation
and version 5 compatible compilation). For a version 5 compatible compiler, the information on the ver-
sion 5 compatible compilation is written on 0 to 4 steps of the program. However, for a normal compiler,
such information is not given.
(b) When comparing programs in which conditional instructions* are used, this contradiction may appear due
to differences between two types of compilations (normal compilation and version 5 compatible compila-
tion): the work registers used by MPE720 version 6 are optimized. To obtain perfectly matched results,
execute compilation in the same compile mode.
* Indicate the instructions displayed in the Ladder Subwindow. Refer to Machine Controller MP900/
MP2000 series New Ladder Editor User’s Manual (manual number: SIE-C887-13.1) for details.
10-25
11
Axes
11-1
11 Axes
11.1.1 Overview of the Axis Setup Wizard
( 2 ) Conditions of Use
The following conditions must be established in order to use the Axis Setup Wizard.
• The communication port used must be Ethernet or Ethernet (LP).
• Communication with the Machine Controller must be established (online status).
• The SERVOPACK must be a ∑-V series for use with MECHATROLINK.
• SigmaWin+ Ver. 5.11 or later must be installed.
If SigmaWin+ Ver. 5.11 or later is not installed, you can download it free of charge from the e-mechatronics site
(product/technology information site).
Access this site with the following URL: http://www.e-mechatronics.com/support/tool/
• The SERVOPACK version must be 0011 or later.
• The built-in SVB with CPU of the Machine Controller must be Ver. 2.60 or later, and an optional SVB must be
Ver. 1.25 or later.
11-2
11.1 Axis Setup Wizard
(1)
(2)
Axes
11
11-3
11 Axes
11.1.3 Names and Descriptions of Components of the Axis Setup Wizard
(1)
(2) (3)
The only axis that can be used with the Axis Setup Wizard is the selected axis. To use another axis, click the
Axis Button to display the Axis Dialog Box, then make another axis selection.
11-4
11.1 Axis Setup Wizard
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
11-5
11 Axes
11.1.3 Names and Descriptions of Components of the Axis Setup Wizard
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
11-6
11.1 Axis Setup Wizard
(1)
(2) (3)
(4)
(5)
(6)
(7)
(8)
11-7
11 Axes
11.1.3 Names and Descriptions of Components of the Axis Setup Wizard
Ball screw
(1)
(2)
(3)
(4)
(5)
(6)
(7) (8)
Rotary table
(3)
(9)
11-8
11.1 Axis Setup Wizard
(3)
(10)
(11)
Sets the reference unit/electronic gear settings and returns you to the Fixed Parameter
(7) Set
Setting Window.
Returns you to the Fixed Parameter Setting Window without setting the reference unit/
(8) Cancel
electronic gear settings. 11
(9) Per rotation Set the travel per rotation of the rotary table.
(10) Pitch P Set the travel per rotation of the pulley.
(11) Pulley Dia. Set the diameter of the pulley.
11-9
11 Axes
11.1.3 Names and Descriptions of Components of the Axis Setup Wizard
(1)
(2)
(3)
(4) (5)
11-10
11.1 Axis Setup Wizard
The values set here are also reflected in Pn205, the Multiturn Limit Setting parameter, upon saving.
(1)
(2)
(3)
(4) (5)
The “reset rotation amount” differs as shown below depending on whether the reference unit is “pulse” or “mm/deg/
inch.”
“No. 10: Reset position of infinite length axis” “No. 10: Reset position of infinite length axis” × “No. 8: Motor gear ratio”
“No. 36: Number of pulses per motor rotation” “No. 6: Travel distance per machine rotation” × “No. 9: Machine gear ratio”
When the reference unit is “pulse” When the reference unit is “mm/deg/inch”
11-11
11 Axes
11.1.3 Names and Descriptions of Components of the Axis Setup Wizard
(1)
(2) (3)
11-12
11.1 Axis Setup Wizard
■ If “1: Absolute encoder” has been selected at (1) Encoder selection in [ b ] Axis Type Setting, the
fixed parameters and SERVOPACK parameters are compared after saving the fixed parameters.
2. Parameters that have been checked are marked with , and the results of checks are indicated.
If the fixed parameters and the SERVOPACK parameters match: Equal
If the fixed parameters and SERVOPACK parameters do not match: Not equal
Axes
11
11-13
11 Axes
11.1.3 Names and Descriptions of Components of the Axis Setup Wizard
( 5 ) Tuning
SigmaWin+ tuning can be started to adjust the axes optimally.
For details on setting tuning, refer to 4.6 Tuning in AC Servo Drives Engineering Tool SigmaWin+ Online Manual ∑-
V Component (manual No.: SIEP S800000 73).
11-14
11.1 Axis Setup Wizard
Axes
11
11-15
11 Axes
11.1.3 Names and Descriptions of Components of the Axis Setup Wizard
(1) (2)
11-16
11.1 Axis Setup Wizard
(1)
(2) (3)
(1) (2)
(1) Yes
dow.
Returns you to the Axis Setup Wizard Window without saving a backup copy of the SERVOPACK
(2) No
parameters.
11
11-17
11 Axes
11.2.1 Overview of Test Running
* For inverters, the “ready for operation” status is the operation permitted status, and the “servo ready” status is
the inverter ready status.
A precondition for carrying out a test run correctly is that no ladder program, motion program or sequence program is run-
ning.
11-18
11.2 Test Run
1. Double-click Axis configuration - Test run in the System Subwindow. Alternatively, click the Test
Run Button registered in the My Tool Window.
Axes
11
11-19
11 Axes
11.2.2 Starting a Test Run
The Test run Window and the Axis Dialog Box will be displayed.
3. Select the axis on which the test run is to be carried out from the axis configuration tree in the Axis
Dialog Box, then click the OK Button.
11-20
11.2 Test Run
4. On clicking the Yes Button, the selected axis name will appear in the display field to the right of the
Axis Button in the Test Run Window.
The axis on which the test run can be performed is restricted to the single selected axis. To use another axis,
click the Axis Button to display the Axis Dialog Box, then make another axis selection.
Axes
11
11-21
11 Axes
11.2.3 Names and Descriptions of Components of Test Run
(1)
(2) (3)
11-22
11.2 Test Run
( 2 ) Test Run
Test runs can be carried out from this window.
(1)
(2) (3)
(4)
(5) (7)
(6)
(8)
(11)
(12)
(13) (14)
11-23
11 Axes
11.2.3 Names and Descriptions of Components of Test Run
(1)
(2) (3)
(1)
(2) (3)
11-24
11.2 Test Run
(1)
(2)
(3)
(4)
(5) (6)
Axes
11
11-25
11 Axes
11.2.4 Setting the Speed, Step Distance, and Direction
If the units for specifying the speed reference value have not been set, the following message dialog box will be
displayed. Click the Open Button and set the speed reference unit.
2. Enter the value for the step motion, then click the Set Button.
The entered value (step distance) is written to the setting parameter, completing setting.
11-26
11.2 Test Run
2. Set the direction of operation and whether repetitive operation is to be performed or not, then click the
Set Button.
When operation is started, these settings are reflected as the current values of the setting parameters.
Axes
11
11-27
11 Axes
11.2.5 Servo Enable and Servo Disable Status of Axes
11-28
11.2 Test Run
• Jog operation can be performed while the axis is in the servo enable status.
• When you switch from the Jog Tab Page to the Step Tab Page, the values set in jog operation are not saved.
2. Press and hold down the Forward Button with the mouse.
The axis rotates in the forward direction.
Axes
11-29
11 Axes
11.2.6 Axis Jog Operation
2. Press and hold down the Reverse Button with the mouse.
The axis rotates in the reverse direction.
11-30
11.2 Test Run
• Step operation can be performed while the axis is in the servo enable status.
• On switching from the Step Tab Page to the Jog Tab Page, the values set in step operation are not saved.
Axes
Step operation of the axis starts with the speed, step distance and direction of operation set in step 1. On reaching
the set count, step operation stops. 11
If operation is stopped while step operation is in progress, the message below is displayed.
11-31
11 Axes
11.3.1 Outline of Axis Monitor
11-32
11.3 Axis Monitor
Axes
11
11-33
11 Axes
11.3.3 Names and Descriptions of Components of Axis Monitor
( 1 ) Axis Monitor
In the Axis Monitor Tab Page, only the axes displayed in the main window can be monitored. To monitor a hidden
axis, scroll the window to display it.
The axes that can be displayed for each module are as follows.
SVB Module: Axes connected to the MECHATROLINK network
SVA-01: 2 axes
SVR: 16 axes
PO-01: 4 axes
(1)
(2)
(3)
(4)
11-34
11.3 Axis Monitor
[ a ] Toolbar
The toolbar includes icons relating to monitoring, e.g. for circuit selection and speed changes to be monitored.
Update with latest infor- Updates the Axis Monitor Window with the latest infor-
mation mation.
[ c ] Axis Indication
The axis number, axis type name, and comment (if there is a comment) for each axis are displayed.
Ready/Servo Enable
The Ready and Servo Enable operating statuses are displayed.
11-35
11 Axes
11.3.3 Names and Descriptions of Components of Axis Monitor
Alarm/Warning
When they have occurred, alarms and warnings are displayed.
Clicking the status displays the Alarm/Warning Dialog Box, enabling you to check the detailed information on
the alarm or warning.
For details on alarms/warnings, see 11.3 Axis Monitor.
When an alarm or warning is remedied, the status changes to that shown below.
Distribution
Indicates the status that the distribution is completed.
completed
Motion Command
The status of the motion command response code is displayed. The background for statuses other than 0:NOP is shown
in blue.
11-36
11.3 Axis Monitor
2. Click the ▼ Button to drop down the combo box, then select the monitor parameter. Alternatively, enter
the motion register (I/O registers only) directly.
Axes
11
11-37
11 Axes
11.3.4 Setting and Displaying Monitor Parameters
11-38
11.4 Alarm Monitor
Axes
11
11-39
11 Axes
11.4.2 Starting Alarm Monitor
11-40
11.4 Alarm Monitor
( 1 ) Alarm Monitor
The Alarm Monitor Tab Page shows the warning and alarm occurrence statuses for each circuit. A maximum of 8
axes can be displayed in a single row, in the Axis Monitor Tab Page.
When offline, all monitor data is displayed as “-----”.
[ a ] Toolbar
Icons for manually refreshing and for temporarily stopping or starting monitoring are provided.
11
11-41
11 Axes
11.4.3 Names and Descriptions of Components of Alarm Monitor
When a circuit is hidden: The monitor data of alarms and warnings is hidden.
[ c ] Statuses
When an alarm or warning occurs, the alarm/warning statuses are displayed.
Icon Name Function
Normal status Indicates that no alarm or warning is in effect.
11-42
11.4 Alarm Monitor
( 2 ) Displaying alarms/warnings
Double-click the axis on which the alarm or warning occurred to display the Alarm/Warning Dialog Box.
(1)
(3)
(4)
(2)
(5)
(6)
(7)
Axes
11
11-43
11 Axes
11.4.4 When an Alarm/Warning Occurs
Clicking the status displays the Alarm/Warning Dialog Box, allowing you to check the detailed information on the
alarm or warning.
Here, the procedure when an alarm or warning occurs is explained by taking a servo driver communication error as an
example.
2. Select the name of the alarm or warning that has occurred, and click the Help Button.
The user’s manual on the Motion Module for MP2200 and MP2300 Machine Controllers opens, and the details
on the selected alarm or warning are displayed.
When an alarm and warning have occurred, the details for the alarm are displayed.
11-44
11.4 Alarm Monitor
3. Read the detailed information on the alarm that has occurred and take corrective action in accordance
with the manual.
Axes
11
11-45
11 Axes
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
11-46
12
Monitoring
This chapter describes how to monitor items such as register status and the operating status of con-
nected Machine Controllers.
12-1
12 Monitoring
12-2
12.2 Register Lists
2. In the Register Field, Enter the register address to be displayed in the memory map. To display a D register list,
also enter the program number as shown below.
Buttons
Monitoring
12
12-3
12 Monitoring
12.2.3 Changing Memory Map Displays
The number of registers displayed in one row can be changed. The display can also be changed using the five
buttons at the upper right of the list.
Right-click the register list, and select decimal, hexadecimal, binary, or ASCII from the pop-up menu to change
the data type in the Value Fields. The type cannot be changed, however, for data types B and F.
Characters are displayed in blue and black in alternating rows.
The Monitor Icon is valid while a Machine Controller is connected (while online).
In the screen shown in step 3 on the previous page, a green background indicates that the register is used in a
ladder program. A red background indicates that the register is used for more than one data type. This color-
coded display is enabled when the Memory Map Display Button is ON .
For details on the number of registers displayed in one row and on using the five buttons, refer to 12.2.3
Changing Memory Map Displays, below.
12-4
12.2 Register Lists
Monitoring
12
12-5
12 Monitoring
12.3.1 Outline
2. Display the text cursor by either double-clicking the Variable Field or pressing the F2 Key, and then
enter the register or variable that is to be watched. The register or variable can be entered by dragging
and dropping, or copying and pasting from a ladder program or the Variable Subwindow.
To watch a D register, also enter the program number as shown below.
Right-click the row, and select decimal, hexadecimal, binary, or ASCII from the pop-up menu to change the data
type in the Value Field.
12-6
12.3 Watch Function
Monitoring
12
12-7
12 Monitoring
12.4.1 Outline
If "!=" is used in an EXPRESSION instruction, the operation item on the right side of the equation may display
an inverted current value. If this happens, 1 will be displayed in place of 0, so online current value display
may be inconsistent, as shown below.
12-8
12.5 Offline Current Value
Monitoring
12
12-9
12 Monitoring
12.6.1 Outline
2. Move the mouse pointer to the title bar to display the System Monitor Subwindow.
The default setting is Automatically Hide Mode. Click the Automatically Hide Button in the title bar to
convert to a floating window that will not be hidden.
RUN Status Display
This display shows the status of the LED indicators for the Machine Controller.
LED Contents Color and Status Monitor Register
SB000400
Green: Normal
RDY Machine Controller operating status ON: Normal
Gray: Error
OFF: Error
SB000401
Green: Operating
RUN Machine Controller RUN status ON: Operating
Gray: Stopped
OFF: Stopped
SB000402
Red: Alarm
ALM Alarm status ON: Alarm
Gray: Normal
OFF: Normal
SB000403
Red: Error
ERR Error status ON: Error
Gray: Normal
OFF: Normal
MECHATROLINK-I/
Always gray. (Always not
TX MECHATROLINK-II ---
communicating.)
data transmission status
SB000487
Red: Battery alarm
BAT Battery alarm status ON: Alarm
Gray: Normal
OFF: Normal
12-10
12.6 System Monitor
If program write protection is set to Write Disable in the Setup Folder of the Environment Setting Dialog Box,
connection may not be possible the next time it is attempted. If this occurs, turn the power supply to the
Machine Controller OFF and then back ON.
Setting Button
When this button is clicked, the Scan Time Setting screen in the Environment Setting Dialog Box is displayed
and the scan time can be changed.
Monitoring
12
Clear Button
When this button is clicked, the maximum value for the high-speed or low-speed scan is cleared.
12-11
12 Monitoring
12.6.3 Pop-up Display When an Error Is Detected
For details on measures to take when errors are detected, refer to 12.7 Troubleshooting.
12-12
12.7 Troubleshooting
12.7 Troubleshooting
12.7.1 Overview of Troubleshooting
( 1 ) What is Troubleshooting?
The troubleshooting function is used to detect and analyze errors that occur when a Machine Controller is connected.
When an error occurs, a message is displayed in the status area of the System Monitor Subwindow to notify the occur-
rence of the error.
Troubleshooting can be performed in relation to the following errors.
• Critical failures
• Operation errors (occurring in ladder programs, motion programs, and sequence programs)
• Battery alarm
• Scan time exceeded errors
• I/O errors (occurring at I/O modules)
( 2 ) Flow of Troubleshooting
Clicking the part where “An alarm has occurred.” is displayed in red starts the troubleshooting to analyze the error.
Monitoring
12
12-13
12 Monitoring
12.7.2 Starting Troubleshooting
1. When an error occurs the System Monitor Subwindow automatically pops up and an alarm is displayed
in the status area.
Troubleshooting starts.
A setting in the Environment Settings Dialog Box specifies whether the pop-up appears. For details, see
12.6.3 Pop-up Display When an Error Is Detected.
2. Click the area where the following message is displayed in red: “An alarm has occurred. Troubleshoot-
ing is started by clicking here.”
12-14
12.7 Troubleshooting
[ a ] When an Operation Error Has Occurred in a Program Other than a Function Program
Occurrence
of error
1. When an error has occurred in a program other than a function program (ladder program, motion pro-
gram, sequence program), the following error message is displayed.
The same applies when an operation error occurs in a program called by an SEE command, MSEE command
or SSEE command.
Monitoring
12
12-15
12 Monitoring
12.7.3 Analysis in Troubleshooting
On moving the mouse pointer to the status area a pop-up help message will be displayed to enable checking of
the error information of the status area at a glance.
3. Identify the command where the error occurred based on the error message and information in the sta-
tus area, and correct the program.
4. When dealing with a ladder program compile the program, and when dealing with a motion program or
sequence program save the program.
12-16
12.7 Troubleshooting
[ b ] When an Operation Error Has Occurred in a Function Program Called from a Program Other than
a Function Program
Occurrence
of error
Monitoring
12
On moving the mouse pointer to the status area a pop-up help message will be displayed to enable checking of
the error information of the status area at a glance.
3. Identify the command where the error occurred based on the error message and information in the sta-
tus area, and correct the program.
12-17
12 Monitoring
12.7.3 Analysis in Troubleshooting
[ c ] When an Operation Error Has Occurred in a Function Program Called from a Function Program
Occurrence
of error
1. When an operation error has occurred in a function program called from a function program, the follow-
ing error message is displayed.
3. Search for the function program from which the function program was called, and search within it for
the FUNC instruction object where the function program was called.
4. Open the function program that is called up by the FUNC instruction object, and correct the program.
Search for the instruction where the error occurred based on the error information, and identify the command.
12-18
12.7 Troubleshooting
1. If MPE720 version 6 judges that it is not the latest error information, for example when the program in
which the error occurred has been deleted, the following error message is displayed.
Monitoring
12
12-19
12 Monitoring
12.7.3 Analysis in Troubleshooting
1. When an error occurs in an I/O module connected to the Machine Controller, the following error mes-
sage is displayed.
The information on the I/O module in which the error occurred is displayed in the status area of the System Mon-
itor Subwindow.
12-20
12.7 Troubleshooting
3. After checking the module information, open the Module Configuration Window.
4. From this window, open the I/O module in which the error occurred.
Monitoring
12
12-21
12 Monitoring
12.7.3 Analysis in Troubleshooting
5. Check the status (STS) of the I/O module, and analyze the location where the I/O error occurred.
Since the status is shown in hexadecimal, convert the first and fourth digits to binary by referring to the figure
below.
12-22
12.7 Troubleshooting
If the program has not been corrected properly, or if multiple errors have occurred, the display changes to that
shown in step 1 of 12.7.2 Starting Troubleshooting. Analyze the error again.
Monitoring
12
12-23
12 Monitoring
12.7.5 Error Codes
12-24
12.7 Troubleshooting
(cont’d)
Error Code Error Classification
0xA5 QSORT error
0xA6 RCHK error
0xA7 RCHK error
0xA8 COPYW error
0xA9 ASCII error
0xAA BINASC error
0xAB ASCBIN error
0xAC BRCH error
0xAD BSRCH error
0xAE TMADD error
0xAF TMSUB error
0xB1 SPEND error
0xC0 TBLBR error
0xC1 TBLBW error
0xC2 TBLSRL error
0xC3 TBLSRC error
0xC4 TBLCL error
0xC5 TBLMV error
0xC6 QTBLR error
0xC7 QTBLRI error
0xC8 QTBLW error
0xC9 QTBLWI error
0xCA QTBLCL error
0xE0 MSEE error
Monitoring
12
12-25
13
Tracing
13-1
13 Tracing
13-2
13.2 Real-Time Tracing
Tracing
13
13-3
13 Tracing
13.2.2 Starting Real-Time Trace
(3)
(1)
(2)
(4) (5)
13-4
13.2 Real-Time Tracing
(1)
(2)
(3)
(4) (5)
Tracing
13
13-5
13 Tracing
13.2.3 Names and Descriptions of Components of Real-Time Tracing
( 2 ) Overall View
Tracing Targets
Tracing Toolbar Displays the tracing targets, trace files and
Selects axes, sets conditions for obtaining tracing history.
trace data, and starts tracing, in this order.
13-6
13.2 Real-Time Tracing
( 3 ) Graph Toolbar
Icon Function
Scroll Icon: Moves the display position. Double-clicking at the desired position enlarges the view.
Enlarge Icon: Enlarges the view on selecting the desired position by dragging or double-clicking.
Cursor A: Displays cursor A and shows the values at the intersections of the graphs.
Cursor B: Displays cursor B and shows the values at the intersections of the graphs.
Cursor C: Displays cursor C and shows the values at the intersections of the graphs.
Cursor D: Displays cursor D and shows the values at the intersections of the graphs.
Coordinate Cursor A/B Icon: Coordinates the movement of cursors A and B, separated by a fixed dis-
tance.
Coordinate Cursor C/D Icon: Coordinates the movement of cursors C and D, separated by a fixed dis-
tance.
Copy Graph Icon: Copies the graph display image to the clipboard.
Tracing
13
13-7
13 Tracing
13.2.3 Names and Descriptions of Components of Real-Time Tracing
( 4 ) Tracing Toolbar
(1)
(2) (3)
(4)
(5) (6)
13-8
13.2 Real-Time Tracing
Displays the registers that have been set as the tracing target. It is also possible to
directly enter registers rather than selecting them in the Trace Target List.
Right-clicking on Trace Target will display the pop-up menu that
(4) Trace Target enables editing of the tracing targets.
Insert Row: Inserts an empty row.
Delete Row: Deletes the selected rows. If a tracing target is set in
the selected row, the tracing target is removed.
(5) OK Sets the tracing targets and enables the Sampling & Trigger Setting Button.
(6) Cancel Returns to the Real-Time Trace Tab Page without setting the tracing targets.
Tracing
13
13-9
13 Tracing
13.2.3 Names and Descriptions of Components of Real-Time Tracing
(1)
(2)
(3)
(4) (5)
13-10
13.2 Real-Time Tracing
Trigger Setting
There are four settings available as the condition for executing tracing.
[No trigger]
Executes tracing with no condition.
(1)
Tracing
13
13-11
13 Tracing
13.2.3 Names and Descriptions of Components of Real-Time Tracing
[Edge ON/OFF]
Obtains data before and after a specific bit changes from OFF to ON or ON to OFF.
(1) (6)
(2) (2)
(3) (3)
(4) (4)
(5) (5)
13-12
13.2 Real-Time Tracing
[Details]
Enables tracing by using any register as the trigger.
(1)
(2) (3)
(2)
(4) (3)
(4)
(4) (5)
(4)
(5)
(3)
Terminate
If no terminate trigger is specified, tracing will continue until sampling is stopped.
Specify the number of samplings to be performed after the establishment of the stop condition
(5) Delay
before stopping tracing.
13
13-13
13 Tracing
13.2.3 Names and Descriptions of Components of Real-Time Tracing
[ c ] Start/Stop Trace
Function Description
Starts tracing. The trace data are obtained and displayed in real time.
Start Trace If Program is selected in the Sampling & Trigger Setting Window, tracing cannot be
started. Only the Read Again Button is available.
The transition of the data during tracing is displayed in real time if this check box is checked.
Real Time Display * The data transition is displayed only on one Trace Tab Page when multiple Trace Tab
Pages are open.
Stop Trace Stops tracing. All the buffer trace data are obtained and displayed on stopping.
[ d ] Read Again
Function Description
Read Again Reads the trace data from the Machine Controller again.
13-14
13.2 Real-Time Tracing
( 5 ) Tracing Targets
The tracing targets that were measured, read from external files, or from history data are displayed in an easy-to-under-
stand manner.
The waveform, graph and details of each tracing target can be checked.
The waveform can be shown/hidden on the graph by checking/unchecking the corresponding check box.
(1)
(2)
(3)
(4)
(5)
(6)
(3)
(7)
Displays the trace names of the tracing targets registered from the monitor data or
(6) Trace Name read from external files.
Up to five data items can be backed up in the files and history data.
(7) Register
Displays the registers that have been registered from the monitor data or read from
external files as the tracing targets.
13
The registers are displayed in the same color as in the graph.
13-15
13 Tracing
13.2.3 Names and Descriptions of Components of Real-Time Tracing
( 6 ) Trend Graphs
(1)
[ b ] Cursors
(1) (1)
(2)
(1)
(3)
(1)
13-16
13.2 Real-Time Tracing
[ c ] Slider
[ d ] Scrolling
Tracing
13
13-17
13 Tracing
13.2.3 Names and Descriptions of Components of Real-Time Tracing
Switched
⇒
13-18
13.2 Real-Time Tracing
Tracing
13
13-19
13 Tracing
13.2.3 Names and Descriptions of Components of Real-Time Tracing
(1)
(2)
13-20
13.2 Real-Time Tracing
(1)
(2)
Tracing
13
13-21
13 Tracing
13.2.3 Names and Descriptions of Components of Real-Time Tracing
Right-clicking the trace group name enables editing of all waveforms in the group collectively.
(1)
(2) (3)
(4) (5)
13-22
13.2 Real-Time Tracing
2. Select Trace Data - Edit Trace Data from the Main Menu. Alternatively, right-click on File & History
Data in the Trace List Subwindow, and select Edit Trace Data from the pop-up menu that will be dis-
played.
3. Shift the waveform to a desired position using the arrow buttons in the Edit Trace Data Window.
4. Click the Cursor A/B or Cursor C/D Icon in the Graph Toolbar and set the cursor at the register to be
analyzed.
5. Analyze the difference between the set register waveform and the actually output register waveform.
Tracing
13
13-23
13 Tracing
13.2.4 Analyzing Trace Data
1. Read trace data from an external file to File & History Data in the Trace List Subwindow.
If the trace data has already been read, check the check box of the trace definition to be used.
The waveform of the trace data will be plotted on the graph.
13-24
13.2 Real-Time Tracing
2. Select Trace Data - Offset/Scale Edit of Waveform from the Main Menu. Alternatively, right-click on
File & History Data in the Trace List Subwindow, and select Offset/Scale Edit of Waveform from the
pop-up menu that will be displayed.
The Edit Trace Data Window will be displayed.
3. Shift the start position of the data to the desired position using the arrow buttons in the Edit Trace Data
Window.
4. Compare the trace data with the past trace data using the edit functions (enlarge/reduce, slider, etc.).
Tracing
13
13-25
13 Tracing
13.2.5 Reading Trace Data
(1)
13-26
13.2 Real-Time Tracing
Tracing
13
13-27
13 Tracing
13.2.6 Saving Trace Data
(1)
13-28
13.2 Real-Time Tracing
Tracing
13
13-29
13 Tracing
13.2.7 Displaying in List Format
(1)
13-30
13.2 Real-Time Tracing
(2)
Tracing
13
13-31
13 Tracing
13.2.8 Copying the Graph
(1)
13-32
13.2 Real-Time Tracing
(2)
Tracing
13
13-33
13 Tracing
13.3.1 Outline
13-34
13.3 Data Tracing
Operation Panel
Area
(Refer to 13.3.5
Operation Panel.)
Graph Area
(Refer to 13.3.6
Graph Area Oper-
ations.)
List Area
(Refer to 13.3.7
List Area Opera-
tions.)
For description purposes, all of the above icons are shown as active.
• Graph Area
This area displays trace data. Either a trend graph or an X-Y graph can be selected. The Graph Area is not dis-
played when the List Area display is maximized. (Refer to 13.3.6 Graph Area Operations.)
• List Area
This area is used for operations such as assigning and deleting Monitor Variables. Monitor Variables are dis-
played in list format. The List Area is not displayed when the Graph Area display is maximized. (Refer to 13.3.7
List Area Operations.)
13
13-35
13 Tracing
13.3.4 Displaying Graphs
1. Double-click the Variable Field in the List Area to display the text cursor, and then enter the register or
variable name to be monitored and press the Enter Key.
For a D register, enter the name of the program to be monitored in the Program Field.
Variables can be entered by dragging and dropping from the Variable Subwindow.
A maximum of 16 registers or variables can be entered.
If a comment has been set for a variable that is entered, then the comment will be displayed by entering the vari-
able.
A blue background for a setting in the Variable Field indicates that the setting has not been saved.
Click the Yes Button. The setting will be saved and the background in the Variable Field will return to white.
3. Click the Start Button ( ) in the Operation Panel to start tracing, and click the Stop Button
( ) to stop. Alternatively, click the Snap Button ( ) to upload the current contents of the
trace memory.
A message will be displayed while the data is being obtained, and the graph will be displayed in the Graph Area.
The graphs can be toggled between a trend graph and an X-Y graph.
• Detailed settings can be made in the List Area for relevant variables, including not only setting the variables but
setting the display colors for graphs and displaying or hiding graphs. For details, refer to 13.3.7 List Area Opera-
tions.
• The method for displaying graphs can be set in detail in the Graph Area. For details, refer to 13.3.6 Graph Area
Operations.
• A wide range of data trace operations can be executed using the buttons in the operation panel. For details, refer to
13.3.5 Operation Panel.
13-36
13.3 Data Tracing
For description purposes, all of the above icons are shown as active.
Start Button ( )/Stop Button ( ): The Start Button and the Stop Button are valid only while online.
These buttons start and stop trace operations that record register values with each scan. When one of the buttons
is turned ON, the other is automatically turned OFF.
- Tracing is being executed. (May be waiting for trigger condition)
- Tracing is stopped.
Tracing is started simultaneously when the Scope Window is opened, so the Stop Button is turned ON when the
window is opened.
Snap Button ( ): The Snap Button is valid only while online.
When this button is clicked, a one-time snapshot of the trace data memory is captured and displayed.
Monitor data No. ( )
A maximum value can be set for the trace data to be captured when the Stop Button or Snap Button is clicked.
Either select All data, 100, or 1,000, or click in the cell and directly enter the number.
The maximum value that can be directly entered is 32,158.
Trigger and Configuration Button ( )
When this button is clicked, the Trigger and Configuration Dialog Box is displayed.
For details on the Trigger and Configuration Dialog Box, refer to 13.3.5 ( 2 ) Trigger and Configuration Dia-
log Box.
Trend Graph Button ( )
When this button is clicked, a trend graph is displayed.
For details on the contents of the display and the setting method, refer to 13.3.6 ( 6 ) Trend Graphs.
X-Y Graph Button ( )
When this button is clicked, an XY graph is displayed.
For details on the contents of the display and the setting method, refer to 13.3.6 ( 7 ) X-Y Graphs.
Import Button ( )
Tracing
When this button is clicked, the Select File Dialog Box is displayed and trace data and data trace definitions can
be read from selected files to the Data Trace Window.
Export Button ( )
When this button is clicked, the Select File Dialog Box is displayed and trace data and data trace definitions can
13
be written from the Data Trace Window to specified files.
Print Button ( )
When this button is clicked, the Select File Dialog Box is displayed and trace data and data trace definitions can
be saved to selected files.
13-37
13 Tracing
13.3.5 Operation Panel
Simple Display
Detailed Display
13-38
13.3 Data Tracing
For description purposes, all of the above icons are shown as active.
The following table shows the functions of the Graph Area buttons.
Scroll
by dragging.
Turns the cursor into the graph zoom-in cursor to enable enlarging areas by selecting
Zoom In
them with the cursor.
After using zoom-in to get a close up view, gradually reduces the size of the image
Zoom Out being displayed.
This icon is available.
Returns the graph to its original scale.
Reset
This icon is available.
Cursor A Toggles between displaying and hiding cursor A, one of the two cursor types (A and B).
Cursor operations
Cursor B Toggles between displaying and hiding cursor B, one of the two cursor types (A and B).
13-39
13 Tracing
13.3.6 Graph Area Operations
The items in the pop-up menu can perform the same operations as the buttons in the Graph Area. For details, refer to
13.3.6 ( 1 ) Functions of Buttons in Graph Area.
13-40
13.3 Data Tracing
When the Cursor Setting Button ( ) in the Graph Area is clicked, the Cursor Setting Dialog Box will be displayed
as shown below.
The following table shows the items to be set in the Cursor Setting Dialog Box.
When the Adjust Scale/Offset Button ( ) in the Graph Area is clicked, the Scale Offset Adjust Dialog Box will
be displayed as shown below. This dialog box can be used to adjust the scale (maximum value) for each axis of the
graph and to adjust the offset (deviation from the center).
Tracing
There is no need to select the object for scale adjustment. Offset adjustment is valid when an offset adjustment object is
selected in the Select Field of the list. (See note.) Offset adjustment cannot be used without selecting an object. It also
cannot be used if the selection is cleared after the dialog box is displayed. If that occurs, it can be used by selecting an
offset adjustment object from the list to activate it. 13
Note: Use the Select Field in the list to select the offset adjustment object. On Monitor Pages and File Pages,
the selected object will be a Monitor Variable. The offset adjustment horizontal axis will be the sampling
time, and the vertical axis will be the data value of the selected Monitor Variable. On an X-Y Display Page,
the Monitor Variables set for the vertical and horizontal axes become the objects. The offset adjustment
horizontal and vertical axes will be the data values for the variables that are set. For details on pages,
refer to 13.3.7 ( 1 ) Changing Pages.
13-41
13 Tracing
13.3.6 Graph Area Operations
The following table shows the items to be set in the Scale Object Adjust Dialog Box.
(cont'd)
Icon Name Contents Remarks
Input range:
When the object (sampling time) is
Horizontal Off- Used to set the horizontal offset posi- selected at a Monitor Page or File Page:
set Position Set tion. Enter a value directly or use the -99 to 99
Value spin buttons. When the object (variable value) is
selected at an X-Y Display Page:
-100.00 to 100.00
Horizontal Off- Used to adjust the horizontal offset
set Adjustment position. Drag up and down using the −
Bar mouse.
Used to return the scale or offset to
their default values.
The default value for the horizontal offset
Vertical scale: 100
Default is 0.00 when an object is selected at an X-
Horizontal scale: 100
Y Display Page.
Vertical offset: 0.00
Horizontal offset: 0
Used to close the Scale Offset Adjust
Close −
Window.
13-42
13.3 Data Tracing
( 6 ) Trend Graphs
When the Trend Graph Button ( ) in the operation panel is clicked, the Graph Area will change to the Trend Graph
Mode.
In Trend Graph Mode, Monitor Variables (register values) that have been set are displayed in graph format in a time
sequence.
Operations such as pointer settings, cursor settings, scale adjustments, and graph copying can be performed in this
mode. Operations in Trend Graph Mode are described in detail below.
13-43
13 Tracing
13.3.6 Graph Area Operations
( 7 ) X-Y Graphs
An X-Y graph takes two specified Monitor Variables (variable X and variable Y) in the horizontal and vertical axes,
and shows their relationship over a given time.
Monitor Variable selection (vertical axis) X-Y graph display setting buttons
Maximum value
selection
Variable names and maximum values can be set for the horizontal and vertical axes of X-Y graphs in the same way as
for the vertical axes of trend graphs. While an X-Y graph is displayed, display settings and playback operations are
enabled in addition to all of the operations for a trend graph.
[ b ] Playback Operations
The playback function reproduces displays of data captured before tracing is stopped, or data captured for snapshots.
Operations such as playback, stop, forward, return, slow-motion forward, and slow-motion return can be performed.
Playback can be executed when an X-Y graph is displayed. There is no time information included in an X-Y graph, so
this function is provided to display changes in data with the elapsed time.
13-44
13.3 Data Tracing
Playback Replays an X-Y graph from the beginning of the traced data.
( 1 ) Changing Pages
Tracing
13-45
13 Tracing
13.3.7 List Area Operations
13-46
13.3 Data Tracing
( 3 ) Pop-up Menu
The following pop-up menu is displayed by right-clicking in the List Area.
The following table list the operations in the above pop-up menu that cannot be executed using the list buttons.
Variable Comment (O) Toggles between displaying and hiding variable comments in the List Area.
Toggles between displaying and hiding Cursor A, Cursor B, and Difference A-B in
the List Area.
Cursor Position (P)
This operation is the same as selecting Display - Cursor Position
from the Main Menu. For details, refer to 13.3.7 ( 5 ) Monitor Pages.
Toggles between displaying and hiding Convert Unit in the List Area.
− This operation is the same as selecting Display - Convert Unit from
Convert Unit (U)
the Main Menu. For details, refer to Convert Unit (xN) 13.3.7 ( 5 ) Mon-
itor Pages.
Adjusts the width of cells in the List Area to the width of the cell where the cursor
− Adjust Cell Width (W)
is located.
Tracing
13
13-47
13 Tracing
13.3.7 List Area Operations
The Select Monitor Setting Dialog Box is displayed by clicking the Monitor Setting Button ( ). The Data
Trace Window displayed in the main window can be selected from Monitor 1 to Monitor 4.
The default setting is for only Monitor 1 to be displayed. For example, selecting Monitor 3 and clicking the OK Button
will cause Monitor 1 and Monitor 3 to be displayed in the main window.
A maximum of 16 Monitor Variables can be assigned on a single Data Trace Window (Monitor Window). The num-
ber of objects monitored can be expanded by setting multiple Monitor screens, and the objects can be easily displayed
by switching among the Monitor screens.
13-48
13.3 Data Tracing
( 5 ) Monitor Pages
Monitor Variables can be displayed, assigned, deleted, and edited at a Monitor Page.
For details on assigning and editing Monitor Variables, refer to 13.3.7 ( 8 ) Assigning Monitor Variables.
The following table describes the items in a Monitor Page display, using the illustration below as an example.
Item Contents
Selects the Monitor Variable that is to be edited. It is possible to view different data displays, search,
calculate, perform offset adjustments, and change the cursor to a cross.
The following items are displayed.
M:y: Number y of monitor
Select
Fx:y: Number y of file “x”
SUB: Difference between two variables
ADD: Sum of two variables
REF: Reference variable
Display Toggles between displaying ( ) and hiding ( ) a graph for a given variable.
Selects the color for a graph. The Select Color Dialog Box is displayed by double-clicking a cell.
Color
The color can then be selected and set.
Used to enter the variable name or register for the trace object.
Variable Variables can be entered by dragging and dropping from the Variable Subwindow.
A maximum of 16 registers or variables can be entered.
Program For a D register, enter the name of the program in which the D register is used.
Comment Comments are displayed (display only).
Selects one of the following as the Y-axis scale: Auto, Y1 Axis, or Y2 Axis.
When Auto is set, the scale is automatically adjusted and displayed for each Monitor Variable.
Y axis scale
When Y1 Axis is selected, the scale data is displayed at the left side of the graph; and when Y2 Axis is
selected, the scale data is displayed at the right side of the graph.
Maximum value Displayed by selecting List - Maximum/Minimum Value from the Main Menu. Maximum values for
(See note.) trace data are displayed (display only).
Minimum value Displayed by selecting List - Maximum/Minimum Value from the Main Menu. Minimum values for
(See note.) trace data are displayed (display only).
Cursor A Displayed by selecting List - Cursor Position from the Main Menu. Values for cursor A are dis-
(See note.) played (display only).
Cursor B Displayed by selecting List - Cursor Position from the Main Menu. Values for cursor B are displayed
(See note.) (display only).
Difference (A-B) Displayed by selecting List - Cursor Position from the Main Menu. The difference between the val-
(See note.) ues for cursors A and B is displayed (display only).
Displayed by selecting List - Convert Unit from the Main Menu. Sets values with a multiplication
Tracing
Note: The Maximum values and Minimum values, Cursors A and B, Difference (A-B), and Unit Conver-
sion (xN) are not displayed by default. If they do not appear in the List Area when they are dis- 13
played from the Main Menu, then display them by reducing the cell widths.
13-49
13 Tracing
13.3.7 List Area Operations
The following table shows the items in the X-Y Display Page.
Item Contents
Selects the object to be activated.
Select Once the object is activated, then the object can be adjusted and the cross cursor can be dis-
played.
Selects one of the following as the method for display the graph: hidden, fixed display, or
playback.
Display Hidden: Data is not displayed on a graph.
Fixed display: Data is displayed on a graph when tracing is executed.
Playback: data is displayed on a graph when playback is executed.
Selects the color for a graph. The Select Color Dialog Box is displayed by double-clicking a
Color
cell. The color can then be selected and set.
Specifies the name of a variable to be traced on the X axis (the horizontal axis).
Variable (X Axis)
The variable name can be selected from the variables set on the Monitor Page.
Specifies the name of a variable to be traced on the Y axis (the vertical axis).
Variable (Y Axis)
The variable name can be selected from the variables set on the Monitor Page.
Sets the number in the model display to which to connect.
Connection Point
Either Nothing or the Select number set for the X-Y page can be selected.
Cursor A Displayed by selecting List - Cursor Position from the Main Menu. Values for cursor A are
(See note.) displayed (display only).
Cursor B Displayed by selecting List - Cursor Position from the Main Menu. Values for cursor B are
(See note.) displayed (display only).
Difference (A-B) Displayed by selecting List - Cursor Position from the Main Menu. The difference between
(See note.) the values for cursors A and B is displayed (display only).
Note: The Cursor A, Cursor B, and Difference (A-B) are not displayed by default. If they do not appear in
the List Area, then display them by reducing the cell widths.
13-50
13.3 Data Tracing
( 7 ) File Pages
Monitor Variable data imported from specified files (CSV files) can be displayed in File Pages.
Use the following procedure to import the data.
1. Click the File Tab in the List Area to display a File Page.
3. Select the file (.csv) from which to import data, and click the Open Button.
The data in the selected file will be displayed.
The items displayed on a File Page are the same as those on a Monitor Page. Variables, programs, and comments
depend on data imported from files, so they cannot be edited.
The default setting for the number of File Pages displayed is two, but the number can be set for a maximum of eight.
Variables displayed on a File Page can be assigned as Monitor Variables, to be monitored on a Monitor Page.
For details, refer to 13.3.7 List Area Operations.
For details on setting the number of File Pages displayed, refer to 13.2.8 (3) [ d ] Setting the List Tab Page.
Tracing
13
13-51
13 Tracing
13.3.7 List Area Operations
Entering the Variable Name (Register) to the Variable Cell in a Monitor Page
Double-click the cell to enter the input mode. The variable name (register) can either be directly entered or it can be
entered by dragging and dropping from the Variable Subwindow.
13-52
13.3 Data Tracing
1. With the above dialog box displayed, select the variable to be referenced from the list and click the (1)
Object Variable Setting Button.
The selected variable name will be displayed in the Set value area.
2. Select the variable field on the Monitor Page that is to be set from the list, and click the Setting Button
in the Object Variable Setting Dialog Box.
The selected reference variable will be added to the selected variable field.
Not only file variable, but reference variable difference or sum can be selected as the reference variable type. When
Difference between reference variables is selected as the type, the Object Variable Setting Dialog Box will appear as
shown below. It will be similar when Sum of reference variables is selected.
Tracing
13
13-53
13 Tracing
13.3.7 List Area Operations
With a Monitor Variable selected in the list, click the Find Button ( ). The Find Dialog Box will be displayed,
and the maximum value, minimum value, local maximum value, local minimum value, and time axis can be found for
the selected variable.
Selects one of the following as the find object: Maximum value, Minimum
value, Local maximum value, Local minimum value, and Time axis.
When time axis is selected, the dialog box will appear as shown below.
Find Target
Selects either All Scope Data or Between A and B as the find area.
Find Area Between A and B cannot be selected when cursors A and B are
hidden.
Find from Top Searches from the top of the find area.
Find to
Searches backward from the present position.
Backward
Find to
Searches forward from the present position.
Forward
13-54
13.3 Data Tracing
Target Variable Displays the variable name for which a calculation is to be performed.
Selects either All Scope Data or Between A and B as the find area.
Find Area Between A and B cannot be selected when cursors A and B
are hidden.
Calculate Executes the calculation. The result is displayed in the Result area.
Tracing
13
13-55
13 Tracing
13.3.8 Other Functions
( 2 ) Print Settings
Data Trace Definitions, graphs, and lists can be printed using the following procedure. Select File - Print Object Set-
ting from the Main Menu. The Print Object Setting Dialog Box will be displayed. Check the items to be printed, and
click the OK Button.
Items which are set in the Print Tab Page of the Option Dialog Box to not be printed become inactive in the display.
For details, refer to 13.2.7 (3) [ e ] Setting the Print Tab Page.
Select File - Print from the Main Menu to execute printing according to the settings in the Print Object Setting Dia-
log Box.
13-56
13.3 Data Tracing
( 3 ) Optional Settings
Optional settings can be made related to displays and printing.
Select Display - Option from the Main Menu. The Option Dialog Box will be displayed. Optional settings can be made
by selecting the Set, Graph, XY graph, List, or Print Tab Page.
Reset Button
The set values will return to their status when the dialog box was opened.
Set as Default Button
The following message will be displayed: “The present option data will be set as the default. Yes or No?” Click the
OK Button. The present data will be set as the default.
Apply Button
The option data will be overwritten, and the set value will be immediately reflected.
Tracing
13
13-57
13 Tracing
13.3.8 Other Functions
Type
Reference
Back- Y axis, variables
File A and B
Item Setting ground X axis Y1 axis, Points Grid Monitor
variable cursors
color Y2 axis Variables
(1 to 16)
Sets the default values for the X axis units
Default Unit
(data, ms, sec, mm).
Sets the size of one X-axis mark in the
default units. (When the default unit is
Mark Width
ms, one mark will be 50 ms when the
mark width is set to 50.)
Sets the span of values (step) displayed
Mark Value Span
for marks.
Sets a solid line, wavy line, broken line,
Line Type
etc.
Line Width Sets a line width from 1 pt. to 6 pt.
Color Displays the Select Color Dialog Box.
Font Sets the font for displayed characters.
Sets a size from 8 to 72 points. Can be
Size entered directly. A decimal point cannot
be entered.
B: Bold
Font
I: Italic
Style U: Underline
Multiple selection possible.
When OFF: Regular
Displays a sample of font, size, and style
Sample
settings (display only)
: Can be set.
13-58
13.3 Data Tracing
Number of File Page: Select the default number of File Pages in the list, from 1 to 8.
Number of Monitor Data: Set the number of data items to be displayed in the List Area while tracing is being exe-
cuted.
All data is displayed when stopped or when a snapshot is taken.
For details on other settings, refer to 13.2.7 (3) [ b ] Setting the Graph Tab Page.
Scope Configuration
Print (Simple): Used for trace data printing when Scope Configuration is selected as the print object.
Print (Detail): Used for trace data printing when Scope Configuration is selected as the print object.
Do Not Print: Scope Configuration cannot be selected as the print object.
Graph
Print: Graph can be selected as the print object.
Do Not Print: Graph cannot be selected as the print object.
List
Print: List can be selected as the print object.
Do Not Print: List cannot be selected as the print object.
Tracing
13
Fig. 13.2 Print Object Setting Dialog Box (When List Is Set to Do Not Print)
13-59
13 Tracing
13.4.1 Overview of XY Tracing
13.4 XY Tracing
13.4.1 Overview of XY Tracing
( 1 ) What is XY Tracing?
XY tracing is a function to enable visual analysis of the locus of two axes by obtaining the position data (target posi-
tions, feedback positions) of the X- and Y-axis at every scan and plotting them on a two dimensional planar graph.
(1)
(2)
(3)
13-60
13.4 XY Tracing
(1)
(2)
(3) (4)
( 2 ) Overall View
Tracing
13-61
13 Tracing
13.4.3 Names and Descriptions of Components of XY Tracing
( 3 ) Graph Toolbar
Icon Function
Scroll Icon: Moves the display position. Double-clicking at the desired position enlarges the view.
Enlarge Icon: Enlarges the view on selecting the desired position by dragging or double-clicking.
Cursor A: Displays cursor A and shows the X and Y values at the intersections of the graphs.
Cursor B: Displays cursor B and shows the X and Y values at the intersections of the graphs.
Coordinate Cursor A/B Icon: Displays the difference value between cursors A and B and coordinates
the movement of cursors A and B, separated by a fixed distance.
Open External Files Icon: Displays the Open Dialog Box to enable reading of trace data from a file.
Copy Graph Icon: Copies the graph display image to the clipboard.
13-62
13.4 XY Tracing
( 4 ) Tracing Toolbar
(1)
(2)
(3) (4)
[ c ] Start/Stop Trace
Function Description
Tracing
Start Trace Starts tracing. The trace data are obtained and displayed in real time.
The movement of the axes during tracing is displayed in real time if this check box is checked.
Real Time Display * The data transition is displayed only on one Trace Tab Page when multiple Trace Tab Pages are
open.
Stop Trace Stops tracing. All the buffer trace data are obtained and displayed on stopping.
13
13-63
13 Tracing
13.4.3 Names and Descriptions of Components of XY Tracing
( 5 ) XY Graph
[ a ] Graph
(1)
(2)
(3)
13-64
13.4 XY Tracing
[ b ] Cursors
(4)
(5)
(6)
The X- and Y-axis coordinate values are displayed at the intersection of cursor A or cursor B
(4)
and the graph.
Tracing
13
13-65
13 Tracing
13.4.3 Names and Descriptions of Components of XY Tracing
[ c ] Sliders
(8) (7)
Reduces/enlarges the view on dragging the Scale Factor Sliders up/down or left/right.
(7)
The scale factor can be changed in the range from 0.01 to 64 times.
13-66
13.4 XY Tracing
[ a ] Analyzing the Difference (Delay) of the Feedback Positions Against the Target Positions
1. Click Cursor A and B Icons in the Graph Toolbar to display the cursors.
2. Select the target positions and feedback positions for cursors A and B using the Cursor Setting Drop-
down List Boxes.
3. Set the Buffer Data Time Axis Sliders at the time to be analyzed.
4. Analyze the difference value between the target and feedback positions.
It is possible to enlarge/reduce the view of the desired position using the Graph Toolbar.
Tracing
13
13-67
13 Tracing
13.4.4 Analyzing X-/Y-Axis Data
1. Click Cursor A and B Icons in the Graph Toolbar to display the cursors.
2. Set the same data for cursors A and B using the Cursor Setting Drop-down List Boxes.
4. Measure the time difference between the two points using the Time Axis Sliders.
It is possible to enlarge/reduce the view of the desired position using the Graph Toolbar.
13-68
13.4 XY Tracing
1. Click Cursor A and B Icons in the Graph Toolbar to display the cursors.
2. Select cursors A and B using the Cursor Setting Drop-down List Boxes.
3. Analyze the locus of axis movement by moving the Time Axis Sliders.
Tracing
13
13-69
13 Tracing
13.4.5 Saving Trace Data
13-70
13.4 XY Tracing
Tracing
13
13-71
13 Tracing
13.4.6 Copying the Graph
13-72
14
Tuning Panel
This chapter describes the overview and the functions of Tuning Panel.
Tuning Panel
14
14-1
14 Tuning Panel
14.1.1 What is the Tuning Panel?
14-2
14.2 Starting the Tuning Panel
(1)
(2)
Tuning Panel
14
14-3
14 Tuning Panel
14.3.1 Tuning Panel Tab Page
14-4
14.3 Names and Descriptions of Components of Tuning Panel
(1)
(2)
(6)
14
14-5
14 Tuning Panel
14.3.3 Unit
14.3.3 Unit
On double-clicking the Unit Field of each variable or directly entering a value, the Edit Dialog Box will be displayed.
The monitor mode in which editing of the current value is disabled, the unit of the current value data, and the scale con-
version for the current value data can be specified in this dialog box.
(1)
(2)
(3)
(4)
(5)
(6) (7)
14-6
14.3 Names and Descriptions of Components of Tuning Panel
(1)
(2) (3)
(4)
(5)
14
14-7
14 Tuning Panel
14.4.1 Registering Variables
1. Open the Tuning Panel Tab Page. On double-clicking Please input program name, the list of created
application programs will be displayed.
2. Select a program and enter the variables (registers) required for adjusting the operation of the pro-
gram. The current value data for the entered variables will be displayed.
14-8
14.4 Registering/Displaying/Editing with the Tuning Panel
2. Set ON or OFF for bit type variables or values for variables other than bit type.
For bit type variables For variables other than bit type
1. Double-click the Unit Field for each variable to display the Edit Dialog Box.
2. Check the Only monitor (disable editing of current value) Check Box.
Editing of the current value data is disabled, allowing monitoring only.
Tuning Panel
14
14-9
14 Tuning Panel
14.4.3 Changing Display of the Current Value Data
1. Double-click the Unit Field for each variable to display the Edit Dialog Box.
2. Select a display format from the Data type Drop-down List Box.
14-10
14.4 Registering/Displaying/Editing with the Tuning Panel
1. Double-click the Unit Field for each variable to display the Edit Dialog Box.
2. Select a number of decimal places from the Number of digits below decimal point (scale conver-
sion) Drop-down List Box.
If None is selected, the current value is displayed in the scale of the register.
Tuning Panel
14
14-11
14 Tuning Panel
14.4.3 Changing Display of the Current Value Data
1. Double-click the Visual monitor Field for each variable to display the Visual Monitor Setting Dialog
Box.
2. Set the display method for values within or outside the upper and lower limits for bit type variables, and
set the upper and lower limits for variables other than bit type.
For bit type variables For variables other than bit type
14-12
14.4 Registering/Displaying/Editing with the Tuning Panel
1. Right-click on the Tuning Panel Tab Page and select View - Name from the pop-up menu that will be
displayed.
2. The Name Column will be displayed on the Tuning Panel Tab Page. Click the Name Field and enter
the name.
* A maximum of 48 alphanumeric characters can be entered in the Name Field.
Tuning Panel
14
14-13
14 Tuning Panel
14.4.4 Other Settings
1. Right-click on the Tuning Panel Tab Page and select View - Upper/Lower Limit Value from the pop-
up menu that will be displayed.
2. The Lower limit and Upper limit Columns will be displayed on the Tuning Panel Tab Page. On dou-
ble-clicking the Lower limit or Upper limit Field or directly entering a value, the Visual Monitor Set-
ting Dialog Box will be displayed. Set the lower and upper limits within the permissible range.
14-14
14.4 Registering/Displaying/Editing with the Tuning Panel
1. Right-click on the Tuning Panel Tab Page and select View - View Definition from the pop-up menu
that will be displayed.
2. The View definition Column will be displayed in the Tuning Panel Tab Page. Click the View defini-
tion Field and edit the value.
* Changing the view definition may require changing of the upper/lower limit depending on the setting.
14-15
14 Tuning Panel
When the ladder program is deleted, the tuning data will also be deleted.
14-16
Appendices
head1
App
A-1
A Variable Tables
A.1 Variables that are Automatically Assigned by System
A Variable Tables
A.1 Variables that are Automatically Assigned by System
The following table provides details on “Variables that are Automatically Assigned by System” provided by MPE720
version 6.
A-2
A Variable Tables
A.1 Variables that are Automatically Assigned by System
App
A-3
A Variable Tables
A.1 Variables that are Automatically Assigned by System
A-4
A Variable Tables
A.2 Axis Variable Details
App
A-5
A Variable Tables
A.2 Axis Variable Details
A-6
A Variable Tables
A.2 Axis Variable Details
App
A-7
A Variable Tables
A.2 Axis Variable Details
A-8
A Variable Tables
A.2 Axis Variable Details
App
A-9
A Variable Tables
A.2 Axis Variable Details
A-10
A Variable Tables
A.2 Axis Variable Details
A-11
A Variable Tables
A.2 Axis Variable Details
A-12
A Variable Tables
A.2 Axis Variable Details
App
A-13
A Variable Tables
A.2 Axis Variable Details
A-14
A Variable Tables
A.2 Axis Variable Details
App
A-15
A Variable Tables
A.2 Axis Variable Details
A-16
A Variable Tables
A.2 Axis Variable Details
( 3 ) SVR-Module Variables
Variable Register Comments
ServoOn OBxx000 Servo ON
AlarmClear OBxx00F Alarm clear
Ready IBxx000 Motion controller operation ready
Running IBxx001 Running
UnitsSelection OWxx03 Function 1
MotionCommand - Motion command
CommandCode OWxx08 Motion command
ResponseCode IWxx08 Motion command response code
Control OWxx09 Motion command control flag
Pause OBxx090 Command pause
Abort OBxx091 Command abort
Direction OBxx092 JOG/STEP direction
Status IWxx09 Motion command status
Busy IBxx090 Motion command executing (BUSY) flag
Hold IBxx091 Motion command hold completed (HOLD)
Fail IBxx093 Motion command error occurrence (FAIL)
Motion command execution completed
Complete IBxx098
(COMPLETE)
MotionSubCommand - Motion sub command
CommandCode OWxx0A Motion sub command
ResponseCode IWxx0A Motion sub command response code
Status IWxx0B Motion sub command status
Busy IBxx0B0 Motion sub command executing (BUSY) flag
Fail IBxx0B3 Motion sub command error occurrence (FAIL)
Motion sub command execution completed
Complete IBxx0B8
(COMPLETE)
Position - Position
Command - Position reference
MoveType OBxx095 Position reference type
Position OLxx1C Position reference setting
StepDistance OLxx44 STEP distance
Setting - Position setting
ZEROWidth OWxx3D Home window
Status - Position status
DEN IBxx0C0 Distribution completed (DEN)
POSCOMP IBxx0C1 Positioning completed (POSCOMP)
NEAR IBxx0C3 Position proximity (NEAR)
ZERO IBxx0C4 Zero point position (ZERO)
ZRNC IBxx0C5 Zero point return (Setting) completed (ZRNC)
Monitor - Position monitor
TPOS ILxx0E Machine coordinate target position (TPOS)
CPOS ILxx10 Target position (CPOS)
MPOS ILxx12 Machine coordinate system position (MPOS)
APOS ILxx16 Machine coordinate feedback position (APOS)
head1
App
A-17
A Variable Tables
A.2 Axis Variable Details
A-18
A Variable Tables
A.2 Axis Variable Details
( 4 ) SVA-Module Variables
Variable Register Comments
ServoOn OBxx000 Servo ON
MLOCK OBxx001 Machine lock
AlarmClear OBxx00F Alarm clear
Ready IBxx000 Motion controller operation ready
Running IBxx001 Running
ServoReady IBxx003 Servo ready
MLKL IBxx0C6 Machine lock ON (MLKL)
Number of accumulated rotations of absolute
AbsoluteEncoderCumulativeRevolutions ILxx4A
encoder
InitialNumberOfIncrementalPulses ILxx4C Number of initial incremental pulses
UnitsSelection OWxx03 Function 1
SignalSelection OWxx04 Function 2
MotionCommand - Motion command
CommandCode OWxx08 Motion command
ResponseCode IWxx08 Motion command response code
Control OWxx09 Motion command control flag
Pause OBxx090 Command pause
Abort OBxx091 Command abort
Direction OBxx092 JOG/STEP direction
Status IWxx09 Motion command status
Busy IBxx090 Motion command executing (BUSY) flag
Hold IBxx091 Motion command hold completed (HOLD)
Fail IBxx093 Motion command error occurrence (FAIL)
Motion command execution completed
Complete IBxx098
(COMPLETE)
MotionSubCommand - Motion sub command
CommandCode OWxx0A Motion sub command
ResponseCode IWxx0A Motion sub command response code
Status IWxx0B Motion sub command status
Busy IBxx0B0 Motion sub command executing (BUSY) flag
Fail IBxx0B3 Motion sub command error occurrence (FAIL)
Motion sub command execution completed
Complete IBxx0B8
(COMPLETE)
head1
App
A-19
A Variable Tables
A.2 Axis Variable Details
A-20
A Variable Tables
A.2 Axis Variable Details
App
A-21
A Variable Tables
A.2 Axis Variable Details
A-22
A Variable Tables
A.2 Axis Variable Details
head1
App
A-23
A Variable Tables
A.2 Axis Variable Details
( 5 ) PO-Module Variables
Variable Register Comments
ServoOn OBxx000 Servo ON
MLOCK OBxx001 Machine lock
AlarmClear OBxx00F Alarm clear
Ready IBxx000 Motion controller operation ready
Running IBxx001 Running
MLKL IBxx0C6 Machine lock ON (MLKL)
UnitsSelection OWxx03 Function 1
MotionCommand - Motion command
CommandCode OWxx08 Motion command
ResponseCode IWxx08 Motion command response code
ResponseAlarmCode IWxx30 Motion command response alarm code
InverterAlarmCode IWxx32 Inverter alarm code
Control OWxx09 Motion command control flag
Pause OBxx090 Command pause
Abort OBxx091 Command abort
Direction OBxx092 JOG/STEP direction
Status IWxx09 Motion command status
Busy IBxx090 Motion command executing (BUSY) flag
Hold IBxx091 Motion command hold completed (HOLD)
Fail IBxx093 Motion command error occurrence (FAIL)
Motion command execution completed
Complete IBxx098
(COMPLETE)
Command - Command
CommandCode OWxx08 Command
ResponseCode IWxx08 Command response code
ResponseAlarmCode IWxx30 Response alarm code
InverterAlarmCode IWxx32 Inverter alarm code
Control OWxx09 Command control flag
Pause OBxx090 Command pause
Abort OBxx091 Command abort
Direction OBxx092 JOG/STEP direction
Status IWxx09 Command status
Busy IBxx090 Command executing (BUSY) flag
Hold IBxx091 Command hold completed (HOLD)
Fail IBxx093 Command error occurrence (FAIL)
Complete IBxx098 Command execution completed (COMPLETE)
MotionSubCommand - Motion sub command
CommandCode OWxx0A Motion sub command
ResponseCode IWxx0A Motion sub command response code
AuxiliaryInverterAlarmCode IWxx33 Auxiliary inverter alarm code
Status IWxx0B Motion sub command status
Busy IBxx0B0 Motion sub command executing (BUSY) flag
Fail IBxx0B3 Motion sub command error occurrence (FAIL)
Motion sub command execution completed
Complete IBxx0B8
(COMPLETE)
SubCommandResponseStatus IWxx31 Motion sub command response status
SubCommandAlarm IBxx310 Motion sub command alarm
SubCommandWarning IBxx311 Motion sub command warning
SubCommandReady IBxx312 Motion sub command ready
A-24
A Variable Tables
A.2 Axis Variable Details
A-25
A Variable Tables
A.2 Axis Variable Details
A-26
A Variable Tables
A.3 I/O Variables
* 1. Built in the CPU of the Machine Controller (MP2100/MP2500, MP2100M/MP2500M, and MP2300)
* 2. Counter function of LIO-01/LIO-02 Module
Register “IW (IB/IL/IF/IA) xx00” indicates the leading input register address + 00.
Register “OW (OB/OL//OF/OA) xx00” indicates the leading output register address + 00.
The variables for the I/O Modules listed above are described below.
App
A-27
A Variable Tables
A.3 I/O Variables
…
DI_15 IBxx00F Input 15
LIO_OUT OAxx01 Local I/O, 16 outputs
DO_00 OBxx010 Output 0
…
…
DO_15 OBxx01F Output 15
A-28
A Variable Tables
A.3 I/O Variables
…
DI_31 IBxx01F Input 31
LIO32_OUT OAxx00 Local I/O, 32 outputs
DO_00 OBxx000 Output 0
…
…
DO_31 OBxx01F Output 31
…
DI_07 IBxx007 Input 7
DIO_OUT OAxx00 Digital 8 outputs
DO_00 OBxx000 Output 0
…
DO_07 OBxx007 …
Output 7
AI_IN IAxx01 Analog inputs
CH1 IWxx01 Analog input CH1
AVO_OUT OAxx01 Analog outputs
CH1 OWxx01 Analog output CH1
CNTR_IN IAxx00 Counter inputs
RUNSTS IWxx00 Status
DataError IBxx000 Data Setting Error
FixedParameterError IBxx001 Fixed Parameter Setting Error
PresetCompleted IBxx002 Count Value Preset Completed
PILatchCompleted IBxx003 PI Latch Completed Signal
PulseAB0 IBxx004 Pulse A/B 0
CoincidenceSignal IBxx005 Coincidence Detection Signal
PulseAStatus IBxx006 Pulse-A Status Display
PulseBStatus IBxx007 Pulse-B Status Display
WritingFixedParameter IBxx009 Writing Fixed Parameter
DisconnectedAlarm IBxx00A Disconnect Alarm
POSMAXCompleted IBxx00C POSMAX Turn Number Presetting Completed
ModuleReady IBxx00F Module Ready
PDV ILxx02 Number of Incremental Pulses
PFB ILxx04 Current Counter Value
FREQ ILxx06 PI Latch Data
PDVG ILxx08 Number of Incremental Pulses after Conversion
PFBG ILxx0A Current Counter Value after Conversion
head1
A-29
A Variable Tables
A.3 I/O Variables
…
DO_63 OBxx03F Output 63
A-30
A Variable Tables
A.3 I/O Variables
A-31
A Variable Tables
A.3 I/O Variables
A-32
A Variable Tables
A.3 I/O Variables
…
IN32 IBxx01F Input 32
IN2 ILxx02 Input Signal Connector 2
IN33 IBxx020 Input 33
…
…
IN64 IBxx03F Input 64
OUT1 OLxx00 Output Signal Connector 1
OUT01 OBxx000 Output 1
…
…
OUT32 OBxx01F Output 32
OUT2 OLXX02 Output Signal Connector 2
OUT33 OBxx020 Output 33
…
…
OUT64 OBxx03F Output 64
App
A-33
A Variable Tables
A.3 I/O Variables
A-34
A Variable Tables
A.3 I/O Variables
A-35
A Variable Tables
A.3 I/O Variables
A-36
A Variable Tables
A.3 I/O Variables
IN IWxx00 Inputs
IN01 IBxx000 Input 1
…
App
A-37
A Variable Tables
A.3 I/O Variables
…
OUT08 OBxx00F Output 8
IN IWxx00 Inputs
IN01 IBxx000 Input 1
…
…
IN16 IBxx00F Input 16
…
OUT16 OBxx00F Output 16
A-38
A Variable Tables
A.4 System Structures
App
A-39
A Variable Tables
A.4 System Structures
(cont’d)
System Structure Name Variable Name Resister Comments
RLY *Wxxx00 Relay I/O
RESERVE *Wxxx01 Reserve
Kp *Fxxx02 P gain
Kd *Fxxx04 D gain
Td1 *Fxxx06 Divergence differential time
PD_F:
Td2 *Fxxx08 Convergence differential time
PD Control (real number type)
UL *Fxxx10 Upper PD limit
LL *Fxxx12 Lower PD limit
DB *Fxxx14 PD output dead band
Y *Fxxx16 PD output
X *Fxxx18 Input value storage
RLY *Wxxx00 Relay I/O
RLY.IRST *Bxxx000 Integration reset
Kp *Wxxx01 P gain
Ki *Wxxx02 I gain
Kd *Wxxx03 D gain
Ti *Wxxx04 Integration time
Td1 *Wxxx05 Divergence differential time
Td2 *Wxxx06 Convergence differential time
PID_W:PID Control (integer type) IUL *Wxxx07 Upper integration limit
ILL *Wxxx08 Lower integration limit
UL *Wxxx09 Upper PID limit
LL *Wxxx10 Lower PID limit
DB *Wxxx11 PID output dead band
Y *Wxxx12 PID output
Yi *Wxxx13 I offset
IREM *Wxxx14 I remainder
X *Wxxx15 Input value storage
RLY *Wxxx00 Relay I/O
RLY.IRST *Bxxx000 Integration reset
RESERVE *Wxxx01 Reserve
Kp *Fxxx02 P gain
Ki *Fxxx04 I gain
Kd *Fxxx06 D gain
Ti *Fxxx08 Integration time
Td1 *Fxxx10 Divergence differential time
PID_F:
Td2 *Fxxx12 Convergence differential time
PID Control (real number type)
IUL *Fxxx14 Upper integration limit
ILL *Fxxx16 Lower integration limit
UL *Fxxx18 Upper PID limit
LL *Fxxx20 Lower PID limit
DB *Fxxx22 PID output dead band
Y *Fxxx24 PID output
Yi *Fxxx26 I offset
X *Fxxx28 Input value storage
A-40
A Variable Tables
A.4 System Structures
(cont’d)
System Structure Name Variable Name Resister Comments
RLY *Wxxx00 Relay I/O
RLY.IRST *Bxxx000 LAG reset
LAG_W:
T *Wxxx01 First-order lag time constant
First-Order LAG (integer type)
Y *Wxxx02 LAG output
REM *Wxxx03 Remainder
RLY *Wxxx00 Relay I/O
RLY.IRST *Bxxx000 LAG reset
LAG_F:
RESERVE *Wxxx01 Reserve
First-Order LAG (real number type)
T *Fxxx02 First-order lag time constant
Y *Fxxx04 LAG output
RLY *Wxxx00 Relay I/O
RLY.IRST *Bxxx000 LLAG reset
T2 *Wxxx01 Phase lead time constant
LLAG_W:
T1 *Wxxx02 Phase lag time constant
Phase LEAD/LAG (integer type)
Y *Wxxx03 LLAG output
REM *Wxxx04 Remainder
X *Wxxx05 Input value storage
RLY *Wxxx00 Relay I/O
RLY.IRST *Bxxx000 LLAG reset
LLAG_F: RESERVE *Wxxx01 Reserve
Phase LEAD/LAG (real number T2 *Fxxx02 Phase lead time constant
type) T1 *Fxxx04 Phase lag time constant
Y *Fxxx06 LLAG output
X *Fxxx08 Input value storage
RLY *Wxxx00 Relay I/O
RLY.RN *Bxxx000 Line is running.
RLY.QS *Bxxx001 Quick stop
RLY.DVDTF *Bxxx002 DVDT operation non-execution
RLY.DVDTS *Bxxx003 DVDT operation selection
RLY.ARY *Bxxx008 In acceleration
RLY.BRY *Bxxx009 In deceleration
RLY.LSP *Bxxx00A Zero speed
RLY.EQU *Bxxx00B Coincidence
LAU_W:
LV *Wxxx01 100% input level
Linear Accelerator 1 (integer type)
AT *Wxxx02 Acceleration time
BT *Wxxx03 Deceleration time
QT *Wxxx04 Quick stop time
V *Wxxx05 Current speed
DVDT *Wxxx06 Current acceleration / deceleration
RESERVE *Wxxx07 Reserve
VIM *Wxxx08 Previous speed instruction
DVDTK *Wxxx09 DVDT coefficient
head1
App
A-41
A Variable Tables
A.4 System Structures
(cont’d)
System Structure Name Variable Name Resister Comments
RLY *Wxxx00 Relay I/O
RLY.RN *Bxxx000 Line is running.
RLY.QS *Bxxx001 Quick stop
RLY.ARY *Bxxx008 In acceleration
RLY.BRY *Bxxx009 In deceleration
RLY.LSP *Bxxx00A Zero speed
LAU_F: RLY.EQU *Bxxx00B Coincidence
Linear Accelerator 1 (real number
type) RESERVE *Wxxx01 Reserve
LV *Fxxx02 100% input level
AT *Fxxx04 Acceleration time
BT *Fxxx06 Deceleration time
QT *Fxxx08 Quick stop time
V *Fxxx10 Current speed
DVDT *Fxxx12 Current acceleration/deceleration
RLY *Wxxx00 Relay I/O
RLY.RN *Bxxx000 Line is running.
RLY.QS *Bxxx001 Quick stop
RLY.DVDTF *Bxxx002 DVDT 1 operation non-execution
RLY.DVDTS *Bxxx003 DVDT 1 operation selection
RLY.ARY *Bxxx008 In acceleration
RLY.BRY *Bxxx009 In deceleration
RLY.LSP *Bxxx00A Zero speed
RLY.EQU *Bxxx00B Coincidence
RLY.CCF *Bxxx00D Work relay
RLY.BBF *Bxxx00E Work relay
RLY.AAF *Bxxx00F Work relay
LV *Wxxx01 100% input level
AT *Wxxx02 Acceleration time
BT *Wxxx03 Deceleration time
SLAU_W:
Linear Accelerator 2 (integer type) QT *Wxxx04 Quick stop time
AAT *Wxxx05 S-curve acceleration time
BBT *Wxxx06 S-curve deceleration time
V *Wxxx07 Current speed
DVDT1 *Wxxx08 Current acceleration/deceleration 1
RESERVE1 *Wxxx09 Reserve
ABMD *Wxxx10 Speed increase upon holding
REM1 *Wxxx11 Remainder
RESERVE2 *Wxxx12 Reserve
Previous speed instruction
VIM *Wxxx13
A-42
A Variable Tables
A.4 System Structures
(cont’d)
System Structure Name Variable Name Resister Comments
RLY *Wxxx00 Relay I/O
RLY.RN *Bxxx000 Line is running.
RLY.QS *Bxxx001 Quick stop
RLY.ARY *Bxxx008 In acceleration
RLY.BRY *Bxxx009 In deceleration
RLY.LSP *Bxxx00A Zero speed
RLY.EQU *Bxxx00B Coincidence
SLAU_F: RESERVE *Wxxx01 Reserve
Linear Accelerator 2 (real number LV *Fxxx02 100% input level
type) AT *Fxxx04 Acceleration time
BT *Fxxx06 Deceleration time
QT *Fxxx08 Quick stop time
AAT *Fxxx10 S-curve acceleration time
BBT *Fxxx12 S-curve deceleration time
V *Fxxx14 Current speed
DVDT *Fxxx16 Current acceleration/deceleration
ABMD *Fxxx18 Speed increase upon holding
RLY *Wxxx00 Relay I/O
RLY.PWMRST *Bxxx000 PWM reset
RLY.PWMOUT *Bxxx008 PWM output
PWMT *Wxxx01 PWM cycle
ONCNT *Wxxx02 ON output setting timer
PWM:Pulse Width Modulation
CVON *Wxxx03 ON output counting timer
CVONREM *Wxxx04 ON output counting timer remainder
OFFCNT *Wxxx05 OFF output setting timer
CVOFF *Wxxx06 OFF output counting timer
CVOFFREM *Wxxx07 OFF output counting timer remainder
EXECUTE *Bxxx000 Instruction
ABORT *Bxxx001 Forced interruption instruction
MSG_SND_IN: DEV_TYP *Wxxx01 Type of transmission device
Send Message Input PRO_TYP *Wxxx02 Transmission protocol
CIR_NO *Wxxx03 Circuit Number
CH_NO *Wxxx04 Transmission buffer channel Number
head1
App
A-43
A Variable Tables
A.4 System Structures
(cont’d)
System Structure Name Variable Name Resister Comments
RESULT *Wxxx00 Process result
STS *Wxxx01 Status
ST_NO *Wxxx02 Called station #
OPTION *Wxxx03 Option
F_CODE *Wxxx04 Function code
DATA_ADR *Wxxx05 Data address
DATA_SIZE *Wxxx06 Data size
CPU_NO *Wxxx07 Called CPU#
MSG_SND_PARAM:
COIL_OFFSET *Wxxx08 Coil offset
Send Message Parameter
INRLY_OFFSET *Wxxx09 Input relay offset
INREG_OFFSET *Wxxx10 Input register offset
HOLDREG_OFFSET *Wxxx11 Holding register offset
RESERVE1 *Wxxx12 System reserve
RESERVE2 *Wxxx13 System reserve
RESERVE3 *Wxxx14 System reserve
RESERVE4 *Wxxx15 System reserve
RESERVE5 *Wxxx16 System reserve
BUSY *Bxxx000 Message is being sent.
MSG_SND_OUT: The sending of the message has been com-
COMPLETE *Bxxx001
Send Message Output pleted.
ERROR *Bxxx002 Occurrence of error
EXECUTE *Bxxx000 Instruction
ABORT *Bxxx001 Forced interruption instruction
MSG_RCV_IN: DEV_TYP *Wxxx01 Type of transmission device
Receive Message Input PRO_TYP *Wxxx02 Transmission protocol
CIR_NO *Wxxx03 Circuit Number
CH_NO *Wxxx04 Transmission buffer channel Number
RESULT *Wxxx00 Process result
STS *Wxxx01 Status
ST_NO *Wxxx02 Called station #
OPTION *Wxxx03 Option
F_CODE *Wxxx04 Function code
DATA_ADR *Wxxx05 Data address
DATA_SIZE *Wxxx06 Data size
CPU_NO *Wxxx07 Called CPU#
MSG_RCV_PARAM:
COIL_OFFSET *Wxxx08 Coil offset
Receive Message Parameter
INRLY_OFFSET *Wxxx09 Input relay offset
INREG_OFFSET *Wxxx10 Input register offset
HOLDREG_OFFSET *Wxxx11 Holding register offset
W_LO *Wxxx12 Write-in range LO
W_HI *Wxxx13 Write-in range HI
RESERVE1 *Wxxx14 System reserve
RESERVE2 *Wxxx15 System reserve
RESERVE3 *Wxxx16 System reserve
BUSY *Bxxx000 Message is being sent.
MSG_RCV_OUT:
COMPLETE *Bxxx001 Message is being received.
Receive Message Output
ERROR *Bxxx002 Occurrence of error
A-44
A Variable Tables
A.4 System Structures
(cont’d)
System Structure Name Variable Name Resister Comments
ROW1 *Lxxx00 Beginning row number
COL1 *Lxxx02 Beginning column number
TBLBR:Block Read
RLEN *Wxxx04 Number of row elements
CLEN *Wxxx05 Number of column elements
ROW1 *Lxxx00 Beginning row number
COL1 *Lxxx02 Beginning column number
TBLBW:Block Write
RLEN *Wxxx04 Number of row elements
CLEN *Wxxx05 Number of column elements
ROW1 *Lxxx00 Head row number
ROW2 *Lxxx02 Last row number
TBLSRL:Row Search
COLUMN *Lxxx04 Table element column number
FIND *Wxxx06 Search result
ROW *Lxxx00 Row number
COLUMN1 *Lxxx02 Head column number
TBLSRC:Column Search
COLUMN2 *Lxxx04 Last column number
FIND *Wxxx06 Search result
ROW *Lxxx00 Head row number
COLUMN *Lxxx02 Head column number
TBLCL:Block Clear
RLEN *Wxxx04 Number of row elements
CLEN *Wxxx05 Number of column elements
ROW1 *Lxxx00 Head row number
COLUMN1 *Lxxx02 Head column number
RLEN *Wxxx04 Number of row elements
TBLMV:Block Move
CLEN *Wxxx05 Number of column elements
ROW2 *Lxxx06 Head row number
COLUMN2 *Lxxx08 Head column number
ROW *Lxxx00 Corresponding row
COLUMN *Lxxx02 Head column number
CLEN *Wxxx04 Number of column elements
QTBLR:Queue Table Read
RESERVE *Wxxx05 System reserve
RPTR *Lxxx06 Read pointer
WPTR *Lxxx08 Write pointer
ROW *Lxxx00 Corresponding row
COLUMN *Lxxx02 Head column number
QTBLRI: CLEN *Wxxx04 Number of column elements
Queue Table Read (pointer move) RESERVE *Wxxx05 System reserve
RPTR *Lxxx06 Read pointer
WPTR *Lxxx08 Write pointer
ROW *Lxxx00 Corresponding row
COLUMN *Lxxx02 Head column number
CLEN *Wxxx04 Number of column elements
QTBLW:Queue Table Write
RESERVE *Wxxx05 System reserve
head1
App
A-45
A Variable Tables
A.4 System Structures
(cont’d)
System Structure Name Variable Name Resister Comments
ROW *Lxxx00 Corresponding row
COLUMN *Lxxx02 Head column number
QTBLWI: CLEN *Wxxx04 Number of column elements
Queue Table Write (pointer move) RESERVE *Wxxx05 System reserve
RPTR *Lxxx06 Read pointer
WPTR *Lxxx08 Write pointer
Status *Wxxx00 Status
Status.Run *Bxxx000 Running
Status.Pause *Bxxx001 Pausing
Status.SystemPause *Bxxx002 Stopped
Status.SingleBlockPause *Bxxx004 Stopped under single block mode
Status.Alarm *Bxxx008 Alarm
Status.Break *Bxxx009 Stopped at break point
Status.Debug *Bxxx00B Debugging mode
Status.History *Bxxx00D Start request signal history
Status.SystemWorkError *Bxxx00E No system work error
Status.ProgramNoError *Bxxx00F Main program number limit error
Control *Wxxx01 Motion program control signals
MSEE:Call Motion Program Control.Run *Bxxx010 Start request
Control.Pause *Bxxx011 Pause request
Control.Stop *Bxxx012 Stop request
Control.SingleBlockMode *Bxxx013 Single block modee selection
Control.SingleBlockRun *Bxxx014 Single block start request
Control.AlarmReset *Bxxx015 Alarm reset request
Control.Continue *Bxxx016 Program continuous operation start request
Control.Skip1 *Bxxx018 Skip1 information
Control.Skip2 *Bxxx019 Skip2 information
Control.SetSystemWork *Bxxx01D System work number setting
Control.SetInterpolate *Bxxx01E Interpolation override setting
InterpolateOverride *Wxxx02 Interpolation override
SystemWorkNumber *Wxxx03 System work numbers
STS *Wxxx00 Status
ERR_CODE *Wxxx01 Error code
MLINK_SVW: CIR_NO *Wxxx02 Circuit Number
Write SERVOPACK Parameter AXIS_NO *Wxxx03 Axis Number
SYSTEM1 *Wxxx04 System 1
SYSTEM2 *Wxxx05 System 2
A-46
B Reserved Words
B Reserved Words
The following words cannot be used for variable names regardless of case.
KCC TCR
KCW TCS
LCC TIM
LCW TOF
App
A-47
Index
Index-1
Index
detailed comparison of programs and registers - - - - - - - - - - - 10-24 displaying watch data - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 12-6
dialog box docked - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-45
Calculate - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 13-55 dplaying or hiding variables - - - - - - - - - - - - - - - - - - - - - - - - - 3-15
Communications Setting - - - - - - - - 1-74, 10-4, 10-10, 10-18 Drive Control Panel - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 4-42
Drive Control Panel tab page - - - - - - - - - - - - - - - - - - - - - - - - 4-13
Compare Program - Compare Flash to RAM - - - - - - - - - - 10-20
Compare Program - Compare with Controller - - - - - - - - - 10-18 E
Compile Option - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-38 Edit constant dialog box - - - - - - - - - - - - - - - - - - - - - - - - - - - 5-22
Constant Group Variable Registration - - - - - - - - - - - - - - - 5-19 Edit variable dialog box - - - - - - - - - - - - - - - - - - 3-33, 5-10, 5-16
editing - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 4-26
Constant Variable Registration - - - - - - - - - - - - - - - - - - - - 5-20
editing and deleting function external variables - - - - - - - - - - - - 5-26
Create New Program - - - - - - - - - - - - - - - - - - - - - - - 3-6, 3-35
editing branches - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-26
Cross Reference Setting - - - - - - - - - - - - - - - - - - - - - - - - - 3-53 editing Comment Field - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-33
Cursor Setting - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 13-41 editing global constants - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5-22
Edit constant - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5-22 editing global variables - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5-16
Edit variable - - - - - - - - - - - - - - - - - - - - - - 3-33, 5-10, 5-16 editing instruction objects - - - - - - - - - - - - - - - - - - - - - - - - - - 3-30
editing internal variables - - - - - - - - - - - - - - - - - - - - - - - - - - - 5-24
Editor Options - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-15
editing ladder programs - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-12
Environment Setting - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-55 editing motion program files - - - - - - - - - - - - - - - - - - - - - - - - 4-46
Find - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 13-54 editing program comments - - - - - - - - - - - - - - - - - - - - - - - - - 3-21
Group Definition - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5-5 Editor Option dialog box - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-15
ladder display property - - - - - - - - - - - - - - - - - - - - - - - - - 3-41 editor options - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-15
Electronic Cam Data Preparation Tool - - - - - - - - - - - - - - - - - - - 7-2
Ladder Magnification dialog box - - - - - - - - - - - - - - - - - - 3-14
Enable Main Program - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-43
logical port setting - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-17
Enable/Disable - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-43
Object Variable Setting - - - - - - - - - - - - - - - - - - - - - - - - 13-53 enabling or disabling ladder programs - - - - - - - - - - - - - - - - - - 3-43
Open DWG setting - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-9 END instruction - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-12
Open Project - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 10-21 entering and changing registers - - - - - - - - - - - - - - - - - - - - - - 3-31
Program Password - - - - - - - - - - - - - - - - - - - - - - - 1-82, 1-84 entering and changing variables - - - - - - - - - - - - - - - - - - - - - - 3-31
entering and editing expressions for
Program Property - - - - - - - - - - - - - - - - - - - - - - - - 3-43, 3-44
EXPRESSION Instructions - - - - - - - - - - - - - - - - - - - - - - - - - 3-34
Project - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-51 Environment Setting dialog box - - - - - - - - - - - - - - - - - - - - - - 1-55
Replace - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-48 environment settings - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-55
Scale Offset Adjust - - - - - - - - - - - - - - - - - - - - - - - - - - - 13-41 error codes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 12-24
Search - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-47 exiting - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-26
export/import
Search in Project - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-50
types - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 6-2
Security - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-51
exporting/importing - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 6-1
Security dialog box - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-50
motion parameters - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 6-3
Select Monitor Setting - - - - - - - - - - - - - - - - - - - - - - - - - 13-48 exporting/importing the register data to/from CSV files - - - - - - 6-33
Transfer - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 10-2 exporting/importing variables
Transfer Program - Read from Controller - - - - - - - - - - - - 10-10 constant variables - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 6-22
Transfer Program - Save to Flash dialog box - - - - - - - - - - - 10-9 global variables, I/O variables and comments - - - - - - - - - - 6-12
Transfer Program - Write into Controller - - - - - - - - 10-4, 10-7 local variables and comments - - - - - - - - - - - - - - - - - - - - - 6-18
Trigger and Configuration - - - - - - - - - - - - - - - - - - - - - - 13-38 user structures - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 6-27
User Registration - - - - - - - - - - - - - - - - - - - - - - - - 1-58, 1-59 Expression Editor - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-34
Variable Registration - - - - - - - - - - - - - - - - - 5-12, 5-14, 5-25
F
differences compared with existing motion programs - - - - - - - - - 4-5
File Pages - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 13-51
Disable Main Program - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-43
Find dialog box - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 13-54
disconnecting from Machine Controllers - - - - - - - - - - - - - - - - 1-78
floating - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-45
dispaying or hiding comments - - - - - - - - - - - - - - - - - - - - - - - 3-15
flow from program creation to execution - - - - - - - - - - - - - - - - - 4-4
displaying and editing with MPE720 version 5 - - - - - - - - - - - - 3-11
font tab page - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-17
displaying and hiding subwindows - - - - - - - - - - - - - - - - - - - - 1-44
Force OFF - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-55
displaying graphs - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 13-36
Force ON - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-55
displaying in list format - - - - - - - - - - - - - - - - - - - - - - - - - - - 13-30
forcing coils ON/OFF - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-55
displaying or hiding addresses - - - - - - - - - - - - - - - - - - - - - - - 3-15
displaying properties - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-41 changing ON/OFF in the Forced Coil List Subwindow - - - - 3-56
displaying property columns - - - - - - - - - - - - - - - - - - - - - - - - - 4-48 display the Forced Coil List Subwindow - - - - - - - - - - - - - 3-57
displaying variables - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5-3 setting ON/OFF in the ladder program - - - - - - - - - - - - - - - 3-55
Index-2
Index
Index-3
Index
P S
S registers - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5-4
password - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-82
save as a new project - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-53
pop-up menu - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 13-47
saving as project file
preparing for executing a program - - - - - - - - - - - - - - - - - - - - - 4-36
print - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-72 save as a new project - - - - - - - - - - - - - - - - - - - - - - - - - - 1-53
print settings - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 13-56 saving comments - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5-28
printing - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 9-1, 9-5 saving project files - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-53
printing ladder programs - - - - - - - - - - - - - - - - - - - - - - - - - - - - 9-2 saving to flash memory - - - - - - - - - - - - - - - - - - - - - - - 10-9, 10-16
saving trace data - - - - - - - - - - - - - - - - - - - - - - - - - - 13-28, 13-70
page setup - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 9-2
saving tuning data - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 14-16
print previews - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 9-3
Scale Offset Adjust dialog box - - - - - - - - - - - - - - - - - - - - - - 13-41
printing call program instructions (FUNC/SEE/MSEE) - - - - 9-9 scan time setting - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-63
printing cross-reference information - - - - - - - - - - - - - - - - - 9-8 Search dialog box - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-47
printing each ladder program - - - - - - - - - - - - - - - - - - - - - - 9-5 search in comment list - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5-39
printing programs as a batch - - - - - - - - - - - - - - - - - - - - - - - 9-6 Search in Project dialog box - - - - - - - - - - - - - - - - - - - - - - - - - 3-50
searching - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-47
printing other programs - - - - - - - - - - - - - - - - - - - - - - - - - - - - 9-11
program - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 4-15, 4-16 searching and replacing in a program - - - - - - - - - - - - - - - - - - 3-47
searching for duplicate coils - - - - - - - - - - - - - - - - - - - - - - - - - 3-54
program comments - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-12
searching in a project file - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-50
program disable processing when a write error occurs - - - - - - - 10-8
program management in the Motion Subwindow - - - - - - - - - - - 4-46 security - - - - - - - - - - - - - - - - - - - - - - - - - 1-58, 1-60, 1-61, 1-82
Security dialog box - - - - - - - - - - - - - - - - - - - - - - - - - - 1-50, 1-51
Program Password dialog box - - - - - - - - - - - - - - - - - - - 1-82, 1-84
Select Monitor Setting dialog box - - - - - - - - - - - - - - - - - - - - 13-48
Program Property dialog box - - - - - - - - - - - - - - - - - - - 3-43, 3-44
Project dialog box - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-51 servo enable and servo disable status of axes - - - - - - - - - - - - 11-28
SERVOPACK parameters - - - - - - - - - - - - - - - - - - - - - - - - - - - 2-4
project files - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-47
setting a group definition - - - - - - - - - - - - - - - - - - - - - - - - - - - 4-24
copying - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-54
setting and displaying monitor parameters - - - - - - - - - - - - - - 11-37
deleting - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-54 setting motion tasks - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 4-41
moving - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-54 setting passwords for ladder programs - - - - - - - - - - - - - - - - - - 3-41
renaming - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-54 setting the Graph tab page - - - - - - - - - - - - - - - - - - - - - - - - - 13-57
project password - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-60 setting the List tab page - - - - - - - - - - - - - - - - - - - - - - - - - - - 13-59
properties - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-44 setting the Print tab page - - - - - - - - - - - - - - - - - - - - - - - - - - 13-59
properties of motion programs - - - - - - - - - - - - - - - - - - - - - - - 4-50 setting the Set tab page - - - - - - - - - - - - - - - - - - - - - - - - - - - 13-57
setting the X-Y graph tab page - - - - - - - - - - - - - - - - - - - - - - 13-58
R setup - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-62, 1-63
reading - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-59 start window - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-28
reading from a project file - - - - - - - - - - - - - - - - - - - - - - - - - 10-14 starting - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-24
reading from CF card - - - - - - - - - - - - - - - - - - - - - - - - - - - - 10-17 starting a Data Trace Window - - - - - - - - - - - - - - - - - - - - - - 13-34
reading from Machine Controllers - - - - - - - - - - - - - - - - - - - - 10-10 starting a motion program - - - - - - - - - - - - - - - - - - - - - - - - - - - 4-6
reading privilege levels - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-7 starting a test run - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 11-19
reading trace data - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 13-26 starting Alarm Monitor - - - - - - - - - - - - - - - - - - - - - - - - - - - 11-40
real-time tracing - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 13-3 starting and operating the Electronic Cam Data Tool - - - - - - - - - 7-2
referencing - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5-35 starting and using data table programs - - - - - - - - - - - - - - - - - - - 8-2
Index-4
Index
starting Axis Monitor - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 11-33 using the System Monitor Subwindow - - - - - - - - - - - - - - - - - 12-10
starting real-time trace - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 13-3 using variables and comments - - - - - - - - - - - - - - - - - - - - - - - 5-27
starting the Axis Setup Wizard - - - - - - - - - - - - - - - - - - - - - - - 11-2
starting the Tuning Panel - - - - - - - - - - - - - - - - - - - - - - - - - - - 14-3
V
starting troubleshooting - - - - - - - - - - - - - - - - - - - - - - - - - - - 12-14 variable - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-68
starting XY trace - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 13-60 variable display icon - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-15
stopping Machine Controller CPU (STOP) - - - - - - - - - - - - - - - 1-79 Variable Registration dialog box - - - - - - - - - - - - 5-12, 5-14, 5-25
subwindow operations - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-43 Variable Subwindow - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-13
subwindows - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-27 variable tables - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A-2
system - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-56, 1-57 variables - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5-1, 6-12
system monitor - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-69, 12-10 variables that are automatically assigned by system - - - - - 5-4, A-2
system requirements - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-4 axis variables - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5-4
system setting - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-62 I/O variables - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5-7
system structures - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A-39 variables that are automatically assignedby system
system variables - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5-4 system variables - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5-4
T variables that can be referred from any program
U
uninstalling - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-9
unit - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 14-6
updating subwindow data - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-45
updating subwindow displays - - - - - - - - - - - - - - - - - - - - - - - - 3-14
user privilege levels - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3-7
user registration - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-58
User Registration dialog box - - - - - - - - - - - - - - - - - - - - 1-58, 1-59
user structure
creating user structures - - - - - - - - - - - - - - - - - - - - - - - - - - 5-29
user structures - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5-29
using comments - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5-28
Index-5
Revision History
The revision dates and numbers of the revised manuals are given on the bottom of the back cover.
MANUAL NO.ޓSIEP C880700 30C
Published in Japan August 201306-6 2 -1
WEB revision number
Date of Revision number
publication Date of original
publication
In the event that the end user of this product is to be the military and said product is to be employed in any weapons systems or the manufacture
thereof, the export will fall under the relevant regulations as stipulated in the Foreign Exchange and Foreign Trade Regulations. Therefore, be sure
to follow all procedures and submit all relevant documentation according to any and all rules, regulations and laws that may apply.
Specifications are subject to change without notice for ongoing product modifications and improvements.
© 2006-2013 YASKAWA ELECTRIC CORPORATION. All rights reserved.