
Programming manual.
CNC 8070
SUBROUTINES.
14.
Subro
u
tine execu
ti
on.
·269·
(R
EF
: 1709)
14.3
Subroutine execution.
The CNC offers the following types of commands to call the subroutines.
When executing one of these commands, the CNC executes the selected subroutine. When
the subroutine has ended, the program execution resumes at the calling statement.
Location (path) of the global subroutines.
When calling a global subroutine its path (location) may be defined. When indicating the
whole path, the CNC only looks for the subroutine in the indicated directory. If the path has
not been indicated, the CNC looks for the subroutine in the following directories and in this
order.
1
Directory selected with the #PATH instruction.
2
Directory of the program being executed.
3
Directory defined by machine parameter SUBPATH.
Command.
Call type.
L
Call to a global subroutine.
Parameters cannot be initialized with this command.
LL
Call to a local subroutine.
Parameters cannot be initialized with this command.
#CALL
Call to a global or local subroutine.
Parameters cannot be initialized with this command.
#PCALL
Call to a global or local subroutine.
Local parameters can be initialized with this command.
#MCALL
Modal call to a local or global subroutine.
Local parameters can be initialized with this command.
#MDOFF
It makes a function non-modal.
Summary of Contents for 8070 BL
Page 1: ... Ref 1709 8070 CNC Programming manual ...
Page 8: ...BLANK PAGE 8 ...
Page 12: ...BLANK PAGE 12 ...
Page 14: ...BLANK PAGE 14 ...
Page 26: ...BLANK PAGE 26 ...
Page 28: ...BLANK PAGE 28 ...
Page 30: ...BLANK PAGE 30 ...
Page 60: ...Programming manual CNC 8070 2 MACHINE OVERVIEW Home search 60 REF 1709 ...
Page 72: ...Programming manual CNC 8070 3 COORDINATE SYSTEM Coordinate programming 72 REF 1709 ...
Page 96: ...Programming manual CNC 8070 5 ORIGIN SELECTION Polar origin preset G30 96 REF 1709 ...
Page 178: ...Programming manual CNC 8070 9 TOOL PATH CONTROL MANUAL INTERVENTION Variables 178 REF 1709 ...
Page 304: ...Programming manual CNC 8070 16 C AXIS Machining of the turning side of the part 304 REF 1709 ...
Page 442: ...Programming manual CNC 8070 23 CNC VARIABLES 442 REF 1709 ...
Page 443: ...Programming manual CNC 8070 443 User notes REF 1709 ...