- Posts: 2
- Thank you received: 0
yalang yl620 VFD rs485/modbus communicaiton
4 years 2 months ago #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 to join the conversation.
3 years 7 months ago #267777
by Funny
Replied by Funny on topic yalang yl620 VFD rs485/modbus communicaiton
Take a look at this
Please Log in to join the conversation.
3 years 6 months ago #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
Please Log in to join the conversation.
3 years 6 months ago #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
Please Log in to join the conversation.
3 years 6 months ago #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 to join the conversation.
3 years 6 months ago #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 to join the conversation.
3 years 6 months ago #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
Please Log in to join the conversation.
- handsomebeast
- Offline
- Junior Member
-
Less
More
- Posts: 31
- Thank you received: 0
3 years 2 months ago #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,
Please Log in to join the conversation.
2 years 8 months ago #292868
by Funny
Replied by Funny on topic yalang yl620 VFD rs485/modbus communicaiton
Please Log in to join the conversation.
1 year 3 months ago #331764
by tatyr
Replied by tatyr on topic yalang yl620 VFD rs485/modbus communicaiton
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?
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
