background image



MIKROELEKTRONIK GMBH

Intelligente Sensoren & Mess-Systeme

 

 

M7LL / M70LL 

Laser-Sensors 

with integrated Ethernet Interface 

 

 

 

Manual  

 

MEL

 

Mikroelektronik

 

GmbH

 

Breslauer

 

Str.

 

2

 

D

85386

 

Eching

 

Tel.

 

+49

 

89

 

/

 

327

 

150

0

 

Fax

 

+49

 

89

 

/

 

319

 

20

 

23

 

 

www.MELsensor.de

 

 

 

 

 

 

 

 

 

 

©

 

Copyright

 

MEL

 

Mikroelektronik

 

GmbH

 

Summary of Contents for M70LL 0.5

Page 1: ...Sensoren Mess Systeme M7LL M70LL Laser Sensors with integrated Ethernet Interface Manual MEL Mikroelektronik GmbH Breslauer Str 2 D 85386 Eching Tel 49 89 327 150 0 Fax 49 89 319 20 23 www MELsensor de Copyright MEL Mikroelektronik GmbH ...

Page 2: ...t 7 Noise 7 Measurement accuracy and adjustments 7 Sensor Test Report 7 Linearisation 7 Reaction time and frequency response 7 Adjustable thresholds for the Min and Max Outputs 7 Repeatability 7 Connections 8 Network 8 Ethernet cabling 8 Multi Sensor Arrays 8 Factory Default Setting 8 Sensor heads 8 Special models and options 8 Software 8 Connector specification D Sub 25 9 Electronic unit 10 examp...

Page 3: ...ures Ethernet interface Network Link Monitoring internal 10 Mbit Option for weak network connections With each TCP packet sensor parameters were sent After a reset the sensor automatically restarts Settings were not reset Factory default parameters could change without notice tot he given documentation Relevant is always the actual interface description of MEL For details contact MEL technical sup...

Page 4: ... configuration software the settings for exposure time video amplification and laser intensity can be made via Ethernet interface at the PC O Op pt ti ic ca al l d di is st ta an nc ce e m me ea as su ur re em me en nt t s sy ys st te em ms s M M7 7L LL L a an nd d M M7 70 0L LL L Optical measurement systems are used in the touch free metrology The models vary in range spot size and resolution For...

Page 5: ...educing the dependency from ambient light System set up Montagerichtung RICHTIG Montagerichtung FALSCH M Mo ou un nt ti in ng g o of f t th he e s se en ns so or r h he ea ad d For precise measurement results the sensor must be mounted in a way that the laser beam is perpendicular to the object surface Any inclination will cause a deviation from the real distance The sensor head must be mounted in...

Page 6: ...te each other S St tr ra ay y l li ig gh ht t S When highly reflective objects are close to the measurement spot mirroring the laser light into the receiver optics then measurement errors may be caused When highly reflective objects are close to the measurement spot mirroring the laser light into the receiver optics then measurement errors may be caused Objects with diffuse reflectivity may not ca...

Page 7: ...surface reflectivity and creates a output voltage proportional to the distance R Re ea ac ct ti io on n t ti im me e a an nd d f fr re eq qu ue en nc cy y r re es sp po on ns se e Reaction time at analog outputs is extremely fast with laser sensors It is specified to be less than 50 μsec for the M7LL or 5 μsec for the M70LL rise from 0 to 90 of final value With DIP switches in the electronic unit ...

Page 8: ...hat network activities in the PC would affect the sensor network and vice versa In this case the sensors are in a separate Subnet This helps to keep the sensor network separated from the other networks in your company F Fa ac ct to or ry y D De ef fa au ul lt t S Se et tt ti in ng g IP default address 192 168 122 245 Port 3000 Subnet mask 255 255 255 0 on request before delivery custom IP Addresse...

Page 9: ...d be also connected to this central ground In this case the shield for the analog output line should be kept separate from other ground connections to avoid ground loops This is the best way to connect potential free inputs o on nn ne ec ct to or r s sp pe ec ci if fi ic ca at ti io on n D D S Su ub b 2 25 5 Pin Signal Color Level Flat cable Remarks 1 Distance output 10 V 2 Error output Yellow 1 3...

Page 10: ...e es s R RJ J4 45 5 c cr ro os ss se ed d o ov ve er r Pin Signal Connector A Pin Connector B crossed Signal 1 Transmit data Green White 1 Red White Receive data 2 Transmit data Green 2 Red Receive data 3 Receive data Red White 3 Green White Transmit data 4 unused Blue 4 Blau unused 5 unused Blue White 5 Blau Weiß unused 6 Receive data Red 6 Green Transmit data 7 unused Brown White 7 Brown White u...

Page 11: ... Schaltausgänge mit Anzeige Error 24V 100mA LED red Digital output Ethernet TCP IP factory default IP Address 192 168 122 245 Hysteresis for min max outputs approx 0 5 of range Ambient light 20 000 LUX Life time 50 000h for Laser Diode Isolation voltage 200 V DC 0V to case Max Vibration 10g bis 1kHz Sensor head 20g optional Operating temperature 0 bis 50 C Storage temperature 20 bis 70 C Humidity ...

