EasyManua.ls Logo

Advantech Adam 4000 Series - Page 138

Advantech Adam 4000 Series
398 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
4-54 ADAM 4000 Series User's Manual
4015, 4017, 4017+, 4018,
4018+, 4018M, 4019
#AAN
Name Read Analog Input from Channel N
Description The command will return the input value from one of the eight
channels of a specified (AA) module in the currently configured
data format.
Syntax #AAN(cr)
# is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address of the analog input module.
N identifies the channel you want to read. The value can range
from 0 to 7 for 4017, 4018, 4018M, 4019. (the range of 4015 is
from 0 to 5)
(cr) is the terminating character, carriage return (0Dh).
Response >(data)(cr)
There is no response if the module detects a syntax error or
communication error or if the specified address does not exist.
> is a delimiter character.
(data) is the input value of the channel number N. Data consists
of a + or - sign followed by five decimal digits with a fixed
decimal point.
(cr) is the terminating character, carriage return (0Dh).
Example command: #120(cr)
response: >+1.4567(cr)
The command requests the analog input module at address 12h
to return the input value of channel 0.
The analog input module responds that the input value of
channel 0 is equal to +1.4567 volts.

Table of Contents

Related product manuals