ASTECH LDM41E User Manual Download Page 43

LDM41E and LDM42E Manual 

List of Commands 

ASTECH GmbH 

Page 43 

10

 

List of Commands 

Table 12 : Command list LDM41E and LDM42E 

Command 

Description 

DT 

Starts distance tracking 

DS 

Starts distance tracking (< 7 m) 

DW 

Starts distance tracking on white target at 10 Hz 

DX 

Starts distance tracking on white target at 50 Hz (only LDM 
42E) 

DF

20

 

Starts remote-triggered single distance measurement 
(single shot) 

DM 

Starts single distance measurement (single shot) 

TP 

Queries inner temperature 

SA 

Queries / sets floating average value (1...20) 

SD 

Queries / sets output format (dec/hex/sig) 

ST 

Queries / sets time to measure (0...25) 

SF 

Queries / sets scale factor 

SE 

Queries / sets error mode (0, 1, 2) 

AC 

Queries / sets alarm center 

AH 

Queries / sets alarm hysteresis 

AW 

Queries / sets alarm with 

HO

21

 

Queries / sets temperature for heating on 

HF

21

 

Queries / sets temperature for heating off 

RM 

Queries / sets removal measurement parameters 

TD 

Queries / sets trigger delay and level 

TM 

Queries / sets trigger mode and level 

BR 

Queries / sets baud rate 

AS 

Queries / sets auto start 

OF 

Queries / sets offset 

SO 

Sets current distance as offset 

                                                           

20

 Trigger function is not available for devices with internal heating (option -h) 

21

 Only for devices with internal heating (option -h)

 

Summary of Contents for LDM41E

Page 1: ...Manual LDM41E and LDM42E Version 1 6 ...

Page 2: ...evelopment Editorial deadline July 2018 Firmware version 7 05 and 8 06 Manual version V 1 6 FIle Manual_LDM41 42E_EN_V1 6 docx Note Proper care has been used in compiling this document No liability will be accepted in the event of damage resulting from failure to comply with the information contained herein Revisions history Manual Version Date Changes 1 6 27 07 2018 Max Trigger voltage 1 5 29 06 ...

Page 3: ...5 3 Shield and Grounding 18 6 Limiting Values for Voltages 19 7 Start up 20 7 1 Start up with RS232 20 7 2 Start up with Ethernet 21 8 Commands and Parameter 23 8 1 General 23 8 2 DT distance tracking 25 8 3 DS distance tracking 7 m 25 8 4 DW distance tracking with target board 10 Hz 25 8 5 DX distance tracking with target board 50 Hz 26 8 6 DF distance measurement with external trigger 26 8 7 DM ...

Page 4: ...igger level 33 8 21 TMx y display set trigger mode trigger level 33 8 22 BR display set baud rate 2400 38400 35 8 23 AS display set autostart command 35 8 24 OF display set distance offset 35 8 25 SO set current distance to offset 35 8 26 LO Laser on 36 8 27 LF laser off 36 8 28 PA display settings 36 8 29 PR reset settings 36 9 Interface Connection 37 9 1 Ethernet 37 9 2 Serial Interface RS232 39...

Page 5: ...3 Telnet Program 37 Figure 14 LDM41E Sensor Page 38 Figure 15 Digital output behavior positive negative hysteresis 41 III List of tables Table 1 Technical data 11 Table 2 LDM41E and LDM42E terminals 15 Table 3 Pin assignment power supply and trigger 16 Table 4 Pin assignment Fast Ethernet 16 Table 5 Pin assignment RS232 17 Table 6 Pin assignment programming cable 18 Table 7 Input voltages 19 Table...

Page 6: ...Laser light which is diffusely reflected back from the target with a certain shift in phase to be compared with a reference signal From the amount of phase shift a required distance can then be determined with millimeter accuracy Figure 1 Measurement principle A distance measuring cycle can be triggered in three different ways By sending a command from the PC or another equivalent control unit By ...

Page 7: ...o the target depending on reflectance and environmental conditions Visible Laser beam for easier sighting Fast Ethernet port for input of measuring functions commands from and output of measured values to a PC or a PLC Telnet connection Switching output with adjustable limit and hysteresis Measured values can be displayed in meters decimeters centimeters feet and inches due to Option for remote tr...

Page 8: ...injury to the user or material damage to the LDM41E and LDM42E Cable connectors must not be plugged or unplugged under voltage Remember to turn voltage supply off before you begin working on cable connections 2 2 Intended Conforming Use Measurement of distances Special measuring functions Compliance with prescribed temperatures for operation storage Operation at correct voltage level Application o...

Page 9: ...jects materials allow light to pass through but are not transparency e g polystyrene wax different plastics etc can give a too large measured value since also light is reflected by deeper layers Rapidly changing measuring conditions are likely to falsify the result of measurement 2 4 Laser Classification The LDM41E and LDM42E are Class 2 laser product 1 mW as stipulated in EN60825 1 2007 Class 2 C...

