To provide a control device for a sewing machine, by which appropriateness of a solenoid equipped on a sewing machine can be judged.
The control device 100 for a sewing machine switches on/off of power supplied for a presser lifting solenoid 6a for actuating a presser foot 6 from a drive power source to continuously or intermittently energize the solenoid 6a. The control device 100 for a sewing machine detects a current value flowing to the solenoid 6a when the presser foot 6 is actuated and judges the current value respectively detected in continuous energizing and intermittent energizing is whether or not within a predetermined appropriate range respectively set corresponding to continuous energizing or intermittent energizing, When a current value detected in at least one of continuous energizing or intermittent energizing, the solenoid 6a is regarded as not appropriate and power supply for the solenoid 6a is stopped.
Yoshio Arafune