Scenario for Homming... 1. Wire both home switch (assume NC) in series and send motor to home and leave motor in just tripped position. 2. Rewire home switches to have both of them readable in port. 3. If both are oppened then machine is in exact position so nothing is needed. 3a. if one switch is untripped then disable motor drive for tripped side. 3b. send other motor to home with own switch. When tripped the machine is aligned.
That can be done in HAL without recompiling component's. Nothing in hardware is needed if home switch are routed to controller separatly. All 'relays' to rewire switches can be done with HAL components. And the sadd news. The steps 1 to 3 can be regular HOME command. For 3a/b (aligning gantry) probably the some G code is best. (Or PVCP or something similar) I don't have gantry machine (not completed yet) so I can't test to be shure how to manage that. Just thinking... ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users