Omron F3S-TGR-NBPC-21-M1J8 – Non-contact door switch
Non-contact door switch, coded, barrel plastic M30, 2NC+1NO, M12 connector pigtail.
Need help confirming compatibility?