Andy, this is very interesting. How do I configure this gearchange, so that when a microswitch is turned on, it uses Gear 1, and when microswitch is off, it uses gear 0?
Thanks A LOT! i On Wed, Dec 29, 2010 at 2:40 PM, andy pugh <bodge...@gmail.com> wrote: > On 29 December 2010 16:54, Igor Chudov <ichu...@gmail.com> 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 > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > ------------------------------------------------------------------------------ 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 Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users