Features II JS/JSR4400N SCARA Robot
JSG GANTRY Robot
JR2000N Desktop Robot
93
■
Change a Program Number by Point Job: setProgNum
The program number being selected can be changed using point job data commands. This function is
useful in the following cases:
•
If you set a
setProgNum
command to the point job data performed when the power is turned on,
the same program number will always be activated every time the power is turned on.
•
If you set a
setProgNum
command to the point job data performed after a point job at the work
home position, the program number will automatically be changed.
For example, if you wish to repeat Program 1
Æ
Program 2
Æ
Program 3 as a cycle of operation,
set the
setProgNum2
command to the point job data performed after a point job at the work home
position of Program 1. The program number will automatically change to Program 2 after running
Program 1. Accordingly, you can change the program numbers, from 2 to 3 and from 3 to 1.
•
If you set a
setProgNum
command to the point job data performed when the robot is standing by
for a start signal, you can change the program number according to inputs from COM. For example,
if you connect the barcode reader to COM, you can change the program number according to the
barcode.
If you change a program number while running a program, the running program will not be changed
immediately. After the robot runs the current program, the robot stands by for a start signal. Then the
program number is changed when the robot restarts.
Use the
callProg
command if you wish to execute another program while running a program.
Command Category
Command
Parameter
Job
Variable, Comment,
System Control
setProgNum Program
Number
Change the program number when the
robot restarts running after standing by.
z
Program numbers can be specified by variables or expressions.