Difficulty: Moderately Easy
Things You’ll Need:
- 3 wire sensor (DC voltage)
- digital multimeter
Step1
Set the multi meter to DC voltage. This is indicated by either the letters "VDC" or "DCV" or by a symbol which looks like 3 dashed lines over a solid line. There are usually several levels within the DC voltage setting. Choose the "600" level.
Step2
The power will need to be ON to perform this test, so use caution when attempting the following. Connect two of the sensor wires to the power supply. If the color combination of the wires is blue, black, and brown, then normally, the blue wire connects to 0v and the brown wire connects to positive volts. Touch the black meter probe to the 0V wire of the sensor. Connect the red meter probe to the signal output wire of the sensor. This wire is normally black. The meter should read "0."
Step3
Force the sensor to output. If it is a photoelectric sensor, block the photoelectric beam. If it is an inductive proximity switch, introduce a small piece of metal in front of the sensor. For an ultrasonic sensor or a capacitive sensor, you can just use your hand to make the sensor output. Be sure that the sensor is detecting the object. Many sensors have a small LED that illuminates when the sensor detects it's target.
Step4
Watch the meter display as you force the sensor to output. If the readout changes to a number between 10 and 30, then the sensor output is a PNP type, also known as "sourcing." If the meter display remains at "0", then the sensor output is an NPN type, also known as "sinking."
Step5
If you believe that the sensor is NPN, there is an additional test that may be done to confirm. Remove the meter probes from the wires. Now place the red meter probe on the positive voltage sensor wire, normally a brown wire. Touch the black meter probe to the signal output wire of the sensor, normally black. When the sensor does not detect it's target, the meter display should read between 10 and 30. When the sensor senses an object, the display should drop to "0." This will confirm that the sensor has an NPN type output.