yalang yl620 VFD rs485/modbus communicaiton
13 Aug 2022 17:14 #249664
by DavidE
Replied by DavidE on topic yalang yl620 VFD rs485/modbus communicaiton
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.
29 Mar 2023 07:39 #267777
by Funny
Replied by Funny on topic yalang yl620 VFD rs485/modbus communicaiton
Take a look at this
Please Log in or Create an account to join the conversation.
10 Apr 2023 14:54 - 10 Apr 2023 14:56 #268756
by phil_irl
Replied by phil_irl on topic yalang yl620 VFD rs485/modbus communicaiton
Hi,
Not sure if this is the correct topic to ask this, or whether I should post it in the VFDmod thread at:
Not sure if this is the correct topic to ask this, or whether I should post it in the VFDmod thread at:
-
forum.linuxcnc.org/24-hal-components/387...trol-over-modbus-rtu.
I'm a noob LinuxCNC setting up for the first time and want to control my 220V 2.2kW 400Hz water cooled spindle over rs485 modbus.
I have installed VFDmod (as per instructions at github.com/aekhv/vfdmod), and then proceeded with the instructions given on xsnoopy's yalang yl620 VFD rs485 modbus page at:-
github.com/xsnoopy/LinuxCNC-Yalang-yl620...s485-Modbus---VFDmod
and also changed my VFD settings as instructed, but LinuxCNC errors out with:
-
github.com/xsnoopy/LinuxCNC-Yalang-yl620...s485-Modbus---VFDmod
Last edit: 10 Apr 2023 14:56 by phil_irl.
Please Log in or Create an account to join the conversation.
10 Apr 2023 15:23 #268757
by andypugh
Replied by andypugh on topic yalang yl620 VFD rs485/modbus communicaiton
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
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.
11 Apr 2023 15:31 #268830
by phil_irl
Replied by phil_irl on topic yalang yl620 VFD rs485/modbus communicaiton
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.
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.
11 Apr 2023 17:15 #268833
by phil_irl
Replied by phil_irl on topic yalang yl620 VFD rs485/modbus communicaiton
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.
16 Apr 2023 09:34 #269201
by phil_irl
Replied by phil_irl on topic yalang yl620 VFD rs485/modbus communicaiton
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
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.
- handsomebeast
- Offline
- Junior Member
Less
More
- Posts: 31
- Thank you received: 4
26 Aug 2023 08:53 - 26 Aug 2023 08:55 #279001
by handsomebeast
Replied by handsomebeast on topic yalang yl620 VFD rs485/modbus communicaiton
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.
08 Feb 2024 18:23 - 08 Feb 2024 18:27 #292868
by Funny
Replied by Funny on topic yalang yl620 VFD rs485/modbus communicaiton
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.331 seconds