Motion control...
Two general choices:
-
On/Off control with Feedback
e. g. motor & shaft encoder
Use digital output bit to turn motor off or on with a relay switch
Use a shaft encoder to count revolutions and read them with a digital input.
-
Direct control