beautypg.com

Advantech Data Acquisition Modules ADAM 4000 User Manual

Page 264

background image

Chapter

7


7-29 ADAM 4000 Series User’s Manual

%AANNTTCCFF

Name Configuration

command

Description

Sets the address, input mode, baud rate, checksum status
and frequency gate time for a specified counter/frequency
module

Syntax

%AANNTTCCFF (cr)

%

is a delimiter character.

AA

(range 00-FF) represents the 2-character hexadecimal

address that you will access to.

NN

represents the new hexadecimal address of the

counter/frequency module. Range is from 00h to FFh.

TT

represents the input mode.

50h : counter input mode
51h : frequency measurement mode

CC

represents the baud rate code.

(Refer to Table 7-3 on next page).

Hexadecimal value

FF

which is converted to an 8-bit

parameter represents the checksum status and frequency
gate time. The layout of the 8-bit parameter is shown in
Figure 7-3 below.
Bits 0, 1, 3, 4, 5 and 7 are not used and are set to 0.

(cr)

is the terminating character, carriage return (0Dh).

Figure 7-3 Data format for FF (8-bit parameter)

4080, 4080D