Controlling a lathe with a stepper spindle #696
Replies: 3 comments 10 replies
-
Should be possible since the stepper spindle binds to an axis motor. Seamlessly might be an issue, it may require some code changes to sync the current position on a switchover. The stepper spindle uses a 64 bit position counter to avoid overflow since it may run continuously for a long time. The axis positions are 32 bit so a conversion must to be done on a switchover? Or C has to be homed before it can be used?
It should be possible to use standard gcode for threading since the stepper spindle provides the encoder signals - derived from the position.
It should work but until I add the option to specify axisletters to use for axes > Z it will display positions for A, B, and C. And the 3D viewer is currently limited to displaying X, Y and Z. For board requirements see above. Anyway, the functionality you require is within the scope of what should be supported and it would be nice if you would try it out/refine it together with me. I cannot do it on my own since I do not have a lathe with a stepper driven spindle to verify on nor do I know the finer details of how it should work. |
Beta Was this translation helpful? Give feedback.
-
I configured the firmware for the board today and installed it to try out whether the interaction with iOSender works as planned. Everything mostly worked out, except for one thing: |
Beta Was this translation helpful? Give feedback.
-
Hi @terjeio ! :-) Unfortunately it shows somewhat weird behaviour:
I've tried to catch this in a quick youtube short: Do you have an idea what I might have configured wrong? |
Beta Was this translation helpful? Give feedback.
-
Hello,
first of all thank you for developing such a nice motion control software!
I'm building a small CNC lathe at the moment and am unsure, whether grblHAL supports my needs.
I am using a (closed loop) stepper as a spindle motor since I want to do light turning, threading and C-Axis indexing.
I've seen that there a stepper spindle is supported which is nice unique feature.
Does the stepper spindle allow the user to seamlessly use the stepper as a normal C-Axis? I was also planning to use the stepper to do threading without an extra encoder.
Would this setup work in conjunction with iosender and are there special requirements regarding the board to effectively use the stepper spindle?
Best regards!
Beta Was this translation helpful? Give feedback.
All reactions