June 2005
Proceammne Operator's Manual }———_—__
PM eres
‘ACNC part program consists of one or more blocks of commands. When viewing the program, a block is the
same as a line of text. Blocks shown on the CRT are always terminated by the" ;" symbol, which defines an
EOB. Blocks are made up of alphabetical address codes and the" /” symbol. Address codes are always an
alphabetical character followed by a numeric value. For instance, to specify the position to move the X axis to,
you would be a number preceded by the X symbol
The “/" symbol, or slash, is used to define an optional block. A block that contains this symbol can be option-
ally deleted with the BLKDEL button when running a program.
There is no positional requirement for the address codes. They may be placed in any order within the block.
The following is a sample program as it would appear on the CRT. The words following the “:” are not part
of the program but are put here as further explanation. :
This program will drill four holes and mill a two-inch hole in a four-inch square plate with X and Y zero at the
2
center. The program with comment statements would appear like this.
%
01284 (OP1 SAMPLE MILL PART)
N1 (TOOL 11S A Ye INCH STUB DRILL)
N5 G40 G49T1 MOS
N100 GOO XO YO Z.5 G43 H1 M3 $1400 T2,
N101 G01 Z.2F30.
N102 G83 G98 Z-.625 R.03 Q.2 FS.
N103X1.5Y1.5
N104Y-1.5
N105X-1.5
N106 Y1.5
N107 G00 G80 Z.5
N108 T2 Mo6
N2 (T 21S 5/8 90 DEG, COUNTERSINK)
N200 GOO XO YO Z.5 G43 H2 M3 $500
N201 G01 Z.2 F390.
N202 G82 G98 Z-.27 R.0 FS.
N203 X1.5Y1.5
N204Y-1.5
N205X-1.5
N206 Y1.5
N207 G00 G80 Z.5
N208 G28 XO Y0Z2.0
N209 T3 Mos
N3 (TOOL 3 IS A % END MILL)
(SET DIAMETER VALUE TOOL 3)
N00 GOO XO YO Z.5 G43 H3 M3 $1000
N301 GO1 Z.2 F30.
N302Z-.625F5.
N303 G01 G41 X-1.00
N304 G03 11.0 D1
N05 GOO G40 X00
N306 G00 2.5
N307 G28
M30
%
:PROGRAM MUST BEGIN AND END WITH %
:PROGRAM # AND COMMENT STATEMENT
:(**"**) NOTES TO OPERATOR:
:RAPID TO POS, OFFSET 1, SPIN FWD.
FEED 30 INCH/MINUTE TO Z DEPTH
:PECK TO Z-.625 START .03 ABOVE
:DRILL ANOTHER HOLE AT NEW X,Y
:DRILL SRD HOLE, PECK DEPTH IS .20
:DRILL FOURTH HOLE
:DRILL FIFTH HOLE
:CANCEL CANNED CYCLE
:TOOL CHANGE TO TOOL #2
:N### ARE LINE NUMBERS:
:OFFSET 2, SPINDLE SPEED 500 RPM
:FEED TO Z AT 30 INCH PER MINUTE
:SPOT DRILL CYCLE, DRILL AT XO YO
:SEC HOLE R=START PLANE ABOVE ZERO
:3RD HOLE G98=RETURN TO INIT POINT
:FOURTH HOLE,
:FIFTH HOLE
:RAPID TOZ.5
:ZERO RETURN AFTER MOVE TO XO, YO
:TOOL CHANGE,
:N#'S ARE FOR YOUR CONVENIENCE
:COMMENTS ARE IGNORED BY CONTROL
:G43 = OFFSET Z IN MINUS DIRECTION
:G01 CAN BE SPECIFIED AS G1
:FEED TO DEPTH
:COMPENSATE CUTTER LEFT OF LINE
:CUT CIRCLE CCW WITH TOOL DIA D1
RAPID TO CENTER, G40 CANCELS COMP.
:RAPID OUT OF PART
:ZERO RETURN, Z GOES FIRST THAN X,Y
:RESET PROGRAM TO BEGINNING
:END OF TAPE
AMS
96-8000 rev G