Leuze electronic LES 36 Original Operating Instructions

Leuze electronic LES 36 Original Operating Instructions

Line edge sensor
Hide thumbs Also See for LES 36:
Table of Contents

Advertisement

Quick Links

LES - Line Edge Sensor
Light section sensors
O r ig i n a l o p e r a t in g in s t r u c t io n s

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the LES 36 and is the answer not in the manual?

Questions and answers

Summary of Contents for Leuze electronic LES 36

  • Page 1 LES - Line Edge Sensor Light section sensors O r ig i n a l o p e r a t in g in s t r u c t io n s...
  • Page 2: Table Of Contents

    Inspection Task............26 Leuze electronic LES 36...
  • Page 3 Connection X4 - PROFIBUS DP (LES 36…/PB) ....... . 49...
  • Page 4 PROFIBUS settings (only LES 36/PB and LES 36HI/PB)........
  • Page 5 9.4.5 Analog Output tab - configuring the analog output (only LES 36…/VC) ... . . 90 Edge................90 Output Mode .
  • Page 6 Additional support when integrating sensors....... . 114 Integration of the LES 36…/PB in the PROFIBUS ... . 115 11.1...
  • Page 7 Order codes of the cables for voltage supply ......... . . 136 Leuze electronic LES 36...
  • Page 8 Order code of X4 connection cables (only LES 36…/VC6) ....... .
  • Page 9 Pin assignment X4 for LES 36…/VC6 ........
  • Page 10: Figures And Tables

    Typical measurement range LES 36........
  • Page 11 Revision History - Configuration software ....... 146 Leuze electronic LES 36...
  • Page 12: General Information

    Note! The CE Declaration of Conformity for these devices can be requested from the manufacturer. The manufacturer of the product, Leuze electronic GmbH & Co. KG in D-73277 Owen, possesses a certified quality assurance system in accordance with ISO 9001.
  • Page 13: Safety

     Only operate the device in accordance with its intended use.  Leuze electronic GmbH + Co. KG is not liable for damages caused by improper use.  Read these operating instructions before commissioning the device. Knowledge of this document is required in order to use the equipment for its intended purpose.
  • Page 14: Foreseeable Misuse

    The device must not be tampered with and must not be changed in any way. The device must not be opened. There are no user-serviceable parts inside. Repairs must only be performed by Leuze electronic GmbH + Co. KG. Competent persons Connection, mounting, commissioning and adjustment of the device must only be carried out by competent persons.
  • Page 15: Exemption Of Liability

    BGV A3 (e.g. electrician foreman). In other countries, there are respective regula- tions that must be observed. Exemption of liability Leuze electronic GmbH + Co. KG is not liable in the following cases: • The device is not being used properly. • Reasonably foreseeable misuse is not taken into account.
  • Page 16: Figure 2.1: Laser Apertures, Laser Warning Signs

    Affix the laser information and warning signs so that they are legible without exposing the reader to the laser radiation of the device or other optical radiation. A Laser aperture B Laser warning sign C Laser information sign with laser parameters Figure 2.1: Laser apertures, laser warning signs Leuze electronic LES 36...
  • Page 17: Figure 2.2: Laser Warning And Information Signs - Supplied Stick-On Labels

    8.7 mW Pulse duration: 3 ms 3 ms Wavelength: 658 nm 658 nm CLASS 2M LASER PRODUCT IEC 60825-1:2007 GB7247.1-2012 Complies with 21 CFR 1040.10 Figure 2.2: Laser warning and information signs – supplied stick-on labels Leuze electronic LES 36...
  • Page 18: Operating Principle

    Depending on the distance of the object the laser line is projected to a different position on the CMOS planar detector as shown in Figure 3.1. By means of this position the distance of the object can be calculated. Leuze electronic LES 36...
  • Page 19: Limits Of Light Section Sensors

    When the object is shifted to the left the object con- tour will still be detected by the laser but the laser line does not lie within the receiver's field of view at that point, and therefore no measurement values can be detected. Figure 3.2: Occlusion Leuze electronic LES 36...
  • Page 20: Possible Measure Against Laser Occlusion

    In the example to the right, the left sensor detects the profile data on the left side of the product, and the right sensor the profile data on the right side. In this situation the second sensor is then cas- caded. "Cascading" on page 24. Leuze electronic LES 36...
  • Page 21: Resolution

    The following illustration shows this relation: Object distance in Z-direction in mm Figure 3.3: Typical resolution LES 36… The output resolution of the measurement values on the process interface is 1/10mm with Standard-Connect, 1/100mm with HI-Connect (only with LES 36HI/VC6).
  • Page 22: Device Description

    • Measurement range/detection area: LES 36…: 200 to 800mm, LES 36HI…: up to 600mm • Length of laser line: max. 600mm • Length of the laser line: LES 36…: max. 600mm, LES 36HI…: max. 140mm • Configuration and transmission of process data via Fast Ethernet • OLED display with membrane keyboard •...
  • Page 23: Line Edge Sensor - Les

    Determining width and diameter of roll goods and PROFIBUS Typical areas of application • Edge and height measurement of web material products and paper rolls • Width and height measurement of cartons • Edge and height measurement of stackable materials (e.g. chipboards) Leuze electronic LES 36...
  • Page 24: Operating The Sensor

    LESsoft. Measurement operation In measurement operation, the LES 36…/VC6 is connected to the process control via its analog output, the LES 36…/PB is connected to the process control via PROFIBUS. Alter- natively, the LES can be operated via the Ethernet interface on X2, see chapter 10 "Inte- grating the LES in the process control (Ethernet)".
  • Page 25: Triggering - Free Running

    Trigger input Pin 5 at X1 Laser Activation input Pin 2 at X1 Output (Ethernet) Data packets, approx. 1ms Approx. 14ms Axes: p = level, t = time Figure 4.3: Trigger input signal sequence Leuze electronic LES 36...
  • Page 26: Profibus Trigger

    Sensor 1, or the master, can be operated in this case both triggered as well as continuously. All other sensors must be operated triggered. Cascading settings For all sensors except the last slave, the cascading output must be enabled via configuration software: Cascading Output: Enable. Leuze electronic LES 36...
  • Page 27: Measurement Functions: Les

    "Sequent Hits" parameter was introduced. The minimum number of measurement points set there must occur in succession in the EAW to detect a valid edge. Outliers or missing measurement points reset the counter. Leuze electronic LES 36...
  • Page 28: Inspection Task

    ("rightmost" RX, RZ) are determined in each EAW. • EAWs usually have an absolute position. If the object position varies, an EAW can also be positioned relative to a found edge position in the previous EAW and thus tracked. Leuze electronic LES 36...
  • Page 29: Definition Of Eaws And Their Analysis Results

    If there are not enough successive measurement points on the edges of an EAW, the found edge positions are shifted away from the edges of the EAW (see Figure 4.7, different right edge position with different parameters for Sequent Hits). Leuze electronic LES 36...
  • Page 30: Figure 4.7: Meaning Of Sequent Hits For Edge Detection

    • Width of objects: W (calculated from the distance of RX and LX in the X direction). • Height difference of left and right edge: H (calculated from the distance of RZ and LZ in the Z-direction). Leuze electronic LES 36...
  • Page 31: Figure 4.8: Edge Detection With Eaws

    Measurement range Measurement points Left edge Right edge (coordinates LX, LZ) (coordinates RX, RZ) No object detection due to shadowing in the measure- Object ment range EAW01 Conveyor path x axis Figure 4.8: Edge detection with EAWs Leuze electronic LES 36...
  • Page 32: Relative Window Positioning

    EAW01. This window now tracks all position changes of the object edge to be measured, both in the X-direction and Z-direction. Note! The evaluation functions are defined using LESsoft (see Chapter 9.4). Leuze electronic LES 36...
  • Page 33: Object Detection

    X direction has nearly twice as many hit points as it does at a far distance (e.g, 600mm). If the object distance is the same, the number of hit points remains nearly constant. Leuze electronic LES 36...
  • Page 34: Application Examples For Eaws

    Figure 4.10: Application example: web-edge measurement In the example shown above, the edge position of web material is to be determined. Analysis is performed in Edge Analysis Window EAW01. The edge coordinates for edge LX, LZ are determined in EAW01. Leuze electronic LES 36...
  • Page 35: Application Example: Height And Width Measurement Of A Cubic Object

    The object is on a conveyor line. The width is measured in edge analysis window EAW01; the height is measured in EAW03. The following measurement values are obtained: • in EAW01: Object Width W = LX1 - RX1 • in EAW03: Object Height H = RZ3 - LZ3 Leuze electronic LES 36...
  • Page 36: Analysis Window (Aw)

    X direction has nearly twice as many hit points as it does at a far distance (e.g, 600mm). If the object distance is the same, the number of hit points remains nearly constant. Leuze electronic LES 36...
  • Page 37: Installation And Mounting

    Save the original packaging for later storage or shipping. If you have any questions concerning your shipment, please contact your supplier or your local Leuze electronic sales office.  Observe the applicable local regulations when disposing of the packaging materials.
  • Page 38: Mounting The Les

    • Using a BT 56 mounting device on the two fastening grooves. • Using a BT 59 mounting device on the two fastening grooves. Dovetail fastening grooves M4 threaded holes Figure 5.2: Fastening options Figure 5.3: Mounting example LES Leuze electronic LES 36...
  • Page 39: Bt 56 Mounting Device

    LES Clamp profile for mounting to round or oval pipes Ø 16 … 20mm all dimensions in mm A Rod holder, turnable 360° B Rods Ø 16 … 20mm Figure 5.4: BT 56 mounting device Leuze electronic LES 36...
  • Page 40: Bt 59 Mounting Device

    A Holder, turnable 360° B ITEM joint, angle adjustable ±90° C M8x16 screw cylinder, M8 serrated washer, M8 sliding block, connectors for ITEM pro- file (2x) Figure 5.5: BT 59 mounting device Leuze electronic LES 36...
  • Page 41: Device Arrangement

    The general principle is that the Light section sensor should be aligned so that the back of the sensor is aligned parallel to the conveying belt or measuring plane. Rotation along the Y-axis is not desirable. The Figure 5.6 illustrates the problem: Leuze electronic LES 36...
  • Page 42: Attach Laser Warning Sign

    In doing so, avoid leaving fingerprints on the optics cover of the LES. Attention! Do not use aggressive cleaning agents such as thinner or acetone for cleaning the device. Leuze electronic LES 36...
  • Page 43: Electrical Connection

    An overview of the available types may be found in Chapter 15.1 Figure 6.2: Connections of the LES The pin assignment of X1 and X2 is identical for all Light section sensors; X3 and X4 differ depending on device type. Leuze electronic LES 36...
  • Page 44: Safety Notices

    Degree of protection IP 67 is achieved only if the connectors and caps are screwed into place! The connectors used must be equipped with O-ring seals. Therefore, preferably, please use the ready-made cables by Leuze electronic. Leuze electronic LES 36...
  • Page 45: Shielding And Line Lengths

    …) as far from the sensor cables as possible (distance > 30cm). Avoid laying power and sensor cables parallel to one another. Cable crossings should be laid as perpendicular as possible. Lay cables close to grounded metal surfaces: This measure reduces interference coupling in the cables. Leuze electronic LES 36...
  • Page 46: General Shielding Information

    Devices produced after April 2011 are All devices can also be connected equipped with an additional ground- to ground potential at the M4 ing terminal. threaded hole on the dovetail. Figure 6.3: Connecting the ground potential to the light section sensor Leuze electronic LES 36...
  • Page 47: Connecting The Cable Shielding In The Switch Cabinet

    • Mounting rails must be well grounded Comment: Depicted shield components from Wago, series 790 ...: - 790-108 Shield clamping bracket 11 mm - 790-112 Carrier with grounding foot for TS35 Figure 6.5: Connecting the cable shielding to the PLC Leuze electronic LES 36...
  • Page 48: Connecting

    The trigger input is used for synchronizing the measurement with the process and for synchronizing cascaded sensors. Further information can be found in Chapter 4.2.3 and Chapter 4.2.4. The internal equivalent circuit is shown in Figure 6.6. Leuze electronic LES 36...
  • Page 49: Cascading Output Outcas

    HOST / BUS IN cable assignments on RJ-45 Notice for connecting the Ethernet interface! Ensure adequate shielding. The entire interconnection cable must be shielded and earthed. The Rx+/Rx- and Tx+/Tx- wires must be stranded in pairs. Use CAT 5 cables for the connection. Leuze electronic LES 36...
  • Page 50: Connection X3 - Switching Inputs/Outputs (Les 36

    Electrical connection 6.3.3 Connection X3 - switching inputs/outputs (LES 36…/VC6) X3 (8-pin socket, A-coded) Name Core color Comment Out4 Output detection result 4 Out4 Out3 Output detection result 3 InSel 2 Ground InSel 1 Out2 Output detection result 2 Out3...
  • Page 51: Connection X4 - Profibus Dp (Les 36

    LES 36…/PB without interrupting the PROFIBUS cable. The external Y plug adapter is also needed if the LES 36…/PB is the last network device. The external bus terminating resistor (termination) is then connected to this. The 5V-supply for the termination is connected to X4.
  • Page 52: Connection X4 - Voltage/Current Output (Les 36

    Pin assignment X4 for LES 36…/VC6 Note! Connection X4 analog output is assigned only on the LES 36/VC6, LES 36HI/VC6. Analog outputs 1-10V (voltage) and 4-20mA (current) may only be used alternately; the selec- tion is made with LESsoft in the Analog Output tab.
  • Page 53: Figure 6.8: Response Of Analog Output Les

    [mm] Value range Lower limit Upper limit Figure 6.8: Response of analog output LES Possible value ranges depending on set analog output value: LES 36… LES 36HI… X coordinate -300 … +300mm -70 … +70mm Z-coordinate +200 … +800mm +200 … +800mm Height difference 0 …...
  • Page 54: Display And Control Panel

    Ethernet connection established Flashing Ethernet data transmission active No Ethernet connection Table 7.1: LED function indicator 7.1.2 Control buttons  The LES is operated using the  and buttons, which are located next to the OLED  display. Leuze electronic LES 36...
  • Page 55: Indicators In The Display

    Definition of the displayed measurement value: • For analog sensors, the measurement value assigned to the analog output is displayed in mm. • For sensors with PROFIBUS, the measurement value assigned under Edge 1 - Pro- fibus Inputs 1 is displayed. Leuze electronic LES 36...
  • Page 56: Command Mode

    OLED display has one line. Command Mode appears on the first line of the display. Command Mode Note! If errors occur during operation, these are shown on the display. Notes can be found in Chapter 12.3. Leuze electronic LES 36...
  • Page 57: Menu Description

    Error Handling Slave Address PROFIBUS DP slave address Ethernet Slave Address Setting for the PROFIBUS DP slave address 126 Ethernet Ethernet interface parameters Display IP Address IP address of the sensor 192.168.060.003 Table 7.2: Menu structure Leuze electronic LES 36...
  • Page 58 Execute reset with subsequent confirma- Execute tion prompt  Return to menu level 1 Reset to Factory Info Device Information menu item  Menu Exit Part no. Leuze part number of the sensor 50115418 Table 7.2: Menu structure Leuze electronic LES 36...
  • Page 59 If no button is pressed for three minutes, the LES exits menu mode and switches to measure mode. The OLED display again displays the alignment aid and the sensor status display. Note! After changing the PROFIBUS slave address, a power-on reset must be performed in order to permanently accept the address. Leuze electronic LES 36...
  • Page 60: Operation/Navigation

    192.168.001.111 rejects the new value(in this example, the factory setting 192.168.060.003 remains saved) Editing selection parameters  displays the next option for Display (Off). Display  returns to the next-higher menu level and retains On.  Leuze electronic LES 36...
  • Page 61: Reset To Factory Settings

    2s; the LES then returns to measure mode. You can select the resetting to factory settings also via LESsoft.  In the Configuration menu select the entry Reset to Factory Settings. Leuze electronic LES 36...
  • Page 62: Commissioning And Configuration

    Table 8.1: Address allocation in the Ethernet Instead of xxx you can now allocate any numbers between 000 and 255 to your PC, but NOT THE SAME numbers as contained in the address of the LES. Leuze electronic LES 36...
  • Page 63: Setting The Default Gateway

    The PC first tries to establish a network connection via the automatic configuration. This takes a few seconds, after which the alternate configuration, which you just set, is activated. The PC can now communicate with the LES. Information about configuring with the LESsoft can be found in Chapter 9. Leuze electronic LES 36...
  • Page 64: Commissioning

    If several sensors are to be activated, all sensors as well as the control must receive different IP addresses on the same subnet. For all sensors different ports must be configured in Sensor area as well as in the Client/PC area. Leuze electronic LES 36...
  • Page 65: Lessoft Configuration Software

    Matlab Compiler Runtime (MCR) appears. The MCR is used for the config- uration in LESsoft. It is only available in English or Japanese.  Therefore keep in the Choose Setup Language window the selection English and click on OK. Leuze electronic LES 36...
  • Page 66 LESsoft configuration software Leuze electronic LES 36...
  • Page 67 LESsoft configuration software Depending on the configuration of your Windows system, the dialog shown below may then appear (missing component VCREDIST_X86).  Click on Install. Two additional installation windows will appear, which do not require any further entry. Leuze electronic LES 36...
  • Page 68 After some time (up to several minutes depending on the system configuration) the start screen of the MCR installer will appear.  Click on Next. The window for entering user data appears.  Enter your name and the company name and then click on Next. Leuze electronic LES 36...
  • Page 69 Click on Next and in the next window click on Install. The installation will start and a status window will be displayed. This can again take several minutes. Following successful MCR installation, the InstallShield Wizard Completed window appears.  Click on Finish to end the MCR-installation. Leuze electronic LES 36...
  • Page 70 Keep the default folder in this case as well and click on Next. Upon completion of the installation process, the window shown above appears. The installation routine added a new Leuze electronic program group in your Start menu that contains the installed programs LESsoft/LPSsoft/LRSsoft.
  • Page 71: Possible Error Message

    Then click on OK and close also all further windows using OK.  Shut Windows down, restart Windows and then start LESsoft by double-clicking on it. Now the start screen of LESsoft appears, as described in Chapter 9.3. Leuze electronic LES 36...
  • Page 72: Device List Update

    If the software continues to output this or a similar warning after updating the device list, it is to be assumed that the currently installed software is no longer up-to-date. A new firmware version is available on the Internet. Please download this new version, install it and restart the program. Leuze electronic LES 36...
  • Page 73: Starting Lessoft/Communication Tab

    As a result LESsoft establishes a connection and displays the currently measured 2D profile. In the status line at the bottom left of the display you will now find Online highlighted in green instead of Offline highlighted in red. Leuze electronic LES 36...
  • Page 74 • Scan number (Profile Number) • Encoder value dependent on the sensor type (Encoder Value) • Connected sensor type • Analog output status (Analog Output) Note! Once the LESsoft has established a connection to the LES, the laser beam flashes. Leuze electronic LES 36...
  • Page 75: Profibus Settings (Only Les 36/Pb And Les 36Hi/Pb)

    PROFIBUS settings Automatic detection of the baud rate / automatic address assignment The LES 36…/PB supports automatic detection of the baud rate and automatic address assignment via the PROFIBUS. The address of the PROFIBUS participant can be set automatically by the commissioning tool of the PROFIBUS system (a class 2 PROFIBUS master).
  • Page 76: Parameter Settings/Parameters Tab

    By removing the tick in the Enable External Inspection Task Selection check box, the inspection task cannot be changed via the process interface while configuration is being performed. After configuring with LESsoft and before transmitting the settings to the Leuze electronic LES 36...
  • Page 77: Operation Mode

     Select an exposure setting that displays a continuous line around the object contour. Then try to achieve a line on a flat surface that is as continuous as possible. Leuze electronic LES 36...
  • Page 78: Field Of View

    Using Field of View you can restrict the measurement range of the LPS. The same happens if you click on the square handles of the measurement range framed in blue with the mouse and then pull. Factory settings for Field of View: LES 36… LES 36HI… Min X -300 Max.
  • Page 79: Using The Mouse

    The font of the Accept Analysis Window Rectangle button turns black after size and/ or position of the analysis window have been changed using the mouse. You have to click the button in order to accept the values in the 2D representation. Leuze electronic LES 36...
  • Page 80: Keyboard Input

    Status column is red (not ok). If the EAW is not activated, the status is gray. If not enough measurement points occurred in succession in an EAW, edge detection and object measurement within this EAW is not possible. Leuze electronic LES 36...
  • Page 81: Analysis Window Definitions

    The further processing and combination of results from object detection occurs by pressing the Edit Logical Combinations button. Note! The changed settings must be transferred to the sensor with Apply Settings. Leuze electronic LES 36...
  • Page 82: Edit Logical Combinations

    • Red state = edge detection and object detection not ok Note! For sensors with analog output, a valid measurement value transmission for edges only occurs at the analog output if the Edge State is ok. Leuze electronic LES 36...
  • Page 83: Object Point/Eaw State (Result Of Edge Detection)

    If the check box is selected, the left edge position is displayed in the 2D view with a green coordinate cross, the right edge position with a blue coordinate cross. Figure 9.6: Display of the edge positions (green and blue) in the 2D display Leuze electronic LES 36...
  • Page 84: X, Width (X), Z, Height (Z)

    EAW via the PROFIBUS. In the Profibus Inputs 1 and Profibus Inputs 2 fields, you can configure which measurement values these are for up to four edge analyses. Note! The changed settings must be transferred to the sensor with Apply Settings. Leuze electronic LES 36...
  • Page 85: Application Example 1: Web Edge Measurement

    The ascertained position of the right edge is -9.6mm (column Edge1 -> Right Most -> line X). The distance from the edge to the sensor is 366.6mm (column Edge1 -> Right Most ->line Z). Figure 9.7: Application example 1: web edge measurement Leuze electronic LES 36...
  • Page 86: Application Example 2: Height And Width Monitoring Of Cubic Objects

    49.6mm (column Edge2 -> line Height (Z)). All measurement results are displayed in the window to the right of the 2D view. Figure 9.8: Application example 2: height and width monitoring of cubic objects Leuze electronic LES 36...
  • Page 87: Additional Object Detection With Les Sensors

    = 3 -> response time 3 x 10ms = 30ms). Interfering signals of individual scans are suppressed. If an analysis depth = 1 (factory stetting beginning with firmware version 01.25) is selected, the response time is 10ms. Leuze electronic LES 36...
  • Page 88: Aw Logic Analysis Depth (Result Of Object Detection)

    • Green state = ok • Red state = not ok Note! A display appears only if object detection was activated in an EAW/AW. Note! The changed settings must be transferred to the sensor with Apply Settings. Leuze electronic LES 36...
  • Page 89: Application Example 3: Width Monitoring Of Cubic Objects With Object Detection

    Tables window, the additional object detection is activated by selecting + under EAW1. All results are green (ok). The ascertained width of the carton is 49.2mm (column Edge1 - > line Width (X)). Figure 9.9: Application example 3.1: width monitoring of cubic objects with object detection Leuze electronic LES 36...
  • Page 90 Edge Status is ok (see Page 80). In the case of sensors with digital switching outputs at X3 (LES 36/VC6, LES 36 HI/VC6), the status of Edge 1 to 4 is signaled at outputs Out1 to Out4 (HIGH active).
  • Page 91: Standard Tab - Single Shot Mode Panel

    Selection to configure whether or not the inspection tasks 0 … 15 can be selected via PROFIBUS. Note! If Enable External Inspection Task Selection is ticked, the inspection task can only be selected via PROFIBUS. In this case, the drop-down menu under Inspection Task Selection has no function. Leuze electronic LES 36...
  • Page 92: Analog Output Tab - Configuring The Analog Output (Only Les 36

    LESsoft configuration software 9.4.5 Analog Output tab - configuring the analog output (only LES 36…/VC) For analog devices, you can configure the analog voltage and current output of the LES 36…/VC6 in the Analog Output tab. Figure 9.11: Parameter settings in LRSsoft...
  • Page 93: Mm For Min. Val

    Measurement value in mm for the upper range limit of the voltage or current output (10V/ 20mA) Note! The minimum adjustable range between the upper and lower range limit of the analog output is 10mm. Note! The changed settings must be transferred to the sensor with Apply Settings. Leuze electronic LES 36...
  • Page 94: Menu Commands

    LES and displays them in the software. • Transmit to Sensor permanently stores all parameter settings of all defined inspection tasks from the configuration software in the LES. • Reset to factory settings resets the LES to factory settings. Leuze electronic LES 36...
  • Page 95: Zoom And Pan/Toolbar

    Display and, if necessary, enlarge 2D view of the detection range in the Parameters tab. Standard tab - Task Parameters panel: define required (E)AWs with mouse or keyboard in the Analysis Windows Definitions window (Edit Analysis Windows but- Leuze electronic LES 36...
  • Page 96 Permanently transfer the configuration including all inspection tasks to the sensor with Transmit to Sensor. Where applicable: save the configuration to data carrier with Save As… Finally, disconnect the connection to the sensor: click on the button Disconnect from sensor: Leuze electronic LES 36...
  • Page 97: Integrating The Les In The Process Control (Ethernet)

    Furthermore, the firewall must allow ICMP echo messages to pass through for the connec- tion test (ping). The integration of PROFIBUS device model LES 36…/PB in the process control via PROFIBUS is described in Chapter 11 "Integration of the LES 36…/PB in the PROFIBUS" on page 115. 10.2...
  • Page 98: Protocol Structure

    The packet number serves internal maintenance purposes of the manufacturer. 10.2.3 Transaction number In measure mode, 0x0000 is always displayed here. In command mode, the command acknowledgment of the sensor contains the command number of the command that is answered. Leuze electronic LES 36...
  • Page 99: 10.2.4 Status

    0x00000000. The 4 bytes in Encoder High and Encoder Low specify the encoder counter value for light section sensors with encoder interface. The maximum value is 0xFFFF FFFF. Beyond that an overflow to 0x0000 0000 occurs. Leuze electronic LES 36...
  • Page 100: 10.2.6 Scan Number

    Left edge X-value LX in EAW1 65…66 Left edge Z-value LZ in EAW1 67…68 Right edge X-value RX in EAW1 69…70 Right edge Z-value RZ in EAW1 71…72 Width W in EAW1 73…74 Height H in EAW1 Leuze electronic LES 36...
  • Page 101 Right edge X-value RX in EAW4 117…118 Right edge Z-value RZ in EAW4 119…120 Width W in EAW4 121…122 Height H in EAW4 123…180 - The remaining user data are used for internal maintenance purposes of the manufacturer. Unit: 1/10mm (0.1mm) Leuze electronic LES 36...
  • Page 102: Ethernet Commands

    The response of the LES also corresponds to the "little-endian" standard. For further information, see the note in Chapter 10.2. All other commands are acknowledged with 'Not Ack'=0x414E; the command is not processed. Additional commands are available in command mode. Leuze electronic LES 36...
  • Page 103: 10.3.1 Elementary Commands

    Detailed info on possible sensor states see chapter 10.2.4 "Status". You can determine whether the sensor is in menu mode with a quick glance at the display. Menu mode can be ended with the Exit menu item. Leuze electronic LES 36...
  • Page 104: 10.3.2 Commands In Command Mode

    0x006F Get Single Inspection Task 0x0070 Parameter is output 9…20 Parameter 0x414E The transmitted command was Outputs individual parameters of not processed. the active inspection task Table 10.3: Sensor control commands Leuze electronic LES 36...
  • Page 105: Explanation Of User Data In Command Mode (Command Parameters)

    The LES responds to sensor control command 0x0049 with 0x004A and one word of user data: Byte High-Byte LSB MSB Low-Byte LSB Meaning of the bits 31…32 - N4 N3 N2 N1 Number of the configured inspection task (0 = Task0 … 15 = Task 15) Leuze electronic LES 36...
  • Page 106: Set Scan Number

    Successively switch all slaves (sensor 2, 3, …) to command mode and set the same scan number for each individual slave that you set previously under item 2 for the mas- ter. Switch the slaves back to measure mode. Switch the master to measure mode. Leuze electronic LES 36...
  • Page 107: Set Single User Parameter

    If SF=1, the duration of the transmission pause is retained even following a restart of the LES. Note! If the transfer of X-coordinates is switched off in measure mode, no visualization of mea- surement data can be performed in the 2D- and 3D-views in LESsoft. Leuze electronic LES 36...
  • Page 108 If SF=0, the setting for the median filter is only temporary. If SF=1, the setting for the median filter is retained even after a restart of the LES. If MF=0, the median filter is deactivated. If MF=1, the median filter is activated. Leuze electronic LES 36...
  • Page 109: Get Single User Parameter

    High-Byte LSB MSB Low-Byte LSB Meaning of the bits 31…32 - P4 P3 P2 P1 Duration of the transmission pause between the Z- and X-data packets in 0.1ms increments (0 = 0.1ms … 9 = 1.0ms) Leuze electronic LES 36...
  • Page 110: Set Single Inspection Task Parameter

    • Detection range of the LPS (Field of View). Byte High-Byte LSB MSB Low-Byte LSB Meaning of the bits 31…32 SF = SaveFlag 33…34 Parameter ID for parameter selection 35…58 Parameter value[s] dependent on parameter ID Leuze electronic LES 36...
  • Page 111 Permissible value range UINT16 duration LES 36HI/VC6, LES 36HI/PB: 739…13109; LES 36/VC6, LES 36/PB: 973…13109 (exposure time unit in 1/10μs). The duration of exposure is set incrementally in the sen- sor. The actual duration of exposure can deviate slightly from the parameter value transmitted. The exposure duration set can be accessed with the "Get Single...
  • Page 112: Get Single Inspection Task Parameter

    Lower limit of parameter value (HighWord) 39…40 Lower limit of parameter value (LowWord) 41…42 Upper limit of parameter value (HighWord) 43…44 Upper limit of parameter value (LowWord) 45…46 No meaning 47…70 Parameter value(s) of accessed parameter ID Leuze electronic LES 36...
  • Page 113: 10.3.4 Commands In Measure Mode

    Activation Input Mode to 0x414E The transmitted command was Regard. not processed. A connection to the sensor must exist before the command can be used. Table 10.4: Commands in measure mode Leuze electronic LES 36...
  • Page 114: Explanation Of User Data In Measure Mode (Command Parameters)

    For sensor control command 0x4541, one word of user data is transmitted to the sensor: Byte High-Byte LSB MSB Low-Byte LSB Meaning of the bits 31…32 EA = Ethernet Activation Flag EA=0 switches off measurement operation, EA=1 switches on measurement operation. Leuze electronic LES 36...
  • Page 115: Working With The Protocol

    0xFFFF 0xFFFF 0x0000 0x004B 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0002 0x000F 0x0001 LES to PC (command executed): 0xFFFF 0xFFFF 0x0000 0x4141 0x0000 0x0000 0x0000 0x004B 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 Leuze electronic LES 36...
  • Page 116: Operation With Lxs_Lib.dll

    LxSsoft. 10.7 Additional support when integrating sensors Additional tools (e.g. MatLab example, function modules S7, protocol plain-text decoding, UDP terminal) are available. Please contact your Leuze distributor or service organization to acquire these. Leuze electronic LES 36...
  • Page 117: Integration Of The Les 36

    11.1 General information The LES 36/PB and the LES 36HI/PB are designed as a PROFIBUS DP/DPV1 compatible slave. The input/output functionality of the sensor is defined by the corresponding GSD file. The baud rate of the data to be transmitted is max. 6MBit/s under production conditions.
  • Page 118: Profibus Address Assignment

    PROFIBUS (slave address 126) is preset. Automatic address assignment The LES 36…/PB supports automatic detection of the baud rate and automatic address assignment via the PROFIBUS. The address of the PROFIBUS participant can be set automatically by the commissioning tool of the PROFIBUS system (a class 2 PROFIBUS master).
  • Page 119: General Information About The Gsd File

    Outputs (O) described are outputs of the control. Parameters (P) described are parameters of the GSD file in the control. Note! The current version of the GSD file LEUZE403.GSD for the LES 36…/PB can be found on the Leuze website www.leuze.com. Leuze electronic...
  • Page 120: Overview Of The Gsd Modules

    The LES 36…/PB has one module slot. Select the corresponding module from the GSD to set the process data of the LES 36…/PB that are to be transmitted. Several modules are available for selection. Beginning with the simplest input module M1, additional inputs are included with the subsequent modules.
  • Page 121: Input Data (From Viewing Position Of Control)

    Integration of the LES 36…/PB in the PROFIBUS Input data (from viewing position of control) Bits in byte Position Value mod- Name Meaning (bytes) range Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 wScanNum (HighByte) SN_b15 SN_b14 SN_b13 SN_b12 SN_b11 SN_b10 SN_b9 SN_b8 0 …...
  • Page 122: Description Of The Output Data

    Integration of the LES 36…/PB in the PROFIBUS 11.5 Description of the output data PROFIBUS trigger So that a measurement can be triggered on each PROFIBUS cycle, the PROFIBUS trigger of the LES responds to a change of master output byte uTrigger. The control only needs to increment the trigger value in order to initiate a new measurement.
  • Page 123: Description Of The Input Data

    Integration of the LES 36…/PB in the PROFIBUS 11.6 Description of the input data Several modules are available for selection. Beginning with the simplest input module M1, additional inputs are included with the subsequent modules. All available output data are already contained in module M1.
  • Page 124: Sensor State

    Integration of the LES 36…/PB in the PROFIBUS Sensor state Sensor status byte uSensorState contains the following information: Designation Meaning ErrM Error mode, permanent sensor malfunction Command mode: the sensor is in command mode. The queries from the control are not processed and the measurement data are frozen (indicated by the constant scan number).
  • Page 125: Measurement Value 1 In Edge Analysis Window Eaw1

    Integration of the LES 36…/PB in the PROFIBUS Measurement value 1 in Edge Analysis Window EAW1 This is a signed 16-bit value (bytes wEdgeAW1Data1 HighByte and wEdgeAW1Data1 LowByte). Measurement value 1 of Edge Analysis Window EAW1 (= Profibus Inputs 1) is output in the value (for information on configuration, see "Profibus Inputs 1 ,...
  • Page 126: 11.6.3 Module M3

    Integration of the LES 36…/PB in the PROFIBUS 11.6.3 Module M3 If this module is set, the maximum measurement rate is reduced to less than 100Hz, depending on bus load. Note! Module M3 contains the input data from module M2. Only the additional input data are described in this section.
  • Page 127: Diagnostics And Troubleshooting

    Check settings of the Ethernet interface. Connect sen- sor to control Sensor not activated Activate sensor via PIN 2 on X1. Switch off activation input. See "Activation" on page 75. Table 12.1: General causes of errors Leuze electronic LES 36...
  • Page 128: Interface Error

    Using ping command check whether the sensor LES / control responds. If so, check port assignment to LES and control. The set ports must match. Firewall blocks ports Switch off firewall temporarily and repeat connection test. Table 12.2: Interface error Leuze electronic LES 36...
  • Page 129: Error Messages In Display (Starting From Firmware V01.40)

    During this time, the sensor is not ready - this can be seen at: X1 pin 4: Out Ready and Ethernet protocol: "Status". The sensor starts automatically and is then ready again. An Ethernet connection must be re-established. Leuze electronic LES 36...
  • Page 130 ZIP code / City: Country: Have the following information ready for the service department: - File: LESsoft.log (located in the installation directory of LESsoft) Leuze Service fax number: +49 7021 573 - 199 Leuze Service e-mail: service.erkennen@leuze.de Leuze electronic LES 36...
  • Page 131: Maintenance

    Contact your Leuze distributor or service organization should repairs be required. The addresses can be found on the inside of the cover and on the back. Note! When sending Light section sensors to Leuze electronic for repair, please provide an accu- rate description of the error. 13.3...
  • Page 132: Technical Data

    1 (ready) / 100mA / push-pull on X1 1 (cascading) / 100mA / push-pull on X1 6) 7) 4 / 100mA / push-pull on X3 (only LES 36/VC6 and LES 36HI/VC6) Inputs 1 (trigger) on X1 1 (activation) on X1...
  • Page 133 Technical data PROFIBUS (only LES 36/PB and LES 36HI/PB) Interface type 1x RS 485 on X4 Protocols PROFIBUS DP/DPV1 slave Baud rate 9.6kBaud … 6MBaud Indicators Green LED continuous light Ready No voltage Yellow LED continuous light Ethernet connection available...
  • Page 134: Typical Measurement Range

    Technical data 14.2 Typical measurement range -300 X = line length -225 -150 Measurement range +150 +225 +300 Figure 14.1: Typical measurement range LES 36 -100 Measurement range z-axis +100 Figure 14.2: Typical measurement range LES 36HI Leuze electronic LES 36...
  • Page 135: Dimensioned Drawing

    Optical axis X1: M12x1 connector, 8-pin, A-coded X2: M12x1 socket, 4-pin, D-coded X3: cap X4: M12x1 socket, 5-pin, B-coded (LES 36…/PB), A-coded (LES 36…/VC6) FE screw OLED display and membrane keyboard M4 thread, 4.5 deep Holder for mounting system BT 56 / BT 59...
  • Page 136: Type Overview And Accessories

    3 switching inputs for selection of the inspection task, model with plastic screen LRS 36/PB Line profile sensor for product detection (also multi-track), 50111332 detection range 200 … 800mm, line length 600mm, Ethernet interface, PROFIBUS DP Table 15.2: LRS type overview Leuze electronic LES 36...
  • Page 137: 15.1.3 Les

    Type overview and accessories 15.1.3 LES Type designation Description Part no. LES 36/PB Line profile sensor for edge detection and object measurement (also multi-track), 50111327 detection range 200 … 800mm, line length 600mm, Ethernet interface, PROFIBUS DP LES 36HI/PB Line profile sensor for edge detection and object measurement (also multi-track), 50111331 detection range 200 …...
  • Page 138: Accessories

    KD S-M12-8A-P1-050 Cable length 5m 50135128 KD S-M12-8A-P1-100 Cable length 10m 50135129 KD S-M12-8A-P1-150 Cable length 15m 50135130 KD S-M12-8A-P1-250 Cable length 25m 50135131 KD S-M12-8A-P1-500 Cable length 50m 50135132 Table 15.6: X1 cables for the LES Leuze electronic LES 36...
  • Page 139: 15.2.3 Accessories For Ethernet Interface X2

    KSS ET-M12-4A-RJ45-A-P7-020 Cable length 2m 50135080 KSS ET-M12-4A-RJ45-A-P7-050 Cable length 5m 50135081 KSS ET-M12-4A-RJ45-A-P7-100 Cable length 10m 50135082 KSS ET-M12-4A-RJ45-A-P7-150 Cable length 15m 50135083 KSS ET-M12-4A-RJ45-A-P7-300 Cable length 30m 50135084 Table 15.10: Ethernet connection cables M12 connector/RJ-45 Leuze electronic LES 36...
  • Page 140: Ready-Made Cables With M12 Connector/M12 Connector

    Connectors Type designation Description Part no. D-ET1 RJ45 connector for user-configuration 50108991 KDS ET M12 / RJ 45 W - 4P Converter from M12, D-coded, to RJ 45 socket 50109832 Table 15.13: Connectors for the LES Leuze electronic LES 36...
  • Page 141: Ccessories - Ready-Made Cables For X3 (Only Les 36

    Type overview and accessories 15.2.4 ccessories - Ready-made cables for X3 (only LES 36…/VC6) Contact assignment for X3 connection cables X3 (8-pin connector, A-coded) Name Core color Out4 Out3 Out3 InSel1 Out2 Out4 Out2 Out1 Out1 InSel3 InSel2 InSel3 InSel2...
  • Page 142: Connection Accessories / Ready-Made Cables For X4 (Only Les 36

    Type overview and accessories 15.2.5 Connection accessories / ready-made cables for X4 (only LES 36…/PB) Contact assignment for X4 connection cables X4 (5-pin connector, B-coded) Name Comment N.C. – Receive/transmit data RxD/TxD-N, green N.C. – N.C. 3 N.C. Receive/transmit data RxD/TxD-P, red N.C.
  • Page 143: Order Code Of Profibus Connection Cables For X4

    KDS PB-M12-4A-M12-4A-P3-150 M12 connector + M12 socket for PROFIBUS, axial connectors, 50135256 cable length 15m KDS PB-M12-4A-M12-4A-P3-300 M12 connector + M12 socket for PROFIBUS, axial connectors, 50135257 cable length 30m Table 15.18: PROFIBUS cables for LES 36…/PB Leuze electronic LES 36...
  • Page 144: Connection Accessories / Ready-Made Cables For X4 (Only Les 36

    Type overview and accessories 15.2.6 Connection accessories / ready-made cables for X4 (only LES 36…/VC6) Contact assignment for X4 connection cables X4 (5-pin socket, A-coded) Name Comment N.C. – 4-20mA 4-20mA Analog current output AGND – 1-10V Analog voltage output n.
  • Page 145: 15.2.7 Configuration Software

    The configuration memory saves the configured inspection tasks as well as the setting of general parameters such as operating mode, activation, cascading, detection range (FoV), etc., from the connected sensor and transfers these to a new device following an exchange. Leuze electronic LES 36...
  • Page 146: Appendix

    Triggered series connection of several sensors. A master sensor takes over the control (synchronization) of up to 9 slaves. Measurement time Time between two individual measurements. Object Medium to be detected by sensor. Offline LESsoft is operated without sensor Online LESsoft is operated with sensor Leuze electronic LES 36...
  • Page 147: Revision History / Feature List

    Beginning Supports Additional device types LES 36/ LxSsoft V1.40 (LPSsoft V1.33, with V01.30 LES 36 PB with PROFIBUS and LES 36/ LESsoft V1.10, LRSsoft V1.20) VC with analog output Table 16.1: Revision History - Firmware Leuze electronic LES 36...
  • Page 148: 16.2.2 Configuration Software

    LxSsoft V2.30 (LPSsoft V2.20, with V01.41 trol possibility at the sen- control panel of the sensor LESsoft V2.30, LRSsoft V2.20) Supports LES 36/VC6, Additional device types LES 36/ LES 36HI/VC6 VC6, LES36HI/VC6 Relative window position- ing of LES Beginning Ethernet default gateway, IP address for default gateway LESsoft V2.40...
  • Page 149 Appendix LxSsoft V1.40 (LPSsoft V1.33, Support of the additional device Configuration of LES 36 device variants LESsoft V1.10, LRSsoft V1.20) types LES 36/PB with PROFIBUS and LES 36/VC with analog out- LxSsoft V1.41 (LPSsoft V1.33, Installer for Windows 7 Software runs with the 32 and 64 bit ver- LESsoft V1.10, LRSsoft V1.20)
  • Page 150: Index

    Electrical connection Mounting location Electrical data Mutual interference Encoder count Environment variable Environmental data Name plate Error limits Error message Ethernet cable assignment Ethernet connection Occlusion Ethernet interface OLED display Exposure duration Optical data Exposure setting Leuze electronic LES 36...
  • Page 151 Measurement frequency 121 Module Output data Outputs Parameter Slave Receiver occlusion Receiving optics Repair Resolution Rod mounting Servicing Shielding System requirements System variable Termination Time behavior Triangulation principle Trigger input Trigger time Trouble shooting Type overview Leuze electronic LES 36...

This manual is also suitable for:

Les 36 hi

Table of Contents