A solenoid valve includes a main valve unit including a spool for
switching a channel, and a solenoid operating unit for driving the spool,
the main valve unit includes manual buttons capable of manually switching
the spool, and a safety member movably disposed, and this safety member
can be moved between a locking position for locking the manual buttons in
an inoperative state by locking the safety member in the manual buttons
and an unlocking position for unlocking the lock by disengaging the
safety member from the manual buttons.