photocell sensor connection with magnetic contactor