MEL M70LL Series User manual

ManualM7LL/M70LLLaser‐Sensors
HB‐M7LL‐M70LL‐E.docpage2of23V20130301
MELMikroelektronikGmbH,BreslauerStr.2,85386Eching/Germanywww.MELSensor.com
Contents
HintsforHardwareandFirmwareVersions ........................................................................................................................................... 3
Systemdescription ............................................................................................................................................................................. 4
Productidentification............................................................................................................................................................................. 4
Sensorheadandelectronicsystem ........................................................................................................................................................ 4
OpticaldistancemeasurementsystemsM7LLandM70LL..................................................................................................................... 4
Characteristics ........................................................................................................................................................................................ 4
Typicalapplications ................................................................................................................................................................................ 4
Software ................................................................................................................................................................................................. 4
Functionprinciple ............................................................................................................................................................................... 5
Systemsetup ..................................................................................................................................................................................... 5
Mountingofthesensorhead ................................................................................................................................................................. 5
Movingorstripedobjects....................................................................................................................................................................... 5
Thicknessmeasurement......................................................................................................................................................................... 6
Measurementerrors........................................................................................................................................................................... 6
Surfacematerial ..................................................................................................................................................................................... 6
Straylight ............................................................................................................................................................................................... 6
Brighttodarktransitions........................................................................................................................................................................ 6
Changeofreflectivity ............................................................................................................................................................................. 6
Angulardependency............................................................................................................................................................................... 6
Ambientlight.......................................................................................................................................................................................... 7
Noise....................................................................................................................................................................................................... 7
Measurementaccuracyandadjustments............................................................................................................................................ 7
SensorTestReport ................................................................................................................................................................................. 7
Linearisation ........................................................................................................................................................................................... 7
Reactiontimeandfrequencyresponse.................................................................................................................................................. 7
AdjustablethresholdsfortheMinandMaxOutputs ............................................................................................................................. 7
Repeatability .......................................................................................................................................................................................... 7
Connections........................................................................................................................................................................................ 8
Network.................................................................................................................................................................................................. 8
Ethernetcabling ..................................................................................................................................................................................... 8
MultiSensorArrays ................................................................................................................................................................................ 8
FactoryDefaultSetting........................................................................................................................................................................... 8
Sensorheads .......................................................................................................................................................................................... 8
Specialmodelsandoptions.................................................................................................................................................................... 8
Software ................................................................................................................................................................................................. 8
ConnectorspecificationD‐Sub‐25 .......................................................................................................................................................... 9
Electronicunit ...................................................................................................................................................................................... 10
example:PindefinitionofEthernetcables,RJ45,crossedover ........................................................................................................... 10
TechnicalDataM7LL ......................................................................................................................................................................... 11
TechnicalDataM70LL ....................................................................................................................................................................... 12
Sensorhead.......................................................................................................................................................................................... 12
Electronicunit ...................................................................................................................................................................................... 12
RS‐232Debuginterface ........................................................................................................................................................................ 13
CommunicationbetweenelectronicunitandPC ................................................................................................................................. 13
TasksoftheintegratedMicrocontroller ............................................................................................................................................... 13
TasksofthePC‐Software...................................................................................................................................................................... 13
Communicationcomponents ............................................................................................................................................................... 13
SetupofIPAddressofthesensor........................................................................................................................................................ 13
SolveIPaddressconflicts...................................................................................................................................................................... 14
ElementsoftheIPdefaultsettings................................................................................................................................................ 14
Operatingconditionsforthesensor..................................................................................................................................................... 14

ManualM7LL/M70LLLaser‐Sensors
HB‐M7LL‐M70LL‐E.docpage3of23V20130301
MELMikroelektronikGmbH,BreslauerStr.2,85386Eching/Germanywww.MELSensor.com
Dataformatandinterfacedescription .............................................................................................................................................. 15
Sensorcontrol ...................................................................................................................................................................................... 15
HeaderDataformat.............................................................................................................................................................................. 15
RS‐232Promptafterpoweron............................................................................................................................................................. 16
IntegratedWeb‐Server......................................................................................................................................................................... 17
FunctionoftheWeb‐Server ................................................................................................................................................................. 17
RequirementsforsettingtheIP‐AddressintheWeb‐Browser ............................................................................................................ 17
SetupoftheworkingIPAddress.......................................................................................................................................................... 17
Trouble‐Shooting.................................................................................................................................................................................. 18
Maintenance ........................................................................................................................................................................................ 19
Environmentcondition......................................................................................................................................................................... 19
Sunlight................................................................................................................................................................................................. 19
Waterandoil........................................................................................................................................................................................ 19
SpecialSensormodels .......................................................................................................................................................................... 19
LaserSafety .......................................................................................................................................................................................... 20
Softwareexamples ............................................................................................................................................................................... 21
Disclaimer............................................................................................................................................................................................. 21
Header.................................................................................................................................................................................................. 21
EthernetSensorSoftwareImplementation.......................................................................................................................................... 21
Ethernetfunctions................................................................................................................................................................................ 21
H
Hi
in
nt
ts
s
f
fo
or
r
H
Ha
ar
rd
dw
wa
ar
re
e
a
an
nd
d
F
Fi
ir
rm
mw
wa
ar
re
e
V
Ve
er
rs
si
io
on
ns
s
Hardware‐Version 1.0 withD‐Sub‐25connector
FirmwareElectronicSystem 0.1
ThismanualdescribesinstallationandintegrationofsensorhardwareandbasicsofMELconfigurationanddemosoftware.
Themostimportantnewfeatures:
Ethernetinterface
NetworkLinkMonitoring(internal)
10MbitOptionforweaknetworkconnections
WitheachTCP‐packetsensorparameterswere
sent
Afteraresetthesensorautomaticallyrestarts.Settings
werenotreset.
Factorydefaultparameterscouldchangewithoutnotice
tothegivendocumentation.Relevantisalwaysthe
actualinterfacedescriptionofMEL.Fordetailscontact
MELtechnicalsupportorMELsalesteam.Technicaldata
isnotincludedinthismanual.Technicaldataisgivenin
theMELdatasheet(s)oftheproduct.Datasheetsmaybechangedwithoutnoticeinthismanual.
H
Hi
in
nt
ts
s
o
on
n
t
th
hi
is
s
i
is
ss
su
ue
e
Inthismanualallhardwareconnections,interfacedefinitionsandsoftwareregistersaredocumented.WhiletheEthernetdata
formatisbeingreworkedatmoment,thefulldescriptionofthedemo‐ andconfigurationsoftwarewouldbetoomuchforthis
hardwaremanual.Thereforethedescriptionofthedemosoftwarehasbeenputinaownmanual.
TheactualdescriptionofthesoftwarewhichismeantforusewithM7LLsensorswillbeavailableontheMELFTPserver.Whenthe
functionofthedemosoftwareisnotsufficientyoushouldtalktoMELtechnicalsupport.

