Last active
May 6, 2021 09:33
-
-
Save nkymut/66eb37b526c01994600d72b6381dc979 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% | |
(1001) | |
(T1 D=3 CR=0 - ZMIN=-0.01 - flat end mill) | |
#100=400 (Feed Speed) | |
#101=50 (Circle Diameter) | |
#102=1 (Min circle diameter) | |
#103=3 (offset) | |
N10 G90 G94 (Absolute -> Relative Positioning) | |
N20 G17 (Set XY Plane) | |
N30 G21 (Metric System) | |
N40 M9 (Coolant Off) | |
N50 G0 Z10 (Rapid Move to Z +10mm) | |
N60 X0 Y0 (Move to X0,Y0) | |
(N70 T1 M6 Auto-toolchange to T1) | |
N80 G54 (Work Coordinate systems) | |
(N90 G41 D0.5) | |
N100 G0 X#101 Y0 | |
WHILE [#101 > #102] DO 1 | |
(G0 X#101 Y0) | |
G43 Z10 (Toool Height Offset to Z10) | |
Z0 (Move to Z0) | |
G1 Z-0.01 F#100 (Interpolated Move to Z-0.01 at Feedrate 100mm/m ) | |
G2 Y-0 I-#101 J0 (Circular Move from X50 Y0 to Y0, Relative Center X-50 Y0 ) | |
G0 Z2 | |
#101 = [#101 - #103] | |
ENDWHILE 1 | |
N110 G0 Z10 (Rapid Move to Z10) | |
N220 Z10 (Move to Z10) | |
N330 X0 Y0 (Move to X0 Y0) | |
N440 M30 (Return to Secondary Home Position) | |
% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment