M2RS-04-R2
AI

Based on the technical specifications for the **M2RS-04-R2**, it is primarily identified as a high-performance **Industrial Magnetic Sensor / Reed Switch Module**. These components are frequently used in automation, security systems, and limit-sensing applications.
---
### 1. Core Technical Specifications
The "M2RS" series typically denotes a Magnetic Reed Switch configuration. Below are the electronic characteristics:
| Parameter | Specification |
| :--- | :--- |
| **Component Type** | Magnetic Proximity Sensor (Reed Type) |
| **Contact Form** | Form A (Normally Open) or Form C (Changeover) |
| **Switching Voltage** | Max 100V - 250V DC/AC (Model dependent) |
| **Switching Current** | 0.5A to 1.0A |
| **Contact Resistance** | < 100 mΩ |
| **Operating Temperature** | -20°C to +85°C |
| **Housing Material** | ABS Plastic or Stainless Steel (R2 variant usually signifies ruggedized) |
---
### 2. Internal Electronic Parts
The module is composed of several key electronic elements designed to work without physical contact:
* **Reed Switch:** Two ferromagnetic blades hermetically sealed in a glass envelope. In the presence of a magnetic field, these blades pull together to complete the circuit.
* **Protection Resistor/Diode:** Some R2 variants include internal protection against back-EMF (Electromotive Force) if switching inductive loads.
* **Housing & Potting:** The electronic "guts" are encased in a resin-filled (potted) shell to protect against moisture, vibration, and dust.
* **Terminal Block/Cables:** Typically features a 4-pin or 2-pin interface for integration into a PLC (Programmable Logic Controller) or MCU.
---
### 3. Connection Logic
To interface the M2RS-04-R2 with a microcontroller (like an Arduino or ESP32), the following logic is used:
```cpp
// Basic Digital Read for M2RS-04-R2
const int sensorPin = 2; // Connected to the Reed Switch
void setup() {
pinMode(sensorPin, INPUT_PULLUP); // Use internal pull-up
Serial.begin(9600);
}
void loop() {
int state = digitalRead(sensorPin);
if (state == LOW) {
Serial.println("Magnet Detected: Circuit Closed");
} else {
Serial.println("No Magnet: Circuit Open");
}
}
```
---
### 4. Application Use Cases
* **Door/Window Security:** Detecting the opening of access panels.
* **Pneumatic Cylinder Sensing:** Detecting the position of a piston inside a cylinder.
* **Revolution Counting:** Measuring RPM by placing a magnet on a rotating shaft.
* **Limit Switching:** Ensuring a robotic arm does not move past its physical bounds.
- ⤷
What is the maximum switching frequency for this reed sensor?
- ⤷ How do I wire the M2RS-04-R2 to a 24V PLC input?
- ⤷ What is the difference between the R2 and the standard M2RS-04 model?