Information
-
Patent Grant
-
4861972
-
Patent Number
4,861,972
-
Date Filed
Thursday, November 5, 198736 years ago
-
Date Issued
Tuesday, August 29, 198935 years ago
-
Inventors
-
Original Assignees
-
Examiners
Agents
- Killworth, Gottman, Hagan & Schaeff
-
CPC
-
US Classifications
Field of Search
US
- 235 462
- 235 472
- 235 375
- 235 436
- 364 70911
-
International Classifications
-
Abstract
The scanner includes scanning circuitry for optically scanning bar code labels and providing an electrical signal in response thereto, decoding circuitry, responsive to the scanning circuitry for translating the electrical signal into a digital signal, and a microprocessor, responsive to the decoding circuitry, for controlling operation of the scanner and for translating the digital signal into data to be provided to the associated host computer under control of control characters. A non-volatile random access control memory is provided for storing control characters. Interface circuitry, connected to the host computer and to the microprocessor, transfers data from the microprocessor to the host computer. A switch enables the microprocessor to translate the digital signal into control characters and enables the microprocessor to store the control characters in the non-volatile random access control memory. The control characters may be character sets which when read by the scanner indicate that two bar code labels are associated with the same item.
Description
BACKGROUND OF THE INVENTION
The present invention relates to a scanner and a method of programming a computer controlled bar code scanner and, more particularly, to such a scanner and method in which control data is supplied to a non-volatile memory in the scanner by scanning specially encoded bar code labels. The control data comprises character sets, which if read on two labels, indicate that the labels are affixed to the same product, and further indicate the ordering of the two labels. Any of a plurality of predetermined character sets may be used to provide an indication of a two label condition.
Laser scanners are known in which a beam of laser light is swept in a scan pattern to find and read a bar code printed on a surface which is presented to the scanner, such as for example a package label. Bar code labels are used on a broad range of retail packages for check-out and inventory purposes. A scanner, located for example at the check-out station in a retail establishment is used by a clerk automatically to enter product identification data into an associated computer system.
Typically such a scanner includes a laser source, such as a gas discharge laser, which produces a low power laser beam. The bea then passes through appropriate optical lenses and is swept across the package surface by a motor-driven, rotating mirror assembly. A portion of the light reflected from the package surface returns through the optical lenses to a detector which provides an electrical signal in dependence upon the level of the reflected light. A signal processing system in the scanner then analyses the electrical signal and translates the scanned characters into data which is transmitted to the host computer.
The computer then determines the total price of the products being purchased, as well as storing the identity of the purchased products for inventory and accounting purposes. The host computer may be located in the cash register associated with the scanner. Alternatively, a single host computer may service a number of scanners at the retail establishment.
A number of different bar codes have come into use. In some of these, it is possible for two labels to be applied to the same product, with all of the information defined by the labels relating to the product. It is important for the scanner system to be able to distinguish those pairs of scanned labels which are affixed to the same product and, also, which of the labels in each such pair is the "first" label and which of the labels is the "second" label. In EAN 13 code, for example, the first two characters on each label ae predetermined characters if the label is the first or second of a label pair affixed to the same product.
Each scanner typically includes a microprocessor which performs a number of functions, including recognizing the electrical signals produced when a label is scanned. Previously, the valid character set for indicating "first" and "second" labels where the labels are affixed to the same product have been stored in the random access memory of the microprocessor, or have been manually set by means of mechanical switches. Both approaches are disadvantageous. Either the character set cannot be easily changed, or the chacter set is not maintained in memory when the scanner is turned off and must be reloaded upon resumption of operation. To avoid these difficulties, a scanner system has been developed in which a number of character sets may be stored in an electrically erasable programmable read only memory associated with the scanner microprocessor. Such a system is disclosed in U.S. patent application Ser. No. 122,743, filed Nov. 19, 1987, entitled BAR CODE SCANNER AND METHOD, assigned to the assignee of the present invention, which is incorporated herein by reference.
While tbhe character sets stored in the EEPROM of the scanner system may be programmed by means of the host computer, it is desireable for a scanner technician to be able to program the character sets described above by other means. This is particularly true where a number of scanners, all sharing a single host computer system, are being installed, or where one of the scanners is of a multiple scanner system is being serviced. By providing other means of programming the scanner, the host computer and the other scanners in the system are free to operate normally. A portable terminal specifically designed for this task and for simulating the host computer to a scanner is disclosed in copending U.S. Ser. No. 129,300, filed Dec. 17, 1987, entitled PORTABLE TERMINAL AND METHOD, assigned to the assignee of the present invention, which is incorporated herein by reference.
It will be appreciated that while using a portable terminal for programming and testing a scanner is easier than using a remotely located host computer for these tasks, nevertheless it may be desirable for a technician to be able to program the EEPROM memory of such a scanner without the use of a terminal of any sort. It is seen, therefore, that there is a need for a scanner which may be programmed without the use of a terminal, and for a method of programming such a scanner.
SUMMARY OF THE INVENTION
This need is met by a scanner for scanning bar code labels and for providing data related to a host computer according to the present invention. The scanner includes scanning means for optically scanning bar code labels and providing an electrical signal in response thereto, decoding means, responsive to the scanning means for translating the electrical signal into a digital signal, and microprocessor means, responsive to the decoding means, for controlling operation of the scanner and for translating the digital signal into data to be provided to the associated host computer under control of control characters. A non-volatile random access control memory is provided for storing control characters. An interface means, connected to the host computer and to the microprocessor means, transfers data from the microprocessor means to the host computer. A switch means enables the microprocessor means to translate the digital signal into control characters and enables the microprocessor to store the control characters in the non-volatile random access control memory.
The non-volatile random access control memory may comprise an electrically erasable programmable read only memory. The interface means may comprise an optically isolated interface. The non-volatile random access control memory may comprise an EEPROM memory device. The control characters are character sets which, when read by the scanner, indicate that two bar code labels are associated with the same item.
A scanner for scanning bar code labels on products presented to the scanner and for providing the data from the bar code labels to a host computer, includes scanning means for optically scanning bar code labels and providing an electrical signal in response thereto; decoding means, responsive to the scanning means, for translating the electrical signal into a digital signal; a non-volatile random access control memory in which a plurality of sets of control characters are stored, the sets of control characters defining characters which, if detected on a pair of successively scanned labels, indicate that the labels are affixed to the same product and further indicate which is the first and which is the second of the label pair; microprocessor means, responsive to the decoding means, for controlling operation of the scanner and for translating the digital signal into data to be provided to the associated host computer under control of control characters; interface means, connected to the host computer and to the microprocessor means, for transferring data from the microprocessor means to the host; and switch means for enabling the microprocessor means to translate the digital signal into control characters and for enabling the microprocessor to store the control characters in the non-volatile random access control memory.
The non-volatile random access control memory may comprise an electrically erasable programmable read only memory. The non-volatile random access control memory may comprise an EEPROM memory device. The non-volatile random access control memory may comprise a NOVRAM memory device.
The method of the present invention programs a bar code scanner of the type which optically scans bar code labels. The scanner includes a switch and a non-volatile control memory in which at least one set of control characters is stored. The set of control characters defines characters which, if detected on a pair of successively scanned labels, indicate that the labels are affixed to the same product and, further, indicate which is the first and which is the second of the label pair. Actuation of the switch indicates that control characters encoded on bar code labels which are scanned are to be stored in the non-volatile control memory.
The method comprises the steps of:
(a) providing at least one bar code label having sets of control characters encoded thereon,
(b) actuating the switch,
(c) scanning the one bar code label,
(d) storing the set of control characters in the control memory and,
(e) deactuating the switch.
The method of programming a scanner of the type which optically scans bar code labels, the scanner including a non-volatile control memory in which control characters are stored, comprises the steps of:
(a) providing a programming bar code label with control characters encoded thereon;
(b) scanning the programming bar code label with the scanner;
(c) transmitting the control characters to the scanner non-volatile control memory for storage therein.
The control characters are preferably character sets which read by the scanner indicate that two bar code labels are associated with the same item.
Accordingly, it is an object of the present invention to provide an improved bar code scanner and method of programming the scanner; to provide such a scanner and method in which the scanner is programmed to recognize character sets which indicate that products bear more than one label; and to provide such a scanner and method in which the scanner is programmed by means of properly encoded bar code labels.
Other objects and advantages of the invention will be apparent from the following description, the accompanying drawings and the appended claims.
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is an electrical schematic diagram of a scanner system of the type which incorporates a number of scanners constructed according to the present invention;
FIG. 2 is a chart which is useful in understanding the arrangement of control characters on a programming bar code label;
FIG. 3A illustrates an exemplary first programmingbar code label; and
FIG. 3B illustrates an exemplary second programming bar code label.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
Reference is made to FIG. 1 of the drawings which illustrates a scanner system constructed according to the present invention including a plurality of scanners 12 for scanning bar code labels and for providing data related thereto to a host computer 10. Since each of the scanners 12 are identical, the electrical system of only one of the scanners is shown in somewhat greater detail.
The scanner 12 includes interface circuitry 14 which communicates with the host computer over line 16. Line 16, although illustrated by a single line in FIG. 1, is actually a plurality of lines which provide for two way communication between hosst computer 10 and each of scanners 12, as described more fully in copending U.S. patent application Ser. No. 122,743, filed Nov. 19, 1987, entitled BAR CODE SCANNER AND METHOD. Transmission of data over line 16 is accomplished in a serial format.
A microprocessor means 18 is responsive to scanning circuitry 20 and decoding circuitry 22 for controlling operation of the scanner, identifying the characters on the scanned labels and transmitting the data produced by the scanning operation to the host computer 10 via interface means 14 over the line 16. Scanning means 20 optically scans bar code labels and provides an electrical signal in response thereto. Decoding means 22 is responsive to the scanning means 20 for translating the electrical signal into a digital signal. An example of such circuitry is shown in U.S. patent Ser. No. 063,538, filed June 18, 1987, entitled SIGNAL TRANSITION DETECTION METHOD AND SYSTEM.
A control memory comprising electrically erasable programmable read only memory (EEPROM) 24 communicates with the microprocessor 18 and stores a plurality of sets of control characters in a non-volatile manner. Other types of non-volatile random access memory devices may be utilized in place of the EEPROM, if desired, such as for example a NOVRAM. The scanner microprocessor 18 interprets the reading of labels bearing these control characters in predetermined positions on the labels as indicating that the labels are affixed to the same product, and that one of the labels if the "first" label of the pair and the other label is the "second" label of the pair.
In EAN 13 code the first two characters on each label provide an indication as to whether the label is one of two applied to a product and, if so, whether the label is the first or second of the pair of labels. A "21" appearing as the first two characters on a label, for example, may indicate that the label is the first of a pair affixed to a product. Similaly, a "22" appearing as the first two characters on a label may indicate that the label is the second of a pair affixed to the product.
The use of EEPROM 24 to store the control characters permit the scanner 12 to be programmed to recognize any desired control characters, and multiple sets of such characters as indicating a pair of labels on a single product. Further, the EEPROM 24 maintains the stored control characters in memory even when power to the scanner is terminated, but allows the stored control character sets to be easily verified or altered by the host computer 10.
In a large retail establishment, a single host computer 10 may service a great many scanners. When the scanners are installed or serviced, it may not be convenient to transmit the control characters to the scanner from the host computer, since this would interrupt the interactionof the host computer 10 with the balance of the scanners. Additionally, the host computer 10 may be physically located at a site remote from the scanner being service or installed, making the use of the host computer 10 somewhat inconvenient for purposes of inputting control characters at times when the technician is performing tests at the scanner location.
By means of the present invention, the technician may program control characters into memory 24 without the use of the host computer 10. A switch means, including switch 26, is provided for enabling the microprocessor 18 to translate the digital signal into control characters and for enabling the microprocessor 18 to store the control characters in the non-volatile random access control memory 24. Actuation of the switch 26 indicates that the characters encoded on bar code labels which are thereafter scanned are not data characters, but rather are control characters which are to be stored in the non-volatile control memory 24. When control characters are to be stored in memory 24, a bar code label having one or more sets of control characters encoded thereon is produced with an appropriate bar code printer. Next, switch 26 is actuated. The bar code label is then scanned, and the switch 26 is deactuated, indicating the conclusion of the scanning process and ensuring that further scanned labels are treated as carrying data characters which are to be supplied to host computer 10.
FIGS. 2, 3A, and 3B illustrate the manner in which bar code labels, having sets of control characters encoded thereon, are configured. The characters of the bar code label are delineated from left to right on a label as characters "0", "A", "B", "C", "D", "E", "F", "G", "H", "I", and "J" in FIG. 2, with the significance of each character being given. In the illustrated embodiment, up to eight sets of control characters may be programmed by way of appropriately encoded labels, with the labels in the UPC Version A format, ad the character "0" will have a "0" value as signifying this fact. Characters "A" through "I" will each have a value of between zero and nine, and will have the significance indicated in the drawing. Characters "I" and "J" are zero and one, respectively when the specific label bears the first and second control character sets (otherwise referenced as "label pairs").
Perhaps an example would be helpful in this respect. Assume that it is desired to program the memory 24 such that scanning a label with the control characters "21" before or after scanning of a label with the control characters "22", "28", "29", or "30" results in a detection by the scanner 12 of a two-label condition, i.e. two labels affixed to the same product. Assume, further, that the label bearing the "21" control characters is to be recognized by the scanner as the "first" of the pair of labels and the label bearing any of the other control characters is to be recognized as the "second" of the pair of labels. Thus it is desired to program the following:
______________________________________Set First Label Second Label______________________________________1 21 222 21 283 21 294 21 30______________________________________
The labels illustrated in FIGS. 3A and 3B are then printed. The switch 26 is actuated and the labels are scanned, with the order of scanning being immaterial since the encoded label pairs are indicated by characters "I" and "J". Finally, the switch 26 is deactuated. The control characters are now stored in memory 24, and the normal scanning operation of the scanner 12 may be resumed.
Microprocessor 18 preferably comprises an Intel 8039 microcomputer with an external 2732 EPROM providing storage of the softwareprogram which controls operation thereof, including the method of programming the memory 24 according to the present invention. A listing of exemplary software for performing the method of the present invention is as follows. ##SPC1## ##SPC2## ##SPC3## ##SPC4## ##SPC5## ##SPC6## ##SPC7## ##SPC8## ##SPC9## ##SPC10## ##SPC11## ##SPC12## ##SPC13## ##SPC14## ##SPC15## ##SPC16##
It is seen that the scanner of the present invention and the method by which the scanner is programmed facilitate programming the scanner. The technician repairing or installing the scanner need not have a portable terminal or access to the host computer in order to be able to program the scanner. Only properly encoded bar code labels are required. Having described the invention in detail and by reference to the preferred embodiment thereof, it will be apparent that other modifications and variations are possible without departing from the scope of the invention defined in the appended claims.
Claims
- 1. A scanner for scanning bar code labels and for providing data related thereto to a host computer, comprising:
- scanning means for optically scanning bar code labels and providing an electrical signal in response thereto,
- decoding means, responsive to said scanning means for translating said electrical signal into a digital signal,
- microprocessor means, responsive to said decoding means, for controlling operation of said scanner and for translating said digital signal into data to be provided to the associated host computer under control of control characters,
- a non-volatile random access control memory in which control characters are stored,
- interface means, connected to said host computer and to said microprocessor means, for transferring data from said microprocessor means to said host computer, and
- switch means for enabling said microprocessor to translate said digital into control characters and for enabling said microprocessor to store said control characters in said non-volatile random access control memory.
- 2. The scanner of claim 1 in which said non-volatile random access control memory comprises an electrically erasable programmable read only memory.
- 3. The scanner of claim 1 in which said interface means comprises an optically isolated interface.
- 4. The scanner of claim 2 in which said non-volatile random access control memory comprises an EEPROM memory device.
- 5. The scanner of claim 1 in which said control characters are character sets which when read by the scanner indicate that two bar code labels are associated with the same item.
- 6. A scanner for scanning bar code labels on products presented to the scanner and for providing the data from the bar code labels to a host computer, comprising:
- scanning means for optically scanning bar code labels and providing an electrical signal in response thereto,
- decoding means, responsive to said scanning means, for translating said electrical signal into a digital signal,
- a non-volatile random access control memory in which a plurality of sets of control characters are stored, said sets of control characters defining characters which, if detected on a pair of successively scanned labels, indicate that the labels are affixed to the same product and further indiate which is the first and which is the second of the label pair,
- microprocessor means, responsive to said decoding means, for controlling operation of said scanner and for translating said digital signal into data to be provided to the associated host computer under control of control characters,
- interface means, connected to said host computer and to said microprocessor means, for transferring data from said microprocessor means to said host, and
- switch means for enabling said microprocessor means to translate said digital signal into control characters and for enabling said microprocessor to store said control characters in said non-volatile random access control memory.
- 7. The scanner of claim 6 in which said non-volatile random access control memory comprises an electrically erasable programmable rad only memory.
- 8. The scanner of claim 7 in which said non-volatile random access control memory comprises an EEPROM memory device.
- 9. The scanner of claim 7 in which said non-volatile random access control memory comprises a NOVRAM memory device.
- 10. A method of programming a bar code scanner of the type which optically scans bar code labels, said scanner including a switch and a non-volatile control memory in which at least one set of control characters is stored, said set of control characters defining characters which, if detected on a pair of successively scanned labels, indicate that the labels are affixed to the same product and further indicate which is the first and which is the second of the label pair, actuation of said switch indicating that control characters encoded on bar code labels which are scanned are to be stored in said non-volatile control memory, comprising the steps of:
- (a) providing at least one bar code label having sets of control characters encoded thereon,
- (b) actuating said switch,
- (c) scanning said at least one bar code label,
- (d) storing said set of control characters in said control memory, and
- (e) deactuating said switch.
- 11. A method of programming a scanner of the type which optically scans bar code labels, said scanner including a non-volatile control memory in which control characters are stored, comprising the steps of:
- (a) providing a programming bar code label with control characters encoded thereon;
- (b) scanning said programming bar code label with said scanner;
- (c) transmitting said control characters to said scanner non-volatile control memory for storage therein.
- 12. The method of claim 11 in which said control characters are character sets which when read by the scanner indicate that two bar code labels are associated with the same item.
US Referenced Citations (2)
Number |
Name |
Date |
Kind |
4463250 |
McNeight et al. |
Jul 1984 |
|
4675513 |
Kuze |
Jun 1987 |
|