Académique Documents
Professionnel Documents
Culture Documents
N10 Spindle on clockwise rotation at 800 rev/min, tool rapid traverse to P01.
N20 Infeed in Z.
N30 Tool traverse P01 to P02, feedrate 150 mm/min.
N40/N50 Rapid traverse retraction.
N60 End of program.
As Non-modal absolute dimensions (AC) are possible for spindle positioning (SPOS, SPOSA)
and interpolation parameters (I, J, K).
So this program use AC non-modal absolute dimensions command to access circle center point
dimensions.
N10 T3 M06
N20 G90 G54 G00 X0.65 Y-1.5 (Start position of bolt holes along an angle)
N30 S1451 M03
N40 G43 H03 Z1. M08
N50 G81 G99 Z-0.45 R0.1 G72 I0.5 J20. L7 F8.
N60 G80 G00 Z1. M09
N70 G53 G49 Z0. M05
N80 M30
G Code Example Mill
O1000
T1 M6
G0 G90 G40 G21 G17 G94 G80
G54 X-75 Y-25 S500 M3 (Start Point)
G43 Z100 H1
Z5
G1 Z-20 F100
X-50 M8 (Position 1)
Y0 (Position 2)
X0 Y50 (Position 3)
X50 Y0 (Position 4)
X0 Y-50 (Position 5)
X-50 Y0 (Position 6)
Y25 (Position 7)
X-75 (Position 8)
G0 Z100
M30
O1000
T1 M6
(Linear / Feed - Absolute)
G0 G90 G40 G21 G17 G94 G80
G54 X-75 Y-75 S500 M3 (Position 6)
G43 Z100 H1
Z5
G1 Z-2 F100
X-40 (Position 1)
Y40 M8 (Position 2)
X40 (Position 3)
Y-40 (Position 4)
X-75 (Position 5)
Y-75 (Position 6)
G0 Z100
M30
G50 G92 G92 Coordinate system setting or max. spindle speed setting
00
G50.3 G92.1 G92.1 Workpiece coordinate system preset