-
Configuring LinuxCNC
-
HAL
-
[ Vfdmod ] An easy VFD control over MODBUS RTU
[ Vfdmod ] An easy VFD control over MODBUS RTU
Less
More
-
Posts: 43
-
Thank you received: 6
-
-
31 Mar 2024 09:32 - 31 Mar 2024 09:35 #297266
by Calysto
Pickle, I can only speak for myself, but for me it it was to much hassle to get VDFMOD working on a PI. I just used a standard component of Linuxcnc: MB2HAL.
linuxcnc.org/docs/html/drivers/mb2hal.html
Your VFD looks well documented. First look for modbus capability's, does it support:
read_coils
read_discrete_inputs
read_holding_registers
read_input_registers
write_single_coil
write_single_register
write_multiple_coils
write_multiple_registers
Work with the ones your VFD supports. Look for examples, ask some questions, don't expect it will be easy, and be happy
Last edit: 31 Mar 2024 09:35 by
Calysto.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 6
-
Thank you received: 0
-
-
31 Mar 2024 21:53 #297309
by Pickle
Thanks for your input. I tried with mb2hal first with my H100 vfd on an old (sempron) pc, but couldn't get anywhere, hence the switch to VFDMOD. To my mind the "user manual" for mb2hal is not written for the uninitiated! The VFDMOD instructions were easy to follow and once I had decoded the H100 manual the implementation on PC was straightforward. I have revisited MB2HAL for the Pi5/arm64 but I cannot get my head around it - mental block. I could (and may have to) go back to the PC and implement VFDMOD alongside the mesa 7i92 on that, but solving the RPi5 implementation is a challenge I don't want to fail on!
Perhaps - and I realise it is a big ask - you could share your config files to give me another view on the implementation?
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 43
-
Thank you received: 6
-
-
01 Apr 2024 07:19 #297343
by Calysto
I don't know if anybody uses VFDMOD on a PI. I'm not a Linux-guru. It is indeed easier. The manual of MB2HAL is....... and you can't do calculations (scaling) within MB2HAL. So you have to do that in your HAL-files.
Here you see me struggling.
On page 2 I share my files. They are not well documented, you can probably just copy/paste it and change your modbus addresses. If you had a working VFDMOD config, you are very close
I had to use my PI because my 7c80 requires it, but if I had an other interface I would just use a PC.... well, a PI5 is nice.....
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 6
-
Thank you received: 0
-
-
Less
More
-
Posts: 6
-
Thank you received: 0
-
-
Less
More
-
Posts: 6
-
Thank you received: 0
-
-
05 Apr 2024 19:52 #297665
by Pickle
OK - I am at a loss with MB2HAL - I want VFDMOD! Question is how do I get it for an architecture that is very new on the block - Pi5? The arm64 side of things is dealt with in the arm64 release for Pi. I have been looking into recompiling VFDMOD for arm64, but having followed the QT route it seems there are a couple of fiiles that are missing, namely hal.c and hal.h. The quote form one of the posts states words to the effect "... get QT and rebuild" - but it aint't that easy. Or is it?
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 49
-
Thank you received: 18
-
-
Less
More
-
Posts: 5
-
Thank you received: 1
-
-
05 Aug 2024 23:47 #307047
by OGMaker
Hey aekhv,
Your github and docs seem to be in a bit of a scramble with your name change on github. Any estimate of when that will get straightened out? Love the project I was able to put together a working configuration for the StepperOnline EV200 pretty easily. Mb2hal just didn't work for this device. Still trying to figure out what their spindle speed register wants, but that is their documentation problem.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 2
-
Thank you received: 0
-
-
06 Aug 2024 05:24 - 06 Aug 2024 05:31 #307056
by Bureaufly
GitHub download is down and no way to find it anywhere else ? now i have to spend another month to figure out another way to run my VFD, i think instead i will smash this linuxcnc controller with a baseball bat and that will be the best satisfaction this machine ever gave me.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 5
-
Thank you received: 1
-
-
06 Aug 2024 15:11 #307098
by OGMaker
If you having trouble finding it, see
github.com/thestealth131205/vfdmod
I'm not sure if the project has been hijacked, or the original owner changed his login without realizing the impact on his links. The good part is that the bits are all still there. I'll be making a fork to have a backup in case it goes away...
Please Log in or Create an account to join the conversation.
-
Configuring LinuxCNC
-
HAL
-
[ Vfdmod ] An easy VFD control over MODBUS RTU
Time to create page: 0.103 seconds