Well I dare say that a VFD counts as hardware. I use serial data from my VFD for spindle RPM display.
My point was though that to get actual RPM back to a gui you pretty much use HAL and can't use NML (currently anyways). Chris ________________________________ From: Gene Heskett <ghesk...@shentel.net> Sent: May 14, 2020 5:55 PM To: emc-developers@lists.sourceforge.net <emc-developers@lists.sourceforge.net> Subject: Re: [Emc-developers] spindle status On Thursday 14 May 2020 13:22:18 Chris Morley wrote: > There is no 'actual spindle RPM' in a NML message. > You must use HAL for that and in fact it's possible that that is not > available if there is no spindle feedback in hardware. > There is, and their isn't if you don't have an encoder. My vfd claims to have an output that represents speed, but its an analog value I've not found on the term strip. And, the 7i76D has only logic inputs except for the first 4 which are about 36 volts full scale. So I fudge in hal to drive the tach. But I also believe that this spindle motor is a hard armature model, meaning its synchronous as the revs don't sag even when cutting heavily. So one could cobble up something with more hardware but this worked well enough to tell the thing is supposed to be running as its very quiet. I'd be interested if seeing what someone else has done that solved the spindle revs display problem a different way when there isn't an encoder. > Chris > > ________________________________ > From: Reinhard <reinha...@schwarzrot-design.de> > Sent: May 14, 2020 7:34 AM > To: myd...@gmx.de <myd...@gmx.de>; EMC developers > <emc-developers@lists.sourceforge.net> Subject: Re: [Emc-developers] > spindle status > > Hi Daniel, > > thanks for the info. > > On Donnerstag, 14. Mai 2020, 09:28:57 CEST mydani wrote: > > if you have an encoder installed, in the encoder you should find a > > velocity / velocity-rpm pin with the raw encoder values. > > They should be linked to spindle.0.speed-in. > > That will be useful for hardware setup, but where can I read the > current rpm from nml-status? > > cheers Reinhard > > > > > _______________________________________________ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers > > _______________________________________________ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers 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-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers