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.

rrrepresents the 2-character hexadecimal code of the input range. (See Appendix B)

ffis 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-3Data format for 8-bit parameters

6-38

ADAM-5000

Page 103
Image 103
Advantech 5000 Series user manual Command Set 5017/5018 Analog Input