Advantech RS-485 Barcode Reader User Manual


 
6-38 ADAM-5000
Command Set
$aaSiArrff $aaSiArrff
Name Configuration
Description Sets slot index, input range, data format and integration
time for a specified analog input module in a specified
system.
Syntax $aaSiArrff(cr)
$ is a delimiter character.
aa (range 00-FF) represents the 2-character hexadecimal
address of the ADAM-5000 system you want to
configure.
Si identifies the I/O slot you want to configure.
A is I/O module configuration command.
rr represents the 2-character hexadecimal code of the
input range. (See Appendix B)
ff is a hexadecimal number that equals the 8-bit parame-
ter representing data format. Bits 0 and 1 represent data
format. Bit 7 represents integration time. The layout of
the 8-bit parameter is shown in Figure 6-3. The other bits
are not used and are set to 0.
(cr) is the terminating character, carriage return (0Dh)
Figure 6-3 Data format for 8-bit parameters
5017/5018 Analog Input
Not used
Integration Time
0: 50 ms (Operation under 60 Hz power)
1: 60 ms
(
Operation under 50 Hz power
)
Data Format
00: Engineering units
7 6 5 4 3 2 1 0