Based on an ML7 but still relevant reading

Myford ML-7 lathe CNC conversion - Part 1: Leadscrew