beautypg.com

Advantech Data Acquisition Modules ADAM 4000 User Manual

Page 310

background image

Chapter

7


7-75 ADAM 4000 Series User’s Manual

@AASA(data)

Name

Set Hi-alarm Count Value of Counter 0 command

Description

Set the high-alarm count value for counter 0 of the
specified counter module.

Syntax

@AASA(data)(cr)

@

is a delimiter character.

AA

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

address of the module.

SA

is the Set High-alarm Count Value of Counter 0

command.

(data)

is the high-alarm count value which must consist of

eight hexadecimal digits. This value should be higher than
the low-alarm count value.

(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:

@12SAF0000000(cr)

response: !12(cr)

The command sets the low-alarm count number
F0000000(hex) for channel 0 of the counter modules at
address 12. The addressed module replies that the
command has been received.

4080D