- Posts: 44
- Thank you received: 0
yalang yl620 VFD rs485/modbus communicaiton
5 years 1 month ago #219499
by iforce2d
Replied by iforce2d on topic yalang yl620 VFD rs485/modbus communicaiton
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...
I would suggest just using PWM control, takes about 10 minutes to set up. If only I had a time machine...
Please Log in to join the conversation.
5 years 1 month ago #219525
by andypugh
Replied by andypugh on topic yalang yl620 VFD rs485/modbus communicaiton
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.
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 to join the conversation.
5 years 1 month ago #219627
by iforce2d
Replied by iforce2d on topic yalang yl620 VFD rs485/modbus communicaiton
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.
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 to join the conversation.
5 years 1 month ago #219981
by andypugh
Replied by andypugh on topic yalang yl620 VFD rs485/modbus communicaiton
You have probably tried this, but maybe swap the wires?
Please Log in to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
Less
More
- Posts: 4739
- Thank you received: 2
5 years 1 month ago #220717
by Todd Zuercher
Replied by Todd Zuercher on topic yalang yl620 VFD rs485/modbus communicaiton
Does your line need termination resistors?
Please Log in to join the conversation.
5 years 3 weeks ago #222553
by Tukbuk23
Replied by Tukbuk23 on topic yalang yl620 VFD rs485/modbus communicaiton
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 to join the conversation.
5 years 2 weeks ago #223354
by mBender
Replied by mBender on topic yalang yl620 VFD rs485/modbus communicaiton
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 to join the conversation.
5 years 2 days ago #224593
by mBender
Replied by mBender on topic yalang yl620 VFD rs485/modbus communicaiton
Got it working. Please see attached my files, in case someone else needs them.
Please Log in to join the conversation.
5 years 2 days ago #224596
by mBender
Replied by mBender on topic yalang yl620 VFD rs485/modbus communicaiton
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 to join the conversation.
4 years 11 months ago #224984
by andypugh
I guess you could try a brute-force search looking for likely-seeming value changes.
Replied by andypugh on topic yalang yl620 VFD rs485/modbus communicaiton
If it isn't documented it would be difficult.Does anyone know what the registers for Amps, Voltage,... are in the YL 620? Or if not, how to find that out?
I guess you could try a brute-force search looking for likely-seeming value changes.
Please Log in to join the conversation.
Time to create page: 0.070 seconds
