Your SICK ID gives you access to our extensive range of services. This includes direct online orders, price and availability checks, and access to our digital services.
How to get connection with the LMS1xx / LMS5xx / LMS1000 / MSR1000 via UDP protocol and how to get a measurement telegram.
Firmware Version
Implemented in standard firmware version V1.40 and higher.
It is also in the LMS5xx firmware since V1.20 and higher.
In security application it is not recommended to use UDP, because if a telegram is lost,
it is lost, it will not be automatically repeated like by TCP/IP.
Sopas
Connection with SOPAS via UDP is not possible.
Connection description
For communication via ethernet with less overhead than TCP/IP, the UDP protocol was implemented additionally. It is active at the scanners port 2213 and talks only CoLa-B (LMS1xx / LMS5xx) and CoLa-A/B (LMS1000 / MRS1000 ). The settings for the port can be found in Sopas at the ethernet page. LMS1xx/LMS5xx Sopas Ethernet Settings (not changeable):
Pay attention that UDP is a connectionless protocol, that means there will be no connection
estabilshment and not connection closing, only a socket is created. There is also no checking
mechanism to check if the telegram is received by the other part, so messages can be lost.
Because of that we recommend to establish a connection only with a client program (means the
scanner is always server), otherwise it can cause an unexpected behavior.
Example
If client1 (port 4025) requests the measurement data from the scanner, the scanner sends the data to client1 (port 4025). If than client2 (port 30718) requests data, than client2 (port 30718) will get the data and not the client1 (port 4025) until he requests again.
To send commands to the device and receive the scanners answer create a socket. Example (Hercules tool):
Than send the telegram in CoLa-B to the scanner (example to request on scan telegram):
Than the scanner will answer (the answer is also binary coded, so it has to be decoded):