Page 10: ...mance capabilities and achieve a long service life you should always follow these operating rules Do not turn the module on if there is fogging or soiling on its optical parts Do not touch any of the module s parts with bare hands Proceed with care when removing dust or contamination from optical surfaces Prevent shock impacts during transport and use of the LDM41E and LDM42E Prevent overheating o...

Page 11: ...n 2 5 m s in DX Mode LDM42E only Operating temperature 10 C up to 50 C 40 C up to 50 C h option only Storage temperature 40 C up to 70 C Supply voltage 10 V 30 V DC protected against polarity reversal 9 Power consumption Depending on operation mode 2 5 W in Standby 3 5 W for distance tracking 24 W with heating active h option only Data interface Fast Ethernet 10 100 Mbit 4 dependent on target refl...

Page 12: ...nce 10 g 6 ms Persistence shock DIN ISO 9022 3 31 01 1 Laser Class Laser class 2 under EN60825 1 2007 Class 2 Wave length 650 nm red visible Laser divergence 11 0 6 mrad Laser angle tolerance Better than 1 to the ground plane MTBF 30 000 h 24 7 Operation temp 25 C Connector 12 pol M18 male socket Binder Serie 423 Dimensions LxWxH 212 mm x 96 mm x 50 mm Mounting 100 mm x 85 mm 4 x M6 holes Weight a...

Page 13: ...of the LDM41E h and LDM42E h Figure 3 Dimensional drawing To protect the sensor s optical surfaces from dust physical contact mechanical impacts etc the casing has a protection tube attached to it Optionally different protection windows and optical filters are available Please note that measurement cannot be guaranteed to function correctly if the equalizer tube is removed by unqualified action Th...

Page 14: ...DM41E and LDM42E s zero point is located 7 mm behind the outer surface of the front cover or 137 mm before the back cover outside face respectively This zero point has been introduced for constructional design reasons It can be compensated with the help of parameter OF see section 8 24 OF display set distance offset ...

Page 15: ...imised screening and a high IP level The following connection plugs should be used Table 2 LDM41E and LDM42E terminals Quantity Connector Type Use 1 4 pin male cable connector series 715 D from Binder Fast Ethernet 10 100 1 5 pin male cable connector series 713 A from Binder RS232 1 5 pin female cable connector series 713 A from Binder Power supply switching output and trigger input Note Various c...

Page 16: ... Power supply 0 V 4 CONFIG black do not use for service only 5 TRIGGER gray Trigger input 3 to 20 V ground potential GND Fast Ethernet The LDM41E and LDM42E has a terminal for circular plug in connectors series 715 D for Ethernet from Binder conforming to the relevant standards Table 4 Pin assignment Fast Ethernet Pin Description Comment 1 TD TD RJ45 1 white orange 2 RD RD RJ45 3 white green 3 TD ...

Page 17: ... this interface should only be used for configuring the LDM41E and LDM42E Please configure using the programming cable and the LDMTool program Note The receiving line of the RS232 serial interface of the LDM41E and LDM42E is deactivated while connecting to the Telnet client If the Telnet connection is terminated the full use of the RS232 is again possible Please observe the RS232 standard The maxi...

Page 18: ...3 Shield and Grounding Cable shields must be grounded with low resistance Only high quality shielded cables should be used Carrier bases and control boxes should have equal potential Potential differences could lead to electrical currents and may cause EMC problems no correct measurement function or switching the gauge off or on is necessary If no potential equalization is possible then mount the ...

Page 19: ...nt VCC 10 up to 30 V pole reversal protected CONFIG do not connect reserved TRIG 12 25 V short circuit proof RxD 25 V short circuit proof Output voltages Table 8 Output voltages Terminal point Voltage Comment OUT like VCC Ri 135 mΩ max 0 7 A load short circuit proof TxD 5 4 V short circuit proof Limiting values of voltages loads and logical levels comply with relevant RS232 and Ethernet standards ...

Page 20: ...ed onto the target and kept in a stable position The target to be measured should preferentially have a homogeneous bright surface Caution Do not use any retro reflectors The alignment of the LDM41E and LDM42E is facilitated by a Laser beam 13 that is visible and can easily be turned on at the PC e g command DT starting the measurement and switch the Laser on see 8 2 7 1 Start up with RS232 For st...

Page 21: ...tively there is a removable sticker with this information on the device Connect the LDM41E and LDM42E over a Switch or Hub to the network If the IP address of your PC does not start with 192 168 you have to unplug the PC from the network and change the IP of your PC and establish a local connection to the PC You can discover the IP address of your PC with Start Run cmd starting the command input a...

