Z probing, Homing ok, Not editing Transformation Matrix, Marlin to Repetier

Attempting to switch from Marlin firmware to Repetier, but having some difficulties with the auto leveling.  My physical printer setup is a Cartesian printer with x min y min and Z min (inductive sensor by dual nozzle carriage).

When printer homes X first, Y second, and then Z.  Printer goes to certain z point and lowers an additional fraction which is just enough clearance for a piece of paper to slide underneath (I have successfully adjusted Z Probe Height for this).  I do have a side question regarding the distance it backs off the x and y endstops, can this be configured as in marlin it would go to the endstop and rest on them until homing was complete?

After I run a G32 S2 command, printer moves in x and y, does not physically appear to move up and down in z or at least as slow as it did in marlin and I receive the following results in the log...

16:19:37.033 : Error:Z-probe failed
16:19:39.682 : Error:Z-probe failed
16:19:42.863 : Error:Z-probe failed
16:19:42.871 : Transformation matrix: 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000

Is this a speed issue? Inverse direction (can't imagine so as I have played some with those parameters)?  I have set ALWAYS_CHECK_ENDSTOPS to false (0) and then Y does not home properly as it goes to the end stop, triggers, backs off, and then proceeds to try and ram through the endstop.  If anyone would be so kind to take a look at what I believe to be the relevant configuration parameters it would be much appreciated.  In addition the Bed Height Map will only work for Z max probing?  Repetier appears to be favorable to marlin as far as starting to use my second extruder being that Repetier has multiple parameters in eeprom.

THANK YOU FOR YOUR TIME AND EFFORTS!!!!!!!!!!

// ################ 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 false
#define ENDSTOP_Z_MIN_INVERTING false
#define MIN_HARDWARE_ENDSTOP_Z true///
#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 false
#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 true
#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 0
#define ALWAYS_CHECK_ENDSTOPS 1

// ################# XYZ movements ###################

#define X_ENABLE_ON 0
#define Y_ENABLE_ON 0
#define Z_ENABLE_ON 0
#define DISABLE_X 0
#define DISABLE_Y 0
#define DISABLE_Z 0
#define DISABLE_E 0
#define INVERT_X_DIR 0
#define INVERT_Y_DIR 1
#define INVERT_Z_DIR 1
#define X_HOME_DIR -1
#define Y_HOME_DIR -1
#define Z_HOME_DIR -1
#define X_MAX_LENGTH 200
#define Y_MAX_LENGTH 180
#define Z_MAX_LENGTH 160
#define X_MIN_POS 0
#define Y_MIN_POS 0
#define Z_MIN_POS 0
#define DISTORTION_CORRECTION 0
#define DISTORTION_CORRECTION_POINTS 5
#define DISTORTION_CORRECTION_R 100
#define DISTORTION_PERMANENT 1
#define DISTORTION_UPDATE_FREQUENCY 15
#define DISTORTION_START_DEGRADE 0.5
#define DISTORTION_END_HEIGHT 1
#define DISTORTION_EXTRAPOLATE_CORNERS 0

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

#define Z_PROBE_Z_OFFSET 0
#define Z_PROBE_Z_OFFSET_MODE 0
#define UI_BED_COATING 1
#define FEATURE_Z_PROBE 1
#define Z_PROBE_BED_DISTANCE 5
#define Z_PROBE_PIN ORIG_Z_MIN_PIN
#define Z_PROBE_PULLUP 0
#define Z_PROBE_ON_HIGH 0
#define Z_PROBE_X_OFFSET 0
#define Z_PROBE_Y_OFFSET 20
#define Z_PROBE_WAIT_BEFORE_TEST 0
#define Z_PROBE_SPEED 0.5
#define Z_PROBE_XY_SPEED 50
#define Z_PROBE_SWITCHING_DISTANCE 1
#define Z_PROBE_REPETITIONS 2
#define Z_PROBE_HEIGHT 1.2
#define Z_PROBE_START_SCRIPT ""
#define Z_PROBE_FINISHED_SCRIPT ""
#define FEATURE_AUTOLEVEL 1
#define Z_PROBE_X1 25
#define Z_PROBE_Y1 25
#define Z_PROBE_X2 150
#define Z_PROBE_Y2 25
#define Z_PROBE_X3 80
#define Z_PROBE_Y3 160
#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

Comments

  • Please check G31 before probing. If the signal is high before you start probing it will fail just because it thinks probe is triggered. Invert the signal if he is wrong or add pullup for mechanical endstop.
  • THANK YOU REPETIER!!!

    My solution appears to have been setting Z_PROBE_ON_HIGH to 1 or true.


    Thanks so much!!!
Sign In or Register to comment.