could not activate Z probe error

edited January 2018 in Repetier-Firmware
i finally finished my new printer ready to go but I'm getting an error when bed leveling starts

could not activate Z probe offset due to coordinates constraints result is inaccurate

config as below


// #################### Z-Probing #####################
#define Z_PROBE_Z_OFFSET 0
#define Z_PROBE_Z_OFFSET_MODE 1
#define UI_BED_COATING 0
#define FEATURE_Z_PROBE 1
#define EXTRUDER_IS_Z_PROBE 0
#define Z_PROBE_DISABLE_HEATERS 0
#define Z_PROBE_BED_DISTANCE 10
#define Z_PROBE_PIN ORIG_Z_MIN_PIN
#define Z_PROBE_PULLUP 0
#define Z_PROBE_ON_HIGH 0
#define Z_PROBE_X_OFFSET 35
#define Z_PROBE_Y_OFFSET 5
#define Z_PROBE_WAIT_BEFORE_TEST 0
#define Z_PROBE_SPEED 2
#define Z_PROBE_XY_SPEED 150
#define Z_PROBE_SWITCHING_DISTANCE 10
#define Z_PROBE_REPETITIONS 1
#define Z_PROBE_HEIGHT 0
#define Z_PROBE_DELAY 0
#define Z_PROBE_START_SCRIPT ""
#define Z_PROBE_FINISHED_SCRIPT ""
#define Z_PROBE_RUN_AFTER_EVERY_PROBE ""
#define Z_PROBE_REQUIRES_HEATING 0
#define Z_PROBE_MIN_TEMPERATURE 150
#define FEATURE_AUTOLEVEL 1
#define FEATURE_SOFTWARE_LEVELING 0
#define Z_PROBE_X1 20
#define Z_PROBE_Y1 20
#define Z_PROBE_X2 200
#define Z_PROBE_Y2 20
#define Z_PROBE_X3 20
#define Z_PROBE_Y3 190
#define BED_LEVELING_METHOD 0
#define BED_CORRECTION_METHOD 0
#define BED_LEVELING_GRID_SIZE 5
#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 0
#define AXISCOMP_TANXY 0
#define AXISCOMP_TANYZ 0
#define AXISCOMP_TANXZ 0
#ifndef SDSUPPORT  // Some boards have sd support on board. These define the values already in pins.h
#define SDSUPPORT 0
#undef SDCARDDETECT
#define SDCARDDETECT -1
#define SDCARDDETECTINVERTED 0
#endif
#define SD_EXTENDED_DIR 1 /** Show extended directory including file length. Don't use this with Pronterface! */
#define SD_RUN_ON_STOP ""
#define SD_STOP_HEATER_AND_MOTORS_ON_STOP 1
#define ARC_SUPPORT 1
#define FEATURE_MEMORY_POSITION 1
#define FEATURE_CHECKSUM_FORCED 0
#define FEATURE_FAN_CONTROL 1
#define FEATURE_FAN2_CONTROL 0
#define FEATURE_CONTROLLER 2
#define ADC_KEYPAD_PIN -1
#define LANGUAGE_EN_ACTIVE 1
#define LANGUAGE_DE_ACTIVE 0
#define LANGUAGE_NL_ACTIVE 0
#define LANGUAGE_PT_ACTIVE 0
#define LANGUAGE_IT_ACTIVE 0
#define LANGUAGE_ES_ACTIVE 0
#define LANGUAGE_FI_ACTIVE 0
#define LANGUAGE_SE_ACTIVE 0
#define LANGUAGE_FR_ACTIVE 0
#define LANGUAGE_CZ_ACTIVE 0
#define LANGUAGE_PL_ACTIVE 0
#define LANGUAGE_TR_ACTIVE 0
#define UI_PRINTER_NAME "RepRap"
#define UI_PRINTER_COMPANY "Home made"
#define UI_PAGES_DURATION 4000
#define UI_SPEEDDEPENDENT_POSITIONING 1
#define UI_DISABLE_AUTO_PAGESWITCH 1
#define UI_AUTORETURN_TO_MENU_AFTER 20000
#define FEATURE_UI_KEYS 0
#define UI_ENCODER_SPEED 1
#define UI_REVERSE_ENCODER 0
#define UI_KEY_BOUNCETIME 10
#define UI_KEY_FIRST_REPEAT 500
#define UI_KEY_REDUCE_REPEAT 50
#define UI_KEY_MIN_REPEAT 50
#define FEATURE_BEEPER 0
#define CASE_LIGHTS_PIN 11
#define CASE_LIGHT_DEFAULT_ON 1
#define UI_START_SCREEN_DELAY 1000
#define UI_DYNAMIC_ENCODER_SPEED 1


Comments

  • Depends on which action it hapens - homing, G32 or G33. The used coordinates are not allowed with active t probe offset so you need to modify that position to lie inside allowed area.
  • G21        ;metric values
    G90        ;absolute positioning
    M82        ;set extruder to absolute mode
    M107       ;start with the fan off
    G90 ; use absolute coordinates
    G28  ;move X/Y to min endstops
    G32 S2
    M82 ; use absolute distances for extrusion


    my bed is X = 275  and Y = 200 so its longest side is the X axis

    my config is attached in a zip file

  • edited January 2018
    #define Z_PROBE_X_OFFSET 35
    #define Z_PROBE_Y_OFFSET 5

    #define Z_PROBE_X1 20
    #define Z_PROBE_Y1 20
    #define Z_PROBE_X2 200
    #define Z_PROBE_Y2 20
    #define Z_PROBE_X3 20
    #define Z_PROBE_Y3 190

    from your config above, your probe is offset X 35 to the right of the nozzle and Y 5 behind the nozzle.

    So your minimum value for probe point X1 will be at least 35(i would go with 45)
    X2 can be upto 275 so maybe 265 
    The other values should be ok.

  • edited January 2018
    sorry for the delay in replying i was waiting for new materials for the new build but i am still getting the error
    i have attached the latest config i set it as 45 as told but still the same error

    #define Z_PROBE_X_OFFSET 35
    #define Z_PROBE_Y_OFFSET 10

    #define Z_PROBE_X1 45
    #define Z_PROBE_Y1 10
    #define Z_PROBE_X2 265
    #define Z_PROBE_Y2 10
    #define Z_PROBE_X3 45
    #define Z_PROBE_Y3 190


  • edited January 2018
    dmkmedia said:
    sorry for the delay in replying i was waiting for new materials for the new build but i am still getting the error
    i have attached the latest config i set it as 45 as told but still the same error

    #define Z_PROBE_X_OFFSET 35
    #define Z_PROBE_Y_OFFSET 10

    #define Z_PROBE_X1 45
    #define Z_PROBE_Y1 10
    #define Z_PROBE_X2 265
    #define Z_PROBE_Y2 10
    #define Z_PROBE_X3 45
    #define Z_PROBE_Y3 190



    update i see this in the logs 
    17:24:10.666 : Error:Activating z-probe would lead to forbidden xy position: -35.000000, 45.00
  • edited January 2018
    If you changed the settings in the config.h  you will need to update the eeprom with a
    M502 ;read config
    M500 ;save to eeprom


    or just change the eeprom values using repetier host eeprom editor
Sign In or Register to comment.