Skip to learning content
All sensor labs
Analog measurementintermediate lab

Ultrasonic Distance Sensor

Measures distance by timing an ultrasonic pulse echo — output is proportional to the target distance.

PLC address%IW72
SignalMeasured distance
BenchLive + faults
FIELD DEVICE / 24 VDC

01 / Recognize it

What this sensor looks like

Learn the housing, active face, mounting, and connector before you meet it on a machine.

Representative real-world Ultrasonic Distance Sensor hardware on an industrial workbench
Representative field appearance · form factors vary by manufacturer

Hardware recognition

Know what to look for

Use the silhouette, active face, and connection style to identify the device before checking its part number and datasheet.

Body and mounting
Usually a cylindrical or rectangular housing with one or two round acoustic faces.
Active face
The transducer face must point squarely at the target and remain unobstructed.
Cable and terminals
An M12 connector or cable carries power and switching or analog output.
Field rule: identify by appearance, then verify the exact wiring, range, approvals, and output type from the device label and datasheet.

02 / Understand the principle

Watch cause become a PLC signal

Follow the physical event through the sensing element and into the exact controller value.

Signal story / live loop

Ultrasonic Distance Sensor: cause to controller

Paused

Now showingPhysical event

Liquid surface moves → Echo time changes → %IW72 = 2,600 mm

03 / Test and commission it

Commission it on the bench

Move the process, adjust the setpoint, invert the logic and inject faults. Watch the PLC value respond immediately.

Commissioning bench

Ultrasonic Distance Sensor

24 VDC%IW72
9.60 mA
1400 mm
2600 mm

PLC channel

%IW72

RAW 9677

Engineering value

1400 mm

Measured distance

Output logic
Inject a field fault

Channel healthy

Signal is inside the expected operating range

Terminals
Brown +24 VBlue 0 VAnalog OUT

Commissioning note: Keep the target outside the blind zone and avoid angled surfaces that deflect the echo.

Field guide

An ultrasonic sensor measures distance by emitting a burst of high-frequency sound (40-400 kHz, above the range of human hearing) and measuring the time it takes for the echo to return from a target surface. Since the speed of sound in air is approximately 343 m/s, the round-trip time divided by two gives the distance: distance = (time × speed_of_sound) / 2.

The sensor has a blind zone — a minimum distance near the face where the echo returns before the transmitter has switched to receive mode. Typical blind zones are 30-300 mm depending on the model. Targets closer than the blind zone are not detected reliably.

The beam width is another key specification. Wide beams average the return from a larger area, which can give misleading readings when a target has an irregular or angled surface. Narrow-beam models (pencil-beam) are used for precise measurement of irregular objects.

Output options include 4-20 mA (proportional to distance), 0-10 V, or discrete switching (when the target enters a set window). Most modern sensors also offer IO-Link for digital configuration without changing the wiring.

Temperature affects the speed of sound (it increases with temperature by about 0.6 m/s per °C). Premium sensors include a temperature compensation circuit; budget models require an ambient temperature correction factor in the PLC scaling.

Use this when…

  • Measuring fill level in a tank without contacting the liquid
  • Detecting pallet height or stack level on a conveyor
  • Providing distance feedback for a robotic arm or gantry

Where you will see it

Silo level

Ultrasonic sensors mounted at the top of grain silos measure the distance to the grain surface, giving continuous volumetric fill level.

Web tension

Ultrasonic sensors on dancer rollers measure displacement, feeding a PLC PID block that controls unwind brake torque.

PLC wiring reference

Trace the complete electrical path instead of treating the PLC tag as magic. Confirm the device datasheet before wiring real hardware.

  1. 1Brown +24 V
  2. 2Blue 0 V
  3. 3Analog OUT

Commissioning checkpoint

Keep the target outside the blind zone and avoid angled surfaces that deflect the echo.

PLC address
%IW72
Expected signal
Measured distance

Field questions

Frequently asked questions

What signal does a Ultrasonic Distance Sensor send to a PLC?

Measured distance is read at %IW72. The exact electrical connection is Brown +24 V, Blue 0 V, Analog OUT.

How do you commission a Ultrasonic Distance Sensor?

Keep the target outside the blind zone and avoid angled surfaces that deflect the echo.

Next skill

Connect it to PLC logic

Unlock PLC integration challenges

Create a free account to save your progress, then upgrade whenever you are ready to unlock this.

Create free accountSee plans

Free first success

Use the ultrasonic distance sensor signal in PLC logic

Apply the wiring and commissioning model in a scored browser exercise, then save your progress and continue through the recommended path.

No installNo credit cardImmediate pass/fail feedback

Technical reference and worked-example guide

Ultrasonic sensor PLC guide: field reference

Direct answer

The reader can connect range, beam, target and environment to switching or analog evidence and isolate false, missing or unstable readings.

Written for pLC and instrumentation learners applying ultrasonic sensors to level, distance and object-detection tasks.

a technician tracing realistic industrial sensors, signal wiring, PLC inputs and measured trends at an instrumentation learning bench while studying ultrasonic distance and presence sensing for PLC inputs
System map / 02

NODE 01observable

Definition

Target distance, material, angle, size, beam spread, blind zone, range, frequency, temperature, atmosphere, mounting, output type, scaling and update time.

NODE 02observable

Signal path

Acoustic pulse through target reflection and receiver processing to switch or analog output, PLC input, scaled value and independent distance check.

NODE 03observable

Worked example

Stable detection or distance across the declared operating window with recorded repeatability.

NODE 04observable

Limits

Blind zone, angled target, soft surface, foam, turbulence, temperature change, cross-talk, moving target, condensation and lost echo.

NODE 05observable

Common mistake

A target, acoustic, mounting, environmental, device, wiring, input, scaling, timing or interpretation mismatch.

NODE 06observable

Verification

The selected sensor tested on representative targets and conditions with the actual PLC input.

Answer surface / 07

What can an ultrasonic sensor detect?

It can detect many objects or surfaces by reflected sound, but range and stability depend on target geometry, material, environment, blind zone and device specifications.

Why does an ultrasonic level signal jump?

Turbulence, foam, false echoes, mounting, temperature, condensation, obstruction or scaling can destabilize the measurement; preserve raw and process evidence.

Real ultrasonic distance sensor footage

See this exact skill in the working simulator.

Watch the real browser product respond to the task on this page, then try the same practical workflow yourself. No slides, concept mockups, install, or credit card.

Try this in the browser
Ultrasonic Sensor — Echo Timing, Dead Band and PLC Scaling