yalang yl620 VFD rs485/modbus communicaiton

More
03 Sep 2021 08:05 #219499 by iforce2d
I recently spent two days trying to get RS485 working with this VFD before giving up. It appears to be simply reject any communication on that external port no matter what settings are made. My reports in this thread might be interesting, but there's nothing good: forum.linuxcnc.org/24-hal-components/387...-rtu?start=60#218634

I would suggest just using PWM control, takes about 10 minutes to set up. If only I had a time machine...

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

More
03 Sep 2021 14:25 #219525 by andypugh
FWIW the HuangYang VFDs have the same problem, they don't actually talk modbus. The dedicated driver handles this.

It _might_ be worth trying the hy_vfd driver with this one. The worst that can happen is that you waste even more time.

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

More
04 Sep 2021 21:47 #219627 by iforce2d
I read somewhere that while the HuangYang VFDs do not talk modbus, this Yalang one actually does, and my experience with the logic analyzer and message interaction would agree. The messages it returns are well-formed modbus and consistent. The LCD control panel connection also uses standard modbus, but at a fixed baud rate (38400 in my case) that is not user-configurable. I used the logic analyzer to watch the traffic between the LCD panel and the main board, and when I imitate the panel my messages are responded to correctly, but the motor never moves.

As for the usual RS485 port, it always responds with "Illegal data value" no matter what, even when only attempting to read. I wrote a script that tried to read all registers from 0-16384 and every single one failed with the same result. It's almost like the firmware is either bugged or never intended to accept traffic on that port in the first place.

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

More
08 Sep 2021 17:34 #219981 by andypugh
You have probably tried this, but maybe swap the wires?

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

More
15 Sep 2021 16:28 #220717 by Todd Zuercher
Does your line need termination resistors?

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

More
08 Oct 2021 14:12 #222553 by Tukbuk23
FYI, I got the YL620-A working on RS-485. Andypugh was right, just swap the RS-485 A/B wires. The labels (silkscreen) on the VFD PCB are incorrect.

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

More
17 Oct 2021 01:29 #223354 by mBender
Hey, can you let me know how you got it working? I am having issues. I used vfdmod, the integrated driver, but in no way I get it working.

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

More
28 Oct 2021 15:56 #224593 by mBender
Got it working. Please see attached my files, in case someone else needs them.
Attachments:
The following user(s) said Thank You: tommylight

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

More
28 Oct 2021 17:47 #224596 by mBender
Does anyone know what the registers for Amps, Voltage,... are in the YL 620? Or if not, how to find that out?

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

More
02 Nov 2021 12:39 #224984 by andypugh

Does anyone know what the registers for Amps, Voltage,... are in the YL 620? Or if not, how to find that out?

If it isn't documented it would be difficult. 

I guess you could try a brute-force search looking for likely-seeming value changes. 
 

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

Time to create page: 0.132 seconds
Powered by Kunena Forum