Manual Probing

Help for setting up and using
paulnd
Posts: 6
Joined: Thu Apr 17, 2014 4:33 pm
Location: London

Re: Manual Probing

Post by paulnd »

I should have been more specific, sorry.

How do I add manual probing as described above in Linux CNC? I'm not milling PCB's but would like insert Z axis corrections into the gcode.
User avatar
Country_Bubba
Posts: 124
Joined: Wed Oct 02, 2013 3:07 pm
Location: LaGrange, GA USA
Contact:

Re: Manual Probing

Post by Country_Bubba »

Autoleveler is a stand alone program. It should work with any g code file as long as you have the ability to probe it. As of now, it is assumed the probe is the tool that you will be using to do the cutting.

However, having said that, with some creative g coding, you should be able to do a probe with one tool and then cut with another.

So if we assume your going to "cut" with your "probe", you should be able to simply run your g code file through Autoleveler to produce a new file and it should work. After all, Autoleveler doesn't know if the workpiece is a pcb or a chunk of aluminum. :)
Art
Country Bubba
daedelus
Site Admin
Posts: 387
Joined: Tue Oct 01, 2013 1:41 pm
Location: London, UK
Contact:

Re: Manual Probing

Post by daedelus »

Vadim mentioned that he was using Mach3, but the part of the G-Code output that you will need to change should be identical in LinuxCNC. So, this:
daedelus wrote:Art is correct of course and has made me realise something.

If you run code through the AutoLeveller, you will see lines like this:

Code: Select all

#500=#5422
G0 Z2
G0 X-72.3148 Y-66.8981
G38.2 Z-1 F100
#501=#5422
G0 Z2
G0 X-62.1816 Y-66.8981
G38.2 Z-1 F100
#502=#5422
G0 Z2
G0 X-52.0484 Y-66.8981
G38.2 Z-1 F100
#503=#5422
#5422 is the variable which holds the current Z position and #500 onwards is the variable which the AutoLeveller refers to in milling later. So what you could do is replace the #5422 variable with you own number. You can then remove the probe lines before it. So the above code would become:

Code: Select all

#500=0.012
#501=0.056
#502=0.023
#503=0.034
for example. I think this will do what you want.
is correct in Mach3 or LinuxCNC I think. Let us know if not or if I have misinterpreted the question.
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
paulnd
Posts: 6
Joined: Thu Apr 17, 2014 4:33 pm
Location: London

Re: Manual Probing

Post by paulnd »

Thanks, that's what I was looking for, I wasn't sure if the code would be the same for Mach 3 and Linux CNC
Post Reply