Replies: 3 comments 5 replies
-
A plugin that claims the HAL spindle functions or
This way you can still use M3Sxxx to switch on the solenoid and M5 to switch it off. Or just S1 and S0 after an initial M3... By saving the current HAL pointers on plugin initialization you can call the original functions so no need to write code for handling the on/direction outputs or the PWM signal.
Map them to the same pin? I am not going to modify the code for less than 3 axes - too much work. |
Beta Was this translation helpful? Give feedback.
-
I have not been able to test this yet, but I wanted to say thanks very much for the code . |
Beta Was this translation helpful? Give feedback.
-
I got some quick testing in. I am building on an ESP32 board and have added the Although the LED ( spindle) does switch with M3 / M5, I do not see any reduction in PWM value when activating the spindle ( M3 S1000) after the For debug , I moved a |
Beta Was this translation helpful? Give feedback.
-
I have a solenoid for raising and lowering a pen . What would be the best way for using this in grblHAL ? I have thought about using M62-M66 and AUX out pins , but would there be a better way to do this so that the solenoid could have a pull and hold phase maybe with different PWM values for each ?
Another related point I am unsure about . What should be done in the config file for Z- step and Z-Dir pins , as these are not used . Commenting them out does not work, nor defining less than 3 axis.
Beta Was this translation helpful? Give feedback.
All reactions