In theory, dc generator and dc wound field motor are the same, however, run a gen as a motor with similar connections and it will run backwards.
There is no such thing as red and black in an auto generator. Connections are dynomo(D) and field(F) as in the diagram below.
Running a generator as a...