Page 38 of 79
Technical Documentation and
User Instructions
Laser Mirror Scanner LMS-Q280i
6.2.2 Data Format for Serial Interface in Measurement Mode
Coding mode ASCII or BINARY can be selected by user, see chapter 6.3.4.5,
Coding mode of the serial result data output
Important note
: In scanning mode the serial result output must be switched off
by command RO. Set RO8 to output data to ECP port only !
The serial result output is used for scanners for debug and test purposes only.
Data Format in Result Coding Mode ASCII
The ASCII data string has variable length and is delimited by <Cr> or <Cr><Lf>
respectively. The data string is parted into separate blocks. The user can
specify which
data blocks
are included into the data string.
The first character(s) within the block is(are) named the
block identifier
.
Block
identifiers are always lower case letters
, where data (messages and status
information) are always upper case letters The following block identifiers are
used:
r
Range
a
Signal intensity (Amplitude)
b
Line scan angle
q
Measurement quality
t
SensorTimeStamp (SYNC Timer)
cr
True color data, red part
cg
True color data, green part
cb
True color data, blue part
m
Message, status information
The length of the block depends on the data and is not constant. If the character
following the identifier is a "+" , a "-" or a ASCII-digit, the data block represents a
number (e.g. the range in meters). If it is a letter, it represents status
information.
Example: It is assumed that the output of range and amplitude is activated:
r123.4;a138<Cr><Lf>
Error and status information are messages and given in the following format:
(e.g. error: supply voltage too low)
mERROR:LOW_BATT<Cr><Lf>
Note that under environmental conditions providing high electromagnetic
irradiance, the amplitude measurement can be disturbed or disorted.