
4
Rockwell Automation Publication 45DMS-IN001A-EN-P - August 2018
PHOTOSWITCH Distance Measurement Sensor
Teach Discrete Output (Q)
1. Teach far distance (first condition): Place the target at the
desired far distance. Press and hold the Q button for three
seconds until the orange and green indicator start blinking
intermittently. Release the button. The first condition has been
taught.
2. Teach near distance (second condition): Place the target at the
desired near distance. Press and release the button. The teach
process is complete.
Teach Analog Output (Q
A
)
1. Teach far distance (first condition): Place the target at the
desired far distance. Press and hold the Q
A
button for three
seconds until the orange and green indicator start blinking
intermittently. Release the button. The first condition has been
taught.
2. Teach near distance (second condition): Place the target at the
desired near distance. Press and release the button. The teach
process is complete.
If the push button is not pressed within 30 seconds, the sensor exits
teach mode and returns to run mode without learning the new setting.
Figure 5 - Discrete Output – Window Mode – Negative Slope
Background-reflection Mode Precision Teach
The 45DMS requires the equivalent of precision teach (which teaches
the background twice) to achieve operation as a background reflection
sensor. When operating in background reflection mode, the sensor
detects the presence of a target when the optical path between the
background and the sensor is interrupted. This sensing mode requires a
minimum separation of at least 60 mm (2.35 in.).
1. Teach the target (first condition): Place the target at the desired
distance. Press and hold the push button for three seconds until
the orange and green indicator start blinking intermittently.
Release the button. The first condition has been taught.
2. With the target still in the field of view of the sensor, press and
release the push button. The teach process is complete. The
sensor is now configured to detect objects up to the maximum
taught distance with a maximum hysteresis of 60 mm (2.35 in.).
If the push button is not pressed within 30 seconds, the sensor exits
teach mode and returns to run mode without learning the new setting.
Figure 6 - Precision Teach Operation
Teach the Sensor
Align the sensor to the background. Press and hold the button for three
seconds until the orange and green indicator start blinking
intermittently. Release the button. Press the button again for less than
one second. The sensor has been taught.
Teach Light Operate (L.O.) or Dark Operate (D.O.)
The default setting of the output is light operate (L.O.). The L.O.
setting means that output turns ON when the target is detected. If the
application requires the output to turn OFF when the target is detected,
change the setting to dark operate (D.O.).
To Access the Teach Output Mode Settings
Press and hold the button for 10 seconds until the green indicator starts
flashing. Release the button. The orange indicator shows the current
setting:
• L.O.: Orange indicator ON
• D.O.: Orange indicator OFF
Teach 1
Teach 2
Teach 1
Teach 2
Q
Q
Q A
High
Low
High
Low
3.6 mA / 0.06 V
4 mA / 0.09 V
20 mA / 10 V
21.1 mA / 11 V
Teach 1 = Teach 2
Teach 1 = Teach 2
Q
Q
Q A
Zone A
High
Low
High
Low
3.6 mA / 0.06 V
4 mA / 0.09 V
20 mA / 10 V
21.1 mA / 11 V
12 mA / 5 V