JPS6215128B2 - - Google Patents

Info

Publication number
JPS6215128B2
JPS6215128B2 JP8420478A JP8420478A JPS6215128B2 JP S6215128 B2 JPS6215128 B2 JP S6215128B2 JP 8420478 A JP8420478 A JP 8420478A JP 8420478 A JP8420478 A JP 8420478A JP S6215128 B2 JPS6215128 B2 JP S6215128B2
Authority
JP
Japan
Prior art keywords
maximum effective
value
scale
memory
weight
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.)
Expired
Application number
JP8420478A
Other languages
Japanese (ja)
Other versions
JPS5510564A (en
Inventor
Shiro Kuno
Manabu Nishida
Ryozo Ooba
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
Tokyo Electric Co Ltd
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 Tokyo Electric Co Ltd filed Critical Tokyo Electric Co Ltd
Priority to JP8420478A priority Critical patent/JPS5510564A/en
Publication of JPS5510564A publication Critical patent/JPS5510564A/en
Publication of JPS6215128B2 publication Critical patent/JPS6215128B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】[Detailed description of the invention]

この発明はロードセル秤におけるキログラム・
ポンド変換方式に関する。 現在世界で使用さたている重量単位は大別する
とキログラムとポンドになり、又ポンド単位使用
国では重量単位がポンドからキログラムに移行し
つつある。このことから秤の単位がキログラムと
ポンドとで容易に切換えられることが望まれる。 しかし従来のロードセル秤においては例えば最
大有効計量値が30ポンドで、その30ポンドを
30000パルス数で調整しているポンド単位秤を最
大有効計量値が15キログラムのキログラム単位秤
に変換する場合15キログラムで30000パルス数に
なるように再調整しなければならずキログラム・
ポンドの切換えが面倒となる欠点があつた。 この発明はこのような欠点を除去するために考
えられたもので、キログラム・ポンドの切換えを
簡単な操作で容易に行なうことができ、しかも精
度低下を招く虞がないロードセル称におけるキロ
グラム・ポンド変換方式を提供することを目的と
する。 ところで30ポンドをキログラムに換算すると約
13.608キログラムになる。したがつて例えば30ポ
ンドを30000カウントで計算すると15キログラム
は約33069カウントになる。秤の精度を1/3000に
保つとすれば30ポンド秤の最小目盛は0.01ポンド
となりこれは10カウントになる。又15キログラム
秤の最小目盛は0.005キログラム(5グラム)と
なり、これは11.02カウントになる。すなわち30
ポンド秤を15キログラム秤に変換する限りにおい
ては最小目盛の分解能が上がることになる。これ
は秤の精度を保つうえで重要な要件となる。すな
わち逆に15キログラムを30000カウトに設定する
と30ポンドは13.608キログラムで、27216カウン
トになり最小目盛0.01ポンドのカウント数が
9.072となつて分解能が低下することになり、秤
の精度上問題となる。したがつてキログラム・ポ
ンドの切換えを行なう場合はキログラム計量及び
ポンド計量のうち最大有効計量値の小さい方(上
記例では30ポンド)を基準にして最大有効計量値
に対する基準パルス数(上記例では30000)を設
定し、最大有効計量値の大きい方の最大有効計量
値(上記例では15キログラム)に対するパルス数
を上記基準パルス数の最大有効計量値30ポンド=
13.608キログラム)に対すを関係から設定(上記
例では33069)することが重要となる。 この発明はこのような究明結果にもとずいてな
されたもので上述した目的を遂行するものであ
る。 以下、この発明の実施例を図面を参照して説明
する。 第1図は全体の回路構成を示すブロツク図で、
1は被計量物2の荷重に応じてアナログな電圧信
号を出力するロードセル、3はこのロードセル1
出力をパルスにデイジタル変換し、そのパルス数
をカウントするアナログ・デイジタル変換器、4
は単価を設定するためのテンキー、5は最大計量
値を設定するため、あるいは計量単位をポンドに
するかキログラムにするか設定するためのスイツ
チ等を設けたステータススイツチ、6は単価表示
器7、重量表示器8、価格表示器9を備えた表示
装置、10は上記テンキー4によつて設定された
単価データを単価表示器7に表示させるとともに
上記アナログ・デイジタル変換器3でカウントさ
れたパルス数と上記ステータススイツチ5の設定
内容をもとに重量を演算処理し、その重量データ
を上記重量表示器8に表示させ、かつ単価データ
と重量データとから価格データを演算処理し、そ
の価格データを上記価格表示器8に表示させるマ
イクロコンピユータで、このコンピユータ10内
には上記処理プログラムを格納したROM(リー
ド・オンリ・メモリ)と処理データを格納する
RAM(ランダム・アクセス・メモリ)が設けら
れている。前記ステータススイツチ5は例えば第
2図に示すように5a,5b,5cの3個のスイ
ツチをマイクロコンピユータ10の入力端子
D0,D1,D2にそれぞれ接続してなり、それらの
スイツチ5a,5b,5cはオン・オフ操作によ
つて最大有効計量値及び計量単位を下表のように
設定するようになつている。
This invention is a method for weighing kilograms in load cell scales.
Regarding the pound conversion method. The weight units currently used in the world can be roughly divided into kilograms and pounds, and countries that use pound units are transitioning from pounds to kilograms. For this reason, it is desired that the scale unit be easily switched between kilograms and pounds. However, with conventional load cell scales, the maximum effective weighing value is, for example, 30 pounds, and that 30 pounds is
If you want to convert a pound scale that is adjusted to 30,000 pulses to a kilogram scale with a maximum effective weighing value of 15 kilograms, you must readjust it so that 15 kilograms is 30,000 pulses.
The drawback was that switching between pounds was troublesome. This invention was devised in order to eliminate such drawbacks, and it is possible to easily switch between kilograms and pounds with a simple operation, and there is no risk of deterioration in accuracy. The purpose is to provide a method. By the way, converting 30 pounds to kilograms is approximately
It becomes 13.608 kg. Therefore, for example, if 30 pounds is calculated as 30,000 counts, 15 kilograms is approximately 33,069 counts. If the accuracy of the scale is maintained at 1/3000, the minimum scale of a 30 pound scale is 0.01 pound, which is 10 counts. Also, the minimum scale of a 15 kg scale is 0.005 kg (5 grams), which is 11.02 counts. i.e. 30
As far as converting a pound scale to a 15 kilogram scale, the resolution of the minimum scale will increase. This is an important requirement for maintaining the accuracy of the scale. In other words, if you set 15 kilograms to 30,000 counts, 30 pounds is 13.608 kilograms, which is 27,216 counts, and the minimum scale is 0.01 pounds.
9.072, resulting in a decrease in resolution and a problem with the accuracy of the scale. Therefore, when switching between kilograms and pounds, the reference pulse number for the maximum effective weight value (30,000 pounds in the above example) is based on the smaller of the maximum effective weight values (30 pounds in the above example) of the kilogram measurement and pound measurement. ), and set the number of pulses for the larger maximum effective weight value (15 kg in the above example) to the maximum effective weight value of the reference pulse number above, 30 pounds =
It is important to set (33069 in the above example) in relation to 13.608 kg). This invention has been made based on the results of such investigation and is intended to accomplish the above-mentioned object. Embodiments of the present invention will be described below with reference to the drawings. Figure 1 is a block diagram showing the overall circuit configuration.
1 is a load cell that outputs an analog voltage signal according to the load of the object to be measured 2; 3 is this load cell 1
An analog-to-digital converter that digitally converts the output into pulses and counts the number of pulses, 4
is a numeric keypad for setting the unit price; 5 is a status switch equipped with a switch for setting the maximum weight value or whether the unit of measurement is in pounds or kilograms; 6 is a unit price display 7; A display device 10 includes a weight display 8 and a price display 9. A display device 10 displays unit price data set by the numeric keypad 4 on the unit price display 7, and also displays the number of pulses counted by the analog-digital converter 3. calculates the weight based on the settings of the status switch 5, displays the weight data on the weight display 8, calculates the price data from the unit price data and the weight data, and displays the price data. A microcomputer is used to display the price on the price display 8, and the computer 10 stores a ROM (read only memory) that stores the processing program and processing data.
RAM (Random Access Memory) is provided. The status switch 5 connects three switches 5a, 5b, and 5c to the input terminals of the microcomputer 10, as shown in FIG.
The switches 5a, 5b, and 5c are connected to D 0 , D 1 , and D 2 respectively, and the maximum effective weighing value and weighing unit are set as shown in the table below by turning on and off the switches 5a, 5b, and 5c. There is.

