User Manual

157 Chapter 6
$aaBRCnn
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 $aaBRCnn
Response
* There is no response if the module detects a syntax error or communication
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
RC Range Code
nn (range 00-07) channel you want to read the range code
!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-CE Analog Input Channel Range Code
ADAM-6017-CE version
Range Code (Hex) Range Description
0x0143 +/-10V
0x0142 +/-5V
0x0140 +/-1V
0x0104 +/-500mV
0x0103 +/-150mV
0x0148 0~10V
0x0147 0~5V
0x0145 0~1V
0x0106 0~500mV
0x0105 0~150mV
0x0182 0~20mA
0x0180 4~20mA
0x0181 +/-20mA