·404·
Programming manual
CNC 8055
CNC 8055i
14.
PROGR
A
M CONTR
O
L
INSTRUCTIONS
·M· & ·EN· M
ODELS
S
OFT
: V02.2
X
Sub
routine
i
n
stru
ctio
ns
(MCALL (expression), (assignment instruction), (assignment instruction),...) )
By means of the mnemonic MCALL, any user-defined subroutine (SUB integer) acquires the
category of canned cycle.
The execution of this mnemonic is the same as the mnemonic PCALL, but the call is modal, i.e.,
if another block with axis movement is programmed at the end of this block, after this movement,
the subroutine indicated will be executed and with the same call parameters.
If, when a modal subroutine is selected, a movement block with a number of repetitions is executed,
for example X10 N3, the CNC will execute the movement only once (X10) and after the modal
subroutine, as many times as the number of repetitions indicates.
Should block repetitions be chosen, the first execution of the modal subroutine will be made with
updated call parameters, but not for the remaining times, which will be executed with the values
which these parameters have at that time.
If, when a subroutine is selected as modal, a block containing the MCALL mnemonic is executed,
the present subroutine will lose its modal quality and the new subroutine selected will be changed
to modal.
( MDOFF )
The MDOFF instruction indicates that the mode assumed by a subroutine with the MCALL
instruction or a part-program with MEXEC ends in that block.
The use of modal subroutines simplifies programming.
Programming example.
G90 G00 X30 Y50 Z0
(PCALL 10, P0=20, P1=10)
G90 G00 X60 Y50 Z0
(PCALL 10, P0=10, P1=20)
M30
(SUB 10)
G91 G01 XP0 F5000
(MCALL 11)
G91 G01 YP1
G91 G01 X-P0
G91 G01 Y-P1
(MDOFF)
(RET)
(SUB 11)
G81 G98 G91 Z-8 I-22 F1000 S5000 T1 D1
G84 Z-8 I-22 K15 F500 S2000 T2 D2
G80
(RET)
Содержание 8055 EN
Страница 1: ...CNC 8055 M EN Programming manual Ref 1711 Soft V02 2x...
Страница 8: ...8 Programming manual CNC 8055 CNC 8055i SOFT V02 2X...
Страница 12: ...12 CNC 8055 CNC 8055i Declaration of conformity and Warranty conditions...
Страница 16: ...16 CNC 8055 CNC 8055i Version history...
Страница 22: ...22 CNC 8055 CNC 8055i Returning conditions...
Страница 24: ...24 CNC 8055 CNC 8055i Additional notes...
Страница 26: ...26 CNC 8055 CNC 8055i Fagor documentation...
Страница 238: ...238 Programming manual CNC 8055 CNC 8055i 11 IRREGULAR POCKET CANNED CYCLE M EN MODELS SOFT V02 2X 2D pockets...
Страница 284: ...284 Programming manual CNC 8055 CNC 8055i 11 IRREGULAR POCKET CANNED CYCLE M EN MODELS SOFT V02 2X 3D pockets...
Страница 336: ...336 Programming manual CNC 8055 CNC 8055i 12 PROBING M EN MODELS SOFT V02 2X PROBE 12 Tabletop probe calibration...
Страница 394: ...394 Programming manual CNC 8055 CNC 8055i 13 HIGH LEVEL LANGUAGE PROGRAMMING M EN MODELS SOFT V02 2X Expressions...
Страница 442: ...442 Programming manual CNC 8055 CNC 8055i 15 COORDINATE TRANSFORMATION M EN MODELS SOFT V02 2X TCP Transformation G48...
Страница 448: ......
Страница 454: ...454 Programming manual CNC 8055 CNC 8055i B M EN MODELS SOFT V02 2X Program control instructions...
Страница 462: ...462 Programming manual CNC 8055 CNC 8055i C M EN MODELS SOFT V02 2X Summary of internal CNC variables...
Страница 463: ...Programming manual CNC 8055 CNC 8055i D M EN MODELS SOFT V02 2X 463 Key code KEY CODE Alpha numeric keyboard and monitor...
Страница 464: ...464 Programming manual CNC 8055 CNC 8055i D M EN MODELS SOFT V02 2X Key code...
Страница 465: ...Programming manual CNC 8055 CNC 8055i D M EN MODELS SOFT V02 2X 465 Key code Alphanumeric operator panel...
Страница 466: ...466 Programming manual CNC 8055 CNC 8055i D M EN MODELS SOFT V02 2X Key code MC operator panel...
Страница 467: ...Programming manual CNC 8055 CNC 8055i D M EN MODELS SOFT V02 2X 467 Key code...
Страница 468: ...468 Programming manual CNC 8055 CNC 8055i D M EN MODELS SOFT V02 2X Key code...
Страница 469: ...Programming manual CNC 8055 CNC 8055i D M EN MODELS SOFT V02 2X 469 Key code MCO TCO operator panel...
Страница 470: ...470 Programming manual CNC 8055 CNC 8055i D M EN MODELS SOFT V02 2X Key code Alphanumeric keyboard...
Страница 471: ...Programming manual CNC 8055 CNC 8055i D M EN MODELS SOFT V02 2X 471 Key code 11 LCD Monitor...
Страница 472: ...472 Programming manual CNC 8055 CNC 8055i D M EN MODELS SOFT V02 2X Key code...
Страница 478: ...478 Programming manual CNC 8055 CNC 8055i F M EN MODELS SOFT V02 2X Maintenance...
Страница 479: ...Programming manual CNC 8055 CNC 8055i F SOFT V02 2X 479...
Страница 480: ...480 Programming manual CNC 8055 CNC 8055i F SOFT V02 2X...
Страница 481: ......