N005 G54 G90 S350 M03 (Select coordinate system, absolute mode, and start spindle CW at 350 RPM)
N010 G00 X-.625 Y-.25 (Rapid to point 1)
N015 G43 H01 Z-.25 (Instate tool length compensation, rapid tool down to work surface)
N020 G01 X5.25 F3.5 (Machine in straight motion to point 2)
N025 G03 X6.25 Y.75 R1.0 (CCW circular motion to point 3)
N030 G01 Y3.25 (Machine in straight motion to point 4)
N035 G03 X5.25 Y4.25 R1.0 (CCW circular motion to point 5)
N040 G01 X.75 (Machine in straight motion to point 6)
N045 G03 X-.25 Y3.25 R1.0 (CCW circular motion to point 7)
N050 G01 Y.75 ((Machine in straight motion to point 8)
N055 G03 X.75 Y-.25 R1.0 (CCW circular motion to point 9)
N060 G00 Z.1 (Rapid away from workpiece in Z)
N065 G91 G28 Z0 (Go to the machine's reference point in Z)
N070 M30 (End of program)
N005 T01 M06 (Place tool number one in the spindle)
N010 G54 G90 S400 M03 T02 (Select coordinate system, absolute mode, start spindle CW at 400 RPM, get tool number two ready)
N013 G00 X1.0 Y1.0 (Rapid to first XY position)
N015 G43 H01 Z.1 M08 (Instate tool length compensation on first Z move, turn on coolant)
N020 G01 Z-1.5 F4. (Drill hole)
N025 G00 Z.1 M09 (Rapid out of hole, turn off coolant)
N030 G91 G28 Z0 M19 (Return to tool change position, orient spindle)
N035 M01 (Optional stop) N040 T02 M06 (Place tool number two in spindle)
N045 G54 G90 S400 M03 T01 (Select coordinate system, absolute mode, start spindle at 400 RPM, get tool number one ready)
N050 G00 X2. Y1. (Rapid to first XY position)
N055 G43 H02 Z.1 M08 (Instate tool length compensation on tool's first Z move, turn on coolant)
N060 G01 Z-1.2 F5.5 (Drill hole)
N065 G00 Z.1 M08 (Rapid out of hole, turn off coolant)
N070 G91 G28 Z0 M19 (Return to tool change position, orient spindle)
N075 M30 (End of program)


LinkBack URL
About LinkBacks





