Merge pull request #3455 from wavexx/stop_raise_higher
Stop raise higher
This commit is contained in:
commit
a8244dc2bd
|
|
@ -3688,6 +3688,7 @@ static void gcode_M600(bool automatic, float x_position, float y_position, float
|
|||
|
||||
//Lift Z
|
||||
current_position[Z_AXIS] += z_shift;
|
||||
clamp_to_software_endstops(current_position);
|
||||
plan_buffer_line_curposXYZE(FILAMENTCHANGE_ZFEED);
|
||||
st_synchronize();
|
||||
|
||||
|
|
@ -10758,7 +10759,7 @@ void long_pause() //long pause print
|
|||
|
||||
//lift z
|
||||
current_position[Z_AXIS] += Z_PAUSE_LIFT;
|
||||
if (current_position[Z_AXIS] > Z_MAX_POS) current_position[Z_AXIS] = Z_MAX_POS;
|
||||
clamp_to_software_endstops(current_position);
|
||||
plan_buffer_line_curposXYZE(15);
|
||||
|
||||
//Move XY to side
|
||||
|
|
|
|||
|
|
@ -6307,8 +6307,11 @@ void lcd_print_stop()
|
|||
|
||||
lcd_cooldown(); //turns off heaters and fan; goes to status screen.
|
||||
|
||||
current_position[Z_AXIS] += 10; //lift Z.
|
||||
plan_buffer_line_curposXYZE(manual_feedrate[Z_AXIS] / 60);
|
||||
if (axis_known_position[Z_AXIS]) {
|
||||
current_position[Z_AXIS] += Z_CANCEL_LIFT;
|
||||
clamp_to_software_endstops(current_position);
|
||||
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.
|
||||
{
|
||||
|
|
|
|||
|
|
@ -71,6 +71,7 @@
|
|||
// Canceled home position
|
||||
#define X_CANCEL_POS 50
|
||||
#define Y_CANCEL_POS 190
|
||||
#define Z_CANCEL_LIFT 50
|
||||
|
||||
//Pause print position
|
||||
#define X_PAUSE_POS 50
|
||||
|
|
|
|||
|
|
@ -71,6 +71,7 @@
|
|||
// Canceled home position
|
||||
#define X_CANCEL_POS 50
|
||||
#define Y_CANCEL_POS 190
|
||||
#define Z_CANCEL_LIFT 50
|
||||
|
||||
//Pause print position
|
||||
#define X_PAUSE_POS 50
|
||||
|
|
|
|||
|
|
@ -71,6 +71,7 @@
|
|||
// Canceled home position
|
||||
#define X_CANCEL_POS 50
|
||||
#define Y_CANCEL_POS 190
|
||||
#define Z_CANCEL_LIFT 50
|
||||
|
||||
//Pause print position
|
||||
#define X_PAUSE_POS 50
|
||||
|
|
|
|||
|
|
@ -71,6 +71,7 @@
|
|||
// Canceled home position
|
||||
#define X_CANCEL_POS 50
|
||||
#define Y_CANCEL_POS 190
|
||||
#define Z_CANCEL_LIFT 50
|
||||
|
||||
//Pause print position
|
||||
#define X_PAUSE_POS 50
|
||||
|
|
|
|||
|
|
@ -73,6 +73,7 @@
|
|||
// Canceled home position
|
||||
#define X_CANCEL_POS 50
|
||||
#define Y_CANCEL_POS 190
|
||||
#define Z_CANCEL_LIFT 50
|
||||
|
||||
//Pause print position
|
||||
#define X_PAUSE_POS 50
|
||||
|
|
|
|||
|
|
@ -75,6 +75,7 @@
|
|||
// Canceled home position
|
||||
#define X_CANCEL_POS 50
|
||||
#define Y_CANCEL_POS 190
|
||||
#define Z_CANCEL_LIFT 50
|
||||
|
||||
//Pause print position
|
||||
#define X_PAUSE_POS 50
|
||||
|
|
|
|||
Loading…
Reference in New Issue