EasyManuals Logo
Home>Advantech>Other>Adam-4019+

Advantech Adam-4019+ User Manual

Advantech Adam-4019+
390 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
Page #243 background imageLoading...
Page #243 background image
229 ADAM-4000 Series User Manual
Chapter 7 I/O, Relay & Counter
/
Frequency
4080, 4080D
7.2.2.3 $AA3N(data)
Name Set Maximum Counter Value command
Description Set the maximum value for either counter 0 or counter 1 of
a specified counter/frequency module.
Syntax $AA3N(data)(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address that you will access to.
3 is the Set Maximum Counter Value command.
N determines the counter for which the maximum counter
value is to be set.
N = 0 represents counter 0
N = 1 represents counter 1
(data) is the maximum count value which consists of eight
hexadecimal digits. The module will accumulate the input
counts until it reaches the maximum value. When the count
exceeds the maximum counter value, the counter will stop
counting. The programmer should use the command
$AA6N to reset the counter to 1.
(cr) is the terminating character, carriage return (0Dh).
Response !AA(cr) if the command is valid.
?AA(cr) if an invalid operation was entered.
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.
? is a delimiter character which indicates an invalid
command.
AA (range 00-FF) represents the 2-character hexadecimal
address of the module.
(cr) is the terminating character, carriage return (0Dh).
Example command: $24300000ffff(cr)
response: !24(cr)
The command requests the counter/frequency module at
address 24 to set the maximum value for counter 0 to 65535
(0x0000ffff). The module will reply that it has executed the command.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Advantech Adam-4019+ and is the answer not in the manual?

Advantech Adam-4019+ Specifications

General IconGeneral
BrandAdvantech
ModelAdam-4019+
CategoryOther
LanguageEnglish

Related product manuals