SMS: DSP-Based electromechanical motion control