I have a rotary axis with a homing signal that I want to use. As opposed to what the wiki says about homing, the limits may be unnecessary, but I usually WANT to home or I don't know what angle it powers up at.
Anyway, I'm having goofy results trying to use homing here.
The homing signal from this stage is a true homing-style switch: not a blip but always ON with half of the rotation and always OFF with the other. That way the control automatically knows which direction to go to hit the homing switch (this also applies to linear stages with a homing switch somewhere in the middle).
I've got it rigged up to work with the existing G28.2 a0 command but it always does a full 360 with a pause/buzz at the 180 degree point.
I'd like to write my own homing routine but I don't see that flexibility with TinyG.
I also want to use the limit switches to prevent out-of-range motion but not kill everything and requires a reset! The program would stop executing but the position would be retained and allow backwards motion but no motion further into the switch. Am I pretty much stuck with this?
thanks