EasyManua.ls Logo

Advantech ADAM-6256 - Page 158

Advantech ADAM-6256
192 pages
Print Icon
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...
ADAM-6200 User Manual 152
#aan
Name Read Analog Input from Channel N
Description Returns the input data from a specified analog input channel in a spec-
ified module.
Syntax #aan(cr)
# is a delimiter character.
aa (range 00-FF) means the 2-character hexadecimal slave address
of the ADAM-6200 module you want to request. (Always 01)
n (range 0-8) represents the specific channel you want to read the
input data.
(cr) is the terminating character, carriage return (0Dh).
Response >(data)(cr) if the command is valid.
?aa(cr) if an invalid operation was entered.
There is no response if the module detects a syntax error or communi-
cation error or if the address does not exist.
> delimiter indicating a valid command was received.
? delimiter indicating the command was invalid.
(cr) is the terminating character, carriage return (0Dh).
Example Channel 2 of the ADAM-6200 analog module at address 01h responds
with an input value +10.000.
ASCII Command: #012(cr)
Response: >+0010.000(cr)
#aa
Name Read Analog Input from All Channels
Description Returns the input data from all analog input channels in a specified
module.
Syntax #aa(cr)
# is a delimiter character.
aa (range 00-FF) menans the 2-character hexadecimal slave address
of the ADAM-6200 module you want to request. (Always 01)
(cr) is the terminating character, carriage return (0Dh).
Response >(data)(data)(data)(data)(data)(data)(data)(data)(data)(cr) if the com-
mand is valid.
?aa(cr) if an invalid operation was entered.
There is no response if the module detects a syntax error or communi-
cation error or if the address does not exist.
> delimiter indicating a valid command was received.
? delimiter indicating the command was invalid.
(cr) is the terminating character, carriage return (0Dh).
Example Command: #01(cr)
Response:>+0010.000+0010.000+0010.000+0010.000+0010.000+00
10.000+0010.000+0010.000(cr)
Note! The latest data returned is the Average value of the preset channels in
this module.

Table of Contents

Related product manuals