On 8/20/15 1:59 PM, Russell Brown wrote: > > Just upgraded from 2.7pre6 to 2.7pre7 and there's a few issues with the > new hy_vfd stuff (I have been using the hy_vfd from, IIRC, S.Alford with > 2.6 and 2.7 prior to 2.7pre7. I have a HY02D223B FWIW).
Ooh! A user! I'm glad I'm not the only one. > First the trivial but annoying or even a show-stopper for anyone not > happy to read error messages and edit configs: > > <name>.rev has changed to <name>.reverse > <name>.fwd has changed to <name>.forward > <name>.modbus-ok has changed to <name>.hycomm-ok > > <name>.motor-pole-number seems to have gone. > <name>.base-freq seems to have gone. > > These were all used in the example custompanel.xml examples I got with > the 'original' hy_hfd from somewhere on that Internet... and 2.7pre7 > obviously breaks that. Yeah, that's sure a hassle for folks who were using the out-of-tree hy-vfd driver. Sorry about that! But i think overall it's an improvement. The .motor-pole-number and .base-freq were unused, other than reporting them in HAL. The .modbus-ok name was terribly misleading, because the Huanyang VFD does emphatically not use the modbus protocol (even though the manual talks about modbus). They made up their own communication protocol, and called it modbus. Not cool. And finally, i did not like that ".rev" was ambiguous and might mean "revolutions" or "reverse", so i renamed it to clarify, and renamed ".fwd" to match. This also follows the informal convention we have, for example with pins like "motion.spindle-forward" and "motion.spindle-reverse". I should probably have added a mention of this to the release notes, i'll try to remember to do so for 2.7.0. > Secondly an error in the hy_vfd man page: -V is shown as setting the > max motor speed; that should be -S. Oops, cut-n-paste error, thanks. Fixed in v2.7.0-pre7-14-g20beefc. > Thirdly, and most weirdly, the speed of the spindle is not displayed on > the VFD, and elsewhere, as commanded. > > Having tweaked all the above (and set the max motor speed to 24000 when > I call hy_vfd with -S 24000) doing S1000 M3 makes the VFD display 800 > RPM. S24000 shows 19200 RPM. > > However, my cheap'n'nasty tachometer seems to say that the actual > spindle speed is the commanded one and not the one displayed. > > Still running at S1000, motion.spindle-speed-out shows 800RPM, > <name>.Rott shows 800RPM but <name>.spindle-speed-fb shows 1000RPM. > > Here's a snapshot of all the hy_vfd pins while the spindle is commanded > and actually running at 1000RPM. > > http://ruffle.me.uk/pics/misc/at1000rpm.png > > Any ideas? Well this one's interesting, i'll have to look into it more. Thanks for the bug report. I'll let you know if i have more questions or if i have something for you to test out. -- Sebastian Kuzminsky ------------------------------------------------------------------------------ _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
