R less than z in cycle in xyplane

Report problems here
Post Reply
electronrancher
Posts: 1
Joined: Sat Jul 23, 2016 9:26 pm

R less than z in cycle in xyplane

Post by electronrancher » Sat Jul 23, 2016 9:30 pm

Hi,

Getting this error in 0.77 and also 0.8.7, I don't quite know what it relates to. The gcode going in to autoleveller seems to be accepted by Mach3, but after leveling it fails to load with this error.

Other than this, great work! This tool has really improved my PCB milling.

The line in question is
G82 X-88.9 Y31.75 Z[#100 = -0.2] F150 R3 P01

daedelus
Site Admin
Posts: 363
Joined: Tue Oct 01, 2013 1:41 pm
Location: London, UK
Contact:

Re: R less than z in cycle in xyplane

Post by daedelus » Sun Jul 24, 2016 3:08 pm

This is an interesting error. The R in a G82 line means retract, so in your case, after drilling and a short pause, the tool bit will retract to +3mm.

It looks like Mach3 cannot tell the difference between the Z value being given a real number such as Z3.56 and a calculated value as in your case Z[#100 = -0.2] when there is a retract word in the gcode line.

In this case, you could use a 2-stage levelling approach (i.e. use a probe log, RPF) as this will eliminate the calculated Z's and replace them with real numbers and you should be clear of the error.

There is a brief video on how to do this in AutolevellerAE https://youtu.be/ZbfS92Zvzz8 but please feel free to ask more question if this does not make sense.
http://www.autoleveller.co.uk/. Software to probe and adjust a GCode file for PCB's or any probe-able surface.

http://www.autoleveller.co.uk/cnc-probe-guide/. A short guide to setting up the probe.

-James

Post Reply