You probably know, but 4 wires on a DC motor generally indicate that it is a series motor. The two at the end (away from the shaft) are probably the brush wires (A1, A2) and the ones more in the center are probably the field wires (S1, S2)
__________________
|