beautypg.com

Advantech 5000 Series User Manual

Page 103

background image

Command Set 5017/5018

Analog Input


$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

6-38

ADAM-5000