0% found this document useful (0 votes)
371 views147 pages

Module 2 Part 1

The document provides information on part programming for NC/CNC machines. It discusses: 1. Part programs contain instructions for machining a component and are input to the machine control unit. 2. Programming formats include word address, tab sequential and fixed block formats. Common G-codes like G00, G01, G02, G03 for rapid traverse and linear/circular interpolation are described. 3. Reference points, tool offsets and workpiece coordinate systems used for positioning are covered. Canned cycles for drilling and other operations are also summarized.

Uploaded by

FRANCIS THOMAS
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
Download as pptx, pdf, or txt
0% found this document useful (0 votes)
371 views147 pages

Module 2 Part 1

The document provides information on part programming for NC/CNC machines. It discusses: 1. Part programs contain instructions for machining a component and are input to the machine control unit. 2. Programming formats include word address, tab sequential and fixed block formats. Common G-codes like G00, G01, G02, G03 for rapid traverse and linear/circular interpolation are described. 3. Reference points, tool offsets and workpiece coordinate systems used for positioning are covered. Canned cycles for drilling and other operations are also summarized.

Uploaded by

FRANCIS THOMAS
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1/ 147

Module 2

PART PROGRAMMING
NC/CNC MACHINES
NC and CNC MACHINE PROGRAMMING
• Automated control of machining tools
• Machine run on program –Program written in manuscript- using numbers,
letters and symbols
• NC the input given is by punched cards or magnetic tapes.
• Manuscript (standard format-word format) to tape using flexo writer which
is read by tape reader

CNC-computer + NC
• computer interface- easily changeable
program
• High accuracy products in less time
A part program contains all the information for machining a component
which is given as a input to the control unit.

The control unit provides the control signals at the correct time and in the
correct sequence to the various drive units of the machine.
Part Program
1. Part program is a set of instructions which instruct the machine tool
about the processing steps to be performed for the manufacture of a
part.
2. A program defining motion of tool / work piece in this coordinate
system is known as a part program.
3. NC part programming comprises the collection of all data required to
produce the part,
• the calculation of a tool path along which the machine operations
will be performed and the arrangement of those given and
calculated data in a standard format which could be converted to
an acceptable form for a particular MCU.
4. The shape and size of the finished component is totally dependent on
how well the program has been prepared.
Types of part programming
1. Manual part programming,
2. Computer aided part programming.
NC COORDINATE SYSTEM
Machining of a work piece by an NC program in the NC lathe centers require a
‘coordinate system’ to be applied to the machine tool. The Z axis is always parallel
to the main spindle of the machine. The x axis is at right angle to the Z axis and
parallel to the work holding surface.
Reference Points
A reference point is a fixed or selected arbitrary location on the machine, on the tool and
on the part. A fixed reference point is a precise location along two or more axes, designed
during manufacturing or setup. Three reference points are either set by manufacturer or
user.
Machine Origin-Machine Zero Point
The machine origin is a fixed point set by the machine tool builder. Usually it cannot
be changed. Any tool movement is measured from this point. The controller always
remembers tool distance from the machine origin.
Program Origin
It is also called home position of the tool. Program origin is point from where the tool
starts for its motion while executing a program and returns back at the end of the
cycle. This can be any point within the workspace of the tool which is sufficiently
away from the part. In case of CNC lathe it is a point where tool change is carried out.
Part Origin- Work piece zero point
This point determines the work piece co- ordinate system in relation to the CNC
system when setting up the machine. Usually part origin needs to be defined for each
new setup.
Programming format/tape format
Word Address Format
This type of tape format uses alphabets called address, identifying the function of
numerical data followed.
N20 G00 X1.200 Y.100 F325 S1000 T03 M09 <EOB>
Tab Sequential Format
Here the alphabets are replaced by a Tab code, which is inserted between two words.
The MCU reads the first Tab and stores the data in the first location then the second
word is recognized by reading the record
>20 >00 >1.200 >.100 >325 >1000 >03 >09
Fixed Block Format
In fixed block format no letter address of Tab code are used and none of words can be
omitted. The main advantage of this format is that the whole instruction block can be read
at the same instant, instead of reading character by character. This format can only be
used for positioning work only.
20 00 1.200 .100 325 1000 03 09 <EOB>
G- Code description
G00 – Rapid traverse

