Advantech Data Acquisition Modules ADAM 4000 User Manual page 217

Advantech data acquisition modules user's manual
Table of Contents

Advertisement

4021
%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)
%
AA
address that is to be configured.
NN
output module. Range is from 00h to FFh.
TT
(See Table 6-2 on next page)
CC
(See Table 6-1 on next page)
FF
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)
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.
6-3 ADAM 4000 Series User's Manual
is a delimiter character.
(range 00-FF) represents the 2-character hexadecimal
represents the new hexadecimal address of the analog
represents the type codes (output range codes).
represents the baud rate codes.
is a hexadecimal number that equals to 8-bit parameter
is the terminating character, carriage return (0Dh).
6
Chapter

Advertisement

Table of Contents
loading

Table of Contents