Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: ShaneT on March 07, 2022, 12:18:35 AM

Title: No contract with probe error if trying to use touch off after changing tool
Post by: ShaneT on March 07, 2022, 12:18:35 AM
Hey team. I have repeated this error 3 times now to validate.

You load up some gcode and at some point in that code, its time to change tools.
Cycle gcode start -> run some stuff -> tool change

So after changing the tool, while everything is still stopped, the touch button is greyed out. No worries though... just stop the cycle.  Then execute your Z touch... except... once you click touch -> click the z touch... you get an immediate "no contact with probe" error and the system goes into disable state.

Tried this 3 times with multiple programs same result. This is a bug right?
Title: Re: No contract with probe error if trying to use touch off after changing tool
Post by: Graham Waterworth on March 07, 2022, 01:42:19 PM
First place I would look is in the tool change code for a command that turns a signal off or swaps it.
Title: Re: No contract with probe error if trying to use touch off after changing tool
Post by: joeaverage on March 07, 2022, 07:45:12 PM
Hi,

Quote
Tried this 3 times with multiple programs same result. This is a bug right?

Probably not.

What motion controller are you using? Most motion controllers regard a probe move, ie a g31, where the probe does notmake contact as a fail and stops Mach4.
However there are circumstances where you might use a g31 instead of a g1 and you are not expecting the probe to make contact. The controller will stop Mach none-the-less.

The Ethernet SmoothStepper has a setting (Configure/Plugins/ESS/Probing tab) that determines its behaviour when a non-contact event occurs, by default Mach will stop. You may want to change it.

Craig
Title: Re: No contract with probe error if trying to use touch off after changing tool
Post by: ShaneT on March 07, 2022, 09:38:54 PM
Its an IMMEDIATE no contact with probe error. It does not move even a hint. So its erroring before the touch procedure even starts. I will check that setting... but it is odd.

Using a pokeys57cnc.