Advantech Data Acquisition Modules ADAM 4000 User Manual

Page 311

Advertising
background image

Digital I/O and Relay Output

Counter/Frequency Command Set


7-76 ADAM 4000 Series User’s Manual

@AARP

Name

Read Low-alarm Count Value of Counter 0 command

Description

Read the low-alarm value of counter 0 of the specified
counter module.

Syntax

@AARP(cr)

@

is a delimiter character.

AA

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

address of the module.

RP

is the Read Low-alarm Count Value of 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 indicating a valid command

AA

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

address of the module.

(data)

is the low-alarm count value which consists 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 12 to return
its low-alarm count value. The module replies that counter
0's low-alarm count value is 0000FFFF(hex).

4080D

Advertising