Control box for two sets of photo eyes, including power supply