From e38c7df064845da3ec8146e13ecf399cb37e15d1 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Tue, 23 Jan 2018 12:26:18 -0500 Subject: probe: Support activate/deactivate scripts on each probe Allow a set of g-code scripts to be run on each probe invocation. This may be useful for probes that need to be setup before they are useful (eg, with servo actuated probes). Signed-off-by: Kevin O'Connor --- config/example-extras.cfg | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'config') diff --git a/config/example-extras.cfg b/config/example-extras.cfg index 9844d978..9a792afa 100644 --- a/config/example-extras.cfg +++ b/config/example-extras.cfg @@ -15,6 +15,15 @@ #z_position: 0.0 # The Z position to command the head to move to during a PROBE # command. The default is 0. +#activate_gcode: +# A list of G-Code commands (one per line) to execute prior to each +# probe attempt. This may be useful if the probe needs to be +# activated in some way. The default is to not run any special +# G-Code commands on activation. +#deactivate_gcode: +# A list of G-Code commands (one per line) to execute after each +# probe attempt completes. The default is to not run any special +# G-Code commands on deactivation. # Bed tilt compensation. One may define a [bed_tilt] config section to -- cgit v1.2.3-70-g09d2