M2D-Laser-Scanner with Ethernet-Interface
Manual
HB-M2D-Ethernet-E
Page 15 of 39
www.MElsensor.com
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
f
f
o
o
r
r
T
T
C
C
P
P
-
-
S
S
c
c
a
a
n
n
n
n
e
e
r
r
p
p
r
r
o
o
f
f
i
i
l
l
e
e
t
t
r
r
a
a
n
n
s
s
m
m
i
i
s
s
s
s
i
i
o
o
n
n
Total block size limit =2048 Byte. Packet size can be 1460 and 588, or 2048 Bytes blocks, depending on network and system
load. TCP/IP receive buffer can be set to a defined size. Using standard settings, the a.m. block size is transferred.
S
S
t
t
r
r
u
u
c
c
t
t
u
u
r
r
e
e
o
o
f
f
M
M
2
2
D
D
F
F
-
-
L
L
A
A
N
N
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
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]
Synchronization raster
8 Null bytes
60...60 version unsigned char [1]
Protocol version number
default = 1 range = 1…3 or 10
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
er
66... scan unsigned char [**]
Scan Data and
Encoder Data
Length depends on protocol
version; 4 Bytes Encoder data
…2044 Fill
…2047 FiFO
FiFO fill level **
Sync, S
tat
us, Sc
anD
at
a, E
n
cod
e
r,
Fi
FO
* Serial number
** depends from protocol version (from scanner head to electronic system)
S
S
y
y
n
n
c
c
a
a
n
n
d
d
s
s
t
t
a
a
t
t
u
u
s
s
i
i
n
n
f
f
o
o
r
r
m
m
a
a
t
t
i
i
o
o
n
n
,
,
p
p
o
o
s
s
i
i
t
t
i
i
o
o
n
n
e
e
n
n
c
c
o
o
d
d
e
e
r
r
(
(
p
p
r
r
o
o
t
t
o
o
c
c
o
o
l
l
r
r
e
e
v
v
i
i
s
s
i
i
o
o
n
n
3
3
.
.
x
x
)
)
Sync + Status
Byte-Nr.
Value
Bit-Nr.
Remarks
52 … 59
0
8 Bytes 0x 00h for Synchronization
60
1
0 … 5
Version number
61 Status
register
1
0
1… 6
7
0 = non linear 1= linear
content see register 0x11 (17)
always 0
62
Image number
continuous, 0 ... 253
63 Status
register
2
Content
of status register 2 is selected with register 0x11
Values made of more than 1 Byte have Bit 7 always 0.
64; 65
reserved
66 … x
Image data
Scan Profile data
X+1…x+9
0
8 times 0x00 for synchronisation
Version number
7 …0
Version of data format = 3
Position encoder R1 0 … 6
Position encoder Bit 0 … 6
Position encoder R2 0 … 6
Position encoder Bit 7 … 13
Position encoder R3 0 … 6
Position encoder Bit 14 … 20
Position encoder R4 0 … 5
6
Position encoder Bit 21 … 26
Position encoder direction
Fill
bytes
2045
7 … 0
2046
15… 8
Sync, Status, ScanData, Encoder, FiFO
2047
FiFO fill level data
23…16
Max value = 524287