makerbase-mks / MKS-DLC32-FIRMWARE

The source code of MKS DLC32
GNU General Public License v3.0
69 stars 50 forks source link

Where can I find more probe settings in the source code? #20

Open rigelinorion opened 1 year ago

rigelinorion commented 1 year ago

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.

rigelinorion commented 1 year ago

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.