Cut Sheet
Table Of Contents
- Contents
- 1 Features
- 2 Overview
- 3 Specifications
- 4 Installation Instructions
- 5 Configuration Instructions
- 5.1 Install the Software
- 5.2 Define the Communication
- 5.3 Alignment
- 5.4 Parameter Setup Files (PSFs)
- 6 Operating Instructions
- 7 Additional Information
- 8 Accessories
- 9 Banner Engineering Corp. Limited Warranty
7 Addional Informaon
7.1 Host Mode Command
The MINI-ARRAY controller can communicate with a computer or PLC via either an RS-232 connecon (all models) or RS-485 connecon
(discrete-output models). The host can respond to output from the controller when the controller is programmed for either the
Connuous or Gate control mode.
Alternately, the host can control sensor scanning. When the Host control mode is selected, the host computer or controller iniates
scans using a command string. The command string is a three-byte message, consisng of:
Control byte with decimal value 248
Controller ID (one of 16 ASCII leers A through O, as specied in the PSF)
Scan iniaon byte (ASCII leer S)
The command string is further
dened, as follows:
unsigned char msg[3]; /*declare three byte unsigned character array using C language*/
msg[0]=248; /*control byte*/
msg[1]=65; /*assume the controller ID is the
leer A*/
msg[2]=83; /*scan iniaon byte which is the ASCII leer S*/
The host transmits this three-byte message at the dened baud rate. The format is one start bit, one stop bit, even parity, and eight
data bits. When this message is received by the MINI-ARRAY controller, the controller iniates a scan and updates its outputs as
required. The MINI-ARRAY controller then waits for the next command string.
7.2 Serial Data Format
The programmed measurement mode or modes determine the type of informaon that is transmied. For example, if Meas1 is set for
FBB and Meas2 is set for LBB, then the data transmied to the host contains the values of the rst and last beam blocked.
The ALL measurement mode provides the status of all beams to the host. The VHS mode does not provide serial output data. In addion
to measurement mode informaon, the data transmission also contains a start string and a terminaon byte. The start string consists of
two unsigned character bytes:
Hex value 1C
The controller ID value
The terminaon byte is the ASCII character for a linefeed (hex value 0A). These three bytes are collecvely called the Header.
7.3 ASCII Format Data Transmission
There are two ASCII formats. The one used depends upon which measurement modes are selected. For the ALL measurement mode,
each data byte is presented in an eight bit ASCII format which conveys the status of four consecuve channels (four consecuve beams).
Each subsequent byte conveys the status of the next four channels, unl the status of all channels is reported.
The allowable data values are the ASCII numbers 0 to 9 and the ASCII leers A to F. In the table shown, the 0 represents a clear channel,
and the 1 represents a blocked channel.
The other measurement modes use three ASCII bytes to represent their values. For example, if Meas1 is FBB and Meas2 is LBB, and the
measured values are 6 and 120, and the controller ID is A, then the data string is as follows:
0x1c A 0 0 6 1 2 0 0x0a
The controller allows suppression of clear data. This means that data is sent one
me when the array is completely clear (i.e., when no
beams are blocked), and no further data is sent unl one or more beams is blocked.
Denions
for ASCII Data Values For the ALL Measurement Mode
Character Ch 4 Ch 3 Ch 2 Ch 1
F 1 1 1 1
E 1 1 1 0
D 1 1 0 1
C 1 1 0 0
B 1 0 1 1
A 1 0 1 0
9 1 0 0 1
8 1 0 0 0
7 0 1 1 1
A-GAGE
®
MINI-ARRAY
®
Measuring Light Screen System
28 www.bannerengineering.com - Tel: 763.544.3164










