4-128 ADAM 4000 Series User's Manual
Command Set
4021
%AANNTTCCFF
Name Configuration
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 of the analog output module to be configured.
NN
represents the new hexadecimal address of the analog
output module. Range is from 00h to FFh.
TT represents the type (output range) code. (See
table 4-4)
CC represents the baud rate code. (See
table 4-3).
FF is a hexadecimal number that equals the 8-bit parameter
representing the status of data format, slew rate, and check-
sum. The layout of the 8-bit parameter is shown in figure 4-2.
Bit 7 is not used and must be set to 0.
(cr) is the terminating character, carriage return (0Dh).
76543210
Not used
(set to 0)
Slew Rate
Bitcode Voltage Current
0000: immediate change
0001: 0.0625 V/sec 0.125mA/sec
0010: 0.125 V/sec 0.250 mA/sec
0011: 0.250 V/sec 0.500 mA/sec
0100: 0.500 V/sec 1.000 mA/sec
0101: 1.000 V/sec 2.000 mA/sec
0110: 2.000 V/sec 4.000 mA/sec
0111: 4.000 V/sec 8.000 mA/sec
1000: 8.000 V/sec 16.00 mA/sec
1001: 16.00 V/sec 32.00 mA/sec
1010: 32.00 V/sec 64.00 mA/sec
1011: 64.00 V/sec 128.0 mA/sec
Figure 4-2
Data format for 8-bit parameter
Data Format
00: Engineering units
01: % of FSR
10: hexadecimal
Checksum status
0: Disabled
1: Enabled