ManualM7LL/M70LLLaser‐Sensors
HB‐M7LL‐M70LL‐E.docpage4of23V20130301
MELMikroelektronikGmbH,BreslauerStr.2,85386Eching/Germanywww.MELSensor.com
System description
M7LL‐andM70LL‐SensorsareanalogdistancesensorsbasedonPSDsensorelements.TheseriesM7LL‐hasabandwithof10kHz
andtheseriesM70LLhasabandwithof100kHz.
ThehardwareoftheM7LLsensorisasensorheadandanelectronicunit.Thesensorheadisconnectedwitha9pinDSubconnector
totheelectronicunit.Thepower/control/Ethernet‐inputsandoutputsareavailableonaDSub‐25pinconnectorattheelectronic
system.Pindefinitionisgivenonpage9.
Fortheuseoftthesensorsathightemperaturesprotectingenclosureswithaircoolingorairpurgeareavailable.
Fordetailsseethedatasheets.
P
Pr
ro
od
du
uc
ct
t
i
id
de
en
nt
ti
if
fi
ic
ca
at
ti
io
on
n
Theserialnumberstickermentionsthemostimportantcharacteristicsofthesensors:
Type: M7LL/xx xx=rangeinMillimeters
Example: M70LL04 =4mmrange,SensorM70LL=100kHz
S
Se
en
ns
so
or
r
h
he
ea
ad
d
a
an
nd
d
e
el
le
ec
ct
tr
ro
on
ni
ic
c
s
sy
ys
st
te
em
m
ThesensorheadisequippedwithaPSD,alaserprojector,areceiveropticsandtheelectronicsforprocessingthePSDsignals.Using
theconfigurationsoftwarethesettingsforexposuretime,videoamplificationandlaserintensitycanbemadeviaEthernetinterface
atthePC.
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
Opticalmeasurementsystemsareusedinthetouchfreemetrology.Themodelsvaryinrange,spotsizeandresolution.Foreach
application,thebestsensorisavailable.BasicallytherearesensorswithLEDandLaser.
C
Ch
ha
ar
ra
ac
ct
te
er
ri
is
st
ti
ic
cs
s
Rangefrom0.5to200mm;specialmodelsonrequest
Distanceoutput±10Vand4…20mA
Dipswitchadjustableintegrationtime/filtersettings
Intensityoutput0...10V
Notsensitiveonsurfacestructuresandcolors
Resolution/accuracyfrom0.025µm
Immuneagainstenvironmentlightupto20.000LUX
ThresholdMin/Maxadjustable(insoftware)
Erroroutput
Optionthicknessmeasurement
T
Ty
yp
pi
ic
ca
al
l
a
ap
pp
pl
li
ic
ca
at
ti
io
on
ns
s
Checkdimensions
Positiondetectionofsmallparts
Positiondetectiononconveyorbelt
Detectionoftoolpositioninstampingmachines
Detecionofsheetduplication
Position/breakdetectionintoolingmachines
Robotarmposition
Presencedetection
Boreholedepth
Fillleveldetection
Vibrationanalysis
Crashtestrecording
Suspensiontesting
S
So
of
ft
tw
wa
ar
re
e
SoftwareforsensorsystemM7LLwithEthernetinterfaceandconnectioncablestoPCareavailableonrequest.

ManualM7LL/M70LLLaser‐Sensors
HB‐M7LL‐M70LL‐E.docpage5of23V20130301
MELMikroelektronikGmbH,BreslauerStr.2,85386Eching/Germanywww.MELSensor.com
Function principle
PSD
Laserdiode
oder LED
Lichtstrahl
Anfang
Messbereich
Messbereich
MIN, +24 V
Abstandsausgang -10 V
Abstandsausgang +10 V
MAX, +24 V
Referenzabstand
Thesensorsworkwithtriangulationprinciple:alaserspotis
focusedontheobjectsurface.Thelaserlightisreflectedonthe
surfaceandpicturedwithanopticalsystemonthePSDposition
sensorelement.
Forthemeasurementthediffusereflectedlightisrelevant.Fora
goodmeasurementresult,thesensorneedsatleast10%of
reflectedlight.
Whentheintensityofthereflectedlightistoolowandthe
intensityregulationsystemcannotsettheintensityofthelaser
beamhigher,thentheerrorLEDwillbelit.
Thesensorsystemuseslightimpulses.Thisisreducingthe
dependencyfromambientlight.
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
Forprecisemeasurementresults,thesensormustbemountedina
waythatthelaserbeamisperpendiculartotheobjectsurface.Any
inclinationwillcauseadeviationfromtherealdistance.
Thesensorheadmustbemountedinawaythatdirectlookinto
thebeamisnotpossible.Thelaserwarningstickermustbeplaced
inapositionwhereitisclearlyvisiblefortheoperator.For
adjustmentofthesensortheMin/OK/MaxLED’scouldbeused.
FactorydefaultsettingoftheMin/OK/MaxLED’sisatthe
boundaryofthemeasurementrange.WhenOKislit,theobjectis
inrange.
Hint:Thesensorshouldbemountedwithplasticwashers.
Thishelpstoavoidelectromagneticinterference
problems.
M
Mo
ov
vi
in
ng
g
o
or
r
s
st
tr
ri
ip
pe
ed
d
o
ob
bj
je
ec
ct
ts
s
Ifmovingorstripedobjectsneedtobecaptured,thesensorhead
istobemountedat90°tothemovementaxis,asshowninthe
pictureattherightside.

ManualM7LL/M70LLLaser‐Sensors
HB‐M7LL‐M70LL‐E.docpage6of23V20130301
MELMikroelektronikGmbH,BreslauerStr.2,85386Eching/Germanywww.MELSensor.com
A
B
Objektoberfläche
Drehachse
Drehachse
15°
30°
T
Th
hi
ic
ck
kn
ne
es
ss
s
m
me
ea
as
su
ur
re
em
me
en
nt
t
T
T
Athicknessmeasurementsystemismadeoftwosensorsystems
withanadd‐onoptionthicknessmeasurement.Thesensorsare
directedontheupperandlowersurfaceoftheobject.Theslave
sensor(usuallyatbottom)sendshisdistancesignaltothemaster
sensor.Themasteroutputsthethicknessvaluewhichisthesumof
bothsensorsignals.
Athicknessmeasurementsystemismadeoftwosensorsystems
withanadd‐onoptionthicknessmeasurement.Thesensorsare
directedontheupperandlowersurfaceoftheobject.Theslave
sensor(usuallyatbottom)sendshisdistancesignaltothemaster
sensor.Themasteroutputsthethicknessvaluewhichisthesumof
bothsensorsignals.
Theoutputvoltageofthethicknesssignalis0…10Vfortherangeof
bothsensors.
Theoutputvoltageofthethicknesssignalis0…10Vfortherangeof
bothsensors.
Eachsensorheadhasitsownelectronicsystem(bluebox).Eachsensorheadhasitsownelectronicsystem(bluebox).
Measurement errorsMeasurement errors
S
Su
ur
rf
fa
ac
ce
e
m
ma
at
te
er
ri
ia
al
l
S
Objectscouldbevariousmaterialslikemetal,plastic,ceramics,
rubberandpaper.WithhighlyreflectivematerialsorliquidsitshouldbetestedfortheindividualmaterialiftheM7LLcouldmeasure
thissurface.
Objectscouldbevariousmaterialslikemetal,plastic,ceramics,
rubberandpaper.WithhighlyreflectivematerialsorliquidsitshouldbetestedfortheindividualmaterialiftheM7LLcouldmeasure
thissurface.
Onpartiallytransparentplasticorblearyliquidsthelaserbeampenetratesintothe“materialsurface”beforethediffusereflected
lightissentbackfromthesurface.Therealmeasureddistanceneedstobecorrectedbyafactorof“penetrationdepth”.
Onpartiallytransparentplasticorblearyliquidsthelaserbeampenetratesintothe“materialsurface”beforethediffusereflected
lightissentbackfromthesurface.Therealmeasureddistanceneedstobecorrectedbyafactorof“penetrationdepth”.
Scratches in the measurement spotScratches in the measurement spot
Ascratchacrossthelensaxismaycausestrongerreflections,withamaximumofenergyatthesideofthespot.Thiswillaffectthe
distanceinformation.Inthesametimetheintensityvaluewillchange.Fortestingonscratchesthismethodmaybemorehelpful
thanmonitoringthepuredistanceinformation.
Ascratchacrossthelensaxismaycausestrongerreflections,withamaximumofenergyatthesideofthespot.Thiswillaffectthe
distanceinformation.Inthesametimetheintensityvaluewillchange.Fortestingonscratchesthismethodmaybemorehelpful
thanmonitoringthepuredistanceinformation.
Whentheobjectismoving,theaverage(integrated)valuewillbeconstantwhenmovingoverthescratch.Thismeans:thepositive
andnegativeedgeofthesignalwillcompensateeachother.
Whentheobjectismoving,theaverage(integrated)valuewillbeconstantwhenmovingoverthescratch.Thismeans:thepositive
andnegativeedgeofthesignalwillcompensateeachother.
S
St
tr
ra
ay
y
l
li
ig
gh
ht
t
S
Whenhighlyreflectiveobjectsareclosetothemeasurementspot,mirroringthelaserlightintothereceiveroptics,then
measurementerrorsmaybecaused.
Whenhighlyreflectiveobjectsareclosetothemeasurementspot,mirroringthelaserlightintothereceiveroptics,then
measurementerrorsmaybecaused.
Objectswithdiffusereflectivitymaynotcausethesameerrors.Whenthemirroringsurfaceisoutsideofrange,theresidualerror
maybeupto2%.Duetothesmallerspotsize,straylighterrorissmallerforLasersensorsthanforLEDsensors.
Objectswithdiffusereflectivitymaynotcausethesameerrors.Whenthemirroringsurfaceisoutsideofrange,theresidualerror
maybeupto2%.Duetothesmallerspotsize,straylighterrorissmallerforLasersensorsthanforLEDsensors.
B
Br
ri
ig
gh
ht
t
t
to
o
d
da
ar
rk
k
t
tr
ra
an
ns
si
it
ti
io
on
ns
s
B
Whendistancemeasurementismadeinaplacewherethe
materialsurfaceischangingfromdiffusereflectingtomirroring
materialandthereforethereflectivityischangingstrongly,
duringthetransitmeasurementerrorsmayoccur.The
maximumoftheintensityisnotinthecenterofthespot.
Whendistancemeasurementismadeinaplacewherethe
materialsurfaceischangingfromdiffusereflectingtomirroring
materialandthereforethereflectivityischangingstrongly,
duringthetransitmeasurementerrorsmayoccur.The
maximumoftheintensityisnotinthecenterofthespot.
IndirectionA,theerrorisminimal;indirectionBitismaximal.IndirectionA,theerrorisminimal;indirectionBitismaximal.
C
Ch
ha
an
ng
ge
e
o
of
f
r
re
ef
fl
le
ec
ct
ti
iv
vi
it
ty
y
C
Thesensorsareequippedwithaautomaticintensityregulation
formatchingtomoreorlessreflectingobjects.Whenthe
surfaceischangingduringmeasurement,theintensityiskept
constantbytheregulationsystem.
Thesensorsareequippedwithaautomaticintensityregulation
formatchingtomoreorlessreflectingobjects.Whenthe
surfaceischangingduringmeasurement,theintensityiskept
constantbytheregulationsystem.
A
An
ng
gu
ul
la
ar
r
d
de
ep
pe
en
nd
de
en
nc
cy
y
A
Themeasurementhasasmalldependencyfrominclination
angle.RotationonaxisAupto30°androtationonaxisBupto
15°donotcausebigmeasurementerror.Measurementsonasurfacewithgooddiffusereflectionarelessdependingonanglethan
measurementsonmirroringsurfaces.(Seethepictureabove).
Themeasurementhasasmalldependencyfrominclination
angle.RotationonaxisAupto30°androtationonaxisBupto
15°donotcausebigmeasurementerror.Measurementsonasurfacewithgooddiffusereflectionarelessdependingonanglethan
measurementsonmirroringsurfaces.(Seethepictureabove).
Themeasurementerrorshowsupasachangeintheratioofoutputvoltage/distance.Whentheerrorisconstant,aspecial
calibrationcouldeliminatetheerror.
Themeasurementerrorshowsupasachangeintheratioofoutputvoltage/distance.Whentheerrorisconstant,aspecial
calibrationcouldeliminatetheerror.
h
hi
ic
ck
kn
ne
es
ss
s
m
me
ea
as
su
ur
re
em
me
en
nt
t
Dickenmessung
Auch an transparenten
Stoffen
Su
ur
rf
fa
ac
ce
e
m
ma
at
te
er
ri
ia
al
l
St
tr
ra
ay
y
l
li
ig
gh
ht
t
Br
ri
ig
gh
ht
t
t
to
o
d
da
ar
rk
k
t
tr
ra
an
ns
si
it
ti
io
on
ns
s
Ch
ha
an
ng
ge
e
o
of
f
r
re
ef
fl
le
ec
ct
ti
iv
vi
it
ty
y
An
ng
gu
ul
la
ar
r
d
de
ep
pe
en
nd
de
en
nc
cy
y

ManualM7LL/M70LLLaser‐Sensors
HB‐M7LL‐M70LL‐E.docpage7of23V20130301
MELMikroelektronikGmbH,BreslauerStr.2,85386Eching/Germanywww.MELSensor.com
A
Am
mb
bi
ie
en
nt
t
l
li
ig
gh
ht
t
Ambientlightupto5.000LUXdoesnotcauseerrors,upto20.000LUXsmallmeasurementerrormayoccur.Thiscorrespondsto
averagesunlightonawhitesurface.
N
No
oi
is
se
e
Noiseislimitingtheresolutionofthesensor.Itisdependingfromthereflectivityofthesurface.
Withgooddiffusereflection,thevaluewithfastestfiltersettingsismeasuredasfollows:
M7LL(10kHz): approx.15…20mV
M70LL(100kHz):approx.30...40mV
Measurement accuracy and adjustments
S
Se
en
ns
so
or
r
T
Te
es
st
t
R
Re
ep
po
or
rt
t
Witheachsensor,adetailledtestreportisdelivered.Thereportsheetshowstherelativesensoroutputerrortothecalculated
distance.Therelativeerroristhedeviationfromthestraightlinewhichismadebytwopointsat±40%oftherange.
Forbettervisualisation,themeasurementerrorismagnified40times.
Theabsoluteerroristhedeviationfromthecalculateddistance.Itisshowninatableontherightsideofthereport.
L
Li
in
ne
ea
ar
ri
is
sa
at
ti
io
on
n
Thesensingelement(PSD)doesnotgiveresultswhichareinalinearrelationtothedistance.Thereforetheelectronicsystem
linearisestheoutputsignal.Thelinearizationcompensatesdifferentsurfacereflectivityandcreatesaoutputvoltageproportionalto
thedistance.
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
Reactiontimeatanalogoutputsisextremelyfastwithlasersensors.Itisspecifiedtobelessthan50μsecfortheM7LLor5μsecfor
theM70LL(risefrom0to90%offinalvalue).
WithDIP‐switchesintheelectronicunittheintegrationtimecanbesethigher.Thisreducesnoiseandimprovesaccuracy.Please
finddetailsonpageFehler!Textmarkenichtdefiniert..
A
Ad
dj
ju
us
st
ta
ab
bl
le
e
t
th
hr
re
es
sh
ho
ol
ld
ds
s
f
fo
or
r
t
th
he
e
M
Mi
in
n
a
an
nd
d
M
Ma
ax
x
O
Ou
ut
tp
pu
ut
ts
s
Theelectronicunithastwoouputswithadjustablethresholdsforminimumandmaximum.ThethresholdscanbesetwiththeMEL
demosoftwareforM7LLoverthewholerangeofthesensor.Inordertoavoidoscillations,thethresholdshaveasmallhysteresis.
WhentheMinthresholdishit,theMinoutputgoeshigh.WhenMinorMaxoutputsareactivated,OKsignalgoesoff(low).WhenOK
isactive,neitherMinnorMaxcouldbeactive.Thethresholdsareonlyactivewhentheobjectisinsiderange.Foreasyoffirstuse,
thethresholdsarefactorydefaultsettotherangelimits.ThethresholdsaresampledwiththeinternalCPUprocessingclockrateof
30kHz;thisisequaltoareactiontimeof0.03msec.
R
Re
ep
pe
ea
at
ta
ab
bi
il
li
it
ty
y
Otherthanmechanicalsystemstheopticalsensorsdonothaveahysteresisorproblemswithrepeatability.Accuracyislimitedby
surfaceconditionandsystemnoise.

ManualM7LL/M70LLLaser‐Sensors
HB‐M7LL‐M70LL‐E.docpage8of23V20130301
MELMikroelektronikGmbH,BreslauerStr.2,85386Eching/Germanywww.MELSensor.com
Connections
N
Ne
et
tw
wo
or
rk
k
M7LLandM70LLsensorsprovidedataoutputoverEthernet.Transmissionofmanysensorsoveronenetworkcableissimpleandwill
notcreateproblems.TheTCPprotocoldoesnotrequireanyspecifichardwarefunctions,standardIThardwareandCAT‐5enetwork
cableswillallowtheuseofM7LLandM70LLsensors.
Forveryweaknetworksystemsthesensorcouldbesetto10Mbitdatarate(standard=100Mbit).Gigabithardwareisnotrequired,
butwilloperatewithoutproblems.
MonitoringabunchofsensorswithonesinglePCwillrequiresomeperformance,thereforethePCandgraphiccardshouldhave
enoughresourcestooperatetherequiredsoftware.
E
Et
th
he
er
rn
ne
et
t
c
ca
ab
bl
li
in
ng
g
EthernetsignalsareavailableonaDSub‐25pinconnectorwhichisalsotheconnectorfor+24Vpowersupply.
ThesensorshouldbeconnectedwithshieldedEthernetcables(CAT‐5eorbetter)tothenetwork.Forlongcablerunsofupto200m
werecommendusing10Mbittransmissionspeedandshieldedcables.
WhenthesensorelectronicsystemisconnectedtoanEthernetswitch,astandardpatchcable(wired1:1)couldbeused.Whenthe
electronicsystemshouldbeconnecteddirectlytoanetworkcardinaPC,TX‐andRx‐wiresshouldbere‐routedbyacrosslinkcable.
Bothtypesofcableareavailableinelectronicmarkets.
M
Mu
ul
lt
ti
i
S
Se
en
ns
so
or
r
A
Ar
rr
ra
ay
ys
s
Theoreticallyupto90sensorscanbeusedinonesingle100Mbitnetwork.Werecommendusinganadditionalnetworkcardinthe
PCforthesensornetwork*,apowersupply(10...30VDC)forthesensorsandabunchofEthernetcables.
*forthesensorsyoushoulduseanownnetworkcard,thishelpstoavoidthatnetworkactivitiesinthePCwouldaffectthesensor
networkandviceversa.InthiscasethesensorsareinaseparateSubnet.Thishelpstokeepthesensornetworkseparatedfromthe
othernetworksinyourcompany.
F
Fa
ac
ct
to
or
ry
y
D
De
ef
fa
au
ul
lt
t
S
Se
et
tt
ti
in
ng
g
IPdefaultaddress =192.168.122.245*
Port =3000*
Subnetmask =255.255.255.0.*
*onrequestbeforedelivery:customIP‐Addressesweresetaccordingtocustomspecifications.
WhenS‐outputandS‐inputareconnectedbeforepoweron,thesensorisresettofactorydefaultIPaddress.
Tipp:configuretheIPaddressofyoursensorbeforeyouaddaM7LL‐/M70LL‐sensortoyournetwork.UseaWebbrowserfor
setupoftheIPaddress,seepage17fordetails.
S
Se
en
ns
so
or
r
h
he
ea
ad
ds
s
ThepictureontherightsideshowsthesensorheadM7LL/4.Thesensormodels,
optionsandaccessoriesarelistedintheM7LL‐andM70LL‐sensorfamiliesdatasheets.
Tipp:theM7LL/M70LLdatasheetscanbedownloadedfromtheMELwebsite
http://www.melsensor.deorsendanE‐mailto:[email protected].
HightemperatureEthernetandcontrolcablesareavailableonrequest!
S
Sp
pe
ec
ci
ia
al
l
m
mo
od
de
el
ls
s
a
an
nd
d
o
op
pt
ti
io
on
ns
s
StandardSensormodelssendoutredlaserlightlessthan1mWofopticalpower.They
arelasersafetyclass2.Dependingonthemodel,specialsensorsmighthavelasersafety
class3R,providinghigheropticaloutputofupto5mW.
Detailsonlasersafetyaregivenonpage20.
FordetailsonothermodelsandmodificationspleasecontactMELTechnicalSupport!
S
So
of
ft
tw
wa
ar
re
e
AsademoandtestsoftwareMELoffersLDMS‐LAN(LaserDistanceMeasurement
Software,networkVersion).Youwillreceiveacopyofthesoftwarewithyour
evaluationunit,themanualisavailableasdownloadfromtheMELftpserver.
Thissoftwareiseasytouse.Itoffersinthebasicversionsomemeasurementcapability.
OnrequestMELwillprovidesoftwareforenhancedmeasurementtakswithinterfaces
tovariouscontrolsystems.ForfurtherdetailscontactMELTechnicalSupport.

ManualM7LL/M70LLLaser‐Sensors
HB‐M7LL‐M70LL‐E.docpage9of23V20130301
MELMikroelektronikGmbH,BreslauerStr.2,85386Eching/Germanywww.MELSensor.com
8 GND
2 Error
3
4
5 OK
6 Distance 4…20 mA
7
15
Max 16
Distance in 17
GND 8
Min 19
Intensity 20
+Ub 21
GND 14 1 Distance ± 10V
22
Tx - 23
24
23
25
9
10
11
12
13 -
C
Co
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
C
C
*colorsaremeantasanexample;*colorsaremeantasanexample;
ThesecolorsaretypicallyfoundatEthernetcables.ThesecolorsaretypicallyfoundatEthernetcables.
TheshieldoftheEthernetcableandthegroundconnectionfor
supplygroundshouldbeconnectedtothemetallicframeofthe
connector.Theanaloggroundforpin1couldbealsoconnected
tothiscentralground.Inthiscasetheshieldfortheanalog
outputlineshouldbekeptseparatefromotherground
connectionstoavoidgroundloops.Thisisthebestwayto
connectpotentialfreeinputs.
TheshieldoftheEthernetcableandthegroundconnectionfor
supplygroundshouldbeconnectedtothemetallicframeofthe
connector.Theanaloggroundforpin1couldbealsoconnected
tothiscentralground.Inthiscasetheshieldfortheanalog
outputlineshouldbekeptseparatefromotherground
connectionstoavoidgroundloops.Thisisthebestwayto
connectpotentialfreeinputs.
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
PinSignalColor*Level Flatcable*Remarks
1Distanceoutput +/‐10V
2Erroroutput Yellow1
3n.c.
4n.c.
5DigitaloutputOK 0/24VGreen2Objectinrange
6Distanceoutput 4…20mARose9Currentoutput;requires500Ωload
7n.c.
8Ground 0V Supplyground
9n.c.
10n.c.
11n.c.
12n.c.
13n.c.
14Analogground 0V Groundforanalogoutput
15n.c.
16Digitaloutput
MAX
0/24VWhite4Objectposition=maximumofrange
17Distanceinput 0…5V Inputforoptionthicknessmeasurement
18Ground Blue8
19Digitaloutput
MIN
0/24VBrown3Objectposition=minimumofrange
20Intensityoutput 0…10VRed7
21Supplyvoltage +24V 12…30VDC
22n.c.
23n.c.
24n.c.
25n.c.
Case EMC Connectwithashortthickleadtoground
Factorydefault
IP
Address
192.168.122.245 TheIPaddresscanbesetwithaWebBrowser
DefaultIP 169.254.150.161 Whens‐outputands‐inputareconnectedon
poweron,thesensorresetstofactorydefault
IPaddress.
PasswordMELSENSOR Pleasenote:thepasswordiscasesensitive!All
lettersareuppercase.Seepage17

