Don Stanley wrote: > I am having several problems with Homing as follows: > > 1- I want to home the Y (axis 1) at the Max end to avoid the > chance of the vice ramming the Z axis ways. This Homes fine but > always moves to the 0 position to finish the Home, defeating the > purpose. > 2- I tried moving the Y (axis 1) Home to the Negative end but > this ignores the limit switch and stalls at the mechanical stop. > Check your limit switches with halscope or halmeter to make sure they are fed to the proper axis inputs in the relevant HAL file, in my usual default case that would be univpwm_io.hal, like this :
newsig Yminlim bit newsig Ymaxlim bit newsig Yhome bit linksp Yminlim <= ppmc.0.din.05.in linksp Yminlim => axis.1.neg-lim-sw-in linksp Ymaxlim <= ppmc.0.din.06.in linksp Ymaxlim => axis.1.pos-lim-sw-in linksp Yhome <= ppmc.0.din.04.in linksp Yhome => axis.1.home-sw-in > The Home settings for this: > MIN_LIMIT = 0.0 > MAX_LIMIT = 10.7 > > > HOME_SEARCH_VEL = -0.05 > Hmm, this is odd. If you want it to home toward the +Y direction, this number should be positive. It should move until it trips the switch and then set that as the 0.0 coordinate, then make a rapid move to the home position. Jon ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
