beautypg.com

Advantech Data Acquisition Modules ADAM 4000 User Manual

Page 266

background image

Chapter

7


7-31 ADAM 4000 Series User’s Manual

$AA2

Name

Configuration Status command

Description

The command requests the return of the configuration data
from the counter/frequency module at address AA.

Syntax

$AA2(cr)

$

is a delimiter character.

AA

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

address that you will access to.

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 or
communication error, or even if the specified address does
not exist.

!

is a delimiter character which indicates a valid command.

?

is a delimiter character which indicates an invalid

command.

AA

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

that you will access to.

TT

(50h or 51h) represents the type of code. 50h means

using module as a counter. 51h means using module as a
frequency measurement module.

CC

represents the baud rate code.

Hexadecimal value

FF

which also equals to an 8-bit

parameter represents the checksum status and frequency
gate time. The layout of the 8-bit parameter is shown in
figure 4-5. The bits are not used and are set to 0.

(cr)

is the terminating character, carriage return (0Dh)

(Also see the %AANNTTCCFF configuration command)

4080, 4080D