Hi there,
I’m in the process of setting up the Z probe on my MPCNC with a ramps configuration, and I want to add it directly to the custom menu. I’ve connected the probe to the Z minus on the ramps and made the following changes to “configuration_adv.h”: #define MAIN_MENU_ITEM_2_DESC “Home Z Axis” // "Preheat for " PREHEAT_1_LABEL #define MAIN_MENU_ITEM_2_GCODE “G28 Z\nG92 Z19\nG0 Z5 F480” // offset z probe 19.0 mm
//#define MAIN_MENU_ITEM_2_CONFIRM
The probe makes contact twice, but then it moves down further. Can you help me figure out what I might be doing wrong?
The only other change I made was to uncomment the #define REVERSE_ENCODER_DIRECTION line in “configuration.h” so that the knob rotation displays correctly on my screen.
you fixed the offset used to set the zero but then tell it to go to Z5. This works when your probe is less than 5mm thick but since yours is 19mm it tries to go down after probing. So change G0 Z5 F480 to something like G0 Z25 F480.
Thank you, David! You’ve really helped me out. The z-homing is now working flawlessly, and I can’t express how satisfying that is for me.
I believe this information could be beneficial for other beginners like myself. @jeffeb3 , it would be great if you could add it to the milling basics page. Thanks again!
I’m happy this helped! I’d love to say that it was because I have a deep intuitive understanding of gcode…but it’s because I did the exact same thing as you earlier this week haha
There is something one of my gaming mates once said : “Skill is when being lucky becomes the custom.” (He actually said: “Skill ist, wenn Luck zur Gewohnheit wird.”, but that’s “Gamer German” and you are not ready for that lesson. )