config: Update M600 in sample-macros.cfg to use SAVE_GCODE_STATE
Save and restore state in the example M600 macro. Also, add pause_resume config section. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
a5f82612a0
commit
7f04dc46d0
|
@ -98,11 +98,14 @@ gcode:
|
|||
# been changed, the print can be resumed from its previous position
|
||||
# with the "RESUME" gcode.
|
||||
|
||||
[pause_resume]
|
||||
|
||||
[gcode_macro M600]
|
||||
default_parameter_X: 50
|
||||
default_parameter_Y: 0
|
||||
default_parameter_Z: 10
|
||||
gcode:
|
||||
SAVE_GCODE_STATE NAME=M600_state
|
||||
PAUSE
|
||||
G91
|
||||
G1 E-.8 F2700
|
||||
|
@ -111,4 +114,4 @@ gcode:
|
|||
G1 X{X} Y{Y} F3000
|
||||
G91
|
||||
G1 E-50 F1000
|
||||
G90
|
||||
RESTORE_GCODE_STATE NAME=M600_state
|
||||
|
|
Loading…
Reference in New Issue