The motor is a 2-wire device. All it cares about is the voltage across its line leads.