JPH02272325A - Charge calculating device - Google Patents

Charge calculating device

Info

Publication number
JPH02272325A
JPH02272325A JP1093158A JP9315889A JPH02272325A JP H02272325 A JPH02272325 A JP H02272325A JP 1093158 A JP1093158 A JP 1093158A JP 9315889 A JP9315889 A JP 9315889A JP H02272325 A JPH02272325 A JP H02272325A
Authority
JP
Japan
Prior art keywords
data
weight
length
register
executed
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
JP1093158A
Other languages
Japanese (ja)
Inventor
Shuichi Horie
秀一 堀江
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP1093158A priority Critical patent/JPH02272325A/en
Publication of JPH02272325A publication Critical patent/JPH02272325A/en
Pending legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

PURPOSE:To calculate a charge only when weight and length, etc., are measured by inhibiting a charge calculation executed by an arithmetic means, in the case a weight measurement is not executed by a weighing means at the time of inputting data by a data input means. CONSTITUTION:Weight of a baggage is measured by a weighing means 1, and also, data for showing a size of the baggage and data for showing a distribution area are inputted from a data input means 2. As a result, an arithmetic means 3 executes a charge calculation, based on the weight data obtained by the weighing means 1 and the input data inputted from the data input means 2, and in this case, the charge calculation is executed under a prescribed condition. That is, under the condition that the weight measurement is not executed by the weighing means 1 at the time of inputting the data by the data input means 2, an arithmetic control means 4 inhibits the charge calculation executed by the arithmetic means 3. Accordingly, the charge calculation can be executed automatically, and also, weight and length, etc. can be measured simultaneously.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、荷物の配送料金等を算出する料金[従来の
技術] 一般に、宅配便等を取扱う店舗においては、荷物の重さ
を測定する秤と、その長さを測定するメジャーと、配送
地域毎の料金が記載されている料金換算表とが用意され
ており1作業者は配送料金を求める場合、換算表を参照
することにより、秤で測定した重量と、メジャーで測定
した長さ(大きさ)と、配送地域に基づいて料金を求め
る方法をとっていた。
[Detailed Description of the Invention] [Industrial Application Field] This invention relates to a method for calculating delivery charges for packages, etc. [Prior Art] Generally, in stores that handle parcel delivery, etc., the weight of packages is measured. A scale, a tape measure to measure the length, and a charge conversion table that lists the charges for each delivery area are prepared.When an operator wants to calculate the delivery charge, he or she can use the scale by referring to the conversion table. The method used was to calculate charges based on the weight measured with a tape measure, the length (size) measured with a tape measure, and the delivery area.

[発明が解決しようとする課題] このように従来においては、配送料金を算出するまでの
一連の作業を全て人為的に行っているが、この場合、店
が混雑して取扱う荷物の数が多いいと、作業が煩雑化し
、測定した長さや重さあるいは指定された配送地域がど
の荷物のものかを混同したり、作業者の不正介入の余地
もあり、トラブルの発生が多く、信頼性に欠けるという
問題があった。
[Problem to be solved by the invention] As described above, in the past, the entire series of operations up to calculating the delivery fee was performed manually, but in this case, the store was crowded and the number of packages handled was large. Otherwise, the work becomes complicated, and there is a possibility that the measured length or weight or the designated delivery area belongs to which package, or there is room for unauthorized intervention by the operator, which leads to many troubles and lacks reliability. There was a problem.

この原因は、料金を算出するまでの一連の作業を人為的
に行う他、荷物の重さや長さ測定を個々独立に行うこと
に起因している。
This is due to the fact that in addition to manually performing a series of tasks up to calculating the fare, the weight and length of each baggage are measured independently.

してみれば、料金算出を自動的に行うと共に、重さや長
さ測定等を同時に行ったときに限り、料金を算出するこ
とができるようにすれば、不正介入等によるトラブルの
発生を防止し、料金を効率良く確実に算出することがで
きることは明らかである。
In this case, it would be possible to prevent troubles caused by unauthorized intervention by automatically calculating charges and allowing charges to be calculated only when measurements such as weight and length are taken at the same time. , it is clear that charges can be calculated efficiently and reliably.

この発明の課題は、料金算出を自動的に行うことができ
ると共に1重さや長さ測定等を行ったときに限り、料金
を算出することができるようにすることである。
An object of the present invention is to be able to automatically calculate charges and to be able to calculate charges only when weight, length, etc. are measured.

[課題を解決するための手段] この発明の手段は次の通りである。[Means to solve the problem] The means of this invention are as follows.

計量手段l(第1図の機能ブロック図を参照。Measuring means l (see the functional block diagram in Figure 1).

以下同じ)は、荷物等の重さを測定するもので、例えば
、ロード・セル、A/Dコンバータ等を備えた電子秤で
ある。
(The same applies hereinafter) is used to measure the weight of luggage, etc., and is, for example, an electronic scale equipped with a load cell, an A/D converter, etc.

