> OK, that's kind of what I was afraid of. Sounds like you need a > position mode stepgen, so you can issue the particular number of steps > you want. But when you are done with your +130 and -40, your position > mode stepgen doesn't know the position anymore because the motor has > stalled. > I wouldn't think this matters. Tool movement is relative not absolute. You ask the stepgen to move +130 from where ever you are, then -40 till it hits a stop. The stop sets a new position and then you move relative to that. The stepgen never needs to know the actual (absolute) position.
There is a untested overly complicated example here: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?ClassicLadderExamples#Stepper_controller_tool_turret this used sequential ladder (it didn't need to) and is from an older version of CL that needed float pin conversion . > The position commands for the next tool change would then have to be > slipped by 10 steps worth of position to make up for the lossage > (which you assume is 10 but probably isn't exactly.) Not necessary. (I think) see above. Chris M _________________________________________________________________ MSN Dating: Find someone special. Start now. http://go.microsoft.com/?linkid=9734384 ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://ad.doubleclick.net/clk;226879339;13503038;l? http://clk.atdmt.com/CRS/go/247765532/direct/01/ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users