Hello. I've been struggling with the probe setup for a few hours now. I know that I can set the offset using gcode, but it would be more convenient for me to set it using the source code. My probe has a height of 10mm, after making the probe the machine is set to a height of 20mm from the material. Using 19mm courts, the machine also sets itself to 20mm after the test, even though it is actually set at 39mm from the material. It turns out that the height of the probe and the distance of the reflection are fixed in the code. I was looking for constants, variables that store this offset and distance of departure from the probe after the test. Without result. Maybe one of you would have an idea.
Well, I found it. In the MKS_draw_move.cpp module. I didn't expect it to be written in such a crude way. The code is terribly messy. It would be good to sort it out and then publish it.
Hello. I've been struggling with the probe setup for a few hours now. I know that I can set the offset using gcode, but it would be more convenient for me to set it using the source code. My probe has a height of 10mm, after making the probe the machine is set to a height of 20mm from the material. Using 19mm courts, the machine also sets itself to 20mm after the test, even though it is actually set at 39mm from the material. It turns out that the height of the probe and the distance of the reflection are fixed in the code. I was looking for constants, variables that store this offset and distance of departure from the probe after the test. Without result. Maybe one of you would have an idea.