M2i-LAN Laser-Scanner manual
HB-M2-iLAN-UDP-E.doc
page 9 of 44
MEL Mikroelektronik GmbH, Breslauer Str. 2, 85386 Eching / Germany
www.MELSensor.de
Communication between Electronic system and PC
The micro controller in the electronic system communicates over Ethernet TCP/IP with the PC. The Scanner
head delivers image data to the micro controller and the FPGA in the electronic system.
T
T
a
a
s
s
k
k
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
o
Read out of the Scanner head
o
Send Scann profile data over TCP/IP-Protocol
o
Receive commands for the Scanner head with TCP/IP Protocol
o
Send commands to the Scanner head
o
Change and store the TCP/IP-Address on request
o
Send Status information
o
Run integrated Web Browser
T
T
a
a
s
s
k
k
o
o
f
f
t
t
h
h
e
e
P
P
C
C
-
-
S
S
o
o
f
f
t
t
w
w
a
a
r
r
e
e
o
Receive profile data from Scanner
o
Decode Pixel image data format (see „Data format“)
o
Process and display scan profile data
o
Send commands to the Scanner head
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 components of the development environment in the software. In the readily
compiled software (*.exe File) these components exist in the form of “ports”. These ports manage data
traffic in and out to the individual elements of the application software.
The Scanner communicates with the
outer world
using
port address
,
IP address
and a valid
subnet mask
.
A Gateway is ignored, the scanner opens a peer to peer connection. Therefore the set up of these
communication components needs to be complete to allow proper function of the electronic components
and data communication.
The Scanner stores data in FiFo memory, before data is sent out in a
package
. The transmission protocol is
TCP/IP*.
* UDP firmware version is available on request!
A
A
d
d
j
j
u
u
s
s
t
t
m
m
e
e
n
n
t
t
o
o
f
f
S
S
c
c
a
a
n
n
n
n
e
e
r
r
s
s
I
I
P
P
-
-
A
A
d
d
d
d
r
r
e
e
s
s
s
s
The Scanners electronic system has a default address as well as a working IP address. The default IP
address is activated, when you set the RiP-Pin. This is done, when you connect the Sync out pin to the D1
pin before starting power. The default IP address is set firmly, and can not be changed by the user.
Before delivery, the scanners were normally set to the
working-IP = 192.168.123.245
. When another IP
address has been set, either a note in the shipment papers or a label on the electronic box of the scanner
should show the IP address.
When you want to set a new working IP address, use a Web browser and follow the procedure on page 24.
Please note: after transferring the new working IP address to the scanner electronic system, the
electronic system
automatically
restarts to make the change effective.
The Web Browser will then display a message to make you aware of the change.
When you receive this message connect to the scanner with the new IP address.