Features II JS/JSR4400N SCARA Robot
JSG GANTRY Robot
JR2000N Desktop Robot
63
z When the point job data called by the callJob command contains a callJob command, an error (No.
042: [Job for callJob doesn't exist]) is returned if the nest level exceeds Level 10. (The following
example shows the nest level 2.)
Command Execution Flow
callJob
callJob
Nest level 1 Nest level 2
Point job data numbers can also be given using expressions.
Example:
declare num ejob
waitCondTime 200
ld #genIn1
timeUp
if
ld #genIn2
then
ejob = 9
else
ejob = 10
endIf
callJob ejob
endWait
Local variable ejob declaration
Wait for 0.2 seconds until the following condition is met:
#genIn1=ON (Condition)
If the condition is not met within 0.2 seconds,
if
#genIn2=ON
then
Assigns 9 to ejob.
If not,
Assigns 10 to ejob.
Call the point job data No. 9 or 10 as a subroutine.