Advantech ADAM-6217 User Manual page 165

Adam-6200 series intelligent ethernet i/o module
Table of Contents

Advertisement

#aaMLn
Name
Read Minimum Value from channel N
Description
Read the minimum value from a specific analog input channel in a
specified module
Syntax
#aaMLn(cr)
# is a delimiter character.
aa (range 00-FF) represents the 2-character hexadecimal slave
address of the ADAM-6200 module to be read. (Always 01)
ML stands for the read minimum value command.
n (range 0-8) means 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.
aa (range 00-FF) represents the 2-character hexadecimal slave
address of an ADAM-6200 module.
(cr) is the terminating character, carriage return (0Dh)
Example
The command asks the specific module at address 01h to send his-
toric minimum value from analog input channel 3.
ASCII
Command: #01ML3(cr)
Response: >+000.000(cr)
$aaBnn
Name
Read Analog Input Range Code from Channel N
Description
Returns the range code from a specified analog input channel in a
specified module.
Syntax
$aaBnn(cr)
$ is a delimiter character.
aa (range 00-FF) represents the 2-character hexadecimal slave
address of the ADAM-6200 module you want to request. (Always 01)
B is the Analog Input Range Code command.
nn (range 00-07) represents the specific channel you want to read the
range code.
(cr) is the terminating character, carriage return (0Dh).
Response
!aa(code) 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).
(code) is the range code read. Refer to the tables below to see the
meaning of range code for different modules.
159
ADAM-6200 User Manual

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adam-6224Adam-6260Adam-6250Adam-6266Adam-6251Adam-6256

Table of Contents