M2i-LAN Laser-Scanner manual
HB-M2-iLAN-UDP-E.doc
page 3 of 44
MEL Mikroelektronik GmbH, Breslauer Str. 2, 85386 Eching / Germany
www.MELSensor.de
Synchronization of Sensors ........................................................................................................................................ 23
Trigger Mode .............................................................................................................................................................. 23
Calculation of shutter time .......................................................................................................................................... 23
Number of pixels, encoder data .................................................................................................................................. 23
RS-232 Monitoring ...................................................................................................................................................... 23
115.200 Baud ............................................................................................................................................................. 23
Web-Server................................................................................................................................................................. 25
Available Read out Functions ..................................................................................................................................... 25
How to set the IP address over the Web .................................................................................................................... 25
Requirements for connection to scanner .................................................................................................................... 26
Updating (Flashing) Firmware..................................................................................................................................... 27
Hardware Requirements ............................................................................................................................................. 27
Software Requirements .............................................................................................................................................. 27
Updating (Flashing) procedure ................................................................................................................................... 27
Updating (Flashing) over the Ethernet ........................................................................................................................ 28
Trouble Shooting ........................................................................................................................................................ 29
Example code for Software engineers ........................................................................................................................ 30
Data format for register addresses and commands .................................................................................................... 30
3. Command: 0x21 (dump) ......................................................................................................................................... 31
example: // read out FiFo status and sensor temperature .......................................................................................... 36
Syntax of HDR shutter control .................................................................................................................................... 38
Ports ........................................................................................................................................................................... 38
Ethernet WinSock Implementation.............................................................................................................................. 39
Example: (“
”) using WinSock and Scanner functions: ............................................................................................. 39
UDP Implementation................................................................................................................................................... 41
IP-Programming for UDP-transmission protocol: ........................................................................................................ 41
Maintenance .................................................................................................................................................................... 43
Laser Safety................................................................................................................................................................ 43
Laser Power................................................................................................................................................................ 44
Environment................................................................................................................................................................ 44
Sunlight....................................................................................................................................................................... 44
Water .......................................................................................................................................................................... 44
Changes and additions ............................................................................................................................................... 44
F
F
i
i
r
r
m
m
w
w
a
a
r
r
e
e
-
-
V
V
e
e
r
r
s
s
i
i
o
o
n
n
Hardware-Revision
4.0
with M12 connectors
FPGA Firmware-Revision
4.6
Controller Firmware Revision 2.0.59
This manual describes the installation of the scanner hardware and the use of MEL demo and calibration
software. The manual has been changed to the new version of hardware.
With the transit to the revision 4 hardware, the electronic system has been equipped with M12 connectors.
The scanner head is connected to the network with the standard Ethernet M12 connector. The power and
control connector is an M12 connector with 8 pins.
Tipp:
default values should be read from the scanner.
after a reset, the scanner restores all values to default.
to read out the default values:
1. send reset command
0x1E
2. request info telegram
0x21
default values could be different from given values in this manual.
relevant is the actual interface description available from MEL.
when you read out default values from the scanner, these may be
the almost recent values.
Laser Safety
Please refer to the Chapter “Laser Safety and Maintenance” to find r
ecommendations and guidelines
for
use of controls, adjustments of performance and recommended practice to avoid any hazardous radiation
exposure (page 43).
Use of controls or adjustments or performance of procedures other than those
specified herein may result in hazardous radiation exposure.