接近开关能否直接使用交流电和灯泡串联在一起,以起到门控开关电源的作用。例如,柜门上有一金属片与接近开关相对,柜门打开时,金属片离开接近开关,接近开关处于常闭状态,则灯亮。柜门关闭时,金属片靠近接近开关,则接近开关处理常开状态,灯灭。Proximity switches can be used directly in series with the AC and bulbs, in order to play the role of switching power gating. For example, the door has a metal plate and the relative proximity switches, doors open, leaving metal proximity switches, proximity switch is normally closed, the lights. The door is closed, the metal sheet close proximity switch, proximity switch processing normally open, lights out.