Tweaks to tool_change, GcodeSuite::T()
This commit is contained in:
parent
ca66574062
commit
c0dddd4233
@ -137,7 +137,7 @@ void GcodeSuite::G29() {
|
||||
const uint8_t old_debug_flags = marlin_debug_flags;
|
||||
if (query) marlin_debug_flags |= DEBUG_LEVELING;
|
||||
if (DEBUGGING(LEVELING)) {
|
||||
DEBUG_POS(">>> gcode_G29", current_position);
|
||||
DEBUG_POS(">>> G29", current_position);
|
||||
log_machine_info();
|
||||
}
|
||||
marlin_debug_flags = old_debug_flags;
|
||||
@ -957,7 +957,7 @@ void GcodeSuite::G29() {
|
||||
if (!faux) clean_up_after_endstop_or_probe_move();
|
||||
|
||||
#if ENABLED(DEBUG_LEVELING_FEATURE)
|
||||
if (DEBUGGING(LEVELING)) SERIAL_ECHOLNPGM("<<< gcode_G29");
|
||||
if (DEBUGGING(LEVELING)) SERIAL_ECHOLNPGM("<<< G29");
|
||||
#endif
|
||||
|
||||
report_current_position();
|
||||
|
@ -37,7 +37,7 @@ void GcodeSuite::T(const uint8_t tmp_extruder) {
|
||||
|
||||
#if ENABLED(DEBUG_LEVELING_FEATURE)
|
||||
if (DEBUGGING(LEVELING)) {
|
||||
SERIAL_ECHOPAIR(">>> gcode_T(", tmp_extruder);
|
||||
SERIAL_ECHOPAIR(">>> T(", tmp_extruder);
|
||||
SERIAL_CHAR(')');
|
||||
SERIAL_EOL();
|
||||
DEBUG_POS("BEFORE", current_position);
|
||||
@ -61,7 +61,7 @@ void GcodeSuite::T(const uint8_t tmp_extruder) {
|
||||
#if ENABLED(DEBUG_LEVELING_FEATURE)
|
||||
if (DEBUGGING(LEVELING)) {
|
||||
DEBUG_POS("AFTER", current_position);
|
||||
SERIAL_ECHOLNPGM("<<< gcode_T");
|
||||
SERIAL_ECHOLNPGM("<<< T()");
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
@ -295,13 +295,13 @@ void tool_change(const uint8_t tmp_extruder, const float fr_mm_s/*=0.0*/, bool n
|
||||
+ (tmp_extruder == 0 ? -(PARKING_EXTRUDER_GRAB_DISTANCE) : PARKING_EXTRUDER_GRAB_DISTANCE);
|
||||
/**
|
||||
* Steps:
|
||||
* 1. raise Z-Axis to have enough clearance
|
||||
* 2. move to park poition of old extruder
|
||||
* 3. disengage magnetc field, wait for delay
|
||||
* 4. move near new extruder
|
||||
* 5. engage magnetic field for new extruder
|
||||
* 6. move to parking incl. offset of new extruder
|
||||
* 7. lower Z-Axis
|
||||
* 1. Raise Z-Axis to give enough clearance
|
||||
* 2. Move to park position of old extruder
|
||||
* 3. Disengage magnetic field, wait for delay
|
||||
* 4. Move near new extruder
|
||||
* 5. Engage magnetic field for new extruder
|
||||
* 6. Move to parking incl. offset of new extruder
|
||||
* 7. Lower Z-Axis
|
||||
*/
|
||||
|
||||
// STEP 1
|
||||
|
Loading…
Reference in New Issue
Block a user