The G00 code executes a non-cutting movement, at a rapid feed rate, to a specific co-
ordinate position in the working area. G00 command is written in the following format
G00 X_ _ _ _Y_ _ _ _ Z_ _ _ _
Here X, Y and Z denote the location of the ending position of the tool. The tool moves
from starting point to the ending point in maximum possible speed. The path taken by
the tool may not be linear, but it will be the quickest.
G01 Linear interpolation

The G01 code executes a cutting movement following a straight line, at a set
feed rate. G01 command is written in the following format.
G01 X_ _ _ _Y_ _ _ _ Z_ _ _ _
If we give the command,G01 X100 Y50 F50
Then, the tool will move from starting point to end point performing cutting
motion in a straight line between them as shown in the figure at the specified
feed rate (50 mm/min)
What is IJK
“I” = Incremental distance from Start Point to arc
center in the “X axis.”
“J” = Incremental distance from Start Point to arc
center in the “Y axis.”
“K” = Incremental distance from Start Point to arc
center in the “Z axis.”
G94 Feed Per Minute
G95 Feed Per Revolution
G98 Return to initial level in canned cycle
R Method
The R Method can only be used for arcs less than 360 degrees
(In absolute mode, G90):
G01 X100 Y40 F125;
G03 X80 Y60 I-20;
G01 X60;
G02 X40 Y40 I-20;
G40 G41 G42 Cutter compensation
In NC machining, if the cutter axis is moving along the programmed path,
the dimension of the work piece obtained will be incorrect since the
diameter of the cutter has not be taken in to account.

The use of cutter compensation allows the programmer to use the part
geometry exactly as from the print for programmed coordinates.
G40 = Cutter Compensation Cancel
G41 = Cutter Compensation Left
G42 = Cutter Compensation Right
G80 G81 CANNED CYCLE – DRILLING
A canned cycle is a way of conveniently
performing repetitive CNC machine operations.
Canned cycles automate certain machining
functions such as drilling, boring, threading,
pocketing, etc. A canned cycle is used to simplify
programming of a part. Once selected, a canned
cycle is active until cancelled with the G80 code.
G80 Canned cycle stop and G81 for canned
Drilling Cycle Start.

G98/G99 G81 X _ _ _ Y _ _ _ Z _ _ _ R _ _ _ F _
__
THE TOOL IS POSITIONED ON THE RIGHT HAND
SIDE OF THE PART, AS SEEN FOLLOWING THE
DIRECTION OF MOVEMENT, FROM BEHIND THE
TOOL.

THE TOOL IS POSITIONED ON THE LEFT HAND


