M2i-LAN Laser-Scanner manual
HB-M2-iLAN-UDP-E.doc
page 15 of 44
MEL Mikroelektronik GmbH, Breslauer Str. 2, 85386 Eching / Germany
www.MELSensor.de
D
D
a
a
t
t
a
a
f
f
o
o
r
r
m
m
a
a
t
t
a
a
n
n
d
d
i
i
n
n
t
t
e
e
r
r
f
f
a
a
c
c
e
e
d
d
e
e
s
s
c
c
r
r
i
i
p
p
t
t
i
i
o
o
n
n
F
F
r
r
a
a
m
m
e
e
F
F
o
o
r
r
m
m
a
a
t
t
o
o
f
f
T
T
C
C
P
P
d
d
a
a
t
t
a
a
t
t
r
r
a
a
n
n
s
s
f
f
e
e
r
r
f
f
r
r
o
o
m
m
s
s
c
c
a
a
n
n
n
n
e
e
r
r
h
h
e
e
a
a
d
d
t
t
o
o
e
e
l
l
e
e
c
c
t
t
r
r
o
o
n
n
i
i
c
c
u
u
n
n
i
i
t
t
Total block size = =2048 Byte. Packet size: 1460 and 588, or 2048 Bytes. The packet size is set by the
hardware and the communication channel of the attached network without any influence of the application
software. The TCP buffer may be set to standard value. The user must not care about re-assembling and
reconciling the TCP packets. This is done by the network card with the help of the operating system.
H
H
e
e
a
a
d
d
e
e
r
r
a
a
n
n
d
d
p
p
a
a
y
y
l
l
o
o
a
a
d
d
d
d
a
a
t
t
a
a
Address Parameter Type
Byte
Meaning
Factory default
00...05 MAC unsigned char
[6]
Default MAC-Address 00:08:DC:00:00:00
06...09 Reserve
unsigned char
[4]
Reserved
10...13 Lga
unsigned char
[4]
Default GateWay
169.254.150.1
14...17 Lsm
unsigned char
[4]
Default Subnet Mask
255.255.0.0
18...21 Lip
unsigned char
[4]
Default IP-Address
169.254.150.160
22...23 Tcp
unsigned char
[2]
Default TCP-Port
3000
24...25 Reserve
unsigned char
[2]
Reserved
26...31 Mac
unsigned char
[6]
Working MAC-Address
00:08:DC:xx:xx:xx
*
32...35 Reserve
unsigned char
[4]
Reserved
Customer specific
36...39 Lga
unsigned char
[4]
Working GateWay
Customer specific
40...43 Lsm
unsigned char
[4]
Working Subnet Mask
Customer specific
44...47 Lip
unsigned char
[4]
Working IP-Address
Customer specific
48...49 Tcp
unsigned char
[2]
Working TCP-Port
Customer specific
50...51 Reserve
unsigned char
[2]
Reserved
52...59 null_8
unsigned char
[8]
Synchronisations-Raster
8 Null bytes
60...60 Version
unsigned char
[1]
Protocol-Version number
Default = 3
0x10 = status 0x11 = fault
61...61 Status
unsigned char
[1]
Scanner Status
62...62 pic_nr unsigned char
[1]
Image number
63...63 status2
unsigned char
[1]
Scanner Status
64...64 Reserve
unsigned char
[1]
Reserved
65...65 Reserve
unsigned char
[1]
Reserved
Head
e
r
66... Scan
unsigned char
[**]
Scan Data
Length and contents depends from
protocol version used
Scan
8 x 0x00
8 Bytes
Protocol number
1 Byte
Encoder Data
4 Bytes
Length of following Bytes
1 Byte
Function register
n Bytes
Length of following Bytes
1 Byte
Status register
m Bytes
…2040
Fill
[ ... ]
Fill bytes
2041.2042
[2]
Pixel number horizontal
Typ. = 290
2043.2044
[2]
Pixel number vertical
Typ. = 752
2045..47
FiFO
FiFO-fill status **
3 Bytes
additio
na
l da
ta
* Serial number ** depending from transmission protocol (from Scanner head to electronic box).
E
E
n
n
c
c
o
o
d
d
e
e
r
r
D
D
a
a
t
t
a
a
,
,
F
F
i
i
F
F
O
O
f
f
i
i
l
l
l
l
s
s
t
t
a
a
t
t
u
u
s
s
Encoder-Data is transferred with each
Scan-Profile - do not mix up with the special transfer protocol issued
by the special command 0x21, which calls the info telegram. The following chapter describes this info
telegram. On page 18, the description of the scan data block is given.
At the end of the image profile information, a block of 8 Bytes 0x00, followed by the version of protocol (for
example “3”) and then 4 bytes encoder data were transferred.
The last 3 Bytes before the end of the transmission block is the FiFO fill status data.
Tipp:
the protocol-Version is given in the Header, Byte 60.