On 26 July 2010 04:40, Chris Morley <chrisinnana...@hotmail.com> wrote:
> 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. I am trying to work out if this could be done entirely in HAL. The first problem I have found in the thought-experiment is deriving a "initial rotation finished" signal. The rest seems reasonably straightforward with arithmetic functions and mux components. stepgen-cmd = stepgen-start + 100 * (new tool - old tool) + 30 is easy enough. -- atp ------------------------------------------------------------------------------ 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