(Telemecanique OsiSense XS4)
Product Type: M30 Non-Flush Analogue 4–20mA Inductive Proximity Sensor
✅ Model Code Definition
XS4: XS4 series inductive proximity sensor
P: PBT plastic housing
30: M30 thread
A: Analogue output
B: Cable connection
1: DC power supply
20: 4–20mA current output
📌 Core Technical Specifications
| Item | Parameter |
| Outline | Cylindrical M30×1.5, overall length 53 mm |
| Mounting | Non-flush mounting (flush installation not allowed) |
| Nominal sensing distance Sn | 15 mm (effective linear range: 1.5 ~ 15 mm) |
| Supply voltage | 12…24 VDC, limit range 10~38 VDC |
| Output signal | 4~20mA analogue current (3-wire) |
| Cable | 2 m PVC cable, 3×0.34 mm² |
| Protection class | IP67 |
| Housing material | Body: PBT; Sensing face: PPS |
| Repeat accuracy | ≤3% of Sr |
| Linearity error | ±2 mA |
| Switching frequency | ≤300 Hz |
| No-load power consumption | 4 mA |
| Operating temperature | -25℃ ~ +70℃ |
| Certifications | CE, UL, CSA |
🔌 Wiring Definition (3-core cable)
Brown: DC+ (Positive power)
Blue: DC(Negative power)
Black: 4~20mA signal output → connect to PLC analogue AI current input channel
Working principle: The closer the metal target is to the sensor, the higher the output current (rising from 4mA to 20mA).
15 mm distance = 4 mA; 1.5 mm distance = 20 mA.
Used for continuous displacement feedback and closed-loop control, not just discrete on/off switching.
📎 Typical Applications
- Continuous position closed-loop feedback for hydraulic cylinders / pneumatic actuators (hydraulic presses, tooling clamps, lifting cylinders)
- Workpiece thickness & gap measurement, material level monitoring
- Continuous position feedback for manipulator soft limit & deceleration control
- Metal workpiece distance detection on conveyor lines
- Foot pedal position feedback (XS4P18ABxx of the same series is widely used for XPE foot pedals)
⚠️ Installation Notes & Cross-Model Reference
- Strictly use non-flush mounting. No metal close to the sensor body, otherwise the sensing range will shrink.
- Set the PLC AI module to 4–20mA current mode, not voltage input.
- Same analogue sub-series comparison:
XS4P30AB110: 0~10V voltage output
XS4P30AB120: 4~20mA current output (this model, mainstream type)
- Domestic alternative requirement: M30 non-flush, 4–20mA analogue inductive proximity sensor, Sn=15 mm, 12–24 VDC supply.
📄 Supporting Documents
Original datasheet, wiring diagrams, and PLC AI calibration examples are available on request.
XS4P30AB120 (M30, Sn15mm, 4–20mA Analogue Inductive Sensor) Field Application Cases
Core feature: Non-flush installation, metal target only, continuous distance output (1.5mm=20mA; 15mm=4mA). It is not a simple limit switch; ideal for continuous position feedback, PID closed-loop control, gap & thickness monitoring. IP67 rated for dusty, oily workshop environments.
Case 1: Closed-loop position feedback for hydraulic / pneumatic cylinders (hydraulic stations, machine tool presses, construction machinery)
Working condition: Presses, clamping jigs, lifting cylinders. Real-time rod position acquisition for PLC PID speed regulation, soft stop and buffer deceleration to avoid mechanical impact.
Installation: Fix XS4P30AB120 at the cylinder tail; mount a square steel target (45×45mm standard target) on the piston rod end. Keep the sensor axially aligned with the target, and keep the working stroke within 1.5~15 mm.
Control logic: 4mA = 15 mm (fully retracted); 20mA = 1.5 mm (fully extended). The PLC converts current value to displacement and triggers speed reduction when reaching preset positions.
Advantages: Lower cost than pull-wire displacement sensors, oil & dust resistant, simple installation for short-stroke cylinder buffering control.
- DC 3-wire Discrete Output (P Series, PNP / NPN for PLC Digital Input)
1) PNP Output (Positive switching)
XS4P30PB340: NO normally open, 12~24VDC, 2m cable
XS4P30PB370: NC normally closed, 12~48VDC, 2m cable
XS4P30PC410: NO+NC (1NO+1NC), 12~24VDC, 4-wire cable
XS4P30PB340D: NO normally open, M12 connector
XS4P30PB370D: NC normally closed, M12 connector
2) NPN Output (Negative switching)
XS4P30NB340: NPN NO normally open
XS4P30NB370: NPN NC normally closed
III. 2-wire AC/DC Universal (M Series, suitable for relay circuits)
XS4P30MA230: NO normally open, 24~240V AC/DC, 2m cable, IP68
XS4P30MB230: NC normally closed, 24~240V AC/DC
Cable extension suffix: L1=5m, L2=10m (e.g. XS4P30MA230L1)
- XS4P30AB Analogue Sub-series (Only 2 models available)
| Model | Output Signal | Supply Voltage | Application |
| XS4P30AB110 | 0~10V voltage | 24~48VDC | PLC analogue voltage AI channel |
| XS4P30AB120 | 4~20mA current | 12~24VDC | PLC analogue current AI channel (mainstream model) |
- Suffix Options for Ordering
L1: Cable extended to 5 m
L2: Cable extended to 10 m
D: Replace cable with M12 4-pin connector
K: Extended body (overall length 70 mm)
- Quick Selection Guide for XS4P30 Series
- Displacement closed-loop, material level & gap measurement → XS4P30AB120 (4–20mA)
- Position limit with digital switching signal → PB340 / MA230
- Voltage analogue signal acquisition → XS4P30AB110
✅ Original Accuracy Specifications for XS4P30AB120 (Standard steel target 45×45×1 mm, 25℃)
- Linearity error: ±2 mA
Full span 4~20mA (16mA total range), effective travel 1.5~15 mm (13.5 mm stroke).
±2mA corresponds to ±1.69 mm linear deviation.
- Repeat accuracy: ≤3% Sr
Sr=15 mm → maximum repeat error ≤0.45 mm.
Meaning: Readout fluctuation will not exceed 0.45 mm when repeatedly positioning at the same spot.
- Temperature drift (output current drift): Max 10% FS (full scale) across -25~+70℃
Range note: Linear performance and accuracy are only guaranteed within the effective working range of 1.5 mm (20mA) ~ 15 mm (4mA).
📌 Plain Summary
Excellent repeatability: approx. 0.45 mm, suitable for repeated positioning control.
Moderate linear deviation: ±1.7 mm, not for micron-level precision measurement; it is an industrial coarse-range analogue proximity sensor.
Additional A/D conversion error will be introduced by the PLC AI module, further reducing overall system accuracy.
⚠️ Key Factors Affecting Measurement Accuracy
Target material must be mild steel; stainless steel or aluminium will change sensitivity and increase error.
Strict non-flush mounting; no surrounding metal interference.
Strong welding electromagnetic interference, vibration and wide temperature swings will aggravate drift.
Contactor,circuit breaker,sensor,Encoder,PLC,Converter
















NH42-63-318x560.png)



