Quick Answer

Read a proximity sensor symbol in three looks: the diamond says the device switches by proximity, the contact inside the box says NO or NC, and the load position says PNP (load to 0 V) or NPN (load to +V). The numbers 1, 3, 4 and 2 match brown, blue, black and white wires and the M12 connector pins.

What does a proximity sensor symbol look like?

A proximity sensor symbol is a rectangle (the sensor) with a diamond attached to its sensing side. The diamond, or rhombus, is the qualifying mark used in electrotechnical diagram symbols for "actuated by proximity": the switch changes state when a target comes near, without being touched. The graphical symbols for diagrams are maintained by the IEC in the IEC 60617 symbol database; datasheets and machine schematics use either the full IEC contact symbol or the simplified "box with diamond" block shown below.

Inside or next to the box you will find the output contact, and on the other side short lines for each terminal with a number and a colour code. Those markings follow the proximity switch standard IEC 60947-5-2, which is why the same colours appear on inductive proximity sensors, capacitive sensors and many photoelectric sensors.

Proximity sensor wiring symbols for PNP NO, NPN NO and 2-wire NO sensors Three panels. Each shows a sensor box with a diamond on its left side and an open contact inside. Panel 1, PNP: terminals 1 brown to +V, 3 blue to 0 V, 4 black output, with the load drawn between terminal 4 and 0 V. Panel 2, NPN: same terminals, with the load drawn between terminal 4 and +V. Panel 3, 2-wire: only brown and blue terminals, with the load in series in the brown line between the sensor and +V. 1. PNP NO (3-wire) +V (24 V DC) 0 V 1 BN 4 BK load 3 BU Load between 4 and 0 V = sourcing 2. NPN NO (3-wire) +V (24 V DC) 0 V 1 BN 4 BK load 3 BU Load between 4 and +V = sinking 3. 2-wire NO +V 0 V BN load BU Load in series, no separate output
Illustration: the three symbol layouts you will meet most often on proximity sensor datasheets. The diamond marks the sensing face; the open contact means normally open. Drawing by SEGMENsensor Engineering Team.

How do you read a proximity sensor symbol step by step?

Work through the symbol in the same order every time; it takes under a minute and catches most wiring mistakes before power-up.

  1. Find the diamond. A diamond on the box means a non-contact proximity device. A mechanical limit switch instead shows a roller, plunger or lever actuator on the contact.
  2. Read the contact. An open contact (gap in the line) is NO: the output is off with no target. A closed contact is NC: the output is on with no target. Two contacts mean a 4-wire NO + NC sensor.
  3. Count the terminals. Three terminals (1, 3, 4) = 3-wire DC sensor; four (1, 2, 3, 4) = 4-wire; two (BN, BU) = 2-wire.
  4. Locate the load. If the load (PLC input, relay coil, lamp) hangs from terminal 4 to 0 V, the sensor is PNP. If it hangs from terminal 4 to +V, it is NPN.
  5. Check the supply. Confirm the voltage written next to terminal 1 against the sensor label, for example 10–30 V DC for SGI-GP 3-wire models.

Proximity sensor symbol elements at a glance

Symbol elementWhat it meansWhat to check
Diamond (rhombus) on the boxOperated by proximity, no mechanical contactSensing face side; target must approach this face
Open contact inside the boxNormally open (NO): output off with no targetContact letter A in SGI-GP codes (NA, PA, DA)
Closed contact inside the boxNormally closed (NC): output on with no targetContact letter B (NB, PB, DB)
Load between 4 and 3 (0 V)PNP, sourcing outputNeeds a sinking PLC input (common at 0 V)
Load between 4 and 1 (+V)NPN, sinking outputNeeds a sourcing PLC input (common at +24 V)
Only two terminals2-wire sensor, load in seriesOff-state leakage and on-state voltage drop on the datasheet
Tag such as -B1 or -B12Reference designation of the device in the schematicMatch the tag to the parts list and the sensor label

How can you tell NPN from PNP on a wiring diagram?

Look at where the load is connected, not at the sensor box. A PNP output switches the black wire to +V, so the load is drawn from terminal 4 down to 0 V. An NPN output switches the black wire to 0 V, so the load is drawn from +V down to terminal 4. Some datasheets also draw the output transistor inside the box; the arrow on the emitter points out of the transistor for NPN and into it for PNP. The full wiring to a PLC card is in NPN vs PNP proximity sensor wiring.

How are NO and NC shown in the symbol?

