EasyManua.ls Logo

Fagor 8055 M - Page 402

Fagor 8055 M
482 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...
·402·
Programming manual
CNC 8055
CNC 8055i
14.
PROGRAM CONTROL INSTRUCTIONS
·M· & ·EN· MODELS
SOFT: V02.2X
Subroutine instructions
( 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

Table of Contents

Related product manuals