
WinMax Lathe NC Programming
704-0115-307
ISNC G Codes
4-41
G65 Subprogram Example
In the following example a line of holes will be drilled along a line. The type of canned
cycle can be determined along with the distance between the holes in both the X and Y
axes. The type of canned cycle and various canned cycle parameters can also be set.
ISNC Part Program 1 Inch
BOLT_LN.LNC
O4000
T1 M06
M03 G00 G90 X0 Y0 Z0 S1800
/
(B REPRESENTS THE NUMBER OF BOLT HOLES)
(H REPRESENTS THE DESIRED CANNED CYCLE)
(X,Y REPRESENTS THE INCREMENTAL DISTANCE BETWEEN HOLES)
(Z REPRESENTS THE HOLE DEPTH)
(R REPRESENTS THE R PLANE LEVEL)
/
#500=99 (RETURN TO R LEVEL)
G65 P5070 X.5 Y.75 B10 H81 Z-1 Q0. R.1 F20.
M30
(*************************************************)
(BOLT HOLE LINE PATTERN - SUBPROGRAM 5070)
(*************************************************)
O5070
(#2 IS THE NUMBER OF HOLES)
(#11 IS THE CANNED CYCLE NUMBER)
(#26 IS THE HOLE DEPTH)
(#500 IS 99 FOR RETURN TO R LEVEL MODE OR 98 FOR RETURN TO INITIAL
POINT)
(#5003 IS THE Z COORDINATE BEFORE THE CANNED CYCLE IS PERFORMED)
/
WHILE [#2GT0] DO250
G91 G#500 G#11 Z#26 Q#17 R[#5003-#18] F#9
G00 X#24 Y#25
#2 = #2-1
END250
M99
View the part using the Verify console key to verify that the part is programmed correctly.
Содержание winmax
Страница 14: ...xiv List of Tables 704 0115 307 WinMax Lathe NC Programming...
Страница 20: ...xx Programming and Operation Information 704 0115 307 WinMax Lathe NC Programming...
Страница 98: ...2 50 Basic NC G Codes 704 0115 307 WinMax Lathe NC Programming...
Страница 208: ...4 94 ISNC G Codes 704 0115 307 WinMax Lathe NC Programming...
Страница 236: ...5 28 ISNC M Codes 704 0115 307 WinMax Lathe NC Programming...
Страница 238: ...6 2 E Codes 704 0115 307 WinMax Lathe NC Programming...
Страница 254: ...12 Index 704 0115 307 WinMax Lathe NC Programming...