Exactly as for any switch contact: drawn in the unactuated state, meaning no target in front of the sensor. An NO contact is drawn open and an NC contact closed. A 4-wire symbol shows both, with NO on terminal 4 (black) and NC on terminal 2 (white). "Normal" never means the state the machine usually runs in; see normally open vs normally closed sensor for fail-safe use.

What do the numbers 1, 2, 3, 4 and the letters BN, BU, BK, WH mean?

The numbers are terminal markings and the letters are wire colour abbreviations. On connector versions the same numbers are the pin numbers of the M12 A-coded plug, so a diagram, a cable and a connector all agree.

Terminal / M12 pinWire colour3-wire sensor4-wire NO + NC sensor2-wire sensor
1Brown (BN)+V supply+V supplyTerminal to load / +V
2White (WH)Not connectedNC output—
3Blue (BU)0 V0 VTerminal to 0 V
4Black (BK)Switching output (NO or NC)NO output—

2-wire DC sensors are connected in series with the load, so check the datasheet for which way round the polarity must be. Pin layouts for connector versions, including 5-pin cables, are in M12 connector pinout for sensors.

Does the symbol show inductive, capacitive or photoelectric?

Often, but not always. The diamond only says "proximity". Many datasheets add a small marker inside the box for the principle, such as a capacitor sign for capacitive sensors or light arrows for photoelectric sensors, and a plain box is common for inductive types. Always confirm with the legend of that drawing or the part number; the principles themselves are compared in types of proximity sensors.

What is the -B1 tag next to the symbol?

It is the reference designation that identifies this device in the schematic, parts list and on the machine. In the classification of IEC 81346-2, letter B is the class for objects that convert an input variable into a signal, which covers sensors, so proximity sensors are typically tagged -B1, -B2 and so on. Older drawings may use other letters; follow the legend of the drawing.

How does a SEGMENsensor part number map to its symbol?

For SGI-GP inductive sensors the two letters after the sensing distance tell you which symbol to expect. The first letter is the output (N = NPN, P = PNP, D = DC 2-wire) and the second is the contact (A = NO, B = NC, C = NO + NC).

CodeSymbol you will seeSupply
PA / PB3-wire, load from 4 to 0 V, open / closed contact10–30 V DC
NA / NB3-wire, load from +V to 4, open / closed contact10–30 V DC
DA / DB2-wire, load in series, open / closed contact10–60 V DC

Worked example: SGI-GP12S-040PA-Q4 is an M12 flush sensor with 4 mm sensing distance, PNP NO output and an M12 connector (Q4). Its symbol is a box with a diamond and an open contact, terminal 1 to +V, 3 to 0 V, and the PLC input drawn between pin 4 and 0 V. The NPN equivalent, SGI-GP12S-040NA-Q4, has the same box with the load drawn between +V and pin 4. Decode other labels with the proximity sensor part number lookup. The high-pressure (to 1000 bar) and high-temperature inductive series use the same 3-wire terminal layout, with the output stated in each part number.

Need the wiring symbol for a specific sensor?

Send the part number or the schematic page and the PLC input type. Our engineers will confirm the output, contact and pinout and recommend a matching SGI 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)

Wiring diagrams, 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

The diamond, or rhombus, means the switch is operated by proximity: it changes state when a target comes near the sensing face, without mechanical contact. It distinguishes a proximity sensor from a mechanical limit switch, which is drawn with a roller, plunger or lever actuator.

Look at where the load is drawn. If the load connects between the black output (terminal 4) and 0 V, the sensor is PNP (sourcing). If the load connects between +V and terminal 4, the sensor is NPN (sinking). Some symbols also show the output transistor inside the box.

They are terminal markings that match the wire colours and the M12 connector pins: 1 = brown, +V; 3 = blue, 0 V; 4 = black, switching output; 2 = white, NC or second output on 4-wire sensors and not connected on 3-wire sensors.

With a closed contact inside the sensor box, because every contact is drawn in its unactuated state, with no target present. A normally open sensor is drawn with an open contact, and a 4-wire NO + NC sensor shows both contacts, NO on terminal 4 and NC on terminal 2.

B1 is a reference designation. In the IEC 81346-2 classification, letter B is the class for objects that convert an input variable into a signal, which covers sensors, so proximity sensors are typically tagged -B1, -B2 and so on. Older drawings may use other letters.

Any SGI-GP part number whose output code is PA, for example SGI-GP12S-040PA-Q4, an M12 flush 4 mm PNP NO sensor with an M12 connector. NA is NPN NO, PB and NB are the NC versions, and DA or DB are DC 2-wire. Qualification samples of 1–5 pcs ship in 5–7 working days; production lead time and MOQ are confirmed with the quotation.

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