Definitions
for ASCII Data Values For the ALL Measurement Mode
Character
Ch 4
Ch 3
Ch 2
Ch 1
6
0
1
1
0
5
0
1
0
1
4
0
1
0
0
3
0
0
1
1
2
0
0
1
0
1
0
0
0
1
0
0
0
0
0
7.4 Binary Format Data Transmission
There are two binary formats. The one used depends upon which
measurement modes are selected. For the ALL measurement
mode, each data byte conveys the status of eight
consecutive
beams. Each bit of the byte is directly related to the status of an
individual channel.
For example, if the
first
eight beams are as shown, then the data
byte has the hex value of 0x2d or 45 decimal.
If the array has 32
optical
channels, then there would be 4 data
bytes
representing
the status of all 32
optical
channels. The other
measurement modes use two bytes to represent the measured
value. The
first
of the two bytes is the most
significant.
For example, the value of 262 for the FBB measurement mode is
coded by the two-byte number: 0x01 0x06.
Channel
Status
Binary Code
1
Blocked
1
2
Clear
0
3
Blocked
1
4
Blocked
1
5
Clear
0
6
Blocked
1
7
Clear
0
8
Clear
0
Binary Transmission has three independent
options.
These
options
are independently selected and are used to
custom-configure
the
serial data format.
• Suppress Clear Data—applicable when the sensor is unobstructed. While the sensor is blocked, serial data is
transmitted;
once
the sensor is unobstructed, the “clear” data is
transmitted
once, and then no further data transmission occurs
until
the sensor is
again blocked.
• Suppress Header—serially transmits the array data bytes. The three header bytes are not
transmitted.
• Compress Data
—affects
the data bytes for the measurement modes excluding the ALL mode. Except for the ALL mode, the
analysis modes use two bytes to transmit the appropriate
information.
For cases where the sensor cannot provide a result
greater than 255, the Compress Data
option
will provide this data in one byte.
For example, assume that you have a 48-channel sensor with a last beam blocked of 35 and a controller ID of “B.” Assume two binary
format
options.
The
first
option
is the standard Binary Transmission format. The second format will use the Suppress Header and
Compress Data
options.
The two strings would be as follows:
With Binary Transmission: 0x1c B 0x00 0x23 0x0a (a total of 5 bytes per scan)
With Binary Transmission, Suppress Header, Compress Data: 0x23 (1 byte per scan)
A-GAGE
®
MINI-ARRAY
®
Measuring Light Screen System
www.bannerengineering.com - Tel: 763.544.3164
29