Command Set

5017/5018

 

Analog Input

$aaSiB

 

Name Configuration Status

Description Returns the configuration status parameters for a specified analog input module of a specified system.

Syntax

$aaSiB(cr)

 

$ is a delimiter character.

 

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

 

address of the ADAM-5000 system you want to

 

interrogate.

 

Si identifies the I/O slot you want to read.

 

B is configuration status command.

 

(cr) is the terminating character, carriage return (0Dh)

Response

!aarrff(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

 

address of an ADAM-5000 system.

 

rr represents the 2-character hexadecimal code of the

 

input range.

 

ff is a hexadecimal number that equals the 8-bit parame-

 

ter representing data format. Bit 0 and 1 represent data

 

format. Bit 7 represents integration time. (See Configura-

 

tion Command $aaSiArrff).

 

 

 

6-40

ADAM-5000

Page 105
Image 105
Advantech 5000 Series user manual Si identifies the I/O slot you want to read