
4Rockwell Automation Publication 45DMS-IN001B-EN-P - November 2020
PHOTOSWITCH Distance Measurement Sensor Installation Instructions
Background-reflection Mode Precision Teach
The 45DMS sensor 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 3 seconds until the orange and green
status indicators start to flash 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 3 seconds until
the orange and green status indicators start to flash intermittently. Release the
button. Press the button again for less than 1 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 Q button for 10 seconds until the green status indicator starts to
flash. Release the button. The orange status indicator shows the current setting:
• L.O.: Orange status indicator ON
• D.O.: Orange status indicator OFF
To Change the Sensor Output Mode Setting
Press and release the button for less than 1 second within 10 seconds to toggle
from L.O. to D.O., the selection indicated by the orange status indicator.
The sensor retains the setting per the last press of the button and returns to the
run mode 10 seconds after the last button press.
Invert Analog Output (45DMS-B8LGT1-D5 Only)
The default setting of the analog output QAis Positive Slope, which means that the
analog value for the near distance starts at 4 mA/0.1V while the far distance ends
at 20mA/10V. If the application requires a Negative Slope, the analog near distance
starts at 20mA/10V while the analog far distance ends at 4 mA/0.1V
To invert the analog output, follow these steps:
1. Press and hold the QAbutton for 10 seconds until the green and orange
status indicators start to flash asynchronously. Release the button.
The orange status indicator shows the current setting:
• Green status indicator flashing: Positive slope
• Orange status indicator: Solid ON
2. To Invert the Analog Output, press and release the QAbutton for less than
1 second within 10 seconds to toggle from Positive Slope to Negative Slope,
the selection indicated by the orange status indicator. The orange status
indicator is OFF when negative slope is selected.
3. The sensor retains the setting per the last press of the button and returns
to the run mode 10 seconds after the last button press.
Change Analog Output from Current to Voltage
(45DMS-B8LGT1-D5 Only)
The default setting of the analog output QAis analog current 4…20mA. If the
application requires analog voltage, you can change the analog output to operate
from 0…10V by following these steps:
1. Press and hold the QAbutton for 13 seconds until the green and orange
status indicators start to flash simultaneously. Release the button.
The orange status indicator shows the current setting:
• Orange status indicator flashing: Current output
• Green status indicator: OFF
2. To change the analog output to 0…10V, press and release the button for
less than 1 second within 10 seconds to toggle from 4…20 mA to 0…10V, the
selection indicated by the orange status indicator. The orange status
indicator flashes green when analog voltage is selected.
3. The sensor retains the setting per the last press of the button and returns
to the run mode 10 seconds after the last button press.
Teach 1 = Teach 2
Teach 1 = Teach 2
Measurement range
Q
Q
QA
ZoneA
High
Low
High
Low
3.6 mA / 0.06V
4 mA / 0.01V
20 mA / 10V
21 mA / 11V
12 mA / 5V