CNCMill: Difference between revisions

From Traxel Wiki
Jump to navigation Jump to search
Line 11: Line 11:
<pre>
<pre>
G0X0Y0 (rapid traverse to origin)
G0X0Y0 (rapid traverse to origin)
</pre>
== Active Units ==
<pre>
G20 (set active units to inches)
G21 (set active units to millimeters)
</pre>
</pre>


== Feeds ==
== Feeds ==


Feed rate is set with an F command, in the active units.
F sets the feed rate in the active units.


<pre>
<pre>
Line 27: Line 34:


== Straight Line Traversal ==
== Straight Line Traversal ==
G0 is fast traversal. Careful not to run the tool into the part. Each axis is run at full speed until reaching its destination (ie: the tool follows multiple line segments, not an interpolated straight line).
<pre>
G0X3 (fast traverse the X axis to origin + 3 units)
G0X1Y2Z3 (fast traverse to { 1, 2, 3 })
</pre>


== Straight Line Cuts ==
== Straight Line Cuts ==

Revision as of 21:16, 19 July 2022


G-Code

This may be specific to Acorn CNC at HSL.

Comments

Comments are in parentheses.

G0X0Y0 (rapid traverse to origin)

Active Units

G20 (set active units to inches)
G21 (set active units to millimeters)

Feeds

F sets the feed rate in the active units.

G20 (inches)
F15 (15 inches per minute)
G1X0Y0 (traverse to origin at 15 IPM)
G21 (millimeters)
F375 (375 mm per minute)
G1X0Y0 (traverse to origin at 375mmPM)

Straight Line Traversal

G0 is fast traversal. Careful not to run the tool into the part. Each axis is run at full speed until reaching its destination (ie: the tool follows multiple line segments, not an interpolated straight line).

G0X3 (fast traverse the X axis to origin + 3 units)
G0X1Y2Z3 (fast traverse to { 1, 2, 3 })

Straight Line Cuts

Arc Cuts

Drill Array Pecking