On Tue, 16 Jun 2009 21:22:07 -0500, you wrote: >Leslie Newell wrote: >> I am retrofitting a lathe that has a 3-speed electrically controlled >> gearbox. The gear change sequencing will be controlled by ClassicLadder. >> Basically ClassicLadder has 3 HAL pins set up, one to select each gear. >> Is there any easy way that an appropriate gear can be selected by G-code? >> >> >If you don't use CSS, then the requested speed could be used within >ranges to select the right gear. >If you DO use CSS, then the commanded speed at the instant the spindle >is started may not give the >best gear range. You could use one of the miscellaneous extra commands >to set pins to CL.
Commercially CSS uses a range, there is always a max speed parameter set in Gcode, and it's normal to set a start speed. Further some machines alter both the feed and speed. On machines without varydrive type gearboxes, you wouldn't change gear mid cut. Steve Blackmore -- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users