Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: marc1b on February 04, 2018, 12:11:39 PM

Title: Help with small change to homing routine for Z axis
Post by: marc1b on February 04, 2018, 12:11:39 PM
I just need to get pointed in the right direction -


I have a Bridgeport Series 2 with air assist on Z axis. If we turn the air off over night and forget to lock the knee the Z will wind up at the bottom of it's travel below the limit and homing switches.

So I want to have the homing routine look at the current position variable, add to it and make a small move to get it above the switches.

Thanks!
Title: Re: Help with small change to homing routine for Z axis
Post by: Filou on February 07, 2018, 12:59:16 AM
Hi Marc,
before modifying the homing code:
in which status is the z-axis servo motor during the "overnight" period in the event you turned off the air assist ?
enjoy your day, philippe