12
Annex
12.1
Telegram structure
Example: Send data permanently
NOTICE
When the device is starting up and during a restart, no data telegrams or responses are sent by the device for a
period of up to 30 seconds. The blank spaces (hexadecimal: 20) must be added to the calculation of the telegram
length when both sending and receiving telegrams. With CoLa Binary, framing has a length of 9 bytes (4 bytes STX,
4 bytes; telegram length without framing, 1 byte XOR checksum).
Table 12: Telegram structure: sEN LMDscandata
Telegram
part
Description
Variable Length
Values CoLa A (ASCII)
Values CoLa B (binary)
Command
type
Event
String
3
sEN
73 45 4E
Command Data telegram
String
11
LMDscandata
4C 4D 44 73 63 61 6E 64 61 74 61
Measure‐
ment
Start/stop
Enum_8 1
Stop: 0
Start: 1
Stop: 00
Start: 01
Table 13: Example: sEN LMDscandata
CoLa A ASCII
<STX>sEN{SPC}LMDscandata{SPC}1<ETX>
Hex
02 73 45 4E 20 4C 4D 44 73 63 61 6E 64 61 74 61 20 31 03
CoLa B Binary 02 02 02 02 00 00 00 11 73 45 4E 20 4C 4D 44 73 63 61 6E 64 61 74 61 20 01 33
Table 14: Telegram structure: sEA LMDscandata
Telegram
part
Description
Variable Length
Values CoLa A (ASCII)
Values CoLa B (binary)
Command
type
Answer
String
3
sEA
73 45 41
Command Data telegram
String
11
LMDscandata
4C 4D 44 73 63 61 6E 64 61 74 61
Measure‐
ment
Start/stop
Enum_8 1
Stop: 0
Start: 1
Stop: 00
Start: 01
Table 15: Example: Confirmation of sEA LMDscandata
CoLa A ASCII
<STX>sEA{SPC}LMDscandata{SPC}1<ETX>
Hex
02 73 45 41 20 4C 4D 44 73 63 61 6E 64 61 74 61 20 31 03
CoLa B Binary 02 02 02 02 00 00 00 11 73 45 41 20 4C 4D 44 73 63 61 6E 64 61 74 61 20 01 33
Telegram data flow
The response to the telegram is followed by the scan data.
NOTE
Leading zeros are not displayed in ASCII.
Table 16: Telegram structure: Data flow from sRA LMDscandata/sSN LMDscandata
Telegram part
Description
Variable Length Values CoLa A (ASCII)
Values CoLa B (binary)
Command type
Read
String
3
sRA
sSN
73 52 41
73 53 4E
Command
Data telegram
String
11
LMDscandata
4C 4D 44 73 63 61 6E
64 61 74 61
ANNEX
12
8023198//2018-06-18 | SICK
O P E R A T I N G I N S T R U C T I O N S | LMS4000
53
Subject to change without notice