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.
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.
- 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.
- 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.
- Count the terminals. Three terminals (1, 3, 4) = 3-wire DC sensor; four (1, 2, 3, 4) = 4-wire; two (BN, BU) = 2-wire.
- 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.
- 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 element | What it means | What to check |
|---|---|---|
| Diamond (rhombus) on the box | Operated by proximity, no mechanical contact | Sensing face side; target must approach this face |
| Open contact inside the box | Normally open (NO): output off with no target | Contact letter A in SGI-GP codes (NA, PA, DA) |
| Closed contact inside the box | Normally closed (NC): output on with no target | Contact letter B (NB, PB, DB) |
| Load between 4 and 3 (0 V) | PNP, sourcing output | Needs a sinking PLC input (common at 0 V) |
| Load between 4 and 1 (+V) | NPN, sinking output | Needs a sourcing PLC input (common at +24 V) |
| Only two terminals | 2-wire sensor, load in series | Off-state leakage and on-state voltage drop on the datasheet |
| Tag such as -B1 or -B12 | Reference designation of the device in the schematic | Match 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 pin | Wire colour | 3-wire sensor | 4-wire NO + NC sensor | 2-wire sensor |
|---|---|---|---|---|
| 1 | Brown (BN) | +V supply | +V supply | Terminal to load / +V |
| 2 | White (WH) | Not connected | NC output | — |
| 3 | Blue (BU) | 0 V | 0 V | Terminal to 0 V |
| 4 | Black (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).
| Code | Symbol you will see | Supply |
|---|---|---|
| PA / PB | 3-wire, load from 4 to 0 V, open / closed contact | 10–30 V DC |
| NA / NB | 3-wire, load from +V to 4, open / closed contact | 10–30 V DC |
| DA / DB | 2-wire, load in series, open / closed contact | 10–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.