Z-Axis moves too fast for steppers after G29 Auto bed leveling August 21, 2014 04:50PM |
Registered: 10 years ago Posts: 38 |
Re: Z-Axis moves too fast for steppers after G29 Auto bed leveling August 22, 2014 12:47PM |
Registered: 10 years ago Posts: 10 |
Re: Z-Axis moves too fast for steppers after G29 Auto bed leveling August 23, 2014 03:45PM |
Registered: 10 years ago Posts: 38 |
Re: Z-Axis moves too fast for steppers after G29 Auto bed leveling August 23, 2014 06:04PM |
Registered: 10 years ago Posts: 581 |
Re: Z-Axis moves too fast for steppers after G29 Auto bed leveling August 24, 2014 04:29AM |
Registered: 10 years ago Posts: 38 |
Re: Z-Axis moves too fast for steppers after G29 Auto bed leveling August 24, 2014 05:09AM |
Registered: 10 years ago Posts: 581 |
Re: Z-Axis moves too fast for steppers after G29 Auto bed leveling August 24, 2014 05:57AM |
Registered: 10 years ago Posts: 38 |
937. static void do_blocking_move_to(float x, float y, float z) { 938. float oldFeedRate = feedrate; 939. 940. feedrate = homing_feedrate[Z_AXIS]; 941. 942. current_position[Z_AXIS] = z; 943. plan_buffer_line(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS], current_position[E_AXIS], feedrate/60, active_extruder); 944. st_synchronize(); 945. 946. feedrate = XY_TRAVEL_SPEED; 947. 948. current_position[X_AXIS] = x; 949. current_position[Y_AXIS] = y; 950. plan_buffer_line(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS], current_position[E_AXIS], feedrate/60, active_extruder); 951. st_synchronize(); 952. 953. feedrate = oldFeedRate; 954. }
963. static void do_blocking_move_to(float x, float y, float z) { 964. float oldFeedRate = feedrate; 965. 966. feedrate = XY_TRAVEL_SPEED; 967. 968. current_position[X_AXIS] = x; 969. current_position[Y_AXIS] = y; 970. current_position[Z_AXIS] = z; 971. plan_buffer_line(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS], current_position[E_AXIS], feedrate/60, active_extruder); 972. st_synchronize(); 973. 974. feedrate = oldFeedRate; 975. }
Re: Z-Axis moves too fast for steppers after G29 Auto bed leveling August 24, 2014 06:26AM |
Registered: 10 years ago Posts: 581 |
static void do_blocking_move_to(float x, float y, float z, float movefeedrate = XY_TRAVEL_SPEED) { float oldFeedRate = feedrate; feedrate = movefeedrate; current_position[X_AXIS] = x; current_position[Y_AXIS] = y; current_position[Z_AXIS] = z; plan_buffer_line(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS], current_position[E_AXIS], feedrate/60, active_extruder); st_synchronize(); feedrate = oldFeedRate; }
do_blocking_move_to(current_position[X_AXIS], current_position[Y_AXIS], z_before);
do_blocking_move_to(current_position[X_AXIS], current_position[Y_AXIS], z_before, homing_feedrate[Z_AXIS]);
Re: Z-Axis moves too fast for steppers after G29 Auto bed leveling August 24, 2014 10:52AM |
Registered: 10 years ago Posts: 38 |
Re: Z-Axis moves too fast for steppers after G29 Auto bed leveling August 24, 2014 01:36PM |
Registered: 10 years ago Posts: 581 |
Re: Z-Axis moves too fast for steppers after G29 Auto bed leveling October 14, 2014 06:21PM |
Registered: 10 years ago Posts: 2 |
Re: Z-Axis moves too fast for steppers after G29 Auto bed leveling November 02, 2014 11:10AM |
Registered: 10 years ago Posts: 4 |
Re: Z-Axis moves too fast for steppers after G29 Auto bed leveling November 02, 2014 04:17PM |
Registered: 10 years ago Posts: 581 |
Quote
ibstrange1
I changed the code as you suggested, and it did solve the problem during auto bed leveling. However when I attempt to print something, the problem shows up again when it is homing the z axis prior to printing. Any suggestions?
Re: Z-Axis moves too fast for steppers after G29 Auto bed leveling November 04, 2014 07:30PM |
Registered: 10 years ago Posts: 4 |
Re: Z-Axis moves too fast for steppers after G29 Auto bed leveling November 30, 2014 04:11PM |
Registered: 11 years ago Posts: 56 |
Re: Z-Axis moves too fast for steppers after G29 Auto bed leveling December 10, 2014 10:24PM |
Registered: 10 years ago Posts: 3 |
Re: Z-Axis moves too fast for steppers after G29 Auto bed leveling December 13, 2014 02:13PM |
Registered: 10 years ago Posts: 4 |
Re: Z-Axis moves too fast for steppers after G29 Auto bed leveling December 13, 2014 02:13PM |
Registered: 10 years ago Posts: 4 |
Re: Z-Axis moves too fast for steppers after G29 Auto bed leveling April 09, 2015 03:18AM |
Registered: 9 years ago Posts: 36 |
Quote
derletztename
This actually was changed in the newer versions:
Old Version:
937. static void do_blocking_move_to(float x, float y, float z) { 938. float oldFeedRate = feedrate; 939. 940. feedrate = homing_feedrate[Z_AXIS]; 941. 942. current_position[Z_AXIS] = z; 943. plan_buffer_line(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS], current_position[E_AXIS], feedrate/60, active_extruder); 944. st_synchronize(); 945. 946. feedrate = XY_TRAVEL_SPEED; 947. 948. current_position[X_AXIS] = x; 949. current_position[Y_AXIS] = y; 950. plan_buffer_line(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS], current_position[E_AXIS], feedrate/60, active_extruder); 951. st_synchronize(); 952. 953. feedrate = oldFeedRate; 954. }
New Version:
963. static void do_blocking_move_to(float x, float y, float z) { 964. float oldFeedRate = feedrate; 965. 966. feedrate = XY_TRAVEL_SPEED; 967. 968. current_position[X_AXIS] = x; 969. current_position[Y_AXIS] = y; 970. current_position[Z_AXIS] = z; 971. plan_buffer_line(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS], current_position[E_AXIS], feedrate/60, active_extruder); 972. st_synchronize(); 973. 974. feedrate = oldFeedRate; 975. }
Edit: I opened up an Issue at Marlin at Github for this