The wires work in pairs, orientation doesn't matter, so long as they are next to each other.
Switching any will result in a direction change on the motor.
So if you flip the whole connector it will reverse, as will just swapping the twos.
So:
B- to pin 2a
B to pin 2b
A to pin 1a
A- to pin 1b
but it can also be
B to pin 2a
B- to pin 2b
A- to pin 1a
A to pin 1b
or even
B to pin 1a
B- to pin 1b
A- to pin 2a
A to pin 2b
or
B- to pin 1a
B to pin 1b
A to pin 2a
A- to pin 2b
Edited 3 time(s). Last edit at 08/09/2014 08:10PM by sheepdog43.