データ入力手段2は荷物等の長さ(多ささ)やその配送
地域等を指定するデータを入力するキーボード等である
The data input means 2 is a keyboard or the like for inputting data specifying the length (height) of the package, its delivery area, etc.

演算手段3は計量手段lで得られた重量データとデータ
入力手段2から入力された入力データとに基づいて料金
(荷物の配送料金等)を算出する。
The calculation means 3 calculates charges (such as delivery charges for the package) based on the weight data obtained by the weighing means 1 and the input data input from the data input means 2.

演算制御手段4はデータ入力手段2でのデータ入力時に
計量手段lで重量計測が行われていない場合に、演算手
段3による料金算出を禁止する。
The arithmetic control means 4 prohibits the arithmetic means 3 from calculating the fee if the weighing means 1 is not measuring weight at the time of data input by the data input means 2.

[作 用] この発明の手段の作用は次の通りである。[Work] The operation of the means of this invention is as follows.

いま、宅配便を取扱う店舗において、荷物の配送料金を
算出するものとする。この場合、作業者は計量手段lで
荷物の重さを測定し、またデータ入力手段2から荷物の
大きさを示すデータや配送地域を示すデータを入力する
Now, assume that a store that handles home delivery calculates the delivery fee for a package. In this case, the operator measures the weight of the package using the weighing means 1, and also inputs data indicating the size of the package and data indicating the delivery area from the data input means 2.

すると、演算手段3は計量手段lで得られた重量データ
とデータ入力手段2から入力された入力データとに基づ
いて料金算出を行うが、この場合、一定の条件下で料金
算出が行われる。
Then, the calculation means 3 calculates the fee based on the weight data obtained by the weighing means 1 and the input data input from the data input means 2, but in this case, the fee calculation is performed under certain conditions.

即ち、データ入力手段2でのデータ入力時に計量手段l
で重量計測が行われていないことを条件に、演算制御手
段4は演算手段3による料金算出を禁止する。
That is, when data is input by the data input means 2, the measuring means l
The arithmetic control means 4 prohibits the arithmetic means 3 from calculating the fee on the condition that weight measurement is not performed.

したがって、料金算出を自動的に行うことができると共
に、重さや長さ測定等を同時に行うことができる。
Therefore, it is possible to automatically calculate charges, and also to measure weight, length, etc. at the same time.

[実施例] 以下、第2図〜第9図を参照して一実施例を説明する。[Example] An embodiment will be described below with reference to FIGS. 2 to 9.

第2図は電子秤iiの外観斜視図である。FIG. 2 is a perspective view of the electronic scale II.

電子秤11は電池を内蔵したポータプル型の計量器で、
その全体が薄板状の箱型を成し、その上面を載置台12
とし、蔵置台12の中心部には載置センサ13が取り付
けられている。載lセンサ13は荷物が載置されたこと
を感知する圧力センサで、この載tセンサ13によって
荷物のai状態が検知された際に内部電池の電源電圧を
計量用の電子部品に供給するようにしている。っまり佐
nセンサ13は゛電源供給を制御するもので、a置台1
2に荷物が・戒っている間、電源供給を行い消電電力を
削除することにより電池を電源とするボータプル型の電
子秤11を実現可能としたものである。
The electronic scale 11 is a portable weighing device with a built-in battery.
The entire structure forms a thin plate-like box shape, and its upper surface is placed on a mounting table 12.
A placement sensor 13 is attached to the center of the storage stand 12. The loading sensor 13 is a pressure sensor that detects that a load is placed on the load, and when the load sensor 13 detects the AI state of the load, it supplies the power supply voltage of the internal battery to the electronic components for weighing. I have to. The sensor 13 controls the power supply, and
By supplying power and eliminating consumed power while the baggage is being loaded on the scale 2, it is possible to realize a voltaple type electronic scale 11 that uses a battery as a power source.

また、電子秤11はその内部にロード・セル。Moreover, the electronic scale 11 has a load cell inside it.

アンプ、A/Dコンバータ等を有し、荷物の重さを電子
的に計測するもので、その計測データは電子秤11の側
面部に設けられている送信部14から送信される。なお
、電子秤11の側面部にはパワースイッチ15、計量デ
ータをクリアする“0″補正スイツチ16、取手17が
設けられている。
It has an amplifier, an A/D converter, etc., and measures the weight of the luggage electronically, and the measurement data is transmitted from a transmitter 14 provided on the side of the electronic scale 11. A power switch 15, a "0" correction switch 16 for clearing weighing data, and a handle 17 are provided on the side surface of the electronic scale 11.

第3図はコントローラ21の外観図で、コントローラ2
1は電池を内蔵したハンディタイプの電子機憲で、その
全体が両開き可能な縦長のブック状を成し、同図は両開
き状態を示している。
Figure 3 is an external view of the controller 21.
Reference numeral 1 denotes a handy type electronic machine with a built-in battery, and the whole is in the form of a vertically long book that can be opened in both directions, and the figure shows the state in which it is opened in both directions.