SIDE OF THE PART, AS SEEN FOLLOWING THE
DIRECTION OFMOVEMENT, FROMBEHIND THE
TOOL.
•G40 = Cutter Compensation Cancel
•G41 = Cutter Compensation Left
•G42 = Cutter Compensation Right
% (Start tag)
:1002; (Program Number)
N10 G90G95G21; (G90-absolute programming, G95 - feed per rev,
G21-metric mode)
N20M06T01; (M06 - tool change, T01 - tool number one)
N30M03S800; (M30 - Spindle ON, clockwise rotation, S800 –
spindle speed is set to 800 rpm)
N40M08; (M08 - Coolant ON)
N50 G00X12.5Z2; (G00 - Rapid motion)
N60 G01 Z0F0.1; Linear interpolation, feed is .01mm/rev
N70 G01 X0F0.1; (Facing operation is performed)
N80 G00Z2; (Tool moves 2 mm away in Z direction)
N90 G00 X7.5;
N100 G01Z-25 F0.1; (Turning operation is performed)
N110 G01 X12.5;
N120 G01 Z-25
N130M05; (Spindle OFF)
N140M09; (Coolant off)
N150M30; (Program end and tape rewind)
The percent sign “ % “ is used to tell the
controller where the beginning of the
program is
N20 G01 Z-100; (turning 25 mm
dia)
N60 G00 X-4Z01; (Position of cut)
% 1000; (Main programme) N65 G01 Z-60; (Cutting length)
N01 G54 G90 G71 G94 M03 S800; N70 G01 X-12.5; (cut)
N02 G00 X00Z01 N85 G00 X5 Z5; (Final position of
N05 G01 X-12.5 Z0 F2; (Facing the job) tool)
N90 M02; (End of programme)
% 2000; (Main programme)
N01 G54 G91 G71 G94 M03 S800; (Parameters Setting)
N05 G01 X-15 Z0 F2; (Facing the job)
N10 G00 Z1; (Tool clearance)
N15 G00 X10; (Tool clearance from the centre)
N20 G01 Z-36; (Turning operation)
N25 G01 X5 –Z30; (Taper turning operation)
N30 G00 X1 Z66; (Final position of tool)
N35 M02; (End of programme)
%0001
N5 M12
N10 T0101
N15 G0 X100 Z50
N20 M3 S600
N25 M8
N30 G1 X50 Z0 F600
N40 Z-30 F200
N50 X80 Z-20 F150
N60 G0 X100 Z50
N70 T0100
N80 M5
N90 M9
N100 M30
N110 %
N0 G90 F0.5 S1200
T0101 M03
N10 G00 X35 Z2
N20 G01 X20 Z0
N30 G01 X20 Z-15
N40 G02 X25 Z-25 R15
N50 G01 X25 Z-40
N60 G03 X30 Z-50 R15
N70 G01 X30 Z-70
N80 M05 M30
% (Start tag)
:1004; (Program number)
N10 G90G95G21; (G90 absolute programming, G95 feed /rev, G21
metric )
N20M06T01; (Tool change to tool no1)
N30M03S600; (Spindle ON with 600RPM)
N40M08; (Coolant ON)
N50 G00X0 Z5; (Tool will reach point1)
N60 G01Z0F0.1; (Tool will reach point2)
N70 G03 X10Z-10 R-10;(G03circular interpolation counter clockwise, Tool at point 3)
N80 G02 X19.15Z-20 R-10;(G02 circular interpolation clockwise, Tool at point 4)
N90G00X22.5; (Tool will reach point5)
N100 G28X0 Z0; (G28 Go to home position, Tool will reach point6)
N110M05; (Spindle OFF)
N120M09; (Coolant OFF)
N130M30; (Program end and tape rewind)
N05 G94 M06 T0101
N10 G00 X0 Z0 M04 S360
N15 G01 X30 F30
N20 G03 X50 Z-10 R10
N25 G01 Z-40
N30 G02 X70 Z-50 R10
N35 G01 Z-100
N40 G00 X100
N45 G00 Z10
N50 M05
N55 M30
RETURN TO REFERENCE POINT (G28)
N1 T1 M06
N2 G90 G00 X.3 Y1.2
N3 S1200 M03
N4 Z1. M08
N5 G81 Z-.6 F10
N6 X1.2 Y.3
N7 G80 G00 Z1. M09
N8 G28 G91 Z0. M05
N9 M30

N1- Tool change to tool no.1


N2- Tool rapidly moves to first drilling position X0.3 Y1.2 while taking into account Zero-
offset-no. 1
N3- Drill starts rotating clockwise with 1200 rpm.
N4- Drill takes depth Z1. taking into account tool length compensation (G43 H01), coolant
is turned on.
N5- Drilling cycle parameters, drill depth and cutting feed are given, with this command
first drill is made at current position (X0.3 Y1.2).
N6- As drilling cycle continues it’s work with every axis movement so next drill is
done at X1.2 Y0.3
N7- Drilling cycle is cancelled with G80 command, Coolant is turned off.
N8- As operation for this component is finished, so cutting tool is taken to
reference position, and cutter rotation is stopped.
N9- CNC part-program is ended.
% (Start tag)
:1007; (Program number)
N10M06T01; (Tool is changed to T01)
N20 G90G95G21; (G90 absolute programming, G95 feed/rev, G21metric )
N30G00Z2; (Tool is given a clearance of 2 mm above work piece)
N40X10Y10; (Tool is brought to position no1)
N50M03S500; (Spindle ON in clockwise direction with speed
500RPM)
N60M08; (Coolant ON)
N70G01Z-12; Straight cutting motion. Tool penetrates the other side.)
N80G00Z2; (The drill bit is retracted to the clearance plane in rapid )
N90X40; (Tool reaches position no 2 in rapid mode)
N100G01Z-12; (Hole is drilled at position2)
N110G00Z2; (Drill bit is retracted to clearance plane)
N120Y40; (Tool reaches position no 3 in rapid mode)
N130G01Z-12; (Hole is drilled at position3)
N140G00Z2; (Drill bit is retracted to clearance plane)
N150X10; (Tool reaches position no 4 in rapid mode)
N160G01Z-12; (Hole is drilled at position4)
N170G00Z2; (Drill bit is retracted to clearance plane)
N180M05M08; (M05 - Spindle Stop, M08 – Coolant OFF)
N190M30; (End of program and tape rewind)
:1004; (Program number)
N10M06T01; (Tool is changed to T01)
N20 G90G95G21; (G90 absolute programming, G95 feed/rev, G21metric)
N30 G00 X50Y100Z50; (Tool is positioned above point 1 in rapid mode)
N40Z10; (Tool is brought to 10 mm above the work , still in position1)
N50M03S500; (Spindle ON in clockwise direction speed 500RPM)
N60M08; (Coolant ON)
N70 G99 G81 Z-20R2.5F50; (G81-Canned drilling cycle code, Z-20 drilling depth,
R2.5 this is the point 2.5mm above the Hole no:1.
N80X100; (Drilling of hole number 2performed)
N90X150; (Drilling of hole number 3performed)
N100Y50; (Drilling of hole number 4performed)
N110X100; (Drilling of hole number 5performed)
N120X50; (Drilling of hole number 6performed)
N130G80M05; (G80-Stop canned cycle, M05 Spindle OFF)
N140M09; (Coolant OFF)
N150M30; (End of program and tape rewind)
G43 & G49
Tool length compensation
G98 Return (withdraw) to the starting plane (Zi).
G99 Return (withdraw) to the reference plane (Z).
This is the point where the tool will come after performing the drilling
operation. G99 denotes that the drilling tool will return back to the r-
level after drilling the hole) (As the drilling cycle is in progress only
give the of the other six holes to be drilled. Depth, feed and R have
already been mentioned in the previous block N70)
IIT KARAGPUR
By programming the arc radius Absolute
Coordinates (G90) Incremental Coordinates (G91)
N10 G90 S1000 T2 D2 M3 M41 N10 G90 S1000 T2 D2 M3 M41
N20 G0 G42 X0 Y0 Z5 N20 G0 G42 X0 Y0 Z5
N30 G94 G1 Z-5 F150 N30 G94 G1 Z-5 F150
N40 X120 F250 N40 G91 X120 F250
N50 Y40 N50 Y40
N60 G3 X100 Y60 R20 N60 G3 X-20 Y20 R20
N70 G1 X74.142 N70 G1 X-25.858
N80 G2 X45.858 R-15 N80 G2 X-28.282 R-15
N90 G1 X20 N90 G1 X-25.858
N100 G3 X0 Y40 R20 N100 G3 X-20 Y-20 R20
N110 G1 Y0 N110 G1 Y-40
N120 G1 Z5 N120 G90 G1 Z5
N130 G0 G40 X-30 Y-30 Z20 M30 N130 G0 G40 X-30 Y-30 Z20 M30
%1000
T1 M6
G00 G90 G40 G94 G80
G54 X-75 Y-25 S500 M3 (Start Point)
G43 Z05
G1 Z-20 F100
X-50 Y0 M8 (Position 1)
X0 Y50 (Position 2)
X50 Y0 (Position 3)
X0 Y-50 (Position 4)
X-50 Y0 (Position 5)
Y25 X-75 (Position 6)
G0 Z05
M30
% 100; (Main programme)
N5 G17 G71 G90 G94 G54; (Parameters Setting)
N10 T2 L90; (Home position)
N15 G00 Z50 M3 S700 X10 Y-25; (Position of tool)
N20 G01 Z-1.5; (Position of cut)
N25 G01 X30 F100 M8; (Cutting slot)
N30 G00 Z100 M9; (Final position of tool)
N35 M30; (Main programme end)
2.000

2.000

(6,6)
CNC Part Program:
O1011
G21 G98
G28 X0 Z0
M06 T0101
M03 S100
G00 X10 Z1 M08
G00 X7.5
G01 Z-40 F0.2
G00 X10 Z1
G00 X5
G01 Z-20 F0.2
G00 X10 Z1
G28 X0 Z0
M05 M09
M30
CNC Part Program:
O1012
G21 G98
G28 X0 Z0
M06 T0101
M03 S100
G00 X15 Z1 M08
G00 X10
G01 Z-40 F0.2
G00 X15 Z1
G00 X5
G01 Z-20 F0.2
G00 X15 Z1
G00 X10 Z-40
G01 X15 Z-60 F0.2
G00 X15 Z1
G00 X5 Z-20
G01 X10 Z-25 F0.2
G00 X15 Z1G28 X0 Z0
M05 M09
M30
CNC Part Program:
O1013
G21 G98 G00 X50 Z1
G28 X0 Z0 G00 X25 Z-55
M06 T0101 G01 X20 Z-50 F0.2
M03 S100 G00 X50 Z1
G00 X50 Z1 M08 G00 X15 Z-5
G00 X40 G01 X10 Z0 F0.2
G01 Z-230 F0.2 G00 X50 Z1
G00 X50 Z1 G28 X0 Z0
G00 X25 M05 M09
G01 Z-130 F0.2 M30
G00 X50 Z1
G00 X15
G01 Z-50 F0.2
G00 X50 Z1
G00 X40 Z-135
G01 X35 Z-130 F0.2
CNC Part G00 X60 Z1
Program: O1014 G00 X50 Z-185
G21 G98 G02 X45 Z-180 R5
G28 X0 Z0 G00 X60 Z1
M06 T0101 G00 X30 Z-83
M03 S100 G02 X27 Z-80 R3
G00 X60 Z1 M08 G00 X60 Z1
G00 X50 G00 X20 Z-2
G01 Z-330 F0.2 G02 X18 Z0 R2
G00 X60 Z1 G00 X60 Z1
G00 X30 G28 X0 Z0 M05
G01 Z-180 F0.2 M09
G00 X60 Z1 M30
G00 X20
G01 Z-80 F0.2
A binary digit is called a bit. It has a value of 0 or 1 depending on the
absence or presence of a hole in a certain row and column position on
the tape. Out of a row of bits, a character is made. A character is a
combination of bits, which represents a letter, number, or other
symbol.
A word is a collection of characters used to form part of an instruction.
Typical NC words are x-position, y-position, cutting speed, and so on.
Out of a collection of words, a block is formed. A block of words is a
complete NC instruction.

Using an NC drilling operation as an example, a block might contain


