EasyManua.ls Logo

Fagor CNC 8070 - Page 456

Fagor CNC 8070
556 pages
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
486
CNC 8070
15.
STATEMENTS AND INSTRUCTIONS
Programming statements
(SOFT V02.0X)
422
#PCALL Call to a local or global subroutine initializing parameters
It calls a subroutine (local or global) whose full path may be defined.
This type of call allows initializing local parameters of the subroutine.
The programming format is:
#PCALL <path><sub> P0 P1 P2...
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.
The values of the call parameters may be defined in two ways. With
the parameter name P0, P1, P2, etc. or with the letters A-Z (except
the Ñ) in such a way that "A" is the same as P0 and "Z" is the same
as P25.
When using local parameters in the subroutine calls, besides
generating a new nesting level, it will also generate a new nesting level
for the local parameters; there may be up to 7 nesting levels of local
parameters within the 20 nesting levels of the subroutines.
#MCALL Call to a local or global subroutine, being modal, initializing
parameters
It calls a subroutine (local or global) whose full path may be defined.
This type of call allows initializing local parameters of the subroutine.
With this type of call, the subroutine becomes modal; i.e. the
subroutine remains active in successive movements and it is repeated
at the end of each move. The modal subroutine is canceled with the
instruction #MDOFF.
The programming format is:
#MCALL <path><sub> P0 P1 P2...
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.
#CALL C:\Cnc8070\Users\Prg\sub1.nc
#CALL C:\Cnc8070\Users\sub2.nc
#CALL Sub3.nc
Parameter Meaning
<path> Subroutine location.
<sub> Name of the subroutine
#PCALL C:\Cnc8070\Users\Prg\sub1.nc
#PCALL C:\Cnc8070\Users\sub2.nc A12.3 P10=6
#PCALL Sub3.nc A12.3 F45.3 P10=6
Parameter Meaning
<path> Subroutine location.
<sub> Name of the subroutine

Table of Contents

Other manuals for Fagor CNC 8070

Related product manuals