Yours is more of an industrial problem as opposed to CNC, so this might be a good starting point
https://www.machinedesign.com/motors...-linear-motion
Don't forget to allow for acceleration and deceleration in your application. it doe snot just happen.