failure Huanyang VFD HY01D523B

More
4 years 7 months ago #237720 by andypugh
.enable is sent to the VFD from HAL, so that just shows what you are setting it to.
If ACV and DCV both show as zero, and the VFD is powered up then that rather shows that there is no data transfer taking place.
(Which is what we suspected)

You have communicated to the VFD with other software, I believe? Does that still work with the current VFD settings? Does that allow you to confirm the bits. parity and stop bit setting which work with the VFD?

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

More
4 years 7 months ago - 4 years 7 months ago #237732 by Manu663
I just found out with the other software that I could only get the VFD to work at 9600 baud.
I tried varying the baud rates from 9600, then 19200 and finally 34800 (VFD [PD164] and software) and the communication with the port is only effective at 9600.

The values I can read on the other software are as follows:
baud rate: 9600
data bit: 8
parity: none
stop bit: 1 (I have the following choice: none, one , two, OnePointFi (?)
Modbus ID: 1

 
Last edit: 4 years 7 months ago by Manu663.

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

More
4 years 7 months ago #237739 by andypugh
Google found this:

I had a problem with communications between the Huanyang 2.2 KW inverter and the Mach 3, I discovered that there had to be a connection between DCM (digital common) on the inverter and the PC, once that was established everything worked as it should. Although communications work on 2 wire, the reference point is apparently the common ground.

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

More
4 years 7 months ago - 4 years 7 months ago #237787 by Manu663
I carefully read what you had found about the DCM connection between the VFD and the PC.
I don't understand what I should test, I used the online translation to make sure I didn't miss anything but I must have burnt out neurons: I don't understand. Should I bridge the DCM terminal of the VFD with the GND (earth)?

I've tried so many things and manipulated so many parameters without really knowing what I was doing that I've just spent the morning in the garage to start from scratch and follow the procedures you recommended from the beginning again without success.
Last edit: 4 years 7 months ago by Manu663.

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

More
4 years 7 months ago #237863 by andypugh
The advice I copied/pasted was to connect the VFD DCM terminal to the PC 0V. One good reference at the PC end would be the USB shield.

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

More
4 years 7 months ago #237921 by Manu663
Hello andypugh . 
I have connected the USB shield of the PC to the VFD DCM terminal but no more success. I also went to the PC's power supply to find the GND that goes to the motherboard to link it to the VFD DCM without any more success.

In my favorites, I found the link to the tutorial I had followed to start the VFD buildyourcnc.com/FAQ/13272  and I recreated a new configuration by following the sequence step by step.
I always get the same error:

ERROR communication time out (-12)
read_setup: FAILED
error reading setup from VFD, retrying
read_setup: reading setup parameters:

query length = 6
hycomm query = [01] [01] [03] [05] [00] [00] [2C] [4F] 
query_ret = 8
response_lenght_computed = 8
waiting for message (8 bytes)...
WAIT_DATA(): comms time out


It's tearing out what little hair I have left in my head!

I guess we are coming to the end of this troubleshooting unless you have any other leads or ideas where to direct me.
If that is the case, I think I'll have to find an old PC with a parallel port to install LinuxCNC and recreate a configuration.
I curse the loss of power to the VFD in the middle of the machining process!

In any case, I thank you a lot andypugh for your precious help, the time you spent with me and the knowledge you kindly shared.

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

Time to create page: 0.464 seconds
Powered by Kunena Forum