ZerOneTech BD.
Omron Photoelectric Sensor E3S-GS3E4
Brown: 12 to 24V DC
Blue:0V
Black: Output
Watch this video it will give you a clear idea about this product.