beautypg.com

Advantech Data Acquisition Modules ADAM 4000 User Manual

Page 302

background image

Chapter

7


7-67 ADAM 4000 Series User’s Manual

@AARP
@AARA

Name

Read Alarm Limit Value of Counter 0 or 1 command

Description

Read the alarm limit value of counter 0 or 1 of the specified
counter module at address AA.

Syntax

@AARP(data)(cr)

@AARA(data)(cr)

@

is a delimiter character.

AA

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

address of the module.

RP

represents the Read Alarm Limit Value for counter 0

command.

RA

represents the Read Alarm Limit Value for counter 1

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 alarm limit value which must consist of eight

hexadecimal digits.

(cr)

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

Example

command: @12RP(cr)

response:

!120000FFFF(cr)

The command instructs the module at address 12h to return
the alarm limit value of counter 0. The module replies
that the alarm limit value of counter 0 is 0000FFFF.

4080