Hello Guest it is April 18, 2024, 08:42:58 AM

Author Topic: Clearance after homing (refcombination)  (Read 2199 times)

0 Members and 1 Guest are viewing this topic.

Clearance after homing (refcombination)
« 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

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Clearance after homing (refcombination)
« Reply #1 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
Re: Clearance after homing (refcombination)
« Reply #2 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