A control unit of a motor driver performs feedback control to supply
current to a linear motor based on a detection value of a linear encoder.
An anomaly detection unit monitors the supply current to the linear
motor, and the anomaly detection unit detects anomaly of a linear motion
apparatus based on a waveform of the supply current. In the case where
the anomaly is detected, a user is notified of warning by means of a
lamp, a buzzer, an e-mail, and the like. Therefore, the anomaly of the
linear motion apparatus can be detected early and accurately.