- Posts: 43
- Thank you received: 0
[ Vfdmod ] An easy VFD control over MODBUS RTU
2 years 7 months ago #297266
by Calysto
Replied by Calysto on topic [ Vfdmod ] An easy VFD control over MODBUS RTU
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:
Your VFD looks well documented. First look for modbus capability's, does it support:
Work with the ones your VFD supports. Look for examples, ask some questions, don't expect it will be easy, and be happyread_coils
read_discrete_inputs
read_holding_registers
read_input_registers
write_single_coil
write_single_register
write_multiple_coils
write_multiple_registers
Please Log in to join the conversation.
2 years 6 months ago #297309
by Pickle
Replied by Pickle on topic [ Vfdmod ] An easy VFD control over MODBUS RTU
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?
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 to join the conversation.
2 years 6 months ago #297343
by Calysto
Replied by Calysto on topic [ Vfdmod ] An easy VFD control over MODBUS RTU
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.....
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 to join the conversation.
2 years 6 months ago #297351
by Pickle
Replied by Pickle on topic [ Vfdmod ] An easy VFD control over MODBUS RTU
Thanks....you are a star! If I have any success I will post here....
Please Log in to join the conversation.
2 years 6 months ago #297355
by Pickle
Replied by Pickle on topic [ Vfdmod ] An easy VFD control over MODBUS RTU
FYI .. Pi5 works well with mesa 7i92 to give latency results shown in attachment.
Please Log in to join the conversation.
2 years 6 months ago #297665
by Pickle
Replied by Pickle on topic [ Vfdmod ] An easy VFD control over MODBUS RTU
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 to join the conversation.
2 years 3 months ago #305574
by aekhv
Replied by aekhv on topic [ Vfdmod ] An easy VFD control over MODBUS RTU
-
Please Log in to join the conversation.
2 years 2 months ago #307047
by OGMaker
Replied by OGMaker on topic [ Vfdmod ] An easy VFD control over MODBUS RTU
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.
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 to join the conversation.
2 years 2 months ago #307056
by Bureaufly
Replied by Bureaufly on topic [ Vfdmod ] An easy VFD control over MODBUS RTU
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 to join the conversation.
2 years 2 months ago #307098
by OGMaker
Replied by OGMaker on topic [ Vfdmod ] An easy VFD control over MODBUS RTU
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...
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 to join the conversation.
Time to create page: 0.205 seconds
