BL touch doen't stop (RAMPs 1.6)

Hi guys !

 

I need your help today about mu BL touch configuration. I watched and read a lot of tutorial about it, but I can’t find the solution for my problem.

When I’m using it, the BL touch can be triggered but won’t stop the Z axis movement, so it can crash into the bed. I have tried a lot of things, but as I’m not good at programming you might see something I didn’t see.

So first, I am using a BL touch, a RAMPs 1.6 and Repetier (and I only used the Repetier Firmware tool)

The BL touch is connected on the Zmin (black and white wires) and on the digital pin 11 and on the 5V and GND of AUX-1 (the one on the SERVOS don’t work because my VCC - 5V doesn’t work, it turns the RAMPs off)

When I turn on the printer the BL touch is running (going up, down then up) and stay like this waiting for instructions.

When I use the command:

-          Probe start script : M340 P0 S700

-          Probe finished script M340 P0 S700

Everything work, the probe goes up or down, depending on the command.

But when I want to use G28 or G29 or just going down controlling directly Z axis, and then the BL touch touch the bed, the probe is triggered but doesn’t stop the movement.

Can someone help me please? I really don’t know what to do.

Here is the configuration:



Comments

  • edited March 2021
    // #################### Z-Probing #####################

    #define Z_PROBE_Z_OFFSET 3
    #define Z_PROBE_Z_OFFSET_MODE 0
    #define UI_BED_COATING 1
    #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 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 150
    #define Z_PROBE_SWITCHING_DISTANCE 4
    #define Z_PROBE_REPETITIONS 2
    #define Z_PROBE_USE_MEDIAN 0
    #define Z_PROBE_HEIGHT 2
    #define Z_PROBE_DELAY 0
    #define Z_PROBE_START_SCRIPT "M340 P0 S700"
    #define Z_PROBE_FINISHED_SCRIPT "M340 P0 S1500"
    #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 280
    #define Z_PROBE_Y1 65
    #define Z_PROBE_X2 280
    #define Z_PROBE_Y2 285
    #define Z_PROBE_X3 20
    #define Z_PROBE_Y3 65
    #define BED_LEVELING_METHOD 1
    #define BED_CORRECTION_METHOD 0
    #define BED_LEVELING_GRID_SIZE 4
    #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 1
    #undef SDCARDDETECT
    #define SDCARDDETECT -1
    #undef SDCARDDETECTINVERTED
    #define SDCARDDETECTINVERTED 0
    #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 11
    #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 1
    #define LANGUAGE_CZ_ACTIVE 0
    #define LANGUAGE_PL_ACTIVE 0
    #define LANGUAGE_TR_ACTIVE 0
    #define LANGUAGE_RU_ACTIVE 0
    #define UI_PRINTER_NAME "Galney Printer"
    #define UI_PRINTER_COMPANY "Home made"
    #define UI_PAGES_DURATION 4000
    #define UI_SPEEDDEPENDENT_POSITIONING 0
    #define UI_DISABLE_AUTO_PAGESWITCH 1
    #define UI_AUTORETURN_TO_MENU_AFTER 30000
    #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 -1
    #define CASE_LIGHT_DEFAULT_ON 1
    #define UI_START_SCREEN_DELAY 1000
    #define UI_DYNAMIC_ENCODER_SPEED 1
            /**
    Beeper sound definitions for short beeps during key actions
    and longer beeps for important actions.
    Parameter is delay in microseconds and the secons is the number of repetitions.
    Values must be in range 1..255
    */
    #define BEEPER_SHORT_SEQUENCE 2,2
    #define BEEPER_LONG_SEQUENCE 8,8
    #define UI_SET_MIN_HEATED_BED_TEMP  30
    #define UI_SET_MAX_HEATED_BED_TEMP 120
    #define UI_SET_MIN_EXTRUDER_TEMP   170
    #define UI_SET_MAX_EXTRUDER_TEMP   260
    #define UI_SET_EXTRUDER_FEEDRATE 2
    #define UI_SET_EXTRUDER_RETRACT_DISTANCE 3


    #define NUM_MOTOR_DRIVERS 0




    /* Below you will find the configuration string, that created this Configuration.h

  •  Z min pin must be also set to same pin a z probe.
    Homing settings should include temperature (which you set 0) so you can define a probing position. Select on like 100, 100 so you have no problems activating probe.
    You should raise z before z homing so bl touch is not triggered on activation. Then it goes in alarm mode and you get problems.
    Z_PROBE_REPETITIONS 2
    should be 1
    bltouch does not need more and repeating is difficult here.
    M119 should show z probe low.
    #define Z_PROBE_Z_OFFSET 0
    #define Z_PROBE_Z_OFFSET_MODE 0
    #define UI_BED_COATING 0
    Just don't start with coating when there is no need to. You already measure surface and that is what you need.


    Test if G30 works. Then you can try homing z. With explained settings it should work.
Sign In or Register to comment.