JPH1194638A - Electronic meter - Google Patents

Electronic meter

Info

Publication number
JPH1194638A
JPH1194638A JP9273569A JP27356997A JPH1194638A JP H1194638 A JPH1194638 A JP H1194638A JP 9273569 A JP9273569 A JP 9273569A JP 27356997 A JP27356997 A JP 27356997A JP H1194638 A JPH1194638 A JP H1194638A
Authority
JP
Japan
Prior art keywords
printed circuit
memory
important data
circuit board
weighing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP9273569A
Other languages
Japanese (ja)
Inventor
Yuji Takahashi
雄次 高橋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba TEC Corp
Original Assignee
Toshiba TEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba TEC Corp filed Critical Toshiba TEC Corp
Priority to JP9273569A priority Critical patent/JPH1194638A/en
Publication of JPH1194638A publication Critical patent/JPH1194638A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PROBLEM TO BE SOLVED: To make sure whether a printed circuit board failure has properly been, repaired improve the maintainability of important data, and also analyze the failure precisely, by displaying an error indication on a display part in the event of discord of comparison results by a camparison means. SOLUTION: On turning on a power supply, a process of reading important data A written in an important-data area 42b of a first memory 42 attached to a first printed circuit board 31 is implemented, and then a process of reading important data B written in a third memory 52 of a second printed circuit board 32 is implemented. The important data A, B read out from the first and third memories 42, 52 mounted on the mutually different printed circuit boards 31, 32 are compared with each other and judged if they are the same or not by a comparison means. If the judgement is YES (A=B), it goes on to a next step, an ordinary weighing mode, and a process of weighing is implemented. If the judgement is NO (A≠B), an error indication is displayed on a display part.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、商店及び百貨店若
しくはスーパーマーケット等で使用される電子計量器に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic scale used in a store, a department store, a supermarket, or the like.

【0002】[0002]

【従来の技術】小形化の要請に伴い、電子計量器本体に
内蔵されるプリント基板をモジュール化して複数枚のプ
リント基板とした構成を有する電子計量器が提供されて
いる。この種電子計量器が備えるプリント基板は、図4
に例示されるようにプリンタ付き電子計量器の計量部及
び表示部等を制御するための主制御用第1プリント基板
1と、ラベルプリンタ部を制御するためのプリンタ制御
用第2プリント基板2と、キー入力部を制御するための
キー制御用第3プリント基板3とにモジュラーボード化
されている。
2. Description of the Related Art In response to a demand for miniaturization, an electronic measuring instrument having a configuration in which a printed circuit board incorporated in an electronic measuring instrument main body is modularized into a plurality of printed circuit boards has been provided. The printed circuit board of this type of electronic weighing machine is shown in FIG.
As shown in FIG. 1, a main control first printed circuit board 1 for controlling a weighing unit and a display unit of an electronic weighing machine with a printer, a printer control second printed circuit board 2 for controlling a label printer unit, and the like. And a third board for key control 3 for controlling a key input unit.

【0003】第1プリント基板1には、CPU4と、第
1〜第3のメモリ5〜7と、第1、第2のインターフェ
ース8、9とが夫々取付けられている。第1メモリ5は
EPROMで形成され、第2メモリ6は電池10により
バックアップされたRAMからなり、又、第3メモリ7
はEEPROMで形成されている。第1インターフェー
ス8は第2プリント基板2との接続用であり、第2イン
ターフェース9は第3プリント基板3との接続用であ
る。
The first printed circuit board 1 is provided with a CPU 4, first to third memories 5 to 7, and first and second interfaces 8, 9 respectively. The first memory 5 is formed of an EPROM, the second memory 6 is formed of a RAM backed up by a battery 10, and the third memory 7
Is formed of an EEPROM. The first interface 8 is for connection to the second printed circuit board 2, and the second interface 9 is for connection to the third printed circuit board 3.

【0004】第2プリント基板2には、プリンタコント
ローラ11と、モータドライバー12と、ヘッドドライ
バー13と、センサI/O14と、第3インターフェー
ス15とが夫々取付けられている。モータドライバー1
2はラベルプリンタ部での用紙送りを行なうモータを駆
動させるものであり、ヘッドドライバー13はラベルプ
リンタ部での印字ヘッドを動作させるものであり、又、
センサI/O14は前記用紙等を検出するセンサの入出
力を行なわせるものである。第3インターフェース15
は前記第1インターフェース8と電気的に接続されるも
のである。
[0004] A printer controller 11, a motor driver 12, a head driver 13, a sensor I / O 14, and a third interface 15 are mounted on the second printed circuit board 2, respectively. Motor driver 1
Numeral 2 drives a motor for feeding paper in the label printer unit, a head driver 13 operates a print head in the label printer unit, and
The sensor I / O 14 inputs and outputs a sensor for detecting the paper and the like. Third interface 15
Is electrically connected to the first interface 8.

【0005】第3プリント基板3には、キーコントロー
ラ16と、第4、第5のインターフェース17、18と
が夫々取付けられている。第4インターフェース17は
前記第2インターフェース9と電気的に接続されるもの
であり、第5インターフェースはキー入力部と電気的に
接続されるものである。
A key controller 16 and fourth and fifth interfaces 17 and 18 are mounted on the third printed circuit board 3, respectively. The fourth interface 17 is electrically connected to the second interface 9, and the fifth interface is electrically connected to the key input unit.

