G31 Probe SOMETIMES works (Mach3 USB) (SOLVED)

Help for setting up and using
Post Reply
liliummy
Posts: 3
Joined: Sun Apr 22, 2018 8:08 am

G31 Probe SOMETIMES works (Mach3 USB) (SOLVED)

Post by liliummy »

Hi , I apologize for my poor english first. Here's my situation.

I'm using autoleveller on Mach3 (Chinese USB board, nMotion) and running into a G31 problem.
G31 command works well on other tasks when I need to set WCS on milling.
However, when I used the GCode generated by autoleveller 0.77, G31 SOMETIMES works while sometimes just staying there, doing nothing and going straight to next line.
GCode and Working situation as below

.
.
G31 Z-1 F50.................SOMETIMES Worked
#500=#2002...........Worked
G0 Z2............................Worked
G0 X5.21389 Y0........Worked
G31 Z-1 F50................SOMETIMES Worked
#501=#2002............Worked
G0 Z2............................Worked
G0 X10.42779 Y0.....Worked
G31 Z-1 F50................SOMETIMES Worked
#502=#2002..........Worked
G0 Z2............................Worked
G0 X15.64168 Y0......Worked
G31 Z-1 F50.................SOMETIMES Worked
#503=#2002............Worked
.
.

The ratio (G31 Worked)/(All G31) is about 0.66, seemingly no obvious pattern there, just random.
Also, in "step by step" mode(ALT + N), all the G31 work CORRECTLY all the time.

Does anyone get some clue?
thanks!
Last edited by liliummy on Sun Apr 22, 2018 4:00 pm, edited 2 times in total.
daedelus
Site Admin
Posts: 387
Joined: Tue Oct 01, 2013 1:41 pm
Location: London, UK
Contact:

Re: G31 Probe SOMETIMES works (Mach3 USB)

Post by daedelus »

Very odd,

I suspect it has something to do with your USB board though.
G31 command works well on other tasks when I need to set WCS on milling.
Is there some difference between the G31 lines on the tasks that work and the Autoleveller G31 lines?
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
liliummy
Posts: 3
Joined: Sun Apr 22, 2018 8:08 am

Re: G31 Probe SOMETIMES works (Mach3 USB)

Post by liliummy »

daedelus wrote: Sun Apr 22, 2018 9:22 am Is there some difference between the G31 lines on the tasks that work and the Autoleveller G31 lines?
It all looks the same haha

thanks daedelus,
I would like to know if autoleveller get no probe information in staging, will it still work?

daedelus wrote: Sun Apr 22, 2018 9:22 am I suspect it has something to do with your USB board though.
I've tried another controller with parallel port just now, and it worked well.
Are there possibilities of my hardware(RAM or CPU)'s problem which may cause Mach3 working like this?
liliummy
Posts: 3
Joined: Sun Apr 22, 2018 8:08 am

Re: G31 Probe SOMETIMES works (Mach3 USB) SOLVED

Post by liliummy »

Finally get this solved by update my mach 3 version (3.041 to 3.043)!

thanks for helping daedelus!
daedelus
Site Admin
Posts: 387
Joined: Tue Oct 01, 2013 1:41 pm
Location: London, UK
Contact:

Re: G31 Probe SOMETIMES works (Mach3 USB) (SOLVED)

Post by daedelus »

Just for the record, in the member version its possible to enter your own values for probing in the RPF and use this file for Autolevelling instead of probing and writing to a bunch of parameters as is the case in 0.7.7 (although this is not a good idea).

However, you have fixed it now, so this is a moot point. Nice one :)
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