Auto bed leveling does not update z-height

Hello,
I have tried to make the auto bed leveling feature work.
At first it worked fine with a manually installed z-probe.
I have now put the probe on a servo controlled arm.

When i now use the auto level feature it does not work properly anymore.

The main issue is that the printer height is not updated, it keeps the printer height from the eeprom, wich is a bit higher than the real printer hight to allow adjustment.

The second behaviour i did not notice in my previous configuration is that after the third measurement, the probe travels back to the starting point and at the same time lowers to z=0, that is z=0 according to eeprom printer height wich is too low ! so it cruches in to the bed.
Than the x axis moves the value of the probe x-offset, and this now becomes x=0 !
At last the z axis goes all the way up to measure the printer height, again does not update printer height.

I also tried to do the procedure without homing the axis before. So all values show red. I put G28 in the start script to see what happend.
In this case, the homing takes place, but all the values stay red.

It's like everything that happens within the G32 S2 command, is not accually written to the firmware.

Any suggestions ? I tried really hard to understand but i'm stuck, Sorry.




Comments

  • edited February 2015
    Hi, again,

    I've yust checked one other thing :
    The Z-min SOFTWARE endstop is disabled in the firmware. Could this be the cause ?
    Also in printer settings (Host) i've set Z max end stop.

    I can't test it for now, i'm not at home...

    Cheers
    Frans87 
  • Hello again,

    I've tried to get it right but it's getting worse !

    Switching software z-probe true or false does not help.

    I have now installed the 92.2 version firmware.

    Now z-probing does not work at all. All settings, as far as i've been able to see, are identical to when it did work. It's driving me nuts.


    The probe works when I check with G31, but when I do a G30 or G32, nothing happens when the probe is triggered.

     Here's my Config :

    // ################ Endstop configuration #####################

    #define ENDSTOP_PULLUP_X_MIN true
    #define ENDSTOP_X_MIN_INVERTING false
    #define MIN_HARDWARE_ENDSTOP_X true
    #define ENDSTOP_PULLUP_Y_MIN true
    #define ENDSTOP_Y_MIN_INVERTING false
    #define MIN_HARDWARE_ENDSTOP_Y true
    #define ENDSTOP_PULLUP_Z_MIN true
    #define ENDSTOP_Z_MIN_INVERTING false
    #define MIN_HARDWARE_ENDSTOP_Z false
    #define ENDSTOP_PULLUP_X_MAX true
    #define ENDSTOP_X_MAX_INVERTING false
    #define MAX_HARDWARE_ENDSTOP_X false
    #define ENDSTOP_PULLUP_Y_MAX true
    #define ENDSTOP_Y_MAX_INVERTING false
    #define MAX_HARDWARE_ENDSTOP_Y false
    #define ENDSTOP_PULLUP_Z_MAX true
    #define ENDSTOP_Z_MAX_INVERTING false
    #define MAX_HARDWARE_ENDSTOP_Z true
    #define max_software_endstop_r true

    #define min_software_endstop_x false
    #define min_software_endstop_y false
    #define min_software_endstop_z false
    #define max_software_endstop_x true
    #define max_software_endstop_y true
    #define max_software_endstop_z false
    #define ENDSTOP_X_BACK_MOVE 5
    #define ENDSTOP_Y_BACK_MOVE 5
    #define ENDSTOP_Z_BACK_MOVE 2
    #define ENDSTOP_X_RETEST_REDUCTION_FACTOR 3
    #define ENDSTOP_Y_RETEST_REDUCTION_FACTOR 3
    #define ENDSTOP_Z_RETEST_REDUCTION_FACTOR 3
    #define ENDSTOP_X_BACK_ON_HOME 1
    #define ENDSTOP_Y_BACK_ON_HOME 1
    #define ENDSTOP_Z_BACK_ON_HOME 5
    #define ALWAYS_CHECK_ENDSTOPS 1

    #define FEATURE_Z_PROBE 1
    #define Z_PROBE_BED_DISTANCE 5
    #define Z_PROBE_PIN 18
    #define Z_PROBE_PULLUP 1
    #define Z_PROBE_ON_HIGH 1
    #define Z_PROBE_X_OFFSET 20.5
    #define Z_PROBE_Y_OFFSET 2
    #define Z_PROBE_WAIT_BEFORE_TEST 0
    #define Z_PROBE_SPEED 2
    #define Z_PROBE_XY_SPEED 150
    #define Z_PROBE_SWITCHING_DISTANCE 2
    #define Z_PROBE_REPETITIONS 2
    #define Z_PROBE_HEIGHT 0.16
    #define Z_PROBE_START_SCRIPT "g28\nG1 Y10 F6000\nM340 P0 S570"
    #define Z_PROBE_FINISHED_SCRIPT "M340 P0 S1540"
    #define FEATURE_AUTOLEVEL 1
    #define Z_PROBE_X1 20
    #define Z_PROBE_Y1 10
    #define Z_PROBE_X2 160
    #define Z_PROBE_Y2 10
    #define Z_PROBE_X3 80
    #define Z_PROBE_Y3 160
    #define FEATURE_AXISCOMP 1
    #define AXISCOMP_TANXY 0
    #define AXISCOMP_TANYZ 0
    #define AXISCOMP_TANXZ 0

    I must be missing something,

    Please can anybody help me ?

    Regards,

    Frans

  • UPDATE

    Auto level works again !!

    I started again from a fresh install, and auto level work with Hardware Z min enabled. Is that OK ?

    Frans
Sign In or Register to comment.