Chapter 6

$aaSiArrff

Name

RTD Configuration

Description Sets slot index, input range, data format and integration

 

time for a specified RTD 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 desired slot i (i:0to3).

 

A represents the 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 for the 8-bit parameter is shown in Figure 6-3

 

(See page 6-

 

38). The other bits are not used and are set to 0. (cr) is

 

the terminating character, carriage return (0Dh).

Response

!aa(cr) if the command is valid.

 

?aa(cr) if an invalid operation was entered.

 

There is no response if the module detects a syntax error

 

or communication error or if the specified address does

 

not exist.

 

! delimiter character indicating a valid command was

 

received.

 

? delimiter character indicating the command was

 

invalid.

 

aa (range 00-FF) represents the 2-character hexadecimal

 

 

ADAM-5000

6-21

Page 86
Image 86
Advantech 5000 Series user manual Syntax $aaSiArrffcr