M702: Unload filament; load filament fast sequence length: 65mm
This commit is contained in:
parent
040a738202
commit
c553c7f368
|
|
@ -5068,10 +5068,9 @@ case 404: //M404 Enter the nominal filament width (3mm, 1.75mm ) N<3.0> or disp
|
||||||
enable_z();
|
enable_z();
|
||||||
custom_message = true;
|
custom_message = true;
|
||||||
custom_message_type = 2;
|
custom_message_type = 2;
|
||||||
axis_relative_modes[3] = true;
|
|
||||||
|
|
||||||
lcd_setstatuspgm(MSG_LOADING_FILAMENT);
|
lcd_setstatuspgm(MSG_LOADING_FILAMENT);
|
||||||
current_position[E_AXIS] += 70;
|
current_position[E_AXIS] += 65;
|
||||||
plan_buffer_line(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS], current_position[E_AXIS], 400 / 60, active_extruder); //fast sequence
|
plan_buffer_line(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS], current_position[E_AXIS], 400 / 60, active_extruder); //fast sequence
|
||||||
|
|
||||||
current_position[E_AXIS] += 40;
|
current_position[E_AXIS] += 40;
|
||||||
|
|
@ -5099,6 +5098,19 @@ case 404: //M404 Enter the nominal filament width (3mm, 1.75mm ) N<3.0> or disp
|
||||||
custom_message_type = 0;
|
custom_message_type = 0;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case 702:
|
||||||
|
{
|
||||||
|
/*custom_message = true;
|
||||||
|
custom_message_type = 2;
|
||||||
|
lcd_setstatuspgm(MSG_UNLOADING_FILAMENT); //need to be tranlated to other languages
|
||||||
|
*/
|
||||||
|
current_position[E_AXIS] -= 80;
|
||||||
|
plan_buffer_line(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS], current_position[E_AXIS], 7000 / 60, active_extruder);
|
||||||
|
/*custom_message = false;
|
||||||
|
custom_message_type = 0;
|
||||||
|
*/
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
case 999: // M999: Restart after being stopped
|
case 999: // M999: Restart after being stopped
|
||||||
Stopped = false;
|
Stopped = false;
|
||||||
|
|
|
||||||
|
|
@ -250,6 +250,7 @@
|
||||||
#define(length=20, lines=8) MSG_CLEAN_NOZZLE_E "E calibration finished. Please clean the nozzle. Click when done."
|
#define(length=20, lines=8) MSG_CLEAN_NOZZLE_E "E calibration finished. Please clean the nozzle. Click when done."
|
||||||
#define(length=20, lines=3) MSG_WAITING_TEMP "Waiting for heater and bed cooling"
|
#define(length=20, lines=3) MSG_WAITING_TEMP "Waiting for heater and bed cooling"
|
||||||
#define(length=20, lines=2) MSG_FILAMENT_CLEAN "Is color clear?"
|
#define(length=20, lines=2) MSG_FILAMENT_CLEAN "Is color clear?"
|
||||||
|
//#define(lenght=20, lines=1) MSG_UNLOADING_FILAMENT "Unloading filament"
|
||||||
|
|
||||||
#define MSG_BED_CORRECTION_MENU "Bed level correct"
|
#define MSG_BED_CORRECTION_MENU "Bed level correct"
|
||||||
#define MSG_BED_CORRECTION_LEFT "Left side um"
|
#define MSG_BED_CORRECTION_LEFT "Left side um"
|
||||||
|
|
|
||||||
|
|
@ -860,8 +860,7 @@ void lcd_unLoadFilament()
|
||||||
|
|
||||||
if (degHotend0() > EXTRUDE_MINTEMP) {
|
if (degHotend0() > EXTRUDE_MINTEMP) {
|
||||||
|
|
||||||
enquecommand_P(PSTR(UNLOAD_FILAMENT_0));
|
enquecommand_P(PSTR("M702")); //unload filament
|
||||||
enquecommand_P(PSTR(UNLOAD_FILAMENT_1));
|
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
|
@ -1070,7 +1069,7 @@ void lcd_LoadFilament()
|
||||||
{
|
{
|
||||||
custom_message = true;
|
custom_message = true;
|
||||||
loading_flag = true;
|
loading_flag = true;
|
||||||
enquecommand_P(PSTR("M701"));
|
enquecommand_P(PSTR("M701")); //load filament
|
||||||
SERIAL_ECHOLN("Loading filament");
|
SERIAL_ECHOLN("Loading filament");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue