1. Introduction
The GIMATIC SS4M225-G is a compact NPN magnetic switch designed for reliable proximity sensing in various industrial automation applications. This sensor detects the presence of magnetic fields, making it suitable for position detection, limit switching, and other control tasks where non-contact sensing is required. Its robust design and NPN output make it compatible with a wide range of control systems.

2. Specifications
| Feature | Specification |
|---|---|
| Model | SS4M225-G |
| Sensor Type | Magnetic Switch |
| Output Type | NPN |
| Operating Voltage | Max 30 V DC |
| Max Output Current | 200 mA |
| Max Power Consumption | 8 W |
| Cable Length | 200 mm |
| Dimensions (L x W x H) | 23.5 mm x 6.5 mm x 3.5 mm (approx.) |
| Origin | Mainland China |
3. Setup and Installation
Proper installation is crucial for the optimal performance of the SS4M225-G magnetic switch. Follow these steps carefully:
3.1 Mounting
- Identify a suitable location for the sensor where it can reliably detect the target magnet.
- Ensure the sensor is securely mounted to prevent movement or vibration, which could affect detection accuracy.
- The sensor is designed for compact integration. Consider its dimensions (23.5mm x 6.5mm x 3.5mm) when planning the mounting location.
- Maintain a consistent distance and orientation between the sensor and the magnet for stable operation.
3.2 Wiring Diagram
The SS4M225-G features a 3-wire NPN configuration. Refer to the diagram below and the following connections:

- Brown Wire (G+): Connect to the positive (+) terminal of your DC power supply (Max 30V DC).
- Blue Wire (G-): Connect to the negative (-) terminal (Ground) of your DC power supply.
- Black Wire (Output): This is the NPN output. When a magnetic field is detected, this wire will switch to a low state (close to ground). Connect this to the input of your control device (e.g., PLC, microcontroller).
Caution: Ensure the power supply voltage does not exceed 30V DC and the output current does not exceed 200mA to prevent damage to the sensor or connected equipment.
4. Operating Principles
The GIMATIC SS4M225-G is a magnetic proximity switch. It operates by detecting the presence or absence of a magnetic field. When a magnet comes within the sensor's detection range, the internal switch activates, changing the state of the NPN output. In an NPN configuration, the output (black wire) typically switches from a high impedance state to a low impedance state (connecting to ground) when a magnetic field is detected. This signal can then be read by a control system to trigger an action.
- Detection: The sensor activates when a magnet is brought into its sensing area.
- Output State: For NPN, the output goes low (switches to ground) upon detection.
- Response Time: Magnetic switches generally offer fast response times suitable for high-speed applications.
5. Maintenance
The SS4M225-G magnetic switch is designed for low maintenance. However, regular checks can ensure its longevity and reliable operation:
- Cleaning: Keep the sensor surface clean from dust, dirt, and debris. Use a soft, dry cloth. Avoid abrasive cleaners or solvents.
- Cable Integrity: Periodically inspect the cable for any signs of wear, cuts, or damage. Ensure connections are secure.
- Mounting Stability: Verify that the sensor remains securely mounted and has not shifted from its intended position.
- Environmental Conditions: Ensure the sensor operates within its specified environmental limits (temperature, humidity) to prevent premature failure.
6. Troubleshooting
If you encounter issues with your GIMATIC SS4M225-G magnetic switch, consider the following troubleshooting steps:
| Problem | Possible Cause | Solution |
|---|---|---|
| Sensor not detecting magnet | Magnet too far or too weak; incorrect orientation; faulty wiring. | Adjust magnet position and distance; ensure correct magnet polarity; check wiring connections. |
| Output always ON/OFF | Sensor damaged; continuous magnetic field present; wiring error. | Verify no stray magnetic fields; re-check wiring; replace sensor if damaged. |
| Intermittent detection | Vibration; unstable mounting; fluctuating power supply; external magnetic interference. | Secure mounting; stabilize power supply; shield from strong external magnetic fields. |
| No power to sensor | Incorrect power connection; power supply failure. | Check brown and blue wire connections; verify power supply is active and within 30V DC. |
7. User Tips
- Magnet Selection: Use a strong, permanent magnet for reliable detection. The size and strength of the magnet will influence the sensing distance.
- Environmental Considerations: While magnetic switches are generally robust, avoid exposing the sensor to extreme temperatures, corrosive chemicals, or strong electromagnetic interference that could affect its performance.
- Testing: Always test the sensor's functionality after installation and before deploying your system to ensure it operates as expected.
- Cable Management: Route the sensor cable carefully to avoid pinching, abrasion, or exposure to excessive heat, which can damage the insulation and internal wires.
8. Warranty and Support
For warranty information and technical support, please contact your authorized GIMATIC distributor or the point of purchase. Ensure you have your product model (SS4M225-G) and any relevant purchase details available when seeking assistance.