LMS-C2-R/Q
AI

The **LMS-C2-R** and **LMS-C2-Q** are part of the **Linear Measurement System** series commonly used in industrial automation for precision length measurement and position sensing. These parts typically integrate a magnetic sensor head with a processing unit to interface with CNC machines or PLC systems.
---
### 1. Component Overview
The primary difference between the **R** and **Q** suffixes usually refers to the output signal type or the physical connector orientation.
| Feature | LMS-C2-R | LMS-C2-Q |
| :--- | :--- | :--- |
| **Sensor Type** | Non-contact Magnetic Sensor | Non-contact Magnetic Sensor |
| **Output Type** | RS-422 (Differential) | TTL (Single-ended or Quadrature) |
| **Resolution** | 0.005mm to 0.1mm | 0.005mm to 0.1mm |
| **Power Supply** | 5V DC or 10-30V DC | 5V DC or 10-30V DC |
| **IP Rating** | IP67 (Dust/Waterproof) | IP67 (Dust/Waterproof) |
---
### 2. Electronic Specifications
These components rely on Hall-effect sensors to detect changes in the magnetic field of a coded magnetic tape.
* **Internal Circuitry:** Includes a signal amplifier, an interpolator (to increase resolution), and an output driver (Line Driver).
* **Signaling:**
* **A/B Phase:** Two square waves shifted by 90° to determine direction.
* **Z Phase:** Reference/Index pulse for homing.
* **Protection:** Integrated polarity reversal protection and overvoltage protection.
### 3. Wiring Configuration
Most LMS-C2 units use a standard shielded cable with color-coded cores. Below is a typical electronic pinout:
| Color | Signal | Description |
| :--- | :--- | :--- |
| **Red** | VCC | Power Supply (+) |
| **Black** | GND | 0V Ground (-) |
| **Green** | A | Channel A Pulse |
| **Yellow** | B | Channel B Pulse |
| **White** | Z | Reference Pulse |
| **Shield** | PE | Earth Ground |
---
### 4. Application Integration
These parts are designed to be electronically compatible with high-speed counters.
```cpp
// Example: Concept logic for reading LMS-C2 Pulses (Arduino/MCU)
const int pinA = 2; // Channel A
const int pinB = 3; // Channel B
volatile long position = 0;
void setup() {
pinMode(pinA, INPUT_PULLUP);
pinMode(pinB, INPUT_PULLUP);
attachInterrupt(digitalPinToInterrupt(pinA), updateEncoder, RISING);
}
void updateEncoder() {
if (digitalRead(pinB) == LOW) {
position++;
} else {
position--;
}
}
```
- ⤷
What are the mounting tolerances for the LMS-C2 sensor head relative to the magnetic tape?
- ⤷ Can the LMS-C2 series be used in environments with high electromagnetic interference (EMI)?
- ⤷ How do I calculate the linear distance based on the pulse output and resolution setting?