即ち、コントローラ21は右側ケース21aと左側ケー
ス21bとが両開き可能に取り付けられ、右側ケース2
1aの内面には料金データ等を表示する表示部22と各
種のキーを備えたキーボード23とが設けられ、また左
側ケース21bの内面にはガイダンス情報を表示するガ
イダンス表示部24が設けられている。また、右側ケー
ス21aの上部にはオートメジャ一部25が一体的に取
り付けられ、また左側ケース21bの上部には受信部2
6が取り付けられている。
That is, the controller 21 is attached so that the right case 21a and the left case 21b can be opened in both directions, and the right case 21a and the left case 21b are attached so that they can be opened both ways.
A display section 22 for displaying fee data etc. and a keyboard 23 with various keys are provided on the inner surface of the case 1a, and a guidance display section 24 for displaying guidance information is provided on the inner surface of the left case 21b. . Further, an automeasure part 25 is integrally attached to the upper part of the right case 21a, and a receiver part 25 is attached to the upper part of the left case 21b.
6 is installed.

キーボード23は長さデータの入力を指定する長さ指定
キーKA、重量データの入力を指定する重量指定キーK
B、パワーオン/オフスイッチKC,配送地域指定キー
KD等を有する構成となっている。
The keyboard 23 has a length designation key KA for designating the input of length data, and a weight designation key K for designating the input of weight data.
B, a power on/off switch KC, a delivery area designation key KD, etc.

オートメジャ一部25はその内部にスケール25aを巻
き取る巻取機構やスケール25aの引き出し量を自動的
に検出する光学的な検出部等を有し、また、その側部に
はアジャストキーKE、ストップ/ホールドキーKFが
設けられている。
The automeasure part 25 has a winding mechanism that winds up the scale 25a, an optical detection part that automatically detects the amount of withdrawal of the scale 25a, etc., and has an adjustment key KE on the side thereof. A stop/hold key KF is provided.

第4図は電子秤11.コントローラ21のブロック回路
図である。
Figure 4 shows the electronic scale 11. 2 is a block circuit diagram of a controller 21. FIG.

電子illはその内部にワンチップLSI(大規模集積
回路)31と、電池(アルカリ電池)32と、計量用の
ロード中セル33およびアンプ34と、光通信用のアン
プ35とを備えたa成となっている。
The electronic ill is an A-configuration device that includes a one-chip LSI (large scale integrated circuit) 31, a battery (alkaline battery) 32, a loading cell 33 and an amplifier 34 for measurement, and an amplifier 35 for optical communication. It becomes.

ロード・セル33の出力電圧(重量計測電圧)は、アン
プ34によって増幅され、ワンチップLSI31内のA
/Dコンバータ36によってデジタル変換されたのちワ
ンチップLS I 31内のCPU37に取り込まれる
。CPU37はROM38内のマイクロプログラムにし
たがってこの電子秤11の各種の動作を制御するもので
、計量データをRAM39に記憶させたり、RAM39
内の計量データを読み出して通信データとしてアンプ3
5に送る。また CPU37はa置センサ13の検知出
力に応じてオン/オフされるa置スイッチ40のスイッ
チング状態を取り込み、それに応じて電池32の電源供
給を制御する。
The output voltage (weight measurement voltage) of the load cell 33 is amplified by the amplifier 34 and
After being digitally converted by the /D converter 36, it is taken into the CPU 37 in the one-chip LSI 31. The CPU 37 controls various operations of the electronic scale 11 according to microprograms in the ROM 38, and stores weighing data in the RAM 39 and stores weighing data in the RAM 39.
Amplifier 3 reads out the weighing data in and sends it as communication data.
Send to 5. Further, the CPU 37 receives the switching state of the a position switch 40, which is turned on/off according to the detection output of the a position sensor 13, and controls the power supply to the battery 32 accordingly.

コントローラ21は次の如く構成されている。The controller 21 is configured as follows.

コントローラ21は電池(リチウム電池、アルカリ電池
)51を電源とするもので、オートメジャ一部25で測
定された長さに応じた信号はアンプ52で増幅されたの
ちインプット/アウトプット回路53に取り込まれる。
The controller 21 is powered by a battery (lithium battery, alkaline battery) 51, and the signal corresponding to the length measured by the automeasure part 25 is amplified by an amplifier 52 and then taken into an input/output circuit 53. It will be done.

また、電子秤11から光信号によって送信されて来た重
さに応じた信号はアンプ54で増幅されたのちインプッ
ト/アウトプット回路53に取り込まれる。なお、イン
プット/アウトプット回路53は入力された長さおよび
玉さの信号をデジタル値に変換し、CPU55に4える
。また、キーボード23から入力されたキー人力信号は
キー人力制御部56でキーコードに変換されたのちCP
U55に取り込まれる。
Further, a signal corresponding to the weight transmitted as an optical signal from the electronic scale 11 is amplified by the amplifier 54 and then taken into the input/output circuit 53. Note that the input/output circuit 53 converts the input length and height signals into digital values and inputs them to the CPU 55. Further, the key human power signal inputted from the keyboard 23 is converted into a key code by the key human power control unit 56, and then the CP
Incorporated into U55.

