#Trying to get a better understanding of why a print failed at 94% with just an "error"

29 messages · Page 1 of 1 (latest)

scarlet willow
#

I was printing a tall cylinder shape that maxed out at 220mm. I have a 300mm 2.4. Print looked great and when I woke up, I saw it had stopped at 94% and Klipper screen just said "error". This was all that was in the Mainsail console:

Idle timeout reached
2:03 AM
Move out of range: 169.359 197.069 260.100 [69368.981]
2:03 AM
Move out of range: 169.359 197.069 260.100 [69368.981]
2:03 AM
Firmware retraction enabled, Extruder retraction = 0.5
2:03 AM
Move out of range: 169.359 197.069 260.100 [69368.981]
2:03 AM
Move out of range: 169.359 197.069 260.100 [69368.981]
2:03 AM
Move out of range: 169.359 197.069 260.100 [69368.981]
2:03 AM
Firmware retraction enabled, Extruder retraction = 0.5
7:50 PM
Start printing !```

I have attached the klippy.log to see if anyone can help me understand what happened to this print?
scarlet willow
#

Oh let me check that

#
position_min: 0
position_endstop: 300
position_max: 300

[stepper_y]
position_min: 0
position_endstop: 300
position_max: 300

[stepper_z]
position_max: 260
position_min: -5
#

220mm should still be within configs/spec

icy relic
#

Not sure where you're getting 220 from

#

The error is clearly showing that it tried to move to 260.1

#

Do you have huge z hops or something?

scarlet willow
#

Model is 220

icy relic
toxic siren
#

park_lift_z is 50mm or to max_z…and it looks like the park macro doesn’t account for origin z, causing the move exceeded error.

icy relic
#

Be worth having a look at the gcode, and seeing if there's anything crazy high in there too

scarlet willow
toxic siren
#

Also just out of curiosity, you’re sure the print failed? Your print end macro calls “PARK” and if that caused the move exceeded error your print should theoretically have finished before that happened

icy relic
toxic siren
icy relic
#

Ah!

#

Fun

toxic siren
#
    {% if z_safe > max_z %}
    {% set z_safe = max_z %}
    {% endif %}
#

But to make that actually safe you need to account for the homing origin

#

So something like this:


max_z = printer.toolhead.axis_maximum.z - printer.gcode_move.homing_origin.z
#

Fun edge case that is in plenty of macros…

scarlet willow
#

I had assumed the print failed because of this on the Klipper screen. However you are correct is it looks like it finished at 220 mm but aired out in the parking.

#

Looking at Klipper screen it is at z = 220 as well

magic crag
#

That's indeed something I did not think of and will need to fix

scarlet willow
#

Will add it to the github issues list

sacred jungle