Raise Z 5cm after stopping
Check if Z axis has been homed and, if so, raise Z at least 5cm after stopping so that the steel sheet can be comfortably removed.
This commit is contained in:
parent
65e19f6b0b
commit
2c41857cb5
1 changed files with 4 additions and 2 deletions
|
@ -6307,8 +6307,10 @@ void lcd_print_stop()
|
||||||
|
|
||||||
lcd_cooldown(); //turns off heaters and fan; goes to status screen.
|
lcd_cooldown(); //turns off heaters and fan; goes to status screen.
|
||||||
|
|
||||||
current_position[Z_AXIS] += 10; //lift Z.
|
if (axis_known_position[Z_AXIS]) {
|
||||||
plan_buffer_line_curposXYZE(manual_feedrate[Z_AXIS] / 60);
|
current_position[Z_AXIS] += 50; //lift Z.
|
||||||
|
plan_buffer_line_curposXYZE(manual_feedrate[Z_AXIS] / 60);
|
||||||
|
}
|
||||||
|
|
||||||
if (axis_known_position[X_AXIS] && axis_known_position[Y_AXIS]) //if axis are homed, move to parked position.
|
if (axis_known_position[X_AXIS] && axis_known_position[Y_AXIS]) //if axis are homed, move to parked position.
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue