Patent ID: 10090789

Abstract:
To provide a motor control device capable of causing a motor to rotate in any rotation direction, even when leaving the connection state of the motor of a machine tool as standard. A motor control device (10) includes: a coordinate converter (36) as a voltage command output unit that outputs voltage command data instructing a voltage to be applied to a motor (14) based on an external instruction; a voltage command data interchanging unit (38) that outputs by interchanging or not interchanging the voltage command data, based on a setting for interchanging of a phase rotation of the voltage command data; a PWM output unit (40) as an amplifier that drives the motor (14) based on the voltage command data outputted by the voltage command data interchanging unit (38); a current detection unit (42) that detects the electric current flowing through the motor (14) and outputs current feedback data; and a current feedback data interchanging unit (44) that outputs by interchanging or not interchanging the current feedback data based on a setting for interchanging.