Limit switches in series
Sorry for the 1000 questions, but I have yet an other question. Can I get the kflop to work with my limit switches wired in series with Mach such that when one switch is hit the kflop will stop all motion and allow the moment off from the switch? I also would like to use the switches for homing as well. Was thinking the c routine would home one axis at a time by disabling the limit switches and watching the bit the limits are wired to to go low, slowly back away until the bit goes high, set the position, set a flag axis complete, then do the next till all are done and re-enable limits. Dose this sound about right?
Everything in moderation, including moderation.