M2REB-S24-R
AI

The **M2REB-S24-R** is a specific model within a series of industrial electromechanical components, typically associated with **rotary encoders** or **rotary switches** used in automation and control systems.
Below is a detailed breakdown of its electronic characteristics and specifications.
---
### 1. General Specifications
The part is generally classified as a **Manual Pulse Generator (MPG)** or a **Rotary Encoder Switch**, often used for CNC machinery or digital volume/parameter control.
| Feature | Specification |
| :--- | :--- |
| **Type** | Incremental Rotary Encoder |
| **Pulses Per Revolution (PPR)** | 24 Pulses |
| **Output Signal** | 2-phase (A and B phase) |
| **Supply Voltage** | 5V DC (Typical) |
| **Switch Integration** | Integrated Push-button (Momentary) |
| **Mounting Type** | Through-hole (PCB) or Panel Mount |
---
### 2. Key Electronic Components
#### A. Incremental Output (Quadrature Encoding)
The "24" in the part number signifies 24 pulses per 360-degree rotation. It utilizes **Quadrature Encoding**, meaning:
* **Phase A and Phase B:** Two signals are outputted, offset by 90 degrees.
* **Direction Sensing:** By comparing which phase leads (A before B or vice versa), the controller determines if the knob is turning clockwise or counter-clockwise.
#### B. Integrated Momentary Switch
The "S" in the part number usually indicates a "Switch."
* **Function:** Pressing the shaft downwards closes a separate circuit.
* **Usage:** Often used for "Enter" or "Select" functions in a user interface.
#### C. Detent Mechanism
This part typically features **mechanical detents** (clicks).
* The user feels a tactile "click" for every pulse, ensuring precise incremental adjustments.
---
### 3. Pinout Configuration
While exact pin layouts can vary by manufacturer (such as Mitsumi or Alps styles), the standard 24-pulse encoder with a switch usually follows this 5-pin logic:
| Pin Number | Function | Description |
| :--- | :--- | :--- |
| **1** | Terminal A | Output signal for Phase A |
| **2** | Common (GND) | Ground connection for the signals |
| **3** | Terminal B | Output signal for Phase B |
| **4** | Switch (S1) | Terminal for the push-button switch |
| **5** | Switch (S2) | Common/Second terminal for the switch |
---
### 4. Typical Application Circuit
To interface this with a microcontroller (like an Arduino or PLC), pull-up resistors are required because the part acts as a mechanical switch.
```cpp
// Example Arduino logic for reading M2REB-S24-R
int pinA = 2;
int pinB = 3;
void setup() {
pinMode(pinA, INPUT_PULLUP); // External or internal pull-up required
pinMode(pinB, INPUT_PULLUP);
}
```
---
- ⤷
What is the maximum rotational speed (RPM) supported by this encoder?
- ⤷ How do I implement de-bouncing for the mechanical contacts in this part?
- ⤷ Can this part be used with 12V or 24V industrial PLC systems?