6262
6363#if ENABLED(EXTENSIBLE_UI)
6464 #include " ../lcd/extui/ui_api.h"
65+ #elif ENABLED(SOVOL_SV06_RTS)
66+ #include " ../lcd/sovol_rts/sovol_rts.h"
6567#endif
6668
6769#include " ../lcd/marlinui.h"
@@ -150,6 +152,11 @@ static bool ensure_safe_temperature(const bool wait=true, const PauseMode mode=P
150152
151153 ui.pause_show_message (PAUSE_MESSAGE_HEATING, mode);
152154
155+ #if ENABLED(SOVOL_SV06_RTS)
156+ rts.gotoPage (ID_Cold_L, ID_Cold_D);
157+ rts.updateTempE0 ();
158+ #endif
159+
153160 if (wait) return thermalManager.wait_for_hotend (active_extruder);
154161
155162 // Allow interruption by Emergency Parser M108
@@ -277,6 +284,11 @@ bool load_filament(const_float_t slow_load_length/*=0*/, const_float_t fast_load
277284 // "Wait for filament purge"
278285 if (show_lcd) ui.pause_show_message (PAUSE_MESSAGE_PURGE);
279286
287+ #if ENABLED(SOVOL_SV06_RTS)
288+ rts.updateTempE0 ();
289+ rts.gotoPage (ID_Purge_L, ID_Purge_D);
290+ #endif
291+
280292 // Extrude filament to get into hotend
281293 unscaled_e_move (purge_length, ADVANCED_PAUSE_PURGE_FEEDRATE);
282294 }
@@ -292,6 +304,7 @@ bool load_filament(const_float_t slow_load_length/*=0*/, const_float_t fast_load
292304 ui.pause_show_message (PAUSE_MESSAGE_OPTION); // MarlinUI and MKS UI also set PAUSE_RESPONSE_WAIT_FOR
293305 #else
294306 pause_menu_response = PAUSE_RESPONSE_WAIT_FOR;
307+ TERN_ (SOVOL_SV06_RTS, rts.gotoPage (ID_PurgeMore_L, ID_PurgeMore_D));
295308 #endif
296309 while (pause_menu_response == PAUSE_RESPONSE_WAIT_FOR) idle_no_sleep ();
297310 }
@@ -355,6 +368,11 @@ bool unload_filament(const_float_t unload_length, const bool show_lcd/*=false*/,
355368
356369 if (show_lcd) ui.pause_show_message (PAUSE_MESSAGE_UNLOAD, mode);
357370
371+ #if ENABLED(SOVOL_SV06_RTS)
372+ rts.updateTempE0 ();
373+ rts.gotoPage (ID_Unload_L, ID_Unload_D);
374+ #endif
375+
358376 // Retract filament
359377 unscaled_e_move (-(FILAMENT_UNLOAD_PURGE_RETRACT) * mix_multiplier, (PAUSE_PARK_RETRACT_FEEDRATE) * mix_multiplier);
360378
@@ -503,6 +521,11 @@ void show_continue_prompt(const bool is_reload) {
503521 DEBUG_ECHOLNPGM (" ... is_reload:" , is_reload);
504522
505523 ui.pause_show_message (is_reload ? PAUSE_MESSAGE_INSERT : PAUSE_MESSAGE_WAITING);
524+ #if ENABLED(SOVOL_SV06_RTS)
525+ rts.updateTempE0 ();
526+ rts.gotoPage (ID_Insert_L, ID_Insert_D);
527+ rts.sendData (Beep, SoundAddr);
528+ #endif
506529 SERIAL_ECHO_START ();
507530 SERIAL_ECHO (is_reload ? F (_PMSG (STR_FILAMENT_CHANGE_INSERT) " \n " ) : F (_PMSG (STR_FILAMENT_CHANGE_WAIT) " \n " ));
508531}
@@ -544,6 +567,10 @@ void wait_for_confirmation(const bool is_reload/*=false*/, const int8_t max_beep
544567 // re-heat the nozzle, re-show the continue prompt, restart idle timers, start over
545568 if (nozzle_timed_out) {
546569 ui.pause_show_message (PAUSE_MESSAGE_HEAT);
570+ #if ENABLED(SOVOL_SV06_RTS)
571+ rts.updateTempE0 ();
572+ rts.gotoPage (ID_HeatNozzle_L, ID_HeatNozzle_D);
573+ #endif
547574 SERIAL_ECHO_MSG (_PMSG (STR_FILAMENT_CHANGE_HEAT));
548575
549576 TERN_ (HOST_PROMPT_SUPPORT, hostui.prompt_do (PROMPT_USER_CONTINUE, GET_TEXT_F (MSG_HEATER_TIMEOUT), GET_TEXT_F (MSG_REHEAT)));
@@ -709,6 +736,12 @@ void resume_print(
709736 planner.set_e_position_mm ((destination.e = current_position.e = resume_position.e ));
710737
711738 ui.pause_show_message (PAUSE_MESSAGE_STATUS);
739+ #if ENABLED(SOVOL_SV06_RTS)
740+ if (pause_flag)
741+ rts.gotoPage (ID_PrintResume_L, ID_PrintResume_D);
742+ else
743+ rts.refreshTime ();
744+ #endif
712745
713746 #ifdef ACTION_ON_RESUMED
714747 hostui.resumed ();
0 commit comments