
When the point job data called by “callJob” command contains a “callJob” command, and the
nest level exceeds 10, an error (No. 42) is generated. (
↓
Example of nest level 2)
(Command execution flow)
callJob
callJob
Nest level 1 Nest level 2
Point job data number can also be given by expression.
Example)
declear num ejob
waitCondTime 200
ld #genIn1
timeUp
if
ld #genIn2
then
ejob = 9
else
ejob = 10
endIf
callJob ejob
endWait
Local variable “ejob” declaration
Waits for 0.2 seconds until the following conditions are met.
#genIn1=ON (condition)
When the condition is not met in 0.2 seconds,
if
#genIn2=ON
then
Assigns 9 to “ejob”.
If not,
Assigns 10 to “ejob”.
Calls a subroutine of the No. 9/10 point job data.
Features II CARTESIAN Benchtop Robot
54