potato3732842 parent
You don't need a diagram when confronted with a necessarily reversible motor and a 2-pin connector....
Some have position sensors built in (so the computer knows where things are). But yes - if you only have 2 pins it's self-explanatory.