2 counter/frequency module command – Advantech Data Acquisition Modules ADAM 4000 User Manual

Page 263

Advertising
background image

Digital I/O and Relay Output

Counter/Frequency Command Set


7-28 ADAM 4000 Series User’s Manual

7.2 Counter/Frequency Module Command

7.2.1 Configuration, Counter Input and Display Command Set

Command
Syntax

Description I/O

Module

%AANNTTCCFF Sets the address, input mode, baud rate, checksum

status and/or frequency gate time for a specified
counter/frequency module

4080,
4080D

$AA2

Requests the return of the configuration data from the
counter/frequency module

4080,
4080D

$AAF

Requests the counter/frequency module to return the
version code of its firmware

4080,
4080D

$AAM

Requests the counter/frequency module to return its
name

4080,
4080D

$AABS

Set the input signal mode of the specified
counter/frequency module to either non-isolated

(TTL) or photo-isolated.

4080,
4080D

$AAB

Read the input mode of the specified
counter/frequency module.

4080,
4080D

#AAN

Instructs the addressed counter/ frequency module to
read the counter or frequency value of counter 0 or
counter 1 and return the acquired data.

4080,
4080D

$AA8V

Select whether LED will display data from the
counter/frequency module directly or from the host
computer.

4080D

$AA8

Read the LED Data Origin status which determines
whether LED will display data from the counter/
frequency module directly or from the host computer

4080D

$AA9(data)

The host computer sends data to the addressed
module to display on its LED. This command is valid
only after selectting to display host computer data
($AA8V)

4080D

Advertising