![Fagor 8070 BL Скачать руководство пользователя страница 281](http://html1.mh-extra.com/html/fagor/8070-bl/8070-bl_programming-manual_537547281.webp)
Programming manual.
CNC 8070
SUBROUTINES.
14.
Ge
neric user subrou
ti
nes (G50
0-G5
99).
·281·
(R
EF
: 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.
User subroutines (G500-G599) and modal subroutines.
User routines do not alter the modal/non-modal status of other possible active subroutines,
this means should there be an active subroutine with #MCALL among the user subroutines,
it will remain modal.
For this case, if the program activates a local subroutine as a modal subroutine and within
the user subroutine there are motion blocks, the CNC will display a subroutine not found error.
Modal subroutines must be global, so they may be used outside the range of influence of
the program.
Cancelling a modal subroutine.
A subroutine stops being modal and in the following cases.
• When programming G80 or #MDOFF.
• After executing an M02 or an M30 and after a RESET.
Define the subroutines.
The subroutines associated with these functions will be global and will have the same name
as the function, without extension. The subroutines must be defined in the folder
..\Users\Sub. If the CNC executes a function and there is no subroutine, the CNC will issue
an error message.
G500
will have subroutine G500 associated with it.
G501
will have subroutine G501 associated with it.
· · ·
G599
will have subroutine G599 associated with it.
Subroutines supplied by Fagor.
Execute the subroutines.
The CNC executes the subroutine after executing the function with which they are
associated. To execute the subroutine as a single block, program the instructions #ESBLK
and #
RETDSBLK
. After executing the instruction #ESBLK, the CNC executes the blocks
programmed next as a single block until it reaches the end of the subroutine (#
RETDSBLK
).
If the file that contains the subroutine has the "hidden" attribute, the CNC does not display
the contents of the subroutine while it is executed. The attributes of the files may be modified
from the utilities mode (see the operating manual).
G01 X50 F450 G500 P0=15 P1=20
It first executes the programmed movement to point X50 and then the subroutine
associated with G500 initializing parameters P0 and P1.
G500 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.
Subroutine.
Meaning.
G500
HSC cancellation.
G501
HSC activation for roughing operations.
Содержание 8070 BL
Страница 1: ... Ref 1709 8070 CNC Programming manual ...
Страница 8: ...BLANK PAGE 8 ...
Страница 12: ...BLANK PAGE 12 ...
Страница 14: ...BLANK PAGE 14 ...
Страница 26: ...BLANK PAGE 26 ...
Страница 28: ...BLANK PAGE 28 ...
Страница 30: ...BLANK PAGE 30 ...
Страница 60: ...Programming manual CNC 8070 2 MACHINE OVERVIEW Home search 60 REF 1709 ...
Страница 72: ...Programming manual CNC 8070 3 COORDINATE SYSTEM Coordinate programming 72 REF 1709 ...
Страница 80: ...Programming manual CNC 8070 4 WORK PLANES Select the longitudinal axis of the tool 80 REF 1709 ...
Страница 96: ...Programming manual CNC 8070 5 ORIGIN SELECTION Polar origin preset G30 96 REF 1709 ...
Страница 178: ...Programming manual CNC 8070 9 TOOL PATH CONTROL MANUAL INTERVENTION Variables 178 REF 1709 ...
Страница 304: ...Programming manual CNC 8070 16 C AXIS Machining of the turning side of the part 304 REF 1709 ...
Страница 440: ...Programming manual CNC 8070 22 STATEMENTS AND INSTRUCTIONS Flow controlling instructions 440 REF 1709 ...
Страница 442: ...Programming manual CNC 8070 23 CNC VARIABLES 442 REF 1709 ...
Страница 443: ...Programming manual CNC 8070 443 User notes REF 1709 ...