Page 1
LRS - Line Range Sensor Light Section Sensors T E C H N I C A L D E S C R I P T I O N...
Page 2
Leuze electronic GmbH + Co. KG P.O. Box 1111, D- 73277 Owen / Teck Tel. +49(0) 7021/ 573-0, Fax +49(0)7021/ 573-199 Sales and Service Germany Sales Region North Sales Region South Sales Region East Phone 035027/629-106 Phone 07021/573-306 Phone 07021/573-307...
Page 7
Command without user data Command with user data Integration of the LRS 36/PB in the PROFIBUS ....83 11.1 General information ........... . . 83 Characteristics of LRS 36/PB 11.2...
Page 8
15.2.4 Accessories ready-made cables for X3 (only LRS 36/6) ......105 Contact assignment for X3 connection cables Order code of X3 connection cables 15.2.5...
Line lengths and shielding......... . . 35 Figure 6.3: Connecting the PE ground potential to the LRS ......36 Figure 6.4: Connecting the cable shield in the switch cabinet .
Page 10
Configuration software for the LRS ........
Attention Laser! This symbol warns of possible danger caused by hazardous laser radiation. The LRS uses a class 2M laser: Viewing the laser output with certain optical instruments, e.g. magnifying glasses, microscopes or binoculars, may result in eye damage. Notice! This symbol indicates text passages containing important information.
The protection of personnel and the device cannot be guaranteed if the device is operated in a manner not complying with its intended use. The light section sensors of the LRS series are laser sensors for presence detection of objects in defined areas.
Laser class 2M product, and with US Regulation 21 CFR 1040.10 with the deviations pursuant to "Laser Notice No. 50", dated 24th June 2007. Radiant Energy: The LRS uses a laser diode. The emitted wavelength is 658 nm. The maximum laser power, which is determined with measurement condition 3 acc. to EN 60825-1: 2007 (7mm measuring diaphragm at a distance of 100mm from the virtual source), is 8.7mW.
If the signs would be concealed as a result of the mounting situation of the LRS, attach the signs in the vicinity of the LRS such that reading the signs cannot lead to looking into the laser beam!
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 Technical description LRS...
As a consequence, the minimum object size in Z-direction also increases with distance. The figure 3.3 shows this relation: Object distance in Z direction [mm] Figure 3.3: Typical minimum object size Technical description LRS Leuze electronic...
• Measurement value display in mm on OLED display as an alignment aid • Up to 16 inspection tasks • Compact construction • Robust design and easy operation • Activation input, trigger input, cascading output Leuze electronic Technical description LRS...
Device description 4.1.3 Line Range Sensor - LRS Line Range Sensors are designed to perform proximity object detection along the laser line. Similar to a light barrier or a laser scanner, the sensor detects the presence of objects through scanning. With individual configuration, one sensor can be used to detect single or multiple objects.
LRSsoft. Detection operation In detection operation, the LRS 36/6 is connected to the process control via its 4 switching outputs; the LRS 36/PB is connected to the process control via PROFIBUS. Alternatively, the LRS can be operated via the Ethernet interface on X2, see chapter 10 "Integrating the LRS in the process control (Ethernet)".
- The shortest possible time interval between two successive trigger edges is 10ms. Notice! Ex works, the LRS is set to Free Running (shown on display: fRun). In order for it to respond to signals on the trigger input, the operating mode must be set via the LRSsoft configuration software to Input Triggered (shown on display: Trig).
So that a measurement can be triggered on each PROFIBUS cycle, the PROFIBUS trigger of the LRS 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.
4.3.1 Inspection Task The LRS lets you operate with up to 16 individual inspection tasks, each of which may contain up to 16 rectangular analysis windows (AWs) that can be configured independently and that may overlap arbitrarily. 1-16 AWs can be defined for each inspection task. The results of the individual AWs may be combined via logic operations (AND, OR, NOT).
Detailed evaluation results such as, e.g., the status of all AWs, the number of hit points and the state of the switching outputs are transmitted via Ethernet and can be queried via PROFIBUS. For more information please refer to chapter 10. Leuze electronic Technical description LRS...
Object points No object detection due to (hit points) shadowing in the detection range Objects Line length 600mm x axis Figure 4.6: Principle of object detection - areas with laser occlusion are shown in orange Technical description LRS Leuze electronic...
AW3 is used to check whether the container is empty. It is not empty if hit points are detected in AW3. Figure 4.7: Zero check of cases Leuze electronic Technical description LRS...
The settings necessary for the configuration of the AWs, the assignment of the AW states to the switching outputs and the configuration of general parameters such as operating mode, activation, cascading, detection range (FOV) etc. are carried out in LRSsoft, see chapter 9.4 "Parameter settings/Parameters tab" and chapter 9.7. Technical description LRS Leuze electronic...
15.1 Figure 5.1: Device name plate LRS 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.
Installation and mounting Mounting the LRS The light section sensors can be mounted in different ways: • By means of two M4x6 screws on the back of the device. • Using a BT 56 mounting device on the two fastening grooves.
5.2.1 BT 56 mounting device The BT 56 mounting device is available for mounting the LRS using the fastening grooves. It is designed for rod installation (Ø 16mm to 20mm). For ordering instructions, please refer to chapter "Type overview and accessories" on page 101.
Installation and mounting 5.2.2 BT 59 mounting device The BT 59 mounting device is available for mounting the LRS on ITEM profiles using the fastening grooves. For ordering instructions, please refer to chapter "Type overview and accessories" on page 101.
In order to select the right mounting location, several factors must be considered: • The required resolution. This is a result of the distance and the resulting line length. • The permissible cable lengths between the LRS and the host system depending on which interface is used.
If the signs would be concealed as a result of the mounting situation of the LRS, attach the signs in the vicinity of the LRS such that reading the signs cannot lead to looking into the laser beam! When installing the LRS in North America, also attach the stick-on label saying "Complies...
An overview of the available types may be found in chapter 15.1 Figure 6.2: Connections of the LRS The pin assignment of X1 and X2 is identical for all light section sensors; X3 and X4 differ depending on device type.
The housing of the LRS contains no parts that need to be adjusted or maintained by the user. Before connecting the device please ensure that the supply voltage matches the value printed on the nameplate.
Carefully ground all parts of the machine and of the switch cabinet using copper strips, ground rails or grounding cables with large cross section. Below, the EMC-compliant connection of the light section sensors LRS is described in practical use with images.
• 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 shield to the PLC Leuze electronic Technical description LRS...
The trigger input is used for synchronizing the measurement with the process and for synchronizing cascaded sensors. Detailed information on this topic can be found in chapter 4.2.3 and chapter 4.2.4. The internal equivalent circuit is shown in figure 6.6. Technical description LRS Leuze electronic...
LED (see "LED status displays" on page 42). 6.3.2 Connection X2 - Ethernet Attention! All cables must be shielded! The LRS makes either the Ethernet interface available as host interface. X2 (4-pin socket, D-coded) Name Remark Transmit Data +...
Ensure adequate shielding. The entire connection 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. 6.3.3 Connection X3 - switching inputs/outputs (only LRS 36/6) X3 (8-pin socket, A-coded) Name Remark...
LRS 36/PB without interrupting the PROFIBUS cable. The external Y plug adapter is also needed if the LRS 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.
Indicator and operating elementsLRS After switching on the supply voltage +U and following error-free initialization of the device, the green LED illuminates continuously: the LRS is in detection mode. The OLED display shows the alignment aid and the status display. 7.1.1...
Command mode If the LRS is connected to a control, the control can put the LRS into a command mode in which it receives and executes commands (see chapter 10.3 "Ethernet commands"). In command mode, the OLED display has one line.
Here you can set the IP address of the LRS. 192.168.060.003 Net Mask Addr. Here you can set the relevant subnet mask. 255.255.255.000 Here you can set the local port (at the LRS) for Port Num. local Ethernet communication. 9008 Here you can set the destination port for Port Num.
Page 47
Table 7.2: Menu structure Notice! If no button is pressed for three minutes, the LRS exits menu mode and switches to detection mode. The OLED display again displays the alignment aid and the sensor status display. Notice! After changing the PROFIBUS slave address, a power-on reset must be performed in order to permanently accept the address.
IP Address 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. Technical description LRS Leuze electronic...
Interrupting a reset Pressing causes the adjacent display to appear. If you now press the FactorySettings Execute button, you will exit the menu without resetting the LRS to factory settings. Executing a reset Pressing the button while the checkmark (...
In order to be able to establish an UDP communication with the PC, the IP address of your PC and the IP address of the LRS must lie in the same address range. The LRS has no built- in DHCP client, so that you need to set the address manually. This is done the easiest way via the PC.
LRS. Close the settings dialog by confirming all windows with OK Connect the interface X2 of the LRS directly to the LAN port of your PC. Use a KB ET-…-SA-RJ45 cable for the connection, see table 15.8 The PC first tries to establish a network connection via the automatic configuration.
Configuration area in LRSsoft and then clicking the Check Connectivity button. Connect the LRS to the process control. This can be performed for all LRS via the Ethernet interface or, depending on model, via the switching outputs or the PROFIBUS.
In the next window, you can select which configuration software you would like to install. You will need LPSsoft for configuring light section sensors of the LPS series. You will need LRSsoft for configuring light section sensors of the LRS series. You cannot deselect the first option, MATLAB Compiler Runtime, since this component is needed in all cases.
Page 55
LRSsoft 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 Technical description LRS...
Page 56
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. Technical description LRS Leuze electronic...
Page 57
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 Technical description LRS...
Page 58
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 LRSsoft / LPSsoft.
Then click on OK and close also all further windows using OK. Shut Windows down, restart Windows and then start LRSsoft by double-clicking on it. Now the start screen of LRSsoft appears, as described in chapter 9.3. Leuze electronic Technical description LRS...
Figure 9.1: Initial screen LRSsoft In the IP Configuration area, enter the settings for the LRS and click on Accept. You had already determined this data in chapter 8.2. Click on Check Connectivity to test the connection to the LRS.
PROFIBUS settings Automatic detection of the baud rate / automatic address assignment The LRS 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).
Figure 9.3: LRSsoft parameter configuration First go to the LRS Parameters panel and set the values required for operating the LRS. Then go to the Analysis Functions panel and define analysis windows and their logic combination for your inspection task. Finally, save these settings as an Inspection Task by clicking on Apply Settings or Transmit to Sensor.
The common procedure for creating and storing inspection tasks is described in chapter 9.7. Operation Mode In Operation Mode you can configure using Free Running that the LRS continuously detects and outputs measurement data (factory setting). With Input Triggered, the LRS captures measurement data only if a rising edge is present at the trigger input, a PROFIBUS trigger is pending or the "Ethernet Trigger"...
LRSsoft configuration software Field of View Using Field of View you can restrict the detection range of the LRS. The same happens if you click on the square handles of the detection range framed in blue with the mouse and then pull.
When clicking on the check box Active in one of the 16 lines AW01 to AW16, a black frame with handles appears in the display of the detection range on the left: Figure 9.5: Definition of analysis windows (AW) Leuze electronic Technical description LRS...
Page 66
By using a logic combination of the analysis results of these 4 AWs, you can configure the switching behavior of outputs Out1 to Out4 and the PROFIBUS process data in the Analysis Window Combination Tables panel. Technical description LRS Leuze electronic...
Parameter settings for control of the switching outputs Notice on analysis depth: By selecting a large value for the analysis depth, the LRS has a reliable switching behavior; the response time of the sensor increases correspondingly (example: analysis depth = 3 ->...
Because the columns of OUT1 are linked with OR, OUT1 is active and displayed in green. The analysis depth Ana. Depth is set to 10. This means that 10 identical evaluations must occur in sequence in order to cause the switching output to toggle. Technical description LRS Leuze electronic...
Inspection tasks 0-15 can be selected via PROFIBUS. Notice! If Enable External Inspection Task Selection is ticked, the inspection task can only be selected via the inputs or PROFIBUS. In this case, the drop-down menu under Inspection Task Selection has no function. Leuze electronic Technical description LRS...
Recording -> Archive -> Open Record menu. Notice! After opening a detection data set, the current parameter setting of the LRS should be transmitted (see chapter 9.6.2) so that the current sensor configuration is displayed on Hits On and Hits Off.
Page 71
(byte 2) for the PROFIBUS device. The associated data set number is displayed under Profile No. The Show Plane option marks this individual data set with a solid black line. Leuze electronic Technical description LRS...
• Transmit to Sensor permanently stores all parameter settings of all defined inspection tasks from the configuration software in the LRS. • Reset to factory settings resets the LRS to factory settings. Technical description LRS Leuze electronic...
After activating the magnifying glass, each click on the view enlarges the displayed section. The enlarged section can then be shifted with the activated hand function to display the area of interest. Notice! The click-and-drag method for zooming known from other programs is not possible here. Leuze electronic Technical description LRS...
Definitions window (Define AW Definitions button). Confirm each AW that has been set with Apply Settings: - Within an AW, the pixels of the current 2D profile are determined by the LRS (Current Hits). - For each AW, the user then configures an upper and a lower limit for the hits (Hits On/Off) and thus a switching hysteresis.
Example: for command 43 4E (Connect to Sensor), a Windows PC must transmit 4E 43 in order for it to be understood by the LRS. In the transaction number of the answer from LRS, there is then also 4E 43.
Length of the header: 30 bytes For sensor models with encoder input, these 4 bytes contain the encoder value. With the LRS, this value is always 0x0000 0000. User data The user data have a variable length of 0, 1, 2, 3 or 53 data words (0, 2, 4, 6 or 106 bytes).
Integrating the LRS in the process control (Ethernet) 10.2.3 Transaction number In detection mode 0x0000 is displayed here In command mode, the command acknowledgment of the sensor contains the command number of the command that is answered. 10.2.4 Status Indicates the state of the sensor. The state is coded as follows:...
Indicates the number of user data transferred. The fixed default value in detection mode is 0x0059. 10.2.9 Evaluation telegram In detection mode for the LRS, the evaluation telegram is transmitted with command number 0x5354. After the header are 53 user data words with the following structure: Byte...
The sequence in which the individual bytes of the commands and of the protocol must be transmitted in order to be processed by the LRS corresponds to the "little-endian" byte sequence. The response of the LRS also corresponds to the "little-endian" standard. For further information, see the notice in chapter 10.2.
Page 80
Integrating the LRS in the process control (Ethernet) Using the Connect to sensor and Disconnect from sensor commands, a connection between control and sensor is established or terminated. The communication with the LRS is carried out via the ports previously configured in LRSsoft.
Integrating the LRS in the process control (Ethernet) 10.3.2 Commands in command mode The following commands are available in command mode: Command from control to LRS Answer from LRS to control User User Command Command Meaning data Meaning data words...
SF = SaveFlag If SF=0 then the inspection task is changed only temporarily. If SF=1 then the newly set inspection task is retained even after a restart of the LRS. Get Actual Inspection Task The LRS responds to sensor control command 0x0049 with 0x004A and one word of user...
Integrating the LRS in the process control (Ethernet) 10.3.4 Commands in detection mode The following commands are available in detection mode: Command from control to LRS Answer from LRS to control User User Command Command Meaning data Meaning data words...
0x0000 0x0000 0x0000 0x434E 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 Command with user data Set Actual Inspection Task (LRS in command mode, activate Task 15 and do not store in volatile memory) PC to LRS: 0xFFFF 0xFFFF 0x0000 0x004B...
• Activation and trigger via PROFIBUS The restriction on the selection of maximum 8 inspection tasks via the switching inputs for the LRS 36/6 does not exist for the LRS 36/PB. Up to 16 different inspection tasks can be activated by the control.
PROFIBUS (slave address 126) is preset. Automatic address assignment The LRS 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).
Described parameters (P) are parameters of the GSD file in the control. Notice! The current version of the GSD file LEUZE401.GSD for the LRS 36/PB can be found on the Leuze website at Download -> detect -> Measuring sensors. Leuze electronic...
The LRS 36/PB has one module slot. Select the corresponding module from the GSD to set the process data of the LRS 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.
Integration of the LRS 36/PB in the PROFIBUS Input data (from viewing position of control) Posi- Name Bits in byte Value Meaning Module tion range Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 (bytes) wScanNum (HighByte) SN_b15 SN_b14 SN_b13 SN_b12 SN_b11 SN_b10 SN_b9 SN_b8 0 … 255 Scan number (Highbyte)
So that a measurement can be triggered on each PROFIBUS cycle, the PROFIBUS trigger of the LRS 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.
Integration of the LRS 36/PB in the PROFIBUS 11.6 Input data description 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. The modules with higher numbers also contain the modules with the lower numbers (example: M2 contains M1 and the extensions of M2).
Integration of the LRS 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).
Notice! The restriction for the logic combinations in the LRS 36/6 to 4 switching outputs can thereby be circumvented and the control can define further switching outputs itself via logic combinations of its own.
Integration of the LRS 36/PB in the PROFIBUS Number of hit points (Current Hits) in analysis window 6 Number of hit points (Current Hits) in analysis window 9 See description under Number of hit points (Current Hits) in analysis window 1 in chapter 11.6.3...
Object not in Visual assessment with LRSsoft, measurement range reduce working distance/position of the sensor to the object. See "LRS parameters area" on page 60. Detection range selected Configure detection range with LRSsoft. too small See "Field of View" on page 62.
Ethernet" on page 48. Incorrect port assigned to Using ping command check whether the sensor LRS / control responds. If so, check port assignment to LRS and control. The set ports must match. Firewall blocks ports Switch off firewall temporarily and repeat connection test.
Page 97
Country: Have the following information ready for the service department: - File: LRSsoft.log (located in the installation directory of LRSsoft) - Configuration file *.lrs, if necessary screenshots, figures, etc. Leuze Service fax number: +49 7021 573 - 199 Leuze Service e-mail for the LOS product unit: service.erkennen@leuze.de...
General maintenance information Usually, the light section sensor does not require any maintenance by the operator. Cleaning In the event of dust buildup, clean the LRS with a soft cloth; use a cleaning agent (commercially available glass cleaner) if necessary. Notice! Do not use aggressive cleaning agents such as thinner or acetone for cleaning the .
3 (inspection task selection) on X3 (only LRS 36/6) ≥ (U Signal voltage high/low -2V)/≤ 2V PROFIBUS (only LRS 36/PB) Interface type 1x RS 485 on X4 (only LRS 36/PB) Protocols PROFIBUS DP/DPV1 slave Baud rate 9.6kBaud … 6stMBaud Indicators Green LED...
Page 100
Number of detection fields: up to 16 with the option of logic combination Number of inspection tasks: up to 16 (8 of these can be activated via inputs) 1=transient protection, 2=polarity reversal protection, 3=short circuit protection for all outputs, requires external protective circuit for inductive loads Technical description LRS Leuze electronic...
PE screw OLED display and key pad M4 thread, 4.5 deep Holder for mounting system BT 56 / BT 59 Zero point and orientation of the coordinate system for detection data Figure 14.2: Dimensioned drawing LRS Technical description LRS Leuze electronic...
Type designation Description Part No. D-ET1 RJ45 plug for user-configuration 50108991 KDS ET M12 / RJ 45 W - 4P Converter from M12 D-coded to RJ 45 socket 50109832 Table 15.12: Connectors for the LRS Technical description LRS Leuze electronic...
Type overview and accessories 15.2.5 Connection accessories / ready-made cables for X4 (only LRS 36/PB) Contact assignment for X4 connection cables X4 (5-pin connector, B-coded) Name Remark 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.
CD TD LRS 36 CD with configuration software for light section sensors 50111933 Table 15.18: Configuration software for the LRS Notice! The current version of the configuration software can be found on the Leuze website at Download -> detect -> Measuring sensors.
Inspection Task Summary of all settings, which are required to solve an application. The LRS per- mits working with up to 16 individual inspection tasks. Each task can contain up to 16 AWs that are independently configurable and may overlap arbitrarily. Each...
Page 112
X/Z values when passing through the laser beam along the x-axis. 2D view Graphical presentation of the X/Z coordinate values of an object within the detection range. Trigger Triggering one or more measurement processes with precise time allocation. Standardized connectionless Ethernet protocol, Layer 4. Technical description LRS Leuze electronic...
LxSsoft V01.30 (LPSsoft V01.30, with V01.25 Support with PROFIBUS LRSsoft V01.20) Ethernet sensor activation LPS 36, LRS 36: activation now possible via Ethernet. Reduction in cabling Factory setting - analysis LRS 36: the maximum detection depth 1 for LRS 36...
Need help?
Do you have a question about the LRS and is the answer not in the manual?
Questions and answers