jpf 1.7 Example Program
The example program shown below assumes that tool 01 is a 1/2 inch diameter endmill and the value in D31 is .25. Can you sketch the programmed path of the tool? Can you sketch the offset path of the tool? What are the overall dimensions of the part?
%
O0002 (EXAMPLE MANUAL PROGRAM)
N10 G90 G00 G40 G20 M06 T01
N20 G55 X-1. Y-1. M03 S1000
N30 G43 H01 Z.1 (SET LENGTH OFFSET)
N40 G17 G41 X0. D31 (SET CUTTER COMP. LEFT)
N45 G01 Z-.5 F20 (BEGIN PROFILE)
N50 G01 Y5.
N60 G02 X1. Y6. R1.
N70 G01 X2.75
N80 G02 X3.5 Y5.25 R.75
N90 G01 Y3.5
N100 G03 X4.5 Y3.5 R.5
N110 G01 Y5.25
N120 G02 X5.25 Y6 R.75
N130 G01 X9.
N140 G02 X10. Y5. R1.
N150 G01 Y1.
N160 G02 X9 Y0 R1
N170 G01 X1
N180 G02 X0 Y1 R1
N185 G01 Y1.5 (END PROFILE)
N190 G01 X-1. G40 (CANCEL CUTTER COMP.)
N530 Y0 (BRING TABLE OUT)
N540 M30
%