On Thu, 28 Aug 2014, David Armstrong wrote: > Date: Thu, 28 Aug 2014 15:09:53 +0100 > From: David Armstrong <cncbas...@gmail.com> > Reply-To: EMC developers <emc-developers@lists.sourceforge.net> > To: EMC developers <emc-developers@lists.sourceforge.net> > Subject: [Emc-developers] analog spindle scaling with 7i77 > > Guy's > i'm having a problem trying to get a analog 10v spinde to scale correctly > using a 5i25 and 7i77 > > the spindle has a 1000 count encoder > and gives a speed of 6200 rpm > > now either i set the scale at 62 > and i get movement or what i thought was correct and get full speed and no > change > > as i calculate if i am correct top speed 6200 so 10/6200 = 0.00161 > in my ini i have > > OUTPUT_SCALE = 0.00161 > > i have not touched the scale setting in the hal file > setp scale.spindle.gain 60 > setp lowpass.spindle.gain 1.000000 > > which i dont think i need so , > so just becoming confused > > any guidance please > > Dave
Not sure what your hal/ini files are like but normally you would set the analog output scale of the spindle channel to the spindle RPM at 10V (directly setting the parameters rather than via ini constants) setp hm2_5i25.0.7i77.0.1.analogout5-maxlim 6200 setp hm2_5i25.0.7i77.0.1.analogout5-minlim 0 setp hm2_5i25.0.7i77.0.1.analogout5-scalemax 6200 > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers > Peter Wallace Mesa Electronics (\__/) (='.'=) This is Bunny. Copy and paste bunny into your (")_(") signature to help him gain world domination. ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers