Loopback control of three stepper motors