SW input controlled by a relayswitch