S
ENSOR
C
OMMANDS AND
R
ESPONSES
Copyright LMI Technologies Inc. 2003
39
Response Format
[
response
][
serial#
][
address
][
mode
][
aperture
][
threshold
][
scantime
]
[
dropout
][
smooth
][
order
][
offset
][
cosine
][
cosoff1
][
cosoff2
][
laser
]
response
(1 byte)
19
serial
#
(8 ASCII bytes)
address
(1 byte)
1..255
mode
(1 byte)
0..3
aperture
(1 word)
threshold
(1 byte)
1..255 - ignore
scantime
(1 word)
1..32000 (x 0.6 ms)
dropout
(1 word)
1..50
smooth
(1 word)
0..100 %
order
(1 word)
1..19 (odd)
offset
(1 word)
sensor range
cosine
(1 word)
0.0 - 1.0000
cosoff1
(1 word)
Reserved
cosoff2
(1 word)
Reserved
laser
(1 word)
0 = laser off, 1 = laser on
NOTE
:
Sensor Range
is dependent on the actual mode of operation.
Refer to section 4.3.1. SET MODE.
4.4.3
C
OMMAND
21
R
EAD
C
URRENT
S
ENSOR
S
TATUS
Purpose
Returns a variety of values relatin to current sensor status.
Command Format
[
command
]
[
command]
1 byte 21
ResponseFormat
[
response
][
basepix
][
sumpix
][
numpix
][
subpix
][
current
][
scancnt
][
sca
nflg
]
response
(1 byte)
21
basepix
(1 word)
0..2047 - base pixel address (ignore)
sumpix
(1 word)
sum of pixels (ignore)
numpix
(1 word)
width of laser spot pixels (ignore)
subpix
(1 word)
sub pixel value (ignore)
current
(1 word)
sensor range
- position
scancnt
(1 word)
1..8192 - number of samples
scanflg
(1 word)
0 = not scanning, 1 = scanning
NOTE
:
sensor range
is dependent on the actual mode of operation.
Refer to chapter 4.3.1.
‘
SET MODE
’
. Also see section 7.3.2.5 for
description of [base pix], ext.