beautypg.com

Advantech Data Acquisition Modules ADAM 4000 User Manual

Page 144

background image

Chapter

4


Chapter 4 Command Set 4-41

ADAM-4080D Command Table (Continued)

Command Syntax

Command Name

Command Description

Page
No.

$AAAG

Set Gate Mode

Requests the specified counter/
frequency module to set its gate
mode to either high, low or disabled

7-40

$AAA

Read Gate Mode

Requests the specified counter/
frequency module to return the
status of its gate mode

7-41

$AA3N(data) Set

Maximum

Counter Value

Sets the maximum value of counter
0 or counter 1 for the specified
counter/frequency module

7-42

$AA3N Read

Maximum

Counter Value

Reads the maximum value of
counter 0 or counter 1 of the
specified counte/ frequency module

7-43

$AA5NS

Start/Stop Counter

The command orders the specified
counter/frequency module to start
or stop counting

7-44

$AA5N Read

Counter

Start/Stop Status

The addressed counter frequency
module returns its status indicating
whether counting is enabled or
disabled

7-45

$AA6N

Clear Counter

The command clears the counter 0
or counter 1 of the specified
counter module

7-46

$AA7N

Read Overflow Flag

The addressed module returns the
status of the overflow flag of
counter 0 or counter 1

7-47

(Continued on following page)