Page 22: ... the configuration mode see image above By entering the number corresponding to Selection you can change IP addresses and subnet mask Attention The changed IP addresses and subnet mask is active after a restart of the device Then you must re establish the Telnet connection The configuration mode can be protected by a password The password must be at least 4 characters long If no password character...

Page 23: ...conditions and the measuring task All valid settings will be preserved on turning the LDM41E and LDM42E off They can only be replaced with new value entries or changed back to their standard values by running an initialization routine Command entries are not case sensitive This means that small and capital lettering can be used for commands Any command must be terminated by a hexadecimal 0Dh carri...

Page 24: ...H GmbH Note The LDM41PN and the LDM42PN are not equipped with an analogue current output Therefore the configuration commands for the analogue output cannot be used for the LDM41 42PN However they do ensure compatibility with the LDM41A andLDM42A without Profinet ...

Page 25: ...setting the ST parameter to a desired value ESC stops the measurement 8 3 DS distance tracking 7 m Input parameter SA SD SE SF ST OF Output RS232 RS422 digital switching output analog output Operation in DS mode makes sense where different types of surfaces have to be measured at close range up to 7 m Compared to DT measuring mode it allows a higher measurement rate Within the range from 0 1 m to ...

Page 26: ...ce greater than 16 cm within the measuring field Caution To prevent transmission problems please use 9600 baud as the minimal baud rate for DX Mode 8 6 DF distance measurement with external trigger14 Input parameter SD SE SF ST OF TD ST SA RM Output RS232 RS232 digital switching output analog output DF mode allows a measurement that is triggered by an external trigger pulse Initially after selecti...

Page 27: ...20 SA allows you to calculate a floating average value from 1 to 20 measured values Calculation is based on this formula Average value 𝑥 𝑥1 𝑥2 𝑥3 𝑥𝑛 20 𝑛 Standard setting is 1 no average 8 10 SD display set display format d h s SD selects the output format of measured value data There are three modes available Table 9 Output format LDM41E and LDM42E Parameter Output Format d decimal xxx xxx CR LF ...

Page 28: ... CR LF good signal quality Distance 4 996 m SF10 dec 049 960 CR LF hex _00C328 CR LF 49960 4996 mm SF10 dec sig 049 960_000005 CR LF Error case dec hex E15 CR LF see 11 Error Codes 8 11 ST display set measure time 0 25 Measuring time is directly conditional on the selected measuring mode As a general rule one may say the poorer the reflectance of the surface of a particular target the more time th...

Page 29: ...ue because the underlying principle of measurement is subject to certain variances that cannot be accounted for DT measuring mode measuring time ST x 240 ms except ST 0 DS measuring mode measuring time ST x 150 ms except ST 0 Example The target distance is 25 m but the target s reflectance is not ideal With a measuring time setting of ST 2 E15 will be output following measurement The user must inc...

Page 30: ...n error message E15 E16 E17 Depending on the particular LDM41E and LDM42E application environment error messages have to be handled in different ways Available setting options are 0 1 and 2 with the following effects in the case of an error Table 11 Meaning of SE SE Digital switching output Alarm Analog output 4 20 mA 0 ALARM of latest valid measurement Outputs current of last valid measurement 1 ...

Page 31: ...vel Positive sign active range is HIGH active Negative sign active range is LOW active No sign setting means positively signed see 9 4 Digital Switching Output Alarm 8 16 AW display set ALARM width AW sets the length of the active range beginning at AC AW settings must be made in agreement with the currently valid SF scale factor AW is always equal or greater than 0 zero AW is always equal or grea...

Page 32: ...y space 20h x designates the number of preceding measured values that will be evaluated in the case of non conforming measurement A maximum of ten preceding measured values can be evaluated y defines the range of permissible values If this range is exceeded in negative or positive direction the respective measured value will be corrected accordingly z stands for the number of values that are out o...

Page 33: ...ay time between trigger signal and start of measurement delay can be set from 0 to 9999 ms y 0 for HIGH LOW slope 1 for LOW HIGH slope Example TD1000_0 Enter In the given example the delay has been set to 1000 ms and the trigger slope to rising LOW to HIGH transition 8 21 TMx y display set trigger mode trigger level17 TM provides parameter setting options for the auto start trigger function which ...

Page 34: ...easurement is triggered on trigger line at H level LOW HIGH slope Standard setting is TM0 1 For triggering the trigger level must be permanently applied Examples a ASDT TM1 1 Trigger signal H DT is performed Trigger signal L DT is stopped Figure 9 Trigger level 1 b ASDM TM1 0 Trigger signal H no change in state Trigger signal L DM active i e one measurement is triggered ...

Page 35: ...ble entries are those delivering a measured value on the output side an ID command or the command for turning the Laser on LO For example if ASDT has been parameterized the LDM41E and LDM42E will begin with distance tracking on turning on power 8 24 OF display set distance offset With the help of OF offset the user may define a zero point for his her application For details about the position of t...