CPU55はROM57に記憶されているマイクロプロ
グラムにしたがってこのコントローラ21の各種の動作
を制御するもので、その内部には重量レジスタWT、地
域レジスタLC,3種類の長さレジスタLG1.LG2
.LG3、フラグレジスタFRが設けられている。ここ
で、重量レジスタWTは電子秤11で計測された重量デ
ータを一時記憶するレジスタ、地域レジスタLCはキー
ボード23から指定入力された地域データを一時記憶す
るレジスタ、長さレジスタLGI、LG2、LG3では
オートメジャ一部25で計測された長さデータを一時記
憶するもので、予めオートメジャ一部25によって測定
された荷物の3辺(高さ1幅、長さ)を順次記憶するも
のである。また、フラグレジスタFRは電子1411に
荷物がa、′i!!されている状態を示すフラグを記憶
するレジスタである。そして、CPU55は重量レジス
タWT、地域しジスタLC5長さレジスタLG1、LG
2、LGa内のデータを読み出し、RAM58内の各種
のテーブルを参照することにより配送料金の算出を行い
、その算出結果を表示制御部59に送って表示部22か
ら表示出力させる。
The CPU 55 controls various operations of the controller 21 according to microprograms stored in the ROM 57, and includes a weight register WT, area register LC, and three types of length registers LG1. LG2
.. LG3 and a flag register FR are provided. Here, the weight register WT is a register that temporarily stores the weight data measured by the electronic scale 11, the area register LC is a register that temporarily stores the area data specified and input from the keyboard 23, and the length registers LGI, LG2, and LG3 are It temporarily stores the length data measured by the auto-measure part 25, and sequentially stores the three sides (height, width, and length) of the baggage measured in advance by the auto-measure part 25. Also, the flag register FR indicates that the baggage in the electronic 1411 is a,'i! ! This is a register that stores a flag indicating the current state. The CPU 55 then uses a weight register WT, a region register LC5, a length register LG1, and a length register LG1.
2. Read the data in the LGa, calculate the delivery fee by referring to various tables in the RAM 58, and send the calculation result to the display control unit 59 to display it on the display unit 22.

この場合、料金算出は電子秤itに荷物が載置されてい
ることを条件に行われる。
In this case, charge calculation is performed on the condition that the package is placed on the electronic scale IT.

ナオ、コントローラ21には時計回路部60が設けられ
ており、CPU55は時計回路部60で得られた日時デ
ータを表示制御部59に送ってガイダンス表示部24か
ら表示出力させることにより配送日時を確認することが
できるようになっている。
The controller 21 is provided with a clock circuit section 60, and the CPU 55 confirms the delivery date and time by sending the date and time data obtained by the clock circuit section 60 to the display control section 59 and displaying it from the guidance display section 24. It is now possible to do so.

第5図はRAM58に設けられている料金ランク変換テ
ーブル58−1の構成を示し、この料金ランク変換テー
ブル58−1は重量、長さの計測値に応じて料金算出用
のランクを求める為の変換テーブルである。
FIG. 5 shows the configuration of a charge rank conversion table 58-1 provided in the RAM 58, and this charge rank conversion table 58-1 is used to determine ranks for charge calculation according to measured values of weight and length. This is a conversion table.

第6図はRAM58に設けられている料金変換テーブル
58−2の構成を示し、この料金変換テーブル58−2
は料金ランク変換テーブル58−1によって変換された
ランクと指定入力された配送地域とに基づいて配送料金
を算出する為の変換テーブルである。
FIG. 6 shows the structure of a charge conversion table 58-2 provided in the RAM 58.
is a conversion table for calculating the delivery fee based on the rank converted by the fee rank conversion table 58-1 and the specified input delivery area.

第7図はRAM58に設けられている集計メモリ58−
3の構成を示し、集計メモリ58−3は各地域毎にキャ
ラクタ(地域名)1個数、純売上金額を記憶する構成と
なっている。
FIG. 7 shows a tally memory 58- provided in the RAM 58.
3, the tally memory 58-3 is configured to store one character (region name) and the net sales amount for each region.

次に1本実施例の動作を第8図、第9図を参照して説明
する。
Next, the operation of this embodiment will be explained with reference to FIGS. 8 and 9.

第8図は電子秤llの全体動作を示したフローチャート
である。
FIG. 8 is a flowchart showing the overall operation of the electronic scale II.

