<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to G-Code</title><link>https://sourceforge.net/p/easycnc/wiki/G-Code/</link><description>Recent changes to G-Code</description><atom:link href="https://sourceforge.net/p/easycnc/wiki/G-Code/feed" rel="self"/><language>en</language><lastBuildDate>Sat, 21 Nov 2015 15:59:17 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/easycnc/wiki/G-Code/feed" rel="self" type="application/rss+xml"/><item><title>G-Code modified by Hawk</title><link>https://sourceforge.net/p/easycnc/wiki/G-Code/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v31
+++ v32
@@ -261,6 +261,42 @@

 ---

+M-Commands
+==========
+M0: Stop or Unconditional stop
+---------------------
+**M0** stops the router and the tool
+
+---
+
+M3: Tool On or Spindle On, Clockwise
+--------------------
+**M3** has different behaviours depending on the tools:
+* LASER: it turns on the laser,
+* MILLING MACHINE: it turns on the milling machine and set the CW spindle if it is supported,
+* SERVO PLOTTER: it moves down the pen
+
+---
+
+M4: Tool On or Spindle On, Counter-Clockwise
+-----------
+**M4** has different behaviours depending on the tools:
+* LASER: it turns on the laser,
+* MILLING MACHINE: it turns on the milling machine and set the CCW spindle if it is supported,
+* SERVO PLOTTER: it moves down the pen
+
+---
+
+M5: Tool off or Spindle Off
+-------------------------
+**M5** has different behaviours depending on the tools:
+* LASER: it turns off the laser,
+* MILLING MACHINE: it turns off the milling machine,
+* SERVO PLOTTER: it moves up the pen
+
+
+
+

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Hawk</dc:creator><pubDate>Sat, 21 Nov 2015 15:59:17 -0000</pubDate><guid>https://sourceforge.net3244e48fe0a39e260d91a9214011ad2bc55cb14a</guid></item><item><title>G-Code modified by Hawk</title><link>https://sourceforge.net/p/easycnc/wiki/G-Code/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v30
+++ v31
@@ -182,7 +182,7 @@

 G21: Set Units to Millimeters
 ---------------------------------------------
-**G21** sets units in millimeters from now on.
+**G21** sets units in millimeters from now on. It is the default setting.

 ---

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Hawk</dc:creator><pubDate>Sat, 21 Nov 2015 15:14:51 -0000</pubDate><guid>https://sourceforge.net844b0a6444cdd3f84e6182ca8896d8b9da34855a</guid></item><item><title>G-Code modified by Hawk</title><link>https://sourceforge.net/p/easycnc/wiki/G-Code/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v29
+++ v30
@@ -201,7 +201,7 @@
 G92: Set Position
 ---------------------------------------------
 **Usage**
-G92 [Xnnn] [Ynnn] [Znnn]
+G92 Xnnn Ynnn Znnn

 **Parameters**
     **Xnnn** The position of X axis
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Hawk</dc:creator><pubDate>Sat, 21 Nov 2015 14:52:56 -0000</pubDate><guid>https://sourceforge.net79104d2fe09e497740afa8246b5c3265f194f3a4</guid></item><item><title>G-Code modified by Hawk</title><link>https://sourceforge.net/p/easycnc/wiki/G-Code/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v28
+++ v29
@@ -198,6 +198,30 @@

 ---

+G92: Set Position
+---------------------------------------------
+**Usage**
+G92 [Xnnn] [Ynnn] [Znnn]
+
+**Parameters**
+    **Xnnn** The position of X axis
+    **Ynnn** The position of Y axis
+    **Rnnn** Z postion of Z axis
+    **Lnnn** Times that has to repeat the operation
+
+**Example**
+~~~~
+1. G92 X10 Y10 Z10
+2. G92 X10 Y10
+3. G92
+~~~~
+
+First line sets the current position to X=10, Y=10 and Z=10.
+Second line sets the current position to X=10, Y=10 and Z=0.
+Third line sets all axes to X=Y=Z=0
+
+---
+
 G98 &amp;amp; G99 Cycle retraction mode
 ---------------------------------------------
 **G98** sets the retraction position after a drilling sycle at the Z position specified by R.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Hawk</dc:creator><pubDate>Sat, 21 Nov 2015 14:52:06 -0000</pubDate><guid>https://sourceforge.netd8dae097b8e36470b14959a3583c9b05fac7ddad</guid></item><item><title>G-Code modified by Hawk</title><link>https://sourceforge.net/p/easycnc/wiki/G-Code/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v27
