A sensor that detects the piston through the cylinder end cap sits in the pressurised oil, so it must be rated for the pressure at its sensing face. SEGMENsensor SGI-HP sensors in M8 and M12 are rated to 500 bar with a ceramic face and IP67 / IP69K; the M18 hydraulic-cylinder type comes in grades of 250, 350, 500, 800 and 1000 bar. Set the piston gap within 81 % of the rated sensing distance.
Product series: SEGMENsensor high pressure inductive proximity sensors — M8 / M12 rated 500 bar with ceramic face, and an M18 hydraulic-cylinder type in grades up to 1000 bar.
Engineers who ask for a "hydraulic cylinder position sensor" usually need one of two things: a switching signal that confirms the piston has reached the retracted or extended end position, or continuous position along the whole stroke. This guide covers the first case. It explains where the sensor sits, why a standard inductive sensor fails there, how to choose housing size, pressure grade and output, how to set the gap, and what to send for a quotation. For continuous feedback, see the magnetostrictive position sensor for hydraulic cylinders; the two are often ordered for the same machine.
What Is a Cylinder Position Sensor?
A cylinder position sensor tells the controller where the piston is. There are three common types, and they answer different questions:
- End-position (end-of-stroke) sensors switch when the piston reaches one end. Pressure-rated inductive proximity sensors in the end cap are the usual choice for hydraulic cylinders.
- Magnetic cylinder switches clip onto the barrel or a T-slot and detect a magnet in the piston. They suit pneumatic and small hydraulic cylinders with non-magnetic barrels, and they need a magnetic piston.
- Continuous linear position sensors (magnetostrictive or LVDT) report the position over the whole stroke with an analog or digital output. They are needed for positioning, synchronisation or stroke logging.
If the machine only needs to know "fully in" and "fully out", an end-position proximity sensor is the simplest and most robust solution: no magnet, no external cam and no moving parts.
Why a Standard Proximity Sensor Fails in a Cylinder End Cap
The shortest and most reliable way to detect the piston is to thread the sensor through the end cap so that its face looks into the chamber. That makes the sensor part of the pressure boundary of the cylinder, and a standard sensor is not designed for that duty:
- The sensing face is a plastic cap. It is not rated for pressure. Under oil at system pressure it can deform or be pushed back, which shifts the switching point or destroys the sensor.
- There is no pressure seal. A standard thread is designed for clamping nuts on a bracket. Without a seal seat and a pressure-rated body, oil escapes along the thread or through the cable exit.
- Pressure peaks exceed the nominal figure. Cushioning, valve closing and load reversal generate short peaks above the relief-valve setting. Select the pressure grade for the peak, not the nominal pressure.
A high-pressure inductive sensor solves this with a pressure-resistant sensing face and a sealed body. SEGMENsensor SGI-HP models use a ceramic sensing face in a stainless steel housing, so no separate pressure housing is needed. Electrically it remains an ordinary DC proximity switch, so the PLC side does not change.
How End-Position Detection Works in the End Cap
The illustration shows the arrangement we quote most often: one sensor in the rear end cap confirms "retracted", one in the front end cap beside the rod gland confirms "extended". The face of each sensor sits flush with the inner wall of the cap. When the piston reaches the end of stroke its steel face enters the sensing field and the output switches. The signal goes to a PLC input or directly to the valve controller to end the stroke, start the next step or release an interlock.
Three details decide whether this works reliably on the machine:
- The gap at end of stroke. IEC 60947-5-2 — Proximity switches ↗ defines the assured operating distance as 0 to 81 % of the rated sensing distance Sn. With Sn of 1 mm (M8), 1.5 mm (M12) or 2 mm (M18), the piston must come to within about 0.8 mm, 1.2 mm or 1.6 mm of the face, including cushioning travel and the tolerance stack. See proximity sensor sensing distance explained.
- Flush mounting. The sensor is surrounded by the steel cap, so it must be a flush (shielded) type. All SGI-HP models are flush.
- Target material. The rated distance applies to steel. If the piston carries a bronze or aluminium cushioning sleeve on its face, the switching distance is shorter; tell us so we can check the position.
Need a Pressure-Rated Proximity Sensor for Your Cylinder?
Send the nominal and peak pressure, housing size, output and quantity. Our engineers reply within 24 hours with the matching SGI-HP model or M18 pressure grade. OEM volume supply.
Selection in Four Steps
Step 1 — Record the working conditions
Note the nominal and peak system pressure, the fluid (mineral oil, water-glycol, ester), the oil and ambient temperature at the end cap, the cycle rate and the surroundings (outdoor, wash-down, vibration). SGI-HP models operate from −25 °C to +70 °C; if the end cap runs hotter, tell us before selecting.
Step 2 — Choose housing and pressure grade
| If you need… | Choose | Rating |
|---|---|---|
| A small bore or thin end cap | SGI-HP M8, flush, Sn 1 mm | 500 bar (7250 psi) |
| A general-purpose end-cap sensor | SGI-HP M12, flush, Sn 1.5 mm, housing 43–138 mm long | 500 bar (7250 psi) |
| Peak pressure above 500 bar, or a larger cylinder | M18 hydraulic-cylinder type, flush, Sn 2 mm, two O-rings on the sensing head | Grades 250 / 350 / 500 / 800 / 1000 bar |
For M12, pick the housing length that matches the depth of the bore in your end cap; the length is the last part of the part number, for example L69 for 69 mm.
Step 3 — Choose output and supply
M8 and M12 models are available as NPN or PNP 3-wire on 10–30 V DC, or DC 2-wire on 10–60 V DC, each normally open or normally closed. The M18 type is NPN NO or PNP NO on 10–30 V DC. Match the output to the PLC input card; see NPN vs PNP proximity sensor wiring.
Step 4 — Choose the connection
M8 and M12 models come with a 2 m oil-resistant PVC cable or an M12 connector. The M18 type has a 2 m orange oil-resistant PUR cable with a detachable M12 plug. Use a connector where the cylinder is removed for service.
Standard vs High-Pressure Inductive Proximity Sensor
| Feature | Typical standard inductive sensor | SEGMENsensor SGI-HP |
|---|---|---|
| Pressure at the sensing face | Not pressure-rated | 500 bar (M8/M12); up to 1000 bar (M18) |
| Sensing face | Plastic cap | Ceramic |
| Mounting in the cylinder | Outside, on a cam or flag | Through the end cap, face in the oil |
| Protection | Usually IP67 | IP67 and IP69K (M8/M12) |
| Electrical interface | 3-wire or 2-wire DC | Same: NPN / PNP 3-wire, DC 2-wire |
"Typical standard sensor" describes a general-purpose inductive sensor, not a specific product.
Specification Table: SGI-HP M8 / M12 and the M18 Type
| Parameter | M8 / M12 (SGI-HP) | M18 hydraulic-cylinder type |
|---|---|---|
| Pressure rating | 500 bar (7250 psi) | 250 / 350 / 500 / 800 / 1000 bar grades |
| Rated sensing distance Sn | 1 mm (M8), 1.5 mm (M12), flush | 2 mm, flush |
| Supply | 10–30 V DC (NPN/PNP); 10–60 V DC (2-wire) | 10–30 V DC |
| Output | NPN / PNP / DC 2-wire; NO or NC | NPN NO or PNP NO |
| Max. load current / voltage drop | 200 mA / < 1.5 V | On request |
| Switching frequency | 1 kHz | On request |
| Hysteresis / repeatability | < 15 % Sr / < 1.0 % Sr | On request |
| Operating temperature | −25 °C to +70 °C | On request |
| Protection | IP67, IP69K | On request |
| Housing / sensing face | Stainless steel / ceramic | Stainless steel, two O-rings on the sensing head |
| Connection | 2 m oil-resistant PVC cable or M12 connector | 2 m orange oil-resistant PUR cable, detachable M12 plug |
| Approvals | CE, RoHS | CE, RoHS |
IP67 comes from IEC 60529 — IP Code ↗ and IP69K, a high-pressure, high-temperature wash-down test, from ISO 20653 — Road vehicles, degrees of protection (IP code) ↗. Neither is a pressure rating for the sensing face; that is the separate bar figure above. Datasheets and dimension drawings are sent by email on request.
Where End-Position Sensors Are Specified
Hydraulic presses and clamping units. The controller must know that the ram is fully open before a part is loaded, and that the clamp is closed before the working stroke. An end-cap sensor gives that confirmation without an external cam. Verified machine states also support the energy-control procedures in OSHA 29 CFR 1910.147 — The control of hazardous energy (lockout/tagout) ↗.
Injection moulding and die-casting. Mould-close, ejector and core-pull cylinders are sequenced on end-position signals. The M12 connector version allows the cylinder to be exchanged without rewiring.
Mobile and agricultural hydraulics. Boom, outrigger and steering cylinders use retracted and extended confirmation for interlocks. Specify the peak pressure from load reversal, not only the relief-valve setting.
Hydraulic pumps and power units. The same pressure-rated sensors detect positions inside pumps and valve blocks where the sensing face sees system pressure.
When You Need Continuous Position Instead
An end-position sensor answers "is the piston at the end?" It cannot tell the controller where the piston is in between. For position control, synchronisation of several cylinders or stroke logging, use the magnetostrictive position sensor for hydraulic cylinders, which gives absolute position over the whole stroke; how a magnetostrictive position sensor works explains the principle. Many OEM cylinders carry both: the magnetostrictive sensor for control and pressure-rated proximity sensors as independent end-position confirmation. For installation of the sensor itself, see how to machine the mounting hole and seal a high-pressure proximity sensor.
The Six Parameters to Send for a Quote
- Pressure: nominal and peak system pressure.
- Fluid and temperature: oil type, oil and ambient temperature at the end cap.
- Housing and space: M8, M12 or M18; end-cap wall thickness and bore depth.
- Target and gap: piston material, any cushioning sleeve, gap at end of stroke with tolerances.
- Output and connection: NPN, PNP or 2-wire; NO or NC; cable or M12 connector.
- Quantity: samples now, expected annual volume, destination and private-label needs.
Frequently Asked Questions
A sensor that tells the controller where the piston of a cylinder is. End-position sensors switch at the ends of the stroke; continuous sensors such as magnetostrictive or LVDT sensors report the position along the whole stroke.
SEGMENsensor SGI-HP models in M8 and M12 are rated to 500 bar (7250 psi) at the sensing face. The M18 hydraulic-cylinder type is available in grades of 250, 350, 500, 800 and 1000 bar. Select the grade for the peak pressure, not the nominal pressure.
The M18 hydraulic-cylinder type in the 1000 bar grade. M8 and M12 SGI-HP models are rated to 500 bar.
Within the assured operating distance, 0 to 81 % of the rated sensing distance under IEC 60947-5-2: about 0.8 mm for M8 (Sn 1 mm), 1.2 mm for M12 (Sn 1.5 mm) and 1.6 mm for the M18 type (Sn 2 mm), including cushioning travel and tolerances.
Only outside the pressure chamber, for example on a cam or collar on the piston rod. In the end cap, pressure and pressure peaks act on the sensing face and seal, so use a pressure-rated sensor.
End-position proximity sensors (inductive, often pressure-rated for hydraulics), magnetic cylinder switches that detect a magnet in the piston, and continuous linear position sensors such as magnetostrictive and LVDT sensors.
Yes. The SGI-HP series carries CE and RoHS documentation, available on request with your quote.
Qualification samples are 1–5 pcs; sample and production lead times are confirmed with your quotation, and every enquiry receives a written reply within 24 hours.
Related reading: What does a hydraulic cylinder position sensor do? · How to check if a hydraulic cylinder is bypassing · EU Machinery Regulation 2023/1230 sensor supplier checklist · High-pressure inductive proximity sensors · Mounting hole and sealing guide · Magnetostrictive sensor for hydraulic cylinders · Proximity sensor sensing distance explained · NPN vs PNP wiring · Selecting for high pressure and hot oil
Last updated: 28 September 2026. Specifications reflect the SEGMENsensor product pages at the date of publication; datasheets and dimension drawings are sent on request.