On 2 September 2011 20:34, Brian May <[email protected]> wrote:
> Then I though that I can just zero the axis which actually works better. You ought to be able to use the HAL "offset" module between the axis.5.motor-pos-cmd and the stepgen input. You CL can then feed an increasing value into the offset pin, which will cause the motor to rotate, all without EMC2 knowing. For extra points the target offset could be calculated from the known spindle position, the current offset, and the gear ratio then, using a flag on the motor, you could pre-align the gears exactly right before engaging the drive. -- atp "Torque wrenches are for the obedience of fools and the guidance of wise men" ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
