On 15 April 2010 09:52, Viesturs Lācis <viesturs.la...@gmail.com> wrote:
> So the question is - how do i configure EMC to use 2 homing sensors on one > axis? Have a look in the EMC sample configs for something like "gantry stepper". That shows how to use a kinematics module (gantrykins) to map two "joints" to one "axis". Things are rather confused by the fact that EMC2 used "axis" to mean "joint" for a long time. The gantrykins module lets you map 2 (or more) motor/joints to one axis. Rather neatly, once you have such a setup configured then Axis lets you toggle between "Joint" mode where you can home and jog each motor individually, and "axis" view where they move together. Bear in mind that I have only fiddled with this out of curiosity, and so I am not sure of the details of configuration. Also any section of the HAL file can use data from any section off the INI file, you can say axis.0.maxvel = [AXIS_3]maxvel in the HAL file if you want to (or need to). However I think that some other aspects have a direct link to the INI file (homing sequence, for example). I would suggest uncoupling one or both motors when testing. http://www.linuxcnc.org/docview/devel/html//man/man9/gantrykins.9.html -- atp ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users