Is there a way to conditionally raise the head at the end of a print run to 'at least' a value.
To explain...
If a print completes I would like the print head to rise enough to clear the built object and the bed to slide forward.
If a print fails and I abort it I want head to rise at least Z100 above the bed and the bed to slide forward to allow me to clean the mess before it cools.
The second scenario is only safe if the object that failed is less than 100 high or the head might go down into it.
So, is there a way to write gcode to execute when a print stops which says go up 5 relative - and - IF the absolute height is less than 100 absolute go up to 100 absolute.