【0006】前記のようにモジュラーボード化された複
数枚のプリント基板1〜3を備えた電子計量器におい
て、その計量動作を行なわせるプログラム等はEPRO
M製の第1メモリ5に記録され、第2メモリ6は各種の
商品情報が記録された商品情報テーブル用のメモリ、つ
まり、PLUメモリとして使用され、又、データの書き
換えが電気的に可能なEEPROMからなる第3メモリ
7には、計量部に関する重要データが記録されていて、
これらの記録内容に基づく主制御部4での制御動作によ
り、計量動作が営まれるようになっている。
In an electronic weighing machine having a plurality of printed circuit boards 1 to 3 formed as a modular board as described above, a program or the like for performing the weighing operation is EPRO.
The first memory 5 made of M is used as a memory for a product information table in which various types of product information are recorded, that is, a PLU memory, and the data can be electrically rewritten. In a third memory 7 composed of an EEPROM, important data relating to the weighing unit is recorded.
A weighing operation is performed by the control operation of the main control unit 4 based on these recorded contents.

【0007】前記第3メモリ7に重要データを記録する
ことは、電池10でバックアップされた第2メモリ6の
ように電池切れにより記録されたデータが失われるおそ
れがない点で優れている。なお、前記重要データとして
は、少なくとも計量法上保護されるべき計量部の零点及
びスパンについてデータが挙げることができ、その他
に、第3メモリ7の記録エリアに空きスペースがあれ
ば、そこに、イニシャル設定値、エラー履歴、電子計量
器のシリアル番号(製造番号)、ラベルプリンタ付きの
場合にはラベル発行枚数及び印字ヘッド(サーマルヘッ
ド)の断線等の故障個所等も、重量データとして書込ま
れることがある。
Recording important data in the third memory 7 is excellent in that there is no risk of losing recorded data due to a battery exhaustion unlike the second memory 6 backed up by the battery 10. As the important data, at least data on the zero point and the span of the measuring unit to be protected under the Measurement Law can be given. In addition, if there is an empty space in the recording area of the third memory 7, The initial set value, error history, serial number (serial number) of the electronic weighing machine, the number of labels to be issued when a label printer is installed, and the location of trouble such as disconnection of the print head (thermal head) are also written as weight data. Sometimes.

【0008】[0008]

【発明が解決しようとする課題】ところで、故障により
第1プリント基板1の交換が必要な場合、従来の電子計
量器においてはEEPROM製の第3メモリ7に記録さ
れている重要データを、交換された新たな第1プリント
基板に移植する必要がある。そのために、通常は、第3
メモリ7をソケットにより第1プリント基板1に対して
着脱可能としてあって、それにより、第3メモリ7を入
れ替えるようにしている。
When the first printed circuit board 1 needs to be replaced due to a failure, the important data recorded in the third memory 7 made of EEPROM in the conventional electronic measuring instrument is replaced. It is necessary to transplant to a new first printed circuit board. Therefore, usually the third
The memory 7 is detachable from the first printed circuit board 1 by a socket, so that the third memory 7 is replaced.

【0009】しかし、修理の際に第3メモリ7が確実に
入れ替えられる保証はなく、仮に、第3メモリ7に故障
原因があって、その交換がうっかり忘れられた場合に
は、修理が適正に行なわれたかどうか確認する手段がな
いため、修理された電子計量器が誤計量をしてしまうこ
とになる。
However, there is no guarantee that the third memory 7 will be surely replaced at the time of repair. If the third memory 7 has a failure cause and the replacement is inadvertently forgotten, the repair is properly performed. Since there is no means for confirming whether or not the operation has been performed, the repaired electronic weighing machine will incorrectly weigh.

【0010】しかも、ラベルプリンタ付きの電子計量器
において、重要データとして、ラベルプリンタ部のサー
マルヘッドに印加する電圧を決める抵抗の抵抗値が記録
されていて、この抵抗値が狂っていることが故障原因と
なっている場合には、修理に拘らず第3メモリ7が放置
されることにより、違うエネルギーで印字させる状態が
継続してしまうから、印字品質や前記ヘッドの寿命を損
なうことになる。
In addition, in an electronic weighing machine with a label printer, the resistance value of a resistor that determines the voltage applied to the thermal head of the label printer section is recorded as important data. In the case where the cause is the cause, since the third memory 7 is left irrespective of the repair, the state in which printing is performed with different energy continues, so that the printing quality and the life of the head are impaired.

【0011】又、重要データとしてラベルプリンタ部で
印字されたラベルの発行枚数やエラー履歴等が第3メモ
リ7に記録されていて、それを新たな第3メモリに移植
し忘れた場合には、前記ラベル発行枚数やエラー履歴等
がわからなくなるので、保守上において定期交換部品の
交換時期等を管理できなくなってしまう。
If the number of labels issued by the label printer unit, the error history, and the like are recorded as important data in the third memory 7, and if they are forgotten to be transferred to a new third memory, Since the number of labels issued, the error history, and the like are not known, it is not possible to manage the time of replacement of the periodic replacement parts during maintenance.

【0012】更に、ラベルプリンタ部に故障があって、
第1プリント基板1を交換した場合に、第3メモリ7に
記録されていたプリンタ部に関する情報、つまり、製造
番号、及びラベル発行枚数やエラー履歴等を入手し難い
ので、故障原因を正確に解析できないという問題があ
る。
Further, if the label printer has a failure,
When the first printed circuit board 1 is replaced, it is difficult to obtain information about the printer unit recorded in the third memory 7, that is, the serial number, the number of labels issued, the error history, and the like, so that the cause of the failure is accurately analyzed. There is a problem that can not be.