ManualM7LL/M70LLLaser‐Sensors
HB‐M7LL‐M70LL‐E.docpage10of23V20130301
MELMikroelektronikGmbH,BreslauerStr.2,85386Eching/Germanywww.MELSensor.com
CoverforDip
switches
E
El
le
ec
ct
tr
ro
on
ni
ic
c
u
un
ni
it
t
StatusLED’sMeaning Color Infunction
PowerPowerOKgreen Lit
LinkEthernetLinkin
Function
Yellow Lit
10/100EthernetLinkActivityYellow Blinkingfast
MAXUpperlimit RedLit
OKObjectinrangeGreenLit*
MINLowerlimitRedLit
ErrorFPGAselftestNOK,
objectnotinrange
RedNotlit
e
ex
xa
am
mp
pl
le
e:
:
P
Pi
in
n
d
de
ef
fi
in
ni
it
ti
io
on
n
o
of
f
E
Et
th
he
er
rn
ne
et
t
c
ca
ab
bl
le
es
s,
,
R
RJ
J4
45
5,
,
c
cr
ro
os
ss
se
ed
d
o
ov
ve
er
r
PinSignalConnectorA PinConnectorB“crossed”Signal
1Transmitdata+Green+White1Red+WhiteReceivedata+
2Transmitdata‐ Green 2RedReceivedata‐
3Receivedata+Red+White3Green+WhiteTransmitdata+
4unused‐ Blue4Blauunused‐
5unused+Blue+White5Blau+Weißunused+
6Receivedata‐ Red6GreenTransmitdata‐
7unused+Brown+White7Brown+Whiteunused+
8unused‐ Brown
8Brownunused‐
Picturebelow:crossedEthernetcable
Tipp:
adirectconnectionbetweensensorandnetworkcardrequiresacrossedEthernetcable.
Thepictureontheleftsideshowsupthepositionoftheblueandredcoloredwiresclearly.Whena
Ethernetswitchisinuse,acrossovercablemaynotbenecessary,astheswitchmaycontroland
correctpositionofthesignalsbyautoMDI/autosensefunction.

ManualM7LL/M70LLLaser‐Sensors
HB‐M7LL‐M70LL‐E.docpage11of23V20130301
MELMikroelektronikGmbH,BreslauerStr.2,85386Eching/Germanywww.MELSensor.com
Technical Data M7LL
ModelM7LL
0.5
M7LL
2
M7LL
4
M7LL
10
M7LL
20
M7LL
50
M7LL
100
M7LL
200
range(mm)0.524102050100200
Beginofrange(standoffdistance)(mm)23.7523224055115170240
Linearityerror±(μm)1482040100200400
resolution(noise)*(μm)0.31.32.66.51332.565200
resolution(noise)**(μm)0.020.10.20.512.5620
Spotsize(mm)0.10.20.30.60.91.51.52
LightsourceLaser,Wavelength670nm,redvisible
Samplingfrequency54kHz
Laserprotectionclass2(laserpower<1mW),enhancedlaserpoweroptionally
Distanceoutput±10V(optional0...10V/0...5V);4...20mA
outputimpedanceapprox.0Ohm(10mAmax.)
Angleerrorwith30°objectinclination(AxisA):approx.0,5%withwhiteobject
Reactiontime0.03msec
CutofffrequencyDC...10kHz
Temperaturedrift0,02%per°Cfromrange
Analogausgang
Intensityoutput0…10V
MIN+24Vwhendistance<MIN,LEDyellow
OK+24Vwhendistance>MINand<MAX,LEDgreen
MAX+24Vwhendistance>MAX,LEDorange
Schaltausgängemit
Anzeige
Error +24V/100mA,LEDred
DigitaloutputEthernetTCP/IPfactorydefaultIPAddress192.168.122.245
Hysteresisformin/maxoutputsapprox.0,5%ofrange
Ambientlight20.000LUX
Lifetime50.000hforLaser‐Diode
Isolationvoltage200VDC,0Vtocase
Max.Vibration10gbis1kHz(Sensorhead,20goptional)
Operatingtemperature0°bis+50°C
Storagetemperature‐20°bis+70°C
Humidity Bis90%RH
Protection Sensor:IP64,Elektronik:IP40
Supply +24VDC/200mA(10–30V)
Connectorattheelectronicunit25‐pinSub.Dmaleconnector
Sensorcablelenght2m
Allspecificationsarevalidformeasurementsonmattwhiteobject
*Measurementatbandwith10kHz
**Measurementatbandwith20Hz
Noise/resolutionasafunctionoffiltersettingandobjectcolor
SensorTypeM7LL10,range10mm
Measurementhasbeenmadewithananalogoszilloscope.
OnwhiteobjectOnblackobject
M7LL10Noise***Resolution M7LL10Noise***Resolution
10.000Hz13mV6.5µm10.000Hz200mV100µm
7.000Hz12mV6.0µm7.000Hz180mV90µm
4.000Hz8mV4.0µm4.000Hz150mV75µm
1.000Hz6mV3.0µm1.000Hz100mV50µm
250Hz3mV1.5µm 250Hz60mV30µm
1000Hz2mV1.0µm 1000Hz40mV20µm
25Hz1.5mV0.7µm 25Hz20mV10µm
20Hz1mV0.5µm 20Hz15mV7.5µm
***measuredattheanalogoutput;±10V=10mm

ManualM7LL/M70LLLaser‐Sensors
HB‐M7LL‐M70LL‐E.docpage12of23V20130301
MELMikroelektronikGmbH,BreslauerStr.2,85386Eching/Germanywww.MELSensor.com
Technical Data M70LL
ModelM70LL
0.5
M70LL
2
M70LL
4
M70LL
10
M70LL
20
M70LL
50
M70LL
100
M70LL
200
range(mm)0.524102050100200
Beginofrange–standoffdistance(mm)23.7523224055115170240
Linearityerror±(μm) 1482040100200400
Resolution(noise)*(μm) 0.83.5717.53550100330
Resolution(noise)**(μm) 0.050.20.4127.51550
Lichtpunkt‐Durchmesser(mm)0.30.30.30.60.91.51.52
LightsourceLaser,Wavelength670nm,redvisible
Samplingfrequency400kHz
Lasersafetyclass2(laserpower<1mW),enhancedlaserpoweroptionally
Distanceoutput±10V(optional0...10V/0...5V);4...20mA
outputimpedanceapprox.0Ohm(10mAmax.)
Angleerrorwith30°inclination(AxisA):approx.0,5%onwhiteobject
badwithDC...100kHz
Temperaturedrift0,02%per°Cofrange
Analogoutput
Intensityoutput0V…10V
MIN+24Vwhendistance<MIN,LEDyellow
OK+24Vwhendistance>MINand<MAX,LEDgreen
MAX+24Vwhendistance>MAX,LEDorange
Digitaloutputswith
statusLED’s
Error +24V/100mA,LEDred
DataoutputEthernetTCP/IPfactorydefaultIP‐Address192.168.122.245
Hysteresisofdigitaloutputsca.0,5%fromrange
Ambientlight20.000LUX
Lifetime50.000hforLaser‐Diode
Isolationvoltage200VDC,0Vtocase
Max.Vibration5gbis1kHz(Sensorhead,20goptional)
Operatingtemperaturemin.0°(+32°F)max.+40°C(+104°F)
Storagetemperaturemin.–30°C(+2°F)max.75°C(+167°F)
Humidity upto90%RH,noncondensing
Protection Sensor:IP64,Electronicunit:IP40
Supply +24VDC/200mA(10...30V)
Connectoratelectronicunit25‐pinSub‐Dconnectormale
Sensorheadcablelength2m
Allspecificationsarevalidformeasurementsonmattwhiteobject
*Measurementatbandwith100kHz
**Measurementatbandwith230Hz
Noise/resolutionasafunctionoffiltersettings
SensorTypeM70LL4,range4mmandsensortypeM70LL0.5,range0.5mm
Measurementhasbeenmadewithananalogoscilloscopeonawhiteobject.
M70LL4Noise Resolution M70LL0.5NoiseResolution
100.000Hz32mV7.0µm 100.000Hz30mV0.75µm
70.000Hz30mV6.0µm70.000Hz27mV0.68µm
40.000Hz22mV4.4µm40.000Hz22mV0.55µm
10.000Hz12mV2.4µm10.000Hz12mV0.30µm
2.500Hz8mV1.6µm 2.500Hz8mV0.20µm
1.000Hz5mV1.0µm 1.000Hz5mV0.13µm
250Hz3mV0.5µm 250Hz4mV0.10µm
230Hz2mV0.4µm 230Hz4mV0.10µm
S
Se
en
ns
so
or
r
h
he
ea
ad
d
Weightanddimensions pleaseseeindividualdatasheets
E
El
le
ec
ct
tr
ro
on
ni
ic
c
u
un
ni
it
t
Analogoutput1 ±10V/10mA
Analogoutput2 4…20mA
Min,Max,OK switchingoutputs0/24V;5mA

