On 29 December 2010 16:54, Igor Chudov <[email protected]> wrote: > I would like to put a microswitch near the back gear lever, so that EMC2 > would sense whether the mill is in back gear.
> 1) Spindle forward actually tells the VFD to rotate the motor backwards, so > that the actual spindle would spin clockwise, as intended. > Spindle reverse actually tells the VFD to rotate the motor forward, so > that the actual spindle would spin counterclockwise, as intended. gearchange does this: http://www.linuxcnc.org/docview/html/man/man9/gearchange.9.html There is a modified version available that handles multiple gears, but the standard version will do what you need. I would be tempted to run two encoders with different scales (and possibly with separate once-per-rev indexes) and swap between them with a mux component. -- atp "Torque wrenches are for the obedience of fools and the guidance of wise men" ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
