yalang yl620 VFD rs485/modbus communicaiton

More
5 years 3 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 or Create an account to join the conversation.

More
4 years 11 months ago #224984 by andypugh
Replied by andypugh 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?
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.

More
4 years 11 months ago #225031 by mBender
Replied by mBender on topic yalang yl620 VFD rs485/modbus communicaiton
I used the manual which was provided earlier in this thread. Started translating (with google translate) a bit more, added some information to the manual which helped me understanding the registers,...
Finaly I created a github repository and hope I can get a nice integration working. Hopefully I get some support, because some of the items on the roadmap, I have no clue how to get this working with LinuxCNC. However a start is made and when I am back home, I will continue testing and adding feedback to this thread.

github.com/xsnoopy/LinuxCNC-Yalang-yl620-VFD-rs485-Modbus

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

More
4 years 11 months ago #225450 by mBender
Replied by mBender on topic yalang yl620 VFD rs485/modbus communicaiton
So I made some good progress. But I have a few problems:
1. I can't get the pyvcp tab to show a float number. If I format it as u32 or s32 it works, but the same setting with float won't work.
2. I can't vfdmod to work to write the parameter registers.

All updates are on github.

I played around with classic latter and was able to get at least the simple communication working. But no matter what I try I can't get the set up right for reading or writing the registers. Is there somewhere a better manual as on linuxcnc.org ?

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

More
4 years 11 months ago #225690 by Todd Zuercher
Replied by Todd Zuercher on topic yalang yl620 VFD rs485/modbus communicaiton
What trouble(s) are you having with reading or writing the registers?

The manuals on Linuxcnc.org are pretty much all there is. Depending on what your problems are there could be undocumented options that are not fully supported in CL's gui (but you may be able to still access them by manually editing the configuration files by hand.) I think I was able to do that with some of the com settings when I was testing Modbus with CL. Ultimately I was not able to make CL work for my application and ended up using Mb2hal for my application (controling 8 VFDs on a gang router.) My problem was that CL limited the number of register transactions I could read and write to (I needed 32 separate transactions and I think CL can only do 16.) But I could still control half of them. If the Modbus control of the VFDs I was using had been set up differently with contiguous registers that could have been combined into single read and write transactions so that I could have used 2 transactions per drive instead of 4 (one read and 3 separate writes), I could have made CL work.

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

More
4 years 11 months ago #225897 by andypugh
Replied by andypugh on topic yalang yl620 VFD rs485/modbus communicaiton
There might be something here: sites.google.com/site/classicladder/
But I suspect that the linuxCNC version of CL and the original version have probably diverged.

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

Time to create page: 0.280 seconds
Powered by Kunena Forum