RV-E2 RV-E3 Movemaster Super
RV-E2 RV-E3 Movemaster Super
/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{ionslo conkoll€r
2.Tooling
to a personal-
3.Connec'tions
compuler(RS-232C)
S.MainEnanceand inspection
l.Maintenance period
2.lnsp€clion
items
3.Maintenanc€ andinsoection
Drocedures
4.Maintenance parts
6.Appendix.
INDEX
MELI=A
A:\gN_CUD.BAS4/L3/95
'**t****ti*****t***!t*t******t*t******tl!l*****!t*******!t*****!rrr**********t*****
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"
PRINT *2, " QrnS" 'llust have a space before the
QN Comnand to work
LINE INPIIT #2, AS
LOCATE 15, 10: PRINT "1ST Selection using ( 0-9 ) lilrrrnhE3s\ras -- " t AS
RrNT #2, 'll" + cERs(34) + 'Pul_PAun + CERS(34) 'cER$(34)= the
"
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.
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
. 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
"superE series"industrial
robot.This
instructionmanualexplains itemsthatarenotcoveredin theUser,smanual.suchas how
to installandhandleoptionalequipment, howto usethe MoVEMASTER commands, and
whatthecommands areabout.Beforeyoubeginoperatingtherobot,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.
1""'-
_l
m
f'* _l
The Specifications Manualis validtor the entireE series.lt explainsstandardspec-
tactory
ifications,special shipmentspecifications, optionconfiguratiors,and main-
tenan@components.lt alsoexplainssafetyand technicalprecautionswhenset-
ting up the robot.
t""*-j operatingmethods.
RV-E3J/RV-E3JM
RV-E2/RV-E2M
Fig. 1.1Schematicdiagramfor the pneumatichandset
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.
1.1.2.3Installingthe 2E-31HND/2E-31HNE pneumatichandinterface
To installthe pneumatic 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.
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
View from A
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
Fig. 'l.4 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 conne-
ctor GR1.
Connectthe GR2 plug protrudingfrom the primarysolenoidvalve (6) to the con-
nector 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.
.A
Shouldercover
Trussscrew
P
Y
i'/
soleno?d
vatve
Detaileddrawinqof
section A
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)
Spare
.._.--..1,
3l Socket head bolt
PortA
..4
Port R
(9) PortP
P
T
i-
solenoid
Detailed drawino ot
section A
-LJ-l-
To the hand's
oulpul connec-
tors .4-ffr- Nole : Make sure to
disconnect all 4
connectorsleadino to
For when the hand's outiut
tne connectors when
double- using the pneumatic
tyPe hand.
solenoid
valve is
:::-1i::ffi
useo
C o n n ec l i o n s l o r s e c t i o n A Connections for section A
when using lhe motor- when usin9 the pneumatic
d hand nand
Fig. 1.5 How to installthe solenoidvalve connectors
1-7
1.1.4Installingthe 2E-31HND/2E-31HNE pneumatichand interface
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.
1.1.6 lnstallingthe 2E-311O/2E-31 IOE parallel l/O interface
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
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.
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> <Programto programcall)
Prpgram 10 Prpgram 20 Prpgram 30
1 0s P 1 5 10MO 5 1 OS P 1 5
:
3bcs 2oo'l-
:
: 40 MO 1 0
40r 1 50 GS 40,30
l-- 60MO 6 :
100 ED;END 100 ED
1 0 0 0E D :[
MO3
F{l
- showsthe programexecutionorder.
3-31
X In the aboveexampleof <Thesameprogramcall>,executesthe programfromline
10to 30,thencallsthe subroutine
of line200.Whenlhe RTcommandis executedin
the programreturnsto the mainprogramand continuesfrom line 40.
the subroutine,
The programendswhenthe ED commandis executed.
3-32
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.
3-33
HE (Here)
I FunctionI
asthespeciliedposition.
Delinesthecurrentcoordinates
( 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.
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.
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 Sampteprogram
I (eestc)
10 oPEN" CoMl:E83" As #1 ;opensthe RS-232Ccommunication file fromthe
personalcomputer in BASIC.
20 PRINT # 1," HO" ; Executesthe "HO" commandfrom the personal
computer.
30 END :Ends
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 . )
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 valueof thepositionnumberorthedata
value,thecoordinate
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 ;Opensthe RS-232C port.
20 INP 2,1,O ; Readsthe dataof counter 1 fromthe RS-232Cport.
30 INP 2,5,1 ; Readsthe dataof position5 fromthe RS-232Cport.
40 lC 1 ;Adds 1 to ihe contentsof counter.1.
50 MO 5 ;Movesto position5.
60 OPN 1,1 ; Opensthe RS-232C port.
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.
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 R-
axisby +/-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.
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
(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 "&".
?-A?
I Sampleprogram) (Movemaster command)
100 lD ;Fetchesthe datatromthe externalinputport.
110 LG 100,130 ; lf the inputdatais largerthan100,jumpsto line 130.
120 ED ;Elseprogramends.
130 MO 1 ; Movesto position1.
140 OPN1,1 ;Opensthe RS-232C port.
150 INP 1, ,2 ;Readsthe dataof characterstringregisterfromthe RS-
232C port.
160 LG $5,200 ;Jumpsto line200il the datalengthlargethancharacter
stringnumber5.
'.
200 ED ;Endsprogram.
e _ AA
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 ; Opens the RS-232Ccommunication file lrom
the personalcomputer in BASIC.
20 INPUT "Startline "; ;Enterthetoplinenumberthatyouwantto read.
30 INPUT "End line"; ;Enterthe lastline numberthatyou wantto read.
40 FOR l=S TO E ;Repeatedly
50 PRINT # 1," LR" +STR$ (l) ;Transmit"LR" + "line number,,to the conlroller
side.
60 LINE INPUT# 1,A$ : Savesthe receiveddata to A $.
70 rFA$="" THENgo ; lt there is no data,jumps to line 90.
80 PRINT| ; : PRINTA$ ; Displaysthe data on the personalcomputer
screen.
90 NEXT ; Repeatsandiumpsto line40.
1 O OE N D
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 coordinatesof 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.
(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.
3-4A
MC (MoveContinuous))
I Function)
throughthe predefinedintermediatepointsbetween
Movesthe robotcontinuously
two specifiedposition
numbers.(Linearinterpolation)
I InputFormatI
MC <position
number(a) >,<position
number(b) , [, [(o/Crn
[rerm)
(Position
number(a) > Specifythe top positionnumber movingcontinuous.
<Positionnumber (b) > Specitythe lasl positionnumber moving continuous.
''l 3 position
number (a) (b) < 999
I Positionnumber (a) - posilionnumber {b) | < 99
<o/c, 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
RV.E3J/RV-E3JM
(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
Wrist roll +
\ (Rolt) -
J Pitch
l+
WristDitch /
(Pir;h) +\
Shoulder
a_A9
MO (Move)
I Function)
Movesthe handtip to the specifiedposition.(Jointinterpotation)
( InputFormatI
MO <position
number>[, kO/C,n
(Term)
<Positionnumben Specifythe destinationpositionnumber in integer value.
1 = positionnumber5 999
<O/C> 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'soperationalspace-
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 Function
I
Movesto the specifiedpositionwith specifiedinterpolation,
speciliedspeed,
- specified
tim_er,
and specifiedinputandoutputsignal.
I InputFormatI
RV-Ez/RV-EzM
RV-E3J/RV-E3JM
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) Specify the structure ftag of the robot. (Right or Left)
R: Right (Defautt)
L: Left
<A/B> Specily the structure flag of the robot. (Above or Below)
A : Above {Default)
B: Below
<N/Fr Specify the structureflag of the robot. (Nonflipor Flip)
(RV-E2/RV-E2Monly.)
N : Nonflip (Default)
F: Flip
.O/Ct 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>],
[<Cturning angle>] [, 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>],
[<Z coordinate,j , t,A turningangle>], [<Biurning angle>]
t, t(R/L'l t, t( A/B,lll [, [<O/Cr]l
[rerml
<lnterpolation> 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
MR (MoveR)
I FunctionI
Movesthe tip of handthroughthe predefinedintermediate
positionsin circular
interpolation.
(t
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 Position
Position5 Position3
( E x a m p l e1 ) (Example2)
3-54
I Sampleprogram) (Movemastercommand)
lOSP 8 ; Set speed to 8.
20MO 1 ; Movesto position1.
30 MR 10,20,30 ; Movesto position10 by linearinlerpolation.
Moves the arc determined by position10, 20, 30 by circular
interpolation.
4OMS 3 ; Movesto position3 by linear interpolation.
50 ED ; Ends program.
Position 'l
Position20
Currentposition
Position30
3-55
MRA (MoveR A)
I Function
I
Movesto thespecifiedposition
in circularinterpolation.
I InputFormat)
MRA <position
number, [, [(O/Crn
[terml
<Positionnumber> Specifythe destinationposition.
1 S oositionnumberS 999
<o/c, 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.
Position2
M R A4 _ 1 . .
Currentposition Position1 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.Thetip 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.
Position6
Currenlposition
X
Position5
PositiohI
.t-c /
MT (MoveTool)
I Function
I
Moveslhe tip of handto a positionawaytromthe speciliedpositionby lhe distance
as specifiedin the tool direction.(Jointinterpolation)
I lnputFormatI
lterm)
<Position
number> Specifythe destinationpositionnumberin integervalue.
1 S positionnumbers 999
<Traveldistance> Specifythe distancein tooldirectionfromthe specified
positionto the destination
point. (Zerotor default)
-3276.80 < traveldistance< 3276.70
(O/C) 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.
30 MT 1,-100 ; 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
[terml
<Positionnumben Specifyihe destinationpositionnumber in integer value.
1 S positionnumber S 999
(Traveldistance) 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 ; Opens the RS-232Ccommunicationfile in
BASIC.
2 0 P R I N T# 1 , " N10" ; Selectsthe program 10.
3 0 P R T N #T1 , " 1 oM O 1 " ; lmplementationof program. (Line10)
4 0 P R r N T# 1 , " 2 0 M S2 " ; lmplementationof program. (Line 20)
5 0 P R T N #T1 , " 3 0E D " ; lmplementationof program. (Line 30)
60END ;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> Specifythe value that the internalregister compares
contentswith.
-32768< comparedvalue (decimall < 32767
& 8000= comparedvalue (hexadecimal)S &7FFF
<Characterstring numben Specifycharacterstring number in numericalvalue
which "$" is added to the head.
$1 S characterstring number < $99
<Branching
line number> 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 "&".
3-61
( sampleprogramI (Movemaster
command)
10 tD Fetchesdata from externalinput port.
20 NE 80,100 Jumps to line 100 if the data does not equal 80.
30 ED Ends the programil above conditionis not met.
1 0 0M o 7 Movesto position7.
1 1 0o P N 1 , 1 Opens the RS-232Cport.
1 2 0t N P 1 , , 2 Readsthe data of characterstring register from the RS-
232Cport.
130NE $2,200 ;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.
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 Sampteprogram
I 1anstc)
10 OPEN" COM1 : E83" AS #1 ;Opensthe RS-232Ccommunication
file from the
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
anexternaloutputport.
Setsthe outputstateof thespecifiedbitthrough
( 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.
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
(Terml
<Output
data> Specified outputdata.
-32768= outputdata (decimal) = 32767
& 8000< orrtputdata (hexadecimal)S & TFFF
<Output
bit numberr Specifythe referencebit numberof outputdata.
0 < bit number= 32767 (0for default)
<Bitwidthr 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.)
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,
160.00, 0.00,0.00,-120.00,
-200.00
(DetaultRV-E3J/RV-E3JM)
3-69
OPN (open)
( FunctionI
Openscommunication
channelandspecifyinput/outputdevice.
I InputFormatI
OPN <channelnumberr,<devicenumben
[rerml
<Channelnumber, Specify inpuVoutputchannel number.
0 S channelnumberS 2
<Devicenumber> 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.
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.
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.
!4._7t
PA (PalletAssign)
I FunctionI
Definesthe numberof grid pointsin the columnandrow directionsfor the sDecified
pallet.
( InputFormatI
[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 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
<Positionnumber> 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)
F: FIIO
(O/C) 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
I SampteprogramI (Movemastercommand)
(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 ; loves to position10.
50 ED ; Endsprogjram.
3-7F
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.
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 ; Opensthe RS-232Ccommunicationlile from
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.
1_7R
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 ExplanationI
(1) Outputsthe contentsof the specifiedparameterthroughthe RS-232Cport.
(2) Whenyouspeciliedthe parameter thatdoesnotexist,nooperationis executed.
(3) Forinformationon paramelers, see "6.2ParameterList".
(4) The specifiedparameterbecomesetlectiveatlerhavingturnedoff andonthe power
supply.Giveattention thatevenil youhavechangedthe contentsof lhe parameter,
the old contentsis stilleffectiveuntilthe powersupplyis turnedon again.
I SampleprogramI lMovemaster
command)
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
lf you 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 ; Opensthe RS-232Ccommunicationfile from
the personalcomputer in BASIC.
20 INPUT"Position
numberis";P ; lnputsthe positionnumberthatyouwantto
read
30 PRINT #1,'' PR" +STRS(P) ;Transmits the PR commandfollowedby the
positionnumber.
4 0 L I N E I N P U T+ 1 , A $ ;Savesthe receiveddatato A$.
50 PRINTA$ ; Displaysthe contentsto the screen.
60 END ; Endsprogram.
RUN : Runthe program.
Positionnumberis ? 15 ; Enterthe positionnumber.
+10.00,+380.00,300.00,-70.00 ;Outputsthe contentsof the position.
,50.o0,40.00,R,A,N,c
3-RO
I Sampleprogram) Ftslc)
(2) RV-E3J/RV-E3JM
10 OPEN" COM1:E83" AS#1 ;OpenstheRS-232Ccommunicationfiletrom
the personalcompulerin BASIC.
20 INPUT "Positionnumberis" ;P ; Inputsthe positionnumberthatyouwantto
read
30 PRINT#1," PR" +STR$(p) ;TransmitsthepRcommandfollowedbythe
positionnumber.
40 LINEINPUT# 1,A$ ; Savesthe receiveddatato A$.
50 PRINTA$ ; Displaysthe contentsto the screen.
60 END ;Endsprogram.
RUN ;Runthe program.
Positionnumberis ? 15 ;Enterthe positionnumber.
+10.00,+380.00,300.00,50.00 ; Outputsthe contentsof the position.
,40.00,R,A,c
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
[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
valueto the specifiedposition.
coordinates
I InputFormat
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
Palletcornerpositionoppositeto reterence j3
Palletcolumncounter 31 4'l 51
Palletrowcounter 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
I SampleprogramI (Movemaster command)
Supposethere is a pallet on whicha totalof 24 workpiecesare arranged,4 in the
columndirectionand 6 in the row direction. Then havethe systemcomputethe
coordinatesol 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.
3,r.
5l
E HI
JI
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.
?-R4
PX (Position
Exchange)
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.
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]' "
Specialspecitication: When you 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 ; Opensthe RS-232Ccommunication tile
fromthe personalcomputerin BASIC.
30 PRINT + 1," ON" ; Transmitsthe QN command.
30 LINE INPUT;1,A$ ;Savesthe receiveddata to A$.
40 PRINT "Selectedprogramis " : A $ ;Displaysthe contentsoJA$tothe screen.
60 END :Ends.
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.
a_tn
RN X (Run)
I FunctionI
Execuleslhe specifiedpartot commandsin a program.
( InputFormatI
[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]'
Special specitication: When you 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 ; Opensthe RS-232Ccommunication file irom
the personalcomputerin BASIC.
20 PRINTi1," RN 100,,2" ;Executestheprogram2 from line 100.
30 END ;Ends program.
3-89
RS X (Reset)
I Function
I
Resets the programand error condition.
I lnputFormat
I
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 ; Opens the RS-232Ccommunicationf ile lrom
personalcomputer in BASIC.
20 PRINT#1," MO 1000" ;Alarmoccursbecauseof the wrongvalue.
30 PRINT#1," RS" ;Cancelsthealarm.
40 END ;Endsprogram.
3-On
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 21,'l0
; Set value 10 to counter21.
20 lC 21 ; Add 1 to counter21.
30 CP 21 ;Set value of counter21 to the internalregister.
40 DR ; Outputsthe value of lhe internalregister throughRS-232Cport.
50 SC $s,"OK" ;Set characterstring "OK" in characterstring number 5
60 CP $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)
Definesthe movingvelocity,lirstordertimeconstant, time,
acceleration/deceleration
pathsetting.
and continuous
I tnputFormatI
SD (movingspeed) [, dirst order time constantt
[, (accelerationtime>,<deceleraliontime) [, <CNTsetting)]n
lterm)
<Movingspeed> 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)
<Acceleration time> Set accelerationtime lo the maximumspeed.
0 S accelerationtime < 2000 (millisecond)
<Decelerationtimer Set decelerationtime from the maximumspeed.
0 3 deceleration time < 2000 (millisecond)
(CNT setting, Specifythe enableor disablestate of continuouspath mode.
0: Disable 1: Enable
( 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,
when the specified speed and acceleration/deceleration are set, if the movement
distance is small,the set speed may not be reached.
(10) It the acceleration/decelerationtime 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 (Movemastercommand)
10 SP 'l5 ; Set the movingspeed to 15.
'l
20 MS 1 ; Movesto position by linear interpolation. (SP 15)
30 SD 100 ;Set the movingspeed to 10omm/sec.
40 MS 2 ; Moves to position2 by linear interpolation. (100 mm/sec)
50 MO 3 ; Movesto position3 by joint interpolation. (SP 15)
60 MS 4 ; Moves to position4 by linear interpolation. (100 mm/sec)
70 ED ;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.
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 "&".
3-q7
I Sampleprogram) (Movemaster command)
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
'l0 ;Endsprogram.
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.
I Function
I
sets the operatingspeed, accelerationor decelerationtime and lhe continuousoath
settinq.
( InputFormatI
(terml
<Speedlevel> Set movingspeed.
0 s speed level S 30
(H/L) Set acceleration/decelerationlevel.
H : High acceleration/deceleration(Max.0.2 second)
L : Low acceleration/deceleration (Max.0.4 second)
<CNTsetting> 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.
{3) The acceleration/deceleration time may be selected from among H or L. The
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.
0.1
't6 19.0 123.7
o.4 2.7 17
1E 168.1
5.3 19 193.8
1.1 7.3 34.2 222.O
1.5 9.8 40.7 264.8
E
E 400
tt o
o 50 o
o ct
gt
o
(s 200
o ?
20
Speedlevel
STR X (Step Read)
I FunctionI
Readsthe contentsof the specifiedstep number,or the stoppingstep number.
(UsingRS-232C)
I InputFormatI
STR [<stepnumber>]
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 programjump-
1 < 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
2 int
TBD (TestBit Direct)
I FunctionI
causes a jump to occurin accordancewiththe speciliedbit valuein the external
input.
( InputFormatI
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.
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.
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.
{4) Whenever a program is to be run,the same tool length as that establishedduring
ieaching must be set ai the beginningot the 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.
I Sampteprogram) 1Bastc)
1 0 o P E N " C O M 1 : E 8 3 "A S # 1 ; Opens the RS-232Ccommunicationf ile
from the personalcomputer in BASIC.
20 PRINT +;-1,"VR" ;Transmitsthe VR command.
30 LINE INPUT# 1,A$ ;Savesthe receiveddata to A$.
50 PRINT "Softwareversionis " : A $; ; Displaysthe data on the screen.
60 END ;Ends program. /
RUN ; Run the program.
Softwareversionis RV-E2 Ver. A1 ; 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
0.01mm or 0.01degree. (e.9.,20.01 tor 20.01mm)
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.
(2) RV-E3J/RV-E3JM
10 OPEN " COM1 : E83" AS # 1 ; Opensthe RS-232Ccommunication file from
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.
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 displayedtor 105.07mm).
(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 ; Opensthe RS-232Ccommunication
Jilefrom
the personalcomputer in BASIC.
20 PRTNT#1," WT" ; Transmitsthe command"WT".
40 LINE INPUT++*'l,A$ ; Savesthe received data to A $.
50 PRINT" TOOL=" ; A$ ; Displaysthe contentsof A$ on the screen.
60 END ;Ends.
?-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.
3-'t09
' (Comment)
I FunctionI
Allowstheprogrammer
to writea comment.
I InputFormatI
'
l€tring consistingof up to 120alphanumeric
characters
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.
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:
.l- |
The numbers 0 ) to (8) in the graphcorrespondto the numbersin the previouspages.
o
Solenoid
5m for standard
Special specificatbns 15m
's
Flexiblecable available
I
200v
3KvA
exlemall/O
cable
InDut
'
l7.points(ltcontains 3 points(STA'STP'RST)Total20 points
sertng varueoTInpur4+4) (Start,Stop,Reset)
Output13points 3 points(RUN,WAI,ERR)Total16 Doints
(Executing,Waitin
g,Alarm)
4-3
Shownbelow are the settingcommandsat the time of factoryshipmentfor the various
cards.
4 bits 4 bits I 11 13 15 17 19
Jll I I 1.
A s s i g n m e netx a m p l e' l N 1 = ( P l O , , , , P 1 1 , , , ,cYc, ,,'',,|
A
I rlrt 11 11 I r 1 Itl
| 0123 4s 67 10 12 14 16 18
|
I I
I I
Assignment oi Assignmentol
standard input CYC to bit 8
tor l/O parallel
interface
Name Command
Function
Executing RUN Outpub the fact thatlhe programis executing
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 Functlon narne
Pin Color ol enemal Pih
color oi ertemal
nuln l/O cable Specializ€d/ nurn l/O cable Specialized/
ber G€aeral purpose power souace/ oe, Generalpurpose
cottmon comtnon
1 Jvhtte/black A z e lWhll€/bhck I
OV''-'.: :i{-? t -l cv
pln use ,:!iYellorlr/blackg : 29-32 :
pin use
Blue/black A
l2vi24v '.+7 pin
use *l I
Blus/black B
l2v/24v :.?€42
prn use
Goneral-purpose Geneaal-putpose
_lI
Gree black A Gre€n/blackB
oltput 1oo output104
Gene,al-purpose General-purpose
5 O.ang€/black A
ouFut 101 Oaange/blackA output105
Pink/black A
G6neral-puapose r r l Pink/blackB General-purpose
output102 output106
7 Gray/bLack A
G€n6ral-purpose
outpd 103 *lI Graylblack I
GeneraLpuapose
orJtprjt107
6 Red/black A
OV 'r'':1U13 ', gi /i Red/black B ov :35{8:''
' pn l|se
*lI
prn use
14tl24v i 10-13 12Vl24V: 35-34
Purple/bbck A ptnuse Purple/blackB pin (lse
General-purpose Genelalpl'pose
1 0 Bro$m/black A output108 Brown/black B output112
1 1 White/black C Generalpurpose
ootput109
35
l
White/blackD General-purpose
output113 R,u(R,r)
Yellow/black C
G€neral-purpose
output11O 37 Yellow/blackO General-purpose
output114 irh.-r (['4i)
1 3 Blue/blacl( C General-purpose 3a Blue/blackD General-prrrpose ega.RLeP?>
output111 output115
COMo:15-22 | COM1 :40-47
1 4 Green/black C pnuse I Gaeen/blackD pin use
1 5 Orange,/black C
1 6 Pink/black C
General-putpose
orrtput10O
Geneaal-purpose
r*T1
I nisprint j
40
D
General-putpose
Orange/blackD output108
General-purpose
outpur101
Genetal-purpose
I.tables : lPink/black
output109
1 7 Gray/black C output102
| 4.7 , 4 . 8 , ' , .42 loravrlacr o General-purpose
ootput110
General-purpose
[ e a . s a t !, , I Genetal-prrpose
1 8 Red/black C 'l
output 03 15
[eine lRed/black D
loutput111
1 9 Purple/blackC
c€neralpurpose Ithru 25 i 44
I lGeneral-purpose
ourpd | 04 land pins i lourput
1l2
20 Brown/blackC
General-purpose
1CE
i4o thru i 45 lGeneral-purpose
loutput1l3
lorrtput i5O are i I
21 White/redA lGeneral-purpose :Darked I il6 lGeneral-purpose
loubur 105 lollput 114
:output 1 General-purpose
lGene,.t-pu,pose
loulpul107
:t should I 47 1t5
II :be INPUTSI
4
24
25
l.:"::.^
lO.ange/red
a
I
lGeneral-purpose
I outout116
I
lG€ne.al-purpose
|outputI |7
t""l
I]
tl
Iw*;:,c
49
50
S-.cP
(r.v'r
(siPJ
Cesr)
A-e
,i: OY/(Ga<.rcN)
= + 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
rufeoutri8 p4oseouFdl2
pupceo..Fn9 prpce odpd 13
pL[pceouFrjt10 pLrFseortrJt 14
trrpceq.ipnll prpce ouFn 15
DCIA//24V DCIA//24V
grpce irpri 0
trrpGeirFrB
trrpeirprl prpce irF.t9
pLrpe irF 2 trrpce irp-t 10
pupe tFrt 3 prpce irp.t 11
ruposeirpn4 prpce inp{.(12
Blpe irpds ptrpce ir|trn13
prp@ipt6 p.rp6e irgn 14
prpeirptT prpce irp:t 15
General
Dc12v/24y
Frpce irpn 16 tr [pGe irp.tt18
pLrpe irpri 17
prpce hFn 19
<Standard><Expansion'
The l/O numberlor the first additionis 100 added to the .l .-+ t 01
standardl/O number.
The l/O numberlor lhe secondadditionis 200 added to .l ...+ 201.
the standardl,/O number.
4-9
The assignmenlof the connectionsto the parallel l/O interface board is shown in
Fig.4.2E.(2E-31loE)
DC1?V/24V 1
DC12V/24V
2 27
----r L- z6 -----J.-
r-l I
Generalfup6e oupd l+J ptrpGeor&d4
GeneralprpGeoutpd1 I c 30 Generalp|.rpceqJtsut5
Gen€ralpupceoutsut2 ) 31 Generalp|'rpceoutstn6
F-i...-i
)
GeneralprrpGeo&d 3 7 32 |-i.-| Generalp|.rpceouFn 7
DC12V/24V 8l 33 DC12\
2V/24V
:1 u Jr
--El
Brpce a&d 8 10 35 Generalpupce orFjt 12
p('pce ojtsrn9 I
p[pc6eauFJtr 0
r_,i I Genq-al
GeneralpurpGeouFn 13
Gene'dpup6e ouF|n14
pupcseqrtstn111
J- 12 37 ) Gene'd
Generalpupce oijtsut15
DCIzI/ /24V 14 39 C I /24V
DC12V
D
pupc6einpd0 '(- 15 40 -!J r..F p(rp6e inpdB
prrp6€ input1 16 41 CieneraiptrpGe inpd9
I
purpc€inpd2 17 42 t Gen€.alpupGe tnpd 10
pupce inpd3 18 \ GeneralpurpGe inpd 11
purpceinput4 19 44 Generalpup6e input12
prrpceinpt45
)
20 I GeneralB[p6e input13
purpceirtptn6 2'l 46 Gen€rai$npce inpul14
purpGeirput7 22 47 Generalp(!p6e input15
23 D C 1 /24V
DC12V
p|'pce input16 -o r- 24 --{ o- GeneralpurpGe input18
="_:
purpGeinput17 25 50 GeneralpurPce inpd 19
<Standard><Expansion'
The l/O numberfor ihe lirst additionis 100 added to the 1 -..+ 101
standardl/O number.
The l/O number for the second additionis 200 added to 1 -.+ 201.
the standardl/O number.
1 fvhite/black A 6 White/black B :G
4-7 3V , n-32
Yellorrr/bbckA pln use 27 Yellrw/black B pln ose
1t! t24V +7 pin lzv/24V :23-32
A
Blue/bLack use n Blue./blackB pin use
Purple/bhckA
1Vtl21V .'lO-13
34 Purple/blackB 12Vt24V. -8
pln use pln use
GeneJal-purpose G€neral-purpose
1 0 Brovm/bbck A output 108 Brown/bbck B output112
1 1 Ymhe/b|ackC General+urpose Wh[e/black D Gen€ral-prnpose
ouQlrt1Og odput 113
G€n€ral-p!rpose Geneaal-purpose
1 2 Yollow/blackC ousrn 110 37 Yellowblack D odput 114
Table 4.9 Directoryof assignmentsfor pin numbersand signals for the second
additionaloarallel l/O intertace
Function name Funclion name
Pin Color ol enenEl Pin
Col' ol extehal
num l/O cable Specialized/ num l/o cabte Specialized/
bet Geneaalpurpose b€r GeneraloulDose powersoutce/
oo|1lmon com|non
1 White/black A 6 White/blackB
ov '.4-7 OV t8-32
Yellow/blacx A pin use 27 Yellow,/blac* B
P|nraie
1Vt/24V : 4-l pin 12V/24vim42
Blue/black A use a Blue/blackB
Pmuse
Green/black A
General-purpose n Green/blackB G6n€ral-purpose
outpd 200 odput 204
General-purpose Genelal-purpose
Orange/bhck A
outsut 2O1 Orange,/black
A
output 2(F
5 Pank/bliackA General-purpose 31 Pink/blackB Genelal-purpose
olrtPut2O2 output 206
General-purpose G€heral-puipose
7 Gray,/black A
ou$ut 203 32 Gray/blackB output 207
a Red/black A
Ov :1G13 R6d/blac* B OV :35-38
ph use pin use
17t/24V :10-13 lzv/24V: 35-3a
Purple/blac! A ph use Purple,/black
B pin llse
General-putpqse G€neral-purpose
1 0 Brown/black A output 204 35 Browri/black B outputA2
1.1 |,vhite/black C Gen€ral-purpose General-purpose
output 209 White/bhck D
outpul213
Genetal-purpose G6n6lal-purpose
1 2 Yellow/black C output210 Yellow/blackD output214
1 3 Blue/black C Genetal-purpose 38 Blue/blact D General-potpose
output21'l orrtput215
coM0 15-22 coM t '.4o{7
1 4 Green/blacl< C pin use 33 Green/blackO pin|rse
Gen€ral-putpose General-purpose
1 5 Orange/black C output200 40 Orange,/bhckD ostpur 208
1 6 Pink/black C General-purpose 41 Pink/blackD Genelel-purpose
output201 outpd 20e
General-putpose General-purpose
1 7 Gray/black C output202 42 G.aylblackO output210
1 8 Red/black C General-purpose 43 General-purpose
ootput203 ReUblack O
outpul 211
General-purpose General-plrpose
1 9 Purple/black C oots|lr 204 44 Purple/blackD
output212
General-purpose lts General-purpose
20 Brown/bliack C
output 205 Brovrn/blackD ol,tput 213
21 White/red A General-purpose /t6 White/.ed g G€helal-purpose
ouFut 205 output214
General-purpose Genetal-purpose
ouFut 207 47 Yellow/redB output215
2? Blue/red A N.C. 48 Blue/redB COM2:24,25,49,50
use
Generalpurpose Gene€l-purpose
24 Green/red A
orrtput215 4,o creen/aedB
output218
G€neaal-putpose General-purpose
Orange/red A
output217 50 Orange/redB output219
. The UO numberlor the secondadditionis 200 addedto the standardl/O number.
(1 ..- 201)
4.1.6 Precautionsfor connectionswith externaldevices
! Push buttonswitch
o
= Transistor
--- Limitswitch
12V/24V
Outputportpowersource
(DC12V/24V1
LEDlamp
=
Solenoidor relay
=
o
Photocoupler
Incandescence
lamp
-' 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
lnsulationtn€lhod PhotocouDlerinsulafion
E emalline connection
Conn€cior
method
Mer.voltagedrcp cluring
ON DC0.9V[rYP.)
Responselilne
OFF.ON ats or less (Flardwareresponselime) ZtrJ I I(JE type
ON.OFF zns or less lResisbr load FU (24/12V)
Fuse3.2A(onep€r cor non)cannotbe
Fuserating
aeDlaced OUTPUT
Coml|ron hethod 4 points 1 cornhoal
Extemal lhe coflnectioh
lnothod Conheclot
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.
d_14
4.1.7 Timing chartfor externaloperations
(INPUT)
PIFPI3
toN
STA
(oUTPUT)
tt tr t I llt t I I t r f ttt t
Es"
FE
Eg E 5
i
i!:E:!:
i:; F !;i Ig 3 EEEB I
"E 3 _a
"'E
E.-
P !' E:F3.E: t
t<*t<
:9
! 'i;
55
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.
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
ovlrrid. .t.signatjon
(OUTPUT)
'-Hd'
1"*"dr-fi;!-i l"-.m*r:"*"..-
o*i"*i--------l
o""-ag..,l-----1
419
(3) Time chartfor eriternaloperations,exampleg
(NPUT)
wo
sT
(OUTPUT)
Go.rd F.rrp6. o[prn
Erenin9
| | rt | | i t tt t
Siln o! S.M *tuo SrnE,n.rq.hd S.rc Sl.n a-.
progrri oFF oN 3r; o aE!
eii I
z3 a l-
Starl ot the delaull prpgram.
3t
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
connectionsaccordingto the writteninstructions.
The topics can be lound as lollows:
(2)Specificationsof the
solenoidvalve set
(3) Installationof the
solenoidvalve set
=__----r I i
i..€r
i a--P- !
i.--!LLL---;.--
ffii _i
!
('l) Standardwiring and For use with the pneumatic hand
DneumaticoiDino -,
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
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.
Pneumatichand
Hand curl tube
I
t
Pneumatichand 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
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
I Caution lf you want to use 2 or more solenoidvalves,put the air tube outside
the roboi cover.
4-23
to a personalcomputer(RS-232C)
4.3 Connections
4.3.1Connector pin arraylortheRS-232C
The relationship
betweensignalnamesandpin numbersfor the RS232Cconnector
pins is shownbelow.
Fig.4.10Pinarray (RS-232C)
I 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
7 SG 16 N.C 25 N.C
8 N.C 17 N.C
9 N.C 18 N.C
: JAEDB-2sP (prongside) N.C.standsfor no connectionpossible.
Adapter-connector
<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)
(Robotsioe) (Personal
computersi
ER(DTR)"- DR(DSR)
RS (RTS)"* cs (cTS)
1 Outputof first 1 Outputo{ second
characler character
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.
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
500Hr P-month
J-month Inspec
Inspeclron on
J-month
lnspeclron
1-month
Inspeclron
1 0 0 0H r J-month 3-month 5-month
Inspeclroninspectioninspection
o
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
(Calculations Note:
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
a
Are the set screwson the coverloose?(visually Securelytightenthe
inspect) screws.
boltson the handloose?
Are the installation Tightenthe boltsecurely.
(visuallyinspect)
o
Are thereany cracksor residueon the robotor Exchangefor new partsand
controllercover?(visuallyinspect) take emergencymeasures.
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
can lind inJormation aboul the maintenanceparts in section5.4 "Maintenanceparts"
in this manual.lf you need some parts,youcan contactthe dealer where you purchased
this product,or you can contactyour local Mitsubishiservice center.
3-J
W-iointmotor
(11)P-jointreductiongear (2)W-axisre-
(13)R-jointreductiongear
5-7
To remove
the wristcover,
pushit up
usinga screw
driver.
(13)Wristcove(Ll
No.1 arm
(a)
-!
(a)
, (a)6-.
,' (b) --a (a)
-P"r
c)
.2b)
.-.-l(b)
._-al
--..
(a)
-.qc)
c)
(b){g 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.
(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.
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.
RV-E2/RV-E2M RV-E3J/RV-E3JM
(4)T-joint grease
(1)W-iointgrease
Commonlor RV-E2/RV-E2M.
RV-E3J/RV-E3JM
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.
5-15
(3)
' ' Socket
head bolt
(51
' ' Socket
head bolt
B
T
._ _ . . _ (4)Batterycover
Lead connector
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
tr \-E!!e
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
Partname Modeltype Supplier
t""T (Manutacturer) Locationof use Quantity
ffi
batteries E2M.the shoulder
For the RV-E3J/RV-
E3JM.the shoulder
(4) Controllerspareparts
Table5.10Controllersparepartslist
Partname Model type (Note) Supplier
t'"T (Manutacturer) Localion ol use Quantity
1 Fuse MF6ONR-8A.05 ToyoFuse Controller,back side,
inside luse holder
5-1q
Chapter6: Appendix.
6.1Commandlist.
Positionmotioncontrolcommands.
Pa9e
dislancelrc|n currenl
RV-E2M
HV-EZM speciliedanqte
Specmed lrom the
anqlelrom the
MJ [wltrs],[e]cunentposition.
o-l
Positionmotion controlcommands.
Nomenclature InputFohal Funclion Program Page
l4 Move posltion RV-e2/ Moves to the position yes Joint interpolation. 3-50
RV.E2M (xJ,z,a,b,c). R means Right,L means
MP Left.
A means A bove, B
means Below.
N means Non Flip, F
means Flip.
RV-E3J/ Moves lo the position yes Jdnt inlerpolation. 3-50
RV.E3JM (x,y,z,a,b). R means Right, L means
MP [x]{yl,[z], Left.
tal.tbl A means Above, B
LIR/L] means Below.
[,[A/Bn
15 Move play back RV-Ez/ Movesto the specilied yes 0 = b =32767 3-51
RV.E2M posltionwith the speed (d), 05 e 5255
timer(e),outputstare (fxg), 0 S l.g,h,i =a7FFF
input state (hXi),interpolation J =o0oint ) 1(linear) 2(arc)
mode (i). R:Right,L:Left.
A:Above,B:Below
N: Non Flip
F: Flip.
O:Opening a hand
C :Closing a hand
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/ Moves to the specitied yes D'qjoint) l(linear) 2(arc) 3-53
conlinuous RV-E2M posltion with the specilied R:Right,L:Left.
MPC [dl interpolation method. A:Above,B:Below-
,txl,tvl,t21 N: Non Flip
,Ia1{b],Ic] F: Flip.
t,tR/Ll O:Opening a hand
t,tAlBl C :Closing a hand
t,tN/FIIII
t{o/cll
RV-E3JM positioh with the specilied R : Right, L : Lett.
MPC [d] interpolation method. A: Above, B : Below.
,{x1,[y1,tz1 O:Opening a hand
,tal,tbl C:Closing a hand
t,lR/Ll
t,[A/Bm
t,to/cll
17 Move R MR a1.a2,a3 Movesoh the arc that yes 1= a'l,a2,a3=999 3-54
[{O,/Cn positioh(a1l(a2xa3) O:Opening a hand
deletminewith circular C:Closinga hand
odoin oosition.
24 Override OVR a Establishes program over- yes 1= a =200 3-72
ride.
A)
Positionmotioncontrolcommands.
Input Forrnat Function Program XoG age
25 Pllet Assign PA ij,k Delines lhe number of grid 1si59
points U,k) in the column and 1si,ks32767
row directlontor
15a'|.a2=999
Positiondetine RV-E2/ (xJ,z,a,b,c)to 15 a S
RV-E2M position(a). R:Right, L:Lett
PD A:Above, B:Below
N:Nonflip, F:Flip
O:open a hand
C:closing a hand
('}.r>a>5!
order deley tirne c.onst (b), 1= b s 300
accele.alion ti.ne (c), 05 c,b = 2000
decele.ation tlme (d) and e = 0 (disable),
CNT sening (e) in linear over 1(enable).
inleagolalion and circular
inle.oolation.
SF a1,a2 Shiftsthe coordinales ol
positloh (al ) by lhe
coordinates of Oos
Detines speed (a), aS30
acceleralion and decele- H:Ouick motion,
ration, CNT setting (b). L:Smooth motion.
B - 0 (disable),
over 1(enable).
36 Timer Halts rnotion lor time (a). yes 0= a = 32767 3-104
(Unit :0.1secpnd)
37 Tool TL [a] Establishes distance (a) yes Unit :mm. 3-j 05
between hand flange
surtace and hand lip.
Programcontrolcommands.
I'la Nomenclature Inout Format Function Program Note Page
38 CounterLoad CL a Loads internalregister yes 1=a=99 3-6
value/strings
to the $1S a = $99
specifiedcounter.
39 Compare CPa Loadsvalue/strings in yes 1=a=99
counter counter(a)to the internal 91< a < $99
regrster.
40 DisableAct DAa Disablesinterrupt by the 0= a = 32767 3-1 1
bit (a)ol externalinpul
terminal.
41 Decrement DCa Decrementscounter(a)by 'l
=a=99 3-12
Count 1.
6-3
Prooramcontrolcommands.
fb Nomenclature Inpul Format Function Program Page
42 DeleteLine DL [a1[Ia2] Delelesprogramlines a1 =a2 bl 3-14
llbftlb2m trom(a1)to (a2),or steps <b2
lrom(bl ) to (b2). 1 = a1,a2,b1,b2 =
9999
43 Enable Act EA[+/-l a,b Enablesintenuptby the yes 0< a < 32767 3-19
[,tcn lerminal,
bit(a)ofenernalinput +: Bit on,-: Bit olf
specitiesline l<rr<OOOO
number(b)to whichthe c=0 or 'l
programiumpswhen 0: Jump,1:Callsub-
InterruDt
occurs.and routine
specitiesjumpingmode.
44 End EL' Ends the program. yes
45 ll Equal EQ a(or &b) Causes a iump to line yes -3276A= e =32767 3-22
,c number (c) it internal &8000 5 b =&7fff
reoister value/slrinos
- $1= a = $99
eq'lals (a)(or &b). l<^<CKIOO
yes '1
46 Go Sub GS ta[,tb]l Call subroutinewhich =a=9999
slarts lrom line number (a)
ot program (b)
47 Go To GTa Causesa jump to line yes 1= a = 9999
number (a).
48 Halt HLT Halts the program. yes 3-35
49 Increment lCa It increments
the counter 1SaS99
count (al.
50 ll Larger LG 4or &b) Causesa iump to line yes -32768= a =+32767
,c number (c )il internal &8000= b =&7ttf
regisler value/stringsis 91< a < S99
greater than (a)(or &b). 1= c = 9999
51 ll Not Equal NE a(or &b) Causes a iump to line yes -32758S a =+32767 3-51
,c number (c )it internal &8000= b =&7ftf
reoister value/strinos $1< a < $99
do-esnot equal (a)(t &b). 1= c = 9999
52 New NW Deletes all lines and 3-64
positionsol the selected
program.
53 Next NX Specifies the range ot a yes 3-65
loop in a program
executed by command
a-a
Hand controlcommands.
nb Nornenclature lnput Function Prog.am Page
Format
59 Grip Close Gctal Closes hand grlp. a - O' l :: T h e 1 s t h a n d -
The 2nd hancl.
60 Grip Flag GFA Oetines lhe open/close a- O: Open
state ol hand grip used in l: Close
cotriunc0on wilh comma|)d
l/O controlcommands.
tb Nomenclalure Input Function Program Page
Format
A3 AND AN a(or &b) ANOS internal register yes -3276a<a:= +
val!e and sDecitled value 32767
(a) (o. &b). &4000 s b S&7FFF
54 Inplt Direct lD lal Gets signai troh external o 3a = 327A7
in0ut withoul condition.
66 Output Bil OB [+/-l a Sets lhe output state ol bil yes O =a = 32767
(a) ot extemal output +: Bit on, -:Bit oft.
terminal.
67 Output Counter OC a [,t:all Outputs the counter value yes 1 Sa =99
t,ta2lll (a) to exlernal output o = a 1 = 327€.7
terminal unconditionally. 1=a2 = 16
(a1: starting bit, a2: bit
length)
68 outputDirect. Outputs data (a) to external yes -3276a8a= +
ftgfirLt.rt olrtPril tenninal 32767
unconditionally. &4000 5 a 5&7FFF
(a1: staning blt, a2: blt o =a1 = 32767
length) I 5a2= 16
69 0R OR a(or & ORs iniernal register value -3276a=aS + 3-71
b) and specitied value (a) lor & 32767
b). &ao00 = b <&7FFF
RS-232Ccommunication
commands.
ib Nornenclature Inpul Function Program Page
Format
74 Colhter Read CR a Reads out contents of yes 15a 599 3-9
counter (a) $1 5 a 5599
75 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 = 128 3-24
77 LineRead LR [a] Reads out program oh line 0=aS9999 3-45
nurnber (a).
79 Paraheter PMR ["a"] Reads out the contents of yes
Read parameter (a).
80 Position Read PR [a] Reads out coordinates of yes 0Sa5999
position (a).
81 Question ON [a] Reads out the selected a: program name 3-87
Nu lnber program number or the Intormalion:used step
intormation ol prograrn (a). number, used position
numbet, usecl counter
numoer
b-5
RS-232Ccommunicationcommands.
Nomenclalute Inpur Funcllon Progratn Page
Forrnat
82 Step R€ad sTR [al Reacls out the contents of 05a59999 3-101
slep number (a).
83 Version Read Reads out the veGion 3-'106
name ot systeh ROM.
84 Where Reads out coordinates ot yes 3-107
cu'lent oosltion.
85 What Tool Reacls out current tool 3-104
lenglh.
Other commands.
Nomenclature -lnput Function P.ogram Page
FOrmat
EG Input INP a,b.[, Reads the value ol counter oSa= 2 3-39
[o! (b) or position (b) or 1 5 b = 99
character strings (b) 'lom '!5 b = 999
channel (a). 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 oSaS 2 3-70
(a). b :1 : Standard RS-
232C
2 : Standard RS-422
90 Print PRN a,b or Sends oul the contenls ol 'a- is counter value
counier (a) or position (b) or -3276a = a =+
characler siring 1c)lrom a 32767
personal compuler In & 8 0 O OS a = &
cohjunction with commnand
INP '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)
Tool XTL 6 real number Sets initialvalue ot tool coodinate 0,0 , 0-0 , 123.0,
coordinales system(X,Y, Z, A, B, C). OnlyZ 0.0,0.0,0.0
coordkrate ir changeable lo. RV-
E3J,/RV-R3JM. Unit mm. mh.
mrn,deg, deg, deg.
6-7
Palameter Param€ter runie Atay number Contents Detaolt value Remarks
Joint order ot UNG 6 rcaf nuftber Sels rointmotion older to retwn to 2.1 ,'l ,1 ,2 ,2 Note 3
retuming to the origanpolnt.
origin point
wrht angte RCD 1 integer selecls wrist angle coordinate RV-E3J/
coordinate system lor control and display. RV-E3JM
s9lection O:General angle (Maintains
posture),'1: Joint angle (varies
DOStUte)
Stop input INB 1 integer Setsslop input to. A q.'pecontact O
type or B lype contact.
selection 0: A type (No.mallyopen),1: B type
(Normallyclosed)
Parallel l/O S€tslunctionlor inDu.tboard.
inputsening lN1 20stings Setsfunctlonlor tirstl/O nterlace Pto,,,, p11.,,,
DOafo,
20 ,STA.STP, RST
lN2 strings S€ts fun3tlonlir seicn! i.'O
20 int€rlace board.
lN3 strings Sets functbn lor thiad l/O interlace
board.
Pafallel l/O Sets function lor outDut board-
outpul oT1 l6ltinEs S€ls function lor lirsl l/O interlace ,,,,
sening board. , hL,ruivi'ir,'efih
of2 16 stings S€ts lrrlction lor second l/O
hterlace board.
16 sbings Sets lunction tor lhird l/O inlerlace
DOaJO.
No ltem Operationdescription
1 Workplan (1)Definethe totalworkand describethe "WORKNAME"
(2)lt thereis conditional
branching,dividethe abovework into
severalprograms. Thenmakeentryof programnumberand
programname.
(3)Furthermore, dividethe aboveprogramintoseriesof
independent operation.Thenmakeentryof eachoperationand its
work positions.
(4)Checkthe abovesequenceagain.
(2)Signall/o
t/o Description Bit
Conveyerin position. Bit l
Input
Turn table in position. Bit 3
Drives the conveyorto supply the next Bit 1
Outout workpiece.
Drives the turn table. Bit 3
(3) Schematicdiagram
Figure 6.1 shows descriptionof operation.
Start point
Note3) Step 9
100o/o
\
Ste p1 Step 4 50% Step 5 Step 8
Workl
' S t e p3
Conveyor
o*1(
G{"C
Turn table
(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.
6-1 1
(6) Programmingsheet
Work name : Pick and place
Program name: Pick and place. Prooramnumber:2
Step Operationposilion Interpo- Speed lmer Hand Signal Signal
number (Operationdescription) lalion Open/ oulput input
Close
Wailing pointaboveconveyer 10% Open bit 1
(Robotwaitsfor a workpiece Wait ON
coming.)
Waitingpointaboveconveyer Linear 100 /s 0.5sec
(Robotwaitstor a workpiece
coming.)
The sameposilion:Conditionstep 0.3sec
(Robotwails tor the handclosed-)
The positionaboveconveyer 60m/s 0 Close bit 1
(Robotpicks up the workpiece.) ON
The positionaboveturn table Joint Close bit 1 bil3
(Robotwaitsfor the turn lable in OFF WaitON
position.)
The positionon the turn table Open
(Robotmovesdownand releases
the workoiece.l
The same position: Condition step 0.4sec Open
(Robot waits lor ihe hand opened.)
The posilionaboveturn table Linear 100mr/s 0 Open bil 3
(Robotmovesup.) ON
The Dosition above convever Joint 100% 0 Open bit 3
(2) Signall/O
A-'1,
(3) Schematicdiagram
Figure 6.3 showsthe schematicdiagramof this work.
Resistor
Feed c-onveyor
Inspectionapparatus
Conveyorfor non-defectiveresistor
(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.
C 1A
(6) Programseat.
name :
Programname: Settingol resistor Programnumber:'l
Step Work posiiion(Workdescription) lnterpolat Speed Timer Hand Signal Signal
numb€r ton Open/ output inpul
Close
The position above conveyor Joint 1000/6 Open bit 0
(Robotwaitslor the resistorto Wait ON
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
apparatus
Teslingposition(Robotturnson Linear 0.5sec Close bit 1 ON bit 1
the lriggersignalandwaitslill wait oN
finishing.)
The position above inspection Linear Close bil'1
apparalus(Robotlums off the OFF
signal.)
Workname:Test
ot resistor
ramnumber2
nlerpola g nal
tion Open/ oulput input
Close
Throwingposition(Robotmoves Joinl 100%
down and releaseslhe resistor
6-15
6.3.3Assemblyoperation
{2) Signall/O.
t/o Description Bit
Relaysupplycompletion Bit 0
Input
Printedwiringboardin position Bit 1
Output Relayassemblycompletion Bit 1
(3) Schematicdiagram
Figure 6.5 showsgeneral descriptionol operation.
(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.
(Repeat)
Fig.6.6 Flowchart.
(6) Programmingseat.
name:Assembly
Programname:Assemblyol relay Programnumber:1
Slep Workposition(Workdescription) Interpola Speed Timer Hand Signal Signal
number tion Open/ output input
Close
Relaychuckingposition(Robol Joint 100% Open bir 0
movesdown and graspsthe relay.) WailON
Relaychuckingposition(Robot Linear 30rn/s 0.3sec
movesdown and graspsthe relay.)
The sameposition: Conditionslep 0.5sec
(Robotwaitslor the hand closed.)
The positionaboverelaysupply
device(Robotpicks up the relay.)
The positionaboveprinted board Close bit 1
(Robotwaitslor the printed board Wait ON
in position.)
Relayassemblingposilion(Robot 0.3sec Open
movesdownand releasesthe
relay.)
The same position(Robotwaitsfor 0.5sec Open
the handopened.)
The posilionaboveprinted board Linear Open bit 1 ON
(Robotlums on the relayassembly
completion signal.)
The sameposition:Conditionstep - 0.5sec Open bit 1
(Robotturnsofl the relay assembly
completion signal.)
6.3.4Sealingoperation
(2) Signall/O.
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 decelera-
tion,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.
........
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)
Movesto steo 13 .......Jointinterpolation,
30 %
Fig.6.8 Flowchart.
Atn
(6) Programmingseat.
0-z I
6.4 Sample program (21 Movemastsrcommand
method
This section explainshow to make a programwith Movemaslercommand method.
Table 6.2 showseffective programmingprocedure.
No ltem Operationdescription
1 Workplan OAssumemainflowof work.
@Detinethe work of the robot.
Initialspeed setting
Movesabove oosition2
(4) Schematicdiagram
Figure6.10showsgeneraldescription
of operation.
Settinoto \
Positio'n10 /
b- 2.1
(5) Exampleprogram
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.
(3) Signall/O
(4) Exampleprogram
90 SP 20 ;Setsspeed20.
100 EA +900,140 ; Enablesinterruptof bit 900.
110 MO 1,O ; M o v e sa b o v ea w o r k p i e c e .
120 DS 0,0,-50 ; Moves50 mm in the -Z direction. (Linearinterpolation)
130 GT 110 ;Jumps to the line 110to returnto the position1 as no
workpiece has been detected.
140 DA 900 ;Disablesinterruptof bit 900.
150 GC ; Closeshandand it graspsthe workpiece.
160 MO 1, C , Movesto position1 with handclosed.
i
a_ra
(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
(7) Operationtlow
Figure 6.12showsthe f low of operation.
Initialspeed setting
Interruptenable
Movesto Dosition1
Interrupt?
Disablesinterruot
Fio. 6.12Flowchart
6-25
6.4.3Applicationof palletizing
CounterNo. Description
Counter11 Palette1 columncounter
Counter'l2 Palette1 row counter
Counter21 Palette2 columncounter
Counter22 Palette2 row counter
(lnitialsetup)
10 PD 50,0,0,20,0,0,0; Delinesthe aerialdistanceol travel (Z=2Omm)as position50.
Note1 )
1 5 TL 145 ; Setstoollengthat 145mm.
zv GP 10,8,10 ; Sets handopen/closeparameters.
25 P A 1 , 1 0 , 6 ; Delinesthe numberof grid pointsin the columnand row
directionsfor pallet1. (ver.10X hor.6)
30 PA 2,15,4 ; Delines the numberof gridpointsin the columnand row
directionslor pallet2. (ver.15X hor.4)
AE sG 11,1 Initializesthe columncounter1 l ol the pallet 1. (Sets 1 to the
counter.)
40 s c 1 2 , 1 Initializesthe row counter12 ol the pallet 1. (Sets 1 to the
counter.)
45 SC 21,1 Initializesthe columncounler11 of the pallet 2. (Sets 1 to the
counter.)
50 sc 22,1 Initializesthe row counter12 ol the pallet 2. (Sets 1 to the
counter.)
(Mainroutine)
100 Rc 60 Sets the numberol repeat cycles ol a loop up to line 140.
110GS 200 Calls the subroutineol pickingworkpiecesirom the 1st pallet.
120 GS 300 Calls the subroutineol settingworkpieceson the inspection
equipment.
130 GS 400 Calls the subroutineof placingworkpieceson the 2nd pallet.
140 NX Retumsto line 100.
150 ED End
o-zt
402 PI 2 ; Setsthe grid pointof the pallet2 to the position2.
404 MA 2,50,C ;The robotmovesto the sky after position2.
406 SP 8 ;The robotsets speed.
408 MO 2, C ; The robotmovesto the 2nd position.
410 GO ;The robotopensthe handand it putsthe work.
412 MA 2,50,O ; Movesto a location20 mm abovethe oosition2.
414 lC 21 ; Increments the columncounter21 of the pallet2.
416 CP 21 ; Setsthe valueol the counter21to the intemalregister.
418 EQ 16,430 ; Jumpsto line430on completingthe columnline. (compares
withvalue16.)
420 Rr Endsthe subroutine otherwise.
430 SC 21,1 counter21. (Sets1 intothe counter.)
Initializes
432 lC 22 fncrements the rowcounter22 of the oallet2.
434 RT Endsthe subroutine.
Notel) For'RV-E3J/RV-E3JM",the line10shouldbe"10 PD50,0,0,20,0,0".
(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)
Position12 Position13
(patettez)
Test device
(Patette t )
Position21 Position23
Fig.6.13 Palletizing
o- z6
(8) Operationflow
Figure 6.14 showsthe flow of operation.
(Mainroutine) (Subroutine)
Settinqof
Initialsetting speed .
parameter
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
sridpointor
Movesaboveposition30 ;:,[??tn.
Moves above posilion2
Placingworkpiece to
Incrementsrow counler
nishesro*-
Initializeesrow counter
Incrementsrow counter
Fig.6.14 Flowchart
6.4.4Exampleof connectionwith externall/O equipment
(2) Connection.
Figure6.15showsconnectionexample.
: Generalpurposeinput0 .....Switch 1
General purpose input 1 .....Switch 2
Generalpurposeinput2 .....Switch 3
o
a Generalpurposeinput3 ..-.-Switch 4
f
Generalpurposeinput4 .....Switch 5
Generalpurposeinput5 ..--.Switch6
Generalpurposeinput5 . . . . . S w i t c h7
_Generalpurposeinput7 . . . - . S w i t c h8
J
o
(l Generalpurposeoutput0 ....LED 1
o. Generalpurposeoutput1 ....LED 2
Generalpurposeoutput2 ....LED3
Generalpurposeoutput3 . . . . L E D4
!
o
Generalpurposeoutput4 . . . . L E D5
Generalpurposeoutput5 . . . . L E D5
a
Generalpurposeoutput6 ....LEU {
Generalpurposeoutput7 . . . .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)
(Main routine)
150D0 ; All LED turnsoff.
20 sP 10 ; Initializes
speed.
25 tD ; Inputs signals.
30 TB +0,100 'l
;Jumpsto the line 100when the switch is turnedon.
(Job | )
31 TB +1,200 ;Jumpsto the line 200 when the switch2 is turnedon.
Uob 2)
32 TB +2,300 ; Jumps to the line 300 when the switch 3 is turned on.
(Job 3)
33 TB +3,400 ; Jumpsto the line 400 when the switch 4 is turned on.
(Job 4)
34 TB +4,500 ; Jumps to the line 500 when the switch 5 is turned on.
(Job 5)
35 TB +5,600 ; Jumps to the line 600 when the switch 6 is turned on.
(Job 6)
36 TB +6,700 ; Jumpsto the line 700 when the switch7 is turnedon.
(Job 7)
37 TB +7,800 ; Jumpsto the line 800when the switch8 is turnedon.
(Job 8)
38 GT 25 ;The robotjumps to the line 25 when all switchesare off.
(Eachoperationroutine)
100 0B +0 ; Turnson the 1st LED.
105 MO 10
(Job started)
; Carriesout the 1st operation. t_
J'*
1stoperation.
:
198 0B -0 ; Turnsolf the 1st LED.
(Jobcompleted)
199 GT 25 ; Jumpsto the line 25.
800 0B +7 ; Turnson the 8th LED.
(Job started)
805 MO 80 ; Carriesout the 8th operation. -, operation.
898 0B -7 ; Turnsofl the 8th LED.
(Job completed) 1*"
899 GT 25 ; Jumpsto the line 25.
O-JJ
6.5 Alarmlist.
ALARMNO, ERRORGENRATING
CAUSEANDITS REMEDY
0100-0120 Cause) Erroroccursin the powersupply
Remedy) Attertumingott power,turnon the poweragain.
0200-0266 Cause) Encoderdetectionis laulty.
Remedy) Afte|tuming ofl power,turn on the power again.
lf the enor stillpersists,resetthe encoderandset originpoint.
0200-0206 Encorderdatarangeover
0210-0216 Encorderdala error
0220-0226 Encorderdatainitializationerror
0230-0236 Encorderdalacomunication error
0240-0246 Encorderdatamisscountenor
0250-0256 Encorderdalalhermalenor
0260-0266 Encorderdala circuitenor.
Note) The lowestdigit meansioint number.
0500-0506 2-portmemorylails.
0510-0516 Servomemorylails.
0520-0526 Watchdog time out
0530-0536 Amplitier,/encordernolconnected
0540-0546 Gale arrayerror
0550-0556 A/D @nverlerunusual
0560-0566 Overcunent
Note) The lowestdigit meansiointnumber.
'1220
Cause) Emergencyslop signalis input, (leachingbox)
Remedy) Inaclivatethe emergencystop and resel the error.
1230 Cause) The leaching box is connectedwith the EMG. cancel switch ol the
Remedy) controllerpushed. Remove the
teachingbox when not used. Releasethe EMG. cancel switch ot lhe
controller when using the teaching box.
4560 Cause) The position where the robot can't reach is taught
Bemedy) Teach the position after moving the robot lo lhe movable range.
4600 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. Correct the
position data or the structure lla9.
4700 Cause) Can't calculate the posture of intermediate position between the
Remedy) startposilionand lhe destinationposition.
Add the position with posture between the siart position and the
destination position.
F.-?7
ALARM NO. ERROR
G E N E R A T I NCGA U S EA N DR E M E D Y
Trouble shooting.
A trouble A confirmation
matter Troubleshooting
Powersource (1)Checkpowerplug. (1)Connect it surely.
is notready. (2)Checkfuse. (2)Change fuse.Reterencemanual/
5.3.6explainshowto replaceit.
(3)Checkvoltageot power (3)Supplypowersourcewith correct
source. voltage.
Robotdoesnot (1)Checkcommand. (1)Checkcommandnameand format.
work. (2)Checkcable. (2)Connect
cable surely.
(3)Checkemergencystop (3)Reset
emergencystopswitch.
switch.
(4)Checkmovable (4)Movethe robotintothe movable
range. range.
(S)Checkcollision (s)Movethe robotto avoidcollision.
betweenthe robotarm
and mechanical
stopperor external
machines.
(6)Checkmotorpower (6)Connect
cabtesurely.
cable.
(7)Checkan elilernalstop/ (7)Resetstop/ emergencyswitch.
emergencystop.
Abnormal (1)Checkinstallation
boltsof (1)Fasten screwssecurely.
sound robotarm.
develops. (2)Checksoundfrom reduction(2)Breakage of reductiongearsis
Vibrationis gears.(HarmoicDrives)Check expected.Contactour service
large. vibrationlrom reductiongears. division.
Outputof l/O (1)Checkvoltageand polarity (1)Connect the robotwith correct
does notwork. of e)iternalpowersource. voltagesourceand polarity.
(2)CheckOD and OB
command. (2)Usecommandscorrectly.
(3)Checktransistordamage
lrom loadshortcircuit. (3)Contactourservicedivision.
Robotworked (1)Checkalarm. (1)Contactourservicedivision.
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
shoulderjointandelbowioint.
RV-E2,/RV-E2M
BELOW
RV.E3J/RV.E3JM
BELOW
Fig.6.18 ABoVE/BELOW.
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...............
.... .....6.34
Resening the alarm. ...........................
2-8. 2-25
B
Replacing
the backupbat|ery.......... ....................5-14
c
.3-1
ln.loY- l
P
handinterfac€
Dneumatic ............. ...J-8
S
Sampleprogram.
Settingthedock..........
Settingthe inlerpolation
method ............2-33
Settingtheorigin ........1-11
Settingthetimer. ........2-36
solenoid valvesel .....-...1-4
Speed
Jogspeed........... ...............................2-18
Settingthespeed ..............................2-94
Start, Restart
Startupandrestarting............. 2-7,2-23
Screentree....-.--. ...............2-20
Timingchartlor exlemaloperations ........+17
Toofing............... ........4-ZO
Troubleshooting .........S39
Index-2
A unsuBtsHtELEcrRtc
coRpoRATroN
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