いま、電子秤11の載置台12に被計量物としての荷物
を載せると、a置センサ13によって荷物の載置状態が
検知され、これによって載置スイッチ40がオンすると
(ステップAI)、電池32の電源電圧がワンチップL
SI31に供給されパワーオンとなる(ステップA2)
、この場合、ロード・セル33からの出力電圧がアンプ
34で増幅されてA/Dコンバータ36に送られ、デジ
タル値の重量データに変換されたのちCPU37に供給
されるが、この際、CPU37は重量計測値が安定する
まで待ち(ステップA3)1重量が安定したらその計測
イメを取り込んでRAM39に記憶させる(ステップA
4)、そして、RAM39から計測データ(重量データ
)を読み出してアンプ35に与え、光信号としてコント
ローラ21へ送信する(ステップA5)、なお1図中T
Dは送信データを示し、Sはスタートコード、Eはエン
ドコードである。このような送信データを予め決められ
ている回数分複数回送信し続ける。このようにして重量
データを複数回送信したらコントローラ21から重量デ
ータの送信要求が有ったか否かを調べる(ステップA6
)。
Now, when a load as an object to be weighed is placed on the mounting table 12 of the electronic scale 11, the loading state of the load is detected by the a position sensor 13, and when the loading switch 40 is turned on (step AI), the battery 32 is turned on. The power supply voltage is one chip L
The power is supplied to SI31 and the power is turned on (step A2).
In this case, the output voltage from the load cell 33 is amplified by the amplifier 34, sent to the A/D converter 36, converted into digital weight data, and then supplied to the CPU 37; Wait until the weight measurement value stabilizes (Step A3) 1 When the weight stabilizes, take in the measurement image and store it in the RAM 39 (Step A
4) Then, the measurement data (weight data) is read out from the RAM 39, given to the amplifier 35, and transmitted as an optical signal to the controller 21 (step A5).
D indicates transmission data, S is a start code, and E is an end code. Such transmission data is continued to be transmitted multiple times a predetermined number of times. After transmitting the weight data multiple times in this way, it is checked whether there is a request to transmit the weight data from the controller 21 (step A6).
).

ここで、重量データの送信要求が無ければ、載置スイッ
チ40のオン/オフ状態を調べる(ステップA7)、い
ま、載置スイッチ40がオン、つまり、電子秤11に荷
物がtitされたままの状態にあれば1.ステップA6
に戻り、重量データの送信要求が有るまでステップA6
、A7を繰り返しながら待機する。しかして、コントロ
ーラ21から送信要求があった場合には、ステップA3
に戻り、重量測定値を取り込んで再びコントローラ21
へ送信する動作(ステップA4、A5)を繰り返す。
Here, if there is no request to send weight data, check the on/off state of the loading switch 40 (step A7). If the condition is 1. Step A6
Return to step A6 until there is a request to send weight data.
, and wait while repeating A7. If there is a transmission request from the controller 21, step A3
Return to , import the weight measurement value, and return to the controller 21.
The operation of transmitting data to (steps A4 and A5) is repeated.

しかして、a置スイッチ40がオフされると、ステップ
A7でそのことが検出されてステップ八8に進み、ワン
チップLSI31に対する電源供給を遮断する。
When the a position switch 40 is turned off, this is detected in step A7, and the process proceeds to step 88, where the power supply to the one-chip LSI 31 is cut off.

第9図はコントローラ21の全体動作を示したフローチ
ャートである。
FIG. 9 is a flowchart showing the overall operation of the controller 21.

CPU55は電源投入に伴って第9図のフローチャート
にしたがった動作を実行する。
When the power is turned on, the CPU 55 executes operations according to the flowchart shown in FIG.

先ず、CPU55はキーボード23からキー人力(ステ
ップBl)あるいは電子秤11から重量データが伝送さ
れて来るまで待機する(ステップB2)。
First, the CPU 55 waits until a key is input from the keyboard 23 (step B1) or weight data is transmitted from the electronic scale 11 (step B2).

いま、電子秤11からの重量データを受信すると1重量
データを逐次RAM58に記憶させる(ステップB3)
、そして、重量データを所定回数受信したかを調べ(ス
テップB4)、所定回数未満であればステップBlに戻
るが、電子秤11から複数回送信されて来る重量データ
を正常に受信するとステップB5に進み、RAM58内
の所定回数分の重量データのうち一番一致の多い重量デ
ータ(信頼性の高い重量データ)を検出して重量レジス
タWTに書き込む、そして、電子秤11から伝送された
来た@量データを正常受信した旨を報知する(ステップ
B6)、そして、フラグレジスタFRを参照してフラグ
のオン/オフ状態ヲ調べるが(ステップB7)、最初は
フラグオフが検出されるので、ステップBlに戻る。
Now, when weight data is received from the electronic scale 11, one weight data is sequentially stored in the RAM 58 (step B3).
Then, it is checked whether the weight data has been received a predetermined number of times (step B4), and if it is less than the predetermined number of times, the process returns to step Bl, but if the weight data transmitted multiple times from the electronic scale 11 is successfully received, the process returns to step B5. Then, it detects the most consistent weight data (highly reliable weight data) among the weight data stored in the RAM 58 for a predetermined number of times and writes it into the weight register WT. It notifies that the quantity data has been normally received (step B6), and checks the on/off status of the flag by referring to the flag register FR (step B7). At first, flag off is detected, so step Bl is executed. return.

