- Posts: 49
- Thank you received: 0
[ Vfdmod ] An easy VFD control over MODBUS RTU
Please Log in to join the conversation.
Please Log in to join the conversation.
If connection established (I guest it is so) but start/stop commands are not working, then check signal names in main HAL file:
Are these signals exist?
Please Log in to join the conversation.
* updated *
Fixed by itself after my reply! Probably some kind of bug...
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
- Posts: 22008
- Thank you received: 3
It has been mentioned here several times not to change the subject when replying.
Please Log in to join the conversation.
Another question: do these instructions go in the main hal file or custom.hal:?
net spindle-speed-cmd => vfdmod.spindle.rpm-in
net spindle-at-speed <= vfdmod.spindle.at-speed
net spindle-cw motion.spindle-forward => vfdmod.spindle.run-forward
net spindle-ccw motion.spindle-reverse => vfdmod.spindle.run-reverse
Can you post your main hal file for comparison?
Please Log in to join the conversation.
Please Log in to join the conversation.
COFHAL wrote: It is not clear to me. I am enclosing my hal file for you to verify.
Another question: do these instructions go in the main hal file or custom.hal:?
net spindle-speed-cmd => vfdmod.spindle.rpm-in
net spindle-at-speed <= vfdmod.spindle.at-speed
net spindle-cw motion.spindle-forward => vfdmod.spindle.run-forward
net spindle-ccw motion.spindle-reverse => vfdmod.spindle.run-reverse
Can you post your main hal file for comparison?
Where is no strong instruction how HAL pins should be connected, because depending of LinuxCNC version (I mean Stepconf & Pncconf version when you created your machine configuration) HAL pin & signal names can be different, what's why my HAL file may be useless for you.
Ok, I guess I know what you should to try:
1. Find and uncomment this line in your main HAL file:
2. Add to your custom.hal these lines:
Please Log in to join the conversation.
Please Log in to join the conversation.
P.S. Build for Armbian Buster (armhf) added to releases, so vfdmod is ready to work with Orange Pi ! :woohoo:
Please Log in to join the conversation.
