G29, G30, G32, S0, S1, S2, measure heights... What a mess! ^^

Hello I'm new on this forum and I have some problem with my autoleveling ( I've got a kossel mini with mks mini v1.1 and repetier firmware)
I've read lot of forum on that and... It's a mess ^^
So, once and for all... What's the difference between G29, G30, G32, S0, S1, S2, what's going on when I click on "measure heights" in the bed map height tool?
Because for me, each command does a different thing and there is any correction done at all.
How do you store the matrix correction on your eeprom? (I know G32 S2, ok... but for me it doesn't work :p )
I guess you'll want some details ;)
Thanks !

Comments

  • Once endstops and endstop offsets are configured all you need for a delta is

    G32 S2
    to fix rotation of bed. S2 stores to eeprom if eeprom is enabled. You see it at the autoleveling matrix in log that it has changed. Of cours eif bed was level you see not much:-)

    If you want distortion correction 
    G33
    both commands store result in eeprom and it stays permanent. No need to redo unless you move your bed.

    The hosts height map does just measure and show you the result. It does not change anything.
  • Thank you
    very much !

    But when I Connect my printer, I send a homing and a G33 or G33 S2, I’ve got
    that in the logs



    15:42:50.878 : N18 G28 *10

    15:42:50.881 : Info:Autoleveling disabled

    15:42:51.487 : SelectExtruder:0

    15:42:51.496 : X:0.00 Y:0.00 Z:250.000 E:0.0000

    15:42:51.496 : Info:Autoleveling enabled

    15:42:56.009 : N24 G33 *15

    15:42:56.014 : Unknown command:N24 G33



    After, I send a G32 S2



    15:45:37.132 : N173 G32 S2 *124

    15:45:41.909 : Info:Autoleveling disabled // (the hotend goes down and up and
    do a new homing at this moment… I don’t know why. After it goes down and do the
    probing)

    15:45:47.050 : SelectExtruder:0

    15:45:47.058 : X:0.00 Y:0.00 Z:250.000 E:0.0000

    15:45:53.099 : Z-probe:5.53 X:60.00 Y:-70.00

    15:45:54.057 : Z-probe:5.55 X:60.00 Y:-46.66

    15:45:55.010 : Z-probe:5.51 X:60.00 Y:-23.33

    15:45:55.967 : Z-probe:5.50 X:60.00 Y:0.00

    15:45:56.920 : Z-probe:5.57 X:60.00 Y:23.

    15:45:58.868 : Z-probe:5.72 X:60.00 Y:70.00

    15:46:00.724 : Z-probe:5.45 X:40.00 Y:-70.00

    15:46:01.665 : Z-probe:5.45 X:40.00 Y:-46.66

    15:46:02.606 : Z-probe:5.43 X:40.00 Y:-23.33

    15:46:03.555 : Z-probe:5.46 X:40.00 Y:0.00

    15:46:04.501 : Z-probe:5.54 X:40.00 Y:23.33

    15:46:05.463 : Z-probe:5.63 X:40.00 Y:46.66

    15:46:06.444 : Z-probe:5.77 X:40.00 Y:70.00

    15:46:08.306 : Z-probe:5.48 X:20.00 Y:-70.00

    15:46:09.251 : Z-probe:5.44 X:20.00 Y:-46.66

    15:46:10.195 : Z-probe:5.52 X:20.00 Y:-23.33

    15:46:11.149 : Z-probe:5.48 X:20.00 Y:0.00

    15:46:12.102 : Z-probe:5.54 X:20.00 Y:23.33

    15:46:13.059 : Z-probe:5.63 X:20.00 Y:46.66

    15:46:14.045 : Z-probe:5.83 X:20.00 Y:70.00

    15:46:15.915 : Z-probe:5.57 X:0.00 Y:-70.00

    15:46:16.872 : Z-probe:5.53 X:0.00 Y:-46.66

    15:46:17.821 : Z-probe:5.51 X:0.00 Y:-23.33

    15:46:18.786 : Z-probe:5.61 X:0.00 Y:0.00

    15:46:19.748 : Z-probe:5.59 X:0.00 Y:23.33

    15:46:20.709 : Z-probe:5.66 X:0.00 Y:46.66

    15:46:21.691 : Z-probe:5.79 X:0.00 Y:70.00

    15:46:23.586 : Z-probe:5.75 X:-20.00 Y:-70.00

    15:46:24.560 : Z-probe:5.67 X:-20.00 Y:-46.66

    15:46:25.530 : Z-probe:5.62 X:-20.00 Y:-23.33

    15:46:26.500 : Z-probe:5.62 X:-20.00 Y:0.00

    15:46:27.469 : Z-probe:5.66 X:-20.00 Y:23.33

    15:46:28.439 : Z-probe:5.72 X:-20.00 Y:46.66

    15:46:29.433 : Z-probe:5.83 X:-20.00 Y:70.00

    15:46:31.352 : Z-probe:5.91 X:-40.00 Y:-70.00

    15:46:32.351 : Z-probe:5.82 X:-40.00 Y:-46.66

    15:46:33.337 : Z-probe:5.75 X:-40.00 Y:-23.33

    15:46:34.323 : Z-probe:5.74 X:-40.00 Y:0.00

    15:46:35.313 : Z-probe:5.73 X:-40.00 Y:23.33

    15:46:36.295 : Z-probe:5.78 X:-40.00 Y:46.66

    15:46:37.294 : Z-probe:5.88 X:-40.00 Y:70.00

    15:46:39.229 : Z-probe:6.16 X:-60.00 Y:-70.00

    15:46:40.258 : Z-probe:6.00 X:-60.00 Y:-46.66

    15:46:41.269 : Z-probe:5.92 X:-60.00 Y:-23.33

    15:46:42.280 : Z-probe:5.86 X:-60.00 Y:0.00

    15:46:43.270 : Z-probe:5.83 X:-60.00 Y:23.33

    15:46:44.269 : Z-probe:5.87 X:-60.00 Y:46.66

    15:46:45.267 : Z-probe:5.86 X:-60.00 Y:70.00

    15:46:45.664 : plane: a = -0.0031 b = 0.0008 c = 5.6722

    15:46:45.672 : Transformation matrix: 0.999995 0.000002 0.003077 0.000000
    1.000000 -0.000807 -0.003077 0.000807 0.999995

    15:46:45.672 : CurrentZ:5.91 atZ:10.00

    15:46:45.676 : Z after rotation:10.24

    15:46:45.676 : Printer height:245.67

    15:46:45.680 : Info:Autoleveling enabled

    15:46:46.480 : X:-59.98 Y:70.00 Z:6.151 E:0.0000

    15:46:46.480 : Info:Autoleveling disabled

    15:46:53.565 : SelectExtruder:0

    15:46:53.570 : X:0.00 Y:0.00 Z:245.670 E:0.0000

    15:46:53.570 : Info:Autoleveling enabled

    In my config.h

    // #################### Z-Probing #####################

    #define Z_PROBE_Z_OFFSET 0
    #define Z_PROBE_Z_OFFSET_MODE 0
    #define UI_BED_COATING 0
    #define FEATURE_Z_PROBE 1
    #define Z_PROBE_BED_DISTANCE 5
    #define Z_PROBE_PIN  ORIG_Y_MIN_PIN
    #define Z_PROBE_PULLUP 1
    #define Z_PROBE_ON_HIGH 1
    #define Z_PROBE_X_OFFSET 0
    #define Z_PROBE_Y_OFFSET 0
    #define Z_PROBE_WAIT_BEFORE_TEST 0
    #define Z_PROBE_SPEED 20
    #define Z_PROBE_XY_SPEED 80
    #define Z_PROBE_SWITCHING_DISTANCE 3
    #define Z_PROBE_REPETITIONS 1
    #define Z_PROBE_HEIGHT 0
    #define Z_PROBE_START_SCRIPT ""
    #define Z_PROBE_FINISHED_SCRIPT ""
    #define Z_PROBE_REQUIRES_HEATING 0
    #define Z_PROBE_MIN_TEMPERATURE 150
    #define FEATURE_AUTOLEVEL 1
    #define Z_PROBE_X1 -69.28
    #define Z_PROBE_Y1 -40
    #define Z_PROBE_X2 69.28
    #define Z_PROBE_Y2 -40
    #define Z_PROBE_X3 0
    #define Z_PROBE_Y3 80
    #define BED_LEVELING_METHOD 1
    #define BED_CORRECTION_METHOD 0
    #define BED_LEVELING_GRID_SIZE 7
    #define BED_LEVELING_REPETITIONS 5
    #define BED_MOTOR_1_X 0
    #define BED_MOTOR_1_Y 0
    #define BED_MOTOR_2_X 200
    #define BED_MOTOR_2_Y 0
    #define BED_MOTOR_3_X 100
    #define BED_MOTOR_3_Y 200
    #define BENDING_CORRECTION_A 0
    #define BENDING_CORRECTION_B 0
    #define BENDING_CORRECTION_C 0
    #define FEATURE_AXISCOMP 1
    #define AXISCOMP_TANXY 0
    #define AXISCOMP_TANYZ 0
    #define AXISCOMP_TANXZ 0

    Do you know why G33 doesn't work?

  • G33 does not work because you have not compiled distortion correction support or you are using a old version where it was only available for deltas with G29.
  • Hi, I'm using the 1.0.5 version, I think it's the last one. I don't understand " G33 does not work because you have not compiled distortion correction support ". What do you mean?
    Sorry for this "stupid" question :)
  • 1.0.5 is your arduino ide and has nothing to do. I meant you need to set







    #define DISTORTION_CORRECTION         1

    in configuration.h to get G33, but you have said you do not have it or you are using an older repetier-firmware and not the latest version.

  • Thanks... it's better ^^
    But now I have an oder issue. If I send G29, G32 or G33 the hotend goes out of bed and I have to quickly stop it before dammage.
    My Z_PROBE_X and Y seems good, no?
    Where is there something who tell it to go so far out of bed ??
    I guess it's stupide but... I can't find ! 


    // #################### Z-Probing #####################

    #define Z_PROBE_Z_OFFSET 0
    #define Z_PROBE_Z_OFFSET_MODE 0
    #define UI_BED_COATING 0
    #define FEATURE_Z_PROBE 1
    #define Z_PROBE_BED_DISTANCE 5
    #define Z_PROBE_PIN  ORIG_Y_MIN_PIN
    #define Z_PROBE_PULLUP 1
    #define Z_PROBE_ON_HIGH 1
    #define Z_PROBE_X_OFFSET 0
    #define Z_PROBE_Y_OFFSET 0
    #define Z_PROBE_WAIT_BEFORE_TEST 0
    #define Z_PROBE_SPEED 1
    #define Z_PROBE_XY_SPEED 60
    #define Z_PROBE_SWITCHING_DISTANCE 0
    #define Z_PROBE_REPETITIONS 2
    #define Z_PROBE_HEIGHT -1
    #define Z_PROBE_START_SCRIPT ""
    #define Z_PROBE_FINISHED_SCRIPT ""
    #define Z_PROBE_REQUIRES_HEATING 0
    #define Z_PROBE_MIN_TEMPERATURE 150
    #define FEATURE_AUTOLEVEL 1
    #define Z_PROBE_X1 -70
    #define Z_PROBE_Y1 -70
    #define Z_PROBE_X2 -70
    #define Z_PROBE_Y2 +70
    #define Z_PROBE_X3 +70
    #define Z_PROBE_Y3 -70
    #define BED_LEVELING_METHOD 1
    #define BED_CORRECTION_METHOD 0
    #define BED_LEVELING_GRID_SIZE 4
    #define BED_LEVELING_REPETITIONS 1
    #define BED_MOTOR_1_X 0
    #define BED_MOTOR_1_Y 0
    #define BED_MOTOR_2_X 200
    #define BED_MOTOR_2_Y 0
    #define BED_MOTOR_3_X 100
    #define BED_MOTOR_3_Y 200
    #define BENDING_CORRECTION_A 0
    #define BENDING_CORRECTION_B 0
    #define BENDING_CORRECTION_C 0
    #define FEATURE_AXISCOMP 1
    #define AXISCOMP_TANXY 0
    #define AXISCOMP_TANYZ 0
    #define AXISCOMP_TANXZ 0

  • It tests these point
    #define Z_PROBE_X1 -70
    #define Z_PROBE_Y1 -70
    #define Z_PROBE_X2 -70
    #define Z_PROBE_Y2 +70
    #define Z_PROBE_X3 +70
    #define Z_PROBE_Y3 -70
    or the parallelogram you span with it if doing grid leveling. It adds z probe offset to it. Check eeprom as there might be different values stored!

    Also make sure to start it not at z max, that would crash into endstop shift anything and do bad things.
  • The eeprom and the firmeware are the same, the z probe offset is 0 and I always do a homing before try z probing.
    My bed's radius is 110 mm.
    And, what's exactly that?

    #define BED_MOTOR_1_X 0
    #define BED_MOTOR_1_Y 0
    #define BED_MOTOR_2_X 200
    #define BED_MOTOR_2_Y 0
    #define BED_MOTOR_3_X 100
    #define BED_MOTOR_3_Y 200

  • Ignore BED_MOTOR if you do not have motors changing bed height.

    What does the log say when you autoprobe? Points should be ok if printer radius is 110.
  • Hello i know that this is very old, but i have same problem (when i want to calibrate the bed nozzle wants to move over my bed). I have some differences in my Z-Probing but the problem is same so i guess that it could have same solution, whitch i think isn't there.
    This is my Z-Probing.
    // #################### Z-Probing #####################

    #define Z_PROBE_Z_OFFSET 0
    #define Z_PROBE_Z_OFFSET_MODE 0
    #define UI_BED_COATING 1                  // he has 0
    #define FEATURE_Z_PROBE 1
    #define Z_PROBE_BED_DISTANCE 10           //he has 5
    #define Z_PROBE_PIN ORIG_Z_MIN_PIN
    #define Z_PROBE_PULLUP 1
    #define Z_PROBE_ON_HIGH 1
    #define Z_PROBE_X_OFFSET 0
    #define Z_PROBE_Y_OFFSET 0
    #define Z_PROBE_WAIT_BEFORE_TEST 0
    #define Z_PROBE_SPEED 2                   //he has 1
    #define Z_PROBE_XY_SPEED 150              //he has 60
    #define Z_PROBE_SWITCHING_DISTANCE 1      //he has 0
    #define Z_PROBE_REPETITIONS 1             //he has 2
    #define Z_PROBE_HEIGHT 40                 //he has -1
    #define Z_PROBE_START_SCRIPT ""
    #define Z_PROBE_FINISHED_SCRIPT ""
    #define Z_PROBE_REQUIRES_HEATING 0
    #define Z_PROBE_MIN_TEMPERATURE 150
    #define FEATURE_AUTOLEVEL 1
    #define Z_PROBE_X1 -70                             
    #define Z_PROBE_Y1 -70                           
    #define Z_PROBE_X2 -70                            
    #define Z_PROBE_Y2 +70                           
    #define Z_PROBE_X3 +70                              
    #define Z_PROBE_Y3 -70
    #define BED_LEVELING_METHOD 0             //he has 1
    #define BED_CORRECTION_METHOD 0
    #define BED_LEVELING_GRID_SIZE 5          //he has 4
    #define BED_LEVELING_REPETITIONS 5        //he has 1
    #define BED_MOTOR_1_X 0
    #define BED_MOTOR_1_Y 0
    #define BED_MOTOR_2_X 200                         
    #define BED_MOTOR_2_Y 0                             
    #define BED_MOTOR_3_X 100                           
    #define BED_MOTOR_3_Y 200                           
    #define BENDING_CORRECTION_A 0
    #define BENDING_CORRECTION_B 0
    #define BENDING_CORRECTION_C 0
    #define FEATURE_AXISCOMP 0                //he has 1
    #define AXISCOMP_TANXY 0
    #define AXISCOMP_TANYZ 0
    #define AXISCOMP_TANXZ 0

  • _Rob_ said:
    Hello i know that this is very old, but i have same problem (when i want to calibrate the bed, nozzle wants to move over my bed).

    After sending i read it again and without that comma (betwen bed and nozzle) it doesn't sound like a wanted. In my Z-Probing i showed where i have differences from that guy who posted here his code.
    This is firmware repetier 0.92 (i guess)

  • Please make sure eeprom has same values. And then describe what is happening and what you expect to happen, it is not clear what error you are talking about. Use 1.0.x firmware which has many leveling bugs fixed.

    is your nozzle the z probe because you did not give it an offset!

    A#part from this valus seem good for a start also i doubt the z probe offset is correct.
  • Ok that was my bad that i didn't checkech what was in eeprom (there was one value whitch was 160)! Now the nozzle won't go off bed but when i run G32 it is (the nozzle) almost on the edge of glass. Whitch doesn't make sense for me (first thaught was that maybe step/mm is wrong) i checked that and that isn't a problem. When i tell to printer to go 50 x/y it moves exactly 50mm, that is why i think it have to be somethink else. Is there some value like some correction to axis when leveling or somethink else what could cause this or where may be problem ?
    Diameter of my glass is 200mm (radius is 100mm).

  • Always remember that the carriage position will also contain the probe offset. So what you measure and where the nozzle is is not exactly the same.
  • I wasn't sure if i understood you (for the firs time) but now i think that i maybe know what you wanted to say. I assume that you think i have inductive sonde, but i have microswitch and this switch is triggered by nozzle "hitting" the bed. That is why i care about that the nozzle is on the edge of glass. So if there is default that you use inductive sonde there should be somethikng where you change that to microswitch am i right ? Please tell me if i understode you or i am wrong thank you.

Sign In or Register to comment.