EasyManua.ls Logo

Fagor 8070 BL - Page 279

Fagor 8070 BL
444 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.
CNC 8070
SUBROUTINES.
14.
OEM subroutine execution.
·279·
(REF: 1709)
Additional data in the block.
Besides initializing the parameters, any other type of additional information may be added
to these functions, even movements. This information must be programmed before the
subroutine calling function; otherwise, the data will considered as for initializing the
parameters. The associated subroutine is executed once the execution of the rest of the
information programmed in the block has ended.
Cancelling a modal subroutine.
A subroutine stops being modal and in the following cases.
When programming G80 or #MDOFF.
When changing the work plane.
When programming a probing move (G100).
When executing another subroutine (#PCALL, #CALL, #MCALL, L, LL, G180-G189,
G380-G399).
When executing a canned cycle.
After executing an M02 or an M30 and after a RESET.
When changing the configuration of the axes (#FREE AX, #CALL AX and #SET AX).
Local parameter nesting levels.
If these functions initialize local parameters, this instruction generates a new nesting level
for the local parameters. Remember that up to 7 parameter nesting levels are possible within
20 subroutine nesting levels.
Considerations about the modal character of the subroutine.
The modal subroutine will not be executed in the motion blocks programmed inside the
subroutine itself or in the subroutines associated with T or M6. It will not be executed either,
when programming a number of block repetitions using a NR value of ·0·.
If a motion block contains a number of repetitions NR other than 0 while a modal subroutine
is active, both the movement and the subroutine will be repeated NR times.
If while a subroutine is selected as modal, another modal OEM subroutine is executed, the
current subroutine will stop being modal and the new selected subroutine will become modal.
Properties of the function and Influence of the reset, turning the
CNC off and of the M30 function.
Functions G180-G189 and G380-G399 are not modal. Functions MG180-MG189 and
MG380-MG399 are modal.
G01 X50 F450 G180 P0=15 P1=20
It first executes the programmed movement to point X50 and then the
subroutine associated with G180 initializing parameters P0 and P1.
G180 P0=15 P1=20 G01 X50 F450
All the data is interpreted as parameter setting, where P6(G)=1, P23(X)=50 and
P5(F)=450.

Table of Contents

Related product manuals