1CD Yrc1000
1CD Yrc1000
1CD Yrc1000
INSTRUCTIONS
FOR INFORM LANGUAGE
Upon receipt of the product and prior to initial operation, read these instructions thoroughly, and
retain for future reference.
MOTOMAN INSTRUCTIONS
MOTOMAN- INSTRUCTIONS
YRC1000 INSTRUCTIONS
YRC1000 OPERATOR’S MANUAL (GENERAL) (SUBJECT SPECIFIC)
YRC1000 MAINTENANCE MANUAL
YRC1000 ALARM CODES (MAJOR ALARMS) (MINOR ALARMS)
The YRC1000 operator’s manual above corresponds to specific usage. Be sure to use the appropriate manual.
The YRC1000 operator’s manual above consists of “GENERAL” and “SUBJECT SPECIFIC”.
The YRC1000 alarm codes above consists of “MAJOR ALARMS” and “MINOR ALARMS”.
178649-1CD
2
CAUTION
• In some drawings in this manual, the protective covers or shields
are removed to show details. Make sure to install all the covers and
shields in place before operating this product.
• YASKAWA is not responsible for incidents arising from unauthorized
modification of its products. Unauthorized modification voids the
product warranty.
NOTICE
• The drawings and photos in this manual are representative
examples and differences may exist between them and the
delivered product.
• YASKAWA may modify this model without notice when necessary
due to product improvements, modifications, or changes in
specifications. If such modification is made, the manual number will
also be revised.
• If your copy of the manual is damaged or lost, contact a YASKAWA
representative to order a new copy. The representatives are listed
on the back cover. Be sure to tell the representative the manual
number listed on the front cover.
ii
Notes for Safe Operation
Read this manual carefully before installation, operation, maintenance, or
inspection of the YRC1000.
In this manual, the Notes for Safe Operation are classified as “DANGER”,
“WARNING”, “CAUTION”, or “NOTICE”.
iii
DANGER
• Before operating the manipulator, make sure the servo power is
turned OFF by performing the following operations. When the servo
power is turned OFF, the SERVO ON LED on the programming
pendant is turned OFF.
– Press the emergency stop buttons on the front door of the
YRC1000, on the programming pendant, on the external control
device, etc.
– Disconnect the safety plug of the safety fence. (when in the play
mode or in the remote mode).
If operation of the manipulator cannot be stopped in an emergency,
personal injury and/or equipment damage may result.
Fig. : Emergency Stop Button
iv
WARNING
• Perform the following inspection procedures prior to conducting
manipulator teaching. If there is any problem, immediately take
necessary steps to solve it, such as maintenance and repair.
– Check for a problem in manipulator movement.
– Check for damage to insulation and sheathing of external wires.
• Always return the programming pendant to the hook on the
YRC1000 cabinet after use.
If the programming pendant is left unattended on the manipulator, on a
fixture, or on the floor, etc., the Enable Switch may be activated due to
surface irregularities of where it is left, and the servo power may be
turned ON. In addition, in case the operation of the manipulator starts,
the manipulator or the tool may hit the programming pendant left
unattended, which may result in personal injury and/or equipment
damage.
v
Descriptions of the programming pendant keys, buttons, and displays are
shown as follows:
Registered Trademark
In this manual, names of companies, corporations, or products are
trademarks, registered trademarks, or brand names for each company or
corporation. The indications of (R) and TM are omitted.
vi
Contents
1.7.2 Register, Edit and Delete of the Structured Language ....................................... 1-21
1.7.4 Changes in the Format when Save the data to the External Device .................. 1-32
vii
Contents
ARATIOF....................................................................................................... 2-23
ANTOUT........................................................................................................ 2-24
viii
Contents
ix
Contents
RELEXPR.................................................................................................... 2-296
TRAP........................................................................................................... 2-308
x
1 Outline of INFORM
1.1 About INFORM
1 Outline of INFORM
1.1.1 INFORM
The robot programming language used with YRC1000 is called INFORM.
INFORM is composed of the instruction and the additional item (tag and
numeric data).
MOVJ VJ=50.00
Tag Numeric data
Instruction
Additional item
Instruction
Type Content
Example
I/O Instruction It is the instruction used to control the I/O. DOUT, WAIT
Control It is the instruction used to control the processing and JUMP, TIMER
Instruction operation.
Operating It is the instruction by which the variables, etc. are used ADD, SET
Instruction and operated.
Move It is an instruction concerning the movement and the MOVJ, REFP
Instruction speed.
Shift Instruction It is an instruction used when a present teaching position SFTON,
is shifted. SFTOF
Instruction It is an instruction which adheres to the instruction. IF, UNTIL
which adheres
to instruction
Work It is an instruction concerning work, such as arc welding ARCON,
Instruction and handling. WVON
Optional It is an instruction concerning optional functions. It can -
Instruction only be used when the function is available.
1-1
1 Outline of INFORM
1.1 About INFORM
1-2
1 Outline of INFORM
1.1 About INFORM
1-3
1 Outline of INFORM
1.1 About INFORM
1-4
1 Outline of INFORM
1.2 Registration of Instructions
1.2.1 Registration
To register instructions, press [INFORM LIST] while the job content
window is shown.
1. Select {JOB} under the main menu
2. Select {JOB}
– The job content window appears.
3. Press [INFORM LIST]
– The job instruction group list dialog box appears.
1-5
1 Outline of INFORM
1.2 Registration of Instructions
SUPPLE
For more details, refer to “Editing ” in YRC1000 GENERAL
-MENT OPERATOR’S MANUAL(RE-CSO-A051).
1-6
1 Outline of INFORM
1.3 Detail Edit Window
Instruction
Additional item
Instructions
Indicates the instruction.
Additional Item
Indicates the additional item.
The tag selection dialog box appears when the cursor is on the addi-
tional item and [SELECT] is pressed.
When “NOT USED” is selected, the tag is omitted (if it can be omitted).
1-7
1 Outline of INFORM
1.4 Registration of Expression
1.4.1 Expression
With INFORM, an expression can be registered to the SET instruction.
Operator
Starting parentheses
Ending parentheses
- (negative) Data
Starting parentheses
Move the cursor to the parentheses, and press [SELECT]. Each time
[SELECT] is pressed, three types of parentheses show up in the follow-
ing order.
- (negative)
Move the cursor to the desired position, and press [SELECT]. Each
time [SELECT] is pressed, the negative is alternately added and omitted
and vice versa.
1-8
1 Outline of INFORM
1.4 Registration of Expression
Data
The data type of the expression is indicated. The following types of data
can be registered.
• Constant (byte type, integer type, double-precision type, and real-
number type)
• Byte type variable (B, B[], LB, and LB[])
• Integer type variable (I, I[], LI, and LI[])
• Double-precision type variable (D, D[], LD, and LD[])
• Real-number type variable (R, R[], LR, and LR[])
Move the cursor to the desired position, and press [SELECT] to enter
the numeric value input status. Change the numeric value of the con-
stant data and the variable number.
Change the data type by using the Data type selection icon.
Data type selection icon
Change the data type in the following manner.
Move the cursor to the data type to be changed, and press [SELECT].
A dialog box with the selectable data types is displayed. Move the cur-
sor to the data type to be selected and press [SELECT].
Ending parentheses
Move the cursor to the parentheses and press [SELECT]. Each time
[SELECT] is pressed, three types of parentheses show up in the follow-
ing order.
Operator
Move the cursor to the operator to be changed and press [SELECT].
The operator selection dialog box is displayed. Move the cursor to the
operator to be selected and press [SELECT].
1-9
1 Outline of INFORM
1.4 Registration of Expression
1.4.2 Registration
1. Select {JOB} under the main menu
2. Select {JOB}
3. Press [INFORM LIST]
4. Select “ARITH”
5. Select “SET”
6. Press [SELECT]
– The DETAIL EDIT window for the SET instruction appears.
1-10
1 Outline of INFORM
1.4 Registration of Expression
8. Select “EXPRESS”
– The DETAIL EDIT window for expression appears.
1-11
1 Outline of INFORM
1.5 Registration of Conditional Statement
Conditional statement
Result strored destination Conditional statement Conditional statement
4 Logical operator
5 Ending parentheses
1 Starting parentheses
Move the cursor to this area. Every time [SELECT] is pressed,
the selected parenthesis is switched in the following order.
2 Conditional statement
Conditional statements are shown in this area. As for the contents
which can be registered as the conditional statement, refer to
RELEXPR inchapter 2.6 “Instruction Which Adheres to an Instruction”
3 Conditional statement edit icon
The DETAIL EDIT window of conditional statement is shown.
Move the cursor to this icon, press [SELECT] and the detail edit
window of the conditional statement (RELEXPR) is shown.
The conditional statement is edited in this window.
1-12
1 Outline of INFORM
1.5 Registration of Conditional Statement
4 Ending parentheses
Move the cursor to this area. Every time [SELECT] is pressed,
the selected parenthesis is switched in the following order.
5 Logical operator
The logical operator is shown in this area.
Move the cursor to this area, press [SELECT] and the selection dialog
box of the logical operator is shown. Move the cursor to the logical
operator to be changed and press [SELECT].
1-13
1 Outline of INFORM
1.5 Registration of Conditional Statement
1.5.2 Registration
In the following procedures, the registration of the conditional statement is
explained with a example which shows how to edit the LOGICEXP
instruction in SET instruction. In the same procedures, the registration of
the conditional statement is available for IFEXPRESS, FOREEXPRESS,
LOGICEXP, IFTHEN, ELSEIF, and WHILE instructions.
1. Select {JOB} under the main menu.
2. Select {JOB}.
3. Press [INFORM LIST].
4. Select “ARITH”.
5. Select “SET”.
6. Press [SELECT].
– The DETAIL EDIT window of SET instruction is shown.
1-14
1 Outline of INFORM
1.5 Registration of Conditional Statement
9. Move the cursor to the conditional edit icon and press [SELECT].
– The DETAIL EDIT window of the conditional statement (RELEXPR
instruction) is shown.
1-15
1 Outline of INFORM
1.5 Registration of Conditional Statement
1-16
1 Outline of INFORM
1.6 INFORM Syntax
P/LP/P[]
2 Variable No. A B
/LP[]
3 Variable No.
EX/LEX
4 /EX[] Variable No.
/LEX[]
A B
BP/LBP EX/LEX
7 /BP[] Variable No. 8 /EX[] Variable No.
/LBP[] /LEX[]
C D
D E
E END
14 NWAIT 15 UNTIL
1-17
1 Outline of INFORM
1.6 INFORM Syntax
MOVJ
VJ=
Indicates the numeric data. In this example, “Joint speed” is set with the unit %.
Joint Speed(%)
NWAIT
1-18
1 Outline of INFORM
1.6 INFORM Syntax
• NO.
Indicates the tag number. Corresponds to the number in the
INFORM syntax.
• Tag
Indicates the surface description of the tag.
• Explanation
Provides an explanation of the tag.
1-19
1 Outline of INFORM
1.7 The Structured Language
1-20
1 Outline of INFORM
1.7 The Structured Language
1-21
1 Outline of INFORM
1.7 The Structured Language
1-22
1 Outline of INFORM
1.7 The Structured Language
1-23
1 Outline of INFORM
1.7 The Structured Language
2. Press {SELECT}, while the cursor of the input buffer is in the selected
instruction.
– The DETAIL EDIT window of the conditional statement appears.
Operator
Starting parenthese
Ending parenthese
Conditional statement
Edit conditional statement
1-24
1 Outline of INFORM
1.7 The Structured Language
The following table shows the contents which are configurable in the
DETAIL EDIT window.
1-25
1 Outline of INFORM
1.7 The Structured Language
1-26
1 Outline of INFORM
1.7 The Structured Language
④ Operator
Add (OR connection, AND connection) or delete the conditional judgment
statement.
Select NON : Delete the all statement lines below the selected position.
1-27
1 Outline of INFORM
1.7 The Structured Language
Copy or cut
The structured language cannot be copied or cut without selecting the
another instruction which makes a pair with the selected structured
language.
Structured Language The motion when copy/cut the instruction
SWITCH Cannot be copied/cut if the ENDSWITCH instruction
which makes a pair with the selected SWITCH
instruction is not selected at the same time.
CASE This instruction is copied/cut by itself.
DEFAULT This instruction is copied/cut by itself.
ENDSWITCH Cannot be copied/cut if the SWITCH instruction which
makes a pair with the selected ENDSWITCH
instruction is not selected at the same time.
WHILE Cannot be copied /cut if the ENDWHILE instruction
which makes a pair with the selected WHILE
instruction is not selected at the same time.
ENDWHILE Cannot be copied/cut if the WHILE instruction which
makes a pair with the selected ENDWHILE instruction
is not selected at the same time.
FOR Cannot be copied/cut if the NEXT instruction which
makes a pair with the selected FOR instruction is not
selected at the same time.
NEXT Cannot be copied/cut if the FOR instruction which
makes a pair with the selected NEXT instruction is not
selected at the same time.
IFTHEN Cannot be copied/cut if the ENDIF instruction which
makes a pair with the selected IFTHEN instruction is
not selected at the same time.
1-28
1 Outline of INFORM
1.7 The Structured Language
Comment out
Some of the instructions cannot comment out the structured language
without selecting the another instruction making a pair. The edit lock has
no limitation.
Structured Language The motion when comment out the instruction
SWITCH Cannot be commented out if the ENDSWITCH
instruction which makes a pair with the selected
SWITCH instruction is not selected at the same time.
CASE Cannot be commented out if the all instructions
between SWITCH and ENDSWITCH including this
CASE instruction are not selected.
DEFAULT Cannot be commented out if the all instructions
between SWITCH and ENDSWITCH including this
DEFALT instruction are not selected.
ENDSWITCH Cannot be commented out if the SWITCH instruction
which makes a pair with the selected ENDSWITCH
instruction is not selected at the same time.
WHILE The ENDWHILE instruction which makes a pair with
the selected WHILE instruction is commented out at
the same time.
ENDWHILE The WHILE instruction which makes a pair with the
selected ENDWHILE instruction is commented out at
the same time.
FOR The NEXT instruction which makes a pair with the
selected FOR instruction is commented out at the
same time.
NEXT The FOR instruction which makes a pair with the
selected NEXT instruction is commented out at the
same time.
IFTHEN Cannot be commented out when the both IFTHEN and
ENDIF making a pair are selected at the same time.
ELSEIF Cannot be commented out if the all instructions
between IFTHEN and ENDIF including this ELSEIF
instruction are not selected.
ELSE Cannot be commented out if the all instructions
between IFTHEN and ENDIF including this ELSE
instruction are not selected.
ENDIF Cannot be commented out if the IFTHEN instruction
which makes a pair with the selected ENDIF
instruction is not selected at the same time.
1-29
1 Outline of INFORM
1.7 The Structured Language
012
5'6$
(14+61
(14+61
+0%$
0':6+
0':6+
'0&
The level of multiplexing for the structured language is set by the following
parameter.
Parameter Description Initial
value
S2C694 Structured language Multiplexing max value 0
1 to 20 : able to be multiplexing level 1 to 20
Except above : able to be multiplexing till level 10
The following error is shown if the multiplexing above the set level is
attempted.
Error2271: Nesting level limit over
Error sub-code: Multiplexing level max value +1
The added instruction is shown with the indent. Therefore, the difference
of the level can be confirmed. The indent length per 1 level is set by the
following parameter..
Parameter Description Initial value
S2C693 Structured language 0
Number of the indent character when process the
multiplexing of the structured language.
1 to 4 : the length of the indent 1 to 4 bytes
0 : the length of the indent 1 byte.
1-30
1 Outline of INFORM
1.7 The Structured Language
1-31
1 Outline of INFORM
1.7 The Structured Language
1.7.4 Changes in the Format when Save the data to the External Device
If the job with the structured language is saved in the external device,
there is the case that a format of instruction is different from the
expression in the job content window.
Format in the JOB CONTENT window Format when save into the external device
ELSE ELSE
ENDIF ENDIF
DOUT OT#(2) ON
ELSE
DOUT OT#(3) ON
ENDIF
DOUT OT#(1) ON
DOUT OT#(2) ON
ELSE
DOUT OT#(3) ON
ENDIF
1-32
1 Outline of INFORM
1.7 The Structured Language
Format in the JOB CONTENT window Format when save into the external device
WHILE ( IN#(1) =ON ) WHILEEXP IN#(1)=ON
1-33
2 INFORM Explanation
2.1 I/O Instructions : DOUT
2 INFORM Explanation
DOUT
SUBSET STANDARD EXPANDED
Function
Syntax
3 OGH# (
Output group )
No.
B/LB/
A 5 B[]/LB[] Variable No. B
6 ON/OFF
7 INVERT
B/LB/
C 8 B[]/LB[] Variable No. D
9
Byte type
constant
10 INVERT
D/LD/
E 11 D[]/LD[] Variable No. F
12 Double-precision
type constant
2-1
2 INFORM Explanation
2.1 I/O Instructions : DOUT
Explanation
Output signal
SUPPLE
-MENT Output signal OT#(xx) is 1 point, OGH#(xx) is 1 group 4 points, and OG#(xx) is 1 group 8
points.
The user group output OGU#(x) consists of the output signal which is set in the user group
output setting file. For details and the setting procedure, refer to “User Group Input and
Output” in YRC1000 INSTRUCTIONS (RE-CTO-A221).
When OT# (output number) is selected from the table in part 1 of this
Explanation, one of the tags must be selected from the following table.
2-2
2 INFORM Explanation
2.1 I/O Instructions : DOUT
When OGU# (User group output number) is selected from the table in part
1 of this Explanation, one of the tags must be selected from the following
table.
Example
ON
2-3
2 INFORM Explanation
2.1 I/O Instructions : DOUT
2-4
2 INFORM Explanation
2.1 I/O Instructions : DIN
DIN
SUBSET STANDARD EXPANDED
Function
The signal status is read in the byte type/double precision type variable.
Syntax
B/LB/
DIN 1 Variable No. 3 IN# ( Input No. ) END
B[]/LB[]
Output group
6 OG# ( )
No.
7 Specific
SIN# ( )
input No.
Specific
8 SOUT# ( )
output No.
Output group
10 OGH# ( )
No.
User group
12 OGU# ( )
Output No.
2-5
2 INFORM Explanation
2.1 I/O Instructions : DIN
Explanation
2-6
2 INFORM Explanation
2.1 I/O Instructions : DIN
Input signal
SUPPLE
-MENT
Input signal IN#(xx) is 1 point, IGH#(xx) is 1 group 4 points, and IG#(xx) is 1group 8 points.
The user group input IGU#(x) consists of the input signal which is set in the user group
input setting file. For details and the setting procedure, refer to “User Group Input and Out-
put” in YRC1000 INSTRUCTIONS (RE-CTO-A221).
2-7
2 INFORM Explanation
2.1 I/O Instructions : DIN
Example
ON
2-8
2 INFORM Explanation
2.1 I/O Instructions : WAIT
WAIT
Function
Wait until the various statuses coincide with the specified status.
Syntax
B/LB/
WAIT 1 IN# ( Input No. ) 13 = 14 Variable No. A
B[]/LB[]
3 SIN# ( Specific )
input No.
Specific
4 SOUT# ( )
output no.
B/LB/
9 Variable No.
B[]/LB[]
11 User group 21
OGU# ( ) <> Double-precision
output No. 27
type constant
22 >
23 >=
24 <
25 <=
12 FOREXPRESS
A END
28 T= Time (sec)
2-9
2 INFORM Explanation
2.1 I/O Instructions : WAIT
Explanation
2-10
2 INFORM Explanation
2.1 I/O Instructions : WAIT
2. =
When an IN# (input number), OT# (output number), SIN# (specific input
number), or SOUT# (specific output number) is selected from the table in
part 1 of this Explanation, add the following tag.
When an IN# (input number), OT# (output number), SIN# (specific input
number), or
SOUT# (specific output number) is selected from the table in part 1 of this
Explanation, one of the tags must be selected from the following table
after the equal sign (=) is added from the table in part 2 of this
Explanation.
4. =/<>
When an IG# (input group number), OG# (output group number), IGH#
(input group number), OGH# (output group number), B variable number,
LB variable number, B [array number], or LB [array number] is selected
from the table in part 1 of this Explanation, one of the tags must be
selected from the following table.
2-11
2 INFORM Explanation
2.1 I/O Instructions : WAIT
When an IGU# (user group input number), or OGU# (user group output
number) is selected from the table in part 1 of this Explanation, one of the
tags is selected from the following table
When either OG# (output group number), or OGH# (output group number)
is selected from the table in part 1 of this Explanation, one of the tags is
selected from the following table after one of the signs (= / <> / > / >= / < /
<=) is added from the table in part 6 of this Explanation.
8. T=time
2-12
2 INFORM Explanation
2.1 I/O Instructions : WAIT
Example
ON
Waits until GP input signal nos.5 and 7 are turned off and GP input
signal nos. 6 and 8 are turned on.
(4) Example of press machine handling.
2-13
2 INFORM Explanation
2.1 I/O Instructions : PULSE
PULSE
SUBSET STANDARD EXPANDED
Function
The pulse signal is output to the GP output signal only for the specified
time.
The PULSE instruction executes the next instruction without waiting for
the completion of pulse output (the specified output time).
However, in case the pulse output of the previous executed PULSE
instruction is not completed, this time PULSE instruction is executed after
the completion when the instruction is executed continuously for the same
signal.
Syntax
Output B/LB/
2 OG# ( group No. ) 5 Variable No.
B[]/LB[]
Output Byte type
3 OGH# ( group No. ) 6
constant
8 Double-precision
type constant
A END
2-14
2 INFORM Explanation
2.1 I/O Instructions : PULSE
Explanation
When OG# (output group number) or OGH# (output group number) in the
above table is selected from the table in part 1 of this Explanation, one of
the tags must be selected from the following table.
2-15
2 INFORM Explanation
2.1 I/O Instructions : PULSE
When OGU# (User group output number) is selected from the table in part
1 of this Explanation, one of the tags is selected from the following table.
4. T=Time
5. IFEXPRESS
2-16
2 INFORM Explanation
2.1 I/O Instructions : PULSE
Example
Pulse signal
0.3sec
ON
The pulse signal is output for 0.30 seconds to the GP output signal
No. 20 and 21.
2-17
2 INFORM Explanation
2.1 I/O Instructions : AOUT
AOUT
SUBSET STANDARD EXPANDED
Function
Outputs the set voltage value to the general-purpose analog output port.
Syntax
Explanation
Example
2-18
2 INFORM Explanation
2.1 I/O Instructions : ARATION
ARATION
SUBSET STANDARD EXPANDED
Function
Syntax
Analog output
ARATION 1 AO# ( port No. ) A
2 Basic voltage
BV=
(V)
A B C END
B C
Explanation
2-19
2 INFORM Explanation
2.1 I/O Instructions : ARATION
2. BV=Basic voltage
3. V=Basic speed
4. OFV=Offset voltage
5. FINE
The following tag can be added or omitted.
6. DELAY=TIME
When the FINE is selected from the table in part 5 of this Explanation, the
following tag must be added.
2-20
2 INFORM Explanation
2.1 I/O Instructions : ARATION
To regulate the thickness of the sealing or paint, etc. when sealing and painting, the
amount of discharged material should be adjusted according to the motion speed of the
manipulator.
The analog output function corresponding to the speed automatically changes the analog
output value according to the manipulator’s motion speed.
ARATION and ARTIOF instructions are used to carry out this function.
On the base of the set value for the ARATION instruction, the output characteristic, which
decides the relation between the motion speed and the analog voltage, is calculated. The
analog output corresponding to speed is output according to this output characteristic.
Analog output
Basic viltage
Offset voltage
Motion speed
0 Basic speed
Example
(1)
MOVJ VJ=50.00 Output voltage (V)
ARATION AO#(1) BV=7.00 V=150.0 OFV=-10.0 7.00
MOVL V=50.0 4.33
MOVC V=100.0 1.33
MOVC V=100.0 1.33
MOVC V=100.0 1.33
MOVL V=200.0 12.67
2-21
2 INFORM Explanation
2.1 I/O Instructions : ARATION
Analog voltage
Basic voltage
Motion speed
50 100 150 200
(mm/sec)
Basic speed
Offset voltage
2-22
2 INFORM Explanation
2.1 I/O Instructions : ARATIOF
ARATIOF
SUBSET STANDARD EXPANDED
Function
Syntax
Analog output
ARATIOF 1 AO# (
port No.
) END
Explanation
Example
2-23
2 INFORM Explanation
2.1 I/O Instructions : ANTOUT
ANTOUT
The ANTOUT instruction can be used only with parameter S4C008.
Function
Carries out the anticipation output function to adjust the timing of the
signal output.
2-24
2 INFORM Explanation
2.1 I/O Instructions : ANTOUT
Syntax
Anticipation
ANTOUT 1 AT# (
output No.
) 3 ON/OFF A
Anticipation
B/LB/B[]/
2 AG# ( group output ) 4 LB[]
Variable No.
No.
Byte type
5 constant
A END
Anticipation
6 ANT=
time (s)
Explanation
2-25
2 INFORM Explanation
2.1 I/O Instructions : ANTOUT
Set the number of the output signal for the anticipation output in the ANTICIPATION OUT-
PUT display.
D
E
2. ON/OFF
2-26
2 INFORM Explanation
2.1 I/O Instructions : ANTOUT
4. ANT=Anticipation time
5. ANTDIS=Distance
2-27
2 INFORM Explanation
2.1 I/O Instructions : ANTOUT
Example
2-28
2.2 Control Instruction : JUMP
JUMP
SUBSET STANDARD EXPANDED
Function
Syntax
Label character
JUMP 1 * string D E A
B/LB/
2 LABEL: 11 Variable No.
B[]/LB[]
S/LS/
13 Variable No.
S[]/LS[]
3 JOB:
User
17 UF# coordinate No.
B/LB/
4 Variable No.
B[]/LB[]
6 QUE 18 IF
I/LI/ 19 IFEXPRESS
7 Variable No.
I[]/LI[]
D/LD/
8 Variable No.
D[]/LD[]
B C
S/LS/
10 Variable No.
S[]/LS[]
Job registration
B 9 JET# 14 ENTRY Registration No. C
table No.
D E
2-29
2.2 Control Instruction : JUMP
Explanation
2-30
2.2 Control Instruction : JUMP
3. ENTRY=Registration number
When a *label character string “LABEL” is selected from the table in part
1 of this Explanation, add the following tag.
2-31
2.2 Control Instruction : JUMP
5. LBLDF=Search direction
When a *label character string “LABEL” is selected from the table in part 1
of this Explanation, the following tag can be added.
7. IF / IFEXPRESS
Example
(1) JUMP *1
Jumps to *1.
2-32
2.2 Control Instruction : CALL
CALL
SUBSET STANDARD EXPANDED
Function
Syntax
CALL 1 JOB: D
B/ LB/
2 Variable No.
B[]/ LB[]
4 QUE
E A
A END
D/ LD/
6 Variable No.
D[]/ LD[]
11 IF
B C
12 IFEXPRESS
S/LS/
7 Variable No.
S[]/LS[]
Job registration
B 8 JET# ( ) 9 ENTRY= Registration No. C
table No.
2-33
2.2 Control Instruction : CALL
Integer type
10
constant
Double-precision
11
type constant
Real type
12
constant
Character type
13
constant
2-34
2.2 Control Instruction : CALL
Explanation
2-35
2.2 Control Instruction : CALL
2. ENTRY=Registration number
4. IF/IFEXPRESS
5. Argument
2-36
2.2 Control Instruction : CALL
Example
The CALL can pass 8 arguments to the called job. Also, the RET
instruction can return the one return value to the calling job. This enables
the transfer of information without using the global variable to pass
information. Thus, it makes the management of information easier, the
number of lines of the calling job fewer, and the process simpler.
2-37
2.2 Control Instruction : CALL
<Calling Job>
NOP
SET B000 1
SET B001 5
SET B002 7
CALL JOB: WAIT_INPUT
:
<Called Job>
Job name: WAIT_INPUT
NOP
WAIT IN#(B000) ON
WAIT IN#(B001) ON
WAIT IN#(B002) ON
RET
This makes the calling job program long, and the global variable will be
used only for this information transfer.
By using the CALL instruction with argument, the above can be described
as follows:
<Calling Job>
NOP
CALL JOB: WAIT_INPUT (1, 5, 7)
:
<Called Job>
Job name: WAIT_INPUT
NOP
GETARG LB000, IARG#(1)// INPUT NUMBER 1 (receiving the argument 1)
GETARG LB001, IARG#(2)// INPUT NUMBER 2 (receiving the argument 1)
GETARG LB002, IARG#(3)// INPUT NUMBER 3 (receiving the argument 1)
WAIT IN#(LB000) ON
WAIT IN#(LB001) ON
WAIT IN#(LB002) ON
RET
This makes the calling job program only one-line long. Also, the called job
can be made by using only the local variable.
2-38
2.2 Control Instruction : CALL
<Calling Job>
NOP
SET B000 1
SET B001 2
CALL JOB: ADD_REG
GET I0100 I099 ; Returns the calculation result to I099
<Called Job>
Job name: ADD_REG
NOP
GETREG I000 MREG#(B000)
GETREG I099 MREG#(B001)
ADD I099 I000
RET
By using the CALL instruction with argument and the RET instruction with
return value, the above can be described as follows:
<Calling Job>
NOP
CALL JOB: ADD_REG (1, 2)
GETS I001 $RV ; Receives the addition result as the return value at $RV
<Called Job>
Job name: ADD_REG
NOP
GETARG LB000 IARG#(1)// Register 1
GETARG LB001 IARG#(2)// Register 2
GETREG LI000 MREG#(LB000)
GETREG LI001 MREG#(LB001)
ADD LI001 I000
2-39
2.2 Control Instruction : CALL
Thus, the global variable to receive and pass the answer is no longer
necessary.
5. 2 Operating Procedure
3. Define arguments.
As shown below, select the pull-down menu {DISPLAY}, then
{ARGUMENT INFO}.
2-40
2.2 Control Instruction : CALL
2-41
2.2 Control Instruction : CALL
NOP
GETARG LB000 IARG#(1) //OUTPUT1
GETARG LB000 IARG#(2) //OUTPUT2
GETARG LB000 IARG#(3) //OUTPUT3
GETARG LB000 IARG#(4) //OUTPUT4
GETARG LB000 IARG#(5) //OUTPUT5
GETARG LB000 IARG#(6) //OUTPUT6
GETARG LB000 IARG#(7) //OUTPUT7
GETARG LB000 IARG#(8) //OUTPUT8
DOUT OT#(LB000) OFF
DOUT OT#(LB001) OFF
DOUT OT#(LB002) OFF
DOUT OT#(LB003) OFF
DOUT OT#(LB004) OFF
DOUT OT#(LB005) OFF
DOUT OT#(LB006) OFF
DOUT OT#(LB007) OFF
RET
(3) Describe the calling job.
As shown below, call “MULTI_OUTPUT_RESET” in the job.
In this case, if the called job has 8 arguments, 8 arguments must
be listed here. If the numbers are not the same, “Alarm 4608:
WRONG EXECUTION OF GETARG INST” occurs at execution.
2-42
2.2 Control Instruction : CALL
3. Define arguments.
As shown below, define 2 arguments.
2-43
2.2 Control Instruction : CALL
2-44
2.2 Control Instruction : CALL
JOB Stack
When CALL instruction is executed, a specified job is called
up and the information of the calling job is stored in the JOB
stack. By executing END or RET instruction, the job execu-
tion goes back to the calling job, referring to the information
in the JOB stack.
NOTE
2-45
2.2 Control Instruction : CALL
NOTE At this time, the control goes back without going through the
job which JUMP:JOB instruction is executed, so the manip-
ulator may make an unintentional motion. If there isn’t any
special reasons, use CLEAR STACK instruction before or
after the JUMP:JOB instruction to clear the JOB stack.
2-46
2.2 Control Instruction : CALL
2-47
2.2 Control Instruction : TIMER
TIMER
SUBSET STANDARD EXPANDED
Function
Syntax
Explanation
1. T=timer
Example
2-48
2.2 Control Instruction : *(LABEL)
*(LABEL)
SUBSET STANDARD EXPANDED
Function
Syntax
Explanation
1. *Label strings
Example
(1) NOP
*1
JUMP JOB:1 IF IN#(1)=ON
JUMP JOB:2 IF IN#(2)=ON
Repeat
JUMP *1
END
IF GP input signal No.1 and No.2 are off, if loops infinitely between
“*1” and “JUMP *1”.
NOTE The label is effective only in the same job. It does not jump
to the same label in other jobs.
2-49
2.2 Control Instruction : ’(COMMENT)
’(COMMENT)
SUBSET STANDARD EXPANDED
Function
Syntax
Explanation
1. 'Comment strings
Example
(1) NOP
'Waiting Position
MOVJ VJ=100.00
MOVJ VJ=100.00
MOVJ VJ=25.00
'Welding Start
ARCON ASF#(1)
MOVL V=138
'Welding end
ARCOF
MOVJ VJ=25.00
'Waiting Position
MOVJ VJ=100.00
END
The comment clarifies the job content.
2-50
2.2 Control Instruction : RET
RET
SUBSET STANDARD EXPANDED
Function
Syntax
Argument EN D
B/ LB/ 1 IF
3 Variable No.
B[] / L B[]
2 IFEXPRESS
I/ L I/ I[]
4 Variable No.
/ L I[]
D/ L D/
5 Variable No.
D[] / L D[]
R/ L R/
6 R[] / L R[] Variable No.
S/ LS/
7 Variable No.
S[] / L S[]
Integer type
9
constant
Double-precision
10
type constant
Real type
11
constant
Character type
12
constant
2-51
2.2 Control Instruction : RET
Explanation
1. IF/IFEXPRESS
Example
NOP NOP
MOVJ VJ=100.00 DOUT OT#(1) ON
MOVJ VJ=100.00 WAIT IN#(1)=ON
CALL JOB:2 DOUT OT#(1) OFF
MOVJ VJ=100.00 RET IF IN#(12)=ON
END
END
2. Return Value
Arguments can be added to the CALL instruction, and the return value can
be returned with the RET instruction. Variables other than the position
type variables (P variable, BP variable, EX variable, and PX variable) and
constants can be returned as the return value.
At the call-origin job, the return value is received by the GETS instruction.
For details, refer to “5. Argument ” in the explanation of the CALL
instruction.
2-52
2.2 Control Instruction : RET
Example
The following example is the case when the value returned from JOB:
SAMPLE is received by I000.
CALL JOB: SAMPLE
GETS I000 $RV
NOP
:
RET LI000
END
2-53
2.2 Control Instruction : NOP
NOP
SUBSET STANDARD EXPANDED
Function
Syntax
NO P EN D
Example
(1) NOP
END
2-54
2.2 Control Instruction : PAUSE
PAUSE
SUBSET STANDARD EXPANDED
Function
Syntax
PAU SE EN D
1 IF
2 IFEXPRESS
Explanation
1. IF/IFEXPRESS
Example
2-55
2.2 Control Instruction : CWAIT
CWAIT
SUBSET STANDARD EXPANDED
Function
Syntax
C WA IT EN D
Example
2-56
2.2 Control Instruction : MSG
MSG
SUBSET STANDARD EXPANDED
Function
Syntax
S/LS/
2 Variable No.
S[]/LS[]
Explanation
2-57
2.2 Control Instruction : INPUT
INPUT
SUBSET STANDARD EXPANDED
Function
Displays the value input window accordance with the specified variable.
Syntax
Explanation
2-58
2.2 Control Instruction : INPUT
Example
2-59
2.2 Control Instruction : ADVINIT
ADVINIT
SUBSET STANDARD EXPANDED
Function
When the same variable is used for multiple systems in the optional
independent control function, ADVINIT controls the timing to change the
variable data among the systems.
ADVINIT is an instruction used to control YRC1000 internal processing,
therefore, executing this instruction does not affect the job.
Syntax
A DV I N I T END
2-60
2.2 Control Instruction : ADVSTOP
ADVSTOP
SUBSET STANDARD EXPANDED
Function
When the same variable is used for multiple systems in the optional
independent control function, ADVSTOP controls the access timing of the
variable data among the systems.
ADVSTOP is an instruction used to control YRC1000 internal processing,
therefore, executing this instruction does not affect the job.
Syntax
A DV STO P EN D
2-61
2.2 Control Instruction : PRINT
PRINT
SUBSET STANDARD EXPANDED
Function
Shows the specified character string and variable on the terminal display.
* Terminal display: Select {Main Menu}, {IN/OUT}, then {TERMINAL} to
show it.
If the independent control function is enabled, the page is different for
each task.
Syntax
PRINT END
I/ LI/ I[]
3 Variable No.
/ LI[]
D/ LD/
4 Variable No.
D[]/ LD[]
R/ LR/
5 Variable No.
R[]/ LR[]
S/ LS/
6 Variable No.
S[]/ LS[]
Explanation
2-62
2.2 Control Instruction : PRINT
2-63
2.2 Control Instruction : PRINT
Example
2-64
2.2 Control Instruction : PRINT
2-65
2.2 Control Instruction : CLS
CLS
SUBSET STANDARD EXPANDED
Function
Syntax
CLS EN D
Example
(1) CLS
Deletes the character string shown on the terminal display.
2-66
2.2 Control Instruction : ABORT
ABORT
SUBSET STANDARD EXPANDED
Function
Syntax
ABORT EN D
1 IF
2 IFEXPRESS
Explanation
1. IF/EXPRESS
Example
(1) ABORT
Stops the playback of job, and displays the message “Robot is
stopped by execution ABORT command.”
(2) ABORT IF B000=1
Stops the playback of job when B000 is 1, and displays the mes-
sage “Robot is stopped by execution ABORT command.”
2-67
2.2 Control Instruction : SETUALM
SETUALM
SUBSET STANDARD EXPANDED
Function
Generates an alarm with any given number, name and sub code.
Syntax
SETULAM 1 Constant A
Explanation
1. Alarm Code
2-68
2.2 Control Instruction : SETUALM
2. Alarm Name
3. Subcode
Example
2-69
2.2 Control Instruction : DIALOG
DIALOG
SUBSET STANDARD EXPANDED PARAMETER
Function
Syntax
B/
DIALOG 1 Variable number 2 DIALSB A
B[]
A END
3 DIALSB
4 DIALSB
5 DIALSB
6 DIALSB
Explanation
Select the first, second, third, fourth, and fifth button to store 1, 2, 3, 4, and
5 in the specified B variable respectively.
Make sure to add the following tag.
Make sure to add the following tag for the first DIALSB in the DIALOG
instruction.
2-70
2.2 Control Instruction : DIALOG
2. DIALSB (First)
Example
2-71
2.2 Control Instruction : DIALOG
(1) DIALOG B000 DIALSB B001 B002 S000 B003 B004 S001
Shows the message of S000 at coordinates (B001, B002), and
shows the button with the name of S001 at coordinates (B003,
B004).
When the button is clicked, the result is stored in B000.
(2) DIALOG B000 DIALSB B001 B002 S000 B003 B004 S001
DIALSB B005 B006 S002 B007 B008 S003
Shows the message of S000 at coordinates (B001, B002), and
shows the button with the name of S001 at coordinates (B003,
B004).
Shows the message of S002 at coordinates (B005, B006), and
shows the button with the name of S003 at coordinates (B007,
B008).
When the button is clicked, the result is stored in B000.
(With B1, 1 is stored. With B2, 2 is stored.)
2-72
2.2 Control Instruction : DIALOG
(3) DIALOG B000 DIALSB B001 B002 S000 B003 B004 S001
DIALSB B005 B006 S002 B007 B008 S003
DIALSB B009 B010 S004 B011 B012 S005
DIALSB B013 B014 S006 B015 B016 S007
DIALSB B017 B018 S008 B019 B020 S009
Shows the message of S000 at coordinates (B001, B002), and
shows the button with the name of S001 at coordinates (B003,
B004).
Shows the message of S002 at coordinates (B005, B006), and
shows the button with the name of S003 at coordinates (B007,
B008).
Shows the message of S004 at coordinates (B009, B010), and
shows the button with the name of S005 at coordinates (B011,
B012).
Shows the message of S006 at coordinates (B013, B014), and
shows the button with the name of S007 at coordinates (B015,
B016).
Shows the message of S008 at coordinates (B017, B018), and
shows the button with the name of S009 at coordinates (B019,
B020).
When the button is clicked, the result is stored in B000.
(1, 2, 3, 4, and 5 is stored with B1, B2, B3, B4, and B5, respec-
tively.)
2-73
2.2 Control Instruction : SWITCH
SWITCH
SUBSET STANDARD EXPANDED
Function
This instruction refers to the specified variable, and determines the next
instruction to perform.
Combining the CASE instruction or the DEFAULT instruction enables to
branch the more than three directions.
This instruction is a structured language.
Syntax
56#46
XCTKCDNG 0Q
GZRTGUUVKQPNKUV!
;GU
UVCVGOGPVU
'0&
2-74
2.2 Control Instruction : CASE
CASE
SUBSET STANDARD EXPANDED
Function
This instruction adds a branch of the next instruction for the SWITCH
instruction.
This instruction can be registered between SWITCH and ENDSWITCH.
The multiple CASE instructions can be registered within range.
This instruction is a structured language.
Syntax
2-75
2.2 Control Instruction : CASE
56#46
XCTKCDNG 0Q
GZRTGUUVKQPNKUV!
;GU XCTKCDNG 0Q
GZRTGUUVKQPNKUVP!
;GU
UVCVGOGPVU UVCVGOGPVUP
'0&
2-76
2.2 Control Instruction : DEFAULT
DEFAULT
SUBSET STANDARD EXPANDED
Function
Syntax
2-77
2.2 Control Instruction : DEFAULT
56#46
XCTKCDNG 0Q
GZRTGUUVKQPNKUV!
;GU XCTKCDNG 0Q
GZRTGUUVKQPNKUVP!
;GU
UVCVGOGPVU UVCVGOGPVUP UVCVGOGPVUFGHCWNV
'0&
2-78
2.2 Control Instruction : WHILE
WHILE
SUBSET STANDARD EXPANDED
Function
Syntax
WHILE (condition)
[statements]
ENDWHILE
56#46
EQPFKVKQP 0Q
647'!
;GU
UVCVGOGPVU
'0&
2-79
2.2 Control Instruction : FOR
FOR
SUBSET STANDARD EXPANDED
Function
Syntax
56#46
EQWPVGT UVCTV
0Q
EQWPVGT GPF!
;GU
UVCVGOGPVU
EQWPVGT
EQWPVGTUVGREQWPV
'0&
2-80
2.2 Control Instruction : IFTHEN
IFTHEN
SUBSET STANDARD EXPANDED
Function
Syntax
IF (condition)THEN
[statements]
ENDIF
56#46
EQPFKVKQP 0Q
647'
;GU
UVCVGOGPVU
'0&
2-81
2.2 Control Instruction : ELSEIF
ELSEIF
SUBSET STANDARD EXPANDED
Function
Syntax
IF (condition)THEN
[statements]
ELSEIF(condition-elseif)THEN
[statements-elseif]
ENDIF
2-82
2.2 Control Instruction : ELSEIF
56#46
EQPFKVKQP 0Q
647'!
;GU
EQPFKVKQPGNUGKH 0Q
647'!
;GU
UVCVGOGPVU UVCVGOGPVUGNUGKH
'0&
2-83
2.2 Control Instruction : ELSE
ELSE
SUBSET STANDARD EXPANDED
Function
Syntax
IF (condition)THEN
[statements]
ELSEIF(condition-elseif)THEN
[statements-elseif]
ELSE
[statements-else]
ENDIF
2-84
2.2 Control Instruction : ELSE
56#46
EQPFKVKQP 0Q
647'!
;GU
EQPFKVKQPGNUGKH 0Q
647'!
;GU
UVCVGOGPVU UVCVGOGPVUGNUGKH UVCVGOGPVUGNUG
'0&
2-85
2.2 Control Instruction : SETTM
SETTM
SUBSET STANDARD EXPANDED
Function
Syntax
3 TSTOP
4 TRESET
D/LD
5 D[]/LD[]
Constant
Variable
6 TM
Number
Explanation
1. TM variable number
Add the following tag.
1 TM variable number Specify the TM variable number for the measurement Number: 0 to 59
time writing.
2-86
2.2 Control Instruction : SETTM
5 D Variable number / Specify the time measurement by the integer type Number: -2147483648
LD Variable number variable. to 2147483647
/
D [Arrangement
number]/
LD [Arrangement
number]/
[Constant]
Example
2-87
2.3 Operating Instruction : CLEAR
CLEAR
SUBSET STANDARD EXPANDED
Function
In Data 1, the variable content from the specified number on, is cleared to
0 only by the amount specified in Data 2.
Syntax
14 ALL
I/LI/I[]
2 /LI[]
Variable No.
D/LD/D[]/
3 LD[]
Variable No.
R/LR/R[]/
4 LR[]
Variable No.
5 STACK
6 QUE
7 MPF
12 $ERRNO
2-88
2.3 Operating Instruction : CLEAR
Explanation
2-89
2.3 Operating Instruction : CLEAR
The stack has twelve stack levels in total (the stack level 12) and stores the called position.
Job call
Job A
Job call
Job B
Job call
Job C
Return
Job call
Job D
Return
Return
2-90
2.3 Operating Instruction : CLEAR
Example
END
JUMP JOB:4
END
JOB:2
Cleared Cleared all
JOB:1 JOB:1 JOB:1
2-91
2.3 Operating Instruction : INC
INC
SUBSET STANDARD EXPANDED
Function
Syntax
B/LB/B[]/
INC 1 LB[]
Variable No. END
I/LI/
2 I[]/LI[]
Variable No.
D/LD/D[]/
3 LD[]
Variable No.
Explanation
2-92
2.3 Operating Instruction : INC
Example
(1) NOP
SET B000 200
*1
MOVJ VJ=100.00 1 is repeatedly added to B000
MOVJ VJ=50.00 until it reaches 200.
2-93
2.3 Operating Instruction : DEC
DEC
SUBSET STANDARD EXPANDED
Function
Syntax
B/LB/B[]/
DEC 1 LB[]
Variable No. END
I/LI/I[]
2 /LI[]
Variable No.
D/LD/D[]/
3 LD[]
Variable No.
Explanation
2-94
2.3 Operating Instruction : DEC
Example
(1) NOP
SET B000 200
*1
MOVJ VJ=100.00 1 is repeatedly subtracted
MOVJ VJ=50.00 from B000 until it reaches 0.
2-95
2.3 Operating Instruction : SET
SET
SUBSET STANDARD EXPANDED
Function
Syntax
B/LB/B[]/
SET 1 LB[]
Variable No. A B END
I/LI/
2 I[]/LI[]
Variable No. C D
D/LD/D[]/
3 LD[]
Variable No. E F
R/LR/R[]/
4 LR[]
Variable No. G H
S/LS/S[]/
5 LS[]
Variable No. I J
P/LP/P[]/ P/LP/P[]/
5
6 LP[]
Variable No. 39 LP[]
Variable No.
BP/LBP/ BP/LBP/
6
7 BP[]/ Variable No. 40 BP[]/ Variable No.
LBP[] LBP[]
EX/LEX/ EX/LEX/
7
8 EX[]/ Variable No. 41 EX[]/ Variable No.
LEX[] LEX[]
User group
10 OGU# ( output No.
)
12 FL Variable No.
2-96
2.3 Operating Instruction : SET
B/LB/B[]/ B/LB/B[]/
14 LB[]
Variable No. 20 LB[]
Variable No.
I/LI/I[] I/LI/I[]
15 /LI[]
Variable No. 21 /LI[]
Variable No.
D/LD/D[]/ D/LD/D[]/
16 LD[]
Variable No. 22 LD[]
Variable No.
R/LR/R[]/ R/LR/R[]/
17 Variable No. 23 Variable No.
LR[] LR[]
18 Expression 24 Expression
Double-precision Real-number
E 25 F G 31 H
type constant type constant
B/LB/B[]/ B/LB/B[]/
26 LB[]
Variable No. 32 LB[]
Variable No.
I/LI/I[] I/LI/I[]
27 /LI[]
Variable No. 33 /LI[]
Variable No.
D/LD/D[]/ D/LD/D[]/
28 LD[]
Variable No. 34 LD[]
Variable No.
R/LR/R[]/ R/LR/R[]/
29 LR[]
Variable No. 35 LR[]
Variable No.
30 Expression 36 Expression
Character type
I 37 constant
J
S/LS/S[]/
38 LS[]
Variable No.
2-97
2.3 Operating Instruction : SET
Explanation
2-98
2.3 Operating Instruction : SET
14 B Variable number/ Specify the number of the byte type variable. < Data 2>
LB Variable number/
B [Array number]/
LB [Array number]
15 I Variable number/ Specify the number of the integer type variable. < Data 2>
LI Variable number/
I [Array number]/
LI [Array number]
16 D Variable number/ Specify the number of the double precision type < Data 2>
LD Variable number/ variable.
D [Array number]/
LD [Array number]
17 R Variable number/ Specify the number of the real type variable. < Data 2>
LR Variable number/
R [Array number]/
LR [Array number]
18 Expression Specify the expression. <Data 2>
For details of setting the
expression, refer to
chapter 1.4
“Registration of
Expression” .
2-99
2.3 Operating Instruction : SET
20 B Variable number/ Specify the number of the byte type variable. < Data 2>
LB Variable number/
B [Array number]/
LB [Array number]
21 I Variable number/ Specify the number of the integer type variable. < Data 2>
LI Variable number/
I [Array number]/
LI [Array number]
22 D Variable number/ Specify the number of the double precision type < Data 2>
LD Variable number/ variable.
D [Array number]/
LD [Array number]
23 R Variable number/ Specify the number of the real type variable. < Data 2>
LR Variable number/
R [Array number]/
LR [Array number]
24 Expression Specify the expression. <Data 2>
For details of setting the
expression, refer to
chapter 1.4
“Registration of
Expression” .
2-100
2.3 Operating Instruction : SET
2-101
2.3 Operating Instruction : SET
32 B Variable number/ Specify the number of the byte type variable. < Data2>
LB Variable number/
B [Array number]/
LB [Array number]
33 I Variable number/ Specify the number of the integer type variable. < Data 2>
LI Variable numb er/
I [Array number]/
LI [Array number]
34 D Variable number/ Specify the number of the double precision type < Data 2>
LD Variable number/ variable.
D [Array number]/
LD [Array number]
35 R Variable number/ Specify the number of the real type variable. < Data 2>
LR Variable number/
R [Array number]/
LR [Array number]
36 Expression Specify the expression. <Data 2>
For details of setting the
expression, refer to
chapter 1.4
“Registration of
Expression” .
2-102
2.3 Operating Instruction : SET
10. Expression
When OG# (output group number) or OGU# (user group output number)
is selected from the table in part 1 of this Explanation, the following tag
must be added.
2-103
2.3 Operating Instruction : SET
11. LOGICEXP
Example
2-104
2.3 Operating Instruction : ADD
ADD
SUBSET STANDARD EXPANDED
Function
Syntax
B/LB/B[]/
ADD 1 LB[]
Variable No. A B END
I/LI/I[]
2 /LI[]
Variable No. C D
D/LD/D[]/
3 LD[]
Variable No. E F
R/LR/R[]/
4 LR[]
Variable No. G H
P/LP/P[]/ P/LP/P[]/
5 LP[]
Variable No. 28 LP[]
Variable No.
BP/LBP/ BP/LBP/
6 BP[]/ Variable No. 29 BP[]/ Variable No.
LBP[] LBP[]
EX/LEX/ EX/LEX/
7 EX[]/ Variable No. 30 EX[]/ Variable No.
LEX[] LEX[]
2-105
2.3 Operating Instruction : ADD
B/LB/B[]/ B/LB/B[]/
9 LB[]
Variable No. 14 LB[]
Variable No.
I/LI/I[] I/LI/I[]
10 /LI[]
Variable No. 15 /LI[]
Variable No.
D/LD/D[]/ D/LD/D[]/
11 LD[]
Variable No. 16 LD[]
Variable No.
R/LR/R[]/ R/LR/R[]/
12 LR[]
Variable No. 17 LR[]
Variable No.
Double-precision Real-number
E 18 type constant
F G 23 type constant
H
B/LB/B[]/ B/LB/B[]/
19 LB[]
Variable No. 24 LB[]
Variable No.
I/LI/I[] I/LI/I[]
20 /LI[]
Variable No. 25 /LI[]
Variable No.
D/LD/D[]/ D/LD/D[]/
21 LD[]
Variable No. 26 LD[]
Variable No.
R/LR/R[]/ R/LR/R[]/
22 LR[]
Variable No. 27 LR[]
Variable No.
2-106
2.3 Operating Instruction : ADD
Explanation
2-107
2.3 Operating Instruction : ADD
2-108
2.3 Operating Instruction : ADD
2-109
2.3 Operating Instruction : ADD
2-110
2.3 Operating Instruction : ADD
Example
2-111
2.3 Operating Instruction : SUB
SUB
SUBSET STANDARD EXPANDED
Function
Subtracts Data 2 from Data 1, and stores the result in Data 1.
Syntax
B/LB/B[]/
SUB 1 LB[]
Variable No. A B END
I/LI/I[]
2 /LI[]
Variable No. C D
D/LD/D[]/
3 LD[]
Variable No. E F
R/LR/R[]/
4 LR[]
Variable No. G H
P/LP/P[]/ P/LP/P[]/
5 LP[]
Variable No. 28 LP[]
Variable No.
BP/LBP/ BP/LBP/
6 BP[]/ Variable No. 29 BP[]/ Variable No.
LBP[] LBP[]
EX/LEX/ EX/LEX/
7 EX[]/ Variable No. 30 EX[]/ Variable No.
LEX[] LEX[]
2-112
2.3 Operating Instruction : SUB
B/LB/B[]/ B/LB/B[]/
9 LB[]
Variable No. 14 LB[]
Variable No.
I/LI/I[] I/LI/I[]
10 /LI[]
Variable No. 15 /LI[]
Variable No.
D/LD/D[]/ D/LD/D[]/
11 LD[]
Variable No. 16 LD[]
Variable No.
R/LR/R[]/ R/LR/R[]/
12 LR[]
Variable No. 17 LR[]
Variable No.
Double-precision Real-number
E 18 type constant
F G 23 type constant
H
B/LB/B[]/ B/LB/B[]/
19 LB[]
Variable No. 24 LB[]
Variable No.
I/LI/I[] I/LI/I[]
20 /LI[]
Variable No. 25 /LI[]
Variable No.
D/LD/D[]/ D/LD/D[]/
21 LD[]
Variable No. 26 LD[]
Variable No.
R/LR/R[]/ R/LR/R[]/
22 LR[]
Variable No. 27 LR[]
Variable No.
2-113
2.3 Operating Instruction : SUB
Explanation
2-114
2.3 Operating Instruction : SUB
2-115
2.3 Operating Instruction : SUB
2-116
2.3 Operating Instruction : SUB
2-117
2.3 Operating Instruction : SUB
Example
2-118
2.3 Operating Instruction : MUL
MUL
SUBSET STANDARD EXPANDED
Function
Multiplies Data 1 by Data 2, and stores the result in Data 1.
Syntax
B/LB/B[]/
MUL 1 LB[]
Variable No. A B END
I/LI/I[]
2 /LI[]
Variable No. C D
D/LD/D[]/
3 LD[]
Variable No. E F
R/LR/R[]/
4 LR[]
Variable No. G H
P/LP/P[]/
5 LP[]
Variable No. I J
BP/LBP/
6 BP[]/ Variable No.
LBP[]
EX/LEX/
7 EX[]/ Variable No.
LEX[]
2-119
2.3 Operating Instruction : MUL
B/LB/B[]/ B/LB/B[]/
9 LB[]
Variable No. 14 LB[]
Variable No.
I/LI/I[] I/LI/I[]
10 /LI[]
Variable No. 15 /LI[]
Variable No.
D/LD/D[]/ D/LD/D[]/
11 LD[]
Variable No. 16 LD[]
Variable No.
R/LR/R[]/ R/LR/R[]/
12 LR[]
Variable No. 17 LR[]
Variable No.
Double-precision Real-number
E 18 type constant
F G 23 type constant
H
B/LB/B[]/ B/LB/B[]/
19 LB[]
Variable No. 24 LB[]
Variable No.
I/LI/I[] I/LI/I[]
20 /LI[]
Variable No. 25 /LI[]
Variable No.
D/LD/D[]/ D/LD/D[]/
21 LD[]
Variable No. 26 LD[]
Variable No.
R/LR/R[]/ R/LR/R[]/
22 LR[]
Variable No. 27 LR[]
Variable No.
D/LD/D[]/
I 29 LD[]
Variable No. J
28 ( Element No. )
Double-precision
30 type constant
2-120
2.3 Operating Instruction : MUL
Explanation
2-121
2.3 Operating Instruction : MUL
2-122
2.3 Operating Instruction : MUL
2-123
2.3 Operating Instruction : MUL
6. (Element number)
2-124
2.3 Operating Instruction : MUL
Example
2-125
2.3 Operating Instruction : DIV
DIV
SUBSET STANDARD EXPANDED
Function
Syntax
B/LB/B[]/
DIV 1 LB[]
Variable No. A B END
I/LI/I[]
2 /LI[]
Variable No. C D
D/LD/D[]/
3 LD[]
Variable No. E F
R/LR/R[]/
4 LR[]
Variable No. G H
P/LP/P[]/
5 LP[]
Variable No. I J
BP/LBP/
6 BP[]/ Variable No.
LBP[]
EX/LEX/
7 EX[]/ Variable No.
LEX[]
2-126
2.3 Operating Instruction : DIV
B/LB/B[]/ B/LB/B[]/
9 LB[]
Variable No. 14 LB[]
Variable No.
I/LI/I[] I/LI/I[]
10 /LI[]
Variable No. 15 /LI[]
Variable No.
D/LD/D[]/ D/LD/D[]/
11 LD[]
Variable No. 16 LD[]
Variable No.
R/LR/R[]/ R/LR/R[]/
12 LR[]
Variable No. 17 LR[]
Variable No.
Double-precision Real-number
E 18 type constant
F G 23 type constant
H
B/LB/B[]/ B/LB/B[]/
19 LB[]
Variable No. 24 LB[]
Variable No.
I/LI/I[] I/LI/I[]
20 /LI[]
Variable No. 25 /LI[]
Variable No.
D/LD/D[]/ D/LD/D[]/
21 LD[]
Variable No. 26 LD[]
Variable No.
R/LR/R[]/ R/LR/R[]/
22 LR[]
Variable No. 27 LR[]
Variable No.
D/LD/D[]/
I 29 LD[]
Variable No. J
28 ( Element No. )
Double-precision
30 type constant
2-127
2.3 Operating Instruction : DIV
Explanation
2-128
2.3 Operating Instruction : DIV
2-129
2.3 Operating Instruction : DIV
2-130
2.3 Operating Instruction : DIV
6. (Element number)
2-131
2.3 Operating Instruction : DIV
Example
2-132
2.3 Operating Instruction : CNVRT
CNVRT
SUBSET STANDARD EXPANDED
Function
Converts the pulse type position type variable of Data 2 to the XYZ type
position type variable in the specified coordinate system, and stores the
result in Data 1.
Syntax
PX/PX[] PX/PX[]
CNVRT 1 /LPX Variable No. 2 /LPX Variable No. A
/LPX[] /LPX[]
A 3 BF END
5 TF
User
6 UF# ( )
coordinate No.
7 MTF
Explanation
2-133
2.3 Operating Instruction : CNVRT
2-134
2.3 Operating Instruction : CNVRT
Example
For the job R1, the pulse type position data of P001 is converted to
the XYZ type position data in the base coordinate system and
stores the converted data in P000.
2-135
2.3 Operating Instruction : AND
AND
SUBSET STANDARD EXPANDED
Function
Carries out logical multiplication of Data 1 and Data 2, and stores the
result in Data 1.
Syntax
B/LB/B[]/ B/LB/B[]/
AND 1 LB[]
Variable No. 2 LB[]
Variable No. END
Byte type
3 constant
Explanation
2-136
2.3 Operating Instruction : AND
Example
2-137
2.3 Operating Instruction : OR
OR
SUBSET STANDARD EXPANDED
Function
Carries out the logical sum of Data 1 and Data 2, and stores the result in
Data 1.
Syntax
B/LB/B[]/ B/LB/B[]/
OR 1 LB[]
Variable No. 2 LB[]
Variable No. END
Byte type
3 constant
Explanation
2-138
2.3 Operating Instruction : OR
Example
Carries out the logical sum of B000 (0000 0101) and B010 (0000
1010), and stores the result (0000 1111=15) in B000.
2-139
2.3 Operating Instruction : NOT
NOT
SUBSET STANDARD EXPANDED
Function
Carries out the logical negation of Data 2, and stores the result in Data 1.
Syntax
B/LB/B[]/ B/LB/B[]/
NOT 1 LB[]
Variable No. 2 LB[]
Variable No. END
Byte type
3 constant
Explanation
2-140
2.3 Operating Instruction : NOT
Example
(1) SET B000 0
SET B010 1
NOT B000 B010
Carries out the logical negation of B010 (0000 0001), and stores
the result (1111 1110=254) in B000.
2-141
2.3 Operating Instruction : XOR
XOR
SUBSET STANDARD EXPANDED
Function
Carries out the logical exclusive OR of Data 1 and Data 2, and stores the
result in Data 1.
Syntax
B/LB/B[]/ B/LB/B[]/
XOR 1 LB[]
Variable No. 2 LB[]
Variable No. END
Byte type
3 constant
Explanation
2-142
2.3 Operating Instruction : XOR
Example
Carries out the exclusive OR of B000 (0000 0001) and B010 (0000
0101), and stores the result (0000 0100=4) in B000.
2-143
2.3 Operating Instruction : MFRAME
MFRAME
SUBSET STANDARD EXPANDED
Function
By using this instruction, the user coordinates are generated from the
position data in either of the following two methods.
• Method 1: Generating the user coordinates from three position data:
Data 1, Data 2 and Data 3.
• Data 1 shows the position data of the defined point ORG
• Data 2 shows the position data of the defined point XX
• Data 3 shows the position data of the defined point XY
• Method 2: Generating the user coordinates from Data 4 which is one
position data by directly specifying the position of the user
coordinates in Data 4 in either of the following two
methods.
• Specifying the position in the base coordinate system.
• Specifying the position in the user coordinates.
Syntax
User END
MFRAME 1 UF# ( 䠅 A B
coordinate No.
C D
P/LP/
2 Variable No.
P[]/LP[]
P/LP/
C 6 Variable No. E
P[]/LP[]
BP/LBP
7 /BP[] Variable No.
/LBP[]
E 8 BF D
9 UUF# ( User
coordinate No. 䠅
2-144
2.3 Operating Instruction : MFRAME
Explanation
2-145
2.3 Operating Instruction : MFRAME
2-146
2.3 Operating Instruction : MFRAME
Example
For the job R1, the user coordinate number 1 is created according
to three types of position data; P000, P001, and P002 of the user
coordinate system.
2-147
2.3 Operating Instruction : SETE
SETE
SUBSET STANDARD EXPANDED
Function
Syntax
2-148
2.3 Operating Instruction : SETE
Explanation
2-149
2.3 Operating Instruction : SETE
Example
2-150
2.3 Operating Instruction : GETE
GETE
SUBSET STANDARD EXPANDED
Function
Syntax
D/LD/D[]/ P/LP/P[]/
GETE 1 LD[]
Variable No. 2 LP[]
Variable No. A
BP/LBP/
3 BP[]/ Variable No.
LBP[]
EX/LEX/
4 EX[]/ Variable No.
LEX[]
Explanation
2-151
2.3 Operating Instruction : GETE
3. (Element number)
Example
2-152
2.3 Operating Instruction : GETS
GETS
SUBSET STANDARD EXPANDED
Function
Syntax
8 $RV
10 $RV
12 $EERNO
13 $RV
15 $RV
PX/PX[]
5 /LPX Variable No. 16 $PX/$PX[] Variable No.
/LPX[]
S/LS/
6 Variable No. 17 $RV
S[]/LS[]
2-153
2.3 Operating Instruction : GETS
Explanation
2-154
2.3 Operating Instruction : GETS
System variable
SUPPLE
-MENT
The system variables are written by the controller system and can be referred only by a
GETS instruction. The following system variables are available.
System
Type No. Explanation
Variable
$B type
Byte type $B001 Execution series number (0 to 17)
variable
Detected /Not detected by the optional SRCH/
$B002 NSRCH instruction
0: Not detected, 1: Detected
Expanded
$PX type
position $PX000 Current value (pulse type)
variable
type
Continued
2-155
2.3 Operating Instruction : GETS
Continued
SUPPLE
-MENT
System
Type No. Explanation
Variable
Expanded
$PX type Current position excluding the shift amount and
position $PX007
variable profiling amount (XYZ type)
type
$PX100
RIN#(1)’s detected position by the optional NSRCH
to
instruction (pulse type)
$PX149
$PX150
RIN#(1)’s detected position by the optional NSRCH
to
instruction (XYZ type)
$PX199
$PX200
RIN#(2)’s detected position by the optional NSRCH
to
instruction (pulse type)
$PX249
$PX250
RIN#(2)’s detected position by the optional NSRCH
to
instruction (XYZ type)
$PX299
$PX300
RIN#(3)’s detected position by the optional NSRCH
to
instruction (pulse type)
$PX349
$PX350
RIN#(3)’s detected position by the optional NSRCH
to
instruction (XYZ type)
$PX399
Continued
2-156
2.3 Operating Instruction : GETS
Continued
SUPPLE
-MENT
System
Type No. Explanation
Variable
Expanded $PX400
$PX type RIN#(4)’s detected position by the optional NSRCH
position to
variable instruction (pulse type)
type $PX449
$PX450
RIN#(4)’s detected position by the optional NSRCH
to
instruction (XYZ type)
$PX499
$PX500
RIN#(5)’s detected position by the optional NSRCH
to
instruction (pulse type)
$PX549
$PX550
RIN#(5)’s detected position by the optional NSRCH
to
instruction (XYZ type)
$PX599
$PX600
RIN#(6)’s detected position by the optional NSRCH
to
instruction (pulse type)
$PX649
$PX650
RIN#(6)’s detected position by the optional NSRCH
to
instruction (XYZ type)
$PX699
2-157
2.3 Operating Instruction : GETS
2-158
2.3 Operating Instruction : GETS
7. $RV
Example
For the job R1, the pulse type current value is stored in P000.
2-159
2.3 Operating Instruction : SQRT
SQRT
SUBSET STANDARD EXPANDED
Function
Calculates the square root of Data 2, and stores the result in Data 1.
Syntax
R/LR/R[]/ R/LR/R[]/
SQRT 1 LR[]
Variable No. 2 LR[]
Variable No. END
Real-number
3 type constant
Explanation
2-160
2.3 Operating Instruction : SQRT
Example
2-161
2.3 Operating Instruction : SIN
SIN
SUBSET STANDARD EXPANDED
Function
Calculates the sine of Data 2(Units: deg), and stores the result in Data 1.
Syntax
R/LR/R[]/ R/LR/R[]/
SIN 1 LR[]
Variable No. 2 LR[]
Variable No. END
Real-number
3 type constant
Explanation
2-162
2.3 Operating Instruction : SIN
Example
2-163
2.3 Operating Instruction : COS
COS
SUBSET STANDARD EXPANDED
Function
Calculates the cosine of Data 2(Units: deg), and stores the result in Data
1.
Syntax
R/LR/R[]/ R/LR/R[]/
COS 1 LR[]
Variable No. 2 LR[]
Variable No. END
Real-number
3 type constant
Explanation
2-164
2.3 Operating Instruction : COS
Example
2-165
2.3 Operating Instruction : ATAN
ATAN
SUBSET STANDARD EXPANDED
Function
Calculates the arc tangent of Data 2(Units: deg), and stores the result in
Data 1.
Syntax
R/LR/R[]/ R/LR/R[]/
ATAN 1 LR[]
Variable No. 2 LR[]
Variable No. END
Real-number
3 type constant
Explanation
2-166
2.3 Operating Instruction : ATAN
Example
2-167
2.3 Operating Instruction : MULMAT
MULMAT
SUBSET STANDARD EXPANDED
Function
Calculates the matrix multiplication of Data 2 and Data 3, and stores the
result in Data 1.
Syntax
P/LP/P[]/ P/LP/P[]/
MULMAT 1 LP[]
Variable No. 2 LP[]
Variable No. A
P/LP/P[]/
A 3 LP[]
Variable No. END
Explanation
2-168
2.3 Operating Instruction : MULMAT
Example
2-169
2.3 Operating Instruction : INVMAT
INVMAT
SUBSET STANDARD EXPANDED
Function
Calculates the inverse matrix of Data 2, and stores the result in Data 1.
Syntax
P/LP/P[]/ P/LP/P[]/
INVMAT 1 LP[]
Variable No. 2 LP[]
Variable No. END
Explanation
Example
2-170
2.3 Operating Instruction : GETPOS
GETPOS
SUBSET STANDARD EXPANDED
Function
Syntax
Explanation
Example
In case of R1 job, stores the teaching position data of the first step
in P000.
2-171
2.3 Operating Instruction : VAL
VAL
SUBSET STANDARD EXPANDED
Function
Converts the numeric values of the character string (ASCII) in the data2
into the real value, and stores the result in data1.
Syntax
B/LB/ Character
VAL 1 B[]/LB[] Variable No. 5 A
string
S/LS/
6 Variable No.
S[]/LS[]
I/LI/
2 Variable No.
I[]/LI[]
D/LD/
3 Variable No.
D[]/LD[]
R/LR/
4 Variable No.
R[]/LR[]
A EN D
2-172
2.3 Operating Instruction : VAL
Explanation
2-173
2.3 Operating Instruction : VAL
3. RADIX=radix number
The following tag can be added or omitted
Example
7 is stored in B000.
2-174
2.3 Operating Instruction : VAL2STR
VAL2STR
SUBSET STANDARD EXPANDED
Function
The data2 value, which is converted into the character, is stored in the
data1.
Syntax
B/B[]/
S/S[]/ B/B[]/
VAL2STR 1 Variable No. 2 Variable No. EN D
LB/LB[]
LS/LS[] LB/LB[]
I/I[]/
3 Variable No.
LI/LI[]
D/D[]/
4 Variable No.
LD/LD[]
R/R[]/
5 Variable No.
LR/LR[]
2-175
2.3 Operating Instruction : VAL2STR
Explanation
Example
2-176
2.3 Operating Instruction : ASC
ASC
SUBSET STANDARD EXPANDED
Function
Retrieves the first character code of the character string (ASCII) of the
data2, and stores it in Data 1.
Syntax
B/LB/
B/B[]/
ASC 1 Variable No. 2 Character string EN D
B[]/LB[]
LB/LB[]
S/S[]/
3 LS/LS[] Variable No.
Explanation
2-177
2.3 Operating Instruction : ASC
Example
The first character code “A” from the character string “ABC” is
stored in B000.
2-178
2.3 Operating Instruction : CHR$
CHR$
SUBSET STANDARD EXPANDED
Function
The character (ASCII), which contains the character code of the data2 is
retrieved, and it is stored in Data 1.
Syntax
B/B[]/
S/S[]/
CHR$ 1 Variable No. 2 Byte type constant EN D
LB/LB[]
LS/LS[]
B/LB/
3 Variable No.
B[]/LB[]
Explanation
2-179
2.3 Operating Instruction : CHR$
Example
The letter “A” ,which is the character code 65, is stored in S000.
2-180
2.3 Operating Instruction : MID$
MID$
SUBSET STANDARD EXPANDED
Function
Extracts the any length (data 3, 4) of the character string (ASCII) from the
character strings (ASCII) in the data2, and stores the result in Data 1.
Syntax
B/B[]/
S/S[]/
MID$ 1 Variable No. 2 Character string A
LB/LB[]
LS/LS[]
S/LS/
3 Variable No.
S[]/LS[]
B/LB/
5 Variable No.
B[]/LB[]
B/LB/
9 Variable No.
B[]/LB[]
I/LI/
6
I[]/LI[] Variable No.
I/LI/
10 Variable No.
I[]/LI[]
D/LD/
7 Variable No.
D[]/LD[]
D/LD/
11
D[]/LD[] Variable No.
2-181
2.3 Operating Instruction : MID$
Explanation
2-182
2.3 Operating Instruction : MID$
Example
The three letters “ABC” are extracted from the fourth letter of the
character string “123ABC456” and stored in S000.
2-183
2.3 Operating Instruction : LEN
LEN
SUBSET STANDARD EXPANDED
Function
Retrieves the total number of the character string (ASCII) of the data2,
and stores the result in Data 1.
Syntax
B/LB/
B/B[]/
LEN 1 Variable No. 5 Character string EN D
B[]/LB[]
LB/LB[]
I/LI/ S/LS/
2 Variable No. 6 Variable No.
I[]/LI[] S[]/LS[]
D/LD/
3 Variable No.
D[]/LD[]
2-184
2.3 Operating Instruction : LEN
Explanation
Example
2-185
2.3 Operating Instruction : CAT$
CAT$
SUBSET STANDARD EXPANDED
Function
Combines the character strings (ASCII) from the data2 and the data3, and
stores the result in Data1.
Syntax
S/LS/
B/B[]/ Variable No.
CAT$ 1 A
S[]/LS[]
LB/LB[]
S/LS/ S/LS/
3 Variable No. 5 Variable No.
S[]/LS[] S[]/LS[]
Explanation
2-186
2.3 Operating Instruction : CAT$
Example
2-187
2.3 Operating Instruction : STRSTR
STRSTR
SUBSET STANDARD EXPANDED
Function
The first position where the same character string as the data2 appears in
the data3 is stored into the data1.
Syntax
$$=? 55=?
$$=?
564564 㪈 Variable No. 㪉 Variable No. 㪘
.$.$=? .5.5=?
.$.$=?
㪘 㪊 Character string 㪜㪥 㪛
55=? $$=?
㪋 Variable No. 㪌 Variable No.
.5.5=? .$.$=?
Explanation
2-188
2.3 Operating Instruction : STRSTR
Example
2-189
2.3 Operating Instruction : GETARG
GETARG
SUBSET STANDARD EXPANDED
Function
This is the instruction to receive arguments for the CALL instruction and
macro instruction. When the instruction is executed, the argument data
added to the CALL instruction or macro instruction is retrieved, then
stored in the local variable specified to be used in the CALL job or macro
job.
Syntax
LBP/
7 Variable No.
LBP[]
2-190
2.3 Operating Instruction : GETARG
Explanation
Example
NOP NOP
MOVJ VJ=100 GETARG LI000 IARG#(1) Stores the first argument data "8"
WAIT IN#(1)=ON OUT OT#(10) ON in LI000
MOVJ VJ=50 MUL LI000 10
CALL JOB:SEALON (8) WAIT IN#(10)=ON
MOVL V=125 AOUT AO#(1) LI000 Outputs the analog voltage based
: END on the first argument data
2-191
2.3 Operating Instruction : GETNAME
GETNAME
SUBSET STANDARD EXPANDED
Function
Syntax
S/S[]/
B/B[]/
GETNAME 1 LS/LS[] Variable No. 2 B/B[] Variable No. EN D
LB/LB[]
2-192
2.3 Operating Instruction : GETNAME
Explanation
Example
2-193
2.3 Operating Instruction : SETFILE
SETFILE
SUBSET STANDARD EXPANDED
Function
Changes the specified data of the specified condition file to the numeric
data of Data 1.
Specify the data of the condition file to be changed by its element number.
Syntax
Sealing adjustment
SETFILE 1 SPR# ( condition file No.
) 5 ( Element No. ) A
Under-coating
2 UDC# ( adjustment condition )
file No.
Weaving condition
3 WEV# ( file No.
)
Double-precision
A 6 type constant
END
D/LD/D[]/
7 LD[]
Variable No.
Explanation
2-194
2.3 Operating Instruction : SETFILE
2. (Element number)
2-195
2.3 Operating Instruction : SETFILE
Example
2-196
2.3 Operating Instruction : GETFILE
GETFILE
SUBSET STANDARD EXPANDED
Function
Stores the data of the specified condition file in Data 1.
Specify the data of the condition file to be obtained by its element number.
Syntax
Under-coating
3 UDC# ( adjustment condition )
file No.
Weaving condition
4 WEV# ( file No.
)
Explanation
2-197
2.3 Operating Instruction : GETFILE
3. (Element number)
Example
2-198
2.3 Operating Instruction : SETREG
SETREG
SUBSET STANDARD EXPANDED
Function
Copies the specified integer type variable data into the register.
Syntax
2 LOW/HIGH
Integer type
4 constant
Explanation
2. LOW/HIGH
The following tag can be added or omitted.
2-199
2.3 Operating Instruction : SETREG
2-200
2.3 Operating Instruction : GETREG
GETREG
SUBSET STANDARD EXPANDED
Function
Copies the specified register data into the integer type variable.
Syntax
3 LOW/HIGH
Explanation
3. LOW/HIGH
The following tag can be added or omitted.
2-201
2.3 Operating Instruction : GETPRM
GETPRM
SUBSET STANDARD EXPANDED
Function
Syntax
㪋 㪤㪘㪯
㪌 㪤㪠㪥
Specified control
㪍 㪞㪩㪧㪥㪦㪔 group
Explanation
2-202
2.3 Operating Instruction : GETPRM
2. KIND=Parameter type
The following tag must be added.
3. PRMNO=Parameter No.
The following tag must be added.
Example
Stores the soft limit values (+) of the Robot 1to D000.
2-203
2.3 Operating Instruction : SETPRM
SETPRM
SUBSET STANDARD EXPANDED
Function
Syntax
Parameter Parameter
㪪㪜㪫㪧㪩㪤 㪈 㪢㪠㪥㪛㪔 㪉 㪧㪩㪤㪥㪦㪔 㪘
type No.
㪛㪆㪣㪛 Variable
㪘 㪋 㪜㪥㪛
㪛㪲㩷㪴㪆㪣㪛㪲㩷㪴 No.
Specified control
㪊 㪞㪩㪧㪥㪦㪔
group
Explanation
1. KIND=Parameter type
The following tag must be added.
2-204
2.3 Operating Instruction : SETPRM
2. PRMNO=Parameter No.
The following tag must be added.
Example
2-205
2.4 Move Instruction : MOVJ
MOVJ
SUBSET STANDARD EXPANDED
Function
Syntax
The tag which can be used is limited by the type of the job.
P/LP/P[]/
2 Variable No. C D
LP[]
11 CHK
Station teaching
3 E F
position file No.
EX/LEX
4 /EX[] Variable No.
/LEX[] 12 CHK
A B
Point Variable
7 T
No.
C D
BP/LBP EX/LEX
8 /BP[] Variable No. 9 /EX[] Variable No.
/LBP[] /LEX[]
E F
Point Variable
10 T
No.
2-206
2.4 Move Instruction : MOVJ
G H
Positioning
13 VJ= Joint speed (%) 14 PL=
level
H I
Amount of
Amount of the station axis
16 MT=
T axis rotation
17 MTE=
rotation
I J
Acceleration
18 NWAIT 20 UNTIL 22 ACC= adjustment
ratio (%)
19 ENWAIT 21 NSRCH
J 25 +MOVJ END
Deceleration
23 DEC= adjustment 24 TRAP
ratio (%) 26 +MOVL
27 +MOVC
28 +MOVS
2-207
2.4 Move Instruction : MOVJ
10 T × × × × × × Optional
11 CHK ×
12 CHK × × × × × ×
13 VJ=
14 PL=
15 SPDL= × Optional
16 MT= × × × Optional
17 MTE= × × × × Optional
18 NWAIT
19 ENWAIT Optional
20 UNTIL
21 NSRCH Optional
22 ACC=
23 DEC=
24 TRAP
25 +MOVJ × × × × × Optional
26 +MOVL × × × × × Optional
27 +MOVC × × × × × Optional
28 +MOVS × × × × × Optional
: Available
: Available only with optional function enabled
×: Not available
2-208
2.4 Move Instruction : MOVJ
Explanation
Position Variables
SUPPLE
-MENT
2-209
2.4 Move Instruction : MOVJ
When a robot teaching position file number is selected from the table in
part 1 of this Explanation, add the following tag.
When a robot teaching position file number is selected from the table in
part 1 of this Explanation, add the following tag.
When a robot teaching position file number is selected from the table in
part 1 of this Explanation, the following tag can be added or omitted.
2-210
2.4 Move Instruction : MOVJ
When a robot teaching position file number is selected from the table in
part 1 of this Explanation, the following tag can be added or omitted.
8. CHK
When a P Variable number, LP Variable number, P [Array number], or LP
[Array number] is selected from the table in part 1 of this Explanation, the
following tag can be added.
9. CHK
When a EX Variable number, LEX Variable number, EX [Array number], or
LEX [Array number] is selected from the table in part 1 of this Explanation,
the following tag can be added.
SUPPLE
For details of the system variables, refer to GETS in
-MENT chapter 2.3 “Operating Instruction”
2-211
2.4 Move Instruction : MOVJ
2-212
2.4 Move Instruction : MOVJ
Position level
SUPPLE
-MENT
S1CxG33
S1CxG34
Positioning level 1
S1CxG35
Positioning level 2
Positioning level 3
Positioning level 8
S1CxG40
P1
2-213
2.4 Move Instruction : MOVJ
14. NWAIT/ENWAIT
2-214
2.4 Move Instruction : MOVJ
15. UNTIL/NSRCH
2-215
2.4 Move Instruction : MOVJ
Speed Ordinaly
acceleration
ACC=70% Specified
DEC=50% ratio
Time
18. TRAP
2-216
2.4 Move Instruction : MOVJ
19. +MOVJ/+MOVL/+MOVC/+MOVS
2-217
2.4 Move Instruction : MOVJ
Example
Waiting position
Path
Step 1
2-218
2.4 Move Instruction : MOVL
MOVL
SUBSET STANDARD EXPANDED
Function
Syntax
The tag which can be used is limited by the type of the job.
P/LP/P[]/
2 Variable No. C D
LP[]
A B
Point variable
5 T
No.
C D
BP/LBP EX/LEX
6 /BP[] Variable No. 7 /EX[] Variable No.
/LBP[] /LEX[]
E F
VMAX speed
11 VMAX= (%)
2-219
2.4 Move Instruction : MOVL
F G
Amount of
15 MTE= station axis 16 NWAIT
rotation
17 ENWAIT
G H
Acceleration
18 UNTIL 23 ACC= adjustment
ratio (%)
19 SRCH
20 ASRCH
21 HPSRCH
22 NSRCH
NSRCH
H 26 +MOVJ END
Deceleration
24 DEC= adjustment 25 TRAP
ratio (%) 27 +MOVL
28 +MOVC
29 +MOVS
2-220
2.4 Move Instruction : MOVL
8 V=
9 VR=
10 VE= × × × ×
11 VMAX=
12 PL=
13 CR=
14 SPDL= Optional
15 MTE= × × × × Optional
16 NWAIT
17 ENWAIT Optional
18 UNTIL
19 SRCH Optional
20 ASRCH Optional
21 HPSRCH Optional
22 NSRCH Optional
23 ACC=
24 DEC=
25 TRAP
26 +MOVJ × × × × Optional
27 +MOVL × × × × Optional
28 +MOVC × × × × Optional
29 +MOVS × × × × Optional
: Available
: Available only with optional function enabled
×: Not available
2-221
2.4 Move Instruction : MOVL
Explanation
When a robot teaching position file number is selected from the table in
part 1 of this Explanation, add the following tag.
When a robot teaching position file number is selected from the table in
part 1 of this Explanation, add the following tag.
When the robot teaching position file number is selected from the table in
part 1 of this Explanation, the following can be added or omitted.
2-222
2.4 Move Instruction : MOVL
2-223
2.4 Move Instruction : MOVL
VMAX speed
By using this tag, the speed is specified as the rate with
respect to the maximum speed of each axes.
This tag can be added to MOVL (linear interpolation).
For example, if VMAX=100 is set, the linear interpolation
motion is performed at the TCP speed without exceeding the
maximum speed of each axes.
SUPPLE
-MENT If VMAX=50 is set, the motion is performed at the half speed
of TCP speed when VMAX=100 is set.
Since the speed of each axes is controlled not to exceed the
maximum speed, the TCP speed may not be stable.
Thus, VMAX speed must be used in the case where the
motion with the stable speed is not required for the opera-
tion. If the motion with stable speed is required, use the play
speed V.
2-224
2.4 Move Instruction : MOVL
Corner radius
SUPPLE
-MENT
Corner radius
10. NWAIT/ENWAIT
The following tag can be added or omitted.
2-225
2.4 Move Instruction : MOVL
11. UNTIL/SRCH/ASRCH/HPSRCH/NSRCH
2-226
2.4 Move Instruction : MOVL
14. TRAP
15. +MOVJ/+MOVL/+MOVC/+MOVS
2-227
2.4 Move Instruction : MOVL
Example
(1) NOP
MOVJ VJ=50.00
MOVJ VJ=25.00
MOVJ VJ=12.50 Step 3
MOVL V=138 Step 4
Moves from Step 3 to Step 4 by the linear interpolation at a rate of
138cm/min.
Waiting position
Step 1
Step 2
Step 3
Step 4
2-228
2.4 Move Instruction : MOVC
MOVC
SUBSET STANDARD EXPANDED
Function
Syntax
The tag which can be used is limited by the type of the job.
P/LP/P[]/
2 Variable No. C D
LP[]
A B
Point variable
5 T
No.
C D
BP/LBP EX/LEX
6 /BP[] Variable No. 7 /EX[] Variable No.
/LBP[] /LEX[]
E F
Position angular
9 VR= speed (deg/s) 12 SPDL= Speed level
External axis
10 VE=
speed (%)
2-229
2.4 Move Instruction : MOVC
F G
Amount of
13 MTE= station axis 14 N W AI T
rotation
15 EN W AI T
G H
Acceleration Deceleration
16 ACC= adjustment 17 DEC= adjustment
ratio (%) ratio (%)
H 21 +MOVJ END
22 +MOVL
23 +MOVC
24 +MOVS
2-230
2.4 Move Instruction : MOVC
2-231
2.4 Move Instruction : MOVC
Example
When a base teaching position file number is selected from the table in
part 1 of this Explanation, added the following tag.
When a base teaching position file number is selected from the table in
part 1 of this Explanation, added the following tag.
When the robot teaching position file number is selected from the table in
part 1 of this Explanation, the following tag can be added or omitted.
2-232
2.4 Move Instruction : MOVC
2-233
2.4 Move Instruction : MOVC
10. NWAIT/ENWAIT
2-234
2.4 Move Instruction : MOVC
2-235
2.4 Move Instruction : MOVC
Example
NOP
MOVL V=138
MOVC V=138 COORD=1 Step 2
MOVC V=138 COORD=1 Step 3
MOVC V=138 COORD=1 Step 4
MOVL V=138
MOVC V=138 COORD=0 Step 6
MOVC V=138 COORD=0 Step 7
MOVC V=138 COORD=0 Step 8
MOVL V=138
END
Step9
Step1
MOVL
MOVL
Step2
MOVC
Step5 Step8
MOVL MOVC Step7
MOVC
Step4
MOVC
Step6
MOVC
2-236
2.4 Move Instruction : MOVC
Example
(1) NOP
MOVL V=138
MOVC V=138 Step 2
MOVC V=138 Step 3
MOVC V=138 Step 4
MOVC FPT V=138 Step 5
MOVC V=138 Step 6
MOVC V=138 Step 7
MOVL V=138
END
Step 3
MOVC Step 4
MOVC
Step 5 Step 7
Step 1 MOVC FPT MOVC
MOVL
Step 8
Step 2
MOVL
MOVC
Step 6
MOVC
2-237
2.4 Move Instruction : MOVC
15. TRAP
16. +MOVJ/+MOVL/+MOVC/+MOVS
2-238
2.4 Move Instruction : MOVS
MOVS
SUBSET STANDARD EXPANDED
Function
Syntax
The tag which can be used is limited by the type of the job.
P/LP/P[]/
2 Variable No. C D
LP[]
A B
Point variable
5 T
No.
C D
BP/LBP EX/LEX
6 /BP[] Variable No. 7 /EX[] Variable No.
/LBP[] /LEX[]
E F
Position angular
9 VR= speed (deg/s) 12 SPDL= Speed level
External axis
10 VE=
speed (%)
2-239
2.4 Move Instruction : MOVS
F G
Acceleration
13 NWAIT 15 ACC= adjustment
ratio (%)
14 ENWAIT
G 18 +MOVJ END
Deceleration
16 DEC= adjustment 17 TRAP
ratio (%) 19 +MOVL
20 +MOVC
21 +MOVS
2-240
2.4 Move Instruction : MOVS
2-241
2.4 Move Instruction : MOVS
Explanation
1. Robot teaching position file number /P Variable
number /LP Variable number /P [Array number] /LP
[Array number]
When a robot teaching position file number is selected from the table in
part 1 of this Explanation, add the following tag.
When a robot teaching position file number is selected from the table in
part 1 of this Explanation, add the following tag.
When the robot teaching position file number is selected from the table in
part 1 of this Explanation, the following tag can be added or omitted.
2-242
2.4 Move Instruction : MOVS
2-243
2.4 Move Instruction : MOVS
9. NWAIT/ENWAIT
2-244
2.4 Move Instruction : MOVS
12. TRAP
2-245
2.4 Move Instruction : MOVS
13. +MOVJ/+MOVL/+MOVC/+MOVS
2-246
2.4 Move Instruction : MOVS
Example
(1) NOP
MOVL V=138
MOVS V=138 Step 2
MOVS V=138 Step 3
MOVS V=138 Step 4
MOVS V=138 Step 5
MOVS V=138 Step 6
MOVL V=138
END
Step 3
MOVS
Step 4
MOVS Step 6 Step 6
Step 1 Step 2
MOVS MOVL
MOVL MOVS
Step 5
MOVS
2-247
2.4 Move Instruction : IMOV
IMOV
SUBSET STANDARD EXPANDED
Function
Moves by linear interpolation from the current position for the specified
incremental value.
Syntax
The tag which can be used is limited by the type of the job.
P/LP/P[]/
IMOV 1 Variable No. A
LP[]
BP/LBP
3 /BP[] Variable No.
/LBP[]
EX/LEX
2 /EX[] Variable No. D
/LEX[]
4 VJ= Joint speed (%)
A B
EX/LEX
TCP speed
5 /EX[] Variable No. 6 V= (mm/s)
/LEX[]
Position angular
7 VR= speed (deg/s)
External axis
8 VE=
speed (%)
B C
Positioning
9 PL=
level 10 NWAIT
2-248
2.4 Move Instruction : IMOV
C E
11 BF 16 UNTIL
12 RF
17 SRCH
13 TF
User
14 UF# ( ) 18 NSRCH
coordinate No.
15 MTF
E F
Acceleration Deceleration
19 ACC= adjustment 20 DEC= adjustment
ratio (%) ratio (%)
F 22 +IMOV EN D
21 TRAP
2-249
2.4 Move Instruction : IMOV
6 V= ×
7 VR= ×
8 VE= × × × × ×
9 PL= ×
10 NWAIT ×
11 BF ×
12 RF ×
13 TF ×
14 UF#() ×
15 MTF × × × × ×
16 UNTIL ×
17 SRCH × Optional
18 NSRCH × Optional
19 ACC=
20 DEC=
21 TRAP
22 +IMOV × × × × × Optional
: Available
: Available only with optional function enabled
×: Not available
2-250
2.4 Move Instruction : IMOV
Explanation
3. VJ=Joint speed
2-251
2.4 Move Instruction : IMOV
6. PL=Position level
2-252
2.4 Move Instruction : IMOV
7. NWAIT
9. UNTIL/SRCH/NSRCH
One of the tags must be selected from the following table.
2-253
2.4 Move Instruction : IMOV
12. TRAP
13. +IMOV
Example
2-254
2.4 Move Instruction : SPEED
SPEED
SUBSET STANDARD EXPANDED
Function
Sets the playback speed. The manipulator operates at the speed specified
in the SPEED instruction when the speed is not specified in the move
instruction.
Syntax
The tag which can be used is limited by the type of the job.
SPEED A
Control point
1 VJ= Joint speed (%) 2 V=
speed (mm/s)
A END
2-255
2.4 Move Instruction : SPEED
Explanation
1. VJ=Joint speed
2-256
2.4 Move Instruction : SPEED
Example
(1) NOP
MOVJ VJ=100.00 Moves at the joint speed
MOVL V=138 100.00%.
Moves at the control point
SPEED VJ=50.00 V=276 VR=30.0 speed 138cm/min.
MOVJ Moves at the joint speed
MOVL 50.00%.
Moves at the control point
MOVL VR=60.0 speed 276 cm/min.
Moves at the position angular
END speed 60.0 degree/s.
2-257
2.4 Move Instruction : REFP
REFP
SUBSET STANDARD EXPANDED
Function
Syntax
The tag which can be used is limited by the type of the job.
Reference
REFP 1 A B END
point No.
2 RBn
3 STn C D
Robot teaching
A 4 B
position file No.
Base teaching Station teaching
6 position file No. 7 position file No.
P/LP/P[]/
5 Variable No. E F
LP[]
BP/LBP
8 /BP[] Variable No.
/LBP[]
E F
EX/LEX
9 /EX[] Variable No.
/LEX[]
Station teaching
C 10 D
position file No.
EX/LEX
11 /EX[] Variable No.
/LEX[]
2-258
2.4 Move Instruction : REFP
2-259
2.4 Move Instruction : REFP
: Available
×: Not available
Explanation
2-260
2.4 Move Instruction : REFP
REFP1
Wall
REFP1
Wall direction
REFP1 Advanced
direction
REFP2
Wall
REFP2
Wall direction
REFP2
Advanced
direction
Horizontal
direction
2-261
2.4 Move Instruction : REFP
2. RBn/STn
When the robot teaching position file number is selected from the table in
part 3 of this Explanation, add the following tag.
When the robot teaching position file number is selected from the table in
part 3 of this Explanation, add the following tag.
2-262
2.4 Move Instruction : REFP
2-263
2.4 Move Instruction : REFP
Example
Register REFP1 when the wall direction and the Z direction of the robot
axis are different.
Z-axis
Wall direction
MOVL V=138
REFP1
ARCON ASF#(1)
REFP 1
MOVL V=138
(2) Register REFP2 when the approach point is on the other side of
the wall.
Wall
Approach point
REFP2
MOVJ VJ=25.00Approach point
MOVL V=138
ARCON ASF#(1)
REFP 2
MOVL V=138
2-264
2.5 Shift Instruction : SFTON
SFTON
SUBSET STANDARD EXPANDED
Function
Begins the parallel shift operation. The amount of the parallel shift is set in
a positional variable by the increment value of X, Y, and Z in each
coordinate system.
Syntax
The tag which can be used is limited by the type of the job.
P/LP/P[]/
SFTON 2 Variable No. A B END
LP[]
1 RBn
BP/LBP
3 /BP[] Variable No.
/LBP[]
EX/LEX
4 /EX[] Variable No.
/LEX[]
A C
BP/LBP EX/LEX
5 /BP[] Variable No. 6 /EX[] Variable No.
/LBP[] /LEX[]
C B
7 BF
8 RF
9 TF
User
10 UF# ( )
coordinate No.
2-265
2.5 Shift Instruction : SFTON
5 BP/LBP/BP[]/LBP[] × ● × ● × × ● × ●
6 EX/LEX/EX[]/LEX[]
× × ● ● × × × ● ●
7 BF ● ● ● ● × ● ● ● ●
8 RF ● ● ● ● × ● ● ● ●
9 TF ● ● ● ● × ● ● ● ●
10 UF#() ● ● ● ● × ● ● ● ●
: Available
×: Not available
Explanation
1. RBn
2-266
2.5 Shift Instruction : SFTON
2-267
2.5 Shift Instruction : SFTON
Example
(1) NOP
MOVJ VJ=50.0
MOVL V=138
Step 2 Step 4 Step 6
SFTON P000 UF#(1)
MOVL V=138 Step 1 Step 3 Step 5
Shifted section
MOVL V=138
MOVL V=138
SFTOF
MOVL V=138
The shift is performed between Step 3 and Step 5 in the user coordinate
system by the amount of the shift which is set in P000.
2-268
2.5 Shift Instruction : SFTOF
SFTOF
SUBSET STANDARD EXPANDED
Function
Syntax
The tags to be added are decided according to the type of the job.
SFTOF END
1 RBn
2 ST
2-269
2.5 Shift Instruction : SFTOF
Explanation
1. RBn/ST
Example
(1) NOP
MOVJ VJ=50.0
MOVL V=138 Step 2 Step 4 Step 6
SFTON P000 UF#(1)
Step 1 Step 3 Step 5
MOVL V=138
Shifted section
MOVL V=138
MOVL V=138
SFTOF
MOVL V=138
The shift is performed between Step 3 and Step 5 in the user coordinate
system by the amount of the shift which is set in P000.
2-270
2.5 Shift Instruction : MSHIFT
MSHIFT
SUBSET STANDARD EXPANDED
Function
Syntax
MSHIFT <Data 1> Coordinate system designation <Data 2> <Data 3>
PX/PX[]
MSHIFT 1 /LPX Variable No. A
/LPX[]
A 2 BF B
3 RF
4 TF
User
5 UF# ( )
coordinate No.
6 MTF
PX/PX[] PX/PX[]
B 7 /LPX Variable No. 8 /LPX Variable No. END
/LPX[] /LPX[]
2-271
2.5 Shift Instruction : MSHIFT
Explanation
2-272
2.5 Shift Instruction : MSHIFT
Example
2-273
2.6 Instruction Which Adheres to an Instruction : IF
IF
SUBSET STANDARD EXPANDED
Function
IF <Comparison element 1> =, <>, <=, >=, <, > <Comparison element 2>
3 FL Variable No.
4 TF Variable No.
8 User group
OGU# ( )
output No.
B/LB/
9 Variable No. G H
B[]/LB[]
I/LI/
10 Variable No. I J
I[]/LI[]
D/LD/
11 Variable No. K L
D[]/LD[]
12 TM Variable No.
R/LR/
13 Variable No. M N
R[]/LR[]
S/LS/
14 Variable No. O P
S[]/LS[]
2-274
2.6 Instruction Which Adheres to an Instruction : IF
B/LB/
A 15 = 16 Variable No. B
B[]/LB[]
17 ON/OFF
B/LB/
C 18 = 20 Variable No. D
B[]/LB[]
19 <>
21 Byte type constant
D/LD/
E 22 = 28 Variable No. F
D[]/LD[]
23 <> Double-precision
29
type constant
24 >
25 >=
26 <
27 <=
Double-precision
G 30 = 36 H
type constant
B/LB/
31 <> 37 Variable No.
B[]/LB[]
32 > I/LI/
38 Variable No.
I[]/LI[]
33 >=
D/LD/
39 Variable No.
D[]/LD[]
34 <
R/LR/
40 Variable No.
35 <= R[]/LR[]
41 47 Integer type
I = J
constant
B/LB/
42 <> 48 Variable No.
B[]/LB[]
43 > I/LI/
49 Variable No.
I[]/LI[]
44 >=
D/LD/
50 Variable No.
D[]/LD[]
45 <
R/LR/
51 Variable No.
46 <= R[]/LR[]
2-275
2.6 Instruction Which Adheres to an Instruction : IF
Double-precision
K 52 = 58 L
type constant
B/LB/
53 <> 59 Variable No.
B[]/LB[]
54 > I/LI/
60 Variable No.
I[]/LI[]
55 >=
D/LD/
61 Variable No.
D[]/LD[]
56 <
R/LR/
62 Variable No.
57 <= R[]/LR[]
M 63 = 69 Real-type constant N
B/LB/
64 <> 70 Variable No.
B[]/LB[]
65 > I/LI/
71 Variable No.
I[]/LI[]
66 >=
D/LD/
72 Variable No.
D[]/LD[]
67 <
R/LR/
73 Variable No.
68 <= R[]/LR[]
Character-type
O 74 = 80 P
constant
S/LS/
75 <> 81 Variable No.
S[]/LS[]
76 >
77 >=
78 <
79 <=
2-276
2.6 Instruction Which Adheres to an Instruction : IF
Explanation
2-277
2.6 Instruction Which Adheres to an Instruction : IF
2. =
2-278
2.6 Instruction Which Adheres to an Instruction : IF
4. =/<>
2-279
2.6 Instruction Which Adheres to an Instruction : IF
6. =/<>/>/>=/</<=
When an IGU# (User group input number) or OGU# (User group output
number) is selected from the table in part 1 of this Explanation, choose
one of the tags from the following table.
When an IGU# (User group input number) or OGU# (User group output
number) is selected from the table in part 1 of this Explanation, one of the
tags in the following table is selected after “=”, ”<>”, “>”, “>=”, “<“or “<=”
which is added from the table in part 6 of this Explanation.
2-280
2.6 Instruction Which Adheres to an Instruction : IF
8. =/<>/>/>=/</<=
2-281
2.6 Instruction Which Adheres to an Instruction : IF
10. =/<>/>/>=/</<=
2-282
2.6 Instruction Which Adheres to an Instruction : IF
12. =/<>/>/>=/</<=
2-283
2.6 Instruction Which Adheres to an Instruction : IF
14. =/<>/>/>=/</<=
2-284
2.6 Instruction Which Adheres to an Instruction : IF
16. =/<>/>/>=/</<=
Example
2-285
2.6 Instruction Which Adheres to an Instruction : UNTIL
UNTIL
SUBSET STANDARD EXPANDED
Function
Syntax
B/LB/B[]/
UNTIL 1 IN# ( Input No. ) 2 = 3 Variable No. END
LB[]
4 ON/OFF
Explanation
2. =
2-286
2.6 Instruction Which Adheres to an Instruction : UNTIL
Choose one of the tags from the following table after “=” is selected from
the table in part 2 of this Explanation.
Example
The axis moves toward Step 2 until input signal No. 14 is turned
ON. When input signal No. 14 is turned ON, the axis moves
toward Step 3.
Step 3
Step 2
MOVJ VJ=50.00 UNTIL
IN#(14)=ON
2-287
2.6 Instruction Which Adheres to an Instruction : ENWAIT
ENWAIT
SUBSET STANDARD EXPANDED Parameter
Function
Syntax
Explanation
1. T=Time/DIS= Distance
2-288
2.6 Instruction Which Adheres to an Instruction : ENWAIT
Example
Step 2
MOVL V=136 ENWAIT T=3.00
3 seconds
DOUT OT#(1) ON
2-289
2.6 Instruction Which Adheres to an Instruction : DIALSB
DIALSB
SUBSET STANDARD EXPANDED
Function
Specifies the structure of the dialog (the display position of the message
and button) shown by the DIALOG instruction.
* Can be selected only in the DIALOG instruction.
Syntax
B/ LB/ B/ LB/
DIALSB 1 Variable number 2 Variable number A
B[]/ LB[] B[]/ LB[]
S/ LS/
A 3 S[]/ LS[] Variable number B
4 B/ LB/
Variable number C
B[]/ LB[]
B END
C
B/ LB/ Variable number S/ LS/
5 B[]/ LB[] 6 Variable number
S[]/ LS[]
Explanation
2-290
2.6 Instruction Which Adheres to an Instruction : DIALSB
Make sure to add the following tag for the first DIALSB in the DIALOG
instruction.
For the second and after, the following tag can be added or omitted.
For the second and after, the following tag can be added or omitted.
2-291
2.6 Instruction Which Adheres to an Instruction : DIALSB
Make sure to add the following tag for the first DIALSB in the DIALOG
instruction.
For the second and after, the following tag can be added or omitted.
2-292
2.6 Instruction Which Adheres to an Instruction : IFEXPRESS
IFEXPRESS
SUBSET STANDARD EXPANDED
Function
Syntax
AND
OR
Explanation
1. Conditional statement
2. AND/OR
Example
2-293
2.6 Instruction Which Adheres to an Instruction : FOREXPRESS
FOREXPRESS
SUBSET STANDARD EXPANDED
Function
Syntax
AND
OR
Explanation
1. Conditional statement
2. AND/OR
Example
2-294
2.6 Instruction Which Adheres to an Instruction : LOGICEXP
LOGICEXP
SUBSET STANDARD EXPANDED
Function
Syntax
AND
OR
Explanation
1. Conditional statement
2. AND/OR
Example
2-295
2.6 Instruction Which Adheres to an Instruction : RELEXPR
RELEXPR
SUBSET STANDARD EXPANDED
Function
Syntax
3 FL Variable No.
4 TF Variable No.
7 User group
IGU# ( ) E F
input No.
8 User group
OGU# ( )
output No.
B/LB/
9 Variable No. G H
B[]/LB[]
I/LI/
10 Variable No. I J
I[]/LI[]
D/LD/
11 Variable No. K L
D[]/LD[]
12 TM Variable No.
R/LR/
13 Variable No. M N
R[]/LR[]
S/LS/
14 Variable No. O P
S[]/LS[]
2-296
2.6 Instruction Which Adheres to an Instruction : RELEXPR
B/LB/
A 15 = 16 Variable No. B
B[]/LB[]
17 ON/OFF
B/LB/
C 18 = 20 Variable No. D
B[]/LB[]
19 <>
21 Byte type constant
D/LD/
E 22 = 28 Variable No. F
D[]/LD[]
25 >=
26 <
27 <=
B/LB/
31 <> 37 Variable No.
B[]/LB[]
32 > I/LI/
38 Variable No.
I[]/LI[]
33 >=
D/LD/
39 Variable No.
D[]/LD[]
34 <
R/LR/
40 Variable No.
35 <= R[]/LR[]
B/LB/
42 <> 48 Variable No.
B[]/LB[]
43 > I/LI/
49 Variable No.
I[]/LI[]
44 >=
D/LD/
50 Variable No.
D[]/LD[]
45 <
R/LR/
51 Variable No.
46 <= R[]/LR[]
2-297
2.6 Instruction Which Adheres to an Instruction : RELEXPR
Double precison
K 52 = 58 type constant L
B/LB/
53 <> 59 Variable No.
B[]/LB[]
54 > I/LI/
60 Variable No.
I[]/LI[]
55 >=
D/LD/
61 Variable No.
D[]/LD[]
56 <
R/LR/
62 Variable No.
57 <= R[]/LR[]
B/LB/
64 <> 70 Variable No.
B[]/LB[]
65 > I/LI/
71 Variable No.
I[]/LI[]
66 >=
D/LD/
72 Variable No.
D[]/LD[]
67 <
R/LR/
73 Variable No.
68 <= R[]/LR[]
S/LS/
75 <> 81 Variable No.
S[]/LS[]
76 >
77 >=
78 <
79 <=
2-298
2.6 Instruction Which Adheres to an Instruction : RELEXPR
Explanation
2-299
2.6 Instruction Which Adheres to an Instruction : RELEXPR
2. =
2-300
2.6 Instruction Which Adheres to an Instruction : RELEXPR
4. =/<>
2-301
2.6 Instruction Which Adheres to an Instruction : RELEXPR
6. =/<>/>/>=/</<=
When an IGU# (User group input number) or OGU# (User group output
number) is selected from the table in part 1 of this Explanation, choose
one of the tags from the following table.
When an IGU# (User group input number) or OGU# (User group output
number) is selected from the table in part 1 of this Explanation, one of the
tags in the following table is selected after “=”, ”<>”, “>”, “>=”, “<“or “<=”
which is added from the table in part 6 of this Explanation.
2-302
2.6 Instruction Which Adheres to an Instruction : RELEXPR
8. =/<>/>/>=/</<=
2-303
2.6 Instruction Which Adheres to an Instruction : RELEXPR
10. =/<>/>/>=/</<=
2-304
2.6 Instruction Which Adheres to an Instruction : RELEXPR
12. =/<>/>/>=/</<=
2-305
2.6 Instruction Which Adheres to an Instruction : RELEXPR
14. =/<>/>/>=/</<=
2-306
2.6 Instruction Which Adheres to an Instruction : RELEXPR
16. =/<>/>/>=/</<=
2-307
2.6 Instruction Which Adheres to an Instruction : TRAP
TRAP
SUBSET STANDARD EXPANDED
Function
Syntax
Explanation
1. * Label string
Example
2-308
2.6 Instruction Which Adheres to an Instruction : TRAP
SFTON P000
STEP1 STEP2
STEP3
2-309
2.7 Arc Welding Instruction : ARCON
ARCON
SUBSET STANDARD EXPANDED APPLICATIONS
Function
Syntax
ARCON END
Voltage output
A 4 AV= B
(V)
Ratio to proper
5 AVP= voltage output 6 T= Time (s)
value (%)
B C
2-310
2.7 Arc Welding Instruction : ARCON
Explanation
1. WELDn
Specify the welding power source number. The number is shown when
several robots (manipulators) for arc welding are used in a job, and not
shown when only one robot (manipulator) is used.
When AC=Current output value is selected from the table in part 2 of this
Explanation, one of the tags must be selected from the following table.
2-311
2.7 Arc Welding Instruction : ARCON
4. T=Time
When AC=Current output value is selected from the table in part 2 of this
Explanation, the following tag can be added or omitted.
5. V=Welding speed
When AC=Current output value is selected from the table in part 2 of this
Explanation, the following tag can be added or omitted.
6. RETRY
When AC=Current output value is selected from the table in part 2 of this
Explanation, the following tag can be added or omitted.
7. REPLAY
When RETRY is selected from the table in part 6 of this Explanation, add
the following tag.
2-312
2.7 Arc Welding Instruction : ARCON
RETRY function
SUPPLE
-MENT
2. ARCON is processed
again.
• REPLAY mode
Returns to the former step,
performs retract inching,
returns to the start point and
tries the arc again.
SUPPLE
For details of the RETRY function, refer to the YRC1000
-MENT ARC WELDING OPERATOR’S MANUAL(RE-CSO-A052).
2-313
2.7 Arc Welding Instruction : ARCON
Example
(1) Starts welding with the condition set to No.1 in the arc start condi-
tion file.
(2) NOP
MOVJ VJ=50.00 Step 1
MOVL V=200 Step 2
MOVL V=220 Step 3
WVON WEV#(2) Weaving starts
ARCON AC=220 AVP=100 T=0.50 Welding starts
MOVL V=138 Step 4
ARCOF Welding ends
WVOF Weaving ends
MOVL V=200 Step 5
MOVJ VJ=50.00 Step 6
END
Waiting position
Step 6
Step 1
Step 5
Step 2
Step 3
Step 4
2-314
2.7 Arc Welding Instruction : ARCOF
ARCOF
SUBSET STANDARD EXPANDED APPLICATIONS
Function
Syntax
ARCOF END
Arc end
condition file
1 WELDn 2 AEF# ( No.
)
Current output
3 AC= A B
(A)
Voltage output
A 4 AV= B
(V)
Explanation
1. WELDn
Specify the welding power source number. The number is shown when
several robots (manipulators) for arc welding are used in a job, and not
shown when only one robot (manipulator) is used.
2-315
2.7 Arc Welding Instruction : ARCOF
When AC=Current output value is selected from the table in part 2 of this
Explanation, choose one of the tags from the following table.
4. T=Time
When AC=Current output value is selected from the table in part 2 of this
Explanation, the following tag can be added or omitted.
2-316
2.7 Arc Welding Instruction : ARCOF
5. ANTSTK
When AC=Current output value is selected from the table in part 2 of this
Explanation, the following tag can be added or omitted.
2-317
2.7 Arc Welding Instruction : ARCOF
Example
(1) ARCOF AEF#(1)
The welding end condition is set in the arc end condition file No.1.
(2) NOP
MOVJ VJ=50.00 Step 1
MOVL V=220 Step 2
MOVL V=200 Step 3
WVON WEV#(2) Weaving starts
ARCON AC=220 AVP=100 T=0.50 Welding starts
MOVL V=138 Step 4
ARCOF AC=160 AVP=90 T=0.50 Welding ends
WVOF Weaving ends
MOVL V=200 Step 5
MOVJ VJ=50.00 Step 6
END
Waiting position
Step 6
Step 1
Step 5
Step 2
Step 3
Step 4
2-318
2.7 Arc Welding Instruction : VWELD
VWELD
SUBSET STANDARD EXPANDED APPLICATIONS
Function
Voltage
VWELD 2 reference value END
(V)
1 WELDn
Explanation
1. WELDn
Specify the welding power source number. The number is shown when
several robots (manipulators) for arc welding are used in a job, and not
shown when only one robot (manipulator) is used.
2-319
2.7 Arc Welding Instruction : VWELD
Example
(1) VWELD 6.0
The command value of the welding voltage is set to 6.0V.
2-320
2.7 Arc Welding Instruction : AWELD
AWELD
SUBSET STANDARD EXPANDED APPLICATIONS
Function
Current reference
AWELD 2 END
value (A)
1 WELDn
Explanation
1. WELDn
Specify the welding power source number. The number is shown when
several robots (manipulators) for arc welding are used in a job, and not
shown when only one robot (manipulator) is used.
2-321
2.7 Arc Welding Instruction : AWELD
Example
(1) AWELD 6.0
The command value of the welding current is set to 6.0V.
2-322
2.7 Arc Welding Instruction : ARCSET
ARCSET
SUBSET STANDARD EXPANDED APPLICATIONS
Function
ARCSET A B C END
Current output
1 WELD1 2 AC=
value (A)
A B
Voltage output
4 AV=
value (V)
6 V= Welding speed
Ratio to proper
5 AVP= voltage output
(%)
B C
Aimed value of Aimed value of
7 AN3= instruction 8 AN4= instruction
voltage (V) voltage (V)
㪛 㪜
㪐 㪘㪚㪦㪥㪛㪔 Specifying
the condition
2-323
2.7 Arc Welding Instruction : ARCSET
Explanation
1. WELDn
2-324
2.7 Arc Welding Instruction : ARCSET
4. V=Welding speed
2-325
2.7 Arc Welding Instruction : ARCSET
Example
(1) NOP
MOVJ VJ=50.00 Step 1
MOVJ VJ=80.00 Step 2(Arc start position)
ARCON AC=200 AVP=100 T=0.30 Arc starts
MOVL V=50 Step 3
MOVL V=50 Step 4
ARCSET AC=250 Changes the welding condition
MOVL V=65 (AC=200 → AC=250)
ARCOF Step 5
MOVJ VJ=50.00 Welding ends
MOVJ VJ=100.00 Step 6
END Step 7
Waiting position
Step7
Step3 Step4
Step1
Step6
Step2
AC=200 Step5
AC=250
2-326
2.7 Arc Welding Instruction : WVON
WVON
SUBSET STANDARD EXPANDED APPLICATIONS
Function
Syntax
The tags to be added differ depending on the control group in the job.
Weaving condition
WVON 2 WEV# ( ) C
file No.
Weaving single
1 RBn 3 AMP= amplitude (mm)
A B
Weaving
A 4 FREQ= B
frequency (Hz)
Weaving angle
5 ANGL=
(degree)
C END
Direction of
6 DIR=
oscillation
2-327
2.7 Arc Welding Instruction : WVON
Explanation
1. RBn
Choose the following tag when two manipulators or more are used.
2-328
2.7 Arc Welding Instruction : WVON
3. FREQ=Weaving frequency
4. ANGL=Weaving angle
5. DIR=Direction of weaving
2-329
2.7 Arc Welding Instruction : WVON
• Weaving angle
Specify the angle of weaving motion.
Wall direction Wall direction
Angle: 0.0 to 180.0 Vertical/horizontal distance:
1.0 to 25.0mm
Angle
Vertical Vertical
distance
Horizontal Horizontal
distance
MODE: TRIANGLE, L-TYPE MODE: TRIANGLE, L-TYPE
Forward Backward
SINGLE 2 3
1 4 2
3
4 1
Horizontal Horizontal
direction direction
Wall direction Wall direction
Forward Backward
2 2
TRIA NGLE 3 1
1 Horizontal 3 Horizontal
direction direction
Wall direction Wall direction
Forward Backward
3 2
L-TYP E 4 1
2 3
1 Horizontal 4 Horizontal
direction direction
Forward Reverse
2 4 5
3
ELLIPS E
1 Travel 1 Travel
direction direction
4 5 3 2
Horizontal Horizontal
direction direction
2-330
2.7 Arc Welding Instruction : WVON
Example
(2) NOP
MOVJ VJ=50.00 Step 1
MOVL V=220 Step 2
MOVL V=200 Step 3
WVON AMP=5.0 FREQ=3.0 ANGL40.0 Weaving starts
ARCON AC=220 AVP=100 T=0.5 Welding starts
MOVL V=138 Step 4
ARCOF AC=160 AVP=90 T=0.50 Welding ends
WVOF Weaving ends
MOVL V=200 Step 5
MOVJ VJ=50.00 Step 6
END
Waiting position
Step 6
Step 1
Step 5
Step 2
Step 3
Step 4
2-331
2.7 Arc Welding Instruction : WVOF
WVOF
SUBSET STANDARD EXPANDED APPLICATIONS
Function
Syntax
The tags to be added differ depending on the control group in the job.
WVOF END
1 RBn
2-332
2.7 Arc Welding Instruction : WVOF
Explanation
1. RBn
Choose the following tag when two manipulators or more are used.
Example
(1) NOP
MOVJ VJ=50.00 Step 1
MOVL V=220 Step 2
MOVL V=200 Step 3
WVON WEV#(2) Weaving starts
ARCON AC=220 AVP=100 T=0.50 Welding starts
MOVL V=138 Step 4
ARCOF AC=160 AVP=90 T=0.50 Welding ends
WVOF Weaving ends
MOVL V=200 Step 5
MOVJ VJ=50.00 Step 6
END
Waiting position
Step 6
Step 1
Step 5
Step 2
Step 3
Step 4
2-333
2.7 Arc Welding Instruction : ARCCTS
ARCCTS
SUBSET STANDARD EXPANDED APPLICATIONS
Function
Controls the welding current and the voltage in the specified starting
section.
This function is used with the move instruction. The current and the
voltage are changed while the manipulator is moving. The aimed value
and section have to be set. The section is specified as a distance from the
moving start point. If it is not specified, it is regarded as the entire section
of the move instruction.
Syntax
ARCCTS EN D
Welding start
1 WELDn 2 ASF#
condition file No.
A B
Command
Voltage output
4 AV = 6 AN3= voltage aimed
(V)
value (V)
Ratio to proper
5 AV P= voltage output
value (%)
B C
Command
Excution
7 AN4= voltage aimed 8 DIS=
section (mm)
value (V)
2-334
2.7 Arc Welding Instruction : ARCCTS
Explanation
1. WELDn
2-335
2.7 Arc Welding Instruction : ARCCTS
6. DIS=Performance interval
The slope up/down function allows for the current and the
voltage value etc.,to be gradually changed during welding.
This function is used when the base metal is a board, or
when the object is an aluminum which has high heat conduc-
tivity.
In this function, the ARCCTS and the ARCCTE instruction
are used.
2-336
2.7 Arc Welding Instruction : ARCCTS
Example
2-337
2.7 Arc Welding Instruction : ARCCTE
ARCCTE
SUBSET STANDARD EXPANDED APPLICATIONS
Function
Controls the welding current and the voltage in the specified end section.
This function is used with the move instruction and modifies the current
and the voltage while the manipulator is moving. The aimed value and the
section are set. The section is specified as a distance from the moving
end point. If it is not specified, it is regarded as the entire section of the
move instruction.
Syntax
ARCCTE EN D
Welding start
1 WELDn 2 ASF#
condition file No.
Current output A B C
3 AC= (A)
A B
Command
Voltage output
4 AV = 6 AN3= voltage aimed
(V)
value (V)
Ratio to proper
5 AV P= voltage output
value (%)
B C
Command
Excution
7 AN4= voltage aimed 8 DIS=
section (mm)
value (V)
2-338
2.7 Arc Welding Instruction : ARCCTE
Explanation
1. WELDn
2-339
2.7 Arc Welding Instruction : ARCCTE
6. DIS=Performance interval
Example
2-340
2.7 Arc Welding Instruction : ARCCTE
ARCCTE
Value immediately before execution of move instruction aimed value
Value immediately before
execution of move instruction
ARCCTE
aimed value
2-341
2.8 Handling Instruction : HAND
HAND
SUBSET STANDARD EXPANDED APPLICATIONS
Function
Turns the signal to the tool valve ON or OFF to control the tool.
Syntax
B/LB/B[]/
HAND 1 Hand No. 2 Variable No. A
LB[]
3 ON/OFF
A END
4 ALL
Explanation
1. Hand number
2-342
2.8 Handling Instruction : HAND
3. ALL
Example
HAND 1 OFF
2-343
2.8 Handling Instruction : HSEN
HSEN
SUBSET STANDARD EXPANDED APPLICATIONS
Function
Monitors the input status of the tool sensor. Stores the result in the
system variable $B006.
SUPPLE
For details of system variables, refer to GETS of chapter 2.3
-MENT “Operating Instruction” .
Syntax
B/LB/B[]/
HSEN 1 Sensor No. 2 Variable No. A
LB[]
3 ON/OFF
A END
4 T= Time (s)
5 FOREVER
Explanation
1. Sensor number
2-344
2.8 Handling Instruction : HSEN
3. T=Time/FOREVER
Example
HSEN 1 ON
2-345
2.9 General-purpose Instruction : TOOLON
TOOLON
SUBSET STANDARD EXPANDED APPLICATIONS
Function
Syntax
TOOLON END
1 UNITn
Explanation
1. UNITn
Choose one of the units. These tags are valid for a system with multiple
applications in which two or more applications are used for material
handling, press tending, cutting, or other applications.
These tags are not shown when there is only one application.
Example
(1) TOOLON
2-346
2.9 General-purpose Instruction : TOOLOF
TOOLOF
SUBSET STANDARD EXPANDED APPLICATIONS
Function
Syntax
TOOLOF END
1 UNITn
Explanation
1. UNITn
Choose one of the units. These tags are valid for a system with multiple
applications in which two or more applications are used for material
handling, press tending, cutting, and other applications.
These tags are not shown when there is only one application.
Example
(1) TOOLOF
2-347
2 INFROM Explanation
2.10 Spot Welding Instruction : GUNCL
GUNCL
SUBSET STANDARD EXPANDED APPLICATIONS
Function
Syntax
Gun pressure
GUNCL 1 GUN# ( Gun No. ) 2 T= A
time (s)
A END
Anticipation
3 ATT=
time (s)
Explanation
2-348
2 INFROM Explanation
2.10 Spot Welding Instruction : GUNCL
Example
Turns ON the Gun 1 pressure signal 0.5 seconds before the manipulator
reaches Step 5, and turns it OFF 2 seconds later (1.5 seconds after the
manipulator reaches Step 5).
2-349
2 INFROM Explanation
2.10 Spot Welding Instruction : SPOT
SPOT
SUBSET STANDARD EXPANDED APPLICATIONS
Function
Starts the welding sequence after pressure has been applied to the air
gun.
Syntax
Gun 1 operation
SPOT 1 GUN# ( Gun 1 number ) 2 MODE= A
mode
Gun 1 welding
A 3 WTM=
conditions
D
D END
Anticipation time
7 ATT=
(s)
Explanation
2-350
2 INFROM Explanation
2.10 Spot Welding Instruction : SPOT
0 Single gun
2-351
2 INFROM Explanation
2.10 Spot Welding Instruction : SPOT
When a Gun 2 number (GUN#) is selected from the table in part 4 of this
Explanation, add the following tag.
When a Gun 2 number (GUN#) is selected from the table in part 4 of this
Explanation, add the following tag after MODE=Gun 2 operation mode is
selected from the table in part 5 of this Explanation.
7. ATT=Anticipation time
Example
0.5 seconds before the manipulator reaches Step 5, the spot welding
sequence starts from the moment the air gun is short open, and the air
gun is full open after the sequence is completed. Then the manipulator
carries out the next step.
2-352
2 INFROM Explanation
2.10 Spot Welding Instruction : STROKE
STROKE
SUBSET STANDARD EXPANDED APPLICATIONS
Function
Switches the open status of the 2-step stroke gun to/from Full open to/
from Short open when not welding.
Syntax
3 SHORT
Explanation
2. LONG/SHORT
Example
When the manipulator reaches Step 5, the stroke is changed to Full open
to avoid interference, and then the manipulator moves to the next step.
2-353
2 INFROM Explanation
2.10 Spot Welding Instruction : STRWAIT
STRWAIT
SUBSET STANDARD EXPANDED APPLICATIONS
Function
Confirms the specified open status of a 2-step stroke gun as short open or
full open when not welding.
Wait until the signal of the specified open status, short open or full open, is
turned ON.
Syntax
3 SHORT
Explanation
2. LONG/SHORT
Example
When the manipulator reaches Step 5, the open status changes to Full
open, and the manipulator confirms the Full open status before moving to
the next step.
2-354
YRC1000 OPTIONS
INSTRUCTIONS
FOR INFORM LANGUAGE
HEAD OFFICE
2-1 Kurosakishiroishi, Yahatanishi-ku, Kitakyushu 806-0004, Japan
Phone +81-93-645-7703 Fax +81-93-645-7802
YASKAWA Nordic AB
Verkstadsgatan 2, Box 504 ,SE-385 25 Torsas, Sweden
Phone +46-480-417-800 Fax +46-486-414-10