On Thursday 28 August 2014 09:41:15 David Armstrong did opine
And Gene did reply:
> Guy's
> i'm having a problem trying to get a analog 10v spinde to scale
> correctly
> 
> the spindle has a 1000 count encoder
> and gives a speed of 6200 rpm

Thats good info but does go far enough. Does it do A/B/Z outputs in 
quadrature format? 

At 1000ppr, thats an edge rate into the encoder module of a bit north of 
100 kilohertz at 6200 rpms.  If its quadrature A/B/Z output then that the 
equ of slight more than 410 kilohertz rate for determining the encoders 
position.

This will absolutely preclude the use of a pure software approach thru the 
parport.
 
> 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

In most hal files this would be used to drive the tachometer graphic by 
multiplying the encoders velocity output, usually in RPS, so it displays 
RPM.

> setp     lowpass.spindle.gain 1.000000

And this would be set at a much smaller value to steady the graphic 
tachometer.  Otherwise the needle is so bouncy its hard to follow, or if 
using the bar graph version, the last 2 digits of the rpm displayed are so 
random as to be a bit un-nerving because you just know, with the mass of 
the chuck and all, it can't possibly be changing its speed by a hundred or 
more rpms 10x a second which is the usual display update rate.  So we need 
more info before we can do much more than make SWAG's about what you'll 
need to do.
 
> which i dont think i need so ,
> so just becoming confused
> 
> any guidance please

I will, in the next day or 4, be getting all this built and sorted, using 
one of the Pico Systems PWM driven servo amplifiers to run the spindle on 
my 7x12, using a Mesa 5i25 card without any accessory cards attached.  So 
that obviously will color what I have to say.  Someone else, using 
different hardware from mine will probably have totally different ideas 
about how to go about calibrating this.
 
> Dave
> -----------------------------------------------------------------------
> ------- Slashdot TV.
> Video for Nerds.  Stuff that matters.
> http://tv.slashdot.org/
> _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users


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

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to