摘要 |
[Problem] To allow a substrate to be rigidly fixed to a housing and to allow the same to be easily removed from the housing. [Solution] A motor control device (100) for controlling a motor comprises: a box-shaped housing (1) which has an aperture portion (1a); a printed circuit board (3) which is removably inserted in the housing (1) by way of the aperture portion (1a) and which is provided with an engagement receiving portion (11) on one of the side surfaces in the insertion/removal direction; and an engaging member (21) which is provided on a rear wall portion (1d) of the housing (1) on one side thereof in the insertion/ removal direction and which is configured to engage with the engagement receiving portion (11) of the inserted printed circuit board (3) to restrict movement of the printed circuit board (3) in the insertion/removal direction, and to release the engagement when being manipulated from the outside of the housing (1) toward the other side in the insertion/removal direction. |