【表】 前記マイクロコンピユータ10内に設けられて
いるRAMは第3図に示すように4ビツト1桁構
成で4桁の単価メモリ11、5桁の重量メモリ1
2、同じく5桁の価格メモリ13、1桁の重量小
数点位置指定メモリ14、同じく1桁の単価、価
格小数点位置指定メモリ15、5桁の入力レジス
タ16、6桁の変換定数レジスタ17、11桁の変
換計算用レジスタ18がそれぞれ形成されてい
る。又前記RAMには1ビツト構成のステータス
メモリが3個A,B,C設けられている。そして
ステータスメモリAをステータススイツチ5a
に、ステータスメモリBをステータススイツチ5
bに、ステータスメモリCをステータススイツチ
5cにそれぞれ対応させスイツチがオンのときに
はステータスメモリに“1”を立て、スイツチが
オフのときにはステータスメモリに“0”を立て
るようにしている。前記ロードセル1としては最
大有効計量値が30ポンド及び15キログラムのとき
には15キログラム用のものを使用し、かつ15ポン
ド及び6キログラムのときには15ポンド用のもの
を使用し、この交換はユニツト化されたロードセ
ルを使用しているので簡単に行なうことができ
る。前記アナログ・デイジタル変換器3は例えば
15キログラム用のロードセル1を使用したときに
は荷重が30ポンドでパルスを30000カウントする
ように調整され、又15ポンド用のロードセル1を
使用したときには6キログラムでパルスを30000
カウントするように調整されこのカウントパルス
数は基準パルス数M1となる。 前記マイクロコンピユータ10は計量スタート
によつてROMから所定のプログラムを読出し次
の〜の順序で処理を行なうようになつてい
る。、RAM内をクリアする。、ステータス
メモリA,B,Cを読込む。、アナログ・デイ
ジタル変換器3からカウント数を読込み入力レジ
スタ16に格納する。、入力レジスタ16のカ
ウント数をステータスメモリの内容にもとづいて
変換処理を行ない、得られる結果を入力レジスタ
16に格納する。入力レジスタ16のカウント
数にもとづいて正規の重量処理を行なう。そして
この〜の処理が終了すると続いて予め設定さ
れた単価と上記〜の処理で得られた重量との
乗算を行なつて価格データを算出するようにして
いる。以上の処理過程をフローチートで示せば第
4図のようになる。前記マイクロコンピユータ1
0は上記、の処理を具体的に次のように行な
つている。先ずステータスメモリAに“1”が立
つているか否かをチエツクする。もし“1”が立
つていれば次にステータスメモリBに“1”が示
つているか否かをチエツクする。そしてこのメモ
リBにも“1”が立つていれば最大有効計量値が
30ポンドとしての処理を行なう。又メモリBに
“1”が立つていなければ入力レジスタ16のカ
ウント数に30ポンドの基準パルス数数30000
(M1)を15キログラムのパル数33069.336(M2)で
除算した結果を乗算し、その結果を入力レジスタ
16に格納してから最大有効計量値が15キログラ
ムとしての処理を行なう。又ステータスメモリA
に“1”が立つていなければ次にステータスメモ
リCに“1”が立つているか否かをチエツクす
る。そしてこのメモリCに“1”が立つていれば
最大有効計量値が6キログラムとしての処理を行
なう。又メモリCに“1”が立つていなければ入
力レジスタ16のカウント数に6キログラムの基
準パルス数30000(M1)をを15ポスドのパルス数
34019.43(M1)で除算した結果を乗算し、その結
果を入力レジスタ16に格納してから最大有効計
量値が15ポンドとしての処理を行なう。以上の処
理過程をフローチヤートで示せば第5図に示すよ
うになる。前記マイクロコンピユータ10は上記
処理においてステータスBに“1”が立つていな
いときにおける計算処理を具体的には第6図に示
すように行なつている。すなわち先ず変換定数レ
ジスタ17に907184(これは30000を33069.336で
割り小数点を省略した数値)を設定する。次に入
力レジスタ16のカウント数を上記907184を乗算
し、その結果を変換計算用レジスタ18に格納す
る。そして変換計算用レジスタ18の上位から6
桁目を四捨五入し、そのレジスタ18の上位5桁
までを入力レジスタ16にシフトする。又前記マ
イクロコンピユータ10は上記処理においてステ
ータスCに“1”が立つていないときにおける計
算処理を具体的には第7図に示すように行なつて
いる。すなわち先ず変換定数レジスタ17に
881848(これは30000を34、019.43で割り小数点
省略した数値)を設定する。次に入力レジスタ1
6のカウント数と上記881848を乗算し、その結果
を変換計算用レジスタ18に格納する。そして変
換計算用レジスタ18の上位から6桁目を四捨五
入し、そのレジスタ18の上位5桁までを入力レ
ジスタ16にシフトする。 さらに前記マイクロコンピユータ10は30ポン
ド処理を入力レジスタ16の1桁目を四捨五入
する。入力レジスタ16の上位4桁を重量メモ
リ12へシフトする。重量小数点位置指定メモ
リ14に3を設定する。の順序で行ない、又15キ
ログラム処理を入力レジスタ16の数値に5を
乗算し、結果を変換計算用レジスタ18に格納す
る。変換計算用レジスタ18の1桁目を四捨五
入し、上位5桁までを入力レジスタ16にシフト
する。入力レジスタ16の1桁目を5グラムス
テツプ処理する。すなち1桁目が0、1、2のと
きは0とし、3、4、5、6、7のときは5と
し、8、9のときは0として2桁目を桁上げす
る。入力レジスタ16の数値を重量メモリ12
へシフトする。重量小数点位置指定メモリ14
に4を設定する。の順序で行なうようにしてい
る。又前記マイクロコンピユータ10は6キログ
ラム処理を入力レジスタ16の数値に2を乗算
し、結果を変換計算用レジスタ18に格納する。
変換計算用レジスタ18の数値を入力レジスタ
16にシフトする。入力レジスタ16の1桁及
び2桁目を2グラムステツプ処理する。すなわち
この2桁が0〜9のときは00とし、10〜29のとき
は20とし、30〜49のときは40とし、50〜69のとき
は60とし、70〜89のときは80とし、90〜99のとき
は00として3桁目を桁上げする。入力レジスタ
16の上位4桁を重量メモリ12へシフトする。
重量小数点位置指定メモリ14に4を設定す
る。の順序で行ない、又15ポンド処理を入力レ
ジスタ16の数値に5を乗算し、結果を変換計算
用レジスタ18に格納する。変換計算用レジス
タ18の1桁目を四捨五入し、上位5桁までを入
力レジスタ16にシフトする。入力レジスタ1
6の1桁目を0.005ポンドステツプ処理する。(こ
れは上述した5グラムステツプ処理のときと同
じ)入力レジスタ16の数値を重量メモリ12
へシフトする。重量小数点位置指定メモリ14
に4を設定する。 そして前記マイクロコンピユータ10はこのよ
うな重量処理を行なつた後単価×重量の処理ルー
チンへ移行するようにしている。 したがつて、例えば30ポンドと15キログラム切
換形のロードセル秤を製作するときにはロードセ
ル1として15キログラム用のものを使用すればよ
く、又6キログラムと15ポンド切換形のロードセ
ル秤を製作するときにはロードセル1として15ポ
ンド用のものを使用すればよい。そして15キログ
ラム用のロードセル1を使用して最大有効計量値
が30ポンドの秤を製作するには30ポンドの荷重で
30000カウントするようにアナログ・デイジタル
変換器3を調整する。その状態でステータススイ
ツチ5a,5bをオンさせる。なお、ステータス
スイツチ5cはオンでもオフでもよい。しかして
ステータスメモリA及びBには“1”が立てられ
るからマイクロコンピユータ10は前述した30ポ
ンド処理を行なう。例えば被計量物2の荷重が30
ポンドのときは入力レジスタ16には30000が格
納され、その内上位4桁が重量メモリ12にシフ
トされる。しかしてマイクロコンピユータ10は
重量メモリ12の重量データを重量表示器8で表
示させるとともに重量小数点位置指定メモリ14
の数値3によつて3桁目に小数点表示を行なわせ
る。こうして重量表示器8には「3」「0.」「0」
「0」なる数値が表示され30ポンドであることが
表示される。そしてこの30ポンド秤を最大有効計
量値が15キログラムの秤に切換えるにはステータ
ススイツチ5bをオフにしてステータスメモリB
を“0”とするのみでよい。すなわちこうするこ
とによつて変換定数レジスタ17には907184が設
定される。今荷重は30ポンドで入力レジスタ16
には30000が格納されているので、変換計算用レ
ジスタ18には27215520000の数値が格納される
ことになる。ここでこの数値の上位から6桁目が
四捨五入されて27216020000となり、さらにこの
数値の上位5桁までが入力レジスタ16にシフト
される。すなわち、入力レジスタ16には27216
なる数値がシフトされることになる。そして次に
前述した15キログラム処理が行なわれる。すなわ
ち、27216×5の重算が行なわれその結果136080
が変換計算用レジスタ18に格納され、かつその
1桁目が四捨五入されて上位5桁までが入力レジ
スタ16にシフトされる。したがつて入力レジス
タ16には13608なる数値がシフトされることに
なる。そして次に13608の1桁目「8」について
5グラムステツプ処理が行なわれ入力レジスタ1
6の数値は13610となる。この入力レジスタ16
の数値は重量メモリ12にシフトされるとともに
重量小数点位置指定メモリ14に4が設定され
る。しかして重量表示器8には「1」「3.」「6」
「1」「0」すなわち13.610になる数値が表示され
30ポンド秤が15キログラム秤に変換されたことに
なる。 又、15ポンド用のロードセル1を使用して最大
有効計量値が6キログラムの秤を製作するには6
キログラムの荷重で30000カウントするようにア
ナログ・デイジタル変換器3を調整する。この状
態でステータススイツチ5aをオフ、5cをオン
させる。しかしてステータスメモリAには“0”
が立てられステータスメモリCには“1”が立て
られるからマイクロコンピユータ10は前述した
6キログラム処理を行なう。例えば荷重が6キロ
グラムのときは入力レジスタ16には30000が格
納され、次に30000×5の乗算が行なわれその結
果60000が変換計算用レジスタ18に格納され
る。この数値60000は続いて入力レジスタ16へ
シフトされる。そしてこの入力レジスタ16にお
いて1桁目と2桁目が2グラムステツプ処理され
得られる数値の上位4桁が重量メモリ12へシフ
トされるとともに重量小数点位置指定メモリ14
に4が設定される。しかして重量表示器8には
「6.」「0」「0」「0」すなわち6.000なる数値が
表示され6キログラムが表示される。そしてこの
6キログラム秤を最大有効計量値が15ポンドの秤
に切換えるにはステータススイツチ5cをオフに
してステータスメモリCに“0”を立てるのみで
よい。すなわち、こうすることによつて変換定数
レジスタ17には881848が設定される。今荷重は
6キログラムで入力レジスタ16には30000が格
納されているので、変換計算用レジスタ18には
26455440000の数値が格納されることになる。こ
こでこの数値の上位から6桁目が四捨五入されて
26455040000となり、さらにこの数値の上位5桁
までが入力レジスタ16にシフトされる。すなわ
ち入力レジスタ16には26455なる数値がシフト
されることになる。そして次に前述した15ポンド
処理が行なわれる。すなわち26455×5の乗算が
行なわれ、その結果132275が変換計算用レジスタ
18に格納され、かつその1桁目が四捨五入され
て上位5桁までが入力レジスタ16にシフトされ
る。したがつて、入力レジスタ16には13228な
る数値がシフトされることになる。そして次に
13228の1桁目の「8」について0.005ポンドステ
ツプ処理が行なわれ入力レジスタ16の数値は
13230となる。この入力レジスタ16の数値は重
量メモリ12にシフトされるとともに重量小数点
位置指定メモリ14に4が設定される。しかして
重量表示器8には「1」「3.」「2」「3」「0」す
なわち13.230なる数値が表示され6キログラム秤
が15ポンド秤に変換されたことになる。 このように30ポンド秤から15キログクム秤への
変換あるいは6キログラム秤から15ポンド秤への
変換がステータススイツチ5a,5b,5cの操
作によつて容易に行なうことができる。しかも30
ポンド秤と15キログラム秤との変換は最大有効計
量値が小さい30ポンドで基準パルス数M1=30000
を設定し、かつ6キログラム秤と15ポンド秤との
変換は最大有効計量値が小さい6キログラムで基
準パルス数M1=30000を設定しているので、それ
ぞれ15キログラム秤、15ポンド秤に切換えられて
もそれによつて分解能が低下し精度が低下するこ
とがなく精度を充分良好に保つことができる。 なお前記実施例では15キログラム処理及び15ポ
ンド処理時にそれぞれ入力レジスタ16の数値を
5倍する処理を行なうようにしたがかならずしも
これに限定されるものではなく、例えば第5図の
の処理時において変換定数レジスタ17の
907184及び881848を5倍した数値の上位6桁、す
なわち453592及び440924を設定するようにしても
よく、このようにすれば15キログラム処理及び15
ポンド処理における乗算、四捨五入、変換計算用
レジスタ18から入力レジスタ16へのシフト処
理を省略することができる。 以上詳述したようにこの発明によれば、荷重量
をデイジタル量で表示するようにしたロードセル
秤において、キログラム計量及びポンド計量のう
ち最大有効計量値の小さい方を基準にして最大有
効計量値に対する基準パルス数M1を設定すると
ともに最大有効計量値の大きい方の最大有効計量
値に対するパルス数M2を上記基準パルス数M1
最大有効計量値の小さい方の最大有効計量値に対
する比例関係から設定し、最大有効計量値の小さ
い方の計量を行なうときには計量によつて得られ
るパルス数に対する計量値上記基準パルス数M1
とその最大有効計量値との関係から比例的に求
め、かつ最大有効計量値の大きい方の計量を行な
うときには計量によつて得られるパルス数に対す
る計量値を、そのパルス数にM1/M2の定数を乗
算し、さらに上記基準パルス数M1を上記大きい
方の最大有効計量値で除算して得られる1パルス
当りの計量値を乗算して求めるようにし、その両
計量処理を選択的に行なえるようにしているの
で、キログラム・ポンドの切換えを簡単な操作で
容易に行なうことができ、しかも精度を招く虞が
ないロードセル秤におけるキログラム・ポンド変
換方式を提供できるものである。
[Table] As shown in FIG. 3, the RAM provided in the microcomputer 10 has a 4-bit, 1-digit configuration, including a 4-digit unit price memory 11 and a 5-digit weight memory 1.
2, 5-digit price memory 13, 1-digit weight decimal point position designation memory 14, 1-digit unit price, price decimal point position designation memory 15, 5-digit input register 16, 6-digit conversion constant register 17, 11-digit Conversion calculation registers 18 are formed respectively. The RAM is also provided with three 1-bit status memories A, B, and C. Then switch status memory A to status switch 5a.
, transfer status memory B to status switch 5.
In b, the status memory C is made to correspond to the status switch 5c, so that when the switch is on, "1" is set in the status memory, and when the switch is off, "0" is set in the status memory. As the load cell 1, when the maximum effective weighing value is 30 pounds and 15 kilograms, a one for 15 kilograms is used, and when the maximum effective weighing value is 15 pounds and 6 kilograms, a one for 15 pounds is used, and this exchange is performed as a unit. Since it uses a load cell, it can be easily carried out. The analog/digital converter 3 is, for example,
When load cell 1 for 15 kg is used, it is adjusted to count 30,000 pulses at a load of 30 pounds, and when load cell 1 for 15 pounds is used, it is adjusted to count 30,000 pulses at 6 kg.
This count pulse number becomes the reference pulse number M1 . The microcomputer 10 is adapted to read a predetermined program from the ROM at the start of weighing and perform the following processes in the order of . , clear the RAM. , read status memories A, B, and C. , the count number is read from the analog-to-digital converter 3 and stored in the input register 16. , converts the count of the input register 16 based on the contents of the status memory, and stores the obtained result in the input register 16. Regular weight processing is performed based on the count number of the input register 16. When the process of ~ is completed, the unit price set in advance is multiplied by the weight obtained in the process of ~ above to calculate price data. The above processing process is shown in a flow chart as shown in FIG. The microcomputer 1
0 specifically performs the above processing as follows. First, it is checked whether status memory A is set to "1". If "1" is set, then it is checked whether status memory B shows "1" or not. If “1” is also set in this memory B, the maximum effective weighing value is
Treat as 30 pounds. Also, if "1" is not set in memory B, the count number of input register 16 is 30,000, which is the reference pulse number of 30 pounds.
(M 1 ) is multiplied by the result of dividing by the number of pulses of 15 kilograms, 33069.336 (M 2 ), and after storing the result in the input register 16, processing is performed assuming that the maximum effective weight value is 15 kilograms. Also status memory A
If "1" is not set in the status memory C, then it is checked whether "1" is set in the status memory C or not. If "1" is set in this memory C, processing is performed assuming that the maximum effective weighing value is 6 kilograms. Also, if "1" is not set in memory C, set the reference pulse number of 6 kilograms 30000 (M 1 ) to the count number of input register 16 and set the number of pulses of 15 post.
The result of division by 34019.43 (M 1 ) is multiplied, the result is stored in the input register 16, and processing is performed assuming that the maximum effective weight value is 15 pounds. The above processing steps are shown in a flowchart as shown in FIG. Specifically, the microcomputer 10 performs calculation processing when the status B is not set to "1" in the above processing, as shown in FIG. That is, first, 907184 (this is a value obtained by dividing 30000 by 33069.336 and omitting the decimal point) is set in the conversion constant register 17. Next, the count number of the input register 16 is multiplied by the above 907184, and the result is stored in the conversion calculation register 18. Then, 6 from the top of the conversion calculation register 18
The digits are rounded off and the upper five digits of the register 18 are shifted to the input register 16. Further, the microcomputer 10 specifically performs calculation processing when the status C is not set to "1" in the above processing as shown in FIG. That is, first, write the conversion constant register 17.
Set 881848 (this is the number obtained by dividing 30000 by 34, 019.43 and omitting the decimal point). Next, input register 1
The count number 6 is multiplied by the above 881848, and the result is stored in the conversion calculation register 18. Then, the sixth digit from the top of the conversion calculation register 18 is rounded off, and the top five digits of the register 18 are shifted to the input register 16. Furthermore, the microcomputer 10 rounds off the 30 pound processing to the first digit of the input register 16. The upper four digits of the input register 16 are shifted to the weight memory 12. 3 is set in the weight decimal point position designation memory 14. In addition, the 15 kilogram processing is performed by multiplying the value in the input register 16 by 5, and the result is stored in the conversion calculation register 18. The first digit of the conversion calculation register 18 is rounded off, and the upper five digits are shifted to the input register 16. The first digit of the input register 16 is processed in 5-gram steps. That is, when the first digit is 0, 1, or 2, it is set as 0, when it is 3, 4, 5, 6, or 7, it is set as 5, and when it is 8 or 9, it is set as 0 and the second digit is carried. The value in the input register 16 is transferred to the weight memory 12.
Shift to. Weight decimal point position specification memory 14
Set 4 to . I try to do it in this order. The microcomputer 10 also multiplies the value in the input register 16 by 2 to process 6 kilograms, and stores the result in the conversion calculation register 18.
The numerical value in the conversion calculation register 18 is shifted to the input register 16. The first and second digits of the input register 16 are subjected to bigram step processing. In other words, when these two digits are between 0 and 9, it is set as 00, when it is between 10 and 29, it is set as 20, when it is between 30 and 49, it is set as 40, when it is between 50 and 69, it is set as 60, when it is between 70 and 89, it is set as 80. When the number is between 90 and 99, the third digit is carried as 00. The upper four digits of the input register 16 are shifted to the weight memory 12.
4 is set in the weight decimal point position designation memory 14. In addition, the 15 pound processing is performed by multiplying the value in the input register 16 by 5, and the result is stored in the conversion calculation register 18. The first digit of the conversion calculation register 18 is rounded off, and the upper five digits are shifted to the input register 16. input register 1
Process the first digit of 6 in 0.005 pound steps. (This is the same as in the 5-gram step process described above) The value in the input register 16 is transferred to the weight memory 12.
Shift to. Weight decimal point position specification memory 14
Set 4 to . After performing such weight processing, the microcomputer 10 moves to a unit price x weight processing routine. Therefore, for example, when manufacturing a load cell scale that switches between 30 pounds and 15 kilograms, it is sufficient to use load cell 1 for 15 kilograms, and when manufacturing a load cell scale that switches between 6 kilograms and 15 pounds, load cell 1 is used. You can use one for 15 pounds. To create a scale with a maximum effective weighing value of 30 pounds using load cell 1 for 15 kilograms, a load of 30 pounds is required.
Adjust analog-to-digital converter 3 to count 30,000. In this state, status switches 5a and 5b are turned on. Note that the status switch 5c may be on or off. Since "1" is set in the status memories A and B, the microcomputer 10 performs the above-mentioned 30-pound processing. For example, the load of object 2 to be measured is 30
In the case of pounds, 30,000 is stored in the input register 16, of which the upper four digits are shifted to the weight memory 12. Thus, the microcomputer 10 causes the weight data stored in the weight memory 12 to be displayed on the weight display 8, and also causes the weight decimal point position designation memory 14 to be displayed.
The value 3 causes the decimal point to be displayed in the third digit. In this way, the weight display 8 shows "3", "0.", and "0".
The number "0" is displayed, indicating that it is 30 pounds. To switch this 30-pound scale to a scale with a maximum effective weighing value of 15 kilograms, turn off status switch 5b and status memory B.
It is sufficient to just set it to “0”. That is, by doing this, 907184 is set in the conversion constant register 17. Now the load is 30 pounds and the input register is 16.
Since 30000 is stored in , the value 27215520000 will be stored in the conversion calculation register 18. Here, the sixth digit from the top of this number is rounded off to 27216020000, and the top five digits of this number are further shifted to the input register 16. In other words, input register 16 has 27216
The value will be shifted. Then, the aforementioned 15 kg processing is performed. In other words, multiplication of 27216×5 is performed and the result is 136080
is stored in the conversion calculation register 18, the first digit is rounded off, and the upper five digits are shifted to the input register 16. Therefore, the value 13608 will be shifted into the input register 16. Next, 5-gram step processing is performed on the first digit "8" of 13608, and input register 1
The value of 6 is 13610. This input register 16
The numerical value is shifted to the weight memory 12 and 4 is set to the weight decimal point position designation memory 14. However, the weight display 8 shows "1", "3.", and "6".
The numerical values ``1'' and ``0'', i.e. 13.610, are displayed.
This means that a 30 pound scale has been converted to a 15 kilogram scale. Also, to create a scale with a maximum effective weighing value of 6 kg using load cell 1 for 15 pounds, 6
Adjust the analog-to-digital converter 3 to count 30,000 with a kilogram load. In this state, status switch 5a is turned off and status switch 5c is turned on. However, status memory A is “0”
is set and "1" is set in the status memory C, so the microcomputer 10 performs the above-mentioned 6 kg processing. For example, when the load is 6 kilograms, 30,000 is stored in the input register 16, and then multiplication by 30,000×5 is performed and the resultant value, 60,000, is stored in the conversion calculation register 18. This number 60000 is then shifted into input register 16. In this input register 16, the first and second digits are processed in 2-gram steps, and the upper four digits of the obtained value are shifted to the weight memory 12, and the weight decimal point position designation memory 14 is shifted to the weight memory 12.
is set to 4. Thus, the weight display 8 displays the numerical values "6.", "0", "0", "0", that is, 6.000, and 6 kilograms is displayed. To switch this 6 kg scale to a scale with a maximum effective weighing value of 15 pounds, it is only necessary to turn off the status switch 5c and set "0" in the status memory C. That is, by doing this, 881848 is set in the conversion constant register 17. The current load is 6 kg and 30000 is stored in the input register 16, so the conversion calculation register 18 is
The number 26455440000 will be stored. Here, the 6th digit from the top of this number is rounded off.
26455040000, and the upper five digits of this number are further shifted to the input register 16. In other words, the value 26455 is shifted into the input register 16. Then, the aforementioned 15 pound processing is performed. That is, a multiplication of 26455×5 is performed, the result 132275 is stored in the conversion calculation register 18, the first digit is rounded off, and the upper five digits are shifted to the input register 16. Therefore, the value 13228 will be shifted into the input register 16. and then
0.005 pound step processing is performed for the first digit "8" of 13228, and the value in input register 16 is
It becomes 13230. The numerical value in the input register 16 is shifted to the weight memory 12, and 4 is set in the weight decimal point position designation memory 14. Thus, the weight display 8 displays the numerical values "1", "3.", "2", "3", and "0", that is, 13.230, and the 6 kilogram scale is converted to a 15 pound scale. In this way, conversion from a 30-pound scale to a 15-kg scale or from a 6-kg scale to a 15-pound scale can be easily performed by operating the status switches 5a, 5b, and 5c. And 30
For conversion between a pound scale and a 15 kilogram scale, the maximum effective weighing value is 30 pounds, and the reference pulse number M 1 = 30000.
, and when converting between a 6 kg scale and a 15 lb scale, the maximum effective weighing value is 6 kg, which has a small value, and the standard pulse number M 1 = 30000 is set, so the scale can be switched to a 15 kg scale and a 15 lb scale, respectively. However, the accuracy can be maintained at a sufficiently high level without causing a decrease in resolution or accuracy. In the above embodiment, the numerical value in the input register 16 is multiplied by 5 when processing 15 kilograms and when processing 15 pounds, but the invention is not limited to this. For example, when processing 1 in FIG. Constant register 17
You may set the upper six digits of 907184 and 881848 multiplied by 5, that is, 453592 and 440924. In this way, 15 kg processing and 15
Multiplication, rounding, and shift processing from the conversion calculation register 18 to the input register 16 in pound processing can be omitted. As described in detail above, according to the present invention, in a load cell scale that displays the load amount as a digital quantity, the maximum effective measurement value is calculated based on the smaller of the maximum effective measurement value of kilogram measurement and pound measurement. Set the reference pulse number M 1 and set the pulse number M 2 for the larger maximum effective weight value of the reference pulse number M 1 based on the proportional relationship to the smaller maximum effective weight value. When measuring the smaller maximum effective measurement value, the measurement value for the number of pulses obtained by measurement is the reference pulse number M 1 above.
and its maximum effective measurement value, and when measuring the larger maximum effective measurement value, the measurement value for the number of pulses obtained by measurement is calculated by multiplying the number of pulses by M 1 /M 2 The measurement value per pulse obtained by dividing the reference pulse number M 1 by the larger maximum effective measurement value is multiplied by a constant, and both measurement processes are selectively performed. Therefore, it is possible to easily switch between kilograms and pounds with a simple operation, and moreover, it is possible to provide a kilogram-pound conversion method in a load cell scale that does not pose a risk of impairing accuracy.

