7/29/2019 o1972 Bowtie
1/32
%
The percent sign is computer language
for: Get ready, here comes something
you want or OK that is all you needed
A % should be at the beginning and
end of every program
7/29/2019 o1972 Bowtie
2/32
(CNC PROGRAMMING 1, #o1972)
(J. DAILEY 2/14/05)
(X,Y ZERO BOTTOM LEFT OF PART)(Z ZERO TOP OF PART)
These lines are for the operator only.Everything in parenthesis cannot be seen by the
CNC
This intro can vary according to personalpreference
Notice all letters are upper casesome machine
do not read lower case letters
7/29/2019 o1972 Bowtie
3/32
N0010 G17 G20 G40 G80 G90
(Cancels anything you do not wantand gets the machine ready for what
you want to do)
7/29/2019 o1972 Bowtie
4/32
N0020 T01 M06 (1/16 2FL BEM)
(Calls up the tool you want and doesthe tool change)
7/29/2019 o1972 Bowtie
5/32
N0030 G43 H1 Z1.0
(Calls up Tool Length Compensation
and specifies which offset to use)
7/29/2019 o1972 Bowtie
6/32
N0040 G41 D1
(Calls up Cutter Compensation left
and specifies which offset to use)
7/29/2019 o1972 Bowtie
7/32
N0050 M03 S3000
(Turns on Spindle (CW) and specifies
the Spindle Speed)
7/29/2019 o1972 Bowtie
8/32
N0060 M08
(Turns Flood Coolant On)
7/29/2019 o1972 Bowtie
9/32
N0070 G54 G90 G00 X8.2500
Y3.7500 Z1.0000
7/29/2019 o1972 Bowtie
10/32
N0080 G01 Z-.050 F6.0
7/29/2019 o1972 Bowtie
11/32
N0090 G01 X7.5000 Y2.2500
7/29/2019 o1972 Bowtie
12/32
N0100 G01 X6.0000 Y2.2500
7/29/2019 o1972 Bowtie
13/32
N0110 G01 X6.0000 Y1.5000
7/29/2019 o1972 Bowtie
14/32
N0120 G01 X3.0000 Y1.5000
7/29/2019 o1972 Bowtie
15/32
The Gettysburg Address
Four score and seven years ago our fathers brought forth on this continent, a new nation,
conceived in Liberty, and dedicated to the proposition that all men are created equal.
Now we are engaged in a great civil war, testing whether that nation, or any nation so
conceived and so dedicated, can long endure. We are met on a great battlefield of that war.
We have come to dedicate a portion of that field, as a final resting place for those who
here gave their lives that that nation might live. It is altogether fitting and proper that we
should do this.
But, in a larger sense, we cannot dedicatewe cannot consecratewe cannot hallow
this ground. The brave men, living and dead, who struggled here, have consecrated it, far
above our poor power to add or detract. The world will little note, nor long remember
what we say here, but it can never forget what they did here. It is for us the living, rather,
to be dedicated here to the unfinished work which they who fought here have thus far so
nobly advanced. It is rather for us to be here dedicated to the great task remaining before
usthat from these honored dead we take increased devotion to that cause for which they
gave the last full measure of devotionthat we here highly resolve that these dead shall
not have died in vainthat this nation, under God, shall have a new birth of freedom
and that government of the people, by the people, for the people, shall not perish from the
earth.
7/29/2019 o1972 Bowtie
16/32
The Gettysburg Address 268 words
Less than 3 minutes to read
Let your CNC programming be like
President Abraham Lincolns writing Simple
Accurate
Straight to the point
So lets start using Modal commands to our
advantage
7/29/2019 o1972 Bowtie
17/32
N0130 Y2.2500
7/29/2019 o1972 Bowtie
18/32
N0140 X.7500
7/29/2019 o1972 Bowtie
19/32
N0150 X1.5000 Y3.7500
7/29/2019 o1972 Bowtie
20/32
N0160 X3.0000
7/29/2019 o1972 Bowtie
21/32
N0170 Y4.5000
7/29/2019 o1972 Bowtie
22/32
N0180 X6.0000
7/29/2019 o1972 Bowtie
23/32
N0190 Y3.7500
7/29/2019 o1972 Bowtie
24/32
N0200 X8.2500
7/29/2019 o1972 Bowtie
25/32
N0210 G00 Z1.0
7/29/2019 o1972 Bowtie
26/32
N0220 M09 (Turn Coolant off)
7/29/2019 o1972 Bowtie
27/32
N0230 M05 (Turn Spindle Off)
7/29/2019 o1972 Bowtie
28/32
N0234 G40 (CANCELS CUTTER
COMPENSATION)
N0236 G28 G91 Z0
7/29/2019 o1972 Bowtie
29/32
N0236 G28 G91 Z0
(Rapid to Home Position)
N0240 G28 G91 X0 Y0
7/29/2019 o1972 Bowtie
30/32
N0240 G28 G91 X0 Y0
(Rapid to Home Position)
N0250 M30 (E d f P d
7/29/2019 o1972 Bowtie
31/32
N0250 M30 (End of Program and
rewindcould also be a M02
% ( t b t b i i / d f
7/29/2019 o1972 Bowtie
32/32
% (must be at beginning/end of
program)
Top Related