Digital I/O and Relay Output
Counter/Frequency Command Set
7-
40
ADAM 4000 Series User’s Manual
7.2.2 Counter Setup Comm and Set
Command
Syntax Command Name Description I/O Module
$AAAG Set Gate Mode Requests the specifie d counter/
frequency module to set its gate
mode to either high, low or
disabled
4080, 4080D
$AAA Read Gate Mode Requests the specifie d counter/
frequency module to return the
status of its gate mode
4080, 4080D
$AA3N(data) Set Maximum
Counter Value Sets the maximum value of
counter 0 or counter 1 for the
specified counter/frequency
module
4080, 4080D
$AA3N Read Maximum
Counter Value Reads the maximum value of
counter 0 or counter 1 of the
specified counte/ frequency
module
4080, 4080D
$AA5NS Start/Stop Counter The command orders the specified
counter/frequency module to start
or stop counting
4080, 4080D
$AA5N Read Counter
Start/Stop Status The addressed counter frequency
module returns its status indicating
whether counting is enabled or
diabled
4080, 4080D
$AA6N Clear Counter The command clears the counter 0
or counter 1 of the specified
counter module
4080, 4080D
$AA7N Read Overflow Flag The addressed module returns the
status of the overflow flag of
counter 0 or counter 1
4080, 4080D