Miniature Ultrasonic Sensors with TEACH-Mode Programming
Features
Fast, easy-to-use TEACH-Mode programming; no potentiometer adjustments
Ultra-compact housing
One discrete output: NPN or PNP, depending on model
Two bi-colored status LEDs
Rugged encapsulated version for harsh environments
Choose 2 meter or 9 meter unterminated cable, 4-pin Euro-style or 4-pin Pico-style QD
connectors (either integral or with 150 mm pigtail)
Wide operating range of -20° to +60° C (-13° to +140° F)
Temperature compensation
Configurable for normally open or normally closed operation
Fast response time (15 milliseconds)
Models
Models Sensing
Range TEACH Option Cable* Supply Voltage Output
QS18UNA
50 mm to
500 mm
(2 in to 20
in)
Integral push button or remote
TEACH (IP67, NEMA 6P) 4-wire, 2 m (6.5
ft) cable with
shield
12-30V dc
NPN
QS18UPA PNP
QS18UNAE Remote TEACH (epoxy-encapsula-
ted, IP68, NEMA 6P)
NPN
QS18UPAE PNP
Overview
Figure 1. Sensor features
1Green: Power Indicator
2Yellow: Light Sensed Indicator
3Cutoff Point Adjustment Screw
WORLD-BEAM QS18U Ultrasonic Sensors
P/N 119287 Rev. F 2/12/2013
0 119287 2
Sensor Installation
Figure 2. Required Orientation of Object to Sensor
Principles of Operation
Ultrasonic sensors emit one or multiple pulses of ultrasonic energy, which travel through the air at the speed of sound. A portion of this
energy reflects off the target and travels back to the sensor. The sensor measures the total time required for the energy to reach the
target and return to the sensor. The distance to the object is then calculated using the following formula:
D = ct
2
D = distance from the sensor to the target
c = speed of sound in air
t = transit time for the ultrasonic pulse
To improve accuracy, an ultrasonic sensor may average the results of several pulses before outputting a new value.
Temperature Effects
The speed of sound is dependent upon the composition, pressure and temperature of the gas in which it is traveling. For most ultrasonic
applications, the composition and pressure of the gas are relatively fixed, while the temperature may fluctuate.
In air, the speed of sound varies with temperature according to the following approximation:
In metric units:
Cm/s = 20 273 + TC
In English units:
ft/s = 49 460 + TF
C
Cm/s = speed of sound in meters per second Cft/s = speed of sound in feet per second
TC = temperature in °C TF = temperature in °F
Temperature Compensation
Changes in air temperature affect the speed of sound, which in turn affects the distance reading measured by the sensor. An increase in
air temperature shifts both sensing window limits closer to the sensor. Conversely, a decrease in air temperature shifts both limits farther
away from the sensor. This shift is approximately 3.5% of the limit distance for a 20° C change in temperature.
The QS18U series ultrasonic sensors are temperature compensated This reduces the error due to temperature by about 90%. The sen-
sor will maintain its window limits to within 1.8% over the -20° to +60° C (−4° to +140° F) range.
WORLD-BEAM QS18U Ultrasonic Sensors
2 www.bannerengineering.com - tel: 763-544-3164 P/N 119287 Rev. F
NOTE:
Exposure to direct sunlight can affect the sensor’s ability to accurately compensate for changes in temper-
ature.
If the sensor is measuring across a temperature gradient, the compensation will be less effective.
The temperature warmup drift upon power-up is less than 7% of the sensing distance. After 5 minutes, the
apparent switchpoint will be within 0.6% of the actual position. After 25 minutes, the sensing position will
be stable.
Sensor Programming
Push Button
(IP67 models only)
Yellow/Red
TEACH/Output
Indicator LED
Green/Red
Power/Signal
Strength LED
Figure 3. Sensor Features
Two TEACH methods may be used to program the sensor:
Teach individual minimum and maximum limits, or
Use Auto-Window feature to center a sensing window around the taught position
The sensor may be programmed either via its push button, or via a remote switch. Re-
mote programming also may be used to disable the push button, preventing unauthor-
ized personnel from adjusting the programming settings. To access this feature, connect
the white wire of the sensor to 0V dc, with a remote programming switch between the
sensor and the voltage.
Programming is accomplished by following the sequence of input pulses (see programming procedures starting on page 4). The duration
of each pulse (corresponding to a push button “click”), and the period between multiple pulses, are defined as “T”:
0.04 seconds < T < 0.8 seconds
Minimum
Operating
Range
Near
Setpoint
Far
Setpoint
Maximum
Operating
Range
Target
Target
Target
Target
Dead Zone
Output
Power Output
Power Output
Power
ON:
Green
OFF
Output
Power
OFF ON:
Green
ON:
Yellow
ON:
Green
OFF ON:
Red
OFF
Figure 4. TEACH Interface
Status Indicators
Power ON/OFF
LED
Indicates Output/Teach LED Indicates
OFF Power is OFF OFF Target is outside window limits (normally open
operation).
ON Red Target is weak or outside sensing
range.
Yellow Target is within window limits (normally open op-
eraton).
WORLD-BEAM QS18U Ultrasonic Sensors
P/N 119287 Rev. F www.bannerengineering.com - tel: 763-544-3164 3
Power ON/OFF
LED
Indicates Output/Teach LED Indicates
ON Green Sensor is operating normally, good
target.
ON Red (solid) In Teach Mode, waiting for first limit.
ON Red (flashing) In Teach Mode, waiting for second limit.
Teaching Minimum and Maximum Limits
General Notes on Programming
The sensor will return to RUN mode if the first TEACH condition
is not registered within 120 seconds.
After the first limit is taught, the sensor will remain in PROGRAM
mode until the TEACH sequence is finished.
To exit PROGRAM mode without saving any changes, press and
hold the programming push button > 2 seconds (before teaching
the second limit). The sensor will revert to the last saved limits.
Output OFF Output ON Output OFF
Minimum
Limit
Maximum
Limit
Output ON Output ONOutput OFF
Minimum
Limit
Maximum
Limit
Normally Closed Operation
Normally Open Operation
Figure 5. Teaching independent minimum and maximum
limits
Procedure Result
Push Button
0.04 seconds ≤ "Click" ≤ 0.8 seconds
Remote Line
0.04 sec < T < 0.8 sec
Program-
ming Mode
Press and hold push but-
ton
No action required; sensor is ready
for 1st limit teach
Output LED: ON Red
Power LED: ON Green (good
signal) or ON Red (no signal)
Teach First
Limit
Position the target for the
first limit
Position the target for the first limit Power LED: Must be ON
Green
"Click" the push button Single-pulse the remote line
T
Teach Accepted
Output LED: Flashing Red
Teach Unacceptable
Output LED: ON Red
Teach Sec-
ond Limit
Position the target for the
second limit
Position the target for the second limit Power LED: Must be ON
Green
"Click" the push button Single-pulse the remote line
T
Teach Accepted
Output LED: Yellow or OFF
Teach Unacceptable
Output LED: Flashing Red
WORLD-BEAM QS18U Ultrasonic Sensors
4 www.bannerengineering.com - tel: 763-544-3164 P/N 119287 Rev. F
Teaching Limits Using the Auto-Window Feature
Output OFF Output ON Output OFF
Position
- 10 mm
Position
+ 10 mm
Position
- 10 mm
Taught Position
Output ON Output ON
Output OFF
Taught Position
Normally Closed Operation
Normally Open Operation
Position
+ 10 mm
Figure 6. Using the Auto-Window feature for programming
each output
Teaching the same limit twice automatically centers a 20 mm win-
dow on the taught position.
General Notes on Programming
The sensor will return to RUN mode if the first TEACH condi-
tion is not registered within 120 seconds.
After the first limit is taught, the sensor will remain in PRO-
GRAM mode until the TEACH sequence is finished.
To exit PROGRAM mode without saving any changes, press
and hold the programming push button > 2 seconds (before
teaching the second limit). The sensor will revert to the last
saved program.
Procedure Result
Push Button
0.04 seconds ≤ "Click" ≤ 0.8 seconds
Remote Line
0.04 sec < T < 0.8 sec
Program-
ming Mode
Press and hold push but-
ton
No action required; sensor is ready
for 1st limit teach
Output LED: ON Red
Power LED: ON Green (good
signal) or ON Red (no signal)
Teach First
Limit
Position the target for the
first limit
Position the target for the center of
the window
Power LED: Must be ON
Green
"Click" the push button Single-pulse the remote line
T
Teach Accepted
Output LED: Flashing Red
Teach Unacceptable
Output LED: ON Red
Re-Teach
Limit
Without moving the tar-
get, "click" the push but-
ton again
Without moving the target, single-
pulse the remote line again
T
Teach Accepted
Output LED: Yellow or OFF
Teach Unacceptable
Output LED: Flashing Red
WORLD-BEAM QS18U Ultrasonic Sensors
P/N 119287 Rev. F www.bannerengineering.com - tel: 763-544-3164 5
Figure 7. An application for the Auto-Window feature (retroflective mode)
Normally Open / Normally Closed Operation Select
The sensor can be configured for either normally open or normally closed operation via the remote teach wire (white). A series of three
pulses on the line will toggle between normally open and normally closed operation. Normally open is defined as the output energizing
when the target is present. Normally closed is defined as the output energizing when the target is absent. See Figures 5 and 6.
Procedure Result
Push Button
0.04 seconds ≤ "Click" ≤ 0.8 seconds
Remote Line
0.04 sec < T < 0.8 sec
Toggle be-
tween
N.O. / N.C.
Operation
Not available via push
button
Triple-pulse the remote line
T T
T
T
T
Either Normally Open or Nor-
mally Closed operation is selec-
ted, depending on previous
condition.
Push Button Lockout
Enables or disables the push button to prevent unauthorized personnel from adjusting the program settings.
Procedure Result
Push Button
0.04 seconds ≤ "Click" ≤ 0.8 seconds
Remote Line
0.04 sec < T < 0.8 sec
Push But-
ton Lock-
out
Not available via push
button
Four-pulse the remote line
T T
TTT
T T
Push buttons are either ena-
bled or
disabled, depending on condi-
tion.
WORLD-BEAM QS18U Ultrasonic Sensors
6 www.bannerengineering.com - tel: 763-544-3164 P/N 119287 Rev. F
Specifications
Supply Voltage
12 - 30V dc (10% maximum ripple); 25 mA max (exclu-
sive of load)
Supply Protection Circuitry
Protected against reverse polarity and transient voltag-
es
Output Configuration
SPST solid-state switch conducts when target is
sensed within sensing window; one NPN (current sink-
ing) or one PNP (current sourcing), depending on mod-
el.
Rating: 100 mA maximum load; see Application Note 1
Off-state leakage current: less than 10 µA (sourcing);
less than 200 µA (sinking); see Application Note 2
ON-state saturation voltage: NPN: less than 1.6V @
100 mA; PNP: less than 3.0V @ 100 mA
Output Response
NOTE: 300 ms delay on power-up; output does not
conduct during this time
15 milliseconds
Repeatability
0.7 mm
Indicators
Range Indicator (Red/Green) and Teach/Output In-
dicator (Yellow/Red)
Range Indicator: Green - Target is within sensing
range; Red - Target is outside sensing range; OFF -
Sensing Power is OFF
Teach/Output Indicator: Yellow - Target is within
taught limits; OFF - Target is outside taught window
limits; Red - Sensor is in TEACH mode
Adjustments
Sensing Window Limits: TEACH-mode programming of
near and far window limits may be set using the push
button or remotely via TEACH input
Construction
ABS housing, TPE Push Button, ABS Push Button
housing, Polycarbonate lightpipes, leakproof design
Connections
2 m (6.5 ft) or 9 m (30 ft) 4-conductor PVC jacketed at-
tached cable, or 4-pin Euro-style integral QD (Q8), or
4-pin Pico-style integral QD (Q7), or 4-pin Euro-style
150 mm (6 in) pigtail QD (Q5), or 4-pin Pico-style 150
mm (6 in) pigtail QD (Q)
Operating Conditions
Relative Humidity: 100% @ 55° C (non-condensing)
Temperature: − 20° to + 60° C (− 4° to + 140° F)
Application Notes
If supply voltage is > 24V dc, derate maximum output
current 5 mA/°C above 50°C.
NPN off-state leakage current is < 200 µA for load re-
sistances > 3 kΩ or optically isolated loads. For load
current of 100 mA, leakage is < 1% of load current.
Objects passing inside the specified near limit may pro-
duce a false response.
Certifications
Sensor Response Curves
QS18U Effective Beam Pattern (Typical) QS18U Maximum Target Rotation Angle
Lateral Distance (mm)
-20
-10
-30
-40
10
20
0
30
40
50
-50
0 200100 300 400 500
Sensing Distance (mm) 2.5 mm rod
8 mm rod
50 mm x 50 mm plate
Target Rotation
Sensing Distance (mm)
-5°
-10°
-15°
0
10°
15°
0 100 200 300 400 500
Dimensions
WORLD-BEAM QS18U Ultrasonic Sensors
P/N 119287 Rev. F www.bannerengineering.com - tel: 763-544-3164 7
Cabled Models Pico-Style QD Models Euro-Style QD Models
15.0 mm
(0.59")
33.5 mm
(1.32")
3 mm
(0.12")
17.1 mm
(0.67")
24.1 mm
(0.95")
35.0 mm
(1.38")
M18 x 1 Thread
Max. Torque 2.3 Nm (20 in-lbs)
ø 3.3 mm (0.13")
Max. Torque 0.6 Nm (5 in-lbs)
150 mm (6")
Pico-style
Pigtail
41.5 mm
(1.63")
Integral
4-pin
Pico-Style QD
150 mm (6")
Euro-style
Pigtail
49 mm
(1.93")
Integral
4-pin
Euro-Style QD
Locknut (included with all models) Washer (included with all models)
8.0 mm
(0.32")
24.2 mm
(0.95")
1.6 mm
(0.06")
Ø 17.8 mm
(0.70")
Ø 23.9 mm
(0.94")
M3 Hardware Packet Contents:
2 – M3 x 0.5 x 20 mm SS Screw
2 – M3 x 0.5 SS Hex Nut
2 – M3 SS Washer
Wiring
NPN (Sinking) Output Models PNP (Sourcing) Output Models
wh
shield
bn
bu
bk
12 - 30V dc
Load
Remote programming
switch (normally open)
wh
bn
bu
bk
12 - 30V dc
Load
Remote programming
switch (normally open)
shield
Cable and QD hookups are functionally identical. It is recommended that the shield wire be connected to earth ground. Shielded
cordsets are recommended for all QD models.
Quick-Disconnect (QD) Cordsets
4-Pin Snap-On M8/Pico-Style Cordsets with Shield
Model Length Style Dimensions Pinout
PKG4S-2 2.00 m (6.56 ft) Straight
ø10 mm max.
(0.4")
28 mm max.
(1.1")
4
31
2
1 = Brown
2 = White
3 = Blue
4 = Black
WORLD-BEAM QS18U Ultrasonic Sensors
8 www.bannerengineering.com - tel: 763-544-3164 P/N 119287 Rev. F
4-Pin Snap-On M8/Pico-Style Cordsets with Shield
Model Length Style Dimensions Pinout
PKW4ZS-2 2.00 m (6.56 ft) Right Angle
20 mm
(0.8")
25 mm max.
(1.0")
ø12 mm max.
(0.5")
4-Pin Threaded M12/Euro-Style Cordsets with Shield
Model Length Style Dimensions Pinout
MQDEC2-406 1.83 m (6 ft) Straight
M12 x 1
ø 15 mm
(0.6")
44 mm max.
(1.7")
2
3
4
1
1 = Brown
2 = White
3 = Blue
4 = Black
MQDEC2-415 4.57 m (15 ft)
MQDEC2-430 9.14 m (30 ft)
MQDEC2-406RA 1.83 m (6 ft) Right-Angle
32 Typ.
[1.26"]
30 Typ.
[1.18"]
ø 14.5 [0.57"]
M12 x 1
MQDEC2-415RA 4.57 m (15 ft)
MQDEC2-430RA 9.14 m (30 ft)
Mounting Brackets
SMB18A
Right-angle mounting bracket with a
curved slot for versatile orientation
12-ga. stainless steel
18 mm sensor mounting hole
Clearance for M4 (#8) hardware
SMBQS18RA Right-angle mounting bracket
14-ga. 304 stainless steel
SMB18SF
18 mm swivel bracket with M18 x 1 in-
ternal thread
Black thermoplastic polyester
Stainless steel swivel locking hardware
included
SMB18UR 2-piece universal swivel bracket
300 series stainless steel
WORLD-BEAM QS18U Ultrasonic Sensors
P/N 119287 Rev. F www.bannerengineering.com - tel: 763-544-3164 9
Stainless steel swivel locking hardware
included
Mounting hole for 18 mm sensor
Banner Engineering Corp Limited Warranty
Banner Engineering Corp. warrants its products to be free from defects in material and workmanship for one year following the date of
shipment. Banner Engineering Corp. will repair or replace, free of charge, any product of its manufacture which, at the time it is returned
to the factory, is found to have been defective during the warranty period. This warranty does not cover damage or liability for misuse,
abuse, or the improper application or installation of the Banner product.
THIS LIMITED WARRANTY IS EXCLUSIVE AND IN LIEU OF ALL OTHER WARRANTIES WHETHER EXPRESS OR IMPLIED (IN-
CLUDING, WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE), AND
WHETHER ARISING UNDER COURSE OF PERFORMANCE, COURSE OF DEALING OR TRADE USAGE.
This Warranty is exclusive and limited to repair or, at the discretion of Banner Engineering Corp., replacement. IN NO EVENT SHALL
BANNER ENGINEERING CORP. BE LIABLE TO BUYER OR ANY OTHER PERSON OR ENTITY FOR ANY EXTRA COSTS, EXPEN-
SES, LOSSES, LOSS OF PROFITS, OR ANY INCIDENTAL, CONSEQUENTIAL OR SPECIAL DAMAGES RESULTING FROM ANY
PRODUCT DEFECT OR FROM THE USE OR INABILITY TO USE THE PRODUCT, WHETHER ARISING IN CONTRACT OR WAR-
RANTY, STATUTE, TORT, STRICT LIABILITY, NEGLIGENCE, OR OTHERWISE.
Banner Engineering Corp. reserves the right to change, modify or improve the design of the product without assuming any obligations or
liabilities relating to any product previously manufactured by Banner Engineering Corp.
WORLD-BEAM QS18U Ultrasonic Sensors
www.bannerengineering.com - tel: 763-544-3164