Counter Setup Command Set - Advantech ADAM 4000 Series User Manual

Data acquisition modules
Hide thumbs Also See for ADAM 4000 Series:
Table of Contents

Advertisement

4080, 4080D

4.7.2 Counter Setup Command Set

Command
Command Name
Syntax
$AAAG
Set Gate Mode
$AAA
Read Gate Mode
$AA3N(data)
Set Maximum
Counter Value
$AA3N
Read Maximum
Counter Value
$AA5NS
Start/Stop Counter The command orders the specified
$AA5N
Read Counter
Start/Stop Status
$AA6N
Clear Counter
$AA7N
Read Overflow
Flag
Description
Requests the specified counter/ frequency
module to set its gate mode to either
high, low or disabled
Requests the specified counter/ frequency
module to return the status of its gate
mode
Sets the maximum value of counter 0 or
counter 1 for the specified
counter/frequency module
Reads the maximum value of counter 0 or
counter 1 of the specified counte/
frequency module
counter/frequency module to start or stop
counting
The addressed counter frequency module
returns its status indicating whether
counting is enabled or diabled
The command clears the counter 0 or
counter 1 of the specified counter module
The addressed module returns the status
of the overflow flag of counter 0 or
counter 1
Chapter 4 Command Set
4
Chapter
I/O
Module
4080,
4080D
4080,
4080D
4080,
4080D
4080,
4080D
4080,
4080D
4080,
4080D
4080,
4080D
4080,
4080D
4-179

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents