![MEL M2-iLAN Series User Manual Download Page 23](http://html1.mh-extra.com/html/mel/m2-ilan-series/m2-ilan-series_user-manual_1766769023.webp)
M2i-LAN Laser-Scanner manual
HB-M2-iLAN-UDP-E.doc
page 23 of 44
MEL Mikroelektronik GmbH, Breslauer Str. 2, 85386 Eching / Germany
www.MELSensor.de
R
R
e
e
a
a
d
d
o
o
u
u
t
t
c
c
o
o
m
m
p
p
l
l
e
e
t
t
e
e
i
i
m
m
a
a
g
g
e
e
The complete camera image is read out. The sensor sends out raw data with 8 bit resolution. When the
register 0x10 is set to “1”, the sensor writes 2 fields complete into the FiFo. After each field, 8 Byte zero’s
and status Bytes are transferred. The read out of a new image starts with a hardware or software trigger
event. Intensity value of the pixels is 0 … 254.
The number of Pixels horizontally and vertically of each profile can be read out of the registers 32 … 35 or
am at the end of the Ethernet Packet in the Bytes 2041 … 2044.
Tipp:
Set Trigger mode
0x14: Bit 3 = 1
Activate image mode 0x10: Wert = 1
Empty FIFO
*
0x1C
Trigger
*
0x1D
* call of the register address triggers the function!
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
o
o
f
f
S
S
e
e
n
n
s
s
o
o
r
r
s
s
„Synchronization“ means simultaneous or alternating read out of the sensors. For synchronization, the Pins
Sync out of the Master-Scanner and sync in of the Slave-Scanner unit must be connected, as well as
ground pins. The connections are made in the power cable at the 8-pin connector.
Pin 2 of the master sensor is connected to pin 15 of the slave sensor. Both image counters work now
synchronous. Phase error is less than 10 µsec. When the register 0x0F is set to „1“ both sensors work in
alternating mode. Shutter time in register „2“ and „3“ must be set to the value > 512, in order to avoid
overlap of the two sensors.
T
T
r
r
i
i
g
g
g
g
e
e
r
r
M
M
o
o
d
d
e
e
Trigger mode must be activated in the register 0x14, Bit 3 with a “1”. Hardware trigger is made with a
leading edge of the sync input, pin 15. Software trigger is made by accessing the register 0x1D. Software
trigger and hardware trigger both have the same function. In both modes, the sensor reacts on the leading
(rising) 0/1-edge of the trigger impulse. The capture process starts 65 µsec after trigger. The image counter
is reset, two fields are sent out.
C
C
a
a
l
l
c
c
u
u
l
l
a
a
t
t
i
i
o
o
n
n
o
o
f
f
s
s
h
h
u
u
t
t
t
t
e
e
r
r
t
t
i
i
m
m
e
e
The camera creates approximately 93.5 profiles per second. This corresponds to 10.696 msec period. The
maximum shutter time is shorter than 10.696 msec, because of the minimum erase time interval.
Maximum shutter time
= 10.696 msec * 256 / 290
= 9.442 msec
Minimum shutter time
= 9.442 msec / 16.384
= 0.5763 µsec.
N
N
u
u
m
m
b
b
e
e
r
r
o
o
f
f
p
p
i
i
x
x
e
e
l
l
s
s
,
,
e
e
n
n
c
c
o
o
d
d
e
e
r
r
d
d
a
a
t
t
a
a
The actual camera model sends with 5 Byte data format selected and protocol version 3 the number of 290
pixels per profile.
R
R
S
S
-
-
2
2
3
3
2
2
M
M
o
o
n
n
i
i
t
t
o
o
r
r
i
i
n
n
g
g
On the RS-232 interface the scanner sends status information.
Data format:
8 bit, no parity, 1 Stop bit
115.200 Baud
Requirements:
RS-232 cable connected at the D-sub-25 pin connector, 24 V power supply
PC with terminal software application waiting for data
When switching power on, the electronic system sends out a prompt over the RS-232 interface.
Tipp:
When the IP address is unknown, at first try to read the RS-232 prompt during the start-up.
RS-232 Prompt
o
Status, Serial number, Version of Hardware, Version of Software
o
Version of Firmware, Version of Eproms
o
MAC-address, Gateway Address
o
Default IP-Address, working IP-Address, Subnet mask