12.3.1.1.2
Explanation of symbols
12.3.1.2
Communication format
12.3.1.2.1
Binary telegram (CoLa B)
8027168/1MNR/2024-10-25 | SICK
Subject to change without notice
Please read this chapter carefully before beginning to use the telegram listing.
The telegram listing shows how to send telegrams via a terminal program using the
SICK protocol CoLa A (ASCII and hexadecimal values, with TCP port 2111 or 2112)
or CoLa B (binary/hexadecimal values, with TCP port 2112 only) to the device . This
comprises the query of the current device state or certain parameter values, how to
modify parameter values and the way in which the device confirms or responds to
commands/telegrams.
The devices generally support automatic IP address discovery.
Default IP address is:
•
192.168.0.1
Subnet mask is 255.255.255.0.
IP ports:
•
2111: CoLa B (fixed)
•
2112: CoLa A (can be switched to CoLa B)
•
2213: UDP
The telegram listing does not or only in a few exceptional cases differentiate between
individual device versions or sub product families such as LMS5xx Lite and LMS5xx
PRO. Most parameter changes also require certain user levels. Additionally, commands
may change during the product lifecycle and development process with a new firmware.
This document is based on the following firmware version (or newer):
•
V1.6 (1.6.0.0R)
If commands do not seem to work, please verify that your device version supports this
functionality, that the minimum required user level has been selected and check on
updates of this documentation.
NOTE
... highlights useful tips and recommendations as well as information for efficient and
trouble-free operation.
Telegram to device
Telegram from device
Unformatted example to copy and paste
The binary telegram is a basic protocol of the scanner (CoLa B). All values are in
hexadecimal code and grouped into pairs of two digits (= 1 byte). The string consists of
four parts: header, data length, data and checksum (CS). It is highly recommended to
use this protocol especially for measurement data, as the transmitted data amount is
only about half as much as with CoLa A).
The header indicates with 4 × STX (02 02 02 02) the start of the telegram.
ANNEXE
N O T I C E D ' I N S T R U C T I O N | LMS4000
12
69