【0013】又、プログラムを記録した第1メモリ5に
EPROMを使用している従来の電子計量器では、プロ
グラムに不良があったり、プログラムをバージョンアッ
プする場合には、データの書き換えができないEPRO
M製の第1メモリ5の交換を余儀なくされるという問題
がある。
In a conventional electronic measuring instrument using an EPROM as the first memory 5 in which a program is recorded, there is a defect in the program or, when the program is upgraded, an EPRO in which data cannot be rewritten.
There is a problem that the first memory 5 made of M must be replaced.

【0014】ところで、電気的に記録内容を書き換える
ことができるメモリとしてEEPROMの他に、これよ
りも記録容量が大きいフラッシュメモリが提供されてお
り、このメモリを第1メモリ5として使用することが考
えられている。このようなフラッシュメモリを採用する
場合には、外部から適当なインターフェースを介してプ
ログラムロードすることができるので、プログラムのバ
ージョンアップ等に容易に対応できる。
Incidentally, in addition to an EEPROM, a flash memory having a larger recording capacity is provided as an electrically rewritable memory, and it is considered that this memory is used as the first memory 5. Have been. When such a flash memory is adopted, a program can be loaded from outside through an appropriate interface, so that it is possible to easily cope with an upgrade of the program.

【0015】そして、こうしたフラッシュメモリを第1
メモリ5として第1プリント基板1に取付ける場合に、
このメモリ5に重要データを書込むいった使い方が考え
られていて、そうする場合には、第1プリント基板1の
EEPROM製の第3メモリ7を省略できる。
Then, such a flash memory is used as a first flash memory.
When attaching to the first printed circuit board 1 as the memory 5,
A method of writing important data into the memory 5 is considered. In such a case, the third memory 7 made of the EEPROM of the first printed circuit board 1 can be omitted.

【0016】しかし、フラッシュメモリ製の第1メモリ
5に重要データを書込んだ場合、このメモリ5にプログ
ラムを書込む時に、このメモリ5に書込まれている重要
データが誤って損傷を受けたり消去されてしまう恐れが
ある。
However, when important data is written in the first memory 5 made of flash memory, the important data written in the memory 5 may be erroneously damaged when a program is written in the first memory 5. There is a risk of being erased.

【0017】したがって、本発明が解決しようとする課
題は、プリント基板の故障に対する修理が適正に行なわ
れたかどうかを確認できるとともに、重要データの保全
性を向上でき、かつ、故障解析も正確にできる電子計量
器を得ることにある。
Therefore, the problem to be solved by the present invention is to confirm whether or not the repair of the printed circuit board has been properly performed, to improve the integrity of important data, and to accurately analyze the failure. It is to obtain an electronic measuring instrument.

【0018】[0018]

【課題を解決するための手段】本発明は、計量部及び表
示部を備えるとともに、前記計量部での計量を制御する
ための計量制御用の第1プリント基板と、この基板とは
別の第2プリント基板とを含む複数枚のプリント基板を
備えた電子計量器を前提とする。
According to the present invention, there is provided a first printed circuit board for weighing control for controlling weighing by the weighing section, the first printed circuit board having a weighing section and a display section, and a second printed circuit board separate from the board. It is assumed that an electronic weighing machine includes a plurality of printed boards including two printed boards.

【0019】そして、前記課題を解決するために、請求
項1の発明は、前記第1、第2のプリント基板の夫々に
取付けられ、電気的にデータの書き換えが可能であると
ともに前記計量部に関する同一の重要データが夫々書込
まれたメモリと、これら両メモリに書込まれた前記重要
データが同じであるかどうか比較する比較手段と、この
比較手段による比較結果が不一致の場合に前記表示部に
エラー表示をさせるエラー表示手段と、を具備したもの
である。
According to another aspect of the present invention, there is provided a weighing unit which is attached to each of the first and second printed circuit boards, is capable of electrically rewriting data, and is provided with the weighing unit. A memory in which the same important data is written respectively; a comparing means for comparing whether the important data written in both memories are the same; and a display unit when the comparison result by the comparing means does not match. And an error display means for displaying an error.

【0020】この請求項1の発明においては、比較手段
により第1、第2のプリント基板に取付けられた夫々の
メモリに記憶された重要データ同志を読み出して比較す
るから、修理において、一方のメモリが交換された場
合、及び交換が必要であるにも拘らずうっかり交換され
なかった場合等に、他方の健全なメモリを基準として前
記一方の交換又は非交換のメモリが適正な記録内容を持
つものであるかどうかを判断できる。そして、前記双方
のメモリに書込まれている重要データが一致しない場合
には、エラー表示手段により表示部にエラー表示がなさ
れる。したがって、エラー表示の有無によりプリント基
板の故障に対する修理が適正に行なわれたかどうかを確
認できる。しかも、プログラムのバージョンアップ等の
際の新たなプログラムロードにおいて、万が一、一方の
メモリに書込まれた重要データが損傷等を受けても、他
方のメモリを元に重要データを復元でき、このように第
1、第2のプリント基板に取付けられた夫々のメモリの
一方を、他方のメモリに対するバックアップとして利用
できるので、重要データの保全性を向上できる。更に、
第1、第2のプリント基板に取付けられた夫々のメモリ
には既述のように重要データが書込まれているので、故
障に際しての解析においていずれかのメモリから重要デ
ータを入手できるので、故障解析を正確にできる。
In the first aspect of the present invention, the important data stored in the respective memories attached to the first and second printed circuit boards are read out by the comparing means and compared with each other. If one of the exchanged or non-exchanged memory has proper recorded contents based on the other sound memory, when the memory is replaced, or when it is necessary to be replaced but it is not inadvertently replaced, etc. Can be determined. If the important data written in the two memories do not match, an error display means displays an error on the display unit. Therefore, whether or not the repair of the failure of the printed circuit board has been properly performed can be confirmed based on the presence or absence of the error display. Moreover, even if important data written to one memory is damaged in the event of a new program load at the time of a program version upgrade, important data can be restored based on the other memory. Since one of the memories attached to the first and second printed circuit boards can be used as a backup for the other memory, the integrity of important data can be improved. Furthermore,
Since the important data is written in the respective memories attached to the first and second printed circuit boards as described above, the important data can be obtained from one of the memories in the analysis at the time of failure. Analysis can be accurate.

