beautypg.com

Advantech Data Acquisition Modules ADAM 4000 User Manual

Page 151

background image

Chapter

5


5-5

ADAM 4000 Series User’s Manual

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

%AANNTTCCFF

Response

!AA(cr)

if the command is valid.

?AA(cr)

if an invalid parameter was entered or if the INIT*

terminal was not grounded when attempting to change baud
rate or checksum settings.

There is no response if the module detects a syntax error or
communication error or if the specified address does not
exist.

!

delimiter character indicates a valid command was

received.

? delimiter character indicates the command was invalid

AA

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

address of an analog input module.

(cr)

is the terminating character, carriage return (0Dh)

Example

command:

%2324050600(cr)

response: !24(cr)

The ADAM-4011 module with address 23h is configured to
a new address of 24h, an input range ±2.5 V, baud rate
9600, integration time 50 ms (60 Hz), engineering units
data format and no checksum checking or generation.

The response indicates that the command was received.

Wait 7 seconds to let the new configuration settings take
effect before issuing a new command to the module.

NOTICE: Only ADAM-4011, ADAM-4011D, ADAM-4012, ADAM-4013,

ADAM-4016 and ADAM-4018+ support “% of FSR” and “two’s
complement of hexadecimal” Data Format.

NOTICE: An analog input module requires a maximum of 7 seconds to

perform auto calibration and ranging after it is reconfigured.
During this time span, the module cannot be addressed to
perform any other actions.

NOTICE:

All configuration parameters can be changed dynamically,

except checksum and baud rate parameters. They can only be
altered when the INIT* terminal is grounded. (Refer to Baud
rate and Checksum configuration in Chapter 2,

for the correct

procedure)