The vertical alignment with the spindle implies that metal chips can accumulate to the surface of your workpiece and need to be cleared. Linear, rotary and angle encoders can be utilized with servo motors as well as other systems to attenuate faults by examining the machine is shifting as expected. https://felixxmvcg.onesmablog.com/the-basic-principles-of-advanced-cnc-machine-72592974