Advantech Data Acquisition Modules ADAM 4000 User Manual

Page 309

Advertising
background image

Digital I/O and Relay Output

Counter/Frequency Command Set


7-74 ADAM 4000 Series User’s Manual

@AAPA(data)

Name

Set Low-alarm Count Value for Counter 0 command

Description

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

Syntax

@AAPA(data)(cr)

@

is a delimiter character.

AA

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

address of the module.

PA

is the Set Low-alarm Count Value for Counter 0

command.

(data)

is the low-alarm count value which must consist of

eight hexadecimal digits. This value should be lower than
the high alarm 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:

@12PA0000FFFF(cr)

response: !12(cr)

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

4080D

Advertising