wenglor-logo

wenglor CP/OCP Series High Performance Distance Sensor

wenglor-CP-OCP-Series-High-Performance-Distance-Sensor-fig-1

Product 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

Proper Use
Ensure the distance sensor is used according to the guidelines provided in the manual.

Safety Precautions

  1. Safety Precautions
    Observe all applicable standards and safety precautions during operation.
  2. Laser/LED Warning
    Follow laser warnings and do not stare into the beam. Attach and keep laser warning labels visible at all times.
  3. Approvals and IP Protection
    Ensure the sensor has the necessary approvals and IP protection for safe usage.

Technical Data
Refer to the technical data provided for details on working range, measuring range, and reproducibility.

Installation Instructions
Follow the installation instructions provided in the manual for proper setup.

Initial Operation
Perform initial operations as per the instructions to ensure correct functionality.

Function
Understand the function of the distance sensor for effective use.

Adjustment

  1. Manual Adjustments
    Manually adjust settings as required based on the operational needs.
  2. Special Settings
    Explore and configure special settings for specific applications.
  3. Settings and Queries via the RS-232 Interface
    Utilize the RS-232 interface for setting adjustments and queries.

Maintenance Instructions
Follow maintenance instructions to keep the distance sensor in optimal condition.

Proper Disposal
Dispose of the sensor properly following environmental guidelines.

EU Declaration of Conformity
Ensure compliance with EU Declaration of Conformity regulations.

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 do 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, a 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.

Safety Precautions

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 by the EU Machinery Directive.

Laser/LED warning

  • Class Laser 1 (EN 60825-1)
    Observe all applicable standards and safety precautions.

    wenglor-CP-OCP-Series-High-Performance-Distance-Sensor-fig-2

  • 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 times. Do not stare into the beam.

    wenglor-CP-OCP-Series-High-Performance-Distance-Sensor-fig-3

  • CAUTION!
    Observe all applicable standards and safety precautions. The enclosed laser warning labels must be attached and visible at all times. Do not stare into the beam.

Approvals and IP Protection

wenglor-CP-OCP-Series-High-Performance-Distance-Sensor-fig-5

Technical Data

  CP08MHT80 CP24MHT80 CP35MHT80
Optical Data
Working Range 30…80 mm 40…160 mm 50…350 mm
Measuring Range 50 mm 120 mm 300 mm
Reproducibility maximum 60 µm 250 µm 1200 µm
Reproducibility: 1 Sigma 20 µm 60 µm 400 µm
Linearity Deviation 80 µm 350 µm 1000 µm
Light Source Laser (red) Laser (red) Laser (red)
Wave Length 660 nm 660 nm 660 nm
Laser Class 2 2 2
Service Life (25 °C) 100000 h 100000 h 100000 h
max. Ambient Light 10000 Lux 10000 Lux 10000 Lux
Electrical Data
Supply Voltage 18…30 V DC 18…30 V DC 18…30 V DC
Light Spot Size at begin the working range 0,5×1 mm 0,5×1,2 mm 0,6×1,5 mm
Light Spot Size at the end working range 1×2 mm 1×2,5 mm 1,5×4 mm
Current Consumption (Ub = 24 V) < 80 mA < 80 mA < 80 mA
Measuring rate 1500/s 1500/s 800/s
Response Time 660 µs 660 µs 1250 µs
Response Time (Resolution-Mode) 1660 µs 1660 µs 2500 µs
Temperature Drift < 5 µm/°C < 10 µm/°C < 25 µm/°C
Temperature Range –25…50 °C –25…50 °C –25…50 °C
Analog Output 0…10 V 0…10 V 0…10 V
Current Output Load Resistance < 1 mA < 1 mA < 1 mA
Analog Output 4…20 mA 4…20 mA 4…20 mA
Current Output Load Resistance < 500 Ohm < 500 Ohm < 500 Ohm
Voltagedrop PNP-Error Output < 2,5 V < 2,5 V < 2,5 V
Switching Current PNP-Error Output < 200 mA < 200 mA < 200 mA
Short-Circuit Protection yes yes yes
Reverse Polarity Protection yes yes yes
Interface RS-232 RS-232 RS-232
Baud Rate 38400 Bd 38400 Bd 38400 Bd
Protocol 8 N 1 8 N 1 8 N 1
Mechanical Data
Adjustment Teach-In Teach-In Teach-In
Housing Plastic Plastic Plastic
Protection Mode IP67 IP67 IP67
Connection M12×1 M12×1 M12×1
Protection Class III III III
FDA Accession Number 0820588-000 0820589-000 0820590-000
  OCP801H0180 OCP162H0180 OCP352H0180