【0021】[0021]

【発明の実施の形態】以下、図1〜図3を参照して本発
明の第1の実施の形態を説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A first embodiment of the present invention will be described below with reference to FIGS.

【0022】図1はプリンタ付き電子計量器の全体構成
を示す斜視図であって、この図中21は電子計量器本
体、22は計量部、23はキー入力部、24は表示部、
25はラベルを発行するプリンタ部である。
FIG. 1 is a perspective view showing the overall configuration of an electronic measuring instrument with a printer, in which 21 is an electronic measuring instrument main body, 22 is a measuring section, 23 is a key input section, 24 is a display section,
Reference numeral 25 denotes a printer unit that issues a label.

【0023】計量部22は、電子計量器本体21の上面
に露出する計量皿22a及びこの皿22aの下側に配置
された図示しない計量機構を備えている。キー入力部2
3は、電子計量器本体21の前面に設けられていて、販
売される商品の種別毎に割り当てられた商品キー群23
aと、これに隣接されテンキー等を含む他の入力キー群
23bとを備えている。表示部24は、電子計量器本体
21の後部上方に支柱26を介して配置されており、そ
こには販売される商品の名前、重さ、個数、単価、販売
金額、お釣の金額等の販売商品に係る各種の情報が表示
されるようになっている。プリンタ部25は、電子計量
器本体21の一側部に設けられ、販売される商品につい
ての前記各種の情報などを例えばラベル印刷するもので
あり、印刷されたラベルは、ラベル発行出口25aから
オペレータが居る前方に向けて供給されて、オペレータ
により販売される商品に貼付けられるようになってい
る。このプリンタ部25が備える印字ヘッドには例えば
サーマルヘッドが使用されている。
The weighing section 22 includes a weighing dish 22a exposed on the upper surface of the electronic weighing instrument main body 21 and a weighing mechanism (not shown) arranged below the dish 22a. Key input unit 2
Reference numeral 3 denotes a product key group 23 provided on the front of the electronic weighing machine main body 21 and assigned to each type of sold product.
a, and another input key group 23b adjacent to the input key and including a numeric keypad. The display unit 24 is disposed above the rear part of the electronic measuring device main body 21 via a support 26, and sells the name, weight, quantity, unit price, sales price, amount of change, etc. of the product to be sold there. Various kinds of information on the product are displayed. The printer unit 25 is provided on one side of the electronic weighing machine main body 21 and prints, for example, the above-described various kinds of information on a product to be sold, in a label form. Is supplied toward the front where the product is located, and is attached to a product sold by an operator. For example, a thermal head is used as a print head provided in the printer unit 25.

【0024】この電子計量器は、計量皿22上に販売商
品を載せることにより計量機構により得られる重量情報
と、キー入力部23から入力される商品の指定及び販売
個数の指定や入金情報等に基づき図示しない電子回路で
の処理によって、自動的に販売される商品についての既
述の各種の情報が得られるように処理して、それを表示
部24に表示させるとともに、プリンタ部25で印刷さ
せるようになっている。
This electronic weighing machine has a function of adding weight information obtained by a weighing mechanism by placing a product for sale on a weighing pan 22, designation of a product and designation of the number of products to be input from a key input unit 23, and payment information. Based on the processing in an electronic circuit (not shown), the above-described various kinds of information on the products to be automatically sold are processed so as to be obtained, and are displayed on the display unit 24 and printed by the printer unit 25. It has become.

【0025】前記電子計量器本体21内には前記計量部
22、キー入力部23、表示部24、及びプリンタ部2
5などを制御するための制御装置が内蔵されており、こ
の装置が備えるモジュラー化された複数枚例えば第1〜
第3のプリント基板31、32、33の構成が図2に示
されている。
In the electronic weighing machine main body 21, the weighing section 22, the key input section 23, the display section 24, and the printer section 2 are provided.
5 is built in, and a plurality of modularized devices provided in this device, for example,
The structure of the third printed circuit boards 31, 32, 33 is shown in FIG.

【0026】例えばマザーボードとして使用される第1
プリント基板31は計量部22及び表示部24等を制御
するための主制御用であり、これには、CPU41と、
このCPU41に双方向バスを介して夫々接続された第
1、第2のメモリ42、43、及び第1〜第3のインタ
ーフェース44〜46とが夫々取付けられているととも
に、第2メモリ43をバックアップする電池47が取付
けられている。なお、図示しないが前記計量機構が有す
る計量センサもCPU41にバスを介して接続され、計
量された販売商品の重量についてのディジタルデータが
前記計量センサから取出されるようになっている。
For example, the first used as a motherboard
The printed circuit board 31 is used for main control for controlling the measuring unit 22, the display unit 24, and the like.
First and second memories 42 and 43 and first to third interfaces 44 to 46 respectively connected to the CPU 41 via a bidirectional bus are attached to the CPU 41, and the second memory 43 is backed up. A battery 47 is mounted. Although not shown, a weighing sensor included in the weighing mechanism is also connected to the CPU 41 via a bus, so that digital data on the weight of the weighed product for sale is extracted from the weighing sensor.

