I jump in into this to say I'm using something similar on the lathe. I have servo motors and I'm using them in open loop mode (like steppers). Nevertheless I could use their index pulses to home accurately enough (slowing the speed down to gain accuracy) with the normal homing sequence.
Basically I made a component that senses in what stage of the homing sequence the machine is and then it bypasses the home switch or the index pulse as needed. Both are used as home switch input but the index is the one used in the final stage of the homing process. So to sume up, the machine moves until it finds the real limit switch, once it's triggered the machine backs up until the switch is open again. Then it approaches to the home switch again but this time it's bypassed and the index pulse is the one that's affecting the homing sequence. It's working flawlessly from what I could test with a dial indicator. Leonardo Marsaglia El dom., 4 abr. 2021 15:36, Jon Elson <[email protected]> escribió: > On 04/03/2021 11:39 PM, Sam Sokolik wrote: > > Initially I would just try 'and-ing' the 2 in hal or classic ladder and > run > > strait to the home input. (Not using the home to index) > > > > > If the prox sensor is of very short duration in linear > motion, then the AND will just pop on for a moment, and > likely go past it on the initial home search. That will > likely confuse the homing sequence. But, you can try it. > > Jon > > > _______________________________________________ > Emc-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-developers > _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
