JPH021738B2 - - Google Patents
Info
- Publication number
- JPH021738B2 JPH021738B2 JP55073023A JP7302380A JPH021738B2 JP H021738 B2 JPH021738 B2 JP H021738B2 JP 55073023 A JP55073023 A JP 55073023A JP 7302380 A JP7302380 A JP 7302380A JP H021738 B2 JPH021738 B2 JP H021738B2
- Authority
- JP
- Japan
- Prior art keywords
- label
- weighing
- key
- subtotal
- weight
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Landscapes
- Labeling Devices (AREA)
Description
【発明の詳細な説明】
〔産業上の利用分野〕
この発明は少なくとも計量ラベル及び小計ラベ
ルを発行できる計量ラベル発行装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a weighing label issuing device capable of issuing at least weighing labels and subtotal labels.
例えばスーパーマーケツトなどのように会計場
所と売場とが区別されている店では、計量商品を
取扱う売場に計量ラベル発行装置が設置されてい
る。この計量ラベル発行装置は、秤部から重量デ
ータを取込み、単価をセツトすることにより値段
を算出し、キー操作によつて重量、単価、値段を
印字した計量ラベルを発行する機能と、このよう
な計量ラベルの発行とともに値段や点数を累計
し、最後に1客に対する計量ラベルの発行を締め
る締めキーを操作するとその客についての合計点
数、合計金額を印字した小計ラベルを発行する機
能とを備えており、また計量操作無しで単価のみ
をセツトキー操作によつて単価を値段とし印字し
た単品ラベルを発行できるようになつている。
For example, in stores such as supermarkets where the checkout area and the sales floor are separated, a weighing label issuing device is installed in the sales floor where weighed products are handled. This weighing label issuing device has the function of importing weight data from the weighing section, calculating the price by setting the unit price, and issuing a weighing label with the weight, unit price, and price printed by key operation. It has the function of accumulating the price and points while issuing the weighing label, and finally, by pressing the closing key to close the issuance of the weighing label for one customer, it issues a subtotal label with the total points and total amount printed for that customer. Moreover, it is now possible to issue a single item label with the unit price printed as the price by operating the set key without any weighing operation.
そして、発行された計量ラベルは該当する計量
商品に貼付され、会計場所での販売登録に使用さ
れる。一方、小計ラベルはその売場での顧客への
レシートの代替として発行される。 Then, the issued weighing label is attached to the corresponding weighed product and used for sales registration at the checkout location. On the other hand, a subtotal label is issued as a substitute for a receipt to a customer at that sales floor.
ところで、顧客のなかには小計ラベルが不要で
あるため受取らない客がいるが、このような客に
対しても従来の計量ラベル発行装置においては締
めキーを操作することにより必ず小計ラベルが発
行されていた。また、顧客のなかには同一種類か
つ同一重量の計量商品を複数個に分けて購入する
客がおり、ラベルを1枚のみ発行して商品に貼付
し、個数を乗数として記録しておけばよいが、こ
のような場合でも従来の計量ラベル発行装置にお
いてはキー操作によつて同一の計量ラベルが複数
枚発行されていた。 By the way, some customers do not receive subtotal labels because they do not need them, but in conventional weighing label issuing devices, subtotal labels are always issued to such customers by operating the closing key. . In addition, some customers purchase weighed products of the same type and weight in multiple pieces, so it is sufficient to issue only one label, attach it to the product, and record the number of pieces as a multiplier. Even in such a case, the conventional weighing label issuing device issues a plurality of identical weighing labels by key operation.
上記のように、計量ラベルや小計ラベルは使用
目的に応じて発行したり発行停止にしたりできる
ことが望ましいが、従来の計量ラベル発行装置に
はこのような機能が備えられていないため、無駄
なラベル発行を防止することができなかつた。
As mentioned above, it is desirable to be able to issue or stop issuing weighing labels and subtotal labels depending on the purpose of use, but conventional weighing label issuing devices are not equipped with this function, so there is no need to waste labels. It was not possible to prevent the issuance.
そこで本発明は、少なくとも計量ラベル及び小
計ラベルについてラベル発行、発行停止を任意に
設定することができ、無駄なラベル発行を防止す
ることができる計量ラベル発行装置を提供しよう
とするものである。 SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a weighing label issuing device that can arbitrarily set label issuing or stopping for at least weighing labels and subtotal labels, and can prevent wasteful label issuing.
この発明は、秤部から重量データを取込み、単
価をセツトすることにより少なくとも計量ラベル
及び小計ラベルの発行が可能な計量ラベル発行装
置において、外部操作可能な操作部に計量ラベル
及び小計ラベルに対応してラベル発行、発行停止
選択的に切換える切換スイツチを設けるととも
に、その切換スイツチの設定状態を判断して計量
ラベル及び小計ラベルの発行、発行停止を制御す
る手段を設けたものである。
The present invention provides a weighing label issuing device that is capable of issuing at least a weighing label and a subtotal label by importing weight data from a weighing section and setting a unit price. The apparatus is provided with a changeover switch for selectively switching between label issuance and stoppage of label issuance, and means for determining the setting state of the changeover switch to control the issuance and stoppage of issuance of weighing labels and subtotal labels.
このような手段を溝じた計量ラベル発行装置で
あれば、切換スイツチより計量ラベルの発行が設
定されていたならば、秤部から重量データが取込
まれ単価がセツトされて値段が算出された後に計
量ラベルが発行されるが、計量ラベルの発行停止
が設定されたならば、秤部から重量データが取込
まれ単価がセツトされて値段が算出されても計量
ラベルの発行は禁止される。また、切換スイツチ
により小計ラベルの発行が設定されていたなら
ば、締めキーの操作に応じて小計ラベルが発行さ
れるが、小計ラベルの発行停止が設定されたなら
ば、締めキーが操作されても小計ラベルの発行は
禁止される。
With a weighing label issuing device that incorporates such means, if issuing a weighing label is set using the switch, the weight data will be taken in from the weighing section, the unit price will be set, and the price will be calculated. A weighing label will be issued later, but if the suspension of issuing a weighing label is set, issuing of a weighing label will be prohibited even if weight data is taken in from the weighing unit, a unit price is set, and a price is calculated. Additionally, if subtotal label issuance is set by the switch, a subtotal label will be issued in response to the operation of the close key, but if the stop of subtotal label issuance is set, the close key will not be operated. The issuance of subtotal labels is also prohibited.
以下、この発明の実施例を図面を参照して説明
する。なお、この実施例はラベルプリンタ付電子
式料金秤について述べる。
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,消キー1
8,単品キー19,秤加算キー20,合計キー2
1,点検キー22,取消キー23,日付キー2
4,紙送りキー25の各種キーと単品ラベル「発
行・停止」切換スイツチ26,計量ラベル「発
行・停止」切換スイツチ27,小計ラベル「発
行・停止」切換スイツチ28の各スライド式切換
スイツチとが設けられている。 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
In addition to the department/tare display 6, weight display 7, unit price/point display 8, and price display 9, there are also power outage/error lamps 10, zero point lamps 11, tare setting lamps 12, and total lamps. Various lamps such as 13 etc. are installed. The label printer 5 houses a printer and label paper, which will be described later, and is adapted to be sent out from a label issuing port 14 after printing out data on the label. The operation section 3 has "01" as shown in FIG.
~32 department keys 15, “0” to “9” for “32”
10 numeric keys 16, wind key 17, erase key 1
8, Single item key 19, Scale addition key 20, Total key 2
1, Inspection key 22, Cancel key 23, Date key 2
4. The various keys of the paper feed key 25 and the individual label "issue/stop" switch 26, weighing label "issue/stop" switch 27, and subtotal label "issue/stop" switch 28 are connected to each slide type switch. It is 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,プリンタコントローラ41,デ
ータラツチ回路42を制御するようにしている。
すなわち前記CPU35はデータセレクタ37を
制御して秤部30からの重量データの取込みを行
ない、データセレクタ38を制御してステータス
インプツト43からのステータス信号の取込みを
行ない、デイジツトデコーダ39およびセグメン
トデコーダ40を制御して前記各種表示器6,
7,8,9に表示動作を行なわせるようにしてい
る。またキーマトリクス44から各種キー信号を
入力するようにしている。またCPU35はプリ
ンタコントローラ41を制御してプリンタ45に
ラベル発行動作を行なわせ、データラツチ回路4
2を制御して各種ランプ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;
CPU (Central Processing Unit) 35, RAM (Random Access Memory) 36, ROM (Read/Write)
This is a data processing unit consisting of a memory (only memory) 37. In the scale section 30, when a load is applied to the scale stand 1, a voltage signal is generated from a weight sensor 31 corresponding to the magnitude of the load, and the voltage signal is inputted to an A/D converter 33 via an amplifier 32. , its converter 33
It converts it into a count signal corresponding to the size 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., reads required program data from the ROM 37 in response to input signals, and processes the RAM 36, data selectors 37, 38, and digit decoder. 39, a segment decoder 40, a printer controller 41, and a data latch circuit 42.
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 control the various indicators 6,
7, 8, and 9 are made 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 cause the printer 45 to issue a label, and the data latch circuit 4
2 to light up the various lamps 46. The status input 43 provides ON/OFF signals for the mode changeover switch for changing each business mode of ``setting, registration'' and ``payment'', the above-mentioned label ``issuance/stop'' changeover switches 26, 27, 28, and other various status switches. The data is input to the data selector 38.
第4図〜第7図はROM36のメモリ構成を示
すもので、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>を
SFTF(設定モード時セツトされるフラグ)、〔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(重量が20g以下のときセツトされるフ
ラグ)、〔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 ROM 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>
SFTF (flag set in configuration mode), [0
(3,1)] <1> is INQF (flag set during payment mode), [0(3,2)] <0> is AUTF (flag set during automatic issuance), [0(3,3) ,)〕<
0> to SETCF (flag set when setting department code in setting mode), [0(3,3)]<
1> is DSPHF (flag set when display is fixed during department registration and subtotal), [0(3,3)]
<2> is DSPRF (a flag that is set when the weight becomes less than zero when DSPHF = 1), [0(3,4)]
<0> is MNSF (flag set when weight-tare result is negative), [0(3,4)]<1>
are respectively formed in MNSCF (a flag that is set when the weight is counted negative). Also, set [0(3,5)]<1> to ERRF (a flag that is set when an error occurs during operation), [0(3,5)]
<3> is ENAF (a flag that is set when the weight has stabilized to a specified state), [0(3,6)] <2> is
MINCF (flag set when the weight is less than 20g), [0 (3, 7) <0> DPKF (flag set to leave the department number only once at the beginning), [0
(3,7)]<2>TANF (flag set when taring the unit price), [0(3,7)]<3>
PNF (flag used in conjunction with DPKF), [0(3,
8)] <3> are respectively formed in NF (flag 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 statuses: [0(A,
0)]<0> to SETH (signal output when the mode selector switch is in the setting position), [0(A,0)]<
1> is REGH (signal output when the mode selector switch is in the registered position), [0(A,3)]<0>
ARTLB (issued at single item level "H", prohibited at "L"), [0 (A, 3)] <1> MESLB (issued at weighing label "H", prohibited at "L"), [0 (A ,3)]<2
> STLB (issued with subtotal label "H", prohibited with "L"), [0 (A, 6)] <0> ERRLMP (for power outage/error lamp lighting), [0 (A, 6)] <1>
NTLMP (for tare lamp lighting), [0(A,6)]<
2> to TOLMP (total lamp lighting), [0(A,
6)〕<3> are respectively formed in ZLMP (for zero point lamp lighting).
次に主なレジスタ、メモリについて述べると
〔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)(登録するための
単価データを格納するメモリ)をそれぞれ形成し
ている。〔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)〕で
PRRFEG(プリントデータ格納用レジスタ)、〔0
(A,8)〕、〔0(A,9)〕でDPNO(部門No.記憶
レジスタ)、〔0(A,A)〕でLRC(ラベル送り用
カウンタ)、〔0(A,B)〕でLOC(ラベルオーバ
ランカウンタ)、〔0(A,C)〕でN3C(単価3秒
クリア用カウンタ)、〔0(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)〕で
M
3(グロス重量レジスタ、〔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)〕でTOM(風袋表示データ比較用レジ
スタ)、〔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)〕でART1(単品登
録時の値段合計メモリ)、〔1(E,8)〕〜〔A
(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)〕の51ワードで部門キーの数に対応した部門
別合計メモリを形成している。各部門別合計メモ
リは2ワードのCORD(コードメモリ)、3ワード
のNUM(点数合計メモリ)、5ワードのWT(重
量合計メモリ)、6ワードのPT(値段合計メモリ)
によつて形成されている。 Next, let's talk about the main registers and memories: [0(4,0)] to [0(4,F)], KB (key buffer register), )〕
XREG (X register), [0 (6, 0)] ~ [0
(6, 5)] and DATAM (P) (memory that stores price data for registration) [0 (6, 6)] ~
DATAM (W) (memory that stores weight data for registration) at [0 (6, A)], [0 (6, B)] ~
[0(6,C)] respectively form DATAM (U) (memory for storing unit price data for registration). [0(7,0)] ~ [0(7,5)]
DSPR (P) (price display register), [0 (7, 6)]
DSPR (W) (weight display register) at ~ [0 (7, A)], DSPR at [0 (7, B)] ~ [0 (7, F)
(U) (Unit price display register), [0 (8, 0)] ~ [0
(8,F)], [0(9,0)] to [0(9,F)]
PRRFEG (print data storage register), [0
(A, 8)], [0 (A, 9)] is DPNO (department number storage register), [0 (A, A)] is LRC (label feed counter), [0 (A, B)] LOC (label overrun counter), [0 (A, C)] to N3C (unit price 3 seconds clear counter), [0 (A, D)] to NC (numeric keypad position counter), [0 (A, E )] form a TC (print data counter).
[0(B,0)] to [0(B,4)] are NREG (position register), [0(B,5)] to [0(B,9)] are
MNET (net weight register), [0 (B, A)] ~
TARE (tare register) with [0 (B, E)], [0
(B,F)], [0(C,0)] to [0(C,3)] and M
3 (gross weight register, [0(C,4)] to [0
(C, 8)] ZREG (zero point register), [0(C,
9)] to [0(C,D)], M2 (true value data register), [0(C,E)], [0(C,F)], [0(
D,
0)] to [0(D, 2)], M85 (register that stores data when 5 or more of the 8 sampled data are the same), [0(D, 3)] to [0
(D, 7)], M84 (register that stores data for conditions other than M85), [0 (D, 8)] to [0
(F, F)] and M11 to M18 (registers used for data sampling for flickering processing)
are formed respectively. Also [1(0,0)]~
With [1 (9, 0)], PLU1 to PLU29 (storage registers for unit price data preset in setting mode),
[1 (9, 1)] ~ [1 (9, 6)] for DATE (date data register), [1 (9, 7)] ~ [1 (9, 6)]
F)], ARTPM (register that temporarily stores addition data when registering a single item), [1(A, 0)] to [1(A,
F)] to DSPCOM (display data comparison register),
[1(B,0)] to [1(B,F)] ARTDSP (register that temporarily stores display data when registering a single item),
[1 (C, 0) - [1 (C, 4)] is NTARE (tare register using numeric keypad), [1 (C, 5)] - [1
(C, 7)] is TOM (tare display data comparison register), [1 (C, 8)] to [1 (C, A)]
TDSPR (tare display data register), [1 (C,
B)] to [1(C,D)] are ARTDP (register that temporarily stores department display data when registering a single item), [1
(D, 5)] ~ [1 (D, A)] PRP (register that stores the printed price), [1 (D, B)] ~
PRW (register that stores the printed weight) at [1 (D, F)], [1 (E, 0)], [1 (E, 1)]
register that stores the department number when printing),
[1 (E, 2)] ~ [1 (E, 7)] is ART1 (price total memory when registering single item), [1 (E, 8)] ~ [A
(E, A)], ARNUMB (score total memory when registering 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)] form GTW (total weight memory). Furthermore, [2(0,0)]~
[2(F,F)] and [3(0,0)] to [3(F,
51 words of [F)] form a total departmental memory corresponding to the number of department keys. The total memory for each department is 2 words CORD (code memory), 3 words NUM (score total memory), 5 words WT (weight total memory), 6 words PT (price total memory).
It is formed by.
次にデータ処理部34が行なう処理について第
8図〜第15図の流れ図に基づいて述べると、第
8図は主流れ図で、電源投入によるスタートがあ
ると初期処理を行なう。この初期処理において
はRAMクリア等を行なう。続いて停電処理を
行なつてから表示スキヤンを行ない各表示器
6,7,8,9の各桁セグメントをチエツクす
る。この表示スキンが終了すると続いてDPKFを
セツトしてのステータスの読込みを開始する。
このステータス読込みにおいてはモード切換スイ
ツチのモード状態、すなわち「登録」「設定」「精
算」のいずれかをREGH,SETHの状態によつ
て読込む。また単品レベル発行/禁止、計量ラベ
ル発行/禁止、小計ラベル発行/禁止の各切換ス
イツチ26,27,28が「発行」になつている
か「禁止」になつているかをARTL1,
MESLB,STLBの状態によつて読込む。続い
て各モードのセツト処理を行なう。これはで読
込んだモード切換スイツチの状態によりモードフ
ラグSEJ1,INQFをセツトあるいはリセツト処
理し、初期表示を行なう。このの処理を流れ図
で示せば第9図のようにSETH=1か否かをチエ
ツクし、SETH=1であれば−のフラグ判定
で例えばREGF=1かを判定し、REGF=1であ
ればエンドとなるがREGF≠1であれば続いて
SETH=1か否かをチエツクし、SETF=1であ
れば前回も設定モードであると判断しエンドとな
る。またSEFT≠1であれば−にて設定モー
ドの初期表示を行ない、−にてSETFに
“1”をセツトしてエンドとなる。一方、SETH
≠1であれば続いてREGH=1か否かをチエツ
クし、RESH≠1であれば−のフラグ判定を
行なう。このフラグ判定であればREGF=1かを
判定し、REGF=1であればエンドになるが
REGF≠1であれば続いてINQF=1か否かをチ
エツクし、INQF=1であれば前回も精算モード
であると判断しエンドとなる。まINQF≠1であ
れば−にて精算モードの初期表示を行ない、
−にてINQFに“1”をセツトしてエンドと
なる。さらにSETH≠1、REGH≠1であれば
−にてSETF,INQFを共にリセツトしエン
ドとなる。このようにの各モードのセツト処理
においてはSETH=1,REGH≠1ときには設
定モードとしての読込みを行ないSETFがセツト
されていなければセツトする。またSETH≠1、
REGH≠1のときには精算モードとして読込み
を行ないINQFがセツトされていなければセツト
する。またSETH≠1,REGH=1のときには
登録モードとして読込みを行ないSEFH,INQF
を共にリセツトする。の各モードのセツト処理
が終了すると続いてキーインがあつたか否かをチ
エツクし、キーインがあればのキー処理を行な
う。キーインがなければでADCデータの読込
み、すなわち秤部30のA/D変換器3からカウ
ントデータセレクタ37を介して読込む。続いて
でチラツキ処理を行ないでオートゼロ処理を
行ない重量の真値を求める。すなわちこの,
,の処理は秤部30からの計量値に対応した
カウントデータの読込みによつて行なわれる一連
の処理で周知である。この一連の処理が終了する
と登録モードか否かをSETF,INQFでチエツク
し、登録モードでない場合はAに戻り、〜の
処理をくり返えす。登録モード、すなわちSEFT
≠1,INQF≠1であればの計量表示自動復帰
処理を行なう。この計量表示自動復帰処理は登録
後表示固定された状態かどうかをチエツクし、固
定されているときは重量をチエツクし、自動的に
計量モード(計量による登録が可能なモード)に
戻す処理を行なう。また計量モードへ戻す条件を
満足したときにはDSPHFをリセツトする。第1
0図はこの計量表示自動復帰処理を示す流れ図
で、先ずDSPHF=1か否かをチエツクする。そ
してDSPHF≠1のときは−でDSPHF,
DSPRFをリセツトしてこの処理を終了する。
DSPHF=1のときは続いてDSPRF=1か否か
をチエツクする。そしてDSPRF≠1であれば登
録後品物、風袋が秤台1から取り除かれてグロス
の重量がゼロ以下になつたか否かをチエツクす
る。グロス重量がゼロ以下になつていなければこ
の処理を終了する。またグロス重量がゼロ以下に
なれば−にてDSPRFをセツトする。また上
記においてDSPRF=1が判断されるとこれは登
録後にグロス重量がゼロ以下になつたものと判断
し、続いてグロス重量が20g以上になつたか否か
がチエツクされる。そしてグスロ重量が20g以上
になれば−にてDSPHF,DSPRFをリセツ
トし計量モードへ自動復帰してこの処理を終了す
る。このようにの計量表示自動復帰処理におい
てはDSPHFがセツトされていれば登録後である
と判断し、この場合はグロス重量が一旦0g以下
になつてから20g以上になると計量モードに自動
復帰する処理を行なう。この計量表示自動復帰処
理が終了すると続いてにて重量引く風袋の演算
を行ない正味重量を算出する。続いてにて切味
重量と単価を掛け値段を算出する。これが終了す
るとDSPHF=1か否かをチエツクする。そして
DSPHF=1であれば登録後の表示固定であると
判断し上記Aに戻る。またDSPHF≠1であれば
計量モードであると判断し、にて各種状態ラン
プのセツト、すなわち停電・エラーランプ10,
ゼロ点ランプ11,風袋ランプ12,合計ランプ
13等を選択的に点灯させる。続いてにて単
価、重量、値段及び風袋の表示データをゼロサプ
レス処理し、にてこれら各表示データを表示装
置4の各種表示器6,7,8,9に表示させる。
この表示処理が終了すると続いてAUTF=1か
否かをチエツクしラベル自動発行モードになつて
いるか否かを調べる。そしてAUTF=1であれ
ばラベル自動発行モードにセツトされていると判
断し、続いてにてフラグ判定を行なう。このフ
ラグ判定は例えば重量が安定したときセツトされ
るENAF、重量が20g以下のときセツトされる
MINCF等をチエツクし、ラベルを発行してもよ
い状態か否かを判定する。そしてラベルを発行し
てもよいと判断したときにはにてラベルの自動
発行処理を行なつて上記Aへ戻る。またフラグ判
定でラベル発行ができないと判断した場合あるい
はAUTF≠1の場合はラベル発行処理を行わず
に上記Aへ戻る。 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 initial processing is performed when the power is turned on. In this initial processing, RAM clearing, etc. are performed. Subsequently, after performing a power outage process, a display scan is performed to check each digit segment of each display 6, 7, 8, and 9. When this display skin is finished, DPKF is set and status reading begins.
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. Also, check whether the switch 26, 27, and 28 for single item level issue/prohibition, measurement label issue/prohibit, and subtotal label issue/prohibit are set to "issuance" or "prohibition" using ARTL1.
Read according to the status of MESLB and STLB. Next, setting processing for each mode is performed. This sets or resets the mode flags SEJ1 and INQF according to the state of the mode changeover switch read in, and performs initial display. If this process is shown in a flowchart, as shown in Figure 9, it checks whether SETH = 1 or not, and if SETH = 1, it determines whether REGF = 1 by checking the - flag, and if REGF = 1, it checks whether SETH = 1 or not. This is the end, but if REGF≠1, continue
It is checked whether SETH=1 or not, and if SETF=1, it is determined that the previous setting mode was also used, and the process ends. If SEFT≠1, press - to initialize the setting mode, press - to set SETF to "1" and end. On the other hand, SETH
If ≠1, then it is checked whether REGH=1 or not, and if RESH≠1, a negative flag is determined. If this flag is judged, it will be judged whether REGF = 1, and if REGF = 1, it will be the end.
If REGF≠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. If INQF≠1, press - to initialize the payment mode.
- sets INQF to "1" and ends. Furthermore, if SETH≠1 and REGH≠1, both SETF and INQF are reset with - and the process ends. In the setting process for each mode as described above, 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, REGH=1, reading is performed as registration mode and SEFH, INQF
Reset together. When the setting process for each mode is completed, it is next checked to see if a key-in has occurred, and if there is a key-in, key processing is performed. If there is no key-in, ADC data is read, that is, it is read from the A/D converter 3 of the weighing section 30 via the count data selector 37. Next, flicker processing is performed and auto-zero processing is performed to find the true value of the weight. In other words, this
, is a well-known series of processes performed by reading count data corresponding to the weighing value from the scale section 30. When this series of processing is completed, it is checked with SETF and INQF whether or not it is in the registration mode, and if it is not in the registration mode, it returns to A and repeats the processing from . Registration mode i.e. SEFT
If ≠1, INQF≠1, the weighing display automatic return process is performed. This weighing display automatic return process checks whether the display is fixed after registration, checks the weight if it is fixed, and automatically returns to weighing mode (a mode that allows registration by weighing). . Also, when the conditions for returning to the weighing mode are satisfied, the DSPHF is reset. 1st
FIG. 0 is a flowchart showing this automatic metering display return process. First, it is checked whether DSPHF=1 or not. And when DSPHF≠1, DSPHF is −,
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 -. 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. When the gross weight exceeds 20g, DSPHF and DSPRF are reset with - and the process is automatically returned to the weighing mode. In this automatic weighing display return process, if DSPHF is set, it is determined that it has been registered, and in this case, once the gross weight falls below 0g and then exceeds 20g, the process automatically returns to weighing mode. Do the following. When this weighing display automatic return process is completed, the net weight is calculated by subtracting the weight and calculating the tare weight. Next, calculate the price by multiplying the cutting weight by the unit price. When this is completed, check whether DSPHF=1 or not. and
If DSPHF=1, it is determined that the display is fixed after registration, and the process returns to A above. Also, if DSPHF≠1, it is determined that it is in the measurement mode, and various status lamps are set, namely power failure/error lamp 10,
The zero point lamp 11, tare lamp 12, total lamp 13, etc. are selectively turned on. Subsequently, the unit price, weight, price, and tare display data are subjected to zero suppression processing, and each display data is displayed on the various displays 6, 7, 8, and 9 of the display device 4.
When this display process is completed, it is subsequently checked whether AUTF=1 or not, and it is determined whether the automatic label issuing mode is set. If AUTF=1, it is determined that the automatic label issuing mode is set, and a flag determination is subsequently performed. For example, ENAF is set when the weight is stable, and ENAF is set when the weight is less than 20g.
Checks MINCF, etc., and determines whether the label can be issued. When it is determined that it is OK to issue a label, automatic label issuing processing is performed at step A, and the process returns to step A above. If it is determined that the label cannot be issued by flag determination or if AUTF≠1, the process returns to A without performing the label issuing process.
ところで記記のキー処理は各種キーの操作に
より様々な処理が行なわるが以下主なキー処理に
ついて述べる。先る第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であれば−に
てPNFのセツトを行なつてから−にて
NREGの内容をDATAM(U)に単価データとし
て格納する。またDPKF≠1であれば直ちに−
へ行く。そして−の格納処理が終了すると
第8図のCへとルーチンは移る。以上、SETF≠
1でテンキー入力があつたときにはそのデータは
単価データとしてDATAM(U)に格納される。
一方、SETF=1のときは続いてSETCF=1か
否かをチエツクする。そしてSETCF≠1のとき
は−にてNREGの内容を単価データとして
PLUにプリセツトし、さらに−にて単価・
点数表示器8に表示する。またSETCF=1のと
きは−にてNREGの内容をコードデータと
してCORDへプリセツトし、−にて部門・風
袋表示器6に表示する。そして−の表示処理
が終了するところテンキー処理は終了する。以上
SETF=1でテンキー入力があつたときにはさら
にSETCFをチエツクし、SETCF=1であればデ
ータは部門コードとしてCORDにプリセツトさ
れ、またSETCF≠1であればそのデータは単価
データとPLUにプリセツトされることになる。 By the way, various key operations are performed by operating various keys, and the main key operations will be described below. The previous figure 11 is a flowchart for the numeric keypad 16 from "0" to "9" and the erase key 18.
When the numeric keypad 16 is operated, it is first determined in step 6-1 whether the numeric keypad 16 is in a state where it can be operated or not, for example, based on whether INQF=1. When INQF≠1, it is determined that the numeric keypad 16 can be operated and further resets DSPHF. Furthermore, when INQF=1, it is in the settlement mode and no reception is performed using the numeric keypad 16, so in this case, the process immediately ends. When the DSPHF reset process is completed, the data inputted using the numeric keypad 16 is stored in the NREG (number register) at step 6-2. Then check whether SETF=1 or not,
If SETF≠1, then check whether DPKF=1 or not. If DPKF = 1, set the PNF at - and then -
Store the contents of NREG in DATAM (U) as unit price data. Also, if DPKF≠1, immediately −
go to When the storage process of - is completed, the routine moves to C 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. When SETCF≠1, use - to use the contents of NREG as unit price data.
Preset it to PLU, and then press - to set the unit price.
It is displayed on the score display 8. When SETCF=1, the contents of NREG are preset to CORD as code data by pressing -, and displayed on the department/tare display 6 by pressing -. Then, when the - display process ends, the numeric keypad process ends. that's all
When SETF = 1 and there is a numeric key input, SETCF is further checked. If SETCF = 1, the data is preset to CORD as the department code, and if SETCF≠1, the data is preset to unit price data and PLU. It turns out.
一方、消キー18の操作があると−にて
DSPHFをリセツトし、続いて−にてNREG
をクリアし、SETF=1か否かをチエツクする。
そしてSETF=1であれば続いてSETCF=1か
否かをチエツクする。そしてSETCF≠1であれ
ば前記−の処理を行ない、SETCF=1であ
れば前記−の処理を行なう。またSETF≠1
であれば前記−の処理を行なつてCへ行く。 On the other hand, when the erase key 18 is operated, - is pressed.
Reset DSPHF, then - to NREG
Clear and check whether SETF=1.
If SETF=1, then it is checked whether SETCF=1 or not. If SETCF≠1, the above-mentioned - processing is performed, and if SETCF=1, the above-mentioned - processing is performed. Also, SETF≠1
If so, perform the above-mentioned process and go to C.
第12図は風キー17についての流れ図で、風
キー17が操作さると先ず−にてフラグ判定
を行なう。このフラグ判定は風キーの受付けが可
能は否かを調べるもので、例えばSETF,INQF,
DSPHFのすべてがリセツトされているか否かを
チエツクする。そして1つでもセツトされていれ
ば風キー17の受付け不可と判断して第8図のB
へ直ちにルーチンを移行させる。また−のフ
ラグ判定においてSETF,INQF,DSPHFのす
べてがリセツトされていると判断したときには続
いてENAF=1か否かをチエツクする。すなわ
ちENARは重量データが例えば1目盛以内の変
動で安定しているときにセツトされるフラグであ
るからこれは重量データが安定しているか否かを
チエツクすることになる。そしてENAF=1で
あれば続いてMNSCF=1か否かをチエツクし重
量がマイナスカウント値になつているか否かをチ
エツクする。そしてMNSCR≠1であれば重量=
0か否かを調べる。これは秤台1上に何も無くゼ
ロ点ランプ11が点灯しているか否かを調べる。
そして重量=0であれば続いて単価=0か否かを
調べる。これはDATAM(U)の内容がゼロか否
かを調べることによつて行なう。そして重量≠0
のときあるいは重量=0で単価=0のときは量デ
ータが3桁以内、すなわち風袋引するための桁数
になつているか否かを調べる。そして3桁以内で
あれば−にて重量を風袋量としてTAREへ
格納し、第8図のBへルーチンは移行する。また
風キー17の操作があつたときENAF≠1,
ENAF=1でMNSCF=1,EANF=1で
MNSCF≠1で重量≠0で重量4桁以上あるいは
ENAF=1でMNSCF≠1で重量=0で単価=0
で重量4桁以上の各状態になつていれば−に
てTAREおよびNTAREがクリア処理され、さ
らに−にてDATAM(U)がクリア処理さ
れ、第8図のBのルーチンへ移行する。また上記
において単価≠0のときは単価が3桁以内か否か
をチエクする。そして単価が3桁以内であれば続
いて単価の数値が最小重量目盛の倍数の関係にな
つているか否かをチエツクする。そして単価の数
値、すなわちDATAM(U)の内容が最小重量目
盛の倍数の関係になつていれば−にて
DATAM(U)の単価を風袋量としてNTAREへ
格納し、上記−のDATAM(U)クリアへと
移行する。また上記において単価が3桁以内でな
いときあるいは単価が3桁以内でも最小重量目盛
の倍数になつていないときには上記−の
TARE,NTAREのクリアへと移行する。 FIG. 12 is a flowchart regarding the wind key 17. When the wind key 17 is operated, a flag is first determined by -. This flag judgment is to check whether wind keys can be accepted. For example, SETF, INQF,
Check if all DSPHFs are reset. If even one of them is set, it is determined that the wind key 17 cannot be accepted and
Immediately transition the routine to Furthermore, when it is determined that all of SETF, INQF, and DSPHF have been reset in the negative flag determination, it is subsequently checked whether ENAF=1 or not. That is, since ENAR is a flag that is set when the weight data is stable, with fluctuations within one scale, for example, this is used to check whether the weight data is stable. If ENAF=1, then it is checked whether MNSCF=1 or not, and whether the weight has become a negative count value. And if MNSCR≠1, weight =
Check whether it is 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. and weight≠0
When , or when weight = 0 and unit price = 0, it is checked whether the quantity data is within 3 digits, that is, the number of digits required for tare subtraction. If it is within three digits, press - to store the weight as a tare amount in TARE, and the routine moves to B in FIG. Also, when the wind key 17 is operated, ENAF≠1,
ENAF=1, MNSCF=1, EANF=1
MNSCF ≠ 1, weight ≠ 0, weight 4 digits or more, or
ENAF=1, MNSCF≠1, weight=0, unit price=0
If the weight is in a state of 4 digits or more at -, TARE and NTARE are cleared at -, DATAM (U) is cleared at -, and the routine moves to B in FIG. 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 unit price value, that is, the contents of DATAM (U), is a multiple of the minimum weight scale, -
The unit price of DATAM (U) is stored in NTARE as the tare amount, and the process moves to the DATAM (U) clear mentioned above. In addition, if the unit price is not within 3 digits, or if the unit price is within 3 digits but is not a multiple of the minimum weight scale, please refer to the - above.
Move on to clearing TARE and NTARE.
第13図部門キー15について流れ図で、部門
キー15が操作されると先ず−にて部門No.を
DPNOにセツトする。そしてSETF=1か否かを
チエツクし、SETF=1であれば設定モードにお
ける部門キー操作であると判断し、−にて
DPNOに対応した部門No.プリセツト単価、部門
コードを表示しこのキー処理を終了する。また
SETF≠1であれば続いてINQF=1か否かをチ
エツクする。そしINQF≠1であれば−にて
DPKFおよびPNFをリセツトする。そして
DPNO=32か否かをチエツクする。そして
DPNO≠32であれば−にてAUTFをセツト
し、続いて−にてDPNOの内容に対応した
PLUをロード(LORD)してDATAM(U)へ読
出す。そしてこの処理が終了すると第8図のCへ
ルーチンを移行する。またDPNO=32のときは
パツク値付専用部門キーの操作であると判断して
−の処理をパスして−へ移行する。また
上記INQFのチエツクにてINQF=1であれば
−にて部門No.表示を行なうとともに部門合計表
示を行なう。これは精算モードにおける部門キー
の操作であると判断し、DPNOの部門No.および
その部門No.に対応した部門別合計メモリの点数合
計、重量合計、値段合計を表示する。さらに−
にて上記−にて表示した内容および部門コ
ードをラベルにプリントして発行処理しこの処理
を終了する。 FIG. 13 is a flowchart regarding the department key 15. When the department key 15 is operated, the department number is first entered with -.
Set to DPNO. 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 with -
The department number, preset unit price, and department code corresponding to the DPNO are displayed and this key processing is completed. Also
If SETF≠1, then check whether INQF=1. Then, if INQF≠1, then -
Reset DPKF and PNF. and
Check whether DPNO=32. and
If DPNO≠32, set AUTF with -, then correspond to the contents of DPNO with -.
Load PLU (LORD) and read it to DATAM (U). When this process is completed, the routine moves to C in FIG. Further, when DPNO=32, it is determined that the operation is the department key dedicated to pack value addition, and the processing of - is passed and the process moves to -. Further, if INQF=1 in the above INQF check, the department number is displayed with - 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. Furthermore-
At , the contents displayed at - above and the department code are printed on a label and issued, and the process ends.
第14図は単品キー19と秤加算キー20につ
いての流れ図で、単品キー19の操作があると
−にて単品キーの受付けが可能か否かのフラグ
判定を行なう。このフラグ判定は例えばSETF,
INQF,AUTFがすべてリセツトか否かで行な
い、すべてリセツトであれば単品ラベル発行モー
ドにおける単品キー19の操作であると判定し続
いて−〓〓にて単品モードを示すARTFをセツ
トし、秤加算モードを示すMESFをリセツトす
る。またSETF,INQF,AUTFのいずれか1つ
でもセツトされていればこのキー処理は直ちに終
了する。−〓〓の処理が終了すると続いてPNT
=1か否かをチエツクし、PNF=1であれば
−にて単品オープンの部門No.例えば“31”を
DPNOにセツトする。またPNF≠1であれば
−の処理をパスする。続いて単品ラベルが発行
にセツトされているか発行禁止にセツトされてい
るかをARTLBの状態でチエツクする。そして単
品ラベルが発行できるようセツトされていると
−〓〓にて単品ラベルの発行処理を行なう。また単
品ラベル発行禁止がセツトされていれば−〓〓の
処理をパスする。続いて−〓〓にて部門No.を表示
し、単品メモリに単価を加算するとともに値段の
欄に表示し、さらに単品点数を+1して表示す
る。さらに−〓〓にて単価を値段小計メモリ
STP、部門No.に対応する部門合計メモリの値段
PTおよび値段の総合計メモリGTPにそれぞれ加
算する。この−〓〓の処理が終了すると続いて
PNF=1か否かをチエツクし、PNF≠1であれ
ば−〓〓にてDPKFがセツトされ、PNF=1で
あれば−〓〓の処理をパスする。さらに続いて
MESF=1か否かをチエツクする。そしてMESF
=1であれば−〓〓にてDATAM(U)および
DPNOをクリア、すなわち単価および部門をク
リアする。またMESF≠1であれば−〓〓の処理
をパスする。そして最後に−〓〓にてDSPHFを
セツトしてこのキー処理を終了する。 FIG. 14 is a flowchart regarding the single item key 19 and the scale addition key 20. When the single item key 19 is operated, a flag is determined at - to determine whether or not the single item key can be accepted. This flag judgment can be done by using SETF, for example.
This is performed depending on whether or not INQF and AUTF are all reset. If they are all reset, it is determined that the operation is of the single item key 19 in the single item label issuing mode, and then, -〓〓 is used to set ARTF indicating the single item mode, and the scale is added. Reset MESF indicating the mode. Furthermore, if any one of SETF, INQF, and AUTF is set, this key processing ends immediately. - After the processing of 〓〓 is completed, PNT
Check whether PNF = 1 or not, and if PNF = 1, press - to select the department number for single item open. For example, "31".
Set to DPNO. Also, if PNF≠1, the - processing is passed. Next, it is checked in the ARTLB state whether the single item label is set to be issued or prohibited. If it is set so that a single item label can be issued, the single item label issuance processing is performed at -〓〓. Furthermore, if the prohibition of single item label issuance is set, the process of -〓〓 is passed. Subsequently, the department number is displayed using -ⓓⓓ, the unit price is added to the single item memory and displayed in the price column, and the number of single items is incremented by 1 and displayed. Furthermore, the unit price is memorized as a price subtotal using −〓〓.
STP, department total memory price corresponding to department number
Add PT and price to the total memory GTP respectively. After this −〓〓 processing is completed, the following
It is checked whether PNF=1 or not, and if PNF≠1, DPKF is set by -〓〓, and if PNF=1, the process of -〓〓 is passed. Further on
Check whether MESF=1. and M.E.S.F.
If = 1, DATAM (U) and
Clear DPNO i.e. clear unit price and department. Also, if MESF≠1, the −〓〓 processing is passed. Finally, set DSPHF with -〓〓 and end this key processing.
一方、秤加算キー20の操作があると先ず
SETF=1か否かをチエツクする。そしてSETF
=1であれば設定モードにおける秤加算キーの操
作であると判断し、−にて単価設定からコー
ド設定に切換えるためのSETCFをセツトしこの
キー処理を終了する。またSETF≠1であれば
−にて重量値が安定しているか否かフラグ判定
し、安定していると判定した場合に−にて
MESFをセツトし、ARTFをリセツトする。そ
してPNF=1か否かをチエツクする。そして
PNF=1であれば−〓〓にて計量オープンの部
門No.例えば“30”をDPNOにセツトする。また
PNF≠1でれば−〓〓の処理をパスする。続い
て計量ラベルが発行にセツトされているか発行禁
止にセツトされているかをMESLBの状態でチエ
ツクする。そして計量ラベルが発行できるように
セツトされていると−〓〓にて計量ラベルの発行
処理を行なう。また計量ラベルの発行禁止がセツ
トされていれば−〓〓の処理をパスする。続いて
−〓〓にてDPNOの内容、すなわち部門No.を表
示するとともに計算によつて得れた値段を表示す
る。さらに−〓〓にて重量、値段を小計、部門、
総合計の各メモリに加算する。そしてPNF=1
か否かのチエツクを行い、PNF≠1であれば上
記−〓〓の処理を行なうようになる。 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, and by pressing -, SETCF for switching from unit price setting to code setting is set, and this key processing is terminated. Also, if SETF≠1, use - to flag whether the weight value is stable or not, and if it is determined that it is stable, use - to judge the flag.
Set MESF and reset ARTF. Then, check whether PNF=1 or not. and
If PNF=1, use -== to set the measurement open department number, for example "30", to DPNO. Also
If PNF≠1, the −〓〓 processing is passed. Next, it is checked in the MESLB state whether the weighing label is set to be issued or prohibited. If the weighing label is set so that it can be issued, the weighing label is issued at -ⓓⓓ. Also, if the prohibition of issuance of weighing labels is set, the process of -〓〓 is passed. Next, the contents of the DPNO, that is, the department number, are displayed at -〓〓, and the price obtained by calculation is displayed. Furthermore, at -〓〓, enter the weight, price, subtotal, department, etc.
Add each memory to the grand total. and PNF=1
A check is made to see if PNF≠1, and the above process -〓〓 is performed.
第15図は合計キー21についての流れ図で、
このキー操作においてINQF≠1、小計メモリ
(STP)=0、単価(DATAM(U))≠0のとき
は−〓〓にてフラグ判定を行なう。このフラグ判
定は例えばSETF≠1,AUTF≠1,ENAF=1
になつているか否かによつて行ない、各フラグが
このようになつている場合においてのみ続いて計
量ラベルが発行にセツトされているか発行禁止に
セツトされているかをMESLBの状態でチエツク
する。そして計量ラベルが発行できるようにセツ
トされていると−〓〓にて計量ラベルの発行処理
を行なう。また計量ラベルの発行禁止がセツトさ
れていれば−〓〓の処理をパスする。続いて−
〓〓にてDPNOの部門No.を表示するとともに金額
計算後の値段を表示し、さらに合計ランプ13を
点灯する。続いて−〓〓にて重量、値段の登録デ
ータを部門合計メモリ、総合計メモリに加算処理
する。そして−〓〓にてDATAM(U)の単価を
クリアし、さらに−〓にて表示固定用の
DSPHFをセツトしこの処理を終了する。また上
記においてINQF≠1,小計メモリ(STP)=0,
単価=0のときは、さらに小計ラベルが発行にセ
ツトされているか発行禁止にセツトされているか
をSTLBの状態でチエツクする。そして小計ラベ
ルが発行できるようにセツトされていると−〓
にて小計ラベルの発行処理を行なう。また小計ラ
ベルの発行禁止がセツトされていれば−〓の処
理をパスする。続いて−〓〓にて小計メモリ
(STP,STNUMB)を表示し、合計ランプ13
を点灯する。さらに−〓〓にて小計メモリをクリ
アし前記−〓〓の処理へ行く。また上記において
INQF≠1,小計メモリ≠0のときは、さらに前
回単品登録があつたか否かをARTF=1か否か
でチエツクする。そしてARTF=1のとき続い
て小計点数が1か否かチエツクする。そして
ARTF≠1のときおよびARTF=1で小計点数
≠1のときには小計ラベルの発行処理へ移行す
る。またARTF=1で小計点数=1のときには
−〓〓にて部門No.表示、単品メモリ表示、合計ラ
ンプ点灯が行なわれ−〓〓へ処理は移行する。ま
た上記においてINQF=1のときは精算モードで
あると判断され−〓〓にて総合計メモリ
(GTW,GTP)の内容が表示され、かつ−〓〓
にて表示された総合計がプリントされたラベル発
行が行なわれこの処理を終了する。 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, a flag is determined by -≠≠. This flag judgment is, for example, SETF≠1, AUTF≠1, ENAF=1
This is done depending on whether the label is set to issue or not, and only when each flag is set as described above, it is subsequently checked in the MESLB state whether the weighing label is set to issue or is set to prohibit issue. If the weighing label is set so that it can be issued, the weighing label is issued at -ⓓⓓ. Also, if the prohibition of issuance of weighing labels is set, the process of -〓〓 is passed. Next-
The department number of DPNO is displayed at 〓〓, the price after calculation is displayed, and the total lamp 13 is turned on. Subsequently, the registered data of weight and price are added to the department total memory and the total total memory at -〓〓. Then clear the unit price of DATAM (U) with −〓〓, and then clear the unit price of DATAM (U) with −〓〓 for display fixation.
Set DSPHF and end this process. Also, in the above, INQF≠1, subtotal memory (STP) = 0,
When unit price = 0, it is further checked in the STLB state whether the subtotal label is set to be issued or prohibited. And if the subtotal label is set so that it can be issued -
The subtotal label is issued at . Furthermore, if the prohibition of issuing subtotal labels is set, the process of -ⓓ is passed. Next, display the subtotal memory (STP, STNUMB) with −〓〓 and turn on the total lamp 13.
lights up. Furthermore, the subtotal memory is cleared at -〓〓, and the process goes to the above-mentioned -〓〓. Also in the above
When INQF≠1 and subtotal memory≠0, it is further checked whether a single item was registered last time by checking whether ARTF=1. Then, when ARTF=1, it is subsequently checked whether the subtotal score is 1 or not. and
When ARTF≠1, or when ARTF=1 and the number of subtotal points≠1, the process shifts to subtotal label issuing processing. 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 -ⓓ, and the process moves to -ⓓ. 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 -〓〓, and -〓〓
A label is printed with the total displayed on it, and this process ends.
このような構成であれば、例えば単品ラベルの
切換スイツチ26を「停止」側に設定し、計量ラ
ベルと小計ラベルの切換スイツチ27,28をそ
れぞれ「発行」側に設定するとARTLB=0,
MESLB=1,STLB=1となる。 With such a configuration, for example, if the single item label changeover switch 26 is set to the "stop" side, and the measurement label and subtotal label changeover switches 27 and 28 are set to the "issue" side, ARTLB=0,
MESLB=1, STLB=1.
この状態で例えば秤台1の計量物を載せ部門キ
ー15の1つを操作して秤加算キー20を操作す
ると表示装置4は先ず重量表示器7に重量が表示
され、続いて部門キー15の操作により単価・点
数表示器8にプリセツトされている単価が呼出さ
れて表示される。そして秤加算キー20の操作に
より部門・風袋表示器6に風袋に換わつて部門No.
が表示されるとともにすでに算出されている値段
が値段表示器9に表示される。またこのとき
MESLB=1の状態が判別され計量ラベルの発行
制御が開始される。この計量ラベル発行はCPU
35でプリンタコントローラ41が制御されプリ
ンタ45でラベルに重量、単価、値段、部門No.が
印字されることによつて行なわれる。以上の計量
ラベルの発行が1客の買上げた計量物すべてにつ
いて行なわれると値段の小計メモリ(STP)に
はその客の合計金額が累計され、点数の小計メモ
リ(STNUMB)にはその客の合計点数が累計さ
れることになる。そして最後に合計キー21を操
作するとSTLB=1の状態が判別され小計ラベル
の発行制御が開始される。この小計ラベル発行は
CPU35でプリンタコントローラ41が制御さ
れプリンタ45でラベルにSTP,STNUNBの内
容が印字されることによつて行なわれる。 In this state, for example, when a weighing object is placed on the scale table 1 and one of the department keys 15 is operated and the scale addition key 20 is operated, the display device 4 first displays the weight on the weight display 7, and then the weight is displayed on the department key 15. By operation, the unit price preset on the unit price/point display 8 is called up and displayed. Then, by operating the scale addition key 20, the department/tare display 6 displays the department number instead of the tare.
is displayed, and the already calculated price is displayed on the price display 9. At this time again
The state of MESLB=1 is determined, and weighing label issuance control is started. This weighing label is issued by the CPU.
35, the printer controller 41 is controlled, and the printer 45 prints the weight, unit price, price, and department number on the label. When the above weighing labels are issued for all weighed items purchased by one customer, the total amount for that customer is accumulated in the price subtotal memory (STP), and the total amount for that customer is stored in the point subtotal memory (STNUMB). The points will be accumulated. Finally, when the total key 21 is operated, the state of STLB=1 is determined and subtotal label issuance control is started. This subtotal label is issued
This is done by controlling the printer controller 41 by the CPU 35 and printing the contents of STP and STNUNB on the label by the printer 45.
また単品処理を行なう場合は例えば部門キー1
5の1つを操作し、テンキー16で単価(単品値
段)を入力して単品キー19を操作する。この場
合部門キー15の操作によつて部門No.の設定およ
びプリセツトされた単価の呼出が行なわれるが続
いてのテンキー16の操作により単価が変更され
る。そして単品キー19の操作によつて部門No.が
部門・風袋表示器6に表示され、単価が値段とし
て値段表示器9に表示される。また、点数が単
価・点数表示器8に表示される。またこのときは
ARTLB=0の状態が判別され単品ラベルの発行
が停止される。 Also, when processing single items, for example, department key 1
5, input the unit price (single item price) using the numeric keypad 16, and operate the single item key 19. In this case, the department key 15 is operated to set the department number and the preset unit price is called up, but the subsequent operation of the numeric keypad 16 changes the unit price. Then, by operating the single item key 19, the department number is displayed on the department/tare display 6, and the unit price is displayed as a price on the price display 9. Further, the score is displayed on the unit price/score display 8. Also this time
The state of ARTLB=0 is determined and the issuance of single item labels is stopped.
このように操作部3に設けられた単品ラベル切
換スイツチ26,計量ラベル切換スイツチ27,
小計ラベル切換スイツチ28を「発行」「停止」
に任意に設定することにより単品ラベル、計量ラ
ベル、小計ラベルを使用目的に合わせて発行させ
たり、発行を停止させたりすることができる。し
かも各切換スイツチ26,27,28は各種キー
と同じ操作部3に設けているので操作がきわめて
簡単である。 In this way, the single item label changeover switch 26, the weighing label changeover switch 27,
Set the subtotal label switch 28 to "Issue" or "Stop"
By setting arbitrarily to , it is possible to issue single item labels, measurement labels, and subtotal labels according to the purpose of use, or to stop issuing them. Moreover, since the changeover switches 26, 27, and 28 are provided in the same operation section 3 as the various keys, operation is extremely simple.
なお、前記実施例では計量ラベル以外のラベル
として単品ラベル、小計ラベルを発行できるもの
について述べたが計量ラベルを除く他のラベルの
種類はかならずしもこれに限定さるものでないの
は勿論である。 In addition, in the above embodiment, a label other than a measurement label that can issue single item labels and subtotal labels has been described, but it goes without saying that the types of labels other than measurement labels are not necessarily limited to this.
以上詳述したように、この発明によれば少なく
とも計量ラベル及び小計ラベルについてラベル発
行、発行停止を任意に設定することができ、無駄
なラベル発行を防止することができる上、切操操
作が簡単に行なえる計量ラベル発行装置を提供で
きる。
As described in detail above, according to the present invention, it is possible to arbitrarily set label issuance and stop of issuance for at least measurement labels and subtotal labels, it is possible to prevent unnecessary label issuance, and the cutting operation is easy. It is possible to provide a weighing label issuing device that can perform
図はこの発明の実施例を示すもので、第1図は
外観を示す斜視図、第2図は操作部を示す平面
図、第3図は回路構成を示すブロツク図、第4図
〜第7図はRAMのメモリ構成を示す図、第8図
は基本的処理を示す流れ図、第9図はモードのセ
ツト処理を示す流れ図、第10図は計量表示自動
復帰処理を示す流れ図、第11図〜第15図は各
キー処理を示す流れ図である。
1……秤台、3……操作部、4……表示装置、
5……ラベルプリンタ、19……単品キー、20
……秤加算キー、21……合計キー、26……単
品ラベル「発行・停止」切換スイツチ、27……
計量ラベル「発行・停止」切換スイツチ、28…
小計ラベル「発行・停止」切換スイツチ、30…
…秤部、34……データ処理部、35……CPU
(中央処理ユニツト)、36……RAM(ランダ
ム・アクセス・メモリ)、37……ROM(リー
ド・オンリ・メモリ)、41……プリンタコント
ローラ、45……プリンタ。
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,
5... Label printer, 19... Single key, 20
...Weight addition key, 21...Total key, 26...Single item label "issuance/stop" switch, 27...
Weighing label “issue/stop” switch, 28…
Subtotal label "issue/stop" switch, 30...
...Weighing section, 34...Data processing section, 35...CPU
(central processing unit), 36...RAM (random access memory), 37...ROM (read only memory), 41...printer controller, 45...printer.
Claims (1)
することにより少なくとも計量ラベル及び小計ラ
ベルの発行が可能な計量ラベル発行装置におい
て、外部操作可能な操作部に上記計量ラベル及び
小計ラベルに対応してラベル発行、発行停止を選
択的に切換える切換スイツチを設けるとともにそ
の切換スイツチの設定状態を判断して上記計量ラ
ベル及び小計ラベルの発行、発行停止を制御する
手段を設けたことを特徴とする計量ラベル発行装
置。1. In a weighing label issuing device that is capable of issuing at least a weighing label and a subtotal label by importing weight data from a weighing section and setting a unit price, a label corresponding to the above weighing label and subtotal label is displayed on an externally operable operation section. A weighing label issuing device characterized in that it is provided with a changeover switch for selectively switching between issuance and stoppage of issuance, and means for controlling the issuance and stoppage of issuance of the above-mentioned weighing labels and subtotal labels by determining the setting state of the changeover switch. Device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP7302380A JPS571039A (en) | 1980-05-31 | 1980-05-31 | Measuring label dispenser |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP7302380A JPS571039A (en) | 1980-05-31 | 1980-05-31 | Measuring label dispenser |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS571039A JPS571039A (en) | 1982-01-06 |
JPH021738B2 true JPH021738B2 (en) | 1990-01-12 |
Family
ID=13506320
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP7302380A Granted JPS571039A (en) | 1980-05-31 | 1980-05-31 | Measuring label dispenser |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS571039A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2562133Y2 (en) * | 1990-03-30 | 1998-02-10 | キヤノン株式会社 | Camera with variable light distribution strobe |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5544877A (en) * | 1978-09-28 | 1980-03-29 | Tokyo Electric Co Ltd | Label printer |
-
1980
- 1980-05-31 JP JP7302380A patent/JPS571039A/en active Granted
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5544877A (en) * | 1978-09-28 | 1980-03-29 | Tokyo Electric Co Ltd | Label printer |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2562133Y2 (en) * | 1990-03-30 | 1998-02-10 | キヤノン株式会社 | Camera with variable light distribution strobe |
Also Published As
Publication number | Publication date |
---|---|
JPS571039A (en) | 1982-01-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH0514210B2 (en) | ||
JPH0312795A (en) | Commodity sales data processor | |
EP0028127B1 (en) | Electronic cash register | |
JPS6118125B2 (en) | ||
US4836309A (en) | Electronic weighing instrument | |
JP2882947B2 (en) | Registration device | |
JPH021738B2 (en) | ||
JPH0310890B2 (en) | ||
JPS6345045B2 (en) | ||
JPS6342209B2 (en) | ||
US3974887A (en) | Computing weighing scale with optional sale by unit label printing with no goods on the weighing platform as precondition | |
JPS6227858Y2 (en) | ||
JPH0145566B2 (en) | ||
JP3076719B2 (en) | Distributed metering and registration data processor | |
JPH0348455B2 (en) | ||
JPS6029884B2 (en) | Electronic digital display scale presetting device | |
JPS6210863Y2 (en) | ||
JPH0122105Y2 (en) | ||
JPH0122891B2 (en) | ||
JPH0128429Y2 (en) | ||
JP2502354B2 (en) | Electronic cash register | |
JPH021741B2 (en) | ||
JPS58118Y2 (en) | electronic fare scale | |
JPS6055233A (en) | Electronic rate balance having receipt printer | |
JP3482062B2 (en) | Product sales registration data processing device |