CP/OCP Series High Performance Distance Sensor
“
Specifications
- Product Name: High-Performance Distance Sensor
- Model Numbers: CP08MHT80, OCP801H0180, CP24MHT80, OCP162H0180,
CP35MHT80, OCP352H0180 - Laser Class: 1 (EN 60825-1) and Class 2 (EN 60825-1)
- Working Range: Varies per model
- Measuring Range: Varies per model
- Reproducibility: 1 Sigma
- Reference Material: Kodak white 90% remission
Product Usage Instructions
1. Proper Use
Ensure the distance sensor is used according to the guidelines
provided in the manual.
2. Safety Precautions
2.1 Safety Precautions
Observe all applicable standards and safety precautions during
operation.
2.2 Laser/LED Warning
Follow laser warnings and do not stare into the beam. Attach and
keep laser warning labels visible at all times.
2.3 Approvals and IP Protection
Ensure the sensor has the necessary approvals and IP protection
for safe usage.
3. Technical Data
Refer to the technical data provided for details on working
range, measuring range, and reproducibility.
4. Installation Instructions
Follow the installation instructions provided in the manual for
proper setup.
5. Initial Operation
Perform initial operations as per the instructions to ensure
correct functionality.
6. Function
Understand the function of the distance sensor for effective
use.
7. Adjustment
7.1 Manual Adjustments
Manually adjust settings as required based on the operational
needs.
7.2 Special Settings
Explore and configure special settings for specific
applications.
7.3 Settings and Queries via the RS-232 Interface
Utilize the RS-232 interface for setting adjustments and
queries.
8. Maintenance Instructions
Follow maintenance instructions to keep the distance sensor in
optimal condition.
9. Proper Disposal
Dispose of the sensor properly following environmental
guidelines.
10. EU Declaration of Conformity
Ensure compliance with EU Declaration of Conformity
regulations.
Frequently Asked Questions (FAQ)
Q: How do I adjust the measurement range?
A: To adjust the measurement range, use the Teach function on
the control panel as described in the manual.
Q: What should I do if the error output LED is lit?
A: Check for any errors in operation or connections and refer to
the manual for troubleshooting steps.
“`
EN
CP08MHT80 OCP801H0180 CP24MHT80 OCP162H0180 CP35MHT80 OCP352H0180
High-Performance Distance Sensor
Operating Instructions
Translation of the Original Operating Instruction Subject to change without notice Available as PDF version only Status: 13.05.2025 www.wenglor.com
Index
1. Proper Use
3
2. Safety Precautions
3
2.1. Safety Precautions
3
2.2. Laser/LED warning
3
2.3. Approvals and IP Protection
4
3. Technical Data
5
3.1. Complementary Products (see catalog)
7
3.2. Connection Diagram
7
3.3. Housing Dimensions
7
3.4. Control Panel
8
4. Installation Instructions
8
5. Initial Operation
8
6. Function
8
7. Adjustment
9
7.1. Manual Adjustments
9
7.2. Special Settings
12
7.3. Settings and Queries via the RS-232 interface
13
8. Maintenance Instructions
19
9. Proper Disposal
19
10. EU Declaration of Conformity
19
2
1. Proper Use
High performance distance sensors which use the principle of angle measurement determine the distance between the sensor and the object. These sensors have small working ranges (under 1 m) and recognize objects with high precision. Some sensors use a high-resolution CMOS line array and DSP signal processing. The color, shape and texture of the objects to be recognized does not affect the sensors’ measurements. Even dark objects can be reliably detected against a bright background. They can be operated with very high speeds or very high resolutions. The measured value can be output as an analog value or via the interfaces. Furthermore, Teach-In, filter functions for adjusting a switching output, and an error output are available. The measuring range can be selected individually within the working range.
2. Safety Precautions
2.1. Safety Precautions
· This operating instruction is part of the product and must be kept during its entire service life. · Read this operating instruction carefully before using the product. · Installation, start-up and maintenance of this product has only to be carried out by trained personnel. · Tampering with or modifying the product is not permissible. · Protect the product against contamination during start-up. · Not a safety component in accordance with the EU Machinery Directive.
2.2. Laser/LED warning
LASER CLASS 1 EN 60825-1:2014
Class Laser 1 (EN 60825-1) Observe all applicable standards and safety precautions.
LASER 2
EN60825-1: 2014 Pp< 1.0 mW, t< 2000 µs, = 620-690 nm
CAUTION
LASER RADIATION DO NOT STARE INTO BEAM
620 – 690 nm < 1mW CLASS 2 LASER PRODUCT
Class Laser 2 (EN 60825-1) Observe all applicable standards and safety precautions. The enclosed laser warning labels must be attached and visible at all time. Do not stare into beam.
CAUTION! Observe all applicable standards and safety precautions. The enclosed laser warning labels must be attached and visible at all time. Do not stare into beam.
High-Performance Distance Sensor
3
2.3. Approvals and IP Protection
4
Safety Precautions
3. Technical Data
Optical Data Working Range Measuring Range Reproducibility maximum Reproducibility: 1 Sigma Linearity Deviation Light Source Wave Length Laser Class Service Life (25 °C) max. Ambient Light Electrical Data Supply Voltage Light Spot Size at begin working range Light Spot Size at end working range Current Consumption (Ub = 24 V) Measuring rate Response Time Response Time (Resolution-Mode) Temperature Drift Temperature Range Analog Output Current Output Load Resistance Analog Output Current Output Load Resistance Voltagedrop PNP-Error Output Switching Current PNP-Error Output Short-Circuit Protection Reverse Polarity Protection Interface Baud Rate Protocol Mechanical Data Adjustment Housing Protection Mode Connection Protection Class FDA Accession Number
Reference material: Kodak white 90 % remission
CP08MHT80
30…80 mm 50 mm 60 µm 20 µm 80 µm Laser (red) 660 nm 2 100000 h 10000 Lux
18…30 V DC 0,5×1 mm 1×2 mm < 80 mA 1500/s 660 µs 1660 µs < 5 µm/°C 25…50 °C 0…10 V < 1 mA 4…20 mA < 500 Ohm < 2,5 V < 200 mA yes yes RS-232 38400 Bd 8 N 1
Teach-In Plastic IP67 M12×1 III 0820588-000
CP24MHT80
40…160 mm 120 mm 250 µm 60 µm 350 µm Laser (red) 660 nm 2 100000 h 10000 Lux
18…30 V DC 0,5×1,2 mm 1×2,5 mm < 80 mA 1500/s 660 µs 1660 µs < 10 µm/°C 25…50 °C 0…10 V < 1 mA 4…20 mA < 500 Ohm < 2,5 V < 200 mA yes yes RS-232 38400 Bd 8 N 1
Teach-In Plastic IP67 M12×1 III 0820589-000
CP35MHT80
50…350 mm 300 mm 1200 µm 400 µm 1000 µm Laser (red) 660 nm 2 100000 h 10000 Lux
18…30 V DC 0,6×1,5 mm 1,5×4 mm < 80 mA 800/s 1250 µs 2500 µs < 25 µm/°C 25…50 °C 0…10 V < 1 mA 4…20 mA < 500 Ohm < 2,5 V < 200 mA yes yes RS-232 38400 Bd 8 N 1
Teach-In Plastic IP67 M12×1 III 0820590-000
High-Performance Distance Sensor
5
Optical Data Working Range Measuring Range Reproducibility maximum
Reproducibility: 1 Sigma
Linearity Deviation Light Source Wave Length Laser Class Service Life (25 °C) max. Ambient Light Electrical Data Supply Voltage Light Spot Size at begin working range Light Spot Size at end working range Current Consumption (Ub = 24 V) Measuring rate Response Time Response Time (Resolution-Mode) Temperature Drift Temperature Range Analog Output Current Output Load Resistance Analog Output Current Output Load Resistance Voltagedrop PNP-Error Output Switching Current PNP-Error Output Short-Circuit Protection Reverse Polarity Protection Interface Baud Rate Protocol Mechanical Data Adjustment Housing Protection Mode Connection Protection Class FDA Accession Number
Reference material: Kodak white 90 % remission
OCP801H0180
30…80 mm 50 mm 60 µm 20 µm 80 µm Laser (red) 660 nm 1 100000 h 10000 Lux
18…30 V DC 0,5×1 mm 1×2 mm < 80 mA 1000/s 1000 µs 2000 µs < 5 µm/°C 25…50 °C 0…10 V < 1 mA 4…20 mA < 500 Ohm < 2,5 V < 200 mA yes yes RS-232 38400 Bd 8 N 1
Teach-In Plastic IP67 M12×1 III 1120734-000
OCP162H0180
40…160 mm 120 mm 250 µm 60 µm 350 µm Laser (red) 660 nm 1 100000 h 10000 Lux
18…30 V DC 0,5×1,2 mm 1×2,5 mm < 80 mA 1000/s 1000 µs 2000 µs < 10 µm/°C 25…50 °C 0…10 V < 1 mA 4…20 mA < 500 Ohm < 2,5 V < 200 mA yes yes RS-232 38400 Bd 8 N 1
Teach-In Plastic IP67 M12×1 III 1120717-000
OCP352H0180
50…350 mm 300 mm 1200 µm 400 µm 1000 µm Laser (red) 660 nm 1 100000 h 10000 Lux
18…30 V DC 0,6×1,5 mm 1,5×4 mm < 80 mA 500/s 2000 µs 4000 µs < 25 µm/°C 25…50 °C 0…10 V < 1 mA 4…20 mA < 500 Ohm < 2,5 V < 200 mA yes yes RS-232 38400 Bd 8 N 1
Teach-In Plastic IP67 M12×1 III 1120723-000
6
Technical Data
3.1. Complementary Products (see catalog)
wenglor offers Connection Technology for field wiring.
Suiting Connection Technology No.
Suiting Mounting Technology No.
Analog Evaluation Unit AW02 Feldbus Gateways ZAGxxxN01 Interface Cable S232W3 Protection Housing Set ZSP-NN-02 Protection Housing ZSV-0x-01
3.2. Connection Diagram
+ V RxD/La TxD O O S
Supply Voltage + Contamination/Error output (NO) RS-232 Receive Line/Emitted light disengageable RS-232 Transmit Line Analogue output Ground for the analogue output Supply Voltage 0 V Shielding
3.3. Housing Dimensions
= Transmitter Diode = Receiver Diode
Screw M4 = 0,5 Nm
High-Performance Distance Sensor
7
3.4. Control Panel
On the control panel you find the Plus key and the Minus key, several LEDs and the rotary selector switch. The rotary selector switch is used for choosing the setting- and operation functions.
I UF
DCM
LCM SCM
RES./SPEED MODE RxD
La MODE
FILTER ADJUST
U/I MODE
TEACH
RESET
RUN
= Minus key (with LED)
+
= Plus key (with LED)
I-LED (yellow)
= Current output
U-LED (yellow)
= Voltage Output. Brightness is proportional to the output voltage
F-LED (rot)
= Error Output
Ý
= Rotary selector switch
RUN
= Sensor operation
TEACH
= Teach measurement range
FILTER ADJUST = Filter adjustment
DCM/SCM/LCM = Switching Default Capture Mode/Short Capture Mode/Long
Capture Mode
RES./SPEED-MODE = Switch Resolution/Speed
RxD/La Mode
= Switching RS-232 Interface/Emitted Light can be switched off
U/I Mode
= Switching 0…10 V/4…20 mA
RESET
= Reset
4. Installation Instructions
During use of the sensors, applicable electrical and mechanical regulations, standards and safety precautions must be adhered to. The sensor has to be protected against mechanical influences. In case of very glossy surfaces the sensor has to be mounted slightly inclined and has to be mounted on a plane surface (approx. 5°), to inhibit a direct reflection of the laser beam into the optics.
5. Initial Operation
Please control the proper connection of all conductors. Impress a supply voltage of 18…30 V DC with ripple of < 10 % (within the indicated voltage range). The settings can be operated either with the RS-232 interface or manually.
6. Function
The sensor uses a high-resolution CMOS line array and DSP technology, virtually eliminating material, color and brightness related measurement value differences. Alternatively high speed (Speed-Mode) or high resolution (Resolution-Mode) are adjustable. Integrated analogue output can be configured for voltage 0…10 V or current 4…20 mA, error output and RS-232 interface, Teach-In, Error Output and filter functions.
8
Installation Instructions
Outputs
Analogue Output The analogue output is connected to analogue earth. The analogue output can be configured as a current output or a voltage output. If you have the choice we recommend the use of the voltage output (reduced current consumption).
The analogue output reads out a standard signal of 0…10 V when configured as a voltage output (see settings). The analogue output reads out a standard signal of 4…20 mA when configured as a current output (see settings).
Analog Output
20mA/10V
d
4mA/0V B
d = working range B =begin working range E = end working range
Object distance E
Error Outputs The PNP error output is switched to positive if no object is detected within the selected working range, or if an error has occurred (e.g. an interrupted conductor at the current output). The red F LED lights up to indicate that the error output has been activated.
RS-232 interface This sensor is equipped with an RS-232 interface for communication with a device such as PC or a controller. Sensor functions can be activated, and scanning results can be acquired via the RS-232 interface.
7. Adjustment
7.1. Manual Adjustments
Reset: · Set the rotary selector switch Ý to RESET · Briefly press the minus-key or the plus-key +
è red F-LED lights up è Delivery status restored (RES. MODE, rising characteristic function, full measuring range, filter func-
tion off.) The adjusted transmission speed (Baud rate) and the setting Current or Voltage Output is not changed by the RESET. · Set the rotary selector switch Ý to RUN
High-Performance Distance Sensor
9
Set Input
The Input can be used as RS-232 Receive Line (RxD), Emitted Light can be switched off at 24 V (La) or Emitted Light can be switched off at 0 V (La) . · Rotary Selector Switch Ý to RxD/La Mode
è The U-LED and I-LED indicate the current configuration. RxD is preset in the delivery status. By pressing
the Plus or the Minus key, the configuration can be changed.
RxD*
U-LED: OFF I-LED: OFF
La
U-LED: ON I-LED: OFF
La
U-LED: OFF I-LED: ON
* Presetting
RxD
U-LED: OFF I-LED: OFF
= Minus Button / LED + = Plus Button / LED RxD = RS-232 Receive Line La = Emitted Light can be switched off at 24 V La = Emitted Light can be switched off at 0 V
· Set the rotary selector switch Ý to RUN
Adjustment of the Output
Configuring the analogue output as a voltage output: · Set the rotary selector switch Ý to U/I MODE
è The red F-LED lights up è If the yellow U-LED lights up: Analogue output presently set to 0…10 V è If the yellow I-LED lights up: Analogue output presently set to 4…20 mA
· Briefly press the plus-key + è The Yellow U-LED lights up: Analogue output reconfigured to 0…10 V (voltage output)
· Set the rotary selector switch Ý to RUN
Configuring the analogue output as a current output: · Set the rotary selector switch Ý to U/I MODE
è The red F-LED lights up è If the yellow U-LED lights up: Analogue output presently set to 0…10 V è If the yellow I-LED lights up: Analogue output presently set to 4…20 mA
· Briefly press the minus-key è The yellow I-LED lights up: Analogue output reconfigured to 4…20 mA (current output)
· Set the rotary selector switch Ý to RUN
Operate the sensor with high resolution (Resolution-Mode)
· Set the rotary selector switch Ý to RES./SPEED-MODE è The red F-LED lights up è The yellow U-LED lights up: Sensor presently set to high speed è The yellow I-LED lights up: Sensor presently set to high Resolution
· Briefly press the minus-key The yellow I-LED lights up: Sensor now operates with high resolution.
· Set the rotary selector switch Ý to RUN
10
Adjustment
Operate the sensor with high speed (Speed-Mode)
· Set the rotary selector switch Ý to RES./SPEED-MODE è The red F-LED lights up è The yellow U-LED lights up: Sensor presently set to high speed è The yellow I-LED lights up: Sensor presently set to high Resolution
· Briefly press the plus-key + The yellow U-LED lights up: Sensor now operates with high speed.
· Set the rotary selector switch Ý to RUN
Adjustment of Measuring Range
You can either adjust the zero point (begin of working range) of the rising characteristic function (vide point A) or you can set the Measuring Range individually by means of the zoom function (vide points B and C). The zoom function is possible for rising and falling characteristic functions. You can restore the the full Measuring Range with Reset.
A) Adjust zero point of the Measuring Range: · Set the rotary selector switch Ý to TEACH
· Press and holt the minus-key until the yellow LEDs blink è yellow LEDs blink è Characteristic curve is now rising with slope over the full measuring range and the selected zero point
· Set the rotary selector switch Ý to RUN
B) Setting the measuring range for a rising characteristic function (Zoom function): · Set the rotary selector switch Ý to TEACH
è red F-LED lights up
· Place the object at the most distant point of the desired working range
· Briefly press the plus-key + è yellow I-LED lights up
· Place the object at the nearest point of the desired working range
· Briefly press the minus-key è yellow LEDs light up: The two points have now been taught in è yellow LEDs do not light up: Teach-In must be repeated because the two points are too close to each other, or they are outside of the measuring range
· Set the rotary selector switch Ý to RUN
C) Setting the measuring range for a falling characteristic function (Zoom function): · Set the rotary selector switch Ý to TEACH
è red F-LED lights up
· Place the object at the most distant point of the desired working range
· Briefly press the minus-key è yellow U-LED lights up
· Place the object at the nearest point of the desired working range
· Briefly press the plus-key + è yellow LEDs light up: The two points have now been taught in è yellow LEDs do not light up: Teach-In must be repeated because the two points are too close to each other, or they are outside of the measuring range
· Set the rotary selector switch Ý to RUN
High-Performance Distance Sensor
11
7.2. Special Settings
Adjusting the filter function: · Set the rotary selector switch Ý to FILTER ADJUST
è The red F-LED lights up è The yellow LEDs are off: Filter function is presently disabled è Yellow LEDs blink once followed by a pause: filter currently set to level 1 (1/4 cut-off frequency) è Yellow LEDs blink twice followed by a pause: filter currently set to level 2 (1/16 cut-off frequency) è Yellow LEDs blink three times followed by a pause: filter currently set to level 3 (1/64 cut-off frequency)
· Briefly press the minus-key 1 to 3 times è The filter level is reduced by one each time the key is pressed è The blinking pattern of the yellow LEDs indicates the newly selected filter level
· Briefly press the plus-key + 1 to 3 times è The filter level is increased by one each time the key is pressed è The blinking pattern of the yellow LEDs indicates the newly selected filter level
· Set the rotary selector switch Ý to RUN
Via the interface other filter levels are adjustable.
Optimize the exposure time The exposure time is adapted automatically by the sensor. In the presetted DCM (Default Capture Mode) the Sensor has a fixed maximal possible Exposure Time. It can be adjusted manually in addition in case of difficult applications.
By means of the LCM (Long Capture Mode) the Exposure Time of the sensor can be elongated for dark or highly glossy objects (e.g. black lack) in order to achieve a more exact measurement. By means of the SCM (Short Capture Mode) the Exposure Time of the sensor can be reduced for dark or highly glossy objects (e.g. black lack) in order to achieve a reduction of the drop down of the Measurement Rate. The shining of the U-LED and the I-LED the current setting is indicated. DCM is preset in delivery status. By pressing of the Plus respectively Minus key the current setting can be changed. · Set the rotary selector switch Ý to DCM/LCM/SCM
LCM
DCM*
U-LED: OFF I-LED: OFF
U-LED: ON I-LED: OFF
SCM
U-LED: OFF I-LED: ON
* Presetting
DCM
U-LED: OFF I-LED: OFF
= Minus Button/ LED + = Plus Button / LED DCM = Default Capture Mode SCM = Short Capture Mode LCM = Long Capture Mode
· Set the rotary selector switch Ý to RUN
12
Adjustment
7.3. Settings and Queries via the RS-232 interface
The interface utilises a software handshake procedure (see protocol specification below). All sensor settings can be selected digitally with a PC, and all values generated by the sensor can be read out at a PC. The RS-232 interface connections RxD (connection 5, grey) and TxD (connection 4, yellow) correspond to minus (connection 3, green) and can be connected to the appropriate connections of the communication partner.
Software Tools: Software for the interface of the CP08 is available. Download address: www.wenglor.com
Interface configuration: Baud rate: 38.400 baud, 8 data bits, no parity, 1 stop bit
Plug connectors of the wenglor® Plug Adapter S232W3: · 8-pin M12 plug connector for connecting the power supply and the outputs · 8-pin M12 socket connector for direct sensor connection · 9-pin M12 sub-miniature socket connector for direct connection to the RS-232 interface at the PC, or the
utilised controller
1) Connect the sensor over the wenglor® Plug Adapter S232W3 with PC, controller etc. Installing the wenglor® Plug Adapter S232W3: · Set the rotary selector switch Ý to RUN · Disconnect the 8-conductor connector cable (S80-xx) from the sensor · Connect the S232W3 plug adapter directly to the sensor · Connect the 8-conductor connector cable (S80-xx) to the plug adapter · Connect the 9-pin sub-miniature socket connector to the serial interface at the PC · Switch the power supply on
Sensor
S232W3 RS-232
PC, Controller
Power Supply Outputs
Connecting the wenglor® sensor to a PCor a controller
2) Procedure of the interface operation: · Set the rotary selector switch Ý to RUN
· To enter or query the sensor settings use the interface commands according to the protocol. Every interface command and every answer of the sensor starts with “/” (ASCII 47) and ends with “.”. (ASCII 46) In case of an incorrect communication, the sensor emits a Negative Acknowledge character (ASCII 21). If a command is not closed with “.”, the sensor remains in wait state and does not give an answer or error message.
· Even with continuous query it should be adhered to a pause of 10 ms between two interface commands.
· Because of the protocol a maximum of 100 measurement values per second can be emitted. In the case of faster applications use the analog output.
High-Performance Distance Sensor
13
Protocol for Communications via the RS-232 Interface
Frame Layout for Data Transmission
Transmitting Partner Characters (ASCII)
Start character
/ (ASCII 47)
=>
Length information 2 Byte
=>
Command bytes
2 Byte
=>
1st data byte
2 Byte
=>
2nd data byte
2 Byte
=>
..
..
=>
nth Data byte
..
=>
Checksum (BCC)
2 Byte
=>
Stop bit
. (ASCII 46)
=>
Receiving Partner Connect Connect
Data information
Data information Data information
Disconnected
Calculating the Checksum BCC (Block Check Character) The Checksum is generated from an EXOR frame operation.
Frame Segment Frame header Frame header Frame header User data User data User data User data Frame end Frame end
Start Character
Length
/
02
2FH
30H 32H
Data used to calculate the checksum
Command 0D 30H 44H
Data 00 30H 30H
Checksum 59 35H 39H
Stop character . 2EH
Calculating Example:
/
2FH = 0010
0
30H = 0011
XOR = 0001
2
32H = 0011
XOR = 0010
0
30H = 0011
XOR = 0001
D
44H = 0100
XOR = 0101
0
30H = 0011
XOR = 0110
0
30H = 0011
XOR = 0101
Program Example:
1111 0000 1111 0010 1101 0000 1101 0100 1001 0000 1001 0000 1001
Start Transmitting Frame = “/020D0059.” (Example) Transmitting Frame Length=10 (in this example);
checksum = 0; n = 1; as long as: n < (Transmitting Frame Lenght – 3)
Checksum = Checksum EXOR Transmitting Frame charakter (n) n = n +1 End
=> Checksum = 59H
14
Adjustment
Adjustments about RS-232 Interface
In the following commands is:
x
= place holder for entered and emitted values
= place holder for the Checksum
Sensor Settings
Reset Function
Reset
Send Frame to the Sensor
/000R4D.
Response Frame from the Sensor
/030R0127D.
Configure Output Function
Configure as voltage output (0…10 V) Configure as current output (4 mA…20 mA)
Send Frame to the Sensor
/020Q004C. /020Q014D.
Choose Resolution/Speed-Mode
Function
Operate sensor with high speed (Speed-Mode) Operate sensor with high resolution (Resolution-Mode)
Send Frame to the Sensor
/020er13B. /020er238.
Adjustment Measuring range Function
Teach-In zero point (0 V, 4 mA) Function
Teach-In measuring range initial point (10 V, 20 mA)
Send Frame to the Sensor /020T0049.
Send Frame to the Sensor /020T0148.
x = 0: x = 1:
Teach-In measuring range: both points acquired Teach-In measuring range: one point still required
Response Frame from the Sensor /030MQ0000. /030MQ0101.
Response Frame from the Sensor /030Mer177. /030Mer274.
Response Frame from the Sensor /030MT00qq. Response Frame from the Sensor /030MTx1qq.
High-Performance Distance Sensor
15
Function Teach-In measuring range initial point (0 V, 4 mA)
Send Frame to the Sensor
/020T024B.
x = 0: x = 1:
Teach-In measuring range: both points acquired Teach-In measuring range: one point still required
Function
Send Frame to the Sensor
Set zero point (0 V, 4 mA)
/060pzxxxxxqq.
xxxxx: zero point distance based on working range start in 1/100 mm
Function
Set measuring range initial point (0 V, 4 mA) xxxxx: initial point 1/100 mm
Send Frame to the Sensor
/060pbxxxxxqq.
Function
Set measuring range end point (10 V, 20 mA) xxxxx: end point 1/100 mm
Send Frame to the Sensor
/060pexxxxxqq.
Special Settings
Set filter function
Function
Send Frame to the Sensor
Set filter
/030FSxxqq.
xx:
Number of measurement values for average calculation
xx = 00: no filter
Optimize the exposure time Function
Set DCM-Mode Set LCM-Mode Set SCM-Mode
Switch Laser Light ON/OFF Function
Activate Laser Light Deactivate Laser Light
Send Frame to the Sensor /020eCD7F. /020eCL77. /020eCS68.
Send Frame to the Sensor /020L0150. /020L0051.
16
Response Frame from the Sensor /030MTx2qq.
Response Frame from the Sensor /070Mpzxxxxxqq.
Response Frame from the Sensor /070Mpbxxxxxqq.
Response Frame from the Sensor /070Mpexxxxxqq.
Response Frame from the Sensor /030MFxxqq.
Response Frame from the Sensor /030MeCD33. /030MeCL3B. /030MeCS24.
Response Frame from the Sensor /020L0150. /020L0051.
Adjustment
Set Delay Time of Contamination Output
Function
Send Frame to the Sensor
Response Frame from the Sensor
Set Delay Time of Contamination Output
/030fgxxqq.
/030fgxxqq.
xx = 00…99 for 1 to 99 measurements until the Error Output reacts in case of errors. The default value is 20. Attention: The duration of cycles of the number of measurements depends on the exposure time, but the delay time cannot be allocated.
Change baud rate The baud rate of the sensor is standardized with 38400 baud. If you want to change the baud rate, proceed as follows. Open your hyper terminal and take the following settings: Baud rate: 38400, Data bit: 8, Stop bit: 1, Parity: none, Flow control: none. In order to change the baud rate, enter the following commands corresponding your desired baud rate.
Function
Baud rate to 9600 baud Baud rate to 19200 baud Baud rate to 38400 baud Baud rate to 57600 baud Baud rate to 115200 baud
Send Frame to the Sensor
/030?BR201. /030?BR300. /030?BR407. /030?BR506. /030?BR605.
The new baud rate is activated after the supply voltage is applied anew.
Response Frame from the Sensor
/030Ade2qq. /030Ade3qq. /030Ade4qq. /030Ade5qq. /030Ade6qq.
Query Sensor values
Function
Single Emission of object distance values xxxxxx: Distance value in µm
Send Frame to the Sensor
/020D0059.
Response Frame from the Sensor
/0B0D00+xxxxxxumqq.
Function
Activate Permanent Emisson of object distance values Emission format like Single Emission.
Send Frame to the Sensor
/020D0p19.
Response Frame from the Sensor
/040D0P:134.
Function
Deactivate Permanent Emission of object distance values
Send Frame to the Sensor
/020D0a08.
Response Frame from the Sensor
/040D0P:035.
High-Performance Distance Sensor
17
Function
Send Frame to the Sensor
Query sensor status for Output, Teach Mode, Filter level and Error status
/000W48.
g = 0: g = 1: t = 0: t = 1: t = 2: ff = 0: e = 0: e > 0:
output status for voltage output output status for current output teach mode zero point teach mode measuring range: one point still required teach mode measuring range: both points still acquired Filter adjustment error status: no errors error status: error
Function
Query taught in values for initial point, if Teach Mode = measuring range xxxxxx: Saved position for 0 V resp. 4 mA in µm
Send Frame to the Sensor
/020Wb31B.
Function
Query taught in values for end point, if Teach Mode = measuring range xxxxxx: Saved position for 10 V resp. 20 mA in µm
Send Frame to the Sensor
/020We31C.
Function
Send Frame to the Sensor
Query taught in values for zero point, if Teach Mode = /020Wn317. zero point
xxxxxx: Saved position for 0 V resp. 4 mA in µm
Function
Query Sensor status Resolution/Speed-Mode
x = 1:
Speed-Mode activated
x = 2:
Resolution-Mode activated
Function
Query number measurement values for continuous average filter
Send Frame to the Sensor /020Wrc5B.
Send Frame to the Sensor /020WF33F
xx:
Number of measurement values for Average Calculation
Response Frame from the Sensor /050Wgtffeqq.
Response Frame from the Sensor /090Wbxxxxxxumqq.
Response Frame from the Sensor /090Wexxxxxxumqq.
Response Frame from the Sensor /090Wnxxxxxxumqq.
Response Frame from the Sensor /030Wrcxqq.
Response Frame from the Sensor /040WF0xxqq.
18
Adjustment
Function
Send Frame to the Sensor
Query Sensor Version
/000V49.
a:
software version. a = 3
bb:
sensor group (2 characters) z. B. bb = 0D
cc:
sensor type (2 characters) z. B. cc = 01
Response Frame from the Sensor
/070V8a:bbccqq.
Special queries
Query object distance binary Differing from the usual query of sensor values via the protocol it is also possible to query the object distance faster through binary data. Send a “#” sign to the sensor, then the currentjy measured distance value is emitted in a binary form.
Function
Emit object distance in binary form (Output value in 1/100 mm)
Send Frame to the Sensor
#
Response Frame from the Sensor
#, 16 bit binary value, e.g. #©J (means 7,69 mm
object distance)
8. Maintenance Instructions
· This wenglor sensor is maintenance-free. · It is advisable to clean the lens and the display, and to check the plug connections at regular intervals. · Do not clean with solvents or cleansers which could damage the device.
9. Proper Disposal
wenglor sensoric gmbh does not accept the return of unusable or irreparable products. Respectively valid national waste disposal regulations apply to product disposal.
10. EU Declaration of Conformity
The EU declaration of conformity can be found on our website at www.wenglor.com in download area.
High-Performance Distance Sensor
19
Documents / Resources
![]() |
wenglor CP/OCP Series High Performance Distance Sensor [pdf] Instruction Manual CP08MHT80, OCP801H0180, CP24MHT80, OCP162H0180, CP35MHT80, OCP352H0180, CP OCP Series High Performance Distance Sensor, CP OCP Series, High Performance Distance Sensor, Distance Sensor, Sensor |