SCIENTIFIC TECHNOLOGIES INC.
R
10
Binary Serial Data Reports
Binary formats issue true binary numbers to
the serial port and cannot report values larger
than 255
10
. These are universally interpreted as
ASCII codes by terminal emulation software.
Character translation available in some terminal
emulation software may help in decoding the
information.
BINARY NULL Mode
BINARY NULL Mode turns off serial data
reports.
Syntax:
BINARY NULL
Data format: none.
Comment: ASCII NULL does the same thing.
Function: Binary size - gives the size of the
largest object detected.
Syntax:
BINARY SIZE
Data Format: Report is one byte which is the
binary number for the size of the largest object
detected. (Size is the number of beams blocked
by the object.) There are no delimiters.
Maximum size that can be reported is 255
10
. The
report value is 000000 if no object is detected.
BINARY RAW Mode
BINARY RAW Mode gives the status of
each beam.
Syntax:
BINARY RAW
Data Format: Report is a fixed number of bytes.
The number of bytes is determined by the
number of beams. The first byte is a
synchronizing byte with a hex value of 55. This
is followed by data bytes, one byte for every 8
beams in the scanner. Data bytes use 0 to show
an unblocked beam, and 1 to show a blocked
beam. There are no delimiters.
BINARY PSIZE Mode
BINARY PSIZE Mode gives the position
and size of the largest object detected.
Syntax:
BINARY PSIZE
Data Format: Report is two bytes giving the
position and size of the largest object detected.
First byte is the position (the beam blocked
closest to cable).
Position starts counting beams from zero.
The second byte is the size (the number of
beams blocked). There are no delimters. Returns
00000000 for each byte if no object is detected.
Beam position numbering starts at one for the
beam closest to the cable.
BINARY TOPBEAM Mode
BINARY TOPBEAM Mode reports the
blocked beam farthest from the cable.
Syntax:
BINARY TOPBEAM
Data format: Report is one byte giving the beam
number of the highest beam blocked (blocked
beam farthest from the cable). There are no
delimiters. Beam numbering starts with one at
the beam closest to the cable. The report value is
000000 if no object is detected. Beam position
numbering starts at one for the beam closest to
the cable.
BINARY BOTBEAM Mode
BINARY BOTBEAM Mode reports the
blocked beam closest to the cable.
Syntax:
BINARY BOTBEAM
Data format: Report is one byte giving the beam
number of the lowest beam blocked (blocked
beam closest to the cable). There are no
delimiters. Beam numbering starts with one at
the beam farthest from the cable. Beam position
numbering starts at one for the beam closest to
the cable.
Section 6 – Serial Output