beautypg.com

Chapter – Advantech Data Acquisition Modules ADAM 4000 User Manual

Page 233

background image

Chapter

6


6-19 ADAM 4000 Series User’s Manual

6.2 Analog Output Module Command for ADAM-4024

ADAM-4024 Command Review:

Command Set

Function

Response

Example


%AANNTTCCFF

Module Configuration : Set Address, Baud
Rate, Check Sum

AA :

Current Module Address

NN :

New Module Address

TT :

Not Used For ADAM-4024

(Must Be 00)

CC :

Baud Rate Index

03 1200

bps

04 2400

bps

05 4800

bps

06

9600 bps

07

19200 bps

08

38400 bps

09

57600 bps

0A

115200 bps

FF :

Control the parameter listed below

Bit 7: Reserved
Bit 6: Check Sum: 0-Disable 1-Enable
Bit 5 – 2 : Slew Rate (see table below)
Bit 1 – 0 : Reserved
Slew Rate:

Voltage

Current

00

immediately

immediately

01

0.0625 V/sec

0.125 mA/sec

02

0.125 V/sec

0.25 mA/sec

03

0.25 V/sec

0.5 mA/sec

04

0.5 V/sec

1.0 mA/sec

05

1.0 V/sec

2.0 mA/sec

06

2.0 V/sec

4.0 mA/sec

07

4.0 V/sec

8.0 mA/sec

08

8.0 V/sec

16.0 mA/sec

09

16.0 V/sec

32.0 mA/sec

0A

32.0 V/sec

64.0 mA/sec

0B

64.0 V/sec

128.0 mA/sec


!AA


%0203000600

#AACn(data)

Direct Output CHn Data

!AACn
(data)

#02C2 +07.456
#02C1 -03.454
#02C0 +11.234

#AASCn(data)

Set data As CHn Start Up Data

!AASCn
(data)

#02SC2 +07.456
#02SC1 -03.454
#02SC0 +11.234

4024