M2i-LAN Laser-Scanner manual
HB-M2-iLAN-UDP-E.doc
page 13 of 44
MEL Mikroelektronik GmbH, Breslauer Str. 2, 85386 Eching / Germany
www.MELSensor.de
S
S
c
c
a
a
n
n
n
n
e
e
r
r
c
c
o
o
n
n
t
t
r
r
o
o
l
l
s
s
C
C
o
o
n
n
t
t
r
r
o
o
l
l
c
c
o
o
m
m
m
m
a
a
n
n
d
d
s
s
No commands must be sent to the scanner, unless special operation is required. When no special
command is sent, the scanner is in automatic mode, which is best for most applications.
When the scanner is powered on, it sends data to the connected PC in a continuous stream. You must not
care to set the scanner to this operation mode, this will be made automatic, presumed once the application
software has been configured correctly. Windows TCP socket cares, that all packets will arrive at the PC, no
user interaction is required.
When creating a
new
communication with the scanner after a long waiting period, we recommend to send a
FiFO reset command
just once
in the beginning. This is only relevant for your own application software, to
avoid reading out
old data
from the FiFO memory at start. When using this command, you should trash the
first image after the reset and
use only the second
one. When reading data continuously, FiFo reset is
not
recommended.
Tipp: examples for the use of register addresses and commands were given in the appendix.
T
T
r
r
i
i
g
g
g
g
e
e
r
r
a
a
n
n
d
d
S
S
y
y
n
n
c
c
h
h
r
r
o
o
n
n
i
i
s
s
a
a
t
t
i
i
o
o
n
n
o
o
p
p
e
e
r
r
a
a
t
t
i
i
n
n
g
g
m
m
o
o
d
d
e
e
s
s
Simultaneous Sync alternating Sync simultaneous Trigger alternating Trigger
E
E
x
x
t
t
e
e
r
r
n
n
a
a
l
l
T
T
r
r
i
i
g
g
g
g
e
e
r
r
(
(
H
H
a
a
r
r
d
d
w
w
a
a
r
r
e
e
-
-
T
T
r
r
i
i
g
g
g
g
e
e
r
r
)
)
At Pin 6 = Sync-in, the leading edge of the trigger pulse makes the trigger event. The signal should not
oscillate. The Sync-input is an optic coupler with current limit. The voltage range is TTL … 24 V (max. 30 V
DC). When the trigger has been made, no additional trigger signal will be accepted during the active
measurement. The maximum profile rate is approximately 60 Hz.
Tipp:
how to use trigger:
1. set register 0x14, Bit 3 to “1”
2.
do trigger with a call of register 0x1D,see page 15
Please note:
in trigger mode, synchronization with other scanners is not available.
S
S
y
y
n
n
c
c
h
h
r
r
o
o
n
n
i
i
z
z
a
a
t
t
i
i
o
o
n
n
The sync-input is used for synchronization of 1 master with other slave scanners. One scanner is defined to
be the master; the other scanners will be slaves. The sync output of the master scanner is wired to the
slave scanners sync input, ground is connected accordingly.
Please note:
in sync mode trigger is not available
.
E
E
t
t
h
h
e
e
r
r
n
n
e
e
t
t
-
-
T
T
r
r
i
i
g
g
g
g
e
e
r
r
The Ethernet-Trigger mode is set in register 0x23 according to the definition on page 17. In this operation
mode, the scanner creates permanently profiles,
but holds up data send out
. Only after Ethernet trigger
event received, the scanner sends out the last profile acquired
before
. Depending on the speed of the PC,
profiles could be missing.
D
D
i
i
g
g
i
i
t
t
a
a
l
l
i
i
n
n
p
p
u
u
t
t
s
s
Digital inputs 1 and 2 may be used to connect an A/B encoder to the scanner head.
Tipp:
the encoder count can be read out from the registers 13 ... 16.
the information is transferred embedded into the scan profile data.
there is no need for special synchronization of the encoder data with the profile data.