Optical Data
Working Range 30…80 mm 40…160 mm 50…350 mm
Measuring Range 50 mm 120 mm 300 mm
Reproducibility maximum 60 µm 250 µm 1200 µm
Reproducibility: 1 Sigma 20 µm 60 µm 400 µm
Linearity Deviation 80 µm 350 µm 1000 µm
Light Source Laser (red) Laser (red) Laser (red)
Wave Length 660 nm 660 nm 660 nm
Laser Class 1 1 1
Service Life (25 °C) 100000 h 100000 h 100000 h
max. Ambient Light 10000 Lux 10000 Lux 10000 Lux
Electrical Data
Supply Voltage 18…30 V DC 18…30 V DC 18…30 V DC
Light Spot Size at begin the working range 0,5×1 mm 0,5×1,2 mm 0,6×1,5 mm
Light Spot Size at the end working range 1×2 mm 1×2,5 mm 1,5×4 mm
Current Consumption (Ub = 24 V) < 80 mA < 80 mA < 80 mA
Measuring rate 1000/s 1000/s 500/s
Response Time 1000 µs 1000 µs 2000 µs
Response Time (Resolution-Mode) 2000 µs 2000 µs 4000 µs
Temperature Drift < 5 µm/°C < 10 µm/°C < 25 µm/°C
Temperature Range –25…50 °C –25…50 °C –25…50 °C
Analog Output 0…10 V 0…10 V 0…10 V
Current Output Load Resistance < 1 mA < 1 mA < 1 mA
Analog Output 4…20 mA 4…20 mA 4…20 mA
Current Output Load Resistance < 500 Ohm < 500 Ohm < 500 Ohm
Voltagedrop PNP-Error Output < 2,5 V < 2,5 V < 2,5 V
Switching Current PNP-Error Output < 200 mA < 200 mA < 200 mA
Short-Circuit Protection yes yes yes
Reverse Polarity Protection yes yes yes
Interface RS-232 RS-232 RS-232
Baud Rate 38400 Bd 38400 Bd 38400 Bd
Protocol 8 N 1 8 N 1 8 N 1
Mechanical Data
Adjustment Teach-In Teach-In Teach-In
Housing Plastic Plastic Plastic
Protection Mode IP67 IP67 IP67
Connection M12×1 M12×1 M12×1
Protection Class III III III
FDA Accession Number 1120734-000 1120717-000 1120723-000

Complementary Products (see catalog)
Wenglor offers Connection Technology for field wiring.

wenglor-CP-OCP-Series-High-Performance-Distance-Sensor-fig-6

Connection Diagram

wenglor-CP-OCP-Series-High-Performance-Distance-Sensor-fig-7

  • + Supply Voltage +
  • V Contamination/Error output (NO)
  • RxD/La RS-232 Receive Line/Emitted light disengageable
  • TxD RS-232 Transmit Line
  • O Analogue output
  • O – Ground for the analogue output
  • Supply Voltage 0 V
  • S Shielding

Housing Dimensions

wenglor-CP-OCP-Series-High-Performance-Distance-Sensor-fig-7

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 thesettingsg and operation functions.

wenglor-CP-OCP-Series-High-Performance-Distance-Sensor-fig-9

  • = 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
  • wenglor-CP-OCP-Series-High-Performance-Distance-Sensor-fig-10 = 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

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.

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.

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 cur-rent 4…20 mA, error output and RS-232 interface, Teach-In, Error Output and filter functions.

Outputs

Analogue Output

  • The analogue output is connected to the 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).

    wenglor-CP-OCP-Series-High-Performance-Distance-Sensor-fig-11

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 a PC or a controller. Sensor functions can be activated, and scanning results can be acquired via the RS-232 interface.

Adjustment

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 function off.) The adjusted transmission speed (Baud rate) and the setting Current or Voltage Output are not changed by the RESET.
  • Set the rotary selector switch Ý to RUN

Set Input

  • The Input can be used as the 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.

      wenglor-CP-OCP-Series-High-Performance-Distance-Sensor-fig-12

      • = 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

Operate the sensor at 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 at high speed.
  • Set the rotary selector switch Ý to RUN