+++ v28
@@ -174,6 +174,18 @@

 ---

+G20: Set Units to Inches
+---------------------------------------------
+**G20** sets units in inches from now on.
+
+---
+
+G21: Set Units to Millimeters
+---------------------------------------------
+**G21** sets units in millimeters from now on.
+
+---
+
 G90: Absolute positioning
 ---------------------------------------------
 **G90** sets absolute coordinates system for the tool positioning.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Hawk</dc:creator><pubDate>Sat, 21 Nov 2015 14:44:34 -0000</pubDate><guid>https://sourceforge.net3bc23ac17f0161455938c11e4bb4c5b494f997ba</guid></item><item><title>G-Code modified by Hawk</title><link>https://sourceforge.net/p/easycnc/wiki/G-Code/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v26
+++ v27
@@ -164,7 +164,7 @@
 G4 Pnnn

 **Parameters**
-    **Pnnn** Number of seconds to be paused
+    **Pnnn** Number of milliseconds to be paused

 **Example**
 ~~~~
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Hawk</dc:creator><pubDate>Fri, 20 Nov 2015 20:02:32 -0000</pubDate><guid>https://sourceforge.net58f586cc1f8a1449d43cc7bc9c2e9deae5e8adcb</guid></item><item><title>G-Code modified by Hawk</title><link>https://sourceforge.net/p/easycnc/wiki/G-Code/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v25
+++ v26
@@ -209,14 +209,19 @@
 1. G90 G81 G98 X400 Y500 Z150 R280
 2. G91 G81 G98 X400 Y500 Z-60 R180 L3
 ~~~~
+
 First line stes absolute coodinates, than makes the below operations
 1. rapid movement to position (X=400, Y=500)
 2. rapid movement to Z position Z=280
 3. move down Z to position Z=150 with the current feedrate
 4. rapid tool retraction at Z=280.

-Second line sets relative coordinate system, than makes the below operations
-
+Second line sets relative coordinate system (G91) and the retraction mode to R (98), let suppose that the current position is (X=100, Y=200, Z=300), so the cycle makes the below operations:
+1. rapid movement to the position (X=100, Y=200, Z=300+180) 
+2. rapid movement to the position (X=100+400, Y=200+500, Z=480)
+3. move down up to the position (X=500, Y=700, Z=480-60)
+4. rapid tool retraction at the position (X=500, Y=700, Z=480)
+5. repeat from point 2 with current position (X=500, Y=700, Z=480), the cycle is repeated for three times.

 ---

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Hawk</dc:creator><pubDate>Mon, 26 Oct 2015 16:41:20 -0000</pubDate><guid>https://sourceforge.net95bac5274cd7546f528c08e406c8a59a505a6bb0</guid></item><item><title>G-Code modified by Hawk</title><link>https://sourceforge.net/p/easycnc/wiki/G-Code/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v24
+++ v25
@@ -210,13 +210,13 @@
 2. G91 G81 G98 X400 Y500 Z-60 R180 L3
 ~~~~
 First line stes absolute coodinates, than makes the below operations
-* rapid movement to position (X=400, Y=500)
-* rapid movement to Z position Z=280
-* move down Z to position Z=150 with the current feedrate
-* rapid tool retraction at Z=280.
+1. rapid movement to position (X=400, Y=500)
+2. rapid movement to Z position Z=280
+3. move down Z to position Z=150 with the current feedrate
+4. rapid tool retraction at Z=280.

 Second line sets relative coordinate system, than makes the below operations
-*
+

 ---

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Hawk</dc:creator><pubDate>Mon, 26 Oct 2015 16:27:40 -0000</pubDate><guid>https://sourceforge.netfffa8a61264dda5d061e07d9fceb9fda8a45f1de</guid></item><item><title>G-Code modified by Hawk</title><link>https://sourceforge.net/p/easycnc/wiki/G-Code/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v23
+++ v24
@@ -176,13 +176,20 @@

 G90: Absolute positioning
 ---------------------------------------------
-**G90** sets absolute coordinates for the tool positioning.
+**G90** sets absolute coordinates system for the tool positioning.

 ---

 G91: Relative positioning
 ---------------------------------------------
