beautypg.com

Command set – Advantech Data Acquisition Modules ADAM 4000 User Manual

Page 127

background image

Command Set


4-24 ADAM 4000 Series User’s Manual



ADAM-4021 Command Table

Command Syntax

Command Name

Command Description

Page
No.

%AANNTTCCFF

Configuration

Set the address, output range,
baud rate, data format, slew rate
and/or checksum status

6-3

#AA(data)

Analog Data Out

Directs output data to a specified
module

6-6

$AA4 Start-up

output

current/voltage
configuration

Stores a default output value in a
specified module. The output
value will take effect upon startup.

6-8

$AA3(number of
counts)

Trim Calibration

Trims specified module a number
of units up/down

6-9

$AA0

4 mA Calibration

Tells the module to store
parameters for 4 mA Calibration

6-11

$AA1

20 mA Calibration

Tells the module to store
parameters for 20 mA Calibration

6-12

$AA2 Configuration

Status

Reads configuration of specified
module

6-13

$AA6 Last

Value

Readback

Returns either last value sent to
specified module by #AA
command, or start-up output
current/voltage

6-14

$AA8

Current Readback Returns measured value of the

current/voltage flowing through
current loop

6-15

$AA5

Reset Status

Checks if module has been reset
since the last $AA5 command

6-16

$AAF Read

Firmware

Version

Return the firmware version code
from the specified analog output
module

6-17

$AAM Read

Module

Name

Return the module name from the
specified analog output module

6-18