This gets a little trickier with some motor types, for example those that have encoder outputs which won’t do anything to drive the motor. Others have a case ground wire. Steppers have either ...