On 28 January 2012 11:33, Viesturs Lācis <viesturs.la...@gmail.com> wrote:
>> I have set the homing sequence that Z homes first and then all the >> remaining joints. If they share a home, they need to home in strict sequence one at a time. However, reading more carefully, it sounds like you are homing Z to a shared limit, but the other axes have home switches. >> What else am I missing here? Possibly HOME_IS_SHARED ? http://www.linuxcnc.org/docview/html/config_ini_homing.html > After a long search I found this one in manual: > "To use only one input for all homing and limits you will have to > block the limits of the axis not homing with axis that is homing in > HAL." > I think that it could be done this way: > loadrt mux2 > axis.2.homing => mux2.sel mux2 doesn't work with boolean data, unfortunately. > Is there any other simple and easy way to do it? Guessing that you are looking at the inverted pins, so that 1 = tripped, then you want limits AND NOT z-homing. loadrt and2 loadrt not net home-not axis.2.homing => not.0.in net limit-mask and2.0.in0 <= not.0.out net all-limits-in and2.0.in1 net all-limits-out and2.0.out > I have another problem: > > Z should home on its upper position and stay there. > So in INI file I set: > HOME = 180.000 > HOME_OFFSET = 180.00 > It homes, sets joint coordinates to 180 and goes to 0 ignoring HOME = 180. It's been a while, but I think HOME_OFFSET is the distance from the switch point to the home position, so if the home switch is at 180 and the home position is 180 then HOME_OFFSET is zero. -- atp The idea that there is no such thing as objective truth is, quite simply, wrong. ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users