information on the x and y coordinates of the hole location, the speed
and feed at which the cut should be run, and perhaps even a
specification of the cutting tool.

To separate blocks, an end-of-block (EOB) symbol is used (in the EIA


standard, this is a hole in column 8). The tape reader feeds the data
from the tape into the buffer in blocks. That is, it reads in a complete
instruction at a time.
M00 Program Stop – machine will always stop on M00
M01 Optional Program Stop – machine will stop only if operator
has pushed optional stop switch
M02 Program end (no rewind)
M03 Spindle on (clockwise)
M04 Spindle on (anti clockwise)
M05 Spindle stop
M06 Tool change
M08 Coolant on – flood type
M09 Coolant off
M30 End of program, Reset to Start (rewind stop)
M98 Sub Program call
M99 Sub program End and Return
G00 Rapid positioning – Moves the tool in maximum speed to the
designated position
G01 Linear interpolation – The most common code for feeding
during a cut. The intermediate points between the start and the
end position are automatically calculated.

G02 Circular interpolation (Clockwise) – the code to give feed in


circular motion in clockwise direction.

G03 Circular interpolation (Anti clockwise) – the code to give circular


feed in anticlockwise direction.
G20 English Units Input – Programming in inches.
G21 Metric Units input – Programming in millimeters.
G28 Return to home position – Return to machine zero.
G40 Tool radius compensation off
G41 Tool radius compensation left
G42 Tool radius compensation right
G80 Drilling Cycle Stop
G81 Drilling Cycle
G84 Thread cutting cycle (canned cycle)
G90 Absolute Programming – Positions defined with respect to
fixed origin
G91 Incremental Programming – Positions defined with
reference to previous position
G94 Feed Per Minute
G95 Feed Per Revolution
G98 Return to initial level in canned cycle
G99 Return to R point in canned cycle
• These coded instructions are called data – a series of letters
and numbers. The part program includes all the geometrical
and technological data to perform the required machine
functions and movements to manufacture the part.
• The part program can be further broken down into separate
lines of data, each line describing a particular set of machining
operations. These lines, which run in sequence, are called
blocks.
• A block of data contains words, sometimes called codes. Each
word refers to a specific cutting/movement command or
machine function.
• Each program word is composed from a letter, called the
address, along with a number.
APRIL 2018
MODULE 1
1. Explain powder metallurgy process. (4)
2. With neat sketches explain the principal methods used to produce metallic powders
in powder metallurgy.
3. Draw relay ladder diagram for the following sequential operations. Start button
pressed, table motor started, package moves to the position of the limit switch and
stops. Auxiliary features required are emergency stop, red light to indicate stop
condition and green light to indicate package moving condition. Draw input and
output connection diagrams also.

MAY 2019
MODULE 1
1. Explain the different stages of sintering process in Powder metallurgy with a
neat sketch
2. Differentiate the impregnation and infiltration process in Powder metallurgy
3. What are the different methods of atomization for making metal powders in
Powder metallurgy?
4. What are the advantages of Powder metallurgy?
DEC 2019
MODULE 1
1. How carbonyls are useful in powder metallurgy?
2. Differentiate between open loop and closed loop CNC with sketches
3. Draw a PLC ladder logic diagram to get the reciprocating motion of a punching machine
using following sequential operations. One of the two motors operates when power is
supplied. Motor drives the punch to one side. When it completes the required
movement in one direction, a limit switch detects the position of the punch. First
motor is get deactivated. Second motor starts and moves the punch to the opposite
direction. When it completes required movement in opposite direction, a second limit
switch detects the position of the punch. Second motor is get deactivated and first
motor is started again and the process continues so as to get a continuous
reciprocating motion. Also draw the input and output diagrams.
APRIL 2018
MODULE 2
1. What are the different word address formats used in part programming? (5)
2. Mention the purpose of miscellaneous functions in part programming.
3. Write any 2 M – codes with their applications. (5)
What is meant by interpolation in NC systems? Explain different types of interpolations

