beautypg.com

Advantech Data Acquisition Modules ADAM 4000 User Manual

Page 155

background image

Chapter

5


5-9

ADAM 4000 Series User’s Manual

4011, 4011D, 4012, 4013, 4015, 4015T, 4016,
4017, 4017+, 4018, 4018+, 4018M, 4019+

$AA2

Name

Configuration Status command

Description

The command requests the return of the configuration data
from the analog input module at address AA.

Syntax

$AA2(cr)

$

is a delimiter character.

AA

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

address of the analog input module that you want to
interrogate.

2

is the Configuration Status command.

(cr)

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

Response

!AATTCCFF(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 indicates a valid command was

received.

?

delimiter character indicates the command was invalid.

AA

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

address of an analog input module.

TT

represents the type code. Type code determines the

input range.

CC

represents the baud rate code.

FF

is a hexadecimal number that equals the 8-bit parameter

that represents the data format, checksum status and
integration time. The layout of the 8-bit parameter is shown
in figure 4-1.

Bits 2 to 5 are not used, and are set to 0.

(cr)

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

(Please refer to %AANNTTCCFF configuration command
to see TT, CC and FF parameter definition)