I had been trying to tweak this problem:
I use Repetier has a CNC machine, the X and Y axis are switched in the Min pins (they are adjustable since CNC jobs don't always start at the corners of the table), but the Z axis is done with an alligator at the router bit and a 2 mm steel plating, they make contact and a signal de-bouncer do the job great; The problem here is the 2mm gap that translates into a Gcode tweak i do every time while modeling, is there a config for it?
So far i had only tweaked:
//This is the back move the firmware does while probing the end stop switches (?)
#define ENDSTOP_X_BACK_MOVE 10
#define ENDSTOP_Y_BACK_MOVE 10
#define ENDSTOP_Z_BACK_MOVE 10
//This is the back move after the Min place has been calculated (?)
#define ENDSTOP_X_BACK_ON_HOME 0
#define ENDSTOP_Y_BACK_ON_HOME 0
#define ENDSTOP_Z_BACK_ON_HOME 0
Questions:
After the axis has been configured using the Min switch, the ENDSTOP_X_BACK_ON_HOME moves the actual home of that axis? in the software i mean.
Even if i tweak the 2mm gap due to the steel probe i get more than 2mm of real offset (5mm offset), where does those 3 mm come from?
Also even if i do those 5mm after hitting Start print i get another offset, lets say:
1)19mm material + 2mm steel probe = 21mm total.
2)All axis are homed and Z probe has a 2mm offset with the real material.
3)In software a starting depth of 2 mm is selected and a finish depth of 8.5 if selected (Since i only need 6.5mm of carving)
4) Print started but bit wont come close to the 19mm material and also a 5mm gap is always created betwheen the bit and the material even if the starting depth is changed in the software.
Also after a Kill print the Z axis goes up around 5mm when manual adjustment is done, creating more offset.
I Googled the config variables but no CNC based documentation is available, I'm stuck in a wall since only the Dev has G32 G33 capabilities :'(