Transmission of Temperature Lines
14
MP150 Protocol
4.3.1
What to do with the Surplus Pixel (
PMX
)
The scanner hardware samples always:
•
1024 pixel at scan frequencies lower than 40 Hz,
•
512 pixel at scan frequencies lower than 80 Hz and
•
256 pixel above.
This raises the question: What to do with the surplus pixel if less pixels get transmitted?
For that the
PMX
command extends the
PM
command with the option to decide that the surplus pixel
shall be
omitted
or used to calculate the
average
/
maximum
/
minimum
.
If the
PM
command is used instead of the
PMX
command it sets implicitly the omit function.
4.4
Line Composition, LineMode (
LM
)
The Line Mode (
LM
) defines the frame around the pixel data and some data that can be appended onto
the line. The following two sub-sections give the complete structure of a data line.
The previous scanner versions did not support all components of this structure; the omissions are
described in the section
4.4.1
A Line with Frame in Burst Mode
This is the format of data sent from the scanner to the PC in Burst Mode:
SYN+{Line}
with:
{Line} = Line + [Line] + [Line] + …
Line
= [FramPi[Temp[Sekto[Trigg[Checksum]
SYN
= 16hex (22dec),
FrameStart
= 16hex (syn), FFhex, 10hex, FFhex
Pixeldata
TempIntern
= one byte for the internal Temperature in °C, not send in line mode 8
Sektorinfos
= 2 Bytes for current output 1 (LSB first!)
2 Bytes for current output 2 (LSB first!)
2 Bytes for current output 3 (LSB first!)
Triggerbyte
= one byte which is 1 if the external trigger pin is active otherwise 0
Checksum
= two-byte check sum (low, high), calculation starts after FrameStart
4.4.2
The Lines with Frame in Snapshot Mode
This is the format of data sent from the scanner to the PC in Snapshot Mode:
SYN+{Line}+Lastline
with:
{Line} = Line + [Line] + [Line] + …
Line
= [FramPi[Trigg[Checksum]
Lastline
= FramPi[Temp[Sekto[Trigg[Checksum]
SYN
= 16hex (22dec),
FrameStart
= 16hex (syn), FFhex, 10hex, FFhex
Pixeldata
TempIntern = one byte for the internal Temperature in °C, not send in line mode 8
Sectorinfos
= 2 Bytes for current output 1 (LSB first!)
2 Bytes for current output 2 (LSB first!)
Содержание LineScanner MP150
Страница 1: ...MP150 Linescanner Protocol Manual Rev B4 Aug 2019 51101...
Страница 2: ......