ManualM7LL/M70LLLaser‐Sensors
HB‐M7LL‐M70LL‐E.docpage13of23V20130301
MELMikroelektronikGmbH,BreslauerStr.2,85386Eching/Germanywww.MELSensor.com
Intensity* 0…10V
Supplycurrent approx.240mAat24V;Laseron
Supplyvoltagerange+10...30VDC
Digitalinput S‐input
Digitaloutput S‐output
Weightapprox.300g
Dimensionselectronicunit 102mmx74mmx28mm
Mountingboreholes4xM4=throughhole
Connections D‐Sub‐25Pinmale=supplyvoltage,RS‐232DebugandEthernet
Protectionclass IP65
Vibration 2g,Option:„vibrationresistant“20g
Humiditymax.95%noncondensing
Factorydefault IPAddress192.168.122.245
Subnet 255.255.255.0
Gateway notrequired
*dasSignalwirdausderLaser‐RegelungunddermittlerenIntensitätdesaufgenommenenSignalsabgeleitet
R
RS
S-
-2
23
32
2
D
De
eb
bu
ug
g
i
in
nt
te
er
rf
fa
ac
ce
e
Baudrate:Monitoring 115.200Baud
ThisRS‐232interfacehasnomeasurementdataandnosensorparameters.
C
Co
om
mm
mu
un
ni
ic
ca
at
ti
io
on
n
b
be
et
tw
we
ee
en
n
e
el
le
ec
ct
tr
ro
on
ni
ic
c
u
un
ni
it
t
a
an
nd
d
P
PC
C
AmicrocontrollerisintegratedintheelectronicsystemcommunicatingoverEthernetwiththesoftwareinthePCandtheelectronic
systeminthesensorhead.
T
Ta
as
sk
ks
s
o
of
f
t
th
he
e
i
in
nt
te
eg
gr
ra
at
te
ed
d
M
Mi
ic
cr
ro
oc
co
on
nt
tr
ro
ol
ll
le
er
r
SenddistanceinformationoverTCP/IP‐Protocol
ReceivecommandsforthesensorheadoverTCP/IPProtocol
ChangetheTCP/IP‐Addressonrequest
Sendstatusinformation
T
Ta
as
sk
ks
s
o
of
f
t
th
he
e
P
PC
C-
-S
So
of
ft
tw
wa
ar
re
e
Receivedatapacketsfromsensor
Decodedatapackets(see“dataformat”)
Evaluatedatainformation
Sendcommandtothesensor
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‐ Clientsand‐Serveraresoftwarecomponentsinthesoftwaredevelopmentenvironment.Thesearerepresentedinthe
compiledapplicationsoftwareas“ports”,usingprotocols,commandsanddata.EachsensorhasitsownIPaddressmatchingtothe
subnetmask.ThesettingsofIPaddress,portandsubnetmaskmustbesetcorrectlywheninstallinganewsensor.Theseparameters
areresponsibleforproperfunctionoftheunitinthenetwork.
Dataisstoredinthesensorbeforesending.TheIPaddressisstoredinthesensorelectronicunit.ForsetupofIPaddressaWeb
Browsercanbeused.Seedetailsonpage17.
S
Se
et
t
u
up
p
o
of
f
I
IP
P
A
Ad
dd
dr
re
es
ss
s
o
of
f
t
th
he
e
s
se
en
ns
so
or
r
M7LL/M70LLsensorsaredeliveredwithafactorydefaultaddressandwitha“Working‐IP“‐Address.
ThesensorisconnectedtothenetworkandmakesaPeer‐to‐Peerconnection.OncetheconnectionisestablishedtoacertainPC,
thesensorwillnotcommunicatetoanyotherdevice.ThesensorcanbeconnectedwithacrosslinknetworkcabledirectlytothePC.
Gatewaysorspecialhardwareisnotrequired.
Thefactorydefaultaddresswillbeactivated,whenthes‐outputisconnectedtothes‐inputatpoweron.Thefactorydefaultaddress
ishardcodedandcannotbechangedbytheuser.
AtdeliverytheworkingIPaddressissetto192.168.122.245.WhenadifferentIPaddresshasbeenset,astickerwillindicatethe
actualIPddress.TheIpaddresscanbesetwithaWebBroswer.Detailsaregivenonpage17.
ThesensorrestartsautomaticandsendsamessagetotheWebBrowser.

ManualM7LL/M70LLLaser‐Sensors
HB‐M7LL‐M70LL‐E.docpage14of23V20130301
MELMikroelektronikGmbH,BreslauerStr.2,85386Eching/Germanywww.MELSensor.com
RulesforthesettingofIPaddresses
UsuallyatbeginoftheaddressrangetheTCP/IPaddressesofgateways,serversandroutersarelocated.Theseandtheaddresses
endingon0and255mustbekeptfree.
Tipp:determiningtheIPaddresseofasensor:
Readatpoweronthepromptfromtheserialdiagnosticinterfacewithanyterminalsoftware.EveryRS‐232terminalsoftwarecould
dothis,likeHyperTerm(windows,accessories).WhenyourecognisethattheEth‐LinkLEDblinksfast,aPChasconnectedtothe
sensor.
S
So
ol
lv
ve
e
I
IP
P
a
ad
dd
dr
re
es
ss
s
c
co
on
nf
fl
li
ic
ct
ts
s
WiththedefaultIPaddresstheoperatorcommunicateswithonesensor,forexampleforsettingtheworkingIPaddress.Thedefault
IPaddressshouldnotbeusedasapermanentworkingIPaddress.Thenetworkcouldbeaffectedwhenconflictexist.
DHCPisnotsupported,theIP‐AddressesforsensorandnetworkcardinthePCmustbedefinedandsetupmanually.Thenetwork
cardofthePCmustbeinthesamesubnet,thismeansthattheIPaddressesofsensorandPCnetworkcardmustbedifferingonlyin
thelast3digits.
NetworkclientsnevermusthavethesameIPaddress!
Tipp: marktheunitsandnotetheirrespectiveIPaddresses.
Example:
AddressSensor1:192.168.123.222;
AddressSensor2:192.168.123.223;
AddressSensor3:192.168.123.224;
AddressSensor4:192.168.123.225;
AddressSensor5:192.168.123.226;
AddressSensor6:192.168.123.227;
AddressSensor7:192.168.123.224;//wrongIPAddresse=conflictwithsensorNr.3!
AddressSensor8:192.168.123.229;
AddressSensor9:192.168.124.229;//othersubnet!Nocommunication!
AddressofPCnetworkcard:192.168.123.191
DieSubnetMaskeistfüralleSensorunddieNetzwerkkarte=255.255.255.0
Example: Sensor7hasbeensetbyerrorto192.168.123.224.
ThisIPaddressisalreadygiventosensorNr.3andthiscreatesanetworkconflict.Correctwouldbe192.168.123.228.
Forsensor9adifferentsubnetwasset.ThissensorcannotcommunicatetothenetworkcardinthePC.
Tipp:inordertoallowcommunicationsinmorethanonesubnet,asecond(third)IPaddressforthenetworkadaptercould
besetinstatus|properties|advanced.
Elements of the IPdefault settings
MAC‐Adresse 00‐08‐DC‐00‐00‐00
Seriennummer MM‐YY‐ZZZ
Sensor‐IP 169.254.150.161:3000=factorydefaultIPAddresse(S‐inputandS‐outputconnected)
Subnetz‐Maske 255.255.255.0
GatewayIP 169.254.150.1
TCPPort lastsegmentoftheTCP/IP‐Address(forexample3000)
O
Op
pe
er
ra
at
ti
in
ng
g
c
co
on
nd
di
it
ti
io
on
ns
s
f
fo
or
r
t
th
he
e
s
se
en
ns
so
or
r
Whenthepowerison,thesensorautomaticallystarttosenddata.TheTCPprotocolcaresaboutsendingandreceivingdtapackets
complete,theusermustnotcareforthis.