Page 36: ...all parameters in a table 8 29 PR reset settings PR resets all parameters except baud rate After this a new configuration of the LDM41E and LDM42E is necessary average value SA 1 display format SD d measure time ST 0 scale factor SF 1 error mode SE 1 ALARM center AC 1000 ALARM hysterese AH 0 1 ALARM width AW 100000 distance of Iout 4mA RB 1000 distance of Iout 20mA RE 2000 remove measurement RM 0 ...

Page 37: ...Fast Ethernet with 100 MBit s The data is transmitted using Telnet port 23 This must be established with a Telnet client connects to the Telnet server in the LDM41E and LDM42E The program EtherTool provides an integrated telnet client The commands are described in chapter 8 starting page23 The data output format is determined by parameter SD display format see page 27 Figure 11 Telnet Program ...

Page 38: ...e browser can assess to the HTML page at the same time Inputs are not available Figure 12 LDM41E Sensor Page 18 With the Internet Explorer select at first under Tools Security Internet Options the option Local Intranet and then click on Sites In the new window must be clicked on Advanced and in the next window add the IP address of the LDM for example http 192 168 0 51 ...

Page 39: ... is determined by parameter SD display format see page 27 9 3 Output Format Ethernet and RS232 The output format on the serial interface is selected by the command SD There are three modes available Parameter Output Format d decimal xxx xxx CR LF x 0 9 h hexadecimal SPACE xxxxxx CR LF x 0 F s Decimal with signal quality xxx xxx SPACE yyyyyy CR LF x 0 9 y 0 9 SD affects all commands that output a d...

Page 40: ...lected for measurement can be monitored for excision of a threshold value To do this parameter settings for a measurement window are required Settings for this window can be made via the three parameters Alarm Center AC Alarm Hysteresis AH and Alarm Width The range which will be subject to monitoring begins at AC and ends at AC AW Switching transitions can be set via parameter AH The logic state o...

Page 41: ...hing output behavior with positive and negative hysteresis Example A moving object is assumed to be monitored within a window of 10 m to 11 m with a hysteresis of 0 2 m AC10 AH0 2 AW1 How the switching output is to behave on occurrence of an error message E15 E16 E17 E18 can be defined by making suitable settings under SE see 8 13 SE display set error mode 0 1 2 ...

Page 42: ...h external trigger It is for the user to specify a desired delay time and a pulse slope to be selected for synchronization see 8 20 TDx y display set trigger delay trigger level The distance measurement will always be started with a delay of 5 ms in addition with the programmed trigger delay time Having done this the LDM41E and LDM42E has to be switched to trigger mode see 8 6 DF distance measurem...

Page 43: ...e value 1 20 SD Queries sets output format dec hex sig ST Queries sets time to measure 0 25 SF Queries sets scale factor SE Queries sets error mode 0 1 2 AC Queries sets alarm center AH Queries sets alarm hysteresis AW Queries sets alarm with HO 21 Queries sets temperature for heating on HF 21 Queries sets temperature for heating off RM Queries sets removal measurement parameters TD Queries sets t...

Page 44: ...ds LDM41E and LDM42E Manual Page 44 ASTECH GmbH Command Description LO Turns Laser on do not use please use DT LF Turns Laser off PA Displays all parameter values PR Resets all parameters to standard values don t use ...

Page 45: ...or increase distance to target E19 DX mode only LDM42E Target motion speed 10 m s Reduce motion speed E23 Inner temperature below 10 C Heading necessary E24 Inner temperature above 60 C Cooling necessary E31 EEPROM checksum error Necessary to repair E51 Failed to set avalanche voltage Necessary to repair E52 Excessively high Laser current Laser defect Necessary to repair E53 Division by 0 SF must ...

Page 46: ...ik GmbH in Schonenfahrerstr 5 18057 Rostock Germany herewith declare represented by the signatory that the following designated product Laser Distance Measurement Sensor LDM41E LDM42E agrees with the following harmonized standard IEC 61326 1 Electromagnetic interference and electromagnetic compatibility EMC including radio interference Rostock 21 September 2010 ASTECH Angewandte Sensortechnik GmbH...

Page 47: ... RS232 Interface converter 0 2m 12 2006 00 PW4 S 10 Protection window Standard for LDM4x Series 12 2030 00 GFW2 10 Grey filter 2 fach for LDM4x Series 12 2030 01 GFW4 10 Grey filter 4 fach for LDM4x Series 12 2010 00 ARF w Reflection foil matte white A4 12 2011 00 ARF s Highly reflective foil silver A4 12 2015 00 PT4x AIR Protection tube for pressure air for LDM4x Series 11 0006 00 ASTECH USB Stic...

Page 48: ...Notice LDM41E and LDM42E Manual Page 48 ASTECH GmbH ...

Reviews: