EasyManua.ls Logo

Advantech Adam 4000 Series - Page 288

Advantech Adam 4000 Series
398 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
4-204 ADAM 4000 Series User's Manual
4080
Command Set
@AAGN
Name Read Initial Count Value of Counter 0 (or 1)
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 a counter module.
GN represents the Read Initial Count Value for counter com-
mand.
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 error or
communication error or if the specified address does not exist.
! is a delimiter character indicating a command was valid.
AA (range 00-FF) represents the 2-character hexadecimal
address of a counter 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 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.

Table of Contents

Related product manuals