Advantech Data Acquisition Modules ADAM 4000 User Manual

Page 301

Advertising
background image

Digital I/O and Relay Output

Counter/Frequency Command Set


7-66 ADAM 4000 Series User’s Manual

@AAPA(data)
@AASA(data)

Name

Set Alarm Limit Value of Counter 0 or 1 command

Description

Set the Alarm limit value of counter 0 or 1 of the specified
counter module at address AA.

Syntax

@AAPA(data)(cr)

@AASA(data)(cr)

@

is a delimiter character.

AA

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

address of the module.

PA

represents the Set Alarm Limit value for counter 0

command.

SA

represents the Set Alarm Limit Value for counter 1

command.

(data)

is the alarm limit value which must consist of eight

hexadecimal digits.

(cr)

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

Response

!AA(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.

(cr)

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

Example command:

@$12PA0000FFFF(cr)

response:

!12(cr)

The command sets the alarm limit value 0000FFFF for
counter 0 of the counter module at address 12h. The
module replies that the command has been received.

4080

Advertising