I'm really stuck with this limit switch problem. I have a dm2800 converted over to mach 3. I set limit switches by moving axis until limit switch was activated backed it off where it wasn't activated and set my zero on all axis this way.When I move off all axis and then reference all they go pass a little and then to zero no problem. Then I load a program and run the first tool. All axis go back to zero no problem. When I go to run the next tool the y axis activates the limit switch. I've tried to keep the axis off of zero by putting -.05 in the Z axis and .05 in the X and Y axis but it will still activate the switch. It was doing it on z axis for awhile and now on y. I put a G49 at the end of the program in the same line as the G91 G28 Z0 line. When the machine reads the M6 line and I change the tool for tool 2 and push cycle start it jumps back up to the G91 G28 Z0 line and activates the Y limit switch. I'm really lost on this can anybody help.