Chapter 7
7-
63
ADAM 4000 Series User’s Manual
@AAGN
Name Read Initial Count Value of Counter 0 or 1 command
Description Read the initial count value of counter 0 or 1 of the
specified counter module at address AA.
Syntax @AAGN(data)(cr)
@ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address of the module.
GN is the Read Initial Count Value for Counter 0 or 1
command.
N = 0 represents counter 0
N = 1 represents counter 1
(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 initial count value which must consist of eight
hexadecimal digits.
(cr) is the terminating character, carriage return (0Dh).
Example command: @12G0(cr)
response: !12000000FF(cr)
The co mmand instructs the module at a ddress 12h to return
the initial value of counter 0. The module replies that
initial count value of counter 0 is 000000FF.
4080