【0027】第1、第2のメモリ42、43はメモリ部
を構成し、これと主制御部をなす前記CPU41とによ
り、電子計量器全般の動作を制御する制御手段が形成さ
れている。第1メモリ42には、電気的にデータの書き
換えが可能なメモリ、例えばフラッシュメモリが使用さ
れ、第2メモリ43はRAMで形成されている。第1メ
モリ42は、プログラムエリア42aと、プログラムロ
ード禁止エリアとして指定される重要データエリア42
bとを有している。
The first and second memories 42 and 43 constitute a memory section, and the CPU 41 as a main control section forms control means for controlling the operation of the entire electronic weighing machine. A memory in which data can be electrically rewritten, for example, a flash memory is used as the first memory 42, and the second memory 43 is formed of a RAM. The first memory 42 includes a program area 42a and an important data area 42 designated as a program load inhibition area.
b.

【0028】プログラムエリア42aには電子計量器を
動作させるのに必要な各種のプログラム等が書込まれ、
又、重要データエリア42bには重要データが書込まれ
ている。ここに重要データとしては、少なくとも計量法
上保護されるべき計量部22の計量機構の零点及びスパ
ンについてデータであり、その他に、この第1の実施の
形態では、イニシャル設定値やリモートメンテナンスや
定期点検や保守面に有利に適合し得るように、エラー履
歴、電子計量器のシリアル番号(製造番号)、ラベル発
行枚数、サーマルヘッドの断線等の故障個所、サーマル
ヘッドに印加する電圧を決める抵抗の抵抗値等も、重量
データとして書込まれている。
Various programs and the like necessary for operating the electronic scale are written in the program area 42a.
Important data is written in the important data area 42b. Here, the important data is data on at least the zero point and the span of the weighing mechanism of the weighing unit 22 to be protected by the measurement method. In addition, in the first embodiment, initial setting values, remote maintenance, The error history, the serial number (serial number) of the electronic weighing machine, the number of labels issued, the location of the failure such as the disconnection of the thermal head, and the resistance of the resistor that determines the voltage applied to the thermal head so that it can be advantageously adapted to inspection and maintenance. The resistance value and the like are also written as weight data.

