EasyManua.ls Logo

Fagor 8070 BL - CALL. Call to a Global or Local Subroutine

Fagor 8070 BL
444 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Programming manual.
CNC 8070
SUBROUTINES.
14.
Subroutine execution.
·271·
(REF: 1709)
14.3.3 #CALL. Call to a global or local subroutine.
The #CALL instruction calls a local or global subroutine. This type of call allows initializing
local parameters of the subroutine. When it is a global subroutine, its whole path may be
defined.
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.
Programming format.
The programming format is:
#CALL <path> sub
Path definition.
Defining the path is optional. If defined, the CNC only looks for the subroutine in that folder;
if not defined, the CNC looks for the subroutine in the default folders. See "Location (path)
of the global subroutines." on page 269.
path
Optional. Subroutine location.
sub
Name of the subroutine
#CALL C:\Cnc8070\Users\Prg\sub1.nc
#CALL C:\Cnc8070\Users\sub2.nc
#CALL Sub3.nc

Table of Contents

Related product manuals