I'd like to give the operator an easy way to verify that the programmed thread pitch is correct. The plan is to insert a comment when thread milling.
We can snag the pitch parameter via prmcode$ 12194, but that's all we've got so far.
How would we identify that the current operation is thread milling to ensure that the pitch comment is only output when applicable?
Ok, here's what we've got now. If anyone wants to use this method, just ignore the code in my earlier post and start fresh with this code.
# --------------------------------------------------------------------------
# Common User-defined Variable Initializations (not switches!)
# --------------------------------------------------------------------------
boolthreadml : 0 #Boolean to be used when thread milling
...
# ---------------------------------------------------------------------