beautypg.com

Advantech Data Acquisition Modules ADAM 4000 User Manual

Page 216

background image

Analog Output Module Command Set


6-2 ADAM 4000 Series User’s Manual


6.1 Analog Output Module Command for ADAM-4021

Command Syntax

Command Name

Description

I/O Module

%AANNTTCCFF

Configuration

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

4021

#AA(data)

Analog Data Out

Directs output data to a
specified module

4021

$AA4 Start-Up

Output

Current or Voltage
Configuration

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

4021

$AA3
(number of counts)

Trim Calibration

Trims specified module a
number of units up/down

4021

$AA0

4 mA Calibration

Tells the module to store
parameters for 4mA Calibration

4021

$AA1

20 mA Calibration

Tells the module to store
parameters for 20 mA
Calibration

4021

$AA2 Configuration

Status

Reads the configuration of
specified module

4021

$AA6 Last

Value

Readback

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

4021

$AA8

Current Readback Returns measured value of the

current/voltage flowing through
current loop

4021

$AA5

Reset Status

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

4021

$AAF Read

Firmware

Version

Returns the firmware version
code from the specified analog
output module

4021

$AAM Read

Model

Name

Return the module name from
specified analog output module

4021