I thought that it was going to be straight forward, but it's not, at least not for me. Nothing is marked, everything is a spade connection, and there's multiple options depending on voltage, speed, reversing, etc.
If I had a wiring diagram, no problem.
However, without one and having no experience with these, I'm reduced to tracing everything back.
I just posted here, hoping that somebody either had first hand knowledge, or access to a wiring diagram.