JPS6156444B2 - - Google Patents
Info
- Publication number
- JPS6156444B2 JPS6156444B2 JP55073025A JP7302580A JPS6156444B2 JP S6156444 B2 JPS6156444 B2 JP S6156444B2 JP 55073025 A JP55073025 A JP 55073025A JP 7302580 A JP7302580 A JP 7302580A JP S6156444 B2 JPS6156444 B2 JP S6156444B2
- Authority
- JP
- Japan
- Prior art keywords
- unit price
- price
- weight
- key
- 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/413—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 using electromechanical or electronic computing means
- G01G19/414—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 using electromechanical or electronic computing means using electronic computing means only
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Mathematical Physics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Indication And Recording Devices For Special Purposes And Tariff Metering Devices (AREA)
Description
【発明の詳細な説明】
この発明は秤部から取込まれた重量データと単
価プリセツトメモリから呼出された単価とから値
段を算出して表示する電子式料金秤における単価
設定方式に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a unit price setting method in an electronic fare scale that calculates and displays a price from weight data taken in from a weighing unit and a unit price recalled from a unit price preset memory.
従来、単価をプリセツトして使用する電子式料
金秤においてはテンキーで単価を入力して表示
し、この状態で部門キーにより部門指定すること
により対応する単価プリセツトメモリに単価を格
納させるとともに表示をクリアして次の単価設定
に待機するようしたものが知られている。 Conventionally, in electronic rate scales that use preset unit prices, the unit price is entered and displayed using the numeric keypad, and in this state, by specifying a department using the department key, the unit price is stored in the corresponding unit price preset memory and displayed. There is a known method that clears the information and waits for the next unit price setting.
しかしこのような単価設定方式では部門キーの
操作とともに表示が消えてしまうため次回の単価
設定時に前回設定した単価の確認ができず操作性
が悪い欠点があつた。 However, in this unit price setting method, the display disappears as soon as the department key is operated, so the previously set unit price cannot be confirmed when setting the next unit price, resulting in poor operability.
この発明はこのような欠点を除去するために考
えられたもので、単価設定において前回設定した
単価を確認してから次回の単価設定が行なえ、単
価設定時の操作性を向上できる電子式料金秤にお
ける単価設定方式を提供することを目的とする。 This invention was devised in order to eliminate these drawbacks, and is an electronic price scale that can improve operability when setting unit prices by confirming the previously set unit price before setting the next unit price. The purpose is to provide a unit price setting method for
以下、この発明の実施例を図面を参照して説明
する。なお、この実施例はラベルプリンタ付電子
式料金秤について述べる。 Embodiments of the present invention will be described below with reference to the drawings. Note that this embodiment describes an electronic fare scale with a label printer.
第1図は外観を示す斜視図で、1は秤台、2は
上記秤台1を上部に載置するとともに内部に各種
回路素子を収納した収納ケース、3は上記収納ケ
ース2の前面に取付けられた操作部、4は上記収
納ケース2の背面に取付けられた表示装置、5は
上記収納ケース2の一側面に取付けられたラベル
プリンタである。前記表示装置4は部門・風袋表
示器6、重量表示器7、単価・点数表示器8、値
段表示器9の各表示器の他、停電・エラーランプ
10、ゼロ点ランプ11、風袋引中ランプ12、
合計ランプ13等の各種ランプを設けている。前
記ラベルプリンタ5には後述するプリンタとラベ
ル紙が収納されており、ラベルに対するデータの
プリンタアウトが終了するとラベル発行口14か
ら送り出されるようになつている。前記操作部3
には第2図に示すように「01」〜「32」の32個の
部門キー15、「0」〜「9」の10個のテンキー
16、風キー17、消キー18、単品キー19、
秤加算キー20、合計キー21、点検キー22、
取消キー23、日付キー24、紙送りキー25の
各種キーと単品ラベル「発行・停止」切換スイツ
チ26、計量ラベル「発行・停止」切換スイツチ
27、小計ラベル「発行・停止」切換スイツチ2
8の各切換スイツチとが設けられている。 Fig. 1 is a perspective view showing the external appearance, in which 1 is a scale stand, 2 is a storage case on which the scale stand 1 is placed and various circuit elements are stored inside, and 3 is attached to the front of the storage case 2. 4 is a display device attached to the back of the storage case 2, and 5 is a label printer attached to one side of the storage case 2. The display device 4 includes a department/tare indicator 6, a weight indicator 7, a unit price/point indicator 8, a price indicator 9, as well as a power outage/error lamp 10, a zero point lamp 11, and a tare indicator lamp. 12,
Various lamps such as a total lamp 13 are provided. The label printer 5 houses a printer and label paper, which will be described later, and is configured to be sent out from the label issuing port 14 when the printer-out of data for the label is completed. Said operation section 3
As shown in Fig. 2, there are 32 department keys 15 from "01" to "32", 10 numeric keys 16 from "0" to "9", wind key 17, erase key 18, single item key 19,
Scale addition key 20, total key 21, inspection key 22,
Cancel key 23, date key 24, paper feed key 25, individual label "issue/stop" switch 26, measurement label "issue/stop" switch 27, subtotal label "issue/stop" switch 2
8 changeover switches are provided.
第3図は回路構成を示すブロツク図で、30は
重量センサ31、増幅器32、A/D(アナロ
グ・デイジタル)変換器33からなる秤部、34
はCPU(中央処理ユニツト)35、RAM(ラン
ダム・アクセス・メモリ)36、ROM(リー
ド・オンリ・メモリ)37からなるデータ処理部
である。前記秤部30は前記秤台1に荷重がかか
ると重量センサ31から荷重の大きさに対応した
電圧信号が発生し、その電圧信号が増幅器32を
介してA/D変換器33に入力され、その変換器
33で荷重の大きさに対応したカウント数信号に
変換して出力するようにしている。前記データ処
理部34のCPU35は演算回路、インストラク
シヨンデコーダ、メモリ制御回路等が内蔵され、
入力信号に応じてROM37から所要のプログラ
ムデータを読出し、RAM36を始め、データセ
レクタ37,38、デイジツトデコーダ39、セ
グメントデコーダ40、プリンタコントローラ4
1、データラツチ回路42を制御するようにして
いる。すなわち前記CPU35はデータセレクタ
37を制御して秤部30からの重量データの取込
みを行ない、データセレクタ38を制御してステ
ータスインプツト43からのステータス信号の取
込みを行ない、デイジツトデコーダ39およびセ
グメントデコーダ40を制御して前記各種表示部
6,7,8,9に表示動作を行なわせるようにし
ている。またキーマトリクス44から各種キー信
号を入力するようにしている。またCPU35は
プリンタコントローラ41を制御してプリンタ4
5にラベル発行動作を行なわせ、データラツチ回
路42を制御して各種ランプ46の点灯動作を行
なわせるようにしている。前記ステータスインプ
ツト43は「設定」「登録」「精算」の各業務モー
ドを切換えるモード切換スイツチ、前記各ラベル
「発行・停止」切換スイツチ26,27,28、
その他各種ステータスイツチのON・OFF信号を
データセレクタ38に入力するようにしている。 FIG. 3 is a block diagram showing the circuit configuration, and 30 is a weighing section consisting of a weight sensor 31, an amplifier 32, and an A/D (analog/digital) converter 33;
is a data processing section consisting of a CPU (central processing unit) 35, a RAM (random access memory) 36, and a ROM (read only memory) 37. In the weighing section 30, when a load is applied to the scale stand 1, a voltage signal corresponding to the magnitude of the load is generated from the weight sensor 31, and the voltage signal is input to the A/D converter 33 via the amplifier 32, The converter 33 converts it into a count signal corresponding to the magnitude of the load and outputs it. The CPU 35 of the data processing section 34 has a built-in arithmetic circuit, an instruction decoder, a memory control circuit, etc.
The required program data is read from the ROM 37 in accordance with the input signal, and the program data including the RAM 36, data selectors 37 and 38, digit decoder 39, segment decoder 40, and printer controller 4 is read.
1. The data latch circuit 42 is controlled. That is, the CPU 35 controls the data selector 37 to take in the weight data from the weighing section 30, controls the data selector 38 to take in the status signal from the status input 43, and controls the data decoder 39 and the segment decoder. 40 to cause the various display sections 6, 7, 8, and 9 to perform display operations. Further, various key signals are inputted from a key matrix 44. The CPU 35 also controls the printer controller 41 to
5 performs a label issuing operation, and controls a data latch circuit 42 to turn on various lamps 46. The status input 43 includes a mode changeover switch for changing each business mode of "setting", "registration", and "accounting", each of the above-mentioned label "issuance/stop" changeover switches 26, 27, 28,
The ON/OFF signals of various other status switches are input to the data selector 38.
第4図〜第7図はRAM36のメモリ構成を示
すもので、4ビツト1ワードで16×16×4の1024
ワード構成になつている。以下各ワードを〔H
(M,L)〕、各ビツトを<0>,<1>,<2>,<
3>で示して主なメモリ構成を述べる。先ず主な
フラグについて述べると、〔0(3,0)〕<0>
をREGF(登録中セツトされるフラグ)、〔0
(3,0)〕<1>をARTF(単品登録時セツトさ
れるフラグ)、〔0(3,0)〕<2>をMESF(秤
加算登録時セツトされるフラグ)、〔0(3,
1)〕<0>をSETF(設定モード時セツトされる
フラグ)、〔0(3,1)〕<1>をINQF(精算モ
ード時セツトされるフラグ)、〔0(3,2)〕<0
>をAUTF(自動発行時セツトされるフラグ)、
〔0(3,3)〕<0>をSETCF(設定モード時
に部門コードを設定するときセツトされるフラ
グ)、〔0(3,3)〕<1>をDSPHF(部門登録
および小計時に表示固定するときセツトされるフ
ラグ)、〔0(3,3)〕<2>をDSPRF(DSPHF
=1の時重量がゼロ以下になるとセツトされるフ
ラグ)、〔0(3,4)〕<0>をMNSF(重量−風
袋の結果がマイナスのときセツトされるフラ
グ)、〔0(3,4)〕<1>をMNSCF(重量がマ
イナスカウント時にセツトされるフラグ)にそれ
ぞれ形成している。また〔0(3,5)〕<1>を
ERRF(操作中にエラーになつたときセツトされ
るフラグ)、〔0(3,5)〕<3>をENAF(重量
が規定の状態に安定したときセツトされるフラ
グ)、〔0(3,6)〕<2>をMINCF(重量が20
g以下にときセツトされるフラグ)、〔0(3,
7)〕<0>をDPKF(部門No.を最初の1回だけ残
す為にセツトされるフラグ)、〔0(3,7)〕<2
>をTANF(単価を風袋引したときセツトされる
フラグ)、〔0(3,7)〕<3>をPNF(DPKFと
併用されるフラグ)、〔0(3,8)〕<3>をNF
(テンキー16を操作したときセツトされるフラ
グ)にそれぞれ形成されている。 Figures 4 to 7 show the memory configuration of the RAM 36, with 16 x 16 x 4 1024 bits per word.
It has a word structure. Each word below [H
(M,L)], each bit is <0>, <1>, <2>, <
3>, the main memory configuration will be described. First, let's talk about the main flags: [0(3,0)]<0>
REGF (flag set during registration), [0
(3,0)] <1> is ARTF (flag set when registering a single item), [0(3,0)] <2> is MESF (flag set when registering scale addition), [0(3,
1)] <0> is SETF (flag set in setting mode), [0 (3, 1)] <1> is INQF (flag set in payment mode), [0 (3, 2)] < 0
> is AUTF (flag set when automatically issued),
[0(3,3)]<0> is SETCF (flag set when setting department code in setting mode), [0(3,3)]<1> is DSPHF (display is fixed during department registration and subtotal). flag), [0(3,3)]<2> is set as DSPRF
= 1, the flag that is set when the weight is less than zero), [0 (3, 4)] <0> is set as MNSF (the flag that is set when the result of weight - tare is negative), [0 (3, 4)] 4)] <1> are respectively formed in MNSCF (a flag that is set when the weight is a negative count). Also, [0(3,5)]<1>
ERRF (a flag that is set when an error occurs during operation), [0 (3, 5)] <3> is set as ENAF (a flag that is set when the weight stabilizes to a specified state), [0 (3, 5)] 6)〕<2> is MINCF (weight is 20
flag set when less than g), [0(3,
7)]<0> is DPKF (a flag set to keep the department number only once at the beginning), [0(3,7)]<2
> is TANF (flag set when taring the unit price), [0(3,7)] <3> is PNF (flag used in conjunction with DPKF), [0(3,8)] <3> NF
(flags set when the numeric keypad 16 is operated).
次に主なステータスについて述べると〔0
(A,0)〕<0>をSETH(モード切換スイツチ
が設定位置にあるとき出力する信号)、〔0(A,
0)〕<1>をREGH(モード切換スイツチが登録
位置にあるとき出力する信号)、〔0(A,3)〕<
0>をARTLB(単品ラベル「H」で発行、
「L」で禁止)、〔0(A,3)〕<1>をMESLB
(計量ラベル「H」で発行、「L」で禁止)、〔0
(A,3)〕<2>をSTLB(小計ラベル「H」で
発行、「L」で禁止)、〔0(A,6)〕<0>を
ERRLMP(停電・エラーランプ点灯用)、〔0
(A,6)〕<1>をNTLMP(風袋ランプ点灯
用)、〔0(A,6)〕<2>をTOLMP(合計ラン
プ点灯用)、〔0(A,6)〕<3>をZLMP(ゼロ
点ランプ点灯用)にそれぞれ形成されている。 Next, let's talk about the main status [0
(A, 0)] <0> is set to SETH (signal output when the mode selector switch is in the setting position), [0(A,
0)]<1> to REGH (signal output when the mode selector switch is in the registered position), [0(A,3)]<
0> is issued by ARTLB (single item label "H",
Forbidden with “L”), [0(A,3)]<1> is MESLB
(issued with weighing label “H”, prohibited with “L”), [0
(A, 3)] <2> to STLB (issued with subtotal label "H", prohibited with "L"), [0 (A, 6)] <0>
ERRLMP (for power outage/error lamp lighting), [0
(A,6)]<1> is NTLMP (for tare lamp lighting), [0(A,6)]<2> is TOLMP (total lamp lighting), [0(A,6)]<3> is Each is formed in ZLMP (for lighting the zero point lamp).
次に主なレジスタ、メモリについて述べると
〔0(4,0)〕〜〔0(4,F)〕でKB(キーバ
ツフアレジスタ)、〔0(5,0)〕〜〔0(5,
F)〕でXREG(Xレジスタ)、〔0(6,0)〕〜
〔0(6,5)〕でDATAM(P)(登録するため
の値段データを格納するメモリ)、〔0(6,
6)〕〜〔0(6,A)〕でDATAM(W)(登録
するための重量データを格納するメモリ)、〔0
(6,B)〕〜〔0(6,C)〕でDATAM(U)
(登録するための単価データを格納するメモリ)
をそれぞれ形成している。 Next, let's talk about the main registers and memories: [0(4,0)] to [0(4,F)] are KB (key buffer register), [0(5,0)] to [0(5,
F)] to XREG (X register), [0(6,0)] ~
DATAM (P) (memory that stores price data for registration) at [0 (6, 5)], [0 (6, 5)]
6)] ~ [0 (6, A)] DATAM (W) (memory that stores weight data for registration), [0
(6,B)] ~ [0(6,C)] to DATAM (U)
(Memory to store unit price data for registration)
are formed respectively.
〔0(7,0)〕〜〔0(7,5)〕でDSPR
(P)(値段表示レジスタ)、〔0(7,6)〕〜
〔0(7,A)〕でDSPR(W)(重量表示レジス
タ、〔0(7,B)〕〜〔0(7,F)〕でDSPR
(U)(単価表示レジスタ)、〔0(8,0)〕〜
〔0(8,F)〕、〔0(9,0)〕〜〔0(9,
F)〕でPRREG(プリントデータ格納用レジス
タ)、〔0(A,8)〕、〔0(A,9)〕でDPNO
(部門No.記憶レジスタ)、〔0(A,A)〕でLRC
(ラベル送り用カウンタ)、〔0(A,B)〕で
LOC(ラベルオーバランカウンタ)、〔0(A,
C)〕でN3C(単価3秒クリア用カウンタ)、〔O
(A,D)〕でNC(テンキー置数カウンタ)、〔0
(A,E)〕でTC(プリントデータカウンタ)を
それぞれ形成している。〔0(B,0)〕〜〔0
(B,4)〕でNREG(置数レジスタ)、〔0(B,
5)〕〜〔0(B,9)〕でMNET(正味重量レ
ジスタ)、〔0(B,A)〕〜〔0(B,E)〕で
TARE(風袋レジスタ)、〔0(B,F)〕、〔0
(C,0)〕〜〔0(C,3)〕でM3(グロス重
量レジスタ)、〔0(C,4)〕〜〔0(C,8)〕
でZREG(ゼロ点レジスタ)、〔0(C,9)〕〜
〔0(C,D)〕でM2(真値データレジスタ)、
〔0(C,E)〕、〔0(C,F)〕、〔0(D,0)
〕
〜〔0(D,2)〕でM85(サンプリングした
8個のデータのうち5個以上が同一のときそのデ
ータを格納するレジスタ)、〔0(D,3)〕〜
〔0(D,7)〕でM84(M85の条件以外のと
きのデータを格納するレジスタ)、〔0(D,
8)〕〜〔0(F,F)〕でM11〜M18(チラ
ツキ処理のためにデータのサンプリング用に使用
するレジスタ)をそれぞれ形成している。また
〔1(0,0)〕〜〔1(9,0)〕でPLU1〜
PLU29(設定モードにて単価プリセツトされ
る単価プリセツトメモリ)、〔1(9,1)〕〜
〔1(9,6)〕でDATE(日付データレジス
タ)、〔1(9,7)〕〜〔1(9,F)〕で
ARTPM(単品登録時の加算データを一時記憶す
るレジスタ)、〔1(A,0)〕〜〔1(A,F)〕
でDSPCOM(表示データ比較用レジスタ)、〔1
(B,0)〕〜〔1(B,F)〕でARTDSP(単品
登録時の表示データを一時記憶するレジスタ)、
〔1(C,0)〕〜〔1(C,4)〕でNTARE
(テンキーによる風袋レジスタ)、〔1(C,5)〕
〜〔1(C,7)〕でTCOM(風袋表示データ比
較用レジスタ)、〔1(C,8)〕〜〔1(C,
A)〕でTDSPR(風袋表示データレジスタ)、〔1
(C,B)〕〜〔1(C,D)〕でARTDP(単品
登録時の部門表示データを一時記憶するレジス
タ)、〔1(D,5)〕〜〔1(D,A)〕でPRP
(プリントした値段を記憶するレジスタ)、〔1
(D,B)〕〜〔1(D,F)〕でPRW(プリント
した重量を記憶するレジスタ)、〔1(E,0)〕、
〔1(E,1)〕でプリントしたときの部門No.を記
憶するレジスタ)、(1(E,2)〕〜〔1(E,
7)〕でARTP(単品登録時の値段合計メモリ)、
〔1(E,8)〕〜〔1(E,A)〕でARNUMB
(単品登録時の点数合計メモリ)、〔1(E,B)〕
〜〔1(E,F)〕、〔1(F,0)〕でSTP(値段
の小計メモリ)、〔1(F,1)〕〜〔1(F,
3)〕でSTNUMB(点数の小計メモリ)、〔1
(F,4)〕〜〔1(F,9)〕でGTP(値段の総
合計メモリ)、〔1(F,A)〕〜〔1(F,F)〕
でGTW(重量の総合計メモリ)をそれぞれ形成
している。さらに〔2(0,0)〕〜〔2(F,
F)〕および〔3(0,0)〕〜〔3(F,F)〕
の512ワードで部門キーの数に対応した部門別合
計メモリを形成している。各部門別合計メモリは
2ワードのCORD(コードプリセツトメモリ)、
3ワードのN,UM(点数合計メモリ、5ワード
のWT(重量合計メモリ)、6ワードのPT(値段
合計メモリ)によつて形成されている。 DSPR with [0(7,0)] ~ [0(7,5)]
(P) (price display register), [0(7,6)]~
DSPR (W) at [0(7,A)] (weight display register, DSPR at [0(7,B)] to [0(7,F)]
(U) (unit price display register), [0(8,0)]~
[0(8,F)], [0(9,0)]~[0(9,
F)] is PRREG (print data storage register), [0 (A, 8)], [0 (A, 9)] is DPNO.
(Department No. Memory Register), LRC at [0(A,A)]
(label feeding counter), [0(A,B)]
LOC (label overrun counter), [0 (A,
C)], N3C (unit price 3 seconds clear counter), [O
(A, D)] to NC (numeric keypad counter), [0
(A, E)] respectively form a TC (print data counter). [0(B,0)]~[0
(B, 4)], NREG (position register), [0(B,
5)] ~ [0 (B, 9)] for MNET (net weight register), [0 (B, A)] ~ [0 (B, E)]
TARE (tare register), [0 (B, F)], [0
(C, 0)] ~ [0 (C, 3)], M3 (gross weight register), [0 (C, 4)] ~ [0 (C, 8)]
ZREG (zero point register), [0 (C, 9)] ~
[0 (C, D)] M2 (true value data register),
[0(C,E)], [0(C,F)], [0(D,0)
]
~ [0 (D, 2)] and M85 (register that stores the data when 5 or more of the 8 sampled data are the same), [0 (D, 3)] ~
At [0(D,7)], M84 (a register that stores data for conditions other than M85), [0(D,
8)] to [0(F,F)] form M11 to M18 (registers used for data sampling for flicker processing), respectively. Also, [1(0,0)] ~ [1(9,0)] means PLU1 ~
PLU29 (unit price preset memory where unit price is preset in setting mode), [1 (9, 1)] ~
[1(9,6)] is DATE (date data register), [1(9,7)] to [1(9,F)] is
ARTPM (register that temporarily stores addition data when registering a single item), [1 (A, 0)] to [1 (A, F)]
DSPCOM (display data comparison register), [1
(B, 0)] to [1 (B, F)] ARTDSP (register that temporarily stores display data when registering a single item),
NTARE with [1 (C, 0)] ~ [1 (C, 4)]
(Tare register using numeric keypad), [1 (C, 5)]
~ [1 (C, 7)] is TCOM (tare display data comparison register), [1 (C, 8)] ~ [1 (C,
A)], TDSPR (tare display data register), [1
(C,B)] to [1(C,D)], ARTDP (register that temporarily stores department display data when registering a single item), [1(D,5)] to [1(D,A)] PRP
(Register that stores the printed price), [1
PRW (register that stores the printed weight) at (D, B)] to [1 (D, F)], [1 (E, 0)],
[Register that stores the department number when printing with [1 (E, 1)]), (1 (E, 2)] to [1 (E,
7)] ARTP (total price memory when registering a single item),
ARNUMB with [1 (E, 8)] ~ [1 (E, A)]
(Score total memory when registering a single item), [1 (E, B)]
~ [1 (E, F)], [1 (F, 0)] is STP (price subtotal memory), [1 (F, 1)] ~ [1 (F,
3)], STNUMB (point subtotal memory), [1
(F, 4)] ~ [1 (F, 9)], GTP (total price memory), [1 (F, A)] ~ [1 (F, F)]
They each form GTW (gross total memory weight). Furthermore, [2(0,0)] ~ [2(F,
F)] and [3(0,0)] to [3(F,F)]
The 512 words form the total departmental memory corresponding to the number of department keys. The total memory for each department is 2 words of CORD (code preset memory),
It is formed by 3 words N and UM (score total memory), 5 words WT (weight total memory), and 6 words PT (price total memory).
次にデータ処理部34が行なう処理について第
8図〜第15図の流れ図に基づいて述べると、第
8図は主流れ図で、電源投入によるスタートがあ
ると1初期処理を行なう。この初期処理において
はRAMクリア等を行なう。2続いて停電処理を
行なつてから3表示スキヤンを行ない各表示器
6,7,8,9の各桁セグメントをチエツクす
る。この表示スキヤンが終了すると続いてDPKF
をセツトして4のステータスの読込みを開始す
る。このステータス読込みにおいてはモード切換
スイツチのモード状態、すなわち「登録」「設
定」「精算」のいずれかをREGH,SETHの状態
によつて読込む。また単品ラベル発行/禁止、計
量ラベル発行/禁止、小計ラベル発行/禁止の各
切換スイツチ26,27,28が「発行」になつ
ているか「禁止」になつているかをARTLB,
MESLB,STLBの状態によつて読込む。5続い
て各モードのセツト処理を行なう。これは4で読
込んだモード切換スイツチの状態によりモードフ
ラグSETF,INQFをセツトあるいはリセツト処
理し、初期表示を行なう。この5の処理を流れ図
で示せば第9図のようにSETH=1は否かをチエ
ツクし、SETH=1であれば5−1のフラグ判定
で例えばREGF=1かを判定し、REGF=1であ
ればエンドとなるがREGF≠1であれば続いて
SETF=1か否かをチエツクし、SETF=1であ
れば前回も設定モードであると判断しエンドとな
る。またSETF≠1であれば5−2にて設定モー
ドの初期表示を行ない、5−3にてSETFに
“1”をセツトしてエンドとなる。一方、SETH
≠1であれば続いてREGH=1か否かをチエツク
し、REGH≠であれば5−4のフラグ判定を行な
う。このフラグ判定では例えばREGF=1かを判
定し、REGF=1であればエンドになるがREGF
≠1であれば続いてINQF=1か否かをチエツク
し、INQF=1であれば前回も精算モードである
と判断しエンドとなる。またINQF≠1であれば
5−5にて精算モードの初期表示を行ない、5−
6にてINQFに“1”をセツトしてエンドとな
る。さらにSETH≠1、REGH≠1であれば5−
7にてSETF、INQFを共にリセツトしエンドと
なる。このように5の各モードのセツト処理にお
いてはSETH=1、REGH≠1のときには設定モ
ードとしての読込みを行ないSETFがセツトされ
ていなければセツトする。またSETH≠1、
REGH≠1のときには精算モードとして読込みを
行ないINQFがセツトされていなければセツトす
る。またSETH≠1、REGH=1のときには登録
モードとして読込みを行ないSETF,INQFを共
にリセツトする。5の各モードのセツト処理が終
了すると続いてキーインがあつたか否かをチエツ
クし、キーインがあれば6のキー処理を行なう。
キーインがなければ7でADCデータの読込み、
すなわち秤部30のA/D変換器33からカウン
トデータをデータセレクタ37を介して読込む。
続いて8でチラツキ処理を行ない9でオートゼロ
処理を行ない重量の真値を求める。すなわちこの
7,8,9の処理は秤部30から計量値に対応し
たカウントデータの読込みによつて行なわれる一
連の処理で周知である。この一連の処理が終了す
ると登録モードか否かをSETF,INQFでチエツ
クし、登録モードでない場合はに戻り、4〜9
の処理をくり返す。登録モード、すなわちSETF
≠1,INQF≠1であれば10の計量表示自動復
帰処理を行なう。この計量表示自動復帰処理は登
録後表示固定された状態かどうかをチエツクし、
固定されているときは重量をチエツクし、自動的
に計量モード(計量による登録が可能なモード)
に戻す処理を行なう。また計量モードへ戻す条件
を満足したときにはDSPHFをリセツトする。第
10図はこの計量表示自動復帰処理を示す流れ図
で、先ずDSPHF=1か否かをチエツクする。そ
してDSPHF≠1のときは10−1でDSPHF,
DSPRFをリセツトしてこの処理を終了する。
DSPHF=1のときは続いてDSPRF=1か否かを
チエツクする。そしてDSPRF≠1であれば登録
後品物、風袋が秤台1から取り除かれてグロスの
重量がゼロ以下になつたか否かをチエツクする。
グロス重量がゼロ以下になつていなければこの処
理を終了する。またグロス重量がゼロ以下になれ
ば10−2にてDSPRFをセツトする。また上記
においてDSPRF=1が判断されるとこれは登録
後にグロス重量がゼロ以下になつたものと判断
し、続いてグロス重量が20g以上になつたか否か
がチエツクされる。そしてグロス重量が20g以上
のなれば10−1にてDSPHF,DSPRFをリセツ
トし計量モードへ自動復帰してこの処理を終了す
る。このように10の計量表示自動復帰処理にお
いてはDSPHFがセツトされていれば登録後であ
ると判断し、この場合はグロス重量が一旦0g以
下になつてから20g以上になると計量モードに自
動復帰する処理を行なう。この計量表示自動復帰
処理が終了すると続いて11にて重量引く風袋の
演算を行ない正味重量を算出する。続いて12に
て正味重量と単価を掛け値段を算出する。これが
終了するとDSPHF=1か否かをチエツクする。
そしてDSPHF=1であれば登録後の表示固定で
あると判断し上記に戻る。またDSPHF≠1で
あれば計量モードであると判断し、13にて各種
状態ランプのセツト、すなわち停電・エラーラン
プ10、ゼロ点ランプ11、風袋引中ランプ1
2、合計ランプ13等を選択的に点灯させる。続
いて14にて単価、重量、値段及び風袋の表示デ
ータをゼロサプレス処理し、15にてこれら各表
示データを表示装置4の各種表示器6,7,8,
9に表示させる。この表示処理が終了すると続い
てAUTF=1か否かをチエツクしラベル自動発
行モードになつているか否かを調べる。そして
AUTF=1であればラベル自動発行モードにセ
ツトされていると判断し、続いて16にてフラグ
判定を行なう。このフラグ判定は例えば重量が安
定したときセツトされるENAF、重量が20g以下
のときセツトされるMINCF等をチエツクし、ラ
ベルを発行してもよい状態か否かを判定する。そ
してラベルを発行してもよいと判断したときは1
7にてラベルの自動発行処理を行なつて上記へ
戻る。またフラグ判定でラベル発行ができないと
判断した場合あるいはAUTF≠1の場合はラベ
ル発行処理を行なわずに上記へ戻る。 Next, the processing performed by the data processing section 34 will be described based on the flowcharts of FIGS. 8 to 15. FIG. 8 is the main flowchart, and when the power is turned on to start, 1 initialization processing is performed. In this initial processing, RAM clearing, etc. are performed. 2.Subsequently, a power outage process is performed, and then a 3-display scan is performed to check each digit segment of each display 6, 7, 8, and 9. When this display scan is completed, DPKF
and starts reading the status of 4. In this status reading, the mode state of the mode changeover switch, ie, one of "registration", "setting", and "accounting" is read according to the states of REGH and SETH. In addition, the ARTLB checks whether the switch switches 26, 27, and 28 for single item label issue/prohibition, measurement label issue/prohibit, and subtotal label issue/prohibit are set to "issuance" or "prohibition".
Read according to the status of MESLB and STLB. 5 Next, set processing for each mode is performed. This sets or resets the mode flags SETF and INQF depending on the state of the mode changeover switch read in step 4, and performs initial display. If the process of step 5 is shown in a flowchart, as shown in FIG. 9, it is checked whether SETH=1 or not, and if SETH=1, it is determined whether REGF=1 or not by flag determination in 5-1, and REGF=1. If so, it will be the end, but if REGF≠1 then continue
It is checked whether SETF=1 or not, and if SETF=1, it is determined that the setting mode was used last time, and the process ends. If SETF≠1, the initial display of the setting mode is performed at 5-2, and SETF is set to "1" at 5-3, and the process ends. On the other hand, SETH
If ≠1, then it is checked whether REGH=1 or not, and if REGH≠, flag determination of 5-4 is performed. In this flag judgment, for example, it is judged whether REGF = 1, and if REGF = 1, it is the end, but REGF
If ≠1, then it is checked whether INQF=1 or not, and if INQF=1, it is determined that the previous payment mode was also used, and the process ends. Also, if INQF≠1, initial display of payment mode is performed at 5-5, and 5-
At 6, INQF is set to "1" and the process ends. Furthermore, if SETH≠1 and REGH≠1, then 5-
At step 7, both SETF and INQF are reset and the process ends. In this manner, in the setting process for each mode of 5, when SETH=1 and REGH≠1, reading is performed as a setting mode, and if SETF is not set, it is set. Also, SETH≠1,
When REGH≠1, reading is performed in settlement mode, and if INQF is not set, it is set. Also, when SETH≠1 and REGH=1, reading is performed as a registration mode and both SETF and INQF are reset. When the setting processing for each mode in step 5 is completed, it is then checked whether or not a key-in has occurred, and if there is a key-in, key processing in step 6 is performed.
If there is no key-in, read ADC data at 7,
That is, count data is read from the A/D converter 33 of the weighing section 30 via the data selector 37.
Subsequently, flicker processing is performed at step 8, and auto-zero processing is performed at step 9 to determine the true value of the weight. That is, the processes 7, 8, and 9 are a well-known series of processes performed by reading count data corresponding to the weighing value from the weighing section 30. When this series of processing is completed, check whether it is in registration mode with SETF and INQF, and if it is not in registration mode, return to 4 to 9.
Repeat the process. Registration mode i.e. SETF
If ≠1 and INQF≠1, the automatic measurement display recovery process of 10 is performed. This automatic weighing display restoration process checks whether the display is fixed after registration.
When the device is fixed, the weight is checked and automatically entered into weighing mode (mode that allows registration by weighing).
Perform processing to return to . Also, when the conditions for returning to the weighing mode are satisfied, the DSPHF is reset. FIG. 10 is a flowchart showing this automatic measurement display return process, in which first it is checked whether DSPHF=1 or not. And when DSPHF≠1, DSPHF is 10-1,
Reset DSPRF and end this process.
When DSPHF=1, it is subsequently checked whether DSPRF=1 or not. If DSPRF≠1, after registration, the product and tare are removed from the weighing platform 1 and a check is made to see if the gross weight has become zero or less.
If the gross weight has not become zero or less, this process ends. Also, if the gross weight becomes zero or less, DSPRF is set at 10-2. Furthermore, if DSPRF=1 is determined in the above, it is determined that the gross weight has become less than zero after registration, and then it is checked whether the gross weight has become more than 20 g. If the gross weight is 20 g or more, DSPHF and DSPRF are reset at step 10-1 and the process is automatically returned to the weighing mode. In this way, in the weighing display automatic return process in step 10, if DSPHF is set, it is determined that it has been registered, and in this case, if the gross weight once falls below 0g and then exceeds 20g, it will automatically return to the weighing mode. Process. When this weighing display automatic return process is completed, the net weight is calculated by subtracting the weight and calculating the tare weight at step 11. Next, in step 12, the price is calculated by multiplying the net weight by the unit price. When this is completed, check whether DSPHF=1 or not.
If DSPHF=1, it is determined that the display is fixed after registration, and the process returns to the above. If DSPHF≠1, it is determined that the weighing mode is in effect, and various status lamps are set at step 13, namely, a power failure/error lamp 10, a zero point lamp 11, and a tare weight setting lamp 1.
2. Selectively light up the total lamp 13, etc. Next, at step 14, the unit price, weight, price, and tare display data are subjected to zero suppression processing, and at step 15, these display data are displayed on the various displays 6, 7, 8, of the display device 4.
Display it on 9. When this display processing is completed, it is subsequently checked whether AUTF=1 or not, and it is determined whether the automatic label issuing mode is set. and
If AUTF=1, it is determined that the automatic label issuing mode is set, and then a flag determination is performed in step 16. This flag determination checks, for example, ENAF, which is set when the weight is stable, and MINCF, which is set when the weight is 20 g or less, to determine whether or not it is possible to issue a label. When it is determined that it is okay to issue a label, 1
At step 7, automatic label issuance processing is performed and the process returns to the above. Further, if it is determined that the label cannot be issued by the flag judgment, or if AUTF≠1, the process returns to the above without performing the label issuing process.
ところで前記6のキー処理は各種キーの操作に
より様々な処理が行なわれるが以下主なキー処理
について述べる。先ず第11図は「0」〜「9」
のテンキー16と消キー18についての流れ図
で、テンキー16の操作があると最初に6−1に
てテンキー16が操作できる状態にあるか否かを
例えばINQF=1であるか否かによつて判定す
る。そしてINQF≠1のときはテンキー16の操
作が可能であると判定し、さらにDSPHFをリセ
ツトする。またINQF=1のときは精算モードで
テンキー16の受付けは行なわれないからこのと
きは直ちにエンドとなる。DSPHFのリセツト処
理が終了すると次に6−2にてテンキー16によ
つて入力されるデータをNREG(置数レジスタ)
に格納する。そしてSETF=1か否かをチエツク
し、SETF≠1であれば続いてDPKF=1か否か
をチエツクする。そしてDPKF=1であれば6−
3にてPNFのセツトを行なつてから6−4にて
NREGの内容をDATAM(U)に単価データとし
て格納する。またDPKF≠1であれば直ちに6−
4へ行く。そして6−4の格納処理が終了すると
第8図のへとルーチンは移る。以上、SETF≠
1でテンキー入力があつたときにはそのデータは
単価データとしてDATAM(U)に格納される。
一方、SETF=1のときは続いてSETCF=1か
否かをチエツクする。そしてSETCF≠1のとき
は続いてDPNO=0か否かをチエツクし、DPNO
≠0のとき6−5にてNREGの内容を単価として
DPNOの内容に対応するPLUにプリセツトし、さ
らに6−6にて単価・点数表示器8に表示する。
またSETCF=1のときは続いてDPNO=0か否
かチエツクし、DPNO≠0のとき6−7にて
NREGの内容をコードとしてDPNOの内容に対応
する部門別合計メモリのCORDへプリセツトし、
6−6にて値段表示器6に表示する。そして6−
6の表示処理が終了するとこのテンキー処理は終
了する。また上記においてDPNO=0のときはこ
のテンキー処理は直ちに終了する。以上SETF=
1でテンキー入力があつたときにはさらに
SETCFをチエツクし、SETCF=1であればそ
のデータはコードとしてCORDにプリセツトさ
れ、またSETCF≠1であればそのデータは単価
としてPLUにプリセツトされることになる。 By the way, various processes are performed by operating various keys in the above-mentioned 6 key processes, and the main key processes will be described below. First, Figure 11 shows "0" to "9"
In the flowchart for the numeric keypad 16 and erase key 18, when the numeric keypad 16 is operated, it is first checked in 6-1 whether or not the numeric keypad 16 can be operated, depending on whether INQF=1 or not. judge. When INQF≠1, it is determined that the numeric keypad 16 can be operated and further resets DSPHF. Also, when INQF=1, it is in the payment mode and no reception is made using the numeric keypad 16, so the process ends immediately in this case. When the DSPHF reset process is completed, the data input using the numeric keypad 16 is stored in the NREG (number register) at 6-2.
Store in. Then, it is checked whether SETF=1 or not, and if SETF≠1, then it is checked whether DPKF=1 or not. And if DPKF=1 then 6-
After setting the PNF in step 3, in step 6-4
Store the contents of NREG in DATAM (U) as unit price data. Also, if DPKF≠1, immediately 6-
Go to 4. When the storage process in 6-4 is completed, the routine moves to the process shown in FIG. Above, SETF≠
When the numeric keypad is input in step 1, the data is stored in DATAM (U) as unit price data.
On the other hand, when SETF=1, it is subsequently checked whether SETCF=1 or not. Then, when SETCF≠1, it next checks whether DPNO=0 or not, and DPNO
When ≠0, use the contents of NREG as the unit price in 6-5.
It is preset to the PLU corresponding to the contents of the DPNO, and further displayed on the unit price/point display 8 in step 6-6.
Also, if SETCF=1, then check whether DPNO=0 or not, and if DPNO≠0, in 6-7
Preset the contents of NREG as a code to the CORD of the departmental total memory corresponding to the contents of DPNO,
The price is displayed on the price display 6 at 6-6. And 6-
When the display process of 6 is completed, this numeric keypad process ends. Further, in the above case, when DPNO=0, this ten key processing ends immediately. SETF=
When the numeric keypad is input in 1, further
Check SETCF, and if SETCF=1, the data will be preset to CORD as a code, and if SETCF≠1, the data will be preset to PLU as a unit price.
一方、消キー18の操作があると6−8にて
DSPHFをリセツトし、続いて6−9にてNREG
をクリアし、SETF=1か否かをチエツクする。
そしてSFTF=1であれば続いてSETCF=1か
否かをチエツクする。そしてSETCF≠1あれば
前記6−5の処理を行ない、SETCF=1であれ
ば前記6−7の処理を行なう。またSETF≠1で
あれば前記6−4の処理を行なつてへ行く。 On the other hand, when the erase key 18 is operated, at 6-8
Reset DSPHF, then NREG at 6-9
Clear and check whether SETF=1.
If SFTF=1, then it is checked whether SETCF=1 or not. If SETCF≠1, the process of 6-5 is performed, and if SETCF=1, the process of 6-7 is performed. Moreover, if SETF≠1, the process of 6-4 above is performed and the process goes on.
第12図は風キー17についての流れ図で、風
キー17が操作されると先ず6−10にてフラグ
判定を行なう。このフラグ判定は風キーの受付け
が可能か否かを調べるもので、例えばSETF,
INQF,DSPHFのすべてがリセツトされているか
否かをチエツクする。そして1つでもセツトされ
ていれば風キー17の受付け不可と判断して第8
図のへ直ちにルーチンを移行させる。また6−
10のフラグ判定においてSETF,INQF,
DSPHFのすべてがリセツトされていると判断し
たときには続いてENAF=1か否かをチエツクす
る。すなわちENAFは重量データが例えば1目盛
以内の変動で安定しているときにセツトされるフ
ラグであるからこれは重量データが安定している
か否かをチエツクすることになる。そしてENAF
=1であれば続いてMNSCF=1か否かをチエツ
クし重量がマイナスカウント値になつているか否
かをチエツクする。そしてMNSCF≠1であれば
重量=0か否かを調べる。これは秤台1上に何も
無くゼロ点ランプ11が点灯しているか否かを調
べる。そして重量=0であれば続いて単価=0か
否かを調べる。これはDATAM(U)の内容がゼ
ロか否かを調べることによつて行なう。そして重
量≠0のときあるいは重量=0で単価=0のとき
は重量データが3桁以内、すなわち風袋引するた
めの桁数になつているか否かを調べる。そして3
桁以内であれば6−11にて重量を風袋量として
TAREへ格納し、第8図のへルーチンは移行す
る。また風キー17の操作があつたときENAF=
1,ENAF=1でMNSCF=1,ENAF=1で
MNSCF≠1で重量≠0で重量4桁以上あるいは
ENAF=1でMNSCF≠1で重量=0で単価=0
で重量4桁以上の各状態になつていれば6−12
にてTAREおよびNTAREがクリア処理され、さ
らに6−13にてDATAM(U)がクリア処理さ
れ、第8図ののルーチンへ移行する。また上記
において単価≠0のときは単価が3桁以内か否か
をチエツクする。そして単価が3桁以内であれば
続いて単価の数値が最小重量目盛の倍数の関係に
なつているか否かをチエツクする。そして単価の
数値、すなわちDMTAM(U)の内容が最小重量
目盛の倍数の関係になつていれば6−14にて
DATAM(U)の単価を風袋量としてNTAREへ
格納し、上記6−13のDATAM(U)クリアへ
と移行する。また上記において単価が3桁以内で
ないときあるいは単価が3桁以内でも最小重量目
盛の倍数になつていないときには上記6−12の
TARE,NTAREのクリアへと移行する。 FIG. 12 is a flowchart regarding the wind key 17. When the wind key 17 is operated, a flag is first determined at 6-10. This flag judgment is to check whether wind keys can be accepted.For example, SETF,
Check whether INQF and DSPHF are all reset. If even one is set, it is determined that the wind key 17 cannot be accepted, and the 8th
Immediately move the routine to the one shown in the figure. Also 6-
SETF, INQF,
When it is determined that all DSPHFs have been reset, it is then checked whether ENAF=1 or not. That is, ENAF is a flag that is set when the weight data is stable, with fluctuations within one scale, for example, so this is used to check whether the weight data is stable. and ENAF
If = 1, then it is checked whether MNSCF = 1 or not, and it is checked whether the weight has become a negative count value. Then, if MNSCF≠1, check whether weight = 0 or not. This checks whether there is nothing on the scale stand 1 and the zero point lamp 11 is lit. If the weight is 0, then it is checked whether the unit price is 0 or not. This is done by checking whether the contents of DATAM(U) are zero. Then, when weight≠0 or when weight=0 and unit price=0, it is checked whether the weight data is within three digits, that is, the number of digits for taring. and 3
If it is within the digits, use 6-11 to set the weight as a tare amount.
The data is stored in TARE, and the routine moves to that shown in FIG. Also, when the wind key 17 is operated, ENAF=
1, ENAF=1 and MNSCF=1, ENAF=1
MNSCF ≠ 1, weight ≠ 0, weight 4 digits or more, or
ENAF=1, MNSCF≠1, weight=0, unit price=0
6-12 if the weight is in each state of 4 digits or more.
At step 6-13, TARE and NTARE are cleared, and at step 6-13, DATAM(U) is cleared, and the routine proceeds to step 6-13. Further, in the above case, when the unit price≠0, it is checked whether the unit price is within three digits. If the unit price is within three digits, it is then checked whether the numerical value of the unit price is a multiple of the minimum weight scale. If the value of the unit price, that is, the content of DMTAM (U), is in the relationship of multiples of the minimum weight scale, then in 6-14
The unit price of DATAM (U) is stored in NTARE as a tare amount, and the process moves to clear DATAM (U) in 6-13 above. In addition, if the unit price is not within 3 digits in the above, or if the unit price is within 3 digits but not a multiple of the minimum weight scale, please refer to 6-12 above.
Move on to clearing TARE and NTARE.
第13図は部門キー15についての流れ図で、
部門キー15が操作されると先ず6−15にて部
門No.をDPNOにセツトする。そしてSETF=1か
否かをチエツクし、SETF=1であれば設定モー
ドにおける部門キー操作であると判断し、6−1
6にてDPNOに格納されている部門No.、プリセツ
ト単価およびコードを表示し、続いて6−16′
にてSETCFをリセツトしこのキー処理を終了す
る。またSETF≠1であれば続いてINQF=1か
否かをチエツクする。そしてINQF≠1であれば
6−17にてDPKFおよびPNFをリセツトする。
そしてDPNO=32か否かをチエツクする。そして
DPNO≠32であれば6−18にてAUTFをセツト
し、続いて6−19にてDPNOの内容に対応した
PLUをロード(LORD)してDATAM(U)へ読
出す。そしてこの処理が終了すると第8図のへ
ルーチンを移行する。またDPNO=32のときはパ
ツク値付専用部門キーの操作であると判断して6
−18の処理をパスして6−19へ移行する。ま
た上記INQFのチエツクにてINQF=1であれば
6−20にて部門No.表示を行なうとともに部門合
計表示を行なう。これは精算モードにおける部門
キーの操作であると判断し、DPNOの部門No.およ
びその部門No.に対応した部門別合計メモリの点数
合計、重量合計、値段合計を表示する。さらに6
−21にて上記6−20にて表示した内容および
部門コードをラベルにプリントして発行処理しこ
の処理を終了する。 FIG. 13 is a flowchart for department key 15.
When the department key 15 is operated, the department number is first set to DPNO in step 6-15. Then, it checks whether SETF=1 or not, and if SETF=1, it is determined that it is a department key operation in the setting mode, and 6-1
The department number, preset unit price, and code stored in DPNO are displayed at 6-16'.
to reset SETCF and end this key processing. Also, if SETF≠1, then it is checked whether INQF=1 or not. If INQF≠1, DPKF and PNF are reset in 6-17.
Then check whether DPNO=32. and
If DPNO≠32, set AUTF in 6-18, then correspond to the contents of DPNO in 6-19.
Load PLU (LORD) and read it to DATAM (U). When this process is completed, the routine shifts to that shown in FIG. Also, when DPNO = 32, it is determined that the operation is a department key dedicated to pack pricing, and 6
-18 is passed and the process moves to 6-19. If INQF=1 in the above INQF check, the department number is displayed at 6-20 and the department total is displayed. This is determined to be a department key operation in the settlement mode, and the department number of the DPNO and the total points, total weight, and total price of the department total memory corresponding to that department number are displayed. 6 more
At step -21, the contents displayed at step 6-20 and the department code are printed on a label and issued, and the process ends.
第14図は単品キー19と秤加算キー20につ
いての流れ図で、単品キー19の操作であると6
−22にて単品キーの受付けが可能か否かのフラ
グ判定を行なう。このフラグ判定は例えば
SETF,INQF,AUTFがすべてリセツトか否か
で行ない、すべてリセツトであれば単品ラベル発
行モードにおける単品キー19の操作であると判
定し続いて6−23にて単品モードを示すARTF
をセツトし、秤加算モードを示すMESFをリセツ
トする。またSETF,INQF,AUTFのいずれか
1つでもセツトされていればこのキー処理は直ち
に終了する。6−23の処理が終了すると続いて
PNF=1か否かをチエツクし、PNF=1であれ
ば6−24にて単品オープンの部門No.例えば“3
1”をDPNOにセツトする。またPNF≠1であれ
ば6−24の処理をパスする。続いて単品ラベル
が発行にセツトされているか発行禁止にセツトさ
れているかをARTLBの状態でチエツクする。そ
して単品ラベルが発行できるようセツトされてい
ると6−25にて単品ラベルの発行処理を行な
う。また単品ラベル発行禁止がセツトされていれ
ば6−25の処理をパスする。続いて6−26に
て部門No.を表示し、単品メモリに単価を加算する
とともに値段の欄に表示し、さらに単品点数を+
1して表示する。さらに6−27にて単価を値段
小計メモリ、STP、部門No.に対応する部門合計メ
モリの値段PTおよび値段の総合計メモリGTPに
それぞれ加算する。この6−27の処理が終了す
ると続いてPNF=1か否かをチエツクし、PNF
≠1であれば6−28にてDPKFがセツトされ、
PNF=1であれば6−28の処理をパスする。
さらに続いてMESF=1か否かをチエツクする。
そしてMESF=1であれば6−29にてDATAM
(U)およびDPNOをクリア、すなわち単価およ
び部門をクリアする。またMESF≠1であれば6
−29の処理をパスする。そして最後に6−30
にてDSPHFをセツトしてこのキー処理を終了す
る。 FIG. 14 is a flowchart for the single item key 19 and the scale addition key 20.
At step -22, a flag is determined as to whether or not a single key can be accepted. For example, this flag judgment is
This is performed depending on whether SETF, INQF, and AUTF are all reset, and if they are all reset, it is determined that the operation of the single item key 19 is in the single item label issuing mode, and then ARTF is displayed in 6-23 to indicate the single item mode.
and resets MESF indicating the scale addition mode. Furthermore, if any one of SETF, INQF, and AUTF is set, this key processing ends immediately. After the process of 6-23 is completed, continue
Check whether PNF = 1 or not, and if PNF = 1, select the single item open department number at 6-24, for example "3".
1" is set in DPNO. If PNF≠1, the process of 6-24 is passed. Next, it is checked in the state of ARTLB whether the single item label is set to issue or is set to prohibit issue. Then, if it is set to be able to issue a single item label, the single item label is issued at 6-25.If the prohibition of issuing a single item label is set, the process at 6-25 is passed.Subsequently, at 6-26 Displays the department number, adds the unit price to the single item memory, displays it in the price column, and also adds the number of individual items.
1 and display. Further, in 6-27, the unit price is added to the price subtotal memory, STP, price PT of the department total memory corresponding to the department number, and price total memory GTP, respectively. When the processing of 6-27 is completed, it is checked whether PNF=1 or not, and PNF
If ≠1, DPKF is set at 6-28,
If PNF=1, the process of 6-28 is passed.
Furthermore, it is checked whether MESF=1 or not.
And if MESF=1, DATAM at 6-29
(U) and clear DPNO, i.e. clear unit price and department. Also, if MESF≠1, then 6
-29 processing is passed. And finally 6-30
Set DSPHF at , and finish this key processing.
一方、秤加算キー20の操作があると先ず
SETF=1か否かをチエツクする。そしてSETF
=1であれば設定モードにおける秤加算キーの操
作であると判断し、6−31にて単価設定からコ
ード設定に切換えるためのSETCFをセツトしこ
のキー処理を終了する。またSETF≠1であれば
6−32にて重量値が安定しているか否かをフラ
グ判定し、安定していると判定した場合に6−3
3にてMESFをセツトし、ARTFをリセツトす
る。そしてPNF=1か否かをチエツクする。そ
してPNF=1であれば6−34にて計量オープ
ンの部門No.例えば“30”をDPNOにセツトす
る。またPNF≠1であれば6−34の処理をパ
スする。続いて計量ラベルが発行にセツトされて
いるか発行禁止にセツトされているかをMESLB
の状態でチエツクする。そして計量ラベルが発行
できるようにセツトされていると6−35にて計
量ラベルの発行処理を行なう。また計量ラベルの
発行禁止がセツトされていれば6−35の処理を
パスする。続いて6−36にてDPNOの内容、す
なわち部門No.を表示するとともに計算によつて得
られた値段を表示する。さらに6−37にて重
量、値段を小計、部門、総合計の各メモリに加算
する。そしてPNF=1か否かのチエツクを行な
い、PNF≠1であれば上記6−28の処理を行
なうようになる。 On the other hand, when the scale addition key 20 is operated, the
Check whether SETF=1. and SETF
If =1, it is determined that the scale addition key has been operated in the setting mode, SETCF for switching from unit price setting to code setting is set at 6-31, and this key processing is terminated. Also, if SETF≠1, a flag is determined in 6-32 to determine whether or not the weight value is stable, and if it is determined that the weight value is stable, 6-3
Set MESF and reset ARTF in step 3. Then, check whether PNF=1 or not. If PNF=1, then in step 6-34, the department number for metering open, for example "30", is set in DPNO. Further, if PNF≠1, the process of 6-34 is passed. Next, check whether the weighing label is set to issue or not to issue using MESLB.
Check the condition. If the weighing label is set so that it can be issued, the weighing label is issued at 6-35. Furthermore, if the prohibition of issuance of weighing labels is set, the process of 6-35 is passed. Next, at 6-36, the contents of the DPNO, that is, the department number, and the calculated price are displayed. Furthermore, in step 6-37, the weight and price are added to the subtotal, department, and grand total memories. Then, it is checked whether PNF=1 or not, and if PNF≠1, the above-mentioned process 6-28 is performed.
第15図は合計キー21についての流れ図で、
このキー操作においてINQF≠1、小計メモリ
(STP)=0、単価(DATAM(U))≠0のとき
は6−38にてフラグ判定を行なう。このフラグ
判定は例えばSETF≠1、AUTF≠1、ENAF=
1になつているか否かによつて行ない、各フラグ
がこのようになつている場合においてのみ続いて
計量ラベルが発行にセツトされているか発行禁止
にセツトされているかをMESLBの状態でチエツ
クする。そして計量ラベルが発行できるようにセ
ツトされていると6−39にて計量ラベルの発行
処理を行なう。また計量ラベルの発行禁止がセツ
トされていれば6−39の処理をパスする。続い
て6−40にてDPNOの部門No.を表示するととも
に金額計算後の値段を表示し、さらに合計ランプ
13を点灯する。続いて6−41にて重量、値段
の登録データを部門合計メモリ、総合計メモリに
加算処理する。そして6−42にてDATAM
(U)の単価をクリアし、さらに6−43にて表
示固定用のDSPHFをセツトしこの処理を終了す
る。また上記においてINQF≠1、小計メモリ
(STP)=0、単価=0のときは、さらに小計ラベ
ルが発行にセツトされているか発行禁止にセツト
されているかをSTLBの状態でチエツクする。そ
して小計ラベルが発行できるようにセツトされて
いると6−44にて小計ラベルの発行処理を行な
う。また小計ラベルの発行禁止がセツトされてい
れば6−44の処理をパスする。続いて6−45
にて小計メモリ(STP,STNUMB)を表示し、
合計ランプ13を点灯する。さらに6−46にて
小計メモリをクリアし前記6−42の処理へ行
く。また上記においてINQF≠1、小計メモリ≠
0のときは、さらに前回単品登録があつたか否か
をARTF=1か否かでチエツクする。そして
ARTF=1のとき続いて小計点数か否かをチエツ
クする。そしてARTF≠1のときおよびARTF=
1で小計点数≠1のときには小計ラベルの発行処
理へ移行する。またARTF=1で小計点数=1の
ときは6−47にて部門No.表示、単品メモリ表
示、合計ランプ点灯が行なわれ6−46へ処理は
移行する。また上記においてINQF=1のときは
精算モードであると判断され、6−48にて総合
計メモリ(GTW,GTP)の内容が表示され、か
つ6−49にて表示された総合計がプリントされ
たラベル発行が行なわれこの処理を終了する。 FIG. 15 is a flowchart for the total key 21,
In this key operation, if INQF≠1, subtotal memory (STP)=0, and unit price (DATAM(U))≠0, flag determination is performed in 6-38. This flag judgment is, for example, SETF≠1, AUTF≠1, ENAF=
This is done depending on whether the label is set to 1 or not, and only when each flag is set in this way, it is subsequently checked in the MESLB state whether the weighing label is set to be issued or prohibited. If the setting is such that the weighing label can be issued, the weighing label is issued at step 6-39. Further, if the prohibition of issuance of weighing labels is set, the process of 6-39 is passed. Next, at 6-40, the department number of the DPNO is displayed, the price after calculation is displayed, and the total lamp 13 is turned on. Subsequently, at 6-41, the registered data of weight and price are added to the department total memory and the total total memory. And at 6-42 DATAM
The unit price of (U) is cleared, and DSPHF for display fixation is set at 6-43, and this processing is completed. Further, in the above case, when INQF≠1, subtotal memory (STP) = 0, and unit price = 0, it is further checked in STLB whether the subtotal label is set to be issued or prohibited. If the subtotal label is set so that it can be issued, the subtotal label is issued at 6-44. Further, if the prohibition of issuing subtotal labels is set, the process of 6-44 is passed. followed by 6-45
Display the subtotal memory (STP, STNUMB) in
The total lamp 13 is turned on. Furthermore, in 6-46, the subtotal memory is cleared and the process proceeds to 6-42. Also, in the above, INQF≠1, subtotal memory≠
If it is 0, it is further checked to see if ARTF=1 to see if a single item was registered last time. and
When ARTF=1, it is then checked whether it is a subtotal score or not. And when ARTF≠1 and ARTF=
1 and the subtotal score≠1, the process moves to subtotal label issuance processing. Further, when ARTF=1 and subtotal score=1, the department number is displayed, the individual item memory is displayed, and the total lamp is lit at 6-47, and the process moves to 6-46. In addition, when INQF = 1 in the above, it is determined that it is in the settlement mode, and the contents of the total memory (GTW, GTP) are displayed at 6-48, and the total displayed at 6-49 is printed. The label is issued and the process ends.
このような構成であれば単価、コードをプリセ
ツトする場合はモード切換スイツチを「設定」モ
ードにしてSETH=1にする。これによりSETF
がセツトされる。この状態でプリセツトすべき部
門を部門キー15によつて先ず指定する。この部
門指定によりDPNOには部門No.が格納され、かつ
それが部門・風袋表示器6で表示される。同時に
部門No.によつて対応するPLUが指定されその内
容が単価・点数表示器8で表示される。したがつ
てPLUに前にプリセツトされた単価が入つてい
ればそれが表示され、またPLUに何もプリセツ
トされていなければゼロが表示される。また同時
に部門No.によつて対応する部門別合計メモリが指
定されその合計メモリのコードプリセツトメモリ
CORDの内容が値段表示器9で表示される。さら
にSETCFがリセツトされる。この状態でテンキ
ー16によつてプリセツトすべき単価を入力する
とその単価が部門No.によつて指定されるPLUに
格納され、そしてその内容が単価・点数表示器8
に表示される。続いて秤加算キー20を操作する
とSETCFがセツトされる。この状態でテンキー
16によつてプリセツトすべきコードを入力する
とそのコードが部門No.によつて指定される部門別
合計メモリのCORDに格納され、そしてその内容
が値段表示器9に表示される。この両表示器8,
9による単価、コードの表示は次の単価、コード
のプリセツトのために部門キーを操作するまで継
続されることになる。したがつて次のプリセツト
を開始するに当つて前回にプリセツトした単価、
コードの内容を確認することができるので、次回
のプリセツト操作がスムーズに行なえ操作性を向
上することができる。 With such a configuration, if you want to preset the unit price and code, set the mode changeover switch to the "setting" mode and set SETH=1. This allows SETF
is set. In this state, the department to be preset is first specified using the department key 15. With this department designation, the department number is stored in the DPNO and is displayed on the department/tare display 6. At the same time, the corresponding PLU is designated by the department number and its contents are displayed on the unit price/point display 8. Therefore, if the PLU contains a previously preset unit price, it will be displayed, and if nothing has been preset in the PLU, zero will be displayed. At the same time, the corresponding departmental total memory is specified by the department number, and the code preset memory for that total memory is specified.
The contents of the CORD are displayed on the price display 9. Furthermore, SETCF is reset. In this state, when a unit price to be preset is entered using the numeric keypad 16, that unit price is stored in the PLU specified by the department number, and its contents are displayed on the unit price/point display 8.
will be displayed. Subsequently, when the scale addition key 20 is operated, SETCF is set. In this state, when a code to be preset is entered using the numeric keypad 16, the code is stored in the CORD of the departmental total memory designated by the department number, and its contents are displayed on the price display 9. Both indicators 8,
The display of the unit price and code by 9 will continue until the department key is operated to preset the next unit price and code. Therefore, when starting the next preset, the previously preset unit price,
Since the contents of the code can be checked, the next preset operation can be carried out smoothly and operability can be improved.
また、この実施例において部門キーの操作無し
でテンキー16が操作されたときにはDPNO=0
となつているからプリセツト処理は行なわれるこ
とはない。 In addition, in this embodiment, when the numeric keypad 16 is operated without operating the department key, DPNO=0.
Therefore, preset processing is not performed.
以上詳述したようにこの発明によれば秤部から
重量データを取込むとともに部門キーにより対応
する単価プリセツトメモリから単価を呼出して値
段を算出し、重量、単価、値段をそれぞれ表示す
る電子式料金秤において、前記単価プリセツトメ
モリに単価をプリセツトする場合は、最初に部門
キーを操作して対応する単価プリセツトメモリの
内容を表示させ、この状態でテンキーを操作する
ことによつて単価プリセツトメモリに単価プリセ
ツトを行なうとともにそのプリセツトされた単価
を表示させるようにしているので、前回設定した
単価を次回の単価プリセツトを開始するまで表示
させておくことができ、単価設定の操作性を向上
できる電子式料金秤における単価設定方式を提供
できるものである。 As described in detail above, according to the present invention, the electronic system reads weight data from the weighing section, calculates the price by calling up the unit price from the corresponding unit price preset memory using the department key, and displays the weight, unit price, and price, respectively. When presetting a unit price in the unit price preset memory on a price scale, first operate the department key to display the contents of the corresponding unit price preset memory, and in this state, operate the numeric keypad to preset the unit price. Since the unit price is preset in the set memory and the preset unit price is displayed, the previously set unit price can be displayed until the next unit price preset is started, improving the operability of unit price setting. It is possible to provide a unit price setting method for an electronic fare scale that can be used.
図はこの発明の実施例を示すもので、第1図は
外観を示す斜視図、第2図は操作部を示す平面
図、第3図は回路構成を示すブロツク図、第4図
〜第7図はRAMのメモリ構成を示す図、第8図
は基本的処理を示す流れ図、第9図はモードのセ
ツト処理を示す流れ図、第10図は計量表示自動
復帰処理を示す流れ図、第11図〜第15図は各
キー処理を示す流れ図である。
1……秤台、3……操作部、4……表示装置、
7……重量表示器、9……値段表示器、15……
部門キー、16……テンキー、30……秤部、3
4……データ処理部、35……CPU(中央処理
ユニツト)、36……RAM(ランダム・アクセ
ス・メモリ)、37……ROM(リード・オンリ・
メモリ)。
The figures show an embodiment of the present invention, in which Fig. 1 is a perspective view showing the external appearance, Fig. 2 is a plan view showing the operating section, Fig. 3 is a block diagram showing the circuit configuration, and Figs. 4 to 7. The figure shows the memory configuration of the RAM, Fig. 8 is a flowchart showing basic processing, Fig. 9 is a flowchart showing mode setting processing, Fig. 10 is a flowchart showing automatic weighing display return processing, and Figs. FIG. 15 is a flowchart showing each key process. 1... Scale stand, 3... Operation unit, 4... Display device,
7...Weight display, 9...Price display, 15...
Department key, 16...Numeric keypad, 30...Weighing section, 3
4...Data processing section, 35...CPU (Central Processing Unit), 36...RAM (Random Access Memory), 37...ROM (Read Only Memory)
memory).
Claims (1)
ーにより対応する単価プリセツトメモリから単価
を呼出して値段を算出し、重量、単価、値段をそ
れぞれ表示する電子式料金秤において、前記単価
プリセツトメモリに単価をプリセツトする場合
は、最初に部門キーを操作して対応する単価プリ
セツトメモリの内容を表示させ、この状態でテン
キーを操作することによつて単価プリセツトメモ
リに単価プリセツトを行なうとともにそのプリセ
ツトされた単価を表示させるようにしたことを特
徴とする電子式料金秤における単価設定方式。1. In an electronic price scale that reads weight data from the weighing section and calculates the price by calling up the unit price from the corresponding unit price preset memory using the department key, and displays the weight, unit price, and price respectively, the unit price is stored in the unit price preset memory. To preset a unit price, first operate the department keys to display the contents of the corresponding unit price preset memory, then operate the numeric keypad in this state to preset the unit price in the unit price preset memory and to display that preset. A unit price setting method in an electronic price scale, characterized in that the unit price displayed is displayed.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7302580A JPS56168515A (en) | 1980-05-31 | 1980-05-31 | Unit price setting system for electronic charging balance |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7302580A JPS56168515A (en) | 1980-05-31 | 1980-05-31 | Unit price setting system for electronic charging balance |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS56168515A JPS56168515A (en) | 1981-12-24 |
| JPS6156444B2 true JPS6156444B2 (en) | 1986-12-02 |
Family
ID=13506382
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP7302580A Granted JPS56168515A (en) | 1980-05-31 | 1980-05-31 | Unit price setting system for electronic charging balance |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS56168515A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6110729A (en) * | 1984-06-25 | 1986-01-18 | Shimadzu Corp | Electronic balance |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5539320A (en) * | 1978-09-12 | 1980-03-19 | Tokyo Electric Co Ltd | Device for setting unit price in label printer |
| JPS5546014A (en) * | 1978-09-25 | 1980-03-31 | Toyota Motor Corp | Carburettor |
| JPS5847649B2 (en) * | 1978-09-29 | 1983-10-24 | 東芝テック株式会社 | Unit price setting method for electronic fare scales |
| JPS5845652B2 (en) * | 1978-09-29 | 1983-10-12 | 東芝テック株式会社 | How to prevent incorrect operation of a label printer with a unit price changeover switch |
-
1980
- 1980-05-31 JP JP7302580A patent/JPS56168515A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS56168515A (en) | 1981-12-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| GB2089547A (en) | Electronic register | |
| US4836309A (en) | Electronic weighing instrument | |
| JPS6156444B2 (en) | ||
| GB1594240A (en) | Electronic cash register | |
| JPS5927851B2 (en) | Ticket issuing device | |
| JPS6345045B2 (en) | ||
| JPH0310890B2 (en) | ||
| JPS6342209B2 (en) | ||
| JPH0526971Y2 (en) | ||
| JPH021738B2 (en) | ||
| JPH0348455B2 (en) | ||
| JPS6210863Y2 (en) | ||
| JPH041287B2 (en) | ||
| JPS647327B2 (en) | ||
| GB1584639A (en) | Data processing apparatus for use with weighing balances | |
| JPH0211956B2 (en) | ||
| JPH0122891B2 (en) | ||
| JPH02244395A (en) | Article sale data processor | |
| JPH02257396A (en) | Commodity sale data processor | |
| JPS6315791Y2 (en) | ||
| JP2561295B2 (en) | Electronic charge balance | |
| JP3093332B2 (en) | Electronic toll scale | |
| EP0232616B1 (en) | Memory for electronic balance | |
| JPH021741B2 (en) | ||
| JPH04274713A (en) | Electronic balance with label printer |