
ONTRAK CONTROL SYSTEMS INC. 7/23 www.ontrak.net
3. ADR2010 COMMANDS
a) ANALOG INPUT COMMANDS
There are 8 analog inputs, with a resolution of 12-bits, on the ADR2010 labeled AN0 to AN7. The
analog input range is 0-5 VDC , 0-10VDC, +/- 5VDC, or +/- 10VDC. The input range is
automatically selected by the command used to read a specific port. No jumpers need to be set
and all analog inputs may have positive or negative voltages present whether they are read in
unipolar or bipolar mode.
Analog Array Read Commands,
RD Reads all eight analog inputs in unipolar mode ( 0-5VDC ) and returns 8 values in
decimal format. Data separator is space ( 20HEX ) returning 40 characters total.
Order is AN0 to AN7 ( voltage = ( reading / 4095 ) X 5 )
example; RD<cr>
3456 4095 1287 3212 2865 3577 1000 2321
( AN0=3456 ( 4.219V ), AN1=4095 ( 5.00V ), AN2=1287 ( 1.571V ),etc. )
RB Reads all eight analog inputs in bipolar mode ( +/-5VDC ) and returns 8 values in
decimal format. Data separator is space ( 20HEX ) returning 40 characters total.
Order is AN0 to AN7 ( voltage = ( ( reading/4095 ) X 10 ) -5 )
example; RB<cr>
3476 0023 1256 3210 1265 4095 0000 3541
( AN0=3476 ( 3.488V ), AN1=0023 ( -4.934V ), AN2=1256 ( -1.932V ),etc. )
RT Reads all eight analog inputs in unipolar mode ( 0-10VDC ) and returns 8 values
in decimal format. Data separator is space ( 20HEX ) returning 40 characters
total. Order is AN0 to AN7 ( voltage = ( reading/4095 ) X 10 )
example; RT<cr>
2476 1023 2056 3220 3285 4095 0000 1101
( AN0=2476 ( 6.046V ), AN1=1023 ( 2.498V ), AN2=2056 ( 5.021V ),etc. )
RH Reads all eight analog inputs in bipolar mode ( +/-10VDC ) and returns 8 values
in decimal format. Data separator is space ( 20HEX ) returning 40 characters
total. Order is AN0 to AN7 ( voltage = ( ( reading/4095 ) X 20 ) -10 )
example; RH<cr>
3116 0123 2346 3610 1005 4095 0000 0041
( AN0=3116 ( 5.219V ), AN1=0123 ( -9.399V ), AN2=2346 ( 1.458V ),etc. )
Single Channel Read Commands,
RDn Returns status of analog port specified by n in decimal format. ( n = 0 to 7 )
(Input voltage range is 0 to 5VDC)( voltage = ( reading / 4095 ) X 5 )
example; RD0<CR>
2356
( AN0 =2.877V )