From TechnoDocs
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
G and M codes describe a tool path and tool path operations for CNC control. For a list of all the codes, see the [[g-code reference]].
+
The Electronic Industries Association developed a standard for a code it defines as an
 +
"interchangeable variable block data format for positioning, contouring, and  contouring/positioning numerically controlled machines". The standard for this general machine code, known as G/M-Code or, more commonly, G-Code, is EIA-274-D.
  
=== G-Code Examples ===
+
The Techno CNC [[Control Software (servo)|Control Software]] is designed to recognize some of the standard G/M codes. The codes it supports can be used to revise an existing G-Code (.NC) file or to create an original file that can be run by the Techno G-Code Interface. The codes that are recognized by the Techno Interface are listed and described in detail in the [[G-code reference]]. Sample G-Code files can be found in the [[G-code examples]] area.
The following examples may help provide a better understanding of how to write and manipulate g-code.
+
 
+
==== Follow a Circle ====
+
Copy this code to a file and name it circle.nc. When you load it into the Control Software, your router will follow a circle shape in the X and Y plane.
+
<pre>
+
G90
+
G2 I2 F100
+
M30
+
</pre>
+
  
  
 
[[Category:Software]]
 
[[Category:Software]]
 +
[[Category:Manual]]

Latest revision as of 14:39, 7 October 2010

The Electronic Industries Association developed a standard for a code it defines as an "interchangeable variable block data format for positioning, contouring, and contouring/positioning numerically controlled machines". The standard for this general machine code, known as G/M-Code or, more commonly, G-Code, is EIA-274-D.

The Techno CNC Control Software is designed to recognize some of the standard G/M codes. The codes it supports can be used to revise an existing G-Code (.NC) file or to create an original file that can be run by the Techno G-Code Interface. The codes that are recognized by the Techno Interface are listed and described in detail in the G-code reference. Sample G-Code files can be found in the G-code examples area.