·402·
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
( CALL (expression) )
The mnemonic CALL makes a call to the subroutine indicated by means of a number or by means
of any expression that results in a number.
As a subroutine may be called from a main program, or a subroutine, from this subroutine to a second
one, from the second to a third, etc..., the CNC limits these calls to a maximum of 15 nesting levels,
it being possible to repeat each of the levels 9999 times.
Programming example.
G90 G00 X30 Y20 Z10
(CALL 10)
G90 G00 X60 Y20 Z10
(CALL 10)
M30
(SUB 10)
G91 G01 X20 F5000
(CALL 11)
G91 G01 Y10
(CALL 11)
G91 G01 X-20
(CALL 11)
G91 G01 Y-10
(CALL 11)
(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)
; Drilling and threading
; Drilling and threading
; Drilling and threading
; Drilling and threading
; Drilling canned cycle
; Threading canned cycle
Summary of Contents for 8055 EN
Page 1: ...CNC 8055 M EN Programming manual Ref 1711 Soft V02 2x...
Page 8: ...8 Programming manual CNC 8055 CNC 8055i SOFT V02 2X...
Page 12: ...12 CNC 8055 CNC 8055i Declaration of conformity and Warranty conditions...
Page 16: ...16 CNC 8055 CNC 8055i Version history...
Page 22: ...22 CNC 8055 CNC 8055i Returning conditions...
Page 24: ...24 CNC 8055 CNC 8055i Additional notes...
Page 26: ...26 CNC 8055 CNC 8055i Fagor documentation...
Page 448: ......
Page 464: ...464 Programming manual CNC 8055 CNC 8055i D M EN MODELS SOFT V02 2X Key code...
Page 466: ...466 Programming manual CNC 8055 CNC 8055i D M EN MODELS SOFT V02 2X Key code MC operator panel...
Page 467: ...Programming manual CNC 8055 CNC 8055i D M EN MODELS SOFT V02 2X 467 Key code...
Page 468: ...468 Programming manual CNC 8055 CNC 8055i D M EN MODELS SOFT V02 2X Key code...
Page 471: ...Programming manual CNC 8055 CNC 8055i D M EN MODELS SOFT V02 2X 471 Key code 11 LCD Monitor...
Page 472: ...472 Programming manual CNC 8055 CNC 8055i D M EN MODELS SOFT V02 2X Key code...
Page 478: ...478 Programming manual CNC 8055 CNC 8055i F M EN MODELS SOFT V02 2X Maintenance...
Page 479: ...Programming manual CNC 8055 CNC 8055i F SOFT V02 2X 479...
Page 480: ...480 Programming manual CNC 8055 CNC 8055i F SOFT V02 2X...
Page 481: ......