huanyang vfd won't communicate get errors.

More
10 Apr 2017 18:39 #91138 by jcloase
Well I can't explain this but here is what works. I set parameter 144 to 3000 based on someones comment I found online. Cycled power and checked and it was still 20% high. Set the ini file to .8 and checked the speed and it was 20% low. set the ini file to 1.0 and the speeds are within a couple percent as they should be. It looks like parameter 144 should be 3000 for the proper speeds at 60 cycles.

Please Log in or Create an account to join the conversation.

More
10 Apr 2017 18:39 - 10 Apr 2017 18:40 #91139 by andypugh
Are you passing a value to the component for P144, or setting a value in HAL?

The calculation seems a little complex, in that you can set the HAL pin or pass a parameter, and if you do neither the component will read it from the drive.

It reads the -A or --motor-speed command-line optipn here:
github.com/LinuxCNC/linuxcnc/blob/master...ng-vfd/hy_vfd.c#L733

Reads the PD144 here:
github.com/LinuxCNC/linuxcnc/blob/master...ng-vfd/hy_vfd.c#L444

And uses the HAL value here:
github.com/LinuxCNC/linuxcnc/blob/master...ng-vfd/hy_vfd.c#L256

You should be able to see the value read-back from the drive in Halshow on the rated-motor-rev HAL pin.
Last edit: 10 Apr 2017 18:40 by andypugh.

Please Log in or Create an account to join the conversation.

More
12 Apr 2017 15:00 #91249 by jcloase
I just set the parameters via the op interface on the drive but thanks for showing me where the source for the hy_vfd is. interestingly the return value for Param 144 is 24000 (as it should be) even though the setting via the op interface is 3000. Haven't been able to figure out why yet.

Please Log in or Create an account to join the conversation.

More
24 Jul 2021 08:32 #215750 by Pauchuk

Gentlemen,
I am pretty sure I have figured out what is wrong. I found a thread about missing RS485 chips on MACH support. I checked and I have no chip in my vfd. I ordered some and will let you all know after I install it.
Thanks for all your efforts

Hi, any update??

Please Log in or Create an account to join the conversation.

More
26 Jul 2021 09:33 - 26 Jul 2021 09:33 #215940 by andypugh

Hi, any update??



Well, the driver has been updated to allow setting of arbitrary registers from the command-line.
(I added this for my own convenience as I need lifting equipment to move my lathe to access the VFD front panel)

See:
-x, --register
At:
linuxcnc.org/docs/2.8/html/man/man1/hy_vfd.1.html
Last edit: 26 Jul 2021 09:33 by andypugh.

Please Log in or Create an account to join the conversation.

More
03 Jan 2024 22:11 #289704 by phasefreq
Is it still true that newer GT series drives aren’t supported? I am getting valid communication with the device according to debug mode, but the device is simply replying that it can’t accept the register write command we are sending, near I can tell. 

Please Log in or Create an account to join the conversation.

Time to create page: 0.076 seconds
Powered by Kunena Forum