diff --git a/config/CreatBot_D1000/base.cfg b/config/CreatBot_D1000/base.cfg index 3a4b2b846..01936157e 100644 --- a/config/CreatBot_D1000/base.cfg +++ b/config/CreatBot_D1000/base.cfg @@ -716,8 +716,10 @@ gcode: [gcode_macro _USER_CANCEL] gcode: - G91 - G1 Z30 F600 ; lift nozzle + {% if 'z' in printer.toolhead.homed_axes %} + G91 + G1 Z30 F600 ; lift nozzle + {% endif %} M84 [gcode_macro _CLIENT_EXTRUDE] diff --git a/config/CreatBot_D1000_V0/base.cfg b/config/CreatBot_D1000_V0/base.cfg index 058208929..5bf8e9134 100644 --- a/config/CreatBot_D1000_V0/base.cfg +++ b/config/CreatBot_D1000_V0/base.cfg @@ -652,8 +652,10 @@ gcode: [gcode_macro _USER_CANCEL] gcode: - G91 - G1 Z30 F600 ; lift nozzle + {% if 'z' in printer.toolhead.homed_axes %} + G91 + G1 Z30 F600 ; lift nozzle + {% endif %} M84 [gcode_macro _CLIENT_EXTRUDE] diff --git a/config/CreatBot_D600Pro2/base.cfg b/config/CreatBot_D600Pro2/base.cfg index 8d9fc7c34..ae9fcd4ea 100644 --- a/config/CreatBot_D600Pro2/base.cfg +++ b/config/CreatBot_D600Pro2/base.cfg @@ -709,8 +709,10 @@ gcode: [gcode_macro _USER_CANCEL] gcode: - G91 - G1 Z30 F600 ; lift nozzle + {% if 'z' in printer.toolhead.homed_axes %} + G91 + G1 Z30 F600 ; lift nozzle + {% endif %} M84 [gcode_macro _CLIENT_EXTRUDE] diff --git a/config/CreatBot_D600Pro2_V0/base.cfg b/config/CreatBot_D600Pro2_V0/base.cfg index 3a2b8e3d6..11c8ac34f 100644 --- a/config/CreatBot_D600Pro2_V0/base.cfg +++ b/config/CreatBot_D600Pro2_V0/base.cfg @@ -645,8 +645,10 @@ gcode: [gcode_macro _USER_CANCEL] gcode: - G91 - G1 Z30 F600 ; lift nozzle + {% if 'z' in printer.toolhead.homed_axes %} + G91 + G1 Z30 F600 ; lift nozzle + {% endif %} M84 [gcode_macro _CLIENT_EXTRUDE] diff --git a/config/CreatBot_F430NX/base.cfg b/config/CreatBot_F430NX/base.cfg index 6356e7df8..77c41837b 100644 --- a/config/CreatBot_F430NX/base.cfg +++ b/config/CreatBot_F430NX/base.cfg @@ -888,8 +888,10 @@ gcode: [gcode_macro _USER_CANCEL] gcode: - G91 - G1 Z30 F600 ; lift nozzle + {% if 'z' in printer.toolhead.homed_axes %} + G91 + G1 Z30 F600 ; lift nozzle + {% endif %} M84 [gcode_macro _CLIENT_EXTRUDE]