This part is a kind of semiconductor called SS300-2.
Function of this product has (SS300-x) Silicon Photoelectric Control Sells.
Manufacturers : Silicon Sensors
Image and pinout :

Some of the text within the PDF file :
w w w .D at aS he et 4U .c om [ ... ]
SS300-2 PDF Datasheet Download
