Page 39 of 79
Technical Documentation and
User Instructions
Laser Mirror Scanner LMS-Q280i
Data Format in Result Coding Mode BINARY
The binary data string uses the most significant bit 7 (MSB) of data for
synchronization purposes. The MSB is set to 1 for the first byte of the data
string, and is set to 0 for the following bytes.
Data is included in the data string, when the corresponding bit in the Data
format descriptor (see chapter 6.3.4.4, Selecting data blocks for the serial
interface data string) is set. Data is transmitted in order high to low byte.
Data bytes are issued in the following order:
Distance 3 bytes (if corresponding bit is set in F parameter)
Amplitude 1 byte (if corresponding bit is set in F parameter)
Line angle 4 byte (if corresponding bit is set in F parameter)
Quality 1 byte (if corresponding bit is set in F parameter)
SensorTimeStamp 4 byte (if corresponding bit is set in F parameter)
True color data 6 byte (if corresponding bit is set in F parameter)
3 bytes Distance, order D1 – D2 – D3:
Distance [mm] = (D1 and 7Fhex) * 128 * 128 +
(D2 and 7Fhex) * 128 +
(D3 and 7Fhex)
1 byte Amplitude A1:
Amplitude [0..255] = (A1 and 7Fhex) * 2
4 bytes Line angle, order L1 – L2 – L3 – L4:
Line angle[degree/10000] = (L1 and 7Fhex) * 128 * 128 * 128 +
(L2 and 7Fhex) * 128 * 128 +
(L3 and 7Fhex) * 128 +
(L4 and 7Fhex)
1 byte Quality Q1:
Quality [0..100] = (Q1 and 7Fhex)
4 bytes SensorTimeStamp (SYNC Timer), order T1 – T2 – T3 – T4:
Timer[10
-5
s] = (T1 and 7Fhex) * 128 * 128 * 128 +
(T2 and 7Fhex) * 128 * 128 +
(T3 and 7Fhex) * 128 +
(T4 and 7Fhex)
6 byte True color data, order R1-R2-G1-G2-B1-B2:
Red Part=
(R2 and 7Fhex) + 128 * (R1 and 7Fhex)
Green Part =
(G2 and 7Fhex) + 128 * (G1 and 7Fhex)
Blue Part =
(B2 and 7Fhex) + 128 * (B1 and 7Fhex)