Advantech Data Acquisition Modules ADAM 4000 User Manual

Page 312

Advertising
background image

Chapter

7


7-77 ADAM 4000 Series User’s Manual

@AARA

Name

Read High-alarm Count Value for Counter 0

Description

Requests the addressed counter module to return its
high-alarm count value of counter 0.

Syntax

@AARA(cr)

@

is a delimiter character.

AA

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

address of the module.

RA

is the Read High-alarm Count Value for Counter 0

command.

(cr)

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

Response

!AA(data)(cr)

if the command is valid.

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

AA

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

address of the module.

(data)

is the high-alarm count value which consists of eight

hexadecimal digits.

(cr)

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

Example

command: @12RA(cr)
response: !12F0000000(cr)

The command instructs the module at address 12 to return
its high-alarm count value. The module replies that counter
0's high-alarm count value is F0000000(hex).

4080D

Advertising