
52
Programming Meter Faces - 10-bit A/D Converters
The command syntax is:
*2064 C * M* X1* Y1* X2* Y2
* C= Channel 1 to 8 M=Meter Type 0 to 6 X1, Y1, X2, Y2 represent two calibration points. There must
be 6 parameters entered to define a meter face, each value ending with *.
There are 8 meter faces corresponding to the 8 Analog inputs, with each meter face programmed with 1 of 6 values. The programming
command consists the
input port
, meter
face type (name)
, and
4 values
representing:
The low sensed voltage appearing on an input (X1)
The low meter face reading (Y1)
The high sensed voltage appearing on an input (X2)
The high meter face reading (Y2)
Each meter face is calibrated with two
points
to define the sensor you wish to use on that channel. To clear a meter face, simply enter
the input port number, then 0 for the meter face name and 4 more 0s, separated by a # sign, to complete the 6 values needed to define
a meter face.
A “Meter Face” is an imaginary software meter that is defined by selecting which of the 8 analog inputs you will use, what kind of
measurement is being made (volts, amps, etc.) and two data points on the meter. While this may seem confusing at first, the
advantage of this method is that it allows you complete flexibility in scaling a particular meter face to the voltage actually being
measured. The definable meter faces are:
0 Meter OFF
1 Volts
2 Amps
3 Watts
4 Degrees
5 MPH
6 Percent
Note: The calibration data (X1, Y1, X2, Y2) is the actual data that you have measured multiplied 100 and rounded off to the nearest
whole number. The controller divides your input values by 100 to reestablish the decimal point.
Wattmeter example
: If the output of your wattmeter produces 0.25 volts for 10 watts and 2.1 volts for 40 watts you would multiply each
of the calibration values by 100 before you enter them:
.25 x 100 = 25
Low voltage actually appearing on the ADC pin (X1)
10 X 100 = 1000
Low meter face reading (Y1)
2.1 x 100 = 210
High voltage actually appearing on the ADC pin (X2)
40 x 100 = 4000
High meter face reading (Y2)
We wish to use ADC channel 6 for the Watt meter sensor (meter face 3) using the above calibration data, so we would program:
*2064 6* 3* 25* 1000* 210* 4000*
Voltmeter
example:
You want to use ADC channel 4 for a Voltmeter (Meter face 1) and you have a sensor that produces 0 volts when
the voltage is 0, and it produces 2.5 vdc when the actual dc voltage is 20 volts. Multiplying the sensor and actual data by 100 and
rounding produces X1=0 Y1=0 X2=250 Y2=2000. To define this meter, you would enter the following program codes:
*2064 4* 1* 0* 0* 250* 2000*
Notice that the same programming code (*2064) is used to setup each of the 8 ADC inputs.
Percent (Quieting) Meter Example:
You want to assign ADC port 2 to Percent Quieting. You have a sensor that measures FM
discriminator “noise” by rectifying it (similar to the way an S-meter works on FM). More noise means less quieting. You notice full
quieting (100 percent) produces about 0.2 volts on the sensor, and no signal on the input (Zero percent) produces about 1.84 volts on
the sensor. X1=0 Y1=100% X2=1.84 Y2=0%. To define this “Percent quieting” meter on ADC port 2 with these values you enter:
*
2064 2* 6* 20* 10000* 184* 0*
If someone with a full quieting signal accesses this meter, it might say “95 percent” or some reasonable indication of high quieting.
Data
Entry Limits:
Physical values must be between
–327 and +327 AND the difference between High and Low cannot exceed 327. A
range of 0 to 327 is okay, or
–150 to +150. Also, calibration points should be in the range of actual expected meter readings.
Summary of Contents for RC210
Page 2: ...2 this page intentionally left blank ...
Page 66: ......