Possibly a current operated reed relay. Also could be a SSR or Hall device.
Potted module.
Strange in that the two inputs seem much higher current than the three outputs?
Part number is 7ES11-3
1978 build date.Need specs or a data sheet link. Any info?