12-9
RLC-4 V1.79 Copyright © 1998 Link Communications Inc. 9/18/98
101: Set Resolution For Analog Input
This command allows you to specify how many digits after the decimal point will be used when
reading each analog input line. If you want to read voltage to 1/10 of a volt, you specify one digit
after the decimal point. This decimal point is assumed in the other analog commands since there is
no good way to enter a decimal point on a DTMF pad. If you specify one decimal place with this
command, the other analog commands will assume that the numbers you enter have an assumed
decimal point one digit from the end. In other words, if you want to specify a value of 12 volts and
you are using one digit after the decimal point, you must enter 120. The descriptions of those
commands will explain this in more detail.
<101> l r
Parameters:
- 101 is the default command name.
- L is the analog input line number (1..4)
- R is the number of digits after the decimal point (0..3)
Explaination:
If you are not using any digits after the decimal point in your analog readings, you can skip the rest
of this section, as it explains how much accuracy you can expect for different types of readings.
Although you can specify as many as 3 decimal places, that doesn't mean that the analog to digital
converter has that much resolution. It accepts a voltage between 0 and 5 volts (at the processor,
voltage dividers on the I/O board and external to the RLC-4 can both affect the maximum voltage
that can be handled) and can differentiate 255 levels within that range, about 20mV per level.
LM335 temperature sensors output a voltage of 10mV per degree Kelvin (celsius - 273). This
corresponds to about 5mV (10mV * 5/9) per degree fahrenheit. If a temperature sensor is hooked
up with no voltage divider (the recommended way since it outputs less than 5 volts), this gives
approximately one degree resolution (it is actually slightly better than a degree). There is no reason
to try to read temperature with two decimal places when the actual resolution of the conversion is
only to the even degree (0 decimal places), it would just add meaningless digits. Even one digit
after the decimal point is pushing it - it would sound like you were getting 1/10 degree resolution
even though you would really only be getting about ½ degree resolution. We recommend reading
temperature to the nearest degree (0 digits after the decimal point).
Another example:
reading battery or power supply voltage. Since your battery probably supplies
between 12 and 14 volts, it can be read with the voltage divider on the I/O connector switched on
to provide a range of 0..25 volts. This is 5 times the range (25/5=5) that is presented to that
processor, so your precision is reduced to 1/5 of what it was (from 5mV to 25mV). You can
therefore read your battery voltage with one digit after the decimal point (100mV resolution) and
waste a little resolution, or use two digits after the decimal point (10mV) and exceed the resolution
of the converter.
Let us suppose that we are trying to read the voltage supplied by a 3 volt battery pack with 3 digits
after the decimal point (1mV resolution). Remember that the converter has only 20mV resolution
Summary of Contents for RLC-4
Page 2: ...RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Page 4: ...RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Page 14: ...RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Page 18: ...RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Page 52: ...2 14 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Page 80: ...5 12 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Page 96: ...6 16 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Page 110: ...8 10 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Page 116: ...9 6 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Page 117: ...10 1 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98 Chapter 10 Not Currently Used...
Page 118: ...10 2 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Page 122: ...11 4 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Page 139: ...12 17 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Page 142: ...12 20 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Page 160: ...13 18 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Page 175: ...15 1 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98 Chapter 15 Not Currently Used...
Page 176: ...15 2 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Page 182: ...16 6 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Page 190: ...17 8 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Page 191: ...18 1 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98 Chapter 18 Not Currently Used...
Page 192: ...18 2 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Page 193: ...19 1 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98 Chapter 19 Not Currently Used...
Page 194: ...19 2 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Page 201: ...B 1 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98 Appendix B Not Currently Used...
Page 202: ...B 2 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Page 204: ...C 2 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Page 206: ...D 2 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Page 210: ...E 4 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Page 216: ...G 2 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Page 218: ...H 2 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Page 220: ...I 2 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Page 222: ...I 4 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Page 227: ...J 5 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98 Bill of Materials...