Advantech Data Acquisition Modules ADAM 4000 User Manual page 298

Advantech data acquisition modules user's manual
Table of Contents

Advertisement

4080
@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)
@
AA
address of the module.
GN
command.
N = 0 represents counter 0
N = 1 represents counter 1
(cr)
Response
!AA(data)(cr)
There is no response if the module detects a syntax or
communication error, or even if the specified address does
not exist.
!
AA
address of the module.
(data)
hexadecimal digits.
(cr)
Example
command: @12G0(cr)
response:
The command instructs the module at address 12h to return
the initial value of counter 0. The module replies that
initial count value of counter 0 is 000000FF.
7-63 ADAM 4000 Series User's Manual
is a delimiter character.
(range 00-FF) represents the 2-character hexadecimal
is the Read Initial Count Value for Counter 0 or 1
is the terminating character, carriage return (0Dh).
if the command is valid.
is a delimiter character which indicates a valid command.
(range 00-FF) represents the 2-character hexadecimal
is the initial count value which must consist of eight
is the terminating character, carriage return (0Dh).
!12000000FF(cr)
7
Chapter

Advertisement

Table of Contents
loading

Table of Contents