2010/4/25 <[email protected]> > Slavko, > > Thanks for the schematic! That is an elegant solution, in lieu of a > built-in software routine. Could you explain how you are controlling the > on/off of the PASS2HOME relay from EMC2? Or are you doing it manually? > > Using a pushbutton is a good safety feature. Another idea might be to > create a pushbutton circuit that holds the single motor operation for 10 > seconds and then returns to 2 motor operation. That should be enough > time for the homing of motor1. That way you do not have to hold the > pushbutton and operate the computer at the same time. > > Thanks, > Dave > > That big gantry is driven with TurboCnc software and relay is controled with software (custom homming routine) For now i have another gantry (mechmate style) and will be controlled Throught EMC. I'm not tested yet but I think all thing can be done in HAL. Just check if axis got home command and when home is ended switch relay and rehome.
Timeout can be good idea too. But as I say I think that all that can be done in HAL and executed automaticaly. When I have gantry finished I can test that. Or someone other can try... I think like this... assume axis1 is the gantry axis when detect falling edge of axis.1.homing and relay is off then engage relay and signal axis.1. for home(again). if falling edge of axis.1.homing is detected and relay is engaged then just kill relay. I'm just hot shure how to signal axis to rehome from inside HAL. Slavko
------------------------------------------------------------------------------
_______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
