Advantech Data Acquisition Modules ADAM 4000 User Manual

Page 150

Advertising
background image




5-4

ADAM 4000 Series User’s Manual

4011, 4011D, 4012, 4013, 4015, 4015T, 4016,
4017, 4017+, 4018, 4018+, 4018M, 4019+

%AANNTTCCFF

Name Configuration

command

Description

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

Syntax

%AANNTTCCFF(cr)

%

is a delimiter character.

AA

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

address of the analog input module you want to configure.

NN

represents the new hexadecimal address of the analog

input module. Range is from 00h to FFh.

TT

represents the type (input range) code. (Note: 4015 and

4019 must be 00)

(Refer to Table 5-1 on Page 5-6)

CC

represents the baud rate code.

(Refer to Table 5-2 on Page 5-8)

FF

is a hexadecimal number that equals the 8-bit parameter

representing the data format, checksum status and
integration time. The layout of the 8-bit parameter is shown
in Figure 5-1. Bits 2 through 5 are not used and are set to 0.

(cr)

is the terminating character, carriage return (0Dh)

7

6

5

4

3

2

1

0

Checksum status
0: Disabled
1: Enabled

Integration time
0: 50 ms (Operation under 60 Hz power)
1: 60 ms (Operation under 50 Hz power)

not used


00: Engineering units
01: % of FSR
10: two's complement of hexadecimal
11: Ohms (for 4013 and 4015)

Data Format

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

Advertising