Digital scale4236222Abstract The invention relates to a scale system which employs a microcomputer forming an integral part of the analog to digital conversion means in which the microcomputer controls the sequence of operations for performing the conversion, accumulates and stores digital data derived during the conversion of the analog signal and combines and processes that data to provide the digital output data resulting from the conversion, all in addition to performing other scale functions. The invention relates to an improved multicapacity weighing and computing digital scale having a triple slope analog-to-digital conversion means. The analog weight signal is integrated for a time interval which is fixed for a given scale capacity range which would generate substantially the same integrator output level in response to a full capacity weight signal for the selected scale capacity as would be generated by a full capacity weight for all other scale capacities. In accordance with the invention, the time interval during which the first reference DC source is integrated is extended beyond the detection of the crossover of the integrator output with its reference level. The invention also provides an improved weight filtering arrangement which enables the full advantage of the improved converter to be obtained. The invention further provides for the tracking of the net zero indication by modification of the stored tare weight data by a predetermined amount to decrease the absolute value of the net weight in response to the net weight being within a preselected weight range. Claims What is claimed is: Description BACKGROUND OF THE INVENTION
______________________________________
Scale Capacity Range
______________________________________
6kg .times. 0.002kg 35 0.0008kg
15kg .times. 0.005kg .+-. 00.0002kg
30lb .times. 0.01lb .+-. 00.004lb
______________________________________
If the net weight is within the preselected range for the selected scale capacity, then the microcomputer modifies the tare weight register in a direction which will reduce the next computed net weight by one increment of its least significant digit. This is done by algebraically adding to the tare weight data a one having the same sign as the previously computed net weight. For example, for the 30 lb.times.0.01 lb capacity, a computed net weight of +00.002 pounds will cause a +1 to be added to the least significant digit of the tare weight data, any carry being appropriately propagated. If the stored tare weight was 00.192 pounds it will become 00.193 pounds. Therefore, the next time a net weight is computed for the identical gross weight data, the net weight will be +00.001 pounds. If the gross weight data does not change, continued repetition of the above sequence of operations will continue to increment the stored tare weight data ultimately to cause a net weight indication of 00.000 pounds. Thus, in the exemplary embodiment 00.00 will be displayed when only the 4 most significant digits are displayed. The repetition of these net weight tracking operations occur approximately five times per second in the exemplary embodiment. The exemplary embodiment of the invention incorporates and cooperates with many features shown in U.S. Pat. Nos. 3,962,569; 3,962,570; and 3,986,012; and in U.S. applications Ser. Nos. 573,162 and 729,911 which are incorporated herein. However, these features are briefly described to the extent which is helpful to enable those skilled in the art to construct an embodiment of the invention and to practice the invention. The exemplary embodiment comprises a digital weighing and computing scale to determine the weight of merchandise, to compute the total price or value of the merchandise and to display, and optionally to print, the price per unit weight, the weight of the merchandise and the total value or total price of the merchandise. FIG. 1 is a block diagram of the exemplary embodiment of the invention and was broadly described above. The exemplary embodiment has input and output structures which may be explained in more detail. The first input device is the load cell 40 linked to a platter 12 upon which merchandise is supported. The load cell 40 provides the analog output signal which is related to the weight of the merchandise. The second group of inputs comprises operator accessible switches 20 including a "PREPACK on/off" switch 16 for selecting a prepack mode of operation and a keyboard 20 having keys labelled and physically arranged as illustrated in FIG. 1. The "PREPACK on/off" switch is not provided for UK modes of operation when Half Pence pricing is used. While the "PREPACK on/off" switch 16 is not electrically a part of the keyboard, it is conveniently positioned adjacent the keyboard for ease of access by the operator. The third group of inputs comprises a plurality of programmable mode selector switches 22 which are selectively switched at the factory or by a service technician in the field and are inaccessible to the operator. These mode selector switches 22 are labelled as indicated in FIG. 1 and are switched to those operational modes which are appropriate for the weight and currency units, legal standards and requirements and to the merchandising and pricing methods of the particular store in which the weighing and computing scale will be used. The weighing and computing scale embodying the present invention also has three groups of output devices. The first group consists of two identical sets of three numerical display devices 24. One set is mounted so that it is visible to the scale operator and a duplicate set is mounted to be visible to the customer or purchaser of the merchandise. Each display device contains five, cold cathode, gas discharge display digits with three lower commas, each digit having seven segments to display any number from zero through nine. The three displays of each duplicate set ordinarily display price per unit, net or gross weight and total value. The second output group comprises a pair of duplicate front and back indicator lamp displays, one facing the operator and one facing the purchasing customer. Each indicator lamp display has six translucent windows upon which labels are printed and which are at times backlighted by suitable lamps for making the labels visible. As illustrated in FIG. 1, the labels include "ZERO", "NET", "PREPACK", "1/4", "1/2" and a sixth legend which is alternatively labelled at the factory either "LB" or "KG". The third output is a printer 28 which is optional. The "Z" key 17 is operated to zero or null the scale. After power is first applied to the weighing and computing scale embodying the present invention or after a power interruption, no unit price data or tare weight data will be accepted and no total price or value will be displayed until the exemplary embodiment has been so zeroed. The scale may also be zeroed at other times using the "Z" key. The scale is zeroed in response to depression of the "Z" key 17 when no substantial weight is on the scale by loading the presently detected weight into a memory register for subsequent use as a correction factor. In subsequent weight measurements this correction factor is subtracted from the detected weight to provide a corrected weight. Consequently a zero weight indication will be displayed when there is no weight on the scale. In order for the exemplary embodiment to perform the zero operation in response to depression of the "Z" pushbutton 17, all of the following four conditions must exist. These interlocks prevent the customer from being defrauded by intentional or accidental creation of an erroneous zero. First, the "Z" pushbutton 17 must be depressed continuously for at least 1.5 seconds. Second, the platform of the scale must have been motionless for a predetermined interval of time. Third, there must be no tare weight data stored in the memory registers of the exemplary embodiment. Fourth, there must be no significant weight on the platter. Shortly after the exemplary embodiment has been zeroed in this manner the lamp behind the "ZERO" legend of the indicator lamp display 26 will be illuminated. The keyboard 20 is a 4.times.5 matrix in which 15 of its key positions are used. The 10 keys labelled "0" through "9" are used to key in price per unit information and, under conditions subsequently described, may be used to key in a tare weight. Tare weight data may be entered into memory registers in one of two ways. First, a known tare weight may be keyed in by using the keys labelled "0" through "9" of the keyboard 20 and then subsequently depressing the "T" key within two seconds after entry of the last tare weight digit. Such a keyboard entry of tare weight data is accepted only if the corresponding mode of operation is selected by the appropriate mode selector switches 22. Second, an empty container or other object of unknown tare weight may be positioned on the platter 12 and the "T" key then depressed to cause the exemplary embodiment of the invention to automatically store in memory the weight of that object as the tare weight. This is termed a manual tare operation. A tare weight will be accepted and entered into memory only when certain conditions exist which are described in connection with FIGS. 14A-14Z in the detailed description of the operation of the exemplary embodiment. If an operator discovers that erroneous tare weight data has been entered, the tare data may be cleared by pressing the key with the numeral "0" and then pressing the "T" key within 2 seconds of the operation of the "0" key. However, such a clearing of the tare data will only be accepted and the tare data will be cleared only if the net weight on the scale is less than 10 scale increments. This prevents the defrauding of a customer by the erroneous clearing or changing of the tare data while an object is on the platter. After the entry and acceptance of tare weight data, the "NET" legends of the indicator lamp displays will be backlighted to signify that the exemplary embodiment is in a net mode of operation and therefore that its displayed data is a net weight. If tare weight data has been entered by a manual tare, then the removal of the container will cause the exemplary embodiment to display the tare weight preceded by a negative sign. The ten digit keys 0 through 9 are used to enter the price per unit weight either after tare data has been entered into memory or, under no tare conditions, by keying in the price per unit and failing to depress the "T" key. The fraction keys 21 and 23 bear, respectively, the legends "1/2" and "1/4". The fraction keys are depressed to input the information that the pricing is per 1/2 unit or 1/4 unit of weight. Depression of a fraction key 21 or 23 at the appropriate time will cause the corresponding fractional legend on the indicator lamp displays 26 to be illuminated. The "CLEAR" key of the keyboard 20 may perform two different functions. First, any price data which has been entered may be cleared by depressing the "CLEAR" key. Second, when the "CLEAR" key is pressed and held in a depressed position, all output displays will be blanked or held off. If the pushbutton is released and subsequently again held in a depressed state, all display segments and all display indicating lamps will be turned on. These two modes permit the displays to be checked to make certain that there are no short circuits which are erroneously turning on display segments and no open circuits which are preventing display sigements from being turned on. When the weighing and computing scale embodying the present invention is used with a printer 28, the operator may depress the "PRINT" key to initiate the printing of an appropriate label bearing the price per unit, the total weight and the total value. The manually programmable mode selector switches 22 comprise a plurality of individually operable, single pole, single throw switches. Their functions are enabled, that is their labelled conditions exist, when the switches are on or made. The exemplary embodiment of the present invention has three selectable scale capacities, these are: 15.000 kg.times. 0.005 kg., 30.00 lbs. .times. 0.01 lbs. and 6.000 kg .times. 0.002 kg. For selecting the particular scale capacity which is desired, two capacity-enabled mode selector switches are provided, a first switch 1 for selecting the 6 kg scale and a second switch 2 for selecting the 30 lb capacity. If both of these mode selector switches are off, then 15 kg scale capacity is chosen. Under most conditions, the price per unit and the total price will be four digit numbers from 0 to 99.99. However, mode selector switches are provided to permit either or both of the price per unit and the total price to be displayed as a five digit number. Selection of these modes is accomplished by switching to the on position the mode selector switch 3 labelled "5 digit unit price" and/or the mode selector switch 4 labeled "5 digit total price." A mode selector switch 5 labelled ".times.10 EXPAND" provides a mode which increases displayed resolution by causing the display of the raw weight increment data. This mode may be used when calibrating, servicing or testing the exemplary embodiment. A mode selector switch 6 labelled "PRINT INHIBIT", when switched to its on position, will cause printing to be inhibited for weights less than 20 scale increments. A mode selector switch 7 labelled "KEYBOARD TARE ENABLE" is switched on to permit tare weights to be entered on the keyboard as described above. The mode selector switch 8 labelled "AUTO-CLEAR PRICE AND TARE" may be switched to its on position so that whenever the scale weight goes above ten scale increments and remains above ten increments for one second or longer and then returns below ten scale increments, the price unit data and the tare weight data will be automatically cleared. This avoids the necessity of requiring the operator to manually clear the price unit data and tare weight data each time merchandise is weighed. A "TARE MANDATORY" mode selector switch 9 may be switched to its on position to require the input of a tare weight before the exemplary embodiment will compute and display the total price. The mode selector switch 10, labelled "300 PRINTER ENABLE" is provided for use with the model Toledo/300 Automatic label printer manufactured by the Toledo Scale Division of Reliance Electric Company. When switched to its on position, it limits the printing of price per unit, weight and total value to four digits each. Mode selector switch 12 labelled "UK" enables half penny pricing for the United Kingdom. The mode selector switch 13, labelled "PRICE PER UNIT", is switched to its on position whenever it is desired to permit factor pricing (e.g., price per 1/4 and 1/2 pound), to be entered on the keyboard and yet have the price per pound displayed. In some areas a "price by count" mode of operation is desired. To allow this mode to be elected, the "PREPACK on/off" switch 16 may be provided in an alternate embodiment with a third position labelled "price by count". When the "PREPACK" switch 16 is switched to its on position, the previously entered price per unit data and tare weight data will not be automatically cleared regardless of the position of the mode selector switch 8. The "PREPACK" switch 16 causes the "PREPACK" legend to be backlighted and overrides the mode selector switch 8 so that re-entry of the identical price per unit and tare weight after each weighing operation will not be necessary. In addition to the operational modes and functions already described above, the exemplary embodiment of the present invention automatically performs several other operations regardless of the selected mode. Automatic gross zero compensation or auto zero tracking compensates the scale for minor off-sets from a zero weight after correction. Whenever the presently detected and corrected weight is within 4 raw weight increments of zero, the correction factor is modified to automatically bring the corrected weight to within one raw weight increment of zero. This automatic gross zero compensation will occur for variations in zero which occur at a rate of 5 raw weight increments per second or slower so long as the total compensation, that is the total correction factor, is within .+-.400 raw weight increments. The exemplary embodiment of the invention also provides net zero tracking as previously described. It might be noted by way of further explanation, that the "Z" key 17 causes the capture range of the automatic gross zero tracking system to be extended from .+-.4 raw weight increments as described above to .+-.400 raw weight increments. The exemplary embodiment of the invention is also provided with a motion detection system which detects weight changes greater than .+-.0.5 displayed increment per 1/5 second. The detection of such platter motion causes the display lamps behind the legend "LB" or "KG" to be turned off and signals to the remainder of the circuitry of the exemplary embodiment that a motion condition exists. A gross weight exceeding the scale capacity by more than 5 scale increments causes the weight display and the total value or total price display to be blanked. A total price calculation in excess of the digit nine in all four character positions of the total price register (or alternatively all five if the five digit total price mode is selected) will cause the total price display to be blanked. The circuitry of the weighing and computing scale illustrated in FIG. 1 is shown in detail in the schematic diagrams of FIGS. 3 through 11. FIG. 2 shows how FIGS. 3 through 8 are associated to illustrate the complete circuit. The random access memory assignments are illustrated in in FIG. 13 and are discussed in connection with the subsequent description of the detailed operation of the exemplary embodiment. FIG. 3 illustrates a load cell 40 which is mechanically linked to the platter 12 and includes four resistive strain gage elements which are connected in a Wheatstone bridge arrangement 70. Typical scale mechanisms suitable for cooperating in the embodiment of the invention described herein are shown in U.S. Pat. No. 3,847,238 granted to D. L. Hall, et al., on Nov. 12, 1974 and in U.S. Pat. No. 3,074,496 granted to L. S. Williams on Jan. 22, 1963. Electrical power from the regulated power supply 42 is applied across one pair of opposite terminals of the bridge 70. The other pair of opposite terminals of the strain gage bridge 70 forms the output of the strain gage bridge and is connected to the input of the preamplifier 44. With no strain, the bridge 70 would be balanced and the output would be zero volts. In this state each output terminal of the strain gage bridge is at the same potential intermediate the potentials of the terminals of the regulated power source 42. However, in practical application the strain gage bridge 70 will be under the stress of the platter and other mechanical linkages. Any weight positioned on the platter 12 will further deform the resistive element of the bridge 70 causing a variation in their resistance and unbalancing of the bridge. In this manner an output analog voltage is obtained from the strain gage bridge 70 which is related to the weight of the object on the platter 12 and is applied and amplified by the preamplifier 44. The preamplifier 44 has two differential operational amplifiers 72 and 74 which are connected to form a differential amplifier presenting a very high input impedence to the output of the strain gage bridge 70 so that there is substantially no current drain from the bridge 70 while still providing a preamplifier which is a true differential amplifier rejecting all common mode voltages such as drift or changes in the bridge excitation voltage. The non-inverting input of the OP-AMP 72 is connected to one of the output terminals of the strain gage bridge 70. The other output terminal of the bridge 70 is connected to the non-inverting input of OP-AMP 74. The OP-AMP 74 provides a substantially unity gain amplifier with its output fed across to the inverting input of the OP-AMP 72. In addition, the inverting input of the OP-AMP 74 is connected to the wiper of a potentiometer 76 which is used to shift the output level ofOP-AMP 72. The potentiometer 76 is manually adjusted to compensate for small differences in the mechanical and electrical parameters of production parts and circuits to provide a total effective analog signal component resulting primarily from loading of the strain gages 70 when the platter has no object placed thereon. This known analog signal component or analog offset is subsequently removed by a subtraction in the digital data processing circuitry. Referring now to FIG. 4, the output 80 of the preamplifier 44 provides a voltage having an amplitude proportional to the sum of the analog offset and the signal change resulting from an object being placed on the platter 12 and is applied to an active filter circuit 46. This active filter circuit 46 is a low pass filter designed to filter out scale platform or platter vibration. The output circuit of the active filter 46 includes a span adjustment potentiometer 92 which is connected as a simple voltage divider for adjustably selecting the desired proportion of the filtered analog weight voltage to be applied through the seitching circuit 50 to the integrator 52 at rhe appropriate time. This potentiometer adjusts the analog circuit gain to a value suitable for the various scale capacities. The switching circuit 50 under the control of the microcomputer 54 (see FIG. 1) may be used to selectively gate one of four possible inputs through four field effect transistors to the input 98 of the integrator 51. The four alternatively selectable inputs are: (1) the analog weight signal from the wiper of the potentiometer 92 which is applied through a resistor 85 and FET 94; (2) a reference DC source applied through resistor 87 and FET 95; (3) a second reference DC source which is applied through resistor 91 and FET 96; and (4) a reset signal applied through resistor 93 and FET 97. In the exemplary embodiment, resistors 85, 87, and 91 are all 500K ohms. The gates of four FETS 94, 95, 96, and 97 are connected to four discrete input/output terminals, 1, 42, 41, and 40 of the CPU as illustrated in FIGS. 5 and 9 so that the CPU can control these gates. As previously described in the exemplary embodiment, the amplitude of the first reference DC source, which is integrated during the second integration interval T.sub.2 of the triple slope A/D conversion, is 32 times greater than the second reference DC source which is integrated during the third integration time interval T.sub.3. This is accomplished in the exemplary embodiment by referencing the input to the integrator 51 to a particular non-zero potential rather than to ground. In particular, series resistors R and R/32 shown in FIG. 4 form a voltage divider between the power supply potential of -15 volts and ground. Resistor R is 32K ohms and resistor R/32 is 1K ohm. Therefore, the reference potential which is always applied to the noninverting input of OP-AMP 99 of the integrator 51 has an amplitude equal to 1/33 of the power supply potential and has the same polarity. In the exemplary embodiment this reference potential fixed is at 15/-33 volts relative to ground potential by resistors R and R/32. During the first integrating interval T.sub.1 of the triple slope conversion, a positive analog weight signal is normally applied to the integrator 51. Then, during the second interval T.sub.2, the -15 volt power supply provides the first reference DC source having a polarity opposite to the polarity of the analog weight signal and having an amplitude of 32/-33 .times.15 volts relative to the reference potential at the noninverting input of the OP-AMP 99. During the third integrating interval T.sub.3, FET 96 is switched on to apply a second reference DC source to the integrator which is derived through resistor 91 from ground potential. Since ground potential is positive with respect to the reference voltage at the noninverting input of OP-AMP 99 and has an amplitude of 15/33 volts, the connection of the integrator input 98 to ground through resistor 91 effectively provides a second reference DC source during interval T.sub.3 which is both opposite in polarity to and 1/32 the amplitude of the reference DC source applied during interval T.sub.2. Except for this manner of referencing the integrator 51, it is a conventional integrator circuit including an integrating capacitor 100. The output of the integrator 51 is applied to the amplifier 52 and through it to the threshold detector 53. The amplifier 52 comprises an OP-AMP 104 and is provided to amplify the output of the integrator 51 to make the slope of the output of integrator 51 steeper so that the time of its crossover with its initial level can be more accurately determined. The threshold detector circuit 53 includes an OP-AMP 106. It is simply a high gain amplifier which is driven from one saturation to the other when its input voltage crosses zero. FIGS. 5-8 show the details of the input and output devices and circuitry and the digital data processing and control circuitry. In accordance with the present invention the microcomputer 54 of FIG. 1 may be any of several suitable types of commercially available microcomputers or other similar control circuitry including wired components of types well known in the computer and electronics arts. In the exemplary embodiment of the invention, the microcomputer 54 is essentially a PPS-4 parallel processing, microcomputer system developed by and using devices manufactured by Rockwell International Corporation. The microcomputer 54 is comprised essentially of a central processing unit or CPU which in the exemplary embodiment described herein is a Rockwell PPS-4/2 unit and a memory unit having both read only memory or ROM for storage of program and fixed constants and also random access memory or RAM for storage of data for use in processing. The preferred memory used with the exemplary embodiment of the invention is a Rockwell P/N A17XX device. In addition to its connection to the output of the Threshold detector 53, the microcomputer 54 is also directly connected to the mode selector switches 22, the printer 28, the "Z" key 17, and the "PREPACK ON/OFF" switch 16. The microcomputer 54 is also connected to the front and back indicator lamp displays 26 through suitable interfacing latching, decoding and driving circuitry 56. Finally, the microcomputer 54 is also connected to a general purpose keyboard and display interfacing device 58 for interfacing the keyboard 20 and the front and back digit displays 24 with the microcomputer 54. A general purpose keyboard and display interface or GPKD interface 58 is employed which is the exemplary embodiment described herein comprises a device manufactured by Rockwell International Corporation and designated P/N 10788. This unit, under the control of the microcomputer 54, receives and temporarily holds data keyed in on the keyboard 20 for subsequent transmission to the microcomputer 54. The GPKD interface unit 58 also receives data from the microcomputer 54 which it applied through decoder/drive logic 60 the front and back digit displays 24 under control of the microcomputer 54. The Rockwell PPS 4 microcomputer system uses four bit data words, eight bit instruction words and in the exemplary embodiment of the present invention twelve bit address words all of which are parallel transferred within the system. Referring now to FIGS. 5-8, at the top of FIG. 5 is shown the bus system 201 interconnecting the CPU 210 of FIG. 5, the memory 310 of FIG. 6 and the GPKD 410 of FIG. 7. The bus system 201 includes a twelve line address bus 203 which is connected only to the memory 310 for addressing the RAM and ROM memory. The bus 201 further includes an eight line instruction/data bus 205 which transfers, at different times, either eight bit instruction words or two four bit data words bidirectionally. The bus 201 further includes two clock lines, CLKA and CLKB, a write command line and an input/output enable line W/IO for use during one clock phase time for instructing the RAM memory to write and for use during another clock phase time for disabling the RAM memory and enabling the input/output devices for the performance of an input/output instruction. The bus system also includes a "synchronized power on" CPU output line labelled SPO for use in initializing other devices in the circuit. The CPU 210, which is shown as a single block in FIG. 5, is illustrated in greater detail in FIG. 9. FIG. 9 is a block diagram available with technical information from Rockwell International, Inc. The CPU 210 as shown in FIG. 9 has an accumulator 810 which is the basic work register of the CPU. It also has an arithmetic logic unit 811 with a carry register 812 and an X register 813 all connected to the accumulator 810. The CPU 210 further has a data address register 814 and a program address register 815 which may be selectively interconnected with the address bus 203 output pins 27 through 38 through the multiplex driver circuits 816. The CPU 210 has two program address save registers 817 and 818 to provide two levels of subroutine stacking. The Rockwell CPU PPS 4/2 is provided with internal clock 819 when a suitable crystal 820 is connected to its pins 18 and 19. The instruction/data bus 205 is connected to pins 6 through 13 which in turn are connected to multiplex receivers 821 and 822 and the multiplex driver 823. Incoming instructions are decoded by the CPU in its instruction decode logic 824 and two separate flip-flops 825 and 826 are provided for program use. In addition to the bus input/output capabilities, the CPU 210 is provided with 12 discrete input/output pins, four from each of the three registers 827, 828, and 829. These are connected as illustrated to pins 1-5, 23-26, and 40-42. Referring back to FIG. 5, the discrete input/output register 828 of the CPU as shown in FIG. 9 is connected as shown in FIG. 5 to the four control lines labelled T.sub.1, T.sub.2, T.sub.3, and "Reset" which extend to the switching circuit 50 in order to control the integrations of the triple slope A/D conversion. The crystal 820, shown in FIG. 5, controls the frequency of its internal clock generator which is preferably 0.20 MHZ. A time delay circuit 222 FIG. 5 is provided for delaying the CPU 210 and in particular its program counter (which must be returned to 0000) after power is first applied or after a brief power interruption or momentary power failure. The "PREPACK ON/OFF" switch 16, the "Z" pushbutton 17 and the "x10 EXPAND" mode selector switch 5 are connected to the discrete input 827 (see FIG. 9) at pins 2, 3, 4, and 5 of the CPU 210 as shown in FIG. 5. The front and back indicator lamps 26 are connected through lamp drivers 242 to addressable latches 240. The addressable latches 240 respond to the incoming data and apply the data to the appropriate indicator lamps 26. More specifically, the latches are addressed from output pins 23, 24, and 25 of the CPU 210. With three such address lines, any of the seven indicator lamps 26 may be selected or addressed. The addressable latches are enabled by the output of terminal 26 of the CPU 210 and enabled latch is then controlled by data transmitted over line 241 from the memory input/output port terminals 41 shown in FIGS. 6 and 10. As illustrated in FIG. 5, output terminals 23-26 of the CPU 210 also provide four bit data to the printer. FIG. 6 illustrates, in block form, the memory 310 which is illustrated in greater detail in FIG. 10. Referring to FIG. 10, the memory includes both RAM memory 911 and ROM memory 912. These are connected to the instruction/data or I/D bus 205 through a multiplexer 913 which is connected to pins 10-12 and 15-19. An address decoder 910 is connected to the address bus 203 through pins 14, 20, 21, 23, 24, and 28-34. The memory 310 further has sixteen discrete input/output ports connected at pins 1-8 and 35-42 through receiver buffers 917 to the multiplexer 913. The read-only memory 912 has a storage capacity of 2 k eight bit words, any of which may be addressed over the address bus 203 and its stored eight bit word returned to the CPU over the instruction/data bus 205. The random access memory 911 has 128 four bit storage registers for storing four bit words. Dependent upon the clock phase and the state of the w/10 line connected from terminal 14 of the CPU to terminal 13 of the memory, the addressed memory register will read its four bit contents out onto the instruction/data bus 205 and will write, if so instructed, a new four bit work from the CPu into the addressed register through the multiplexer 913. Returning to FIG. 6, the output 102 from the threshold detector 53 illustrated in FIG. 4 is applied to one of the discrete input/output ports at pin 42 of the memory 310. Eight other discrete input/output ports connected to pins 1-8 of the memory 310 are connected to the twelve manual mode selection switches 22 illustrated in FIG. 6. Half of the twelve switches, labelled SW-1, are connected between pin 2 and through diodes to pins 3-8 of the memory 310. The other half of the twelve switches, labelled SW-2, are connected between pin 1 and pins 3-8. Each of the individual switches of both switches SW-1 and SW-2 are individually and independently actuable and each is labelled with a number which corresponds to the function listed in block 22 on FIG. 1. Consequently, the microcomputer 54 can interrogate the condition of switches SW-1 by strobing pin 2 and examining the data of lines 3-8 and can interrogate switches SW-2 by strobing pin 1 and examining the data of pins 3-8. It is to be understood that any particular one of these switches may be assigned any particular operational mode function. Printer control signals are applied to the printer from the five discrete input/output memory ports 35-39 of the memory 310 illustrated in FIG. 6. The "print complete" signal when received from the printer is applied to the discrete input/output port 40 of the memory 310. FIG. 7 includes, in block diagram form, the general purpose keyboard and display interface 410. FIGS. 7 and 8 illustrate the keyboard 20 and display drivers connected thereto. The GPKD interface 410 used in the exemplary embodiment is a device manufactured by Rockwell International Corporation and given their type number P/N 10788. It is interconnected with the memory 310 and the CPU 210 through the data bus 205 as well as the clock A, clock B, synchronized power on and write/input-output lines of the bus 201. A block diagram of the circuit of the GPKD interface 410 is illustrated in FIG. 11. Referring to FIG. 11, chip select decode circuit 1012 compares the chip address data applied by the CPU 210 to pins 2, 4, and 42 of the GPKD over the instruction/data bus to the data on the chip select straps at pins 1, 3, and 41. If the strapped address is identical to the address on the instruction/data bus, if the instruction/data line connected to pin 6 is true and if the write/input-output mode has been selected by the CPU so that the CPU has trued the W/IO input pin 5, then the GPKD is selected to execute the command. The command is applied to the GPKD from the CPU 210 over that half of the instruction/data bus which is connected to pins 36 through 39. The command is decoded by the command decoding logic circuitry 1014. A bit time counter 1016 is provided to divide the clock frequency from the PPS clock and apply its output to a scan counter 1018. The scan counter 1018 provides timing signals for the display register control display bank select 1026, return sampling 1028, key buffer register 1032, and control 1030 and strobe select circuit 1024. The GPKD of FIG. 11 includes two display registers A and B, which store display data. These display registers store data from the instruction/data bus and, upon command, output the data to their associated displays. The strobe select circuit 1024, with its eight output pins, 27 through 34, sequentially outputs eight strobe signals to its eight output pins. These outputs may be used to strobe an 8.times.8 keyboard matrix or for multiplexing display characters. The return sampling circuit 1029 receives data from the strobed keyboard indicating the states of the key matrix return lines from the keyboard. When a key closure is detected at the return sampling circuit 1028, the key buffer register control circuit 1030 and loads the key code for that key into the buffer register 1032. Subsequent key closures which are detected may also be stored in the key buffer registers 1032 until they are called for by and transferred to the CPU on a first in, first out basis. Returning to FIG. 7, the eight strobe select output pins 27 through 34 are applied four to the display driver 513 of FIG. 8 and four to the display driver 514 of FIG. 8. The outputs of the display drivers 513 and 514 are applied to the anode drive terminals of the front and back displays. Referring to FIG. 7, since various decimal point locations are required by the various countries, a switch labelled SW-3 consisting of six individually operated single pole, single throw switches is associated with transistors Q3 and Q4 selectively enabling those digit positions in which decimals may be displayed. Four of the strobe select lines at pipe 27 through 30 of the GPKD 410 are additionally applied to the four input strobe lines of the keyboard matrix of the keyboard 20. The keyboard return lines are connected to pins 19 through 21, 23 and 24 of the return sampling inputs of the GPKD 410. These permit interrogation of the keyboard for key depressions. OPERATION OF THE SYSTEM The operation of the system can be most conveniently described in conjunction with FIGS. 14A through 14Z of the drawings (Figure numbers 14Q and 14U are not used for clarity). The flow diagrams of FIGS. 14A through 14Z graphically describe the operation of the scale system utilizing the operating sequence represented by the program listing included herewith as an appendix in combination with the Rockwell PPS-4/2 microcomputer described above. However, it should be appreciated that the operating sequence of the system utilizing this operating sequence may be implemented on other types of commercially available computers in accordance with the principles described herein. The present invention, as incorporated in the exemplary embodiment described herein is arranged to cooperate with many features and operations which are described and claimed in U.S. Pat. No. 3,984,667 to Loshbough, U.S. Pat. No. 3,869,005 to Williams, Jr., and U.S. Pat. No. 3,861,479 to Pryor, which patents are specifically incorporated by reference herein: and U.S. patent application Ser. No. 729,911 of Donivan L. Hall and Edward G. Pryor entitled "Digital Scale With Antifraud Features", which patent application is also incorporated by reference herein. In order to more clearly set forth the precise invention for which this patent is solicited, in such a manner as to distinguish it from other inventions and from what is old, those operations which are disclosed in the incorporated references will only be generally described, with the primary emphasis being given those operations forming a part of the instant invention. Many of the operations of the scale system utilizing the operating sequence are performed only partially by single pass through the operating sequence (hereinafter referred to as an operating sequence cycle), so that a plurality of passes or cycles through the operating sequence may be required in order to complete a particular operation. Such operations are clearly disposed in the incorporated references and will be referred to in the instant disclosure only where necessary to clearly set forth the instant invention. The details of the operations are completely disclosed in the accompanying program listing in the appendix and in the flow diagrams FIGS. 14A through 14Z. The flow diagrams of FIGS. 14A through 14Z disclose in graphical form an exemplary operating sequence of the scale system, including the operations required for implementing the analog-to-digital conversion and the net zero tracking described herein. The flow diagrams consist of a series of geometrical shapes, each of which corresponds to a particular type of operation. Each rectangular block represents the performance of a function which is generally indicated by the notation found within the rectangular block. Each diamond shaped geometrical figure represents a decision making operation where one of two alternatives is determined. The hexagons represent that a subroutine is performed at that particular point in the operating sequence, with the subroutine being performed indicated by the notation within the hexagon. The oval-shaped geometrical figures represent a branch back operation and are used in conjunction with a subroutine to indicate that the operating sequence continues at that point in the main operating sequence where the subroutine was entered. A rhomboid geometrical figure represents either an input or an output operation. The numbers placed in circles to the top and left of the geometrical figures represent input locations to those particular operations. The numbers in the circles to the right and below the blocks in the flow diagrams represent an output connected to a different location in the flow diagrams indicating a transfer in the operating sequence. The mneumonic designations found in parenthesis adjacent to the circles containing numbers, indicate labels which have been given to a particular group of operations. These mneumonics may be utilized in referring back to the detailed operating sequence disclosed in the appendix by referring to the symbol table found at the end of the appendix. The symbol table found in the appendix lists, in alphabetical order, the mneumonic labels and the corresponding location in the detailed program listing of the operating sequence where the particular operations represented by the mneumonic label may be found. Also a table is included showing the operations represented by the mneumonic labels. In order to accomplish the operations illustrated in FIGS. 14A-14Z, data is assigned to and stored in various registers or memory cells in the random access memory or RAM 911 as illustrated in FIG. 13. Therefore, it is useful to define and explain the various flags, counters, timers and data registers which are used in the exemplary embodiment of the invention and which are referred to in the flow chart diagrams of FIGS. 14A-14Z. The memory unit 310 which is shown in FIG. 6 and illustrated in more detail in FIG. 10, includes a random access memory or RAM with a capacity of 128 four-bit words and arranged as shown in FIG. 13. Each of the 128 four-bit words may contain any one of sixteen states. These states can represent numerical values of data or a status or condition. In FIG. 13, the register addresses are referred to by the hexadecimal equivalents of their binary address. The two most significant hexadecimal digits of the address within the RAM define a particular column or grouping of four bit words and the least significant hexadecimal digit defines a row or particular four bit word within the RAM. The hexadecimal address designations are also used as reference numerals below. A tare done flag at address 002 is set to its binary eight state after a tare operation has been completed by the entry of tare weight data into the appropriate storage registers and otherwise is reset or cleared to a "zero" state when such a tare has not been completed. A digit timer is provided at register 004. The digit timer is set to its binary "eleven" state upon the depression of a digit key on the keyboard. Thereafter it begins a timing cycle by decrementing one count each pass through an operating sequence cycle. The depression of any other digit key before the digit timer counts to zero will again set the digit timer to binary "eleven" state to reinitiate the counting cycle. If the digit timer counts down its "zero" state before all price digits are entered or the tare key is depressed, all previously entered keyboard digits will be cleared upon entry of any new digit. This feature requires that all digits be entered within a few seconds of each other and consequently avoids the retention by the apparatus of accidently entered data or of data entered a considerable time earlier and forgotten by the operator. A manual tare flag having two states is provided at register 003. Whenever the "T" key is pressed, there is no motion of the platter and the digit timer of register 004 is at its "zero" state (i.e., is not running), the manual tare flag is set to its "eight" state. It is reset or cleared to its "zero" state after its condition has been sensed in subsequent operations. The addresses of registers 005 through 00F are labelled as a result register and are used as a scratch pad. A filter counter is provided at address 010 and is used to provide four states, "zero" through "three". Whenever, during the sequence of operations, no difference is found to exist between a most recently generated, fully processed weight and the weight currently being displayed, the filter counter is reset or cleared to its "zero" state. However, each time a difference is found to exist between the most recently generated fully processed weight and the weight being displayed, the filter counter counts up one count. If such a difference is found three times in succession, the filter counter counts one count at a time, to its "three" state to signal that the displayed weight should be updated with the most recently generated fully processed weight. This avoids a display blink from an unnecessary updating of the displayed weight with weight data which is identical to that which is currently being displayed. A zero lamp flag is provided at address 011 and is used to provide three states "zero" through "two". Whenever a weight is detected which is not within a small range of the previously established scale zero, which range is different for different scale capacities, the zero lamp flag is set to its "two" state for purposes of causing the zero lamp to be turned off to indicate that the scale is not zeroed. However, each time a weight within this range is detected, the zero lamp flag is decremented. Consequently, if the scale is found to be within this range for two such detections in succession, the zero lamp flag gets decremented to its "zero" state so that the zero lamp is turned on to indicate that the scale is zeroed. A net flag is provided at register 012 and is set to its "eight" state when the weighing scale is in its net mode of operation, that is, when a positive weight is stored in the tare memory register. Otherwise, the net flag is in its clear or reset state of "zero". A factor flag is provided in register 013 which is reset or cleared to its "zero" state when there is no price factor, set to its "two" state when pricing is per 1/2 unit of weight and is set to its "four" state when pricing is per 1/4 unit of weight. A verify test flag is provided in register 018. This flag is set to its "eight" state in response to depression of the "clear" key to signify that a verification test is in progress. The vertify test flag is reset or cleared to its "zero" state when the sequence of operations pass through the reset operation III beginning on FIG. 14A. Registers 01A through 01F provide six, binary coded decimal digits of temporary scratch pad data storage for use in carrying out the sequences of operations of the exemplary embodiment of the invention. The sign of that six digit number is stored as a fifteen or zero in register 019. Registers 020 through 026 store, as an "eight" or "zero", on the "on" or "off" state of the indicator lamps labelled at those addresses in FIG. 13. The presence or absence of a print command is stored as an "eight" or "zero" at register 027. Registers 02A through 02F store the six binary coded decimal digits which represent a detected weight while register 029 stores the sign of that weight. In order to require that the "Z" be depressed for a sufficient length of time before such depression is accepted and to thereby prevent accidental erroneous or fraudulent zeroing of the weighing scale, a zero key timer is provided at register 030. The zero key timer has even states "zero" through "fourteen". An initial depression of the "Z" key causes the zero key timer to switch to its "two" state. Thereafter, on each pass through the operating sequence cycles, the zero key timer is incremented to its next higher even state so long as the "Z" key remains depressed. If the "Z" key is depressed sufficiently long that the zero key timer counts through all its even states and returns to "zero", the depression of the "Z" key is then accepted, the scale is zeroed and the zero done flag at register 031 is set to its "fifteen" state to indicate that the scale has been zeroed. The zero done flag is reset or cleared to its "zero" state in the initial, main program power-up operation I beginning on FIG. 14A. An auto clear flag is provided at register 033 to help in the automatic clearing of a previously entered tare weight and price each time a weighing operation is completed. The auto clear flag is a seven state counter which is reset to its "zero" state whenever the detected weight is greater than a weight corresponding to one hundred raw weight increments. Whenever the scale weight exceeds this 100 increment band, the auto clear flag begins counting towards its "six" state. This auto clear flag counter is incremented each pass through the sequence of operations. If the detected weight falls within the 100 increment band before the auto clear flag counter reaches its "six" state, the auto clear counter is reset to its "zero" state and the tare data is not automatically cleared. However, if the scale weight is above the 100 increment band long enough for the auto clear flag to reach its "six" state, it will remain in its six state to enable the auto clear function. After the scale weight returns to within the 100 increment band, the tare weight and price will then be cleared. Registers 034 and 035 are provided to store the least significant binary coded decimal digits of a first previously detected and a second previously detected weight. These are utilized as described below in the filtering operation of the preferred embodiment of the invention. Registers 039 through 03F are used for the sign and the six binary coded decimal digits of a partially processed weight which represents a previously detected weight. Registers 040 through 045, 050, 051, and 053 through 055 are two-state registers which store each mode selector switch status as an "eight" state or a "zero" state. Registers 046 and 047 store data which represent a keyboard key which has been depressed and detected. Register 048 stores in its four bits the status of the switches or keys labelled in those positions in FIG. 13. Registers 049 through 04F form the auto zero register in which the zero correction factor is stored. Registers 050 through 055 are used to store data as indicated. A recompute flag is provided at register 057. It is set to a non-zero value whenever there is a change in a price digit or output weight in order to signify, during the next pass through an operating sequence cycle, that a new total price should be computed. However, if no such change is detected, the recompute flag remains in its "zero" state so that no new total price is computed. The recompute flag is cleared immediately prior to the compute total price operation XX. A verify mode flag is provided at register 058. This flag has two states and is switched from its "zero" state to its 15 state upon the first depression of the CLEAR key and is returned to its "zero" state upon depression of any other key. Registers 059 through 05F store the tare weight. Registers 060 through 06E store the total price, price and output weight as indicated. Registers 070 through 07F are as a work area and temporary scratch pad during the display and other routines. The various means and apparatus for performing the functions and improvements in accordance with the exemplary embodiment of the invention comprise the scale mechanism, keys, switches, flags, registers, counters, timers, and storage spaces together with program sequences or routines and routine loops in combination with the computer, and the output or display apparatus and the control thereof. Thus the means for controlling the time the integrator means is connected to the scale means comprises gate 94 and the control thereof including program sequences of blocks 14A17, 14A20, or 14A22 and the program loops or sequences of FIG. 14W in combination with the computer. The means for reading the weight includes the flow diagrams beginning at B8 of FIG. 14B of the drawing. The structure of the timing and counting arrangements operative during the T2 and T3 intervals comprise counter 1, counter 2, and counter 3 together with the program sequences and loops beginning at B9 of FIG. 14B which sequences and loops comprise the structure of the corresponding sections of the ROM storage. These sequences and loops together with the computer determine the T2 and T3 times. The program sequences employed to derive the raw weight from the T2 and T3 times are shown in the drawing beginning with block 14B22 of FIG. 14B and extend through block 14C11 of FIG. 14C. The operation of the exemplary embodiment of the invention is now described with reference to the flow chart diagrams of FIGS. 14A-14Z. The first two digits of the alphanumeric reference numerals for the individual steps of the operation are the Figure numbers on which the particular steps are illustrated. The latter alphanumeric digits refer to the particular step in that Figure. The labels which are shown in parentheses on the drawings are the labels used in the program and therefore provide cross references to be appended program listing. Main Program Power-up The power-up sequence is an initialization sequence which is performed when power is first applied to the central processor or ther is an interruption of power to the central processor. During step 14A2 various registers within the computer are cleared to an initial state to provide a known starting state for the operating sequence. After the main program power-up sequence the operating sequence then proceeds to the X10 CLEAR sequence beginning at step 14E1 which causes a clearing operation to take place with respect to the tare and auto-zero. The operating sequence then proceeds to the output sequence beginning at 14M19. The main program then advances through the remaining sequences shown in FIG. 14M and then transfers to the sequences of FIGS. 14N and 140 and through the various sequences of FIG. 14P through 14P15. These output and printer sequences are analogous to the output sequences such as described in the above identified patents and applications. The main program then advances through the various keyboard sequences or routines beginning at 14P16. If no key is operated the program transfers to T19 of FIG. 14T and then to A8 assuming no verifying operation. Upon transfer to block 14A8 via transfer A8, the various control and mode switches are scanned and the various registers in the RAM 911 conditioned or set in accordance with the condition of the various control and mode switches. These various operations are designated in blocks 14A8 through 14A11. These operations and the operations relating to the scanning and response to the keyboard digit keys are analogous to the corresponding operations described in the above patents and applications incorporated herein. In the beginning under the assumed conditions, the digit timer was previously or already zero so control transfers from block 14A11 via transfer A15 to block 14A15. Beginning with block 14A15, the read weight sequence of operations VI is performed in which the analog to digital conversion in accordance with the present invention is accomplished. At the beginning of the read weight sequence of operations, a find scale capacity subroutine is performed. This subroutine is illustrated on FIG. 14V. It performs the interrogation of RAM registers 043 and 044 to determine what scale capacity is selected and returns to the main program data which is dependent upon which capacity is selected. Referring to FIG. 14V, at step 14V1, the arithmetic scratch pad register 01A-01F is cleared and flag 1, i.e., flip flop 825 of the CPU 210 is set to make an initial assumption that the 15 kilogram scale is not selected. Similarly, the carry register 812 of the CPU 210 is set for an initial assumption that the 6 kilogram scale is not selected. Then, in step 14V2, the 30 lb. enable RAM register 043 is examined to determine whether the 30 lb. scale is selected. If it is, operation jumps to step 14V6. However, if it is not, the carry is then reset in step 14V3 to assume that the 6 kilogram scale is selected. Then, in step 14V4 the 6 kilogram enable register RAM 044 is examined to determine whether the 6 kilogram scale is selected. If it is, operation jumps to step V6. However, if it is not, the carry register is set and flag 1 is reset to note that the 15 kilogram scale is selected. Then, at step 14V6, the flag 1 (FF825) and carry register 812 are used to load into the X register 813 of the CPU 210 a 5 if the 15 kilogram scale was selected, a 3 if the 30 lb. scale is selected and a 6 if the 6 kilogram scale is selected. In step 14V7 there is loaded into the accumulator 810 a 5 if the 15 kilogram scale was selected, a 1 if the 30 lb. scale is selected, and a 2 if the 6 kilogram scale is selected. Then, in step 14V8 the address DD1A of the arithmetic scratch pad register ARI is loaded in the BL section of the address register 814 and operation returns to the next order in the sequence of operations at which the find scale capacity sequence of operations was called. Referring now again to FIG. 14A, data returned in this manner is then used in steps 14A16 through 14A22 to set up a timing sequence for providing the time interval during which the analog weight signal is integrated as part of the analog to digital conversion. In the exemplary embodiment of the present invention three, four bit, digital timers are employed; a "Long Timer" in RAM register 00A, a "Mid Timer" in RAM register 009, and a "Short Timer" in the accumulator and initialized to the values shown in steps 14A17, 14A20, or 14A22. These timers are then processed according to the subsequently described timing subroutines in order to provide the desired integrating time interval T.sub.1 illustrated in FIG. 12. Although a single timer register having sufficient bit capacity could be used to provide the desired time interval, it is advantageous to use the short, mid and long timers described above. As an example, if the scale has been set or conditioned to operate as 6 kilogram scale, the long timer 00A, is set to a 15 state, the mid-timer 009, is set to its 3 state, and the short timer in the accumulator is set to a 9 state. After loading this initial timing data into the long, mid and short timers, the CPU 210 at step 14B1 switches the transistor 94 (FIG. 4) of the switching circuit 50 to its conduction state in order to apply the analog weight signal to the integrator circuit 51 and begin the integration. The delay subroutine at step 14B2 then uses the previously loaded long, mid and short timers to provide the desired time-delay such as T.sub.1. This delay subroutine comprising a counting and timing program loop of instructions is illustrated in detail of FIG. 14W. Referring now to FIG. 14W, upon entry into the delay subroutine at step 14W1, the four bit contents of the mid-timer is loaded to register X813 of the CPU. The four bit contents of the short timer is then loaded at step 14W2 into the accumulator and decremented. The timer is checked at step 14W3 to determine whether it had previously been 0. If it was not 0, then at step 14W4 at 105 microsecond delay is obtained by causing the CPU 210 to perform some instructions causing the CPU to count cycles for the purpose of gaining the delay. Thereafter, the sequence of operation loops back again to step 14W2. Operation continues to loop through these 14W2 through 14W4 steps until the short timer is decremented to zero. Thus, it will loop through these steps a number of times equal to the number initially loaded into the short timer. When a 0 is detected in step 14W3, the operation jumps to step 14W6 in which the mid-timer is loaded into the accumulator and decremented. The contents of the mid-timer is then checked at step 14W7 to determine whether it was a 0. If the mid-timer was not 0, a 1.3 millisecond delay is provided by setting the short timer to a 12 state and looping back to step 14W2. This causes the operations to loop through steps 14W2, 14W3, and 14W4 twelve times until the short timer again is decremented to 0. Thereupon, steps 14W6, 14W7, and 14W8 will again be performed and the entire procedure repeated until the mid-timer was found to be 0 at step 14W7. Upon finding the mid-timer to be 0 at step 14W7, the operation jumps to step 14W10 which sets up a 14.3 millisecond time delay by loading an 11 state into the mid-timer. The previously set long timer is then loaded into the accumulator at step 14W11 and is decremented. Then, at step 14W12, the timer is checked to determine whether it was previously 0. If the long timer was not previously 0, operation loops back to step 14W8 and then to step 14W2 and repeats the previously described loop until operation arrives again at step 14W12 and finds that the long timer was decremented to zero. This will signify that the entire selected time delay such as T.sub.1, during which the analog signal was integrated has expired and operation can return to step 14B3 of FIG. 14B. Returning to FIG. 14B, at step 14B3, the timing loop counters which are going to be used during the time intervals for integrating the reference DC source are cleared. The discrete output of the CPU 210 are disabled and the state of the output 102 of the threshold detector 53 is examined. If, during the first integrating interval T.sub.1 then (See FIG. 12), the output of the integrator 51 becomes opposite in polarity from the initial level V.sub.0 along a slope such as S.sub.D to a level such as V.sub.3 such output represents a negative raw weight of relatively large magnitude. This might happen if the platter were removed or if an operator lifted up on it. It will immediately cause the output of the threshold detector 53 to switch to its low state. If the comparator is found to be in a low state at step 14B5, then this indicates at step 14B6 that a large negative raw weight was detected and therefore all the discrete outputs of the CPU are enabled and operation jumps to step 14E14 at FIG. 14E and then to step 14M10. This results in skipping of many intermediate operations which check, filter, correct, or otherwise process the raw weight and which would not be meaningful with such negative weight data. However, if a positive raw weight is found in step 14B5 such as would result from the integration along slope S.sub.1 to V.sub.1, operation proceeds to step 14B8 which stops the integration of the analog signal by switching transistor 94 to a non-conducting state and begins the first reference source integration, such as time interval T.sub.2, by switching the transistor 95 of FIG. 4 to its conducting state. Steps 14B9 through 14B11 form the interrogation and counting cycle or instruction loop for the integration of the comparator or threshold detector during the T.sub.2 integration time of the first reference DC source. During each instruction loop, the output of the threshold detector 53 is periodically interrogated and a counter is incremented each time the output of the comparator has not occurred changed sign. This counting for both the first and second reference DC source integrating intervals T.sub.2 and T.sub.3 is done in three, four-bit counters, one counter for each of three hexadecimal digits. While each of these three, four-bit counters could be formed in three, four-bit RAM registers, it is more convenient to form them in the save register 817 forming a part of the CPU 210 illustrated in FIG. 9. The twelve bits of the save register 817 comprise three, four-bit counters referred to as counter 1, counter 2, and counter 3. This is convenient because the Rockwell PPS-4/2 CPU has an instruction, with the mnemonic CYS, which cycles the save register 817 and the accumulator. This convenient instruction provides a four-bit shift of the save register 817 with the four-bits which are shifted off the right end of the save register 817 being transferred to the accumulator and with the contents of the accumulator being transferred into the left end of the save register 817. As shown in steps 14B9-14B11, the counting begins by setting the carry register 812 of the CPU 210 (FIG. 9) to its 1 state. That carry is added to the contents of counter 1 with the results placed in counter 1. Then any carry generated from counter 1 is added to the contents of counter 2 with the result placed in counter 2. Then any carry produced by counter 2 is added to the contents of counter 3 and the result placed in counter 3. At step 14B10, the output 102 of the threshold detector is then loaded to the accumulator and examined in step 14B12 to determine if it is yet low, that is whether the V.sub.o level has been crossed. If the comparator is not low, operation then loops back to step 14B9 where it passes again through steps 14B9-14B11. Each pass through this loop requires 65 microseconds using the specific selected CPU instructions. Operation continues to loop through steps 14B9-14B11 until the comparator is found at step 14B11 to have switched to its low state. This indicates that the output of the integrator circuit 51 has crossed its initial voltage level V.sub.o. An additional 65 microsecond delay is then provided at step 14B12 to extend the second integrating time by the interval T.sub.2C shown on FIG. 12 and described above. Then, at step 14B13, transistor 95 of FIG. 4 is switched to its non-conducting state to halt the integration of the first reference DC source. The count contained in the three timing loop counters for the second integrating time interval T.sub.2 is then stored in the scratch pad registers 70, 71, and 72 of the RAM memory and the counters (the SA register 817) are cleared for reuse. Then at step 14B15, the third timing interval T.sub.3 illustrated in FIG. 12 is begun by switching the transistor 96 of FIG. 3 to its conducting state to apply the second reference DC source to the integrator circuit 51. Then steps 14B16, 14B17, and 14B18 provide an interrogation and counting cycle or loop of steps 14B9-14B11. While the steps of the T.sub.3 counting loop are not identical with the steps of the T.sub.2 loops, they require the same overall time of 65 microseconds. During each pass through this T.sub.3 cycle, the output 102 of the threshold detector 53 is examined to determine whether it has returned to its high state. So long as it has not, operation continues looping through the T.sub.3 interrogating and counting cycle of steps 14B16-14B18. However, whenever in step 14B18 the output 102 has found to have shifted to it high state, then at step 14B19, the transistor 96 (FIG. 4) is turned off to stop the integration of the second reference DC source and the integrator 51 is reset by switching the transistor 97 to its conducting state. Then, at step 14B20, the contents of counter 1 and counter 2 of the T.sub.3 counters is stored in RAM memory register spaces 73 and 74. At step 14B21, the scratch pad memories (i.e., register spaces 01A through 01F) illustrated in FIG. 13 are cleared for subsequent use. Thus the contents of each four-bit register 70, 71, 72, 73, and 74 now represents a hexadecimal digit of the T.sub.2 and T.sub.3 count which in turn represent the raw weight of the scale. Next these counts are converted to decimal notation and then finally to raw weight increments. This is begun in step 14B22 by multiplying the contents of register 72 (which has stored in it the most significant hexadecimal of the T.sub.2 count) by 256 and moving the result to the weight register 02A through 02F illustrated in FIG. 13. Then, at step 14C1, the weight sign is cleared and the temporary scratch pad register is again cleared. The contents of register 71 (which has stored in it the next most significant hexadecimal of the T.sub.2 count) the T.sub.2 counter is multiplied in step 14C2 by 16 and the result moved to the arithmetic scratch pad register illustrated in FIG. 13. Then, at step 14C3, the results of these two multiplications are added together with the result being moved to the weight register. Then, at step 14C4 the least significant hexadecimal digit of the t.sub. 2 count is converted to decimal form and added to the sum in the weight register. At 14C5 the resulting total is placed in the weight register and represents the total count during time interval T.sub.2 in decimal digits. The arithmetic scratch pad register is then cleared. While the digits of this decimal number are different from the digits of the hexadecimal number, both numbers represent the same number of counts or cycles obtained during the T.sub.2 interval and each count represents 32 raw weight increments. The decimal conversion of the T.sub.3 count then begins at step 14C6 by moving the contents of register 74 (which has stored in it the most significant hexadecimal digit of the T.sub.3 count) to the arithmetic register. As stated previously, the reference signal level during time interval T.sub.3 is 1/32 the reference signal level which is integrated during time interval T.sub.2 and therefore each count during time interval T.sub.2 represents 32 times as much analog weight signal (i.e., 32 raw weight increments) as does each T.sub.3 count. In order to eliminate the effect of the additional 65 microsecond delay provided at step 14B12 during time interval T.sub.2, (one additional T.sub.2 count) 32 counts are subtracted from the T.sub.3 count in step 14C6. Conversion of the T.sub.3 count to decimal form then proceeds at step 14C7 by multiplying the result of the subtraction in step 14C6 by 16 and moving the result to the temporary scratch pad register (FIG. 13). The arithmetic register is also cleared and in step 14C8 the low digit of the T.sub.3 count is moved from register 74 (FIG. 13) to the arithmetic register and converted to decimal form. The result of the multiplication in step 14C7 which is stored in the temporary scratch pad register and the result of the decimal conversion of step 14C8 which is stored in the arithmetic register are then added together in step 14C8 to represent the total counts (raw weight increments) during time interval T.sub.3 reduced by 32 counts to compensate for the 65 microsecond delay as described above. Because each T.sub.2 count represents 32 times as much analog weight signal amplitude as each T.sub.3 count, at step 14C9 the total of the T.sub.2 counts is multiplied by 32 and the result is moved to the weight register. Then, at step 14C10 the T.sub.3 count is subtracted from the T.sub.2 count in order to provide the net number of raw weight increments. This final number of raw weight increments, which is proportional to the sum of the weight on the scale platter and the analog offset, is then moved in step 14C11 to the weight register and is referred to as the raw weight. Process Weight In the process weight operation VII, the presence or absence of platter motion if first detected and noted, the digital weight data resulting from step 14C11 is then filtered or updated, the appropriate initial analog offset is digitally subtracted and finally the "x10 EXPAND" operations are performed if that mode is selected. The detection of motion begins at step 14C12 with the subtraction of the filtered weight, which represents a previously detected and processed weight which was stored in the filtered weight register during a previous pass through an operation sequence cycle. It is subtracted from the most recently detected raw weight resulting from step 14C11. The sign of the result of this subtraction is moved to the arithmetic sign register 019 in step 14C13. In step 14C14, a determination is made whether the result of the above subtraction is less than or equal to five raw weight increments. If this result is less than or equal to five raw weight increments, then this is accepted as one detection of a no motion condition and operation goes to step 14C17 wherein a fifteen is loaded into the accumulator and then added to the motion flag to decrement the motion flag. It will be recalled that the motion flag is a three state flag which required two detections of no motion prior to concluding that no platter motion exists. Consequently, at step 14C18 the motion flag is examined to determine whether it had decremented to zero. If the motion flage had already been zero, then no motion existed for the last two passes through the operational sequence cycle and consequently operation proceeds to step 14C22. However, if the flag was not already zero, then operation advances to step 14C19. If at step 14C14 the result of the subtraction was found to be greater than 5 counts, then a motion condition exists so in step 14C15 a two is loaded into the accumulator for purposes of subsequently setting the motion flag to its two state and operation proceeds to step 14C19. At step 14C19 the motion flag is updated with either the 2 from step 14C15 or its decremented state from step 14C17. Then, at step 14C20 the output filter counter is set to its three state to indicate that new weight data has been detected. The recompute flage is also set to indicate that new price computations must be made subsequently and operation advances top step 14D5. However, if at step 14C18 the motion flag was found to have been zero, so that a no motion condition was found to exist, then the initial raw weight filtering operation will occur at step 14C22. The purpose of raw weight filtering is to eliminate the effects of noise and random data shifts. In step 14C22 the least significant digit of the most recently detected raw weight from step 14C11 is written into RAM register 035. The least significant digit of the previously detected weight count is written into RAM register 034. Then, using the most recently detected raw weight and the two previous raw weights, a determination is made at step 14D1 whether the least significant digit of the second previous detected raw weight is equal to the least significant digit of the first previous raw weight. If these are not equal then the filtering operations must be performed beginning in step 14D3. If, however, at step 14D1 these digits are found to be equal, then at step 14D2 a determination is made whether the least significant digit of the first previous raw weight is equal to the least significant digit of the most recently detected raw weight. If these are not equal, then filtering must be performed beginning at step 14D3. However, if the least significant digits are found to be equal in both steps 14D1 and 14D2, filtering may be skipped and operation jumps to step 14D5. The filtering operation which begins at step 14D3 consists essentially of forming a new filtered weight by adjusting the most recently detected weight toward the previously detected and modified weight which is stored in the filtered weight register (FIG. 13). The most recently detected raw weight is adjusted toward the previously filtered weight by one count more than one half the difference between the previously filtered raw weight and the most recently detected weight. Therefore, in step 14D3 the least significant digit of the difference between the most recently detected weight and the previous filtered weight is interger divided by 2 and then added to 1. If in step 14D3A this difference divided by 2 is found to be 0 (i.e., if the difference was 0 or 1, then the filtered raw weight is written into the weight register (FIG. 13). However, if the difference is not 0 or 1 then at step 14D4 the most recently detected raw weight is adjusted toward the previously filtered weight by 1 count more than 1/2 the least significant digit of the above difference. This is then treated as a new filtered raw weight and is first moved to the weight register. Then, in step 14D5 this weight is moved to the filtered weight register to provide an updated filtered raw weight for subsequent use. It was previously described that potentiometer 76 is adjusted to provide a fixed analog offset under no weight conditions. Therefore, this initial offset must be removed from the detected raw weight data. This is done in steps 14D6 through 14D14. However, because a different analog signal integrating time interval is used for different scale capacities and the load cell output voltage is interpreted differently for different capacities, a different number must be subtracted from the raw weight for each scale capacity. Therefore, in step 14D6 the find scale capacity subroutine of FIG. 14V is performed which returns the data described above. The returned data is used to set the arithmetic scratch pad register to 003700 if the 6 Kg scale capacity is selected, to 001600 if the 15 kilogram scale capacity is selected, and to 001700 if the 30 pound scale capacity is selected. After the arithmetic scratch pad register is set to one of these three numbers, which is the analog offset expressed in raw weight increments for the particular scale capacity selected, then in step 14D14 the chosen number of raw weight increments is subtracted from the raw weight and the result is moved to the weight register. In step 14D15 a check is made to determine whether the "x10EXPAND" mode has been selected. If it is not, which is the usual situation except when servicing, etc., operation jumps to step 14E3. However, if the "x10 EXPAND" mode has been selected, a determination is made at step 14D16 whether the raw weight is less than or equal to 2 raw weight increments. If it is, operation proceeds to step 14D17 in which an 8 is loaded into the accumulator for subsequent use in turning on the zero lamp to indicate that the scale is zeroed. If, however, the weight is found to be greater than 2 raw weight increments, then operation proceeds to step 14D19 in which a 0 is loaded into the accumulator for subsequently turning off the zero lamp to indicate that the scale is not zeroed. After steps 14D17 or 14D19, operation proceeds to step 14D20 in which the 0 or 8 from the accumulator is loaded into the zero lamp register 021 (FIG. 13) for later use in control of the zero lamp. Also flag 2, 825, of the CPU 210 illustrated in FIG. 9 is set to note that the "x10 EXPAND" mode has been selected. This flag is used in step 14D21 which is the subroutine for updating the output weight. In the Update Output Operation XVII of step 14D21, the five most or five least significant digits of data in the weight register (FIG. 13) are moved to the output weight register (FIG. 13) unless a negative weight is found or the 300 printer enable mode 10 is selected. If either of these two latter conditions exist, operation jumps to the weight blanking sequence of operations beginning at step 14E14. Referring in detail to the Update Output Weight operation in FIG. 14X, at step 14X1, the computer is set up to check the five most significant digits of the weight register for all zeroes and flag 1 of the CPU 210 is set. Then, in step 14X2 flag 2 of the CPU 210 is checked to determine whether it is set to indicate the normal mode of operation or whether it is reset to note the "x10 EXPAND" mode of operation. If flag 2 is found to be reset, then in step 14X3, the previous step 14X1 set up is changed to set up to check all 6 weight register digits as is appropriate for the "x10 EXPAND" mode. Otherwise, if flag 2 is found to be set in step 14X2, operation proceeds directly to step 14X4. In step 14X4, the digits are checked to determine if they are all zero. If all digits are found to be zero, then in step 14X5 flag 1 of the CPU 210 is reset to note that the weight is zero. If, however, the digits are not all zero, then operation proceeds directly to step 14X6. Then, in step 14X6, the weight register sign data is decremented to 15 if it is a plus and to 14 if it is a minus. Additionally, the carry is set if it is a minus. In step 14X7, the registers are set up to address the most significant digit of the 5 digit weight for the normal mode of operation. Then in step 14X8 flag 2 is interrogated to determine whether it is set to indicate a normal mode of operation. If it is set, operation jumps directly to step 14X10. However, if flag 2 is not set, then the "x10 EXPAND" mode is selected and the next lower significant digit is addressed for the "x10 EXPAND" mode. In step 14X10, the weight is interrogated to determine if it is 0. If the weight is not 0 then a 15 is loaded into the appropriate digit position so that the negative sign is not displayed for a zero weight. If, however, a non-zero weight is detected at step 14X10, then operation proceeds to step 14X12. In step 14X12 the proper sign is placed in the proper position and in step 14X13 the removed weight digit is examined to determine whether it is zero. If it is zero, operation jumps to step 14X17. If it was not zero, the digit is returned to the proper position in step 14X14 and the sign is forgotten. Then in step 14X15, the weight sign is examined. If the weight sign was minus, operation loops back to the blank weight step 14E14. If, however, the sign was not minus, then RAM register 040 is interrogated in step 14X16 to determine whether the Toledo Scale 300 printer is enabled. If the 300 printer is enabled, then operation loops back to the blank weight step 14E14 because the 300 printer cannot accommodate the required number of significant digits. if the 300 printer is found in step 14X16 not to be enabled or if the exchanged digit examined in step 14X13 is found to be zero, then operation advances to step 14X17. In step 14X17, the registers are set up to move the five most significant digits of weight to the output weight register. Then, in step 14X18 flag 2 is checked to see if it is set so that operation is in the normal mode. If flag 2 is set, operation advances to step 14X20 and the output weight register is updated with the 5 most significant digits of the weight register. If, however, flag 2 is not set, thereby indicating that the "x10 EXPAND" mode has been selected, then operation advances to step 14X19 which sets up the registers to write the 5 least significant digits of weight into the output weight register at step 14X19. Then, in step 14X20 the output weight register has the selected five significant digits of the weight register written into it. After step 14X20 operation returns to the next step after it was called. Returning therefore to FIG. 14D, after the output weight register is updated, the price and total price registers are blanked in step 14D22 because they are not used in the "x10 EXPAND" mode. Operation then proceeds to step 14E1 in which the tare register and the auto-zero register are cleared. Operation then jumps to the output operation XX1 at step 14M19 because the intermediate steps are not significant in the "x10 EXPAND" mode. Manual Zero Capture In the usual situation, where the "x10 EXPAND" mode is found at step 14D15 to not have been selected, operation advances to the manual zero capture operation VIII at step 14E3. In the manual zero capture operation VIII, a series of checks are first made to determine whether the scale should be zeroed. If the scale should be zeroed, the raw weight in the weight register is written into the auto zero register (FIG. 13). The data in the auto zero register is then subtracted from the detected weight to provide a corrected raw weight and a check for overcapacity is made. Considering the manual zero capture check operation VIII in greater detail, the RAM memory is checked at step 14E3 to determine whether the "Z" key was pressed. If the "Z" key was not pressed, then the zeroing operation is skipped and operation jumps to step 14E10 because manual zeroing is not desired where not initiated by depression of the "Z" key. If, however, the "Z" key is found in step 14E3 to have been depressed, then operation proceeds to step 14E4 to check the net flag to determine whether the system is in the net mode. If the system is already in the net mode then gross zeroing is not appropriate and operation jumps to step 14E10. However, if the system is found not to be in the net mode, then at step 14E5 the motion flag is checked to determine whether motion exists. If motion exists, then the weight data detected during such motion should not be used for zeroing purposes and operation similarly jumps to step 14E10. However, if the motion flag has not been set then at step 14E6 a two is added to the zero key timer and it is checked in step 14E7 to determine whether it is zero. If the zero key timer is found not to have advanced to zero, then the "Z" key has not been depressed sufficiently long to permit zeroing of the weighing scale so that operation jumps to step 14E11. However, if at step 14E7 the zero key timer has gone to zero, then at step 14E8 a check is made whether the weight count is less than 400 raw weight increments. If the weight count is greater than 400 raw weight increments, a significant weight must exist upon the platter and consequently zeroing would be undesirable and operation jumps to step 14E11. However, if the weight is less than 400 raw weight increments, operation proceeds to step 14E9 in which the detected weight data is moved into the auto zero register and the zero done flag is set to indicate that the scale is zeroed. At step 14E10, the zero key timer is cleared. When operation proceeds to step 14E11, the data in the auto-zero register is subtracted from data in the weight register. The data in the auto-zero register represents the correction factor used to zero the weighing scale. Consequently, when subtracted from weight data the result represents the accurate, zeroed weight upon the weighing scale platter. Then, at step 14E12 this zeroed weight is subtracted from 030050, which represent a weight which is 50 raw weight increments beyond the scale capacity to determine whether the scale is reading a weight beyond its maximum capacity. A check is then made in step 14E13 to determine whether the result of this subtraction is positive. If it is negative, this indicates that the scale is not beyond its capacity and consequently operation proceeds to the gross auto zero correction operation IX at step 14E16. However, if the result of the subtraction is positive, the scale is overcapacity and operation advances to step 14E14 wherein the output weight is blanked. From step 14E14 operation advances to step 14E14 wherein the output weight is blanked. From step 14E14 operation then jumps to step 14M10 for blanking the total price and continuing the operation. Gross Auto Zero Correction Although the weighing scale of the present invention may be manually zeroed as provided in operation VIII the zero will still be subject to some drift or wandering. It is therefore desirable to automatically track these changes in order to maintain an accurate correction factor in the auto zero register. In the gross auto zero correction operation IX, the corrected weight from step 14E11 is examined to determine whether the scale is within an auto zero correction band of .+-.4 raw weight increments within which the gross zero will be automatically tracked or corrected. If the raw weight is within the auto zero correction band, the zero increment flag is set. If the total auto zero correction factor will less than 400 raw weight increments and the corrected raw weight is not already exactly zero, then the auto zero correction factor is corrected by one raw weight increment. Examining the gross auto zero correction operation IX in detail, the raw weight from step 14E11 is examined in step 14E16 to determine whether it is less than or equal to 4 raw weight increments. If the raw weight is found to be less than or equal to 4 raw weight increments then the scale is within the auto zero increment and operation proceeds to step 14E19. In step 14E19, a 15 is loaded into the accumulator in order to subsequently set the zero increment flag to note that the scale is within the auto zero increment. If in step 14E16, the corrected raw weight from step 14E11 is found to be greater than 4 raw weight increments then in step 14E17, a 0 is loaded into the accumulator for subsequent clearing of the zero in | ||||||
