beautypg.com

Command set – Advantech Data Acquisition Modules ADAM 4000 User Manual

Page 111

background image

Command Set


4-8 ADAM 4000 Series User’s Manual


ADAM-4012 Command Table

Command Syntax

Command Name

Command Description

Page No.

%AANNTTCCFF

Configuration

Sets the address, input range,baud
rate, data format, checksum
status, and/or integration time for a
specified analog input module

5-4

#AA

Analog Data In

Returns the input value from a
specified analog input module in
the currently configured data
format

5-14

$AA0

Span Calibration

Calibrates an analog input module
to correct for gain errors

5-19

$AA1

Offset Calibration

Calibrates an analog input module
to correct for offset errors

5-20

#** Synchronized

Sampling

Orders all analog input modules to
sample their input values and store
them in special registers

5-21

$AA4 Read

Synchronized

Data

Returns the value that was stored
in the specified module's register
after the #** command

5-22

$AA2

Configuration Status

Returns the configuration

parameters for the specified
analog input module

5-10

$AAF Read

Firmware

Version

Return the firmware version code
from the specified analog input
module

5-12

$AAM

Read Module Name

Return the module name from the
specified analog input module

5-13

(Continued on following page)