Command Set

5017/5018 Analog Input

 

 

$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.

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)

7

6

5

4

3

2

1

0

Not used

Data Format

 

00: Engineering units

Integration Time

0: 50 ms (Operation under 60 Hz power)

1: 60 ms (Operation under 50 Hz power)

Figure 6-3 Data format for 8-bit parameters

6-38

ADAM-5000

Page 160
Image 160
Advantech RS-485 user manual Command Set 5017/5018 Analog Input