Actions

Sample G-Code

From PROBOTIX :: wiki

Revision as of 08:21, 9 March 2015 by Admin (Talk | contribs)

Square-Circle Test: Creates a 4in square folled by a 4in circle inside of the square. This is the code that we use to calibrate the machines.
%
G54 G90 G20 G0
G64 P0.01
M3 S1
G0 X0 Y2
G1 Z0 F150
Y0
X4
Y4
X0
Y2
G3 I2.0
G0 Z1 M5
X0 Y0
M30
%

Tool Sensor Test: This code will loop through tools 1-4 to prove that the tool sensor is working.

%
G54 G20 G90 G0 X0 Y0
G64 P0.005

#1 = 1
o100 CALL [#1]

G0 X0 Y0
G1 Z0 F50
G4 P3

#1 = 2
o100 CALL [#1]

G0 X0 Y0
G1 Z0 F50
G4 P3

#1 = 3
o100 CALL [#1]

G0 X0 Y0
G1 Z0 F50
G4 P3

#1 = 4
o100 CALL [#1]

G0 X0 Y0
G1 Z0 F50
G4 P3

M30
%