yalang yl620 VFD rs485/modbus communicaiton

More
4 years 2 months ago #249664 by DavidE
OK got it working. Cleared all the configs, started again. Used Classic ladder this time and it worked first try.

Please Log in to join the conversation.

More
3 years 7 months ago #267777 by Funny
Take a look at this

Please Log in to join the conversation.

More
3 years 6 months ago #268756 by phil_irl
Hi,
Not sure if this is the correct topic to ask this, or whether I should post it in the VFDmod thread at:

Please Log in to join the conversation.

More
3 years 6 months ago #268757 by andypugh
Which groups is your user a member of? You might need to be part of "dialout" to access the serial port.

Maybe a solution here: askubuntu.com/questions/210177/serial-po...s0-permission-denied

Please Log in to join the conversation.

More
3 years 6 months ago #268830 by phil_irl
Thanks Andy, adding the user to the "dialout" and "tty" groups fixed the problem.

Next problem: It's now erroring out with:

"pyvcp_options.hal:8: Pin 'pyvcp.spindle-speed' does not exist."

I imagine there's a simple fix, but I don't want to break anything by randomly applying my own fixes! Any help/suggestions are welcome.

Phil.

Please Log in to join the conversation.

More
3 years 6 months ago #268833 by phil_irl
Ignore my last message - after a bit more fiddling around (setting up a fresh mill configuration in StepConf) it all seems to work now! Fingers crossed. :-)

Please Log in to join the conversation.

More
3 years 6 months ago #269201 by phil_irl
Just a quick addendum for anyone setting up an RS485 Modbus PC->VFD link: I found it necessary to add a 120 Ohm resistor to both ends of my screened twisted pair cable. Without the resistors, LinuxCNC doesn't always see the RS485 connection and throws a error. As soon as I added the resistors, the connection was stable.
More here: www.analog.com/en/technical-articles/rs4...axim-integrated.html

Please Log in to join the conversation.

More
3 years 2 months ago #279001 by handsomebeast
hey david can you post your files that you used to get this working as ive done a fresh config with stepconf using classicladder but the pyvcp panel doesnt respond, the gauge doesnt move and the spindle at speed and rs485 indicator are red so i dont know what the problem is but i get a stable modbus connection to the vfd and can run and stop the spindle with the plus and minus buttons in axis gui,

Please Log in to join the conversation.

More
2 years 8 months ago #292868 by Funny

Please Log in to join the conversation.

More
1 year 3 months ago #331764 by tatyr
I have enter this setup but there is communication problem.
In thw VFD display seems F399.9 message, and the CB1241 in S7 1200 blink TX and RX leds slow
What can I do please?

Please Log in to join the conversation.

Time to create page: 0.112 seconds
Powered by Kunena Forum