Originally Posted by DAB_Design I played around with it toady. Had everything wired up and just laying on the bench. Wired 2 switches NC as you stated. When Mach2 was started, it imediately gave a "limit switch triggered". It wouldn't clear. So I pressed and held one of the switches, and was able to clear it. As soon as I let go though, I got the same alert.
So I thought that maybe I was right the first time (one switch NC the other NO). This had no affect. When I tried to home the axis, pressing and releasing the switch did nothing.
So um....any ideas on what may be wrong? I read something in the manual about active hi and active lo, but did not see any settings in the config screen that I could change for this (on the input pins tab).
The manual says "...they need to be connected so the signal is a logic "1" if either switch is operated (i.e. the logical OR function)"...."If they have normally closed contacts and are wired in series as shown, then they will give an Active Hi signal" |
I dont think you need to feed the external 5volts in.
But both switches need to ether NC or NO not mixed.
Just wire them between ground Pin and the trigger Pin.
If you wire them NC you need to wire them in series.
If you wire them NO you need to wire them in parallel.
Try one of the 2 methodes if it dose not work use the other.
This is because some trigger Pins are inverted so depending
on the Pin used one or the other methode should work.
Good Luck