M2i-LAN Laser-Scanner manual
HB-M2-iLAN-UDP-E.doc
page 10 of 44
MEL Mikroelektronik GmbH, Breslauer Str. 2, 85386 Eching / Germany
www.MELSensor.de
R
R
e
e
s
s
o
o
l
l
v
v
e
e
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
Using the default IP address is meant for communication with one single scanner, for adjustment of a new
working IP address or other service purpose. Using the default IP address for normal operation is
not
recommended.
DHCP is not supported
. The Scanner must have a fixed IP address, as well as the network card to which
the scanner shall communicate. Scanner and network card must be in the same network segment. This
means, the network address should vary only in the last three digits. Computers in the network must use
unique and different network addresses. When units in the network use the same address, a conflict exists.
The communication in the network could severely have problems, when this happens.
Tipp:
label the units when installing different units in a network
take notes and make a plan of the network addresses used in your network.
when a conflict exists, physically disconnect the network cable form different units to find
out the source of conflict. ... only one unit at a time...
example:
Address Scanner 1: 192.168.123.222;
Address Scanner 2: 192.168.123.223;
Address Scanner 3: 192.168.123.224;
Address Scanner 4: 192.168.123.225;
Address Scanner 5: 192.168.123.226;
Address Scanner 6: 192.168.123.227;
Address Scanner 7: 192.168.123.224; // incorrect IP-Address = conflict!
Address Scanner 8: 192.168.123.229;
Address Scanner 9: 192.168.124.228; // different network segment
Address Network card: 192.168.123.199
The subnet mask for all Scanners and the network card = 255.255.255.0
Do not get mixed: a subnet mask 255.255.0.0 may also work. The subnet mask defines the maximum
number of units in your network. When no more than 254 scanners were present in your network, the
subnet mask 255.255.255.0 will be sufficient.
In our example Scanner 7 has been set erroneously to the IP address 192.169.123.224. this address is
already taken from another Scanner – so a conflict exists. The correct IP-address would have been
192.168.123.228.
Scanner 9 is in another subnet (another network segment). For Scanner 9, the network card should be set
to IP address = 192.168.124.10.
Tipp:
how to find out the IP address of the scanner?
1. Use any terminal software, connect the RS-232 diagnostic port to Com-port 1 of your PC
2. Read out the information prompt send out at start up of the scanner.
3. For details see page 22.
I
I
P
P
-
-
A
A
d
d
d
d
r
r
e
e
s
s
s
s
f
f
a
a
c
c
t
t
o
o
r
r
y
y
d
d
e
e
f
f
a
a
u
u
l
l
t
t
o
MAC-Address 8
Byte
00-08-DC-00-00-00
o
Serial number 3 Byte
MM-YY-ZZZ
o
Scanner-IP 4
Byte
169.254.150.160:3000 = default Address
o
Subnet-Mask 4
Byte
255.255.0.0
o
Gateway IP
4 Byte
169.254.150.1
o
TCP Port
2 Byte, integer last Segment of the TCP/IP-Address (for example 3000)
Back ground: the Scanner and the network card in the PC make a “peer to peer” connection. Once the
communication between these two peers has been initiated, no other network device will be allowed to communicate
with the active scanner. This means, the scanner can communicate only with one PC at a time. Besides the
communication over TCP at any time, from any other PC a http request (Web browser) could be made.