RCX221 e V2.10
RCX221 e V2.10
RCX221
User’s Manual ENGLISH
E
INTRODUCTION
Our sincere thanks for your purchase of this YAMAHA robot controller.
This manual explains how to install and operate the YAMAHA robot controller. Be sure to
read this manual carefully as well as related manuals and comply with their instructions
for using the YAMAHA robot controller safely and correctly.
Refer to the "Programming Manual" that comes with the robot controller for detailed
information on robot programs.
1
Before using the robot controller (Be sure to read the following notes)
BEFORE USING THE ROBOT CONTROLLER (BE SURE TO READ THE FOLLOWING NOTES)
Please be sure to perform the following tasks before using the robot controller.
Failing to perform these tasks may cause abnormal robot operation (vibration, noise) when
the power is turned on.
2
Over view of the RCX series
1. Multi-task function
Up to 8 tasks* can be run simultaneously in a specified priority. (Low priority tasks
are halted while high priority tasks are run.)
I/O parallel processing and interrupt processing are also available, so that operational
efficiency of the total robot system including peripheral units is greatly improved.
(*: Refer to the programming manual for more details on multi-tasking.)
2. Robot language
The RCX series controller comes with a BASIC-like high-level robot language that
conforms to the industrial robot programming language SLIM * 1. This robot language
allows easy programming even of complex movements such as multi-task operations
and uses a compiling method * 2 for rapid execution of programs.
(* 1: Standard Language for Industrial Manipulators)
(* 2: This compiling method checks the syntax in a robot language program, converts
it into intermediate codes, and creates an execution file (object file) before actually
performing the program.)
3. Movement command
• Arch motion
Spatial movement during pick-and-place work can be freely set according to the
work environment. This is effective in reducing cycle time.
4. Maintenance
Software servo control provides unit standardization. This allows connection to most
YAMAHA robot models and simplifies maintenance.
5. CE marking *
As a YAMAHA robot series product, the RCX series robot controller is designed to
conform to machinery directives, low-voltage directives and EMC (Electromagnetic
compatibility) directives. In this case, the robot controller is set to operate under
"SAFE" mode. (* For CE marking compliance, see the CE marking supplement manual.)
This manual explains how to handle and operate the YAMAHA robot controllers
correctly and effectively, as well as I/O interface connections.
Read this manual carefully before installing and using the robot controller. Also refer
to the separate "Programming Manual" and "Robot User's Manual" as needed.
3
MEMO
4
General Contents
GENERAL CONTENTS
Introduction 1
Before using the robot controller (Be sure to read the following notes) 2
8. Warranty 1-11
i
3. Control system 2-4
3.1 RCX221/RCX221HP 2-4
GENERAL CONTENTS
1. Unpacking 3-1
1.1 Packing box 3-1
1.2 Unpacking 3-1
ii
11.2 Operation check 3-23
Chapter 4 OPERATION
GENERAL CONTENTS
1. Operation overview 4-1
iii
9.5 Switching the program 4-36
9.6 Changing the automatic movement speed 4-37
9.7 Executing the point trace 4-38
GENERAL CONTENTS
iv
11.2 Displaying and editing point data 4-85
11.2.1 Point data input and editing 4-87
11.2.1.1 Restoring point data 4-88
GENERAL CONTENTS
11.2.2 Point data input by teaching 4-89
11.2.3 Point data input by direct teaching 4-91
11.2.4 Point jump display 4-92
11.2.5 Copying point data 4-93
11.2.6 Erasing point data 4-95
11.2.7 Point data trace 4-96
11.2.8 Point comment input and editing 4-96
11.2.8.1 Point comment input and editing 4-98
11.2.8.2 Point data input by teaching 4-98
11.2.8.3 Jump to a point comment 4-99
11.2.8.4 Copying a point comment 4-99
11.2.8.5 Erasing point comments 4-101
11.2.8.6 Point comment search 4-102
11.2.9 Point data error reset 4-103
11.3 Displaying, editing and setting pallet definitions 4-104
11.3.1 Editing pallet definitions 4-106
11.3.1.1 Point setting in pallet definition 4-107
11.3.1.1.1 Editing the point in pallet definition 4-108
11.3.1.1.2 Setting the point in pallet definition by teaching 4-108
11.3.2 Pallet definition by teaching 4-109
11.3.3 Copying a pallet definition 4-112
11.3.4 Deleting a pallet definition 4-113
11.4 Changing the manual movement speed 4-114
11.5 Displaying, editing and setting shift coordinates 4-115
11.5.1 Editing shift coordinates 4-117
11.5.1.1 Restoring shift coordinates 4-118
11.5.2 Editing the shift coordinate range 4-119
11.5.2.1 Restoring a shift coordinate range 4-121
11.5.3 Shift coordinate setting method 1 4-122
11.5.4 Shift coordinate setting method 2 4-125
11.6 Displaying, editing and setting hand definitions 4-128
11.6.1 Editing hand definitions 4-131
11.6.1.1 Restoring hand definitions 4-132
11.6.2 Hand definition setting method 1 4-133
11.7 Changing the display units 4-135
11.8 Return-to-origin 4-136
11.8.1 Return-to-origin operation 4-136
11.8.2 Semi-absolute 4-138
11.8.3 Checking the return-to-origin status 4-140
11.8.4 Return-to-origin on each axis 4-141
11.8.5 Return-to-origin on all axes 4-143
11.9 Setting the standard coordinates 4-145
11.10 Executing the user function keys 4-146
v
12.1.2 Axis parameters 4-155
12.1.3 Other parameters 4-174
12.1.4 Parameters for option boards 4-187
GENERAL CONTENTS
vi
14.5.1 Entering the password 4-270
14.5.2 Changing the access level 4-271
14.5.3 Displaying the Help message 4-272
GENERAL CONTENTS
Chapter 5 PARALLEL I/O INTERFACE
2. Ratings 5-22
3. Precautions 5-23
Chapter 6 SAFETY I/O INTERFACE
vii
3.1 Connector 7-3
3.2 Transmission mode and communication parameters 7-5
3.3 Communication flow control 7-6
GENERAL CONTENTS
2. Troubleshooting 9-55
2.1 When trouble occurs 9-55
2.2 Acquiring error information 9-56
2.2.1 Acquiring information from the RPB 9-56
2.2.2 Acquiring information from the RS-232C 9-56
2.3 Troubleshooting checkpoints 9-57
viii
Chapter 1 USING THE ROBOT SAFELY
Contents
8. Warranty 1-11
1. Safety information
Before using the YAMAHA robot controller, be sure to read this manual and related Chapter
manuals, and follow their instructions to use the robot controller safely and correctly. 1
Warnings and cautions listed in this manual relate to YAMAHA robot controllers. To
Industrial robots are highly programmable machines that provide a large degree of
freedom in movement. To use YAMAHA robots and controllers safely and correctly, be
sure to comply with the safety instructions and precautions described in this chapter.
Failure to take necessary safety measures or incorrect handling may result not only in
trouble or damage to the robot and controller, but also in serious accidents involving
injury or death to personnel (robot installer, operator, or service personnel).
This manual describes safety precautions and operating points using the following symbols
and signal words.
w DANGER
"DANGER" INDICATES AN IMMINENTLY HAZARDOUS SITUATION WHICH, IF NOT
AVOIDED, WILL RESULT IN DEATH OR SERIOUS INJURY.
w WARNING
"WARNING" INDICATES A POTENTIALLY HAZARDOUS SITUATION WHICH, IF NOT
AVOIDED, COULD RESULT IN DEATH OR SERIOUS INJURY.
c CAUTION
"CAUTION" indicates a potentially hazardous situation which, if not avoided,
could result in minor or moderate injury or damage to the equipment or loss
of data.
n NOTE
Explains key points in the operation in a simple and clear manner.
1-1
1. Safety information
Use any of the following approaches to this manual when installing, operating and
adjusting the YAMAHA robot and/or controller so that you can quickly refer to this manual
Chapter when needed.
1 1. Keep the printed version of this manual (available for an additional fee) handy for
ready reference.
USING THE ROBOT SAFELY
To use YAMAHA robots and controllers safely and correctly, always comply with the
safety rules and instructions.
Please note, however, this user's manual cannot cover all items regarding safety. So it is
extremely important that the operator or user have knowledge of safety and make correct
decisions regarding safety.
1-2
2. Particularly important cautions
described below. Additional cautions are also described in each chapter. Be sure to 1
comply with those instructions to ensure safety.
w DANGER
• YAMAHA ROBOT CONTROLLERS AND ROBOTS ARE DESIGNED AND
MANUFACTURED FOR GENERAL-PURPOSE INDUSTRIAL EQUIPMENT. THEY
SHOULD NOT BE USED IN THE FOLLOWING APPLICATIONS:
• MEDICAL EQUIPMENT OR SYSTEMS WHICH WILL AFFECT HUMAN LIFE
• EQUIPMENT DESIGNED TO CARRY OR TRANSPORT PERSONS
• EQUIPMENT OR SYSTEMS WHICH WILL SERIOUSLY AFFECT SOCIETY OR
PUBLIC POLICY
• USE IN ENVIRONMENTS SUBJECT TO VIBRATION, SUCH AS VEHICLES
AND SHIPS
• EACH ROBOT CONTROLLER HAS AN EMERGENCY STOP INPUT TERMINAL TO
TRIGGER EMERGENCY STOP. USING THIS TERMINAL, CONFIGURE A SAFETY
CIRCUIT SO THAT THE SYSTEM INCLUDING THE ROBOT CONTROLLER WILL
WORK SAFELY.
w WARNING
• TO CHECK THE OPERATING STATUS OF THE ROBOT CONTROLLER, REFER TO
THIS MANUAL AND RELATED USER'S MANUAL. BUILD THE SYSTEM INCLUDING
THE ROBOT CONTROLLER SO THAT IT WILL ALWAYS WORK SAFELY.
• INSTALL A SIGNAL LIGHT (SIGNAL TOWER, ETC.) AT AN EASY-TO-SEE
POSITION SO THAT THE OPERATOR WILL KNOW THE STOP STATUS OF THE
ROBOT (TEMPORARY STOP, EMERGENCY STOP, ERROR STOP, ETC.).
c CAUTION
• Do not bundle control lines or communication cables together or in close
contact with the main power supply circuit or power lines. As a general
rule, separate them by at least 100mm. Failure to follow this instruction
may cause malfunctions due to noise.
1-3
2. Particularly important cautions
w
Chapter
WARNING
• ALWAYS SHUT OFF ALL PHASES OF THE POWER SUPPLY EXTERNALLY BEFORE 1
STARTING INSTALLATION OR WIRING WORK. FAILURE TO SHUT OFF ALL
c CAUTION
• Make sure that no foreign matter such as cutting chips or wire scraps
enter the robot controller. Malfunctions, breakdown or fire may result if
they have entered.
• Always store the cables connected to the robot controller in a conduit or
clamp them securely in place. If the cables are not stored in a conduit or
properly clamped, excessive play or movement or mistakenly pulling on
the cable may damage the connector or cables, and poor cable contact
may cause equipment malfunctions.
• Do not modify the cables and do not place any heavy object on them.
Handle them carefully to avoid damage. Damaged cables may cause
malfunction or electrical shock.
• If there is a possibility that the cables connected to the robot controller
may be damaged, protect them with a cover, etc.
• Do not apply excessive loads or impacts to the connectors when making
cable connections. The connector pins may become bent or the internal
PC board may be damaged.
• When disconnecting the cable from the robot controller, detach by
gripping the connector itself and not by tugging on the cable. Loosen the
screws on the connector (if fastened with the screws), and then
disconnect the cable. Detaching by pulling on the cable itself may
damage the connector or cables, and poor cable contact may cause
equipment malfunctions.
1-5
2. Particularly important cautions
w
Chapter
DANGER
1 • NEVER ENTER THE ROBOT'S WORKING ENVELOPE WHILE THE ROBOT IS
OPERATING OR THE MAIN POWER IS TURNED ON. FAILURE TO FOLLOW THIS
USING THE ROBOT SAFELY
w WARNING
• ONLY PERSONNEL TRAINED IN SAFETY AND ROBOT OPERATION MAY
OPERATE THE ROBOT. OPERATION BY ANY PERSON WHO HAS NOT RECEIVED
THE PROPER TRAINING IS VERY DANGEROUS AND MUST BE AVOIDED.
• THE ROBOT AND ROBOT CONTROLLER ARE NOT DESIGNED TO BE
EXPLOSION-PROOF. DO NOT USE THEM IN LOCATIONS EXPOSED TO
INFLAMMABLE GASES, GASOLINE OR SOLVENT THAT COULD CAUSE
EXPLOSION OR FIRE. FAILURE TO FOLLOW THIS INSTRUCTION MAY CAUSE
SERIOUS ACCIDENTS INVOLVING INJURY OR DEATH, OR LEAD TO FIRE.
• DO NOT TOUCH ANY ELECTRICAL TERMINAL OF THE ROBOT CONTROLLER.
DOING SO MAY CAUSE ELECTRICAL SHOCK OR EQUIPMENT MALFUNCTIONS.
• ALWAYS CONNECT THE ROBOT AND ROBOT CONTROLLER IN THE CORRECT
COMBINATION. USING THEM IN AN INCORRECT COMBINATION MAY CAUSE
FIRE OR BREAKDOWN.
• ALWAYS SHUT OFF ALL PHASES OF THE POWER SUPPLY EXTERNALLY BEFORE
CLEANING OR TIGHTENING THE TERMINAL SCREWS. FAILURE TO SHUT OFF
ALL PHASES MAY CAUSE ELECTRICAL SHOCK, PRODUCT DAMAGE OR
MALFUNCTIONS.
• DO NOT TOUCH THE ROBOT CONTROLLER AND ROBOT DURING OPERATION.
SOME PARTS IN THE ROBOT CONTROLLER OR ROBOT ARE HOT DURING
OPERATION. TOUCHING THEM MAY CAUSE BURNS.
• DO NOT HANDLE OR OPERATE THE ROBOT CONTROLLER OR PROGRAMMING
BOX WITH WET HANDS. TOUCHING THEM WITH WET HANDS MAY RESULT IN
ELECTRICAL SHOCK OR BREAKDOWN.
1-6
2. Particularly important cautions
c CAUTION
• When using ferrite cores for noise elimination, fit them to the power cable
as close to the robot controller and/or the robot as possible, to prevent
malfunctions due to noise.
• Back up the robot controller internal data in an external storage device.
The robot controller internal data (programs, point data, etc.) may be lost
or deleted for unexpected reasons. Always make a backup of the
internal data.
• Do not use thinner, benzene, and alcohol to wipe clean the surface of the
programming box. The surface sheet may be damaged or printed letters
or marks might be erased. Use a soft, dry cloth and gently wipe the
surface.
1-7
2. Particularly important cautions
w DANGER
• NEVER ENTER THE ROBOT'S WORKING ENVELOPE WHILE THE ROBOT IS
OPERATING OR THE MAIN POWER IS TURNED ON. FAILURE TO FOLLOW THIS
INSTRUCTION MAY CAUSE SERIOUS ACCIDENTS INVOLVING INJURY OR
DEATH. INSTALL A SAFEGUARD (SAFETY ENCLOSURE) OR A GATE INTERLOCK
WITH AN AREA SENSOR TO KEEP ALL PERSONS AWAY FROM THE ROBOT'S
WORKING ENVELOPE.
• WHEN IT IS NECESSARY TO OPERATE THE ROBOT WHILE YOU ARE WITHIN THE
ROBOT'S WORKING ENVELOPE, SUCH AS FOR TEACHING OR
MAINTENANCE/INSPECTION, ALWAYS CARRY THE PROGRAMMING BOX
WITH YOU SO THAT YOU CAN IMMEDIATELY STOP THE ROBOT OPERATION IN
CASE OF AN ABNORMAL CONDITION. ALSO SET THE ROBOT OPERATING
SPEED TO 3% OR LESS. FAILURE TO FOLLOW THIS INSTRUCTION MAY CAUSE
SERIOUS ACCIDENTS INVOLVING INJURY OR DEATH.
w WARNING
• ONLY PERSONNEL TRAINED IN SAFETY AND ROBOT OPERATION MAY
OPERATE THE ROBOT. OPERATION BY ANY PERSON WHO HAS NOT RECEIVED
THE PROPER TRAINING IS VERY DANGEROUS AND MUST BE AVOIDED.
c CAUTION
• When disposing of this product discard it as industrial waste. Take
appropriate measures in compliance with legal regulations in your
country or entrust its proper disposal to a company authorized to handle
industrial waste.
1-8
3. Safety measures for robots
取扱説明書参照
READ INSTRUCTION
MANUAL
This label means that important information you must know is described in the
manual.
Before using the controller, be sure to read this manual carefully.
When in particular configuring an external safety circuit or connecting a power
supply to the controller, read this manual carefully and follow the instructions.
Connectors have a particular orientation, so insert each connector in the correct
direction.
1-9
6. Industrial robot operating and maintenance personnel
1 and controller safely and correctly, be sure to observe the instructions and caution of the
marks.
USING THE ROBOT SAFELY
!
This label means that important information you must know is described in the
manual.
Before using the controller, be sure to read this manual carefully.
When in particular configuring an external safety circuit or connecting a power
supply to the controller, read this manual carefully and follow the instructions.
Connectors have a particular orientation, so insert each connector in the correct
direction.
Indicates that the area around this mark may become very hot.
Heatsinks and regenerative unit become hot during and shortly after operation. Do
not touch them to avoid burns.
1-10
7. Make daily and periodic inspections
check to ensure there are no problems with the robot or related equipment. If a problem 1
or abnormality is found, then promptly repair it or take other measures as necessary.
9. Operating environment
Operating temperature
Operating temperature 0°C to 40°C
The ambient temperature should be maintained within a range of 0 to 40°C in
order to guarantee continuous operation of the robot controller that meets the
initial specifications. If the robot controller is installed in a narrow space, then heat
generated from the controller itself and from peripheral equipment may drive the
temperature above the allowable operating temperature range. This may result in
thermal runaway or malfunctions and may lower component performance along with
shortening their useful service life. So be sure to install the controller in locations
with a vent having a natural air flow. If this proves insufficient, provide forced air-
cooling.
Storage temperature
Storage temperature -10°C to 65°C
The controller should be stored in a location at an ambient temperature between -10
and +65°C when not being used. If the robot controller is stored in a location at high
temperatures for extended periods, deterioration of the electronic components may
occur and the memory backup time may decrease.
Operating humidity
Operating humidity 35% to 85% RH (no condensation)
The ambient humidity should be 35% to 85% RH (no condensation) in order
to guarantee continuous operation of the robot controller that meets the initial
specifications. Installing the robot controller inside an air-conditioned or cooled
housing is recommended when the ambient humidity is high or when condensation
occurs.
1-11
9. Operating environment
Storage humidity
Storage humidity Below 95% RH (no condensation)
Chapter
The controller should be stored in a location at an ambient humidity below 95% RH
1 (no condensation) when not being used. If the robot controller is stored in a location
at high humidity for an extended period of time, rust may form on the electronic
USING THE ROBOT SAFELY
1-12
Chapter 2 SYSTEM OVERVIEW
Contents
SYSTEM OVERVIEW
Configuration 1: System for controlling one robot
Example: MF50
■ System for controlling one robot
OP.1
SRV
RGEN ERR
RDY
21
OP
E-ST
RCX2 P
MOT
OR
XM
TEM ROB
I/O
RPB or RPB-E
ACIN
L OP.2
RPB
N
L1
N1
TY
SAFE
! -STO
P
EXT.E-12
PIN11
YM
OM
SD/C
PC
YAMAHA robot
PLC
2-1
1. System over view
Chapter
2
SYSTEM OVERVIEW
OP.1
SRV
RGEN ERR
RDY
21
OP
E-ST
RCX2
OR TEM
P
ROB
MOT I/O
XM
RPB or RPB-E
ACIN
OP.2
L
RPB
N
L1
N1
TY
SAFE
! -STO
P
EXT.E-12
PIN11
YM
OM
SD/C
PC
YAMAHA robot
PLC
2-2
2. Part names and functions
RGEN
OP.1
2
RCX221 SRV
SYSTEM OVERVIEW
ERR
RDY
MOTOR E-STOP
XM TEMP
ROB
I/O
ACIN
L
N
RPB
L1
OP.2
N1
YM
! SAFETY
EXT.E-STOP
PIN11-12
SD/COM
OP.1
RGEN
RCX221
MOTOR
SRV
ERR
RDY
E-STOP
XM
HPTEMP
ROB
I/O
ACIN
L
N
L1
OP.2
N1
YM
! SAFETY
EXT.E-STOP
PIN11-12
SD/COM
2-3
3. Control system
3. Control system
The basic block diagram of the control system is shown below.
Chapter
3.1 RCX221/RCX221HP
2 ■ Basic block diagram
SYSTEM OVERVIEW
CN3
CN1
CN1
X-axis motor DRIVER2 BOARD ASSY
CN2
CN3
CN1
CN4
Y-axis motor DRIVER2 BOARD ASSY
CN2
ASSY
CN3 CN4
CN6 CN5
MOTHER BOARD
Regenerative
unit
CN1
CN3
D.POWER BOARD ASSY
CN2
AC200-230V
CN2
CN1
CN4
RPB
CPU BOARD ASSY
CN5
RS-232C
2-4
4. Optional devices
4. Optional devices
SYSTEM OVERVIEW
Selector switch
RPB connector
Enable switch
2-5
5. Basic sequence from installation to operation
~
10. Precautions for cable
routing and installation
SYSTEM OVERVIEW
When a serial I/O board is added: See the serial I/O instruction
Set the station number, communication speed, etc. (Setup manuals for detailed
depends on the serial I/O type.) information.
Power ON
Check that the wiring and supply voltage are correct and then turn power on. Chapter 4 4. Turning power on and off
Check that no alarm is issued after turning power on. Chapter 3 11. Checking the robot
controller operation
Parameter setting Set parameters according to the operation conditions. Chapter 4 12.1 Parameters
Point data editing Create or edit point data according to the robot operation. point data
11.3 Displaying, editing and
setting pallet definitions
Programming Create programs according to the robot operation. 10. "PROGRAM" mode
See the programming
* Programming is unnecessary if not using a program manual for information
such as in operation with I/O commands.
about the programming
language.
Trial operation
Check that the safety devices such as an emergency stop circuit function correctly.
Make a trial run using step operation and make adjustment as needed. Chapter 4 9.2 Stopping the program
~
2-6
Chapter 3 INSTALLATION
Contents
1. Unpacking 3-1
1.1 Packing box 3-1
1.2 Unpacking 3-1
1. Unpacking
1.2 Unpacking 3
INSTALLATION
The robot controller is packed with accessories as shown below, according to the order
specifications. Take sufficient care not to apply shocks to the equipment when unpacking.
After unpacking, check the accessories to make sure that nothing is missing.
c CAUTION
The robot and controller are very heavy. Take sufficient care not to drop
them during unpacking as this may damage the equipment or cause bodily
injury.
■ Unpacking
Accessories
RPB
Accessories
RPB terminator 1
L-type bracket set for 1
front and rear panels
RGEN
SRV
ERR
RDY P
OP.1
SAFETY connector 1
E-STO
2 1 Standard
RCX2 Connector guard for
MOTO
R TEMP ROB
I/O
1
XM
ACIN
COM connector
OP.2
L RPB
CD-ROM manual 1
N
L1
N1
FETY
! SA
YM
1
connector
RPB programming box 1
I/O interface connector 2 Max.
Option
Connector labels 2 Max.
RGEN cable 1
3-1
2. Installing the robot controller
3 c CAUTION
(1) When carrying the robot controller, use a dolly or similar hand truck and
move it carefully to avoid dropping and resultant damage.
INSTALLATION
(2) Take care not to allow the connectors on the front of the robot controller
to be hit or bumped. Shocks received by the connectors may damage
the PC boards in the controller.
(3) Be sure to give the cables used to connect the controller enough extra
length to avoid strain and pulling at the connectors.
(4) Install the controller inside the control panel.
(5) Keep the controller away from oil and water. If the controller is to be
used under such adverse conditions, put it in a watertight box equipped
with a cooling device.
(6) Install the controller on a flat, level surface. Do not stand the controller
on its side or end, and do not install in an inverted position. Do not install
in locations subject to excessive vibrations.
(7) Do not install the controller in locations where the ambient temperature
may rise higher than the rated temperature.
(8) Do not block the fan vents on the bottom. If blocked, temperature inside
the controller will rise leading to malfunctions, breakdowns or
deterioration of electric components. Always provide a clearance of at
least 17mm from the bottom panel so that the fan works properly.
3-2
2. Installing the robot controller
50mm or more
OP.1
RGEN
RCX221 SRV
ERR
RDY
Chapter
MOTOR
XM TEMP
E-STOP
3
INSTALLATION
ROB
I/O
50mm 50mm
or more ACIN or more
L
N
RPB
L1
OP.2
N1
YM
! SAFETY
EXT.E-STOP
PIN11-12
SD/COM
17mm
or more
c CAUTION
The cooling fan is located on the bottom of the controller. Do not block the
bottom since air is sucked in through the bottom air vents and flows upward.
3-3
2. Installing the robot controller
3
INSTALLATION
OP.1
SRV
RGEN ERR
RDY
21 OP
RCX2
E-ST
P
OR TEM ROB
MOT I/O
XM
ACIN
L OP.2
RPB
N
L1
N1
TY
SAFE
! -STOP
EXT.E-12
PIN11
YM
OM
SD/C
OP.1
SRV
RGEN
ERR
RDY
21 OP
RCX2
E-ST
P
OR TEM ROB
MOT I/O
XM
ACIN
OP.2
L
RPB
N
L1
N1
TY
SAFE
! -STOP
EXT.E-12
PIN11
YM
OM
SD/C
3-4
2. Installing the robot controller
Chapter
RGEN
SRV
ERR
RDY
OP.1
3
21 OP
RCX2
E-ST
INSTALLATION
P
OR TEM ROB
MOT I/O
XM
ACIN
OP.2
L RPB
N
L1
N1
TY
SAFE
! -STOP
EXT.E-12
PIN11
YM
OM
SD/C
When attaching an L-type bracket to the top and bottom of the controller, use two
same brackets for one controller.
3-5
3. Connector names
3. Connector names
Connector names, locations and functions are shown below.
■ RCX connectors
OP.1
RGEN
RCX221
SRV
ERR
RDY
Chapter MOTOR E-STOP 2RGEN
:XM
3 8TEMP XM TEMP
ROB
@ROB I/O
I/O
BOP.1
INSTALLATION
ACIN
L
N
ACIN L1
RPB ;RPB
OP.2
N1
:YM
YM
! SAFETY
.SAFETY EXT.E-STOP
PIN11-12
BOP.2
SD/COM
=COM
>SD
FG
w WARNING
TO PREVENT ELECTRICAL SHOCKS, NEVER TOUCH THE RGEN AND AC IN
TERMINALS WHEN POWER IS SUPPLIED TO THE ROBOT CONTROLLER.
3-6
4. Connecting to the power
c CAUTION
Before connecting the power cable, be sure to check that the power supply
Chapter
3
voltage matches the power specifications of your controller.
INSTALLATION
w WARNING
• TO PREVENT ELECTRICAL SHOCKS OR MALFUNCTIONS CAUSED BY NOISE,
THE GROUND TERMINAL (PROTECTIVE CONDUCTOR) MUST BE
GROUNDED PROPERLY.
• TO PREVENT ELECTRICAL SHOCKS, NEVER TOUCH THE AC IN TERMINALS
WHEN POWER IS SUPPLIED TO THE ROBOT CONTROLLER.
Class D grounding
Ground Tightening torque 1.4 Nm
(100 ohms or less)
ACIN
L
N
L1
RPB
Power terminal
OP.2
N1
YM
! SAFETY
EXT.E-STOP
PIN11-12
SD/COM
Ground terminal
3-7
4. Connecting to the power
8 to 9 mm
Chapter
3 ● Wiring
Insert the wire lead into the opening in the power connector in either of the following
INSTALLATION
Lever
(1) Attach the lever to the (2) Insert the wire lead all the (3) Release the lever to make
upper slot as shown and way into the opening the wiring connection. Pull
press down on it with (round hole) while still gently on the wire to
your finger to depress holding the lever down. make sure it is securely
the internal spring. attached. (Do not pull
strongly on the wire.)
(1) Insert the screwdriver (2) Insert the wire with (3) Release the screwdriver
into the upper slot to properly exposed lead all to make the wiring
depress the internal the way into the opening connection. Pull gently on
spring. (round hole). the wire to make sure it is
securely attached. (Do not
pull strongly on the wire.)
c CAUTION
Basically only one wire can be inserted into one wire hole.
3-8
4. Connecting to the power
c CAUTION
The power supply voltage for the robot controller must always be regulated
within ±10%. If the voltage drops, the robot controller may issue an abnormal Chapter
voltage alarm causing the robot to trigger emergency stop. In contrast,
operation at a voltage higher than specified may damage the robot
3
INSTALLATION
controller or trigger emergency stop due to detecting an excessive motor
power supply voltage.
3-9
4. Connecting to the power
w WARNING
ELECTRICAL SHOCKS, INJURIES OR FIRES MIGHT OCCUR IF THE MOTOR BREAKS
DOWN WHILE THE ROBOT CONTROLLER IS USED WITHOUT INSTALLING A
LEAKAGE BREAKER.
c CAUTION
1. Leak current was measured with a leak tester with a low-pass filter turned
on (100Hz).
• Leak tester: Hioki Electric 3283
2. When using two or more controllers, sum the leakage current of each
controller.
3. Make sure that the controller is securely grounded.
4. Stray capacitance between the cable and FG may vary depending on
the cable installation condition, causing the leakage current to fluctuate.
Leakage current
RCX221 control power supply (L1, N1)
1mA in total
RCX221 main power supply (L, N)
3-10
4. Connecting to the power
INSTALLATION
data sheets for making the selection.)
w WARNING
ELECTRICAL SHOCKS, INJURIES OR FIRES MIGHT OCCUR IF THE MOTOR BREAKS
DOWN WHILE THE ROBOT CONTROLLER IS USED WITHOUT INSTALLING A
CIRCUIT PROTECTOR.
3-11
4. Connecting to the power
N
AC200 to 230V
L1
N1
3-12
5. Connecting the robot cables
n NOTE
Check robot cables for bent pins, kinks, and other damage before
Chapter
3
connecting.
INSTALLATION
w WARNING
• THE POWER TO THE CONTROLLER MUST BE OFF WHEN CONNECTING THE
ROBOT CABLES.
• KEEP ROBOT CABLES SEPARATE FROM THE ROBOT CONTROLLER POWER
CONNECTION LINES AND OTHER EQUIPMENT POWER LINES.
USING THEM IN CLOSE CONTACT WITH LINES CARRYING POWER MAY
CAUSE MALFUNCTIONS.
c CAUTION
Always securely connect the robot cables. If they are not securely
connected and fail to make good contact, the robot may malfunction.
Before turning on the controller, make sure again that the cables are
securely connected. Also make sure that the robot is properly grounded. For
details on the grounding method, refer to the robot user's manual.
OP.1
SRV
RGEN ERR
RDY
21
OP
E-ST
RCX2
R TEMP ROB
MOTO I/O
XM
ACIN
OP.2
L RPB
N
L1
N1
FETY
! SA -STOP
EXT.E 12
PIN11-
YM
OM
SD/C
3-13
6. Connecting the RPB programming box
c CAUTION
Use caution since the RPB connector must be connected in the correct
Chapter direction. Connecting in the wrong direction may cause malfunctions or
3 breakdowns.
OP.1
SRV
ERR
RGEN RDY
E-ST
OP
RPB programming box
21
RCX2 P
OR TEM ROB
MOT I/O
XM
ACIN
OP.2
L RPB
N
L1
N1
TY
SAFE
! -STO
P
EXT.E-12
PIN11
YM
OM
SD/C
● Connecting a terminator
If not connecting the RPB, plug the terminator (supplied) into the RPB connector.
■ Connecting a terminator
OP.1
SRV
RGEN
RCX221
SRV N
ERR RGE ERR
RDY RDY
21
MOTOR E-STOP OP
E-ST
RCX2
XM TEMP
ROB
I/O
P
R TEM ROB
I/O
ACIN
L M
N
RPB
L1
OP.2
ACIN
N1
OP.2
L RPB
YM
! SAFETY
N
EXT.E-STOP
PIN11-12
L1
N1
SD/COM
Y
FET
! SA -STO
P
EXT.E-12
PIN 11
M
c CAUTION
If not connecting the RPB, always be sure to plug the terminator (supplied)
into the RPB connector.
Emergency stop in the robot controller is triggered when the RPB is
disconnected from the robot controller, because a B-contact (normally
closed) type emergency stop button is provided on the RPB. Plug the RPB
terminator into the RPB connector to avoid such an emergency stop.
3-14
7. I/O connections
7. I/O connections
The various input/output (I/O) signals from peripheral equipment can be connected to the
robot controller. Each I/O is set with a number, and the I/O connector to be used depends
on that number.
For more detailed information on inputs and outputs, see Chapter 5, "Parallel I/O interface"
or see Chapter 6, "SAFETY I/O interface". Chapter
The following describes terms used in the manual.
a. NPN specifications
3
INSTALLATION
NPN specifications indicate that a DO (digital output) type NPN open-collector
transistor is used for the I/O port having a transistor and photocoupler, and a
corresponding DI (digital input) is also used. NPN specifications therefore make use
of a sink output and a source input (see drawing below).
■ Connection for NPN specifications
NPN
N.COM
Current
b. PNP specifications
PNP specifications indicate that a DO (digital output) type NPN open emitter
transistor is used for the I/O port having a transistor and photocoupler, and a
corresponding DI (digital input) is also used. PNP specifications therefore make use
of a source output and a sink input (see drawing below).
■ Connection for PNP specifications
Current
PNP
Current
N.COM
3-15
8. Connecting a host computer
RCX221
SRV
ERR
RDY
MOTOR E-STOP
ACIN
L
9 pins 9 pins
N
RPB
L1
OP.2
N1
SD/COM
9 pins 9 pins
3-16
9. Connecting a regenerative unit
n NOTE
• The RCX221 may require a regenerative unit depending on the robot Chapter
type to be connected. 3
• Check the cable and connectors for bent pins, kinks, and other damage
INSTALLATION
before connecting.
w WARNING
• THE POWER TO THE CONTROLLER MUST BE OFF WHEN CONNECTING THE
REGENERATIVE UNIT TO THE CONTROLLER.
• TO PREVENT ELECTRICAL SHOCKS, NEVER TOUCH THE RGEN CONNECTOR
WHEN POWER IS SUPPLIED TO THE CONTROLLER.
c CAUTION
Always securely connect the cable. Poor connections or contact failure
may cause malfunctions.
RGEN
OP.1 RG2
RCX221
MOTOR
SRV
ERR
RDY
E-STOP
Regenerative unit
RGEN connector
RGEN
XM TEMP TEMP connector
ROB
I/O
ACIN
L Supplied cables
N
TEMP
RPB
L1
OP.2
N1
YM
! SAFETY
EXT.E-STOP
PIN11-12
SD/COM
3-17
9. Connecting a regenerative unit
RGEN
TEMP
Chapter
c CAUTION
(1) The generative unit becomes hot during operation. Do not touch it to
avoid burns.
Also do not install the generative unit near an object that is vulnerable
to heat.
(2) When the thermal sensor is activated, an RGU overheat alarm occurs to
stop the robot. If this happens, change the resistor to a larger one or
adjust the deceleration time and/or speed to reduce the braking load
factor.
(3) Always connect the thermal sensor cable to the TEMP connector. Failure
to do so will cause an overheat alarm.
If the generative unit is not needed, plug the shorting connector into the
TEMP connector.
3-18
10. Precautions for cable routing and installation
c CAUTION
As a general guide keep the specified cables separated at least 100mm
3
INSTALLATION
from each other.
1) Keep the DIO cables, SAFETY cable, robot cables and power cable separate from each
other. Never bundle them together.
2) Keep the communication cable, robot cables and power cable separate from each
other. Never bundle them together.
3) Keep robot cables separate from the power cable. Never bundle them together.
4) Keep robot cables away from other equipment power lines. Never bundle them
together.
3-19
10. Precautions for cable routing and installation
DIO cable
Chapter
3 RGEN
OP.1
RCX221
SRV
ERR
INSTALLATION
RDY
MOTOR E-STOP
XM TEMP
ROB
I/O
Robot cable
Power cable
ACIN
L
N
RPB
L1
OP.2
N1
YM
! SAFETY
Communication cable
EXT.E-STOP
PIN11-12
SD/COM
SAFETY cable
3-20
10. Precautions for cable routing and installation
INSTALLATION
generators, large switching devices, and welding machines.
■ Bad example
L
Primary Secondary N Robot
wiring wiring L1 controller
Noise
N1
filter
Ground wire
• Primary wiring and secondary wiring of the noise filter are bundled together.
• Ground wire is bundled with primary wiring of the noise filter.
2) Always attach a surge absorber to the coil of inductive loads (inductive motor,
solenoid valve, brake solenoid and relay) located near the robot controller.
Single- 3-phase
A phase motor
motor
A
A: Surge killer (Okaya Electric Industries CRE-50500, 3CRE-50500 or equivalen
B C
DC type AC type
B: Diode, varistor, CR elements C: Varistor, CR elements
3-21
11. Checking the robot controller operation
OP.1
SRV
RGEN ERR
RDY
21
OP
RCX2
E-ST
P
MOT
OR
XM
TEM ROB
I/O
RPB
ACIN
OP.2
L RPB
N
L1
N1
TY
SAFE
! -STO
P
EXT.E-12
PIN11
YM
OM
SD/C
3-22
11. Checking the robot controller operation
Normal operation
• The "RDY" and "SRV" LED lamps on the front panel of the controller light up. The
"ERR" LED lamp is off. Chapter
• When the "SAFE" mode setting is enabled and the serial I/O is connected, the "SRV"
LED lamp does not light up.
3
INSTALLATION
Abnormal operation
• The "RDY" and "ERR" LED lamps on the front panel of the controller light up.
However, the "RDY" LED flashes if a serious error has occurred.
• Check the error message displayed on the RPB and take corrective action according
to the description given in Chapter 9, "Troubleshooting".
3-23
MEMO
3-24
Chapter 4 OPERATION
Contents
1. Operation overview 4-1
c CAUTION
The external circuit connected to the robot controller should be prepared by
the user.
n NOTE Chapter
OPERATION
• Refer to Chapter 7 for RS-232C interface.
Power input AC power input terminal • Used to supply power to the controller.
This chapter mainly explains how to operate the RPB programming box.
4-1
2. The RCX robot controller
OP.1
RGEN
SRV SRV @“SRV”LED
Chapter
RCX221
MOTOR
ERR
RDY
E-STOP ERR .“ERR”LED
4 XM TEMP
ROB
RDY ;“RDY”LED
I/O E-STOP =“E-STOP”LED
OPERATION
ACIN
L
:AC IN terminal
N
RPB
L1 BRPB connector
OP.2
N1
YM
! SAFETY
EXT.E-STOP
PIN11-12
SD/COM
>SD/COM connector
w "SRV" LED : Lights up when the motor power turns on and turns off when the
motor power turns off.
r "RDY" LED : Lights up when the internal control circuit operates normally.
Flashes immediately after power is turned on or a serious error
occurs.
t "E-STOP" LED : Lights up when the external E-STOPRDY signal turns off.
4-2
3. RPB programming box
OPERATION
.Emergency stop button
@Sheet key
Rear view
4-3
3. RPB programming box
Configure the external safety circuit so that this enable switch functions as described
above.
n NOTE
Emergency stop is triggered when the RPB is connected to or disconnected
from the robot controller while the power is on. If this happens, emergency
stop must be cancelled to continue operation.
RGEN
OP.1 RPB
RCX221
SRV
ERR
RDY
MOTOR E-STOP
XM TEMP
ROB
I/O
L
N
RPB
L1
N1
OP.2 RPB connector
YM
! SAFETY
EXT.E-STOP
PIN11-12
SD/COM
4-4
3. RPB programming box
OPERATION
[F1/F2]brightness 65
[F3/F4]volume 70
[F5] default
[ESC] reboot
1. Press (default).
The screen contrast and key-press volume return to the default settings.
(contract: 65%, key volume: 70%)
4-5
4. Turning power on and off
1) Connect the RPB to the RPB connector on the front panel of the robot controller.
Chapter c CAUTION
When connecting the RPB to the robot controller, always use the dedicated
4 cable and connector attached to the RPB. Do not modify this cable or
extend it by using a relay unit, etc.
OPERATION
2) Supply the power to the AC IN terminal on the front panel of the robot controller.
The "PWR" LED lights up and the "MANUAL" mode screen appears. (After the "PWR"
LED is lit, it will take a maximum of three seconds for the controller to operate
normally.)
n NOTE
• If an error message "Parameter destroyed" or "Memory destroyed"
appears on the screen when the robot controller is turned on, be sure to
initialize the parameters and memory in "SYSTEM" mode before
performing return-to-origin. Refer to '12. "SYSTEM" mode' in Chapter 4 for
detailed information.
• If the error message "10.21 : Sys. backup battery low voltage" appears
while the power supply is turned on, replace the lithium battery (typically
4 years service life) in the robot controller.
n NOTE
• After turning off the robot controller, wait at least 5 seconds before
turning the power back on again. If power is turned on again too quickly
after the power was turned off, the controller might not start up correctly.
• Do not turn off the robot controller during program execution. If turned
off, this causes errors in the internal system data and the program may
not restart correctly when the power is again turned on. Always quit or
stop the program before turning off the robot controller.
3) When "SAFE" mode or serial I/O setting is enabled, the controller always starts with
the robot servo turned off. To turn on the robot servo, refer to '14. "UTILITY" mode' in
this chapter.
4-6
4. Turning power on and off
4) After the power is turned on, return-to-origin must be performed before starting robot
operation.
Then start the robot operation.
Refer to "11.8 Return-to-origin" in this chapter for how to perform return-to-origin.
OPERATION
POINT PALLET VEL+ VEL-
4-7
5. Operation keys
5. Operation keys
}
Chapter
4th line 2 '
4 5th line 3 DO2(0)=0 ...Data area
6th line 4 WAIT DI3(4,3,2)=3
OPERATION
4-8
5. Operation keys
OPERATION
Function key
4-9
5. Operation keys
■ Key configuration
Shift 1
Shift 2
Shift 3
Chapter
+
1 "#"
Shift 1: Use a key while holding down .
2 ","
Shift 2: Use a key without holding down and .
+
3 "@"
Shift 3: Use a key while holding down .
4-10
5. Operation keys
(F1) POINT
(F2) PALLET
Chapter
(F3) ORIGIN
4
OPERATION
(F4) VEL +
(F5) VEL -
+ (F6) SHIFT
+ (F7) HAND
+ (F8) UNITCHG
+ (F9) VEL ++
+ (F10) VEL --
+ (F15) COORDI
4-11
5. Operation keys
MANUAL 50%[MG][S0H0J]
Current position
M1= 0 *M2= 0
4 n
[F1]
n
[F2]
n
[F3]
n
[F4]
n
[F5]
OPERATION
n n n n n
[F6] [F7] [F8] [F9] [F10] ...UPPER
COORDI
n n n n n
[F11] [F12] [F13] [F14] [F15] ...LOWER
Function keys to (sheet keys on the RPB) correspond to the function key
function keys to .
n NOTE
4-12
5. Operation keys
OPERATION
(2) Extended function keys
: Switches robots.
Moves the pointer (highlighted line number display) up when not editing on the screen.
Moves the pointer (highlighted line number display) down when not editing on the screen.
: Moves the cursor to the left. (Screen scrolls to the right when the cursor reaches the left end.)
: Moves the cursor to the right. (Screen scrolls to the left when the cursor reaches the right end.)
4-13
5. Operation keys
: Starts operation.
This key is valid only during "AUTO" mode or point trace.
: Stops operation.
: Moves axis 1 in the – direction or the robot in the -X direction on the XY coordinates.
: Moves axis 2 in the + direction or the robot in the +Y direction on the XY coordinates.
: Moves axis 2 in the - direction or the robot in the -Y direction on the XY coordinates.
n NOTE
The to keys are hereafter called the Jog keys.
The Jog keys are enabled in "MANUAL" mode.
4-14
5. Operation keys
to : Enters numbers.
OPERATION
5.7 Other keys
(1) Enter key
: Pressing this key executes a direct command when in "AUTO > DIRECT"
mode.
When the cursor is displayed, pressing this key completes the data input on
the cursor line.
4-15
6. Emergency stop
6. Emergency stop
If for some reason you want to stop the robot immediately during operation, press the
emergency stop button on the RPB. Pressing the emergency stop button cuts off power to
the robot to stop operation. A message appears on the RPB screen as shown below. The
highlighted display for the mode name is cancelled during emergency stop.
MANUAL 50%[MG][S0H0J]
———— 12.1:Emg.stop on —————————————————
Current position
Chapter
*M1= 0 *M2= 0
4
OPERATION
■ Emergency stop
RPB programming box
Emergency stop
button
n NOTE
Besides the emergency stop button on the RPB, an external dedicated input
(emergency stop) terminal is provided in the SAFETY connector. Refer to
Chapter 6 for details.
4-16
6. Emergency stop
n NOTE
• Emergency stop can also be triggered by an emergency stop input from
the SAFETY I/O interface. To cancel this emergency stop, refer to Chapter 6.
• Origin positions are retained even when emergency stop is triggered, so
the robot can be operated the same as before emergency stop just by
canceling emergency stop without reperforming return-to-origin.
Chapter
OPERATION
2) Press while holding down .
The screen switches to "UTILITY" mode and the message "Cancel emergency flag?"
appears.
3) Press (YES).
UTILITY
At this time, pressing returns to the previous mode with the motor power still
turned off. To turn on the motor power, continue the following operations.
4-17
6. Emergency stop
4) Press (MOTOR).
UTILITY>MOTOR
5) Press (On) to turn on the motor power. At the same time, the servomotor sets
to HOLD status.
The mode name "UTILITY" on the system line (1st line) is highlighted.
n NOTE
If the motor power is turned off due to a serious error, the motor power will
not turn on with "UTILITY > MOTOR" mode. In this case, the robot controller
must be turned back on again.
UTILITY>MOTOR
motor power: On
D1=M1: Servo D5=M5: no axis
D2=M2: Servo D6=M6: no axis
D3=M3: no axis
D4=M4: no axis
On Off
4-18
7. Mode configuration
7. Mode configuration
The robot operation mode consists of the following modes.
“SERVICE” mode
OPERATION
"SERVICE" mode can be used only when "SAFE" mode is enabled.
c CAUTION
The "SYSTEM" mode is used to select the "SERVICE" mode functions. (Refer to
'12.3.2 Setting the "SERVICE" mode' in this chapter.)
4-19
7. Mode configuration
this mode.
Operable tasks in this mode differ depending on the parameter settings in "SERVICE"
mode.
n NOTE
• Return-to-origin can be performed only in "MANUAL" mode.
• "AUTO" mode may be selected depending on the execution level when
the robot controller is turned on.
emergency stop and motor servo on/off switching. Use to select this mode.
4-20
7. Mode configuration
Pressing displays the 4 basic modes on the guideline (bottom line) of the screen as
shown below.
■ Mode menu
Chapter
MANUAL 50% [MG][S0H0J]
4
Current position
OPERATION
*M1= 0 *M2= 0
These are basic modes at the highest hierarchy on the menu. The display position for each
the left.
When "AUTO" mode is entered, the submenu for the "AUTO" mode operation appears on
the guideline.
The submenu also corresponds to the function keys from to . (See the figure
4-21
7. Mode configuration
Functions are switched with the and shift keys. The menu display changes
■ Function switching
4 n
[F1]
n
[F2]
n
[F3]
n
[F4]
n
[F5]
OPERATION
POINT .
DIRECT BREAK VEL++ VEL--
n n n n n
[F6] [F7] [F8] [F9] [F10] ...when is pressed.
n n n
[F11] [F12] [F13] ........................................when is pressed.
The " " mark at the left end on the guideline shows that is pressed, while the " "
Some submenus have other menus for accessing the next hierarchical mode.
As explained above, operation can proceed through each hierarchy by selecting the menu
items with the function keys. To return to the previous mode hierarchy, press .
To return to a highest mode press . The basic modes are then displayed on the
guideline, so select the desired basic mode by pressing the corresponding function key.
4-22
7. Mode configuration
n NOTE
• From here in this user's manual the mode hierarchy status is stated in the
order as shown below.
First (highest) hierarchy > Second hierarchy > Third hierarchy > Fourth hierarchy
Chapter
Example: PROGRAM > DIR>ERASE
4
The above example shows that the current mode is entered by selecting
OPERATION
(PROGRAM) from the first hierarchy menu, (DIR) from the
See the figure titled "Mode hierarchy diagram" on the next page for the entire mode
hierarchy.
4-23
7. Mode configuration
4 F9 VEL++
F10 VEL--
F11 STEP
F2 CANCEL
F3 SEARCH
F6 JUMP
F12 SKIP F7 FIND
OPERATION
4-24
7. Mode configuration
F15 COORDI
F10 VEL--
F1 4POINTS
F9 VEL++
F10 VEL-- 4
F2 3POINTS
OPERATION
F5 SIMPLE
F4 SYSTEM F1 PARAM F1 ROBOT F1 EDIT
F2 JUMP
F2 AXIS F1 EDIT
F2 JUMP
F3 OTHER F1 EDIT
F2 JUMP
F5 OP. BRD
F10 PASSWRD
F2 CMU F1 EDIT
F2 JUMP
F3 OPTION F1 POS.OUT F1 EDIT
F2 JUMP
F2 SERVICE F1 EDIT
F2 JUMP
F4 SAVE
F5 HELP
F3 SIO F1 EDIT
F4 W.CAREER F2 JUMP
4-25
8. "SERVICE" mode
8. "SERVICE" mode
"SERVICE" mode can be used only when "SAFE" mode is enabled.
Use "SERVICE" mode to perform safe maintenance work with the RPB while within the
safety enclosure of the robot system. This mode can be selected by turning DI02 ("SERVICE"
mode input) OFF.
c CAUTION
• Use "SYSTEM" mode to select the functions in "SERVICE" mode. (Refer to
Chapter '12.3.2 Setting the "SERVICE" mode' in this chapter.)
4 • Basically, RPB operation is only allowed in "SERVICE" mode, so application
software (VIP/WIN, etc.) that executes on-line commands through the
OPERATION
RS-232C interface cannot be used, except for cases where other operating
devices are enabled by on-line commands made via the RS-232C.
4-26
8. "SERVICE" mode
4
c CAUTION
OPERATION
When operating the robot without using the safety functions explained in
sections 8.2, 8.3 and 8.4 while the operator is still within the safety enclosure,
it is important to take even more stringent safety precautions.
4-27
9. "AUTO" mode
9. "AUTO" mode
"AUTO" mode executes robot language programs and related tasks.
The initial "AUTO" mode screen is shown below.
■ "AUTO" mode
.Automatic movement speed
:Mode hierarchy @Task display ;Program name
=Message line
BOnline command
Chapter AUTO [T1] 100% <TEST1 >
execution mark
4 >Sequence
program
s@ —————————————————————————————————————
1 ’***** TEST1 PROGRAM *****
3 DO2(0)=0
2Pointer display 4 WAIT DI3(4,3,2)=3
5 MOVE P,P0
8Guideline RESET TASK DIR VEL+ VEL-
q Mode hierarchy
Shows the current mode hierarchy. When the highest mode ("AUTO" in this case) is
not highlighted, it means the servomotor power is off. When highlighted, it means the
servomotor power is on.
w Task display
Shows the task number for the program listing being displayed.
r Program name
Shows the program name currently selected.
t Message line
If an error occurs, the error message appears here. A dashed line means return-to-
origin is incomplete. A solid line means return-to-origin return is complete. A double-
solid line means automatic operation is in progress.
4-28
9. "AUTO" mode
i Pointer display
The program line number to be executed next is shown highlighted in the program
listing.
o Guideline
The contents assigned to function keys are shown highlighted. A message on what to
do next also appears here in some operation steps.
Upon entering "AUTO" mode, the specified program is compiled and an object file is
created to execute automatic operation. Chapter
OPERATION
the program listing after the command line where the error occurred are displayed.
If the compiling ends normally, the program listing is displayed from the top
command line.
n NOTE
Usually, return-to-origin must be completed before starting "AUTO" mode. If
return-to-origin is not complete, the message "Origin incomplete" appears.
In such a case, refer to "11.8 Return-to-origin" later in this chapter.
However, the program can be executed depending on the command
execution level even if return-to-origin has not been completed. For further
information, see the execution level explained in section "14.4 Changing the
execution level" later in this chapter.
4-29
9. "AUTO" mode
Valid keys and submenu descriptions in "AUTO" mode are shown below.
〈〈
( / )
F1 RESET Resets the program.
F2 TASK Changes the program listing according to each task.
4-30
9. "AUTO" mode
n NOTE
Regardless of the execution level, some commands such as the robot
Chapter
movement commands cannot be executed if return-to-origin is incomplete.
When the execution level 5, 6 or 8 is selected, the program will always be 4
executed from the beginning.
OPERATION
[Procedure]
Command statements are executed in order from the line number where the pointer is
displayed.
The program listing disappears during automatic operation and the message "Running"
appears on the message line (the second line).
The message line changes from a single solid line to a double-solid line when automatic
operation starts.
w WARNING
4-31
9. "AUTO" mode
Chapter
4 n NOTE
When automatic movement speed was changed during automatic
OPERATION
c CAUTION
Do not turn off the robot controller during program execution. If turned off,
an error may occur in the internal system data and the program might not
restart normally when the power is again turned on. Always be sure to
terminate or stop the program before turning the power off.
The pointer indicates the next command line number to be executed in the program.
4-32
9. "AUTO" mode
n NOTE
The output is also reset when the program is reset. However, the output will
not be reset when a sequence program is being executed without selecting
"RST.DO" in the sequence execution "ENABLE/DISABLE" flag setting.
Chapter
[Procedure]
■ Program reset (1)
4
OPERATION
AUTO [T1] 100% <TEST1 >
2) Press (YES).
The program listing appears from the first line. (A pointer also appears on the first line
number of the program.)
1 *ST:
2 MOVE P, P0
3 MOVE P, P1
4 MOVE P, P2
5 GOTO *ST
Reset program OK? YES NO
4-33
9. "AUTO" mode
The following message appears on the guideline when "_SELECT" exists among
1 *ST:
2 MOVE P, P0
3 MOVE P, P1
4 MOVE P, P2
5 GOTO *ST
Change to _SELECT OK? YES NO
2) When (NO) is pressed in Step 1), the following message then appears on the
guideline.
Press (YES) to reset the current program, or press (NO) to cancel the
reset.
1 *ST:
2 MOVE P, P0
3 MOVE P, P1
4 MOVE P, P2
5 GOTO *ST
Reset program OK? YES NO
n NOTE
The output is also reset when the program is reset. However, the output will
not be reset when a sequence program is being executed without selecting
"RST.DO" in the sequencer execution "ENABLE/DISABLE" flag setting.
4-34
9. "AUTO" mode
[Procedure]
The pointer indicates the next command line number to be executed in the current
4
OPERATION
task.
5 MOVE P,P0
6 *L1:
7 MOVE P,P1
8 MOVE P,P2
9 GOTO *L1
RESET TASK DIR VEL+ VEL-
displayed.
At this time, the pointer indicates the next command line number to be executed in
each task.
11 WAIT DI2(0)=1
12 DO2(1)=1
13 DELAY 1000
14 DO2(1)=0
15 WAIT DI2(0)=0
RESET TASK DIR VEL+ VEL-
4-35
9. "AUTO" mode
n NOTE
The output is also reset when the program is reset. However, the output will
not be reset when a sequence program is being executed without selecting
"RST.DO" in the sequencer execution "ENABLE/DISABLE" flag setting.
Chapter
4 [Procedure]
2) Use the cursor (↑/↓) keys to select the desired program and press .
The selected program will automatically be compiled and an object program file
made.
■ Switching programs
4-36
9. "AUTO" mode
n NOTE
Automatic movement speeds once set here are stored in the internal
memory even when the power is turned off.
If the speed is set with the program command statement (SPEED statement),
the actual robot operating speed will be the product of that speed and the
Chapter
automatic movement speed.
For example, if the automatic movement speed is 80% and the speed 4
specified by the SPEED statement is 50%, then the robot movement speed is
OPERATION
set as follows.
Operating speed = 80%×50% = 40%
[Procedure]
1%.
Holding down the key changes the speed continuously.
4-37
9. "AUTO" mode
n
Chapter NOTE
4 Point trace cannot be performed unless return-to-origin is complete.
OPERATION
[Procedure]
The screen switches to "AUTO>POINT" mode and the point data appears as shown
below.
4-38
9. "AUTO" mode
Valid keys and submenu descriptions in "AUTO > POINT" mode are shown below.
〈〈
( / )
PTP/
F1 ARCH/ Switches the trace movement mode.
LINEAR
F2 A.POS Specifies the arch position during ARCH motion mode. Chapter
F3 JUMP Displays the specified point data.
Increases automatic movement speed for the selected
4
F4 VEL+
OPERATION
robot group in steps.(1→5→20→50→100%)
Decreases automatic movement speed for the selected
F5 VEL- robot group in steps.(100→50→20→5→1%)
Moves the arch axis to the right during ARCH motion
F6 A.AXIS+ mode.
Moves the arch axis to the left during ARCH motion
F7 A.AXIS- mode.
(MODIFY)
Pressing (MODIFY) switches to the point data edit screen and allows you to
correct the point data while checking the point trace position.
4-39
9. "AUTO" mode
1) Press in "AUTO>POINT" mode to display a screen like that shown below, then
4 ————————————x———————y———————z———————r———
P3 = 150.50 64.53 0.00 0.00
OPERATION
2) Use the cursor (↑/↓) keys to select the point number to be checked.
3) Press , and the robot moves by PTP motion to the specified point position. The
trace speed is one fifth of the automatic movement speed. To stop the trace, press
w WARNING
4-40
9. "AUTO" mode
1) Press in "AUTO>POINT" mode to display a screen like that shown below, then
press (ARCH).
OPERATION
P4 = 96.65 -224.89 0.00 0.00
P5 = -63432 19735 0.00 0.00
COMNT : [ ]
[POS] 50.00 100.00 0.00 0.00
PTP ARCH LINEAR
4-41
9. "AUTO" mode
n NOTE
Enter the number of pulses for the Y-axis.
4) Use the cursor (↑/↓) keys to select the point number to be checked.
5) Press to move the robot by arch motion to the specified point position. The
trace speed is one fifth of the automatic movement speed. To stop the trace, press
Chapter .
4
w WARNING
OPERATION
4-42
9. "AUTO" mode
1) Press in "AUTO>POINT" mode to display a screen like that shown below, then
press (LINEAR).
OPERATION
P4 = 96.65 -224.89 0.00 0.00
P5 = -63432 19735 0.00 0.00
COMNT : [ ]
[POS] 50.00 100.00 0.00 0.00
PTP ARCH LINEAR
2) Use the cursor (↑/↓) keys to select the point number to be checked.
n NOTE
Linear interpolation motion at the sub robot is not supported in controller
versions prior to Ver. 9.11.
3) Press to move the robot by linear interpolation motion to the specified point
position. The trace speed is one fifth of the automatic movement speed. To stop the
trace, press .
w WARNING
4-43
9. "AUTO" mode
[Procedure]
The screen switches to "AUTO>DIRECT" mode and the cursor appears on the screen.
The prompt (>) also appears on the bottom line of the screen.
Chapter
n NOTE
The following command statements can be executed directly.
Assignment statements, movement commands, SET statements, RESET
statements, etc.
• Before executing a movement command, return-to-origin must have
been completed.
• The STOPON option cannot be used with a movement command.
• A movement command ends after positioning on the axis is complete.
4-44
9. "AUTO" mode
Valid keys and submenu contents in "AUTO > BREAK" mode are shown below.
Chapter
Valid keys Menu Function
Cursor key
Specifies the break point and scrolls the screen.
4
(↑/↓)
OPERATION
Page key
Switches the page display.
〈〈
〈〈
( / )
F1 SET Sets the break point.
F2 CANCEL Deletes the break point.
F3 SEARCH Searches for the line set with the break point.
F6 JUMP Shows the program listing from specified line.
F7 FIND Specifies the character string to be found.
Finds the specified character string searching
F8 FIND+ backwards from the cursor position.
Finds the specified character string searching forwards
F9 FIND- from the cursor position.
n NOTE
• Up to 4 break points can be set in one program.
4-45
9. "AUTO" mode
[Procedure]
2) Use the cursor keys to select the line number on which a break point is to be set.
Chapter
4
3) Press (SET).
OPERATION
A " B " mark appears to the left of the command statement and a break point is set on
that line.
4-46
9. "AUTO" mode
was set.
[Procedure]
1) Use the cursor (↑/↓) keys to select the line number where the break point is set.
The " B " mark disappears and the break point is canceled. 4
OPERATION
3) To find the line number on which another break point was set, press (SEARCH).
This function makes it easier to find a break point that you want to delete.
n NOTE
• Up to 4 break points can be set in one program. These 4 break points
cannot set in different programs. However, when there is "COMMON"
program, 4 break points can be set including the main program. (For
more information on the COMMON program, refer to the programming
manual.)
• If the program is compiled or edited, all the break points are deleted.
• Break points are ignored during execution of STEP or NEXT. However,
break points set in sub-routines are enabled when executing NEXT.
4-47
9. "AUTO" mode
w WARNING
THE ROBOT MAY BEGIN TO MOVE WHEN STEP IS EXECUTED. TO AVOID DANGER,
DO NOT ENTER THE ROBOT MOVEMENT RANGE.
[Procedure]
4
OPERATION
2) Each time this key is pressed, the command statement of the highlighted line number
is executed.
After execution, the pointer moves to the next line.
If the command statement is a sub-routine or sub-procedure, its top line is executed.
■ STEP execution
n NOTE
During STEP, SKIP and NEXT execution, the message "Running" is displayed on
the screen.
After execution is complete, the pointer moves to the line number of the
next command statement.
2) The program moves (skips) to the next line each time this key is pressed without
executing the command statement of the line number where the pointer is displayed.
4-48
9. "AUTO" mode
w WARNING
THE ROBOT MAY BEGIN TO MOVE WHEN NEXT IS EXECUTED. TO AVOID
DANGER, DO NOT ENTER THE ROBOT MOVEMENT RANGE.
[Procedure]
OPERATION
2) Each time this key is pressed, the command statement of the highlighted line number
is executed. After execution, the pointer moves to the next line.
If the command statement is a sub-routine or sub-procedure, it is executed at once.
4-49
10. "PROGRAM" mode
1 2 3
— @ ————————————————————————————————————————
1 '***** TEST2 PROGRAM *****
2 GOSUB *SUBPROG
=Selected line
display 3 DO2(0)=0
4 WAIT DI3(4,3,2)=3
5 MOVE P,P0 ‘ORIGIN
EDIT DIR COMPILE
BGuideline
q Mode hierarchy
Shows the current mode hierarchy. When the highest mode ("PROGRAM" in this case)
is highlighted it means the servomotor power is on. When not highlighted, it means
the servomotor power is off.
w Program name
Shows the program name currently selected.
e Message line
This line shows the number of digits of the program. If an error occurs, the error
message also appears here.
y Guideline
The contents assigned to function keys are shown highlighted. A message on what to
do next also appears here in some operation steps.
4-50
10. "PROGRAM" mode
Valid keys and submenu descriptions in "PROGRAM" mode are shown below.
〈〈
( / )
F1 EDIT Edits the program.
F3 DIR Displays the program data.
F5 COMPILE Compiles the program. Chapter
F6 JUMP Displays the program listing from a specified line. 4
F7 FIND Specifies the character string to be found.
OPERATION
Finds the specified character string searching
F8 FIND+ backwards from the cursor position.
Finds the specified character string searching forwards
F9 FIND- from the cursor position.
F13 ERR.RST Allows editing if the selected program is destroyed.
n NOTE
Refer to the separate "Programming Manual" for details on the programming
language.
time.
4-51
10. "PROGRAM" mode
A cursor appears on the top line of a program listing as shown below, allowing
program editing.
Chapter 2) Use the cursor keys to move the cursor to the position to be edited and enter a
n NOTE
program editing.
A maximum of 9999 lines can be written in one program as long as the
program size is within about 98 Kbytes.
■ "PROGRAM>EDIT" mode
Pressing finishes the program input for one line and moves the cursor to
4-52
10. "PROGRAM" mode
Valid keys and submenu descriptions in "PROGRAM > EDIT" mode are shown below.
〈〈
( / )
INS Switches between Insert and Overtype modes.
L. INS Inserts one blank line.
DEL Deletes one character. Chapter
L. DEL Deletes one line. 4
USER Displays the user function key.
OPERATION
ESC Ends program editing.
Finishes the program input for one line and moves the
cursor to the beginning of the next line.
4-53
10. "PROGRAM" mode
4-54
10. "PROGRAM" mode
The cursor changes to underline ( _ ) form, and the screen switches to Insert mode.
In Insert mode, the input character is inserted just previous to the cursor position.
■ Insert mode
Chapter
PROGRAM >EDIT <TEST2 >
1 2 3
———————————————————————————————————————————
3 DO2(0)=0
4
OPERATION
4 WAIT DI3(4,3,2)=3
5 MOVE P,P0
6 _ ’ORIGIN
7 MOVE P,P1
SELECT COPY CUT PASTE BS
2) Press again.
The cursor changes back to a thick line ( ■ ), and the screen returns to Overwrite
mode.
In Overwrite mode, the input character replaces the character at the cursor position.
■ Overwrite mode
4-55
10. "PROGRAM" mode
4 3 DO2(0)=0
4 WAIT DI3(4,3,2)=3
5 _
OPERATION
Pressing in "PROGRAM > EDIT" mode deletes one character at the cursor position.
4-56
10. "PROGRAM" mode
n NOTE
When using this function, it is necessary to make a program named
"FUNCTION" and then write command statements for registering functions.
For information on how to register the function keys, refer to "10.3.9 Creating
a sample program automatically" and "10.6 Registering user function keys"
later in this chapter.
Chapter
[Procedure]
4
OPERATION
1) Press in "PROGRAM > EDIT" mode to display the character strings on the
2) Press the function key matching the character string you want to enter.
For example, when (GOTO *) is pressed on the following screen, the character
4-57
10. "PROGRAM" mode
n NOTE
When selecting a line range, the maximum number of characters is 200. If
the number of characters exceeds 200, the selected line range must be
reduced. The number of characters on one line is the count from the top to
the last characters (excluding blanks) plus 1.
4-58
10. "PROGRAM" mode
The data on the selected lines are copied into the buffer. The " C " marks then disappear.
■ Copying the selected lines
OPERATION
4 WAIT DI3(4,3,2)=3
5 MOVE P,P0 ‘ORIGIN
SELECT COPY CUT PASTE BS
The data on the selected lines are cut and stored into the buffer. The " C " marks then
disappear.
■ Cutting the selected lines
4-59
10. "PROGRAM" mode
When (PASTE) is pressed in "PROGRAM>EDIT" mode, the data stored into the
4 WAIT DI3(4,3,2)=3
5 MOVE P,P0 ’ORIGIN
SELECT COPY CUT PASTE BS
n NOTE
The data stored in the buffer can be pasted repeatedly until you exit
"PROGRAM" mode.
However, if another copy/cut operation is performed, then the data within
the buffer is rewritten.
10.2.12 Backspace
[Procedure]
Pressing (BS) in "PROGRAM>EDIT" mode backs the cursor and deletes the
preceding character.
When the cursor is at the beginning of a line, it connects to the end of the previous line.
However, nothing is changed if the number of characters on the connected line exceeds
75 characters.
4-60
10. "PROGRAM" mode
mode.
The message "Enter line no. > " appears on the guideline.
■ Line jump
OPERATION
2 GOTO *_’
3 DO2(0)=0
4 WAIT DI3(4,3,2)=3
5 MOVE P,P0 ’ORIGIN
Enter line no. >45_
4-61
10. "PROGRAM" mode
mode.
The message "Character string >" appears on the guideline.
2) Enter the character string you want to search for and press .
Chapter
A maximum of 20 characters can be used.
4
■ Character string search
OPERATION
Search starts from the cursor position towards the end of the program and stops at the
first matching character string.
(FIND-).
Pressing (FIND+) restarts the search from the current cursor position towards
Pressing (FIND-) restarts the search from the current cursor position towards
4-62
10. "PROGRAM" mode
10.3 Director y
When (DIR) is pressed in "PROGRAM" mode, information on each program appears
as shown below.
n NOTE
A maximum of 100 programs can be stored.
OPERATION
No. Name Line Byte RW/RO
1 TEST1 55 952 RW
2 *TEST2 50 907 RW
3 PARTS100 38 843 RW
4 TEST100 100 1968 RW
NEW INFO
Pressing on the above screen displays the "DATE" and "TIME" data.
n NOTE
The date and time are updated when the program is created or edited.
4-63
10. "PROGRAM" mode
Item Description
Indicates the serial number of the program. The number
No. of the program which is currently selected is highlighted
(reversed background).
Indicates the program name.
The " * " mark (reversed background) shows this
Name program is compiled and the object program exists.
The " s " mark (reverse background) shows an object
exists in the sequence program.
Line Shows the number of lines in the program.
Chapter
Valid keys and submenu descriptions in "PROGRAM >DIR" mode are shown below.
〈〈
( / )
F1 NEW Registers a new program name.
F5 INFO Shows the number of bytes used for the entire program.
F6 COPY Copies the program.
F7 ERASE Erases the program.
F8 RENAME Renames the program.
F10 ATTRBT Changes the program attribute.
F11 OBJECT Shows the object program information.
F15 EXAMPLE Automatically creates the program name "FUNCTION".
4-64
10. "PROGRAM" mode
[Procedure] 4
OPERATION
1) In "PROGRAM>DIR" mode, press (NEW) to enter "PROGRAM>DIR>NEW"
mode.
The message "Enter program name > " appears on the guideline.
A maximum of 8 characters can be used. (Press if you want to cancel the data
input.)
n NOTE
Program names can be up to 8 characters consisting of a combination of
alphanumeric characters (0 to 9, A to Z) and underscores ( _ ).
n NOTE
The following program names have special meanings.
"FUNCTION"
"SEQUENCE"
"_SELECT"
"COMMON"
(Refer to "Programming Manual" for these programs.)
4-65
10. "PROGRAM" mode
4 Source(use/sum)
Object(use/sum)
=
=
1316/364580 bytes
528/ 98304 bytes
Sequence(use/sum) = 0/ 4096 bytes
OPERATION
Number of program = 5
Number of points = 124
Item Description
Displays a count of used bytes and bytes available for
Source (use/sum) source program and point data.
Displays a count of used bytes and bytes available for
Object (use/sum) object program.
Displays a count of used bytes and bytes available for
Sequence (use/sum) sequence object program. (8 bytes are used for one
circuit of sequence program.)
Number of program Displays the number of programs.
Displays the number of points that have been set. (28
Number of points bytes are used for one point.)
4-66
10. "PROGRAM" mode
n NOTE
Program names can be up to 8 characters and consist of a combination of
alphanumeric characters (0 to 9, A to Z) and underscores ( _ ).
[Procedure]
1) In "PROGRAM>DIR" mode, use the cursor (↑/↓) keys to select the program to be Chapter
copied.
4
OPERATION
2) Press (COPY) to enter "PROGRAM>DIR>COPY" mode.
The message "Enter program name >" appears on the guideline along with an edit
cursor.
■ Copying a program
4-67
10. "PROGRAM" mode
c CAUTION
• Programs with an "RO (read only)" attribute cannot be erased. When
these programs must be erased, change the attribute.
• To change the program attribute, refer to "10.3.7 Changing the program
attribute".
Chapter
[Procedure]
4 1) In "PROGRAM>DIR" mode, use the cursor (↑/↓) keys to select the program to be
OPERATION
erased.
■ Erasing a program
After the program is erased, the lower program names move upward.
4-68
10. "PROGRAM" mode
[Procedure]
1) In "PROGRAM>DIR" mode, use the cursor (↑/↓) keys to select the program to be
renamed.
OPERATION
■ Renaming a program
n NOTE
Program names can be up to 8 characters and consist of a combination of
alphanumeric characters (0 to 9, A to Z) and underscores ( _ ).
4-69
10. "PROGRAM" mode
1. RW (read or write)
Program contents can be edited and erased.
This is automatically specified as a default when a program name is registered.
Chapter
4 2. RO (read only)
Program contents cannot be edited or erased.
OPERATION
[Procedure]
1) In "PROGRAM>DIR" mode, use the cursor (↑/↓) keys to select the program with the
attribute to be changed.
4-70
10. "PROGRAM" mode
[Procedure]
OPERATION
No. Name Line Byte RW/RO
1 TEST2 55 750 RO
2 COMMON 20 374 RO
3 SEQUENCE 40 320 RO
4-71
10. "PROGRAM" mode
n NOTE
Use caution when creating a sample program automatically, since
previously defined user function data will be rewritten.
Chapter
4
n NOTE
Refer to "10.2.6 User function key display" for details on user function keys.
Refer to "10.6 Registering user function keys" when registering user function
OPERATION
keys.
[Procedure]
"PROGRAM>DIR>EXAMPLE" mode.
A confirmation message appears on the guideline.
4-72
10. "PROGRAM" mode
OPERATION
*M_F5:'DO(24)ALTERNATE
DO(24)=~DO(24)
*M_F6:'DO(25)MOMENTARY
DO(25)=1
DO(25)=0
*M_F7:'DO(26)MOMENTARY
DO(26)=1
DO(26)=0
*M_F8:'DO(27)MOMENTARY
DO(27)=1
DO(27)=0
*M_F9:'DO2()ON
DO2()=255
*M_F10:'DO2()OFF
DO2()=0
*M_F11:'OPEN
DO3(0)=&B1
*M_F12:'CLOSE
DO3(0)=O
*M_F13:'AND
DO3(1)=1 & DO3(0)
*M_F14:'DI4 –> DO4
DO4()=DI4()
*M_F15:'DO5INC
DO5()=DO5()+1
'**********************************
*P_F1:'MOVE P,P
*P_F2:'MOVE L,P
*P_F3:'GOTO *
*P_F4:'DELAY
*P_F5:'WAIT
*P_F6:'GOSUB *
*P_F7:'RETURN
*P_F8:'PRINT
*P_F9:'SPEED
*P_F10:'HALT
*P_F11:'IF THEN
*P_F12:'ELSE
*P_F13:'ENDIF
*P_F14:'FOR = TO
*P_F15:'NEXT
4-73
10. "PROGRAM" mode
10.4 Compiling
To compile the program and create an executable object program, follow the procedure
below. The object program allows you to check input errors or bugs after program editing.
n NOTE
Even if the specified program is yet not compiled, it is compiled
automatically when you move to "AUTO" mode.
[Procedure]
Chapter
1) In "PROGRAM>DIR" mode, select the program to compile with cursor (↑/↓) keys and
4 press .
OPERATION
■ Compiling
If an error is found in the command statements, the program listing for that line
appears along with an error message, and the compiling stops. When the compiling
ends normally, an object program has been made. The previous object program was
deleted.
■ Compile error
4-74
10. "PROGRAM" mode
OPERATION
the user function keys.
The robot controller recognizes a program named "FUNCTION" as a special program for
registering the user function keys. Therefore, do not use this name for normal programs.
[Procedure]
2) Press (NEW).
3) When the message "Enter program name >" appears on the guideline, enter
At the same time, the program name "FUNCTION" appears on the system line as the
current program.
4-75
10. "PROGRAM" mode
Chapter
6) Enter a command statement for registering function keys in the following format.
The command statement format differs between the "PROGRAM" mode and
"MANUAL" mode.
*P_F<n>:’<character string>
Example)
4-76
10. "PROGRAM" mode
n NOTE
• In one "FUNCTION" program, functions for program edit and I/O functions
in "MANUAL" mode can be used together and defined.
• Besides the above method, user functions can also be defined by the
next method.
1) "FUNCTION" can be made automatically according to the user
function-defined sample program registered in the unit. (Refer to
"10.3.9 Creating a sample program automatically") Chapter
2) Rewrite the contents of the "FUNCTION" program in the
"PROGRAM>EDIT" mode to create desired user functions.
4
OPERATION
• When assignment was made to a function key that has already been
assigned, the new assignment will be valid.
*M_F<n>:’<character string>
<I/O statement 1>
<I/O statement 2>
n NOTE
<I/O statement 2> may be omitted. If omitted the <I/O statement 1>will be
executed when the key is pressed, but nothing will be executed when
released.
4-77
10. "PROGRAM" mode
Example)
Chapter
DO (20) =~DO (20) .. DO (20) is highlighted when is pressed.
4
OPERATION
In the above example, "ALTER" defines an "alternate" type function, and "MOMENT" a
"momentary" type function.
A <character string> of up to 65 characters can entered. However, up to 7 characters
following the colon ( : ) are displayed on the function key menu.
■ Registering user functions
4-78
10. "PROGRAM" mode
c CAUTION
This function resets an error, but does not restore the program data. A
problem is probably occurring in the program, so check and correct the
program in "PROGRAM>EDIT" mode.
Chapter
n NOTE
• This function is enabled for each program.
4
OPERATION
• This reset function does not work if an error "9.3 Memory destroyed"
occurs. In this case, initialize the memory.
[Procedure]
4-79
11. "MANUAL" mode
4 >Sequence
program
execution mark
s@ —————————————————————————————————————
Current position
*Mx= 0.00 *My= 0.00 *Mz= 0.00
OPERATION
*Mr= 0.00
2Current
position
q Mode hierarchy
Shows the current mode hierarchy. When the highest mode ("MANUAL" in this case)
is highlighted it means the servomotor power is on. When not highlighted it means
the servomotor power is off.
e Robot group
This shows the robot group currently selected for manual movement.
When one robot is specified, only "[MG]" (main group) appears.
r SHIFT/HAND/coordinate units
Shows the shift coordinate number, hand definition number and coordinate units.
t Message line
If an error occurs, the error message appears here. A dashed line ( - - - - ) means
return-to-origin is incomplete. A solid line ( —— ) means return-to-origin return is
complete.
4-80
11. "MANUAL" mode
i Current position
This shows the current position of the robot. When an "M" letter is followed by a
number it indicates the position in "pulse" units (integer display) and when an "x" to
"a" letter follows, it indicates "mm" units (decimal point display). When an asterisk (*)
appears at the left of the "M" letters, it indicates the origin sensor is on. An asterisk
also appears when no origin sensor is used.
o Guideline
The contents assigned to function keys are shown highlighted. A message on what to
do next also appears here in some operation steps. Chapter
4
Valid keys and submenu descriptions in "MANUAL" mode are shown below.
OPERATION
Valid keys Menu Function
Jog key Moves the robot manually.
F1 POINT Switches to the point data processing screen.
F2 PALLET Switches to the pallet data processing screen.
F3 ORIGIN Performs return-to-origin.
Increases manual movement speed for the selected
F4 VEL+ robot group in steps.(1→5→20→50→100%)
Decreases automatic movement speed for the selected
F5 VEL- robot group in steps.(100→50→20→5→1%)
F6 SHIFT Switches to the shift data processing screen.
F7 HAND Switches to the hand data processing screen.
4-81
11. "MANUAL" mode
w WARNING
THE ROBOT STARTS TO MOVE WHEN A JOG KEY IS PRESSED. TO AVOID
DANGER, DO NOT ENTER THE ROBOT MOVEMENT RANGE.
Chapter
n NOTE
• For details on the soft limits, refer to "12.1.2 Axis parameters" in this
4 chapter.
• When the current position is displayed in "pulse" units, the robot can be
OPERATION
moved manually along the axes whose servos are on, even if the servos
of the other axes are off.
• When the current position is displayed in "mm" units, the robot can be
moved manually only when the servos of all axes are on.
• The maximum jog movement time for one movement command is 300
seconds. So if the software limits are set too large and the movement
time exceeds 300 seconds at the specified speed, the robot movement
will stop in 300 seconds. To move the robot further, use jog movement
once again.
MANUAL 50%[MG][S0H0J]
————————————————————————————————————————
Current position
*M1= 12521 *M2= -52204
Each time a Jog key is pressed, the robot moves a specified distance (inching
distance) along the corresponding axis. When the Jog key is held down, the robot
keeps moving towards the soft limit of the axis. The robot stops when the Jog key is
released or the soft limit is reached.
The movement distance (inching distance) is equal to the manual movement speed
setting value.
[Example] When manual movement speed is 20%:
Inching distance in "pulse" units = 20 pulses
4-82
11. "MANUAL" mode
If robot movement beyond the +/- soft limits is attempted with the Jog keys, the error
message "2.1: Over soft limit" appears and the robot does not move.
MANUAL 50%[MG][S0H0X]
————————————————————————————————————————
Current position Chapter
*Mx= 151.05 *My= -35.27
4
OPERATION
POINT PALLET VEL+ VEL-
When a Jog key is pressed, the robot moves in the corresponding direction on the
Cartesian coordinates.
Each time a Jog key is pressed, the robot moves a specified distance (inching
movement). When the Jog key is held down, the robot keeps moving. The robot stops
when the Jog key is released or either of the soft limit or shift coordinate range is
reached.
The robot stops when the Jog key is released or the soft limit is reached.
The movement distance (inching distance) is equal to the manual movement speed
setting (%) multiplied by 0.01mm or 0.01 deg.
[Example] When manual movement speed is 20%:
Inching distance in "mm" units = 0.20mm
If robot movement beyond the +/- soft limits is attempted with the Jog keys, the error
message “2.1: Over soft limit” appears and the robot does not move. Likewise, if
robot movement beyond the shift coordinate range is attempted, the error message
“2.11: Exceeded shift coord. range” appears and the robot does not move.
If the current position is outside the soft limits, the error message “2.1: Over soft
limit” also appears and the robot does not move.
4-83
11. "MANUAL" mode
c CAUTION
• If return-to-origin is incomplete, the soft limits do not work correctly.
• If a PHASER series robot is operated while return-to-origin is still
incomplete, the necessary thrust cannot be obtained, causing an alarm
or abnormal movement.
Always first perform return-to-origin before starting robot operation.
n
Chapter
NOTE
4 If return-to-origin is incomplete, the current position always appears as
"pulse" units when the controller is turned on.
OPERATION
4-84
11. "MANUAL" mode
The axis data for three points is displayed on the screen along with a point comment on Chapter
the selected point number. To see the other data, scroll the screen with the cursor keys or
page keys.
4
OPERATION
Scrolls up or down one line at a time.
The 5-digit area on the left side shows the point numbers, with the point number for
editing shown highlighted.
■ Point data
4-85
11. "MANUAL" mode
Valid keys and submenu descriptions in "MANUAL>POINT" mode are shown below.
〈〈
( / )
F1 EDIT Enters point data with keys.
F2 TEACH Enters point data by teaching.
F15 AXIS→ Moves the cursor to the right to select another axis.
(Enabled only when auxiliary axis is added.)
ROBOT
Switches the robot group.
( + )
4-86
11. "MANUAL" mode
An edit cursor appears at the left end of the point line data that was selected.
OPERATION
P7 = 100.00 250.00 0.00 0.00
P8 =
P9 = 122562 -24654 0.00 0.00
COMNT : [ ]
[POS] 50.00 100.00 0.00 0.00
UNDO JUMP
Enter a space to separate between the data for x and y. The data input formats are as
follows.
n NOTE
• Enter point data for both X-axis and Y-axis. If omitted, "0" will be
automatically entered for that axis.
• The error message "Digit number error" appears when the data format is
wrong. Enter it in the correct format.
4-87
11. "MANUAL" mode
Valid keys and submenu descriptions in "MANUAL>POINT>EDIT" mode are shown below.
〈〈
( / )
OPERATION
[Procedure]
During point data editing, pressing (UNDO) reverses the last data input and
4-88
11. "MANUAL" mode
n NOTE
Point data teaching cannot be performed when return-to-origin is
incomplete. Perform point teaching after performing return-to-origin.
w WARNING
THE ROBOT STARTS TO MOVE WHEN A JOG KEY IS PRESSED. TO AVOID Chapter
DANGER, DO NOT ENTER THE ROBOT MOVEMENT RANGE.
4
OPERATION
[Procedure]
1) In "MANUAL> POINT" mode, use the cursor (↑/↓) keys to select the point number to
obtain point data.
Teaching is performed so that the current robot position data is allotted to the
currently selected point number.
After teaching, the pointer cursor moves down to the next line automatically.
The format for point data input by teaching is set to the currently selected coordinate
system.
4-89
11. "MANUAL" mode
Chapter
4 4) When point data is already allotted to the currently selected point number, a
MANUAL>POINT>TEACH 50%[MG][S0H0X]
————————————x———————y———————z———————r———
P7 = 100.00 250.00 0.00 0.00
P8 = 50.00 100.00 0.00 0.00
P9 = 122.62 -24.54 0.00 0.00
COMNT : [ ]
[POS] 50.00 100.00 0.00 0.00
Overwrite point OK? YES NO
Press (YES) to perform the teaching. The specified point number data is
rewritten.
4-90
11. "MANUAL" mode
w WARNING
WHEN YOU PERFORM DIRECT TEACHING, MAKE SURE THAT THE EMERGENCY
STOP BUTTON IS PRESSED SO THAT THE SERVO WILL NOT TURN ON.
n NOTE
Point data teaching cannot be performed if return-to-origin is incomplete.
Chapter
OPERATION
n NOTE
When the robot servo is off, automatic and manual operation cannot be
performed. There are two methods for turning on the robot servo: One is to
use the RPB and the other is to use the dedicated input.
Refer to "14. "UTILITY" mode" in this chapter, or refer to "1. Standard I/O
interface overview" in Chapter 5.
[Procedure]
1) Press the emergency stop button on the RPB.
2) Move the robot by hand to the target point and perform point teaching in
"MANUAL>POINT" mode.
For point data teaching methods, refer to the previous section "11.2.2 Point data input
by teaching". (In this procedure you move the robot by hand since the Jog keys cannot
be used.)
4-91
11. "MANUAL" mode
MANUAL>POINT 50%[MG][S0H0X]
Chapter ————————————x———————y———————z———————r———
4 P7
P8
= 100.00
= 50.00
250.00
100.00
0.00
0.00
0.00
0.00
OPERATION
A jump is made so that the point data is displayed from the designated point number.
n NOTE
Valid point numbers are from 0 to 9999.
MANUAL>POINT 50%[MG][S0H0X]
————————————x———————y———————z———————r———
P100 = 0.00 0.00 0.00 0.00
P101 =
P102 = 10000 20000 0.00 0.00
COMNT : [ ]
[POS] 50.00 100.00 0.00 0.00
EDIT TEACH JUMP VEL+ VEL-
4-92
11. "MANUAL" mode
n NOTE
If a hand system flag is set in the point data, the hand system flag will also
be copied.
[Procedure]
OPERATION
■ Copying point data (1)
2) Use to , and to enter the point number range for the copy
source and the point number for the copy destination in the following format and
press .
For example, to copy the data between P30 and P34 onto the lines after P50, enter
n NOTE
Valid point numbers are from 0 to 9999.
4-93
11. "MANUAL" mode
Chapter
The point data in the selected range is copied onto the data lines starting from the
specified copy destination number.
4-94
11. "MANUAL" mode
OPERATION
COMNT : [ ]
[POS] 50.00 100.00 0.00 0.00
Erase(####-####)>
2) Use to and to specify the point number range in the following format
and press .
For example, to erase the data between P30 and P34, enter "30-34" and press
n NOTE
Valid point numbers are from 0 to 9999.
3) Press (YES) to erase the data. The point data in the specified range is erased.
4-95
11. "MANUAL" mode
n NOTE
[Procedure]
mode.
The data display on the screen does not change (same as "MANUAL>POINT" mode).
The 5-digit area on the left shows point numbers, with the currently selected point number
highlighted.
n NOTE
• Point comments can be entered for point numbers having no data.
• A point comment can be up to 15 characters.
MANUAL>POINT 50%[MG][S0H0X]
————————————x———————y———————z———————r———
P7 = 100.00 250.00 0.00 0.00
P8 =
P9 = 122.62 -24.54 0.00 0.00
COMNT : [ ]
[POS] 50.00 100.00 0.00 0.00
EDIT TEACH JUMP VEL+ VEL-
4-96
11. "MANUAL" mode
Valid keys and submenu descriptions in "MANUAL > POINT" comment mode are shown
below.
〈〈
( / )
F1 EDIT Edits point comments.
F2 TEACH Enters point data by teaching.
Chapter
F3 JUMP Displays the specified (jumped) data.
Increases manual movement speed for the selected
4
F4 VEL+
OPERATION
robot group in steps. (1→5→20→50→100%)
Decreases manual movement speed for the selected
F5 VEL- robot group in steps. (100→50→20→5→1%)
F6 COPY Copies point comments.
F7 ERASE Deletes point comments.
4-97
11. "MANUAL" mode
n NOTE
• For point comments, it is advisable to enter a character string that is easy
to understand.
• A point comment can be up to 15 characters.
[Procedure]
1) In "MANUAL>POINT>COMMENT" mode, use the cursor (↑/↓) keys to select the point
Chapter
to edit or enter a comment.
4
OPERATION
MANUAL>POINT>COMMENT 50%[MG][S0H0X]
————————————x———————y———————z———————r———
P7 = 100.00 250.00 0.00 0.00
P8 =
P9 = 122.62 -24.54 0.00 0.00
COMNT : [ ]
[POS] 50.00 100.00 0.00 0.00
Comment>_
4) Press the enter key to finish the point comment input and display it.
4-98
11. "MANUAL" mode
n NOTE
Valid point numbers are from 0 to 9999.
[Procedure]
OPERATION
MANUAL>POINT>COMMENT 50%[MG][S0H0X]
————————————x———————y———————z———————r———
P7 = 100.00 250.00 0.00 0.00
P8 =
P9 = 122.62 -24.54 0.00 0.00
COMNT : [ ]
[POS] 50.00 100.00 0.00 0.00
Enter point no.>107_
A jump is made to the designated point and its comment is then displayed.
MANUAL>POINT>COMMENT 50%[MG][S0H0X]
————————————x———————y———————z———————r———
P107 = 340.05 250.03 0.00 0.00
P108 = 340.05 200.05 0.00 0.00
P109 = 122.62 -24.54 0.00 0.00
COMNT : WAIT_POS 08 [ ]
[POS] 50.00 100.00 0.00 0.00
EDIT TEACH JUMP VEL+ VEL-
n NOTE
Valid point numbers are from 0 to 9999.
[Procedure]
4-99
11. "MANUAL" mode
2) Use to , and to enter the point number range for the copy
source and the point number for the copy destination in the following format, and
press .
For example, to copy the point comments between P7 and P16 onto the lines after
MANUAL>POINT>COMMENT 50%[MG][S0H0X]
————————————x———————y———————z———————r———
P7 = 100.00 250.00 0.00 0.00
P8 =
P9 = 122.62 -24.54 0.00 0.00
COMNT : [ ]
[POS] 50.00 100.00 0.00 0.00
Copy(####-####,####)>7-16,107_
Press (YES) to make a copy. The comments in the selected range are copied
onto the data lines starting from the specified copy destination number.
MANUAL>POINT>COMMENT 50%[MG][S0H0X]
————————————x———————y———————z———————r———
P7 = 100.00 250.00 0.00 0.00
P8 =
P9 = 122.62 -24.54 0.00 0.00
COMNT : [ ]
[POS] 50.00 100.00 0.00 0.00
(7-16,107)Copy OK? YES NO
4-100
11. "MANUAL" mode
n NOTE
Valid point numbers are from 0 to 9999.
[Procedure]
4
2) Use to and to specify the point number range in the following format
OPERATION
and press .
"(erase start number) - (erase end number)"
For example, to erase the data between P7 and P16, enter "7-16" and press .
MANUAL>POINT>COMMENT 50%[MG][S0H0X]
————————————x———————y———————z———————r———
P7 = 100.00 250.00 0.00 0.00
P8 =
P9 = 122.62 -24.54 0.00 0.00
COMNT : [ ]
[POS] 50.00 100.00 0.00 0.00
Erase(####-####)>7-16_
Press (YES) to erase the point comments. The point comments in the specified
MANUAL>POINT>COMMENT 50%[MG][S0H0X]
————————————x———————y———————z———————r———
P7 = 100.00 250.00 0.00 0.00
P8 =
P9 = 122.62 -24.54 0.00 0.00
COMNT : [ ]
[POS] 50.00 100.00 0.00 0.00
(7-16)Erase OK? YES NO
4-101
11. "MANUAL" mode
n NOTE
A point comment can be up to 15 characters.
[Procedure]
Chapter
The message "Character string >" appears on the guideline.
4 2) Enter the character string you want to search for, and press .
OPERATION
MANUAL>POINT>COMMENT 50%[MG][S0H0X]
————————————x———————y———————z———————r———
P7 = 100.00 250.00 0.00 0.00
P8 =
P9 = 122.62 -24.54 0.00 0.00
COMNT : [ ]
[POS] 50.00 100.00 0.00 0.00
Character string >WAIT_
3) Search starts from the cursor position towards the end of the program and stops at the
first matching character string.
MANUAL>POINT>COMMENT 50%[MG][S0H0X]
————————————x———————y———————z———————r———
P334 = 100.00 250.00 0.00 0.00
P335 =
P336 = 122.62 -24.54 0.00 0.00
COMNT : WAIT_PICKUP [ ]
[POS] 50.00 100.00 0.00 0.00
EDIT TEACH JUMP VEL+ VEL-
Pressing (FIND+) restarts the search from the current cursor position towards
the end of the program and stops at the first matching character string.
Pressing (FIND-) restarts the search from the current cursor position towards
the top of the program and stops at the first matching character string.
4-102
11. "MANUAL" mode
c CAUTION
This function resets an error, but does not restore the point data. A problem is
probably occurring in the point data, so check and correct the point data in
"MANUAL>POINT>EDIT" mode.
Chapter
n NOTE
This reset function does not work if an error "9.3 Memory destroyed" occurs.
4
OPERATION
In this case, initialize the memory.
[Procedure]
4-103
11. "MANUAL" mode
This mode allows you to display, edit and set pallet definitions.
A total of 20 pallets (definition numbers 0 to 19) can be defined to assign a point data
area to each pallet. Each pallet is generated (outlined) by using 5 points (P[1] to P[5] as
shown below). The maximum number of points that can be defined in one pallet is 32767
Chapter (=NX*NY*NZ).
4
n NOTE
• A total of 20 pallets can be defined.
OPERATION
n NOTE
When two robots (main and sub robots) are specified, pallet definitions can
be shared between them.
P[1] P[2]
NX
Pallet number Point number used Pallet number Point number used
PL0 P3996 to P4000 PL10 P3946 to P3950
PL1 P3991 to P3995 PL11 P3941 to P3945
PL2 P3986 to P3990 PL12 P3936 to P3940
PL3 P3981 to P3985 PL13 P3931 to P3935
PL4 P3976 to P3980 PL14 P3926 to P3930
PL5 P3971 to P3975 PL15 P3921 to P3925
PL6 P3966 to P3970 PL16 P3916 to P3920
PL7 P3961 to P3965 PL17 P3911 to P3915
PL8 P3956 to P3960 PL18 P3906 to P3910
PL9 P3951 to P3955 PL19 P3901 to P3905
4-104
11. "MANUAL" mode
PL0 =SET
PL1 =
PL2 =SET
PL3 =
[POS] 400.00 0.00 0.00 0.00
EDIT METHOD VEL+ VEL-
Chapter
Pallet definition numbers marked "SET" mean that they have already been defined.
4
OPERATION
Valid keys and submenu descriptions in "MANUAL>PALLET" mode are shown below.
〈〈
( / )
F1 EDIT Edits pallet definitions.
F2 METHOD Sets the pallet definition point by teaching.
Increases manual movement speed for the selected
F4 VEL+ robot group in steps. (1→5→20→50→100%)
Decreases manual movement speed for the selected
F5 VEL- robot group in steps. (100→50→20→5→1%)
F6 COPY Copies pallet definitions.
F7 ERASE Deletes pallet definitions.
Increases manual movement speed for the selected
F9 VEL++ robot group in 1% increments.
Decreases manual movement speed for the selected
F10 VEL-- robot group in 1% decrements.
F15 PASSWD Does not function.
ROBOT
Switches the robot group.
( + )
4-105
11. "MANUAL" mode
n NOTE
The maximum number of points per pallet is 32767 (=NX*NY*NZ).
[Procedure]
1) In "MANUAL>PALLET" mode, select the pallet number with the cursor (↑/↓) keys.
Chapter
2) Press (EDIT) to enter "MANUAL>PALLET>EDIT" mode.
4
OPERATION
3) Use the cursor (↑/↓) keys to move the cursor to the position you want edit.
The maximum number of points per pallet must be within 32767 (=NX*NY*NZ).
MANUAL>PALLET>EDIT 50%[MG][S0H0X]
4-106
11. "MANUAL" mode
n NOTE
• Each pallet is generated with 5 points for pallet definition.
• These 5 points should be defined in order from P[1] to P[5]. See "11.3
Displaying, editing and setting pallet definitions".
OPERATION
POINT=P3996(P[1])-P4000(P[5])
P[1] = 98.87 -24.54 0.00 0.00
P[2] = 122.62 -24.54 0.00 0.00
P[3] = 98.62 -94.54 0.00 0.00
[POS] 50.00 100.00 0.00 0.00
EDIT TEACH VEL+ VEL-
The 3rd line shows the point numbers and point data in the pallet definition.
Valid keys and submenu descriptions in this mode are shown below.
4-107
11. "MANUAL" mode
n NOTE
• Each pallet is generated (outlined) with 5 points, so always specify these
5 points for pallet definition.
• Point data in the pallet definition must be entered in "mm" units.
• The 5 points should be defined in order from P[1] to P[5]. See "11.3
Displaying, editing and setting pallet definitions".
Chapter [Procedure]
4 1) Press (EDIT) in "MANUAL>PALLET>EDIT>POINT" mode.
OPERATION
MANUAL>PALLET>EDIT 50%[MG][S0H0X]
————————————x———————y———————z———————r———
POINT=P3996(P[1])-P4000(P[5])
P[1] = _98.87 -24.54 0.00 0.00
P[2] = 122.62 -24.54 0.00 0.00
P[3] = 98.62 -94.54 0.00 0.00
[POS] 50.00 100.00 0.00 0.00
UNDO
2) Use the cursor (←/→/↑/↓) keys to move the cursor to the position you want edit.
4) Press or cursor up/down (↑/↓) keys to finish the point data input.
Valid keys and submenu descriptions in this mode are shown below.
4-108
11. "MANUAL" mode
n NOTE
Pallets cannot be defined by teaching if return-to-origin is incomplete.
Perform teaching after performing return-to-origin.
[Procedure]
1) Select the pallet number in "MANUAL>PALLET" mode with the cursor (↑/↓) keys.
Chapter
OPERATION
3) Select the dimension of the pallet to be defined from "2-D" (plane) or "3-D" (solid).
MANUAL>PALLET>METHOD 50%[MG][S0H0X]
2-D 3-D
4) Move the robot work point to P[1] used in the pallet definition, and perform teaching
by pressing .
w WARNING
TO AVOID HAZARDOUS SITUATIONS DO NOT ENTER THE ROBOT MOVEMENT
RANGE WHEN MANIPULATING THE ROBOT.
n NOTE
• Each pallet is generated (outlined) with 5 points for pallet definition.
• Point data in the pallet definition must be entered in "mm" units.
• The 5 points should be defined in order from P[1] to P[5]. See "11.3
Displaying, editing and setting pallet definitions".
4-109
11. "MANUAL" mode
Chapter
4 5) Perform teaching at P[2], P[3], P[4] and P[5] (only when "3-D" is selected) as in step 4).
OPERATION
6) Enter the number of points NX between P[1] and P[2] on the pallet with a positive
integer.
MANUAL>PALLET>METHOD 50%[MG][S0H0X]
7) Enter the number of points NY and NZ (only when "3-D" is selected) as in step 6).
4-110
11. "MANUAL" mode
n NOTE
• Each pallet is generated with 5 points for pallet definition.
• The 5 points should be defined in order from P[1] to P[5]. See "11.3
Displaying, editing and setting pallet definitions".
OPERATION
Decreases manual movement speed for the selected
F5 VEL- robot group in steps. (100→50→20→5→1%)
4-111
11. "MANUAL" mode
n NOTE
• Valid pallet numbers are from 0 to 19.
• Pallet definition cannot be copied if the currently selected pallet is
undefined.
[Procedure]
Chapter 1) Select the pallet number in "MANUAL>PALLET" with the cursor (↑/↓) keys.
4
OPERATION
2) Press (COPY) and then enter the pallet number where you want to copy the
PL0 =SET
PL1 =SET
PL2 =SET
PL3 =
[POS] 50.00 100.00 0.00 0.00
Copy(PL NO.)>3_
MANUAL>PALLET 50%[MG][S0H0X]
PL0 =SET
PL1 =SET
PL2 =SET
PL3 =
[POS] 50.00 100.00 0.00 0.00
PL1 -> PL3 Copy OK? YES NO
4-112
11. "MANUAL" mode
n NOTE
Pallet definition cannot be deleted if the currently selected pallet is
undefined.
[Procedure]
1) Select the pallet number in "MANUAL>PALLET" mode with the cursor (↑/↓) keys.
Chapter
2) Press (ERASE). 4
OPERATION
A confirmation message then appears asking if the currently selected pallet definition
is to be deleted.
MANUAL>PALLET 50%[MG][S0H0X]
PL0 =SET
PL1 =SET
PL2 =SET
PL3 =SET
[POS] 50.00 100.00 0.00 0.00
Erase OK? YES NO
4-113
11. "MANUAL" mode
[Procedure]
gradually.
Each time this key is pressed, the speed changes in units of 1%.
Holding down the key changes the speed continuously.
4-114
11. "MANUAL" mode
This mode allows you to display, edit and set shift coordinates.
Shift coordinates cannot be used with MULTI type robots.
n NOTE
Shift coordinates cannot be used with MULTI type robots since the SHIFT/
HAND selection display on the 1st line on the RPB screen appears blank.
Chapter
By setting shift coordinates, the point data on the Cartesian coordinates ("mm" units) can 4
be shifted to any desired position within the robot work area. The work area can also be
OPERATION
restricted in each direction.
Up to 10 shift coordinates (shift coordinate numbers 0 to 9) can be set to shift the standard
coordinates in the X and Y (XY plane rotation) directions. Each shift coordinate can specify
the robot operating area.
n NOTE
• When two robots are specified, the shift data can be shared between
them. Shift coordinate numbers can be set for each robot separately.
• A maximum of 10 shift coordinates can be set per robot.
X
dY dR
dX
X’
Y Y’
4-115
11. "MANUAL" mode
When "MANUAL>SHIFT" mode is entered, a screen like that shown below appears.
4 [POS]
EDIT
600.00
RANGE
0.00 0.00
VEL+
0.00
VEL-
OPERATION
Valid keys and submenu descriptions in "MANUAL>SHIFT" mode are shown below.
〈〈
( / )
F1 EDIT Edits the shift coordinates.
F2 RANGE Sets the shift coordinates range.
Increases manual movement speed for the selected
F4 VEL+ robot group in steps. (1→5→20→50→100%)
Decreases manual movement speed for the selected
F5 VEL- robot group in steps. (100→50→20→5→1%)
F6 METHOD1 Makes setting 1 for shift coordinates.
F7 METHOD2 Makes setting 2 for shift coordinates.
Increases manual movement speed for the selected
F9 VEL++ robot group in 1% increments.
Decreases manual movement speed for the selected
F10 VEL-- robot group in 1% decrements.
ROBOT
Switches the robot group.
( + )
4-116
11. "MANUAL" mode
Chapter
3) Use the cursor (←/→) key to move the cursor to the position you want to change. 4
OPERATION
4) Use to , , , and to enter the shift coordinate data.
Enter a space to separate between the data for x and y. The data input formats are as
follows.
• To enter the data in Cartesian coordinates ("mm" units)
Enter a number consisting of an integer portion of up to 5 digits and having 2 or
less places below the decimal point.
±###.##, ±####.#, ±#####.
n NOTE
Enter point data for both X-axis and Y-axis. If omitted, "0" will be
automatically entered for that axis.
4-117
11. "MANUAL" mode
n NOTE
The shift coordinate data on which the cursor was positioned when returning
to "MANUAL>SHIFT" mode is used as the shift coordinates for the currently
selected robot group.
Chapter Valid keys and submenu descriptions in "MANUAL>SHIFT>EDIT" mode are shown below.
F1 UNDO data.
[Procedure]
1) During shift coordinate data editing, pressing (UNDO) reverses the last data
4-118
11. "MANUAL" mode
OPERATION
dMX (mm) dMY (mm) dMZ (mm) dMR (degrees) (n=0 to 9)
n NOTE
• "n" is a shift coordinate number.
[Example]
SP1........ Plus side work area of shift coordinate S1
SM 2...... Minus side work area of shift coordinate S2
• When the plus and minus sides on an axis (x, y, z, r) are both at 0.00, the
work area on that axis is not be restricted.
X
dM
X
X
dP
Y
dM
Y
dP
X’
Y Y’
[Procedure]
1) In "MANUAL>SHIFT" mode, use the cursor (↑/↓) keys to select the shift coordinate
number you want to edit.
4-119
11. "MANUAL" mode
4 [POS]
UNDO
150.00 0.00 0.00 0.00
OPERATION
3) Use the cursor (←/→) keys to move the cursor to the position you want to change.
Enter a space to separate between the data for x and y. The data input formats are as
follows.
• To enter the data in Cartesian coordinates ("mm" units)
Enter a number consisting of an integer portion of up to 5 digits and having 2 or
less places below the decimal point.
±###.##, ±####.#, ±#####.
n NOTE
Enter point data for both X-axis and Y-axis. If omitted, "0" will be
automatically entered for that axis.
4-120
11. "MANUAL" mode
6) To continue editing the shift coordinate range on the minus side, repeat steps 3) to 5).
n NOTE
The shift coordinate number selected when returning to "MANUAL>SHIFT"
mode is used as the shift coordinates for the currently selected robot group.
Chapter
Valid keys and submenu descriptions for editing shift coordinates range are shown below. 4
OPERATION
Valid keys Menu Function
Reverses the last data input and restores the preceding
F1 UNDO data.
[Procedure]
1) During editing of shift coordinate range data, pressing (UNDO) reverses the
4-121
11. "MANUAL" mode
Chapter
X
4
OPERATION
Point 1
(1st P)
Point 2
(2nd P)
X’
Y Y’
[Procedure]
1) In "MANUAL>SHIFT" mode, select the shift coordinate number with the cursor (↑/↓)
key.
3) Use the Jog keys to move the robot arm tip to teach point 1. (Position it accurately.)
w WARNING
THE ROBOT STARTS TO MOVE WHEN A JOG KEY IS PRESSED. TO AVOID
DANGER, DO NOT ENTER THE ROBOT MOVEMENT RANGE.
4-122
11. "MANUAL" mode
n NOTE
Perform teaching carefully to obtain accurate teach points. Precise shift
coordinates cannot be set if the teach point is inaccurate.
OPERATION
1st P= 214.45 -15.01 0.00
2nd P=
5) Determine teach point 2 with the same procedure as for teach point 1.
6) Select the plus/minus direction of teach point 1 towards point 2 by using (+X),
+X -X +Y -Y
7) When the coordinate direction is selected, the shift coordinate values (dX, dY, dZ, dR)
are automatically calculated and stored.
The screen then returns to "MANUAL>SHIFT" mode.
4-123
11. "MANUAL" mode
4-124
11. "MANUAL" mode
X
Chapter
P1 4
OPERATION
P2
X’
Y
Y’
[Procedure]
1) In "MANUAL>SHIFT" mode, select the shift coordinate number with the cursor (↑/↓)
key.
3) Use the Jog keys to move the robot arm tip to teach point 1. (Position it accurately.)
w WARNING
THE ROBOT STARTS TO MOVE WHEN A JOG KEY IS PRESSED. TO AVOID
DANGER, DO NOT ENTER THE ROBOT MOVEMENT RANGE.
4-125
11. "MANUAL" mode
n NOTE
Perform teaching carefully to obtain accurate teach points. Precise shift
coordinates cannot be set if the teach point is inaccurate.
press .
n NOTE
Enter all point data (x, y, z) (x, y). If omitted, "0" will be automatically entered
for that axis.
c CAUTION
If teach points and input points are not accurately determined, calculation
results will be inaccurate, so always determine these points correctly.
4-126
11. "MANUAL" mode
6) Determine teach point 2 with the same procedure as for teach point 1.
n NOTE
The Z-direction shift value is automatically obtained when teach point 1 is
determined, so the Z-axis data at teach point 2 is ignored.
7) When the teach point 2 has been entered, the shift coordinates (dX, dY, dZ and dR)
are automatically calculated and stored.
The screen then returns to "MANUAL>SHIFT" mode.
Chapter
OPERATION
Valid keys Menu Function
Increases manual movement speed for the selected
F4 VEL+ robot group in steps. (1→5→20→50→100%)
Decreases manual movement speed for the selected
F5 VEL- robot group in steps. (100→50→20→5→1%)
4-127
11. "MANUAL" mode
allows you to display, edit and set hand definitions. However, the standard coordinates
must be set when a SCARA robot is used. Refer to "11.9 Setting the standard coordinates"
for details.
Hand definitions cannot be used with MULTI type robots.
Chapter n NOTE
When two robots are specified, hand definitions data cannot be shared
4 between them. The main robot uses H0 - H3, and the sub robot H4 - H7 for
hand definition data.
OPERATION
n NOTE
Hand definition data cannot be used with MULTI type robots since the SHIFT/
HAND selection display on the 1st line on the RPB screen appears blank.
Four kinds of hand definitions can be set to change the robot working points with standard
coordinate settings to the working points of the hand installed to the 2nd arm (Y-axis) or
the R-axis.
This function allows movement using different hands towards point data in the same
Cartesian coordinate format.
• Data format for hand definition
Hn= ±aaaaaa ±bbbbbb ±cccccc [R]
(main robot : n = 0 to 3 / sub robot : n = 4 to 7)
1st parameter ............... ±aaaaaa
Enter a number consisting of an integer portion of up to 5
digits and having 2 or less places below the decimal point,
or an integer of up to 7 digits (depending on the robot type
setting and hand definition type).
2nd to 3rd parameters ... ±bbbbbb, ±cccccc
Enter a number consisting of an integer portion of up to 5
digits and having 2 or less places below the decimal point.
4th parameter ............... R
Enter one character (depending on the hand definition
type).
When all values for a hand definition are "0", this means the hand definition is not set.
4-128
11. "MANUAL" mode
When "MANUAL>HAND" mode is entered, a screen like that shown below appears.
OPERATION
Valid keys and submenu descriptions in "MANUAL>HAND" mode are shown below.
4-129
11. "MANUAL" mode
Movement of each robot type and the parameter contents are shown below.
Setting units for each parameter are shown in parentheses.
Cartesian robots
1) Hand attached to 2nd arm
a. Robot movement
• Hand "n" moves to a specified point.
b. Parameter descriptions
Chapter <1st parameter>: Specify the X-axis offset amount of hand "n" with a real number.
(unit: mm)
4 <2nd parameter>: Specify the Y-axis offset amount of hand "n" with a real numbers.
OPERATION
(unit: mm)
<3rd parameter>: Specify the Z-axis offset amount of hand "n" with a real number.
(unit: mm)
<4th parameter>: No setting for "R".
HAND 1
−100.00mm
HAND 0
−100.00mm
Y
■ Hands attached to 2nd arm (Cartesian type) (2)
4-130
11. "MANUAL" mode
2) Use the cursor (↑/↓) keys to select the hand definition you want to edit.
An edit cursor appears at the left end of the selected hand definition line.
OPERATION
————————————1———————2———————3———————4———
H0 = 0 0.00 0.00
H1 =_ 0.00 100.00 0.00 R
H2 = 90.00 100.00 100.00 R
H3 = 8000 100.00 100.00
[POS] 600.00 0.00 0.00 0.00
UNDO
3) Use the cursor (←/→) key to move the cursor to the position you want to edit.
settings.
4-131
11. "MANUAL" mode
n NOTE
The hand definition data with which the cursor was positioned when
returning to "MANUAL>HAND" mode is used as the current hand definition.
Valid keys and submenu descriptions in "MANUAL>HAND>EDIT" mode are shown below.
Chapter
Valid keys Menu Function
4 F1 UNDO Reverses the last data input and restores the preceding
data.
OPERATION
[Procedure]
1) During hand definition editing, pressing (UNDO) reverses the last data input
4-132
11. "MANUAL" mode
n NOTE
Hand definition data is set by teaching the identical points that are used for
hand working points and non-hand working points.
[Procedure] Chapter
1) In "MANUAL>HAND" mode, use the cursor (↑/↓) key to select the hand definition
number.
4
OPERATION
2) Press (METHOD1) to enter "MANUAL>HAND> METHOD1" mode.
3) Use the Jog keys to move the robot working point to point 1. (Position it accurately.)
w WARNING
THE ROBOT STARTS TO MOVE WHEN A JOG KEY IS PRESSED. TO AVOID
DANGER, DO NOT ENTER THE ROBOT MOVEMENT RANGE.
4-133
11. "MANUAL" mode
5) Use the Jog keys to move the robot working point to point 2. (Position it accurately.)
The hand definition setting ends and the screen returns to "MANUAL> HAND" mode.
4-134
11. "MANUAL" mode
[Procedure]
This switches the units used to indicate the current position in "MANUAL" mode.
Chapter
2) Each time the key is pressed, the units displayed on the upper right of the RPB screen
4
OPERATION
are switched to "X" or "J" or "T". However, "T" (Tool coordinate mode) can be selected
only when hand data for the R-axis is selected (hand definition is made).
Robot manual movement with Jog keys differs depending on the currently selected display
units. For more details, refer to "11.1 Manual movement" in this chapter.
4-135
11. "MANUAL" mode
11.8 Return-to-origin
After the power to the controller is turned on, return-to-origin must be performed before
starting robot operation. When return-to-origin is performed, the robot arms move to their
mechanical origin positions and the position data in the controller is reset.
Return-to-origin must be performed on incremental mode axes. On semi-absolute mode
axes, an absolute search (also called absolute reset) is performed by return-to-origin
operation (see 11.8.2).
Chapter The following parameters are for return-to-origin operation. For more details on each
4 parameter, refer to items described in "12.1 Parameters" of chapter 4.
OPERATION
Return-to-origin direction
@
. : Return-to-origin start position
Origin sensor
q Before performing return-to-origin, check that all axes are in positions that allow
return-to-origin.
4-136
11. "MANUAL" mode
n NOTE Chapter
In the sensor method, if return-to-origin is started with the origin sensor turned 4
on and continues without the origin sensor being turned off, then an error
OPERATION
"17.21: Bad origin sensor" will occur.
@
:
Return-to-origin direction
. Return-to-origin start position
Stroke end
q In the stroke end detection method, return-to-origin can start from any position.
w Upon starting return-to-origin, the robot starts moving in the return-to-origin
direction.
e When the robot arm lightly strikes and detects the stroke end (mechanical stop), it
moves back slightly and stops, and the origin position has now been found. At this
point, the position where the robot stopped is set as an origin shift parameter value.
c CAUTION
During stroke end detection, if the robot arm movement is obstructed or a
load is applied to the robot arm during return-to-origin, the stroke end might
not be detected accurately so return-to-origin ends at an incorrect position.
If return-to-origin is interrupted while the robot arm is still contacting the
stroke end, then an error "17.4:D?, Overload" might occur.
4-137
11. "MANUAL" mode
11.8.2 Semi-absolute
"Semi-absolute" is the name for a simple absolute scale used in the YAMAHA linear
single-axis robot PHASER series. Robots with this simple absolute scale have a quick
absolute search function that utilizes our unique method to automatically perform an
absolute search on the position detection scale when return-to-origin starts. This function
allows detecting the absolute position with just a minimal movement.
Using this scale drastically reduces the time needed for return-to-origin operation by
PHASER series robots, especially those with long-stroke movements.
Chapter ■ Absolute search
4 Absolute search (also called "absolute reset") includes the sensor method and stroke end
detection method. Absolute search movement differs depending on the robot position from
OPERATION
which absolute search starts. (In the sensor method, absolute search movement depends
on whether the origin sensor turns on during absolute search. In the stroke end detection
method, absolute search movement depends on whether or not the stroke end is detected
during absolute search.)
After the absolute search is complete, the origin position is set to zero position on the
simple absolute scale.
n NOTE
Zero position can be shifted by using the "Origin shift" parameter of the axis
parameters.
● Sensor method: When the origin sensor does not turn on during absolute search
● Stroke end detection method: When the stroke end is not detected during absolute search
■ Absolute search (1)
Max. 76mm
:
Return-to-origin direction
@
4-138
11. "MANUAL" mode
● Sensor method: When the origin sensor turns on during absolute search
● Stroke end detection method: When the stroke end is detected during absolute search
■ Absolute search (2)
Origin sensor turns on or stroke end is detected.
A B
Max. 76mm
:
@
Return-to-origin direction
. Chapter
OPERATION
Stop position
Absolute search start position
n NOTE
If the origin sensor was on when the robot was at the absolute search start
position, the robot moves in a direction opposite the return-to-origin
direction to perform an absolute search. (Operation starts from w shown on
the right.)
w In the sensor method, when the origin sensor turns on (position A), the robot moves
back toward position B. In the stroke end detection method, when stroke end is
detected (position A), the robot moves back toward position B. At this point, the
maximum distance that the robot moves from position A to position B is 76mm.
e The robot again moves in the return-to-origin direction, determines the current
position, and then stops. The stop position will be between position A and position B.
c CAUTION
During stroke end detection, if absolute search operation is interrupted while
the robot arm is still contacting the stroke end, then an error "17.4:D?, Overload"
might occur.
4-139
11. "MANUAL" mode
[Procedure]
4-140
11. "MANUAL" mode
c CAUTION
Before performing return-to-origin, check that the target axis is in a position
that allows return-to-origin operation. Chapter
4
1) In "MANUAL>ORIGIN" mode, press (M1) or (M2) to select the axis to
OPERATION
perform return-to-origin.
A confirmation message appears on the guide line in the programming box screen.
MANUAL>ORIGIN>M1
>M1 50%[MG][S0H0J]
w WARNING
THE ROBOT STARTS MOVING AS SOON AS RETURN-TO-ORIGIN IS PERFORMED.
TO AVOID HAZARDOUS SITUATIONS, DO NOT ENTER THE ROBOT MOVEMENT
RANGE.
MANUAL>ORIGIN 50%[MG][S0H0J]
M1 M2 M3 M4 M5
4-141
11. "MANUAL" mode
n NOTE
• Refer to "11.8.1 Return-to-origin operation" in Chapter 4 for details on
return-to-origin operation, and refer to "11.8.2 Semi-absolute" for details
on absolute search operation.
• The machine reference is expressed as a percentage of the number of
encoder pulses showing the difference between the origin sensor signal
and position detector reference signal (encoder zero signal, etc.). This is
also called the "grid position" or "grid pulse".
Chapter
3) When return-to-origin on all axes is complete, the dashed line (- - - -) on the message
4 line changes to a solid line ( ––––– ) indicating that return-to-origin is now complete.
Then, pressing an axis movement key displays the current position on each axis.
OPERATION
n NOTE
Once return-to-origin is completed, the origin position is retained until the
controller power is turned off or system parameters are changed. So it is not
necessary to re-perform return-to-origin even after using emergency stop.
In this case, the message "0.14: Stop executed" appears on the message line.
4-142
11. "MANUAL" mode
The robot must be at servo-on to perform return-to-origin on incremental mode axes using
the stroke end detection method or sensor method for return-to-origin. Likewise, the robot
must be at servo-on to perform an absolute search on semi-absolute mode axes.
[Procedure]
c CAUTION
Before performing return-to-origin, check that all axes are in positions that
Chapter
allow return-to-origin operation.
4
OPERATION
1) In "MANUAL>ORIGIN" mode, press (ALL) to perform return-to-origin on all axes.
A confirmation message appears on the guide line in the programming box screen.
MANUAL>ORIGIN>ALL 50%[MG][S0H0J]
w WARNING
THE ROBOT STARTS MOVING AS SOON AS RETURN-TO-ORIGIN IS PERFORMED.
TO AVOID HAZARDOUS SITUATIONS, DO NOT ENTER THE ROBOT MOVEMENT
RANGE.
MANUAL>ORIGIN 50%[MG][S0H0J]
M1 M2 M3 M4 M5
4-143
11. "MANUAL" mode
n NOTE
• Refer to "11.8.1 Return-to-origin operation" in Chapter 4 for details on
return-to-origin operation, and refer to "11.8.2 Semi-absolute" for details
on absolute search operation.
• The machine reference is expressed as a percentage of the number of
encoder pulses showing the difference between the origin sensor signal
and position detector reference signal (encoder zero signal, etc.). This is
also called the "grid position" or "grid pulse".
Chapter
3) When return-to-origin on all axes is complete, the dashed line (- - - -) on the message
4 line changes to a solid line ( ––––– ) indicating that return-to-origin is now complete.
Then, pressing an axis movement key displays the current position on each axis.
OPERATION
n NOTE
Once return-to-origin is completed, the origin position is retained until the
controller power is turned off or system parameters are changed. So it is not
necessary to re-perform return-to-origin even after using emergency stop.
In this case, the message "0.14: Stop executed" appears on the message line.
4-144
11. "MANUAL" mode
n NOTE
On Cartesian type robots, there is no need to set the standard coordinates.
Chapter
• Moving robot arm tip at right angles.
• Using pallet definition, SHIFT coordinates and HAND definition.
4
OPERATION
• Using commands requiring coordinate conversion (such as linear/circular
interpolation and pallet movement commands).
Special parameter setting is required to use this function. Consult us for assistance.
4-145
11. "MANUAL" mode
n NOTE
• When using the user function keys, it is necessary to make a program
named "FUNCTION" and then write command statements for storing
functions.
Chapter
• When registering the function keys, refer to "10.3.9 Creating a sample
4 program automatically" and "10.6 Registering user function keys" earlier in
this chapter.
OPERATION
[Procedure]
1) Press in "MANUAL" mode and the menus (character strings shown highlighted)
2) Press the desired function key and the preassigned task will be executed just as if
using online commands.
w WARNING
• THE ROBOT STARTS TO MOVE WHEN SOME COMMANDS ARE EXECUTED. TO
AVOID DANGER, DO NOT ENTER THE ROBOT MOVEMENT RANGE.
• ROBOT MOVEMENT COMMANDS ARE EXECUTED AT "AUTO" MODE SPEED
RATHER THAN "MANUAL" MODE SPEED.
MANUAL>POINT 50%[MG][S0H0X]
————————————x———————y———————z———————r———
P7 = 100.00 250.00 0.00 0.00
P8 =
P9 = 122.62 -24.54 0.00 0.00
COMNT : [ ]
[POS] 50.00 100.00 0.00 0.00
1 DO(20)A DO(21)A DO(22)A DO(23)A DO(24)A
4-146
12. "SYSTEM" mode
OPERATION
Standard = SRAM/364kB
2Other Opt-i/f = DIO_N(1/2)
expanded
configurations
PARAM CMU OPTION INIT DIAGNOS
8Guideline
q Mode hierarchy
Shows the current mode hierarchy. When the highest mode (in this case "SYSTEM") is
highlighted it means the servomotor power is on. When not highlighted it means the
servomotor power is off.
w Version display
Shows the version number of software currently installed in the robot controller.
e Message line
If an error occurs, the error message appears here.
y Axis configuration
Shows the axis configuration of the robot connected to the controller.
When two robots (main robot and sub robot) are specified, their axis configurations
appear separated by a slash "/".
4-147
12. "SYSTEM" mode
Display Meaning
An optional DIO with NPN specifications is installed. The number in
DIO_N(m/n..) parentheses is an ID number.
An optional DIO with PNP specifications is installed. The number in
DIO_P(i/j..) parentheses is an ID number.
A CC-Link unit is installed. The number in parentheses indicates a
CCLNK(n/m)
Chapter station number "n" and a communication speed "m".
c CAUTION
• See "7. I/O connections" in Chapter 3 for a definition of NPN and PNP
specifications.
• For detailed information about serial I/O units such as CC-Link units,
Ethernet, and YC-Link, refer to descriptions in their user's manual.
c CAUTION
For details on service mode setting, refer to '12.3.2 Setting the "SERVICE"
mode'.
o Guideline
The contents assigned to function keys are shown highlighted. A message on what to
do next also appears here in some operation steps.
Valid keys and submenu descriptions in "SYSTEM" mode are shown below.
Valid keys Menu Function
Sets parameters for the controller and for robot
F1 PARAM operation.
F2 CMU Sets communication parameters.
F3 OPTION Sets parameters for expansion function.
F4 INIT Initializes data.
F5 DIAGNOS Performs diagnostics and calls up error history, etc.
F9 BACKUP Saves and restores data on internal flash ROM.
4-148
12. "SYSTEM" mode
12.1 Parameters
This section explains various parameters relating to the controller setting and robot
operation.
There are 4 types of parameters: robot parameters and axis parameters for robot operation,
controller setting parameters and option board parameters.
[Procedure]
4
2) Press (ROBOT), (AXIS), (OTHERS) or (OP. BRD) to
OPERATION
select the parameter type.
Items for the selected parameter type are displayed.
■ "SYSTEM>PARAM" mode
SYSTEM>PARAM V9.00
Robot = TXYx-A
M1= Tx-T6-12 M5= no axis
M2= Ty-T6-12 M6= no axis
M3= no axis
M4= no axis
ROBOT AXIS OTHERS OP.BRD
Or press (JUMP) and enter a parameter number to jump to that parameter item.
■ Robot parameters
1.Tip weight[kg]
2.Origin sequence
3.R axis orientation
4.Armtype at PGM reset
EDIT JUMP
4) Press (EDIT).
4-149
12. "SYSTEM" mode
Chapter
6) Press to quit the parameter editing.
4 Valid keys and submenu descriptions in "SYSTEM>PARAM" mode are shown below.
OPERATION
4-150
12. "SYSTEM" mode
n NOTE Chapter
A description and method for setting robot parameters No. 1 through No. 3 4
are listed in this manual.
OPERATION
Changing of robot parameters from No. 4 onward is basically prohibited.
Please consult with us beforehand if these (parameter No. 4 onward) must
be changed.
n NOTE
As with the RCX14 series, the RCX22 series allows defining the main/sub
groups and main/sub robots. However, the RCX22 series basically does not
require axis definition since it is a two-axis controller.
SYSTEM>PARAM>ROBOT V9.00
1.Tip weight[kg]
MR= 5
[0-200] Enter>5
_
Valid keys and submenu descriptions for editing robot parameters are shown below.
〈〈
( / )
F1 EDIT Edits the parameter.
F2 JUMP Moves the cursor to the designated parameter.
4-151
12. "SYSTEM" mode
n NOTE
• This parameter cannot be input if the robot was set to MULTI.
Chapter • To set the auxiliary axis tip weight, use the axis tip weight settings of axis
4 parameters.
OPERATION
c CAUTION
Factors such as optimal speed are set automatically according to this
parameter value. Setting to a weight lower than the actual axis tip weight
might adversely affect the robot body so be sure to enter a suitable value.
[Procedure]
1) Select "1.Tip weight [kg]" in "SYSTEM>PARAM>ROBOT" mode.
2) Press (EDIT).
SYSTEM>PARAM>ROBOT V9.00
1.Tip weight[kg]
MR= 5
5
[0-200] Enter>_
4-152
12. "SYSTEM" mode
n NOTE Chapter
Perform origin-return or absolute search first for those axes that might 4
interfere with surrounding equipment.
OPERATION
n NOTE
Origin sequence includes both the robot axes and auxiliary axes.
[Procedure]
1) Select "2.Origin sequence" in "SYSTEM>PARAM>ROBOT" mode.
2) Press (EDIT).
SYSTEM>PARAM>ROBOT V9.00
2.Origin sequence
MG= 312456
312456
[0-654321] Enter>_
4-153
12. "SYSTEM" mode
Chapter n NOTE
This parameter is valid only on SCARA robots.
4
n
OPERATION
NOTE
This function is invalid if there is no R-axis or the R-axis is an auxiliary axis.
4-154
12. "SYSTEM" mode
n
Chapter
NOTE
A description and method for setting axis parameters No. 1 through No. 16 4
are listed in this manual.
OPERATION
Changing of parameters from No. 17 onward is basically prohibited. Please
consult with us beforehand if these (parameter No. 17 onward) must be
changed.
n NOTE
As with the RCX14 series, the RCX22 series allows defining the main/sub
groups and main/sub robots. However, the RCX22 series basically does not
require axis definition since it is a two-axis controller.
SYSTEM>PARAM>AXIS V9.00
1.Accel coefficient[%]
M1= 100 M2= 100
100
[1-100] Enter>_
Valid keys and submenu descriptions for editing robot parameters are shown below.
〈〈
( / )
F1 EDIT Edits the parameter.
F2 JUMP Moves the cursor to the designated parameter.
4-155
12. "SYSTEM" mode
n NOTE
If the robot arm tip shakes or sways during acceleration, lower this value to
Chapter suppress the shaking.
4
c
OPERATION
CAUTION
Lowering the acceleration coefficient lengthens the time needed to stop,
[Procedure]
1) Select "1.Accel coefficient [%]" in "SYSTEM>PARAM>AXIS" mode.
2) Press (EDIT).
SYSTEM>PARAM>AXIS V9.00
1.Accel coefficient[%]
M1= 100 M2= 100
100
[1-100] Enter >_
4-156
12. "SYSTEM" mode
n NOTE
This parameter value is a rate to the acceleration.
n
Chapter
NOTE
If the robot arm tip shakes or sways when the robot stops, lower this value to 4
suppress the shaking.
OPERATION
c CAUTION
Lowering the deceleration rate lengthens the time needed to stop, when
[Procedure]
1) Select "2. Decel. rate [%]" in "SYSTEM>PARAM>AXIS" mode.
2) Press (EDIT).
SYSTEM>PARAM>AXIS V9.00
2.Decel. rate[%]
M1= 100 M2= 100
100
[1-100] Enter >_
4-157
12. "SYSTEM" mode
Chapter
4 c CAUTION
• This is a critical parameter for establishing the robot operating range so
set it to a correct value.
OPERATION
• On SCARA robots, make sure that the total movement range of the "+"
and "-" software limits for X-axis and Y-axis does not exceed 360 degrees.
If the setting exceeds 360 degrees, then errors might occur in the
coordinate conversion results.
• Software limits are disabled when origin return is incomplete.
Use caution during jog movement.
[Procedure]
1) Select "3. +Soft limit [pulse]" or "4. -Soft limit [pulse]" in "SYSTEM> PARAM>AXIS"
mode.
2) Press (EDIT).
SYSTEM>PARAM>AXIS V9.00
4-158
12. "SYSTEM" mode
c CAUTION
• This is a critical parameter for determining the robot movement near the
Chapter
4
target position so set it to a correct value.
OPERATION
• If the tolerance range was reduced to a drastically small value, then the
time needed for robot positioning might vary.
• The maximum tolerance value is determined by the motor.
■ Tolerance range
Tolerance range
[Procedure]
1) Select "5. Tolerance [pulse]" in "SYSTEM>PARAM>AXIS" mode.
2) Press (EDIT).
SYSTEM>PARAM>AXIS V9.00
5.Tolerance[pulse] ( 0. 09mm)
M1= 80 M2= 80
[1- 80
] Enter >_
4) Enter the value with to , and and then press . If the value
you input was a real number (number containing a decimal point), then the tolerance
range is converted into "pulse" units.
4-159
12. "SYSTEM" mode
Chapter
4
OPERATION
4-160
12. "SYSTEM" mode
OPERATION
executing consecutive PTP operations.
The value set for the selected axis is displayed in converted units on the 3rd line of
the RPB screen.
c CAUTION
When the tolerance range is larger than the Out position range, the PTP
operation is performed until the robot is within the Out position range.
Tolerance range
[Procedure]
1) Select "6. Out position [pulse]" in "SYSTEM>PARAM>AXIS" mode.
2) Press (EDIT).
SYSTEM>PARAM>AXIS V9.00
2000
[1-6144000] Enter >_
4-161
12. "SYSTEM" mode
4) Enter the value with to , and and then press . If the value
you input was a real number (number containing a decimal point), then it is converted
into pulse units.
4
OPERATION
4-162
12. "SYSTEM" mode
OPERATION
c CAUTION
• The arch-specified axis may sometimes reach the target position faster
than the other axes if the arch position is large. So set an accurate value
for the arch position.
• Movement may be along different paths during arch operation due to the
movement speed. Check the arch motion at a speed at which the robot
actually moves.
■ Arch motion
[Procedure]
1) Select "7. Arch position [pulse]" in "SYSTEM>PARAM>AXIS" mode.
2) Press (EDIT).
4-163
12. "SYSTEM" mode
SYSTEM>PARAM>AXIS V9.00
Chapter 2000
[1-6144000] Enter >_
4
OPERATION
4) Enter the value with to , and and then press . If the value
you input was a real number (number containing a decimal point), then it is converted
into pulse units.
4-164
12. "SYSTEM" mode
c CAUTION
• The maximum return-to-origin speed on incremental mode axes is
determined by the motor. The maximum speed of semi-absolute mode
axes is 20 pulses per millisecond (= 20mm/s). Chapter
OPERATION
to Ver. 9.16, but do not enter a value larger than 20 pulses per millisecond
(= 20mm/s). If a larger value is entered, return-to-origin cannot be
performed correctly.
[Procedure]
1) Select "8. Origin speed [pulse/ms]" in "SYSTEM>PARAM>AXIS" mode.
2) Press (EDIT).
SYSTEM>PARAM>AXIS V9.00
8.Origin speed[pulse/ms]
M1= 20 M2= 20
20
[1- ] Enter >_
4-165
12. "SYSTEM" mode
Chapter n NOTE
If the robot arm tip shakes or sways during manual movement acceleration,
4 lower this value to suppress the shaking.
OPERATION
c CAUTION
Lowering the acceleration coefficient lengthens the time needed to stop,
[Procedure]
1) Select "9. Manual accel [%]" in "SYSTEM>PARAM>AXIS" mode.
2) Press (EDIT).
SYSTEM>PARAM>AXIS V9.00
9.Manual accel[%]
M1= 100 M2= 100
100
100
[1-100] Enter >_
4-166
12. "SYSTEM" mode
c CAUTION 4
• Origin shift is a critical parameter for determining the robot position so set
OPERATION
it to a correct value. Change this parameter only when necessary.
• Origin return will be incomplete if this parameter is changed.
• This parameter is enabled after performing return-to-origin.
[Procedure]
1) Select "10. Origin shift [pulse]" in "SYSTEM>PARAM>AXIS" mode.
2) Press (EDIT).
SYSTEM>PARAM>AXIS V9.00
10.Origin shift[pulse]
M1= 0 M2= 0
4-167
12. "SYSTEM" mode
[Procedure]
1) Select "11. Arm length [mm]" in "SYSTEM>PARAM>AXIS" mode.
Chapter
4 2) Press (EDIT).
OPERATION
SYSTEM>PARAM>AXIS V9.00
11.Arm length[mm]
M1= 200.00 M2= 200.00
200.00
[0-10000] Enter >_
4-168
12. "SYSTEM" mode
• X-axis offset pulses ... Angle formed by X axis arm and +X-axis on standard
coordinates (unit: pulses)
• Y-axis offset pulses ... Angle formed by X axis arm and Y axis arm (unit: pulses)
• R-axis offset pulses ... Angle formed by R axis origin and +X-axis on standard
Chapter
coordinates (unit: pulses)
The offset is determined automatically when the standard coordinates are set.
4
OPERATION
c CAUTION
When some value (including 0) has been entered for this parameter, it
means the settings are in standard coordinates.
[Procedure]
1) Select "12. Offset pulse" in "SYSTEM>PARAM>AXIS" mode.
2) Press (EDIT).
SYSTEM>PARAM>AXIS V9.00
12.Offset pulse
M1= 10000 M2= 20000
10000
[+/-6144000] Enter >_
4-169
12. "SYSTEM" mode
n NOTE
• This parameter can be entered only for MULTI type robots.
Chapter • For robots other than MULTI type robots, set the robot arm tip weight.
4
c
OPERATION
CAUTION
Optimal acceleration and other items are automatically set according to
this parameter value. The robot body may therefore be adversely affected if
set to a lower value than the actual axis tip weight, so be sure to enter a
correct value.
[Procedure]
1) Select "13. Axis tip weight [kg]" in "SYSTEM>PARAM>AXIS" mode.
2) Press (EDIT).
SYSTEM>PARAM>AXIS V9.00
0
[0-200] Enter >_
4-170
12. "SYSTEM" mode
c CAUTION
• YAMAHA can accept no liability from problems arising due to changing
4
OPERATION
the return-to-origin method without consulting YAMAHA beforehand.
• Return-to-origin will be incomplete if this parameter is changed.
[Procedure]
1) Select "14. Origin method" in "SYSTEM>PARAM>AXIS" mode.
2) Press (EDIT).
SYSTEM>PARAM>AXIS V9.00
14.Origin method
M1=SENSOR M2=SENSOR
4-171
12. "SYSTEM" mode
Chapter
4
c CAUTION
• YAMAHA can accept no liability from problems arising due to changing
the return-to-origin direction without consulting YAMAHA beforehand.
OPERATION
[Procedure]
1) Select "15. Origin direction" in "SYSTEM>PARAM>AXIS" mode.
2) Press (EDIT).
SYSTEM>PARAM>AXIS V9.00
15.Origin direction
M1=––– M2=–––
––– +++
4-172
12. "SYSTEM" mode
This parameter cannot be changed while the servo is on. To change the parameter,
4
OPERATION
make sure the servo is off.
n NOTE
This parameter cannot be changed while servo is on.
c CAUTION
• YAMAHA can accept no liability from problems arising due to changing
the axis polarity without consulting YAMAHA beforehand.
• Return-to-origin will be incomplete if this parameter is changed.
[Procedure]
1) Select "16. Motor direction" in "SYSTEM>PARAM>AXIS" mode.
2) Press (EDIT).
SYSTEM>PARAM>AXIS V9.00
16.Motor direction
M1=––– M2=–––
––– +++
4-173
12. "SYSTEM" mode
SYSTEM>PARAM>OTHERS V9.08
Valid keys and submenu descriptions for editing other parameters are shown below.
〈〈
( / )
F1 EDIT Edits the parameter.
F2 JUMP Moves the cursor to the designated parameter.
4-174
12. "SYSTEM" mode
n NOTE
This parameter will not change even if parameter initialization is performed.
[Procedure]
1) Select "1. Display language (JPN/ENG)" in "SYSTEM>PARAM>OTHERS" mode.
Chapter
2) Press (EDIT). 4
OPERATION
The function key menu changes.
SYSTEM>PARAM>OTHERS V9.08
4-175
12. "SYSTEM" mode
[Procedure]
1) Select "2. Data display length" in "SYSTEM>PARAM>OTHERS" mode.
2) Press (EDIT).
Chapter
The function key menu changes.
4 ■ Setting the "Data display length"
OPERATION
SYSTEM>PARAM>OTHERS V9.08
4-176
12. "SYSTEM" mode
[Procedure]
1) Select "3. Parameter display units" in "SYSTEM>PARAM>OTHERS" mode.
2) Press (EDIT).
Chapter
The function key menu changes.
OPERATION
SYSTEM>PARAM>OTHERS V9.08
4-177
12. "SYSTEM" mode
c CAUTION
This parameter is invalid if the sequence program starts up.
[Procedure]
Chapter
1) Select "4. DO cond. on EMG " in "SYSTEM>PARAM>OTHERS" mode.
4
OPERATION
2) Press (EDIT).
SYSTEM>PARAM>OTHERS V9.08
4-178
12. "SYSTEM" mode
6. DI noise filter/SCANMD
This parameter sets whether to cancel external input signals (dedicated input signals,
general-purpose input signals) that might appear like noise in the form of short
pulses.
When this parameter is set to "VALID", the on and off periods of input signals must be
longer than 25msec since the controller does not respond to any signal input shorter Chapter
than 25msec. This prevents the controller from responding to noise inputs. 4
[Procedure]
OPERATION
1) Select "6. DI noise filter" in "SYSTEM>PARAM>OTHERS" mode.
2) Press (EDIT).
SYSTEM>PARAM>OTHERS V9.08
4-179
12. "SYSTEM" mode
n NOTE
This parameter is supported by controllers of Ver. 9.08 onwards.
Chapter
[Procedure]
4 1) Select "7. TRUE condition" in "SYSTEM>PARAM>OTHERS" mode.
OPERATION
2) Press (EDIT).
SYSTEM>PARAM>OTHERS V9.08
Setting Meaning
When conditional expression is a numeric expression, the
result is "TRUE" if the expression value is -1, and is "FALSE"
-1 (default setting)
if 0. If the value is other than -1 and 0, an error "6.35:
EXPRESSION ERROR" occurs.
When conditional expression is a numeric expression, the
not 0 result is "TRUE" if the expression value is other than 0, and is
"FALSE" if 0.
4-180
12. "SYSTEM" mode
n NOTE
• This parameter is supported by controllers of Ver. 9.08 onwards. Chapter
• Tool coordinate mode is enabled when the robot has an R-axis and the
hand installed on the R-axis is specified by hand data. If the robot does
4
OPERATION
not have an R-axis or the hand installed on the R-axis is not specified by
hand data, the unit system will be automatically changed to X (mm/°)
after start-up even if T (mm/°) is selected by parameter.
[Procedure]
1) Select "8. Unit select" in "SYSTEM>PARAM>OTHERS" mode.
2) Press (EDIT).
SYSTEM>PARAM>OTHERS V9.08
Setting Meaning
Normal (default setting) Sets to the unit system that was last selected.
J (pls) Sets to "pulses" unit system.
Sets "mm" unit system in normal setting (other
X (mm/°)
than tool coordinate mode).
T (mm/°) Sets "mm" unit system in tool coordinate mode.
4-181
12. "SYSTEM" mode
n NOTE
• This parameter is supported by controllers of Ver. 9.08 onwards.
• If a DIO option board set to STD.DIO (DIP switch ID = 1) and a serial IO
board such as for CC-Link are installed while the serial IO is enabled, then
the area check results are output to both the DO and SO of the same
Chapter number.
4
[Procedure]
OPERATION
2) Press (EDIT).
SYSTEM>PARAM>OTHERS V9.08
3) To change the setting, select the desired setting with (OFF) to (27). (Ports
24 to 27 are assigned to to .)
Setting Meaning
OFF (default setting) Does not output errors.
20 to 27 Outputs errors from the specified port (DO and SO).
4-182
12. "SYSTEM" mode
n NOTE
• This parameter is supported by controller Ver. 9.13 and later. In earlier
versions, relative motion to a new target position referenced to the Chapter
current position occurs when operation is re-executed after a relative 4
motion interruption.
OPERATION
• This parameter's factory setting (when shipped) is "Keep".
[Procedure]
1) Select "10. MOVEI/DRIVEI start position" in "SYSTEM>PARAM>OTHERS" mode.
2) Press (EDIT).
SYSTEM>PARAM>OTHERS V9.13
Setting Meaning
Motion to the original specified target position occurs when
Keep (default setting) operation resumes after a relative motion interruption. Target
position is unchanged.
Motion to a new, current position referenced target position
occurs when operation resumes after a relative motion
Reset interruption. The original target position (prior to re-execution)
is changed to a new target position. (Compatible with
previous versions)
4-183
12. "SYSTEM" mode
NO turned on.
(Compatibility mode for the RCX143/144 controllers)
[Procedure]
1) Select "11. Servo on when power on" in "SYSTEM>PARAM>OTHERS" mode.
2) Press (EDIT).
SYSTEM>PARAM>OTHERS V9.2 3
7.TRUE condition −1
8.Unit select Normal
9.Error output(DO & SO) Off
10.MOVEI/DRIVEI start pos. Keep
11.Servo on when power on YES
YES NO
n NOTE
• This parameter is supported by controllers of Ver. 9.17 onwards. On earlier
version controllers, the operation starts in the same way as in the case
where this parameter is set to "YES".
• This parameter is set to "YES" at the time of shipment.
4-184
12. "SYSTEM" mode
SYSTEM>PARAM>OTHERS V9.2 3
OPERATION
n NOTE
• This parameter is added to controllers of Ver. 9.23 onwards.
• This parameter is set to "NO" at the time of shipment.
4-185
12. "SYSTEM" mode
4 c CAUTION
If this parameter is set to "VALID", then misspellings in the parameter file
OPERATION
cannot be detected. Do not use this function except for cases in which you
must load the parameters of a new version into a controller of an earlier
version.
[Procedure]
1) Select "13. Skip undefined parameters" in "SYSTEM>PARAM>OTHERS" mode.
2) Press (EDIT).
SYSTEM>PARAM>OTHERS V9.2 3
4-186
12. "SYSTEM" mode
4
n NOTE
• For detailed information on serial I/O units such as CC-Link, Ethernet, and
OPERATION
YC-Link, refer to their respective manuals.
• On controllers with a DeviceNet board installed and from Ver. 9.08
onwards, there are 4 parameters to be set. Earlier version controllers
require 3 parameters to be set.
• No parameter setting is required for the YC-Link.
[Procedure]
SYSTEM>PARAM>OP.BRD V9.00
1.D_Net(M4/500k) VALID
2.DIO_P(n) VALID
3. ---
4. ---
SELECT
4-187
12. "SYSTEM" mode
Option boards installed into the option slots are displayed on the RPB screen.
speed "m".
Network E_Net An Ethernet unit is installed.
A YC-Link is installed. The number in parentheses
YC-Link YCLnk(Mn) indicates a station number "n".
When editing the parameters for option boards, the following keys and submenu are valid.
4-188
12. "SYSTEM" mode
Parameter Meaning
Sets whether to issue an error "12.31: DI DC24V
disconnected" when the 24V power supply is not
connected.
When set to "INVALID", no error will be issued even if
1 Board condition the DC 24V power supply is disconnected.
This parameter cannot be set to "INVALID" while the
24V power supply is connected to the DIO board. Chapter
This parameter automatically changes to "VALID" when
the 24V power supply is connected. 4
OPERATION
Sets whether to use the dedicated input DI05 (IO
IO cmd (DI05)
2 command run) function.
(when ID=1)
This is available only for the DIO board with ID=1.
[Procedure]
1) In "SYSTEM>PARAM>OP. BRD" mode, select "DIO_N(n)" or "DIO_P(n)" and press
(SELECT).
2) Press (EDIT).
SYSTEM>PARAM>OP.BRD V9.00
INVALID VALID
4-189
12. "SYSTEM" mode
n NOTE
• Emergency stop ready signal (DI00), interlock input (DI11) and service
mode input (DI02) on the SAFETY connector are enabled even when the
serial IO is enabled.
• For detailed information on the remote commands and IO commands,
refer to the separate manual for controller options.
Chapter
4 Parameter Meaning
OPERATION
n NOTE
The "4. IO size" parameter is supported by controllers with a DeviceNet
board installed and from Ver. 9.08 onwards. Earlier version controllers do not
have the "4. IO size" parameter, so the number of occupied channels is the
same as the "Large" IO size setting.
4-190
12. "SYSTEM" mode
1. Serial IO
[Procedure]
1) In "SYSTEM>PARAM>OP. BRD" mode, select the serial I/O option board and press
(SELECT).
2) Select the "1. Serial IO" parameter with the cursor (↑/↓) keys.
Chapter
3) Press (EDIT).
4
■ "Serial IO" setting
OPERATION
SYSTEM>PARAM>OP.BRD V9.08
1.Serial IO VALID
2.Remote cmd/IO cmd(SI05) INVALID
3.Output MSG to SOW(1) INVALID
4.IO size Large
INVALID VALID
4-191
12. "SYSTEM" mode
[Procedure]
1) In "SYSTEM>PARAM>OP. BRD" mode, select the serial I/O option board and press
(SELECT).
2) Select the "2. Remote cmd / IO cmd (SI05)" parameter with the cursor (↑/↓) keys.
Chapter
4 3) Press (EDIT).
SYSTEM>PARAM>OP.BRD V9.08
1.Serial IO VALID
2.Remote cmd/IO cmd(SI05) INVALID
3.Output MSG to SOW(1) INVALID
4.IO size Large
INVALID VALID
4-192
12. "SYSTEM" mode
[Procedure]
1) In "SYSTEM>PARAM>OP. BRD" mode, select the serial I/O option board and press
(SELECT).
2) Select the "3. Output MSG to SOW(1)" parameter with the cursor (↑/↓) keys.
Chapter
3) Press (EDIT).
4
■ "Output MSG to SOW(1)" setting
OPERATION
SYSTEM>PARAM>OP.BRD V9.08
1.Serial IO VALID
2.Remote cmd/IO cmd(SI05) INVALID
3.Output MSG to SOW(1) INVALID
4.IO size Large
INVALID VALID
4-193
12. "SYSTEM" mode
n NOTE
This parameter is supported by controllers with a DeviceNet board installed
and from Ver. 9.08 onwards. Earlier version controllers do not have this "4. IO
size" parameter, so the number of occupied channels is the same as the
"Large" IO size setting.
[Procedure]
Chapter
1) In "SYSTEM>PARAM>OP. BRD" mode, select the serial I/O option board and press
4 (SELECT).
OPERATION
2) Select the "4. IO size" parameter with the cursor (↑/↓) keys.
3) Press (EDIT).
SYSTEM>PARAM>OP.BRD V9.08
1.Serial IO VALID
2.Remote cmd/IO cmd(SI05) INVALID
3.Output MSG to SOW(1) INVALID
4.IO size Large
Large Small
each of input/output.
4-194
12. "SYSTEM" mode
c CAUTION
When making the Ethernet settings to use TELNET, you will need to set any
other parameters than those shown below. For more details, see the Ethernet
manual.
Chapter
Parameter Meaning
Enables or disables the Ethernet board. When set to
4
1 Board condition "VALID" the Ethernet can be used. When set to
OPERATION
"INVALID" Ethernet cannot be used.
2 IP address Sets the IP address.
3 Subnet mask Sets the subnet mask.
4 Gateway Sets the gateway.
Communication Sets the communication mode (online/offline).
5 mode Online commands can be run only in the online mode.
n NOTE
• The communication mode parameter is applicable to a controller of Ver.
9.27 onwards.
• The communication mode parameter can also be changed by the
ONLINE or OFFLINE statement of the robot language.
[Procedure]
■ Network setting (1)
SYSTEM>PARAM>OP.BRD V9.00
1.E_Net VALID
2.
3.
4.
SELECT
1) In "SYSTEM>PARAM>OP. BRD" mode, select "E_Net" with the cursor keys and press
(SELECT).
4-195
12. "SYSTEM" mode
SYSTEM>PARAM>OP.BRD>SELECT V9.00
Chapter
c
OPERATION
CAUTION
Changes you made to the IP address, subnet mask and gateway are
enabled after restarting the robot controller. When connecting the robot
controller to an existing network, always consult with the network
administrator for the IP address, subnet mask and gateway settings.
SYSTEM>PARAM>OP.BRD>SELECT V9.00
When changing the communication mode, press (OFFLINE) to set the offline
When changing other parameters, use to and to make the setting and
press .
4-196
12. "SYSTEM" mode
OPERATION
6. Termination code
7. Flow control
[Procedure]
SYSTEM>CMU V9.00
Or press (JUMP) and enter a parameter number to jump to that parameter item.
The edit mode stays open until is pressed, allowing you to set multiple
4-197
12. "SYSTEM" mode
5) Press to quit the setting. To continue selecting other items, use the cursor (↑/↓)
keys.
Valid keys and submenu descriptions in "SYSTEM>CMU" mode are shown below.
Chapter
Valid keys Menu Function
4 Cursor key
Moves the cursor up and down.
(↑/↓)
OPERATION
Page key
Switches to other screens.
〈〈
〈〈
( / )
F1 EDIT Edits the parameter.
F2 JUMP Moves the cursor to the designated parameter.
4-198
12. "SYSTEM" mode
n NOTE
• Online commands can be executed only in "ONLINE" mode.
• The CMU (communication) mode can be changed with either ONLINE or
OFFLINE statements in robot language.
[Procedure]
Chapter
1) Select "1. CMU mode" in "SYSTEM>CMU" mode.
4
OPERATION
2) Press (EDIT).
4) Press to quit the setting. To continue selecting other items, use the cursor (↑/↓)
keys.
4-199
12. "SYSTEM" mode
2. Data bits
This parameter sets the data bit length.
n NOTE
Katakana letters (Japanese phonetic) cannot be sent if data bit length was
set to 7 bits.
[Procedure]
1) Select "2. Data bits" in "SYSTEM>CMU" mode.
Chapter
4
2) Press (EDIT).
OPERATION
SYSTEM>CMU V9.00
4) Press to quit the setting. To continue selecting other items, use the cursor (↑/↓)
keys.
4-200
12. "SYSTEM" mode
3. Baud rate
This parameter sets the communication speed.
n NOTE
Communication errors are more prone to occur at high communication
speeds. If communication errors frequently occur, set a lower
communication speed.
[Procedure]
Chapter
1) Select "3. Baud rate" in "SYSTEM>CMU" mode.
4
OPERATION
2) Press (EDIT).
SYSTEM>CMU V9.00
4) Press to quit the setting. To continue selecting other items, use the cursor (↑/↓)
keys.
4-201
12. "SYSTEM" mode
4. Stop bit
This parameter sets the stop bit length.
n NOTE
Set to 2 bits if communication errors frequently occur.
[Procedure]
1) Select "4. Stop bit" in "SYSTEM>CMU" mode.
Chapter
4 2) Press (EDIT).
OPERATION
SYSTEM>CMU V9.00
4) Press to quit the setting. To continue selecting other items, use the cursor (↑/↓)
keys.
4-202
12. "SYSTEM" mode
5. Parity
This parameter sets the parity check.
n NOTE
Use the parity check as often as possible.
[Procedure]
1) Select "5. Parity" in "SYSTEM>CMU" mode.
Chapter
2) Press (EDIT). 4
OPERATION
The function key menu changes.
SYSTEM>CMU V9.00
4) Press to quit the setting. To continue selecting other items, use the cursor (↑/↓)
keys.
4-203
12. "SYSTEM" mode
6. Termination code
This parameter sets the line feed code.
[Procedure]
1) Select "6. Termination code" in "SYSTEM>CMU" mode.
2) Press (EDIT).
4) Press to quit the setting. To continue selecting other items, use the cursor (↑/↓)
keys.
4-204
12. "SYSTEM" mode
7. Flow control
This parameter sets communication flow control.
n NOTE
Communication data omissions may occur if flow control is set to "NO".
[Procedure]
1) Select "7. Flow control" in "SYSTEM>CMU" mode.
Chapter
2) Press (EDIT). 4
OPERATION
■ Flow control setting
SYSTEM>CMU V9.00
4-205
12. "SYSTEM" mode
[Procedure]
Chapter
SYSTEM>OPTION V9.00
Parameters can be edited by entering data with the number keys or by selecting the
function keys. Refer to each parameter item for detailed information.
4-206
12. "SYSTEM" mode
4
2. Area check output port No.
OPERATION
Selects the port to output the area check results to.
The following port numbers can be used.
• Controllers prior to Ver. 9.22
4-207
12. "SYSTEM" mode
n NOTE
• If the port used for area check output is the same as the output port used
by the program, then the output data might be changed. So do not use
the same output port.
• If the same port is designated for a different area check output, OR will
be output.
• On controllers of Ver. 9.08 onwards, the area check cannot be performed
and an error is displayed unless comparison points exist or the units of
comparison points are the same. If this situation occurs during automatic
Chapter
operation, the automatic operation stops and an error is displayed. The
4 area check output where the error occurred then turns off. Automatic
operation cannot be performed until the error is cleared.
OPERATION
4-208
12. "SYSTEM" mode
When the comparison points are set as shown below, and the robot axis tip is moved
between the marks, the output is off at and the output is on at . (When
"5. Criterion selection for area check output" is set so that the area check output turns on
when the robot enters a specified area.)
■ When points are designated in Cartesian coordinates ("mm" unit system)
+Y
Comparison point 2
Chapter
OPERATION
Comparison point 1
+X
[Procedure]
mode.
■ Selecting the area check output number (controllers prior to Ver. 9.22)
SYSTEM>OPTION>POS.OUT V9.08
1.Output of area1 NO
2.Output of area2 NO
3.Output of area3 NO
4.Output of area4 NO
SELECT
■ Selecting the area check output number (controllers of Ver. 9.22 onwards)
SYSTEM>OPTION>POS.OUT V9.22
1.Output of area1 NO
2.Output of area2 NO
3.Output of area3 NO
4.Output of area4 NO
5.Output of area5 NO
SELECT
2) Select an area check output number with the cursor (↑/↓) keys and press
(SELECT).
A maximum of 4 areas can be checked with controllers prior to Ver. 9.22, while a
maximum of 8 areas can be checked with controllers of Ver. 9.22 onwards.
4-209
12. "SYSTEM" mode
1.Output of area1 NO
2.Output por1(DO & SO) 20
3.Compare Point number11 P0
4.Compare Point number12 P0
5.Condition IN
Chapter EDIT JUMP
4
Valid keys and submenu descriptions in this mode are shown below.
OPERATION
n NOTE
• Select the robot for the area check.
• "SUB" cannot be selected if there is no sub robot.
[Procedure]
1) Select "1. Output of area n" in "SYSTEM>OPTION>POS.OUT>SELECT" mode.
2) Press (EDIT).
SYSTEM>OPTION>POS.OUT>SELECT V9.08
1.Output of area1 NO
2.Output por1(DO & SO) 20
3.Compare Point number11 P0
4.Compare Point number12 P0
5.Condition IN
NO MAIN SUB
4-210
12. "SYSTEM" mode
3) Select the robot for the area check with (NO), (MAIN) or (SUB).
Robot Details
NO The area check output is not executed.
MAIN The area check output is executed for the main robot.
SUB The area check output is executed for the sub robot.
4) Press to quit the setting. To continue selecting other items, use the cursor (↑/↓)
Chapter
keys.
4
2. Area check output port No.
OPERATION
This parameter specifies the port to output the area check results to. The following
ports can be used as the area check output port.
• Controllers prior to Ver. 9.22
DO/SO Port No.
DO 20 to 27
SO 20 to 27
n NOTE
• If the port used for area check output is the same as the output port used
by the program, then the output data might be changed. So do not use
the same output port.
• If the serial IO is enabled while a DIO option board and a serial IO board
such as for CC-Link are installed in the option board slots, then the area
check results will be output to both the DO and SO of the same number.
[Procedure]
4-211
12. "SYSTEM" mode
2) Press (EDIT).
■ Selecting the area check output port (controllers prior to Ver. 9.22)
SYSTEM>OPTION>POS.OUT>SELECT V9.08
4 5.Condition
20 21 22 23
IN
24
OPERATION
4) Press to quit the setting. To continue selecting other items, use the cursor (↑/↓)
keys.
2) Press (EDIT).
■ Selecting the area check output port (controllers of Ver. 9.22 onwards)
SYSTEM>OPTION>POS.OUT>SELECT V9.22
3) Enter the output port number with to and press to determine it.
4) Press to quit the setting. To continue selecting other items, use the cursor (↑/↓)
keys.
4-212
12. "SYSTEM" mode
n NOTE
• The units of comparison point numbers 1 and 2 must be the same to
perform correct operation.
• On controllers of Ver. 9.08 onwards, the area check cannot be performed
and an error is displayed unless comparison points exist or the units of Chapter
comparison points are the same. If this situation occurs during automatic
operation, the automatic operation stops and an error is displayed. The area 4
check output where the error occurred then turns off. Automatic operation
OPERATION
cannot be performed until the error is cleared.
On earlier version controllers, no error will occur even if comparison points do
not exist or the units of comparison points are not the same. Note, however,
that the area check output does not function correctly in this case.
• The area check is carried out on all set axes. Take care when setting the
R axis point if using the system with four axes.
• Always provide a margin when setting the comparison point data.
[Procedure]
1) Select "3. Compare point number n1" in "SYSTEM>OPTION>POS.OUT>SELECT"
mode.
2) Press (edit).
SYSTEM>OPTION>POS.OUT>SELECT V9.08
4) Select "4. Compare Point number n2" with the cursor (↑/↓) keys and enter point
number as in step 3).
4-213
12. "SYSTEM" mode
5) Press to quit the setting. To continue selecting other items, use the cursor (↑/↓)
keys.
Example: When the comparison points are set as shown below, and the robot axis tip
is moved between the marks, the output is off at and the output is
on at . (when "5. Condition" is set to "IN")
Chapter n NOTE
On controllers from Ver. 9.08 onwards, by changing the "5. Condition" setting,
4 it is possible to select whether the robot position should be within a specified
area or outside it in order to turn on the output status. On earlier version
OPERATION
controllers, the area check output turns on when the robot is within a
specified area, and turns off when outside it.
Comparison point 2
Comparison point 1
+X
4-214
12. "SYSTEM" mode
n NOTE
• This parameter is supported by controllers of Ver. 9.08 onwards. On earlier
version controllers, the area check output turns on when the robot is
within a specified area, and turns off when outside it.
• Any point on the boundary of the specified area is determined to be
within the area. Chapter
• If the area check cannot be performed correctly due to return-to-origin
incomplete, operation other than "MANUAL" or "AUTO" mode, or a 4
memory error, then the area check output will turn off regardless of the
OPERATION
criterion setting.
If the specified port is the same as the port used by the program, then the
area check output has priority.
• The default setting is "IN" (output is on within specified area).
[Procedure]
1) Select "5. Condition" in "SYSTEM>OPTION>POS.OUT>SELECT" mode.
2) Press (EDIT).
SYSTEM>OPTION>POS.OUT>SELECT V9.08
3) Select the criterion for area check output with (IN) or (OUT).
Setting Description
IN Turns on when the robot enters a specified area.
OUT Turns on when the robot goes out of a specified area.
4) Press to quit the setting. To continue selecting other items, use the cursor (↑/↓)
keys.
4-215
12. "SYSTEM" mode
Chapter n NOTE
The "SERVICE" mode functions can only be utilized when the necessary
4 settings were made by YAMAHA prior to shipping.
OPERATION
w WARNING
IN "SERVICE" MODE, CHANGING THE SETTINGS FROM THEIR DEFAULT VALUES IS
LIKELY TO INCREASE HAZARDS TO THE ROBOT OPERATOR DURING
MAINTENANCE OR OPERATION. CUSTOMERS CAN CHANGE THESE SETTINGS
BASED ON THEIR OWN RESPONSIBILITY, BUT ADEQUATE CONSIDERATION
SHOULD FIRST BE GIVEN TO SAFETY.
c CAUTION
The dedicated input is SI when the serial board is connected.
Description
Hold to Run function AUTO mode operation
Level 0 Disabled Allowed
Level 1 Enabled Allowed
Level 2 Disabled Prohibited
* Level 3 Enabled Prohibited
* The Hold to Run function indicates that the robot operation (including
program execution) is executed only when the keys are held down on
the RPB.
4-216
12. "SYSTEM" mode
Description
Sets robot operation within 3 % of maximum operating
* <3% speed.
<100% Sets no limit on robot operating speed.
* : These are default settings.
OPERATION
Description
* RPB Only RPB operation is allowed.
RPB/DI Allows RPB and dedicated input.
RPB/COM Allows RPB and online commands.
Allows RPB, dedicated input and online command
ALL operation devices.
* : These are default settings.
4-217
12. "SYSTEM" mode
[Procedure]
SYSTEM>OPTION V9.00
Chapter
4
OPERATION
SYSTEM>OPTION>SERVICE V9.00
Valid keys and submenu descriptions in this mode are shown below.
4-218
12. "SYSTEM" mode
n NOTE
The settings made here are only valid until the controller power is turned off.
Save these settings if you want to use them again after power is turned off.
w WARNING
SETTINGS MAY BE CHANGED BUT THE CUSTOMER MUST BEAR RESPONSIBILITY
Chapter
FOR THEM. THE CUSTOMER SHOULD KEEP SAFETY IN MIND WHEN MAKING
CHANGES. 4
OPERATION
Description
Hold to Run function AUTO mode operation
Level 0 Disabled Allowed
Level 1 Enabled Allowed
Level 2 Disabled Prohibited
Level 3 Enabled Prohibited
[Procedure]
1) Select "1. Service level" in "SYSTEM>OPTION>SERVICE" mode.
2) Press (EDIT).
SYSTEM>OPTION>SERVICE V9.00
4) Press to quit the setting. To continue selecting other items, use the cursor (↑/↓)
keys.
4-219
12. "SYSTEM" mode
n NOTE
The settings made here are only valid until the controller power is turned off.
Save these settings if you want to use them again after power is turned off.
Chapter
w WARNING
SETTINGS MAY BE CHANGED BUT THE CUSTOMER MUST BEAR RESPONSIBILITY
FOR THEM. THE CUSTOMER SHOULD KEEP SAFETY IN MIND WHEN MAKING
4 CHANGES.
OPERATION
Description
Sets robot operation within 3 % of maximum operating
<3% speed.
<100% Sets no limit on robot operating speed.
[Procedure]
1) Select "2. Movement Vel" in "SYSTEM>OPTION>SERVICE" mode.
2) Press (EDIT).
SYSTEM>OPTION>SERVICE V9.00
<100% <3%
4) Press to quit the setting. To continue selecting other items, use the cursor (↑/↓)
keys.
4-220
12. "SYSTEM" mode
n NOTE
The settings made here are only valid until the controller power is turned off.
Save these settings if you want to use them again after power is turned off.
w WARNING
SETTINGS MAY BE CHANGED BUT THE CUSTOMER MUST BEAR RESPONSIBILITY
Chapter
FOR THEM. THE CUSTOMER SHOULD KEEP SAFETY IN MIND WHEN MAKING
CHANGES. 4
OPERATION
Description
RPB Only RPB operation is allowed.
RPB/DI Allows RPB and dedicated input.
RPB/COM Allows RPB and online commands.
ALL Allows operation by all devices.
[Procedure]
1) Select "3. Operating device" in "SYSTEM>OPTION>SERVICE" mode.
2) Press (EDIT).
SYSTEM>OPTION>SERVICE V9.00
4) Press to quit the setting. To continue selecting other items, use the cursor (↑/↓)
keys.
4-221
12. "SYSTEM" mode
w WARNING
IN "SERVICE" MODE, CHANGING THE SETTINGS FROM THEIR DEFAULT VALUES IS
LIKELY TO INCREASE HAZARDS TO THE ROBOT OPERATOR DURING
MAINTENANCE OR OPERATION. CUSTOMERS CAN CHANGE THESE SETTINGS
Chapter
BASED ON THEIR OWN RESPONSIBILITY, BUT ADEQUATE CONSIDERATION
4 SHOULD FIRST BE GIVEN TO SAFETY.
OPERATION
[Procedure]
When you have made changes to the parameters, a message appears on the guideline
asking if you want to save the setting.
SYSTEM>OPTION>SERVICE V9.00
4-222
12. "SYSTEM" mode
[Procedure]
SYSTEM>OPTION>SERVICE>HELP V9.00
Chapter
Security level of serv. mode
LEVEL0 : No limit 4
LEVEL1 : Hold to Run
OPERATION
LEVEL2 : Prohibit operation in AUTO
LEVEL3 : LEVEL2 + Hold to Run
NEXT P. PREV.P.
4-223
12. "SYSTEM" mode
n NOTE
• Output results might be incorrect if the SIO specified port is the same as
the port used by the program.
• These settings are only valid when the serial I/O unit is connected.
Chapter
Master station
PLC I/O device
(sensors, relays. etc.)
CC-Link
The relation between parallel and serial ports that can be set are shown below.
[Procedure]
SYSTEM>OPTION>SIO V9.00
1.Direct SI2()->DO2() NO
2.Direct SI3()->DO3() NO
3.Direct SI4()->DO4() NO
4.Direct SI5()->DO5() NO
5.Direct SO2()<-DI2() NO
EDIT JUMP
4-224
12. "SYSTEM" mode
Valid keys and submenu descriptions in this mode are shown below.
OPERATION
Output results might be incorrect if the SIO specified port is the same as the
port used by the program.
[Procedure]
1) Select from 1 to 4 in "SYSTEM>OPTION>SIO" mode.
2) Press (EDIT).
SYSTEM>OPTION>SIO V9.00
1.Direct SI2()->DO2() NO
2.Direct SI3()->DO3() NO
3.Direct SI4()->DO4() NO
4.Direct SI5()->DO5() NO
5.Direct SO2()<-DI2() NO
SET NO
3) Press (SET) to set the direct connection or press (NO) not to set it.
4) Press to quit the setting. To continue selecting other items, use the cursor (↑/↓)
keys.
4-225
12. "SYSTEM" mode
n NOTE
Output results might be incorrect if the SIO specified port is the same as the
port used by the program.
DI4() SO4()
DI5() SO5()
[Procedure]
1) Select from 5 to 8 in "SYSTEM>OPTION>SIO" mode.
2) Press (EDIT).
SYSTEM>OPTION>SIO V9.00
4.Direct SI5()->DO5() NO
5.Direct SO2()<-DI2() NO
6.Direct SO3()<-DI3() NO
7.Direct SO4()<-DI4() NO
8.Direct SO5()<-DI5() NO
SET NO
3) Press (SET) to set the direct connection or press (NO) not to set it.
4) Press to quit the setting. To continue selecting other items, use the cursor (↑/↓)
keys.
4-226
12. "SYSTEM" mode
c CAUTION
The anti-collision function does not work if return-to-origin is incomplete. This
function does not work correctly unless the lead length and deceleration
ratio parameters are set correctly.
Chapter
■ Double-carrier type robot
4
OPERATION
The anti-collision function works as follows:
• During manual movement
When one carrier is moving towards the other carrier, it stops just short of the other
carrier.
• During automatic operation
The target position of one carrier and the other carrier condition are first checked.
If there is a possibility that a collision may occur, then one carrier waits until the
other carrier has moved to a position where no collision will occur and next moves
to the target position, or the operation stops as an error.
1. As shown in the drawing below, each carrier should approach the other carrier when
it moves in the "+" direction. If not, please consult us.
■ Double-carrier setting
"+" direction for carrier 1 "+" direction for carrier 2
2. Each carrier's movement distance on the display should match the distance that the
carrier has actually moved. If not, please consult us.
4-227
12. "SYSTEM" mode
[Procedure]
SYSTEM>OPTION>W.CARRIER V9.00
1.Stroke[mm] 0.00
Chapter
2.Carrier1 M1
4 3.Carrier2
4.Control mode
M2
OFF
OPERATION
EDIT JUMP
Valid keys and submenu descriptions in this mode are shown below.
Valid keys Menu Function
F1 EDIT Edits the parameter being selected with the cursor.
F2 JUMP Jumps to the specified point number.
Cursor key
Moves the cursor up and down.
(↑/↓)
1. Stroke setting
n NOTE
The stroke corresponds to the current position of one carrier that was moved
from its origin position, to a point closest to the other carrier remaining at its
origin position after return-to-origin.
[Procedure]
SYSTEM>OPTION>W.CARRIER>EDIT V9.00
1.Stroke[mm] 0.00
2.Carrier1 M1
3.Carrier2 M2
4.Control mode OFF
4-228
12. "SYSTEM" mode
2) Enter the stroke in "mm" units and press . Up to 2 decimal places are
■ Stroke setting
Stroke
Origin position Origin position
Chapter
Point where one carrier is closest to the other 4
OPERATION
2. Carrier 1 setting
3. Carrier 2 setting
n NOTE
Each function key display differs depending on how the axis is set.
[Procedure]
1) Select "2. Carrier 1" or "3. Carrier 2" and press (EDIT).
SYSTEM>OPTION>W.CARRIER>EDIT V9.00
1.Stroke[mm] 650.00
2.Carrier1 M1
3.Carrier2 M2
4.Control mode OFF
M1 M2 M3 M4 M5
4-229
12. "SYSTEM" mode
SYSTEM>OPTION>W.CARRIER>EDIT V9.00
4 2.Carrier1
3.Carrier2
M1
M2
4.Control mode OFF
OPERATION
OFF WARNING ON
n NOTE
During automatic operation with the control mode ON, operation is stopped
as an error ("2.27 W. carrier deadlock" error) when one carrier attempts to
move to a position where it will interfere with the other carrier that is ready
to move.
4-230
12. "SYSTEM" mode
12.4 Initialization
When initializing the parameter data you entered, follow the descriptions in this section.
[Procedure]
■ Initialization screen
Chapter
SYSTEM>INIT V9.00
4
OPERATION
PARAM MEMORY CMU CLOCK
Valid keys and submenu descriptions in "SYSTEM>INT" mode are shown below.
4-231
12. "SYSTEM" mode
n NOTE
• Entire parameter is initialized. (Except for display letters.)
• Return-to-origin will be incomplete if this parameter is changed.
Chapter
4 [Procedure]
OPERATION
SYSTEM>INIT V9.00
Enter password>_
2) When the correct password was entered, a confirmation message appears on the
guideline.
SYSTEM>INIT>PARAM V9.00
ROBOT = YK400X
D1=M1: aYK400X D5=M5: no axis
D2=M2: aYK400X D6=M6: no axis
D3=M3: no axis
D4=M4: no axis
Initialize OK? YES NO
4-232
12. "SYSTEM" mode
n NOTE
• External data must be input to restore the memory after it has been
initialized.
• The memory must be initialized if damaged due to some kind of problem.
Chapter
[Procedure]
4
OPERATION
1) Press (MEMORY) in "SYSTEM>INIT" mode.
SYSTEM>INIT>MEMORY V9.00
SYSTEM>INIT>MEMORY>PROGRAM V9.00
4-233
12. "SYSTEM" mode
[Procedure]
SYSTEM>INIT>CMU V9.00
MODE ,DATA,RATE,STOP,PARI,TERM,XON,RTS
ONLINE, 8,9600, 1 ,ODD ,CRLF,YES,NO
4-234
12. "SYSTEM" mode
c CAUTION
The clock used in the controller might differ from the correct time.
If this happens, set the correct time.
[Procedure]
OPERATION
■ Initializing the clock
SYSTEM>INIT>CLOCK V9.00
DATE,TIME :06/06/01,10:13:35
DATE TIME
3) Enter the date or time in the specified format and then press .
4-235
12. "SYSTEM" mode
mode.
Should the memory for the system generation be destroyed by some serious problem the
Chapter user must make the correct system generation settings. To protect the equipment against
4 such accidents, save the initial parameter data when shipped from YAMAHA and the
parameter data from system upgrades onto an external PC storage device by way of the
OPERATION
RS-232C.
c CAUTION
• If you change the system generation by mistake, this may adversely
affect robot operation or create hazards to operators. Always consult
YAMAHA if changes have been made.
• Please note that YAMAHA cannot be liable for problems resulting from
changing the system generation settings without first consulting YAMAHA.
4-236
12. "SYSTEM" mode
[Procedure]
■ Self diagnosis
Chapter
SYSTEM>DIAGNOS V9.00
4
OPERATION
CHECK HISTRY BATTERY TOTAL
Valid keys and submenu descriptions in "SYSTEM>DIAGNOS" mode are shown below.
4-237
12. "SYSTEM" mode
n NOTE
• An error message will always appear if DC 24V is not supplied to STD.DIO.
• An error message will always appear if DC 24V is not supplied to the
option DIO.
Chapter
[Procedure]
■ System check
SYSTEM>DIAGNOS>CHECK V9.00
System check OK !!
NEXT P. PREV.P.
Pressing (NEXT P.) or (PREV. P.) changes the display one screen at a
time.
4-238
12. "SYSTEM" mode
c CAUTION
• Errors are not recorded when identical to a preceding error that just
occurred.
• The error category "0" is not recorded.
• The error history is initialized when (CLEAR) is used. Do not initialize Chapter
OPERATION
[Procedure]
■ Error histor y
SYSTEM>DIAGNOS>HISTRY V9.00
1:06/06/01,10:15:00 12.1:Emg.stop on
2:06/06/01,10:14:54 22.1:AC power low
3:06/06/01,09:59:34 17.4:D1,Over load
4:06/06/28,14:00:02 12.1:Emg.stop on
5:06/06/30,08:40:10 22.1:AC power low
NEXT P. PREV.P. CLEAR
One screen displays the past 5 errors in order from the most recent error.
Error information is displayed in the following format.
<Date>, <Time> <Error No.>:<Error message>
* The hour, minute and second are displayed for the time.
Pressing (NEXT P.) or (PREV. P.) changes the display one screen at a
time.
4-239
12. "SYSTEM" mode
[Procedure]
1) Press (TOTAL).
SYSTEM>DIAGNOS>TOTAL V9.00
Chapter
Run time = 0/ 2/ 8: 45
CLEAR
The 3rd line shows the date and time that the total operation time was reset.
The "Power-on time" is the total time that the controller power has been on.
The "Run time" is the total time that the controller has performed automatic operation.
Pressing (CLEAR) resets the total operation time. The display shows the new
total operation time starting from the date and time after reset.
4-240
12. "SYSTEM" mode
n NOTE
All error information will be initialized when the error history is initialized.
[Procedure]
OPERATION
SYSTEM>DIAGNOS>SYS.CHK V9.00
4-241
12. "SYSTEM" mode
[Procedure]
■ Backup
Chapter
SYSTEM>BACKUP V9.00
4
OPERATION
SD CARD FROM
Valid keys and submenu descriptions in "SYSTEM>BACKUP" mode are shown below.
4-242
12. "SYSTEM" mode
c CAUTION
Do not remove the SD memory card while data is being saved on it or
loaded from it. Removing the card at that time might corrupt the data.
n NOTE
This controller allows handling subdirectories down to 8 levels of hierarchy
Chapter
4
below the root directory. Operation to a subdirectory lower than this level is
OPERATION
not allowed.
n NOTE
This controller supports only FAT12 and FAT16 file systems. If the files were
created on a PC, then the file names might differ from those displayed on
the PC.
ETY
SAF
! -STO
P
EXT.E-12
PIN11
YM
OM
SD/C SD memory card
MEMORY
SD
CARD
4-243
12. "SYSTEM" mode
[Procedure]
When the SD memory card is inserted in the slot, information on files stored on the
SD memory card is displayed. If no SD memory card is inserted, a "15.21: Cannot find
media" error occurs.
SYSTEM>BACKUP>SDCARD V9.00
Chapter
4 SD:\
FILE1 .ALL 102520 06/04/07 13:30
OPERATION
2) The path to the currently displayed directory is shown in the 3rd line.
3) Files or subdirectory in the directory are shown in the 4th to 7th lines.
Valid keys and submenu descriptions in "SYSTEM>BACKUP>SD CARD" mode are shown
below.
4-244
12. "SYSTEM" mode
c CAUTION
Do not remove the SD memory card while data is being loaded from it.
n NOTE
subdirectory. 4
OPERATION
[Procedure]
1) In the "SYSTEM>BACKUP>SD CARD" mode, select the file to be loaded using the
cursor up/down (↑/↓) keys.
2) Press (LOAD).
■ Loading a file
SYSTEM>BACKUP>SDCARD V9.00
SD:\
FILE1 .ALL 102520 06/04/07 13:30
FILE2 .PGM 8528 06/04/12 17:07
SUBDIR . <DIR> 06/03/27 15:21
FILE3 .PNT 1741 06/04/21 10:45
Load from SDCARD OK? YES NO
4-245
12. "SYSTEM" mode
4-246
12. "SYSTEM" mode
n NOTE
File names can be up to 8 characters consisting of a combination of
alphanumeric characters (0 to 9, A to Z) and underscores ( _ ).
c CAUTION
Do not remove the SD memory card while a file is being saved on it. Chapter
[Procedure]
4
OPERATION
1) Press (SAVE) in "SYSTEM>BACKUP>SD CARD" mode.
SYSTEM>BACKUP>SDCARD>SAVE V9.00
SD:\
FILE1 .ALL 102520 06/04/07 13:30
FILE2 .PGM 8528 06/04/12 17:07
SUBDIR . <DIR> 06/03/27 15:21
FILE3 .PNT 1741 06/04/21 10:45
.ALL .PGM .PNT .SFT .HND
4-247
12. "SYSTEM" mode
SYSTEM>BACKUP>SDCARD>SAVE V9.00
SD:\
FILE1 .ALL 102520 06/04/07 13:30
FILE2 .PGM 8528 06/04/12 17:07
SUBDIR . <DIR> 06/03/27 15:21
FILE3 .PNT 1741 06/04/21 10:45
Chapter Enter file name >ABC .ALL
4
OPERATION
4) Press .
SYSTEM>BACKUP>SDCARD>SAVE V9.00
ABC .ALL
4-248
12. "SYSTEM" mode
n NOTE
Subdirectories cannot be deleted.
c CAUTION
Do not remove the SD memory card while a file is being deleted from it.
Chapter
[Procedure]
1) In "SYSTEM>BACKUP>SD CARD" mode, select the file to be deleted using the cursor
4
OPERATION
up/down (↑/↓) keys.
2) Press (DEL).
■ Deleting a file
SYSTEM>BACKUP>SDCARD V9.00
4-249
12. "SYSTEM" mode
n NOTE
The preview shows a maximum 512-bytes of information from the beginning
of a file.
[Procedure]
1) In "SYSTEM>BACKUP>SD CARD" mode, select the file to be previewed using the
Chapter
cursor up/down (↑/↓) keys.
4
OPERATION
2) Press (PREVIEW).
■ Previewing a file
SYSTEM>BACKUP>SDCARD>PREVIEW V9.00
SD:\
FILE3 .PNT 1741 06/04/21 10:45
P1 = 0 0 0 0
P2 = 50.00 200.00 55.00 0.00
P142 = 780.45 -158.17 102.82 15.23
P150 = 215078 4025158 81025 -52422
Use the cursor keys to scroll the screen up or down or right or left.
4-250
12. "SYSTEM" mode
n NOTE
If the data in the internal memory is destroyed for any reason, it can be
restored by loading the backup data from the internal flash ROM. We
recommend backing up the data in the internal flash ROM before starting
the robot system.
Chapter
4
c CAUTION
OPERATION
• Data saved in the internal flash ROM cannot be loaded back if any
hardware trouble occurs. Always save the data onto an external PC
storage device.
• If an abnormal process occurs, such as if the power is turned OFF while
saving data, the data cannot be guaranteed.
[Procedure]
■ Backing up FROM
SYSTEM>BACKUP>FROM V9.00
4-251
12. "SYSTEM" mode
n NOTE
If the data in the internal memory is destroyed for any reason, it can be
restored by loading the backup data from the internal flash ROM. We
recommend backing up the data in the internal flash ROM before starting
the robot system.
Chapter
4
c CAUTION
OPERATION
• When reading data with ALL files or as parameter files, the servo must be
off. After the files are read in, the return-to-origin incomplete state will be
set.
• Data saved in the internal flash ROM cannot be loaded back if any
hardware trouble occurs. Always save the data onto an external PC
storage device.
• If an abnormal process occurs, such as if the power is turned OFF while
saving data, the data cannot be guaranteed.
[Procedure]
■ Loading FROM
SYSTEM>BACKUP>FROM>LOAD V9.00
4-252
12. "SYSTEM" mode
OPERATION
F9 .PCM Only point comment files are loaded.
SYSTEM>BACKUP>FROM>LOAD>.PGM V9.00
4-253
12. "SYSTEM" mode
n NOTE
If the data in the internal memory is destroyed for any reason, it can be
restored by loading the backup data from the internal flash ROM. We
recommend backing up the data in the internal flash ROM before starting
Chapter the robot system.
4
c CAUTION
OPERATION
• If data has already been written in, it cannot be overwritten and saved.
If data has already been written in, initialize the memory, and then save
the new data.
• The data saved on the internal flash ROM cannot be restored if any
hardware trouble occurs. Always save the data onto an external PC
storage device.
• If an abnormal process occurs, such as if the power is turned OFF while
saving the data, the data cannot be guaranteed.
• The "Skip undefined parameters" setting among "other" parameters will
not be saved.
[Procedure]
SYSTEM>BACKUP>FROM>SAVE V9.00
4-254
12. "SYSTEM" mode
n NOTE
If the data in the internal memory is destroyed for any reason, it can be
restored by loading the backup data from the internal flash ROM. We rec-
ommend backing up the data in the internal flash ROM before starting the
robot system.
Chapter
c CAUTION
• If data is already written in, the data must be saved after the initialization
4
OPERATION
process.
• The data saved on the internal flash ROM cannot be restored if any
hardware trouble occurs. Always save the data onto an external PC
storage device.
• If an abnormal process occurs, such as if the power is turned OFF while
initializing the data, then the data cannot be guaranteed.
[Procedure]
SYSTEM>BACKUP>FROM>INIT V9.00
4-255
13. "MONITOR" mode
n NOTE
I/O ports that do not actually exist are also displayed.
Chapter [Procedure]
4 1) Press .
OPERATION
Input status is displayed in the data area (3rd to 7th lines) as shown below.
DI monitor
DI0()=&B00000101 DI4()=&B00000000
DI1()=&B00000010 DI5()=&B00000000
DI2()=&B00000000 DI6()=&B00000000
DI3()=&B00000000 DI7()=&B00000000
EDIT TEACH JUMP VEL+ VEL-
Display format:
<Port No.> = &B<bit 7><bit 6> to <bit 0>
2) Press again.
Input status is displayed in the data area (3rd to 7th lines) as shown below.
DI monitor
DI10()=&B00000101 DI14()=&B00000000
DI11()=&B00000010 DI15()=&B00000000
DI12()=&B00000000 DI16()=&B00000000
DI13()=&B00000000 DI17()=&B00000000
EDIT TEACH JUMP VEL+ VEL-
4-256
13. "MONITOR" mode
Pressing + changes the screen in the reverse of the sequence shown in 3).
4
OPERATION
n NOTE
The screen display is updated at periodic intervals.
DI monitor
DI0()=&B00000101 DI4()=&B00000000
DI1()=&B00000001 DI5()=&B00000000
DI2()=&B00000000 DI6()=&B00000000
DI3()=&B00000000 DI7()=&B00000000
EDIT TEACH JUMP VEL+ VEL-
SIW monitor
SIW(0)=&H0000 SIW(4)=&H0000
SIW(1)=&H0000 SIW(5)=&H0000
SIW(2)=&H0000 SIW(6)=&H0000
SIW(3)=&H0000 SIW(7)=&H0000
EDIT TEACH JUMP VEL+ VEL-
4-257
13. "MONITOR" mode
Task monitor:Line(Status),Pri
T1 = 6(RUN),32 T5 =
T2 = 10(SUS),32 T6 =
T3 = T7 =
T4 = T8 = 12(RUN),35
EDIT TEACH JUMP VEL+ VEL-
Chapter
4-258
14. "UTILITY" mode
n NOTE
The current internal controller temperature is displayed on the right end of
the 3rd line.
[Procedure]
Chapter
1) Press ( + ).
4
The "UTILITY" mode screen is displayed.
OPERATION
■ "UTILITY" mode
UTILITY
2) Press ( + ) again.
■ "UTILITY" mode
UTILITY
4-259
14. "UTILITY" mode
Valid keys and submenu descriptions in "UTILITY" mode are shown below.
4-260
14. "UTILITY" mode
(1) When the emergency stop button was released after pressing the emergency stop
button.
(2) When the switch contact was closed after triggering emergency stop by opening the Chapter
OPERATION
[Procedure]
UTILITY
The internal emergency stop flag is cancelled. You can then move on to the next
operation explained in 14.1.2, "Motor power and servo on/off".
4-261
14. "UTILITY" mode
n NOTE
When using a PHASER series robot, noise is emitted for 0.5 to 2 seconds
during the first servo-on after turning the power on. This is just the routine
pre-action for obtaining information needed to control the robot and is not
Chapter
a problem.
4
c
OPERATION
CAUTION
regard to heavy up/down vertical axes, as they may drop when the brake is
released.
[Procedure]
Press (Off) to turn off the motor power supply and servo.
■ Ser vo on/off
UTILITY>MOTOR
4-262
14. "UTILITY" mode
4) To set the servo of each axis to "On", "Off" or "Free", select the axis with the cursor
(↑/↓) keys.
When setting the servo to "On", the servo power for the axis must be turned on
beforehand by the operation in step 2.
UTILITY>MOTOR
motor power : On
D1=M1 :Free D5=M5 :no axis Chapter
D2=M2 :Servo D6=M6 :no axis
D3=M3 :no axis 4
D4=M4 :no axis
OPERATION
Servo Brake
n NOTE
(release brake).
4-263
14. "UTILITY" mode
n NOTE
The following conditions must be satisfied before executing a sequence
program.
1. An object program must be made for sequence execution.
2. Sequence execution must be enabled.
3. DI10 (Sequence permit) contact point must be closed.
Chapter
4. Operation must be in "AUTO" mode or "MANUAL" mode.
4
OPERATION
[Procedure]
UTILITY>SEQUENC
ENABLE DISABLE
4-264
14. "UTILITY" mode
[Procedure]
UTILITY >RST.DO 4
OPERATION
Date,Time : 06/06/01,18:59:37 (36oC)
Execut level: LEVEL0
Access level: LEVEL0
4-265
14. "UTILITY" mode
Chapter
4 n NOTE
Execution level is automatically set to "LEVEL 0" in the following cases.
1. When parameter data was damaged.
OPERATION
Description
When power is turned on
Program Program Return-to-
Level execution reset at origin signal
at origin Program program in AUTO
Mode
incomplete reset start mode
4-266
14. "UTILITY" mode
[Procedure]
(EXECUTE).
UTILITY Chapter
OPERATION
Execut level: LEVEL7
Access level: LEVEL0
UTILITY>EXECUTE
4-267
14. "UTILITY" mode
[Procedure]
1) Press (HELP).
Press (NEXT P.) or cursor (↓) key to refer to the next page or press (PREV.
UTILITY>EXECUTE>HELP
NEXT P. PREV. P.
UTILITY>EXECUTE>HELP
NEXT P. PREV. P.
4-268
14. "UTILITY" mode
n NOTE
Access level is automatically set to "LEVEL 0" in the following cases.
Chapter
1. When "ALL" was executed during memory initialization setting (Refer to
"12.4.2 Initializing the memory".) 4
2. When the memory was destroyed (when "9.3: Memory destroyed"
OPERATION
message was displayed)
3. When a program was destroyed (when"9.1: Program destroyed" message
was displayed)
4. When point data was destroyed (when "9.2: Point data destroyed"
message was displayed)
5. When shift data was destroyed (when "9.6: Shift data destroyed" message
was displayed)
6. When hand data was destroyed (when "9.7: Hand data destroyed"
message was displayed)
7. When a parameter was destroyed (when "9.4: Parameter destroyed"
message was displayed)
8. When generation data was destroyed (when "9.33: Sys. generation
destroyed" message was displayed)
Level Description
LEVEL0 All operations are allowed.
All data changes are prohibited. (Program changes, teaching, data
LEVEL1
deletion, data initializing, etc are prohibited.)
In addition to level 1, mode selection is restricted to MANUAL and
LEVEL2
AUTO modes.
In addition to level 2, mode speed changes and display of program
LEVEL3
list in AUTO mode are prohibited.
4-269
14. "UTILITY" mode
[Procedure]
A message "Enter password" appears on the guideline. Enter with "LVL" here and press
Chapter
■ Setting the access level (1)
4
UTILITY
OPERATION
Enter password>LVL_
UTILITY>ACCESS
4-270
14. "UTILITY" mode
[Procedure]
UTILITY>ACCESS
Chapter
Access level: LEVEL2
4
OPERATION
LEVEL0 LEVEL1 LEVEL2 LEVEL3 HELP
4-271
14. "UTILITY" mode
[Procedure]
1) Press (HELP).
Press (NEXT P.) or cursor (↓) key to refer to the next page or press (PREV.
UTILITY>ACCESS>HELP
NEXT P. PREV. P.
UTILITY>
>ACCESS>HELP
NEXT P. PREV. P.
4-272
Chapter 5 PARALLEL I/O INTERFACE
Contents
1. Standard I/O interface overview 5-1
1.1 ID setting 5-2
1.2 Connector I/O signals 5-3
1.3 Connector pin numbers 5-6
1.4 Connecting the power supply 5-7
1.4.1 NPN/PNP power connector wiring 5-8
1.5 Typical input signal connection 5-9
1.6 Typical output signal connection 5-10
1.7 Dedicated I/O signals 5-11
1.7.1 Dedicated input signals 5-11
1.7.2 Dedicated output signals 5-13
1.8 General-purpose I/O signals 5-15
1.8.1 General-purpose output reset 5-15
1.9 Dedicated I/O signal timing charts 5-16
1.9.1 Turning the power on 5-16
1.9.2 Emergency stop and servo ON 5-18
1.9.3 Return-to-origin 5-19
1.9.4 Mode switching 5-20
1.9.5 Automatic operation 5-21
2. Ratings 5-22
3. Precautions 5-23
1. Standard I/O interface over view
n NOTE
See "7. I/O connections" in Chapter 3 for a definition of NPN and PNP
specifications.
Chapter
■ DIO option board
5
(2)
(3)
5-1
1. Standard I/O interface over view
1.1 ID setting
Use the DIP switch on the DIO option board to set the board ID (1 to 4). This ID
determines the correspondence between the I/O connector pins and the controller I/O
signals.
c CAUTION
When using two or more DIO option boards, set different IDs so that they do
not overlap.
■ DIP switch
Chapter
5
PARALLEL I/O INTERFACE
ON ON 1 DI20-DI37/DO20-DO27 Available *1
OFF ON 2 DI40-DI67/DO30-DO47 None
ON OFF 3 DI70-DI117/DO50-DO67 None
OFF OFF 4 DI120-DI147/DO70-DO107 None
*1: To enable the dedicated inputs, CHK1 (pin No. 4) and CHK2 (pin No. 40) of the I/O
connector must be shorted. For details, refer to "1.2 Connector I/O signals" in
Chapter 5.
5-2
1. Standard I/O interface over view
n NOTE
• CHK1 and CHK2 inputs are used to check the connector connection.
Always short them together when the ID is set to 1.
• When a serial IO option is installed in the controller and the serial IO is
enabled, the dedicated inputs of the DIO option are disabled. (Only the
dedicated inputs of the serial IO are enabled.)
c CAUTION
• DI06 and DI07 cannot be used.
• DO15 outputs a low voltage alarm when the memory backup battery
voltage drops.
• Area check outputs can be assigned to DO20 to DO27.
5-3
1. Standard I/O interface over view
5 13
14
DI55
DI56
DI105
DI106
DI135
DI136
General-purpose input
General-purpose input
15 DI57 DI107 DI137 General-purpose input
PARALLEL I/O INTERFACE
16 --- Spare
17 --- Spare
18 DO30 DO50 DO70 General-purpose output
19 DO31 DO51 DO71 General-purpose output
20 DO32 DO52 DO72 General-purpose output
21 DO33 DO53 DO73 General-purpose output
22 DO34 DO54 DO74 General-purpose output
23 DO35 DO55 DO75 General-purpose output
24 DO36 DO56 DO76 General-purpose output
25 DO37 DO57 DO77 General-purpose output
26 DI42 DI72 DI122 General-purpose input
27 DI43 DI73 DI123 General-purpose input
28 DI44 DI74 DI124 General-purpose input
29 DI45 DI75 DI125 General-purpose input
30 DI46 DI76 DI126 General-purpose input
31 DI47 DI77 DI127 General-purpose input
32 DI60 DI110 DI140 General-purpose input
33 DI61 DI111 DI141 General-purpose input
34 DI62 DI112 DI142 General-purpose input
35 DI63 DI113 DI143 General-purpose input
36 DI64 DI114 DI144 General-purpose input
37 DI65 DI115 DI145 General-purpose input
38 DI66 DI116 DI146 General-purpose input
39 DI67 DI117 DI147 General-purpose input
40 --- Spare
41 --- Spare
42 --- Spare
43 DO40 DO60 DO100 General-purpose output
44 DO41 DO61 DO101 General-purpose output
45 DO42 DO62 DO102 General-purpose output
46 DO43 DO63 DO103 General-purpose output
47 DO44 DO64 DO104 General-purpose output
48 DO45 DO65 DO105 General-purpose output
49 DO46 DO66 DO106 General-purpose output
50 DO47 DO67 DO107 General-purpose output
c CAUTION
• On controllers of Ver. 9.22 onwards, the area check can be assigned to
DO20 to DO27, DO30 to DO37, DO40 to DO47, DO50 to DO57, DO60 to
DO67, DO70 to DO77, and DO100 to DO107.
• Do not connect anything to the "Spare" pins.
5-4
1. Standard I/O interface over view
■ Pinout tables
STD.IO
1 DI01 Servo ON 26 DI12 RUN
2 DI10 SEQ control 27 DI13 AUTO
3 DI03 STEP-R 28 DI14 ABS (absolute)
reset
4 CHK1 Check input 1 29 DI15 RESET
5 DI05 IO command 30 DI16 MANUAL
6 DI06 (Spare) 31 DI17 ORIGIN
7 DI07 (Spare) 32 DI30 General-purpose
General-purpose General-purpose input
8 DI20 input 33 DI31 input
9 DI21 General-purpose 34 DI32 General-purpose
General-purpose input General-purpose input
10 DI22 input 35 DI33 input
11 DI23 General-purpose 36 DI34 General-purpose
General-purpose input General-purpose input
12 DI24 input 37 DI35 input
13 DI25 General-purpose 38 DI36 General-purpose
General-purpose input General-purpose input
14 DI26 input 39 DI37 input
15 DI27 General-purpose 40 CHK2 Check input 2
input
16 DO00 E-STOPOUT 41 DO02 SERVO
17 DO01 CPUOK 42 DO03 ALARM Chapter
18 DO10 AUTO 43 DO20 General-purpose
output
20 DO12 SEQRUN
19 DO11
21 DO13
ORGOK
RUN
45 DO22 General-purpose
output
44 DO21
46 DO23
General-purpose
output
General-purpose
5
General-purpose output
OP.DIO
1 − Do not use. 26 DI42 General-purpose
General-purpose General-purpose input
2 DI40 input 27 DI43 input
3 − Do not use. 28 DI44 General-purpose
General-purpose General-purpose input
4 DI41 input 29 DI45 input
5 − Do not use. 30 DI46 General-purpose
General-purpose input
6 − Do not use. 31 DI47 input
7 − Do not use. 32 DI60 General-purpose
General-purpose General-purpose input
8 DI50 input 33 DI61 input
9 DI51 General-purpose 34 DI62 General-purpose
General-purpose input General-purpose input
10 DI52 input 35 DI63 input
11 DI53 General-purpose 36 DI64 General-purpose
General-purpose input General-purpose input
12 DI54 input 37 DI65 input
13 DI55 General-purpose 38 DI66 General-purpose
General-purpose input General-purpose input
14 DI56 input 39 DI67 input
15 DI57 General-purpose 40 − Do not use.
input
16 − Do not use. 41 − Do not use.
17 − Do not use. 42 − Do not use.
18 DO30 General-purpose 43 DO40 General-purpose
output General-purpose output General-purpose
19 DO31 output 44 DO41 output
20 DO32 General-purpose 45 DO42 General-purpose
output General-purpose output
21 DO33 output 46 DO43 General-purpose
output
22 DO34 General-purpose 47 DO44 General-purpose
output General-purpose output General-purpose
24 DO36 General-purpose 23 DO35 output 49 DO46 General-purpose 48 DO45 output
output output
25 DO37 General-purpose General-purpose
50 DO47 output
output
5-5
1. Standard I/O interface over view
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
Chapter
5
PARALLEL I/O INTERFACE
1 26
2 27
3 28
4 29
5 30
6 31
7 32
8 33
9 34
10 35
11 36
12 37
13 38
14 39
15 40
16 41
17 42
18 43
19 44
20 45
21 46
22 47
23 48
24 49
25 50
5-6
1. Standard I/O interface over view
1 2
Chapter
1 DC24V AWG22 to 18
2 GND AWG22 to 18
c CAUTION
Do not keep supplying the external 24V DC power to the I/O power
connector while controller power is off. The controller might malfunction if
the external 24V is continuously supplied.
n NOTE
A message "12.31: DI DC24V disconnected" appears if no 24V power supply
is connected to the DIO option board.
5-7
1. Standard I/O interface over view
7mm
● Wiring
Terminate the wiring as shown in the following photos.
■ When using the lever to make the connection
Chapter
5
PARALLEL I/O INTERFACE
(1) Using your finger, press (2) Insert the wire lead all the (3) Release the lever to
down on the upper lever way into the opening make the wiring connec-
attached to the slot to (round hole) while still tion. Pull gently on the
depress the internal holding the lever down. wire to make sure it is
spring. securely attached. (Do
not pull strongly on the
wire.)
(1) Insert the screwdriver (2) Insert the wire with (3) Pull gently on the wire to
into the slot (square exposed lead all the way make sure it is securely
hole). The screwdriver into the opening (round attached. (Do not pull
will stay held in place if it hole). strongly on the wire.)
was inserted correctly.
5-8
1. Standard I/O interface over view
DC24V
DI
DI
Chapter
■ PNP specifications
DC24V
DI
DI
GND
5-9
1. Standard I/O interface over view
DC24V
DO
Chapter
5
PARALLEL I/O INTERFACE
GND
c CAUTION
• When an inductive load (solenoid, relay, etc.) is used, always connect a
diode in parallel as a surge killer.
• In the case of NPN specifications, do not short DO output to DC 24V since
this will damage the internal circuitry.
■ PNP specifications
DC24V
DO
GND
c CAUTION
In the case of PNP specifications, do not short DO output to GND since this
will damage the internal circuitry.
5-10
1. Standard I/O interface over view
n NOTE
The pulse width of an input signal must be longer than 10ms. If two or more
dedicated input signals are supplied simultaneously, those signals may not
be recognized by the controller. Provide an interval of at least 100ms
between each dedicated input signal. Chapter
5
DI01 Ser vo ON
n NOTE
When using a PHASER series robot, noise is emitted for 0.5 to 2 seconds
during the first servo-on after turning the power on. This is just the routine
pre-action for obtaining information needed to control the robot and is not
a problem.
n NOTE
The DI00 (Emergency stop ready signal) and DI11 (Interlock input) input
terminals are on the SAFETY connector. Refer to Chapter 6 for detailed
information.
5-11
1. Standard I/O interface over view
n NOTE
When not using IO commands, set the IO command setting to "Disable" by
parameter.
Refer to the programming manual for detailed information on IO
commands.
programs.
n NOTE
The DI00 (Emergency stop ready signal) and DI11 (Interlock input) input
terminals are located in the SAFETY connector. See Chapter 6 for detailed
information.
5-12
1. Standard I/O interface over view
DO01 CPU OK
This signal is on while the controller is operating normally.
This signal turns off when either of the following conditions occurs, and the
controller stops.
• When a serious error has occurred
• When the control power supply voltage has dropped below the specified value
When this signal turns off, the controller power must be turned off and then back on,
in order to restore the normal state.
DO03 Alarm
This signal turns on in the following cases. The ERR indicator LED on the front panel
of the controller also lights up when this alarm signal turns on.
1) When DI00 (Emergency stop ready signal) turned off. In this case, canceling
emergency stop or inputting DI01 (Servo ON) turns off the alarm.
5-13
1. Standard I/O interface over view
2) When a serious error was detected by the controller. In this case, canceling
emergency stop turns off the alarm, but the controller power must be turned
off and then back on, in order to turn on the servo again or perform automatic
operation.
3) When the controller stopped operation due to a serious error. The alarm cannot be
turned off in this case. The controller power must be turned off and then back on,
to turn off the alarm.
DO16 END
This signal turns on when the system backup battery voltage is low.
DO17 BUSY
This signal is on while an IO command is being executed.
5-14
1. Standard I/O interface over view
5
n NOTE
2) When any of the following operations was performed without executing a sequence
program or with the sequence execution flag DO reset activated.
■ When compile ended successfully in "PROGRAM" mode.
■ When a program was compiled in "AUTO" mode and the compile ended
successfully.
■ When the dedicated input signal DI15 (Program reset input) was turned on in
"AUTO" mode while the program was stopped.
(Refer to "1.7.1 Dedicated input signals" in this chapter.)
■ When either of the following was initialized in "SYSTEM>INIT" mode.
1. Program memory (SYSTEM>INIT>MEMORY>PROGRAM)
2. Entire memory (SYSTEM>INIT>MEMORY>ALL)
(Reset (off) does not occur if the SWI statement was executed in the program.)
■ When the online commands @RESET, @INIT PGM, @INIT MEM, @INIT ALL,
or @SWI were executed.
■ When the HALT statement was executed in the program.
5-15
1. Standard I/O interface over view
Approx. 3 sec.
Control power
DO01 CPU OK
DO03 Alarm
• MPRDY (Main power ON ready) turns on after the control power supply turns on.
Then turn on the main power to the external device.
• After DO01 (CPU OK) turns on, the robot servo turns on and then DO02 (Servo-on
state) turns on. However, if serial IO setting or "SAFE" mode is enabled, the robot
starts with the servo turned off.
5-16
1. Standard I/O interface over view
Approx. 3 sec.
Control power
Main power 5
DO03 Alarm
• DO00 (Emergency stop contact monitor) and DO03 (Alarm) turn on after the
control power supply turns on. MPRDY (Main power ON ready) output remains off.
The robot starts with the servo turned off.
n NOTE
• It takes about 3 seconds until CPU OK is output after turning on the
control power supply
• The main power supply can be left on during operation.
5-17
1. Standard I/O interface over view
Main power
Chapter
DO03 Alarm
DI01 Servo ON
MIN 100msec
• To turn on the servo, DI00 (Emergency stop ready signal) in the SAFETY connector
must be on and the main power supply must be input.
• Wait at least 100msec after the main power is input before turning on DI01 (Servo
ON input).
• Turn off DI01 (Servo ON input) after making sure that DO02 (Servo-on state output)
is on.
5-18
1. Standard I/O interface over view
1.9.3 Return-to-origin
■ Return-to-origin
Conditions: MANUAL mode and servo ON
DO03 Alarm
Chapter
Return-to-origin operation
Absolute search operation
• To perform return-to-origin, DI00 (Emergency stop ready signal) and DI11 (Interlock
input) must be on, and the robot servo must also be on.
• When DO11 (Return-to-origin complete output) is on, return-to-origin does not
have to be performed.
• The "on" period of DI17 (ABS reset) input pulse must be longer than 10msec.
• DO11 (Return-to-origin complete output) turns off (return-to-origin incomplete
state) when the robot starts return-to-origin or absolute search operation. After
that, if the return-to-origin or absolute search operation is interrupted before it
is complete due to interlock or emergency stop, then the robot status comes to
"return-to-origin incomplete".
• If DI11 (Interlock input) is turned off while return-to-origin is being performed on
an axis whose return-to-origin method is "Stroke end detection", that axis might
stop in contact with the stroke end. This probably causes an error such as overload,
so use caution.
n NOTE
The DI00 (Emergency stop ready signal) and DI11 (Interlock input) input
terminals are located in the SAFETY connector. See Chapter 6 for detailed
information.
5-19
1. Standard I/O interface over view
n NOTE
The DI00 (Emergency stop ready signal) and DI11 (Interlock input) input
terminals are located in the SAFETY connector. See Chapter 6 for detailed
information.
5-20
1. Standard I/O interface over view
DO03 Alarm
Chapter
DO10 AUTO mode
5
• To perform automatic operation, DI00 (Emergency stop ready signal) and DI11
(Interlock input) must be on, and DO03 (Alarm output) must be off.
• Turn off DI12 (Auto operation start input) after making sure that DO13 (Auto
operation-in-progress output) is on.
• DI15 (Program reset input) is invalid during automatic operation.
• Turn off DI15 (Program reset input) after making sure that DO14 (Program reset
output) is on.
n NOTE
The DI00 (Emergency stop ready signal) and DI11 (Interlock input) input
terminals are located in the SAFETY connector. See Chapter 6 for detailed
information.
5-21
2. Ratings
2. Ratings
c CAUTION
See "7. I/O connections" in Chapter 3 for a definition of NPN and PNP
specifications.
1. Input
■ NPN specifications
DC input (positive common type)
Method
Photocoupler insulation method
Chapter
Input power DC 24V±10%, 7mA/point
5 Response time 20ms Min. (during on/off)
PARALLEL I/O INTERFACE
■ PNP specifications
DC input (negative common type)
Method
Photocoupler insulation method
Input power DC 24V±10%, 7mA/point
Response time 20ms Min. (during on/off)
2. Output
■ NPN specifications
NPN open-collector (negative common type)
Method
Photocoupler insulation method
Load DC 24V±10%, 100mA/point (resistance load)
Response time 10ms Max.
■ PNP specifications
NPN open emitter (positive common type)
Method
Photocoupler insulation method
DC 24V±10%, 100mA/point (resistance
Load
load)* 1)
Response time 10ms Max.
5-22
3. Precautions
3. Precautions
1. When using a dual-lead proximity sensor as an input signal, check whether or not it
is within input signal specifications.
If the sensor has a high residual voltage during on and off, this might cause
malfunctions.
2. Take noise preventive measures when using an inductive load such as a solenoid
valve as an output load. For example, connect a diode (high-speed type) in parallel
at both ends of a load, as a surge killer to protect against noise.
Chapter
3. If a short occurs in the load or an excessive current flows, the internal over- 5
current protective circuit shuts off the interface circuit. Once this protective circuit
4. As a noise prevention, keep the machine power cables separate and make sure
wires are well shielded.
5. Do not keep supplying the external 24V DC power to the I/O power connector
while controller power is off. The controller might malfunction if the external 24V is
continuously supplied.
5-23
MEMO
5-24
Chapter 6 SAFETY I/O INTERFACE
Contents
1. SAFETY I/O interface overview 6-1
1.1 Power 6-1
1.2 Connector I/O signals 6-2
1.3 Connector terminal numbers 6-3
1.4 Emergency stop input signal connections 6-4
1.5 Dedicated input signal connections 6-10
1.6 Dedicated output signal connections 6-11
1.7 Input signal description 6-13
1.8 Meaning of output signals 6-14
1. SAFETY I/O interface over view
Specifications
Sumitomo 3M
Connector shell
Connector type No.
SAFETY 10320-52A0-008 Wire material 0.2 sq
KAS-M5370-001
Connector plug
10120-3000PE
The emergency stop ready signal utilizes internal power for input signal. 6
Dedicated I/O requires an external 24V DC power supply. Connect the 24V DC power
c CAUTION
Do not keep supplying the external 24V DC power to the SAFETY connector
while controller power is off. The controller might malfunction if the external
24V is continuously supplied.
6-1
1. SAFETY I/O interface over view
c CAUTION
• On the SAFETY connector that comes with the controller, pin 1 is shorted
to pin 10, pins 2, 3, 11 and 14 are shorted together, and pin 12 is shorted
to pin 13. Use these pins to make an interlock circuit to ensure the system
including the robot controller operates safely.
• Do not connect an external DC24V to E-STOP24V.
• See "7. I/O connections" in Chapter 3 for a definition of NPN and PNP
specifications.
• Do not connect any external signal to the NC terminals.
6-2
1. SAFETY I/O interface over view
1 2 3 4 5 6 7 8 9 10
11 12 13 14 15 16 17 18 19 20
Chapter
6-3
1. SAFETY I/O interface over view
c CAUTION
External emergency stop and the RPB emergency stop button are disabled
when pins 11 and 12 on the SAFETY connector are directly shorted to each
other. Make connections to ensure the system including the robot controller
will always operate safely.
RPB
13 E-STOP1
Chapter 14 E-STOP2
RPB connector
6 External emergency stop
circuit
SAFETY I/O INTERFACE
13 E-STOPIN1
14 E-STOPIN2
SAFETY DC24V
connector
11 E-STOP24V
12 E-STOPRDY
L
Motor drive
circuit
N
6-4
1. SAFETY I/O interface over view
Enable switch
RPB-E
13
RPB connector 14
15
16
17 Selector
18
19
20
21
22 Chapter
8 KEY1
SAFETY 9 KEY2
connector
13 E-STOPIN1
External emergency
stop circuit
14 E-STOPIN2
11 E-STOP24V
DC24V
12 E-STOPRDY
10
GND24V
Motor drive L
circuit N
6-5
1. SAFETY I/O interface over view
RPB
13
RPB connector 14
15
16
17
18
19
20
External service mode stop
circuit
1 DI.COM
Chapter
External 24V
6 3 SERVICE power supply
SAFETY I/O INTERFACE
SAFETY
connector
13 E-STOPIN1
External emergency stop
circuit
14 E-STOPIN2
11 E-STOP24V
DC24V
12 E-STOPRDY
Internal control
Main power supply
circuit control circuit
Control signal
detection circuit
Motor drive L
circuit
N
6-6
1. SAFETY I/O interface over view
Operation description:
• The RPB emergency stop switch and external emergency stop switch are connected
in series.
a. In normal operation, E-STOP24V is connected to E-STOPRDY via the RPB
emergency stop switch and SAFETY connector, and the controller internal motor
power relay turns on.
b. When emergency stop is triggered, power to E-STOPRDY of the SAFETY connector
is cut off and the motor power supply turns off. Emergency stop is triggered if the
RPB and SAFETY connector are removed.
• Pins 13 and 14, pins 15 and 16, pins 17 and 18, pins 19 and 20, and pins 21 and
22 on the RPB connector are shorted in the RPB terminator that comes with the
robot controller.
• Pin 1 is shorted to pin 10, pins 2, 3, 11 and 14 are shorted together, and pin 12 is Chapter
shorted to pin 13 in the SAFETY connector that comes with the robot controller.
6
c
6-7
1. SAFETY I/O interface over view
c CAUTION
External emergency stop and the RPB emergency stop button are disabled
when pins 11 and 12 on the SAFETY connector are directly shorted to each
other. Make connections to ensure the system including the robot controller
will always operate safely.
■ Connection when using the RPB-E (provided with an enable switch) with an external
emergency stop circuit (PNP specifications)
19
20
RPB-E
SAFETY Service key
connector switch
Emergency stop
13 E-STOPIN1 switch
14 E-STOPIN2
15 E-STOPIN3
16 E-STOPIN4
17 LCKIN1
18 LCKIN2
19 LCKIN3
24V 20 LCKIN4
11 E-STOP24V
12 E-STOPRDY
3 SERVICE
1 DICOM
10 GND
External emergency stop circuit
GND
Motor power
relay coil
GND
Motor power
supply circuit
AC 200V
6-8
1. SAFETY I/O interface over view
Operation description:
• The RPB-E emergency stop switch and external emergency stop switch are
connected in series. The enable switch is also connected in series to the RPB-E
emergency stop switch, but can be bypassed with the service key switch.
c CAUTION
• E-STOPRDY requires at least 100mA for the relay and photocoupler drive
current.
• Do not use E-STOP24V for anything other than emergency stop, interlock
and service mode inputs.
6-9
1. SAFETY I/O interface over view
c CAUTION
See "7. I/O connections" in Chapter 3 for a definition of NPN and PNP
specifications.
■ NPN specifications
Photocoupler 1 DI.COM
+
External 24V
power supply
3 SERVICE
Chapter
6
SAFETY I/O INTERFACE
2 INTERLOCK
■ PNP specifications
Photocoupler 1 DI.COM
External 24V
power supply
+
3 SERVICE
2 INTERLOCK
n NOTE
The NPN or PNP specifications can be selected by connecting DI.COM to
the positive or negative terminal of the external DC 24V power supply.
6-10
1. SAFETY I/O interface over view
4 DO.COM
5 MPRDY
Mechanical relay
External 24V
power supply
+
Chapter
6 SERVO OUT
6
6-11
1. SAFETY I/O interface over view
■ PNP specifications
4 DO.COM
5 MPRDY
6-12
1. SAFETY I/O interface over view
c CAUTION
See "7. I/O connections" in Chapter 3 for a definition of NPN and PNP
specifications.
n NOTE
• NPN and PNP specifications are determined by the DI.COM and
DO.COM inputs.
• A 7mA input current is required.
6-13
1. SAFETY I/O interface over view
This output turns off if an internal error occurs or MPON signal turns off. Supply this
output to a PLC or external device to allow it to determine the on/off conditions of
the main power supply.
6-14
Chapter 7 RS-232C INTERFACE
Contents
1. Communication overview 7-1
RS-232C INTERFACE
232C interface.
(2) Various commands are transmitted directly through a communication port from the
external devices. These commands are called online commands.
If this function is used, some operations can be performed from an external device
just by turning on power to the robot controller.
Example: @AUTO
Switches to "AUTO" mode.
@RUN
Executes a program.
@READ PNT
All point data are read out.
@MOVE P,P123,SPEED=30
Moves to point 123 at 30% of maximum speed.
n NOTE
On robot controllers with "SAFE" mode enabled, online commands might not
be used in service mode state depending on the operating device setting
in service mode.
7-1
2. Communication function over view
In "OFFLINE" mode, the communication between the robot and external unit is
executed with SEND commands in the program.
• SEND command (robot → external unit)
7-2
3. Communication specifications
3. Communication specifications
Chapter
3.1 Connector
7
The RS-232C interface connector is located on the front panel of the robot controller as
RS-232C INTERFACE
shown below.
■ RS-232C interface
OP.1
RGEN
MOTOR
RCX221 SRV
ERR
RDY
E-STOP
XM TEMP
ROB
I/O
ACIN
L
N
RPB
L1
OP.2
N1
YM
! SAFETY
EXT.E-STOP
PIN11-12
SD/COM
5
9
6
Specifications of the RS-232C interface connector installed on the robot controller are
shown below.
1. A D-SUB 9-pin female connector is installed on the robot controller, so use a
connection cable with a D-SUB 9-pin male connector.
2. Pin arrangement of D-SUB 9-pin connector is as follows.
7-3
3. Communication specifications
7 Controller
NC 1
External device
DCD
RS-232C INTERFACE
RXD 2 RXD
TXD 3 TXD
NC 4 DTR
GND 5 GND
NC 6 DSR
RTS 7 RTS
CTS 8 CTS
NC 9
* For signal wire layout on the external device, refer to the instruction manual for
that device.
7-4
3. Communication specifications
RS-232C INTERFACE
Baud rate [bps] 4800, [9600], 19200, 38400, 57600
Character length [bit] [8], 7
Stop bit [bit] [1], 2
Parity [Odd], even, none
Termination code [CRLF], CR
Flow control [XON/XOFF], RTS/CTS, none
Receive buffer 1024 bytes
Transmit buffer 1024 bytes
Numbers or items in brackets [ ] indicate settings after initialization.
n NOTE
1) Termination code
• Robot transmit
When CRLF (carriage return + line feed) is selected:
Transmits data with a CR code (0DH) and LF code (0AH) added at the
end of a line.
When CR (carriage return) is selected:
Transmits data with a CR code (0DH) added at the end of a line.
• Robot receive
Receives data by treating entries made up to the CR code as 1 line and
ignoring the LF code, regardless of which termination code is selected.
2) If the "Display language" parameter is set to "JAPANESE" in "SYSTEM" mode,
then set the character length to 8 bits.
Katakana letters (Japanese phonetic) cannot be output from the
communication port if set to 7 bits.
7-5
3. Communication specifications
n NOTE
RS-232C INTERFACE
When flow control is set to "XON/XOFF" or "none", CTS status does not affect
transmission. RTS is always on.
When flow control is set to "RTS/CTS" or "none", receiving XON and XOFF does
not affect transmission.
When flow control is set to "none", part of receive data might be lost.
7-6
3. Communication specifications
RS-232C INTERFACE
• When the program was reset.
• When an ONLINE statement or OFFLINE statement was executed according to the
robot language.
• When the communication parameter was changed in "SYSTEM" mode or when
initialization was executed.
2) Turning on an external device might send incorrect data to the robot controller which
is ready to receive data when the power is turned on. That incorrect data might then
be stored in the receive buffer if the controller is turned on prior to the external
device and cause communication errors.
In such a case,
• Reset the program before program execution.
• Clear the receive buffer by placing an ONLINE statement or OFFLINE statement at
the top of the program.
• Turn the external device on before turning the controller on.
3) When the external device does not support handshake protocols (BUSY control, XON/
XOFF control), the data processing speed becomes slower than the communication
speed, causing a communication error. In this case, take countermeasures such as
reducing the communication speed (baud rate).
4) When the communication speed is set at a high rate, communication errors might
occur due to external noise or other factors. In this case, take countermeasures such
as reducing the communication speed.
7-7
3. Communication specifications
AC100 to 200V
FG
Connector metal parts
Potential
7-8
3. Communication specifications
-0 SP 0 @ P p ー タ ミ 7
-1 XON ! 1 A Q a q 。 ア チ ム
RS-232C INTERFACE
-2 " 2 B R b r 「 イ ツ メ
-3 STOP XOFF # 3 C S c s 」 ウ テ モ
-4 $ 4 D T d t 、 エ ト ヤ
-5 % 5 E U e u . オ ナ ユ
-6 & 6 F V f v ヲ カ ニ ヨ
-7 ' 7 G W g w ァ キ ヌ ラ
-8 BS ( 8 H X h x ィ ク ネ リ
-9 TAB ) 9 I Y i y ゥ ケ ノ ル
-A LF EOF * : J Z j z ェ コ ハ レ
-B + ; K [ k { ォ サ ヒ ロ
-C , < L ¥ l l ヤ シ フ ワ
l
-D CR - = M ] m } ユ ス ヘ ン
-E . > N ^ n ~ ヨ セ ホ "
-F / ? O o ツ ソ マ 。
7-9
3. Communication specifications
3.6 Connecting to a PC
Chapter The following are examples of connecting to a PC using the YAMAHA communication
7 cable.
1) Using the PC's COM port
RS-232C INTERFACE
■ COM port
* Communication cable and conversion adapter are options.
OP.1
RGEN
RCX221
SRV
ERR
RDY
Straight serial conversion adapter Communication cable :
MOTOR E-STOP
XM TEMP
• Type No. KAX-M657E-010
ROB
I/O (RoHs-compliant product)
9 pins 9 pins
ACIN
L
N
RPB
L1
OP.2
N1
25 pins 25 pins COM port
or
YM
! SAFETY
EXT.E-STOP
PIN11-12
SD/COM
9 pins 9 pins
Communication cable @ PC
RCX221
Communication cable Length Cable type No.
3.5m KR7-M538F-100
q 25 pins ↔ 9 pins
5m KR7-M538F-300
3.5m KAS-M538F-000
w 9 pins ↔ 9 pins
5m KAS-M538F-100
c CAUTION
There is no problem with reversing the communication cable connections
by attaching the straight serial conversion adapter to the PC.
■ USB port
OP.1
RGEN
RCX221
SRV
ERR
RDY
MOTOR E-STOP
XM TEMP
ROB
I/O
L
N
RPB
L1
OP.2
N1
25 pins 25 pins
YM
or
! SAFETY
EXT.E-STOP
USB port
PIN11-12
SD/COM
9 pins 9 pins 9 pins
c CAUTION
Operation has been verified using only the USB serial conversion adapter
listed here. Operation has not been verified using conversion adapters with
the other part numbers or other manufacturers' products.
7-10
Chapter 8 SPECIFICATIONS
Contents
1. Controller basic specifications 8-1
Basic
capacity
Power capacity
Less than 800W (2 axes total)
1700VA
800 to 1200W (2 axes total)
2400VA
8
SPECIFICATIONS
specifications
W130 × H210 × D158 mm W158 × H210 × D158 mm
Dimensions
(main unit) (main unit)
Weight 2.9kg (main unit) 3.1kg (main unit)
Power supply voltage Single phase 200 to 230V AC ±10% (50/60Hz)
No. of controllable axes 2 axes maximum (simultaneous control: 2 axes)
Drive method AC full digital servo
Position detection Resolver, Resolver or magnetic linear scale
method
PTP motion (point to point), ARCH motion, linear interpolation,
Control method
circular interpolation
Axis control Coordinate system Joint coordinates, Cartesian coordinates
Position display units Pulses, mm (millimeters), deg (degrees)
Speed setting 1 to 100% (1% increments; setting can be changed by program)
Automatic acceleration setting by robot model and tip weight
Acceleration/deceleration parameter
setting Setting by accel coefficient and decel. rate parameters (1% steps)
(Can be changed by programming.)
Program language YAMAHA BASIC conforming to JIS B8439 (SLIM language)
Multitask 8 tasks maximum
Sequence program 1 program
364KB (Total of program and point data) (Available size for
Memory capacity
program when maximum number of points is used: 84KB)
100 programs (maximum number of programs)
9999 lines (maximum lines per program)
Programs
Programming 98KB (maximum capacity per program, maximum capacity per
object program)
Points 10000 points (maximum number of points)
MDI (coordinate data input), direct teaching, teaching
Point teaching
playback, offline teaching (data input from external unit)
Internal memory backup Lithium battery (Service life is about 4 years at 0 to 40°C)
Internal flash memory 512KB (ALL data only)
External memory backup SD memory card
8-1
1. Controller basic specifications
NPN/PNP specifications)
Dedicated input 16 points, dedicated output 16 points
CC-Link board General-purpose input 96 points, general-purpose output 96
points
Options Dedicated input 16 points, dedicated output 16 points
DeviceNet board General-purpose input 96 points, general-purpose output 96
points
Dedicated input 16 points, dedicated output 16 points
PROFIBUS board General-purpose input 96 points, general-purpose output 96
points
Ethernet board Conforms to IEEE802.3, 10Mbps (10BASE-T)
Programming box RPB, RPB-E
Regenerative unit RG2
PC software VIP+, VIP
c CAUTION
• Specifications and appearance are subject to change without prior
notice.
• See "7. I/O connections" in Chapter 3 for a definition of NPN and PNP
specifications.
8-2
2. Controller basic functions
SPECIFICATIONS
UTILITY mode (Major functions: motor power supply control, etc.)
Array declaration commands (DIM statement)
Assignment commands (Numeric assignment statement, character string
assignment statement, point definition, etc.)
Movement commands (MOVE, DRIVE, PMOVE statements, etc.)
Conditional branching commands (IF, FOR, WHILE statements, etc.)
Commands
External output commands (DO, MO, LO, TO, SO statements)
Parameter commands (ACCEL, OUTPOS, TOLE statements, etc.)
Condition wait command (WAIT statement)
Task related commands (START, SUSPEND, CUT statements, etc.)
etc.
Arithmetic functions (SIN, COS, TAN functions, etc.)
Character string functions (STR$, LEFT$, MID$, RIGHT$ functions, etc.)
Functions Point functions (WHERE, JTOXY, XYTOJ functions, etc.)
Parameter functions (ACCEL, OUTPOS, TOLE statements, etc.)
etc.
Simple variables (integer variables, real variables, character variables)
Array variables (integer variables, real variables, character variables)
Point variables
Variables Shift variables
Element variables (point element variables, shift element variables)
Input/output variables
etc.
Arithmetic operators (+, -, *, /, MOD)
Arithmetic
Logic operators (AND, OR, XOR)
operation
Relational operators (=, <, >, <>, <=, =>)
Monitor Input/output status monitor (200ms intervals)
Key operation commands (AUTO, RUN, RESET, STEP, etc.)
Utility commands (COPY, ERA, INIT, etc.)
Online commands
Data handling commands (READ, WRITE, ?VER, ?CONFIG, etc.)
Robot language commands (independent-executable commands)
Program, point, parameter, shift, hand, all, error history
Data files
etc.
Internal timer 10ms intervals
Program break
4 points maximum
points
8-3
3. Controller external view
16
Bottom view
8 50
SPECIFICATIONS
50
14
6-M3 130
100
16 126 5.5
158 (22)
OP.1
RGEN
RCX221
MOTOR
SRV
ERR
RDY
E-STOP
XM TEMP
ROB
I/O
ACIN
L
210
250
225
210 N
L1
RPB
OP.2
N1
YM
! SAFETY
EXT.E-STOP
PIN11-12
SD/COM
unit: mm
■ RCX221 with RG2 option installed
16
Bottom view
16
RG2
50
50
14
130
16 126 6-M3 30
100
5.5 5
158 (22)
RGEN
OP.1 RG2
RCX221
MOTOR
SRV
ERR
RDY
E-STOP
RGEN
XM TEMP
ROB
I/O
ACIN
L
210
250
225
210
210
N TEMP
RPB
L1
OP.2
N1
YM
! SAFETY
EXT.E-STOP
PIN11-12
SD/COM
unit: mm
8-4
3. Controller external view
16
Bottom view Chapter
8
50
SPECIFICATIONS
50
14
158
28 130
6-M3 100
16 126 5.5
158 (22)
OP.1
RGEN
RCX221 SRV
ERR
RDY
MOTOR
HP E-STOP
XM TEMP
ROB
I/O
ACIN
L
210
250
225
210
N
RPB
L1
OP.2
N1
YM
! SAFETY
EXT.E-STOP
PIN11-12
SD/COM
unit: mm
■ RCX221HP with RG2 option installed
16
RG2
16
Bottom view
50
50
14
158
6-M3 28 130 30
16 126 100
5.5 5
158 (22)
RGEN
OP.1 RG2
RCX221 SRV
ERR
RDY
MOTOR
HP E-STOP
RGEN
XM TEMP
ROB
I/O
ACIN
L
210
250
225
210
210
N TEMP
RPB
L1
OP.2
N1
YM
! SAFETY
EXT.E-STOP
PIN11-12
SD/COM
unit: mm
8-5
4. RPB basic specifications and external view
140
250
50.2
136
180
unit: mm
8-6
4. RPB basic specifications and external view
Chapter
SPECIFICATIONS
250
50.2
136
180
Enable switch
unit: mm
8-7
MEMO
8-8
Chapter 9 TROUBLESHOOTING
Contents
1. Error Messages 9-1
1.1 Robot controller error messages 9-1
[ 0] Warnings and messages 9-3
[ 1] Warnings (error history entry) 9-5
[ 2] Robot operating area errors 9-6
[ 3] Program file operating errors 9-9
[ 4] Data entry and edit errors 9-12
[ 5] Robot language syntax (compiling) errors 9-12
[ 6] Robot language execution errors 9-21
[ 9] Memory errors 9-26
[10] System setting or hardware errors 9-29
[12] I/O and option board errors 9-31
[13] RPB errors 9-35
[14] RS-232C communication errors 9-36
[15] Memory card errors 9-38
[17] Motor control errors 9-40
[21] Major software errors 9-47
[22] Major hardware errors 9-48
1.2 RPB Error Messages 9-53
2. Troubleshooting 9-55
2.1 When trouble occurs 9-55
2.2 Acquiring error information 9-56
2.2.1 Acquiring information from the RPB 9-56
2.2.2 Acquiring information from the RS-232C 9-56
2.3 Troubleshooting checkpoints 9-57
1. Error Messages
1. Error Messages
12.1: Emg.stop on 9
TROUBLESHOOTING
Message
Error classification No.
Error No.
Error group No.
n NOTE
Messages for group No. 0 are not stored in the error history.
9-1
1. Error Messages
[Format]
Error No. : [<location where error occurred>,] error message
... Displays the error message on screen.
Code : ... Displays the error code in hexadecimal numbers.
Meaning/Cause : ... Displays the meaning and cause of the error.
Action : ... Displays a message explaining action needed to eliminate or
Chapter
avoid error status.
9 Dedicated output : ... Refer to "(2) Dedicated output status".
TROUBLESHOOTING
c CAUTION
When an error cannot be cancelled, contact your YAMAHA sales dealer.
9-2
[ 0] Warnings and messages
TROUBLESHOOTING
code will be attached in parentheses at the end.
Code : &H0001
Meaning/Cause : a. Return-to-origin is incomplete because return-to-origin has
not been performed. So you …
• cannot execute programs and commands.
• cannot perform point teaching.
• cannot perform manual Cartesian movement (mm units).
b. ROB I/O cable was removed or disconnected.
c. Return-to-origin or absolute search operation was interrupted.
d. System generation was changed or parameters initialized. Or
parameters for specifying the origin position such as for the
return-to-origin direction or axis polarity were changed.
(Equivalent to writing ALL or PRM file on controller.)
Action : Perform return-to-origin to completion.
0.2 : Running
Code : &H0002
Meaning/Cause : Program or command is running.
Action : ---
0.4 : Compiling
Code : &H0004
Meaning/Cause : Robot language compiling (making an object program) is in
progress.
Action : ---
9-3
[ 0] Warnings and messages
0.5 : Busy
Code : &H0005
Meaning/Cause : Data is being saved on a memory card or internal ROM.
Action : ---
9-4
[ 1] Warnings (error histor y entr y)
TROUBLESHOOTING
"ALL" or "PRM" files cannot be written in servo-on.
Action : Turn off the servo before writing files.
1.32 Power on
Code : &H0120
Meaning/Cause : Controller operation started by power on.
Action : ---
9-5
[ 2] Robot operating area errors
9-6
[ 2] Robot operating area errors
TROUBLESHOOTING
Meaning/Cause : On SCARA robots, the sum of the absolute values for the X-axis
(or Y-axis) minus soft limit and the X-axis (or Y-axis) plus soft
limit is making the arm move 1 rotation or more.
Action : 1. Set the soft limit values correctly.
2. Set the soft limit values so that the movement range of the
arm is less than one rotation.
9-7
[ 2] Robot operating area errors
an R-axis.
Action : 1. Change to Y-axis hand definition.
2. Do not use a hand definition.
9-8
[ 3] Program file operating errors
TROUBLESHOOTING
1. Change the target position of one carrier so it will not
interfere with the other carrier.
2. Move the other carrier to a position where it will not
interfere with the first carrier’s target position, and then
move that first carrier.
3. Set the double-carrier parameter control mode to "Off" or "On".
When set to "Off", this error does not occur, but the anti-
collision function for double-carriers will not work so the
carriers might collide with each other.
When set to "On", one carrier starts moving after
waiting until the other carrier moves to a position
where no interference occurs.
9-9
[ 3] Program file operating errors
9-10
[ 3] Program file operating errors
TROUBLESHOOTING
program of the same name.
Action : 1. Change the mode.
2. Change the program name.
9-11
[ 4] Data entr y and edit errors
9-12
[ 5] Robot language syntax (compiling) errors
TROUBLESHOOTING
Action : 1. Change to the correct number.
2. Change to the correct value.
9-13
[ 5] Robot language syntax (compiling) errors
9-14
[ 5] Robot language syntax (compiling) errors
TROUBLESHOOTING
Code : &H0511
Meaning/Cause : There is no WEND statement corresponding to WHILE
statement.
Action : 1. Delete the WHILE statement.
2. Add a WEND statement corresponding to the WHILE
statement.
9-15
[ 5] Robot language syntax (compiling) errors
9-16
[ 5] Robot language syntax (compiling) errors
TROUBLESHOOTING
5.30 : Undefined identifier
Code : &H051E
Meaning/Cause : An undefined identifier was used.
Action : Define an identifier for undefined identifier.
9-17
[ 5] Robot language syntax (compiling) errors
9-18
[ 5] Robot language syntax (compiling) errors
TROUBLESHOOTING
NAME statement was not defined on beginning line of the
program data.
b. Characters other than alphanumeric and underscore ( _ )
were used in the program name.
c. Program name has exceeded 8 characters.
Action : 1. Define NAME statement on beginning line of program data.
2. Use only alphanumeric and underscore ( _ ) characters in
the program name.
3. Use 8 characters or less in the program name.
9-19
[ 5] Robot language syntax (compiling) errors
Code : &H0533
Meaning/Cause : Cannot execute command statement between SELECT and
CASE statements.
Action : Delete the command statement between SELECT and CASE
statements.
9-20
[ 6] Robot language execution errors
TROUBLESHOOTING
Code : &H0602
Meaning/Cause : The expression "ON <expression> GOTO"/"ON <expression>
GOSUB" command was a negative value.
Action : Change <expression> to a positive value.
6.3 : Division by 0
Code : &H0603
Meaning/Cause : A command to divide by 0 (÷ 0) was attempted.
Action : Change from the divide by 0 command.
9-21
[ 6] Robot language execution errors
command.
Action : Confirm execution of SUB command.
9-22
[ 6] Robot language execution errors
TROUBLESHOOTING
3. Delete command for its own task.
9-23
[ 6] Robot language execution errors
9-24
[ 6] Robot language execution errors
TROUBLESHOOTING
Action : Execute PATH END to end the path setting and then execute
PATH START.
9-25
[ 9] Memor y errors
[ 9] Memory errors
9-26
[ 9] Memor y errors
TROUBLESHOOTING
9.7 : Hand data destroyed
Code : &H0907
Meaning/Cause : Part or all of the hand data has been destroyed.
Action : Initialize the hand data.
9-27
[ 9] Memor y errors
9-28
[10] System setting or hardware errors
TROUBLESHOOTING
Code : &H0A03
Meaning/Cause : Manual movement was attempted on the axis that is not
specified.
Action : Do not perform any axis-related operation.
9-29
[10] System setting or hardware errors
9-30
[12] I/O and option board errors
12.1 : Emg.stop on
Code : &H0C01
Meaning/Cause : a. Emergency stop button was pressed.
b. Emergency stop terminals on SAFETY connector are open
Chapter
(emergency stop status).
c. RPB or terminator are not connected to RPB connector. 9
d. SAFETY connector is not connected.
TROUBLESHOOTING
Action : 1. Release the RPB emergency stop button.
2. Close the emergency stop terminals on SAFETY connector.
3. Connect RPB or terminator to RPB connector.
4. Attach the SAFETY connector.
Dedicated output : *3
12.2 : Interlock on
Code : &H0C02
Meaning/Cause : a. Program was executed or moving of axis attempted while
interlock signal was still input.
b. Interlock signal turned ON during execution of program or
axis movement.
c. DC 24V not supplied to SAFETY connector.
d. SAFETY connector is not connected.
Action : 1. Cancel the interlock signal, and execute program or move
axis.
2. Supply DC 24V to SAFETY connector.
3. Connect the SAFETY connector.
9-31
[12] I/O and option board errors
9-32
[12] I/O and option board errors
TROUBLESHOOTING
12.19 : DeviceNet link error(Explicit)
Code : &H0C13
Meaning/Cause : a. The DeviceNet board was reset by an Explicit message
request (Reset request to Identity Obj) from the client (master
PLC).
Action :
9-33
[12] I/O and option board errors
9 connector.
3. Check if the DC 24V supply capacity is sufficient.
TROUBLESHOOTING
9-34
[13] RPB errors
TROUBLESHOOTING
12.75 : Illegal remote command
Code : &H0C4B
Meaning/Cause : a. The remote command or command data is incorrect.
Action : 1. Check the remote command or command data.
9-35
[14] RS-232C communication errors
9-36
[14] RS-232C communication errors
TROUBLESHOOTING
Meaning/Cause : Starting code "@" was not added at beginning of single line in
an on-line command.
Action : Add starting code "@" at the beginning of on-line command.
9-37
[15] Memor y card errors
9-38
[15] Memor y card errors
TROUBLESHOOTING
Meaning/Cause : Write failed. No space is available on memory card. (File
contents cannot be guaranteed.)
Action : 1. Use a new memory card.
2. Delete unnecessary files.
9-39
[17] Motor control errors
15.23 : Aborted
Code : &H0F17
9-40
[17] Motor control errors
TROUBLESHOOTING
Code : &H1103
Meaning/Cause : a. Short in motor cable.
b. Malfunction occurred in motor.
Action : 1. Replace the motor cable.
2. Replace the motor.
Dedicated output : *2
9-41
[17] Motor control errors
9-42
[17] Motor control errors
TROUBLESHOOTING
interpolation, circular interpolation or manual orthogonal
movement.
Action : 1. Reduce the acceleration.
2. Reduce the speed.
Dedicated output : *2
9-43
[17] Motor control errors
9 17.22 : Bad PZ
Code : &H1116
TROUBLESHOOTING
9-44
[17] Motor control errors
TROUBLESHOOTING
b. Return-to-origin command was attempted before manual
movement was complete.
Action : 1. Turn off the power to the controller and then turn it back on.
2. Wait until the command has finished.
Dedicated output : *2
9-45
[17] Motor control errors
9-46
[21] Major software errors
TROUBLESHOOTING
Meaning/Cause : Software error occurred.
Action : Contact our company with details of this problem.
9-47
[22] Major hardware errors
9-48
[22] Major hardware errors
TROUBLESHOOTING
3. Replace the ROB I/O cable.
4. Check the SAFETY connector wiring.
Dedicated output : *1
9-49
[22] Major hardware errors
9-50
[22] Major hardware errors
TROUBLESHOOTING
Meaning/Cause : 1. Wrong DIP switch setting on drive unit.
2. Drive unit not operating correctly.
3. Dual port RAM is defective.
Action : Replace the controller.
Dedicated output : *1 or *2
9-51
[22] Major hardware errors
Code : &H162C
Meaning/Cause : 1. Failed to acquire access privilege for interface with option
board connected to option slot 4.
Action : 1. Replace the option board connected to option slot 4.
: 2. Replace the controller.
Dedicated output : *1
9-52
1. Error Messages
RPB TRAP!!
Contents : Undefined operation code was executed. Chapter
Cause
Action
: A hardware error occurred.
: Replace the RPB.
9
TROUBLESHOOTING
RPB Receive Error!! (Data Register Full)
Contents : Data receive register is full.
Cause : A hardware error occurred.
Action : Replace the RPB.
9-53
1. Error Messages
9-54
2. Troubleshooting
2. Troubleshooting
TROUBLESHOOTING
• Robot model name + serial No.
What happened
example: YK250X
• Controller version No.
example: V9.00 R1050
• Date of purchase
example: August 2004
When
• How long used
example: Since delivery, about 1 year
• Usage conditions
example: when power is turned on
Under what when creating program
conditions during manual movement
when robot is moved to particular location during
program operation.
• Status on RPB screen
example: Nothing is displayed on screen
Error message appears on screen
• Robot servo status
example: Servo won't turn on
Abnormal sound when robot is moved
Current status is
Sets to origin incomplete.
• RPB operating status
example: Keys won't function
Response after pressing key is slow
Only the emergency stop switch functions
etc.
• How often above problem occurs
How often it example: Always occurs when power is turned on.
happens Occurs at particular line during program operation.
Only occurs once, then does not occur again.
n NOTE
When the RPB is connected, the error message appearing on the screen is a
valuable source of information for troubleshooting.
9-55
2. Troubleshooting
3) Send "@READ LOG" from the PC to receive the internal error history in the robot
controller.
A maximum of 500 error histories can be checked.
9-56
2. Troubleshooting
TROUBLESHOOTING
• Problem in controller • Replace the
internal power. controller.
2 Controller turns • RPB not connected. • Check RPB • Plug in RPB
on but no RPB connector. connector
display. correctly.
• Wrong RPB • Check how RPB
connection. connector is
inserted.
• RPB malfunctioning. • Replace RPB and • Replace the RPB.
check operation.
• Problem in controller • Replace the
internal power controller.
supply.
3 Controller turns • Now in emergency • Connect the RPB • Release RPB
on but "ERR" stop. and check the error emergency stop
LED on front history. switch.
panel lights up. • Check DI00 • Insert RPB
(Emergency stop connector.
ready signal) on • Connect the
RPB screen. emergency stop
terminal of SAFETY
connector.
• Error of error group • Connect the RPB • Check the axis
No. 17 occurred. and check the error from the error
history. information.
• Check the cause
from the error
information.
• Eliminate the cause
of the error.
• Error of error group • Connect the RPB • Check the cause
No. 21, 22 occurred. and check the error from the error
history. information.
• Eliminate the cause
of the error.
9-57
2. Troubleshooting
2. Robot operation
Symptom Possible cause Check items Corrective action
1 Controller turns • Interlock signal. • Check the interlock • Connect the
on but can't signal of the interlock signal of
execute program SAFETY I/O the SAFETY I/O
and manual interface connector interface
movement. and also check the connector.
24V power supply • Connect the 24V
Chapter
for connection. power supply.
• Disable interlock
9 • Check DI11
(Interlock input) on
signal with the
parameter.
RPB screen.
TROUBLESHOOTING
9-58
2. Troubleshooting
TROUBLESHOOTING
deviation • Check for noise • Isolate from noise
In case 1, if sources around sources around
position robot I/O cable. robot I/O cable.
deviation
occurs, you can • Mechanical error • Check the belt • Adjust to correct
perform return- occurred. tension tension if
to-origin and necessary.
return to • Remove foreign
original matter if found.
position. In • Check for warping • Replace guides or
case 2, you or damage on ball screws if
cannot return guides or ball warping or damage
to original screws. is found.
position. • Controller is • Replace with • If operation is
defective. another controller normal use the
and check substitute
operation. controller.
9-59
2. Troubleshooting
3. I/O operation
Symptom Possible cause Check items Corrective action
1 Won't operate • No DC24V supply. • Check that DC 24V • Supply DC 24V.
even when is supplied from I/O
dedicated input interface connector
signal is (STD.DIO).
supplied.
• Problem in signal • Check wiring on I/O • Make the correct
connection. interface connector wiring on I/O
Chapter (STD.DIO). interface connector
(STD.DIO).
9 • Error has occurred. • Connect RPB and • Check the cause
check robot settings from the error
TROUBLESHOOTING
9-60
MEMO
Revision record
User's Manual
Robot Controller
RCX221
Jun. 2011
Ver. 2.10
This manual is based on Ver. 2.10 of Japanese manual.