Adjustment of Measuring Range
You can either adjust the zero point (beginning of working range) of the rising characteristic function (vide point A) or you can set the Measuring Range individually using the zoom function (vide points B and C). The zoom function is possible for rising and falling characteristic functions. You can restore the full Measuring Range with Reset.

  • Adjust the zero point of the Measuring Range:
    • Set the rotary selector switch Ý to TEACH
    • Press and hold the minus key unl the yellow LEDs blink
      • yellow LEDs blink
      • The characteristic curve is now rising with slope over the full measuring range and the selected zero point.
    • Set the rotary selector switch Ý to RUN.
  • 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
  • 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
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 preset DCM (Default Capture Mode) the Sensor has a fixed maximum possible Exposure Time. It can be adjusted manually in addition, in case of difficult applications.

  • Using 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.
  • Using 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 in the Measurement Rate.
  • The shining of the U-LED and the I-LED is the current setting. DCM is preset in delivery status. By pressing the Plus respectively Minus key, the current setting can be changed.
    • Set the rotary selector switch Ý to DCM/LCM/SCM.

      wenglor-CP-OCP-Series-High-Performance-Distance-Sensor-fig-13

      • – = 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
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

      wenglor-CP-OCP-Series-High-Performance-Distance-Sensor-fig-14

  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 a wait state and does not give an answer or error message.
    • Even with continuous query, it should adhere 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.

Protocol for Communications via the RS-232 Interface
Frame Layout for Data Transmission

Transmitting Partner Characters (ASCII)   Receiving Partner Frame Segment
Start character / (ASCII 47) => Connect Frame header
Length information 2 Byte => Connect Frame header
Command bytes 2 Byte =>   Frame header
1st data byte 2 Byte => Data information User data
2nd data byte 2 Byte =>   User data
.. .. => Data information User data
nth Data byte .. => Data information User data
Checksum (BCC) 2 Byte =>   Frame end
Stop bit . (ASCII 46) => Disconnected Frame end

Calculating the Checksum BCC (Block Check Character)
The Checksum is generated from an EXOR frame operation.

Start Character Length Command Data Checksum Stop character
/ 02 0D 00 59 .
2FH 30H 32H 30H 44H 30H 30H 35H 39H 2EH

Calculating Example:

wenglor-CP-OCP-Series-High-Performance-Distance-Sensor-fig-16

Program Example:

wenglor-CP-OCP-Series-High-Performance-Distance-Sensor-fig-14

Adjustments to the RS-232 Interface

In the following commands is:

  • x =placeholder for entered and emitted values
  • qq = placeholder for the Checksum

Sensor Settings

  • Reset
    Function Send Frame to the Sensor Response Frame from the Sensor
    Reset /000R4D. /030R0127D.
  • Configure Output
    Function Send Frame to the Sensor Response Frame from the Sensor
    Configure as a voltage output (0…10 V) /020Q004C. /030MQ0000.
    Configure as current output (4 mA…20 mA) /020Q014D. /030MQ0101.
  • Choose Resolution/Speed-Mode
    Function Send Frame to the Sensor Response Frame from the Sensor
    Operate the sensor at high speed (Speed-Mode) /020er13B. /030Mer177.
    Operate the sensor with high resolution (Resolution-Mode) /020er238. /030Mer274.
  • Adjustment Measuring range
    Function Send Frame to the Sensor Response Frame from the Sensor
    Teach-In zero point (0 V, 4 mA) /020T0049. /030MT00qq.
    Teach-In measuring range initial point (10 V, 20 mA) /020T0148. /030MTx1qq.

    x = 0: Teach-In measuring range: both points acquired
    x = 1: Teach-In measuring range: one point still required

    Function Send Frame to the Sensor Response Frame from the Sensor
    Teach-In measuring range initial point (0 V, 4 mA) /020T024B. /030MTx2qq.

    x = 0: Teach-In measuring range: both points acquired
    x = 1: Teach-In measuring range: one point still required

    Function Send Frame to the Sensor Response Frame from the Sensor
    Set zero point (0 V, 4 mA) /060pzxxxxxqq. /070Mpzxxxxxqq.

    xxxxx: zero point distance based on working range, starting from 1/100 mm

    Function Send Frame to the Sensor Response Frame from the Sensor
    Set measuring range initial point (0 V, 4 mA) /060pbxxxxxqq. /070Mpbxxxxxqq.

    xxxxx: initial point 1/100 mm

    Function Send Frame to the Sensor Response Frame from the Sensor
    Set measuring range end point (10 V, 20 mA) /060pexxxxxqq. /070Mpexxxxxqq.

    xxxxx: end point 1/100 mm

