Advantech Data Acquisition Modules ADAM 4000 User Manual page 279

Advantech data acquisition modules user's manual
Table of Contents

Advertisement

4080, 4080D
$AA3N
Name
Read Maximum Counter Value command
Description
Read the maximum value of counter 0 or counter 1 for a
specified counter/frequency module.
Syntax
$AA3N(cr)
$
AA
address that you will access to.
3
N
value is to be set.
N = 0 represents counter 0
N = 1 represents counter 1
(cr)
Response
!AA(data)(cr)
?AA(cr)
There is no response if the module detects a syntax or
communication error, or even if the specified address does
not exist.
!
?
command. AA (range 00-FF) represents the 2-character
hexadecimal address of the module.
(data)
eight hexadecimal digitals.
(cr)
Example
command: $2430(cr)
response:
The command requests the counter/frequency module at
address 24 for the maximum number of counter 0. The
module replies the maximum count number of channel 0
with 65535 (0000ffff)
7-44 ADAM 4000 Series User's Manual
is a delimiter character.
(range 00-FF) represents the 2-character hexadecimal
is the Read Maximum Counter Value command.
determines the counter for which the maximum counter
is the terminating character, carriage return (0Dh).
if the command is valid.
if an invalid operation was entered.
is a delimiter character which indicates a valid command.
is a delimiter character which indicates an invalid
is the maximum counter value which consists of
is the terminating character, carriage return (0Dh).
!240000ffff(cr)
Digital I/O and Relay Output
Counter/Frequency Command Set

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Data Acquisition Modules ADAM 4000 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents

Save PDF