beautypg.com

Advantech Data Acquisition Modules ADAM 4000 User Manual

Page 240

background image

Chapter

7


7-5 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 were attempted.

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

!

is a delimiter character which indicates a received valid

command.

?

is a delimiter character which indicates an invalid

command.

AA

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

address of a digital I/O module.

(cr)

is the terminating character, carriage return (0Dh).

Example

command:

%2324400600(cr)

response:

!24(cr)

The command tries to configure module by changing
address 23h to address 24h, assigning baud rate 9600,
setting no checksum checking and supporting Advantech
protocol. The response indicates that the configuration was
successful.

Table 7-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

09 57.6

kbps

0A 115.2

kbps

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. (Please Refer to

Baud rate and Checksum, in Chapter 2 for the correct
procedure.)

4050, 4051, 4052, 4053, 4055,
4056S, 4056SO, 4060, 4068, 4069