Counter Setup Command Set - Advantech Data Acquisition Modules ADAM 4000 User Manual

Advantech data acquisition modules user's manual
Table of Contents

Advertisement

7.2.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
$AA5N
Read Counter
Start/Stop Status
$AA6N
Clear Counter
$AA7N
Read Overflow Flag
7-40 ADAM 4000 Series User's Manual
Counter/Frequency Command Set
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
The command orders the specified
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
Digital I/O and Relay Output
I/O Module
4080, 4080D
4080, 4080D
4080, 4080D
4080, 4080D
4080, 4080D
4080, 4080D
4080, 4080D
4080, 4080D

Advertisement

Table of Contents
loading

Table of Contents