comment fonctionne le commutateur bidirectionnel