Programming manual
CNC 8070
STATEMENTS AND
IN
STRUCTI
O
NS
Pr
ogr
am
m
ing st
at
em
ent
s
15.
(S
OFT
V02.0
X
)
421
Subroutine execution
When calling a global subroutine indicating the full path, the search
is carried out only in the indicated directory. If the path is not indicated,
the search is carried out in this order and in these directories:
1.
Directory selected with the
#PATH
instruction.
2.
Directory of the program being executed.
3.
Directory defined by machine parameter
SUBPATH
.
LL
Call to a local subroutine
It calls a local subroutine.
The programming format is:
LL <sub>
L
Call to a global subroutine
It calls a global subroutine whose full path may be defined.
The programming format is:
L <path><sub>
#CALL
Call to a local or global subroutine
It calls a subroutine (local or global) whose full path may be defined.
The programming format is:
#CALL <path><sub>
When there are two subroutines, one local and the other one global,
with the same name, the following criteria is applied. If the path has
been defined in the call, the CNC will execute the global subroutine,
otherwise, it will execute the local one.
Parameter
Meaning
<sub>
Name of the subroutine
LL sub2.nc
Parameter
Meaning
<path>
Subroutine location.
<sub>
Name of the subroutine
L C:\Cnc8070\Users\Prg\sub1.nc
L C:\Cnc8070\Users\sub2.nc
L Sub3.nc
Parameter
Meaning
<path>
Subroutine location.
<sub>
Name of the subroutine
Summary of Contents for CNC 8070
Page 1: ...CNC 8070 REF 0504 SOFT V02 0X PROGRAMMING MANUAL Soft V02 0x Ref 0504...
Page 2: ......
Page 4: ......
Page 6: ......
Page 12: ......
Page 14: ......
Page 16: ......
Page 22: ......
Page 26: ......
Page 28: ......
Page 30: ......
Page 32: ......
Page 34: ......
Page 62: ...Programming manual 28 CNC 8070 2 MACHINE OVERVIEW Home search SOFT V02 0X 28...
Page 178: ...Programming manual 144 CNC 8070 7 GEOMETRY ASSISTANCE General scaling factor SOFT V02 0X 144...
Page 360: ...Programming manual 326 CNC 8070 12 CYCLE EDITOR Random multiple machining SOFT V02 0X 326...
Page 556: ...CNC 8070 16 PROBING CANNED CYCLES SOFT V02 0X 522 Programming manual...