- Joined
- Dec 20, 2021
- Messages
- 1,050
Ahem, my code has no bugs. It's doing exactly what I told it to do - whether I meant it or not!
Setting start and stop points for turning and threading is on my wish list. One of the reasons why I integrated the DROs. I haven't figured out the threading part, though. More inportantly, I have to figure out how to make the UI for it. A 320x240 screen forces you to make some harder choices than if you had a lovely 1920x1080 touch screen.
Sound great!
I've been pondering the threading process with a Z scale for a while. In my mind, it should mimic manual threading with a lead screw, but augmented in a way what's hardly noticeable. In manual threading, you basically have a start point, and a stop point. These are just manually picked by the operator.
If one begins with a defined 'Start' and 'Stop' point (these could be defined by cranking the carriage to each position and hitting a button). The encoder value from Z is saved from those button presses.
Then, when starting a thread, the operator must engage the half nut a bit before the start point (Like manual threading). The ELS can then sync the screw/DRO to the spindle before hitting the start point, and all is good. If not, then it stops the screw and requires a restart to try again (should only happen if the operator didn't give enough 'headroom' to start everything up.)
Stopping the thread, the ELS screw stops at the stop point (or detection of manual stop, by detection of the DRO scale stopping). The screw doesn't restart until the carriage is returned back past the stop point some amount , where the operator can engage the screw and start again...
The major advantage of syncing the screw to the DRO is that metric or English or BA, can be threaded engaging and disengaging the half nut. It doesn't have to stay engaged for a metric screw on an English machine for vise versa.
There are still a few details not spelled out here, but this is the general idea of it...