【0029】第1インターフェース44は第2プリント
基板32との接続用であり、第2インターフェース45
は第3プリント基板33との接続用である。又、第3イ
ンターフェース46は、リモートメンテナンス、つま
り、電話回線を通じて各種のデータ(前記エラー履歴、
電子計量器のシリアル番号、ラベル発行枚数、サーマル
ヘッドの断線等の故障個所、サーマルヘッドの抵抗値
等)をメンテナンス会社が取込んで、該当する電子計量
器にメンテナンスが必要であるかどうか等を把握させる
ための回線接続用である。
The first interface 44 is for connection with the second printed circuit board 32, and the second interface 45
Is for connection with the third printed circuit board 33. The third interface 46 is used for remote maintenance, that is, various data (the error history,
The maintenance company takes in the serial number of the electronic weighing instrument, the number of labels issued, broken parts of the thermal head such as disconnection, and the resistance value of the thermal head, etc., and determines whether maintenance is necessary for the applicable electronic weighing instrument. It is for line connection to make it grasp.

【0030】ドーターボードとして使用される第2プリ
ント基板32はプリンタ部25を制御するためのプリン
タ制御用であり、これにはCPU又はゲートアレイ等か
らなるプリンタコントローラ51と、このコントローラ
51に双方向バスを介して夫々接続された第3メモリ5
2と、モータドライバー53と、ヘッドドライバー54
と、センサI/O55と、第4インターフェース56と
が夫々取付けられている。
A second printed circuit board 32 used as a daughter board is used for controlling a printer for controlling the printer unit 25. The second printed circuit board 32 includes a printer controller 51 including a CPU or a gate array, and a bidirectional controller. Third memories 5 respectively connected via a bus
2, a motor driver 53, and a head driver 54
, A sensor I / O 55, and a fourth interface 56 are mounted respectively.

【0031】第3メモリ52には、電気的にデータの書
き換えが可能なメモリ、例えばフラッシュメモリよりも
安価なEEPROMが使用されていて、これには前記第
1メモリ42の重要データエリア42bに書込まれて保
存された重要データと同一データが書込まれている。モ
ータドライバー53はプリンタ部25での用紙送りを行
なうモータを駆動させるものであり、ヘッドドライバー
54はプリンタ部25でのサーマルヘッドを動作させる
ものであり、又、センサI/O55は前記用紙等を検出
するセンサに対する入出力を行なわせるものである。第
4インターフェース56は前記第1インターフェース4
4と電気的に接続されるものである。
As the third memory 52, an electrically rewritable memory, for example, an EEPROM cheaper than a flash memory is used. The same data as the important data stored and written is written. The motor driver 53 drives a motor for feeding paper in the printer unit 25, the head driver 54 operates a thermal head in the printer unit 25, and the sensor I / O 55 detects the paper and the like. Input / output to / from the sensor. The fourth interface 56 is the first interface 4
4 is electrically connected.

【0032】ドーターボードとして使用される第3プリ
ント基板33は、前記キー入力部23を制御するための
キー制御用であって、これには、キーコントローラ61
と、このコントローラ61に双方向バスを介して接続さ
れた第5、第6のインターフェース62、63とが夫々
取付けられている。第5インターフェース62は前記第
2インターフェース45と電気的に接続されるものであ
り、第6インターフェース63はキー入力部23と電気
的に接続されるものである。
The third printed circuit board 33 used as a daughter board is used for key control for controlling the key input section 23, and includes a key controller 61.
And fifth and sixth interfaces 62 and 63 connected to the controller 61 via a bidirectional bus, respectively. The fifth interface 62 is electrically connected to the second interface 45, and the sixth interface 63 is electrically connected to the key input unit 23.

【0033】前記構成のプリンタ付き電子計量器の構成
によれば、その全般的な動作の制御を司る第1プリント
基板31に搭載された第1メモリ42にフラッシュメモ
リを採用したことに伴い、この第1メモリ42には外部
から適当なインターフェースを介してプログラムロード
することができるので、第1メモリ42若しくは第1プ
リント基板31全体のボード交換を必要とすることな
く、プログラムに不良があった場合の修復や、プログラ
ムのバージョンアップ等に容易に対応できる。
According to the configuration of the electronic weighing machine with a printer having the above-described configuration, the flash memory is employed as the first memory 42 mounted on the first printed circuit board 31 which controls the overall operation of the electronic weighing machine. Since the first memory 42 can be externally loaded with a program through an appropriate interface, the first memory 42 or the entire first printed circuit board 31 does not need to be replaced with a new board. Can be easily repaired or the program can be upgraded.

【0034】しかも、このフラッシュメモリ製の第1メ
モリ42の記憶エリアの一部を利用して、そこに、計量
部22等に関する重要データを書込むことができ、それ
により、第1プリント基板31に搭載する部品数を少な
くして、この基板31の実装構造を簡単にすることがで
きる。
Moreover, by using a part of the storage area of the first memory 42 made of flash memory, important data relating to the weighing section 22 and the like can be written therein. The number of components mounted on the substrate 31 can be reduced, and the mounting structure of the substrate 31 can be simplified.

【0035】又、前記プリンタ付き電子計量器において
は、電源が投入される度に、前記制御手段により図3に
示すフローチャートにしたがって重要データの確認動作
が実行される。
In the electronic weighing machine with a printer, every time the power is turned on, an operation of confirming important data is executed by the control means in accordance with the flowchart shown in FIG.

【0036】すなわち、電源が投入されると、ステップ
1の実行により、第1プリント基板31に取付けられた
第1メモリ42の重要データエリア42bに書込まれて
いる重要データAを読み込む処理がなされた後、次のス
テップ2が実行されて、第2プリント基板32の第3メ
モリ52に書込まれている重要データBを読み込む処理
がなされる。
That is, when the power is turned on, the processing of reading important data A written in the important data area 42b of the first memory 42 attached to the first printed circuit board 31 is performed by executing step 1. After that, the next step 2 is executed, and processing for reading the important data B written in the third memory 52 of the second printed circuit board 32 is performed.

【0037】そして、前記のように互いに異なるプリン
ト基板31、32に搭載された第1、第3メモリ42、
52から前記ステップ1、2で読み出されたが夫々の重
要データA、Bは、次のステップ3により比較されて同
じであるかどうかを判断される。(比較手段)このステ
ップ3での判断がYESの場合(A=B)にはステップ
4に移行する。それにより、通常の計量モードに移行し
て計量を行なわせる処理がなされる。
The first and third memories 42 mounted on the printed boards 31 and 32 different from each other as described above.
From step 52, the important data A and B read out in steps 1 and 2 are compared in step 3 to determine whether they are the same. (Comparison means) If the determination in step 3 is YES (A = B), the process proceeds to step 4. As a result, a process for shifting to the normal weighing mode and performing weighing is performed.

【0038】又、ステップ3での判断がNOの場合(A
≠B)にはステップ5に移行して表示部24にエラー表
示をさせる。(エラー表示手段)そして、ステップ5に
続くステップ6では、エラー表示以外の動作をすべて停
止する処理が行なわれる。それにより、計量動作が行わ
れることがないので、前記エラー表示とあいまってオペ
レータ等は、重要データに問題があることを確認でき
る。なお、この状態は電源を切ることによって解消され
る。
If the determination in step 3 is NO (A
In step (B), the process proceeds to step S5 to display an error on the display unit 24. (Error Display Means) Then, in step 6 following step 5, processing for stopping all operations other than error display is performed. As a result, since the weighing operation is not performed, the operator or the like can confirm that there is a problem with the important data in combination with the error display. This state is resolved by turning off the power.

【0039】すなわち、例えば、フラッシュメモリ製の
第1メモリ42へのプログラムロード(なお、プログラ
ムデータの書込みだけではなく、書込まれたデータの消
去、すなわち、クリヤーを含む。)の際に、誤って、プ
ログラムロード禁止エリアに指定された重要データエリ
ア42b内の重要データが損傷を受けたり消去されてし
まう場合がある。又、故障により第1プリント基板31
又は第2プリント基板32の交換が必要な場合、その第
1メモリ42又は第3メモリ52に記録されている重要
データを、交換された新たな第1プリント基板又は新た
な第2プリント基板に移植する必要があるが、この移植
がメンテナンスにおいて確実に行なわれる保証がない。
That is, for example, when a program is loaded into the first memory 42 made of a flash memory (including not only writing of program data but also erasing of written data, that is, including clearing), an error occurs. As a result, important data in the important data area 42b designated as the program load prohibition area may be damaged or erased. In addition, the first printed circuit board 31
Alternatively, when the second printed circuit board 32 needs to be replaced, the important data recorded in the first memory 42 or the third memory 52 is transferred to the replaced new first printed circuit board or new second printed circuit board. However, there is no guarantee that this transplant will be performed during maintenance.

【0040】このような場合においても、修理作業等の
終了後に計量器の電源を投入することにより、既述のよ
うに第1、第3のメモリ42、52の重要データを夫々
読み出して、それらを比較手段で一致しているかどうか
判定して、不一致の場合にはエラー表示手段により表示
部24にエラー表示させるから、ボード交換等に伴い計
量部22の零点及びスパン等の重要データの調整等が適
正に行なわれたどうかを確認することができる。
Even in such a case, by turning on the power of the measuring instrument after the completion of the repair work or the like, the important data in the first and third memories 42 and 52 are read out as described above, and Is determined by the comparing means to determine whether they match, and if they do not match, an error is displayed on the display unit 24 by the error display means. Can be confirmed whether or not was performed properly.

【0041】その場合、交換を要しないで残されたいず
れか一方のプリント基板31又は32の第1又は第3の
メモリ42又は52は健全であるので、これを校正用の
基準メモリとして、それから他方のメモリに前記健全な
重要データをキー入力部23などを介してコピー操作に
より容易に移植することができる。このように第1、第
2のプリント基板31、32に取付けられた夫々のメモ
リ42、52の一方を、他方のメモリに対するバックア
ップとして利用できるので、重要データの保全性を向上
できる。
In this case, since the first or third memory 42 or 52 of one of the printed circuit boards 31 or 32 which is left without replacement is sound, it is used as a reference memory for calibration. The sound important data can be easily transferred to the other memory by a copy operation via the key input unit 23 or the like. As described above, one of the memories 42 and 52 attached to the first and second printed circuit boards 31 and 32 can be used as a backup for the other memory, so that the integrity of important data can be improved.

【0042】そして、修理に際しては、前記のように第
1又は第3のメモリ42又は52のうちのいずれか一方
から健全な重要データを入手できる。それにより、故障
に関する情報、つまり、製造番号、及びラベル発行枚数
やエラー履歴等を入手できるので、故障原因を正確に解
析できる。
At the time of repair, sound important data can be obtained from one of the first and third memories 42 and 52 as described above. As a result, information on the failure, that is, the serial number, the number of labels issued, the error history, and the like can be obtained, so that the cause of the failure can be accurately analyzed.

【0043】したがって、仮に、前記のようにメンテナ
ンスが不完全であって、第1メモリ42の重要データが
万一損傷を受けた場合等においても、それを容易に確認
できるので、誤った重要データに基づいて誤計量をして
しまうことがない。
Therefore, even if the maintenance is incomplete as described above and the important data in the first memory 42 is damaged, it can be easily confirmed. Erroneous weighing based on

【0044】しかも、前記のように重要データの保全性
が優れているので、本実施形態のように重要データとし
て、プリンタ部25のサーマルヘッドの抵抗値が記録さ
れている場合には、それも当然に保全される。そのた
め、修理後の使用において違うエネルギーで印字させる
状態が継続することがなく、適正エネルギーで印字で
き、印字品質やサーマルヘッドの寿命を損なうことを防
止でき、プリンタ部25の保全性も向上できる。
In addition, since the integrity of the important data is excellent as described above, if the resistance value of the thermal head of the printer unit 25 is recorded as the important data as in the present embodiment, it is not necessary. Naturally preserved. Therefore, a state in which printing is performed with different energy during use after repair does not continue, printing can be performed with appropriate energy, printing quality and life of the thermal head can be prevented from being impaired, and the integrity of the printer unit 25 can be improved.

【0045】同様に、本実施形態のように重要データと
して、プリンタ部25で印字されたラベルの発行枚数や
エラー履歴、サーマルヘッドの断線等の故障個所の履
歴、及び製品番号等が記録されている場合には、それも
当然に保全され、かつ、第1プリント基板31にはリモ
ートコントロール用の第3インターフェース46が設け
られていて、電話回線を通じて外部のメンテナンス会社
に接続されているので、メンテナンス会社による定期的
なリモートメンテナンスを実施させることが可能とな
り、それに基づき、保守上において必要とされる定期交
換部品の交換時期等を管理できる。
Similarly, as in the present embodiment, as the important data, the number of labels issued by the printer unit 25, the error history, the history of faulty locations such as thermal head disconnection, and the product number are recorded. In this case, since it is naturally maintained, the first printed circuit board 31 is provided with a third interface 46 for remote control, and is connected to an external maintenance company through a telephone line. It is possible for the company to carry out regular remote maintenance, and based on this, it is possible to manage the time of replacement of periodic replacement parts required for maintenance.

【0046】[0046]

【発明の効果】本発明は、以上説明したような形態で実
施され、以下に記載されるような効果を奏する。
The present invention is embodied in the form described above and has the following effects.

【0047】請求項1に記載の発明によれば、第1、第
2のプリント基板に取付けられた夫々のメモリに記憶さ
れた重要データの比較に従い、両重要データが一致しな
い場合にはエラー表示手段が表示部にエラー表示をする
から、エラー表示の有無によりプリント基板の故障に対
する修理が適正に行なわれたかどうかを確認できる。し
かも、第1、第2のプリント基板に取付けられた夫々の
メモリの一方を、他方のメモリに対するバックアップと
して利用したので、重要データの保全性を向上できる。
更に、故障に際しての解析においても重要データを第
1、第2のプリント基板に取付けられたいずれかのメモ
リから入手できるので、故障解析も正確にできる。
According to the first aspect of the present invention, according to the comparison of the important data stored in the respective memories attached to the first and second printed circuit boards, if both important data do not match, an error is displayed. Since the means displays an error on the display unit, it can be confirmed whether or not the repair of the failure of the printed circuit board has been properly performed based on the presence or absence of the error display. In addition, since one of the memories attached to the first and second printed circuit boards is used as a backup for the other memory, the integrity of important data can be improved.
Further, in the analysis at the time of failure, important data can be obtained from any of the memories attached to the first and second printed circuit boards, so that failure analysis can be performed accurately.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の第1の実施の形態に係るプリンタ付き
電子計量器の全体構成を示す斜視図。
FIG. 1 is a perspective view showing the overall configuration of an electronic measuring instrument with a printer according to a first embodiment of the present invention.

【図2】図1に示された電子計量器が備えるプリント基
板相互の関係を示す図。
FIG. 2 is a view showing a relationship between printed circuit boards included in the electronic measuring device shown in FIG. 1;

【図3】図1に示された電子計量器のプログラムを示す
フローチャート。
FIG. 3 is a flowchart showing a program of the electronic weighing machine shown in FIG. 1;

【図4】従来の電子計量器が備えるプリント基板相互の
関係を示す図。
FIG. 4 is a view showing a relationship between printed circuit boards provided in a conventional electronic measuring instrument.

【符号の説明】[Explanation of symbols]

21…電子計量器本体、 22…計量部、 23…キー入力部、 24…表示部、 25…プリンタ部、 31…第1プリント基板、 32…第2プリント基板、 33…第3プリント基板、 42…第1プリント基板の第1メモリ、 42b…第1メモリの重要データエリア、 52…第2プリント基板の第3メモリ。 DESCRIPTION OF SYMBOLS 21 ... Electronic measuring device main body, 22 ... Measuring part, 23 ... Key input part, 24 ... Display part, 25 ... Printer part, 31 ... 1st printed circuit board, 32 ... 2nd printed circuit board, 33 ... 3rd printed circuit board, 42 .., A first memory of the first printed circuit board, 42 b, an important data area of the first memory, 52, a third memory of the second printed circuit board.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】計量部及び表示部を備えるとともに、前記
計量部での計量を制御するための計量制御用の第1プリ
ント基板と、この基板とは別の第2プリント基板とを含
む複数枚のプリント基板を備えた電子計量器において、 前記第1、第2のプリント基板の夫々に取付けられ、電
気的にデータの書き換えが可能であるとともに前記計量
部に関する同一の重要データが夫々書込まれたメモリ
と、 これら両メモリに書込まれた前記重要データが同じであ
るかどうか比較する比較手段と、 この比較手段による比較結果が不一致の場合に前記表示
部にエラー表示をさせるエラー表示手段と、を具備した
ことを特徴とする電子計量器。
1. A plurality of sheets each including a weighing unit and a display unit, including a first printed board for weighing control for controlling weighing in the weighing unit, and a second printed board different from the board. An electronic weighing machine having a printed circuit board according to claim 1, wherein said electronic measuring instrument is attached to each of said first and second printed circuit boards, electrically rewritable, and in which said same important data relating to said measuring section is written. A memory for comparing whether the important data written in both memories are the same, and an error display means for displaying an error on the display unit when the comparison result by the comparison means does not match. An electronic weighing machine comprising:
JP9273569A 1997-09-19 1997-09-19 Electronic meter Pending JPH1194638A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9273569A JPH1194638A (en) 1997-09-19 1997-09-19 Electronic meter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9273569A JPH1194638A (en) 1997-09-19 1997-09-19 Electronic meter

Publications (1)

Publication Number Publication Date
JPH1194638A true JPH1194638A (en) 1999-04-09

Family

ID=17529643

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9273569A Pending JPH1194638A (en) 1997-09-19 1997-09-19 Electronic meter

Country Status (1)

Country Link
JP (1) JPH1194638A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003035594A (en) * 2001-07-23 2003-02-07 Ishida Co Ltd Merchandise information processing system and information processing device
JP2009143198A (en) * 2007-12-18 2009-07-02 Nec Personal Products Co Ltd Thermal printer and disconnection information storage control method
CN103389411A (en) * 2013-07-24 2013-11-13 江苏斯菲尔电气股份有限公司 Multifunctional watt-hour meter and electric energy data recovery method thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003035594A (en) * 2001-07-23 2003-02-07 Ishida Co Ltd Merchandise information processing system and information processing device
JP2009143198A (en) * 2007-12-18 2009-07-02 Nec Personal Products Co Ltd Thermal printer and disconnection information storage control method
CN103389411A (en) * 2013-07-24 2013-11-13 江苏斯菲尔电气股份有限公司 Multifunctional watt-hour meter and electric energy data recovery method thereof

Similar Documents

Publication Publication Date Title
US8661270B2 (en) Electronic apparatus and method of controlling electronic apparatus
JP2001018507A (en) Image recorder
JP4304868B2 (en) Image forming apparatus having memory device and determination processing method
US20080282113A1 (en) Failure information management method and apparatus, failure detection method and apparatus, electronic apparatus, information processing apparatus and computer-readable storage medium
EP0180978B1 (en) Electronic cash register
JPH07175373A (en) Electronic device
JPH1194638A (en) Electronic meter
CN103009817B (en) Consumable chip and data means to save the situation, consumable container, imaging device
JP4553946B2 (en) Product label printing device
JP4373243B2 (en) Product data processing device
JP2523999B2 (en) Parts management device
JP3342115B2 (en) Printing equipment
JPH11110302A (en) Semiconductor storage device and sale processor equipped with it
JPH0667483A (en) Communication error preventing device for drum peripheral unit
US20020038438A1 (en) Information processing unit with failure information management function and failure information management method four
JP3080517B2 (en) Electronics
EP0513607B1 (en) Method and apparatus for testing an NVM
JP2000030479A (en) Macrom writing system
JP3570657B2 (en) Taxi meter
JPH10185668A (en) Electronic charge scale
KR0163735B1 (en) Message output method & device
JP4310662B2 (en) Label printer
JPH09234933A (en) Monitor controlling device
JP2975231B2 (en) Electronic toll scale
JPH0719307B2 (en) Electronic cash register