Advantech Data Acquisition Modules ADAM 4000 User Manual
Page 218

Analog Output Module Command Set
6-4 ADAM 4000 Series User’s Manual
%AANNTTCCFF
Response
!AA(cr)
if the command is valid.
?AA(cr)
if an invalid parameter was entered or the INIT*
terminal was not grounded when changing baud rate or
checksum settings was attempted.
There is no response if the module detects a syntax or
communication error, or even if the specified address does
not exist.
!
delimiter character indicates that a valid command is
received.
?
delimiter character indicates that the command is invalid.
AA
(range 00-FF) represents the 2-character hexadecimal
address of an analog output module.
(cr)
is the terminating character, carriage return (0Dh).
Table 6-1 Baud Rate Codes
Baud Rate Code (Hex)
Baud Rate
03 1200
bps
04
2400 bps
05
4800 bps
06
9600 bps
07
19.2 Kbps
08 38.4
Kbps
Table 6-2 Output Range Codes (Type Codes)
Output Range Code (Hex)
Output Range for ADAM-4021
30
0 to 20 mA
31
4 to 20 mA
32
0 to 10 V
NOTICE: An analog output module requires a maximum of 20
milliseconds to perform auto calibration and ranging after it is
reconfigured. During this time span, the module can not be
addressed to perform any other actions.
NOTICE: All configuration parameters can be changed dynamically,
except the checksum and baud rate parameters. They can only
be altered when the INIT* terminal is grounded. (Refer to Baud
rate and Checksum in Chapter 2).
4021