Sounds like you missed a setting. How are you telling mach 3 that the input is the limit for x, y, and z? If your input is pulled to ground with the switches all closed then the input should be active high because that is what happens when a switch opens. Hope this helps.