Eagle, pcb to g-code, Mach3 and Autoleveler

Help for setting up and using
AKG
Posts: 10
Joined: Tue May 09, 2017 7:39 pm

Re: Eagle, pcb to g-code, Mach3 and Autoleveler

Post by AKG »

That's great. I appreciate your support.
User avatar
Country_Bubba
Posts: 124
Joined: Wed Oct 02, 2013 3:07 pm
Location: LaGrange, GA USA
Contact:

Re: Eagle, pcb to g-code, Mach3 and Autoleveler

Post by Country_Bubba »

Just to jump in on this conversation, I believe I have read that some USB dongles have not implemented probing for Mach3. I could be incorrect, but it may not be a Mach problem, but rather a problem with the USB dongle.

The one to contact would be the provider of the USB dongle.
Art
Country Bubba
AKG
Posts: 10
Joined: Tue May 09, 2017 7:39 pm

Re: Eagle, pcb to g-code, Mach3 and Autoleveler

Post by AKG »

Well there is probing because zero tool works. This means feedback from machine z-axis is getting to Mach3.
User avatar
Country_Bubba
Posts: 124
Joined: Wed Oct 02, 2013 3:07 pm
Location: LaGrange, GA USA
Contact:

Re: Eagle, pcb to g-code, Mach3 and Autoleveler

Post by Country_Bubba »

Ah, OK thats one thing down. :D
Art
Country Bubba
daedelus
Site Admin
Posts: 387
Joined: Tue Oct 01, 2013 1:41 pm
Location: London, UK
Contact:

Re: Eagle, pcb to g-code, Mach3 and Autoleveler

Post by daedelus »

I think Art could be correct because I have had a quick look around on CNCZone before I email Artsoft and it seems that many USB boards do not support the G31 probe command. If the zero tool does not use G31 directly, then that could explain why the zero tool works but the PFG (which makes use of G31) does not.

Do you know the manufacturer of your USB board? It has been suggested that the manufacturer may be able to provide an updated driver that supports G31. Another possibility is to swap the USB card for a parallel port one, if your computer has a parallel port directly on the motherboard. PCI parallel port cards do not work in general.
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
steamer
Posts: 11
Joined: Sat May 06, 2017 8:16 pm

Re: Eagle, pcb to g-code, Mach3 and Autoleveler

Post by steamer »

AKG,

If you're 6040Z S80 1,5 kW uses the NcUsbPod.dll driver, which I think it does. Then maybe my post ''Aircuts on Mach3 USB NcUsbPod" provides a work around for some of the problems. (my usb controller box is from a 6040Z)

I had some of the same problems, and I found out that if you don't close mach3 after aborting or having run a autolevelled gcode file that has gone wrong, mach3 uses its autolevel results for the next start. And mostly throws a softlimit error or aircuts way high.
So close and reopen Mach3 after a (aborted) AL run!

It won't work for generating a RPF file, but the autolevel function could work with the workaround.

Emile
AKG
Posts: 10
Joined: Tue May 09, 2017 7:39 pm

Re: Eagle, pcb to g-code, Mach3 and Autoleveler

Post by AKG »

Yesterday I tried to run autoleveled .tap file from pcb-gcode without G82 (spot drill holes) command. After "performed" autoleveling, machine tried just like toolpath suggested, it went all the way up in Z. So I cancelled the job. Obviously G31 command is not working properly.

Image

@steamer, yes my driver is also NcUsbPod.dll. I'll try workaround that you suggest, and let you know did it help.
Thanks.

And I'll try to reach driver board manufacturer, but I'm not very optimistic about that. You know those CN manufacturers can be hard to reach..
steamer
Posts: 11
Joined: Sat May 06, 2017 8:16 pm

Re: Eagle, pcb to g-code, Mach3 and Autoleveler

Post by steamer »

Hello,

I've had good results with contacting the guy that wrote the firmware in the past. ( Chao from XHC )
A few years back I had a problem with pecked drilling, and a few days later I got a fixed firmware from him.

The only problem is that they have moved on to a newer controller ( IV vs V ) and they haven't released a firmware for the IV controllers in quite a while.

Greetings,

Emile
Last edited by steamer on Fri May 12, 2017 7:46 pm, edited 1 time in total.
daedelus
Site Admin
Posts: 387
Joined: Tue Oct 01, 2013 1:41 pm
Location: London, UK
Contact:

Re: Eagle, pcb to g-code, Mach3 and Autoleveler

Post by daedelus »

I have been looking at various forums and then at Mach3 macros. I am no expert on Mach3 or its macros but here are my thoughts this morning...

For the RPF to work correctly, we need to avoid G31 altogether and instead write X, Y and Z DRO's directly to a file within a macro.

Steamer provided a macro line "SetVar(2002,getoemdro(802))" to write the current Z value to the 2002 parameter but for the RPF we need more.

I came across this thread on MachSupport forum: https://www.machsupport.com/forum/index ... 797.0.html
which seems to describe the problem of writing DRO's to a file and of avoiding the repeats. Read page 1 and 2, copy and paste the macro at the end of the thread to a new file e.g. PROBE.m1s, replace the G31 lines in the PFG with PROBE. Also, remove the M40, and M41 words in the PFG. Try if possible and see if it works.

As I said, I am not a Mach3 expert and I may have missed something vital but it could be the fix we are looking for so I had to mention it.
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
daedelus
Site Admin
Posts: 387
Joined: Tue Oct 01, 2013 1:41 pm
Location: London, UK
Contact:

Re: Eagle, pcb to g-code, Mach3 and Autoleveler

Post by daedelus »

Just seen steamers post.

Yeah the firmware option would be better and easier obviously if possible.
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