yalang yl620 VFD rs485/modbus communicaiton

More
13 Aug 2022 17:14 #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 or Create an account to join the conversation.

More
29 Mar 2023 07:39 #267777 by Funny
Take a look at this

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

More
10 Apr 2023 14:54 - 10 Apr 2023 14:56 #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:
Last edit: 10 Apr 2023 14:56 by phil_irl.

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

More
10 Apr 2023 15:23 #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
The following user(s) said Thank You: phil_irl

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

More
11 Apr 2023 15:31 #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 or Create an account to join the conversation.

More
11 Apr 2023 17:15 #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 or Create an account to join the conversation.

More
16 Apr 2023 09:34 #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
The following user(s) said Thank You: tommylight

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

More
26 Aug 2023 08:53 - 26 Aug 2023 08:55 #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,
Last edit: 26 Aug 2023 08:55 by handsomebeast.

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

More
08 Feb 2024 18:23 - 08 Feb 2024 18:27 #292868 by Funny
Last edit: 08 Feb 2024 18:27 by Funny.

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

Time to create page: 0.084 seconds
Powered by Kunena Forum