Hardware and Firmware Versions Hardware-Version with D-Sub-25 connector Firmware Electronic System This manual describes installation and integration of sensor hardware and basics of the configuration and demo software. The most important new features: Ethernet interface Network Link Monitoring (internal) ...
2. System Description Series LAM are analog laser distance sensors based on PSD sensor elements. The LAM-S sensors have an output rate of 10 kHz and a sampling rate of 54 kHz, series LAM-F works with an output rate of 100 kHz an a sampling rate of 400 kHz. The hardware consists of a sensor head and an electronic unit for data evaluation.
6. Special Applications 6.1. Moving or Striped Objects If moving or striped objects need to be captured, the sensor head is to be mounted at 90° to the movement axis, as shown in the picture at the right side. 6.2. Thickness Measurement A thickness measurement system is made of two sensors which are directed to the upper and the lower side of the object.
7.6. Angle Dependency The inclination angle of the object has a little influence to the measurement. A rotation on axis A up to 30° and a rotation on axis B up to 15° do not cause big measurement errors. Measurements on a surface with good diffuse reflection are less influenced by dumping than a measurement on mirroring surfaces.
11. Electronic Unit Open cover for dip switch setting Connection sensor head Connection for supply / D-Sub, 9 pin outputs, D-Sub, 25 pin Connection Ethernet 11.1. Pin Assignment Power Supply / Outputs Signal Pegel Signal Pegel Distance output ± 10 V Analog GND Error 0 / 24 V...
11.3. Dip Switch Settings By setting the dip switches (beyond the small cover on the electronic unit) the output rate can be adjusted. The settings of the nearby potentiometers may not be changed! The internal sampling rate of the sensor is not influenced by the dip switch setting. M7LL (10 kHz) M70LL (100 kHz) Frequency...
12.3. Solving IP Address Conflicts DHCP is not supported, the IP addresses for sensor and network card in the PC must be defined and set up manually. The network card of the PC must be in the same subnet, this means that the IP addresses of sensor and PC network card must be differing only in the last 3 digits. Network clients never must have the same IP address! Tip: Mark the units and note their respective IP addresses.
13.2. Header Data Format LAM header Byte no. Length Parameter / Value Data type Protocol version 0x2302 unsigned int Packet size Total length = 860 Bytes unsigned int Serial number MJ 4-digit: month, month + year, year (e.g. 0311) unsigned int Serial number Cnt Production number, 3-digit;...
14. Integrated Web Server With the integrated web server the sensor can be accessed through the network, even though the sensor is connected to a PC and is sending distance data. This function is always available when the sensor is connected to a network and to power supply. Functions of the web server: Display of: ...
15. Trouble Shooting Function First step Second step Remarks Check network cables Exchange cables Check settings of the PC Use Ethernet switch network card Use a crossed Ethernet cable Is a network cable connected Is the cable tortured too much reconnect to the D-Sub-25 pin Network connection to PC...
16. Maintenance LAM Laser sensors are maintenance free. Because these are optical measurement units, the optical system has to be kept free from dirt and dust. This means: The optical system needs to be cleaned from time to time. Tip: Cleaning should be done with a soft towel.
18. Software Examples Explanation to the software examples: To integrate the LAM- sensors in an existing software a DLL is available. More details are available on request. Our software development engineers use Visual Studio / C++. The source code should be considered as an example. This code could have bugs and we cannot offer guarantees for the accuracy or the completeness of data.
Page 17
Ethernet functions: – a DLL will be available for these functions - ***********************************************************************************************************// size of input receive buffer: should be modulo 2048, the sensor sends in blocks of 2048 #define TCPBUFSIZE 2048 // Structure for WinSocket WSADATA wsaData; // Socket-Variable SOCKET sTCP;...
//connection was probably cut, make sure //and re-initiate the connection bRunRead = FALSE; bRunConnect = FALSE; closesocket(sTCP); else //here you find received data //number of received data is in dwReceived //release socket closesocket(sTCP); WSACleanup(); Use the “send” function for sending data to the sensor. As with the „recv“ function it is necessary to set up connection to the sensor before using the “send”...
Need help?
Do you have a question about the LAM Series and is the answer not in the manual?
Questions and answers