M2D-Laser-Scanner with Ethernet-Interface
Manual
HB-M2D-Ethernet-E
Page 35 of 39
www.MElsensor.com
Example:
encoding
0x0A = 10 decimal
date of manufacturing 23.12.2027
coded date of manufacturing
0x0xC-0x1B
Serial number
178
coded serial number
0xAC–0x1B–0xB2
additional
example
0x37-0x0A-0xB2
Software code example for readout of the Serial number:
ulTemp = (ucRegEEPROMData[36] & 0x7F);
ulTemp |= (ucRegEEPROMData[37] & 0x7F) << 7;
ulTemp |= (unsigned long)(ucRegEEPROMData[38] & 0x7F) << 14;
ulTemp |= (unsigned long)(ucRegEEPROMData[39] & 0x7F) << 21;
P
P
o
o
r
r
t
t
s
s
Ports are a part of the IP-address definition. When setting the working IP address, the port is defined accordingly.
As a factory default setting at MEL, we always use port : 3000.
You can use “any” port, you should consider, that some services use ports: Internet (http) = port : 80.
Port addresses above 1024 are used not very often, but there are some exceptions like VNC (uses ports 5000 …
6000). Ask your system administrator for restrictions and guidelines for port numbers.