Loctite CARTESIAN 400 User Manual
Page 100

 
Both of the following point job data use the local variable “count”, but since a local variable is a 
function which is valid only in point job data containing a declaration command, they do not interfere. 
For example, 0 is assigned to “count” at point job data 24, but the value of “count” used by point job 
data 05 does not change. The opposite also applies. 
 
 
e.g.) Joint job data 05 
 declear numeric count 
 count=0 
 do 
 count=count+1 
 callJob 24 
 if 
 ld count>=10 
 then 
 exitDo 
 endIf 
 loop 
“count” local variable declaration (numeric type) 
Sets initial value 0 into “count.” 
Repeats up to the loop command. 
 Loads 1 into “count”. 
 Executes point job data 24. 
 If 
 the value of “count” was 10 or greater, 
 
Jumps to the command after the loop command. 
 
Returns to the do command.
 
e.g.) Point job data 24 
 declear count 
 count=0 
 Label 1 
 pulse #genOut11,250 
 count=count+1 
 if 
 ld count<=3 
 then 
 jump L1 
 endIf 
“count” local variable declaration 
Sets initial value 0 into “count”. 
Label 1 (jump destination mark) 
ON pulse output to #genOut1”. 
Loads 1 into “count”. 
If 
 the value of “count” was 3 or less, 
 
 jumps to label 1. 
Features II CARTESIAN Benchtop Robot
82
