Stuart Stevenson wrote: > Gentlemen, > When I home my machine it will run through the home cycle but > instead of setting zero in reference to the marker pulse it will rapid > to the position it was in when I started the machine. This is the axis > zero postion in effect before the home cycle. I'm wondering if you have the polarity of the home switch set backwards. Maybe my machine did the same until I flipped the polarity of the hole switch sensing.
In the file ppmc_io.hal, I have : linksp Xmaxlim <= ppmc.0.din.02.in-not linksp Xmaxlim => axis.0.pos-lim-sw-in The ...din.02.in-not sets the polarity for a switch that closes on pressing the switch. You'd use ...din.02.in for a switch that opens when pushed. I never let it run all the way back to the initial position at program startup, because I didn't know where it was going to stop. But, it certainly was headed that way, consistently. So, maybe that is the problem. Jon ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users