huanyang vfd won't communicate get errors.
- jcloase
- Offline
- Junior Member
-
Less
More
- Posts: 21
- Thank you received: 0
10 Apr 2017 18:39 #91138
by jcloase
Replied by jcloase on topic huanyang vfd won't communicate get errors.
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.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23279
- Thank you received: 4933
10 Apr 2017 18:39 - 10 Apr 2017 18:40 #91139
by andypugh
Replied by andypugh on topic huanyang vfd won't communicate get errors.
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.
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.
- jcloase
- Offline
- Junior Member
-
Less
More
- Posts: 21
- Thank you received: 0
12 Apr 2017 15:00 #91249
by jcloase
Replied by jcloase on topic huanyang vfd won't communicate get errors.
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.
- Pauchuk
- Offline
- Junior Member
-
Less
More
- Posts: 38
- Thank you received: 1
24 Jul 2021 08:32 #215750
by Pauchuk
Replied by Pauchuk on topic huanyang vfd won't communicate get errors.
Hi, any update??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
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23279
- Thank you received: 4933
26 Jul 2021 09:33 - 26 Jul 2021 09:33 #215940
by andypugh
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
Replied by andypugh on topic huanyang vfd won't communicate get errors.
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.
- phasefreq
- Offline
- New Member
-
Less
More
- Posts: 16
- Thank you received: 0
03 Jan 2024 22:11 #289704
by phasefreq
Replied by phasefreq on topic huanyang vfd won't communicate get errors.
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.057 seconds