beautypg.com

Advantech Data Acquisition Modules ADAM 4000 User Manual

Page 175

background image

Chapter

5


5-29

ADAM 4000 Series User’s Manual

4015, 4015T, 4017+, 4018+, 4019+

$AA8Ci

Name Read Single Channel Range Configuration command

Description This command read the input type and range configuration

of the specified channel in an analog input module.

Syntax

$AA8Ci(cr)

$

is a delimiter character.

AA

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

address of the analog input module which is to be read.

8

is the Read Single Channel Range Configuration

command.

Ci

represents the specified input channel you want to read.

(cr)

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

Response

!AACiRrr(cr)

if the command was 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 indicates a valid command was

received.

?

delimiter character indicates the command was invalid.

AA

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

address of the analog input module.

Ci

represents the specified input channel you read.

Rrr

represents the type and range setting in the specified

channel.

(Refer to Table 5-1 on Page 5-6 to check range codes)

(cr)

represents terminating character, carriage return (0Dh).

Example command: $028C5(cr)

response: !02C5R21(cr)

The command read the range of channel 5 in the analog
input module at address 02. The response “R21” means
Pt100 (IEC) 0 ~ 100 ℃.