MAY 2019
MODULE 2
1. Write any Five preparatory function code in manual part programming and its
explanation
2. Write any two methods of specifying a line in an APT language
3. Write a Manual Part Program for the given figure
DEC 2019
MODULE 2
1. Explain the working of DDA integrator with schematic diagram and flow chart.
2. A DDA contains 8 bit registers. The value of its p register is constant and P=150 and
the clock frequency is 10240pps. Calculate the output frequency of DDA
3. Write a manual part program for the given work shown in figure , material
thickness is 20mm.Show the tool movement path and write the description of
blocks (all dimensions are in mm)
%
1234
N171 G00 X-15 Y-15 Z50;
N172 G01 Z-1;
N172 G41 X0 Y0 F100; (Start-Up Move)
N173 G01 Y40;
N174 G01 X30 Y80;
N175 G01 X60;
N176 G02 X100 Y40 R40;
N177 G01 Y30;
N178 G03 X70 Y0 R30;
N179 G01X0;
N180 G40 X-15 Y-15; (Cancellation
Move)
N190 G00 Z50
%
358
N1 (BRIDE)
N10 G90 G71 G80 G40
N20 G0 G52 Z0
(Contour)
N30 T4 D4 M6
N40 G97 S345
N50 G94 F110
N60 G0 X62 Y-18
N70 Z-5 M3 M41
N80 G1 G42 X50 M8
N85 G1 Y33
N90 G3 X38 Y45 R12
N100 G1 X-35 Y45
N110 G2 X-50 Y 30 R15
N120 G1 X-50 Y25
N130 G1 X-35 Y0
N140 G1 X-25 Y0
N150 G2 X25 Y0 R25
N155 G1 X50 (Counterbore)
N160 G1 G40 X68 Y-12 M9 N260 T7 D7 M6
N170 G0 G52 Z0 M5 N270 G97 S530
(Drilling) N280 G94 F106
N180 T6 D6 M6 N290 G0 X38 Y33
N190 G97 S1061 N300 Z3 M3 M40
N200 G94 F74 N310 G1 Z-5 M8
N210 G0 X38 Y33 N320 G0 Z3 M9
N220 Z3 M3 M42 N330 G0 G52 Z0 M5
N230 G1 Z-18 M8 (5+10+3) N340 M2
N240 G0 Z3 M9
N250 G0 G52 Z0 M5
N70 Y80
N80 G02 X20 Y90 R10
N90 G01 X50
N100 X90 Y50
N110 Y20
N120 G02 X80 Y10 R10
N130 G01 X50
N10 T1 N140 X10 Y50
N20 S1000 M3 N150 Y65
N30 G00 G40 G90 G17 X-30 N160 G40 X-30 Y60
Y60
N170 G00 Z200 M02
N40 G43 Z50 H1
N50 Z-5
N60 G01 G41 X10 Y60 D1
F200
HARSH .MPF /O1234
N01 G90 G71 G94 F100 ;
N02 G75 X0 Y0 Z0 ;
N03 M06 T01 D01 ;
N04 M03 S1000 ;
N05 G00 X20 Y20 Z2 ;
N06 G01 X20 Y20 Z-5 ; (Position A)
N07 G01 X50 Y20 Z-5 ;(Position B)
N08 G02 X74 Y20 Z-5 CR=12 ;(Position
C)
N09 G01 X99 Y20 Z-5 ;(Position D)
N10 G01 X75 Y70 Z-5 ;(Position E) ;
N11 G01 X70 Y70 Z-5 ; (Position F)
N12 G03 X50 Y70 Z-5 CR=10 ;(Position
G)
N13 G01 X20 Y70 Z-5 ; (Position H)
N14 G01 X20 Y20 Z-5 ;(Position A)
N15 G75 X0 Y0 Z0 ;
N16 M05 ;
N17 M09 ;
N18 M30

You might also like