response to #25
I'm still missing something. Among the lines generated by admin halcmd show there are a few whose interpretation would seem to be straightforward. For example, there are lines that seem to show the current minimum and maximum spindle speeds, so I could write Python code that would let HAL know what speed range the machine was in. I found some other interpretable lines (the current tool's number, OD, and offset; the radio button for jog size; the slider (I think) of feed rate) too.
What I'm missing is this: I haven't noticed any means of having HAL share what it knows with running gCode. I'll be happy to write a bunch of Python to poll various machine state, but I don't want to bother with that until I could write some gCode like
Code:
o 1234 if [something]
(msg, low speed range)
o 1234 else
(msg, high speed range)
o 1234 end if