Vehicle Scanner VS6400
Rev.E
9
2) for each object:
– ASCII 20
16
(the space character);
– four ASCII characters for the hexadecimal
number of the beam closest to the cable that
is blocked by the object (the beam closest to
the cable is numbered zero);
– ASCII 3A
16
(the colon “:” character);
– four ASCII characters for the hexadecimal
number of beams blocked by the object
3) ASCII 0D
16
(carriage return);
4) ASCII 0A
16
(line feed)
Examples:
No object present
ASCII Hexadecimal Code: 30 30 0D 0A
ASCII Characters: 00 (hexadecimal) <Carriage
Return> <Line Feed>
Interpretation: zero objects detected; carriage
return and line feed delimit the report.
One object present
ASCII Hexadecimal Code: 30 31 20 30 30 30 38
3A 30 30 30 32 0D 0A
ASCII Characters: 01 (hexadecimal) <space>
0008:0002 <carriage return> <line feed>
Interpretation: one object detected; the 9th beam
is the first one blocked (counting starts at zero);
the object blocks 2 beams; carriage return and
line feed delimit the report.
Two objects present
ASCII Hexadecimal Code: 30 32 20 30 30 30 38
3A 30 30 30 32 20 30 30 31 32 3A 30 30 30 32 0D 0A
ASCII Characters: 02 (hexadecimal) <space>
0008:0002 <space> 0012:0002 <carriage return>
<line feed>
Interpretation: two objects detected; the 9th
beam is the first beam blocked by the first
object, the first object blocks two beams, the
19th beam is the first beam blocked by the
second object, the second object blocks 2 beams;
the carriage return and line feed delimit the
report.
ASCII SIZE Mode
ASCII SIZE Mode gives the size of the
largest object detected.
Syntax:
ASCII SIZE
Data format: Five ASCII characters, the first
four are the size of the largest object, the fifth
character is ASCII 0D
16
(carriage return).
ASCII TOPBEAM Mode
ASCII TOPBEAM Mode reports the blocked
beam farthest from the cable.
Syntax:
ASCII TOPBEAM
Data Format: Five ASCII characters, the first
four are the beam number of the blocked beam
that is farthest from the cable, the fifth is ASCII
0D
16
(carriage return). The beam closest to the
cable is numbered one.
ASCII BOTBEAM Mode
ASCII BOTBEAM Mode reports the blocked
beam closest to the cable.
Syntax:
ASCII BOTBEAM
Data Format: Five ASCII characters, the first
four are the beam number of the blocked beam
that is closest to the cable, the fifth is ASCII
0D
16
(carriage return). The beam farthest from
the cable is numbered one and beam numbers
increase as they near the cable.
Section 6 – Serial Output