しかして、作業者が重量データの正常受信を確認したり
、重量指定キーKBを操作する。すると、ステップBl
でキー人力有りが検出されてステップB9に進むが、い
ま、重量指定キーKBが操作されたので、ステップB1
8でそのことが検出されてステップB19に進み1重量
レジスタWTに重量データが記憶されていることを条件
に、その重量データを表示部22に表示出力させる(ス
テップB20)。
The operator then confirms that the weight data has been received normally or operates the weight designation key KB. Then step Bl
, it is detected that the key is powered by hand, and the process proceeds to step B9, but since the weight designation key KB has just been operated, the process proceeds to step B1.
When this is detected in step 8, the process proceeds to step B19, and on condition that the weight data is stored in the 1 weight register WT, the weight data is displayed and output on the display section 22 (step B20).

その後、ステップB26に進み、重量レジスタWT、地
域しジスタLC1長さレジスタLGI、LG2、LG3
内にそれぞれ所定のデータが記憶されたか、つまり、配
送料金を算出する為に必要なデータが全て揃ったか否か
のチエツクを行うが、この場合1重量データのみが得ら
れた段階であるから全てのデータが揃うまでステップB
lに戻る。
Thereafter, the process proceeds to step B26, where the weight register WT, area register LC1, length register LGI, LG2, LG3
It is checked whether the specified data has been stored in each file, that is, whether all the data necessary to calculate the shipping fee has been collected, but in this case, only one weight data has been obtained. Step B until the data of
Return to l.

一方、荷物の長さを測定する為に、オートメジャ一部2
5のスケール25aを引き出すと、オートメジャ一部2
5ではその引き出し量に応じた長さの検出が行われ、そ
の出力はアンプ52、インプット/アウトプット回路5
3を介してCPU55に取り込まれる。このようにして
作業者はオートメジャ一部25を用いて長さの測定を行
うが、この場合、長さ指定キーKAを操作する。すると
、ステップB9でそのことが検出されてステップBIO
に進み、長さデータの入力有無を調べる。ここで、長さ
の測定を行わず、単に長さ指定キーKAを操作したとき
には、その旨を示すエラーガイダンス表示が行われる(
ステップB16)、いま、長さデータの入力が検出され
ると、入力回数のチエツクを行い(ステップB11、B
14、B15)、その結果、1回目であれば長さレジス
タLGIに、2回目であれば長さレジスタLG2に、3
回目であれば長さレジスタLG3に順次記憶させると共
に(ステップB12)1表示部22に長さデータを表示
させる(ステップB13)。
On the other hand, in order to measure the length of the baggage, the auto measurer part 2
When you pull out the scale 25a of 5, the auto measure part 2
5, the length is detected according to the amount of extraction, and the output is sent to the amplifier 52 and the input/output circuit 5.
3 to the CPU 55. In this way, the operator measures the length using the automeasure part 25, but in this case operates the length designation key KA. Then, this is detected in step B9 and step BIO is executed.
Proceed to and check whether length data is entered. Here, if you simply operate the length designation key KA without measuring the length, an error guidance display to that effect will be displayed (
Step B16), when the input of length data is detected, the number of inputs is checked (step B11, B
14, B15), as a result, 3 is stored in length register LGI if it is the first time, and in length register LG2 if it is the second time.
If it is the third time, the length data is sequentially stored in the length register LG3 (step B12) and the length data is displayed on the 1 display section 22 (step B13).

このようにして荷物の3辺を測定し、その測定値を長さ
レジスタLG1.LG2.LG3にセットしたら、それ
らの測定値に基づいて3辺の合計を求め、その演算結果
をRAM58に記憶させる(ステップB17)、 また、地域指定キーKDが操作された場合には(ステッ
プB21)、操作された地域指定キーKDに対応する地
域データを地域レジスタLCに記憶させ(ステップB2
2)、それを表示部22に表示出力させる(ステップB
23)。
In this way, three sides of the package are measured, and the measured values are stored in length register LG1. LG2. Once set in LG3, calculate the sum of the three sides based on those measured values, and store the calculation result in the RAM 58 (step B17). Also, when the region designation key KD is operated (step B21), The region data corresponding to the operated region designation key KD is stored in the region register LC (step B2
2), display it on the display unit 22 (step B
23).

