G38 Speed Selection
-
I'm using
G38.x
functionality to implement protected moves with a touch probe - the configuration of the probe itself is outside the scope of the macros I'm writing (the intention is for the macro "pack" to be usable on any RRF configuration in CNC mode) - so I'm picking up the probe speeds from the configuration of the probe itself (e.g.M558 K2 F{300,60} T1200
).Unfortunately, it seems like the
G38
probe commands always pick the slowest speed configured, which means I have to override the speed on the probe usingM558
to the travel speed, for example, and then reset it after the protected move (storing the relevant speeds in variables).This however leaves an issue if the move aborts (due to colliding with something and triggering the probe, or if the probe isn't triggered during a probing move), because that leaves the probe speed settings inconsistent with what the user originally configured.
It would be good if the
G38
probe commands could either take a feed override that does not require changing the underlying probe configuration, or an index parameter that specifies to use the rough, fine or travel speed for the relevant move.I don't think this can be fixed by using machine speed limits either because if the fine probing speed is lower than the machine limit then that will still be the default for the probe.
-
Noticed that the
F
parameter is already defined onG38.x
commands to set the feed rate, but it wasn't implemented in RRF.I've made the relevant changes here against
3.6-dev
. -
@NineMile thanks, I've included this in 3.6.0-beta.1.