JPH0136045B2 - - Google Patents
Info
- Publication number
- JPH0136045B2 JPH0136045B2 JP6362580A JP6362580A JPH0136045B2 JP H0136045 B2 JPH0136045 B2 JP H0136045B2 JP 6362580 A JP6362580 A JP 6362580A JP 6362580 A JP6362580 A JP 6362580A JP H0136045 B2 JPH0136045 B2 JP H0136045B2
- Authority
- JP
- Japan
- Prior art keywords
- weight
- scale
- data
- ecr
- display
- 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
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01G—WEIGHING
- G01G19/00—Weighing apparatus or methods adapted for special purposes not provided for in the preceding groups
- G01G19/40—Weighing apparatus or methods adapted for special purposes not provided for in the preceding groups with provisions for indicating, recording, or computing price or other quantities dependent on the weight
- G01G19/417—Weighing apparatus or methods adapted for special purposes not provided for in the preceding groups with provisions for indicating, recording, or computing price or other quantities dependent on the weight with provision for checking computing part of balance
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Mathematical Physics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Cash Registers Or Receiving Machines (AREA)
Description
【発明の詳細な説明】
この発明は電子式秤と電子式キヤツシユレジス
タ(ECR)とからなる計量処理装置に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a weighing and processing device comprising an electronic scale and an electronic cash register (ECR).
この種計量処理装置においては秤とキヤツシユ
レジスタ(ECR)との信号ラインの接続確実に
行なわれているか否かテストする必要があるが、
従来は秤において100g、200g、400g、800g等
の重さが決まつた分銅円をくり返えし計量し、そ
のときの重量データをECRに転送し秤の表示器
の内容とECRの表示器の内容が同一であるか否
かをチエツクして信号ラインの接続を確認するよ
うにしていた。 In this type of weighing processing equipment, it is necessary to test whether the signal line connection between the scale and the cash register (ECR) is secure.
Conventionally, a weight circle with a fixed weight of 100g, 200g, 400g, 800g, etc. is weighed repeatedly on a scale, and the weight data at that time is transferred to the ECR and the contents of the scale's display and the ECR's display are displayed. The connection of the signal lines was confirmed by checking whether the contents of the two lines were the same.
しかしこのようなものでは秤において何種かの
分銅をくり返えし計量することになり、テストに
比較的長時間を費やすとともに操作が面倒となる
欠点があつた。 However, with this type of weighing scale, several types of weights must be repeatedly weighed, which requires a relatively long time for testing and is complicated to operate.
この発明はこのような欠点を除去するために為
されたもので、秤とECRとの信号ラインの接続
確認を短時間で、しかも簡単な操作で行なうこと
ができる計量処理装置を提供することを目的とす
る。 The present invention has been made to eliminate these drawbacks, and it is an object of the present invention to provide a weighing processing device that can check the connection of the signal line between the scale and the ECR in a short time and with simple operation. purpose.
以下、この発明の実施例を図面を参照して説明
する。 Embodiments of the present invention will be described below with reference to the drawings.
第1図は外観を示し、1は電子式秤、2は電子
式キヤツシユレジスタ(ECR)で、この両者は
テーブル3の一端側と他端側に載置され、伝送ケ
ーブル4によつて電気的に結合されている。前記
秤1は計量台5、操作部6、重量表示器7によつ
て構成され、上記表示器7をECR2の近傍に取
付け、伝送ケーブル8によつて計量台部と接続さ
れている。前記ECR2は天部に顧客用リモート
表示器9を設け、前面上部に店員用表示器10を
設け、前面中央部にキーボード11、ジヤーナル
点検窓12、レシート発行口13を設け、かつ前
面下部にドロワ14を設けている。前記秤1の操
作部6には例えばテスト動作スタートスイツチと
して機能するテストキー6a等が設けられ、又前
記ECR2のキーボード11には単価データや単
品データ等を入力するための置数キー11a、上
記秤1から重量データを呼込むために使用される
スケールキー11b等が設けられている。 Figure 1 shows the external appearance. 1 is an electronic scale, 2 is an electronic cash register (ECR), and these are placed on one end and the other end of a table 3, and are connected to electricity by a transmission cable 4. are connected to each other. The scale 1 is composed of a weighing platform 5, an operating section 6, and a weight display 7. The display 7 is mounted near the ECR 2 and connected to the weighing platform by a transmission cable 8. The ECR 2 has a customer remote display 9 on the top, a clerk display 10 on the top of the front, a keyboard 11, a journal inspection window 12, a receipt issuing port 13 on the center of the front, and a drawer on the bottom of the front. There are 14. The operating section 6 of the scale 1 is provided with a test key 6a which functions as a test operation start switch, for example, and the keyboard 11 of the ECR 2 includes a number key 11a for inputting unit price data, single item data, etc. A scale key 11b and the like used to retrieve weight data from the scale 1 are provided.
第2図は電子式秤1の回路構成を示すブロツク
図で、21はロードセル等からなる重量センサ
で、この重量センサ21は前記計量台5に荷重が
かかると重さに対応した大きさの電圧信号を出力
するようにしている。前記重量センサ21から出
力される電圧信号は差動増幅器22で増幅され、
さらにローパスフイルタ23で雑音等の高周波成
分がカツトされてA/D(アナログ・デイジタル)
変換器24に入力されるようになつている。前記
A/D変換器24は例えば2重積分方式のもの
で、入力電圧に対応したカウント数をデイジタル
信号として出力するようにしている。前記A/D
変換器24から出力されるデイジタル信号をI/
Oポート25に入力している。前記I/Oポート
25にはまた例えば計量単位をポンド・キログラ
ムに切換えるスイツチ、最大秤量を切換えるスイ
ツチ、インターフエースの選択スイツチ等各種の
ステイタススイツチ261,262………26n
の操作内容がデータとして入力している。前記
I/Oポート25に入力される重量カウントデー
タやステイタススイツチ操作情報はデータ処理装
置27に供給されるようになつている。前記デー
タ処理装置27はCPU(中央処理ユニツト)2
8、RAM(ランダム・アクセス・メモリ)29、
ROM(リード・オンリ・メモリ)30からなり、
これらCPU28、RAM29、ROM30とI/
Oポート25とはデータ・バス31、アドレス・
バス32によつて電気的に結合されている。また
前記CPU28、RAM29、ROM30は前記デ
ータ・バス31並びにアドレス・バス32によつ
て表示・キーボードコントローラ33および
ECR用インターフエース34と電気的に結合さ
れている。前記表示・キーボードコントローラ3
3は前記操作部6および重量表示器7を制御する
もので、操作部6からのキー入力を前記データ処
理装置27に出力するとともに上記データ処理装
置27からの表示データを上記表示器7へ出力す
るようにしている。前記インターフエース34は
前記CPU28に制御されECR2とデータ転送制
御を行なうようにしている。前記RAM29は第
3図に示すように例えば1ワード4ビツトで16×
16の256ワードからなり、各種レジスタや各種フ
ラグメモリを形成している。各ワードをM〔X、
Y〕、各ビツトを< >で示して主なものについ
て述べるとM〔O、0〕〜M〔O、4〕の5ワード
で重量レジスタを形成し、M〔2、0〕〜M〔2、
F〕の16ワードでワーキングレジスタを形成し、
M〔5、0〕、M〔5、1〕、M〔5、2〕、M〔5、
3〕、M〔5、4〕の各1ワード前記各種ステイタ
ススイツチ261,262………26nの内容を
記憶するレジスタを形成し、M〔7、0〕〜M
〔7、4〕の5ワードでADCレジスタを形成して
いる。またM〔8、0〕〜M〔8、5〕、M〔9、
0〕〕〜M〔9、5〕、M〔A、0〕〜M〔A、5〕、
M〔B、0〕〜M〔B、5〕の24ワードで変換用レ
ジスタを形成し、M〔C、0〕〜M〔C、A〕、M
〔D、O〕〜M〔D、A〕、M〔E、O〕〜M〔E、
A〕、M〔F、O〕〜M〔F、A〕の44ワードで変
換計算用レジスタを形成している。またM〔6、
0〕<0>をTEST1F(フラグ)、M〔6、0〕<1
>をTEST2F(フラグ)、M〔6、1〕<0>を重
量オーバフラグ、M〔6、1〕<1>をモーシヨン
デイテクシヨンフラグに形成している。 FIG. 2 is a block diagram showing the circuit configuration of the electronic scale 1. Reference numeral 21 is a weight sensor consisting of a load cell, etc. When a load is applied to the weighing platform 5, the weight sensor 21 generates a voltage corresponding to the weight. I am trying to output a signal. The voltage signal output from the weight sensor 21 is amplified by a differential amplifier 22,
Furthermore, high frequency components such as noise are cut out by a low-pass filter 23, and the A/D (analog/digital)
It is adapted to be input to a converter 24. The A/D converter 24 is of a double integration type, for example, and outputs a count number corresponding to the input voltage as a digital signal. Said A/D
The digital signal output from the converter 24 is
It is input to O port 25. The I/O port 25 is also equipped with various status switches 261, 262, 26n, etc., such as a switch for changing the weighing unit to pounds/kilograms, a switch for changing the maximum weight, an interface selection switch, etc.
The operation details are input as data. Weight count data and status switch operation information input to the I/O port 25 are supplied to a data processing device 27. The data processing device 27 is a CPU (central processing unit) 2
8. RAM (Random Access Memory) 29.
Consists of 30 ROM (read only memory),
These CPU28, RAM29, ROM30 and I/
O port 25 is data bus 31, address
They are electrically coupled by bus 32 . Further, the CPU 28, RAM 29, and ROM 30 are controlled by the display/keyboard controller 33 and the data bus 31 and the address bus 32, respectively.
It is electrically coupled to the ECR interface 34. The display/keyboard controller 3
3 controls the operation section 6 and the weight display 7, outputs key input from the operation section 6 to the data processing device 27, and outputs display data from the data processing device 27 to the display 7. I try to do that. The interface 34 is controlled by the CPU 28 and controls data transfer with the ECR 2. As shown in FIG. 3, the RAM 29 has, for example, 16×4 bits per word
It consists of 16 256 words and forms various registers and various flag memories. M[X,
Y], each bit is indicated by <>, and the main ones are described.The weight register is formed by 5 words M[O, 0] to M[O, 4], and the weight register is ,
16 words of F] form a working register,
M[5,0], M[5,1], M[5,2], M[5,
3], M[5, 4] each form a register for storing the contents of the various status switches 261, 262...26n, and M[7, 0] to M[7, 0] to M
Five words [7, 4] form an ADC register. Also, M [8, 0] ~ M [8, 5], M [9,
0]]~M[9,5], M[A,0]~M[A,5],
24 words M[B, 0] to M[B, 5] form a conversion register, and M[C, 0] to M[C, A], M
[D, O] ~ M [D, A], M [E, O] ~ M [E,
A], M[F, O] to M[F, A], 44 words, form a conversion calculation register. Also M [6,
0] <0> TEST1F (flag), M[6, 0] <1
> is formed as TEST2F (flag), M[6,1]<0> is formed as a weight over flag, and M[6,1]<1> is formed as a motion detection flag.
第4図はECR2の回路構成を示すブロツク図
で、35はCPU36、RAM37、ROM38か
らなるデータ処理装置、39は秤1との間でデー
タの転送制御を行なう秤用インターフエース、4
0は前記表示器9,10およびキーボード11を
制御する表示・キーボードコントローラ、41は
レシート発行を行なうプリンタ42を制御するプ
リンタコントローラである。前記CPU36と
RAM37、ROM38、秤用インターフエース
39、表示・キーボードコントローラ40、プリ
ンタコントローラ41とはデータ・バス43およ
びアドレス・バス44によつて電気的に結合され
ている。前記CPU36は前記キーボード11か
らのキー入力にもとづいて前記ROM38から所
要のプログラムを読出し、RAM37、秤用イン
ターフエース39、表示・キーボードコントロー
ラ40、プリンタコントローラ41を制御するよ
うにしてている。 FIG. 4 is a block diagram showing the circuit configuration of the ECR 2, where 35 is a data processing device consisting of a CPU 36, RAM 37, and ROM 38, 39 is a scale interface for controlling data transfer with the scale 1, and 4
0 is a display/keyboard controller that controls the displays 9, 10 and the keyboard 11, and 41 is a printer controller that controls a printer 42 that issues receipts. The CPU 36 and
The RAM 37, ROM 38, scale interface 39, display/keyboard controller 40, and printer controller 41 are electrically coupled by a data bus 43 and an address bus 44. The CPU 36 reads a required program from the ROM 38 based on key input from the keyboard 11, and controls the RAM 37, the scale interface 39, the display/keyboard controller 40, and the printer controller 41.
第5図は電子式秤1ととECR2とのインター
フエースを具体的に示す回路図で、秤1側の
ECR用インターフエース34には8個のインバ
ータ45〜52、4個の4ビツトバツフアレジス
タ53〜56及び2入力ノアゲート57が設けら
れている。そして前記データ処理装置27の出力
端0からはインバータ45を介してレデイ信号
rが出され、出力端子1からはインバータ46
を介して重量変動信号sが出力され、出力端2
〜5からは各バツフアレジスタ53〜56に各
桁が4ビツト構成の重量データが出力され、出力
端6からはノアゲート57を介して上記各バツ
フアレジスタ53〜56にクロツクパルスc1が出
力されるようになつている。前記各バツフアレジ
スタ53〜56は前記出力端6からのクロツク
パルスc1に同期して前記出力端2〜5からのデ
ータを順次シフトして格納するようにしている。
そして前記各バツフアレジスタ53〜56は重量
データを格納した後前記ECR2からクロツクパ
ルスc2がインバータ51及びノアゲート57を介
して入力されるとそのクロツクパルスc2に同期し
てデータをそれぞれインバータ47〜50を介し
て出力するようにしている。又前記秤1は前記
ECR2からイネーブル信号eをインバータ52
を介してデータ処理装置27の入力端I0に入力す
るようにしている。前記ECR2のインターフエ
イス回路39には8個のインバータ58〜65と
I/Oポート66が設けられ、このI/Oポート
66は前記データ処理装置35とデータバス43
及びアドレスバス44を介してデータのやり取り
を行なうようにしている。そして前記I/Oポー
ト66の入力端I0には秤1からのレデイ信号rが
インバータ58を介して入力され、入力端I1には
秤1からの重量変動信号sがインバータ59を介
して入力され、入力端I2〜I5には秤1からの重量
データが各ビツト毎にそれぞれインバータ60〜
63を介して入力されるようになつている。又前
記I/Oポート66の出力端0から前述したク
ロツクパルスc2をインバータ64を介して前記秤
1に出力するとともに出力端1から前述したイ
ネーブル信号eをインバータ65を介して上記秤
1に出力するようにしている。 Figure 5 is a circuit diagram specifically showing the interface between electronic scale 1 and ECR2.
The ECR interface 34 is provided with eight inverters 45-52, four 4-bit buffer registers 53-56, and a two-input NOR gate 57. A ready signal r is outputted from the output terminal 0 of the data processing device 27 via the inverter 45, and a ready signal r is outputted from the output terminal 1 of the data processing device 27 via the inverter 46.
The weight fluctuation signal s is outputted through the output terminal 2.
5 outputs weight data with each digit consisting of 4 bits to each buffer register 53 to 56, and output terminal 6 outputs a clock pulse c1 to each of the buffer registers 53 to 56 through a NOR gate 57. It is becoming more and more like this. Each of the buffer registers 53-56 sequentially shifts and stores data from the output terminals 2-5 in synchronization with the clock pulse c1 from the output terminal 6 .
After the buffer registers 53 to 56 store the weight data, when a clock pulse c 2 is inputted from the ECR 2 via the inverter 51 and the NOR gate 57, the data is transferred to the inverters 47 to 50 in synchronization with the clock pulse c 2 . I am trying to output it via . In addition, the scale 1 is
The enable signal e is sent from ECR2 to the inverter 52.
The signal is inputted to the input terminal I0 of the data processing device 27 via the input terminal I0 of the data processing device 27. The interface circuit 39 of the ECR 2 is provided with eight inverters 58 to 65 and an I/O port 66, and the I/O port 66 is connected to the data processing device 35 and the data bus 43.
Data is exchanged via the address bus 44. The ready signal r from the scale 1 is inputted to the input terminal I0 of the I/O port 66 via the inverter 58, and the weight fluctuation signal s from the scale 1 is inputted to the input terminal I1 via the inverter 59. The weight data from the scale 1 is input to the input terminals I 2 to I 5 , respectively, to the inverters 60 to 60 for each bit.
63. Further, the above-mentioned clock pulse c2 is output from the output terminal 0 of the I/O port 66 to the scale 1 via the inverter 64, and the above-mentioned enable signal e is output from the output terminal 1 to the scale 1 via the inverter 65. I try to do that.
第6図は前記秤1のCPU28が行なう制御を
示す流れ図で、電源投入によつてスタートされる
と先ずの初期処理を行なう。この初期処理は
RAM29のクリア、各種ステイタススイツチ2
61,262………26nの読込み等の処理を行
なう。続いてのセグメントスキヤニングを行な
う。これは重量表示器7の各桁のセグメントが正
常に点灯するか否かを各桁を0〜9まで順次点灯
させることによりチエツクする。続いてではキ
ー処理を行なう。ここではキーボード6にてキー
操作が行なわれるとキー入力に対応した処理を行
なうではADCすなわちA/D変換器24から
入力されるカウント数データをADCレジスタに
読込む。ではで読込んだカウント数データを
デイジタル的に処理してちらつきを取りのぞく。
ではテスト1F又は2Fが立つていればテストル
ーチンへ分岐する。ではゼロ点がある範囲内で
変動したときにはその変動した点を新たなゼロ点
に自動的に補正する。では例えばKg設定が行な
われていれば読込んだデータにKg係数を乗算しKg
変換する。では風袋量を読込んだ重量データよ
り減算し、正味重量を算出する。では表示重量
に変化があるとモーシヨンデイテクシヨンフラグ
に“1”をセツトする。では重量データを最小
目盛単位にまるめる。ではモーシヨンデイテク
シヨンフラグ、重量オーバーフラグ等をチエツク
しながら表示データを決定し重量表示器7で表示
する。ではECR2から重量転送命令である
ENABLE信号eが入力されたときに重量が安定
していればECRへ重量データを転送処理する。
この転送処理が終了すると再びのキー処理へル
ーチンは戻る。 FIG. 6 is a flowchart showing the control carried out by the CPU 28 of the scale 1, which performs initial processing when started by turning on the power. This initial processing
Clear RAM29, various status switches 2
61, 262, . . . 26n are read and processed. Subsequent segment scanning is performed. This is checked by sequentially lighting up each digit from 0 to 9 to see if the segments of each digit of the weight display 7 are lit normally. Next, key processing is performed. Here, when a key operation is performed on the keyboard 6, a process corresponding to the key input is performed and count number data inputted from the ADC, that is, the A/D converter 24, is read into the ADC register. Now, we digitally process the count data read in to remove flickering.
Then, if test 1F or 2F is set, the program branches to the test routine. In this case, when the zero point changes within a certain range, the changed point is automatically corrected to a new zero point. For example, if Kg settings have been made, the read data is multiplied by the Kg coefficient and the Kg
Convert. Then, subtract the tare weight from the read weight data to calculate the net weight. Then, if there is a change in the displayed weight, the motion detection flag is set to "1". Now round the weight data to the smallest scale unit. Then, display data is determined while checking the motion detection flag, overweight flag, etc., and is displayed on the weight display 7. Here is the weight transfer command from ECR2.
If the weight is stable when the ENABLE signal e is input, the weight data is transferred to the ECR for processing.
When this transfer processing is completed, the routine returns to key processing again.
第7図はのキー処理においてテストキー6a
が操作されたときの流れ図を示すもので、テスト
キー6aの操作があるとTEST1F、2Fの状態を
チエツクする。TEST1F、2Fのいずれも“0”
のときにはTEST1Fに“1”をセツトする。ま
たTEST1F=1のときにはTEST1Fをリセツト
しTEST2Fに“1”をセツトする。また
TEST2F=1のときにはTEST2Fをリセツトす
る。 FIG. 7 shows the test key 6a in key processing.
This shows a flowchart when the test key 6a is operated, and when the test key 6a is operated, the status of TEST1F and TEST2F is checked. Both TEST1F and 2F are “0”
When , TEST1F is set to "1". Further, when TEST1F=1, TEST1F is reset and TEST2F is set to "1". Also
When TEST2F=1, TEST2F is reset.
第8図はのテストプログラム分岐処理の制御
を示すもので、ここではにて第7図のキー処理
があるとTEST2F、1Fの状態をチエツクする。
TEST2F=1であればで各種ステイタススイ
ツチ261,262………26nの内容が書込ま
れている各内容記憶レジスタの内容を重量表示器
7で評示させる。その後でA/D変換器ADC
24からのデータ読込みを行ない、でちらつき
防止処理を行なつてのキー処理へ戻る。また
TEST1F=1であればでA/D変換器ADC2
4からのデータ読込みを行ない、でちらつき防
止処理を行ない、で読込んだカウント数の表示
処理を行なう。そしてこの表示処理が終了すると
続いてECR2からENABLE信号eがあつたか否
かをチエツクし、ENABLE信号eが無ければ
のキー処理へ戻るがENABLE信号eがあれば
ECRテストルーチンETRへ移行する。このECR
テストルーチンETRではECR用インターフエー
ス34が作動されにて重量変動信号sをECR
2へ転送し秤1において重量変動があつたことを
ECRへ知らせる。で重量レジスタに予め設定
された01248gの重量データを格納し重量表示器
7で表示させる。〓〓で重量表示されている内容、
すなわち重量レジスタの内容“01248”をECR用
転送レジスタ(図示せず)に移し、重量変動信号
sを“H”から“L”にした後ECR2へREADY
信号rを出力する。こうしてECR2は転送用レ
ジスタのデータを直ちに読込んで自己の表示器
9,10に表示することになる。では重量変動
sの“L”を0.8秒間保持する。これによりECR
2はENABLE信号eを出力しながら0.8秒間デー
タの表示を保持することになる。そして再度
ENABLE信号eの有無をチエツクし、無ければ
のキー処理へ戻る。またENABLE信号eが有
れば〓〓でワーキングレジスタをクリアし〓〓でワー
キングレジスタの内容を重量表示器7で表示し、
さらに〓〓で前記〓〓と同様ECR2へのデータ転送
処理を行なう。さらにに〓〓でと同様重量変動信
号sの出力処理を行ない、〓〓でと同様重量変動
信号s出力後の0.8秒遅延処理を行なう。そうし
て〓〓でワアーキングレジスタに“11111”を加算
し、オーバフローが有るか否かを重量オーバフラ
グでチエツクする。すなわち表示が“00000”か
ら始まつて“11111”、“22222”………と“99999”
まで終了したか否かをチエツクする。そしてオー
バフローが無いときにおいてECR2から
ENABLE信号eが有れば〓〓の表示へルーチンは
戻りくり返えされる。前記ECR2から秤1への
ENNABLE信号eの出力はキーボード11にお
いてスケールキー11bの操作が行なわれると開
始されるようになつている。 FIG. 8 shows the control of the test program branch processing. Here, when the key processing shown in FIG. 7 is performed, the status of TEST2F and 1F is checked.
If TEST2F=1, the contents of each content storage register in which the contents of the various status switches 261, 262, . . . 26n are written are evaluated on the weight display 7. After that, A/D converter ADC
Data is read from 24, flicker prevention processing is performed at , and the process returns to key processing. Also
If TEST1F=1, A/D converter ADC2
The data is read from step 4, flicker prevention processing is performed at step 4, and the read count number is displayed at step 4. When this display processing is completed, it is checked whether the ENABLE signal e is received from the ECR2, and if there is no ENABLE signal e, the process returns to the key processing, but if there is an ENABLE signal e, then it is checked.
Move to ECR test routine ETR. This ECR
In the test routine ETR, the ECR interface 34 is activated and the weight fluctuation signal s is sent to the ECR.
2 to confirm that there was a weight change on scale 1.
Notify ECR. The preset weight data of 01248 g is stored in the weight register and displayed on the weight display 7. 〓〓 Contents displayed in weight,
In other words, transfer the content "01248" of the weight register to the ECR transfer register (not shown), change the weight fluctuation signal s from "H" to "L", and then transfer READY to ECR2.
Outputs signal r. In this way, the ECR 2 immediately reads the data in the transfer register and displays it on its own display devices 9 and 10. Now, hold the weight fluctuation s at "L" for 0.8 seconds. This allows ECR
2 will hold the data display for 0.8 seconds while outputting the ENABLE signal e. and again
Check the presence or absence of the ENABLE signal e, and if it is not present, return to key processing. Also, if there is an ENABLE signal e, clear the working register with 〓〓, display the contents of the working register on the weight display 7 with 〓〓,
Furthermore, at 〓〓, data transfer processing to the ECR2 is performed in the same way as 〓〓 above. Furthermore, the weight fluctuation signal s is outputted as in 〓〓, and the 0.8 second delay processing after the weight fluctuation signal s is output is performed as in 〓〓. Then, ``11111'' is added to the working register at 〓〓, and the weight over flag is checked to see if there is an overflow. In other words, the display starts from “00000”, then “11111”, “22222”… and “99999”.
Check whether it has been completed. And from ECR2 when there is no overflow
If there is an ENABLE signal e, the routine returns to the display of 〓〓 and is repeated. From the ECR2 to the scale 1
The output of the ENNABLE signal e is started when the scale key 11b on the keyboard 11 is operated.
第9図は重量変動信号s、ENAABLE信号e、
レデイ信号r、クロツクパルスc2および重量デー
タの出力タイミングを示すタイミング図で、重量
変動信号sが“H”から“L”になるタイミング
でレデイ信号rが秤1からECR2へ出力され、
このときECR2から秤1へイネーブル信号eが
出力されていればECR2は直ちに秤1に対して
クロツクパルスc2を出力して重量データの読込み
を行う。そして重量データの読込みが終了すると
ECR2はイネーブル信号eの出力を停止し、そ
のイネーブル信号eの出力停止によつて秤1はレ
デイ信号rの出力を停止するようになる。又重量
変動信号sが再び秤1から出力されるとECR2
ではスケールキー処理が再び行なわれるようにな
り、イネーブル信号eを秤1へ出力する。 Figure 9 shows weight fluctuation signal s, ENAABLE signal e,
This is a timing diagram showing the output timing of the ready signal r, clock pulse c2 , and weight data, in which the ready signal r is output from the scale 1 to the ECR 2 at the timing when the weight fluctuation signal s changes from "H" to "L".
At this time, if the enable signal e is output from the ECR 2 to the scale 1, the ECR 2 immediately outputs a clock pulse c2 to the scale 1 to read the weight data. Once the weight data has been read,
The ECR 2 stops outputting the enable signal e, and by stopping the output of the enable signal e, the balance 1 stops outputting the ready signal r. Also, when the weight fluctuation signal s is output from the scale 1 again, the ECR2
Now, scale key processing is performed again, and enable signal e is output to scale 1.
このように本発明実施例装置においては秤1に
おけるテストキー6aの操作によつて重量表示器
7に各種ステイタススイツチ261,262……
…26nの操作内容表示並びにA/D変換器24
から読込んだカウント数表示を切換えて行なうこ
とができる。そして重量表示器7にA/D変換器
出力のカウント数を表示しているときにECR2
においてスケールキー11bが操作されて秤1に
ENABLE信号eが入力されると、秤1は先ず重
量表示器7で予め設定されたチエツク用の重量デ
ータ“01234”を表示し、続いてこの重量データ
をECR用インターフエース34を介してECR2
へ転送する。この場合重量データを“01234”と
することにより4本のデータライン全てが使用さ
れることになる。そしてECR2では秤用インタ
ーフエース39を介して入力した重量データを表
示器9,10で表示することになる。こうして秤
1での重量データの表示とECR2での重量デー
タの表示との同一を目で確認することによつて伝
送ライン4が正常か否かを容易にチエツクするこ
とができる。また秤1は重量データ“01234”の
ECR2に対する転送処理が終了すると、次に
“00000”の重量データをセツトし、重量表示器7
で表示するとともにECR2に転送する。以後秤
1は0.8秒の間隔をもつて“11111”、“22222”…
……というように“99999”までの重量データを
順次セツトしてECR2に転送する。ECR2は入
力される各データを順次表示器9,10で表示す
る。こうしてECR2の表示器9,10のセグメ
ント点灯チエツクを行なうことができる。 In this way, in the apparatus according to the embodiment of the present invention, various status switches 261, 262, . . . are displayed on the weight display 7 by operating the test key 6a on the scale 1.
...26n operation details display and A/D converter 24
It is possible to switch the display of the count read in from. Then, when the count number of the A/D converter output is displayed on the weight display 7, the ECR2
When the scale key 11b is operated, the scale changes to scale 1.
When the ENABLE signal e is input, the scale 1 first displays the preset check weight data "01234" on the weight display 7, and then sends this weight data to the ECR 2 via the ECR interface 34.
Transfer to. In this case, by setting the weight data to "01234", all four data lines will be used. In the ECR 2, the weight data input via the scale interface 39 is displayed on the displays 9 and 10. In this way, by visually confirming that the weight data displayed on the scale 1 and the weight data displayed on the ECR 2 are the same, it is possible to easily check whether the transmission line 4 is normal or not. Also, scale 1 has weight data “01234”.
When the transfer process to ECR2 is completed, the weight data of “00000” is set and the weight display 7 is set.
It is displayed and transferred to ECR2. After that, the scale 1 reads “11111”, “22222”, etc. at intervals of 0.8 seconds.
. . . The weight data up to “99999” is set in sequence and transferred to the ECR2. The ECR 2 sequentially displays each input data on the display devices 9 and 10. In this way, it is possible to check the segment lighting of the indicators 9 and 10 of the ECR2.
このように秤1においてテストキー6aを操作
し、ECR2においてスケールキー11bを操作
するのみ簡単な操作で秤1とECR2とを接続し
ている信号ラインが正常になつているか否かを容
易に確認することができる。しかも重量データは
内部的に発生してECRへ転送されるので確認作
業を短時間で行なうことができる。 In this way, you can easily check whether the signal line connecting the scale 1 and the ECR 2 is normal by simply operating the test key 6a on the scale 1 and the scale key 11b on the ECR 2. can do. Moreover, since weight data is generated internally and transferred to the ECR, confirmation work can be done in a short time.
以上詳述したようにこの発明によれば電子式秤
と電子式キヤツシユレジスタとを信号ラインで結
合し、上記秤から重量データを上記信号ラインを
介して上記キヤツシユレジスタへ転送するように
した計量処理装置において、前記電子式秤は、テ
スト動作が開始され、そのとき前記キヤツシユレ
ジスタからデータ転送要求があると予め設定され
た信号ラインチエツク用のデータを順次自己の表
示器で表示するとともに上記キヤツシユレジスタ
へ転送し、上記キヤツシユレジスタは入力したデ
ータを自己の表示器で表示するようにしているの
で、信号ラインの接続状態を簡単な操作で容易に
確認することができ、しかもその確認作業を短時
間でできる計量処理装置を提供できるものであ
る。 As detailed above, according to the present invention, an electronic scale and an electronic cash register are connected by a signal line, and weight data is transferred from the scale to the cash register via the signal line. In the weighing processing device, the electronic scale sequentially displays preset signal line check data on its own display when a test operation is started and there is a data transfer request from the cash register at that time. The input data is transferred to the above cash register, and the above cash register displays the input data on its own display, so the connection status of the signal line can be easily confirmed with a simple operation. It is possible to provide a weighing processing device that can perform confirmation work in a short time.
図はこの発明の実施例を示すもので、第1図は
外観図、第2図は秤のブロツク図、第3図は秤の
RAMメモリ構成図、第4図はキヤツシユレジス
タのブロツク図、第5図はインターフエースの回
路図、第6図は秤のメイン制御を示す流れ図、第
7図は秤のテストキーの操作によりフラグ処理を
示す流れ図、第8図は秤のテストプログラム分岐
処理を示す流れ図、第9図は秤とキヤツシユレジ
スタとのデータ転送制御時における各種信号の出
力タイミングを示すタイミング図である。
1……電子式秤、2……電子式キヤシユレジス
タECR、4……伝送ケーブル、6a……テスト
キー、7……重量表示器、9,10……表示器、
11b……スケールキー、21……重量センサ、
24……A/D変換器、28……CPU(中央処理
ユニツト)、34……ECR用インターフエース、
36……CPU(中央処理ユニツト)、39……秤
用インターフエース。
The figures show an embodiment of the present invention; Fig. 1 is an external view, Fig. 2 is a block diagram of the scale, and Fig. 3 is a scale diagram.
RAM memory configuration diagram, Figure 4 is a block diagram of the cache register, Figure 5 is a circuit diagram of the interface, Figure 6 is a flowchart showing the main control of the scale, Figure 7 is a flag triggered by operation of the scale's test key. FIG. 8 is a flowchart showing the test program branching process of the scale, and FIG. 9 is a timing diagram showing the output timing of various signals during data transfer control between the scale and the cash register. 1...Electronic scale, 2...Electronic cash register ECR, 4...Transmission cable, 6a...Test key, 7...Weight display, 9, 10...Display device,
11b... Scale key, 21... Weight sensor,
24...A/D converter, 28...CPU (central processing unit), 34...ECR interface,
36...CPU (central processing unit), 39...Weighing interface.
Claims (1)
力データを演算処理等を行なつて内部メモリに累
計登録するとともに表示する電子式キヤツシユレ
ジスタとを、それぞれのインターフエース間を信
号ラインで接続して結合し、上記秤から重量デー
タを上記キヤツシユレジスタにてデータ呼込み操
作があつたとき転送するようにした計量処理装置
において、前記電子式秤は、テスト動作のスター
トスイツチと、このスタートスイツチの操作時に
前記キヤツシユレジスタにてデータ呼込み操作が
あつたとき予め設定された信号ラインチエツク用
のデータを順次自己の表示器で表示させるととも
に上記キヤツシユレジスタへ転送する手段とを設
けたことを特徴とする計量処理装置。1 A signal line connects the electronic scale that weighs and displays the object to be weighed and the electronic cash register that performs arithmetic processing on input data, registers it in internal memory, and displays it. In the weighing processing device, the electronic scale has a test operation start switch and a test operation start switch. Means is provided for sequentially displaying preset signal line check data on its own display and transferring it to the cash register when a data loading operation is performed in the cash register when the start switch is operated. A weighing processing device characterized by the following.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6362580A JPS56160623A (en) | 1980-05-14 | 1980-05-14 | Weighing processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6362580A JPS56160623A (en) | 1980-05-14 | 1980-05-14 | Weighing processor |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS56160623A JPS56160623A (en) | 1981-12-10 |
| JPH0136045B2 true JPH0136045B2 (en) | 1989-07-28 |
Family
ID=13234696
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP6362580A Granted JPS56160623A (en) | 1980-05-14 | 1980-05-14 | Weighing processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS56160623A (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS60205222A (en) * | 1984-03-30 | 1985-10-16 | Teraoka Seiko Co Ltd | Automatic weighing apparatus |
| CN103234612A (en) * | 2013-04-12 | 2013-08-07 | 昆山钰恒电子衡量器有限公司 | Electronic weighing system |
-
1980
- 1980-05-14 JP JP6362580A patent/JPS56160623A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS56160623A (en) | 1981-12-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US3980871A (en) | Device for registering and indicating the size of a load acting on a transducer | |
| JPH0140303B2 (en) | ||
| US5174400A (en) | Weighing apparatus which automatically switches between multiple weighing units based on an instability in a weighing signal | |
| JPS6367526A (en) | Electronic charge scale | |
| JPH0136045B2 (en) | ||
| JPH025248B2 (en) | ||
| US4207955A (en) | Display holding device in electronic digital display type scale | |
| JPH0240963B2 (en) | ||
| JPS6117391Y2 (en) | ||
| JP2549082B2 (en) | Weighing system | |
| JPS6123774Y2 (en) | ||
| JPH01102731U (en) | ||
| JPH0124593Y2 (en) | ||
| JPS646684B2 (en) | ||
| JPS6337328B2 (en) | ||
| JPH06147964A (en) | Electronic balance | |
| JPS604928B2 (en) | Electronic digital display scale presetting device | |
| JPS59100969A (en) | Data input and output method of storage device | |
| JPS5818657B2 (en) | Mail transportation fee processing system | |
| JPS5720618A (en) | Checker for display circuit of electronic type fare balance | |
| JPH0244181Y2 (en) | ||
| JPS5923367B2 (en) | Tare weight setting device for electronic digital counting scales | |
| JPS567024A (en) | Indicator of electronic digital representation weighing machine | |
| JPS593322A (en) | Zero tracking device of load cell balance | |
| JPH0125297Y2 (en) |