When homing, z bed moves down before going up, crashing into brackets August 22, 2016 01:53AM |
Registered: 7 years ago Posts: 6 |
Re: When homing, z bed moves down before going up, crashing into brackets August 22, 2016 08:52AM |
Registered: 8 years ago Posts: 552 |
Re: When homing, z bed moves down before going up, crashing into brackets August 22, 2016 11:26AM |
Registered: 7 years ago Posts: 558 |
Quote
Roxy
Or, you could set the Z-HEIGHT-For-HOMING to 0.00 if you know you won't leave the nozzle pressed against the bed.
Re: When homing, z bed moves down before going up, crashing into brackets August 23, 2016 12:21AM |
Registered: 7 years ago Posts: 6 |
Re: When homing, z bed moves down before going up, crashing into brackets August 23, 2016 09:26AM |
Registered: 7 years ago Posts: 558 |
if (home_all_axis || homeX || homeY) { // Raise Z before homing any other axes and z is not already high enough (never lower z) destination[Z_AXIS] = LOGICAL_Z_POSITION(Z_HOMING_HEIGHT); if (destination[Z_AXIS] > current_position[Z_AXIS]) { #if ENABLED(DEBUG_LEVELING_FEATURE) if (DEBUGGING(LEVELING)) { SERIAL_ECHOPAIR("Raise Z (before homing) to ", destination[Z_AXIS]); SERIAL_EOL; } #endif do_blocking_move_to_z(destination[Z_AXIS]); } }
Re: When homing, z bed moves down before going up, crashing into brackets August 24, 2016 01:48AM |
Registered: 7 years ago Posts: 6 |
Quote
PDBeal
Depending on what version your currently doing it sort of changes, but if you look in Marlin_main.cpp and search for "void gcode_G28()" That is the routine that handles homing. And if you skim through it until you see something similar to the following:
if (home_all_axis || homeX || homeY) { // Raise Z before homing any other axes and z is not already high enough (never lower z) destination[Z_AXIS] = LOGICAL_Z_POSITION(Z_HOMING_HEIGHT); if (destination[Z_AXIS] > current_position[Z_AXIS]) { #if ENABLED(DEBUG_LEVELING_FEATURE) if (DEBUGGING(LEVELING)) { SERIAL_ECHOPAIR("Raise Z (before homing) to ", destination[Z_AXIS]); SERIAL_EOL; } #endif do_blocking_move_to_z(destination[Z_AXIS]); } }
That was the section I commented out at one time from the RCBugFix-RC7 version. It was different in the RCBugFix-RC6 version, so it might not look exactly like that depending on what version your using.
There might be another location to look too, but I don't remember if it was just the one section.
Re: When homing, z bed moves down before going up, crashing into brackets August 24, 2016 03:13AM |
Registered: 7 years ago Posts: 6 |
Re: When homing, z bed moves down before going up, crashing into brackets August 24, 2016 09:58AM |
Registered: 7 years ago Posts: 558 |
Quote
ryandgarrison
SO. Anyone know why my printer defaults to (0, 0, -14.99) at the start? Is there a way to set it's starting coordinates?
Re: When homing, z bed moves down before going up, crashing into brackets September 18, 2016 02:53AM |
Registered: 8 years ago Posts: 4 |
Re: When homing, z bed moves down before going up, crashing into brackets January 27, 2018 03:49PM |
Registered: 9 years ago Posts: 101 |
Re: When homing, z bed moves down before going up, crashing into brackets January 27, 2018 04:12PM |
Registered: 9 years ago Posts: 101 |
do_probe_raise(_Z_CLEARANCE_DEPLOY_PROBE);