
Rockwell Automation Publication 45DMS-IN001A-EN-P - August 2018
5
PHOTOSWITCH Distance Measurement Sensor
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
indicator.
The sensor retains the setting per the last button depression and returns
to the run mode 10 seconds after the last button is depressed.
Output Type Selection: Auto PNP/NPN, Dedicated NPN,
Dedicated PNP
The default setting is Auto PNP/NPN. The sensor monitors the load
connection and automatically configures for the proper operation, for
example, PNP or NPN. If no load is connected, the sensor defaults to
PNP.
The following applications are covered with dedicated PNP or
dedicated NPN selection.
1. Parallel wiring of multiple sensor outputs: select dedicated PNP
or dedicated NPN setting, as needed.
2. Select dedicated NPN if the load is connected to another
power supply than the power used for the sensor.
Selection can be made as follows.
1. To access output type: Press and hold the push button for 12
seconds (until both indicators start flashing synchronously). At
the release of the button, the slow flashing of the indicator (or
indicators) shows the current setting of the output type as
follows:
a. Auto PNP/NPN: Both indicators flashing (synchronously)
b. Dedicated NPN: Green indicator flashing
c. Dedicated PNP: Orange indicator flashing
2. To change output type: To select desired type, press and release
the push button within 10 seconds. Each press of the button
cycles to the next output setting. The indicators show the type
that is selected. The sensor retains the setting per the last button
depression and returns to the run mode 10 seconds after the last
button is pressed.
Push Button Lock/Unlock
The push button or remote teach (RT) can be used to stop
unauthorized users from changing teach settings.
Permanent lock: The push button is permanently locked by connecting
the white wire (pin 2) to -V. To unlock the push button, disconnect the
white wire (pin 2) on the catalog number 45DMS-B8LAT1-D4 sensor
or the gray wire (pin 5) on the catalog number 45DMS-B8LGT1-D5
sensor.
Remote Teach (RT)
The sensor can be taught remotely via the gray wire (pin 5). Connection
to -V acts the same as the button being pressed and no connection is the
same as the button not being pressed. The sensor can be taught by
following the same teach/timing sequence as used in the push button
teach. For example:
• Connect to the +V for more than three seconds to teach the
“target,”
• Disconnect from the +V,
• Remove the target and connect to the -V for less than one
second to teach the second condition. See
for additional information.
All push button functions can be implemented via Remote Teach.
Factory Default Settings
To reset the sensor configuration to the factory default settings, the
operator has to perform the following steps:
1. Remove power to the unit by unplugging the cordset
2. Press the Q or Q
A
buttons
3. With the Q or Q
A
buttons pressed, plug in the cordset that
provides power to the sensor. Keep the button pressed for at
least 10 seconds until both LEDs on the unit blink
simultaneously 3 times.
Wiring Diagrams
The quick-disconnect connector is shown
. The pin numbers
correspond to the male connectors on the sensor.
Figure 7 - Micro (M12) Male QD Pigtail/Male QD (5-pin)
Figure 8 - Micro (M12) Male QD Pigtail/Male QD (4-pin)
Figure 9 - Approximate Dimensions [mm (in.)]
-U
B
3 BU
Q
1
/IO-Link 4 BK
IN
5 GY
-
+U
B
Q
2
1
2
BN
WH
+
Auto-Detect
-U
B
3 BU
Q
1
/IO-Link 4 BK
IN
5 GY
-
+U
B
Q
2
1
2
BN
WH
+
Auto-Detect
5
4
3
1
2
B
INPUT
Q/IO-Link
-U B
4 BK
3 BU
+
-
+U
Auto-Detect
2 WH
1
BN
4
3
1
2
50.08 (1.97)
23 (0.90)
4.3 (0.17)
Teach-in
LED 1
LED 2
5.8 (0.23)
Receiver
Emitter
8.6
(0.34)
M12x1
28.4
(1.12)
44
(1.73)
46
(1.81)
50
(1.97)
13.95
(0.55)
16 (0.63)