Special Settings

  • Set filter function
    Function Send Frame to the Sensor Response Frame from the Sensor
    Set filter /030FSxxqq. /030MFxxqq.

    xx: Number of measurement values for average calculation
    xx = 00: no filter

  • Optimize the exposure time
    Function Send Frame to the Sensor Response Frame from the Sensor
    Set DCM-Mode /020eCD7F. /030MeCD33.
    Set LCM-Mode /020eCL77. /030MeCL3B.
    Set SCM-Mode /020eCS68. /030MeCS24.
  • Switch Laser Light ON/OFF
    Function Send Frame to the Sensor Response Frame from the Sensor
    Activate Laser Light /020L0150. /020L0150.
    Deactivate Laser Light /020L0051. /020L0051.
  • Set the Delay Time of Contamination Output
    Function Send Frame to the Sensor Response Frame from the Sensor
    Set the 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 the baud rate
    • T..he baud rate of the sensor is standardized at 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.
    • To change the baud rate, enter the following commands corresponding to your desired baud rate.
      Function Send Frame to the Sensor Response Frame from the Sensor
      Baud rate to 9600 baud /030?BR201. /030Ade2qq.
      Baud rate to 19200 baud /030?BR300. /030Ade3qq.
      Baud rate to 38400 baud /030?BR407. /030Ade4qq.
      Baud rate to 57600 baud /030?BR506. /030Ade5qq.
      Baud rate to 115200 baud /030?BR605. /030Ade6qq.

      The new baud rate is activated after the supply voltage is applied anew.

  • Query Sensor values
    Function Send Frame to the Sensor Response Frame from the Sensor
    Single Emission of object distance values /020D0059. /0B0D00+xxxxxxumqq.

    xxxxxx: Distance value in μm

    Function Send Frame to the Sensor Response Frame from the Sensor
    Activate Permanent Emission of object distance values /020D0p19. /040D0P:134.

    Emission format like Single Emission.

    Function Send Frame to the Sensor Response Frame from the Sensor
    Deactivate Permanent Emission of object distance values /020D0a08. /040D0P:035.
    Function Send Frame to the Sensor Response Frame from the Sensor
    Query sensor status for Output, Teach Mode, Filter level, and Error status /000W48. /050Wgtffeqq.

    g = 0: output status for voltage output
    g = 1: output status for current output
    t = 0: teach mode zero point
    t = 1: teach mode,, measuring range: one point still required
    t = 2: teach mode,, measuring range: both points still acquired
    ff = 0: Filter adjustment
    e = 0: error status: no errors
    e > 0: error status: error

    Function Send Frame to the Sensor Response Frame from the Sensor
    Query taught in values for the initial point, if Teach Mode = measuring range /020Wb31B. /090Wbxxxxxxumqq.

    xxxxxx: Saved position for 0 V resp. 4 mA in μm

    Function Send Frame to the Sensor Response Frame from the Sensor
    Query taught in values the for end endpoint, if Teach Mode = measuring range /020We31C. /090Wexxxxxxumqq.

    xxxxxx: Saved position for 10 V resp. 20 mA in μm

    Function Send Frame to the Sensor Response Frame from the Sensor
    Query taught in values for zero point, if Teach Mode = zero point /020Wn317. /090Wnxxxxxxumqq.

    xxxxxx: Saved position for 0 V resp. 4 mA in μm

    Function Send Frame to the Sensor Response Frame from the Sensor
    Query Sensor status Resolution/Speed-Mode /020Wrc5B. /030Wrcxqq.

    x = 1: Speed-Mode activated
    x = 2: Resolution-Mode activated

    Function Send Frame to the Sensor Response Frame from the Sensor
    Query number measurement values for the continuous average filter /020WF33F /040WF0xxqq.

    xx: Number of measurement values for Average Calculation

    Function Send Frame to the Sensor Response Frame from the Sensor
    Query Sensor Version /000V49. /070V8a:bbccqq.

    a: software version. a = 3
    bb: sensor group (2 characters) z. B. bb = 0D
    cc: sensor type (2 characters) z. B. cc = 01

Special queries
Query object distance binary

  • Differing from the usual query of sensor values protocol, it is also possible to query the object distance faster through binary data.
  • Send a “#” sign to the sensor, then the currently measured distance value is emitted in a binary form.
    Function Send Frame to the Sensor Response Frame from the Sensor
    Emit object distance in binary form (Output value in 1/100 mm) # #, 16-bit binary value,

    e.g. #©J (means 7,69 mm object distance)

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 that could damage the device.

Proper Disposal

WeWenglor Sensoricmbh does not accept the return of unusable or irreparable products. Respectively valid national waste disposal regulations apply to product disposal.

EU Declaration of Conformity

The EU declaration of conformity can be found on our website at www.wenglor.com in the download area.

Frequently Asked Questions

How do I adjust the measurement range?

To adjust the measurement range, use the Teach function on the control panel as described in the manual.

What should I do if the error output LED is lit?

Check for any errors in operation or connections and refer to the manual for troubleshooting steps.

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

References

Leave a comment

Your email address will not be published. Required fields are marked *