なお、ステップB16では長さデータを4回以上入力し
た場合(ステップB15でNo)や電子秤11から重量
データが伝送されて来ないにも拘らず、重量指定キーK
Bを操作した場合(ステラ7’B19でNo)にもその
エラー内容にしたがったガイダンス表示が行われる。ま
た、長さ指定キーKA、重量指定キーKB、地域指定キ
ーKDを除く他のキーが操作された場合には入カキ−に
対応する各種の処理が実行され(ステップB24)、そ
の処理結果が表示部22から表示出力される(ステップ
B25)。
In addition, in step B16, if the length data is input four or more times (No in step B15) or even if the weight data is not transmitted from the electronic scale 11, the weight designation key K is pressed.
Even when B is operated (No at Stella 7'B19), guidance is displayed according to the error details. Furthermore, when keys other than the length specification key KA, weight specification key KB, and area specification key KD are operated, various processes corresponding to the input keys are executed (step B24), and the processing results are displayed. It is displayed and output from the display section 22 (step B25).

しかして、上述のようにして配送料金を求める為に必要
となる重量データ、長さデータ、地域データの全てが入
力記憶されるとステップB26でそのことが検出されて
ステップB27に進み、電子秤11に荷物がまだaδさ
れているか否かを調べる為に、電子秤11に対して重量
データの送信要求を行い、電子秤11から重量データが
送信されて来るまでそれを要求し続ける(ステップ82
8)、ここで、この要求に応答して重量データが送信さ
れて来ると、その旨を示す為にフラグレジスタFRにセ
ットされるフラグをオンさせる(ステップB29)、そ
して、ステップB3に戻り、上述と同様に、電子秤11
からの重量データを取り込んだのちフラグオン/オフ状
態を調べるが(ステップB7)、この場合、フラグオン
が検出されるので、ステップB8に進み、重量レジスタ
WTに記憶されている前回の重量データと今回の重量デ
ータとの差が予め決められている所定量以内かをチエツ
クする。ここで、所定量未満であれば、前回測定された
重量データと今回測定された重量データとは同一荷物に
対するものではなく、他の荷物のものであることが判別
されてステップB16に進み、エラーガイダンス表示が
行われる。
When all of the weight data, length data, and area data necessary to calculate the shipping fee as described above have been input and stored, this is detected in step B26, and the process proceeds to step B27, where the electronic scale is In order to check whether the baggage has been aδ-treated or not, a request is made to the electronic scale 11 to send weight data, and the request is continued until the weight data is sent from the electronic scale 11 (step 82
8) Here, when the weight data is transmitted in response to this request, the flag set in the flag register FR is turned on to indicate this (step B29), and the process returns to step B3. Similarly to the above, the electronic scale 11
After importing the weight data from the weight register WT, the flag on/off status is checked (step B7). In this case, since flag-on is detected, the process proceeds to step B8, where the previous weight data stored in the weight register WT and the current weight data are It is checked whether the difference with the weight data is within a predetermined amount. Here, if it is less than the predetermined amount, it is determined that the weight data measured last time and the weight data measured this time are not for the same baggage, but are for different bags, and the process proceeds to step B16, where an error occurs. Guidance display is performed.

一方、前回と今回の測定値が所定量以内で同一荷物に対
する測定値であることが検出されると、換言すれば、荷
物の重量計量が行われている間に、長さデータの入力や
配送地域の指定が行われたことを条件に、ステップB3
0に進み、配送料金の算出が行われる。
On the other hand, if it is detected that the previous and current measurement values are within a predetermined amount and are measured values for the same package, in other words, while the package is being weighed, length data can be entered and delivered. Step B3, provided that the region has been designated.
0, and the delivery charge is calculated.

この場合、RAM58に設けられている料金ランク変換
テーブル58−1.料金変換テーブル58−2を参照す
ることによってその算出を行う、先ず、重量レジスタW
T内の重量データと、RAM58内の長さデータ(3辺
の合計)とに基づいて料金ランク変換テーブル58−1
の検索を行い、荷物の重さと長さ(大きさ)に応じて料
金ランクを求める。次に、この料金ランクと地域レジス
タLC内の地域データとに基づいて料金変換テーブル5
8−2を検索し、配送料金を求める。
In this case, charge rank conversion table 58-1. First, the weight register W performs the calculation by referring to the charge conversion table 58-2.
Price rank conversion table 58-1 based on weight data in T and length data (total of three sides) in RAM 58
, and determine the rate rank according to the weight and length (size) of the package. Next, based on this rate rank and the area data in the area register LC, the rate conversion table 5
8-2 and find the shipping fee.

このようにして配送料金が算出されると、この算出料金
を表示部22に表示出力させる(ステップB51)、そ
して、地域データに基づいて集計メモリ58−3を検索
し、該当地域名に対応する集計メモリ58−3内の個数
および純売上金額の更新を行う(ステップB52)、そ
して、CPU55内の各種のレジスタをクリアする(ス
テップB53)、そして、ステップBlに戻り、以下、
同様の動作が繰り返される。
When the delivery fee is calculated in this way, the calculated fee is displayed on the display unit 22 (step B51), and the tally memory 58-3 is searched based on the regional data to find the corresponding area name. The number of items and the net sales amount in the tally memory 58-3 are updated (step B52), and various registers in the CPU 55 are cleared (step B53). Then, the process returns to step Bl, and the following steps are performed.
Similar actions are repeated.

なお、上記実施例は長さ指定キーKA、重量指定キーK
Bを操作するようにしたが、キー操作を行わず、重さや
長さの計測値を自動的に取り込んで記憶するようにして
もよい、この場合、各測定器が安定状態となる一定時間
の経過を待ち、安定したら自動的にデータを記憶するよ
うにすればよい。
In addition, in the above embodiment, the length designation key KA and the weight designation key K
B is operated, but it is also possible to automatically capture and store the measured values of weight and length without performing any key operations. All you have to do is wait for the process to progress, and when it stabilizes, automatically store the data.

[発明の効果] この発明は、料金算出を自動的に行うと共に。[Effect of the invention] This invention automatically calculates charges.

重さの測定をデータ入力と同時に行ったときに限り、料
金を算出することができるので、不正介入等によるトラ
ブルの発生を防止し、料金を効率良く確実に算出するこ
とが可能となる。
Since the fee can be calculated only when the weight is measured and the data is input at the same time, troubles due to unauthorized intervention can be prevented and the fee can be calculated efficiently and reliably.

11・・・・・・電子秤、21・・・・・・コントロー
ラ。
11...Electronic scale, 21...Controller.

23・・・・・・キーボード、25・・・・・・オート
メジャー部、55・・・・・・CPU、57・・・・・
・ROM、58−1・・・・・・料金ランク変換テーブ
ル、58−2・・・・・・料金変換テーブル。
23...Keyboard, 25...Auto measure section, 55...CPU, 57...
- ROM, 58-1...Fee rank conversion table, 58-2...Fee conversion table.

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

第1図はこの発明の機能ブロック図、第2図〜第9図は
実施例を示し、第2図は電子秤11の外観側視図、第3
図はコントローラ21の外観図。 第4図は電子秤11、コントローラ21のブロック回路
図、第5図は料金ランク変換テーブル581の構成を示
した図、第6図は料金変換テーブル58−2の構成を示
した図、第7図は集計メモリ58−3の構成を示した図
、第8図は電子秤11の全体動作を示したフローチャー
ト、第9図はコントローラ21の全体動作を示したフロ
ーチャートである。 特 許
FIG. 1 is a functional block diagram of the present invention, FIGS. 2 to 9 show embodiments, FIG. 2 is an external side view of the electronic scale 11, and FIG.
The figure is an external view of the controller 21. 4 is a block circuit diagram of the electronic scale 11 and the controller 21, FIG. 5 is a diagram showing the configuration of the fee rank conversion table 581, FIG. 6 is a diagram showing the configuration of the fee conversion table 58-2, and FIG. 8 is a flow chart showing the overall operation of the electronic scale 11, and FIG. 9 is a flow chart showing the overall operation of the controller 21. patent

Claims (1)

【特許請求の範囲】 重量を計測する計量手段と、 データを入力するデータ入力手段と、 前記計量手段で計量された重量データと前記データ入力
手段から入力された入力データとに基づいて所定の料金
を算出する演算手段と、 前記データ入力手段でのデータ入力時に前記計量手段で
重量計測が行われていない場合に、前記演算手段による
料金算出を禁止する演算制御手段と、 を具備したことを特徴とする料金算出装置。
[Scope of Claims] Weighing means for measuring weight; data input means for inputting data; and predetermined charges based on the weight data measured by the weighing means and the input data input from the data input means. and a calculation control means for prohibiting the calculation means from calculating the fee if the weighing means is not measuring weight at the time of data input by the data input means. A fee calculation device that
JP1093158A 1989-04-14 1989-04-14 Charge calculating device Pending JPH02272325A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1093158A JPH02272325A (en) 1989-04-14 1989-04-14 Charge calculating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1093158A JPH02272325A (en) 1989-04-14 1989-04-14 Charge calculating device

Publications (1)

Publication Number Publication Date
JPH02272325A true JPH02272325A (en) 1990-11-07

Family

ID=14074743

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1093158A Pending JPH02272325A (en) 1989-04-14 1989-04-14 Charge calculating device

Country Status (1)

Country Link
JP (1) JPH02272325A (en)

Similar Documents

Publication Publication Date Title
US5121328A (en) Fee calculating apparatus for calculating delivery fee of parcel in accordance with its weight, length, and delivery area
JPH0514210B2 (en)
US20040003947A1 (en) Handheld electronic scale with touch screen
JP2501596B2 (en) Electronic scales
US4836309A (en) Electronic weighing instrument
JPH02272325A (en) Charge calculating device
JP5163312B2 (en) Weighing device
JP2595343B2 (en) Charge calculator
JP7456606B2 (en) Weighing system
JP2547981B2 (en) Data aggregation device
JPH02276919A (en) Metering device with drawer
JP2574002B2 (en) Transportation fee processing equipment
JPH02278129A (en) Rate calculating apparatus
JPH02245968A (en) Stock managing system
JP2000055728A (en) Article weight measuring apparatus
JP2532139B2 (en) Product sales data processing device
JP2010085218A (en) Weighing device
JPH09113339A (en) Load metering system
JPS6029884B2 (en) Electronic digital display scale presetting device
JP2619926B2 (en) Baby scale
JPS62209319A (en) System for controlling on-hand amount of commodity
JP2000275091A (en) Object collecting carriage
JPH0122891B2 (en)
JPH04335460A (en) Portable input device for delivering cargo
JPH0220649Y2 (en)