- Posts: 44
- Thank you received: 17
yalang yl620 VFD rs485/modbus communicaiton
- iforce2d
- Offline
- Senior Member
-
Less
More
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 or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
-
Less
More
- Posts: 19899
- Thank you received: 4655
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 or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
Less
More
- Posts: 4793
- Thank you received: 1480
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 or Create an account to join the conversation.
- Tukbuk23
- Offline
- New Member
-
Less
More
- Posts: 1
- Thank you received: 0
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 or Create an account to join the conversation.
- mBender
- Offline
- Premium Member
-
Less
More
- Posts: 133
- Thank you received: 15
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 or Create an account to join the conversation.
- mBender
- Offline
- Premium Member
-
Less
More
- Posts: 133
- Thank you received: 15
5 years 3 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.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
Time to create page: 2.543 seconds