beautypg.com

1 analog input common command set – Advantech Data Acquisition Modules ADAM 4000 User Manual

Page 148

background image




5-2

ADAM 4000 Series User’s Manual

5.1 Analog Input Common Command Set

Command
Syntax

Description I/O

Module

%AANNTTCCF
F

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

4011, 4011D, 4012, 4013, 4015,
4015T, 4016, 4017, 4017+, 4018,
4018+, 4018M, 4019+

$AA2 Returns

the

configuration

parameters for the specified
analog input module

4011, 4011D, 4012, 4013, 4015,
4015T, 4016, 4017, 4017+, 4018,
4018+, 4018M, 4019+

$AAF

Returns the firmware version
code from the specified analog
input module

4011, 4011D, 4012, 4013, 4015,
4015T, 4016, 4017, 4017+, 4018,
4018+, 4018M, 4019+

$AAM

Returns the module name from
the specified analog input
module

4011, 4011D, 4012, 4013, 4015,
4015T, 4016, 4017, 4017+, 4018,
4018+, 4018M, 4019+

#AA

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

4011, 4011D, 4012, 4013, 4015,
4015T, 4016, 4017, 4017+, 4018,
4018+, 4019+

#AAN

Returns the input value from
channel number n of the
specified analog input module

4015, 4015T, 4017, 4017+, 4018,
4018+, 4018M, 4019+

#AA5VV Enables/disables

multiplexing

simultaneously for separate
channels of the specified input
module

4015, 4015T, 4017, 4017+, 4018,
4018+, 4018M, 4019+

$AA6

Ask the specified input module
to return the status of all eight
channels

4015, 4015T, 4017, 4017+, 4018+,
4018, 4018M, 4019+

$AA0

Calibrate the analog input
module to correct for gain errors

4011, 4011D, 4012, 4013, 4016,
4017, 4018, 4018M

$AA1

Calibrate the analog input
module to correct for offset

errors.

4011, 4011D, 4012, 4013, 4016,
4017, 4018, 4018M

#**

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

4011, 4011D, 4012, 4013, 4015,
4015T, 4016

(Continued on following page)