Chapter 6

 

 

#aaSiCj

#aaSiCj

Name

Specified Analog Data In

Description

Returns the input value of a specified channel of a

 

specified analog input module in a specified ADAM-

 

5000 system in engineering units or two’s complement

 

data format

Syntax

#aaSiCj(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 (i:0 to 3) of ADAM-5000 system

 

you want to read.

 

Cj identifies the channel you want to read.

 

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

Response

!(data)(cr) if the command is valid. (Engineering Unit

 

Data Format)

 

!(dddd)(cr) if the command is valid. (Two’s Complement

 

Data Format)

 

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

 

(data) is the input value in engineering units of the

 

specified channel of the specified analog input module.

ADAM-5000

6-69

Page 191
Image 191
Advantech RS-485 user manual Returns the input value of a specified channel of a