The 3040 or 3020 CNC router is a popular Chinese machine used ... decent stepper motors and pretty good resolution? It’s not a bad deal for around $1000USD. We’ve covered it many times before.
In particularly bad cases, it’s even possible to for this ... a similar approach should work for most CNC mills. You’ll need an unused port for the limit switch (that you can access), but ...