【図面の簡単な説明】[Brief explanation of the drawing]

図はこの発明の実施列を示すもので、第1図は
ロードセル秤の全体構成を示すブロツク図、第2
図はステータススイツチの構成を示す回路図、第
3図はRAMの構成を示す図、第4図は計量処理
過程を示すフローチヤート、第5図は第4図にお
ける、の処理を具体的に示すフローチヤー
ト、第6図は第5図においてステータスメモリB
が“1”でないときの乗算処理部を具体的に示す
フローチヤート、第7図は第5図においてステー
タスメモリCが“1”でないときの乗算処理部を
具体的に示すフローチヤートである。 1……ロードセル、2……被計量物、3……ア
ナログ・デイジタル変換器、5……ステータスス
イツチ、6……表示装置、10……マイクロコン
ピユータ。
The figures show the implementation of the present invention, and Fig. 1 is a block diagram showing the overall configuration of a load cell weigher, and Fig. 2 is a block diagram showing the overall configuration of a load cell scale.
Figure 3 is a circuit diagram showing the configuration of the status switch, Figure 3 is a diagram showing the configuration of RAM, Figure 4 is a flowchart showing the measurement processing process, and Figure 5 specifically shows the processing in Figure 4. Flowchart, Figure 6 shows status memory B in Figure 5.
FIG. 7 is a flowchart specifically showing the multiplication processing section when the status memory C is not "1" in FIG. 5. FIG. DESCRIPTION OF SYMBOLS 1... Load cell, 2... Object to be measured, 3... Analog-digital converter, 5... Status switch, 6... Display device, 10... Microcomputer.

