Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: dh42 on July 19, 2014, 01:53:44 PM

Title: Clearance after homing (refcombination)
Post by: dh42 on July 19, 2014, 01:53:44 PM
Hello,

Is there a way to set the distance that must do an axis in reverse direction after touching the homing switch.

I need that the axis goes backward on a bigger distance than it does after the homing.

thanks for replies

++
David

Title: Re: Clearance after homing (refcombination)
Post by: Hood on July 19, 2014, 02:34:01 PM
The way homing works in Mach is it will move towards the switch, when the switch is seen it will reverse until the signal is not seen and it will then stop and set that position as machine coords zero (or whatever you have set for Home Offset)
 If you are getting false triggering after homing then it is most likely due to poor quality switches that do not have a positive snap action and thus they are bouncing. You can try setting a Debounce Interval, maybe try around 500 to see if it helps.

If you need to physically move off a set distance after homing then you will have to alter the homing script in the RefAll button to achieve that, in other words you will have Mach home the axis then immediately after you will need to command a move via the script in the button.

Hood
Title: Re: Clearance after homing (refcombination)
Post by: dh42 on July 19, 2014, 03:41:44 PM
Hello,

Thanks for the quick answer !

The guy that get this problem uses inductive switch, and one of the three is blinking after homing ; I will suggest him your méthode with adding code .. thanks.

++
David