28.08.2013 Views

CNC 8035 - Programming manual - Fagor Automation

CNC 8035 - Programming manual - Fagor Automation

CNC 8035 - Programming manual - Fagor Automation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Programming</strong> <strong>manual</strong><br />

12.<br />

PROGRAM CONTROL INSTRUCTIONS<br />

Subroutine instructions<br />

<strong>CNC</strong> <strong>8035</strong><br />

·T· MODEL<br />

(SOFT V16.3X)<br />

·260·<br />

As a subroutine may be called from a main program, or a subroutine, from this subroutine to a second<br />

one, from the second to a third, etc..., the <strong>CNC</strong> limits these calls to a maximum of 15 nesting levels,<br />

it being possible to repeat each of the levels 9999 times.<br />

<strong>Programming</strong> example.<br />

G90 G01 X100 Z330<br />

(CALL 10)<br />

G90 G01 X100 Z240<br />

(CALL 10)<br />

G90 G01 X100 Z150<br />

M30<br />

( SUB 10)<br />

G91 G01 Z -10<br />

X40 Z-10<br />

G03 X0 Z-20 I0 K-10<br />

G01 X-20<br />

G02 X0 Z-20 I0 K-10<br />

G01 X40 Z-10<br />

Z-20<br />

(RET)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!