User Manual

143 Chapter 6
6.4.3 Analog Input Command Set
(ADAM-6015, 6017, 6018)
Command
Syntax
Command
Name
Description
#aan Read AnalogInput
from Channel N
Return the input value from the specified
analog input channel
#aa Read AnalogInput
from all channels
Return the input values from all analog input
channels
$aa0 Span or Auto
Calibration
Calibrate the analog input module to correct
the gain error
$aa1 Offset or Auto
calibration
Calibrate the analog input module to correct
the offset error
$aa6 Read Channel
Enable/Disable
Status
Asks a specified module to return the Enable/
Disable status of all analog input channels
$aa5mm Set Channel
Enable/Disable
Status
Set Enable/Disable status for analog input
channels
#aaMH Read all Max. Data Read the maximum data from all analog input
channels
#aaMHn Read single Max.
Data
Read the maximum date from a specified
analog input channel
#aaML Read all Min. Data Read the minimum data from all analog input
channels
#aaMLn Read single Min.
Data
Read the minimum data from a specified
analog input channel
#aaDnd Set Digital Output Sets the status for the specified digital output
channels
$aaBnn Read AnalogInput
RangeCode
Return the input range code from the specific
analog input channel
$aaBRCnn Read AnalogInput
RangeCode
Return the input range code from the specific
analog input channel (For ADAM-6017-CE
Version)
$aaAccrr Write Analog Input
Code
Write the input range code to the specific
analoginput channel
$aaAccrrrr Write Analog Input
Code
Write the input range code to the specific
analoginput channel (For ADAM-6017 version)