6.5 Switches & Photoelectric Sensors

Key Takeaways

  • Identify NO and NC against the reference position defined by the device documentation.

  • Compare increasing actuation pressure with decreasing reset pressure when checking deadband.

  • Opposed, retroreflective and diffuse sensors use different paths for the received light.

  • Select light or dark operation and confirm electrical output compatibility with the receiving circuit.

Last updated: November 2026

Trace the switching element and its circuit

NCCER module 12209 covers switches and photoelectric devices used in instrumentation. A switch converts a condition to a discrete electrical state. A mechanical limit switch can change contacts when a cam moves its actuator. A pressure switch responds to applied pressure or differential pressure. A photoelectric sensor uses a change in light received by its detector. The controller sees an input circuit state, which depends on the wiring, contact position or electronic output and its supply.

On a typical single-pole double-throw (SPDT) mechanical switch, common transfers between two throws. With the mechanism unactuated, common and normally closed (NC) have continuity, and common and normally open (NO) are open. When fully actuated, the stated transfer contact connects common to NO and opens the NC path. Confirm the device diagram’s reference state for a pressure, float or motion switch. A valve in the plant’s usual operating position may already be holding a limit switch in its actuated state. The PLC bit is another step in the path. It depends on the actual contact selected, power and wiring. See Omron’s switch terminal reference and Ashcroft’s switch selection guide.

Worked pressure switch example

A high-pressure SPDT switch operates as pressure rises through 60 psig and resets as pressure falls through 57 psig. Its differential on that test is 3 psi. At 58 psig, it remains unactuated if pressure rose from below 57 without reaching 60. It remains actuated if pressure fell from above 60 without reaching 57. In an authorized, isolated setup, use a reference gauge and observe the contact while approaching from each direction. Compare both results with the drawings and the switch tolerance. Equipment instructions may identify fixed or adjustable deadband and particular adjustment sequences. See Ashcroft’s pressure-switch manual.

For a pressure or limit switch, match process and environmental ratings, needed reset behavior, contact rating and actuator range. A circuit intended to indicate loss of continuity can move to an off indication when a conductor opens. The same state can have several causes. Verify the specific failure behavior, and separately satisfy the safety design for a protective function.

Follow the light path

Sensing modeLight that normally reaches the detectorCommon application and check
Opposed or through-beamAn emitter across the path shines directly on a separate receiver. A target interrupts the beam.Confirm alignment and attachment on both sides of the path.
RetroreflectiveEmitter and receiver share a housing, and a reflector opposite them returns the beam. A target interrupts the return.Check reflector type and alignment. Use a supported model for shiny or transparent targets.
DiffuseThe emitter and receiver share a housing. The target surface reflects light back to the receiver.Check surface reflectance, distance, angle and any background return.

With light operate, the relevant output actuates when the sensor receives enough light. With dark operate, it actuates when the beam is blocked or received light is below the device’s switching threshold. In an opposed installation, a cart blocks the light between the emitter and receiver. A dark-operate output configured for that sensing mode turns on while the cart blocks the beam. With the stated diffuse arrangement, an object that reflects enough light can turn on a light-operate output. Banner’s photoelectric guidance describes the optical modes, and its light/dark selection guide shows the output relationships.

Verify the path to the controller

Compare emitter and receiver indicators with the expected optical state. Check alignment, dirty lenses and reflectors, installation geometry, background and ambient conditions if the output flickers. For a sensor that indicates reliable detection but produces no PLC transition, check the wiring drawing, output polarity and input common before changing optics. A PNP sourcing output and an NPN sinking output need compatible inputs. Product supply range, load, pinout and response time are specific to the model. The Banner D11E diagrams illustrate how PNP and NPN outputs connect to different sides of their load.

Record reference and actuated states with the actual equipment. A switch LED, terminal measurement and raw PLC bit are three observations along one signal path. Following them in order shows where the expected state stopped propagating.

Test Your Knowledge

In the worked pressure switch, pressure first rises to 62 psig and then falls to 58 psig. What is the switch state at 58 psig?

A

Unactuated, because the pressure is below 60 psig.

B

Actuated, because the switch has not yet reached its 57 psig reset.

C

Unactuated, because the reset pressure is 60 psig.

D

Indeterminate even with the stated direction and thresholds.

Test Your Knowledge

A dark-operate receiver in an opposed photoelectric installation sees a clear beam until a box blocks it. What happens at the receiver output when the box blocks the beam?

A

It actuates when the received light drops below the switching threshold.

B

It actuates only when the box reflects light toward the receiver.

C

It stays inactive because dark-operate requires a diffuse sensor.

D

The opposing emitter turns into a second output terminal.

Test Your Knowledge

A photoelectric sensor indicator changes on each detection, but the PLC input does not. What check directly addresses the downstream signal path?

A

Replace the reflector with any larger model.

B

Change the object color.

C

Swap light and dark mode until the controller bit changes.

D

Verify the output’s voltage and polarity, module common, input indication and mapped PLC tag.

Sections you finish are checked off in the contents.