Page 12: ... outputs ca 0 5 from range Ambient light 20 000 LUX Life time 50 000 h for Laser Diode Isolation voltage 200 V DC 0V to case Max Vibration 5 g bis 1kHz Sensor head 20g optional Operating temperature min 0 32 F max 40 C 104 F Storage temperature min 30 C 2 F max 75 C 167 F Humidity up to 90 RH non condensing Protection Sensor IP 64 Electronic unit IP 40 Supply 24 V DC 200mA 10 30V Connector at elec...

Page 13: ...e Receive data packets from sensor Decode data packets see data format Evaluate data information Send command to the sensor C Co om mm mu un ni ic ca at ti io on n c co om mp po on ne en nt ts s TCP Clients and Server are software components in the software development environment These are represented in the compiled application software as ports using protocols commands and data Each sensor has ...

Page 14: ...and note their respective IP addresses Example Address Sensor 1 192 168 123 222 Address Sensor 2 192 168 123 223 Address Sensor 3 192 168 123 224 Address Sensor 4 192 168 123 225 Address Sensor 5 192 168 123 226 Address Sensor 6 192 168 123 227 Address Sensor 7 192 168 123 224 wrong IP Addresse conflict with sensor Nr 3 Address Sensor 8 192 168 123 229 Address Sensor 9 192 168 124 229 other subnet...

Page 15: ...ear Year ex 0311 unsigned int Serial Number Cnt 6 2 Production Number 3 digits 001 002 003 999 unsigned int On counter 8 4 hh mm ss unsigned long Reserved 12 20 unsigned char Data Packet Number 32 2 Consecutive numbers natural number 0 1 2 3 999 unsigned int Ethernet transmission rate 34 1 1 10 100 MBit s unsigned char Reserved 1 35 3 unsigned char AMB 38 2 Begin of range unsigned int MB 40 2 Rang...

Page 16: ...ding the RS 232 prompt could help to find out the actual settings of the sensor Data of the RS 232 Prompt Model Type and Firmware Version of the sensor Serial number Ethernet Stack Status Ethernet Stack transmission rate Ethernet Stack Settings MAC Address working IP Address Subnetz Maske Gateway Address Activity of Web Server Set up value for Max and Min Ethernet Link Status Example fo a RS 232 P...

Page 17: ...v 0 1 or higher Sensor in normal operation s output and S input not connected Sensor in normal operation s output and S input not connected Remote PC connected to the sensor over Ethernet Remote PC connected to the sensor over Ethernet The PC must be in the same network segment like the sensor The PC must be in the same network segment like the sensor n nt te eg gr ra at te ed d W We eb b S Se er ...

Page 18: ...xx xxx xxx When the sensor is not powered on you must not receive an answer Whenn you receive an asnwer even when the sensor is not powered then anyone else is using this IP address Check if your routers and switches allow the use of port 3000 Stellen Sie eine direkte make a direct connection You may need a crossed Ethernet cable Use unmanaged switches Network connection to PC failed Check the set...

Page 19: ... ig gh ht t During the installation of sensors take care that no sunlight could radiate directly or reflected on a surface into the sensors receiving optics This could cancel the function of the sensor W Wa at te er r a an nd d o oi il l Water drops on the optic system or on the front make severe distortion on the measurement Water drops work like a lens They may cause sensors to fail permanently ...

Page 20: ...nto the beam Never direct the laser onto other people Never direct the laser onto other people Train operators Train operators Before cleaning switch off laser Before cleaning switch off laser Use a piece of paper to locate the invisible beam Use a piece of paper to locate the invisible beam Never use mirrors in the environment Never use mirrors in the environment Shield the workplace a as se er r...

Page 21: ...ed2 2 unsigned int uiADZMaxValue 2 0xFFFF unsigned int uiADIMaxValue 2 0xFF unsigned int uiADFrequenz 2 30000 unsigned int uiADValuesMax 2 200 unsigned int uiADValues ADVALUESPROTOKOLMAX 2x200 400 unsigned char chADIValues ADVALUESPROTOKOLMAX 1x200 200 unsigned char chADLValues ADVALUESPROTOKOLMAX 1x200 200 _structADValues 860 E Et th he er rn ne et t S Se en ns so or r S So of ft tw wa ar re e I ...

Page 22: ...nect Befehl SOCKADDR_IN serv_addr MUST have value AF_INET serv_addr sin_family AF_INET hand over port number of sensor serv_addr sin_port htons atoi 3000 hand over IP address of sensor serv_addr sin_addr S_un S_addr inet_addr 192 168 123 224 while bRunSocket bRunConnect TRUE Socket holen für TCP SOCK_STREAM sTCP socket AF_INET SOCK_STREAM 0 Socket error if sTCP INVALID_SOCKET sTCP 0 bRunConnect FA...

Page 23: ...ase socket closesocket sTCP WSACleanup Use the send function for sending data to the sensor Like with the recv function it is necessary to set up connection to the sensor before using the send fucntion In the above example you could replace recv function with send function Data Buffer data buffer contains the command to set the sensor in single mode char chBuffer 2 0x14 0x01 send sTCP chBuffer 2 N...

Reviews: