JP2010048630A - Electronic balance and computer program - Google Patents
Electronic balance and computer program Download PDFInfo
- Publication number
- JP2010048630A JP2010048630A JP2008212252A JP2008212252A JP2010048630A JP 2010048630 A JP2010048630 A JP 2010048630A JP 2008212252 A JP2008212252 A JP 2008212252A JP 2008212252 A JP2008212252 A JP 2008212252A JP 2010048630 A JP2010048630 A JP 2010048630A
- Authority
- JP
- Japan
- Prior art keywords
- value
- setting value
- weight detection
- unit
- detection unit
- 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
Links
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
Description
本発明は、ロードセル等の計量部を備える重量検出ユニットと、前記計量部が出力する電気信号を増幅して2値化した秤データに基づく計量値を算出して表示器に表示させる制御ユニットと、を別体で有する電子秤及び制御ユニットのコンピュータにインストールされるコンピュータプログラムに関する。 The present invention includes a weight detection unit including a weighing unit such as a load cell, a control unit that calculates a measurement value based on scale data obtained by amplifying an electric signal output from the measurement unit and binarized, and displays the measurement value on a display. , And a computer program installed in the computer of the control unit.
ロードセル等の計量部は、受けた荷重量に応じて出力する電気信号の値に個体差を持つ。このため、計量部が出力する電気信号を増幅して2値化した秤データに対して、ゼロ点調整及びスパン調整を施す必要がある(特許文献1参照)。 A measuring unit such as a load cell has an individual difference in the value of an electric signal output according to the received load amount. For this reason, it is necessary to perform zero point adjustment and span adjustment on the scale data obtained by amplifying the electric signal output from the measuring unit and binarizing (see Patent Document 1).
これに対して、ロードセル等の計量部を備える重量検出ユニットと秤データに基づく計量値を算出して表示器に表示させる制御ユニットとが別体となっている電子秤では、制御ユニットの側で秤データに基づく計量値を算出する。このため、前述したゼロ点調整及びスパン調整のためのゼロ点調整値及びスパン調整値については、制御ユニットの側でそれらの調整値を保存していなければならない。そこで、制御ユニットは、フラッシュROM等のような不揮発性メモリを用意しておき、この不揮発性メモリにゼロ点調整値及びスパン調整値を記憶保存し、秤データに対してゼロ点調整及びスパン調整を施す、ということが従来から行われている。 On the other hand, in an electronic scale in which a weight detection unit including a weighing unit such as a load cell and a control unit that calculates a measured value based on balance data and displays it on a display unit are separated from each other on the control unit side. A weighing value based on the scale data is calculated. For this reason, regarding the zero point adjustment value and the span adjustment value for the zero point adjustment and the span adjustment described above, those adjustment values must be stored on the control unit side. Therefore, the control unit prepares a non-volatile memory such as a flash ROM, stores and saves the zero point adjustment value and the span adjustment value in this non-volatile memory, and performs zero point adjustment and span adjustment for the balance data. It has been conventionally performed to apply.
電子秤を必要とする店舗や工場等の施設によっては、重量検出ユニットと制御ユニットとが別体である電子秤を新規に複数セット導入することがある。あるいは、レイアウト変更等の都合から、既に導入されている複数セットの電子秤における重量検出ユニットと制御ユニットとの接続状態を一端解除し、その後に再度接続したりするようなことがある。これに対して、ある重量検出ユニットが有する計量部のゼロ点調整値及びスパン調整値がその重量検出ユニットとは別体である制御ユニットの不揮発性メモリに記憶保存されているという関係上、重量検出ユニットと制御ユニットとは必ず一対一の関係に立つ。ところが、電子秤が新規に複数セット導入されるような場合や、既に導入されている複数セットの電子秤における重量検出ユニットと制御ユニットとの接続を断続するような場合、重量検出ユニットと制御ユニットとの対応関係が崩れてしまうことがある。この場合には、制御ユニットにおいて、重量検出ユニットによる計量値を正しく表示できなくなってしまい、甚だ不都合である。 Depending on facilities such as stores and factories that require an electronic scale, a plurality of electronic scales in which the weight detection unit and the control unit are separate may be introduced. Alternatively, for the convenience of layout change, the connection state between the weight detection unit and the control unit in a plurality of sets of electronic balances that have already been introduced may be once released and then connected again. On the other hand, the weight adjustment unit has a zero point adjustment value and a span adjustment value stored in the nonvolatile memory of the control unit that is separate from the weight detection unit. The detection unit and the control unit always have a one-to-one relationship. However, when a plurality of sets of electronic balances are newly introduced, or when the connection between the weight detection unit and the control unit in a plurality of sets of electronic balances that have already been introduced is interrupted, the weight detection unit and the control unit The correspondence with may break down. In this case, the control unit cannot correctly display the measurement value by the weight detection unit, which is extremely inconvenient.
本発明は、このような点に鑑みなされたもので、一対一の関係に立つ重量検出ユニットと制御ユニットとの対応関係の適正さをオペレータに知らせることができるようにすることを目的とする。 The present invention has been made in view of these points, and an object thereof is to notify an operator of the appropriateness of the correspondence between the weight detection unit and the control unit that are in a one-to-one relationship.
本発明の電子秤は、計量皿を有し、この計量皿に加えられる荷重を受けてその荷重量に応じた電気信号を出力する計量部を有し、ディップスイッチを有する重量検出ユニットと、前記計量部が出力する電気信号を増幅して2値化することで秤データに変換する2値化回路と、前記重量検出ユニットとは別体で設けられ、表示器を有し、個々の前記重量検出ユニットに対応する前記秤データに対するゼロ点調整値及びスパン調整値を記憶する不揮発性メモリを有し、それらの調整値で補正した前記秤データに基づく計量値を算出して前記表示器に表示させるデータ処理部を有する制御ユニットと、を備え、前記データ処理部は、(1)前記ディップスイッチの設定値を前記不揮発性メモリに初期設定値として記憶する処理と、(2)前記データ処理部に接続されている前記ディップスイッチの現在の設定値を読み出して前記不揮発性メモリが記憶している初期設定値との一致不一致を判定する処理と、(3)前記現在の設定値と前記初期設定値との不一致を判定した場合に警告報知を行う処理と、を実行する。 The electronic balance of the present invention has a weighing pan, has a weighing unit that receives a load applied to the weighing pan and outputs an electrical signal corresponding to the load, and has a weight detection unit having a dip switch, A binarization circuit that amplifies an electric signal output from the weighing unit and binarizes it to convert it into scale data, and the weight detection unit is provided separately from the weight detection unit, and has a display unit. It has a non-volatile memory for storing the zero point adjustment value and span adjustment value for the balance data corresponding to the detection unit, and calculates the measurement value based on the balance data corrected by the adjustment value and displays it on the display A control unit having a data processing unit to be operated, wherein the data processing unit (1) stores a setting value of the dip switch as an initial setting value in the nonvolatile memory; and (2) the data A process of reading a current setting value of the DIP switch connected to the processing unit to determine a match / mismatch with an initial setting value stored in the nonvolatile memory; and (3) the current setting value and the And a process of performing a warning notification when it is determined that there is a mismatch with the initial set value.
本発明は、また、制御ユニットのコンピュータ(データ処理部)にインストールされ、当該コンピュータに上記(1)〜(3)の処理を実行させるコンピュータプログラムを規定する。 The present invention also defines a computer program that is installed in a computer (data processing unit) of the control unit and causes the computer to execute the processes (1) to (3).
本発明によれば、データ処理部に接続されているディップスイッチの現在の設定値が不揮発性メモリに記憶されている初期設定値と一致しない場合には、一対一の関係に立つ重量検出ユニットと制御ユニットとの対応関係が崩れていることになるので、警報報知を行うことで、重量検出ユニットと制御ユニットとの対応関係の適正さをオペレータに知らせることができ、したがって、それらの対応関係が崩れたまま電子秤を使用することにより生ずる正しくない計量値が利用されることを事前に防止することができる。 According to the present invention, when the current setting value of the dip switch connected to the data processing unit does not match the initial setting value stored in the nonvolatile memory, the weight detection unit that has a one-to-one relationship Since the correspondence relationship with the control unit is broken, it is possible to notify the operator of the appropriateness of the correspondence relationship between the weight detection unit and the control unit by performing an alarm notification. It is possible to prevent in advance the use of an incorrect measurement value generated by using the electronic balance while being broken.
本発明の実施の一形態を図1ないし図9に基づいて説明する。 An embodiment of the present invention will be described with reference to FIGS.
図1は、装置全体の外観斜視図である。本実施の形態の装置は、重量検出ユニットWUと制御ユニットCUとが別体で構成された電子秤ESへの適用例であり、制御ユニットCUはラベルプリンタ1の一部として構成されている。 FIG. 1 is an external perspective view of the entire apparatus. The apparatus according to the present embodiment is an application example to an electronic balance ES in which a weight detection unit WU and a control unit CU are separately configured. The control unit CU is configured as a part of the label printer 1.
制御ユニットCUを一部に含むラベルプリンタ1は、ハウジング2の内部にプリンタ機構部3(図3、図4参照)を備え、タッチパネルTP付きの表示器である液晶ディスプレイ4をハウジング2の上部に、キーボード5をハウジング2の上面にそれぞれ備えている。キーボード5には数値入力用のテンキー5aが備えられている。タッチパネルTP及びキーボード5は、情報を操作入力するための入力部を構成する。外観上、ハウジング2には、その正面にラベル発行口6が設けられている。
A label printer 1 including a control unit CU in part includes a printer mechanism 3 (see FIGS. 3 and 4) inside a
重量検出ユニットWUは、平べったい矩形形状のハウジング51の上部に同様に平べったい計量皿52を載置している。ハウジング51は、計量部としてのロードセル53(図5参照)を内蔵している。
In the weight detection unit WU, a flat weighing
図2は、重量検出ユニットWUの内部構造を概念的に示す模式図である。重量検出ユニットWUが内蔵するロードセル53は、薄肉部54を有し、上方の薄肉部54の上面にブリッジ接続されたストレンゲージSGを接着形成している。そして、ロードセル53は、その一端側をベース55に固定し、他端側に荷重受け部56を有している。荷重受け部56には秤フレーム57が固定されている。秤フレーム57は、図2では図示しないが、平面から見てX字形状をしており、四隅に計量皿52を載置する。したがって、ロードセル53は、荷重受け部56に計量皿52からの荷重を受け、これによって薄肉部54に歪みが生ずるように設けられている。薄肉部54に歪みが生ずると、ストレンゲージSGの抵抗値が変動し、荷重受け部56で受けた荷重量に応じた電気信号(電流値)を取り出すことができる。
FIG. 2 is a schematic diagram conceptually showing the internal structure of the weight detection unit WU. The
図3は、ラベルプリンタ1の内部構造を仮想的に示す全体の側面図である。ここで、ハウジング2に内蔵されたプリンタ機構部3について説明する。まず、ハウジング2の内部には、長尺上の台紙7に複数個のラベルLが所定間隔で規則的に貼付されたラベル用紙8をロール状に回巻した状態で収納保持する用紙保持部9が設けられ、この用紙保持部9に保持されて引き出されたラベル用紙8を所定の経路に案内する案内経路10が設けられている。この案内経路10の途中には、案内経路10を挟んで対向配置されたプラテン11とラインサーマルヘッド12とからなる印字部13と、この印字部13よりも用紙搬送経路下流側に位置するラベル剥離部としての剥離板14とが配置されている。さらに、案内経路10の終端には、ラベルLが剥離された後の台紙7を巻き取る台紙巻取り軸15に巻き取らせる台紙巻取り機構16が配置されている。
FIG. 3 is an overall side view virtually showing the internal structure of the label printer 1. Here, the printer mechanism 3 built in the
図4は、ラベルプリンタ1が内蔵する印字部13、剥離板14及び台紙巻取り軸15を拡大して示す縦断側面図である。印字部13は、プラテン11とラインサーマルヘッド12とがヘッドフレーム17に取り付けられたユニット構造のものである。つまり、ヘッドフレーム17には、図示しない駆動部に駆動されて回転駆動するようにプラテン11が回転自在に取り付けられている。また、ラインサーマルヘッド12はヘッドフレーム17に回動自在に取り付けられたヘッドブラケット18に取り付けられている。ヘッドブラケット18は、プラテン11に対してラインサーマルヘッド12がその図示しない発熱体を当接させることができるようにラインサーマルヘッド12を保持している。そして、ヘッドブラケット18には板ばね19が屈撓自在に取り付けられ、この板ばね19はカム機構20によって押圧され、これによってラインサーマルヘッド12の図示しない発熱体がプラテン11に押し付けられている。また、ヘッドフレーム17にはラベル用紙8の弛みを除去しつつ案内する弾性体21と、ラベル用紙8をプラテン11とラインサーマルヘッド12との間に円滑に案内するための案内ピン22とが取り付けられている。ラベル用紙8は、弾性体21、案内ピン22及び印字部13によって案内経路10に案内され、プラテン11及び台紙巻取り軸15の回転によって搬送される。これらのプラテン11及び台紙巻取り軸15は、図示しない駆動源により、正逆回転自在に回転駆動される。したがって、これらの弾性体21、案内ピン22、印字部13及び台紙巻取り軸15は、用紙搬送機構を構成する。用紙搬送機構は、台紙7にラベルLが貼着されたラベル用紙8を案内経路10に沿って前進方向及び後進方向に搬送する機構である。
FIG. 4 is an enlarged vertical side view showing the
図5は、重量検出ユニットWU及びラベルプリンタ1が内蔵する制御ユニットCUの各部の電気的接続を示すブロック図である。重量検出ユニットWUと制御ユニットCUとについてそれぞれ説明する。 FIG. 5 is a block diagram showing the electrical connection of each part of the weight detection unit WU and the control unit CU built in the label printer 1. Each of the weight detection unit WU and the control unit CU will be described.
まず、重量検出ユニットWUについて説明する。重量検出ユニットWUは、ロードセル53のストレンゲージSGから取り出された出力信号(電流)を増幅する増幅回路201を有し、増幅回路201が出力するアナログ信号を2値化するアナログデジタル変換器(ADC)202を有している。これらの増幅回路201及びアナログデジタル変換器202は、ロードセル53が出力する電気信号(電流)を増幅して2値化することで秤データに変換する2値化回路203を構成する。アナログデジタル変換器202の出力端は、制御ユニットCUが有している後述するCPU102のI/O106に接続されている。重量検出ユニットWUは、また、ディップスイッチ204も内蔵している。ディップスイッチ204は、例えばマイナスドライバ等を用いて、数ビットの情報を手動で設定することができる。ディップスイッチ204の出力端も、アナログデジタル変換器202の出力端と同様に、制御ユニットCUが有している後述するCPU102のI/O106に接続されている。
First, the weight detection unit WU will be described. The weight detection unit WU includes an
次いで、制御ユニットCUについて説明する。ラベルプリンタ1が内蔵する制御ユニットCUには、データ処理部としてのマイクロコンピュータ101が備えられており、このマイクロコンピュータ101が各部を駆動制御する。マイクロコンピュータ101は、各部を集中的に制御するCPU102に、バスライン103を介してBIOS及び各部を制御するためのプログラム等の固定的情報を予め記憶する不揮発性メモリとしてのフラッシュROM104と、各種情報を書き換え自在に記憶してワークエリア等として機能するRAM105とが接続されて構成されている。したがって、マイクロコンピュータ101は、情報処理を実行するファームウェア構成の情報処理部を構成する。
Next, the control unit CU will be described. The control unit CU built in the label printer 1 is provided with a
CPU102のI/O106には、前述したように、重量検出ユニットWUのアナログデジタル変換器202及びディップスイッチ204が接続されている。この接続は、重量検出ユニットWUと制御ユニットCUとの間のコネクタCTによる断続可能な接続によって行われている。
As described above, the analog /
図5では、CPU102、フラッシュROM104及びRAM105を単一構成物として表示しているが、これらのCPU102、フラッシュROM104及びRAM105は、複数の固体に分割されて構成されていてもよい。特に、RAM105として表示している構成物は、少なくとも、ワークエリアとして用いられるチップと画像メモリを構成するチップとを含んでいる。
In FIG. 5, the
マイクロコンピュータ101には、バスライン103を介してプリンタ機構部3を駆動制御するプリンタ制御回路107、液晶ディスプレイ4、タッチパネルTP及びキーボード5が接続されている。液晶ディスプレイ4についてはそのビデオコントローラ(図示せず)、タッチパネル及びキーボード5についてはそれらの入力コントローラ(図示せず)がバスライン103に接続されている。そこで、マイクロコンピュータ101は、RAM105の画像メモリに生成した画像データに従った印字データを印字制御信号と共にプリンタ制御回路107に送信出力し、プリンタ機構部3にその印字データに応じた印字動作を実行させる。また、マイクロコンピュータ101は、タッチパネルTP及びキーボード5からの入力信号を取り込み、RAM105に一時記憶する。更に、マイクロコンピュータ101は、ビデオコントローラに駆動制御信号を出力し、液晶ディスプレイ4に画像データに応じた画像を表示させる。
A
マイクロコンピュータ101には、バスライン103を介してネットワークカード108も接続されている。ネットワークカード108は、マイクロコンピュータ101をネットワーク(図示せず)に接続させ、外部機器との間でのデータ送受信を実現させる。
A
ラベルプリンタ1は、その使用に先立ち、ラベルLに印字すべきデータを含むPLUファイル301及びメッセージファイル302を取得し、RAM105に記憶する。これらのPLUファイル301及びメッセージファイル302は、ネットワークカード108を介して外部機器から取得する。PLUファイル301は、商品コードである品番に対応付けて、商品の品名(テキストデータ)、単価(数値データ)、消費期限(数値データ)等の各種データを管理している。メッセージファイル302は、商品コードである品番に対応付けて、商品の保存方法や添加物に関するメッセージデータ(テキストデータ)を管理している。
Prior to its use, the label printer 1 acquires a
このような構成において、ラベルプリンタ1は、重量検出ユニットWUによって重量を計量した品物のラベルデータを制御ユニットCUにて生成し、生成したラベルデータに基づいてプリンタ機構部3を駆動制御し、ラベル用紙8のラベルLにラベルデータに基づく印字を行なって販売ラベルを作成することができる。作成された販売ラベルはラベル発行口6から発行され、重量検出ユニットWUによって重量を計量した品物に貼り付けることができる。
In such a configuration, the label printer 1 generates label data of an item whose weight is measured by the weight detection unit WU in the control unit CU, and drives and controls the printer mechanism unit 3 based on the generated label data. A sales label can be created by printing on the label L of the
図6は、重量検出ユニットWUと制御ユニットCU(ラベルプリンタ1)との対応関係を示す模式図である。ここでは、重量検出ユニットWUと制御ユニットCUとが組み合わされた電子秤ESが複数組設けられていることを想定する。図6中の電子秤ES1は重量検出ユニットWU1と制御ユニットCU1との組み合わせ、電子秤ES2は重量検出ユニットWU2と制御ユニットCU2との組み合わせである。 FIG. 6 is a schematic diagram showing the correspondence between the weight detection unit WU and the control unit CU (label printer 1). Here, it is assumed that a plurality of electronic balances ES in which the weight detection unit WU and the control unit CU are combined are provided. 6 is a combination of the weight detection unit WU1 and the control unit CU1, and the electronic balance ES2 is a combination of the weight detection unit WU2 and the control unit CU2.
ここで、ロードセル53は、受けた荷重量に応じて出力するストレンゲージSGの電気信号の値(電流値)に個体差を持つ。このため、ロードセル53が出力する電気信号を増幅回路201で増幅してアナログデジタル変換器202で2値化した秤データに対して、ゼロ点調整及びスパン調整を施す必要があることは前述した通りである。本実施の形態の電子秤ESは、制御ユニットCUの側で秤データに基づく計量値を算出するという構造上、ゼロ点調整及びスパン調整のためのゼロ点調整値及びスパン調整値を、制御ユニットCUの側で保存していなければならない。そこで、制御ユニットCUは、対応する重量検出ユニットWUのゼロ点調整値X及びスパン調整値YをフラッシュROM104に記憶している。このようなことから、電子秤ESでは、重量検出ユニットWUと制御ユニットCUとが一対一の関係に立ち、その入れ替え接続をすることはできない。図6に示す例では、重量検出ユニットWU1と制御ユニットCU1とが一組の電子秤ES1を構成し、重量検出ユニットWU2と制御ユニットCU2とが一組の電子秤ES2を構成する。重量検出ユニットWU1と制御ユニットCU2とを組み合わせたり、重量検出ユニットWU2と制御ユニットCU1とを組み合わせたりすることはできない。
Here, the
そこで、本実施の形態では、そのような不適切な入れ替えが発生することを事前に防止するために、重量検出ユニットWUが備えるディップスイッチ204にその重量検出ユニットWUのIDとなる設定値Zを設定しておく。そして、制御ユニットCUのフラッシュROM104には、その制御ユニットCUが対応する重量検出ユニットWUのIDとなるディップスイッチ204の設定値Zと同一の数値を初期設定値Zとして設定記憶しておく。図6に示す例では、重量検出ユニットWU1のディップスイッチ204には設定値Z1が設定され、これに対応する制御ユニットCU1のフラッシュROM104には初期設定値Z1が設定記憶されている。同様に、重量検出ユニットWU2のディップスイッチ204には設定値Z2が設定され、これに対応する制御ユニットCU2のフラッシュROM104には初期設定値Z2が設定記憶されている。
Therefore, in the present embodiment, in order to prevent such inappropriate replacement from occurring in advance, a set value Z that becomes the ID of the weight detection unit WU is set in the
これにより、電子秤ESの初期設置時、あるいはレイアウト変更等により一端接続した重量検出ユニットWUと制御ユニットCU(ラベルプリンタ1)との接続を解除して再接続するに際して、重量検出ユニットWUのディップスイッチ204に設定されている設定値Zと制御ユニットCUのフラッシュROM104に設定記憶されている初期設定値Zとの一致不一致を判定することで、両者のマッチング状態を容易に判断することができる。
Thus, when the electronic balance ES is initially installed or when the weight detection unit WU that has been connected once due to a layout change or the like is disconnected from the control unit CU (label printer 1) and reconnected, the weight detection unit WU dip By determining whether or not the set value Z set in the
ここで、制御ユニットCUにおけるフラッシュROM104への初期設定値Zの設定記憶処理について説明する。ここでは、図7と図8とに、それぞれ別の一例を示す。
Here, the setting storage process of the initial setting value Z to the
図7は、初期設定値(重量検出ユニットのID)を制御ユニットCUのフラッシュROM104に設定記憶する処理の一例を示すフローチャートである。ラベルプリンタ1の制御ユニットCUは、電源投入後、フラッシュROM104に格納している初期設定値設定用のコンピュータプログラム(ソフトウェア)を起動させる(ステップS11)。このようなソフトウェアの起動は、例えばフラッシュROM104に格納しているBIOS上の定義によって実行可能である。
FIG. 7 is a flowchart showing an example of processing for setting and storing the initial set value (ID of the weight detection unit) in the
起動したソフトウェアは、フラッシュROM104の初期設定値を格納すべきアドレスにCPU102をアクセスさせ、初期設定値=NULLかどうかを判定させる(ステップS12)。CPU102が初期設定値=NULLでないと判定した場合(ステップS12のN)、つまりフラッシュROM104に初期設定値が記憶されている場合には、そのまま処理を終了する。これに対して、CPU102が初期設定値=NULLであると判定した場合(ステップS12のY)、つまりフラッシュROM104に初期設定値が記憶されていない場合、CPU102は重量検出ユニットWUにアクセスする。そして、ディップスイッチ204のステータス(設定値Z)の読み込み処理を実行する(ステップS13)。ディップスイッチ204のステータス(設定値Z)を読み取ったならば、読み取った設定値ZをフラッシュROM104の初期設定値Zとして設定記憶する(ステップS14)。これにより、フラッシュROM104には、対応する重量検出ユニットWUのIDが初期設定値Zとして記憶されることになる。その後、処理を終了する。
The activated software causes the
図8は、初期設定値(重量検出ユニットのID)を制御ユニットCUのフラッシュROM104に設定記憶する処理の別の一例を示すフローチャートである。ラベルプリンタ1の制御ユニットCUは、電源投入後、フラッシュROM104に格納している初期設定値設定用のコンピュータプログラム(ソフトウェア)を起動させる(ステップS21)。このようなソフトウェアの起動は、例えばフラッシュROM104に格納しているBIOS上の定義によって実行可能である。
FIG. 8 is a flowchart showing another example of processing for setting and storing the initial setting value (weight detection unit ID) in the
起動したソフトウェアは、フラッシュROM104の初期設定値を格納すべきアドレスにCPU102をアクセスさせ、初期設定値=NULLかどうかを判定させる(ステップS22)。CPU102が初期設定値=NULLでないと判定した場合(ステップS22のN)、つまりフラッシュROM104に初期設定値が記憶されている場合には、そのまま処理を終了する。これに対して、CPU102が初期設定値=NULLであると判定した場合(ステップS22のY)、つまりフラッシュROM104に初期設定値が記憶されていない場合、CPU102は初期設定値の入力画面Aを液晶ディスプレイ4に表示する(ステップS23)。
The activated software causes the
初期設定用の入力画面Aについては、図8のフローチャート中に例示する。この入力画面Aは、キーボード5に備えられているテンキー5aの置数による初期設定値の入力欄A1を表示し、確定ボタンA2を表示している。確定ボタンA2は、タッチパネルTPによるタッチ指定可能なオブジェクトとして表示されている。そこで、オペレータは、重量検出ユニットWUのディップスイッチ204に設定した設定値Zと同一の数値をテンキー5aによって置数入力する。これにより、CPU102は、その置数入力された数値を入力欄A1に表示し、オペレータの視覚的な確認に供する。その後、オペレータは、タッチパネルTPによって確定ボタンA2をタッチ指定する。
The input screen A for initial setting is illustrated in the flowchart of FIG. The input screen A displays an initial setting value input field A1 based on the numeric value of the
すると、CPU102は、入力欄A1に入力された数値の入力確定を判定し(ステップS24のY)、入力された数値をフラッシュROM104の初期設定値Zとして設定記憶する(ステップS25)。これにより、フラッシュROM104には、対応する重量検出ユニットWUのIDが初期設定値Zとして記憶されることになる。その後、処理を終了する。
Then, the
次いで、電子秤ESの初期設置時、あるいはレイアウト変更等により一端接続した重量検出ユニットWUと制御ユニットCU(ラベルプリンタ1)との接続を解除して再接続するに際しての、重量検出ユニットWU2のディップスイッチ204に設定されている設定値Zと制御ユニットCU2のフラッシュROM104に設定記憶されている初期設定値Zとの一致不一致の判定処理について説明する。図9のフローチャートを用いる。
Next, the dip of the weight detection unit WU2 at the time of initial installation of the electronic balance ES or when the connection between the weight detection unit WU and the control unit CU (label printer 1) connected once due to layout change or the like is released and reconnected. A process for determining whether or not the set value Z set in the
図9は、重量検出ユニットWUと制御ユニットCU(ラベルプリンタ1)との接続時に実行される両者の対応関係を確認する処理を示すフローチャートである。ラベルプリンタ1の制御ユニットCUは、電源投入後、フラッシュROM104に格納している重量検出ユニットWUと制御ユニットCU(ラベルプリンタ1)との対応関係確認用のコンピュータプログラム(ソフトウェア)を起動させる(ステップS101)。このようなソフトウェアの起動は、例えばフラッシュROM104に格納しているBIOS上の定義によって実行可能である。
FIG. 9 is a flowchart showing a process for confirming the correspondence between the weight detection unit WU and the control unit CU (label printer 1), which is executed when the weight detection unit WU is connected to the control unit CU. The control unit CU of the label printer 1 activates a computer program (software) for checking the correspondence between the weight detection unit WU stored in the
起動したソフトウェアは、現在接続されている重量検出ユニットWUにアクセスし、そのディップスイッチ204のステータス(設定値Z)の読み込み処理を実行する(ステップS102)。ディップスイッチ204のステータス(設定値Z)を読み取ったならば、読み取った設定値ZをRAM105のワークエリアに一時記憶し、フラッシュROM104に設定記憶されている初期設定値Zとの一致不一致を判定する(ステップS103)。その結果、現在接続されている重量検出ユニットWUのIDは正しいかどうか、つまり、フラッシュROM104に初期設定値Zとして記憶している自己の制御ユニットCUに対応する重量検出ユニットWUのIDであるかどうかが判定される。CPU102は、重量検出ユニットWUのIDが正しいと判定した場合(ステップS103のY)、そのまま処理を終了する。これに対して、CPU102は、重量検出ユニットWUのIDが正しくないと判定した場合には(ステップS103のN)、オペレータにID番号確認を促す警告メッセージを液晶ディスプレイ4に表示し(ステップS104)、警告報知を行う。
The activated software accesses the currently connected weight detection unit WU, and executes a process of reading the status (setting value Z) of the dip switch 204 (step S102). If the status (set value Z) of the
このように、制御ユニットCUのマイクロコンピュータ101に接続されている重量検出ユニットWUのディップスイッチ204の現在の設定値ZがフラッシュROM104に記憶されている初期設定値Zと一致しない場合には、一対一の関係に立つべき重量検出ユニットWUと制御ユニットCUとの対応関係が崩れていることになるので、警報報知が行われる。これにより、重量検出ユニットWUと制御ユニットCUとの対応関係の適正さをオペレータに知らせることができ、それらの対応関係が崩れたまま電子秤ESを使用することにより生ずる正しくない計量値が利用されることを事前に防止することができる。
Thus, when the current setting value Z of the
4…液晶ディスプレイ(表示器)、5a…テンキー、52…計量皿、53…ロードセル(計量部)、101…マイクロコンピュータ(データ処理部)、104…フラッシュROM(不揮発性メモリ)、203…2値化回路、204…ディップスイッチ、CU…制御ユニット、WU…重量検出ユニット
4 ... Liquid crystal display (display), 5a ... Numeric keypad, 52 ... Weighing pan, 53 ... Load cell (weighing unit), 101 ... Microcomputer (data processing unit), 104 ... Flash ROM (nonvolatile memory), 203 ...
Claims (6)
前記計量部が出力する電気信号を増幅して2値化することで秤データに変換する2値化回路と、
前記重量検出ユニットとは別体で設けられ、表示器を有し、個々の前記重量検出ユニットに対応する前記秤データに対するゼロ点調整値及びスパン調整値を記憶する不揮発性メモリを有し、それらの調整値で補正した前記秤データに基づく計量値を算出して前記表示器に表示させるデータ処理部を有する制御ユニットと、
を備え、
前記データ処理部は、
前記ディップスイッチの設定値を前記不揮発性メモリに初期設定値として記憶する処理と、
前記データ処理部に接続されている前記ディップスイッチの現在の設定値を読み出して前記不揮発性メモリが記憶している初期設定値との一致不一致を判定する処理と、
前記現在の設定値と前記初期設定値との不一致を判定した場合に警告報知を行う処理と、
を実行する、電子秤。 A weight detection unit having a weighing pan, having a weighing unit that receives a load applied to the weighing pan and outputs an electric signal corresponding to the load, and having a dip switch;
A binarizing circuit that amplifies the electric signal output from the weighing unit and binarizes it to convert it into scale data;
A non-volatile memory provided separately from the weight detection unit, having a display, and storing a zero point adjustment value and a span adjustment value for the scale data corresponding to each weight detection unit, A control unit having a data processing unit that calculates a measurement value based on the scale data corrected by the adjustment value and displays on the display unit;
With
The data processing unit
Storing the setting value of the DIP switch in the nonvolatile memory as an initial setting value;
A process of reading a current setting value of the dip switch connected to the data processing unit and determining a match / mismatch with an initial setting value stored in the nonvolatile memory;
Processing for notifying a warning when determining a mismatch between the current set value and the initial set value;
Run the electronic scale.
前記データ処理部は、前記テンキーによって置数された値を前記不揮発性メモリに初期設定値として記憶させる処理を実行する、
請求項1記載の電子秤。 The control unit has a numeric keypad that can be entered,
The data processing unit executes a process of storing a value set by the numeric keypad as an initial setting value in the nonvolatile memory.
The electronic balance according to claim 1.
前記ディップスイッチの設定値を前記不揮発性メモリに初期設定値として記憶する処理と、
前記データ処理部に接続されている前記ディップスイッチの現在の設定値を読み出して前記不揮発性メモリが記憶している初期設定値との一致不一致を判定する処理と、
前記現在の設定値と前記初期設定値との不一致を判定した場合に警告報知を行う処理と、
を実行させる、機械読み取り可能なコンピュータプログラム。 It has a weighing pan, has a weighing unit that receives a load applied to the weighing pan and outputs an electrical signal corresponding to the load, and is provided separately from the weight detection unit having a dip switch. A non-volatile memory for storing a zero point adjustment value and a span adjustment value for the scale data binarized by amplifying the electric signal output from the weighing unit corresponding to each of the weight detection units, Installed in the computer of the control unit having a computer that calculates a weight value based on the scale data corrected with those adjustment values and displays on the display,
Storing the setting value of the DIP switch in the nonvolatile memory as an initial setting value;
A process of reading a current setting value of the dip switch connected to the data processing unit and determining a match / mismatch with an initial setting value stored in the nonvolatile memory;
Processing for notifying a warning when determining a mismatch between the current set value and the initial set value;
A machine-readable computer program that executes
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008212252A JP2010048630A (en) | 2008-08-20 | 2008-08-20 | Electronic balance and computer program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008212252A JP2010048630A (en) | 2008-08-20 | 2008-08-20 | Electronic balance and computer program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2010048630A true JP2010048630A (en) | 2010-03-04 |
Family
ID=42065835
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008212252A Pending JP2010048630A (en) | 2008-08-20 | 2008-08-20 | Electronic balance and computer program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2010048630A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014102222A (en) * | 2012-11-22 | 2014-06-05 | Yamato Scale Co Ltd | Weighting controller |
JP2015105848A (en) * | 2013-11-29 | 2015-06-08 | 大和製衡株式会社 | Weighing apparatus |
JP2021124249A (en) * | 2020-02-05 | 2021-08-30 | パナソニックIpマネジメント株式会社 | Food management system |
-
2008
- 2008-08-20 JP JP2008212252A patent/JP2010048630A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014102222A (en) * | 2012-11-22 | 2014-06-05 | Yamato Scale Co Ltd | Weighting controller |
JP2015105848A (en) * | 2013-11-29 | 2015-06-08 | 大和製衡株式会社 | Weighing apparatus |
JP2021124249A (en) * | 2020-02-05 | 2021-08-30 | パナソニックIpマネジメント株式会社 | Food management system |
JP7489610B2 (en) | 2020-02-05 | 2024-05-24 | パナソニックIpマネジメント株式会社 | Food Control System |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5962641B2 (en) | Product sales data processing device | |
JP4912047B2 (en) | Electronic shelf label system and electronic shelf label management program | |
JPH0224330B2 (en) | ||
JP2010048630A (en) | Electronic balance and computer program | |
JP6274266B2 (en) | Self-weighing device | |
JP2007026191A (en) | Sales data processing device | |
JP5163312B2 (en) | Weighing device | |
JP2009134654A (en) | Meter reading system | |
JP6083349B2 (en) | Printing device | |
US20210090059A1 (en) | Weighing device, weighing device with label printer, and remote order processing system | |
JP4993953B2 (en) | Electronic shelf label system and electronic shelf label management program | |
JP2007328721A (en) | Electronic bin tag system and electronic bin tag management program | |
JP4587686B2 (en) | Label issuing device | |
JP3196102U (en) | Label issuing device | |
JP5382785B2 (en) | Label issuing device | |
JP6256638B2 (en) | Label issuing device | |
JP2007246238A (en) | Consumable control device | |
JP2020157602A (en) | Printer | |
JP2005242664A (en) | Commodity data processor | |
JPS60123335A (en) | Label printer | |
JPH0732078Y2 (en) | Printing number counting device of thermal label printing machine for price tags | |
JP4632736B2 (en) | Printing device | |
CN217504955U (en) | Weighbridge weighing information management system and weighbridge single printer thereof | |
JP2930391B2 (en) | Product sales data processing device | |
JP2008149652A (en) | Label printer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20091030 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20100202 |