Len Shelton wrote: > So, are you saying that it can't presently be done because no one has > written the hal components to do it? > > No, actually I do not believe any new HAL components are needed. You need an and gate to detect when both home switches have been tripped. This AND output sets a flip-flop. The flip-flop is cleared when you start the home sequence. When the FF is clear, an and gate stops each side of the gantry from moving when that home switch trips. When the FF is set, all move commands pass through. > I have searched the archives and found very little. > > FWIW - this machine uses steppers and no encoders. > OK, your homing is not going to be as precise with this, but it can still be plenty good enough for a hobby level machine. it is also simpler, as there is no complex homing sequence to use encoder index pulses. I'm less familiar with the internal hook-up of step generators to the parallel port, but what you want to do is stop the first side that hits home, and not terminate the homing sequence until BOTH sides have hit their home switches. Sounds quite simple.
Jon ------------------------------------------------------------------------------ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users