I actually don't use PID on my spindle, just a straight +/-10vdc command, I handle the acceleration and and other fine tuning in the drives, there are lowpass filters, and absolute components to calm the spindle speed readout scale down.
No it's not automatic, I have 2 M-codes setup to change gears, M41 Low Speed, M42 High speed. About the only thing automatic on is that when it gets done homing, and I see machine homed, then it sets the machine in High range. Thanks Rick ------ Original Message ------ From: "Gene Heskett" <[email protected]> To: [email protected] Sent: 9/18/2014 7:50:48 AM Subject: Re: [Emc-users] Question on "gearchange" use? >On Thursday 18 September 2014 07:19:10 Rick did opine >And Gene did reply: >> Hello Gene, >> >> Here is what I have in my HAL files for my machines, all three of my >> turning centers have 2 speed transmissions on the spindles. >> >> Just holler if its gets fuzzy, there is a lot going in my file, >> >> >> Thanks >> >> >> Rick >> >> >> >> ------ Original Message ------ >> From: "Gene Heskett" <[email protected]> >> To: [email protected] >> Sent: 9/17/2014 11:29:21 PM >> Subject: [Emc-users] Question on "gearchange" use? >> >> >Hi all; >> > >> >As I have a 2 speed backgear head on this toy of mine, I'd like to >> >make use of this module to actually double up the low speed power. >> > >> >But I've no clue where to insert it. I do not want the tach to be >> >effected, just a higher motor speed to make up for the higher gear >> >ratio, >> >for more delivered torque at the chuck. >> > >> >So, those of you using it, how are you using it?, snippets of hal >> >files most welcome. >> > > >Saved on that machine, thanks Rick. I'll have to trace through it a bit >but don't see at first glance that its automatic. What I do see is that >you are massaging the pid.s.command (I think) to run the motor faster. > >But I'll need 2 more cups of java to sort it well. :) Tis the dawns >early >light yet here in WV. :) > >Thanks again. > >Cheers, Gene Heskett >-- >"There are four boxes to be used in defense of liberty: > soap, ballot, jury, and ammo. Please use in that order." >-Ed Howdershelt (Author) >Genes Web page <http://geneslinuxbox.net:6309/gene> >US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS > >------------------------------------------------------------------------------ >Want excitement? >Manually upgrade your production database. >When you want reliability, choose Perforce >Perforce version control. Predictably reliable. >http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk >_______________________________________________ >Emc-users mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------------ Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