Claims (1)

【特許請求の範囲】[Claims] 1 荷重量を電気的なアナログ量に変換するロー
ドセル及びこのロードセルから出力されるアナロ
グ量をデイジタル量に変換するアナログ・デイジ
タル変換器を設け、荷重量をデイジタル量で表示
するようにしたロードセル秤において、キログラ
ム計量及びポンド計量のうち最大有効計量値の小
さい方を基準にして最大有効計量値に対する基準
パルス数M1を設定するとともに最大有効計量値
の大きい方の最大有効計量値に対するパルス数
M2を上記基準パルス数M1の最大有効計量値の小
さい方の最大有効計量値に対する比例関係から設
定し、最大有効計量値の小さい方の計量を行なう
ときには計量によつて得られるパルス数に対する
計量値を上記基準パルス数M1とその最大有効計
量値との関係から比例的に求め、かつ最大有効計
量値の大きい方の計量を行なうときには計量によ
つて得られるパルス数に対する計量値を、そのパ
ルス数にM1/M2の定数を乗算し、さらに上記基
準パルス数M1を上記大きい方の最大有効計量値
で除算して得られる1パルス当りの計量値を乗算
して求めるようにし、その、両計量処理を選択的
に行なえるようにしたことを特徴とするロードセ
ル秤におけるキログラム・ポンド変換方式。
1. In a load cell scale that is equipped with a load cell that converts the load amount into an electrical analog amount and an analog/digital converter that converts the analog amount output from the load cell into a digital amount, and displays the load amount as a digital amount. , set the reference pulse number M 1 for the maximum effective measurement value based on the smaller of the maximum effective measurement values of kilogram measurement and pound measurement, and set the number of pulses for the maximum effective measurement value of the larger maximum effective measurement value.
M 2 is set based on the proportional relationship to the smaller maximum effective measurement value of the reference pulse number M 1 , and when measuring the smaller maximum effective measurement value, the The measured value is calculated proportionally from the relationship between the reference pulse number M1 and its maximum effective measured value, and when measuring the larger maximum effective measured value, the measured value for the number of pulses obtained by measurement is, The number of pulses is multiplied by a constant of M 1 /M 2 , and then the reference pulse number M 1 is divided by the larger maximum effective measurement value, and then multiplied by the measured value per pulse. A kilogram-pound conversion method in a load cell scale, characterized by being able to selectively perform both weighing processes.
JP8420478A 1978-07-11 1978-07-11 Kilogram-pound conversion system for load cell balance Granted JPS5510564A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8420478A JPS5510564A (en) 1978-07-11 1978-07-11 Kilogram-pound conversion system for load cell balance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8420478A JPS5510564A (en) 1978-07-11 1978-07-11 Kilogram-pound conversion system for load cell balance

