摘要 |
A motor controller includes: a motor rotation angle acquisition unit acquiring the rotation angle of the motor; a main shaft rotation angle acquisition unit acquiring the rotation angle of the main shaft; a one-rotation signal acquisition unit acquiring a one-rotation signal output every time the main shaft rotates once; a motor rotation speed calculation unit calculating the rotation speed of the motor from the rotation angle of the motor; a main shaft speed calculation unit calculating the rotation speed of the main shaft from the rotation angle of the main shaft; and an abnormality determination unit in which, when a change amount of the rotation angle of the motor or when the difference between the rotation speed of the motor and the rotation speed of the main shaft deviates from a second range, it is determined that an abnormality has occurred in the power transmission unit. |