Hi Craig,
Yeah, if I could get this figured out by the time I go back to work on Friday that would be great. I'm sure it's an easy change, but I haven't been able to find any guidance on this specific topic. Also, I was hoping to get some clarification on how to use a limit switch as a home/limit switch. Everything I've tried so far has resulted in Mach 4 either not being able to jog, or crapping itself and running past the switch and crashing. I have a Bridgeport Series 1. Z axis has separate limit switches which work fine as limit switches, but with the switch set as a limit/home at the same time, I can't RefAllHome without bad things happening. With the Z switches set as limit switches, I can't ref the other axes home, hence the need to change the RefAllHome script. With the switch set as Home only RefAllHome works great, but then I don't have a limit switch which is obviously bad.
On a related but separate topic, my X and Y axes each have only 1 limit switch that trips at the extents of travel. Mach 3 was smart enough to recognize that a limit switch triggered moving in one direction was either a -- or a ++ depending on the direction of travel at the time the switch was triggered and allowed you to jog back off of it. So far I haven't figured out a way to use only 1 limit switch as a -- and ++ limit switch. I never used the homing function when the machine was set up with Mach3, but I'm certain that the limit switches were operational the way I described. It sure would be nice if there was a way to use 1 switch as Home/--/++, but maybe that's impossible in Mach 4 and I need to lower my expectations. Thanks