You cant just hook any motor to any motor controller. It has to be in spec for the motor.
Unless the motor has the same specs you will run into problems.
If the motor is DC
White wire is Pos ( A+ )
Black is Neg (A- )
Green Grounds out to the metal.
If the motor is AC
Black is the Hot wire.