beautypg.com

Advantech Data Acquisition Modules ADAM 4000 User Manual

Page 217

background image

Chapter

6


6-3 ADAM 4000 Series User’s Manual

%AANNTTCCFF

Name Configuration

command

Description

Sets address, input range, baud rate, data format, checksum
status, and/or integration time for an analog output module.

Syntax

%AANNTTCCFF(cr)

%

is a delimiter character.

AA

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

address that is to be configured.

NN

represents the new hexadecimal address of the analog

output module. Range is from 00h to FFh.

TT

represents the type codes (output range codes).

(See

Table 6-2 on next page)

CC

represents the baud rate codes.

(See

Table 6-1 on next page)

FF

is a hexadecimal number that equals to 8-bit parameter

representing the status of data format, slew rate, and
checksum. The layout of the 8-bit parameter is shown in
Figure 6-1. Bit 7 is not used and must be set to 0.

(cr)

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

Figure 6-1 Data format for FF (8-bit parameter)

Note: Only ADAM-4021 supports “% of FSR” and “two’s complement of

hexadecimal” Data Format.

4021