Hi Gene, have a look at the hy_vfd module. It uses the huanyang-version of modbus to communicate to the HY-VFDs.
http://linuxcnc.org/docs/html/man/man1/hy_vfd.1.html Greetings, Benjamin On 23.12.20 08:11, Gene Heskett wrote: > Greetings all; > > I have discovered that this vfd has an rs485 port, and I have some rs485 > bidirectional drivers, I bought a 10 pack of them for use as > differential output encoder translators to ttl signals, which they are > excellent for if programmed to only be receivers. So I have the > hardware that can talk to this thing via rs485. Some mesa cards also > have this, so my question then is what modules do I load up in my hal > file that would use this comm channel to talk to and/or command/monitor > this VFD. > > My current lashup is a 5i25 in the computer, a cnc4pc C1G bob on its p2, > and a 7i76D on p3. > > It is an Huanyang HY02D223B VFD. > > Do we have a suitable driver for this? > > Looking at /usr/share/man/man9, I don't see a module that looks like a > likely suspect. There is a spindle_monitor module, but that man page is > less than half a screen full and doesn't say a thing about hooking it > up. Very sparse docs IOW. I am assuming that I could somehow feed it > the VO output, provided it was programmed to be a usable signal once > AtoD'd in one of the first 4 field inputs of my 7i76D. But that is only > a SWAG. I understand those AtoD's aren't quite real time as I have read > they are successive approximation AtoD's with a 36 volt full scale > input, meaning at best for a 0-10 volt signal they would have about a 1% > granularity. That maybe sufficient for a spindle-at-speed detection, > yet TBD, but probably needing a gain factor plugged in and I don't see > such a parameter in the spindle_monitor man page. > > Many thanks for any enlightenmet. > > Cheers, Gene Heskett _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users