Difference between revisions of "Equipment/Staubli/gcode demos"

From London Hackspace Wiki
Jump to navigation Jump to search
(Created page with "=== Follow a countour of an open box === <code> G21; set units to millimeters G0 X0 Y0 Z0 G1 X200 Y0 Z0 G1 X0 Y200 Z0 G1 X-200 Y0 Z0 G1 X0 Y-200 Z0 G1 X200 Y0 Z200 G1 X0 Y200...")
 
 
Line 1: Line 1:
 
=== Follow a countour of an open box ===
 
=== Follow a countour of an open box ===
  
<code>
+
<pre>
 
G21; set units to millimeters
 
G21; set units to millimeters
 
G0 X0 Y0 Z0
 
G0 X0 Y0 Z0
Line 18: Line 18:
 
G1 X0 Y-200 Z200
 
G1 X0 Y-200 Z200
 
G1 X0 Y0 Z200
 
G1 X0 Y0 Z200
</code>
+
</pre>

Latest revision as of 20:17, 8 July 2014

Follow a countour of an open box

G21; set units to millimeters
G0 X0 Y0 Z0
G1 X200 Y0 Z0
G1 X0 Y200 Z0
G1 X-200 Y0 Z0
G1 X0 Y-200 Z0
G1 X200 Y0 Z200
G1 X0 Y200 Z200
G1 X-200 Y0 Z200
G1 X0 Y-200 Z200
G1 X0 Y0 Z200
G1 X0 Y200 Z200
G1 X0 Y200 Z400
G1 X0 Y-200 Z400
G1 X0 Y-200 Z200
G1 X0 Y0 Z200