I have build a cnc machine and I'm controlling it using the Arduino uno and universal gcode sender. At least, I'm trying to control it. I'm trying to figure out how to set steps per mm and UGCS is not behaving like expected. I use standard 200 step/ revolution stepper motors and 1605 ball screws. My controllers are set for whole steps (no microstepping.) My screws have a 5mm pitch, so each full rotation advances the nuts 5mm. so 200 steps/ 5mm. For 1 mm, that would be 200/5=40 steps. When I input this on UGCS using the command "$100=40" (for x), all it seems to do is increase and decrease speed of the motors (with increasing or decreasing values). When I want to jog the x-axis by 1mm, it's closer to 200mm. Am I using the wrong calculations?