M2D-Laser-Scanner with Ethernet-Interface
Manual
HB-M2D-Ethernet-E
Page 11 of 39
www.MElsensor.com
C
C
o
o
m
m
m
m
u
u
n
n
i
i
c
c
a
a
t
t
i
i
o
o
n
n
b
b
e
e
t
t
w
w
e
e
e
e
n
n
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
a
a
n
n
d
d
P
P
C
C
A Micro-Controller in the blue-Box communicates with the PC over the Ethernet. The communication is peer-to-
peer. Ethernet switches can be used to communicate over a network. Do not use Hubs! The M2DF-LAN-Scanner
requires 100 Mbit network connection. When you use 10 MBit network equipment, communication could get
stuck.
F
F
u
u
n
n
c
c
t
t
i
i
o
o
n
n
s
s
o
o
f
f
t
t
h
h
e
e
M
M
i
i
c
c
r
r
o
o
-
-
C
C
o
o
n
n
t
t
r
r
o
o
l
l
l
l
e
e
r
r
i
i
n
n
t
t
h
h
e
e
E
E
l
l
e
e
c
c
t
t
r
r
o
o
n
n
i
i
c
c
-
-
B
B
o
o
x
x
o
Read profile data from Scanner head
o
Send out Scan data over TCP-protocol
o
Receive commands for the scanner head over TCP-protocol
o
Transfer commands to the scanner head
o
Set IP-Address, when requested by PC
P
P
C
C
-
-
H
H
o
o
s
s
t
t
-
-
S
S
o
o
f
f
t
t
w
w
a
a
r
r
e
e
f
f
u
u
n
n
c
c
t
t
i
i
o
o
n
n
s
s
o
Receive TCP frame and scan data from the electronic system
o
Decode 4 / 5 Byte per Pixel in image data (see „Data-format“.)
o
Evaluate scan / image data
o
Send commands to the scanner head (Blue-Box).
C
C
o
o
m
m
m
m
u
u
n
n
i
i
c
c
a
a
t
t
i
i
o
o
n
n
C
C
o
o
m
m
p
p
o
o
n
n
e
e
n
n
t
t
s
s
TCP Clients and Server are Software-Components in the software development shell. In the application software,
they are noticeable only as “
ports
” which are used for data transfer from and to the application. Each Scanner has
its own
TCP/IP-Address
, according to the
SubNet mask
. Definitions of TCP/IP-Address and SubNet mask must
be made correctly during the set up procedure of the Ethernet-Scanner. These parameters are mandatory for
proper function of the hard- and software of the TCP/Ethernet protocol. The M2DF-LAN-Scanner stores data
before sending.
The Scanner stores data before sending. The scanner uses the TCP/IP protocol *. Adresses for TCP/IP, subnet
mask, gateway are stored in the Micro-Controller in the scanner electronic system. For set up either the MEL
configuration software or a Web-Browser could be used.
* UDP version is available on request.
S
S
e
e
t
t
u
u
p
p
o
o
f
f
t
t
h
h
e
e
S
S
c
c
a
a
n
n
n
n
e
e
r
r
s
s
w
w
o
o
r
r
k
k
i
i
n
n
g
g
I
I
P
P
-
-
A
A
d
d
d
d
r
r
e
e
s
s
s
s
The electronic system in the blue box has a default IP address, which is activated when the Reset iP-pin (a.k.a.
RiP) is set to ground and power off/on-cycle, and a working IP-address which becomes active, when the RiP-pin
is released and power off/on has been cycled. When the scanner is operated at the default address, the MEL
EthernetScanner Software, Tab 11 allows to set a new working IP address, see page … for details.
The default address can not be changed by the user. As a factory preset, the working IP-address is set to
192.168.123.245 and the Subnet mask is set to 255.255.255.0. This preset can be changed upon request before
the delivery is made, with the commercial order. MEL will then make a note in the delivery papers or label the
electronic units accordingly.
S
S
e
e
t
t
t
t
h
h
e
e
S
S
c
c
a
a
n
n
n
n
e
e
r
r
t
t
o
o
t
t
h
h
e
e
d
d
e
e
f
f
a
a
u
u
l
l
t
t
I
I
P
P
a
a
d
d
d
d
r
r
e
e
s
s
s
s
To set the default address set the Rip-Pin (Pin 5) to Ground, turn off power and on again. The setup can be made
using MEL-demo software, Rev. 2.4.0 and higher, Tab11. The “working-IP” address set up is stored in the
electronic box permanently after releasing the RIP-Pin from ground and cycling power. The Scanner then reboots
with the new “working IP-Address”.
We strictly recommend: do not use the default IP-address for normal operation!
R
R
e
e
s
s
o
o
l
l
v
v
i
i
n
n
g
g
I
I
P
P
-
-
A
A
d
d
d
d
r
r
e
e
s
s
s
s
-
-
C
C
o
o
n
n
f
f
l
l
i
i
c
c
t
t
s
s
In the configuration-software port addresses of the scanners can be assigned freely with one scanners at a time.
Two scanners or other network devices in the same network
never
should be set up for the same IP-address.
Applications other than read and write data from the scanners should never use the ports assigned to the
scanners. A unique IP-address must be assigned to each scanner. In the network, two scanners or PCs never
must have the same network address. The device switched on first may work, the other one will create a conflict
and will not work, the network may be disturbed.