background image

Manual

 

M7LL

 

/

 

M70LL

 

Laser

Sensors

  



 

HB

M7LL

M70LL

E.doc

 

page

 

7

 

of

 

23

 

V20130301

   

MEL

 

Mikroelektronik

 

GmbH,

 

Breslauer

 

Str.

 

2,

 

85386

 

Eching

 

/

 

Germany

 

www.MELSensor.com

 

 

A

A

m

m

b

b

i

i

e

e

n

n

t

t

 

 

l

l

i

i

g

g

h

h

t

t

 

 

Ambient

 

light

 

up

 

to

 

5.000

 

LUX

 

does

 

not

 

cause

 

errors,

 

up

 

to

 

20.000

 

LUX

 

small

 

measurement

 

error

 

may

 

occur.

 

This

 

corresponds

 

to

 

average

 

sunlight

 

on

 

a

 

white

 

surface.

 

N

N

o

o

i

i

s

s

e

e

 

 

Noise

 

is

 

limiting

 

the

 

resolution

 

of

 

the

 

sensor.

 

It

 

is

 

depending

 

from

 

the

 

reflectivity

 

of

 

the

 

surface.

 

With

 

good

 

diffuse

 

reflection,

 

the

 

value

 

with

 

fastest

 

filter

 

settings

 

is

 

measured

 

as

 

follows:

 

 

M7LL

 

(10

 

kHz):

  

approx.

 

15…20

 

mV

 

 

M70LL

 

(100kHz):

 

approx.

 

30...40

 

mV

 

 

Measurement accuracy and adjustments 

S

S

e

e

n

n

s

s

o

o

r

r

 

 

T

T

e

e

s

s

t

t

 

 

R

R

e

e

p

p

o

o

r

r

t

t

 

 

With

 

each

 

sensor,

 

a

 

detailled

 

test

 

report

 

is

 

delivered.

 

The

 

report

 

sheet

 

shows

 

the

 

relative

 

sensor

 

output

 

error

 

to

 

the

 

calculated

 

distance.

 

The

 

relative

 

error

 

is

 

the

 

deviation

 

from

 

the

 

straight

 

line

 

which

 

is

 

made

 

by

 

two

 

points

 

at

 

±

 

40%

 

of

 

the

 

range.

 

For

 

better

 

visualisation,

 

the

 

measurement

 

error

 

is

 

magnified

 

40

 

times.

  

 

The

 

absolute

 

error

 

is

 

the

 

deviation

 

from

 

the

 

calculated

 

distance.

 

It

 

is

 

shown

 

in

 

a

 

table

 

on

 

the

 

right

 

side

 

of

 

the

 

report.

 

L

L

i

i

n

n

e

e

a

a

r

r

i

i

s

s

a

a

t

t

i

i

o

o

n

n

 

 

The

 

sensing

 

element

 

(PSD)

 

does

 

not

 

give

 

results

 

which

 

are

 

in

 

a

 

linear

 

relation

 

to

 

the

 

distance.

 

Therefore

 

the

 

electronic

 

system

 

linearises

 

the

 

output

 

signal.

 

The

 

linearization

 

compensates

 

different

 

surface

 

reflectivity

 

and

 

creates

 

a

 

output

 

voltage

 

proportional

 

to

 

the

 

distance.

 

R

R

e

e

a

a

c

c

t

t

i

i

o

o

n

n

 

 

t

t

i

i

m

m

e

e

 

 

a

a

n

n

d

d

 

 

f

f

r

r

e

e

q

q

u

u

e

e

n

n

c

c

y

y

 

 

r

r

e

e

s

s

p

p

o

o

n

n

s

s

e

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

 

the

 

integration

 

time

 

can

 

be

 

set

 

higher.

 

This

 

reduces

 

noise

 

and

 

improves

 

accuracy.

 

Please

 

find

 

details

 

on

 

page

 

Fehler!

 

Textmarke

 

nicht

 

definiert.

.

 

A

A

d

d

j

j

u

u

s

s

t

t

a

a

b

b

l

l

e

e

 

 

t

t

h

h

r

r

e

e

s

s

h

h

o

o

l

l

d

d

s

s

 

 

f

f

o

o

r

r

 

 

t

t

h

h

e

e

 

 

M

M

i

i

n

n

 

 

a

a

n

n

d

d

 

 

M

M

a

a

x

x

 

 

O

O

u

u

t

t

p

p

u

u

t

t

s

s

 

 

The

 

electronic

 

unit

 

has

 

two

 

ouputs

 

with

 

adjustable

 

thresholds

 

for

 

minimum

 

and

 

maximum.

 

The

 

thresholds

 

can

 

be

 

set

 

with

 

the

 

MEL

 

demo

 

software

 

for

 

M7LL

 

over

 

the

 

whole

 

range

 

of

 

the

 

sensor.

 

In

 

order

 

to

 

avoid

 

oscillations,

 

the

 

thresholds

 

have

 

a

 

small

 

hysteresis.

 

When

 

the

 

Min

 

threshold

 

is

 

hit,

 

the

 

Min

 

output

 

goes

 

high.

 

When

 

Min

 

or

 

Max

 

outputs

 

are

 

activated,

 

OK

 

signal

 

goes

 

off

 

(low).

 

When

 

OK

 

is

 

active,

 

neither

 

Min

 

nor

 

Max

 

could

 

be

 

active.

 

The

 

thresholds

 

are

 

only

 

active

 

when

 

the

 

object

 

is

 

inside

 

range.

 

For

 

easy

 

of

 

first

 

use,

 

the

 

thresholds

 

are

 

factory

 

default

 

set

 

to

 

the

 

range

 

limits.

 

The

 

thresholds

 

are

 

sampled

 

with

 

the

 

internal

 

CPU

 

processing

 

clock

 

rate

 

of

 

30

 

kHz;

 

this

 

is

 

equal

 

to

 

a

 

reaction

 

time

 

of

 

0.03

 

msec.

 

R

R

e

e

p

p

e

e

a

a

t

t

a

a

b

b

i

i

l

l

i

i

t

t

y

y

 

 

Other

 

than

 

mechanical

 

systems

 

the

 

optical

 

sensors

 

do

 

not

 

have

 

a

 

hysteresis

 

or

 

problems

 

with

 

repeatability.

 

Accuracy

 

is

 

limited

 

by

 

surface

 

condition

 

and

 

system

 

noise.

 

Содержание M70LL 0.5

Страница 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 ...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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 ...

Страница 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...

Страница 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...

Страница 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...

Страница 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 ...

Страница 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...

Страница 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 ...

Страница 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...

Страница 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...

Страница 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...

Страница 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 ...

Страница 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...

Страница 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 ...

Страница 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...

Страница 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 ...

Страница 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...

Страница 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...

Отзывы: