On Wednesday 30 December 2020 10:40:18 andy pugh wrote:

> On Wed, 30 Dec 2020 at 14:58, Gene Heskett <ghesk...@shentel.net> 
wrote:
> > The only place I can think of might be the motors pole
> > count in pd143=4 so I'll check it at a 2 setting.  Factory is 04.
> > Didn't help, made it worse,
>
> hy_vfd needs to know the pole-count too.
>
> It _should_ read PD143, so the first question is whether what the HAL
> pin says matches the VFD setting.
it does, I already checked that
> Or, you could just fiddle the -P command line parameter until you get
> what you want.

That I'll try again. but setting it to 2 desensitizes the tach reading, 2 
makes s6000 into 400HZ, which the tach says is 6k.  04 is off by 2/1 so 
s12k is 400 hz, and we both know 08 is a lie. But I'll try it anyway. 
But didn't, tried -S24000 on the option line, which made it all correct 
so an s24000m3 in the mdi works, as does an s6000.

Getting closer, now need to figure out why the tach is zeroed instantly 
my an m5 cmd while the spindle-speed-fb is still coasting to a stop.
Tach is fed by:

net spindle-abs-fb  <= hy_vfd.spindle-speed-fb => pyvcp.spindle_rpm

So it should follow in real time. Letting the vfd handle rev/fwd.

Thanks Andy.

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)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>


_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to