Motion and state
Its visible state changes with simulated I/O, making status and diagnosis readable in the scene.
sensors · indicator model
A PLC proximity sensor is a non-contact detector connected to a discrete input. An inductive model creates a high-frequency electromagnetic field at its active face; a nearby metal target absorbs energy from that field and makes the output transistor change state. The PLC does not see distance. It sees a clean ON or OFF input that the program can use for part presence, position proof, counting or an interlock.
Start with the public scenario; create a free account when you want to save progress.
Explore Proximity sensor in 3D
Load the interactive model when you are ready to rotate, inspect and operate it. Deferring WebGL keeps the reference page fast.
Its visible state changes with simulated I/O, making status and diagnosis readable in the scene.
Commission it by proving detecting before accepting the next sequence state.
Inject stuck-on, stuck-off, misaligned states and require the PLC sequence to detect, stop and recover deliberately.
PLC integration guide
A three-wire DC sensor normally has brown for positive supply, blue for 0 V and black for the switched output, but the datasheet remains authoritative. A PNP sensor sources positive voltage into a sinking PLC input when active. An NPN sensor sinks current toward 0 V for a sourcing input. The sensor and input common must form a complete current path. Guessing from wire colour or changing only the PLC program cannot repair an incompatible electrical circuit.
Name the tag for what the sensor proves, such as CYLINDER_RETRACTED or PART_AT_STOP, rather than SENSOR_1. For a motion command, start a travel timer and require the expected position within a justified interval. Reject impossible combinations such as both mutually exclusive end sensors being true. For a counter, use a one-shot or edge detector so one stationary target contributes one count rather than one count per PLC scan.
Rated sensing distance is measured with a standard target under controlled conditions. Small targets, non-ferrous metals, a recessed mounting arrangement, temperature and nearby metal can reduce usable range. Leave margin instead of commissioning at the edge of detection. Secure the cable, protect the active face from impact and verify the target remains aligned across machine tolerance and vibration.
The reference above focuses on PLC integration. The interactive school lesson shows the device, signal or mechanism before you write the control sequence.
Open the inductive proximity sensor labSignal map
PLC input Detecting
| Signal | PLC direction | Type / range |
|---|---|---|
| Detecting detecting | input | bool |
Field checklist
Fault finding
| Symptom | Check |
|---|---|
| Sensor LED changes but PLC input stays off | Check PNP/NPN compatibility, input common, output conductor continuity and the correct input address. |
| Input chatters near the target | Increase sensing margin, correct alignment, inspect mounting vibration and apply only the minimum justified input filtering. |
| Input remains on with no target | Remove metal swarf, inspect a shorted output wire, check the configured polarity and substitute a known-good sensor. |
Fault and recovery exercise
Inject stuck-on, stuck-off, misaligned states and require the PLC sequence to detect, stop and recover deliberately.
The model teaches PLC sequence behaviour and diagnosis. Confirm ratings, wiring, guarding, process calculations and commissioning limits against the real manufacturer documentation and site design.
Plain-English answers
A standard inductive proximity switch is a discrete detector, not a distance transmitter. Some analog or IO-Link devices expose a process value, but the ordinary three-wire output provides only a switching state.
Filter only when the application and response-time requirement permit it. First correct vibration, marginal range or wiring noise; a long software delay can hide a real fast event.
A healthy-state signal can make some broken-wire conditions visible, but it does not automatically create a safety function. The complete circuit and diagnostic requirement determine the design.
Free first success
Open a related browser scenario, run the PLC logic and see the component state respond. Start without installing software or entering a card.
Keep building
sensors
Its visible state changes with simulated I/O, making status and diagnosis readable in the scene.
sensors
Its visible state changes with simulated I/O, making status and diagnosis readable in the scene.
sensors
Its visible state changes with simulated I/O, making status and diagnosis readable in the scene.