Download A:\gN_CUD.BAS 4/L3/95

Transcript
A:\gN_CUD.BAS4/L3/95
'**t****ti*****t***!t*t******t*t******tl!l*****!t*******!t*****!rrr**********t*****
"QN" Co!|[land Example
for
llitsubishi
"8" Robot Controllers
The 'N" conmand will
allow you to select
the program name that you
have in your controller.
The ',QN" comand wilh the progam nErme
after
it will
inquire
the controller
for the Total Number of Used
Steps, Used Nuuber of Positions
and Used Number of Counters.
;
*
*
*
N9 = selects
plogrErm nunber 9,
QN9 = inquires
=
N " PUT_PAI{"
selects
proglam PUT_PAM
for information
QN"PUT_PAM' = inquires
;
for
information
Date : 4l 13 /95
t***********if*il***tlrl***il*****************rt******lt*****i!**tt******rt***it*!t*****
. **
CLOSE
O P E N " C O M 2 : 9 6 0 0 , N , 8 , 1 , C S 6 0 0 0 0 , D S 6 0 0 0 0 , C D o "F O R R A N D O M
AS #2
* * * !t * * * * * !t * * * * * * * * * * * * * * * * * **
* * * * * * * * * * i * * * * * * **
* * * * **
t * * * * * * * * * * * * * * * * * *
cLs
PRINT *2, "N9"
'llust have a space before the
PRINT *2, " QrnS"
QN Comnand to work
LINE INPIIT #2, AS
LOCATE 15, 10: PRINT "1ST Selection using ( 0-9 ) lilrrrnhE3s\ras -" t AS
'cER$(34)= the
RrNT #2, 'll" + cERs(34) + 'Pul_PAun + CERS(34)
"
PRrNT *2, ,' ON" + C8RS(3Al + " P u r _ P A M " + C E R S ( 3 4 )
LINE INPIN #2, AS
LOCATE 17, 10: PRINT "2ND Selection using (Alpha Characters ) was -- "t AS
END
t******************i********t***********i**i***********t***i****************
Page I
CAUTIO}i!
(TEACHTNG
BOX CONNECTION/DTSCONNECTTON)
fhe following shows the corrigendaabout ttre procedureof how to connectand disconnectthe
teachingbox (T.B.) during power on. We kindly ask the user to refer to this infornation when
readingthe correspondingparts of the user's manualand tie referencemanual.
WHEN DISCONMCTING: Incorrect opration will causean emergencysf@ s tate.
(1) Setthe 'ENBL/DISABLE'switchof the T.B.to the 'DISABLE'side.
(2) Loosenthe fixing screwsof the T.B.connectorwith holdingit firmly by hand.
(3) Pushand lock downthe EMG.CANCELswitchon the front panel.(Concave
state) Confirm
that the LED of the switchstartsblinking
(4) Disconnect
quicklywithin five secondsfrom the start of blinking. The LED
the connector
turns off whencornpleted
correctly.
WHEN CONNECTING: Incorrectoperationwill causean emergencystop state
(1) Setthe 'ENBL/DISABLE'switchof rhe T.B.to the 'DISABLE'side.
(2) Connectthe T.B.connector.Confirmth at theLED of tJreswitchstarts blinking.
(3) Pushand releaseup the EMG.CANCELswitch.(Convexstate)This mustbe donewithin five
secondsfrom ttteconnection
of the T.B.. The LED turns onwhenconnected
correctly.
14)Fix theconnectorof the T3. with a set of screwsfirrnlyIO RESETTHE EMERGENCY
STOPSTATE
(1) Release
up the EMG.CANCELswitch.(Convexstate)
'ENBL,/DISABLE
(2) Serthe
switchof the TB. to the 'ENBL'side.
(3) Pushthe ALARM RESETkey of theT.B_
CAUTIONI:
THE EMERGENCY
SW]TCHOF TI{E T.B. REMAiNSDISABLEDWHEN THE'EMG. CANCEL'
SWITCHIS PUSHEDDOWN. THE INITIATIONOF THE PROGRAMFROMOTHEREQUIPMENT
THAN T.B. IS EFFECTIVEWHENTHE'ENBL/DISABLE'SWITCHIS SET TO THE DISABLE
SIDE
,_/'ENBL/DISABLE'
switch
EMG.CANCELswitch.
I
E:jig
TJE! t/ E@U]
NOTETO THE USER
TO ASSURE SAFETY IN DESIGN AND
CONSTRUCTION
OF ROBOT
SYSTEM
, READ
'SAFEWMANUAL'FIRST.
. N O P A R TO F T H I S P R I N TM A YB E R E P R O D U C E IDN A N Y F O R M
WITHOUTPERMISSION.
. T H I SP R I N TI S S U B J E C TT O C H A N G EW I T H O U TN O T I C E ,
. A L T H O U G HW E H A V ED O N EO U R U T M O S TT O E N S U R ET H E
A C C U R A C YO F T H I S M A N U A L ,I F Y O U N O T I C EA N Y E R R O R S .
PLEASECONTACTUS.
copyRtcHT (c) 1994M|TSUBtSHt
ELECTRTC
CORPORATTON
Introduction
Thankyouverymuchlor purchasing
a Mitsubishi
robot.This
"superE series"industrial
instruction
manualexplains
itemsthatarenotcoveredin theUser,smanual.suchas how
to installandhandleoptionalequipment,
howto usethe MoVEMASTER
commands,
and
whatthecommands
areabout.Beforeyoubeginoperating
therobot,makesureyouread
this manualthoroughly,
anddo notattemptto operateit untilyou havecompletely
understood
all of the contentsin this manual.
Thewrittenmaterialin this manualis
compatible
withthesoftware
versions
shownbelow:
'Controller:
Ver.83
TeachingBox:Ver.82
<Howto usethe variousmanualsandwhateachof themcontains>
Thisproductcomeswith4 difterentmanuals.Youcanfindbelowthecontentsandpurpose
ol eachof thesemanuals.Usethemaccording
to theirapplications.
Sincethe manuals
weredesignedto applyto all models,anyditferencesin the specifications
from modelto
modelwill be noted.
F.t
The SaletyManualexplainscommonsafetyprecautions
andcautionitemsrelated
to the usageof the robots,the systemdesigns,andthe fabricationof the robots,so
that the safetyof all the workersconnectedto the robot can be protected.
1""'_l
m
f'* _l
The Specifications
Manualis validtor the entireE series.lt explainsstandardspectactory
ifications,special
shipmentspecifications,
optionconfiguratiors,and [email protected] alsoexplainssafetyand technicalprecautionswhensetting up the robot.
|;I
The User'sManualexplainseverythingfrom unpacking,installation,and salety
precautions
for usingthe robot,to cabling,originsetting,and basicoperations.lt
alsoexplainsthe basicwaysto use the "teachingplaybackmethod,"one of the
operatingmethods.
H;
The Referencemanualexplainsoptionsinstallationsand handlingmetfrodsnot
@veredin the User'sManual,specifications
of structuralequipment,
the teaching
playbackandthe Movemaster
commandoperatingmethods,commands,@nnectionsto l/O equipment,
toolingspecifications,
and maintenance
and inspection.ln
the appendix,youcanfindlistsof commands,parameteF,andalarms,and some
sampleprograms.
t""*-j
E]
(Outlineof the contentsof eachof the manuals)
Contents
*Standardspecilications,
specialfactoryshipmentspecifications.and maintenance
Darts
*Specifications
andtypesof options
'Safetyandtechnicalprecautions
for settingup the robot
'Safety precautions
duringusage
'Unpackingthe product,installation,settingthe origin,
and
othersetupoperations
'Basic operationsusingthe teachingplaybackmethod
-lnstallationandhandlingof optional
equipment
'Detailedspecifications
for configuration
machinery
'Applicatiorsol theteachingplaybackmethod
andthe Movemaster@mmandmethod
'Explanationof commands
*Connections
to l/Odevices,toolingspecifications,
and maintenanceandinsoection
' Sampleprogramsand lislsof commands,parameters,
and
Specincdion Useis
Manual
Manual
Relerence
Manual
o
o
o
r-)
^
'\-.'
C
a
O
O
r-\
Contents
Chapter 1 : Handlingthe robot......
. . . . . . . . . . . . .1. - 1
1.1Handlingthe robot
.......................
1-1
1.1.1Installingthe 4E-HM01motor-operated
hand......-...-.....
.......1-1
pneumatic
1.1.2lnstafling the 4E-HP01/4E-HP01E
handset ................................
1-1
1. 1 . 2 . 1l n s t a l l i ntgh e 1E - H P 0 1 / 1 E - H P 0p1nEe u m a t i h
c a n d . . . . . . . . . . . . . . . . . . . . . . . 1. .-.2. . . . . . . . . .
.t-2
1.1.2.2Installingthe 1E-VD0'l
/1E-VD01Esolenoidvalveset................................
1.1.2.3lnstallingthe 2E-31HND/2E-31
HNE pneumatichandinterface...............
1-2
1.1.2.4Settingthe parameters.......................
.........
t-z
1.1.2.5Open,zclose
settingot the handand settingsfor inputsignals..................
1-2
1.1.2.6Confirmingoperability
........
1-3
1 . 1 . 3I n s t a l l i ntgh e 1 E - V D O ' s o l e n o vi da l v es e t . . . . . . . . .
. . . . . . . . . . . . . .1. .- .4. . .
1.1.3.1Installingthe 1E-VD01/1E-VD02
solenoidvalve set for the RV-E2,
RV-E3J
........
1-4
1.1.3.2Installingthe 1E-V001/1E-VD02
solenoidvalveforthe RV-E2M,
RV-E3JM
.........
1-6
1.1.4Installingthe 2E-31HND/2E-31
HNEpneumatichandinlerface..................
1-B
.1.1.5
Installingthe P6TB-TEteachingbox ..................
....................
1-B
1.1.6lnstallingthe 2E-31l,O/2E-31
IOEparallell/O interface................................
1-8
1.1.7Installingthe rack adapter (Modeltype : 2E-RACK)
..........
1-9
1.1.8Installingthe RS-"-CBL personalcomputercable .............-.......................
1-10
1 . 2S e t t i n gt h e o r i g i n. . . . . . . .
. . . . . . . . . . .1. .-.1.1.
1.2.1Deletingthe Z-phaseoffset...............
..........
1-12
1.2.2Mechanicalstoppermethod
........................
1-12
jig method (Optional)
1.2.3Calibration
........
........
1-12
1.2.4User-definedoriginsetting.............
.............
1-1S
C h a p t e r2 : O p e r a t i o n s . . . . . . . . . . . . . . . . . .
... ..........2-1
preparations
2.1Preliminary
beforeoperatinS...............
.......
............2-1
2.1.1Outlineof a programfromthe writtenstageto the executionstage ...........2-1
2.1.2 Characteristics
and functionsof systemcomponents...
................................2-2
2.2 Basicoperationsof the systemcomponents....
...........................
2-3
2.2.1How to operatethe controller
........................
2-3
2.2.2How 7ooperatethe teachingbox ...................
..........._............
2-9
2 . 3P r o g r a m m i n. g. . . . . . . . . . . . . . . . . . . .
...........-zo
2.3.1Programming
with the teachingplaybackmethod
..............2-27
2.3.2Programming
with the Movemaster
commandmethod
.....2-40
2 . 4D e b u g g i n gp r o g r a m s
.................2-S1
2 . 5E x e c u t i o n . .
2.5.1Executionfrom the controller
2 . 5 . 2E x e c u t i ofnr o ml h e t e a c h i n gb o x . . . . . . . . . . . . . . . . . . .
2.5.3Executionlrom lhe personalcomputer
.........2-63
.......................2-63
. . . . . . . . . . . . . . . . z. .-.o. . .). .
......2-63
SP (Speed)...
STR X (StepRead)..............
TB fl-est8i0...................
TBD fl'est Bit Direct).......
Tl (Timer)......
...........3-99
........
3-101
.......-........3-102
.............
3-103
........3-104
...............3-'105
....-.....
3-106
........3-1
07
3-108
..............
......3-109
. . . . . .3
. .- 1 1 0
. . . . . . . . . . . . . . . .4. - 1
Chapter 4 : Design and Engineering..............
.........-.............
4-1
to controller
4.1 Externalconnections
to controller....
........
4-1
for externalconnections
4.1.1Specifications
.........
4-3
4.1.2Interfacingwith externall/O equipment.....................-..
4-3
4.1.3Assignmentof specializedl/O signalsfor parallell/O interfaces..............
4-4
4.1.4Commandsand functionsthatcan be writtento parameters......-...-...-.....-..-.......-.................
4-8
4.1.5Connectiontable for parallell/O interface
with externaldevices......................................
4-13
4.'l.6 Precautions
for connections
.....4-17
4.1.7Timingchartfor externaloperations.......
4.2Tooling
................4-20
4.2.1Specifications
tor toolingconnections
................
..................4-20
4-22
4.2.2Exampleot toolingplan..................
...............
-.......-...........
4-24
4.3 Connections
to a personalcompuler (RS-232C)
..............4-24
4.3.1Gonnectorpin arrayfor the RS-232C........-.............
4.3.2Functionof eachsignalcable....
..................4-24
4.3.3Settingthe RS-232C
............4-25
4-25
4.3.4Time chartsfor the varioussignallines......
...................-......
....4-26
4.3.5The RS-232Cconnectorcab1e................
4-27
4.3.6Exampleof a connectionto a personalcomputerwiththe RS-232C.......C h a p t e r 5 : M a i n t e n a n c ea n d i n s p e c l i o n
.... 5-1
TL frool)
VR (VersionRead)..............
WH (Where).
WT (WhatTool)................
XO (Exclusive
Or) ...............-...
' (Gomment)..
5 . 1M a i n t e n a n coee r i o d . . . . . . . .
5 . 2l n s o e c t i o int e m s . . . . - . . . . . . . . . .
5 . 2 . 1D a i l yi n s p e c t i oint e m s. . . . . . . . . . . . . . .
5.2.2Periodicinspection
5.3 Maintenanceand inspectionprocedures
..............5-1
. . . . .... . . . . 5 - 2
.......................5-2
.........-.......5-3
...........5-4
5-4
5.3.1Structureol the mainrobotunitIn......................
.......-..-...,......
5-7
5.3.2Installation/removal
.........................
of cover
5 . 3 . 3I n s p e c t i n ga,d j u s t i n ga,n d r e p l a c i n tgh e t i m i n gb e | t s . . . . . . . . . . . . . . . . . . . . . .5. .-.1. .0. . . . . . .
5 . 3 . 4G r e a s ec h a r 9 e . . . . . . . . . . . . .
. . . . . . .5. .- 1 3
5.3,5Replacingthe backupbattery.............
5.3.6Replacingthe luse
5.4 Maintenanceparts...........-.
Chapier 6 : Appendix.
6 . ' l C o m m a n d1 i s t . . . . . . . . . . . . . . . . - . . .
6.2 Parameterlist....................
6.3Sampleprogram [1] Teachingplaybacksystem............
6.3.1Pick & placeoperation
.........5-14
...............
S-18
........
S-1g
. . . . . . . . . . . .6
. -j
............G-1
............6-7
..........
6-9
.......6-10
6.3.2Handlingoperation 0herobol
sorts
outdefeclive
resistors
lromnon-defective
ones.|......6-1
2
6.3.3Assemblyoperation
.............
6-16
6.3.4Sealingoperation
.................
6-18
6.4 Sampleprogram (2) Movemastercommandmethod
... .........6-22
6.4.1Pick and placeoperation
....6-22
6.4.2App|icationofinterrupimotion.............
6.4.3Application
of palletizing
.....6-26
6.4.4Exampleof connection
with externall/O equipment
........
6-3.1
6 . 5A l a r m1 i s 1 . . . . . . . . . . . . . . . . . . . . .
.................6-34
6.6Troubleshooting...........
.............
6-39
6 . 7S t r u c t u r fel a g .. . . . . . . . . . . . . . . . .
............6-41
6 . 7 . 1W h a ti s a s t r u c t u rtel a g ? . . . . . . . . . . . . . . . .
..............6-41
6.7.2Deiinitionof eachstructureflag...................
.............
...........
6-41
Index ..........
lndex_1
Chapter1 : Handlingthe robot
This chapterexplainshandlingproceduresand usage pointsfor optionalequipment
not covered in the User's Manual.
1.1Handlingthe robot
This chapterexplainshow to installthe optionalequipment
1.1.1lnstallingthe 4E-HM01motor-operated
hand
For detailson how to installthe motor-operatedhand,refer to section3.8 " Installing
the motor-operatedhand" in the User's Manual.
pneumatichandset
1.1.2Installingthe 4E-HP01/4E-HP01E
for lhe pneumatichandset is shownin Fig. 1.1and in Table 1.1
The configuration
RV-E3J/RV-E3JM
RV-E2/RV-E2M
Fig. 1.1Schematicdiagramfor the pneumatichandset
Table 1.'1Configurationfor the handset
Number
Partname
Model
Quantity
Description
1
Pneumatichand
1E-HP01/
1E-HP01E
1
Hand input cable with pneumatic
couDlino
2
Pneumatichand
interlace
Solenoidvalveset
2E-31HND/
2E-3|HNE
1E-VD01/
1E-VD01E
1E-ST0402C
1
Interfaceboard
1
Comeswith(2)M3x2Ssocket
headbotts
M5x16
4
3
4
5
Handcurltube
(2 tubesper set)
Socketheadbolts
6
Socketheadbolts
M3x12
4
Comeswithspringwashers
7
Adapter
BU144D697
H01
1
This item is neededfor instaltino
(1)above.
1
l-I
1.1.2.1Installingthe 1E-HP01/1E-HP01
E pneumatichand
Fig. 1.2 shows the methodlor installingthe pneumatichand.The installationsteps
are as follows :
(1) Use lour M5x16 hexagonsocket head bolts to installthe hand adapter (7) to the
main robot unit'smechanicalinterface.
(2) Uselour M3x12hexagonsockethead bolts (6) to installthe pneumatichandtothe
hand adapter. Use Fig. 1.3to find the where the ends of the cables should be
connected to the adapter.
(3) As shown in Fig. 1.2,connectthe hand curl tubes to coupling1 and coupling2,
which protrudesfrom the cover of the Jorearm.The opposite end of the tube
connectedto coupling 1 shouldbe attachedto the hand'sOPEN coupling,and the
opposite end of the tube connectedto coupling2 shouldbe attachedto the hand's
CLOSEDcoupling.
(4) As shown in Fig. 1.2, connectthe hand check cable, which is attachedto the main
unit of lhe hand,to the connectorGON1,which proirudesfrom the cover of the
lorearm.This comoletesthe installationof the hand.
1.1.2.2Installingthe 1E-VD01
/1 E-VD01E solenoidvalveset
To installthe solenoidvalveset, referto section1.1.3"lnstalling
the solenoidvalve
set" in this manual.
pneumatichandinterface
1.1.2.3Installingthe 2E-31HND/2E-31HNE
pneumatic
To installthe
handinterface,referto section1.1.4 "lnstallingthe pneumaiic
hand interface"in this manual.
1.1.2.4Setting the parameters
For the pneumatichand (1E-HP01/1
E-HP01E) , the tool data is 107mm. Referlo
section2.6 "Otherfunctions,(11) Parametersettings"in this manualand set the
value ol the XTL parameterto 107mm.
1.1.2.5Open/close setting of lhe handand settingsfor input signals
The connectionsfor the optional pneumatic hand sensor, and the bit settings tor
input signalsand for the handsopen/closesetting,are shownin Table 1.2.The hand
connectornumbers have been assigned numbersfrom the connectorpins located
at the end of the forearm.To make the bit settingslor the open/close setting of the
hand and for the input signalsfor handyou are preparinglor use, refer to chapter 4,
Fig. 4.3 "Hand circuit specilications"in the SpecificationsManual.
Table 1.2 The hand'sopen/closesetting and input signalsettings
Settingpinstor the open/close
Handcheck
setting
ot the hand
connector
Signal
Comments
numbers
Open
Halfopen Closed
Generalpurpose
0(oN)
input900
Corresponds
to
hand
1
purpose
General
0(oN)
input901
1_'
1.1.2.6Confirmingoperability
(1) Operatethe teachingbox to confirmthat the hand opens and closes.
(2) To operate the teaching box, refer to section 2.2.2"How to operate the teaching
box" in this manual.
(3) lf the open/closesettingsare reversed,confirmthe connectionsettingswith Table
1.3 and reset the settings.
A Caution
While operatingthe hand,dependingon the pitch axis and the roll axis,the hand
curl- tube and the hand check cable can get entangled with the hand adapter and
forearm. In this case,lemporarilyremovethe hand,and repositionit lo its correctly
installedposition,as shownin Fig. 1.3.
Forearm
C 5 hole
Mechanicalinlertace
M3x12bolts
(4) Hand curl tub€
Fig-1.2 Howto installthe pneumatichand
View from A
Fig. 1.3 Positionof correctlyinstalledhand
1-3
There is no mechanicalstopperlor the roll axis.When installingthe pneumatichand,
il the servo is OFF, do not rotale the roll axis more by more than its operationrange
(+/- 200 degrees) . lf you rotate it more than its operation range and turn ON the
servo,there may be an encoder alarm.
1.1.3Installingthe 1E-VDO-solenoidvalveset
1.1.3.1
l n s t a l l i n g t h e l E - V D 0/ 11E - V D 0 2 s o l e n o i d v a l v e s e t f o r t h e R V - E 2 , R V - E 3 J
'l.4
Fig.
shows how to installthe solenoidvalve.
The installationmethod is as lollows:
(1) Removethe two (M3x6) screws in (2) and the two (M3x8) bolts in (3) , and
removethe shouldercover (B) in (1) .
(2) Installthe solenoidvalve by fasleningit with the two attached (M3x25) screws in
(5) to the screw holesin (4) onthetopof the plate otthe mainrobol unil.
(3) Connectone of the two (C 6) pneumatichosesin sectionA --the one marked"AlR
lN"--tothe quick coupling (portP) in (9) of the solenoidvalvein (6) .Theprimary
air flow can now be suppliedtrom the pneumalic port at the base.
(4) Connect the hose marked "1" to port A (7) on the primarysolenoid valve (6) .
Connect the hose marked "2" to port B (8) on the primary solenoid valve (6) .
lf you are using the double type valves (1E-VD02), you need to do the tollowing:
Connectthe hose marked"3" to port A (11) on the secondarysolenoidvalv (10) .
Connectthe hose marked"4" to port B (12) on the secondarysolenoidvalv (10) .
(5) Removethe plugs extendingfrom the forearmwhich are connectedto connectors
GRl to GR4.
Connectthe GR1 plug protrudingfromthe primarysolenoidvalve (6) to the connector GR1.
Connectthe GR2 plug protrudingfrom the primarysolenoidvalve (6) to the connector G R2.
lf you are using double type valves (1E-VD02),
Connectthe GR3 plug protrudinglrom the secondarysolenoidvalve ('10) to the
connectorGR3.
Connectthe GR4 plug protrudingfrom the secondarysolenoidvalve (10) to the
connectorGR4.
(6) Whenyouhavecompletedtheinstallation,
reinstallthe shouldercover (B) in (1) to
its originalposition,and be careful nol to entanglethe cables when you do so.
The connectionsafter the installationappear as in Table 1.3.For single type valves,
hand 2 is not applicable.
Table 1.3ASolenoidvalveportsand hoses: Connectiontable for couplingsand hand
ports lor the RV-E2,RV-E3J
Forearm
Hand
coupling Hosenumber Solenoid
Handport
valve port
numDer
OPEN
Hand 1
Firstset
CLOSE
OPEN
H a n d2
.A
CLOSE
B
Secondset
Shouldercover
Trussscrew
(5) Flat head screnG
P
Y
i'/
soleno?d
vatve
Detaileddrawinqof
section A
Fig. 1.4AHow to installthe solenoidvalvefor the RV-E2,RV-E3J
1-5
1.1.3.2lnstallingthe 1E-VD01/1E-VD02solenoidvalve tor the RV-E2M,RV-E3JM
Fig. 1.4Bshowshowio installthe solenoidvalve.The installationmethodis as follows:
(1) Removethe two (M3x6) screwsin (2) andthe two (M3x8) boltsin (3) , and femove
the shouldercover (B) in (1) .
(2) Unfastenthe two (M3x6) bolts in (1| ) holdinglhe batterycoverin (10) , and remove
the cover.
(3) Disconnectthe hand'soutputconnectorwhich is stored in the batterycover.
(4) Installthe solenoidvalve by fasteningit with the two attached (M3x25) screws in
(5) tothe screw holesin (4) onthetopof the plate of the mainrobot unit.
(5) Connectone of the two (/ 6) pneumatichosesin seotionA -the one marked "AlR
lN"-tothe quick coupling (portP) in (9) of the solenoidvalve in (6) .The primary
air flow can now be supplied from the pneumaticport at the base.
(6) Gonnect the hose marked "1"to port A (7) on the primarysolenoid valve (6) .
Connect the hose marked "2" to port B (8) on the primary solenoid valve (6) .
lf you are using the doubletype valves (1E-VD02) , you need to do the following:
Connectthe hose marked"3" to portA (11) on the secondarysolenoidvalve (10) .
Connectthe hose marked"4" to port B (12) on the secondarysolenoidvalve (10)
(7) Removethe plugs extendingfrom the forearmwhich are connectedio connectors
GR'l to GR4.
Connectthe GR1 plug protrudingfrom the primarysolenoidvalve (6) to the
connector GR1.
Connectthe GR2 plug protrudingfrom the primarysolenoidvalve (6) to the
connectorG R2.
ll you are using doubletype valves (1E-VD02):
Connectthe GR3 plug protrudingfromthe secondarysolenoidvalve (10) to the
connectorGR3.
Connectthe GR4 plug protrudingfrom the secondarysolenoidvalve (10) to the
conneciorGR4.
(8) Storethe newly attachedconnectorsin the batterycover in (13) , and reinstallthe
battery cover.
(9) Whenyou havecompletedthe installation,
reinstallthe shouldercover (B) in (1) to
ils originalposition,and be carelul not to entanglethe cables when you do so.
The connectionsafterthe installationappear as in Table 1.38. For singletype valves,
hand2 is not applicable.
Table 1.38 Solenoidvalveportsand hoses: Connectiontable for couplingsand hand
ports for the RV-E2M,RV-E3JM
Hand
Hand 1
Hand 2
Spare
Handport
FOrearm
"oupritig
number
OPEN
1
cLosE
2
OPEN
3
CLOSE
4
Hosenumber
S,olenoid
,alveport
B
Firstset
Secondset
6
.._.--..1,
3l Socket head bolt
Flat h€ad screws
PortA
..4
P
Port R
(9) PortP
T
i-
t#ffi
(4) Plate
solenoid
Detailed drawino ot
section A
-LJ-l-
.4-ffr-
To the hand's
oulpul connectors
For when
tne
doubletyPe
solenoid
valve is
useo
C o n n ec l i o n s l o r s e c t i o n A
when using lhe motord hand
:::-1i::ffi
Nole : Make sure to
disconnect all 4
connectorsleadino to
the hand's outiut
connectors when
using the pneumatic
hand.
Connections for section A
when usin9 the pneumatic
nand
Fig. 1.5 How to installthe solenoidvalve connectors
1-7
pneumatichand interface
1.1.4Installingthe 2E-31HND/2E-31HNE
Fig. 1.6 shows how to installthe pneumatichand interlace
('l) Turn OFF the controllerpower.Also,turn OFF the power source.
(2) Afterturningthe powerOFF,waitabout3 minutesfor the chargedpartsto discharge.
(3) Removethe top cover ol the controller.
(4) Removethe two fixing screws {1) on the right-mostslot on the back of the controller.
Removethe dust cover lor the expansionslot. (Storeit away.)
(5) Insertthe pneumatichand interfaceintothe connectorof the above-mentionedslot.
(5) Fastenand securethe two fixingscrews (1) .
(71Reinstallthe top cover.
(8) Turn ON the controllerpower.
(s) lf the handis attached,with the teachingbox,use iog operationsto confirmwhether
the pneumatichand can open and close.
ACaution
Wait at least 3 minutesaftef
turningthe powerotl betore
rernovingthetoppanel.Don't
tum lhe poweron untilthe top
panel has been installed.
Othermethodsol handling
may lead to elecfic shocks.
1.1.5Installingthe P6TB-TEteachingbox
For the installationmethod,reler to chapter3 "Preliminarypreparations"in the User's
Manual.
IOE parallel l/O interface
1.1.6 lnstallingthe 2E-311O/2E-31
Fig. 1.7 showshow to installthe parallel l/O interface board.
{1) Turn OFF the conlrollerpower.Also,turn OFF the power source.
(2) AfterturningOFF the controllerpower,wait about3 minutesfor the chargedpartsto
discharge.
(3) Removethe top coverof the controller.
(4) Removethe two lixingscrews (1) onlhe slotforthe parallell/O interfaceboardand
remove the blind caps (2) for the expansionslot. (Storeit away.)
Removethe dust cover on the expansionslot's connector. {Storeit away.)
(5) lnsert the parallel l/O interfaceboard into the connectorof the above-mentioned
slot. ODtionboardsother than hand interfaceboards should be installedin the
order of OPT2and OPT3.
(6) Securelytighten the two fixing screws shown in {1) .
(7) lnstallthe top cover of the controller.
A Caution
Whenyouinsertthe l/O interfaceboard,openup the hardwarein the directionofthe
anows,as shownin Fig.1.7sothatyoudont catchontothe hardwareof the connector
Darl.
A Caution
Wait at least3 minutesatter
turning the power off before
r e m o v i n gt h e t o p p a n e l .
Dont turnthe power on until
the top panel has been
installed.Other meihodsof
handling may lead to
electric shocks.
Connector
Fig. 1.7 Installationof parallel l/O interface (board)
1.1.7lnstallingthe rack adapler (Modeltype : 2E-RACK)
Fig. 1.8 showsthe procedurefor installingthe rack adapter.
(1) Removethe three fixing screws (M4*8) on the left side of the front panel of lhe
controller.
(2) With the screws that are removed,attachthe rack adapterlo the side of the controller.
(3) Do the right side in the same fashion.The rack adapterssre identicaland can be
used for either the left or rioht sides.
Fig. 1.8Procedurefor installingthe rack adapter
1-9
ACaution
not
the rack adapter as the sole
Do
use
meansto support the controller (approx.
28kgf) . Use a side rail or use other such meansto provide overall supportlor the
controller.
1.1.8Installingthe RS-**-CBLpersonalcomputercable
Fig. 1.9 shows how to installthe personalcomputer
(1) Conlirmthat the personalcomputercable is made for your personalcomputer.
(2) Attachthe personalcomputerconnectorto the controller'sRS-232Cconnector.
(3) Securely lasten the screws above and below the connectorso that they will not
come off.
(4) Be careful about exposing the cables. Pullingstronglyon the cables or bending
them excessivelycan damagethe connectorsor rupturethe cables.
Fig.1.9 Howto installthe personalcomputer
GS (Go Sub)
I FunctionI
Caniesout subroutinebeginningwiththe specifiedline number.
I InputFormatI
GS Flinenumberrl [, [<program
name>!
[Term)
<Linenumber>
Specity line numberof subroutinein integer value.
1 S line number< 9999
<Programname> Specifyprogramnameol subroutinein integervalueor characters.
(Lessthan 8 characlers)
1< programnameS I (characters)
Possibleletter used: Digit (0-9)
Character (A - Z)
Symbol ( ! @#,etc.)
lmpossibleletterused: * +. . ,/ i i [+J' "
Special specification:Whenyou specifiedonlynumericvalue,the
programname is handledas number.
Need to enclose program name with ', ,' in
the case ol characterused.
I ExplanationI
(1) Allowsthe programto jumpto the specifiedline of the specifiedprogramand execute
subroutine.The programreturnslo the mainprogramafter executingthe subroutine.
When you specifiedprogramnumber,returnsto the main programby ED command
and when you specified only line number,returns by RT command.
(2) Use the RT commandto terminatethe subroutineexisting in the same program.
Use the ED commandto terminateihe subroutineexisling in other program.
(3) lf the specified line or the specilied programdoes not exist, alarm oicurs at the
time of GS execution.
(!) Wnen you omittedline number,executesthe specified programlrom the top line.
(5) When you omittedline numberand programname,nothingoccurs.
(6) To call subroutinesin other subroutinesis called "nesting".Up to 9 nestinglevels
are possible.
<Thesame programcall>
Prpgram 10
1 0s P 1 5
3bcs 2oo'l40r 1
l-100
ED;END
<Programto programcall)
Prpgram 20
Prpgram 30
10MO 5
1 OS P 1 5
:
:
:
50 GS 40,30
60MO 6
1 0 0 0E D
:[
40 MO 1 0
:
100
ED
MO3
F{l
- showsthe programexecutionorder.
3-31
X In the aboveexampleof <Thesameprogramcall>,executesthe programfromline
10to 30,thencallsthe subroutine
of line200.Whenlhe RTcommandis executedin
the subroutine,
the programreturnsto the mainprogramand continuesfrom line 40.
The programendswhenthe ED commandis executed.
X Programcan call otherprogramfrominsidethe programusingGS command.In
the aboveexampleot (Programto programcall),executesthe programlrom line 20
to 50,thencallsthe program30.Executes
the programfromline40lo 'l00andreturns
to the mainprogram,i.e.,line 60 ol program20.The programendswhenthe ED
commandis executed.
command)
I SampleprogramI (Movemaster
10 GS100
beginning
withlinenumber100.
;Carryoutsubroutine
90 ED
1 0 0M o 1 1
1 1 0M O 1 2
1 2 0M O 1 3
1 3 0R T
3-32
; Endsprogram.
11.
; Movesto position
position
Moves
to
12.
;
; Movesto position13.
; Endssubroutine
Subroutine
GT (GoTo)
I Function
J
Jumps to the specified line number unconditionally.
I InputFormat
I
GT <linenumber:
lterml
<Linenumber> Specify the line numberto which the programjumps.
1 S line number< 9999
I Explanation
I
(1) Causesthe programio jump to the specified line number.
(2) lt the specifiedline numberdoes not exist,alarmoccursat the time of GT execution.
I Sample program) (Movemastercommand)
10 MO 1
; Movesto position1.
20 GT 'l 00
; Jumpslo line 100 unconditionally.
100MO 12
110 MO 15
; Movesto position12.
; Movesto position1S.
3-33
HE (Here)
I Function
I
Delinesthecurrentcoordinates
asthespeciliedposition.
( InputFormat)
HE <position
numben
(terml
<Positionnumben
Specify the positionnumber to be registered.
6 S positionnumber S 999
Registersthe currentpositionto the user-definedoriginin case
of zero.
I Explanation)
(1) The coordinatesof the currentpositionare calculatedon the basis of the currently
set tool length (see the TL command). In the initialcondition,ihe tool length is 123
mm, a point away from the hand mouniingsurfacetoward the end ol the hand.
(2) lf a single numberis assignedto two difterentpositions,the one defined last takes
precedence with the former cleared.
(3) The open/close positionofthe handand the structureflag data are also stored as
the positiondata.
(4) Alarmoccursii the HE commandis executed before the origin setting.
(5) When you specilied zero positionnumber,currentpositiondata in loint coordinates
are delined to user-definedorigin parameter UOG. In this case, you must change
the permissionparameterHOE to permit the origin setting at first. After that, return
the permissionparameterto the lormer value. (Does nol permit the setting.) The
above operationis effective only by direct commandexeculion.
( Sample proetramI (Movemastercommand
10 MO 10
; Moves to position10.
20 DW 10,0,0
; Moves to +X direction by 10 mm
30 HE 1'l
; Definesabovelocationas position11.
HLT (Halt)
I Function
I
Interrupts
themotionoftherobotandtheoperation
ol theprogram.
( InputFormat
I
HLT
( ExplanationI
(1) Interruptsthe operationof the program and decelerales the robot to a stop. (lt
becomesthe same conditionthatlhe externalstop signalis inputor the STOPswitch
of the controllerfront panel is pushed.)
(2) To restartthe program,pushthe STARTswitch,inputthe startingsignaling,or execute
the RN command.Programrestartsfrom the next line of HLT command.
(3) ll the HLT commandis directlyexecutedfromthe personalcomputerduringprogram
running,the programis interruptedand the robot stops with deceleration.
(4) The robot does not stop by the HLT command,however,during the execution of the
direct motioncommand.
I Sample program) (Movemastercommand)
10 MO 1
; Movesto position1.
20 HLT
;Stops
30 MO 2
; Movesto position2.
40 ED
; Ends program.
The programrestartswith STARTswitch lrom line 30.
3-35
HO (Home)
( FunctionI
Delinesthe currentlocationandthe attitudeas originpoint.
I InputFormatI
HO [<originsetting approachr]
[terml
<Originsetting approach)
Specify the methodto set origin in integer value.
0 : Mechanicalstopperorigin
'l : Jig
origin
2 : User-definedorigin
I ExplanationI
(1) Establishesthe reference positionlor originsetting.
(2) lt you have replaced the robot or changedthe combinationof robot and controller,
you must carry out origin setting again using this command.There is another
approachusing teaching box to execute originsetting.See "1.2: origin setting"lor
detail.
(3) Change the parameter HOE to permit origin setting at first, then execute the HO
commanddirectly.When the originsettingis compleled,returnthe parameterto
the tormer value, otherwise the program can not be started.To find the change
operation,refer to section2.6"Other Functions (11) Settingthe parameters"in this
Manual.
I RelatingParametersI
Permits the origin setting irom the command (HO) .
Parametername HOE : Origin setting permissionparameter
0 : Does not permitthe use ol HO command. (Detault)
1 : Permitsthe use of HO command.
I (eestc)
I Sampteprogram
file fromthe
10 oPEN" CoMl:E83" As #1 ;opensthe RS-232Ccommunication
personalcomputer in BASIC.
20 PRINT # 1," HO"
; Executesthe "HO" commandfrom the personal
computer.
30 END
:Ends
RUN
;Run the BASICprogram.
lC (lncrementCounter)
I Function
I
Adds1 to thevalueof thespecified
counter.
( InputFormatI
lC (counternumber>
lterm)
(Counternumberr
Specifycounternumberin numericvalue.
1 S .counternumberS 99
I Explanation
I
(1) Alarmoccursil the countervalueexceeds32767.
(2) Usedto countthe numberof workpieces
andjob sequenceandlo setihe numberoJ
grid pointin the pallet.
(3) The contentsol the countercanbe changed,compared,or read by the relevant
c o m m a n d(. S e eS C . D C . C P . C R . C L . A N . O R . X O c o m m a n d s . )
command)
I SampteprogramI (Movemaster
10 SC 21,15
; Setsvalue15to counter21.
20 lC 21
;Add 1 to ihe contenisof counter21.
3-37
lD (lnputDirect)
( Function)
Fetchesdataunconditionally
fromthe externalinputand handcheckinput.
I InputFormatI
lD [<inputbit number)]
(terml
(lnput bit numberr
Specifythe bit number of input port in integer value.
Feiches data of 16 bits width includingthe specified bit.
0 < input bit number < 32767 (0 for defautt)
I ExplanationI
(1) Fetches signalsfrom the externalequipment,e.9., programmablecontroller,
unconditionally.
The data trom the hand check input can be fetched by specifying
the 900th numberto the input bit number.
(2) The fetched data is loaded into the internalregister and is subsequenflyused for
c o m p a r i s o nb,i t t e s l ,e t c . ( S e e E O . N E . L G . S M . T B c o m m a n d s . )
( Sample programI (Movemastercommand)
100 lD
; Fetchesthe input data into the internalresisterfor
omparison.
110 EQ 100,130
; lf the inputdata equals 100,then iumps to line number 130.
120 ED
; Elseends program.
130 MO 1
; Movesto position1.
140 lD 100
; Fetchesthe input data into the internalresisterfor
comparison.(lnputsignals100 to 11S.)
150 TB +0,180
; ll the inputbit 100 is ON, then jumpsto line 180.
'160
TB +5,200
;lftheinputbitl05isON,thenjumpstotine200.
170 ED
; Else ends program.
180 MO 2
; Movesto position2.
190 ED
;Ends program.
200 MO 3
; Movesto position3.
210 ED
;Ends program.
INP (lnput)
I Function
I
Thespecified
counter
value,thecoordinate
valueof thepositionnumberorthedata
of the specifiedcharacterstringis receivedaccording
to the PRNcommand.(Using
RS-232-C)
( InputFormaiI
INP <channel
numben,<counter
number/position
number/characterstringnumberr
[, Fcontentsselection)n
[terml
<Channel
number>
Specifythe channelnumber opened by the OPN
command.
0 5 channelnumberS 2
(Counternumberr
Specitycounternumber.
1 5 counternumberS 99
<Positionnumber)
Specityposilionnumber.
1 S positionnumber< 999
<Characterstring number) Specifycharacterstring number in numericalvalue
which$" is added to the head.
$1 5 characterstring number < $99
(Contentsselection)
Select either counteror position or characterstring
numbercorrespondingto <Counternumber/ position
number/characterstring number).
0 : Counternumber (Default)
1 : Positionnumber
2 : characterstring number
I ExplanationI
(1) This commandreceivesthe specifiedcountervalue,the coordinatevalueof the
positionnumberor the data of the specified characterstring is received according
to the PRN commandihroughthe RS-232-Cport.
(2) The OPN commandmust be executedfirst to open the RS-232-Cchannel.
(3) It the counternumberis omitted,the data will be read intothe internalregister.lf the
characterstring number is omitted,the data will be read into the characterstring
register. lf the positionnumber is omitted,an alarm will occur during execution.
(4) The data is sent from an externaldevice such as a personal computer using the
PRM command.The robot programwill stop while the data is being red(5) The PRM commandcan be executedbeforethe INP commandwhile the program
is running.In that case, the sent PRM commanddata will be registered once, and
then will be led intothe specifiedcounter,positionor characterstringwhen the tNP
command is executed.A max.ol 255 characterscan be registered in the robot. lf
the PRM command is executed in successionand the number ol registered
charactersexceeds 256 characters,the robot will be set to the "L" level based on
the RS-232-CER {DRT) and RS (RTS) signallines (DR (DSR) and CS (CTS)
signallineson the personalcomputerside) . Temporarilystop the data transmission
lrom the personalcomputer duringthis time.
(6) lf there is an error in the data sentby the PRNcommand,an alarm will occur when
the INP commandis executed.
I SampleprogramI (Movemaster
command)
10 OPN 2,1
port.
;Opensthe RS-232C
20 INP 2,1,O
Reads
the
data
of
counter
1 fromthe RS-232Cport.
;
30 INP 2,5,1
position
; Readsthe dataof
5 fromthe RS-232Cport.
40 lC
1
;Adds 1 to ihe contentsof counter.1.
50 MO
5
;Movesto position5.
60 OPN 1,1
port.
; Opensthe RS-232C
70 INP 1,$10,2 ;Readsthe dataof characterstring10 fromthe RS-232Cport.
3-an
lP (lncrementPosition)
I Function)
Movesthe robotlo a predefinedpositionwith a positionnumbergrealerthanthe
currentone. (Jointinterpolation)
I lnputFormatI
IP
I ExplanationI
(1) Movesthe robot to a predelined positionwith a positionnumber greaterthan,and
closestto, the current one. (Seethe DP command.)
(2) Alarm occursif there is no predefinedpositionwhich is greater in positionnumber
than the currentposition.
(3) Even if an alarmoccurs,the currentpositionnumberstill remainsunchanged.
I Sample programI (Movemastercommand)
10 MO 5
; Movesto position5.
20 MO 4
; Moves to position4.
30 MO 3
; Moves to position3.
40 lP
; Moves to position4.
50 lP
; Moves to position5.
3-41
JRC (Jointroll change)
I FunctionI
Overwritesthe currentpositionby adding+/-360 degreesto the joint positionof the
R-axis.Thisis donewhenyouwantto useshortcutcontrolof the R-axis,or whenyou
wantto useendlesscontrol.
I lnputlormat)
JRC( [+] 1/-1)
I Terms I
(+1)
Adds 360 degrees to the currentjoint positionon the R-axis.
(-1)
Subtracts360 degrees to the currentjoint positionon the R-axis.
I ExplanationI
(1)Whenyou u'sethis command,yau need to change the operation range of the Raxisby +/-72Odegreesbeforehand.Setthe -J6 settingto -720 on the jointoperation
range paramelerJAR, and +J6 to 720.For informationon how to change parameters,
refer to section2.6 Other functions"under ('l1) " Parametersettings."lf you set a
value that is mor than +/- 72Odegrees,it could result in position slips.
(2)Eventhoughthe current coordinatevalue changes,the robot won't move.
(3)fl the joint coordinatevalue on the R-axisexceeds +/- 720 degrees, the current
coordinatevalue won't change,and the out-of-boundsalarm will be generated.
(4)ll you are usingthe RV-E2/E2M,and you want to movethe R-axisby more than +/
- 180 degrees with this command,the move up to +/- 180 degrees should be by
ioint interpolationcommands.ll you use linear interpolationcommandsor circular
interpolationcommands,when you executethe program,alarmswill be generated.
lf you are using RV-E3J/RV-E3JM,you don't have such a restriction.
(5)ll you use this commandwhile doing continuousmovementswithout acceleration/
deceleration (passing), it will not be able to do continuousmovementswith
acceleration/deceleration.(Referto CNT of the SP command)
(6)Whenthe controllerpower is a disconnectedstate,if you move the R axis by more
than +/- 7 turns,the nexttime the powersourceis supplied,the positionof R's axis
will slip. In this case, it is necessaryto reset the origin for only the R-axis.
Reler to 3.9 "Settingthe origin"in the Use/s Manualand 1.2 "Settingthe origin" in
this manual,and reset the oriqin.
I Sample program) (with Movemastercommands)
10MO
1
; Moveto position1 (R-axisis -150 degrees)
20MO
2
; Moveto position2 (R-axisis +170 degrees)
30 JRC -1
; Subtract360 degreesfrom the current positionon the
R-axis (R-axisis -190 degrees)
40MO
1
; Moveto position1
a-42
LG (lf Larger)
( FunctionI
Thiscomparesthe valueof the internalregislerwitha specifiedvalue.ll larger,the
programwill jump.The characterstringregisterand the numbersof charactersin a
specifiedcharacterstringarecompared.
lf the characterstringregisteris larger,the
programwilljump.
( InputFormatI
LG <comparedvalue/characterstring number>,<branchingline numberr
(Terml
<Comparedvalue>
Specily the value comparedwith the internalregister.
-32768= Compared value (decimall < 32767
&8000 < Comparedvalue (hexadecimal) S &7FFF
<Characterstring number) Specifycharacterstring number in numericalvalue
which "$" is added to the head.
$1 S characterstring number < $99
<Branching
line numberr
Specitythe line numberto which the programjumps
when the value of the internal register is larger than
comparedvalue.
1 5 branchingline number < 9999
I Explanation)
<Whencomparedvalue is specified>
(1) Causesa iump to occur conditionallyin accordancewith the externalinput data or
the internalcountervalue.
(2) lf the internalregistervalue is largerthan the comparedvalue (i.e.,when the
conditionis met) , the programiumps to the specified line. Otherwise (i.e.,when
the conditionis not met) , the programcontinuesin sequence.
(3) A value can be loaded inlo the internalregister by executing the input command
(See lD) for the externalinputdata or by executingthe comparecountercommand
(See CP) tor the counterdata.Accordinglywhen you carryout conditionalbranching,
need lo execute either ofthe above commandsbeforehand.
( a ) T h e c o m p a r e dv a l u e m a y b e d e l i n e d e i t h e r i n d e c i m a l o r h e x a d e c i m a l A
.
hexadecimalvalue must be headed by "&".
<Whencharacterstring number is specified>
(1) The conditionswill jump dependingon the data inputfrom an externalsourceor the
number of charactersin a specifiedcharacterstring.
(2) lf the numberof charactersin the characterstringregisteris largerthan lhe number
of charactersin a specitied characterstring (whenthe conditionsare established)
, the programwill lump to lhe specifiedline number.lf the numberis smaller (when
conditionsare not established), the next line will be executed. lf the specilied line
numberis not registered,an alarmwill occurwhen jumping.
(3) By executingan INPcommand,the datainputlrom an externaldevicewillbesetin
the characterstring register.The detailsof the characterstring number will be set
by executinga CP command.Thus,when executingconditionjumping,one of these
commandsmust be executedfirst.
?-A?
command)
I Sampleprogram) (Movemaster
100 lD
;Fetchesthe datatromthe externalinputport.
110 LG 100,130
; lf the inputdatais largerthan100,jumpsto line 130.
120 ED
;Elseprogramends.
130 MO 1
; Movesto position1.
port.
140 OPN1,1
;Opensthe RS-232C
150 INP 1, ,2
data
character
stringregisterfromthe RSof
;Readsthe
port.
232C
160 LG $5,200
;Jumpsto line200il the datalengthlargethancharacter
stringnumber5.
'.
200 ED
e _ AA
;Endsprogram.
LR X
(Line Read)
I FunctionI
Readsthe programol the specifiedline number. (UsingRS-232C)
I InputFormatI
LR [<linenumberr]
[terml
(Line number)
Specifythe line number to be read.
0 S line numberS gggg (lf omitted,readsthe currentline number
stopping)
I ExplanationI
(1) Outputsthe programof the specifiedline number (or the currentstoppingline
number) fromthe RS-232Cport.
(2) The outputformatis ASCIIcoded as follows;
. It you specify the line number,
Programcontent is read.
. lf you omit the line nurnber (orspecify zero) -- Current stopping line number is
read.
(3) Because the terminatorof the outputdata is carriagereturn (Hex.OD), it is necessary
to handleserial data stringsup to hexadecimal0D in receivinga messageby a
personalcomputer. "LINE INPUT#" stalement is equivalentto this in BASIC.
(4) The hexadecimal0D is read out when the specilied line has not been defined.
(5) lf an alarmtakes place,you can confirmlhe line number in which the alarmoccurs
by executingthe LR commandwithoutline number.
program
I Sampte
I (enstc)
10 OPEN" COMI : E83" AS# 'l
20 INPUT "Startline ";
30 INPUT "End line";
40 FOR l=S TO E
50 PRINT # 1," LR" +STR$ (l)
60 LINE INPUT# 1,A$
70 rFA$="" THENgo
80 PRINT| ; : PRINTA$
90 NEXT
1 O OE N D
RUN
file lrom
; Opens the RS-232Ccommunication
the personalcomputer in BASIC.
;Enterthetoplinenumberthatyouwantto read.
;Enterthe lastline numberthatyou wantto read.
;Repeatedly
;Transmit"LR" + "line number,,to the conlroller
side.
: Savesthe receiveddata to A $.
; lt there is no data,jumps to line 90.
; Displaysthe data on the personalcomputer
screen.
; Repeatsandiumpsto line40.
; Runihe BASICprogram.
3-45
MA (MoveApproach)
( FunctionI
Movesthe handtip to the added position. (Linearinterpolation)
I lnputFormatI
MA (positionnumber (a) >,<positionnumber (b) , [, [<O/C>I
[terml
<Positionnumber (a) > Specify the positionnumber to be added. [The reference
position)
<Positionnumber (b) , Specify the positionnumberto add. ffhe increments
Position)
I S positionnumber (a) (b) = 999
(O/C)
Specify open or close state of the hand.
O : H a n do p e n
C : Handclose
( ExplanationI
(1) Movestothe added position,i.e.,the coordinates
of positions(a) and (b) are added
to make the destination,althoughpositions (a) and (b) remain unchangedafter
executingthe MA command. (See the SF command.)
(2) lf the open/close state of the hand has been specified, the robot moves after
executinglhe hand controlcommand.ll it has not been specified,the handstate in
position (a) remainsvalid.
(3) ll the calculatingresultsexceed the robot'soperationalspace,alarm occursbefore
the robot moves.
(4) Alarmalsotakes place if positions (a) and (b) havenot been defined.
(5) The positionof the hand tip is decided bythe tool lengthcurrentlyestablished.
I Sample program I (Movemastercommand)
(1) RV-E2/RV-E2M
10 HE 1
; Sets the currentcoordinatesto position1.
20 PD 5,0,0,30,0,0,0 ; Definesthe Z coordinateof position5 as 30 mm.
30 MA 1,5,O
; M o v e s t o t h e p o s i t i o nt h a t o n l y Z d i r e c t i o n a d d e d t o
coordinatevalueol position1 by 30 mm with the hand opened.
X Coordinatesvalues of position1 and position5 do not change.
(2) RV-E3J/RV-E3JM
10 HE 1
; Sets the currentcoordinatesto position1.
20 PD 5,0,0,30,0,0 ; Defines the Z coordinateof position5 as 30 mm.
30 MA 1,5,O
; M o v e s t o t h e p o s i t i o nt h a t o n l y Z d i r e c t i o n a d d e d t o
coordinatevalueof position1 by 30 mm with the handopened.
X Coordinatesvalues of position1 and posilion5 do not change.
3-4A
MC (MoveContinuous))
I Function)
throughthe predefinedintermediatepointsbetween
Movesthe robotcontinuously
position
numbers.(Linearinterpolation)
two specified
I InputFormatI
number(a) >,<position
MC <position
number(b) , [, [(o/Crn
[rerm)
(Position
number(a) >
<Positionnumber (b) >
<o/c,
Specifythe top positionnumber movingcontinuous.
Specitythe lasl positionnumber moving continuous.
''l 3 position
number (a) (b) < 999
(a) - posilionnumber {b) | < 99
Position
number
I
Specifyopen or close state of the hand.
(lf omitted,the hand data of each positionis valid.)
O: Handopen
C: Handclose
I ExplanationI
(1) Movesthe robotalong the seriesof positionsvia (a) to (b) withoutaccelerationand
deceleration. (Linearinterpolation)
(2) Dependingon whether positionnumber of (a) is greaterthan that of (b) , or vice
versa,the robot movesthroughthe intermediatepointsin descendingor ascending
order. The robol deceleratesto a stop as it reachesthe end position.
(3) When the handopen/closesettinghas been done,hand controlis executedbefore
the movement.
(4) Since the robot does not accelerateor decelerateduring motion,alarmmay occur
when the path involvesa greatchangein directionof any of the jointsat high speed.
(5) The speed of travel during linearinterpolationis determined by the SP or SD
command. (Handtip at constantspeed)
{6) Alarm occurs if specified positions (a) and (b) have not been delined br if the
differencebetweenthe positionnumbers (a) and (b) exceeds99.
(7) Alarm also takes place during movementif the movement path goes beyond the
robot'soperationalspace.
I Sample program) (Movemastercommand)
10SP 10
; S e t ss p e e dt o 1 0 .
20 MO 1
; Movesto position1 in joint interpolation.
30 MC 5,9
; Movescontinuouslyfrom position5 to 9 in linear interpolation.
(3)Position6
4) PositionT
Currentposition
X
5) Position8
(2)Position5
(1)Positionl (5)Positiong
?-a7
MJ (MoveJoint)
( FunctionI
Turns each joint the specified angle from the current position. (Jointinterpolation)
I Input FormatI
(1 RV-E2/RV.E2M
[<waistjoint angle>], [<shoulderjoint angle>], [<elbowjoint angle>],
[<twistjoint angler] , [<pitchjoint angle)] , [<rolljoint angte>]
RV.E3J/RV-E3JM
MJ
[<waistjoint angle)] , [<shoulderjoint angle>], [<elbowjoint angle)] ,
[<pitchjoint angler] , [<rolljoint angle>]
(Terml
<Eachjoint angle>
Specify relaiive amountol each joint turningfrom the current
posiiion.
I ExplanationI
(1) The leastincrementof the turningangleis 0.01degree,e.9.,specify15.02for 1S.02
degree.
(2) The open/close state ol the hand does not change before and after the movement.
Alarm occurs before the ioint motionil any turning angle entry exceeds the robot's
operationalspace.
(3) The defaultturningangle is 0.
( ) The positiveand negativedirectionsof each joint ot motionare as follows;
RV-E2/RV-E2M
RV-E3J/RV.E3JM
\
J Pitch
Wrist roll +
(Rolt) -
l+
WristDitch /
(Pir;h) +\
Shoulder
From the top view
From the side view
( Sample program) (Movemastercommand)
(1) RV-E2/RV-E2M
10 MJ 90,0,0,0,0,0 ;Turnsthe waisl.ioint+ 90 degrees.
20 MJ 0,-30,0,0,0,0 ;Turnsthe shoulderloint- 30 degrees.
(2) RV-E3J/RV-E3JM
10 MJ 90,0,0,0,0
;Turnsthe waistioint+ 90 degrees.
20 MJ 0,-30,0,0,0 ; Turnslhe shoulderjoint- 30 degrees.
a_A9
MO (Move)
I Function)
Movesthe handtip to the specifiedposition.(Jointinterpotation)
( InputFormatI
number>[, kO/C,n
MO <position
(Term)
<Positionnumben
<O/C>
Specifythe destinationpositionnumber in integer value.
1 = positionnumber5 999
Specify open or close state of the hand. (lf omitted,the hand
state of the positionis valid)
O: Handopen
C: Handclose
( ExptanationI
(1) Moves the tip of hand to the coordinatesof the specified position by loint
interpolation.Thehand tip is decided by the tool length currentlyestablished.
(2) lf open/closestateof the handhas been specified,the robot movesafter execuling
the hand controlcommand.
(3) lf it has not been specified,the delinitionof the specified positionis executed.
(4) Alarmtakes place if the speciliedpositionhasnot been predelinedorthe movement
exceeds the robot'soperationalspaceI Sample programI (Movemastercommand)
10SP 10
; S e t ss p e e dt o 1 0 .
20 MO 20,C
; Movesto position20 with hand closed.
30 MO 30,O
; Movesto position30 with hand opened.
3-49
MP (MovePosition)
I Function
I
Movesthe tip of handto a positionwhosecoordinates(positionand angle) have
been specified. (Jointinterpolalion)
I InputFormatI
( 1 RV-E2/RV.E2M
MP
[< X coordinatevaluer] , [< Y coordinatevalue>],
[< Z coordinatevaluer] , [<Aturn angler] , [<Bturn angler] ,
t, [(R/Lr] t, t,A/B'l [, kN/Fm
[<Cturnangle>]
RV-E3J/RV.E3JM
MP
[( X coordinatevalue)] , [< Y coordinatevaluer] ,
[< Z coordinatevaluerl , [<Aturn angle>], [<Bturn angle)] ,
t, t(R/L,l t, t<A/B,n
(terml
<X,Y,Z coordinater Specifythe positionin XYZ coordinales (mm) of the robot.
(Zero lor default)
(A, B,C turning angle, Speciiy the turning angle ol roll and pitch joints in XYZ
coordinates (degree) of the robot. (Zero for default)
(RV-E2/RV-E2Monly.)
<A,B turningangle> Specify the turning angle of roll and pitch joints in XYZ
coordinates (degree) ol the robot. (Zero for default)
(RV-E3J/RV-E3JMonly.)
(R/L)
Specify the structureflag ot the robot. (Rightor Left)
R: Right (Default)
L: Left
<A/B>
Specify the structure flag of the robot. (Above or BelowD
A : Above (Default)
/
B: Below
<N/F)
Specifythe structureflag of the robot. (Nonflipor Flip)
(RV-E2/RV-E2Monly.)
N : Nonf lip (Default)
F: Flio
I ExplanationI
(1) The least incrementof the coordinatevalue is 0.01mm or 0.0'l degree.
(2) lt the structureflag has not been specified,Rightand Above flag is selected.
(3) lf the specified value exceeds the robot's operationalspace, alarm occurs at the
executionof the MO command.
(4) The open or close state of the handremainsthe same before and afterthe movement.
(5) The positionof handtip is decided by the tool lengthcurrentlyestablished.
I Sample program) (Movemastercommand)
{1) RV-E2/RV-E2M
10 MP 400,0,300,0,0,0
; Movesto the specifiedcoordinates.
20 MP 200,200,500,0,0,0,R,A,N
; Movesto the specitied coordinates. (Structure
flagsare also specified.)
(2) RV-E3J/RV-E3JM
10 MP 400,0,300,0,0
: Movesto the sDecifiedcoordinates.
20 MP 200,200,500,0,0,R
; Movesto the specified coordinates. (Structure
flags are alsospecified.)
1-5n
MPB (Move Playback)
I Function
I
Movesto the specifiedpositionwith specifiedinterpolation,
speciliedspeed,
specified
tim_er,
and
specified
input
and
output
signal.
I InputFormatI
RV-Ez/RV-EzM
MPB [<speed>], [<timer>j, [(outputONr] , [(outputOFFI] , [<inputON>],
[<inputOFFr] [, [<interpolationr], [,X coordinater] , [<y coordinater]
[<Zcoordinate>], [<Aturningangle)] , [(B turning angle'] ,
[<Cturningangle,][, FR/L>] t, [( A/Br] [, t( N/Frm I, l(O/Cril
RV-E3J/RV-E3JM
[<speed>], [<timen], [(outputON>] , [<outputOFF>], [<inputON>],
ftinput OFF>I [, [(interpolation'l , [il coordinate>], [<Ycoordinater]
[<Zcoordinale>l, [(A turningangle>], [<Bturning angler] ,
[, I(R/L,] I, [( A/B,n I, ko/c,il
Iterml
<Speed>
Specify the interpolationspeed to the destinationposition.
0 S speed s 32767 (Jointinterpolalion: %, Linear interpolation:
mm/s)
<Timer>
Set timer at the destinationpositionafter the movement.
05 timer3 255
(OutputON) Set the outputsignalthat turns ON.
0 = outputON (Hexadecimal)< & FFFF
1: Setting,0: Notsetting
<OutputOFF> Set the outputsignalthat turns OFF.
0S outputOFF (Hexadecimal)< &FFFF
1 : Setting,0 : Not setting
<lnputON>
Se1the inputwailing signalthat turns ON.
0 3 inputON (Hexadecimal)5 & FFFF
1 : Setting,0: Not setting
<lnputOFF> Set the inputwaiting signalthat turns OFF.
0 S inputOFF (Hexadecimal)S & FFFF
1 : Setting,O: Not setting
<lnterpolation>Specify the inlerpolationmode to the destinationposition.
Joint interpolation: 0 (Default)
Linear interDolation
: 1
Circularinterpolation: 2
<X,Y, Z coordinate> Specifythe location (mm) in XYZ coordinatesof the robot.
(Zerotor default)
<A,B,C iurningangle r Specifythe turningangtearoundX (A) ,y (B) ,Z (C) axes
in XYZ coordinates (degree) oflhe robot. (0 for delault)
(RV-E2/RV-E2Monly.)
<A,B turningangle>
Specifythe turningangle aroundroll (A) , pitch (B) axes in
XYZ coordinates (degree) ofthe robot. (0 lor default)
(RV-E3J/RV-E3JM
only.)
3-51
(R/L)
<A/B>
<N/Fr
.O/Ct
Specify the structure ftag of the robot. (Right or Left)
R: Right (Defautt)
L: Left
Specily the structure flag of the robot. (Above or Below)
A : Above {Default)
B: Below
Specify the structureflag of the robot. (Nonflipor Flip)
(RV-E2/RV-E2Monly.)
N : Nonflip (Default)
F: Flip
Specify open or close state of hand 1.
O : Hand 1 open (Default)
C: Handl close
I ExplanationI
(1) The leasl incrementof the coordinalevalueis 0.01mm or 0.01degree (e.g.,specify
20.01for 20.01mm) .
(2) Alarmoccurs if the specitied coordinatesexceed the robot,soperationalspace.
(3) The defaultstructureflags are R (Right), A (Above), N (NonFlip) .
(4) The defaultcoordinatevalue is zero.
(5) lf you set any conditionof speed, limer, or input/outputin the teaching playback
method,the MPB commandis generatedat each step .
(6) The inputand outputsettingmustbe hexadecimalcode headed with "&".
(7) lf the input/outputsignal is not set, the bit correspondingon the teaching box's
screendisplaywill be "-".
(8) The order that the conditiondata specified with this command is executed rs as
follows.
1) Interpolationmethod 2) Speed 3) Movementto target position 4) Timer 5)
Signaloutput (includinghandcontrol) 6) Signalinputwait
3-52
MPC (MovePlaybackContinuous)
I Function
I
Movesto the specified positionwith specified interpolation.
I InputFormat
I
(1)RV-E2/RV-E2M
MPC [<interpolation>]
, t. X coordinate>l, [<Y coordinater],
Z
coordinater]
, kA turningangle>l, [<Bturning angle>],
[<
turning
angle>]
[<C
[, FR/L,] [, [( A/B r] [, [<N/F r]ln t, t(O/C)n
(2) RV-E3J/RV-E3JM
MPC [<interpolation>1
, t, X coordinater], [<Y coordinate>],
coordinate,j
Z
, t,A turningangle>], [<Biurning angle>]
[<
t, t(R/L'l t, t( A/B,lll [, [<O/Cr]l
[rerml
Specifythe interpolationmode lo the destinationposition.
0: Jointinterpolation(Delault)
1 : Linearinterpolation
2 : Circularinterpolation
<X,Y,Z coordinate> Specilythe location (mm) in XYZ coordinatesof the robot.
(0 for delault)
(A, B,C turningangle > Specifythe turningangle aroundX (A) , Y (B) , Z (G) axes in
XYZ coordinates (degree) ofthe robot. (0 for delault)
(RV-E2/RV-E2Monly.)
<A,B turningangle >
Specilythe turninganglearoundroll (A) , pitch (B) axes in XYZ
coordinaies (degree) ofthe robot. (0lor default)
(RV-E3J/RV-E3JMonty.)
<R/Lr
Specifythe structuretlag of the robot. (Rightor Left)
R: Right (Default)
L: Left
<A/B>
Specifythe structureflag of the robot. (Aboveor Below)
A : Above (Default)
B: Below
<N/F)
Specifythe structureflag of the roboi. (Nontlipor Flip)
(RV-E2/RV-E2Monly.)
N : Nonllip (Default)
F: Flip
<O/C>
Specifyopen or close state of the hand 1.
O : Handopen (Defaull)
C : Handclose
( ExplanationI
(1) The leastincrementoi the coordinatevalueis 0.01mm or 0.01degree (e.9.specify
20.01for 20.01mm) .
(2) Alarmoccurs if the specilied coordinatesexceed the robot'soperationalspace.
(3) The defaultcoordinatevalue is zero.
(4) Use the MPB commandlf the settingof speed, timer,or inpuvoutputare needed.
(5) lf you do not set any conditionof speed,timer,or inpul/outputin the teaching playback
method,the MPC commandis generatedat each step.
(8) The order thatthe conditiondataspecified with this commandis executed is as lollows.
1) Interpolationmethod 2) Speed 3) Movementto larget position 4) Timer 5) Signal
output (includinghand control) 6) Signalinputwait
3-53
<lnterpolation>
MR (MoveR)
I FunctionI
positionsin circular
Movesthe tip of handthroughthe predefinedintermediate
interpolation.
(t
MR <positionnumber (a) >, <positionnumber (b) r, <positionnumber (c) r
[, [< O/C rn
lterml
<Positionnumber> Specify the positionson the circle.
1 < positionnumbers 999
<o/c,
Specify open or close state of the hand. (lf omitted,the hand
state of the positionis valid.)
O: Handopen
C : Handclose
( ExplanationI
(1) Movesthe tip of handthroughspecified positionsfrom (a) via (b) to (c) drawing an
arc.
(2) The movingspeed of circularinterpolationis decided by the SP or SD command.
ffhe tip ot handat constantspeed.) Sincethe locusaccuracydependson the speed
of circulari nterpolation,set the movingspeed lower if you need high accuracy.
(3) The open or close state of the hand does not change belore and after the movement.
(4) lf the starting position (a) is different lrom the current position,the robot moves to
the startingpositionby linear inlerpolation.
(5) lf the circular interpolationis interrupted by the stop signal and restarted by the start
signal,the robot moves the remainingarc. lf the tip of hand is kept away from the
stopping positionby JOG operationin the above case, lhe robot moves to the
stopping positionby joint interpolationthen moveslhe remainingarc.
(6) Alarmtakes place if the specified positionhas not been predefinedor exceeds the
robot'soperationalspace. The robot movesby linear interpolationif three positions
(a) , (b) and (c) are located on a straightline or if two of three positionsare the
same.
(7) lf the moving direction of each joint changes greatly at the beginning of circular
interpolation,
alarm may occur.Set speed lower or set timer at the beginningin this
case.
(8) The drawingdirectionand the locusof the arc depend on the order of the specified
positions.
<lnthe caseof MR 1, 3, 5)
Position3
Position5
( E x a m p l e1 )
3-54
Position
Position3
(Example2)
I Sampleprogram) (Movemastercommand)
lOSP 8
; Set speed to 8.
20MO 1
; Movesto position1.
30 MR 10,20,30 ; Movesto position10 by linearinlerpolation.
4OMS 3
50 ED
Moves the arc determined by position10, 20, 30 by circular
interpolation.
; Movesto position3 by linear interpolation.
; Ends program.
Position 'l
"'(
Position20
Position3
Position10
Currentposition
Position30
3-55
MRA (MoveR A)
I Function
I
Movesto thespecifiedposition
in circularinterpolation.
I InputFormat)
MRA <position
number, [, [(O/Crn
[terml
<Positionnumber>
<o/c,
Specifythe destinationposition.
1 S oositionnumberS 999
Specify open or close state ot the hand. (lf omitted,the hand
state of the positionis valid.)
O : H a n do p e n
C : Handclose
I ExplanationI
(1) Moves the tip ol handon the arc which is defined by the former and the latter
positionsof the MRA commands.The tip ol hand is decided by the tool length
currentlyestablished.
(2) lf the open or close staie ol the hand has been specilied, the robot moves atter
executinglhe hand control.
(3) Alarmtakes place il the specified positionhas not been predefined.
(4) lf the MRA commanddoes not conlinuemore than three,it becomes similarto the
MC command.The following command,however, can be executed between the
MRA command.
SD, SP,TI, OVR,OB, OC, OD, GC, GO
(5) ll the executionof the MRA commandis interruptedand the tip of handis kept away
from the stopping positionby JOG operation,the robot moves,when restarted,to
the stopping positionby linear interpolationthen movesthe remainingarc.
I Sample programI (Movemastercommand)
10 MRA 1,O
;Definesthe arc with positions1, 2, 3.
Moves to position1 by linear interpolation.
20 MRA 2,O
; Movesto position2 by circular interpolation.
30 MRA 3,C
; Movesto position3 by circular interpolation.
40Tt
3
;Timer 0.3second.
50 MRA 4
;Moves to position4 by circularinterpolation.
60 MRA 5
;Moves to position5 by circularinlerpolation.
70 ED
; Ends program.
Position2
Currentposition Position1
M R A4 _ 1 . .
POSt On 5
Position3
3-56
MS (MoveStraight)
I runctionI
Moves the tip of handto the specified position. (Linearinterpolation)
( lnput FormatI
MS <positionnumber> [, [<o/Crn
[Terml
<Positionnumber> Specily the destinationpositionnumber in integer value.
1 ( positionnumber ( 999
<o/c>
Specityopen or close state of hand. (lf omitted,the handstate of
the positionis valid.)
O: Handopen
C : Handclose
I ExplanationI
('l) Movesthe tip ot handto the specifiedpositionby linearinterpolation.The
tip ot the
hand is decided by the tool lengthcurrentlyestablished. (See the TL command.)
(2) Alarmoccursbeforeor duringmovementif the destinationor movementpath goes
beyond the robot's operational space.
(3) ll the open or close state of the hand has been specified, the robot moves after
executinglhe hand control.
(4) The moving speed is decided by the SP or SD commands. (The tip of hand at
constantspeed.)
(5) Use the MC commandto move continuouslythrough several positionsby linear
interpolalion.
I Sample programI (Movemastercommand)
10 SP 15
; Sets speed to 15.
'l
20 MO 1
; Movesto position by joint interpolation.
30 MS 5
; Movesto position5 by linear interpolation.
40 MS 6
; Movesto position6 by linear interpolation.
50 MS 7
; Movesto position7 by linear interpolation.
60 MS I
; Movesto position8 by linear interpolation.
70 MS 5
; Movesto position5 by linear interpolation.
Position6
Currenlposition
X
PositiohI
Position5
.t-c /
MT (MoveTool)
I Function
I
Moveslhe tip of handto a positionawaytromthe speciliedpositionby lhe distance
as specifiedin the tool direction.(Jointinterpolation)
lnput
FormatI
I
distance>]t, ko/Crn
number),[<travel
MT <position
lterm)
<Position
number>
<Traveldistance>
(O/C)
positionnumberin integervalue.
Specifythe destination
1 S positionnumbers 999
Specifythe distancein tooldirectionfromthe specified
positionto the destination
point. (Zerotor default)
-3276.80
< traveldistance< 3276.70
Specityopenor closestateof the hand. {ll omitted,the hand
stateof the positionis valid.)
O: Handopen
C : Hand close
I Explanation)
(1) The least incrementot the distanceis 0-01mm.
(2) When the distanceis positive,the tip of hand advancesin the tool direction.When
the distanceis negaiive,the tip of hand retracls in the tool direction.
(3) lf the open or close state of the hand has been specified, the robot moves alter
executingthe hand control.
(4) Alarm occurswhen the MT commandis executed if the specified positionhas not
been predefinedor il the destinationexceeds the robot'soperationalspace.
( Sample program) (Movemastercommand)
'l
10 MT 1,-100
; Movesto the point away from the position by 100 mm.
20 MS 1
; Movesto position1.
00
30 MT 1,-1
; Movesto the point away from the position1 by 100 mm.
Currentoosition
MT 1,-'100
MT 1,-100
,,,"'{
Position1
3-5n
MTS (MoveToolStraight)
I Function
I
Moveslhe tip of handto a positionaway from the specified positionby the distance
as specilied in lhe tool direction. (Linearinterpolation)
( Input FormatI
MTS <positionnumber), [dravel distance>] [, t(O/CrX
[terml
<Positionnumben
(Traveldistance)
Specifyihe destinationpositionnumber in integer value.
1 S positionnumber S 999
Specifythe distance in tool directionfrom the speciiied
t"r"il.-"&,*!n?i,?i'$3,'"?[3?'i;l&.'r'r"'dera
<O/Cr
Specifyopen or closestateof ihe hand. (ll omitted,the hand
state of the positionis valid.)
O: Handopen
C : Handclose
I ExplanationI
(1) The leastincrementof the distanceis 0.01mm.
(2) When the distanceis positive,the tip of handadvancesin the tool direction.When
the distanceis negative,the tip ot hand retractsin the tool direction.
(3) lf the open or close state of the hand has been specified, lhe robot moves after
executingthe hand control.
(4) Alarmoccurswhen the MT commandis executed if the specified positionhas not
been predefinedor if the destinationexceeds the robot'soperationalspace.
( Sample programI (Movemastercommand)
10 MTS 1,-100,0 ; Movesto lhe poini away from lhe position1 by 100 mm with
hand opened. Moves straight.
20 MS 1
; Moves to position1.
30 MTS 1,-100,C ;Moves to the pointaway from the position1 by 100 mm with
hand closed. Moves straioht.
ta
--- --- - -- -- -- -Utr--X
currentposition
MTS 1,-100,0
'.*{
M T S1 , - 1 0 0 , C
Position1
3-59
N X (Number)
( FunctionI
Selectthe specifiedprogram.
I InputFormatI
N <programname>
[rerm)
<Programname> Specitythe robot programname. (Less than 8 characters)
Possibleletter used : Digit (0-9)
Character (A - Z)
Symbol (! @#,etc)
l m p o s s i b l lee t t e ru s e d : * + , . , / : ; : ? [ Y ] ' "
Specialspecilication: When you specified only numericvalue,is
handledfor number.
Need to enclose program name with " "
in the case of characterused.
I Explanation)
(1) Select the specilied program.The programselected here becomes an obiect of
the implementation,
modificationand operation.The programselectedonce remains
till other program number is selected afresh. (Even if the power turns OFF, the
program number remainsunchanged.)
(2) You can confirm the current program number using the QN command lrom the
personalcomputer. (See the QN command.)
(3) Program1 is selected at productline shipping.
(4) The followingname is identifiedas the same.
An example : Handledas the same.
1,01,001,00000001 (Only numericvalue)
Handledas notthe same.1,1A, A0 _ 001 (lncludescharacters)
(5) The letters that controllercan indicateto the LED are 0-9, A - Z (simplified).
I sampteprogram
) (eestc)
10 OPEN" COM1 : E83" AS # 1
2 0 P R I N T# 1 , "
3 0 P R T N #T1 , "
4 0 P R r N T# 1 , "
5 0 P R T N #T1 , "
60END
N10"
1 oM O 1 "
2 0 M S2 "
3 0E D "
; Opens the RS-232Ccommunicationfile in
BASIC.
; Selectsthe program 10.
of program. (Line10)
; lmplementation
; lmplementationof program. (Line 20)
; lmplementationof program. (Line 30)
;Ends
NE (lf Not Equal)
I FunctionI
Thiscomparesthe valueof the internalregisterwitha specifiedvalue.lf not equal,
the programwill jump.The characterstringregisterand detailsof a specified
- characterstringare compared.lf notequal,the programwill jump.
I InputFormatI
NE <comparedvalue/characterstring number>,<branchingline numberr
Iterml
<Comparedvalue>
<Characterstring numben
<Branching
line number>
Specifythe value that the internalregister compares
contentswith.
-32768< comparedvalue (decimall < 32767
& 8000= comparedvalue (hexadecimal)S &7FFF
Specifycharacterstring number in numericalvalue
which "$" is added to the head.
$1 S characterstring number < $99
Specifythe line numberlo which the programjumps
when the comparisonresult is not equal.
1 S branchingline pair = 9999
I ExplanationI
(Whencomparedvalueis specifiedr
(1) Causesa jump to occur conditionallyin accordancewith the externalinput data or
the internalcountervalue.
(2) lf the internalregistervalue does not equal to the compared value (i.e.when the
conditionis met) , the programjumpsto the specifiedline. Otherwise (i.e.when
the conditionis not .met), the programcontinuesin sequence.
(3) A value can be loaded into the internalregister by executingthe input command
(See lD) lor the externalinputdata or by executingthe comparecounter6ommand
{SeeCP) for the counterdata.Accordinglywhen you carryoul conditionalbranching,
need to execute either ofthe above commandsbeforehand.
( 4 ) T h e c o m p a r e dv a l u e m a y b e d e f i n e d e i t h e r i n d e c i m a l o r h e x a d e c i m a l A
.
"&".
hexadecimalvaluemustbe headedby
(When characlerstring number is specified>
(1) The conditionswill jump dependingon the data inputfrom an externalsourceor the
numberof charactersin a specified characterstring.
(2) lf the numberot charactersin the characterstringregisteris not equal10the details
of a specifiedcharacterstring (whenthe conditionsare established), the program
will jump to the specified line number.lf not (whenconditionsare not established)
. the next line will be executed.
(3) By executingan INP command,the data inputfrom an externaldevice will be set in
the characterstring register.The detailsof the characterstring number will be set
by executinga CP command.Thus,when execulingconditionjumping,one of these
commandsmusl be executed{irst.
(4) lf the speciliedline numberis notregistered,an alarmwill occurwhen jumping.
3-61
( sampleprogramI (Movemaster
command)
10 tD
20 NE 80,100
30 ED
1 0 0M o 7
1 1 0o P N 1 , 1
1 2 0t N P 1 , , 2
Fetchesdata from externalinput port.
Jumps to line 100 if the data does not equal 80.
Ends the programil above conditionis not met.
Movesto position7.
Opens the RS-232Cport.
Readsthe data of characterstring register from the RS-
130NE $2,200
232Cport.
;Jumpsto line200if the datanotequalscharacterstring
number2.
2OOED
; Endsprogram.
a-At
NT (Nest)
I Function
I
Carryoutoriginsetting.fl-herobotmovesto theuser-defined
origin.)
( InputFormat
I
NT
I Explanation)
(1) The movingsequenceof eachjointis fixed belorehand.Originsettingof the shoulder,
the elbow and the twist joint is lirst executed,which is tollovyedby that of the waist,
the pitch,and the roll joint.
Note.) RV-E3J/RV-E3JMdont havethe twist joint.
(2) lf the arm can inlerferewith the object surroundingthe robot,use the teaching box
to move it to a sate locationbefore origin setting.
(3) You can changethe movingsequenceof the originsetting by the parameterUNG,
and also can changethe attitudebythe parameterUOG.The parameterUOG can
be set with the teaching box operation,too. (See section1.2"Originsetting", and
the "HE" command.)
{4) The NT commandis nol requiredin the usualoperation.
I RetatingParametersI
The sequentialorder of useroriginsettingcan be changedby the followingparameter.
Parametername UNG : Sequentialorder
2,1,1,1,2,2{Default)
The attitudeol user origin settingcan be changed by the lollowing parameter.
Parametername UOG : User origin attitude (degree)
-160.00,-45.00,50.00,-160.00,-120.00,-200.00
(DelaultRV-E2/RV-E2M)
-160.00,-45.00,0.00,0.00,-120.00,-200.00
(DeiaultRV-E3J/RV-E3JM)
To find the changeoperalion,refer to section2.6 "Other Functions (11) Setting the
parameters"in this Manual.
I Sample program) (Movemastercommand)
10 NT
; Executesorigin setiing.
20 MO 1
; Movesto position1.
30 ED
;Ends program.
3-63
NW X (New)
I Function)
Deletesthe speciliedprogramand positiondata.
I InputFormatI
NW
I Explanation)
(1) Deletes all positionsand countersof the specified program. Common positions
(901-999) and commoncounters (91-99), however,are not deleted.
(2) Origin setting,internalregisier,tool length,speed setting,pallet setting,and hand
setting remain unchangedeven if the NW command is execuled.
(3) The NW commandcan not be executed in the programwith line number. (Only
direct executionis possible.)
I 1anstc)
I Sampteprogram
file from the
10 OPEN" COM1 : E83" AS #1 ;Opensthe RS-232Ccommunication
personalcomputer in BASIC.
30 PRINT#1," Nw"
;Transmitcommand"NW"
60 END
;Ends program.
i-41
NX (Next)
( FunctionI
Specifiesthe rangeo.fa loopin a programexecutedby the RC command.
I InputFormatI
NX
I Explanation
I
(1) Usedincombination
withtheRCcommand
to specifytherangeof a loopina program
execuledby the RC command.
(2) Alarmoccursii thereis nocorresponding
"RC"commandspecified.
I SampleprogramI
Seethe RCcommand.
3-65
OB (OutputBit)
I Function
I
Setsthe outputstateof thespecifiedbitthrough
anexternaloutputport.
( InputFormatI
OB [<+7-r1<bitnumberr
[rerml
<+/->
Set ON or OFF state of the soecilied bit.
+: BitON
-: BitOFF
<Bitnumben Specify the bit numberot externaloutput.
0 < bit number < 32767
I ExplanationI
(1) Set "+" to switch on the specified bit and "-" to switch off the specitied bit.
(2) All bits other than the specilied one are not aftecled by this command.The output
state of the specilied bit is retained until a new setting is made by the OB or OD
command.
(3) lt you specifythe special bit in the parameterOT1-OT3 ol the externaloutput,alarm
occurs because of the conJlictol signals.
(4) Forthe pneumatichand,you can specifyopen or close state ol hand 'l and 2 by the
OB command.Reler to the table below. (Ordinary,use the GC or GO command.)
For the motor-operatedhand,these settingsare not possible.
Nolice : GR1-GR4shows connectornumberol hand outputcable in the robot arm.
Hand
Hand1
Hand2
Open/Close
GR1
GRz
GR3
GR4
OuFutbit 900 Outputbit 901 Outputbit 902 Ouput bit 903
oN
Open(GO0)
OFF
Close(GC 0)
Open(GO1)
Close(GC1)
OFF
-
ON
ON
OFF
OFF
ON
( Sample program) (Movemastercommand)
10 OD &FFFF
; Turnsthe bits (0-15) of externaloutputinto ON entirely.
-10
20 OB
;Turnsonlybit 10 to OFF.
30 ED
;Ends program.
OC (OutputCounter)
I Function
I
Outputsthespecifiedcounter
valueunconditionally
through
theoutputport.
I InputFormatI
OC <counternumber) [, koutputbitr] [, kbit widthr]ll
Irerm)
<Counternumber> Specifythe counternumberlo be oulput.
1 S counternumberS 99
(Outputbit number) Specily the referencebit numberof output data
0 < bit number= 92762 (0 for default)
<Bitwidthr
Specity bit width of outputdata.
1 < bit width s 16 (16for defautt)
I ExplanationI
{1) Outputs the specified countervalue unconditionallythroughthe output port. The
output dala retainsafter that.
(2) Even if the OC commandis executed,the value of the specified counterand the
internalregister remainintact.
(3) You can specify the rangeof outputsignalby settingthe bit width ol the OC command.
I sampteprogram
I (Bnstc)
10 OPEN" COMI:E83" AS#1 ;Opensthe RS-232Ccommunication
file from the
personalcomputerin BASIC.
20 PRINT# 1," SC 5,&0008" ;Set valueI to counters
30 PRINT # 1," OC 5 "
;Outputsthe valueof the counter5 unconditionallv
to output port.
40 END
; Endsprogram.
3-67
OD (OutputDirect)
I FunctionI
Outputsthe specifieddataunconditionally
throughthe outputport.
( InputFormatI
OD <outpuldata> [, l(outputbit number;] [, kbit widthr]n
(Terml
<Output
data>
<Output
bit numberr
<Bitwidthr
Specified outputdata.
-32768= outputdata (decimal) = 32767
& 8000< orrtputdata (hexadecimal)S & TFFF
Specifythe referencebit numberof outputdata.
0 < bit number= 32767 (0for default)
Specifythe bit widthof outputdata.
1 < bit width< 16 (16lordefault)
( ExplanaiionI
('l) Outputsa signal (paralleldata) unconditionally
throughthe output port to external
equipmentsuch as a programmablecontroller.The output data retains after that.
(2) output data is defined eilher in decimal or hexadecimal.The data defined in
hexadecimalmust be headed by "&".
(3) For informationon connections,see 4.1.2"lnterfacingwith externall/O equipment".
(4) You can specifythe rangeol outputsignalby settingthe bitvvidthof the OD command..
(5) lf you specitythe specialbit in the parameterOT1-OT3of the externaloutput,alarm
occurs because of the conflict of signals- (lf you want to reset output signal with
faclory default setting,execute "OD 0,0,13" causingthe output bit from 0 to 12 to
oFF.)
/
command)
I SampleprogramI (Movemaster
10 OD &FFFF
; Setsthe outputportol 16 bitswidthlrom bit 0 to ON.
20 OD &FFFF,1
0
; Setsthe outputporto{ 16 bitswidthfrom bit 10 to ON.
30 OD &FFFF,10,15 ;Setsthe outputportof 15bitswidthfrombit 10to ON.
40 ED
;Endsprogram.
OG (Origin)
I Function
I
Movesto lhe user-definedorigin. (Jointinterpolation)
I InputFormat
I
OG
I ExplanationI
(1) Moves to lhe user-definedorigin specified by the parameter UOG by joint
interpolalion.
(2) The attitude ol the robot, afler executing the OG command, is the same as the
attitudeafter executingthe NT command.The parameter UOG, which defines the
movingsequence of origin setting,does not effect the OG command.
(3) The parameterUOG can be set with the teachingbox operation,too.
(Seesection1.2"Originsetting",and the "HE" command.)
I RelatingParametersI
The attitudeof user origin settingcan be changed by the fotlowingparameter.
Parameter
name
uoG'-i;.:[3l:i3.et',t!3loo,
-.,uo.oo,
-2oo.o0
-120.00,
(DeiaultRV-E2/RV-E2M)
-45.00,
-200.00
160.00,
0.00,0.00,-120.00,
(DetaultRV-E3J/RV-E3JM)
command)
I SampleprogramI (Movemaster
10 NT
theoriginsetting.
;Executes
20 MO 2
; Movesto position2.
30 OG
; Movesto origin.
40 ED
; Endsprogram.
3-69
OPN (open)
( FunctionI
Openscommunication
channelandspecifyinput/outputdevice.
I InputFormatI
OPN <channelnumberr,<devicenumben
[rerml
<Channelnumber,
<Devicenumber>
Specify inpuVoutputchannel number.
0 S channelnumberS 2
Specify inpuVoutputdevice number.
1 : Standard RS-232C
2: StandardRS-422
I ExplanationI
(1) The correspondingrelationof the channel numberand input/outputdevices is
specified, and the channelis opened.
(2) Up to three channelscan be opened simultaneously.However,multiple <channet
numbers)cannotbe set in the same (input/outputdevice numben.
(3) The counter,positionand characterstring data can be read in with the lNp command.
I Sample program) (Movemastercommand)
10oPN 1,1
;The standardRS-232-Cis opened.
(Channelnumber1 is assigned.)
20 INP 1,1,1
;The positiondata is read trom RS-232-C.
30 tNP 1,1,0
; The counterdata is read from RS-232-C.
40 tNP 1,$1,2
; The characterstring data is read from RS-232-C.
3-70
oR (or)
I FunctionI
ORsthe specified dataandlhe internalregisterdata.
I InputFormat)
OR <operationdala>
[rerml
<Operationdata > Specifythe datato be operaled.
-32768 < operation data (decimall = 32767
& 8000 < operationdata (hexadecimal)< &7FFF
( ExplanationI
(1) Specifythe datato be operatedin decimalor hexadecimal.Any hexadecimalvalue
mustbe headedby "&".
(2) The operationresull is storedintothe internalregisterand can be changed,compared
or read by relevantcommands.
(Seethe EQ, NE,LG, SM, CL, DR,AN, XO commands)
(3) Executionof the OR commandafter the input commands (lD) allowsto be set lo
the required bits of the parallelinput data ietched lrom the externaldevice.
I Sample programI (Movemastercommand)
10 lD
; Fetchesdata from externalinput port.
20 OR &FFF0
;Sets 1 to all bits except lower order 4 bits.
30 EQ &FFFF,100 ; ll the abovedataare all bit 1, jumps to line 100.
40 ED
;Endsprogram.
100 MO 10
; Movesto position10.
3-71
OVR (Override)
I Function
I
Specifyprogram
override.
I tnputFormaiI
OVR <soeciJiedoverrider
[Terml
<Specifiedoverride>
Specify overridevalue. ( % )
1 S specified ovenide S 200
( ExptanationI
(1) Specifiesthe ratioof working speed of the robot.
(2) The OVR commandis effectivelor every interpolationmode, i.e. joint interpolation,
linear interpolationand circularinterpolation.
(3) The aclualspeed in the programeventuallybecomesthe following.
Joint interpolationspeed =
playbackoverride X OVR commandsettingvalue X SP commandsetting
vatue.
Linear interpolationspeed =
playbackoverride X OVR commandsetting value X SP or SD command
setting value.
Here, the playback override can be specified by means of the starting display of
teaching box or the external input signal.The override specilied by the OVR
commandis called programoverride.
(4) The inilialvalue of programoverrideis 100 %.
(5) The overridevalueonce specifiedin the programis elfectivetill new value is ser or
the programends.
(6) Alarm occurs at the execuiion of the OVR command if the value 0 is set to the
specilied override.
(7) As the accelerationand decelerationdistancerequired for movementare preser,
when the specilied speed and acceleration/deceleration
are set, if the movement
distance is small,the set speed may not be reached.
I Sampte programI (Movemastercommand)
10 SP 30
;Sets workingspeed 30 (100%) .
20 OVR 80
; Sets override 80 %.
30 MO 2
; Moves to position2.
40 ED
;Ends program.
X ll the playbackoverrideis specifiedto 50 7oin the above example,the actualoverride
is as lollows :
Jointinterpolation
speed = 50 X 80 X 100 (yol - 40 l%l
The robot movesto position2 with the speed of 4QYoot maximumvalue.
!4._7t
PA (PalletAssign)
I FunctionI
Definesthe numberof grid pointsin the columnandrow directionsfor the sDecified
pallet.
( InputFormatI
PA <palletnumber>,<numberof columngrid points>,<numberof row grid points)
[rerml
<Palletnumberr
Specifynumber of pallel using.
1 = palletnumberS 9
(Numberof column grid pointsr Set grid points of column of pallet.
1 S number of column grid points< 32767
<Numberof row grid points)
Set grid points of row ol pallet.
1 s number of row grid points S 32767
( Explanation)
(1) The PA commandmust be executedbefore the pallet calculationcommand (see
lhe PT command) is executed.
(2) The numberof grid pointsis equivalentto that of the actualworkpiecesarrangedon
the pallet.For example,with a pallet hotding15 workpieces (3 X S) , the nuirbers
of columnand row grid pointsare 3 and 5, respeclively
{3) The column and row directionsare decided by the directions of lhe terminating
positions,respectively. (Seethe PT command)
I Sample program|
10 PA 5,20,30
20 SC 51,15
30 SC 52,25
40 PT 5
50 MO 5
60 ED
(Movemastercommand)
; Definesthe pailet S as the pailet hotding20 X gOgrid points.
; Sets value 15 1ocounter5'l . (columnpoints)
'
!
;Sets vatue25 io counter52. (row points)
;Sets the carcuratedcoordinaiesvalue of grid pointto position5.
; Movesto position5. ffhe grid position)
;Ends program.
PC X (Position
Clear)
I Function
I
Clearsthe dataof the specifiedposition(s) .
I InputFormat)
PC <positionnumber (a) r [, [<positionnumber (b) >[
lterml
<Positionnumber >
Specify positionnumber deleting.
1 S position number (a) , (b) < 999
Positionnumber (a) < positionnumber (b)
I ExplanationI
(1) Deletesall positiondata betweenpositions (a) and (b) . (Position (b) included)
(2) llthe positionnumber (a) is greaterthanthe positionnumber (b) , alarm occur.
( sampteprogram
I Festc)
1 0 O P E N " 1 : E 8 3 " A S # 1 ; O p e n s t h e R S - 2 3 2 Cc o m m u n i c a t i o nl i l e t r o m t h e
personalcomputer in BASIC.
20 PRINT # 1," MO 10"
; Movesto position10.
30PRINT#1," Mo 1'l"
;Movestoposition11.
40 PRINT# 1," Mo 12"
; Movesto position12.
S0PR|NT#1," PC11"
;Deletethepositionll.
60 PRINT31," DP"
; Movesto position10.
70 END
;Ends program.
?-7 A
PD (Position
Define)
I Function)
Definesthe coordinates(location
andangle) of thespecifiedposition.
(
lnputFormai)
( 1 RV-E2/RV.E2M
PD <positionnumber), [( X coordlnater], t, Y coordinate>l,
[< Z coordinater], [<Aturninganglerl , [<Bturningangler] ,
[<Cturningangler] [, [<R/Lr] [, ld/Brn [, [(N/Fr]n t, ko/Crn
RV.E3J/RV.E3JM
PD <positionnumberr, [< X coordinater], t, Y coordinalerl
[< Z coordinaler], [<Aturningangle>], [<Bturningangle)] ,
[, LR/1,]
[, [<A/B,ln [, [<o/c,!
lterml
Specifypositionnumberdefining.
1 = positionnumber 3 999
<X,Y,Zcoordinatet Specifythe location (mm) in XYZ coordinatesof the robot.
(0 for default)
<A,B,C turningangle> Specifythe turningangle (degree) of roil (A) and pitch (B)
and twist (C) joints in XYZ coordinatesof the robot. (Ofor
default)
(RV-E2/RV-E2Monly.)
<A,B turningangle> Specifythe turningangle aroundroll (A) , pitch (B) axes in
XYZ coordinates (degree) ofthe robot. (0 for default)
(RV-E3J/RV-E3JMonly.)
(R/L)
Specitythe structurellag of the robot. (Rightor Left)
R: Right (default)
L: Left
<A/B>
Specifythe structureflag of the robot. (Aboveor Below)
A : Above (Default)
B: Below
(N/F>
Specifythe structureflag of the robot. (Nonflipor Flip)
(RV-E2/RV-E2Monly.)
N: Nonllip (Default)
<Positionnumber>
F:
(O/C)
FIIO
Specify open or close state o{ hand 1.
O : H a n d1 o p e n
C: Hand1 close
I Explanation)
incrementof the coordinatevalue is 0.01mm or 0.01degree (e.g.specify
{1) ^Th^e_least
20.01for 20.01mm) .
(2) Alarmdoesnotoccureven if the specifiedcoordinatesexceedthe robot'soDerational
space.The PD command,combinedwith the SF and the MA command.can define
the amountfor moving.
3-75
command)
I SampteprogramI (Movemaster
(1) RV-E2/RV-E2M
10 PD 10,50,320,70,50,40,30,R,A,N,O
: Definesthe locationandangleol position
40 MO 10
; Movesto position10.
50 ED
;Endsprogram.
(1) RV-E3J/RV-E3JM
10 PD 10,50,320,70,40,30,R,A,O ;D'efines
the locationand angleof position
40 MO 10
50 ED
3-7F
; loves to position10.
; Endsprogjram.
PL (PositionLoad)
( Function)
Replacesposition(a) by position(b) .
I tnputFormatI
PL <positionnumber (a) ), <positionnumber (b) >
(rerm)
<Position
number (a) > Specifythe positionnumber. (Destination)
1 S positionnumber (a) < 999
<Positionnumber (b) > Specifythe positionnumber. (Source)
1 S positionnumber (b) < 999
I ExplanationI
(1) Atter executed,the PL command causes the coordinatesot position (a) to be
equivalentto those ol position (b) and the old coordinatesof position (a) to be
cleared.
(2) After executed,the PL commandalso assignsthe handstateat position (b) to that
at position (a) .
(3) Alarmoccursif position (b) is notdefined.
(4) A new positionis created if the position (a) is not defined.
program)
I Sample
'l0 HE
2
20 PL 3,2
30 ED
(Movemastercommand)
; Sets the curent coordinatesand hand slate to position2.
; Replacesthe coordinatesof position3 by position2.
;Ends program.
3-77
PMR (Parameter
Read)
( FunctionI
Readscontentsof parameterspecified.
I lnputFormatI
PMR f'<parametername>"]
(terml
(Parametername )
Specify parametername.
Only parametername defined is valid. (Defined order for
default)
( ExplanationI
{1) Outputsthe specified parameterfrom RS-232Cport.
The outputformat: Parametername,contents
(2) When you omitted parameiername,a parameterdefined next is output. (Parameters
are defined in alphabeticalorder.) lf the last parameter is read out, only caniage
return (Hex.0D) is output.
(3) When you specified the parameterthat does not exist, contentsot next parameter
specityingin alphabeticalorder is output.
I sampteprogram
) Festc)
10 OPEN" COMI: E83" AS #1
lile from
; Opensthe RS-232Ccommunication
the personalcomputer in BASIC.
20 INPUT "Parametername is" ;J$ ; Inputsthe parametername.
30 pRrNT #1," pMR" +CHR$ (&H22)+J$+CHR$(&H22)
;Transmitsthe PMR commandlollowed by
the parametername.
40 LINE INPUT# 1,A$
; Savesthe receiveddatato A $.
50 PRINTA$
; Displaysthe contentsof A $.
60 END
;Ends program.
RUN
Parametername is ? ADL
ADL,0.20,0.20
1_7R
;Run the program.
; Enterthe parametername.
; Outputsthe contentsof ADL
PMW (Parameter
Writing)
I FunctionI
Renewsthe contentsol the specifiedparameter.
I InputFormatI
PMW "<parametername)","<parametercontentsr"
[terml
<Parameter
namer
Specifythe parameternamechangingcontents.
<Parameter
contents) Specifythe contentsthatyouwantto changeto.
I Explanation
I
(1) Outputsthe contentsof the specifiedparameterthroughthe RS-232Cport.
(2) Whenyouspeciliedthe parameter
thatdoesnotexist,nooperationis executed.
(3) Forinformation
see "6.2Parameter
on paramelers,
List".
(4) The specifiedparameterbecomesetlectiveatlerhavingturnedoff andonthe power
supply.Giveattention
thatevenil youhavechangedthe contentsof lhe parameter,
the old contentsis stilleffectiveuntilthe powersupplyis turnedon again.
command)
I SampleprogramI lMovemaster
PMW" ADL" ," O.40,O.40" ;Setsthe contentsof parameterADL O.4O,O.4O
3-79
PR (PositionRead)
( FunctionI
Readsthe coordinatesof the speciliedpositionandthe open/closestateof the hand.
(UsingRS-232C)
( InputFormat)
PR [<positionnumber>j
lrenv)
<Position
number) Specifythe positionnumberthatyouwantto read.
0 S positionnumber S 999 (lf omitted,the current position
numberis valid.)
I Explanation
I
(1) Outputs lhe coordinatesol the specified positionand the open/close state ot the
hand throghthe RS-232Cport. lf the positionnumberis omittedor equals0, onlythe
currenl positionnumber is output.
(2) The data is ASCIIcoded as follows; The leasl incrementis 0.01mm or 0.01degree.
Output format
RV-E2/RV-E2M :X,Y,Z coordinatevalue,A, B,C turningangle degree,R/L,
A/B,N/F,O/C
RV-E3J/RV-E3JM: X, Y, Z coordinatevalue, A, B turning angle degree, R/L, A/
B,O/C
(3) Because the terminatorof the outputdata is carriagereturn (Hex.0D) , il is necessary
to handle serial data stringsup to hexadecimal0D in receivinga messageby a
personalcomputer."LINE INPUT#" statementis equivalentto this in BASIC.
(4) lf you read the positionthat is nol usedin the programand not defined yet,',zero,'is
output with each coordinate.
RV-E2lRV-E2M :0,0,0,0,0,0
RV-E3J/RV-E3JM :0,0,0,0,0
you
lf
read the positionthat is alreadyused in the programbut not definec.yet,
"0.00" is outputwith each coordinate.
RV-E2/RV-E2M :0.00,0.00,0.00,0.00,0.00,0.00
RV-E3J/RV-E3JM : 0.00,0.00,0.00,0.00,0.00
(5) ll you specify "zero" to the positionnumber or omit it, you can identitythe current
position number when an alarm occursin executing moving command.
I sampteprogram
I (enstc)
(1) RV-E2/RV-E2M
10 OPEN" COM1:E83"AS#1
20 INPUT"Position
numberis";P
30 PRINT #1,'' PR" +STRS(P)
4 0 L I N E I N P U T+ 1 , A $
50 PRINTA$
60 END
RUN
Positionnumberis ? 15
+10.00,+380.00,300.00,-70.00
,50.o0,40.00,R,A,N,c
3-RO
; Opensthe RS-232Ccommunication
file from
the personalcomputer in BASIC.
; lnputsthe positionnumberthatyouwantto
read
the PR commandfollowedby the
;Transmits
positionnumber.
;Savesthe receiveddatato A$.
; Displaysthe contentsto the screen.
; Endsprogram.
: Runthe program.
; Enterthe positionnumber.
;Outputsthe contentsof the position.
I Sampleprogram) Ftslc)
(2) RV-E3J/RV-E3JM
10 OPEN" COM1:E83" AS#1
20 INPUT "Positionnumberis" ;P
30 PRINT#1," PR" +STR$(p)
40 LINEINPUT# 1,A$
50 PRINTA$
60 END
RUN
Positionnumberis ? 15
+10.00,+380.00,300.00,50.00
,40.00,R,A,c
;OpenstheRS-232Ccommunicationfiletrom
the personalcompulerin BASIC.
; Inputsthe positionnumberthatyouwantto
read
;TransmitsthepRcommandfollowedbythe
positionnumber.
; Savesthe receiveddatato A$.
; Displaysthe contentsto the screen.
;Endsprogram.
;Runthe program.
;Enterthe positionnumber.
; Outputsthe contentsof the position.
3-81
PRN X (Print)
I Function
)
The counternumbersettingvalue,positionnumbercoordinate
valueor the character
stringnumberdata is transmittedfromthe personalcomputerin regardto the INP
command.(UsingRS-232-C)
I InputFormatI
PRN <countervalue>| <positioncoordinates)l"(characterstring data>"
[Terml
<Countervalue>
Specify the countervalue setting to a counter.
-32768= Countervalue (decimal) < 32767
& 8000< Counter'value (hexadecimal) = & TFFF
<Positioncoordinates> Speciiy the coordinatesvalue setting to a position.Specify
the followingcoordinatessimilar to the PD command.
(Seethe PD command)
(1) RV-E2/RV-E2M
<X,Y, Z coordinates>,
<A,B, C turning angle>,<R/L>,<A/
B), (N/F),(O/C)
(2) RV-E3J/RV-E3JM
(X, Y, Z coordinates>,
<A,B turning angle>,<R/L>,<A/B>,
<o/c,
<Characterstring dala> Specify the characterstring to be set.
1 S Characterstring data < 120 (numberol characters)
Usablecharacters: numerals (0to 9) , alphabeticcharacters
(A to Z) , symbols (! @ #, etc.)
Unusablecharacters:*+,./ ; :I y'
I Explanation
)
(1) Transmitsthe settingvalue of counter,the coordinatesvalue of positionor the
characterstringsfrom the personalcompulerthroughthe RS-232Cport responding
to the INP commandin the program.
(2) The robot becomes wait conditionin the INP commandtill the date is transmitted
lrom personalcomputer by executingthe PRN command.
(3) You can executethe PRNcommandpriorto the INP commandduringthe execution
of the program.
(4) When transmittingcharacterstringdata,enclosethe characterstring in double
quotations (") .
I Sampleprogram) (enstc)
<Personalcomputerprogram)
1 0 O P E N" C O M 1 : E 8 3 " A S : 1 ; O p e n st h e R S - 2 3 2 Cc o m m u n i c a t i of inl el r o mt h e
personalcomputerin BASIC.
20 INPUT "Counterdata is" ;J ;Enterthe settingvalueof counterfrom the
personalcomputer.
30 PRINT# 1,"PRN" +STR$ (J) ;Transmitsthe settingvalue of counter.
40 PRINT = 1,"PRN100,0,0,0,0,0"
;Transmitsthe coordinatesvalueof oosition.
50 END
;Ends program.
<Robotprogram>
10 oPN 2,1
;Opensthe RS-232cport.
20 lN 2,1,0
; Readsthe data trom RS-232Cportto counter1.
30 INP 2,5,1
;Readsthe data from RS-232Cportto position5.
40 lc 1
:Add 1 to counter1.
50 MO 5
; Movesto position5.
3-82
PT (Pallet)
I Function
I
Calculatesthe coordinatesof a grid point on the specified pallet and sets the
coordinates
valueto the specifiedposition.
Input
Format
I
I
Irerm)
<Palletnumber> Specifythe numberof pallet using.
1 < palleinumber5 I
I ExplanationI
(1) Calculatesthe coordinatesof a grid point on the specified pallel and sets the
coordinatesto the positionwhich number is correspondingto the specilied pallet
number.Beforethe PT commandis executed,the pallet definitioncommand (PA)
must be executed for the pallet to be used. After the PT command has been
executed,the positiondata previouslydefined for the target positionis cleared.
(2) In order for the PT commandto be executed,the pallet positions (grid pointsat four
cornersof the pallet) mustbe properlydelined which identitya particularpalletand
the pallet counters (columnand row) be properlyset that specify a particulargrid
point on the pallet. lf the pallet positionsand pallet countersare properly defined,
therefore,executionol the PT commandallowsthe coordinatesof a grid poini to be
defined as the positionnumberequivalentto the pallet number.The following is a
listingof a combinationoi palletpositionsand counterscorrespondingto each pallet
number.
Palletnumber
Pallet reference Dosition
10
Pallet columnterminatingposilion
'tl
5t
81
position
Palletrowterminating
Palletcornerpositionoppositeto reterence j3
Palletcolumncounter
Palletrowcounter
31
4'l
51
12
Palletgridposition
(3) Alarm occurs if the pallet positionhave not been defined and the pallel counters
have not been set or have been set to have valuesexceeding those defined by the
PA command.Alarmdoes not occur,however,even when the coordinatesobtained
for the grid point exceed the robot'soperationalspace.
(4) The open or close stateof the handat the target grid point is the same as that in the
pallet reference position.
(5) When executingthe PT command,the tool length of the hand to be used must be
properly defined by the TL command.The robot must be taught throughthe pallet
positions (fourcorners) usingthe predefinedcorrecttool length.
(6) Pay attentionwhen you use palletnine becauselhe counters (91,92) of pallel nine
are commoncounlersamongprogramsand other programmay use these counlers.
3-83
command)
I SampleprogramI (Movemaster
pallet
Supposethere is a
on whicha totalof 24 workpiecesare arranged,4 in the
columndirectionand 6 in the row direction.
Then havethe systemcomputethe
coordinates
ol the workpieceplacedin the grid position(2,41,i.e. the secondgrid
in lhe columndirectionand the fourthgrid in the row direction,and get the robot
handto reachthat position.Assumethatpallet7 is used.
Workpieces placed in the grid position(2,4)
Position71
Position73
3,r.
5l
E
HI
JI
--------+>
Position70
(Referenceposition) Row direction (6 pcs. )
Position72
X Youmustteachthe positionsat fourcorners (70,71,72,731
in advance.
10 TL
20PA
200
7,4,6
30sc 71,2
40 sc 72,4
SOPT 7
60MO 7
70 ED
; Sets the tool length equivalentto the hand using.
;Sets the pallet numberand the grid points of columnand row.
; Sets the numberol grid point in columndirection.
; Sets the numberof grid point in row direction.
;Allowsthe coordinatesof the targetgrid pointto be set to position
7.
; Moves to position7.
; Ends program.
PW (PulseWait)
I Function)
Waits lor in-positionof seryomotoraboutall jointstill it becomeswithinthe specilied
value.
I InputFormatI
pulser
PW <positioning
lterm)
(Positioningpulse r
Specifythe judgment pulse number of in-position.
1 ( positioningpulse = 10000
( ExplanationI
(1) Waits for in-position of servomotorabout all joints till it becomes within the specified
value.
(2) lf you needthe positioningof highaccuracywhen chuckinga workpieceat a position,
set small value for positioningpulse. lt you need the positioningof low accuracy,
set large value. lf you set small value to the positioning pulse, the robot waits Jor
positioninghavingthe same efiect as the Tl commandis executed.
(3) lf you setsmallvalueio lhe positioning
pulsewhenthe handlingworkpieceis relalively
heavyor the robot is movingat highspeed, it may take a longertime to positionthan
usual.
(4) Initialvalue of positioningpulse is '10000pulse.
(5) When the settingvalue exceedsthe above limit,alarmoccurs.
programI
I Sample
'l0
MO 1
20 PW 10
30 GC
40 ED
(Movemastercommand)
; Movesto position1.
; Waits for the positioningpulse becomingwithin 10 pulses.
; Closeshand.
;Ends program.
?-R4
Exchange)
PX (Position
I Function
I
Exchangesthe coordinatesof the speoifiedpositionfor thoseoJanotherspecified
position.
I InputFormatI
PX <positionnumber (a) ,, <positionnumber (a) ,
lterml
<Positionnumberr
Specify the positionnumber exchanging.
1 < positionnumber (a) , (b) < 999
I ExplanationI
(1) Atter the PX commandis execuled,the coordinatesof position (a) are exchanged
lor those ol position (b)
(2) The open or close state ol the hand at position (a) is also exchanged for that at
position (b) .
(3) Alarm occurs il positions (a) and (b) have not been predelined.
( Sample programI (Movemastercommand)
10 HE 2
; Define the currentpositionto position2
20 MJ 20,30,10,0,0,0
; Driveseachjointby the specifiedamount.
30 GO
;Opensthe hand.
40 HE 3
; Deline the currentpositionlo position 3.
50 PX 2,3
;Exchangesthe coordinatesvalue of position2lor those of
position3.
60 ED
;Ends program.
q-AA
QN (QuestionNumber)
I Function
I
Readstheprogramnameortheprogram
information.
I InputFormat
I
QN [<programname>]
(term)
<Programname> Specifythe robol programname to be read. (Max.I characters)
Possibleletter used: Digit (0-9)
Character (A - Z)
S y m b o l( l @ ; , e t c . )
l m P o s s i b l e l e t t e r u s e *d*: , .
? [Y]' "
/:::
you
Specialspecitication: When
specifiedonly numericvalue,the
programname is handledior number.
Need to enclose programname with " " in
the case of characterused.
I Explanation)
(1) Outputsthe selected programname or the selected program inlormationthrough
the RS-232Cport. lf you omittedthe programname,the selected programname is
turned over and if you specifiedit, the informationabout the programis turnedover.
(2) The outputiormat is ASCIIccded as follows;
. The programnumberlormat: "N" lollowed by "Programname"
. The programinformation
format: Used numberof steps,used numberol positions,
used number of counters
(3) Becausethe terminatorof the outputdatais carriagereturn (Hex.oD), it is necessary
to handleserial data stringsup to hexadecimal0D in receivinga messageby a
personalcomputer."LINE INPUTS" statementis equivalentto this in BASIC.
program
I Sampte
I (enstc)
10 OPEN" COMI :E83" AS ;1
30 PRINT + 1," ON"
30 LINE INPUT;1,A$
40 PRINT "Selectedprogramis " : A $
60 END
tile
; Opensthe RS-232Ccommunication
fromthe personalcomputerin BASIC.
; Transmitsthe QN command.
;Savesthe receiveddata to A$.
;Displaysthe contentsoJA$tothe screen.
:Ends.
RUN
Selectedprogramis N10
;Run the program.
; Outputsthe programname.
3-87
RC (RepeatCycle)
( FunctionI
Repeatsthe loopspecifiedby the NX commandthe specifiednumberof times.
I lnputFormatI
RC <numberof repeated cyclesr
lterml
<Numberof repeated cycles> Specifythe numberof times repeating.
'f S numberot repealed cycles (decim
all < 32767
<
& 000'l numberofrepeatedcycles (hexadecimal)
< &7FFF
I ExplanationI
(1) Used with the NX commandlo causethe loop specified by the NX commandto be
executed the specified number of times and causesthe line number following NX
to be subsequentlyexecuted.
(2) To incorporateanotherloop (betweenRC and NX) intothe existingloop is called
"nesting".Up to 9 nesting levels are possible.
I Sample programI (Movemastercommand)
10 MO 1
; Moves to position1.
20 RC 3
; Repeats loop delimited by NX three times
30 MO 2
; Moves to position2. )
40 MO 3
; Moves to position3. I Loop.
50 MO 4
; Moves to position4. ,/
60 NX
; Delimitsthe loop.
70 MO 5
; Moves to position5.
80 ED
; Ends program.
a_tn
RN X (Run)
I FunctionI
Execuleslhe specifiedpartot commandsin a program.
( InputFormatI
RN [<startline numberr [, <endline number> [, programname]ll
[terml
(Startline number> Specify the line number beginning.
1 S start line number < 9999 Cfhetop line for default)
(End line number) Specifythe line number ending.
1 S end line number < 9999 [The last line or ED command
line for default)
<Programname> Specifythe programname. (Max.8 characters)
Possibleletter used : Digit (0-9)
Character (A - Z)
Symbol( ! @#,etc)
l m p o s s i b l lee t t e ru s e d : * + , , . / : : :
? [Y]'
you
Special specitication: When
specilied only numericvalue,
the programname is handledfor number.
Need to enclose program name with " "
in the case of characterused.
( ExplanationI
(1) Runsthe programstartingwith the specified startingline and ending with the line
one aheadthe specifiedendingline.
(2) ll the programis io continue,restartwith the endingline.
(3) lt the teaching box is connected,the line number being executed is shownon its
display.
(4) You can select the programby appointingthe <programname>.In this case,the
specified program becomes the target program and the program starts lrom the
specified line.
(5) lf you describethe RN commandwith line numberin a program,no operationis
executed.
(6) When the RN commandis executed,the contentsof the counterremainintact (not
initialized).
(7) The lollowingname is identifiedas the same.
An example:
. Handledas the same.
1,01,001,00000001
(Onlynumericvalue)
. Handledas notthe same. 1,1A, A0 _ 001 (lncludescharacters)
(8) The lettersthat controllercan indicateto the LED are 0-9, A - Z (simplified).
I sampteprogram
I (snstc)
10 OPEN" COM1 : E83" AS # 1
20 PRINTi1,"
30 END
RN 100,,2"
file irom
; Opensthe RS-232Ccommunication
the personalcomputerin BASIC.
;Executestheprogram2 from line 100.
;Ends program.
3-89
RS X (Reset)
I Function
I
Resets the programand error condition.
I
I lnputFormat
RS [<resetnumber>]
(terml
<Resetnumben
Specify the contentsof reset.
Reset contents
0 : Cancelsalarmand resets program. (Default)
1 : Makes all countersundefinedcondition.
2 : Reselsthe batterytimer.
3 : Deletes all programsand all positions.
Ohe same as the NW oommand.)
4 : Resetsthe originsettingcondilion.
I ExplanationI
(1) Resetsalarmconditionin alarm mode,switchingservolrom OFF to ON and causing
the programto relurn to its beginning.
(2) lf any of the axes has exceeded its softwarelimit,the alarm cannotbe reset.
(3) The outputsremain unchangedby resettingany alarms.
I sampleprogram
I (Bastc)
10 OPEN " COMl ; E83AS # 1
20 PRINT#1," MO 1000"
30 PRINT#1," RS"
40 END
3-On
; Opens the RS-232Ccommunicationf ile lrom
personalcomputer in BASIC.
;Alarmoccursbecauseof the wrongvalue.
;Cancelsthealarm.
;Endsprogram.
RT (Return)
I FunctionI
Completesa subroutineand returnsto the mainprogram.
I InputFormat)
RT [<linenumbeD]
[rerm)
<Linenumber>
Specifythe line numberto jump.
1 S line number < 9999 (lf omitted,returnslo the next line ol
the GS command.)
I ExplanationI
(1) Completesthe subroutinecalledby the "GS" commandand returnsto the main
program.
(2) Alarmoccursif the corresponding"GS" commandis not specified.
(3) lf you specifythe line number,the programjumpsto the specifiedline numberafter
returninglo the main routine.
I Sample programI
See the GS command.
3-91
SC (SetCounter)
I Function)
A specifiedvalueis set in the specifiedcounteror characterstring.
It
SC <counternumber/characterstring number>, [<counterset value
/character string set value)]
[Terml
(Counternumber>
Specifythe numberof countersetting.
1 S counternumberS 99
<Characterstring number> Specify characterstring number in numericalvatue
which "$" is added to the head.
$1 S characterstring number< $99
<Counterset value)
Specifythe value of countersetting. (0 for default)
-32768< setvalue (decimal) = 32767
& 8000s set value (hexadecimal)< &7FFF
<Characterstring set value> Specifythe characterstring to be set.
Usablecharacters: numerals (0 to 9) , alphabetic
characlers (A to Z) , symbols (! @#, etc.)
Unusablecharacters: "
Numberof characters: Within120 charactersincludino
line numberand SC command.
I Exptanation)
(When counternumber is specilied)
(1) All countersare factory-setto zero.
(2) Used lo countthe numberof workpiecesand job sequencesand to set the number
of grid points in the pallet.
(3) The contentsof the counter can be changed, compared or read by the relevant
c o m m a n d(.R e f e r t o t h Ie C , l N P , D C , C P , C R , C L , A N , O R , X O c o m m a n d s . )
(4) The counterset valueremainsunchangedwhen the RS, NW or ED commandis
executed.
(5) The contents of the counter are battery backed after the power is switched off.
<Whena characterstring number is specifiedr
(1) Enclosethe set characterstring with double quotations ("") .
Example) When settingthe characterstring ABC, set "ABC".
(2) lf the set characterstring is omitted,the details of the characterstring numberwill
be blank. Thus,ihe details of the characierstring number can be deleted.
(3) Operation,comparisonand reading of the characterstring are possiblewith the
relatedcommands. (Referto the CP, CR, CL, EQ, NE, LG, SM, lNp commands.)
(4) The value of the set characterstringwill not change even if the RS, NW or ED
command is executed.The value will be held by the batteryeven when the power
is turnedOFF.
I Sample program| (Movemastercommand)
?-q,
10 SC
20 lC
30 CP
40 DR
50 SC
60 CP
21,'l0
21
21
; Set value 10 to counter21.
; Add 1 to counter21.
;Set value of counter21 to the internalregister.
; Outputsthe value of lhe internalregister throughRS-232Cport.
$s,"OK" ;Set characterstring "OK" in characterstring number 5
$5
;Set detailsof characterstring number 5 in the characterstring
register
70 EQ $10,200 ; Jumpsto line 200 if the data equals characterstring number 10.
100 ED
; Endsprogram.
3-93
SD (SpeedDefine)
I Function)
time,
acceleration/deceleration
Definesthe movingvelocity,lirstordertimeconstant,
pathsetting.
and continuous
tnput
Format
I
I
SD (movingspeed) [, dirst order time constantt
[, (accelerationtime>,<deceleraliontime) [, <CNTsetting)]n
lterm)
Set movingspeed at linear or circular inlerpolation.
0.01 S movingspeed s 650.00 (mm/sec)
<Firstorder time constanl, 1 S firsi order time constanl < 300 (millisecond)
Set accelerationtime lo the maximumspeed.
<Acceleration
time>
0 S accelerationtime < 2000 (millisecond)
<Decelerationtimer
Set decelerationtime from the maximumspeed.
time < 2000 (millisecond)
0 3 deceleration
(CNT setting,
Specifythe enableor disablestate of continuouspath mode.
0: Disable 1: Enable
<Movingspeed>
( ExplanationI
(1) The least input incrementof the movingspeed is 0.01mm/second or 0.01degree/
second (e.9.,specify 20.05for 20.05mm/second) .
The least input incrementof the first order time constantis 1 millisecond.
(2) Allowsthe movingspeed (orangularspeed) of the tip of handtor linearor circular
interpolationto be delined in smallerincrementsthan the SP command.
(3) Setting a large value to the first order time constantmakes the robot operation
slower and smoother.
(4) The speed set bythe SD commandis etfectiveuntila newvalue is sel bythe SD or
SP command. lf you omit the lirst order lime constantand the acceleration/
I
decelerationtime, the predelined valuescontinueto be effective.
(5) During linearor circular interpolation,a certainmovingspeed of the SD command
may causealarm in excess of the maximumspeed ol the correspondingjoint. In this
case, set ihe speed to a lower value.
(6) At power on, the movingspeed is initializedto SP 12, H (63.3mm/second) .
(7\ By enabling the CNT setting,the robot moves continuouslywithout acceleration
and decelerationuntil the SD or SP commanddisablesthe CNT setting. (Path
motion) However, the robot accelerates and decelerates at a starting and al a
stopping pointas well as when a timer or an input commandis executed duringthe
oath motion.
(8) The accelerationtime is the maximumtime for the robot to reach to the maximum
speed- Accordingly,when the movingspeed does notreachto the maximumspeed,
the actual accelerationtime becomessmallerthan the specified value. Fhe
situationis the same for the decelerationtime.)
(9) As the accelerationand decelerationdistancerequired for movementare preset,
are set, if the movement
when the specified speed and acceleration/deceleration
distance is small,the set speed may not be reached.
(10) It the acceleration/deceleration
time is lesslhan 200msec,an overspeedor overload
alarm may occur. Dependingon the loadconditions,the lile of the mechanicalparts
may be shortened,so keep the time at 200msecor more when possible.
3-q4
( Sample programI
10 SP 'l5
20 MS 1
30 SD 100
40 MS 2
50 MO 3
60 MS 4
70 ED
(Movemastercommand)
; Set the movingspeed to 15.
'l
; Movesto position by linear interpolation. (SP 15)
;Set the movingspeed to 10omm/sec.
; Moves to position2 by linear interpolation. (100 mm/sec)
; Movesto position3 by joint interpolation. (SP 15)
; Moves to position4 by linear interpolation. (100 mm/sec)
;Ends program.
3-95
sF (shift)
I runction
I
Adds eachcoordinatevalueof position (b) to each coordinatevalueof position (a)
and definesit againas a new position.
I InputFormatI
SF <positionnumber (a) r, <positionnumber (b) >
[terml
rPositionnumber>
Specifythe positionnumber.
'l S position
number (a) , (b) < 999
I ExplanationI
(1)The handopen or close state ol position (a) , as well as the structuralflag (R/L, A/
B, N/F) , is not afiected by the SF command.
(2) Alarmoccursif the position (a) and/or (b) have not been predefined.
(3) Does not effect any robot motion.
I Sample programI (Movemastercommand)
10 PD 20,0,0,20,0,0,0
; Sel the locationand the attitudeof position20.
'l
20 HE 10
; Set the currentpositionto position 0.
30 SF 10,20
;The position10is shiftedonlyZ-coordinate20 mm of position
20.
40 MO 10
; Movesto position10.
50 ED
;Ends program.
e_qA
SM (lf Smaller)
I Function
I
Thiscomparesthe valueof the internalregisterwitha speciliedvalue.lf smaller,the
programwill jump.The characterstringregisterandthe numbersof charactersin a
specifiedcharacterstringare compared.lf the characterstringregisteris smaller,
the Droqram
will iumo.
I tnpuiro-rmatI
SM <comparedvalue/characterstring numberr,<branchingline number:
Iterml
<Gomparedvaluer
Specifythe value comparedwith the internalregister.
-32768= Compared value (decimall < 32767
& 8000< Comparedvalue (hexadecimal) < & TFFF
<Characterstring number> Specity characterstring number in numericalvalue
which "$" is added to the head.
$1 5 characterslring number < $99
(Branchingline numberr
Specifythe line numberto which the programjumps.
1 S branchingline number< 9999
( Explanation
)
<Whencounter number is specified>
(1) Causesa jump to occur conditionallyin accordancewith the external input data
or the internalcountervalue.
(2) lf the internalregistervalueis smallerthanthe comparedvalue (i.e.,when the
conditionis met) , the programiumpsto the specifiedtine. Otherwise (i.e.,when
the conditionis not met) , lhe programcontinuesin sequence. Alarm occurs at a
jump if the specifiedline numberdoes not exist.
(3) A value can be loaded intothe inlernalregisterby executingthe input command
(SeelD) tor the externalinputdataor by executingthe comparecountercommand
(See CP) for the counterdata. Accordinglywhen you carry out conditional
branching,need to execute either of the above commandsbelorehand.
( 4 ) T h e c o m p a r e dv a l u e m a y b e d e f i n e d e i t h e r i n d e c i m a l o r h e x a d e c i m a l A
.
hexadecimalvalue must be headed by "&".
<Whencharacterstring number is specifiedr
(1) The conditionswill jump dependingon the data inputfrom an externalsourceor
the number of charactersin a specified characterstring.
(2) lt the numberof charactersin the characlerstringregisteris smallerthanthe numDer
of charactersin a specifiedcharacterstring (whenthe conditionsare established)
, ihe programwill iump to the specifiedline number.lf the numberis larger (when
conditionsare not established), the next line will be executed. It the specified
line numberis not registered,an alarmwill occurwhenjumping.
(3) By executingan INP command,the data inputfrom an externaldevice will be set in
the characterstringregister.The detailsof the characterstringnumberwill be
set by executinga CP command.Thus,when executingconditionjumping,one of
these commandsmust be executedfirst.
3-q7
command)
I Sampleprogram) (Movemaster
10 lD
; Fetchesthe datalromthe externalinputport.
20 SM 10,100 ;ll the inputdatais smallerthan10,jumpsto line 100.
30 MS 1
; Movesto position1 by linearinterpolation.
40 ED
;Endsprogram.
'l0
100 MO
; Movesto position10.
140OPN1,1
; Opensthe RS-232CPort.
150INP 1, ,2
; Readsthe dataof characterstringregistertromthe RS-232C
pon.
'l60 SM $5,200 Jumpsto line200if the datasmallerthancharacterstringnumber
;
10.
200MO2
; Movesto Position2.
SP (Speed)
I Function
I
sets the operatingspeed, accelerationor decelerationtime and lhe continuousoath
settinq.
( InputFormatI
SP <speedlevel> [, <H/Lr [, <CNTsettingrl
(terml
<Speedlevel>
(H/L)
<CNTsetting>
Set movingspeed.
0 s speed level S 30
Set acceleration/decelerationlevel.
H : High acceleration/deceleration(Max.0.2 second)
L : Low acceleration/deceleration (Max.0.4 second)
Specifythe enable/disablestate ol the conlinuouspalh mode.
0: Disable 1: Enable
I Explanation)
(1) sets the operatingspeed in 31 steps and acceleration/deceleration
time upon start
and stop in 2 levels.
(2)The speed level is predeterminedas a ratio to the maximumrpm of each joint for
joint interpolationand as a ratioto the maximumspeed of the tip of hand (650mmf
second) for linearinterpolation.
The
acceleration/deceleration
time may be selected from among H or L. The
{3)
acceleraiiontime is the maximumtime Jorthe robotto reachto the maximumspeed.
Therelore,when the movingspeed does not reach to the maximumspeed. the
actualacceleration
time becomessmallerthanthe specifiedvalue.
(4)The acceleration/decelerationdistance required for movementis predetermined
accordingto the specified speed and the set speed may not be reached if the
distanceof travel is small.
(5) For linear interpolation,the tip of hand,determinedby the tool command,is moved
al constantspeed. In this case,alarm may resultlrom any of lhe jointsexceeding its
maximumspeed. lf the motionof the positionangle (RV-E2/RV-E2M: A,B,Cangle,
RV-E3J/RV-E3JM: A,B angle) is greaterthanthe motionof the distance (X,y, Z) ,
the robol movesin referenceto the positionangularspeed.
The SD commandallowsthe speedto be definedin smallerincrements.
(6)once set, the speed and acceleration/dece
lerationtime remainvalid until new
values are set. The detaultvaluesare SP 12, H. The most recent acceleration/
decelerationtime remainsvalid when it is not soecified.
(7)By enablingthe cNT setting,the robot movescontinuously
withoutacceleration
and decelerationuntil the SD or SP commanddisablesthe CNT setting. (path
motion) However,the robot accelerates and decelerates al a starting and at a
stopping point as well as when a timer or a input commandis executed durina the
path motion.
I Sample programI
10 SP 8
20 MO 5
30 SP 10
40 MS 7
50 ED
lMovemastercommand)
;Sets the movingspeed to 8.
; Movesto position5 by joinl interpolation.
;Sets the movingspeed to 10.
; Movesto position7 by linear interpolation.
; Endsprogram.
The relationbetween the soeed level and the movinosoeed.
Notice.) The robot moves in reference to the positionangularspeed in the case of
the amount (RV-E2/RV-E2M: A, B, C turningangle, RV-E3J/RV-E3JM:A,B
turning angle) - the amount (X, Y, Z distance) in linear and circular
interpolation. ( The angularspeed in degree/second is equivalent to the
distancespeed in mm/seconddivided by the value 2.12.)
the initialvalue when the power is turned on.
ffili.
Jointinterpolation
(%)
Linearinlerpolation
(mm/second)
't6
0.1
o.4
Joinlinterpolalion
(%)
2.7
Linearinterpolation
(mmlsecond)
123.7
19.0
17
5.3
1E
168.1
19
193.8
1.1
7.3
34.2
222.O
1.5
9.8
40.7
264.8
2.O
ae e
47.3
307.6
2.7
17.4
aa
23.8
4.9
31.7
350.4
67.1
10
73.7
4.2
11
47E.8
s3.1
52t.6
564.4
't1.6
13
14
13.7
.lE
16.2
E
E
607.2
100.0
650.0
105.2
400
tt
o
o
50
o
o
ct
gt
o
(s
o
200
?
=
20
Speedlevel
STR X (Step Read)
I FunctionI
Readsthe contentsof the specifiedstep number,or the stoppingstep number.
(UsingRS-232C
)
I InputFormatI
STR [<stepnumber>]
(Step number)
Specifythe step numberreading.
0 S line numbers 9999
I ExplanationI
{1)Outputsthe contentsof the specifiedstep number,or the stoppingstep number
throughthe RS-232Cport.
(2) The outputtormat is ASCIIcoded as lollows;
(ln the case of teaching playbackmethod)
: (colon), programcommand
(ln the case ol Movemastercommandmethod> Line number, program command
(3) Becausethe terminatorof the outputdata is carriage return (Hex.0D) , il is necessary
to handleserial data stringsup to hexadecimal0D in receivinga message by a
personalcomputer."LINEINPUT#" statementis equivalentto this in BASIC.
(4) lf you specify the undefinedstep number,the hexadecimal0D is returnedover.
(5) lf the step numberis not specifiedor zero is specified,the currenlstoppingline
number is read.
(6) In the above case, the commandSTR allows you lo confirmthe step number by a
personalcomputerwhen alarmoccurs
I Sampteprogram
) (aestc)
(1) RV-E2/RV-E2M
10 OPEN" COM1 : E83" AS # 1
; Opens the RS-232Ccommunicaiionfite lrom
the personalcomputer in BASIC.
20 INPUT "Readingstep is " : J $ ;Entersthe step numberthat you want to read.
3 0 P R I N T# 1 , ' ' S T R " + J $
; Transmits"STR" + "step number"to the
controller.
4 0 L I N EI N P U T# 1 , A $
; Savesthe received data to A$.
50 PRINTA$
; Displaysthe data on the screen.
60 END
; Ends program.
RUN
;Run the BASICprogram.
Readingstep is ? 2
; Entersthe step number.
: MPC O,227.85,371.92,581.58,-60.71,1
02.83,30.85,R,A,N,C
; Outputsthe conlentsol the step.
(2) RV-E3J/RV-E3JM
10 OPEN" COM1: E83" AS #1
file from
; Opensthe RS-232Ccommunication
the personalcomputer in BASIC.
20 INPUT "Readingstep is
J $ ; Entersthe step numberthat you want to read.
30 PRINT#1,'' STR'' +J$
;Transmits"STR" + "step number"to the
conlroller.
4 0 L I N EI N P U T# 1 , A $
; Savesthe received data to A$.
50 PRINTA$
; Displaysthe data on lhe screen.
60 END
; Ends program.
RUN
; Runthe BASICprogram.
Reading step is ? 2
; Entersthe step number.
: MPC O,227
.85,371
.68,1
02.83,30.85,R,A,C
.92,581
; Outputsthe contentsof the steo.
3-101
TB (TestBit)
I FunctionI
Causesa jumpto occurin accordance
withthe specifiedbit valuein the internal
register.
I InputFormatI
TB 3+7-11<bitnumber>,(branchingline number>
[Terml
<+/->
Set the conditionthat comparesbit.
+ : The bil is ON.
-: The bit is OFF.
<Bitnumberr
Specifythe bit number of the internalregister.
0 = bit numbers 15
<Branchingline numben Specifythe line number to which the programjump1 < branchingline number < 9999
I ExplanationI
(1) Causesa iump to occur conditionallyin accordancewith the external input data or
the internalcountervalue.
(2) The programjumps to the specified line number if the specified bit in the internal
register is on or off (i.e.,when the condition is met) . Otherwise (i.e.,when the
conditionis not met) , the programcontinuesin sequence.
(3) A value can be loaded into the internalregister by executingthe input command
(see lD) for the externalinput data or by executingthe compare countercommand
(see CP) tor the counter data. lt is therefore necessaryto execute either ol the
above commandsbeforehandso that a conditionaljump can occur.
(4) Alarm occurs at a jump if the specilied line number is not predefined
I Sample program) {Movemaslercommand)
10 lD
; Fetches data lrom the externalinput port.
20 TB +1,100
; lf the bit number1 of inputdata is ON,thenjumps to line number
100.
30 MS 1
;Moves to position1 by linear interpolation.
40 ED
;Ends program1OOMO 10
2 int
; Moves to position1O.
TBD (TestBit Direct)
I FunctionI
causes a jump to occurin accordancewiththe speciliedbit valuein the external
input.
( InputFormatI
TBD [<+7-r1(inputbit numberr,<branching
line numberr
lTerml
<+/->
Set the conditionthat comparesbit.
+ : The bit is ON
-: The bit is OFF
<lnputbit numben
Specifythe bit numberof general input.
0 3 input bit number = 32767
<Branchingline numben Specifythe line numberto which the programjumps.
1 3 branchingline number < 9999
( ExplanationI
(1)Causesa jump to occur conditionallyin accordancewith the externalinput data
directly.
(2) The programiumps to the specilied line numberif the specified bit in the exiernal
inputis on or off (i.e.,whenthe conditionis met) . Otherwise (i.e.,when the condition
is not met) , the programcontinuesin sequence
(3) lt is not necessaryio executelhe inputcommand (lD) belorehand,and the internal
register remainsintactafter the executionol TBD command.
(4) Alarm occursif the specilied line number is not predefined.
I Sample programI (Movemastercommand)
10 TBD +19,100 ; lf the bit 19ot the externatinputis ON, thenjumpsto lind numoer
100.
20 MS 1
; Movesto position1 by linear inlerpolation.
30 ED
;Endsprogram.
:
100 MO 10
; Movesto position10.
3-103
Tl (Timer)
I Function
I
Halts the motionfor the specified length of time.
I InputFormatI
Tl dimer countert
(rerml
<Timercounler> Set the period ol timer.
0 S timer counter< 32767 (0.1sec)
I ExplanationI
(1) Causesthe robot to halt its motionlor the specified counter value X 0.1 second.
lMax. 3276.7seconds)
(2) Used lo introducea time delay belore and after the hand is opened or closed lor
grippinga workpiece.
(3) The delaultvalue is zero.
I Sampte programI (Movemastercommand)
10 MO 1,O
; Movesto position1.
20 Tl 5
;Wait for 0.5 second.
30 cC
; Closeshand.
40 Tl 10
; Wait for 1.0second.
50 MO 2
; Movesto position2.
60 ED
;Ends program.
a,1n/
TL (Tool)
I FunctionI
Establishes
the distancebetweenthe handmounting
surfaceandthe tip of hand.
I lnputFormatI
TL
[<toollength,]
[Terml
<Toollength)
Set the distancefrom the handmountingsurlace to the tip of hand.
0 < tool length< 300.00 (mm) {0 for default)
I ExplanationI
(1)The least input incrementof the tool lengthis 0.01mm (e.9.,specily 200.05for
200.05mm) .
(2) Once established,the tool length remainsvalid unlil a new value is set (battery
backed when the power is switchedoff) . Whenthe tool length has been changed,
the currentpositionis also changedaccordingly,which, however,does not involve
any robotic motion. (lnitialtool length is 123 mm.)
(3) Since the point detined by the TL commandis the basisfor calculationol the current
position,XYZ jogging and commandsinvolvingthe XYZ coordinatessystem, the
accuratetool length must be establishedaccordingto the tool being used.
Whenever
a program is to be run,the same tool length as that establishedduring
{4)
ieaching must be set ai the beginningot the program.
I Sample program) (Movemastercommand)
10 TL 12O
; Sets the tool lengthto 120 mm.
20 HE 1
; Definethe currentpositionto position1.
30 TL 100
; Changesthe tool lengthto 100 mm.
40 MO 1
;Moves to position1 advancing20 mm in the tool direction.
50 ED
;Ends program.
3-105
VR (VersionRead)
I Function
I
versionol thesystemROM. (UsingRS-232C)
Readsthesoftware
I InputFormatI
VR
( Explanation)
(1) Outputsthe softwareversionof the system ROM mountedin the controllerthrough
the RS-232Cport.
(2) The outputformat is ASCIIcoded. (Example: "RV-E2 Ver. 41")
The denotationof the softwareversionis the following
Version oJ software.
Type of robot arm.
(3)Becausetheterminator
oftheoutputdatais caniagereturn(Hex.0D), itis necessary
to handleserialdatastringsup to hexadecimal0D in receivinga messageby a
personalcomputer."LINEINPUT#" statementis equivalentto this in BASIC.
I Sampteprogram) 1Bastc)
1 0 o P E N " C O M 1 : E 8 3 "A S # 1
20 PRINT +;-1,"VR"
30 LINE INPUT# 1,A$
50 PRINT "Softwareversionis " : A $;
60 END
; Opens the RS-232Ccommunicationf ile
from the personalcomputer in BASIC.
;Transmitsthe VR command.
;Savesthe receiveddata to A$.
; Displaysthe data on the screen.
;Ends program.
/
RUN
Softwareversionis RV-E2 Ver. A1
; Run the program.
; Outputsthe version name.
a_.t nA
WH (Where)
I Function)
Readslhe coordinalesof the currenipositionand the open or close state of the
hand. (UsingRS-232C)
I tnputFormatI
WH
( ExplanationI
(1) Causesthe coordinatesof the cunent positionof the tip of hand,as determined by
the tool length (see the TL command) , and the hand open or close state to be
outputthroughthe RS-232Cport.
(2) The outputformal is ASCIIcoded as indicatedbelow.The least outputincrementis
tor 20.01mm)
0.01mm or 0.01degree. (e.9.,20.01
Output lormat :
RV-E2/RV-E2M: X,Y,Z coordinatevalue, A, B, C turning angle, R/L, A/8, N/F,
O/C (structuralflag)
RV-E3J/RV-E3JM:X, Y, Z coordinatevalue, A, B turning angle, R/L, A/8, OlC
(structuralflag)
(3) Becausethe terminatorof the outputdatais carriagereturn (Hex.oD), it is necessary
to handleserialdata stringsup to hexadecimal0D in receivinga messageby a
personalcompuler."LINE INPUT#" statementis equivalentto this in BASIC.
I Sampte programI (Bestc)
(1) RV-E2/RV-E2M
10 OPEN " COM1 : E83" AS # 1
file from
; Opensthe RS-232Ccommunication
the personalcomputer in BASIC.
20 PRINT#1," WH"
; Transmitsthe command"WH".
40LINEINPUT#1,A$
;SavesthereceiveddatatoA$.
50 PRINT "Currentcoordinates
are " : A $ ; Displays the contents of A$ on the
screen.
60 END
;Ends.
RUN
; Runthe program.
Currentcoordinaiesare +10.00,
; Displaysthe value of the current position.
+380.00,300.00,-70.00,50.00,+40.00,
R, A, N, c
(2) RV-E3J/RV-E3JM
10 OPEN " COM1 : E83" AS # 1
file from
; Opensthe RS-232Ccommunication
the personalcomputer in BASIC.
20 PRINT# 1," WH"
;Transmitsthe command"WH".
40 LINEINPUT#1,AS
;SavesthereceiveddatatoA$.
50 PRINT "Currentcoordinates
are " : A $ ; Displays the contents of A$ on the
screen.
60 END
: Ends.
RUN
; Runthe program.
+10.00,
Current coordinatesare
; Displaysthe value of the currentposition.
+380.00,300.00,+50.00,+40.00,
R,A, c
3-107
WT (WhatTool)
( FunctionI
Readsthe tool lengthcurrentlybeingestablished.(UsingRS-232C)
I InputFormatI
WT
I Explanation
)
(1)Causesthe tool lengthcurrentlybeingestablished(bythe TL command)to be
outputthroughthe RS-232Cport.
(2)The datais outpuiin ASCIIcodeddecimal.The leastoutpuiincrementis 0.01mm
(e-9.,105.07is displayed
tor 105.07
mm).
(3) Becausetheterminatorof the outputdatais carriagereturn (Hex.OD), it is necessary
to handleserialdatastringsup to hexadecimal
0D in receivinga messageby a
personalcomputer."LINEINPUT#" statementis equivalentto this in BASIC.
(4)All roboticmotionsare basedon the established
tool length.lf a wrongtool length
hasbeendefined,the robotmayinterferewitha surrounding
obiect.Whenthe tool
lengthis unknown,
therefore,checkthe tool lengthusingthe WT commandbefore
startingthe robot.
I SampteprogramI (Bnstc)
10 OPEN" COMI : E83" AS # 1
Jilefrom
; Opensthe RS-232Ccommunication
20 PRTNT#1," WT"
40 LINE INPUT++*'l,A$
50 PRINT" TOOL=" ; A$
60 END
the personalcomputer in BASIC.
; Transmitsthe command"WT".
; Savesthe received data to A $.
; Displaysthe contentsof A$ on the screen.
;Ends.
RUN
TOOL:105.7
; Runthe program.
; Outputsthe tool length.
?-1 ne
XO (Exclusive
Or)
I Function
I
EXCLUSIVEORs the specified data and the internalregister data.
I tnputFormat
)
XO <operationdata>
[Terml
<Operaliondata> Specifythe data lo be operated.
-32768< operation data (decimall = 32767
& 8000< operationdata (hexadecimal)< & TFFF
I ExplanationI
('l) Specifythe data to be operatedin decimal or hexadecimal.Any hexadecimalvalue
must be headed by "&".
(2)The operationresult is stored inlo the internal register and can be changed,
comparedor read by relevantcommands. (Seethe EQ, NE, LG, SM, CL, DR, AN,
OR commands)
(3) Executionof the XO commandafter the input command (lD) allowsthe required
bits ot the parallelinputdata letched from the externaldevice to be flipped to their
oppositesettings.
I Sample program) (Movemastercommand)
10 lD
;Fetches data lrom the externalinput port.
20 AN &000F
; Fetchesonly lower 4 bits.
30 XO &000F
;Flips data ol 4 lower bits to their oppositesettings.
40 CL 21
;Sets above data lo counler21.
50 EQ 10,200
;ll the abovedata equals10,then lumpsto line 200.
60 ED
; Endsprogram.
:
200 MO 99
; Movesto position99.
3-'t09
' (Comment)
I
I Function
to writea comment.
Allowstheprogrammer
I InputFormatI
'
characters
l€tring consistingof up to 120alphanumeric
,]
includingline numberand ' (apostrophe)
I ExplanationI
(1) You can describeup to 120alphanumericcharactersincludingline numberand '
(apostrophe).
(2) Use it to describe the name and date on the generated program or to mark a
subroutine.Commentsare helpfulto check back lhe programas the LR (Line
Read) commandis used.
(3) The system ignores commentsas it processesits commands.
(4) lf the number of charactersexceedsthe limit, the whole excess is ignored.
I Sample program) (Movemastercommand)
1 0 ' * * * * * { c* * * i ( * * * : r *
20' Sample Program
30' Date:93-10-01
; Specity the contentsof program,
40' Programmedby Mitsubishi
the date of implementation,and
********t(**
50' ***t
thename of programmer,etc.
60 NT
q.-1 1 n
Chapter4 : Designand Engineering
This chapter is a collectionof usefultechnicalinlormationon the systemdesign that
will help you when you set up the robot.Also,lor relatedinformationthat is described
separately,reler lo the index (below).
to controller
4.1 Externalconnections
4.1.1Specificationslor externalconnectionsto controller
ln this section we'll provide explanationsand guidance related to the various
equipment connectionsto the controller.For details,about connections,refer to the
Speciticationsmanualor the instructionmanuals (User'sManualand Relerence
Manual) . The topics can be foundas follows:
(1) Machinecable connections
.........
Instructionmanual (User'sManual)
Chapter3 section 3.4
(2) Powercable connections
.........Instruction
manual (User'sManual)
Chapter3 section 3.5
(3) Ground
...-.....
Instructionmanual (User'sManual)
Chapter3 section 3.6
(4) Installingthe teachingbox
.........
Instructionmanual (User'sManual)
Chapter3 section 3.7
(5) Externalemergencystopconnections.....
SpecificationsManual
Chapter6 section 6.1
(6) Personalcomputerconnections .........
Instruciionmanual (ReferenceManual)
Chapter4 section 4.3
(7) Externall/O connections
.........
Instructionmanual (ReferenceManual)
Ghapter4 section4.1
.l-
|
The numbers 0 ) to (8) in the graphcorrespondto the numbersin the previouspages.
o
Solenoid
5m for standard
Special specificatbns 15m
's
Flexiblecable available
More than 2m2
I
200v
3KvA
exlemall/O
cable
Notel : Two concentic circles (O) mean its opticnal equipment
an asterisk(') meansthatseparatepurchaseis necessary.
Fig.4.1 Exiernalconnectionsto controller
4.1.2Interfacingwith externall/O equipment
(1) Connectionmelhod
The connectionsbetween the controllerand external equipmentare done by
connectingthe connectortor l/O interlace card on the back of the controllerto the
externall/O device with the optionalexternall/O cable. One parallell/O interface
card is standardequipmenttor the controller,but by adding more,you can have up
to 3. You need to supplythe input/outputcables and power source (DC12to 24V)
(2) The numberof inputs/outputsfor the parallell/O interface
Each inlerface card has a total of 20 inputs and 16 outputsas fixed points,and it is
pointsas well as specilic purposepointsby setting
possibleto allotgeneral-purpose
the oarameterslor the variousbits.
It is also possibleto select lunctionsfor specialized l/O from the lollowing tables
4.5 and 4.6. so thal you can havethe best l,rOallotmentfor the given use.
Here, shown below, are the factorysettings lor the standard card (lhe tirst one) and
the optionalexpansioncards (2ndand 3rd cards) .
Table 4.1 Specificationsfor the standardparallel l/O interface
Type
General-purpose
SDecialized
Notes
l7.points(ltcontains
InDut
3 points(STA'STP'RST)Total20 points
'
(Start,Stop,Reset)
sertng varueoTInpur4+4)
Total16 Doints
Output13points
3 points(RUN,WAI,ERR)
(Executin
g,Waitin
g,Alarm)
l able 4.2 Expansioncard NO. 1 parallell/O interfacespecifications
Type
General-purpose
Specialized
Notes
Total20 points(All are for
general-purpose
input)
Total16 points(All
are for
general-purpose
output)
Input
20 points
0 points
Output
16 points
0 points
Table 4.3 Expansioncard NO. 2 parallel l/O interfacespecifications
Type
General-purpose
SDecialized
Notes
Total20 points(Allare for
general-purpose
input)
Total16 points(All
are for
general-purpose
output)
Input
20 points
0 points
Output
16 points
0 points
4.1.3Assignmentof specializedl/O signalslor parallell/O interfaces
(1) Factoryset commands
The specializedinputsand the specializedoutputscan be used by writing the
commandsin tables4.5and 4.6in bit formatto the parameters(lnput: lN1 to tN3
and output: OT1 to OT3) . For inlormalionon how to read and write parameters,
referto 2.6 "Otherlunctions"under" (1l) Parametersettings"in this manual,and
then do so.
4-3
Shownbelow are the settingcommandsat the time of factoryshipmentfor the various
cards.
Table 4.4 Setting commandsfor the parallell/O interface
l/O card
Commandat time ol factoryshipment
Parameter
4
lnput
tN1
Output
oTl
Expansion lnput
1st board Output
tN2
Standard
I
12
16
1 9b i t s
oT2
Expansion Input
2st board Output
tN3
OT3
(2) Assignmentof the l/O value
The l/O value commands (lnput: PlOto Pl3, outputPOOto PO3) communicates
the program'snumericaldata in binaryformat,and each commanduses4 continuous
bits. (Example: 1 commandcan inpuVoutput0 to 15 numericalvalues,2 commands
0 to 255. )
Accordingly,put 4 commas (,) afterthe numericall/O command.lf you omit the
commas,the object bits pile up and the robot cannoiproperly handle input/output.
4 bits
A s s i g n m e netx a m p l e' l N 1 = ( P l O , , , , P 1 1 , ,
A
I
|
rlrt
0123
I
I
Assignment
oi
standard input
tor l/O parallel
interface
I
11 13 15 17 19
Jll
I
I 1.
4 bits
, ,cYc,
11 11 I
4s 67
|
,,'',,|
r
1 Itl
10 12 14 16 18
I
I
Assignmentol
CYC to bit 8
A CautionA signalthat hasbeen assignedas a specializedinputcan be used
as a ge.3:al-purpose inputwhen the program is in progress,but lor
safety;,:sons, don'tmix non-numericalinputswith generalpurpose
inpuis. lf you try to do so, an alarm will result.
4.1.4Commandsand functionsihat can be written to oarameters
In the table shownbelow,you'llfind an explanationof commands,alongwith their
functions,that can be written to the l/O setting parameters (lN1 to lN3 and OT1 to
OT3) of the parallel l/O. To find the read and change operation,refer to section2.6
"Other Functions (11) Settingthe parameters"in this Manual.
Table 4.5 Input commandnamesand functions
Name
Command
Function
Start
Note 3: STA
Executesa programand starlsthe robot.
Stop
Note 2: STP
Intenuptsa programand stopsthe robot
Programreset
Note 3: RST
PE
Alarmreset
Note 3: ERS
ServoON/OFF
Note 3: SVO
Brake ON/OFF
Note 3: BRK
Reselsthe interruptedslatus.The alarmslalus is also
resetat lhe sametime. lf lhe sen/opower is OFF.il is
tumedON.
Resetsalarms,but doesnot reset the program.
It the servopower is OFF,il does not turn it ON.
Tumssen/oON/OFF.when the signal is ON,lhe servo
can be switchedON/OFF.ffhe brake works
synchronously.)
Conltolsbrakeswhenservois OFF.
The brakesare disengagedwhenthe signal is ON.{Be
caretulol the fallingarm.)
Changesthe continuous/cycle
operationmode.
ll toggleswhenthe signalis ON.
Controlsthe maximumspeed duringprogramexecution
to set speed ot the paramelersJGJ, JGP tor lhe
jog.
designated
Enable
requirement
Note 3: ORQ Togglesbetweenenable/disableJorthe controloJ
externalsignalcontrol.lt toggleswhen lhe signalis ON.
Whenenabledstart up and resettingoperationswill not
be possible-
PE
Generaloutpul
resel
Note3; ORS
TumsOFFall general-purpose
outputsignals.
Program number
designation
Nole 3: PGN
Reads data set al the numerical input signal aslhe
programnumber.
PE
Programnumber
PGR
output
reouirement
Note3: LLN
Line number
designalion
Outpulsa programnumberof a programin progressfrom
the numerical
oulputsignal.
PE
Readsdataset at the numericalinputsignalastheline
numberfor startingthe program.(Starting
in the middleol
a progmmis possible.)
PE
Line number
output
reouiremenl
Override
designation
Ovenide output
reqoirement
Numericalvalue
inputsignal (0)
(1)
(21
(3)
LLR
Outputsthe line numbercunentlybeing executedlrom
the numerical
valueoutputsignal.
PE
OVR
Readsdataset at the numerical
valueinputsignalas the
overridespeed for operatingthe program.
Outputsovenide speed ol programin progressfromthe
numerical
valueoutputsignal.
UsedJorinputlingnumerical
datalor variouspurposes,
includingdesignating
a programnumber,designating
line
number,and designating
an ovenide.(Eachare 4 bits)
PE
Continuous/cycle Note 3: CYC
Manualcontrol
mode
TMD
ORR
Plo
Pl l
Pt2
Pr3
PE
PE
PE
PE
PE
HL
HL
HL
HL
Note 1 : The definitionof "level"is as shownbelow: ll a signalhas notbeen connected,
its staluswill be OFF.
HL (Highactivelevel) When an externalsignalis ON, the designated
f unctionwill be enabled.
Whenthe externalsignalis OFF,it will be disabled.
PE (Posiiiveedge) Whenan externalsignalchangesfrom OFF to ON,
the designatedtunctionbecomesenabled.Alter that, even if the
externalsignalis turned OFF,the designatedfunctionwill remainin
its originalenabledstate.A pulse rate of 0.1 secondsor longer is
reouired.
Note2: At time of factoryshipment,whenthe externalsignalis ON, it has an A
connectionJunctionthat maintains
the stoppedstatus,but, by changingthe
valueof the parameterINB from 0 to 1, it is possibleto changeit 1oa B
connection
function.
Note3: Dependingon the particularstatusof the robot,suchas whetherthe robotis
operating,or whethera stopsignalhasbeenentered,thesesignalsmaynot
functioneven if the signalin questionis input.
Belowyou'llfind robotconditions
for whensignalswill notfunctionand their
namesSignal name
Programresel
BrakeON/OFF
General-purposeoutputreset
Programnumberdesignalion
Line numberdesionation
Start
Programresel
Alarm reset
ServoON/OFF
Brake ON/OFF
Continuous,/cycle
General-purposeoulput resel
Programnumberdesignation
Line numberdesignation
Overridedesignation
Start
Servo ON,/OFF
tor lhe signalmentionedon ihe leit that
loommand) Enable/disa-ble
dependson lhe robots condition
(Rsr)
(BRK)
(ORS)
(PGN)
(LLN)
Will notfunctionwhenin operalion(runcondition)
(sTA)
(Rsr)
(ERs)
(svo)
(BRK)
(cYc)
(oRs)
(PGN)
(LLN)
Functionsonlywhenthe externall,/O device is enabled (in
ATV condition)
However,it will alwaysbe enabled whenthe se^o is OFF
basedon lhe se^o ON/OFF (SVO)-
(ovR)
(STA)
(SVO)
Witl notlunctionwhen a stop (STP)inputsignathas been
received.However,itwill alwaysbe enabtedwhenthe
servois OFFbasedon the servo ON/OFF (SVOI.
Table 4.6 Output commandnamesand lunctions
Name
Command
Executing
RUN
Waiting
WAI
Sounding
alarm
ERR
Deviceenable
ATV
ServoON
SVA
Continuouscycle
stalus
CYS
Manualmode
starus
TMS
Withinuserdelined area
UAR
Ready
Numerical
outpul
signal(0)
Numerical
output
slgnal(1)
Numericaloutput
signal(2)
Numericaloutput
signal(3)
PO0
POI
P02
Function
Outpub the fact thatlhe programis executing
Outputsthe lact thatthe programhas temporarily
stopped.
Outputsthe lact lhat an alarmhas not been generated_
Outpubthe lact that an externall/O wields operating
control.
Coffespondsto the inputcommandORe.
Outpub the lact thatlhe Servois ON.
Correspondsto the inputcommandSVO.
Outputsthe lact lhat the programis in the continuous
mode.
Correspo;ldsto the inputcommandCYC.
Outputstact thatthe maximumspeed duringoperation
will be restrictedin the manualmode.CorresDondsto the
inoutcommand
TMD.
Outputsthe tact thatthe currenlpositionot the robotis
withinlhe user-delinedarea basedon the oarameter
UAR.
Outpulsthe tact thatexternalinputsignalscan be
receivedwhenthe controllerpower is ON. (tt is output
untilthe poweris turnedOFF)
Usedtor outputtingnumericaldata tor variouspurposes,
includingdesignating
a programnumber,designating
line
number,and designatingan ovenide. (Eachare 4 bits)(All
bits havenol been assignedat time ot factoryshipment.)
HL
HL
HL
|.t
HL
HL
HL
Note | : The definitionof "level" is as lollows:
HL (Highaclive level) When a designatedexternalconditionexists,the
outpulsignalswill be ON
Once the signalshave been output, until the designated condition
changes,their statuswill remain unchanged..
4-7
4.1.5Connectiontable lor parallel l/O interface
(1) Standardparallell/O interface
The table shown below containsassignmentof the connector pin numbers of the
standardcard and their variousfunctions.Here is shownthe distinctionof the signal
lines when you connectthe optionalexternall/O cables.For detailson the connector
pin array and the external l/O cable, refer to section 4.2 "Option (221, 123)" in
the SpecilicationsManual.
'f
able 4.7 Directoryof assignmentsfor pin numbersand signalsfor the standard
parallel l/O interface
Functlon name
Pin Color ol enemal
nuln
l/O cable
ber
1
color oi ertemal
nurn
l/O cable
Specializ€d/
power souace/
cottmon
G€aeral purpose
oe,
Gree
black A
O.ang€/black A
Pink/black A
7
Gray/bLack A
6
Red/black A
OV''-'.: :i{-? t
pln use
l2vi24v '.+7 pin
use
z e lWhll€/bhck I
-l
g
cv
*l
l2v/24v :.?€42
prn use
,:!iYellorlr/black
I
Goneral-purpose
oltput 1oo
Gene,al-purpose
ouFut 101
*lI
35
G€neral-purpose
output11O
General-purpose
output111
Geneaal-purpose
outpur101
1 7 Gray/black C
output102
1 8 Red/black C
1 9 Purple/blackC
20
Brown/blackC
21
White/redA
output 03
c€neralpurpose
ourpd | 04
General-purpose
1CE
lorrtput
lGeneral-purpose
loubur 105
A-e
Yellow/blackO
General-purpose
output114
3a
Blue/blackD
i4o thru
i
COM1 :40-47
pin use
General-putpose
Orange/blackD output
108
I
lRed/black D
44
45
i5O are
i
:Darked
I il6
:output
1
:t should I 47
:be INPUTSI
R,u(R,r)
irh.-r (['4i)
General-prrrpose ega.RLeP?>
output115
Gaeen/blackD
D
lPink/black
4 . 8 , ' , .42 loravrlacr o
[eine
Ithru 25 i
land pins i
I
General-purpose
output109
General-purpose
ootput110
Genetal-prrpose
loutput111
lGeneral-purpose
1l2
lourput
lGeneral-purpose
loutput1l3
I
lGeneral-purpose
lollput 114
General-purpose
1t5
t""l
I]
4
tl
49
S-.cP
(siPJ
Iw*;:,c
50
(r.v'r
Cesr)
l.:"::.^
I
a
lO.ange/red
37
[ e a . s a t !, ,
General-purpose
'l
15
II
25
General-purpose
output113
40
:35{8:''
prn use
12Vl24V: 35-34
pin (lse
White/blackD
I nisprint j
:
I.tables
Genetal-purpose
lGene,.t-pu,pose
loulpul107
24
r*T1
| 4.7 ,
ov
Genelalpl'pose
output112
COMo:15-22 |
pnuse I
1 6 Pink/black C
GeneraLpuapose
orJtprjt107
Brown/black B
l
: 29-32 :
pin use
General-purpose
output106
Purple/blackB
Generalpurpose
ootput109
General-putpose
orrtput10O
General-purpose
output105
gi /i Red/black B
1 1 White/black C
1 5 Orange,/black C
Oaange/blackA
Graylblack I
OV 'r'':1U13 ',
'
pn l|se
14tl24v i 10-13
ptnuse
1 4 Green/black C
Geneaal-putpose
output104
*lI
General-purpose
output108
1 3 Blue/blacl( C
Gre€n/blackB
r r l Pink/blackB
1 0 Bro$m/black A
Yellow/black C
Blus/black B
_lI
G6neral-puapose
output102
G€n6ral-purpose
outpd 103
Purple/bbck A
Specialized/
Generalpurpose
comtnon
Jvhtte/black A
Blue/black A
5
Functlon narne
Pih
lGeneral-purpose
I outout116
I
lG€ne.al-purpose
|outputI |7
OY/(Ga<.rcN)
,i:
= + 12l.tt ys6- tcra4
The assignmentof the connectionsto the parallel l/O interface board is shown in
Fig.4.2. (2E-311O)
DC12Vt24V
DCIA//24V
GerEralprpce oJtput0
GerterdpttrpGec trnl
ptpose orfpf 4
GenerdprpcGec.ql2
Ger€rdp.rpce d.@n3
DCII/ /24V
Brpceoutrn6
pupceor$iT
DCIA//24V
rufeoutri8
pupceo..Fn9
pL[pceouFrjt10
trrpceq.ipnll
DCIA//24V
grpce irpri 0
trrpeirprl
pLrpe irF 2
pupe tFrt 3
ruposeirpn4
Blpe irpds
prp@ipt6
prpeirptT
prpceo.rpts
p4oseouFdl2
prpce odpd 13
pLrFseortrJt 14
prpce ouFn 15
DCIA//24V
trrpGeirFrB
prpce irF.t9
trrpce irp-t 10
prpce irp.t 11
prpce inp{.(12
ptrpce ir|trn13
p.rp6e irgn 14
prpce irp:t 15
General
Dc12v/24y
Frpce irpn 16
pLrpe irpri 17
tr [pGe irp.tt18
prpce hFn 19
Note 1 : You need to supplyyour own power source OC12V/24V.
<Standard><Expansion'
.l
.-+ t 01
The l/O numberlor the first additionis 100 added to the
standardl/O number.
.l
...+ 201.
The l/O numberlor lhe secondadditionis 200 added to
the standardl,/O number.
Fig.4.2 Connectionscheme for parallel l/O interfaceboard (U.S.A.,Japan)
4-9
The assignmenlof the connectionsto the parallel l/O interface board is shown in
Fig.4.2E.(2E-31loE)
1
DC1?V/24V
2
----r L-
z6 -----J.r-l
Generalfup6e oupd
GeneralprpGeoutpd1
Gen€ralpupceoutsut2
GeneralprrpGeo&d 3
DC12V/24V
c
30
7
31
32
8l
33
)
F-i...-i
10
I
J-
DCIzI/ /24V
pupc6einpd0
prrp6€ input1
purpc€inpd2
pupce inpd3
purpceinput4
prrpceinpt45
purpceirtptn6
purpGeirput7
p|'pce input16
purpGeinput17
I
ptrpGeor&d4
l+J
I
:1
Brpce a&d 8
p('pce ojtsrn9
p[pc6eauFJtr 0
pupcseqrtstn11
1
DC12V/24V
27
'(-
-o r="_:
Jr
pupce orFjt 12
General
purpGeouFn 13
General
Genq-al
Gene'd
Gene'dpup6e ouF|n14
Generalpupce oijtsut15
DC12V
D
C I /24V
35
I
12
37
14
39
40
)
-!J
r..F
41
I
t
42
46
22
47
23
24
p(rp6e inpdB
CieneraiptrpGe inpd9
Gen€.alpupGe tnpd 10
\
44
2'l
25
Generalp|.rpceouFn 7
DC12\
2V/24V
u
--El
Generalp|'rpceoutstn6
)
|-i.-|
r_,i
15
16
17
18
19
20
)
Generalp|.rpceqJtsut5
I
GeneralpurpGe inpd 11
Generalpup6e input12
GeneralB[p6e input13
Gen€rai$npce inpul14
Generalp(!p6e input15
DC12V
D
C 1 /24V
--{
o-
50
GeneralpurpGe input18
GeneralpurPce inpd 19
Note 1 : You need to supply your own power sourceDC12V/24V.
<Standard><Expansion'
The l/O numberfor ihe lirst additionis 100 added to the
standardl/O number.
The l/O number for the second additionis 200 added to
the standardl/O number.
1
-..+ 101
1
-.+
201.
Fig.4.2EConnectionschemefor parallell/O interfaceboard (EUROPE)
(2) Thefirstadditionalparallell/O intertace
Shownbelow is the pin assignmentfor the connectorpin numbersol the first
additionalcardandtheirtunctions.
Here is shownthe distinctionof the signallineswhen you connectthe optional
externall/O cables.For detailson the connectorpin arrayand the externall/O
oabfe,relerto section4.2"Option 122), (231" in the Specifications
Manual.
Table4.8Directoryof assignments
lor pin numbersandsignalsforlhe firstadditional
parallell/O interlace
Pin Colcr ot ertornal
num
l/O cabla
b€t
1
Function narne
G€nelal purpose
fvhite/black A
4-7
pln use
1t! t24V +7 pin
use
Yellorrr/bbckA
A
Blue/bLack
4
SpecialEed/
powel soutce/
comnoo
Pin
Color ol extemal
DUM
l/O oable
b9r
Funclion r|a|tre
Genehlpurpose
6
White/black B
:G
27
Yellrw/black B
3V
n
Blue./blackB
, n-32
pln ose
:23-32
lzv/24V
pin use
3r€en/black A
General-purpose
ou9ut 100
29
G.een/blackB
Geneaal-purpose
output104
3.ange/black A
Gen€ral-purpose
outsut101
30
OEnge/blaokA
G€neral-purpose
o||tp|n t05
Pink/blackB
Ggn€ral-purpose
odput 106
G6n€tal-psrpose
output107
Phk/bhck A
7
Gray/black A
8
Red/blackA
Gen€ral-p!apose
ou9nt 102
G€neral-purpose
o!tsut 103
OV
Purple/bhckA
1 0 Brovm/bbck A
32
:1G:3
pin use
1Vtl21V .'lO-13
pln use
Gray/black B
OV
:35-38
ptn {rse
12Vt24V. -8
pln use
Redblack B
34
GeneJal-purpose
output 108
Purple/blackB
Brown/bbck B
G€neral-purpose
output112
General+urpose
ouQlrt1Og
G€n€ral-p!rpose
ousrn 110
37
Yellowblack D
General-purpose
output111
38
Elue/blackD
39
Green/blackD
40
General-purpose
Orange/blackD ourpu 'l08
Gene.al-prrpose
ou$ut 101
Geneaal+urpose
ou$ur 't 02
41
Phk/black D
42
Ghy,/blackD
43
Red/blackD
1 9 Purple/blackC
General-p!apose
ouFrt 103
Genoral-purpose
outsut1(X
44
Purple/blackD
General-purpdse
ourpult11
Gen€ral-plapose
osrput112
20
Bro$m/blackC
Gen6lal-purpose
ooFut lci
,15 Brown/black O
Genoral-purpose
odput '113
21
White/.ecl A
General-purpose
ou$ut 105
Genetal-purpose
ou$ut 107
s
White/redI
47
Yellowred B
Genoral-purpose
oulput1'l4
G€neaal-pulpose
ourpd 115
,t8
Blue./redB
49
Green/rcdB
General-purpose
odput 118
OranQe/redB
General-putpose
ornpd 119
1 1 Ymhe/b|ackC
1 2 Yollow/blackC
Blu6/bbck C
l4
Wh[e/black D
coM0
Groen/blackC
General-purpose
O,angelblack C o!&{n 100
1 5 Pink/blackC
1 7 Gray/black C
1 E R€d/blaokC
23
25
Blue/red
N.C.
G.e6n/redA
General-purpose
ostsut116
Orange/redA
General-purpose
oiltput117
15-?2
P|n us€
Spscbllze.r/
powet soitce/
co|llnon
Gen€ral-prnpose
odput 113
Geneaal-purpose
odput 114
Genelalpurpose
output115
coMl
:4047
pin use
GeneEl-purpose
odpul109
General-purpose
output | 10
COM2I24,8 A950
use
. The l/O numberfor the first addilion is 100 added to the standard l/O number.
( 1- | 1 0 1 )
(3) The secondadditionalparallell/O interface
Shown below is the pin assignmentfor the connectorpin numbers of the second
additionalcard and their functions.
Here is shownthe distinctionof the signal lines when you connectthe optional
externall/O cables. For details on the connectorpin array and the external l/O
cable, referto section 4.2 "Option (221, (23) " in the SpecificationsManual.
Table 4.9 Directoryof assignmentsfor pin numbersand signals for the second
additionaloarallel l/O intertace
Pin Color ol enenEl
num
l/O cable
bet
Function name
Specialized/
Geneaalpurpose
Pin
Col' ol extehal
num
l/o cabte
b€r
Funclion name
GeneraloulDose
oo|1lmon
1
6
White/blackB
27
Yellow,/blac* B
a
Blue/blackB
General-purpose
outpd 200
General-purpose
outsut 2O1
n
Green/blackB
General-purpose
olrtPut2O2
General-purpose
ou$ut 203
31 Pink/blackB
White/black A
'.4-7
pin use
1Vt/24V : 4-l pin
use
ov
Yellow/blacx A
Blue/black A
Green/black A
Orange/bhck A
5
Pank/bliackA
7
Gray,/black A
a
Red/black A
1.1 |,vhite/black C
1 2 Yellow/black C
1 3 Blue/black C
:1G13
ph use
17t/24V :10-13
ph use
General-putpqse
output 204
1 6 Pink/black C
1 7 Gray/black C
1 8 Red/black C
1 9 Purple/black C
20
Brown/bliack C
21
White/red A
Gray/blackB
t8-32
P|nraie
12V/24vim42
Pmuse
G6n€ral-purpose
odput 204
Genelal-purpose
output 2(F
Genelal-purpose
output 206
G€heral-puipose
output 207
:35-38
pin use
lzv/24V: 35-3a
pin llse
OV
Purple,/black
B
35
Browri/black B
White/bhck D
Yellow/blackD
Genetal-purpose
output21'l
OV
R6d/blac* B
Gen€ral-purpose
output 209
Genetal-purpose
output210
G€neral-purpose
outputA2
General-purpose
outpul213
G6n6lal-purpose
output214
General-potpose
orrtput215
38
Blue/blact D
33
Green/blackO
40
Orange,/bhckD
General-purpose
output201
General-putpose
output202
41
Pink/blackD
42
G.aylblackO
General-purpose
ootput203
General-purpose
oots|lr 204
General-purpose
output 205
43
ReUblack O
44
Purple/blackD
lts
Brovrn/blackD
General-purpose
ouFut 205
General-purpose
ouFut 207
/t6
White/.ed g
G€helal-purpose
output214
47
Yellow/redB
Genetal-purpose
output215
48
Blue/redB
coM0
1 4 Green/blacl< C
1 5 Orange/black C
32
Ov
Purple/blac! A
1 0 Brown/black A
Orange,/black
A
Gen€ral-putpose
output200
15-22
pin use
coM t
'.4o{7
pin|rse
General-purpose
ostpur 208
Genelel-purpose
outpd 20e
General-purpose
output210
General-purpose
outpul 211
General-plrpose
output212
General-purpose
ol,tput 213
COM2:24,25,49,50
use
2?
Blue/red A
24
Green/red A
Generalpurpose
orrtput215
4,o creen/aedB
Gene€l-purpose
output218
Orange/red A
G€neaal-putpose
output217
50 Orange/redB
General-purpose
output219
N.C.
Specialized/
powersoutce/
com|non
. The UO numberlor the secondadditionis 200 addedto the standardl/O number.
(1 ..- 201)
4.1.6 Precautionsfor connectionswith externaldevices
I
Caution. Do not exceectthe designatedlimitfor the powersourceot the
$
source.
Caution. Usea transistor's
opencollectorsignator a non-voltage
connection
1[
^
{\
^
{\
^
l\
^
f\
external device.
. Be careful noi to make a mistake about the polarity of the power
signallor the inputsignal.
.
Caution W-nenusinga coil load,such as a relay or solenoid,connecta surge
absorbingdiode, parallelto the load. (Be carefulot the diode's
PolaritY.)
Caution . When the LED is lit, connecta protectiveresistorthat is equivalent
to the rated current,in serial.
. Connect the parallel register to get the drain current to be 20% as
much as the rated current,becausean incandescentlamp gives
rush current 10 times as much as the rated current.
Caution. When connectingthe cables to peripheral equipment with the
external l/O connector cables, do the installationas lar away as
possiblefrom noisesources.Otherwise,it can cause a malfunction.
.
CautiOn Set the load connectedto the outputsignalso that it does notexceed
the maximumcurrentof the output.
.
Caution Be careful so thatyou dont short-circuitthe l,rOcableswith the power
source.
(lt can destroythe outputtransistorsthat are inside.)
l/O connector
coM0
(Externalperipheraldevice)
-_. Inputportpowersource
lDc12V/24v1
2E-31lO type
Push buttonswitch
!
o
=
Transistor
--- Limitswitch
12V/24V
Outputportpowersource
(DC12V/24V1
LEDlamp
=
Solenoidor relay
=
o
Photocoupler
Incandescence
lamp
Fig.4.3 Exampleof connectionschemetor l/O circuitry(U.S.A.,Japan)
4_13
l/O connector
2E31IOEtype
x
Externalperipheraldevice
--. lnputport powersource
(DC't2V/24V)
-' Pushbuttonswitch
--- Transistor
"' Limitswitch
Outputportpowersource
(DC12v/24V)
L
o
LEDlamp
o
Solenoidor relay
Photocoupler
Incandescence
lamp
Fig.4.3E Connection
exampleto l/O circuitry (Europe)
(1) Electricalspecilicationslor the inputcircuit
The electricalspecificationslor the input circuit is shown in Table 4.10
Table 4.10 Electricalspecificationslor the input circuit
Iten
Sp€cllicalion
Type
DC input
ilo. ot lnput Poi s
20
lnsulationtn€lhod
PhotocouDlerinsulafion
Ratod iaput voltage
ocl2vtDc?jv
Rat€cllnDutcunent
Appror. 3nA/Approl TrnA
Oporaling YoltageEnge
DCl0.2 to 26.4V(Ripplelactorless$an 5%J
VoltageON/ Cunenl ON
DCSVoamore/ 2nA or more
Voltage OFFI Cunenl
OFF
hPul ,esislAnce
DC4V or less/ lmA o. less
Intomal cicult
E31IOE
rype
Appror. 3.3k oh.ns
OFF.ON
1ftns or l€ss (DC249
ON-OFF
'| ons or les! (DC24V}
Respoosetime
Commonmethod
8 points I common(Pariy 4 pohts 1
coaanon)
E emalline connection
method
Conn€cior
(coM)
INPUT
(2) Electricalspecificationsfor the outputcircuit
The electricalspecificalionsfor the outputcircuit are shown in Table 4.11.
Table 4.11 Electricalspecificationslor the output circuit
llern
Specilice$on
Type
Transister output
No.ot orrtput points
t6
hslEtion method
Pholocoupler insulation
Raied bad Yoltage
DC12VtOC24V
Usag€ load vollage Enge
DCl0.2-30V (PeakvonageDC30V)
Mai
O.1A / point {10O%)
bad clrent
Loakage curent duaing
Mer.voltagedrcp cluring
ON
Responselilne
2E31lO type
(24/12v)
OUTPUT
O.lmAor less
DC0.9V[rYP.)
OFF.ON
ats or less (Flardwareresponselime)
ON.OFF
zns or less lResisbr load
Fuserating
Fuse3.2A(onep€r cor non)cannotbe
aeDlaced
Coml|ron hethod
4 points 1 cornhoal
Extemal lhe coflnectioh
lnothod
Conheclot
Extemal
s1rppry
Power
Intemal circtril
Volta9e
oc1u24vtDC10.2-30l'
Cura€nl
60 mA (p€r TYP.DC24V1
common)
ZtrJ I I(JE
type
(24/12V)
FU
OUTPUT
X The power supply (DC24V) for the input/outputcircuit musi be prepared by the
user.
4-15
(3) Selecting programs from external devices
Below you will lind an explanationfor a program selection method based on
specializedinput attachedto an externalinput.There are two methods,so you can
chooseeitherone. Forthe parameterchangingmethods,reler to section2.6 "Other
functions"under " (11) Settingparameters"in this manual.
(A) Methodusing STA signaland PGN signal
1. Set the value of the programselectionand start parameterpST to "0."
2. In one of the parallell/O inputsettingparameters (lN1 to lN3) , assignthe
numericalvalue inputsignal (suchas PlO) and the specializedinputcommand
"STA"and "PGN".
3. Set the program number to be selected by the externaldevice at the various
bits for the numericalvalueinputsignal.
4. Inputthe signal into PGN'sbit.The programnumberthat was set by the startup
signalwill be read into the robot.
5. Inputthe "STA" signal.The programyou selected will start.
- OOOripOaO
In the abovemethod,when the programends,and you wantto use the same program
again, inputonly the STA signal. ffhe numericalvalue input signal is unnecessary.)
For informationon the timing chart,refer to section4.1.7.
(B) Methodusingthe STA signal
1. Set the value of the programselectionand start parameterpST to "1."
2. ln one ol the parallell/O inputsettingparameters (lN1to lN3) , assignthe
numericalvalue inputsignal (suchas PlO) and the specializedinputcommand
STA.
3. Set the program number to be selected by the externaldevice at the various
bits for the numericalvalue inputsignal.
4. Inputthe STA signal.The program number that was set by the startup signal
will be read into the robot,and the programselected will start simultaneously.
,A caution In the above melhods,it is necessaryto set the program number at
the numericalvalue input signal each time you start.
lf you inputonlythe STA signal,dependingon the numericalvalue
inputsignal,the wrong programcan be selecied.
d_14
4.1.7 Timing chartfor externaloperations
Examplesof timing chartslor externaloperationsare shown in Fig. 4.4 to Fig. 4.6
(1) Timing chartfor externaloperations,Example (1):
(INPUT)
PIFPI3
toN
STA
(oUTPUT)
tt
tr
t
Es"
Eg E
FE
"E
"'E
E.-
P
I
llt
5
i
i!:E:!:
i:; F !;i
t
r
I I t
3
:9
!
t<*t<
55
nmblr
2 PEgm
tuhir.r
t
Ig 3 EEEB I
!' E:F3.E: t
Ptog'|'|
f ttt
_a
'i;
2
Note 1 : After the setting of the numericvalue inputsignal, you should input a PG
signalafter 0.1 seconds.
Note 2 : The pulse width of the PE signal (positiveedge) of the PGN signal an
othersshould be 0.l secondsor more.
Fig.4.4Timing chartlor externaloperations,example 1
a-17
(2) Timing chart for externaloperations,example 2
(INPUT)
slA
svo
Nuh.ric }alu. i.prt
ouPurr.qw.h.nr
Lincnuinb.rd.iignrio.
LLN
un. nnnb.r oulPrn
LLF
ovlrrid. .t.signatjon
(OUTPUT)
'-Hd'
1"*"dr-fi;!-i
l"-.m*r:"*"..o*i"*i--------l
o""-ag..,l-----1
Fig. 4.5 Time chartfor externaloperations,example 2
419
(3) Time chartfor eriternaloperations,exampleg
(NPUT)
wo
sT
R6cr.l dr g.ncrd
ohs
(OUTPUT)
Go.rd F.rrp6. o[prn
Erenin9
|
rt
|
Siln o! S.M
progrri
oFF
*tuo
oN
|
|
SrnE,n.rq.hd
3r;
S.rc
o
i
Sl.n
Starl ot the delaull prpgram.
t
tt
t
a-.
aE!
eii
z3
a
I
l-
3t
Fig. 4.5 Time charttor externaloperations,example 3
4-19
4.2Tooling
4.2.1Specificationsfor tooling connections
Detailsfor making connectionscan be found in the SpecificationsManualand in the
inslructionmanuals (User'sManualand ReferenceManual), so pleasemake the
The topics can be lound as lollows:
connectionsaccordingto the writteninstructions.
(1)Standard
SpecificationsChapter3 Section3.1.4
air wiringand piping ............
(2)Solenoidvalve set specifications...........
SpecificationsChapter 4 Section4.2 l3l
InstructionManual (Referencemanual/
{3)Solenoidvalve set installation ............
This manual) Chapter1 Section1.1.3
(4)Motor-operatedhand interfaceinstallalion......lnstruction
Manual (User'smanual)
Chapter 3 Section3.8.1
(Referencemanual/
installation
...
Instruction
hand
interface
Manual
{5)Pneumatic
This manual) Chapter1 Section1.1.4
(6)Motor-operatedhand installation...........
lnstructionManual (User'smanual)
Chapter 3 Section 3.8
(7)Pneumatic
lnstructionManual (Referencemanual/
handset installation............
This manual) Chapter1 Section1.1.2
The numbers (1) to (7) lound inthe diagramconespondtothe number headings
in the previouspages.
(7) Installationof the pneumatichand set
(6) Installationof the motor-operatedhand
(2)Specificationsof the
solenoidvalve set
(3) Installationof the
solenoidvalve set
=__----r
i..€r
i
a--P-
I
i
!
i.--!LLL---;.-ffii
!
_i
('l) Standardwiring and
Dneumatic
oiDino -,
For use with the pneumatic hand
motor-operatedhand i nterface
(5)Installationof
tic hand interface
Note : This was written for the RV-E2robot.The specificationsare the same for the
RV-E2Mand forthe RV-E3J/RV-E3JM
Fig. 4.7 Connectionslor wiring and piping
4-21
4.2.2 Exampleof tooling plan
In regardsto a toolingplan,we'll explaina connectionscheme involving"the method
of installingan externalsolenoidvalve." Here, we'll explain using a single hand,but
even if you have a double hand,the basic procedure is the same. However, il you
have 3 hands,everythingwill come under (2) Parallell/O controlsand external
piping lor the robot.
('l) Methodof installinga solenoidvalve externally (Usinghand l,rOfor control)
We'll showyou an example of installinga solenoidvalvefor pneumatic-handcontrol,
such as one that may be differentfrom the optionalsolenoidvalve,and one that you
may purchaseseparatelyyourself.
Here, we'll showyou the way to connecl a hand l/O to the hand outputsignal line. In
this case,we'll use teachingto make it possibleto open and close the hand.Vacuum
based solenoidvalves (ejectors) and other similarunitswill have the same wiring.
Pneumatichand
Hand curl tube
)
Differentdiameter straight union
(66-641
I
t
I
Cul spare wire and
connectwilh the
ut cable.
Pneumatichand
Solenoidvalve
cable
ConnectsDarewires
0.2SQx4tothe
solenoidvalve
Note : This was written for the RV-E2robot.The specificationsare the same for th
RV-E2Mand for the RV-E3J/RV-E3JM
Fig.4.8 Methodof installinga solenoidvalveexternally(Usinghand l/O for control)
A caution lf you want to use 2 or more solenoidvalves,put the air tube outside
the robot cover.
(2) Method ot installinga solenoidvalve externally (using parallel l/O interface for
control)
Here, we'll show you another method of installing a solenoid valve externally, a
melhod of installingthe had outputcontrolsignal wire to the parallel l/O interfaoe.
In this case,you will not be able to open and close the handwith the teaching box.
You shouldusethe same wiring for a vacuum-typesolenoidvalve (ejector) or similar
unit.
Pneumatichand
Hand curl tube
Differentdiameler straightunion
6-64
Solenoidvalve
Externall/O cable
Note :This was writtenfor the RV-E2robot.The speciticationsare the same lor
RV-E2Mand lorthe RV-E3J/RV-E3JM
Fig. 4.9 Methodot installinga solenoidvalve externally (Usingparallell/O to control)
I
Caution lf you want to use 2 or more solenoidvalves,put the air tube outside
the roboi cover.
4-23
4.3 Connections
to a personalcomputer(RS-232C)
pin arraylortheRS-232C
4.3.1Connector
The relationship
betweensignalnamesandpin numbersfor the RS232Cconnector
pins is shownbelow.
Fig.4.10Pinarray (RS-232C)
Table 4.12Pin numbersand signalnames (forthe RS-232C)
Pin number
Signalname
I
Pinnumber
Signalname
Pin number
Signalname
10
N.C
19
N.C
2
sDfrxDI
11
N.C
20
ER(DTR)
3
F',D(EXD]
12
N.C
21
N.C
4
RS (RTS)
13
N.C
22
N.C
s
cs (cTS)
14
N.C
23
N.C
6
DR (DSR)
15
N.C
24
N.C
25
N.C
7
SG
16
N.C
8
N.C
17
N.C
9
N.C
18
N.C
Adapter-connector
: JAEDB-2sP (prongside) N.C.standsfor no connectionpossible.
4.3.2Functionof each signalcable
Table 4.13Sionalname and iunction
Signalname lnput/Output
r\:
_
Function
Thisis a framegland.Connectsto the controller's
G
terminal
datafromthecontroller
to thepersonal
sT' tTXDi
output
RE (FXDI
Input
RS (RTS)
Output
CS (CTS)
Input
Transmission
requestsignalfer the personalcomputer
permissionsignallor the controller
Transmission
DR (DSR)
Input
Personalcomputer's
transmission
readysignal.
l:il;lllTtt
datatromthe personalcomputerto the
3"".i:;",,':rn
Groundtor the signalline.
ER (DTR)
A tA
Output
Controller's
transmission
readysignal
4.3.3Settingthe RS-232C
Whenyou use the RS-232Cinterface,it is necessaryto set the below-mentioned
communications
withthe personalcomputer.
Thesesettingsarelor makingthe same
settingson the controlleras for the personalcomputer.Unlessthey both havethe
samesettings,communications
can'tworkpropedy.Beloware the communications
specifications:
Table4.14Communications
soecifications X The settingson the left can also
be made by changingthe CM0
p a r a m e t e r . ( R e fe r t o 6 . 2
"Parameter directory" in this
Data bit length
manual.) For the parameter
changing methods, refer to
Paritycheck
s
e c t i o n2 . 6 " O t h e r f u n c t i o n s "
Stop bit length
under" (11) Settingparameters"
New line code
CR
in this manual.
Set the above-mentionedsettingsin your personalcomputer.
Item
Baudrate
Description
9600 bps
I bits
Evenparity
2 bits
4.3.4Time chartsfor the varioussignallines
The standardsfor the RS-232Cinterface are essentiallybased on such items as
electricalspecifications,connectortypes, and pin numbers.
The way of using varioussignal lines and communicationsprotocolsare so varied
depending on the type of equipment.Accordingly,even thoughyou have made the
correct signal lines connectedto the personalcomputer,you still may not be able to
operate with it.
Accordingly, in regards to making this connection,you should develop a f ull
understandingof the functionsof the signal lines that you will use between the
controllerand the personalcomputerbefore you make the connections.Please note
that all datatransmissionbetweenthe controllerand personalcomputerwill be done
in ASCIIcode.
(1) The timing of sending datatransmissions
trom the personalcomputerto the robot.
<Robotside>
ER (DTR) , and RS (RTS) shouldboth be atthe "H" level and be waitingfor data
input-Whenthe end code is input,ER (DTR) andRS (RTS) bothchangetolevel L,
and execule the commandreceived.
Once the commandhas been executed,both ER (DTR) and RS (RTS) returnto
level H.
The end code is hexadecimal"OD" (CR:carriagereturn), and or hexadecimal
"OD" + "OA" (LF: linefeed) .
<Personalcomputerside>
When DR (DSR) is at level H, you can transmitcharacters.When DR (DSR) is at
level L, if you transmitcharacters,an error will result on the robot side.
(Robotsioe) (Personal
computerside)
ER (DTR) "+ DR (DSR)
RS (RTS)
.--.|cs (cTs)
Fig. 4.11 Timing of data transmissions(trompersonalcomputerand robot)
4-25
(2) Time of data lransmissionsfrom the robotto the personalcomputer
<Robotsider
After changingER (DTR) to level H, you can begin to send data transmissions,
and
when the end code is transmitted,ER (DTR) 's level is changed back to level L.
You can set the end code at parameterCMO.Refer to section 6.2 "Parameter
directory" in this manual.
rPersonalcomputersider
The requestsignalis sent afterthe ER (DTR) andRS (RTS) are bothat level H, and
the personalcomputerwaits for a transmissionfrom the robot side.
(Robotsioe) (Personal
computersi
ER(DTR)"- DR(DSR)
RS (RTS)"* cs (cTS)
1 Outputof first 1 Outputo{ second
characler
character
DR (DSR) <- ER (DTR)
CS (cTS) *
RS (RTS)
Fig.4.12 Timing of data transmission(fromrobot to personalcomputer)
-O<}Orip9lr9
1. Whenthe personalcomputertransmitsdatato the robot,dependingon the personal
computer,the personalcomputermay ignore the ON/OFF signal line lor the CS
or DR, and transmitdata continuously,
resultingin an error on the robotside. In this
case, make an adjustmenton the personalcomputer,such as by using a timer to
send data. On the other hand,when the robot lransmits data to the personal
computer,the robotwill ignorethe ON/OFFsignalline of CS and ERon the personal
computer,and transmitdata.
2. When the RS-232Cread commandis used repeatedlyat the programon lhe
r o b o t s i d e , i f t h e p r o c e s s i n gs p e e d o l t h e p e r s o n a l c o m p u t e r i s s l o w , a
comrnunications
eror can resulton the side of the personalcomputer- (Linebuffer
overflowerror) . In this case, use a timer or some other iechnique so that you can
expand the executionintervalof the RS-232Cread commands.
3. Th robotcannotreceivenew commandswhen it is executingdirect commands,
such as when it moves by the MO command.Transmita new commandonly after
it finishesa commandcompletely.
(By sending an ER command,you can confirmthe existence ol an alarm and the
fact that a transmissionhas been completed.)
4. lf the wrong commandis transmitiedby the RS-232Cwhile the program is in
progress,an alarm will be generated.ln this case, reset the robot.
4.3.5The RS-232C connectorcable
ll you are connectingthe personalcomputer together with the robot with the RS232C interface,you shouldadapt the cable you use for the RS-232Cso that it can fit
the connectoron the frontside of the controller.For intormationon wiringspecifications
ol the connectorcables,referto section4.2"Options"under" (25) Personalcompuler
cables" in the SpecificationsManual.lt will be necessaryto satisfythe abovementionedconditionsrelatedto timing,for all ot the signals.
4.3.6Exampleof a connectionto a personalcomputerwith the RS-232C
We'll show below an exampleof how lo make a connectionto the PC-9801N (NEC)
(1) Connectingthe RS232Ccable
Usingthe optioncable builtfor ihe RS232C (Model type : RS-PC-CBL), connect
the connectoron the personalcomputerwith the controller.(Do this with the power
source OFF lor both the controllerand personalcomputer.)
{2) Setting for the personal computer
1. Settingthe main unit'sswitches
Set the dip switeheson the personalcomputer accordingto Table 4.15.
Table 4.15 Settingthe dip switches
Switch
Condition
Notes
Switch2
oFF(up)
Switch 3
oFF (Up)
Switch5
Preventsthe memoryswitchesfrom beinginitialized
ON (Down) (changed)
whenthe powersourceis ON.
Changesthe transmission
modeot the RS-232Cto
asynchronous.
After settingthe dip switches,lurn ON the power source for the personalcomputer.
Dependingon the personalcomputer,it may be possible to enter these settingsby
key entry on the personalcomputer.
2. Setting the software
Dependingon the BASICversionyou use, you can find the setting methodin
Table 4.16.
Table 4.16 How to set the software
Type ot BASIC
Setting method
DISK-BASIC
(1)Startup NSSD|SK-BAS|C.
(2)Setthe baudratefor the memoryswitchesaccordingto the
procedures
shownbelow:
1. Startup SW|TCH.N88,
whichis attachedto DISK-BAS|C.
(lnputRUN"SWITCH.N88"
and pressRETURNKey).
2. In the Menuscreen,select"RS-232C(detaultsettings)"and
pressRETURNKey.
3. In the screenfor RS-232C(defaultsettings),set
the baudrate
to 9600.
4. PressESCto returnto the orioinalmenu.
5. Select"END"and pressRETURNKey.
DOS-BASTC
(1)Startup MS-DOS.
(2) Usingthe switchcommands,set the baudrateto 9600for the
memoryswitches.
(Foroperatinginstructions,
referto the MS-DOSmanual.)
(3) Confirmingthe connections
UsingN88-BAS|C,
try inputtingand executingthe followingprogram:
10 OPEN"COM 1 : E83"AS #'l ............Set
lhe communication
settings
20 PRINT#1, "ER"
............Execute
the ER command.
3 0 L I N EI N P U T# 1 , A $
............
Readthe alarmstatus
40 PRINT"ALARM"; A$
............
Displayany alarmon the screen
50 END
............End
the BASICprogram
RUN
........-...
Executethe program
ALARMO
OK
lf you lind that "0" followsafter"ALARM" on the personalcomputerscreen,then
communications
will be possible.("1" or "2" will appear if an alarmis generated.)
4-27
Chapter5 : Maintenance
and inspection
In this chapterwe'll show you some maintenanceand inspectionduties that will help
lel you use the robot lor a longtime withoutany trouble.We'll also explainthe types
of expendable parts.
period
5.1 Maintenance
Maintenanceand inspectionfall intotwo categories: daily and periodic.you should
conduct maintenanceand inspectionsdiligently to promote safety and to prevent
breakdownsbefore they happenso that you can enjoy a long product life.
(1) Inspectionschedule
In addition to the monthly inspections,there is another additional inspectionthat
must be made every 3 months (assumingoperatinghourstotal about 500 hours),
as shown below.
0Hr
.l-month
lnspeclron
.l-month
Inspec on
P-month
J-month Inspec
Inspeclron
on
J-month
lnspeclron
500Hr
1-month
Inspeclron
1 0 0 0H r
o
3-month 5-month
J-month
Inspeclroninspectioninspection
1-month
inspection
o
1-month
inspection
1 5 0 0H r
J-month 3-month
Inspeclron
nspection
.1-month
Inspeclron
J-month
Inspecllon
2000Hr
:l-month 3-month 6-month 1-year..
InspectlonInspecuon
inspectionrnspeclton
Note:
(Calculations
for inspectionschedule)
According to the
In case of a sinoleshift
scheduleon the left,
8hr/day x 20 days/monthx 3 months= approx.500hr.
r / y h en u s i n g t h e
10hr/dayx 20 days/monthx 3 months= approx.600hr.
double shift, you
In case of a double shift
should make the
15tu/day x 20 days/monthx 3 months= approx.1000hr inspectionsat half
the
reo ular intervals.
Fig.5.1 Inspectionschedule
q-l
5.2lnspectionitems
5.2.1Dailyinspectionitems
Conductthe daily inspectionsin the order shown in Table 5.1
Table 5.1 Dailyinspectionitems (Description)
Inspectionitem(Description)
Remedialaction
Beforethe powersourceis turnedON.(lnspectthe followingitemsbeforethe power
sourceis turnedON.)
Step
1
Are the installation
boltsonthe robotloose?
(visuallyinspect)
Tightenthe boltsecurely.
a
Are the set screwson the coverloose?(visually
inspect)
Securelytightenthe
screws.
boltson the handloose?
Are the installation
(visuallyinspect)
Tightenthe boltsecurely.
4
o
7
8
ls the powercable securelyconnected?(visually Securelyconnectit.
inspect)
ls the machine cable betweenthe robot and
controllersecurely connected?(visuallyinspect)
Securelvconnectit.
Are thereany cracksor residueon the robotor
controllercover?(visuallyinspect)
Exchangefor new partsand
take emergencymeasures.
ls the mainrobotunitleakinggrease?(visually
inspect)
Are thereany problemswiththe pneumatic
system?Checkfor air leaks,drainresidue,torn
hoses,and whetherthe air sourceis normal.
(visuallyinspect)
Clean the robot and resupply it with grease.
Take measuresto repair
drainsor leaks.(Replace
parts)
Afterthe powersourceis turnedON(Watchthe robotwhenyouturn it ON.)
Doesthe robotmakestrangemovements
or
Referto troubleshooting
measures.
strangesoundswhenyouturnit ON?
Duringoperation(Useone of yourprogramsto movethe robot)
'I
1
Confirmthat thereare notgapsat the movement Beler to troubleshooting
measures.
ooints.
lf there is a gap, conlirmthelollowingitems:
'|. Are the fixingboltsloose?
2. Are the boltsholdingthe handloose?
3. Are there any gapsin thejig type positions
otherthanthe robot's?
4. lf the gap doesnotheal,referto 6.6
"Troubleshooting"
in thismanualandthentake
the appropriatemeasures.
2
Doesthe robotmovestrangelyor make strange
sounds?(visuallyinspect)
Referto troubleshooting
measures.
5.2.2Periodic inspection
Conductthe periodic inspectionslollowingthe proceduresin Table 5.2
Table 5.2 Periodic insDectionitems
Step
Inspectionitem(Description)
Remedialaction
Monthlyinspection
1
Are there any loosescre$/sor boltson the main
robot unit?
Are the connector'sfixed screwsor the terminal
block'sscrews loose?
Securelytastenthe screws
and bolts.
Securelyfastenthe screws.
Determinethe causeand
Removethe variouscoversand confirmthat there removeit. lf thereis any big
damageto the cables,
is nostain,damage,or frictionon the various
contactthe service desk at
cables.
Mitsubishi.
3-monthinspection
I
Are thereany problemswiththe tensionof the
timingbelt?
Adjustit so thatthe tension
is nottoo loosenor too tight.
(Seepage5.3.3)
6-monthinsoection
1
Conlirmthe abrasionof the timing gear teeth.
1-yearinspectionitems
reductiongears
Supplygreaselor the harmonic
1
for eachaxis.
Replacethe backupbatteriesin the mainrobot
unitand insidethe controller.
Whengearteethget badly
damaged,replacethem.
Referto page5.3.4tor
information
aboutgreasing.
Relerto page5.3.5when
youdo the replacing.
5-3
procedures
and inspection
5.3 Maintenance
ln the followingwe'll explain the actual proceduresfor conductingthe periodic
maintenanceand inspection. Study the descriptions carefully and follow the
instructionswhen you carry out the tasks.You can arange to have lhese tasks done
for you by contactingthe Mitsubishiservice desk, bui you will be charged for these
services. (Never disassemblethe partsexcept for the parts described below.)
It you decide to implement the maintenanceand inspectionprogram yourself,you
aboul the maintenanceparts in section5.4 "Maintenanceparts"
can lind inJormation
in this manual.lf you need some parts,youcan contactthe dealer where you purchased
this product,or you can contactyour local Mitsubishiservice center.
I
Cautionlf youundertaketheseduties,theremaybe someitemsthatresultin
originslipsoithe machinesystem.Youmayneedto do "revisingthe
body position"or "re-teaching."
5.3.1Structureof the main robot unit In
Figure 5.2.1shows a structuraloutlinedrawing for the RV-E2 /RV-E2M and Figure
5.2.2showsone for the RV-E3J/RV-E3JM.The varioussections are as follows:
(1) Waistjoint
The rotationof the waistmovesaccordinglo 1) theW joint motorand 2) the harmonic
reductiongear.
The W joint motor is equipped with a brake.
(2) Shoulderjoint
The rotationof the shouldermovesaccordingto 3) the S-joint motor located in the
upper arm and 4) S-jointreductiongear.
The S-iointmotor,3) , is equipped with a brake in order to prevent the robot from
falling when the power source is OFF.
(3) Elbowloint
The elbow joint moves accordingto 5) the E-jointmotor located in the upper arm,
and 6) the E-jointreductiongear.
The E-iointmotor,5) , is equipped with a brake.
(4) Wrist twistjoint (Forthe RV-E2/RV-E2Monly)
The wrist twist ioint rotatesaccordingto 7) the T-joint motor located in the elbow
block and 8) the T-joint reducliongear.
(5) Wrist pitchjointarea
The rotationof 9) the P-jointmoiorlocatedin the forearmis transleredto 11) the Pjointreductiongear through10) the P-jointtimingbelt,resultingthe wrist housing.
(6) Wristrolljoint
The rotationo{ the wrist roll movesaccordingto 12) the R-loint motor in the wrist
housingandto 13) the iointreductiongear.
Fig. 5.2.1Main robot unit'soutlinestructuraldiagram (RV-E2/RV-E2M)
3-J
(11)P-jointreductiongear
W-iointmotor
(2)W-axisre-
(13)R-jointreductiongear
Fig. 5.2.2Main robot unit'soutlinestructuraldiagram (RV-E3J/RV-E3JM)
5.3.2lnstallation/removal
ot cover
the
robot
is
the
RV-E2/RV-E2M,
reter to Fi9.5.3.1,and if the robotis RV-E3J/RV{1)lf
E3JM, refer to Fig. 5.3.2,and removethe cover.
(2)Thenamesof the covers are shown in Table 5.3, and the list of cover installation
screws is shown in Table 5.4.
(3)Somecovers may be difficultto remove dependingon lhe postureof the robot.ln
this case, change the robot posturewith jogging operation,and then remove the
cover.
(4)Use the removal procedure inreverseto installthe cover after maintenanceand
inspection.
Table 5.3 Cover name
Product
number
Covername
Quantity
Notes
Shouldercover(Ll
Shouldercover(R)
Shouldercover(F)
Shouldercover(B)
NO.1 Arm cover(R)
NO.1 Arm cover(L)
Elbowcover(U)
a
Forthe RV-E2/RV-E2M
Elbowcover(B)
Forthe RV-E3J/RV-E3JM
Elbow cover (L)
Elbow cover (F)
10
NO.2 Arm cover(U)
11
NO.2 Arm cover(L)
12
Wristcover(U)
.t?
Wristcover(L)
'14
Appliesonlyto RV-E2/
RV-E2M
Wrist cover(S)
Table 5.4 List of cover installationscrews
Symbol
Installation
screwname
Socket bolt M3X8 (nickel plated)
Trussscrew M3X6 (nickelplated)
Qtv.
27
Remarks
10
TrussscrrewM3X8 (nickelplated)
Socketbolt M3X6 (nickelplated)
Appliesonlyto RV-E2/
RV-E2M
The productnumbersand symbolsused in Table 5.3 and Table 5.4 correspondto
thoseused in Fig.5.3.1andFig.5.3.2.
5-7
To remove
the wristcover,
pushit up
usinga screw
driver.
(13)Wristcove(Ll
No.1 arm
-!
(a)
(a)
,
,' (b)
(a)6-.
--a (a)
-P"r
c)
.2b)
.-.-l(b)
._-al
Fio. 5.3.1How to disassemblethe covers [RV-E2/RV-E2M)
13)WristcoverL
--..
(a)
-.qc)
(b){g
c)
a)
,"fF--1
---ol(b)
.-.al
Fig.5.3.2How to disassemble
the covers (RV-E3J/RV-E3JM)
5-9
5.3.3Inspecting,adjusting,and replacingthe timingbelts
The robot uses a timing belt to drive the pitch joint.The timing belt is superiorto
gears or chainsin that it requiresno lubricationand makes little noise.When tensile
controlor tensionadjustingis unsuitable,that could cause a shorter productlife and
generate noise.
We carry out an aging operationto remove initialelongationand we also adjust the
belt tensile before shipment.But tensile confirmationis necessaryin the routine
inspections,because elongationoccurs over a long period of time, in some oases.
Replacingthe timing belt is necessaryin the tollowingcases:
*Replacingthe timing belt
It's had to judge the productli{e of the timing beli becauseit depends on the running
environment.
(1) Replacethe timing belts underthese cases:
1. lt gets cracked on the base ot a tooth or the back of the belt tooth.
2. lt swells oul as a result of stuck oil.
3. lt loosesits width (approx.half a tooth width)
4. lt jumps the gear tooth by abrasion.
5. lt breaks.
I
CautionInitialabrasionof the iiming belt is unavoidable.lt is notan abnormality
i{ you find abrasion powder in the cover atter about 300 hours of
operation.Changethe belt, even if you can wipe otf the abrasion
powder.
(2) Inspecting,adiusting,and replacingthe timer belt for the wrist pitch joint drive.
A. Inspectionmethod
1. Figure 5.4 shows how lo inspectand adjusta liming belt for wrist pitch joint
drive.
2. Removethe no.2 arm covers U and L as shown in the Figures 5.3 "How to
disassemblethe covers."
3. Visuallyconfirmthat situationshown in the former sectionactually happened.
4. Pushthe middle o f the belt with the finger lightly. (About0.7Kgf) as shown in
Fig.5.5 and confirmthat it sags2mm.
B. Adjustmentmethod
1. Fig. 5.4 shows how to inspectand adjust a timing bell for wrist pitch joint drive.
2. Loosenthe 4 motorinstallationscrews
3. Move the motorto the directionof the arrow in Fig. 5.4 to adjust the tension by
confirmingihe belt. The motorcasing has long hole to adjust it.
4. Move the molorto arrow"a" to fastenthe belt. Move the motorin the directionof
the arrow "b" to loosenthe belt.
5. Don'tloosenthe belt too muchso that it comesotf the timing pulleys,4, 5.
6. Fastenthe 4 motorinstallation
screwstightlyafter makingthe adjustments.lf
they are not securelyfixed, they can come loosefrom vibration.
C. Replacementmethod
1. Fig. 5.4 shows how lo replace a timing bell.
2. Turn down the wrist pitch joint with the teachingbox.
Ourn it to the direction of gravity)
3. Hold the pulleys when replacingthe belt.
It can cause a location gap where the locationrelationshipol pulley (4) and
pulley (5) slipsoff.
4. Mark the timing belt (2) and the timing pulleys (4) and (5) to keep their location.
5. Put otf the motor installationscrewsto removethe timing belt.
6. Copy the mark to a new timing belt by stretchingthe bett.
7. Assemblea new timing belt intothe timing pulleysto set the marks.
8. Adjust the tension of the belt. The former items (3) to (6) explain how to adjust
it.
9. There is the possibilityof a locationgap being created after replacingthe belt.
Confirmthal a locationgap has not occurred.
1o.Adjustthe robot when it gets a locationgap. Refer io section 3.9 "setting the
origin" in the User's Manualor'Settingthe origin"in this manualto reset the zero
point position.
1\ Caution When you replace the belt, a machine-causedlocationgap ot the
origin can be generated.In this case,you will need to reenterthe
positiondata.
(1)Motor fixing screw
M3'14 (boltwith hole)
Timi
belt
ml
belt
Fig. 5.4 Inspecting,adjusting,and replacingthe timingbelt for the wrist pitchjoint
drive.
t
l.t
(3) Tensionof the timing belt
A timing belt needs suitabletensionto keep good power transmissionand its
durability.When the tensionof the belt is weak, the sides ot the belt vibrate.When
the tension of the belt is strong,the tension side of the belt vibrates with a sharp
sound.Fig. 5.5 and Table 5.5 illustratethe how to adjustthe tension of the belt.
Adjust the tensionol the belt by the force f and the deflectionof the span, s.
Tension of belt kgf
Length of span mm
Deflectionof belt mm
Fig. 5.5 Force and deflection
Tabrle5.5 Tensionof the belt
Joint
Belttype
span s: mm
P Joint
S2M-320-U
12O
Detlectiond:
Forcef: kgf
o.7
5.3.4Grease charge
{1) Greasecharge place and greasechargespecification
Fig. 5.6showsthe locationtor the greasenipple.And Table 5.6 showsgreasecharge
specificationslor each place. Whenyou want to charge grease,followsection5.3.2
"Disassemblingcovers"to removethe necessarycovers.
RV-E2/RV-E2M
RV-E3J/RV-E3JM
(4)T-joint grease
(1)W-iointgrease
Commonlor RV-E2/RV-E2M.
RV-E3J/RV-E3JM
Fig. 5.6 Greasecharge ports
5-13
Table 5.6 Grease charge specification
B"'J:"'#"?5y Removar
Numcrease
charse Grease
rype
"rff::Jl,t#:l:fl,;'l*,
,I
Waistjoint
Greasenipple Grease GeargreaseSK-lA
409
Reductiongear WA-610
X 2000Hr
'l7g
z
Greasenipple Grease GeargreaseSK-1A
Shoulderjoint
409
Reductiongear WA-610
X 2000Hr
175
^
o
Greasenipple Grease GeargreaseSK-1A
Elbowjoint
gear WA-610
409
Reduction
x 2000Hr
'179
.
4
Wristtwistjoint Greasenipple Grease GeargreaseSK-1A
6.5K9
Reductiongear WA-610
X 2000Hr
6.29
5
Wristpitchjoint Greasenipple Grease GeargreaseSK-1A
6.5K9
gear WA-610
Reduction
X 2000Hr
1.6S
^
b
Greasenipple Grease GeargreaseSK-1A
Wristrollioint
6.5K9
Reducliongear wA-610
X 2000Hr
3.59
Shoulder
cover(B)
Wrislcover
(s)
Note : The RV-E3J/RV-E3JMin number4 have no wrist twist ioint.
- OaOripOaO
'1
. The brand names in Table 5.6 are the ones used lor the robol at the time of
factoryshipment.
2. The "Grease charge interval"is the lolal time runningfull speed.
You can extend the grease charge intervalby operating it under continuous
operationor at a slow fixed speed.
flhe mark (X) refers to one year inspections.8 hoursx 20 days x 12 months
2000 hours.)
3. The "Hours of supply"can vary dependingon operatingcondilions,so please
make sure you don't run out.
to the numbersgiven in Fig. 5.6.
4. The numberin the upper list corresponds
(2) Grease charge approach
/
1. Pose the robot as shown in Fig. 5.6
2. Referto section5.3.2"Disassemblingcovers"in the ReferenceManualto find
how to take ofi the covers of the waist and wrist roll axes.
3. Inject grease intothe grease nipple with the greasegun. and enter the amountof
greaselisted in Table 5.6.
4 . R e a s s e m b l et h e c o v e r s b y f o l l o w i n g l h e s t e p s i n r e v e r s e f o r w h e n y o u
disassembledthe covers.
5.3.5 Replacingthe backup battery
Since in the E-series,there is a positiondetector equipped,a positionmemorywith
a battery backup is needed in case of power tailures..
The controlleralso uses a battery backup for such things as program memory.The
batteriesare supplied at the factoryat the time they are shipped, but since they are
expendable parts,you need to replace them at periodic intervals.
A general yardstickfor battery backup is one year, but depending on how you use
the robot, the actual time can vary. When remainingbattery life is low, a message
reading "As soon as battery alarm occur." is displayed as an alarm (alarmnumber
2300) . When this alarm has occurred, change the batterieslor both the robot and
'
controlleras soonas possible.Both the conlrollerand the robol use lithiumbatteries
(fype: A68AT) .
Below, you'llfind an explanationof how to change the batteries.
E.'lt
(1) Replacingthe batterieson the mainrobot unit
Fig. 5.7 shows how to replace the batteriesfor the main robot unit.
Since the RV-E2. RV-E3J don't have a baftery cover, 4, it is not necessary to remove
one. Also,there are lour batteriesfor the RV-E3J/RV-E3JM.
1. Conlirmthat the cable betweenthe cable and robot is securelyattached.
2. Turn ON the controllerpower.
When we replace the batteries,we'll be relying on the power supply from the
controllerto protect the positiondata. Consequently,if the cable is not securely
attached,or il the controllerpower is OFF, the positiondata can lost.
3. Press the Emergency stop button to bring the robot into an emergency stop
condition.This is a safety measure,so don'tforget to do it.
4. Removethe fixing screws 2 and 3 as shown in Fig. 5.7,and removethe shoulder
cover (B) , 1, from the robot.
5. Removethe installationbolt,5, in sectionA of the main robot unit,and removethe
battery cover, 4.
6. There is a battery cover 4 in the battery holder.Take the old batteriesout of the
holderand remove the lead connectors.
7. Place the new batteries into the holder and reconnectthe lead connector.You
shouldreplace all batteriesat the same time.
8. Go back to step 4 and 5 and replacethe batterycover,4, and shouldercover B by
followingthe instructionsin reverseorder.
$ Caution lf the connectorcomes loose.the battery can't work properly,and
the encoder'spositiondata could be lost.You will lose the encoder's
positiondata if you dont supplypowerlrom the controllerto the robot
when you are replacingbatteries,or if you keep the conlroller'spovyer
OFF.
5-15
(3)
' ' Socket
head bolt
(51
' ' Socket
head bolt
B
T
._ _ . . _ (4)Batterycover
Lead connector
Detail drawing of part A
Fig. 5.7 How to replace batteriesof the main robot unit
(2) Replacingthe bateries for the controller
1. Turn the controllerpower ON once. (Forabout 1 minute)
2. Turn OFF the controllerpoyveras well as the povyersource.After at least 3 minutes
have elapsed, you can begin to remove the fixing screws and remove the top
cover.
3. Removethe old batteriesinsidelhe controller.
4. Place new batterieswhere the old ones used to be so that they fit securely.
5. Pick the cable soket of the new battery and connect it to the connector (CONI BT)
on the card so that the red colorlead comesto the + (plus) side.
This entire processshouldbe completedwithin 15 minuteslrom the time you
removethe batteries.
6. When you are finished,replacethe top cover and tightenthe cover.
I
Cautionlf you continueto work despite the tact that a battery reserve time
alarmhas been generated,youwill get a backupfailurealarm.lf you
generate a backup failure alarm,the contentsof the memory can't
be guaranteed,so you should back up importantprogramsand
positiondata beforehand,usingpersonalcomputersoftwareor other
softwareto save the data onto floppy disks for storage.
(3) Alarmreset
1. Once you havefinishedreplacingthe batterieslor boththe robotand the controller,
don'tforget to reset the backupfailure alarm.
2.The reset operationshould be done using the RS command {RS2) in direct
execution,from the teachingbox or from lhe personalcomputer.
When using direct execution,the lollow the written instructionslor "creating a
program"undersection2.3.2Programming
with the Movemastercommandmethod
in this manual,and input " tRl tsl [2] " to execute.
Refer also to Table 2.14 on the same page, 2.3.2.
T----..L-4
Wait at least 3 minutes
after tuming the power
off beJore removing the
top panel. Dont turn the
power on until the top
panel has been istalled.
Other methods of handling
may lead to elecaic shocks.
Fig.5.8 How to removethe batteriesfrom the controller
E
1't
5.3.6Replacingthe fuse
When the conlrollerhas blown its fuse, follow the steps below to replace it.
(1) Turn the power button on the bottomright corner of the controllerOFF
(2) Turn OFF the power sourcethat suppliesthe controller.
(3) Turn the tuse holder,1, on the back of the controller,to the left, and pull out the
fuse holder with the fuse. At this time, confirmthat the luse has been blown.
(4) Removethe cause of the blown tuse.
Example: You supplied200Vtothe controller,
whichis specifiedfor only100V.
(5) Take out the luse from the holder.
(6) Inserta new fuse into the holder.
(7) Replacethe new fuse by followingthe steps in reverseorder in step (3) for the
fuse holder,and screw it in securely.
I
Cautionlf it seems that the tuse will blow again,contactyour nearestservice
center.
tr
\-E!!e
Fig.5.9 Howto replacethe fuse
E lo
parts
5.4 Maintenance
The expendable parts that need to be replaced periodically for this product, are
listed in Table 5.7and Table5.9.Also,we'll showyou spare partsthatyou will probably
eventuallyneed for makingrepairsin Table 5.8 and Table 5.10.When you purchase
parts,buy from recommendedmanufacturers
orlrom Mitsubishi'sservicedepartment.
Note that the parts designatedby Mitsubishidiffer lrom the maker's standard
parts.Alwaysconfirmthe part name,and the robotand controllermanulacturingNos.,
and purchasethe partsfrom the MitsubishiService Cenier.
(1)Robotconsumableparts
Table5.7Robot consumablepart list
t""T
2
ffi
Partname
Grease
Supplier
(Manutacturer)
Modeltype
GeargreaseSK-lA
JapanHarmonic
batteries
Locationof use
Gearreduclionunits
Quantity
slighlly
E2M.the shoulder
For the RV-E3J/RVE3JM.the shoulder
(2) Robotspare parts
Table5.8Robol spare parts list
N u m Partname
ber
1 AC servo
motor
2 AC servo
motor
3
4
5
Model type (Note)
Jointreduction
gear
Jointreduction
Supplier
Locationof use
(Manutactured
MilsubishiElectric Waist,shoulder,
elbow
Milsubishi
Electric For the RV-E2/RVE2M,the lwist,pitch,
and roll
For the RV-E3J/RVE3JM.the pitchand
roll
Mitsubishi
Electric Waist,shoutder
Mitsubishi
Electric
Elbow
Joint reduclion
9ear
Mitsubishi
Electric
Joinl reduction
Mitsubishi
Electric
Forthe RV-E2/RVE2M,the twist,and
oitch
For the RV-E3J/RVE3JM,lhe pitch
Wristroll
Quantity
-,
| .
2
Note : Confirmthe robotmanulacturing
No.,and contactthe MitsubishiServiceCenter.
(3) Controllerconsumableparts
Table5.9ControllerconsumableDartlist
N u m Part name
ber
1 Lithium
batteries
Supplier
(Manufacturer)
Model type (Note)
MilsubishiElectric
Location of use
Controller,
top ol CPU
caro
Ouantity
I
(4) Controllerspareparts
Table5.10Controllersparepartslist
t'"T
1
Partname
Fuse
Model type (Note)
MF6ONR-8A.05
Supplier
(Manutacturer)
ToyoFuse
Localion ol use
Quantity
Controller,back side,
inside luse holder
5-1q
Chapter6: Appendix.
6.1Commandlist.
Positionmotioncontrolcommands.
Pa9e
RV-E2M
CF aUR/Ll
[,[A/B]
robot at position(a).
R means Right,L means
Len.
A means Above, B
meansBetow.
t,lN/Fnn
RV-E3J/
Chanoes
-at the Doseol the
RV-E3JM robot positibn{a).
yes
cF 4,[R/LI
[,[A/B]n
3
Decrement
position
N means Non tlip, F
meansFlip.
1=a=999
R meansRight,L means
3-5
A means Above,B
means Below.
RV-E2M speciled amount(b).
DJab
RV-E3J/
Movesthe joint (a)by the
RV-E3JM speciled amount(b).
DJ a-b
DP
Movest
positionin number lrom
Joint interpolation.
yes
1SaS5
Jointinterpolation.
yes
0Sa=999
(ln lhe case ot 0, the
robot memorizesthe
data as the user defined
origin.)
dislancelrc|n currenl
6
Here
HE a
7
Home
HO [a]
8
9
Memorizescurent Dosition
as the positionnumber (a).
as the origin.
lncrement
Position
lP
Jo,nt roll
change
JRC
<[+]1/-'l>
conltnuous
ll
RV-E2M
HV-EZM
numberlrom curent
oosition.
Overwritesthe current
positionby adding+/- 360
to the curent joint position
ol the R-axis
MOVeS
IO a pOSrIOnaway
from position(a1)by lhe
distanceol position(a2).
-
method
a=l: Calibration
iig
method
a=2:User delined
originemethod
1
yes
'
-l adds 360
-t subtracts350
yes
r> at,az > 99!
Joint interpolalion.
O meansoDeninoa
hand.C mdansciosinga
nano-
3-42
a
to the position{a2)with
linearinteroolation.
l A 1 - a 2l < 9 9
O heans oDeninqa
hand.C mdansciosinga
hand.
speciliedanqte
Specmed
lrom the
anqlelrom
the
MJ [wltrs],[e]cunentposition.
RV-E3J/
Turnsthe iointbv the
RV-E3JM specifiedangle
specified
specfredinole
angleirom the
currenl position-
yes
Joint interpolation,
3-48
o-l
Positionmotion controlcommands.
Nomenclature
l4
Move posltion
InputFohal
RV-e2/
RV.E2M
Funclion
Program
Page
Moves to the position
(xJ,z,a,b,c).
yes
Joint interpolation.
R means Right,L means
Left.
A means A bove, B
means Below.
N means Non Flip, F
means Flip.
3-50
RV-E3J/
Moves lo the position
RV.E3JM (x,y,z,a,b).
MP [x]{yl,[z],
tal.tbl
LIR/L]
yes
Jdnt inlerpolation.
R means Right, L means
Left.
A means Above, B
means Below.
3-50
yes
0 = b =32767
05 e 5255
0 S l.g,h,i =a7FFF
J =o0oint ) 1(linear) 2(arc)
R:Right,L:Left.
A:Above,B:Below
N: Non Flip
F: Flip.
O:Opening a hand
C :Closing a hand
3-51
MP
[,[A/Bn
15
Move play back RV-Ez/
RV.E2M
Movesto the specilied
posltionwith the speed (d),
timer(e),outputstare (fxg),
input state (hXi),interpolation
mode (i).
0= e 5255
0 = t.g,h,l =&7FFF
J -qiolnt ) 1(linear) 2(arc)
R:Right,L:Lett.
A:Above,B:Below
O:opening a hand
C :Closing a hand
16
Move play back RV-E2/
conlinuous
RV-E2M
MPC [dl
Moves to the specitied
posltion with the specilied
interpolation method.
yes
,txl,tvl,t21
,Ia1{b],Ic]
t,tR/Ll
t,tAlBl
t,tN/FIIII
t{o/cll
positioh with the specilied
RV-E3JM
MPC [d]
interpolation method.
,{x1,[y1,tz1
,tal,tbl
Move R
MR a1.a2,a3 Movesoh the arc that
[{O,/Cn positioh(a1l(a2xa3)
deletminewith circular
a
[,[O/C]l
I ne tooot moves on lne arc
that the previous and the
next MRA deterrnine with
yes
1= a'l,a2,a3=999
O:Opening a hand
C:Closinga hand
yes
a
O :Opening a hand
C:Closing a hand
circularinterpolation.
[,[O,/Cn
with linear interpolation.
to a Position away
lrom position (a) by the
straight
24
A)
Override
yes
t=a=999
Jointinterpolation.
O :Ooeninoa hand
[,[O/Cn ftom position(a) by the
Linear interpolation.
distance (bl in the tool
OVR a
odoin oosition.
Establishes program override.
3-54
a hand
a nano
distance(b)in the tool
userspe
3-53
R : Right, L : Lett.
A: Above, B : Below.
O:Opening a hand
C:Closing a hand
t,lR/Ll
t,[A/Bm
t,to/cll
17
D'qjoint) l(linear) 2(arc)
R:Right,L:Left.
A:Above,B:BelowN: Non Flip
F: Flip.
O:Opening a hand
C :Closing a hand
a nano
a hand
yes
yes
1=
a =200
3-72
Positionmotioncontrolcommands.
Input Forrnat
25
Pllet Assign
PA ij,k
Function
Program
Delines lhe number of grid
points U,k) in the column and
XoG
age
1si59
1si,ks32767
row directlontor
15a'|.a2=999
Positiondetine RV-E2/
RV-E2M
PD
(xJ,z,a,b,c)to
position(a).
RV.E3J,/
Substitutes(xy,z,a,b)to
RV-E3JM position(a).
2A
Position loading PL a1,a2
15 a S
R:Right, L:Lett
A:Above, B:Below
N:Nonflip, F:Flip
O:open a hand
C:closing a hand
yes
Substitulescoordinates
(a2)to
15 a 5 999
R:Right, L:Left
A:Above, B:Below
Orhand open,
C:hand close
1=
3-75
a1,a2 5
value ol
29
Pallet
30
Pulsewait
PW a
Waits lor all axes being
oositioned within the
Position
exchange
PXa1,a2
Exchanqes the coordinate
ol position(a'l)tor those ol
the coordi-nates
ol a grid point on pallet (a)
and identifiesthe
coordinates as position (a).
yes
36
Timer
37
Tool
TL [a]
05 c,b = 2000
e = 0 (disable),
over 1(enable).
Shiftsthe coordinales ol
positloh (al ) by lhe
coordinates of Oos
Detines speed (a),
acceleralion and deceleration, CNT setting (b).
Halts rnotion lor time (a).
(Unit :0.1secpnd)
Establishes distance (a)
between hand flange
surtace and hand lip.
3-85
('}.r>a>5!
1= b s 300
order deley tirne c.onst (b),
accele.alion ti.ne (c),
decele.ation tlme (d) and
CNT sening (e) in linear
inleagolalion and circular
inle.oolation.
SF a1,a2
1= a = 10000
yes
aS30
H:Ouick motion,
L:Smooth motion.
B - 0 (disable),
over 1(enable).
0= a = 32767
3-104
yes
Unit :mm.
3-j 05
Programcontrolcommands.
I'la
Nomenclature Inout Format
Function
Program
Note
38
CounterLoad
CL a
Loads internalregister
value/strings
to the
specifiedcounter.
yes
1=a=99
$1S a = $99
39
Compare
counter
CPa
Loadsvalue/strings
in
counter(a)to the internal
regrster.
yes
1=a=99
91< a < $99
40
DisableAct
DAa
Disablesinterrupt by the
bit (a)ol externalinpul
terminal.
0=
41
Decrement
Count
DCa
Decrementscounter(a)by
1.
'l
a = 32767
=a=99
Page
3-6
3-1 1
3-12
6-3
Prooramcontrolcommands.
fb
Nomenclature Inpul Format
42 DeleteLine
Function
Page
Program
DL [a1[Ia2] Delelesprogramlines
llbftlb2m trom(a1)to (a2),or steps
lrom(bl ) to (b2).
yes
43
Enable Act
EA[+/-l a,b Enablesintenuptby the
bit(a)ofenernalinput
[,tcn lerminal,
specitiesline
number(b)to whichthe
programiumpswhen
InterruDt
occurs.and
specitiesjumpingmode.
44
End
EL'
Ends the program.
yes
45
ll Equal
EQ a(or &b)
,c
Causes a iump to line
number (c) it internal
reoister value/slrinos
eq'lals (a)(or &b).
yes
bl
a1 =a2
<b2
1 = a1,a2,b1,b2 =
9999
3-14
0< a < 32767
+: Bit on,-: Bit olf
l<rr<OOOO
c=0 or 'l
0: Jump,1:Callsubroutine
3-19
-3276A= e =32767
&8000 5 b =&7fff
$1= a = $99
3-22
l<^<CKIOO
46
Go Sub
GS ta[,tb]l
Call subroutinewhich
slarts lrom line number (a)
ot program (b)
yes
'1
=a=9999
47
Go To
GTa
Causesa jump to line
number (a).
yes
1=
48
Halt
HLT
Halts the program.
yes
49
Increment
count
lCa
It increments
the counter
(al.
50
ll Larger
LG 4or &b)
,c
Causesa iump to line
number (c )il internal
regisler value/stringsis
greater than (a)(or &b).
yes
51
ll Not Equal
NE a(or &b)
,c
Causes a iump to line
number (c )it internal
reoister value/strinos
do-esnot equal (a)(t &b).
yes
52
New
NW
Deletes all lines and
positionsol the selected
program.
53
Next
NX
Specifies the range ot a
loop in a program
executed by command
yes
54
Repeat Cycle
RC a
Repeats the loop
specilied by command NX
(a)times.
yes
14 a 5-32767
3-88
55 Run
RN[all,a2
t,blll
Executesprogram(b]from
line(a1)to (a2).(a2not
included)
yes
1= a1,a2=9999
3-89
56 Return
Hrtal
Completes subroutine
activated by commandGS
and returns to main
program.
yes
1= a =9999
a is the destination.
3-91
sc a,[b]
Loadsvalue(b)into
counter(a).
1=a
=99
-32768 < b <
32767
3-97
57
Set Counter
a = 9999
3-35
1SaS99
-32768= a =+32767
&8000= b =&7ttf
91< a < S99
1= c = 9999
-32758S a =+32767
&8000= b =&7ftf
$1< a < $99
1= c = 9999
3-51
3-64
o
3-65
&8000=b s &
TFFF
S 1= a 5 $ 9 9
1 =6 = 122
(characternumber)
58
a-a
lf Smaller
SM 4or &b), Causes a jump to line
c
number(c)it the internal
register value is smaller
than(a)(or&b).
c
- 3 2 7 6 8= a = +
&8000 =b = &
TFFF
$1Sa S$99
1= c = 9999
3-102
Hand controlcommands.
nb
Nornenclature
lnput
Format
Function
Prog.am
Page
59
Grip Close
Gctal
Closes
60
Grip Flag
GFA
Oetines lhe open/close
state ol hand grip used in
cotriunc0on wilh comma|)d
a- O: Open
l: Close
61
Grip Open
Golal
Opens hand grip.
a- o:
1st hand.
'l:The
The 2nd hancr.
62
Grip Pressure
GP
a1,a2,a3
Detines motor-oDerated
hand Eripping torce and
gdpping torce retention
O5a1.a2S63
O5a3599
(Unit :O.l second.)
hand grlp.
a - O' l :: T h e 1 s t h a n d The 2nd hancl.
l/O controlcommands.
tb
Nomenclalure
Input
Format
Function
Program
yes
Page
-3276a<a:= +
32767
&4000 s b S&7FFF
A3
AND
AN a(or &b)
ANOS internal register
val!e and sDecitled value
(a) (o. &b).
54
Inplt Direct
lD lal
Gets signai troh external
in0ut withoul condition.
66
Output Bil
OB [+/-l a
Sets lhe output state ol bil
(a) ot extemal output
terminal.
yes
O =a = 32767
+: Bit on, -:Bit oft.
67
Output Counter
OC a [,t:all
t,ta2lll
Outputs the counter value
(a) to exlernal output
terminal unconditionally.
(a1: starting bit, a2: bit
length)
yes
1 Sa =99
o = a 1 = 327€.7
1=a2 = 16
Outputs data (a) to external
olrtPril tenninal
unconditionally.
(a1: staning blt, a2: blt
length)
yes
-3276a8a= +
32767
&4000 5 a 5&7FFF
o =a1 = 32767
I 5a2=
16
68 outputDirect.
69
0R
ftgfirLt.rt
OR a(or &
b)
o 3a
=
327A7
ORs iniernal register value
and specitied value (a) lor &
b).
-3276a=aS +
32767
&ao00 = b <&7FFF
71
Test Bit
TB [+/-] a,b
Causes a jurhp to line
number (b) in accorclance
with the state ol bit (a) of
inteanal register value,
O = a = 15
+: Bit on. -:Bll otl.
1=b59993
72
Test Bit Di.ecl
TBD [+/-l
Causes a jump to line
number (b) in accordance
with the state ot bit {a} of
external input terminal.
O =a S 32767
+: Bit on, -:Bit oft.
15b=9999
73
Exclusive OR
XO a(or &b) EXCLUSTVEORs inrernal
reEister value and
specitied value (axor &b).
-32768=a= +
32767
&a000 = b 5&7FFF
3-71
3-1o2
3-109
RS-232Ccommunication
commands.
ib
Nornenclature
74
Colhter Read
75
Inpul
Format
CR a
Function
Program
Page
Reads out contents of
counter (a)
yes
15a
$1 5
Data Read
Reads out data in external
yes
o S a 532767
3-16
76
Enor Read
Reads oul the eraor status.
'1 S a =
3-24
77
LineRead
LR [a]
Reads out program oh line
nurnber (a).
0=aS9999
79
Paraheter
Read
PMR ["a"]
Reads out the contents of
parameter (a).
yes
80
Position Read
PR [a]
Reads out coordinates of
position (a).
yes
81
Question
Nu lnber
ON [a]
Reads out the selected
program number or the
intormation ol prograrn (a).
599
a 5599
128
3-9
3-45
0Sa5999
a: program name
Intormalion:used step
number, used position
numbet, usecl counter
numoer
3-87
b-5
RS-232Ccommunicationcommands.
Nomenclalute
Inpur
Forrnat
sTR [al
Funcllon
82
Step R€ad
83
Version Read
Reads out the veGion
name ot systeh ROM.
84
Where
Reads out coordinates ot
cu'lent oosltion.
85
What Tool
Reacls out current tool
lenglh.
Progratn
Reacls out the contents of
slep number (a).
Page
05a59999
3-101
3-'106
yes
3-107
3-104
Other commands.
Nomenclature
-lnput
FOrmat
Function
P.ogram
Page
EG
Input
INP a,b.[,
[o!
Reads the value ol counter
(b) or position (b) or
character strings (b) 'lom
channel (a).
oSa=
2
1
5 b = 99
'!5
b = 999
315bSS99
C_O : Counter,
1 : Position,
2 : Characler
87
Nurnber
N
Selects program (a)
"a" is a program
name.
88
Open
OPN a,b
Opens l/O (b) lor channel
(a).
oSaS
2
b :1 : Standard RS232C
2 : Standard RS-422
3-70
89
Parameter
Substltutes (b) lor the
crntents ol parameter (a).
3-79
90
Print
PRN a,b or
Sends oul the contenls ol
counier (a) or position (b) or
characler siring 1c)lrom a
personal compuler In
cohjunction with commnand
INP
'a" is a paaameter
hame.
'b- is a setting data'a- is counter value
-3276a = a =+
32767
& 8 0 O OS a = &
'b" is coorclinates
value
RV.E2lRV-E2M:
(x, Y, z, A, B,C,R/L,
A/B,N/F,O/C)
RV.E3J/RV.E3JM:
(x,Y,z3,B,R/L.A/8,
o/c)
-c- is character
srrnos
1 =a ='122
(character number)
91
Reset
Rs tal
Resets an alarm and
program line numbea.
94
Commenl
Allows programmer to'. wlite
a comment tollowing
(less than 120 characte.s)
yes
3-39
a -0:(Alarm resel)
1: (Resets all counter
data)
2: (Resets battery
timer)
3: (lnitializes all liles)
4: (Resets the origin
setting.)
3-1'tO
6.2 Parameter
list.
Parameterlist.
Parameter Pararnelername Anay numbet
Contents
Dslaultvalue
Tool
XTL
coordinales
6 real number
Sets initialvalue ot tool coodinate 0,0 , 0-0 , 123.0,
system(X,Y, Z, A, B, C). OnlyZ
0.0,0.0,0.0
coordkrate ir changeable lo. RVE3J,/RV-R3JM. Unit mm. mh.
mrn,deg, deg, deg.
Base
XBS
cooadinales
6 real number
Sets inlllalvalu€ ol base
0.0,0.0,0.0 ,
coordinatesystem(X,Y, Z, A, B,
0.0 , 0-0 , 0.0
C). Only X, Y, Z aoordinatesare
changeablelor RV-E3J/RV-R3JM.
Unit mm, mm, mm, d€9, deg, deg
Perpendicular area
lirnit
PAR
6 real nuhber
Sets overrunlimits ol XYZ
coordinate system lor minus and
phs dirction{-X, +X, -Y, +Y, -2, +
unit mm
A.
Joint area
limit
JAR
User.
UAR
detinedarea
Autornatic
program
eleclrtion
6 real number
ATP
Continue
Function
ON/OFFol
brzzer
Automatic
operation
'12realnumber S€tsovenunlimitsol €achjoint.
cooralinate
systemlor minusand
ptusdirction(Jl, +Jl, J2, +J2,+J3,
J3,
-r4, +J4,J5, +J5,J6, +
J6). Unit Deg,
BZR
1 integer
Sets whether the robot continues
to run lrom the lasl erecution
environhent when oowered on.
(Execution step, Program inner
variable,l/O status,etc.)
0: Disable 1: Enable
1 integer
Sets ON/OFF ol buzzersound.
0 : O F F 1 :O N
S€ts initial level ol autoriatic
operation speed .
'| anteger
External
ovenide
2 real number
Jog speed
control
3 real number
JGP
Continuous CNT
3 realnumber
'I integer
riol|on
conlrol
Accel. and
oecel.
peraod
Delay tirne
conslanl
ADL
Detinesthe area where the rcbol
outputsa signal.
GX,+X, -Y, +Y, -2, +
Sets paogramnarne to be
ereculed autornatically when
powered gn.
Remarks
-10000.0,
[email protected],
-10000.0
, 10000.0,
-10000.0
,10000.0,
Note1
- 1 6 0 . 01, 6 0 . 0 ,
{5.0 , 135.0,
0 . 0 ,1 3 5 . 0 ,
-160.0,160.0,
- 1 2 0 - 01,2 0 . 0 ,
-200.0, 200.0
-150.0,160.0,
-.1s.0,'t35.0,
0.0,135.0,
-160.0,
150.0,
-120.0,120.0,
-200.0,200.0
RV-E2/
RV.E2M
RV-E3J/
RV-E3JM
1 . 0 , 0 . 0, 1 . 0 ,
0.0,1.0,0.0
- -( No setting).
't00.0,100.0
Sels initial ovenide ot autoinatic
operalbn.
(Erternaloveraide,Program
override) Unlt %.
Sets jog ahd step operationspeed
1, 1 . 0 , 1 3 . 0
lor ioint interpolationmode.
(lnching,low sp6ed, high speed)
Unit deg, %, %.
Setsi)g and step operationspeed 0.'1,1.5,100.0
lor linear and circular interDolation
tnode.
(lnchlng,low speed, high speed)
Unit:mln, rnm/s. fnm/s
S€ts whether robot accelerates
0
and decelerates at taughtposition
when moving.
0: Disable
1:Enable
2 real number
Sels acceleation and
decelerationperiods lor reaching
to maximumsoeed.
Unit second
1 real number
SetsfiEt-order delay time
constant. Unit: millisecond.
02 ,0.2
6-7
Palameter
Pulse width
Param€ter runie
PWI
Atay number
1 real number
Contents
Sets accoracyol positioning.Unit:
Detaolt value
Remarks
1q)Cl0
DUtSe.
Grio control
GcD
1 ant69er
Sets fie initralstate ot hand
0 . 1 .0 .1
opetatbn at pol rer oi. Cme lst
hand nodnal / reverse- the 1st
hand hitial condition, the 2nd hand
noarnal/ reveFe,lhe 2nd hand
Inltiialcondnion)
Nodnal / rgverses: 0 means
nodial. 1 means reveGe lnitial
state:G3.
See
commands.
Sets enable/ dlsalle ol o.igin poant o
setting.
0: Diseble 1: €nable
(Robolcan not erecrte p.ograh
u/henset lo 1).
-160.0. -45.0, 50.0. RV-E2I
Sets user-definedo.igin point.
(W, S, E, T, P, R)
Unlt: -160.0.-120.0. -200.0
RV-E2M
oegree
-160.0. -45.O, O.0. RV-E3J/
o.o, -120.0, -200.0
RV-E3JM
The o.igin
Point setting
pelmFs|on
HOE
1 inieger
The userclelined
origin point
UOG
6 real number
Joint order ot UNG
retuming to
origin point
wrht angte RCD
coordinate
s9lection
6 rcaf nuftber
Sels rointmotion older to retwn to
the origanpolnt.
1 integer
selecls wrist angle coordinate
system lor control and display.
O:General
angle (Maintains
posture),'1: Joint angle (varies
Stop input
type
selection
INB
1 integer
Parallel l/O
inputsening lN1
20stings
2.1 ,'l ,1 ,2 ,2
Note 3
RV-E3J/
RV-E3JM
DOStUte)
Pafallel l/O
outpul
sening
lN2
strings
lN3
strings
oT1
l6ltinEs
of2
16 stings
16 sbings
Setsslop input to. A q.'pecontact O
or B lype contact.
0: A type (No.mallyopen),1: B type
(Normallyclosed)
S€tslunctionlor inDu.tboard.
Setsfunctlonlor tirstl/O nterlace Pto,,,, p11.,,,
DOafo,
20
,STA.STP, RST
S€ts fun3tlonlir seicn! i.'O
20 int€rlace board.
Sets functbn lor thiad l/O interlace
board.
Sets function lor outDut boardS€ls function lor lirsl l/O interlace
board.
S€ts lrrlction lor second l/O
hterlace board.
Sets lunction tor lhird l/O inlerlace
,,,,
, hL,ruivi'ir,'efih
DOaJO.
Prcgrarn
start mooe
1 integer
Z phase
AOJZ
ollset rewrite
pelmrssion
1 integer
Z phase
otlset
6 inlegers
Memorizesthe otlset pulses ol the o, O,0, 0, 0, 0
origin posllioolloln the encoder Z
phase.Setting 0 hltializ€s lhe
7 i egers
sets communication
lno<t€ot
2,a,E,2,o,M
RS232Cinterlace. Baud rate (1:
19200,2:9600,3:4600,4:2400.
5:12OO,6:600),
Data bltrr. a), Panty
bit (E:ev6n,O:odd, N:none),Stop
bit ( 1,2), End code (o:auto,1:CR+
LF, 2:CR),Com.way(M: noprDlocol)
Comhunicalon mocle
N o t e1 )
Note 2)
Note 3)
Note 4)
CMO
$ts srhelher lhe exlemal prograh
nomber is read inlo the robot at
$anuD.
O:No (P.ezentprografi), 'l:Y6s
(ApPointod proE am)
Sets enable / disable ol Z phase
ollset rewrite. 0: Disable.1:
Enable
O
Delault setting does not exceed the limit.
Defaultsetting is out of the setting area.
It becomes elfective just after setting.
When set to "0:auto", the robot sendsthe same code as the receivingcode
from the exlernalequipment. flhe defaultsettingis "CR".)
6.3Sampleprogram t1l Teachingplaybacksystem
This sectionexplainsthe teachingmethod by illustratingan example of what kind
of jobs the robot could do with the teachingplaybacksystem.We recommendyou to
draw up programmingsheetsas describedlater in order to make your programclear
and understandable.
Table 6.1 Programmingstep
No
ltem
Operationdescription
1 Workplan
(1)Definethe totalworkand describethe "WORKNAME"
(2)lt thereis conditional
branching,dividethe abovework into
Thenmakeentryof programnumberand
severalprograms.
programname.
(3)Furthermore,
dividethe aboveprogramintoseriesof
independent
operation.Thenmakeentryof eachoperationand its
work positions.
(4)Checkthe abovesequenceagain.
2 Cording
(1)Describeconditiondatacorresponding
to eachstep.
(lnterpolation
mode,speed,timer,signaloutput,signalinput)
(2)Makeentryof temporarynumberof step.
3 Teaching
Check
Modify
See "2. Operation"
of this manualand "User'sManual"and
completethe programgradually.
Thencheckand modifythe
programil necessary.
6.3.1Pick & place operation
(1) Work description
The robot picks up a workpiece on a conveyorwith a hand.Then the robot places it
on a turn table.
(2)Signall/o
t/o
Input
Outout
Bit
Description
Conveyerin position.
Bit l
Turn table in position.
Bit 3
Drives the conveyorto supply the next
workpiece.
Bit 1
Drives the turn table.
Bit 3
(3) Schematicdiagram
Figure 6.1 shows descriptionof operation.
Start point
Note3)
Step 9
\
Ste p1
100mm
/second
Step 4
60mm
/second
Workl
' S t e p3
o*1(
Conveyor
100o/o
50% Step 5
30mm
Step 8
100mm
/second
G{"C
Turn table
Note 1) Step 3 is the conditionsteo whichtollowssteo 2.
Note 2) Steb 7 is the conditionsteb
whichfollowssteb 6.
'start
point at f irst cycle.
Note 3) Thd robot moveslrom the
Fig.6.1 Pick & place operation.
(4) Procedure
(1) The robot waits for a workpieceto iinish positioningon a conveyer.
(2) The robot grabs the workpieceand waits for the turn table to finish positioning.
(3) The robotreleasesthe workpiece.
{5) Operationflow
Figure 6.2 showsthe tlow of operation.
----- Opens hand
----- Joint interpolation,10 %
Movesto steo 1
----- Waitsfor conditionin steo 1
Waitsfor ON of input bit 1
Linear interpolation,100mm/s
0.5 second timer after moving
Movesto step2
Grasp workpiece
----- Opens hand in step 2
0.3 second timer after movingto step 3
Movesto steo 4
----- Linear interpolation,60mm/s
After moving,turns on the bit 1 for
conveyor starting
Moves to steD 5
----- Joint interpolation,50 7o
After moving,turns ofi the bit 1
table in positi
----- Waitsfor conditionin steo 5
Waitsfor ON ot input bit 3
----- Linear interpolation,30mm/s
0.5secondtimer aftermovino
Moves to steo 6
Releasesworkpiece ----- Opens hand in step 6
0.4secondtimer in steo 7
----- Linear interpolation,100mm/s
Atter moving,turns on the bil 3 ior
turn table starting
Moves to steo 8
Moves to steo 9
----- Joint interpolation,100 %
After moving,turns off the bit 3
One cycle completed
Fig. 6.2 Flowchart
6-1 1
(6) Programmingsheet
Work name :
Program name:
Pick and place
Pick and place.
Step
Operationposilion
number (Operationdescription)
Interpo- Speed
lalion
Wailing pointaboveconveyer
(Robotwaitsfor a workpiece
coming.)
Waitingpointaboveconveyer
(Robotwaitstor a workpiece
coming.)
The sameposilion:Conditionstep
(Robotwails tor the handclosed-)
The positionaboveconveyer
(Robotpicks up the workpiece.)
The positionaboveturn table
(Robotwaitsfor the turn lable in
position.)
10%
Prooramnumber:2
Hand
lmer
Signal
Open/ oulput
Close
Open
Linear 100 /s
0.3sec
60m/s
0
Close
Close
Joint
bit 1
ON
bit 1
OFF
bil3
WaitON
Open
The same position: Condition step
(Robot waits lor ihe hand opened.)
The Dosition above convever
bit 1
Wait ON
0.5sec
The positionon the turn table
(Robotmovesdownand releases
the workoiece.l
The posilionaboveturn table
(Robotmovesup.)
Signal
input
0.4sec
Open
0
Open
0
Open
Linear 100mr/s
Joint
100%
bil 3
ON
bit 3
6.3.2 Handling operation (The robot sortsout delective resistorsfrom non-defective
ones.)
(1) Work description
The robot inspectsresistorssuppliedlrom a conveyerwith inspectionapparatus.
After inspection,the robot puts non-defectiveregistorson anotherconveyerand
throws detective ones into a box.
(2) Signall/O
t/o
lnput
Output
A-'1,
Description
Bit
Completionsignal of resistorfeeding
Bit 0
Completionsignal of inspection
Bit 1
OK signal from inspectionapparatus
Bit 2
NG signal from inspectionapparatus
Bit 3
Non-delectiveresistorfeeding out signal
Bit 0
Triggersignalfor inspection
Bit 1
(3) Schematicdiagram
Figure 6.3 showsthe schematicdiagramof this work.
Resistor
Box for defective resistor
Feed c-onveyor
Inspectionapparatus
Conveyorfor non-defectiveresistor
Fig. 6.3 Sortingout registors
(4) Procedure
1) The robotwaits for a registorto be fed above a conveyer.
2) The robot carries the fed registorto an inspection apparatusand activares
inspection.
3) The robotwaits for insoectionto linish.
4) It the registoris non-de{eclive,the robot puts it on a conveyerand outputsfeeding
out signalfor 0.5 second.lf it is defective,the robot throws it into a box.
(5) Operationf low
1) Simoleteachingplavbackmethod
In the caseof teachingplaybackmethod,
there is no conditionalbranchingfunction
accordingto input signal.Therefore,an
externalPLC shouldstartthe program1,
then selectthe program2 or 3 according
to OK/NG signal ot the inspectioi
apparatus.
Start
Program1
Nondetecti\
-ffi""*--> {
refective
XLecljyez
Program 2
Program3
End
End
Program1
Carriesa resistorfrom feedino
locationto inspectionapparatis.
Program2
Picks up the resistorfrom inspection
apparatusand puts it on the feeding
out conveyor.
Program3
Picksup the resistorfrom inspection
apparatusand throws it into to a box.
----
Opens hand
Closeshand
Joint interpolation, '100%
Joint inlerpolation,100%
Linear interpolation,
50mm/s
0.5 second timer atler
movrng
LinearinterDolation.
50mm/s
0.3secondtimer
Closeshand in step 2
0-5 second timer iri step 3
Linear interDolation.
50mm,/s
------ Joint interpolation, |00 %
----
ODenshand in steo 2
0.5 second timer
Linear interDolation.
50mm./s
Binarydigit 0 ON
0.5 second timer
Linear interpolation,
50mm/s
Bit 1 ON afier movino
Wait tor ON ol inout 6it 1
Opens hand
Linear interDolation.
50mm/s
Bit 1 OFF
Joint interpolation. 100 %
0.3 secondtimer
Fig. 6.4 Flowchart
2) Combinationof commandmethodand teachinoplaybackmethod
The combinationof commandmethodand teaching playback method enables
conditionalselectionot programswithoutPLC. In ihis case, the robot requires OK/
NG signalfrom inspectionapparatusto sort out registors.
<Program10r (An example of commandprogram)
10 'MAIN PROGRAM.........
Meansthe mainprogramthat conirolsthe totalflow.
20 GS , 1
.........
Callsthe teachingplaybackprogram1.
(Settingof resistor).
30 tD
Inputssignallrom the inspectionapparatus.
40 TB +2,100
lf it is OK,jumpsto the line 100.
50 TB +3,200
ll it is NG,jumpsto the line 200.
a
n
60 GT
Otherwise,jumpsto the line 30.
1OO
GS
Calls the teaching playbackprogram 2.
(Feedingout non-defectiveresistors)
1 1 0E D
END of program.
2OOGS
Callsthe teachingplaybackprogram3.
(Throwingthe defective registor)
2 1 0E D
END of program.
Note : The tirst parameterof GS commandshouldbe vacantin this examole.
C 1A
(6) Programseat.
name :
Programname: Settingol resistor
Programnumber:'l
Step Work posiiion(Workdescription) lnterpolat Speed Timer Hand
numb€r
ton
Open/
Close
position
The
above conveyor
Joint
1000/6
Open
(Robotwaitslor the resistorto
come.)
Resistorchuckingposition
Linear 50Br!/s 0.3 sec
movesdownand graspslhe
resistor.)
The same position:Conditionstep
0.5sec
Close
(Robotwaitsfor the handclosed.)
The positionabove conveyor
Close
(Robotpicks up the resislor.)
The position above inspection
Joint
0
Close
Signal
output
Signal
inpul
bit 0
Wait ON
apparatus
Teslingposition(Robotturnson
the lriggersignalandwaitslill
finishing.)
Linear
The position above inspection
apparalus(Robotlums off the
signal.)
Linear
Work name:Testot resistor
Programname:Feeding
outol OK resastor
Slep Work position(Workdescription)
number
The positionaboveteedingout
conveyor
Feedingout position(Robotmoves
downandreleasesthe resistor.l
0.5sec
Close
Joint
Programnumber:2
Timer Hand Signal
Open/ output
Close
100%
Close
Linear 50|| /s
0.3sec
Open
0.5sec
Open
Linear
The sameposition:Conditionstep
(Robotturnsoll the feedingout
signal.)
0.5sec
bit 1
wait oN
bil'1
OFF
Interp Speed
olation
The same position:Conditionstep
(Robot waits lor the hand opened.)
The position above leeding oul
conveyor (Robot turns on the feed
out signal.)
Close bit 1 ON
Open
bir 0 0N
Close
bit 0
Signal
input
Workname:Test
ot resistor
ramnumber2
nlerpola
tion
Throwingposition(Robotmoves
Joinl
Open/
Close
g nal
oulput
input
100%
down and releaseslhe resistor
6-15
6.3.3Assemblyoperation
(1) Work description
The robot picks up a relay from the relay feeder and fixes it onto the printed wiring
board on a conveyer.
{2) Signall/O.
t/o
Input
Output
Description
Relaysupplycompletion
Printedwiringboardin position
Relayassemblycompletion
Bit
Bit 0
Bit 1
Bit 1
(3) Schematicdiagram
Figure 6.5 showsgeneral descriptionol operation.
Fig. 6.5 Fixinga relayontoa printedwiringboard
(4) Procedure
1) The robot waits for a relay to come {rom a relay feeder.
2) The robot grasps the relay and waits for a printed wiring board to come above a
conveyor.
3) The robot fixes the relay onlo the printed wiring board.
4) The robot turns on the completionsignalfor 0.5 second.
(5) Operationflow
Figure 6.6 showsthe flow of operation.
----- Opens hand
Movesto step 1
Relayfed?
----- Joint interpolation,100 %
----- Waits tor conditionin step 1
Waits for ON of input bit 0
Movesto sieD 2
----- Linear interpolation,30mm/s
0.3 second timer after moving
Graspsthe relay
----- Closes hand in step 2
0.5secondtimer in step 3
Movesto steo 4
----- Linear interpolation,30mm/s
Moves to slep 5
----- Joint interpolation,100 %
----- Waits for conditionin siep 5
Waits for ON of input bit 0
Moves to step 6
Releasesthe relay
----- Linear interpolation,30mm/s
0.3 secondtimer after moving
----- Open hands in step 5
0.5 second timer in step 7
Moves to step 8
----- Linear interpolation,30mm/s
Turnson bit 1.
Moves to step I
---- 0.5secondtimer in sten 9
Turns off bit 1.
(Repeat)
Fig.6.6 Flowchart.
(6) Programmingseat.
name:Assembly
Programname:Assembly
ol relay
Slep Workposition(Workdescription)
number
Programnumber:1
Interpola Speed Timer
tion
Relaychuckingposition(Robol
Joint
movesdown and graspsthe relay.)
Relaychuckingposition(Robot
Linear
movesdown and graspsthe relay.)
The sameposition:
Conditionslep
(Robotwaitslor the hand closed.)
The positionaboverelaysupply
device(Robotpicks up the relay.)
The positionaboveprinted board
(Robotwaitslor the printed board
in position.)
Relayassemblingposilion(Robot
movesdownand releasesthe
relay.)
The same position(Robotwaitsfor
the handopened.)
Linear
The posilionaboveprinted board
(Robotlums on the relayassembly
completion
signal.)
The sameposition:Conditionstep
(Robotturnsofl the relay assembly
signal.)
completion
100%
30rn/s
Hand
Open/
Close
Signal
output
Open
bir 0
WailON
Close
bit 1
Wait ON
0.3sec
0.5sec
-
0.3sec
Open
0.5sec
Open
0.5sec
Open
bit 1 ON
Open
bit 1
6.3.4Sealingoperation
(1) Work description
The roboJdispensesseal on a workpiece fed from conveyor.
(2) Signall/O.
t/o
Input
Output
Description
Conveyorin position
Startsconveyor(Requestfor nextworkpiece)
Seal ON/OFF
Signal
input
Bit
Bir 3
Bit 3
Bit 4
(3) Schematicdiagram
Figure5.7 shows general descriptionof operation.
Step 1
Originsettingposition Noti
2 s t e p1 3 , 1 4
2oo/o
50Yo
Step
Step 4
W:$
Step 7
Step I
Conveyor
Fig.6.7 Sealingoperation
(4) Parametercontrolsel
As sealingoperationneeds continuousmotionwithoutaccelerationnor deceleration,set the parameterot continuouscontrol (CNT) to 1 to make the robot move
continuously.
Reler "1.3:Parametersetting"of this manualto set the parameter.
b- tv
(5) Operationllow
Figure 6.8 showsthe flow of operation.
Movesto step 1
.......Jointinterpolation,
20 %
........
Waitsfor conditionin step 1
........
Waitsfor ON oJinoutbit 3
.......Jointinterpolation,
50 %
........
0.3 secondtimer afier movino
........
Startssealing (Bit4 ON)
Continuoussealingwork .......All linearinteroolation
.......Fromstep 2 to 5
lrom step 2 to step 12. ........
Fromslep 5 to 9
........
Fromstep 9 to 12
........
Finishessealing (Bit4 OFF)
.......Jointinterpolation,
30 %
Movesto steo 13
One cycle completed .......0.5 secondtimer in steo 14
........Bit 3 off to start conveyor
Fig.6.8 Flowchart.
Atn
(6) Programmingseat.
Work name : Sealing
Programname : Sealing
Step
Work position(Work
number description)
Waitingpositionabove
conveyor
Sealingstartpositionon
workoiece
10
11
ta
14
Sealing positionon
workpiece
Sealing positionon
workoiece
Sealing positionon
workDiece
Sealing positionon
workoiece
Sealing positionon
workpiece
Sealing positionon
workoiece
Sealing positionon
workoiece
Sealing positionon
workoiece
Sealingpositionon
workpiece
Sealing end positionon
workpiece
Waiting positionabove
conveyor
The same position:
Conditionstep
Programnumber:1
InterpolSpeed Timer Hand Signal Signal
ation
Open/ output input
Close
Joint
20%
Joint
50% 0.3 sec
bit 4
ON
Linear 30nm/s
Linear 30mm/s
Linear 3onm/s
Linear 35mm/s
Linear 35mm/s
Linear 35mm/s
Linear 35nm/s
Linear 25nm/s
Linear 25mm/s
Linear 2smm/s
Joint
30%
0.5sec
bit 4
OFF
bit 3
ON
bit 3
OFF
0-z
I
6.4 Sample program (21 Movemastsrcommand
method
This section explainshow to make a programwith Movemaslercommand method.
Table 6.2 showseffective programmingprocedure.
Table 6.2 programmingprocedure
No
ltem
Operationdescription
1 Workplan
OAssumemainflowof work.
@Detinethe work of the robot.
2 Drawingof flowchart
ODiviOethe wholeworkintoseparatejobs.
(?lf thereare conditional
branchings
in the work,dividethe
programs
into
different
divide
work
or
one programinto
differentblocks.
Oeppointpositionnumberat eachwork position.
(!Assigninput/outputsignals.
@Basedonthe abovepiocedure,drawflowchart.
3 Programming
Basedon the aboveflowchart,makethe program.
6.4.1Pick and place operation
(1) Work description
The robot transfersa workpiece from one place to anotherplace.
(2) Defined position
PositionNo.
PositiondescriDtion
Position1
Pickingposition
Position2
Placingposition
Position10
Movementdistanceaboveoosition1
Position20
Movementdistanceaboveposition2
Teaching way
By actualteaching
By numericalvaluesetting
(3) Operationf low
Figure 6.9 showsthe flow of operation
Initialspeed setting
Movesabove oosition2
One cycle completed
(Repeatedly)
Fig. 6.9 Flowchart.
(4) Schematicdiagram
Figure6.10showsgeneraldescription
of operation.
Settinoto \
Positio'n10 /
Fig.5.10Pick and placeoperation
b- 2.1
(5) Exampleprogram
10 PD 10,0,0,20,0,0,0Defines the aerial distanceof travel trom position1 (Z=20
llml .
20 PD 20,0,0,30,0,0,0Deflnesthe aerial distanceof travel from position2 (Z=30
].lm, .
30 SP 17
Setsthe initialspeed.
40 MA 1,10,O
Opens hand and moves 20 mm above the position1.
50 MO 1,O
Movesto the position1.
60 GC
Closes hand and graspsthe workpiece.
70 MA 1,10,C
Moves 10 mm above the position1 with hand closed.
80 MA 2,20,C
Moves 30 mm above the position2 with hand closed.
90 MO 2, C
Putsthe workpiece.
100 GO
Opens handand releasesthe workpiece.
110 MA 2,20,0
Moves30 mm abovethe position2 with handopened.
120 GT 40
Repeatsthis program. ( Jumpsto the line 40.)
6.4.2Applicationof interruptmotion
(1) Work description
The robot graspsthe workpiecesthat have differentheight using a limit switch tixed
insidethe hand.The robotgets a signalof the limitswilchthroughhandcheck l/O.
(2) Defined position
PositionNo.
Position1
Positiondescription
Positionabovework
Teaching way
By actualteaching
(3) Signall/O
t/o
Oescription
Workpresencesignal
lnput
Bit
Bit 900
(4) Exampleprogram
90 SP
100 EA
110 MO
120 DS
130 GT
20
+900,140
1,O
0,0,-50
110
140 DA 900
150 GC
160 MO 1, C
i
a_ra
;Setsspeed20.
; Enablesinterruptof bit 900.
; M o v e sa b o v ea w o r k p i e c e .
; Moves50 mm in the -Z direction. (Linearinterpolation)
;Jumps to the line 110to returnto the position1 as no
workpiece has been detected.
;Disablesinterruptof bit 900.
; Closeshandand it graspsthe workpiece.
, Movesto position1 with handclosed.
(5) Explanation.
In this example,the robot moves50 mm in the -Z direction in line 120. lf there is a
workpiece,the limit switch signalis input and the robot stopped - Then, the robot
jumps to line 140, graspsthe workpiece after disabling interruptand moves to
position1. lf there is no workpiece,the robotjumpsfrom line 130to line 110
returningto position1. Thus,the robot repeatsthe same operationagain.
(6) Schematicdiagram.
Figure 6.11 shows brief descriptionof motion.
Limitswitch
Less than 50 mm
Workpiece
Fig. 6.11 interruptmotion
(7) Operationtlow
Figure 6.12showsthe f low of operation.
Initialspeed setting
Interruptenable
Movesto Dosition1
Interrupt?
Disablesinterruot
One cycle completed
Fio. 6.12Flowchart
6-25
6.4.3Applicationof palletizing
(1) Work description
The robot picks up a workpiecefrom a feeding pallet and places it on an inspection
equipment.After inspection,the robot picks up and places it in anotherpallet. This
program assumesthat the shapes ol the two pallets are different.
(2) Defined position
PositionNo.
PositiondescriDtion
Position1
Palette1 settingposition
Position2
Palette2 settingposition
Position10
Palette1 referenceDosition
Position11
position
Palette1 columnterminating
Position12
position
Palette1 rowterminating
position13
Pa.lette
1 cornerpositionoppositeto
reterence
Position20
Palette2 referenceoosition
Position21
Palette2 columnterminatino
oosition
Position22
Palette2 row terminatingposition
Teachingway
Defined by PT command
By actualteaching
position23
L1'""rt:?1""ttt
positionoppositeto
Position30
Testequipmentset position
Position50
Distanceof travelfromDallets
(3) Defined counter.
CounterNo.
Description
Counter11
Counter'l2
Palette1 columncounter
Counter21
Palette2 columncounter
Counter22
Palette2 row counter
Palette1 row counter
(4) Defined inputsignal.
t/o
Input
Description
Test completionsignal
Bit 7
(5) Example program.
(lnitialsetup)
10 PD 50,0,0,20,0,0,0; Delinesthe aerialdistanceol travel (Z=2Omm)as position50.
1 5 TL 145
zv
GP 10,8,10
25 P A 1 , 1 0 , 6
30
PA 2,15,4
AE
sG 11,1
40 s c 1 2 , 1
45 SC 21,1
50 sc 22,1
(Mainroutine)
100 Rc 60
110GS 200
120 GS 300
130 GS 400
140 NX
150 ED
Note1 )
; Setstoollengthat 145mm.
; Sets handopen/closeparameters.
; Delinesthe numberof grid pointsin the columnand row
directions
for pallet1. (ver.10X hor.6)
Delines
the
numberof gridpointsin the columnand row
;
directions
lor pallet2. (ver.15X hor.4)
Initializesthe columncounter1 l ol the pallet 1. (Sets 1 to the
counter.)
Initializesthe row counter12 ol the pallet 1. (Sets 1 to the
counter.)
Initializesthe columncounler11 of the pallet 2. (Sets 1 to the
counter.)
Initializesthe row counter12 ol the pallet 2. (Sets 1 to the
counter.)
Sets the numberol repeat cycles ol a loop up to line 140.
Calls the subroutineol pickingworkpiecesirom the 1st pallet.
Calls the subroutineol settingworkpieceson the inspection
equipment.
Calls the subroutineof placingworkpieceson the 2nd pallet.
Retumsto line 100.
End
The followingprogramshowssubroutinesused in the main program:
(Subroutine: Picking up the workpiecesto be tested)
200 sP 2s
; Sets sDeed.
202 PT 1
Sets the grid point of the pallet 1 to the position1.
204 MA 1,50,O
Movesto a locationaboveposition1.
206 SP I
Sets soeed.
2 0 8 M O 1 ,O
Moves to the position 1.
210 GC
Closeshandand graspsthe workpiece.
212 MA 1,50,C
Moves to a location 20 mm above the position 1 with the
workpiecegrasped.
214 lC 11
Incrementsthe columncounter11 oi the pallet 1 by 1.
216CP 11
Sets the value ol counter'l1 to the internalreoister.
218 EQ 11,230
Jumps to line 230 on completingthe column l-ine. (compares
withvaluell.)
220 RT
Ends the subroutineotherwise.
230 SC 1 1 , 1
lnitializescounter11. (Sets1 to the counter.)
232 lC t z
lncrementsthe row counter12 ol the oallet 2.
234 Rr
Endsthe subroutine.
(Subroutine:Settingup the workpieceson the test equipment)
300 sP 25
; Sets speed.
302 MT 30,-50,
C
; Movesto a location50mmahead ol the test equipment.
304 SP 8
; Sets speed.
306 MO 30,C
Sets lhe workpieceto the inspectionequipment.
308 lD
Inputsexternaldata.
310TB -7,308
Waitsfor the test to comolete.
312 MT 30.-50,
C
Movesto a position50 mm ahead the inspectionequipment.
314 RT
Endsthe subroutine.
(Subroutine: Placingthe lested workpiecein pallet2)
400 sP 25
; Sets speed.
o-zt
402 PI 2
404 MA 2,50,C
; Setsthe grid pointof the pallet2 to the position2.
;The robotmovesto the sky after position2.
406 SP 8
;The robotsets speed.
; The robotmovesto the 2nd position.
;The robotopensthe handand it putsthe work.
; Movesto a location20 mm abovethe oosition2.
the columncounter21 of the pallet2.
; Increments
; Setsthe valueol the counter21to the intemalregister.
; Jumpsto line430on completingthe columnline. (compares
withvalue16.)
420 Rr
Endsthe subroutine
otherwise.
430 SC 21,1
Initializes
counter21. (Sets1 intothe counter.)
432 lC 22
the rowcounter22 of the oallet2.
fncrements
434 RT
Endsthe subroutine.
line10shouldbe"10 PD50,0,0,20,0,0".
Notel) For'RV-E3J/RV-E3JM",the
408 MO 2, C
410 GO
412 MA 2,50,O
414 lC 21
416 CP 21
418 EQ 16,430
(6) Explanation.
1) In this example,the robol incrementsthe column counterof each pallet.The robot
initializesthem to returnto the top of columnwhen it reachesthe end of the column.
And it incrementsthe row counterof each palletto moveto the next column. {From
lhe 214lineto the 232ndlinesand from the 414thline to the 432ndline)
2) The robot waits forthe tesl completionsignal. Fhe 31Othline) .
3) The completionol the entire sequence is determined by the number ol main
programcycles. (Seeline 100)
(7) Schematicdiagram.
Figure 5.13 shows general descriptionol operation.
Position
22
Position
Position30
(10x6)
Position13
(patettez)
Test device
(Patette t )
Position21 Position23
Position12
Fig.6.13 Palletizing
o- z6
(8) Operationflow
Figure 6.14 showsthe flow of operation.
(Subroutine)
(Mainroutine)
Initialsetting
Defines the numberof
1
gl$t:'". forparret
Settinqof
speed .
parameter
point
of
3:il:l?,n"srid
Definesthe row and
columncounterol pallet
Operation1
ng up untested
lncremenlsrow counter
by1
1 0X 6 t i m e s
Initializesrow counter
lncrementscolumn
counterby 1
Fig.6.14 Flowchart(Continue)
(Subroutine)
(Subroutine)
oDeration2
Placingworkpieceto
test device
Movesaboveposition30
;:,[??tn.
sridpointor
Moves above posilion2
Placingworkpiece to
Takes in input data
Tesl comoleted ?
Moves above position2
Incrementsrow counler
nishesro*Initializeesrow counter
Incrementsrow counter
Fig.6.14 Flowchart
6.4.4Exampleof connectionwith externall/O equipment
(1) Work description
The following program causesthe robot to select any of 8 jobs through 8 switches
connectedto the inputfor use as externall/O equipmentand displaythe job curren y
being executed by any of the 8 LEDs connectedto the outputs.
(2) Connection.
Figure6.15showsconnectionexample.
l/O port powersource
(DC1?-24V)
:
o
a
f
Generalpurposeinput0
General purpose input 1
Generalpurposeinput2
Generalpurposeinput3
Generalpurposeinput4
Generalpurposeinput5
Generalpurposeinput5
_Generalpurposeinput7
.....Switch 1
.....Switch 2
.....Switch 3
..-.-Switch 4
.....Switch 5
..--.Switch6
. . . . . S w i t c h7
. . . - . S w i t c h8
J
o
(l
o.
Generalpurposeoutput0
Generalpurposeoutput1
Generalpurposeoutput2
Generalpurposeoutput3
....LED 1
....LED 2
....LED3
. . . . L E D4
Generalpurposeoutput4
Generalpurposeoutput5
Generalpurposeoutput6
Generalpurposeoutput7
. . . . L E D5
. . . . L E D5
!
o
a
....LEU
{
. . . .LEU 5
Fig.6.15 Connection
examplewith externall,/Oequipment.
6-31
(3) Operationf low
Figure 6.16 shows the flow of operation.
(Main routine)
All LEDotf
Operation2
Operation6
Operation7
(Eachoperationroutine)
Execule ooeration1
Execute ooeration8
Fig 6.16 Flowchart
(4) Exampleprogram
(Main routine)
150D0
20 sP 10
25 tD
30 TB +0,100
; All LED turnsoff.
speed.
; Initializes
Inputs
signals.
;
'l
;Jumpsto the line 100when the switch is turnedon.
31 TB
+1,200
;Jumpsto the line 200 when the switch2 is turnedon.
32 TB
+2,300
; Jumps to the line 300 when the switch 3 is turned on.
33 TB
+3,400
; Jumpsto the line 400 when the switch 4 is turned on.
34 TB
+4,500
; Jumps to the line 500 when the switch 5 is turned on.
35 TB
+5,600
; Jumps to the line 600 when the switch 6 is turned on.
36 TB
+6,700
; Jumpsto the line 700 when the switch7 is turnedon.
37 TB
+7,800
38 GT 25
(Job 4)
(Job 5)
(Job 6)
(Job 7)
; Jumpsto the line 800when the switch8 is turnedon.
(Job 8)
;The robotjumps to the line 25 when all switchesare off.
:
199 GT 25
800 0B
+7
805 MO 80
898 0B
-7
899 GT 25
Uob 2)
(Job 3)
(Eachoperationroutine)
100 0B +0
; Turnson the 1st LED.
(Job started)
105 MO 10
; Carriesout the 1st operation.
198 0B -0
(Job | )
; Turnsolf the 1st LED.
(Jobcompleted)
; Jumpsto the line 25.
t_
J'*
; Turnson the 8th LED.
(Job started)
; Carriesout the 8th operation.
; Turnsofl the 8th LED.
(Job completed)
; Jumpsto the line 25.
1stoperation.
-, operation.
1*"
O-JJ
6.5 Alarmlist.
ALARMNO,
ERRORGENRATING
CAUSEANDITS REMEDY
0100-0120
Cause)
Remedy)
Erroroccursin the powersupply
Attertumingott power,turnon the poweragain.
0200-0266
Cause)
Remedy)
Encoderdetectionis laulty.
Afte|tuming ofl power,turn on the power again.
lf the enor stillpersists,resetthe encoderandset originpoint.
Encorderdatarangeover
Encorderdala error
Encorderdatainitializationerror
Encorderdalacomunication
error
Encorderdatamisscountenor
Encorderdalalhermalenor
Encorderdala circuitenor.
The lowestdigit meansioint number.
0200-0206
0210-0216
0220-0226
0230-0236
0240-0246
0250-0256
0260-0266
Note)
0300
Cause)
Remedy)
Batterybackuperroroccursin lhe controller.
Check the connectionoi banerycable to the controller.
lf the enor still persisis,changethe batteryin accordancewith the
changingprocedure.
0311-0316
Cause)
Notel
Batterybackuperroroccursin lhe encoder.The connection
ol
batterycaue is laulty.
Check the connectionof batterycabteto the printedboard.
lf the enor still persisits,changethe battery in accordancewith the
changingprocedure.
The lowestdioit meansioint number.
0400-0450
Cause)
Remedy)
Saved data is invalid.
data.
0500-0566
Cause)
Remedy)
Faultis detectedin the servosystemAttertumingoft power,lurnon the poweragain.
0500-0506
0510-0516
0520-0526
0530-0536
0540-0546
0550-0556
0560-0566
Note)
2-portmemorylails.
Servomemorylails.
Watchdog time out
Amplitier,/encordernolconnected
Gale arrayerror
A/D @nverlerunusual
Overcunent
The lowestdigit meansiointnumber.
Cause)
Remedy)
Cause)
Remedy)
protocolis improper.
Use ol communication
Checkthe protocoland dataot the connectedequipment.
The communication
lineis nol conlirmed.
Check the conneclionol cabtesandthe power on ot the connected
eoutDment.
Cause)
Remedv)
Cause)
Remedv)
Dala receiveerror
Checkthe connection
of cables.
Datesenderror
Checkthe connection
ol cables.
0640
Cause)
Remedy)
The conneclion ol teaching box is nol conlirmed.
Aiter tuming off power, turn on the power again.
0650
Cause)
Remedv)
The communication
channelis notopenedyet.
ODencommunication
linewith"OPN"command.
0700
Cause)
Remedy)
Motor-operaledhand interfaceluse is broken
Checkthe handcablesandreplacethe tuse.
0710
Cause)
Remedy)
Pneumatichand interfaceluse is broken.
Check the hand cables and replace the fuse.
Cause)
Remedy)
Parallell,/O intertaceluse is broken.
Check the l,/O cables and replace the luse.
Remedy)
0600
0610
0620
0630
Clear the
ALARMNO.
1200
'1220
1230
ERRORGENERATING
CAUSEAND ITSREMEDY
Cause)
Remedy)
Emergencystop signalis input.(eriternalswitch)
Inactivatethe emergencystop and teset the error.
Cause
Remedy)
Emergency
stopsignalis input.
panel
Inaclivatethe emergencystop and resetlhe error.
Cause)
Remedy)
Emergencyslop signalis input, (leachingbox)
Inaclivatethe emergencystop and resel the error.
Cause)
Remedy)
The leaching box is connectedwith the EMG. cancel switch ol the
controllerpushed.
Remove the
teachingbox when not used. Releasethe EMG. cancel switch ot lhe
controller when using the teaching box.
Remedy)
Checkwhetherthe load capacityexceedsthe ralingor the robol
motlonis disturbedby obslacle.
Overcunent
Machanically
locked
Overspeed (commandlevel)
Overload
Excessivepositioningerror
Overspeed(teedbacklevel)
The lowestdigitmeansjointnumber-
1400-1406
1410-1416
1420-1426
1430-1436
1440-1446
1450-1456
Note)
'1501-1506
Cause)
Remedy)
Can'tturn on servopower for no Z phasepositionis memorized.
Memorizethe Z phasepositionin accordance
wiih the detectinq
procedurewith the teachingbox.
The lowest digit
meansioinlnumber.
1600
Cause)
Remedy)
1700-1799
Cause)
Remedy)
cause)
Remedy)
Cause)
Remedy)
Cause
Can'1move in XYZmode lor no origin point is set.
Sel the originpointwiththe teachingbox.
Servoparamentererror.
Correclthe Darameter.
1800
2300
2400
Remedy)
2410
2420
2600
2700
2800
Cause)
Remedy)
Cause
Remedy)
Cause)
Remedy)
Cause
Remedy)
Stop signal or stop switch is active.
Reset stoD slate.
Warnimgof batleryovertime.
Replacelhe old batterywith newone quickly.
operationwhilethe programis running
Atterstoppingthe program,try it again.
lmpossibleoperalionwhile the seryo is on
Atter tumning otl the servo,try it again.
operationwhile the servois
Atlertumningon the servo,try il again.
The linenumberassignedfor execuliondoesnotexisl.
Checkthe linenumberin the program,and assignagain.
The positiondataassignedfor execution
not exisl.
Check lhe positiondale in the program,and assignit again.
cause)
Remedy)
Syntaxenor occursin the commandstalement.
Correctthe commandslatement,
andinputit again.
Cause
Parameter
valueol the commandis outot ranae
Correctthe value.
Remedy)
ERRORGENERATING
CAUSEAND ITSREMEDY
A L A R MN O .
2820
Cause)
Remedy)
Parameter
valueof the INPcommandis incorrect.
Correctthe commandstatement,and input it again.
2900
Cause)
Remedy)
Incorreclnumberusedin the command
Correctthe commandstalement,
andinputit again.
3400
Cause)
The depth of loopingin RC and NX command exceeds 9levels.
Remedy)
Set the loopingdepth within 9 levels.
3500
Cause)
Remedy)
The numberof internuDtcommnands
exceedsthe limit.
Checkthe programand deletethe inlerruplcommand.
3600
Cause)
Remedy)
Can'tcalculateconectly.
Check lhe programand correctit.
3700
Cause)
Remedy)
IncorrectmalchingbetweenGS and RT command
Correctthe program.
3710
Cause)
The deoth of GS command exceeds 9 levels.
Remedy)
Setthe depth within 9levels.
Cause)
Assigned pallet is not defined.
Deline the pallet before execution.
Remedy)
3900
Cause)
Remedy)
3910
Cause)
Remedy)
.
Device is not valid yet.
Make lhe device valid.
Upper-rankeddevice ot priorityis alreadyvalid .
Make the upper-rankeddevice invalid.
4501-4506
Cause)
Jointangleexceedslhe limit.
Remedy)
Movethe joinlintothe movablerangewithiointjog mode.lJthe
Nole) erroroccursduringprogramoperation,modiiy the posiiiondata.
The lowestdigitmeansjointnumber.
4511 -4516
Cause)
Remedy)
Orthogonalposilionexceeds the lirnit.
Move the ioint into the movable range with ioint jog mode. lf the
Nole) error occurs during program operation, modify the position data.
The lowest digil means joint number.
4521-4526
Cause)
Userdetinedareaexceedsthe limit.
Remedy)
Movethe iointintothe movablerangewithjointjog mode.Il the
Note) erroroccursduringprogramoperation,moditylhe positiondata.
The lowestdigi'tmeansjointnumber.
4531-4536
Cause)
Robotarmcomesintoconlactwiththe tloor.
Remedy)
Movethe jointintothe movablerangewithjointjog mode.lf the
Note) erroroccursduringprogramoperation,modifylhe positiondala.
The lowestdigilmeansjointnumber.
4541-4546
Cause)
Bobotarm comesinlo contactwith the robotitself.
Remedy)
Niovethe joinlintothe movablerangewithjointiog mode.ll the
Note) erroroccursduringprogramoperation,
moditythe positiondata.
The lowestdigitmeansjointnumber.
ALARM NO,
ERRORGENERATINGCAUSE AND ITS REMEDY
4550
Cause)
Remedy)
jointangleof the arm.
Can'tcalculate
Movethe joint intothe movablerange with joint iog mode.
4560
Cause)
The position where the robot can't reach is taught
Teach the position after moving the robot lo lhe movable range.
Bemedy)
4600
4700
Cause)
The position is out ol range, or the starting position and the
deslination posilion has a difterent structure flag in linear and
Remedy)
circular interpolation.
position data or the structure lla9.
Cause)
Can't calculate the posture of intermediate position between the
startposilionand lhe destinationposition.
Add the position with posture between the siart position and the
Remedy)
Correct the
destination position.
4800-4810
Cause)
Remedy)
Speed is excessive.
Cause)
Remedy)
Numberof program registrationexceeds the limit.
Check the programand delete unnecessaryone.
4910
Cause)
Remedy)
Memoryarea is lull. Commandscannot be enlered.
Check lhe programand delele unnecessaryone.
5600
Cause)
Remedv)
Non-existingprogramis specitied,
Check lhe tite name.
5610
Cause)
Remedy)
Double detinitionof tile name
Check the lile name and delete the excessive one.
Cause)
Write prolected
Remedy)
Specilyanotherfile.
Cause)
Read prolected
Specify another lile.
s620
5630
Remedy)
Reducethe assignedspeed.
5640
Cause)
Remedy)
The tile name is not orooer.
Check il the charactersand lhe expressionin lhe program name are
proper.
5650
Cause)
Programls laulty.
Select the proper program.
Remedy)
5700
5800
5810
Remedy)
Programnol seleted
Speciiythe correct program.
Cause)
The step numberspecilied for renumberingis faulty.
Remedy)
Check the step number.
Cause)
Date assignedlor edition do€s nol exist.
Check the programand operate again.
Cause)
Remedy)
Cause)
Remedy)
Uses special-purposeoutput signallor general-purposeoutput.
Changethe signalassignmentof special-purposeoutput.Or change
lne program.
F.-?7
ERROR
G E N E R A T I NCGA U S EA N DR E M E D Y
ALARM NO.
6800
Cause)
Remedy)
Signalp:rameterassignment
ot Plo-Pt2 is incorrect.
Table4.5in the reterencemanual/4.1.4 givescorrectcommands
and oaramelers.
6900
Cause)
Remedy)
Signalparamelerassignment
of POO-PO2is inconEct
Table 4.6 in lhe reterencemanual/ 4.'1.4gives conect commands
and Darameters.
7900
Cause)
Remedy)
Powervollagein the maincircuit drops.
Checkthatpower voltageis as specified.
8900-8999
Cause)
Remedy)
Faultoccursin the setf-diagnosisof the syslemsoftware.
Afterresettingthe alarm,retrythe operation.
6.6 Troubleshooting.
These tables explain how to shoottroubles.
Trouble shooting.
A trouble
A confirmation
matter
Troubleshooting
Powersource (1)Checkpowerplug.
is notready. (2)Checkfuse.
(1)Connect
it surely.
(2)Change
fuse.Reterencemanual/
5.3.6explainshowto replaceit.
(3)Checkvoltageot power (3)Supply
powersourcewith correct
source.
voltage.
Robotdoesnot (1)Checkcommand.
(2)Checkcable.
work.
(3)Checkemergencystop
switch.
(4)Checkmovable
range.
(S)Check
collision
betweenthe robotarm
and mechanical
stopperor external
machines.
(6)Checkmotorpower
cable.
(7)Checkan elilernalstop/
emergencystop.
(1)Checkcommandnameand format.
(2)Connect
cable surely.
(3)Reset
emergencystopswitch.
A computer
(1)Checkif the Enable/
cannot inDuta
Disableswitchinto
program.
Enable.
(2)Checkcommand
(3)Checkcomputer
connectioncable.
(4)lsprogramstopping?
(l )SetEnable/ Disableswitchto
Disable.
(4)Movethe robotintothe movable
range.
(s)Movethe robotto avoidcollision.
(6)Connect
cabtesurely.
(7)Resetstop/ emergencyswitch.
(2)Checkcommandnameand format.
(3)Connect
cabtesurely.
(4)Push
the reset buttonto reset
program.
Handdosenot (1)Checkparameterof GP (1)Set parameterto a suitablevalue.
work.(Motor command.
2l
(2)Checkgreaseof hand. Chargegreaseto gears. (Contactour
hand)
servicedivision).
Handdosenot (1)Checkairsupply.
(2)ls solenoidvalve
work.
(Pneumatic
compatible?
handl
(1)Supplyair.
(2)Usea compatiblesolenoidvalve.
A trouble
It stopped
during
operation.
A confirmation
matter
(1)Checkcables.
(2)Checkexcessiveload.
(3)Checkvoltageof power
source.
(4)Checkpowerlailureor
powerdrop.
instantaneous
(s)Checkemergencystop
switch.
(6)Checksmellfrom Motors.
(7)Checkabnormalsoundand
excessivevibration.
Positioning
of (1)Check
electricnoise.
accuracyslips (2)Checkinstallation
of the
off repeatedly. robot.
(3)Checktensionof timing
belt.
(4)Checkinstallation
screwsof
hand.
(5)Checkcombination
of the
controllerandthe robot.
(6)Checkcollisionbetween
roboland peripheralduring
operation.
Troubleshooting
(1)Replace
cables.
(2)Reduce
load.
Specification
/5.1.2Ratedload
exp:ainsit.
(3)Uselt in voltagelimit.
(4)Operate
it onceagain.
(S)Reset
the emergencystopswitch
and operateit again.
(6)Thereis possibilityof molorburned
out.Changemotor.
(7)"Abnormal
soundoccurs.",
"Vibrationis large."explainsit.
(1)Reduce
noisesource.
(2)Fasten
installingboltsof the robot
arm.
(3)Adjust
tensionof timingbelt.
Referencemanual/5.3.3Timingbelt.
(4)Fasten
screwssecurely.
(s)Setorigin.
(6)Avoidcollision.
(1)Checkinstallation
boltsof (1)Fasten
screwssecurely.
robotarm.
(2)Checksoundfrom reduction(2)Breakage
of reductiongearsis
gears.(HarmoicDrives)Check expected.Contactour service
vibrationlrom reductiongears. division.
(1)Checkvoltageand polarity (1)Connect
Outputof l/O
the robotwith correct
does notwork. of e)iternalpowersource.
voltagesourceand polarity.
(2)CheckOD and OB
(2)Usecommandscorrectly.
command.
(3)Checktransistordamage
(3)Contact
lrom loadshortcircuit.
ourservicedivision.
Abnormal
sound
develops.
Vibrationis
large.
(1)Contactourservicedivision.
Robotworked (1)Checkalarm.
abnormally. (2)Checkif the robotarm
hangsdownjust afterpoweris
oN.
(3)Checkwhich joint works
abnormallv
a_/n
6.7Structureflag.
6.7.1Whatis a structureflag?.
It is a llag that representspose of robot.The robot decides the pose of the tip with
positiondata of X, Y , Z, A, B, (C) coordinates.But there are complementaryposes
that robotcan take with the same positiondata.The robot identifiesthese poseswith
this llag information.
6.7.2Delinitionof each structuretlao.
(1) RrGHT/LEFT.
RV-E2/RV-E2M
This flag showsthe positionof the wrist pitchjoint center (O) trom the vertical
axis throughthe shoulderjoint.
I
RV-E3J/RV-E3JM
This flag showsthe positionof the tool center (O) from the vertical axis through
the shoulderioint.
F i g . 6 . 1 7R I G H T / L E F T .
6-41
(2) ABOVE/BELOW.
Thisflagshowsthe positionof the wristrolljointcenter [O] fromtheaxisthroughthe
jointandelbowioint.
shoulder
RV-E2,/RV-E2M
BELOW
RV.E3J/RV.E3JM
BELOW
Fig.6.18 ABoVE/BELOW.
(3) NONFLIP/ FLIP (RV-E2/RV-E2M
only.)
This tlag showsthe direction ol the mechanicalinterface from ihe axis throughthe
wrist twist joint and wrist pitch joint.
N O NF I L I P
Mechanicalinterface
F i g . 6 . 1 9N O N F L I P/ F L I P
Index
A
Alarmlist...............
....
the alarm.
Resening
.....6.34
...........................
2-8. 2-25
B
Replacing
the backupbat|ery..........
....................5-14
c
.3-1
Functions
ol the connectors
on the backpanel
M
o
ln.loY- l
P
handinterfac€
.............
Dneumatic
...J-8
S
Sampleprogram.
Settingthedock..........
Settingthe inlerpolation
method
Settingtheorigin
Settingthetimer.
solenoid
valvesel
Speed
Jogspeed...........
Settingthespeed
Start, Restart
Startupandrestarting.............
Screentree....-.--.
Timingchartlor exlemaloperations
Toofing...............
Troubleshooting
Index-2
............2-33
........1-11
........2-36
.....-...1-4
...............................2-18
..............................2-94
2-7,2-23
...............2-20
........+17
........4-ZO
.........S39
coRpoRATroN
A unsuBtsHtELEcrRtc
r€lo orrrct l.rrsulB$ o€r{rr3toc raaiurorrcK roxro I @ raltt J?asta crlu r.llco yoiyo
N GOYA
WOnt9 l.ra. yAOA,rrrlr| n, x|.,lsrl_:u. ru@ya. JAra
M]TSUBISHI
/litsubishi IndustrialRobot
RV-E2I RV.E2M
RV-E3J/ RV-E3JM
II/IOVEMASTERSI,JPER
Reference
Manual
l,Handlingthe robot
l.Handlingtherobot
2.Setlingthe origin
2.Operations
'l.Preliminary
preparations
beloreoperating
2.Basicooerationsol lhe
s),s{€mcomponenls
3.Programming
4.Debuggingprograms
5.Exeqrtion
6.OtherFunclions
3.Commanddescription
l.Ove|'.iewol commands
2.Exolanation
of command
4.Designand Engineering
1.Extemalconn€c{ions
lo conkoll€r
2.Tooling
3.Connec'tions
to a personalcompuler(RS-232C)
S.MainEnanceand inspection
period
l.Maintenance
2.lnsp€clion
items
3.Maintenanc€
andinsoection
Drocedures
parts
4.Maintenance
6.Appendix.
INDEX
MELI=A