Features II JS/JSR4400N SCARA Robot
JSG GANTRY Robot
JR2000N Desktop Robot
70
■
End a Program: endProg
A program (operation) can be terminated at the current point by the
endProg
command. The robot
Arm or Axis will not return to the work home position
Command Category
Command
Parameter
Job
Execute Flow Control
endProg
–
End a program run at the current point.
z
The
endProg
command is deactivated at points where the (base) point type [CP Passing Point] is
set.
The following example shows point job data using the
endProg
command:
waitCondTime 500
ld #genIn2
timeUp
movetoZ 0,10
endProg
endWait
By the
endProg
command, a program is terminated at the current point and the robot Arm or Axis will
not return to the work home position. You cannot restart the program from that position. Start the
program from the first point.
z
If you wish to return to the work home position before terminating the program, use the
goPoint
command with a destination number [0] (work home position). (Refer to Page 72)
genIn2
=
ON
Raise the Z-Axis to the
highest position and end
the program.