Re: Bed Auto Leveling.. check this out January 04, 2014 08:11PM |
Registered: 12 years ago Posts: 12 |
Re: Bed Auto Leveling.. check this out January 05, 2014 01:22AM |
Registered: 11 years ago Posts: 791 |
Re: Bed Auto Leveling.. check this out January 05, 2014 01:50AM |
Registered: 11 years ago Posts: 791 |
Re: Bed Auto Leveling.. check this out January 05, 2014 05:23PM |
Registered: 12 years ago Posts: 12 |
Re: Bed Auto Leveling.. check this out January 06, 2014 02:25AM |
Registered: 12 years ago Posts: 56 |
Re: Bed Auto Leveling.. check this out January 06, 2014 01:50PM |
Registered: 12 years ago Posts: 12 |
Re: Bed Auto Leveling.. check this out January 06, 2014 02:28PM |
Registered: 10 years ago Posts: 37 |
Quote
ludara
Hi again, folks:
Today I reconnect my endstop switch completely, making sure that there were no problems with the wiring or false contacts and my problem persists, after a G29, my Z axis is still being reversed so I cant send a piece to the printer because my bed will try to go up instead of down.....
I am very confused, can you please help me further??
Thanks in advance!!
Re: Bed Auto Leveling.. check this out January 06, 2014 04:17PM |
Registered: 10 years ago Posts: 188 |
Re: Bed Auto Leveling.. check this out January 06, 2014 05:46PM |
Registered: 12 years ago Posts: 12 |
Re: Bed Auto Leveling.. check this out January 06, 2014 11:09PM |
Registered: 12 years ago Posts: 12 |
Re: Bed Auto Leveling.. check this out January 07, 2014 09:57AM |
Registered: 10 years ago Posts: 37 |
Quote
ludara
Hi again,
New arduino, new ramps, new switch, the problem still exists.
What can I do now???
Thanks
Re: Bed Auto Leveling.. check this out January 07, 2014 12:39PM |
Registered: 12 years ago Posts: 12 |
Re: Bed Auto Leveling.. check this out January 07, 2014 02:48PM |
Registered: 12 years ago Posts: 56 |
Re: Bed Auto Leveling.. check this out January 07, 2014 04:54PM |
Registered: 12 years ago Posts: 12 |
Re: Bed Auto Leveling.. check this out January 07, 2014 05:07PM |
Registered: 10 years ago Posts: 188 |
Re: Bed Auto Leveling.. check this out January 07, 2014 05:13PM |
Registered: 10 years ago Posts: 6 |
Re: Bed Auto Leveling.. check this out January 07, 2014 05:33PM |
Registered: 10 years ago Posts: 37 |
Quote
ludara
edn:
Thank you very much for your time and knowledge!
I did what you instructed me to do and after a G29 here you have what Pronterface returned:
SENDING:G29
Bed G29.1: X:45.0000000 Y:10.0000000 Z:1.7938970
Bed G29.2: X:45.0000000 Y:400.0000000 Z:3.0104327
Bed G29.3: X:445.0000000 Y:400.0000000 Z:2.5990529
Bed level matrix:
0.9999996 0.0000000 -0.0010284
0.0000000 0.9999951 0.0031193
-0.0010284 0.0031193 -0.9999946
echo:endstops hit: Z:2.60
My code had the 'ACCURATE_BED_LEVELING' portion, and I replaced the whole G29 section, and I am sure you know it, the z axis gets still reversed after de G29. If I can/need to do anything else to provide you with more info, please just let me know.
Thanks again!
Re: Bed Auto Leveling.. check this out January 07, 2014 05:38PM |
Registered: 10 years ago Posts: 37 |
Quote
TobinatorCO
Hi Ludara,
Just for comparisons sake, what are your settings in configuration.h for the following?
#define INVERT_X_DIR false // for Mendel set to false, for Orca set to true
#define INVERT_Y_DIR false // for Mendel set to true, for Orca set to false <--Thing to note for me is that I run a mendal and have to set this to "false", not true as noted in comment...
#define INVERT_Z_DIR false // for Mendel set to false, for Orca set to true
#define INVERT_E0_DIR true // for direct drive extruder v9 set to true, for geared extruder set to false
#define INVERT_E1_DIR false // for direct drive extruder v9 set to true, for geared extruder set to false
#define INVERT_E2_DIR false // for direct drive extruder v9 set to true, for geared extruder set to false
Also, where on the plate does each point touch on G28. For me, I am "back left", "front left" and "front right" where "0,0" is back left.
What I am wondering is if things are getting confused because assumptions are different than what others have. (say front right is 0,0 for others)
Can anyone with this working let me know what your settings are and if they are the same for you?
thanks
Re: Bed Auto Leveling.. check this out January 07, 2014 06:56PM |
Registered: 12 years ago Posts: 12 |
Re: Bed Auto Leveling.. check this out January 07, 2014 08:05PM |
Registered: 10 years ago Posts: 37 |
Quote
ludara
edn:
Thank you very much for your time and knowledge!
I did what you instructed me to do and after a G29 here you have what Pronterface returned:
SENDING:G29
Bed G29.1: X:45.0000000 Y:10.0000000 Z:1.7938970
Bed G29.2: X:45.0000000 Y:400.0000000 Z:3.0104327
Bed G29.3: X:445.0000000 Y:400.0000000 Z:2.5990529
Bed level matrix:
0.9999996 0.0000000 -0.0010284
0.0000000 0.9999951 0.0031193
-0.0010284 0.0031193 -0.9999946
echo:endstops hit: Z:2.60
My code had the 'ACCURATE_BED_LEVELING' portion, and I replaced the whole G29 section, and I am sure you know it, the z axis gets still reversed after de G29. If I can/need to do anything else to provide you with more info, please just let me know.
Thanks again!
Re: Bed Auto Leveling.. check this out January 08, 2014 10:41AM |
Registered: 12 years ago Posts: 12 |
Re: Bed Auto Leveling.. check this out January 08, 2014 01:26PM |
Registered: 10 years ago Posts: 37 |
Quote
ludara
edn:
Sorry for the delayed response, but I want you to know that when I used the G29 with ACCURATE_BED_LEVELING, nothing in my printer moves, not the carriage, the bed, the servo..... but I got the following data in return:
SENDING:G29
xGridSpacing: 200.000000
yGridSpacing: -195.000000
...
Eqn coefficients: a: 0.000000 b: 0.000000 d: 0.000000
planeNormal x: 0.0000000 y: 0.0000000 z: 1.0000000
Bed level matrix:
0.0000000 0.0000000 0.0000000
0.0000000 0.0000000 0.0000000
0.0000000 0.0000000 0.0000000
However, I changed the line
vector_3 planeNormal = vector_3::cross(xPositive, yPositive).get_normal();
to
vector_3 planeNormal = vector_3::cross(yPositive, xPositive).get_normal();
and just as you told, the printer now reacts as it should, the values on the diagonals of matrix are positive and the z axis is not reversed!!!!
I can not thank you enough!
I owe you, man!
Now to test and probe everything....
Re: Bed Auto Leveling.. check this out January 09, 2014 01:33PM |
Registered: 12 years ago Posts: 12 |
Re: Bed Auto Leveling.. check this out January 10, 2014 05:00PM |
Registered: 10 years ago Posts: 6 |
Quote
regpye
Check out this part that is further up in this forum.
There is a problem in the code for the feedrates when moving for bed leveling.
#define XY_TRAVEL_SPEED 6000 // X and Y axis travel speed between probes, in mm/min
This is not only used for XY travel but also for Z travel. That is the reason the Z motor stall.
I fixed some things in the code so that the Z moves uses the homing_feedrate and not XY_TRAVEL_SPEED This fixed the stalling Z motor problems for me.
You could also set the XY_TRAVEL_SPEED to someting like 150 but that means XY travel would be very slow.
static void do_blocking_move_to(float x, float y, float z) {
float oldFeedRate = feedrate;
feedrate = homing_feedrate[Z_AXIS];
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 = XY_TRAVEL_SPEED;
current_position[X_AXIS] = x;
current_position[Y_AXIS] = y;
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;
}
Re: Bed Auto Leveling.. check this out January 10, 2014 06:11PM |
Registered: 10 years ago Posts: 37 |
Quote
msmone
Quote
regpye
Check out this part that is further up in this forum.
There is a problem in the code for the feedrates when moving for bed leveling.
#define XY_TRAVEL_SPEED 6000 // X and Y axis travel speed between probes, in mm/min
This is not only used for XY travel but also for Z travel. That is the reason the Z motor stall.
I fixed some things in the code so that the Z moves uses the homing_feedrate and not XY_TRAVEL_SPEED This fixed the stalling Z motor problems for me.
You could also set the XY_TRAVEL_SPEED to someting like 150 but that means XY travel would be very slow.
static void do_blocking_move_to(float x, float y, float z) {
float oldFeedRate = feedrate;
feedrate = homing_feedrate[Z_AXIS];
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 = XY_TRAVEL_SPEED;
current_position[X_AXIS] = x;
current_position[Y_AXIS] = y;
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;
}
Hi regpye,
I have the same problem. When putting my xy_speed to 150 instead of 6000. It works ok. But i prefer a higher xy speed and only slowing down the Z-axis speed. How do you implement the above code in the Marlin_main.cpp? Do you have to delete anything or just put this code somewhere in?
I'm not so much of a software guy, but i'm learning a lot here
Thanks for all the info, everybody...
msmone
Re: Bed Auto Leveling.. check this out January 11, 2014 02:29PM |
Registered: 12 years ago Posts: 15 |
Re: Bed Auto Leveling.. check this out January 11, 2014 02:46PM |
Registered: 10 years ago Posts: 37 |
Re: Bed Auto Leveling.. check this out January 11, 2014 03:23PM |
Registered: 12 years ago Posts: 15 |
Re: Bed Auto Leveling.. check this out January 11, 2014 04:27PM |
Registered: 10 years ago Posts: 37 |
Quote
i-make-robots
edn - I have use for the second servo and I'm using a RUMBA controller. What I don't know is where to attach it.
I see from earlier in the thread that EXP3 pins 2/4/6 are for a servo, provided you swap the GND and 5V pins.
In the same message Yotiro references a second servo, but doesn't indicate where to attach it. I'm guessing 8/10/12, same config. Can anyone confirm?
Re: Bed Auto Leveling.. check this out January 11, 2014 04:31PM |
Registered: 10 years ago Posts: 37 |
Quote
i-make-robots
edn - I have use for the second servo and I'm using a RUMBA controller. What I don't know is where to attach it.
I see from earlier in the thread that EXP3 pins 2/4/6 are for a servo, provided you swap the GND and 5V pins.
In the same message Yotiro references a second servo, but doesn't indicate where to attach it. I'm guessing 8/10/12, same config. Can anyone confirm?