-**G91** sets relative coordinates for the tool positioning.
+**G91** sets relative coordinates system for the tool positioning.
+
+---
+
+G98 &amp;amp; G99 Cycle retraction mode
+---------------------------------------------
+**G98** sets the retraction position after a drilling sycle at the Z position specified by R.
+**G99** sets the retraction position after a drilling sycle at the Z position kept before the cycple beginning. But if the Z position is lower than R, the retraction will be at R.

 ---

@@ -202,8 +209,14 @@
 1. G90 G81 G98 X400 Y500 Z150 R280
 2. G91 G81 G98 X400 Y500 Z-60 R180 L3
 ~~~~
-First line moves in a Clockwise arc from the current point to point (X=90.6,Y=13.8), with a radius of 5mm
-Second line moves in a Counter-Clockwise arc from the current point to point (X=90.6,Y=13.8), with a radius of 10mm
+First line stes absolute coodinates, than makes the below operations
+* rapid movement to position (X=400, Y=500)
+* rapid movement to Z position Z=280
+* move down Z to position Z=150 with the current feedrate
+* rapid tool retraction at Z=280.
+
+Second line sets relative coordinate system, than makes the below operations
+*

 ---

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Hawk</dc:creator><pubDate>Mon, 26 Oct 2015 16:26:19 -0000</pubDate><guid>https://sourceforge.net2710654257f4286a54b19c2b4a1217b2b271de04</guid></item><item><title>G-Code modified by Hawk</title><link>https://sourceforge.net/p/easycnc/wiki/G-Code/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v22
+++ v23
@@ -28,6 +28,8 @@
 G01 Z0.1 F5.
 G00 X0. Y0. Z0.25`
 ~~~~
+
+---

 Fields
 -------------
@@ -60,6 +62,8 @@
 Fnnn | Feedrate in mm per minute. (Speed of print head movement)
 Nnnn | Line number.

+---
+
 Comments
 ---------------

@@ -72,10 +76,10 @@
 N5 G28*22
 ~~~~

+---
+
 Special fields
 -------------------
-
----

 ---

@@ -106,6 +110,8 @@
 ~~~~
 First line moves the tool in the position X 12 (the system keeps the Y and Z current values) at the max motion speed of the machine. Second line moves the tool in the position X:10 Y:5.1 with a feedrate of 150 mm/min. Third line moves the tool in X:5 Y:3.45 with the same feedrate of the previous command.

+---
+
 G2 &amp;amp; G3: Arc Move with center format
 ---------------------------------------------

@@ -128,6 +134,8 @@
 First line moves in a Clockwise arc from the current point to point (X=90.6,Y=13.8), with a center point at (X=current_X+5, Y=current_Y+10).
 Second line moves in a Counter-Clockwise arc from the current point to point (X=90.6,Y=13.8), with a center point at (X=current_X+5, Y=current_Y+10)

+---
+
 G2 &amp;amp; G3: Arc Move with radius format
 ---------------------------------------------
 **Usage**
@@ -148,6 +156,8 @@
 First line moves in a Clockwise arc from the current point to point (X=90.6,Y=13.8), with a radius of 5mm
 Second line moves in a Counter-Clockwise arc from the current point to point (X=90.6,Y=13.8), with a radius of 10mm

+---
+
 G4: Pause
 ---------------------------------------------
 **Usage**
@@ -162,13 +172,19 @@
 ~~~~
 First line pauses the machine for five seconds.

+---
+
 G90: Absolute positioning
 ---------------------------------------------
 **G90** sets absolute coordinates for the tool positioning.

+---
+
 G91: Relative positioning
 ---------------------------------------------
 **G91** sets relative coordinates for the tool positioning.
+
+---

 G81: Simple drilling cycle
 ---------------------------------------------
@@ -189,7 +205,7 @@
 First line moves in a Clockwise arc from the current point to point (X=90.6,Y=13.8), with a radius of 5mm
 Second line moves in a Counter-Clockwise arc from the current point to point (X=90.6,Y=13.8), with a radius of 10mm

-
+---

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Hawk</dc:creator><pubDate>Mon, 26 Oct 2015 16:10:13 -0000</pubDate><guid>https://sourceforge.net1e30b6abf22bf854332dd3e87e0ed8fb88edfc2f</guid></item></channel></rss>