That really depends on if it is digital or a relay out.
If it is a relay out, then you can use your 12V power supply as the common for that section of outputs. If your output is a digital output, then you will want to use an interposing relay to turn on this motor.
You really don't want to run an inductive load from a PLC digital output.