1177
« on: April 17, 2014, 06:11:40 PM »
It is not you that is confused! What you said is correct. You can test this in the Galil terminal and using the watch window. If LSCOM is positive, the data record will show one way with a NC switch as opposed to when LSCOM is negative. I can't remember which way it goes at the moment, so you will just have to test and see.
Look at the limit in the watch window when you have it wired LSCOM to +12v and hook a NC switch up to it. If limit switch is 1, then CN needs to be configure accordingly. CN is configured with the limits active low check box in the plugin. Because when the switch is depressed, the limit switch value in the watch window should go to 0. And vice verse. Once this is set so the Galil sees what you want, then you may have to reverse the polarity of the signal for that limit switch in Ports and Pins. Negate is what it is called, I believe. At some point, you will get both Mach and the Galil to agree on the switch configuration.
Steve