[ Vfdmod ] An easy VFD control over MODBUS RTU

More
1 year 6 months ago #326438 by ShemJ
I've been having issues with MB2HAL and an L510 VFD rebrand. I was hoping to try VFDMOD but unfortunately, the ARM DEB package is armhf and I am using an Rpi 5.Early days for my linuxCNC'ing, but....Is it possible to repackage for arm64 from 32bit?Also thought I'd attach the wiki here just in case. 

This browser does not support PDFs. Please download the PDF to view it: Download PDF

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

More
1 year 6 months ago - 1 year 6 months ago #326580 by andypugh
Replied by andypugh on topic [ Vfdmod ] An easy VFD control over MODBUS RTU
For the benefit of anyone else using the L510 (or the RS-branded RS510) VFD this component seems to work:
github.com/gitcoffey/l510_vfd
after making this change
github.com/gitcoffey/l510_vfd/pull/1
Install with
Code:
sudo halcompile --userspace --install --extra-link-args="-lm -lmodbus" l510_vfd.c
Last edit: 1 year 6 months ago by andypugh.
The following user(s) said Thank You: tommylight

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

More
10 months 1 day ago #340751 by xenon-alien
Replied by xenon-alien on topic [ Vfdmod ] An easy VFD control over MODBUS RTU
Hello!
Can anybody help me out with this step by step? (I'm not a Linux user)
I have my old setup, but i don't remember how to add Vfdmod to the LCNC, to see the pins and other.
I have now a Buster system with LCNC 2.9.7 and have a "not found file/directory Vfdmod" message.
All old links not works... How to compile it and from where and which file I have no clue...

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

More
10 months 1 day ago #340752 by nwallace
Replied by nwallace on topic [ Vfdmod ] An easy VFD control over MODBUS RTU
Unfortunately Vfdmod is no longer maintained and isn't really a good option for new installs. It was a bit of a pain but I switched to mb2hal. Between the documentation and a few examples I was able to figure it out with some trial and error. I suggest switching to that.

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

More
10 months 1 day ago - 10 months 1 day ago #340766 by xenon-alien
Replied by xenon-alien on topic [ Vfdmod ] An easy VFD control over MODBUS RTU
Can you help me with mb2hal?
Here is my old setup for vfdmod file for Danfoss VLT FC-51
There was only a few commands cw, ccw, stop and frequency.
Attachments:
Last edit: 10 months 1 day ago by xenon-alien.

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

More
10 months 13 hours ago #340813 by nwallace
Replied by nwallace on topic [ Vfdmod ] An easy VFD control over MODBUS RTU
Sorry, I am definitely not an expert in this. You can take a look at my config and the documentation here:
[url] linuxcnc.org/docs/html/drivers/mb2hal.html [/url]
Attached is my mb2hal ini file and the spindle bits from my hal file. I am not an expert but I was able to figure it out just with the VFD manual and the documentation.
Attachments:
The following user(s) said Thank You: xenon-alien

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

Time to create page: 1.227 seconds
Powered by Kunena Forum