I get an error when I pause my prints

Basic Information:

Printer Model: JGMaker Artist-D Pro IDEX
MCU / Printerboard: Makerbase MKS Robin Pro
Host / SBC: BIGTREETECH BTT Pi V1.2
klippy.log
klippy(2).log (1.6 MB)

Fill out above information and in all cases attach your klippy.log file (use zip to compress it, if too big). Pasting your printer.cfg is not needed
Be sure to check our “Knowledge Base” Category first. Most relevant items, e.g. error messages, are covered there

Describe your issue:

Whenever I pause any print, Klipper will always throw out an error in the console of:
Move out of range: -70.000 0.000 13.851 [559.423]
Move out of range: -70.000 0.000 13.851 [559.423]
Move out of range: -70.000 0.000 13.851 [559.423]

all 3 lines show up at the exact same time. I know the 3rd value is the z height, but the rest is throwing me off. I’m still kinda new to Klipper stuff. Sometimes the print pauses like it should, other times the print cancels. The times when it cancels the print, nothing else gets put into the console. I’ve tried digging through all the cfg files and haven’t found anything referring to a -70 anymore. That used to be the value of the Park_extruder macro in the dual_cariage.cfg file when I started with the files from GitHub - Martin-Stiller/JG-Maker-Artist-D-Pro-Klipper-Mainsail: JG Maker Astist D Pro with Klipper on an old Lenovo Thinkpad , but I’ve changed it to -63 as it wasn’t correct for how far the left extruder gets parked. When I first set everything up, it wasn’t throwing that error message and I went through tons of changes before I realized I was getting an error when pausing. I did try adding in a pause_resume_cancel.cfg script I found online, but I think it did the same thing or just canceled right away. I know it didn’t work, so I disabled it. I think that’s just about everything, let me know if there’s any more info needed about this.

Any help on what to search for or what to change would be greatly appreciated.

Hello @xxcrashxx !

You may check this macro:

[gcode_macro _TOOLHEAD_PARK_PAUSE_CANCEL]
description = Helper: park toolhead used in PAUSE and CANCEL_PRINT
gcode = 
	
	
	
	{% set x_park = printer.toolhead.axis_maximum.x|float - 5.0 %}
	{% set y_park = printer.toolhead.axis_maximum.y|float - 5.0 %}
	{% set z_park_delta = 2.0 %}
	
	{% set max_z = printer.toolhead.axis_maximum.z|float %}
	{% set act_z = printer.toolhead.position.z|float %}
	{% if act_z < (max_z - z_park_delta) %}
	{% set z_safe = z_park_delta %}
	{% else %}
	{% set z_safe = max_z - act_z %}
	{% endif %}
	
	{% if printer.extruder.can_extrude|lower == 'true' %}
	M83
	G1 E-{extrude} F2100
	{% if printer.gcode_move.absolute_extrude |lower == 'true' %} M82 {% endif %}
	{% else %}
	{action_respond_info("Extruder not hot enough")}
	{% endif %}
	{% if "xyz" in printer.toolhead.homed_axes %}
	G91
	G1 Z{z_safe} F900
	G90
	G1 X-70 Y0 F6000
	{% if printer.gcode_move.absolute_coordinates|lower == 'false' %} G91 {% endif %}
	{% else %}
	{action_respond_info("Printer not homed")}
	{% endif %}
variable_extrude = 1.0
1 Like

As soon as I browsed over what you posted, I saw it right away. lol. It was hidden in the retract.cfg file. I didn’t think to check there cuz it’s not really a retraction thing. I think I need to start using the search command on my klippy logs before posting on here next time. Thank you for your help with this.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.