ManualM7LL/M70LLLaser‐Sensors
HB‐M7LL‐M70LL‐E.docpage15of23V20130301
MELMikroelektronikGmbH,BreslauerStr.2,85386Eching/Germanywww.MELSensor.com
Data format and interface description
S
Se
en
ns
so
or
r
c
co
on
nt
tr
ro
ol
l
Register
HEX/DEZ
ByteFunctionregisterRemarks
0x1F310SoftwareReset*Ethernet‐Moduleisrestated
0M
1E
2L
3S
4E
5N
6S
7O
8R
9IP0(192)
10IP1(168)
11IP2(123)
12IP3(245)
13PORT‐HI
14PORT‐LO
0x2234
15
IPAdresse,PortNetworksettings
SPEED(10/100)
0x26380
1
MaxthresholdadjustmentMax‐High
Max‐Low
0x27390
1
MinthresholdadjsutmentMin‐High
Min‐Low
H
He
ea
ad
de
er
r
D
Da
at
ta
a
f
fo
or
rm
ma
at
t
M7LLandM70LLHeaderByte
Nr.
LengthParameter/valueDatatype
ProtocolVersion020x2302unsignedint
Packetsize22Totallength=860Bytesunsignedint
SerialNumberMJ424digits:Month,Month+Year,Yearex.0311unsignedint
SerialNumberCnt62Production‐Number;3digits;001,002,003…999unsignedint
Oncounter84hh:mm:ssunsignedlong
Reserved1220 unsignedchar
DataPacketNumber322Consecutivenumbers;naturalnumber:0,1,2,3….999unsignedint
Ethernettransmissionrate341110/100‐MBit/sunsignedchar
Reserved1353 unsignedchar
AMB382Beginofrangeunsignedint
MB402Range unsignedint
MaxValue422ValuesetinWebBrowser unsignedint
MinValue442ValuesetinWebBrowserunsignedint
MaxIntensity461142unsignedchar
MinIntensity47114unsignedchar
TriggerStatus482Bit0=MinStatus;Bit1=MaxStatusunsignedint
Reserviert2502 unsignedint
ADZMaxValue5220xFFFFunsignedint
ADIMaxValue5420xFFunsignedint
ADFrequenz56230000unsignedint
ADValuesMax582200unsignedint
ADValues604002x200Werteeach16Bitdistanceunsignedint
ADIValues4602001x200Werteeach16Bitintensityunsignedchar
ADLValues6602001x200Werteeach16BitLasercontrolvalueunsignedchar
GesamteLänge 860

ManualM7LL/M70LLLaser‐Sensors
HB‐M7LL‐M70LL‐E.docpage16of23V20130301
MELMikroelektronikGmbH,BreslauerStr.2,85386Eching/Germanywww.MELSensor.com
R
RS
S-
-2
23
32
2
P
Pr
ro
om
mp
pt
t
a
af
ft
te
er
r
p
po
ow
we
er
r
o
on
n
reuqirements: Terminal‐Software
S‐232cabletoD‐Sub‐25connector
Powersupply
PCwithRS‐232
SettingofRS‐232: 8DataBit,noParity,1Stoppbit(8N1)
Baudrate=115.200
NoHardwareHandshake(FlowControl=none)
Terminalsoftwarereceive
Afterpoweronthesensorsendsastringasshownbelow.
Tipp: whentheIPaddressisnotknown,readingtheRS‐232promptcouldhelptofindouttheactualsettingsofthesensor.
DataoftheRS‐232Prompt:
Model,TypeandFirmwareVersionofthesensor
Serialnumber
EthernetStackStatus
EthernetStack:transmissionrate
EthernetStack:Settings
MAC‐Address
workingIPAddress
Subnetz‐Maske
GatewayAddress
ActivityofWeb‐Server
SetupvalueforMaxandMin
‐
EthernetLinkStatus
ExamplefoaRS‐232Prompt:
**************************************************************************************
M27‐iLANv.0.1.2110330
Seriennummer:0311003
EthernetStack:init
EthernetStack:config
EthernetStack:100MBit
EthernetStack:WorkingSettings
MAC:00:08:DC:04:BE:DB
IP:192.168.123.201:3000
SubNetz:255.255.255.0
GateWay:192.168.123.1
WebServer‐Socket:aktiv
Trigger‐Max:63000Min:02000
TCP‐Connecting...
EthernetLinkNOK
disconnected
disconnected
EthernetLinkOK
********************

ManualM7LL/M70LLLaser‐Sensors
HB‐M7LL‐M70LL‐E.docpage17of23V20130301
MELMikroelektronikGmbH,BreslauerStr.2,85386Eching/Germanywww.MELSensor.com
I
In
nt
te
eg
gr
ra
at
te
ed
d
W
We
eb
b-
-S
Se
er
rv
ve
er
r
I
I
Withtheintegratedwebserverthesensorcanbeaccessedthorughthenetwork,eventhoughthesensorisconnectedtoaPCand
sendingdistancedata.Thisfunctionisalwaysavailablewhenthesensorisconnectedtoanetworkandhaspower.
Withtheintegratedwebserverthesensorcanbeaccessedthorughthenetwork,eventhoughthesensorisconnectedtoaPCand
sendingdistancedata.Thisfunctionisalwaysavailablewhenthesensorisconnectedtoanetworkandhaspower.
F
Fu
un
nc
ct
ti
io
on
n
o
of
f
t
th
he
e
W
We
eb
b-
-S
Se
er
rv
ve
er
r
F
display:display:
IP‐Adresse,Port,SubnetmaskandMAC‐AddressIP‐Adresse,Port,SubnetmaskandMAC‐Address
FirmwareVersion,SerialnumberFirmwareVersion,Serialnumber
Optional:reduceEthernettransmissionrateto10MbitOptional:reduceEthernettransmissionrateto10Mbit
AdditionallywiththeWebBrowseryoumaysettheIPaddressandsubnetmaskforthesensor.AdditionallywiththeWebBrowseryoumaysettheIPaddressandsubnetmaskforthesensor.
R
Re
eq
qu
ui
ir
re
em
me
en
nt
ts
s
f
fo
or
r
s
se
et
tt
ti
in
ng
g
t
th
he
e
I
IP
P-
-A
Ad
dd
dr
re
es
ss
s
i
in
n
t
th
he
e
W
We
eb
b-
-B
Br
ro
ow
ws
se
er
r
R
FirmwareRev. 0.1orhigherFirmwareRev. 0.1orhigher
Sensor innormaloperation(s‐outputandS‐inputnotconnected)Sensor innormaloperation(s‐outputandS‐inputnotconnected)
RemotePC connectedtothesensoroverEthernetRemotePC connectedtothesensoroverEthernet
ThePCmustbeinthesamenetworksegment*likethesensor.ThePCmustbeinthesamenetworksegment*likethesensor.
n
nt
te
eg
gr
ra
at
te
ed
d
W
We
eb
b-
-S
Se
er
rv
ve
er
r
Fu
un
nc
ct
ti
io
on
n
o
of
f
t
th
he
e
W
We
eb
b-
-S
Se
er
rv
ve
er
r
Re
eq
qu
ui
ir
re
em
me
en
nt
ts
s
f
fo
or
r
s
se
et
tt
ti
in
ng
g
t
th
he
e
I
IP
P-
-A
Ad
dd
dr
re
es
ss
s
i
in
n
t
th
he
e
W
We
eb
b-
-B
Br
ro
ow
ws
se
er
r
Hint:the„default‐IP‐Adresse“169.254.150.161couldnotbechanged!
DefaultworkingIPis192.168.122.245
S
Se
et
t
u
up
p
o
of
f
t
th
he
e
w
wo
or
rk
ki
in
ng
g
I
IP
P
A
Ad
dd
dr
re
es
ss
s
TypetheIPaddressofthesensorintheaddress
filedoftheWeb‐Browser.
Example:192.168.122.245
Thesensorrespondswiththescreenpicturedat
therightside.Inthelowerpartofthescreen
theinputmaskismarkedingreycolor.
Entertheparametersandpassword.
Thepasswordis: SENSOR
Pleasenote:alllettersareinCAPITALS!
Thenclickthesendbuttontosendthe
parameterstothesensororpressENTER.
afterashortwhilethesensorsendsa
confirmationscreen.Thesensorrestarts
automaticallyandusesthenewparameters.
pleasenote:whenyouhavesetanewIPaddress,yoursoftwaremustreconnectto
thenewIPaddress.
*theIP‐AdresseofthePCshouldberesemblingtotheIPaddressofthesensor.Onlythelast3digitsshouldbedifferent.
Example:Sensor–IP=192.168.122.245PC‐IP=192.169.122.10

