4-wire solenoid valve