Cant get the Z Axis cut depth to match programmed depth with tbd cnc screw drive

You need to try $102=51.500 or 51.554, or 51.555, etc. Remember you have UP TO 3 decimal places the fudge with to get closer to the cutting depth you need.

Also. You need to check how you are setting the Z height. After each test you need to set the Z zero height. If using a probe method check the probe thickness is correct. then set the Z zero height again.