CNC Z probe

Hi !
I made a DIY CNC with Repetier firmware, all works well !
I would like to use a CNC Z probe like that : https://i.ebayimg.com/images/g/GOgAAOSwqfNXpGCN/s-l300.jpg
I have a Zmax endstop and when i put G28 Z, Z goes up like i want, it's ok
But what have i to set in the firmware and wich command have i to enter to have a single Z probe with XY current position ?
Thank you for your answer
Romain

Comments

  • I tried with this configuration :

    #define Z_PROBE_Z_OFFSET 0
    #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 1
    #define Z_PROBE_ON_HIGH 0
    #define Z_PROBE_X_OFFSET 0
    #define Z_PROBE_Y_OFFSET 0
    #define Z_PROBE_WAIT_BEFORE_TEST 0
    #define Z_PROBE_SPEED 2
    #define Z_PROBE_XY_SPEED 150
    #define Z_PROBE_SWITCHING_DISTANCE 1
    #define Z_PROBE_REPETITIONS 1
    #define Z_PROBE_HEIGHT 40
    #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 20
    #define FEATURE_AUTOLEVEL 0
    #define FEATURE_SOFTWARE_LEVELING 0

    When i enter G30, Z goes down, when i trigger Z probe, Z come back to the start position (before G30) and don't record the new Z 0 :(
    Please help me ;)

  • Hi !
    I'm still at the same point :(
    Does anyone could help me please ?
  • See repetier.ino file G30 - it allows to test for cnc by setting trigger height so you can set z based on material thinness you measure.
  • Thank you Repetier for the reply :)

    When i'm using G30, Z goes down, when i trigger Z probe, Z returns to the position he had before the G30, and when i start the job, the job starts at the current position, not where the Z probe was triggered.

    I would like that works like a G28 Z, i would like that when i trigger Z-probe, Z axis stay where Z-probe was triggered, i remove the Z-probe, i start the job, and the end mill goes at the real 0 Z with a Z offset set at the probe thikness.

    Is it possible ?

    Thank you :)

  • G30 measures and sets but doe snot change end position. But now 0 is defined and you can run
    G0 Z0 F200
    to go to the trigger position or which height you want. There are so many things you might want that you use R and H in G30 to define that and then move to where you want it.
  • Ok , thank you ;)
Sign In or Register to comment.