Subroutine call of point job data: calljob – Loctite CARTESIAN 400 User Manual

Page 71

Advertising
background image

Subroutine call of point job data: callJob


While a point job is running, different point job data can be called and executed.

The point job data is reduced and easier to read if error Operation and other parts common to multiple point
jobs are made into one point job data and used by calling it from another point job data.
Also, by making a certain command group which was one part of the point job data, one point job
data, only that part can be tested.

Command category Command

Parameters

Job

Calls a subroutine of the point job
data for the given number.

callJob

Point job data no.

Execution flow control

The “callJob” command is invalid at the CP Passing Point or a point whose Base Type is CP
Passing Point.

set #genOut1

downZ 20,20
Label 1
waitStartBZ
if
ld #genIn1
then
reset #genOut1
else
jump L1
endIf

waitCondTime 200
ld #genIn1
timeUp
set #genOut1
downZ 20,20
Label 1
waitStartBZ
if
ld #genIn1
then
reset #genOut1
else
jump L1
endIf
endWait


waitCondTime 200
ld #genIn1
timeUp
callJob 91
endWait

The command group
when time up occurred
is made independent as
separate point job data.

Command that calls the
point job data.

<Point job data 91>

When the called point job
data ends, the command on
the next line of the “callJob”
command in the point job
data of the main program is
executed.

Features II CARTESIAN Benchtop Robot

53

Advertising
This manual is related to the following products: