Advantech ADAM 4000 Series User Manual page 130

Data acquisition modules
Hide thumbs Also See for ADAM 4000 Series:
Table of Contents

Advertisement

Response
Table 6.1: Baud Rate Codes
Baud Rate Code (Hex)
03
04
05
06
07
08
Table 6.2: Output Range Codes (Type Codes)
Output Range Code (Hex)
30
31
32
Caution! An analog output module requires a maximum of 20 milliseconds to per-
form auto calibration and ranging after it is reconfigured. During this time
span, the module can not be addressed to perform any other actions.
Caution! 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).
Example
ADAM-4000 Series User Manual
!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).
Baud Rate
1200 bps
2400 bps
4800 bps
9600 bps
19.2 Kbps
38.4 Kbps
Output Range for ADAM-4021
0 to 20 mA
4 to 20 mA
0 to 10 V
command: %310A310610(cr)
response: !24(cr)
The analog input module is configured from addresses 31h
to a new address 0Ah, output range 4 to 20 mA, baud rate
9600, engineering units data format, a slew rate of 1.0
mA/sec and no checksum checking.
The response indicates that the command has been received.
118

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents