Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: ArchdukeTim on December 18, 2024, 11:48:57 AM

Title: Mach3 Auto Probe sometimes doesn't run until I jog the axis
Post by: ArchdukeTim on December 18, 2024, 11:48:57 AM
Mach3 with an Omio cnc.

I have a probe script that works perfectly when it works, but it's 50/50 whether or not it will work or not. The behavior is the script runs the g31 command, and prints out a debug message that occurs _after_ the g31 command, but the motors don't move, and neither does the DRO.

Jogging the axis that I'm trying to probe a bit then lets me run the probe, but even this fix is only 90% effective.
Title: Re: Mach3 Auto Probe sometimes doesn't run until I jog the axis
Post by: JohnHaine on December 18, 2024, 12:25:57 PM
Code please?
Title: Re: Mach3 Auto Probe sometimes doesn't run until I jog the axis
Post by: ArchdukeTim on December 18, 2024, 12:33:12 PM
Here's one of them. All do the same thing, just different axes
Title: Re: Mach3 Auto Probe sometimes doesn't run until I jog the axis
Post by: JohnHaine on December 18, 2024, 01:34:44 PM
Amazingly complex for a simple function.  Where did it come from?
Title: Re: Mach3 Auto Probe sometimes doesn't run until I jog the axis
Post by: JohnHaine on December 18, 2024, 01:48:31 PM
Here is one of mine which works.  See if it works better for you.
Title: Re: Mach3 Auto Probe sometimes doesn't run until I jog the axis
Post by: JohnHaine on December 22, 2024, 06:42:43 AM
So, did it solve your problem?