ManualM7LL/M70LLLaser‐Sensors
HB‐M7LL‐M70LL‐E.docpage18of23V20130301
MELMikroelektronikGmbH,BreslauerStr.2,85386Eching/Germanywww.MELSensor.com
T
Tr
ro
ou
ub
bl
le
e-
-S
Sh
ho
oo
ot
ti
in
ng
g
FunctionFirstactionSecondactionRemarks
Checknetworkcables
Exchangecables
UseEthernetswitch
ChecksettingsofthePC
networkcard
UseacrossedEthernetcable
Isanetworkcableconnected
totheD‐Sub‐25pin
connector?
Isthecabletorturedtoomuchreconnect
ThenetworkcardinthePC
doesnotrecognisezthe
polarityofRx‐/Txautomatic
UseanEthernetswitchTheproblemariseswithcheap
GigabitEthernethardware
ReadtheRS‐232promptfrom
thesensor
Cablingaccordingtopage9StartTerminalsoftware
beforepowerupofthesensor
Checkifsomebodyelseis
communicatingwithyour
sensor
PingtheIPaddressofthe
sensor
Cmd:pingxxx.xxx.xxx.xxx
Whenthesensorisnot
poweredon,youmustnot
receiveananswer.
Whennyoureceiveanasnwer
evenwhenthesensorisnot
poweredthenanyoneelseis
usingthisIPaddress.
Checkifyourroutersand
switchesallowtheuseofport
3000
StellenSieeinedirektemakea
directconnection
Youmayneedacrossed
Ethernetcable!
Useunmanagedswitches.
NetworkconnectiontoPC
failed
Checkthesettingofthe
networkcardinthePC
AresensorandPCinthesame
subnet?
PCandsensormustbeinthe
samenetworksegment
(subnet)
TurnofffirewallAllowcommunicationforport
3000,TCPprotocol
Windows7sometimescreates
problems,becauseit
deactivatesnetworkwhenitis
notactive.
Eth.‐Linkand100Mbitarelit
butnonetworkconnection
Arp‐dResetnetworkcardcache
SlowconnectionIsthenetworkcarda100
Mbitversion?
UseanotherPC,another
Ethernetswitch
Donotusehubs.
TheconnectiontothePCis
working,butmeasurement
resultsarereceivedwitha
delayofafewseconds
ThePCistooslowUseafasterPCSetgraphicdisplayto
minimumsettings

ManualM7LL/M70LLLaser‐Sensors
HB‐M7LL‐M70LL‐E.docpage19of23V20130301
MELMikroelektronikGmbH,BreslauerStr.2,85386Eching/Germanywww.MELSensor.com
M
Ma
ai
in
nt
te
en
na
an
nc
ce
e
M7LL‐/M70LLLasersensorsaremaintenancefree.Becausetheseareopticalmeasurementunit,theopticalsystemhastoebekept
freefromdirtanddust.Thismeans:theopticalsystemneedstobecleanedfromtimetotime.
Tipp: cleaningshouldbedonewithasofttowel.
Youcouldusealcoholand/orbezine.
Avoidfingerprintsandgrease;removethesequicklyaftermounting!
picture:dirtySensor picture:cleanSensor
pleasenote:oilyfingerprintscauseseveremeasurementerrors.Thesameappliestowaterdropsorotherliquids.
E
En
nv
vi
ir
ro
on
nm
me
en
nt
t
c
co
on
nd
di
it
ti
io
on
n
S
Su
un
nl
li
ig
gh
ht
t
Duringtheinstallationofsensorstakecarethatnosunlightcouldradiate‐directlyorreflectedonasurface‐intothesensors
receivingoptics.Thiscouldcancelthefunctionofthesensor.
W
Wa
at
te
er
r
a
an
nd
d
o
oi
il
l
Waterdropsontheopticsystemoronthefrontmakeseveredistortiononthemeasurement.Waterdropsworklikealens.They
maycausesensorstofailpermanently.
S
Sp
pe
ec
ci
ia
al
l
S
Se
en
ns
so
or
r
m
mo
od
de
el
ls
s
Standardsensorsweredeliveredwithlaserwavelengthof650...670nm.ForspecialpurposeandonrequestMELwilldeliverother
laserwavelength.Thetechnicaldataforthosesensorsarebasicallythesameasfor650nmsensors.Sensorsusingdifferent
wavelengthwouldnotinterfereintoeachotheropticalsystem.Thisallowstousetwolasersensorshavingalaserspotneartothe
othersensorwithoutinterferenceproblems.Sensorswithdifferentlaserwavelengthmayhavdifferentlasersafetyclassordifferent
technicaldata.

ManualM7LL/M70LLLaser‐Sensors
HB‐M7LL‐M70LL‐E.docpage20of23V20130301
MELMikroelektronikGmbH,BreslauerStr.2,85386Eching/Germanywww.MELSensor.com
L
La
as
se
er
r
S
Sa
af
fe
et
ty
y
L
L
AllM7LL/M70LLsensormodelsareclass2(optionally3R).Theopticalpowersentoutfrom
thebeamsourceislessthan1mW.Thelaserpowerquicklydispersesthroughdiffuse
reflectioninthespace.ThemeasuredopticalpowerrelatedtotheAugenpupillevon7mm
isverylow.Theredlaserlightishighlyvisible.
AllM7LL/M70LLsensormodelsareclass2(optionally3R).Theopticalpowersentoutfrom
thebeamsourceislessthan1mW.Thelaserpowerquicklydispersesthroughdiffuse
reflectioninthespace.ThemeasuredopticalpowerrelatedtotheAugenpupillevon7mm
isverylow.Theredlaserlightishighlyvisible.
protective means: protective means:
NeverlookdirectlyintothebeamNeverlookdirectlyintothebeam
NeverdirectthelaserontootherpeopleNeverdirectthelaserontootherpeople
TrainoperatorsTrainoperators
BeforecleaningswitchofflaserBeforecleaningswitchofflaser
Useapieceofpapertolocatethe(invisible)beamUseapieceofpapertolocatethe(invisible)beam
NeverusemirrorsintheenvironmentNeverusemirrorsintheenvironment
Shieldtheworkplace
a
as
se
er
r
S
Sa
af
fe
et
ty
y
Shieldtheworkplace
Useaprotectivecover/curtain
Paintmachinepartsblackmat
Nobiohazardwilloccurwhenthelaserbeamtouchestheskin.
Productsinlasersafetyclass2havealabellikethepictureontherightside.
Theseproductsdonotrequirespeciallasersafety.
Sensorswithlaseroutputpowerhigherthan1mWandlowerthan5mWarelasersafetyclass3R.
TheseproductshavealabelaccordingtoFDAandIEEE/DIN‐ISOregulations,specifyinglaserclass3R,laserwavelengthandlaser
energy.Fortheseproducts,protectivemeansasmentionedabovearerequired.AccordingtoFDA/DIN‐ISOregulationsalaser
safetyexpertmustbeavailableinthecompanyusingsuchproducts.
This manual suits for next models
9
Table of contents