Binary Format Data Transmission - Banner A-GAGE MINI-ARRAY MAC-1 Instruction Manual

Measuring light screen system
Hide thumbs Also See for A-GAGE MINI-ARRAY MAC-1:
Table of Contents

Advertisement

Character
6
5
4
3
2
1
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.
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)
Definitions for ASCII Data Values For the ALL Measurement Mode
Ch 4
Ch 3
0
1
0
1
0
1
0
0
0
0
0
0
0
0
www.bannerengineering.com - Tel: 763.544.3164
®
A-GAGE
MINI-ARRAY
Ch 2
1
0
0
1
1
0
0
Channel
Status
1
Blocked
2
Clear
3
Blocked
4
Blocked
5
Clear
6
Blocked
7
Clear
8
Clear
®
Measuring Light Screen System
Ch 1
0
1
0
1
0
1
0
Binary Code
1
0
1
1
0
1
0
0
29

Advertisement

Table of Contents
loading

Table of Contents