User Manual

155 Chapter 6
$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)
Response
* There is no response if the module detects a syntax error or communica-
tion error or if the address does not exist.
$ delimiter character
aa (range 00-FF) 2-character hexadecimal
Slave address of the ADAM-6000 module you want
to interrogate. (Always 01)
B Analog Input Range Code command
nn (range 00-07) channel you want to read the range code
(cr) terminating character, carriage return (0Dh)
!aa(data)(code) Command is valid
?aa(cr) Invalid operation was entered
! Valid command was received
? Command was invalid
(cr) Terminating character, carriage return (0Dh)
(code) range code read. Refer to the tables below
ADAM-6017 Analog Input Channel Range Code
For the * marked range code is only supported by ADAM-6017-CE version
Note! We suggest using $aaBRCnn to read if ADAM-6017-CE is applied
Range Code (Hex) Range Code (Decimal) Range Description
08 8 +/-10V
09 9 +/-5V
0A 10 +/-1V
0B 11 +/-500mV
0C 12 +/-150mV
0D 13 0~20mA
07 7 4~20mA
*0x0148 - 0~10V
*0x0147 - 0~5V
*0x0145 - 0~1V
*0x0106 - 0~500mV
*0x0105 - 0~150mV
*0x0181 - +/-20mA