Quick Answer

Choose NO when the machine should act on the presence of a part (counting, positioning, "part in place"). Choose NC when the machine should act on the absence of a condition and a cut wire or lost supply must be noticed (overtravel limits, "guard closed", low-level dry-run alarms). The sensing element is the same; only the output logic at rest is inverted.

What do normally open and normally closed mean on a sensor?

The terms come from mechanical contacts. A normally open contact is open (no current flows) until the switch is actuated; a normally closed contact is closed (current flows) until it is actuated. "Normally" always refers to the shelf state of the device — no target, no pressure, no float lift — and not to the state the machine usually runs in. A pressure switch on a line that is always pressurised still has its NO contact named for the unpressurised state.

Electronic sensors such as inductive proximity sensors have no moving contact. Their output transistor plays the same role: in an NO sensor the transistor is off at rest and conducts when the target arrives; in an NC sensor it conducts at rest and turns off when the target arrives. Because a transistor is not a perfect open circuit, a small off-state leakage current flows; the value for each part number is on its datasheet.

Normally open and normally closed sensor outputs with and without a target Top row: a sensor with no target. The NO output is off and the load lamp is dark; the NC output is on and the lamp is lit. Bottom row: a steel target in front of the sensor. The NO output switches on and the lamp lights; the NC output switches off and the lamp goes dark. A timing trace at the bottom shows the NO output high only while the target is present and the NC output as the exact inverse. 1. No target (unactuated = "normal" state) sensor NO outputOFF · 0 V lamp dark NC outputON · +24 V lamp lit 2. Target present (actuated) sensor target NO outputON · +24 V lamp lit NC outputOFF · 0 V lamp dark 3. Output over time (PNP output shown) target NO NC target in range
Illustration: the same sensing element with an NO and an NC output. The NC signal is the logical inverse of the NO signal. Drawn by SEGMENsensor, not to scale.

NO vs NC sensor: comparison table

Normally open compared with normally closed sensor outputs
Normally open (NO)Normally closed (NC)
Output with no targetOFF (open)ON (closed)
Output with targetON (closed)OFF (open)
PLC input with no target0 (FALSE)1 (TRUE)
Signal wire cut or connector pulledReads as "no target" — the fault is hiddenReads as "target present" — the fault is visible
Sensor supply lostReads as "no target"Reads as "target present"
Typical usesPart present, counting, end-of-stroke position, "start" conditionsOvertravel limit, guard or door closed monitoring, low-level dry-run cut-off, "permit to run" chains
Photoelectric equivalentLight-on or dark-on, depending on the beam arrangementThe opposite mode
SEGMENsensor SGI-GP codeNA (NPN NO) · PA (PNP NO) · DA (DC 2-wire NO)NB (NPN NC) · PB (PNP NC) · DB (DC 2-wire NC)

Source for the codes: the SEGMENsensor part-number rules used on the proximity sensor part number lookup. The SGI-GP series also offers a 4-wire NO + NC output (code NC = NPN, PC = PNP), for example SGI-GP08S-010NC-C2 for an M8 flush, 1 mm NPN sensor with both outputs.

Why is normally closed called fail-safe?

Because every common wiring fault drives an NC circuit to its "tripped" state. A cut cable, a loose terminal, a pulled connector or a blown supply fuse all stop the current, which the controller reads exactly as if the sensor had detected its target. With an NO sensor the same faults look like "nothing detected", so a failed overtravel sensor would let an axis run past its limit without any warning.

This closed-circuit idea — the safe state is the de-energised state — is a basic principle in machinery safety standards such as IEC 60204-1 (electrical equipment of machines) and the ISO 13849-1 design principles for safety-related control parts. Note the limit: an NC output on a standard proximity sensor improves fault visibility, but it does not make the sensor a safety component. Personnel protection functions need devices designed and rated for that safety function.

NO and NC in PLC ladder logic

Do not confuse the sensor contact with the ladder instruction. An NO sensor wired to an input is usually read with an examine-if-closed (XIC, "normally open") instruction, so the rung is true when the part is present. An NC sensor gives a TRUE input at rest, so "target reached" is programmed with an examine-if-open (XIO, "normally closed") instruction. You can invert an NO signal in software, but the program then cannot tell a broken wire from "no target"; only the NC hardware output gives that information.

How do you choose between an NO and an NC sensor?

Ask what the controller must do when the signal disappears for any reason. Then work through these steps:

  1. Define the event. Is the machine waiting for something to arrive (use NO) or watching for something to leave or a limit to be reached (consider NC)?
  2. Check the consequence of a wire break. If an undetected break could cause a crash, overflow or dry-running pump, choose NC.
  3. Match the PLC input type. NO or NC is independent of NPN or PNP: a PNP NC sensor still needs a sourcing input. See NPN vs PNP proximity sensor wiring.
  4. Consider both outputs. A 4-wire NO + NC sensor lets the PLC compare the two signals; if both read the same, the sensor or wiring has failed.
  5. Write the contact into the part number. State NO or NC on the purchase order so the label, datasheet and spare parts all match.
