SMC D-M9PZ Solid State Auto Switch – Reliable Magnetic Sensing for Pneumatic Cylinders
The SMC D-M9PZ is a compact, solid state auto switch designed to detect piston position on SMC pneumatic cylinders with built-in magnets. As part of SMC’s D-M9 series, the D-M9PZ combines a 3-wire PNP output, fast response, and high reliability in a slim in-line body that is easy to mount on a wide range of actuators.
With its 5 m lead wire, LED indication and robust construction, the D-M9PZ is particularly suitable for OEM machinery, automated production lines, and any application where accurate end-of-stroke or intermediate position feedback is required.
1. Where the SMC D-M9PZ Fits in Your System
The D-M9PZ is not a general proximity sensor; it is a dedicated magnetic piston switch. It reads the magnetic field from the piston magnet inside a compatible SMC cylinder and converts that information into a clean PNP output signal that can be sent directly to a PLC, relay, or electronic controller.
Typical uses include:
-
Detecting cylinder fully extended or fully retracted position
-
Confirming part presence in clamping and locating fixtures
-
Providing position feedback in pick-and-place, packaging, or handling systems
-
Interlocking safety or sequencing logic in automated lines
Because it is solid state (no mechanical contacts), the D-M9PZ tolerates frequent switching in high-speed applications without contact wear, making it a good fit for modern, fast-cycle machines.
2. Key Technical Data – SMC D-M9PZ
| Item |
SMC D-M9PZ Specification |
| Model |
D-M9PZ |
| Series |
D-M9 solid state auto switch |
| Detection principle |
Magnetic sensing of piston magnet in SMC cylinders |
| Output type |
PNP, 3-wire, solid state (normally open) |
| Applicable load |
PLC input, IC circuit, relay input, general DC electronic loads |
| Rated supply voltage |
5, 12, 24 VDC (operating range approx. 4.5 – 28 VDC) |
| Max. load current |
40 mA or less at up to 28 VDC |
| Internal voltage drop |
Approx. 0.8 V or less at 10 mA (up to ~2 V at 40 mA) |
| Leakage current |
100 µA or less at 24 VDC |
| Response time |
1 ms or less (typical) |
| Indicator light |
Red LED turns on when the switch output is ON |
| Electrical entry |
Grommet, in-line (straight) cable entry |
| Lead wire |
5 m, oil-resistant vinyl cable, 3 cores (Brown, Black, Blue) |
| Operating temperature range |
–10 to +60 °C (without freezing) |
| Shock resistance |
Up to approx. 1000 m/s² |
| Mounting style |
Direct mounting on cylinder grooves with SMC brackets / built-in slots |
| Typical compatible products |
SMC standard cylinders and guided cylinders with built-in magnet (various series) |
| Approvals / conformity |
CE marking on applicable versions |
Always refer to the latest official SMC catalog and datasheets for exact and most up-to-date specifications.
3. How the D-M9PZ Works
Inside the SMC cylinder there is a magnet embedded in the piston. As the piston moves, the magnetic field travels along the cylinder barrel. The D-M9PZ is mounted in the cylinder groove or with a clamp; when the magnetic field reaches the switch’s sensing area, the internal solid-state circuit turns the PNP output ON.
Because this is a non-contact sensing method, there is no direct mechanical coupling between the cylinder motion and the switch. This eliminates wear on moving parts and helps maintain consistent switching points over a long service life, even at high cycle rates.
4. Wiring Concept and Integration
The D-M9PZ uses a standard 3-wire PNP output configuration:
When the piston magnet is in the detection zone, the PNP transistor connects the output to +V, and the PLC input or load sees a logic “1”. When the magnet leaves the detection zone, the output turns OFF.
The low current consumption of the D-M9PZ makes it well suited for multi-sensor systems where many auto switches are connected to one PLC or distributed I/O network. Its modest maximum load current (40 mA) is ideal for driving PLC inputs directly without intermediate relays.
5. Typical Application Scenarios
-
Position sensing on standard cylinders
Mounted in the cylinder’s side groove, the D-M9PZ provides end-of-stroke, mid-stroke, or fully-retracted feedback. Users simply slide the switch to the desired point and tighten the screw.
-
Clamping and safety interlocks
On clamping cylinders, the auto switch confirms that a workpiece is securely clamped before a machine cycle continues. If the position is not reached, the PLC can halt motion and display an alarm.
-
High-speed pick-and-place machines
With response time on the order of 1 ms, the sensor keeps up with fast strokes, ensuring the controller always knows where each axis is, even in rapid cycling applications.
-
Packaging, sorting and conveyor equipment
As products are pushed, lifted or stopped by pneumatic actuators, the D-M9PZ provides reliable signals used for counting, indexing, or rejecting products at high speed.
-
General OEM machinery
Machine builders can standardize on the D-M9PZ for most PNP-logic machines, simplifying wiring diagrams, spare parts lists and field service.
6. Benefits for Engineers, OEMs, and Maintenance Teams
-
Clean PNP logic
Many modern PLC input cards are designed for PNP wiring. The D-M9PZ connects directly without additional interface modules, keeping panel wiring simple.
-
Solid-state durability
With no mechanical contacts, there is no contact bounce, arcing, or life limitation due to contact wear. This is especially important in high-frequency applications where reed switches would wear out faster.
-
Long lead wire (5 m) as standard
The “Z” in D-M9PZ indicates a 5 m cable, giving generous length for routing through cable trays and machine frames without additional junctions.
-
Clear visual indication
The red LED at the switch body gives instant confirmation that the magnet is detected and the output is ON, making commissioning and troubleshooting faster.
-
Slim, unobtrusive profile
At only a few millimeters in width, the switch fits neatly into cylinder grooves or brackets without interfering with moving parts or nearby machine components.
7. Installation, Adjustment and Best Practices
To install the SMC D-M9PZ:
-
Insert the switch into the cylinder’s groove or mount it using the appropriate SMC bracket.
-
Slide it to the approximate detection point (for example, the fully extended position).
-
Move the cylinder to that position and fine-tune the switch location until the LED turns on reliably at the right point.
-
Tighten the supplied screw—SMC explicitly recommends using the correct screw to avoid damaging the switch housing.
Good practice includes:
-
Keeping cable runs tidy and strain-relieved to avoid pulling on the grommet entry.
-
Staying within the specified voltage and load current limits to prevent overheating or malfunction.
-
Avoiding mounting in areas with extremely strong external magnetic fields that could interfere with detection.
-
Using proper surge suppression or protection on inductive loads, even when loads are small, to protect both the switch and the PLC inputs.
8. Summary
The SMC D-M9PZ solid state auto switch is a compact, PNP 3-wire magnetic sensor engineered specifically for SMC cylinders with built-in magnets. It offers fast response, long service life, clear LED indication and a generous 5 m cable length, making it very attractive for machine builders and end users who need dependable cylinder position feedback.
Whether you are designing new automation equipment or upgrading existing lines, pairing SMC cylinders with the D-M9PZ gives you a clean, standardized sensing solution that integrates smoothly with modern PLC-based control systems and supports stable, repeatable machine performance over the long term.
