I think the basic issue is that when it is running in a gcode script, or a startup script, it is in “Run” mode. When it reads $HX in “Run” mode, it has this error: [MSG:ERR: 8 (Command requires idle state) in /sd/home.g at line 3].
The $HY is fine, because it reads that and accepts it before it goes into “Run” mode.
In some circumstances, the ERR: 8 is still happening, but I don’t think it is reporting it.
When I run the commands from the terminal, after each command, it returns to “Idle” mode.
So 1) The devs want $H to not be run in Run mode. 2) It is getting through if it is the first thing in the gcode.
I could probably find and kill whatever check only lets $H happen in idle mode and compile my own firmware. I bet if the devs had their way, they wouldn’t want $HY to work that way either.
What is a solution that would not mess up other machines?
Can’t be a negative pulloff, because we still need a pulloff to trigger twice. mm-pos seems correct, nothing we can do there except force a move to The zero position between the homing cycle (fluidnc guys won’t like that). Can’t allow “$” commands while in run mode or all sorts of funky things could happen (I assume this is how grbl used to work).
The only thing I see is me redesigning adjustable flags (or endstops)…that is a bummer.
can you insert a dwell command that is long enough to make sure it is done with the first set to run the second half of the lines? Maybe it just can’t be in motion?
OMG, I had no idea how much that was bugging me. I feel amazing, like the sun is shining a little brighter.
Something on a dusty old to-do list solved.
A pendant would be pretty fun. I don’t have the M5 dial, and realistically, I haven’t got the time before RMRRF. That would be a better long term goal though.
For this gap on the bottom edge: I am thinking just clear packing tape. Blue masking tape would work too, but it might be distracting. That gray piping didn’t work well last time.
The ball should roll over it pretty well, might see a ghost edge, I kinda doubt it though. Worst case cover the whole thing with a tape layer so there are no edges to roll over.