SEGMENsensor M12 inductive proximity sensor; the output code on its label shows whether it is NO or NC
M12 inductive proximity sensor. NO and NC versions look identical; only the label code tells them apart.

Do float switches, pressure switches and photoelectric sensors use NO and NC too?

Yes, but each defines its rest state differently, so read the rest condition before choosing a contact:

  • Float level switches — rest is "float down" (low level). SEGMENsensor float level switches use an SPDT reed contact with three terminals (common, NO, NC), so one switch can be wired either way; with the float down, C–NC is closed. See the float level switch selection guide.
  • Pressure switches — rest is "below set point". The SYK102 mechanical pressure switch adjusts from 0.5 to 8.5 bar and has an SPDT contact rated 16 A / 250 V AC; compare it with a transmitter in pressure switch vs pressure transmitter.
  • Photoelectric sensors — use "light-on" (output on when the receiver sees light) and "dark-on" (output on when the beam is blocked) instead of NO and NC. Which one behaves like NO depends on the mode: on a through-beam pair, dark-on switches on when a part breaks the beam. See photoelectric sensors.
SEGMENsensor cylindrical diffuse photoelectric sensor, ordered as light-on or dark-on
Cylindrical diffuse photoelectric sensor: light-on and dark-on are the optical equivalents of NO and NC.

How do you test whether a sensor is NO or NC?

Power the sensor at its rated voltage (10–30 V DC for SGI-GP 3-wire models) with a load or PLC input connected, then measure the black output against the blue 0 V wire with a multimeter:

Multimeter readings that identify a NO or NC 3-wire sensor
Sensor typeNo targetTarget present
PNP NO≈ 0 V≈ supply voltage
PNP NC≈ supply voltage≈ 0 V
NPN NOFloats or reads high through the load≈ 0 V
NPN NC≈ 0 VFloats or reads high through the load

On most sensors the indicator LED shows the output state, so an NC sensor's LED is lit with no target. Confirm with the label code, because LED behaviour can differ by product. If readings do not change at all, work through proximity sensor not detecting: troubleshooting.

Which SEGMENsensor sensors are available as NO or NC?

To recognise an NO or NC contact on a machine schematic, see what proximity sensor symbols mean. Decode the contact of a sensor already on your machine with the proximity sensor part number lookup, or compare sensing types in types of proximity sensors.

Not sure whether your machine needs NO or NC?

Send the sensing task, the target, the PLC input type (sinking or sourcing) and what should happen on a wire break. Our engineers will recommend the output and part number. Qualification samples 1–5 pcs in 5–7 working days · FOB China · reply within 24 hours.

Download the inductive proximity sensor datasheet (PDF)

Sensing distance, supply voltage, output types, switching frequency, housing and temperature data for the SEGMENsensor inductive proximity range. Size-specific datasheets are also available for M8, M12, M18 and M30, flush and non-flush. No registration required.

Frequently Asked Questions

Off. A normally open sensor keeps its output open, or off, while no target is present, and switches on only when it detects the target. A PNP NO sensor therefore reads about 0 V at rest and about the supply voltage, for example 24 V, when the target is in range.

Because a cut wire, pulled connector or lost supply makes an NC circuit read the same as the tripped state, so the controller stops or alarms instead of missing the fault. A standard proximity sensor with an NC output is still not a safety component; personnel protection needs devices rated for that safety function.

Not in the hardware of a fixed-output sensor: the contact is set at the factory and shown in the part number. You can invert the signal in the PLC program, but then a broken wire still looks like no target. If you need wire-break detection, order the NC version or a 4-wire NO + NC sensor.

No. NPN or PNP describes whether the output sinks or sources current and must match the PLC input type. NO or NC describes the output state at rest. Any combination exists: SEGMENsensor SGI-GP codes NA, NB, PA and PB are NPN NO, NPN NC, PNP NO and PNP NC.

Read the two letters after the sensing distance in the part number. The first is the output (N = NPN, P = PNP, D = DC 2-wire) and the second is the contact (A = NO, B = NC, C = NO + NC). For example, SGI-GP12S-040PA-Q4 is a PNP normally open sensor.

The sensing task and target, housing size and mounting, the PLC input type, whether NO, NC or both outputs are needed, cable or connector, and the estimated annual volume. Qualification samples of 1–5 pcs ship in 5–7 working days; production lead time and MOQ are confirmed with the quotation. Terms are FOB China with 100% T/T in advance, and we reply within 24 hours.

Last updated: 10 November 2026 · SEGMENsensor Engineering Team. First published 10 November 2026.