S5-R12-NP
AI

The **S5-R12-NP** is a specific model of a photoelectric sensor, typically manufactured by companies like **Datalogic (formerly Datasensor)**. This part is widely used in industrial automation for object detection.
---
### 1. Technical Specifications
The model name follows a specific nomenclature that defines its electronic and physical characteristics:
| Feature | Specification |
| :--- | :--- |
| **Sensor Type** | Photoelectric Sensor (Retro-reflective) |
| **Housing Style** | M18 cylindrical (Standard barrel) |
| **Detection Mode** | Polarized Retro-reflective (requires a reflector) |
| **Supply Voltage** | 10 - 30 VDC |
| **Output Type** | NPN (Negative-Positive-Negative) |
| **Output Logic** | Dark-ON / Light-ON (Selectable) |
| **Operating Distance** | Usually up to 3 - 4 meters (depending on reflector) |
| **Connection** | 2m Cable (standard for the 'R12' suffix) |
| **IP Rating** | IP67 (Dust and water immersion protection) |
---
### 2. Internal Electronic Components
To understand how the S5-R12-NP functions, we can break down its internal electronic architecture:
#### A. The Emitter (IR or Red LED)
The device contains a light-emitting diode. In "Polarized" models, this LED is fitted with a polarizing filter. This ensures that the sensor only detects light bounced back from a corner-cube reflector, ignoring reflections from shiny metal objects.
#### B. The Receiver (Phototransistor)
The receiver component senses the reflected light. If an object breaks the beam between the sensor and the reflector, the phototransistor detects a change in current.
#### C. Control Circuitry (The ASIC)
* **Modulator:** Pulses the Emitter LED at a specific frequency to prevent interference from ambient sunlight or room lighting.
* **Demodulator:** Filters the signal from the receiver to ensure it only reacts to the Emitter's specific frequency.
* **Amplifier:** Boosts the small signal from the phototransistor to a level that can drive the output.
#### D. The Output Stage (NPN Transistor)
Since this is an **NPN** model:
* The load is connected between the **Positive (+) supply** and the **Output wire**.
* When the sensor is triggered, the internal NPN transistor "closes," sinking the current to the **Negative/Ground (0V)**.
---
### 3. Wiring Diagram (Typical)
Most S5 series sensors follow the standard industrial color coding:
| Wire Color | Function | Description |
| :--- | :--- | :--- |
| **Brown** | +VDC | Positive Power Supply (10-30V) |
| **Blue** | 0V / GND | Negative Power Supply |
| **Black** | Output | NPN Signal (Sinking) |
| **White** | Mode Select | Connection to +V or 0V to toggle Light/Dark ON |
---
### 4. Key Application Notes
* **Polarization:** The "R" in the model name often signifies "Retro-reflective." Because it is polarized, it is excellent for detecting shiny objects (like soda cans or shrink-wrapped pallets) that might "trick" non-polarized sensors.
* **Mounting:** The M18 threaded body allows for easy mounting through a 18mm hole, secured by two nuts (usually included).
- ⤷
What is the difference between NPN and PNP output in this sensor model?
- ⤷ How do I wire the S5-R12-NP for 'Dark-ON' operation?
- ⤷ What is the maximum switching frequency for the S5 series sensors?