Publications (2)

Publication Number Publication Date
JPS5510564A JPS5510564A (en) 1980-01-25
JPS6215128B2 true JPS6215128B2 (en) 1987-04-06

Family

ID=13823943

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8420478A Granted JPS5510564A (en) 1978-07-11 1978-07-11 Kilogram-pound conversion system for load cell balance

Country Status (1)

Country Link
JP (1) JPS5510564A (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56163420A (en) * 1980-05-20 1981-12-16 Tokyo Electric Co Ltd Electronic scale
JPS5777920A (en) * 1980-10-31 1982-05-15 Teraoka Seiko Co Ltd Alteration of memory content for electronic balance
JPS58171635A (en) * 1982-03-31 1983-10-08 Shimadzu Corp Electronic balance
JPS61110013A (en) * 1984-11-02 1986-05-28 Kubota Ltd Electronic digital scale

Also Published As

Publication number Publication date
JPS5510564A (en) 1980-01-25

Similar Documents

Publication Publication Date Title
KR930004889B1 (en) Load cell scales
NO145488B (en) TELLEVIGHT WITH TWO PLATFORM.
JP2501596B2 (en) Electronic scales
JPS6215128B2 (en)
JPS629844B2 (en)
JPS6230368B2 (en)
US5508946A (en) Electronic balance displaying weights in selected units
JP2703160B2 (en) Electronic scales
JPS6315788Y2 (en)
JPS6117391Y2 (en)
JPS6244601B2 (en)
JPS646684B2 (en)
JP2731313B2 (en) Electronic toll scale
JPS5853293B2 (en) Tare weight setting device for electronic digital display scales
JP2820066B2 (en) Counting scale
JP2546662B2 (en) Electronic scales
JPS60165522A (en) Measuring device
JPS634121B2 (en)
JPH0124593Y2 (en)
CA1046538A (en) Counting scale and method
JPS6341405B2 (en)
JPH05149781A (en) Electronic balance
JPH0312245B2 (en)
JPH033168B2 (en)
JPS638409B2 (en)