On 08/21/2015 05:15 AM, Russell Brown wrote:
> After some Googling and playing around, it turned out to be the PD144
> setting in my VFD (it was set to 2400 and should have been 3000).

Hmm, now I'm confused...

You said your spindle motor is rated for 24,000 RPM, right?  In that
case, with the new driver you should supply the motor speed to the
driver using the "-S 24000" argument that you helped correct.

The PD144 register can't be set above 9,999 RPM (at least on my Huanyang
VFD).  The old hy_vfd driver used to interpret the PD144 number as 1/10
the motor's max speed, that's probably where your 2,400 value came from.
 I changed it to instead match the description in the (dodgy) Huanyang
manual, which says it's the motor's actual max speed.  Which means if
the motor's max speed is more than 9,999, you can't put it in that
register, so you have to supply it on the command line.

I'm wondering now if I messed up, and i should keep the driver's
interpretation of PD144 as 1/10 of the motors max speed, like the old
driver did, and not be so persnickety about following the (unreliable)
manual.


> (my other comments about the man page and the pins still stand though).

Fixed here, thanks for the testing & reporting:

http://linuxcnc.org/docs/2.7/html/man/man1/hy_vfd.1.html#OPTIONS

http://linuxcnc.org/docs/2.7/html/getting-started/updating-linuxcnc.html#_huanyang_vfd_driver


-- 
Sebastian Kuzminsky

------------------------------------------------------------------------------
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to