Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: jonny quest on March 08, 2012, 10:02:34 AM

Title: cycle start g01 z0.000 error
Post by: jonny quest on March 08, 2012, 10:02:34 AM
After my spindle start line, my cam puts in the g01 z0.00 line.

All my Dro's are set to zero, when I hit cycle start it stops at this line and says it cannot complete this task.

My quick fix was to jog z to .001" then run program and it worked fine.

My gcode always has this line in there, this is first time this has happened.

Why would it do that?
Title: Re: cycle start g01 z0.000 error
Post by: Tweakie.CNC on March 08, 2012, 10:30:20 AM
A possible cause is that you have not declared a feed rate for the G01 move.

Try putting F600 before the G01 move.

Tweakie.
Title: Re: cycle start g01 z0.000 error
Post by: jonny quest on March 08, 2012, 07:14:38 PM
this is typically what my programs start off with, and it's never had a problem before.

G00 G49 G40.1 G17 G80 G50 G90 G64
G20
(.325 drill)
M6 T3
M03 S800
G01Z0.000
G00X-0.142Y-3.277
Z0.200
Z0.020
G01Z-0.050 F3
G00Z0.020
Z-0.030

A little bit more info... the same program wouldn't start spindle... some error came up couldn't find m3 module or something like that.

i restarted mach... spindle then worked.... but then I got the go1 z0.00 cycle start error.
Title: Re: cycle start g01 z0.000 error
Post by: BR549 on March 08, 2012, 09:21:48 PM
Try presetting your feedrate to something other than ZERO before you load the code. OR as Tweakie suggested put a F call at the start of the program BEFORE the G1

MACH must have a feedrate set before it can run a motion Gcode such as G1s or else you will get an error.

Just a thought, (;-) TP