JPH021741B2 - - Google Patents
Info
- Publication number
- JPH021741B2 JPH021741B2 JP55164250A JP16425080A JPH021741B2 JP H021741 B2 JPH021741 B2 JP H021741B2 JP 55164250 A JP55164250 A JP 55164250A JP 16425080 A JP16425080 A JP 16425080A JP H021741 B2 JPH021741 B2 JP H021741B2
- Authority
- JP
- Japan
- Prior art keywords
- label
- total
- flag
- price
- register
- 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 label issuing device that can perform total processing.
従来、この種のラベル発行装置としては例えば
商品コードを入力することによつてプリセツトさ
れている単価、部門コード、風袋量等を読出し、
一方秤で商品を計量することによつて重量値を
得、単価と重量値から値段を算出してラベルに単
価、重さ、値段とともに風袋量、部門コード等を
プリントしてラベルを発行し、また合計メモリを
設け、その合計メモリに重さと値段を加算累計す
るものが知られている。
Conventionally, this type of label issuing device reads out preset unit price, department code, tare weight, etc. by inputting a product code, for example.
On the other hand, the weight value is obtained by weighing the product with a scale, the price is calculated from the unit price and the weight value, and the unit price, weight, price, tare weight, department code, etc. are printed on the label, and a label is issued. It is also known that a total memory is provided and weight and price are added and accumulated to the total memory.
しかしこの従来装置では計量した商品が実際に
顧客に販売されたものであつてもまた不良品のた
め顧客に販売できなかつたものであつても、一旦
計量したものはすべてラベルが発行されて1つの
合計メモリに良品、不良品の区別なく加算されて
しまうため、不良品が出たときにはその不良品を
別途保管し、後で不良品の合計重量値と合計値段
を計算機で算出して合計メモリの加算合計から減
算して良品の合計と不良品の合計を求め管理する
面倒な作業が必要であつた。また不良品であつて
も計量作業を行なうとラベルを発行してしまうた
めラベルが無駄に発行される問題があつた。
However, with this conventional device, all weighed items are labeled once, regardless of whether they were actually sold to customers or items that could not be sold to customers due to defects. Since good products and defective products are added to the total memory without distinction, when a defective product is produced, store it separately, and later calculate the total weight value and total price of the defective products with a calculator and store it in the total memory. It was necessary to perform the troublesome work of calculating and managing the total of non-defective products and the total of defective products by subtraction from the added total. In addition, even if the product is defective, a label is issued when the product is weighed, so there is a problem in that the label is wasted.
そこで本発明は、良品と不良品とを分けて加算
合計でき、また不良品のときにはラベル発行を禁
止してラベルの無駄発行を防止できるラベル発行
装置を提供しようとするものである。 SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to provide a label issuing device that can separately add up good products and defective products, and also prevents issuance of labels when the products are defective, thereby preventing wasteful issuance of labels.
〔課題を解決するための手段〕
本発明は、入力される商品の重量とその商品の
単価とから値段を算出し、ラベルにその商品の重
量、単価、値段等をプリントしてラベル発行を行
なうラベル発行装置において、少なくとも重量、
値段を加算する第1、第2の合計メモリと、この
両合計メモリへの加算処理を選択的に指示する加
算スイツチと、この加算スイツチによつて第1の
合計メモリへの加算処理が指示されているときに
は第1の合計メモリに少なくとも重量、値段を加
算処理する第1の制御手段と、加算スイツチによ
つて第2の合計メモリへの加算処理が指示されて
いるときにはラベルの発行を禁止して第2の合計
メモリに少なくとも重量、値段を加算処理する第
2の制御手段を設けたものである。[Means for Solving the Problems] The present invention calculates the price from the input weight of the product and the unit price of the product, prints the weight, unit price, price, etc. of the product on the label and issues the label. In the label printing device, at least the weight,
A first and second total memory for adding prices, an addition switch for selectively instructing addition processing to both of these total memories, and an addition switch for instructing addition processing to the first total memory. The first control means adds at least the weight and the price to the first total memory when the total value is in the first total memory, and the first control means prohibits the issuance of labels when the addition process to the second total memory is instructed by the addition switch. A second control means is provided for adding at least weight and price to a second total memory.
このような構成の本発明においては、販売する
商品が良品の場合には加算スイツチで第1の合計
メモリを選択指示する。しかして商品の重量と単
価とから値段が算出され、重量、単価、値段等を
プリントしてラベルが発行されるとともに第1の
合計メモリに重量と値段が加算される。また商品
が不良品で販売できなかつたときには加算スイツ
チで第2の合計メモリを選択指示する。しかして
商品の重量と単価とから値段が算出されてもラベ
ルの発行は禁止される。またこのときの重量と値
段は第2の合計メモリに加算される。
In the present invention having such a configuration, when the product to be sold is a good product, the addition switch selects and instructs the first total memory. The price is calculated from the weight and unit price of the product, and a label is issued by printing the weight, unit price, price, etc., and the weight and price are added to the first total memory. If the product is defective and cannot be sold, the addition switch selects and instructs the second total memory. However, even if the price is calculated from the weight and unit price of the product, the issuance of labels is prohibited. Also, the weight and price at this time are added to the second total memory.
従つて後で第1、第2の合計メモリの加算合計
を例えばプリントアウトさせれば実際に販売され
た良品の合計重量と合計値段及び販売されなかつ
た不良品の合計重量と合計値段を容易に知ること
ができる。 Therefore, if you print out the added totals of the first and second total memories later, you can easily calculate the total weight and total price of good products that were actually sold, and the total weight and total price of defective products that were not sold. You can know.
以下、この発明の実施例を図面を参照して説明
する。
Embodiments of the present invention will be described below with reference to the drawings.
第1図は前面図で、1はラベル発行部、2は操
作部である。前記ラベル発行部1にはラベル発行
口3が設けられ、このラベル発行口3に例えば発
光器、受光器からなるラベル検出器4が設けら
れ、ラベル発行口3に突出されたラベル5を検出
するようにしている。前記操作部2には上部に表
示装置6が設けられ、下部に各種キーおよび各種
スイツチが設けられている。前記表示装置6は複
数桁のセグメント表示素子からなる上段表示器
7、下段表示器8およびフイード(1)ランプ、フイ
ード(2)ランプ、ゼロランプ、風袋ランプ、エラー
ランプ、ラベル終了ランプ、個数ランプ、パツク
数ランプ、部門コードランプ、1stランプ、2ndラ
ンプ、時間ランプ、有効日数ランプの各種状態表
示ランプ9を設けている。前記上段表示器7は3
つに区画され上位桁部を単価表示部、中位桁部を
重さ表示部、下位桁部を値段表示部とし、上記単
価表示部にフイード(1)、フイード(2)の両ランプを
対応させ、上記重さ表示部にゼロ、風袋の両ラン
プを対応させ、かつ上記値段表示部にエラー、ラ
ベル終了の両ランプを対応させている。前記下段
表示器8は3つに区画され上位桁部を数値表示部
とし、中位桁部を日付・時間表示部とし、下位桁
部を商品コード表示部とし、上記数値表示部に個
数、重さ、パツク数、部門コードの各ランプを対
応させ、上記日付・時間表示部に1st、2nd時間、
有効日数の各ランプを対応させている。前記各種
キーとしては上方に「0」「1」〜「9」のテン
キー10、「*」の実行キー11、ラベルフイー
ドキー12、風設キー13、風袋キー14、クリ
アキー15、ゼロキー16がそれぞれ設けられ、
下方にカウントプリセツトキー17、重さプリセ
ツトキー18、パツク数キー19、部門コードキ
ー20、訂正キー21、1st日付キー22、2nd日
付キー23、時間キー24、PLU呼出キー25、
品目コードキー26、セツトキー27、小計キー
28、1st合計キー29、2nd合計キー30、3rd
合計キー31、4th合計キー32、自照式のオー
トマイナスキー33がそれぞれ設けられている。
前記各種スイツチとしては上方にラベル発行モー
ドを「自動」「手動」「印字固定」に選択切換えす
るラベル発行モード選択スイツチ34、印字固定
時において固定内容を「単価・重さ」「重さ・値
段」「値段」のいずれかに設定する印字固定内容
設定スイツチ35が設けられ、下方に印字行を
「1段」「2段」のいずれかに設定する印字スイツ
チ36、「ON」位置にあるときは風袋が設定さ
れたときのみ装置の動作を可能にする強制風袋ス
イツチ37、前記セツトキー27にてセツトされ
る内容をPLUデータにするかフイード量データ
にするかを指定するセツトデータ指定スイツチ3
8、データ加算をどの合計メモリにするか指定す
る加算スイツチ39がそれぞれ設けられている。
また操作部2の下方にはデータ印字をON・OFF
設定する1st日付スイツチ40、2nd日付スイツチ
41、風袋スイツチ42、時間スイツチ43、部
門コードスイツチ44、単価スイツチ45、重量
スイツチ46、値段スイツチ47が設けられてい
るとともにラベル発行をON・OFF設定するラベ
ルスイツチ48が設けられている。前記操作部2
の最下端には電源スイツチ49が設けられてい
る。 FIG. 1 is a front view, where 1 is a label issuing section and 2 is an operating section. The label issuing unit 1 is provided with a label issuing port 3, and the label issuing port 3 is provided with a label detector 4 consisting of, for example, a light emitter and a light receiver, and detects a label 5 projected into the label issuing port 3. That's what I do. The operating section 2 is provided with a display device 6 at the top, and various keys and switches at the bottom. The display device 6 includes an upper display 7, a lower display 8, and a feed (1) lamp, feed (2) lamp, zero lamp, tare lamp, error lamp, label end lamp, count lamp, Various status display lamps 9 are provided, including a pack number lamp, a department code lamp, a 1st lamp, a 2nd lamp, a time lamp, and a valid days lamp. The upper stage display 7 is 3
The upper digit part is the unit price display part, the middle digit part is the weight display part, and the lower digit part is the price display part.The unit price display part corresponds to both feed (1) and feed (2) lamps. The weight display section corresponds to both zero and tare lamps, and the price display section corresponds to both error and label end lamps. The lower display 8 is divided into three parts, with the upper digit part serving as a numerical display part, the middle digit part serving as a date/time display part, and the lower digit part serving as a product code display part. 1st, 2nd time, and
Each lamp corresponds to the number of valid days. The above-mentioned various keys include a numeric keypad 10 of "0", "1" to "9", an execution key 11 of "*", a label feed key 12, a wind setting key 13, a tare key 14, a clear key 15, and a zero key 16. are provided respectively,
Downward count preset key 17, weight preset key 18, pack number key 19, department code key 20, correction key 21, 1st date key 22, 2nd date key 23, time key 24, PLU call key 25,
Item code key 26, Set key 27, Subtotal key 28, 1st total key 29, 2nd total key 30, 3rd
A total key 31, a 4th total key 32, and a self-illuminated auto-minus key 33 are provided, respectively.
As for the above-mentioned various switches, there is a label issuing mode selection switch 34 at the top that selects the label issuing mode between "automatic", "manual", and "fixed printing", and when the printing is fixed, the fixed contents are set to "unit price/weight" and "weight/price". A fixed print content setting switch 35 is provided to set the print line to either "1 row" or "2 rows", and a print switch 36 at the bottom to set the print line to either "1 row" or "2 rows" is in the "ON" position. A forced tare switch 37 enables the device to operate only when a tare is set, and a set data designation switch 3 that specifies whether the content set by the set key 27 is PLU data or feed amount data.
8. An addition switch 39 is provided for specifying which total memory is to be used for data addition.
In addition, data printing can be turned on and off at the bottom of the operation unit 2.
A 1st date switch 40, a 2nd date switch 41, a tare switch 42, a time switch 43, a department code switch 44, a unit price switch 45, a weight switch 46, and a price switch 47 are provided to set the label issue ON/OFF. A label switch 48 is provided. Said operation section 2
A power switch 49 is provided at the bottom end.
第2図はラベル発行部1内に収納されているラ
ベル発行機構の概略構成を示すもので、ラベル5
はテープ状の台紙50に一定間隔で貼着され、そ
の台紙50は図示しないラベル供給ロールに巻装
されている。ラベル供給ロールからのラベル5は
ラベル発行部1の後方からラベルガイド51を有
するラベル押え機構52を介して供給され、ラベ
ルガイド53を介して印字機構54に供給されて
いる。前記印字機構54はラベル5に対して単
価、重さ、値段、部門コード、有効日、風袋量等
のデータを設定に応じてプリントするようにして
いる。またラベル発行口3にラベル5があること
をラベル検出器4が検出している限りプリント動
作を禁止するようにしている。前記印字機構54
から送出されるラベル5をスタンプユニツト55
に供給し、そのスタンプユニツト55でラベル5
に品名を印刷するようにしている。このスタンプ
ユニツト55は筐体内に品名印保持金具56を上
下動自在に設け、その品名印保持金具56にセツ
ト位置検出用孔、商品コード孔をそれぞれあけた
羽根状の突起を設けた品名印57が着脱自在に取
付けられるようになつている。そして上記品名印
保持金具56をソレノイド58によつて電気的に
上下動させラベル5に品名を印刷するようになつ
ている。前記スタンプユニツト55にはラベル剥
離板59が設けられ、そのラベル剥離板59の先
端部でラベル5が台紙50と分離されるようにな
つている。前記ラベル剥離板59の先端には前記
ラベル検出器4が取付けられている。前記ラベル
剥離板59にて分離された台紙50はゴムロール
60とラベルフイードロール61とに挾持されて
フイードされ、ガイドローラ62を介して巻取り
ロール63に巻取られるようになつている。前記
ゴムロール60の端にはタイミングプリー64が
固定され、そのタイミングプリー64とパルスモ
ータ65のタイミングプリー66との間にはタイ
ミングベルト67がかけわたされている。前記巻
取にロール63の端にはスプリングベルトプリー
68が固定され、そのスプリングベルトプリー6
8とパルスモータ65のスプリングベルトプリー
69との間にはスプリングベルト70がかけわた
されている。 FIG. 2 shows a schematic configuration of the label issuing mechanism housed in the label issuing section 1.
are attached at regular intervals to a tape-shaped mount 50, and the mount 50 is wound around a label supply roll (not shown). Labels 5 from the label supply roll are supplied from the rear of the label issuing section 1 via a label holding mechanism 52 having a label guide 51, and are supplied via a label guide 53 to a printing mechanism 54. The printing mechanism 54 prints data such as unit price, weight, price, department code, effective date, tare weight, etc. on the label 5 according to settings. Further, as long as the label detector 4 detects that the label 5 is present in the label issuing port 3, the printing operation is prohibited. The printing mechanism 54
The label 5 sent from the stamp unit 55
and the stamp unit 55 stamps the label 5.
The product name is printed on the . This stamp unit 55 has a product name stamp holding metal fitting 56 that is movable up and down in the housing, and a product name stamp 57 that is provided with a feather-like protrusion that has a set position detection hole and a product code hole, respectively, on the product name stamp holding metal fitting 56. is designed to be removably attached. The product name is printed on the label 5 by electrically moving the product name stamp holding metal fitting 56 up and down by a solenoid 58. The stamp unit 55 is provided with a label peeling plate 59, and the label 5 is separated from the mount 50 at the tip of the label peeling plate 59. The label detector 4 is attached to the tip of the label peeling plate 59. The mount 50 separated by the label peeling plate 59 is fed while being held between a rubber roll 60 and a label feed roll 61, and then wound onto a take-up roll 63 via a guide roller 62. A timing pulley 64 is fixed to the end of the rubber roll 60, and a timing belt 67 is stretched between the timing pulley 64 and a timing pulley 66 of a pulse motor 65. A spring belt pulley 68 is fixed to the end of the roll 63, and the spring belt pulley 68 is fixed to the end of the roll 63.
A spring belt 70 is stretched between the spring belt pulley 69 of the pulse motor 65 and the spring belt pulley 69 of the pulse motor 65.
第3図は制御回路を示すブロツク図で、101
は演算回路、インストラクシヨンデコーダ、メモ
リ制御回路等が内蔵されたCPU(中央処理ユニツ
ト)、102に各種プログラム等の固定データが
格納されたROM(リード・オンリー・メモリ)、
103は各種フラグ、各種レジスタ、各種合計メ
モリが形成され、可変的データが格納される
RAM(ランダム・アクセス・メモリ)である。
前記RAM103には第4図に示すように各種フ
ラグとしてフイードセツトフラグF1*1フラグ
F2、オートマイナスフラグF3、B3フラグF4、B4
フラグF5、B5フラグF6、B6フラグF7、小計フラ
グF8、ラベル検出フラグF9、PLUセツトフラグ
F10が形成され、各種レジスタとして第1のカウ
ンタR1、第2のカウンタR2、単価部、符号部、
重さ部、値段部の上段表示部と設定数部、日付
部、商品コード部の下段表示部とからなる表示レ
ジスタR3、置数レジスタR4、商品コード部、単
価部、風袋部、部門部、有効日数部からなる設定
レジスタR5およびプリセツト読出しレジスタR6、
プリントバツフアレジスタR7、フイード(1)レジ
スタR8、フイード(2)レジスタR9、パルス(1)レジ
スタR10、パルス(2)レジスタR11、加工日レジス
タR12、有効日レジスタR13等が形成され、各種
合計メモリとしてパツク数合計部、重量合計部、
値段合計部からなる良品合計のため第1の合計メ
モリとしての1st合計メモリM1、2nd合計メモリ
M2、3rd合計メモリM3、不良品合計のための第
2の合計メモリとしての4th合計メモリM4等が形
成されている。またこのRAM103には図示し
ないが各商品コードに対応して単価、風袋、部門
コード、有効日数プリセツトされるPLUメモリ
が形成されている。前記CPU101とROM10
2およびRAM103はデータ・バス104およ
びアドレス・バス105を介して結合されてい
る。前記CPU101はまた上記データ・バス1
05を介してキーボード・デイスプレイ・コント
ローラ106と結合され、各種キー107各種ス
イツチ108からの入力信号を取込むとともに前
記セグメント表示器7,8および各種ランプ9を
表示動作させるようにしている。また前記CPU
101はデータ・バス104を介して秤部109
から計量データを取込むとともに品名印読取器1
10によつて品名印57からセツト位置検出信
号、商品コードを取込むようにしている。さらに
CPU101はデータ・バス104を介して印字
機構54にプリントデータを送出するようにして
いる。さらに前記CPU101はアドレス・バス
105を介してモータコントローラ111、ブザ
ーコントローラ112、スタンプユニツト55を
制御するようにしている。前記モータコントロー
ラ111はドライバー113を介して前記パルス
モータ65を駆動制御するようにしている。前記
ブザーコントローラ112はブザー114を駆動
制御するようにしている。さらに前記CPU10
1は時計回路115を制御し、その時計回路11
5から日時データを読込むようにしている。 FIG. 3 is a block diagram showing the control circuit.
102 is a CPU (Central Processing Unit) with built-in arithmetic circuits, instruction decoders, memory control circuits, etc.; ROM (Read Only Memory) 102 stores fixed data such as various programs;
Various flags, various registers, and various total memories are formed in 103, and variable data is stored therein.
RAM (Random Access Memory).
As shown in FIG. 4, the RAM 103 has various flags such as a feed set flag F 1 *1 flag.
F 2 , auto minus flag F 3 , B3 flag F 4 , B4
Flag F 5 , B5 flag F 6 , B6 flag F 7 , Subtotal flag F 8 , Label detection flag F 9 , PLU set flag
F 10 is formed, and various registers include a first counter R 1 , a second counter R 2 , a unit price part, a code part,
Display register R 3 consisting of the upper display part of the weight section, price section, setting number section, date section, and lower display section of the product code section, number register R 4 , product code section, unit price section, tare section, department a setting register R5 and a preset read register R6 ,
Print buffer register R 7 , feed (1) register R 8 , feed (2) register R 9, pulse (1) register R 10 , pulse ( 2 ) register R 11 , processing date register R 12 , effective date register R 13 etc. are formed, and the total number of packs, total weight, etc. are formed as various total memories.
1st total memory M 1 as the first total memory, 2nd total memory for the non-defective total consisting of the price total part
M 2 , a 3rd total memory M 3 , a 4th total memory M 4 as a second total memory for totaling defective products, etc. are formed. Although not shown in the RAM 103, a PLU memory is formed in which the unit price, tare weight, department code, and valid days are preset in correspondence with each product code. The CPU 101 and ROM 10
2 and RAM 103 are coupled via data bus 104 and address bus 105. The CPU 101 also connects the data bus 1
It is connected to a keyboard/display controller 106 via a keyboard/display controller 105, which accepts input signals from various keys 107 and various switches 108, and causes the segment displays 7, 8 and various lamps 9 to perform display operations. Also, the CPU
101 is a weighing unit 109 via a data bus 104.
In addition to importing weighing data from the product name stamp reader 1
10, the set position detection signal and product code are read from the product name mark 57. moreover
The CPU 101 sends print data to the printing mechanism 54 via the data bus 104. Further, the CPU 101 controls a motor controller 111, a buzzer controller 112, and a stamp unit 55 via an address bus 105. The motor controller 111 drives and controls the pulse motor 65 via a driver 113. The buzzer controller 112 drives and controls the buzzer 114. Furthermore, the CPU10
1 controls the clock circuit 115, and the clock circuit 11
I am trying to read the date and time data from 5.
前記CPU101はスタンプユニツト55に品
名印57がセツトされるとき品名印読取器110
で正しくセツトされたか否かを検出し、正しくセ
ツトされない限りブザーコントローラ112を制
御してブザー114を動作するようにしている。
そして品名印57が正しくセツトされたことを判
断すると品名印読取器110でその品名印57か
ら商品コードを読取り、その商品コードでRAM
103のPLUメモリから所要のプリセツトデー
タを読出すようにしている。前記CPU101は
操作部2の各種キー107および各種スイツチ1
08の入力情報をキーボード・デイスプレイ・コ
ントローラ106を介して読込み、ROM102
から所要のプログラムを読出してRAM103、
時計回路115、モータコントローラ111、ブ
ザーコントローラ112、キーボード・デイスプ
レイ・コントローラ106、スタンプユニツト5
5、印字機構54をそれぞれ選択的に制御するよ
うにしている。 The CPU 101 operates the product name stamp reader 110 when the product name stamp 57 is set on the stamp unit 55.
It detects whether or not it has been set correctly, and controls the buzzer controller 112 to operate the buzzer 114 unless it is set correctly.
When it is determined that the product name mark 57 has been set correctly, the product code is read from the product name mark 57 by the product name mark reader 110, and the product code is read into the RAM.
Required preset data is read from the PLU memory 103. The CPU 101 controls various keys 107 of the operation section 2 and various switches 1.
08 input information is read through the keyboard/display controller 106, and the ROM 102
Read the required program from RAM103,
Clock circuit 115, motor controller 111, buzzer controller 112, keyboard/display controller 106, stamp unit 5
5. The printing mechanisms 54 are selectively controlled.
第5図はCPU101が行なうメイン処理の要
部を示す流れ図で、電源スイツチ49が投入され
るとスタートする。そして先ず初期設定を行な
う。この初期設定においてはRAMのクリアや表
示部点検等を行なう。又ラベル発行モード選択ス
イツチ34を除く各種スイツチ108の読込みを
行ない、RAM内の対応するフラグ(図示せず)
をセツトする。続いて主業務スイツチに読込みを
行なう。これは各種スイツチ108の内のラベル
発行モード選択スイツチ34についての読込みを
行なう。続いてキーインがあるか否かをチエツク
し、キーインがあればキー処理を行なつてから
時計回路の読込みを行ない、キーインがなけれ
ば直ちにの処理を行なう。この時計回路115
からの日時データの読込みは月、日、時、分のデ
ータを読込み、月については前に読込まれている
月データよりも今回読込まれる月データが小さけ
れば別途プリセツトされている年データを1つ更
新させるようにしている。続いて加工日の変更が
有か否かをチエツクする。これは前回読込まれた
日データに対して今回読込まれる日データが変化
していれば加工日の変更有りと判断し、加工日レ
ジスタR12の加工日データを変更するとともに有
効日レジスタR13の有効日データを変更する。続
いて品名印57からの商品コードの読込みを行
なう。そしてこの読込まれた商品コードが前回に
読込まれた商品コードと一致しているか否かをチ
エツクし、もし一致していないならばRAM10
3のPLUメモリ(図示せず)から商品コードに
対応してプリセツトされている単価、風袋、部門
コード、有効日数の各データを読出し、今回読込
んだ商品コードとともにプリセツト読出しレジス
タR6にセツトする。さらに新たな有効日数のデ
ータによつて加工日レジスタR12の加工日データ
から新たな有効日データを算出し有効日レジスタ
R13にセツトする。続いてにてプリセツト読出
しレジスタR6の単価と秤部109から読込まれ
た計量データを風袋処理等を行なつて得られた重
さとから値段を算出する。そしてにて表示処理
を行なう。この表示処理は表示レジスタR3の各
部に表示すべきデータを揃えてセグメント表示器
である上段表示器7、下段表示器8に表示すると
ともに状態表示ランプ9を選択的に点灯する。続
いてにてラベルを発行できる状態にあるか条件
をチエツクする。これは秤部109から読込まれ
た計量データが安定しているか否かラベル検出器
4がラベル検出を行なつていないか否か等によつ
てチエツクする。そしてラベル発行が可能であれ
ば続いてオートマイナスフラグF3が“1”にな
つているか否かをチエツクする。そしてF3=1
であればこれはオートマイナス処理であると判断
し、合計メモリから重さ、値段、パツク数を減算
し、かつオートマイナスフラグF3をクリアする
とともにオートマイナスランプをOFFする。こ
の場合はラベル発行は行なわれない。またF3≠
1であれば次に加算スイツチ39がT4に設定さ
れているか否かをチエツクする。 FIG. 5 is a flowchart showing a main part of the main processing performed by the CPU 101, which starts when the power switch 49 is turned on. First, perform initial settings. During this initial setting, RAM is cleared and the display section is inspected. Also, the various switches 108 except the label issue mode selection switch 34 are read, and the corresponding flags (not shown) in the RAM are read.
Set. Next, the data is read into the main business switch. This reads the label issue mode selection switch 34 among the various switches 108. Next, it is checked whether or not there is a key-in, and if there is a key-in, the key processing is performed and then the clock circuit is read, and if there is no key-in, the immediate processing is performed. This clock circuit 115
To read date and time data from I am trying to update it once. Next, check whether there is a change in the processing date. If the date data read this time has changed from the date data read last time, it is determined that the processing date has changed, and the processing date data in the processing date register R 12 is changed and the effective date register R 13 is changed. Change the effective date data. Next, the product code is read from the product name mark 57. Then, it is checked whether this read product code matches the previously read product code, and if it does not match, RAM 10
The unit price, tare weight, department code, and valid days data that have been preset corresponding to the product code are read from the PLU memory (not shown) in No. 3 and set in the preset read register R6 along with the product code read this time. . Furthermore, new effective date data is calculated from the processing date data in processing date register R 12 using the new effective days data, and the effective date register
Set to R13 . Subsequently, the price is calculated from the unit price in the preset reading register R6 and the weight obtained by taring the weighing data read from the weighing section 109. Then, display processing is performed. In this display process, the data to be displayed in each part of the display register R3 is arranged and displayed on the upper stage display 7 and lower stage display 8, which are segment displays, and the status display lamp 9 is selectively turned on. Next, check the conditions to see if the label can be issued. This is checked by checking whether the weighing data read from the weighing section 109 is stable and whether the label detector 4 is detecting a label. If it is possible to issue a label, then it is checked whether the auto-minus flag F3 is set to "1". and F 3 =1
If so, it determines that this is auto-minus processing, subtracts the weight, price, and number of packs from the total memory, clears the auto-minus flag F3 , and turns off the auto-minus lamp. In this case, no label is issued. Also F 3 ≠
If it is 1, then it is checked whether the addition switch 39 is set to T4 .
そしてT4に設定されてあれば不良品のトータ
ルであると判断してブザー114を短時間ON
し、かつ4th合計メモリM4に重さ、値段、パツク
数を加算する。この場合ラベル発行は禁止され
る。(第2の制御手段)
また加算スイツチ39がT4に設定されていな
ければ続いてラベルスイツチ48がONに設定さ
れるか否かをチエツクし、ONに設定されてあれ
ばラベル発行を行なう。このラベル発行は先ず1
段目印字を行なつて小フイードを行ない、次
に2段目印字を行なつてフイードを行なうこ
とによつて為され、このとき発行されるラベル5
は第17図に示すようになる。そして加算スイツ
チ39がT1〜T3に設定されているか否かをチエ
ツクし、T1〜T3に設定されていれば良品販売で
あると判断して1st合計メモリM1に重さ、値段、
パツク数を加算する。(第1の制御手段)
またラベルスイツチ48がONに設定されてい
なければ続いて加算スイツチ39がT1〜T3に設
定されているか否かをチエツクする。そしてT1
〜T3に設定されていればブザー114を短時間
ONして1st合計メモリM1に重量、値段、パツク
数をそれぞれ加算する。この場合ラベル発行は行
なわれない。また加算スイツチ39がT1〜T3に
設定されていなければ何も処理は行なわれない。 If it is set to T 4 , it is determined that the product is defective and the buzzer 114 is turned on for a short time.
And add the weight, price, and number of packs to the 4th total memory M 4 . In this case, label issuance is prohibited. (Second Control Means) If the addition switch 39 is not set to T4 , then it is checked whether the label switch 48 is set to ON, and if it is set to ON, a label is issued. This label is issued first
This is done by performing step printing and performing a small feed, then performing second step printing and performing a feed, and the label 5 issued at this time.
is as shown in FIG. Then, it is checked whether the addition switch 39 is set to T 1 to T 3 , and if it is set to T 1 to T 3 , it is determined that the product is sold as a good product, and the weight and price are added to the 1st total memory M 1 . ,
Add the number of packs. (First Control Means) If the label switch 48 is not set to ON, then it is checked whether the addition switch 39 is set to T1 to T3 . and T 1
~ If set to T 3 , buzzer 114 will be activated for a short time.
Turn ON and add the weight, price, and number of packs to the 1st total memory M1 . In this case, no label is issued. Further, if the addition switch 39 is not set to T1 to T3 , no processing is performed.
第6図〜第14図は第5図の流れ図におけるキ
ー処理を示す流れ図で、この流れ図に基づいて
主要はキーとしてのセツトキー27、テンキー1
0、クリアキー15、実行キー11、小計キー2
8、1st合計キー29、2nd合計キー30、3rd合
計キー31、4th合計キー32のキー処理につい
て述べる。 6 to 14 are flowcharts showing the key processing in the flowchart of FIG.
0, clear key 15, execution key 11, subtotal key 2
8. Key processing of the 1st total key 29, 2nd total key 30, 3rd total key 31, and 4th total key 32 will be described.
セツトキー27入力があると第6図に示すよう
にセツトデータ指定スイツチ38がPLUに設定
されているか否かをチエツクし、PLUに設定さ
れていれば続いてPLUセツトフラグF10が“1”
にセツトされているか否かをチエツクする。そし
てF10=1であればPLUセツトフラグF10をクリ
アする。またF10≠1であればPLUセツトフラグ
F10に“1”をセツトし、設定レジスタR5の商品
コードをクリアする。続いてB3フラグF4〜B6フ
ラグF7をクリアし、設定レジスタR5の商品コー
ドを1つカウントアツプする。そして表示レジス
タR3をクリアし全状態表示ランプ9をOFFする。
さらに設定レジスタR5の商品コードを表示レジ
スタR3に転送し、表示をONして商品コードを下
段表示器8で表示する。またセツトデータ指定ス
イツチ38がPLUに設定されていなければFEED
に設定されていると判断し、続いてフイードセツ
トフラグF1に“1”がセツトされているか否か
をチエツクし、F1=1であればフイードセツト
フラグF1をクリアしフイード(1)ランプおよびフ
イード(2)ランプをOFFする。またF1≠1であれ
ばフイードセツトフラグF1に“1”を設定し、
フイード(1)ランプおよびフイード(2)ランプをON
する。続いてフイード(1)レジスタR3の内容を表
示レジスタR3に転送し、*1フラグF2をクリア
して表示をONし、フイード(1)レジスタR8の内容
を上段表示器7に表示する。 When the set key 27 is input, it is checked whether the set data designation switch 38 is set to PLU as shown in FIG. 6, and if it is set to PLU, then the PLU set flag F10 is set to "1".
Check whether it is set to . If F 10 =1, the PLU set flag F 10 is cleared. Also, if F 10 ≠ 1, the PLU set flag
Set F10 to “1” and clear the product code in setting register R5 . Next, the B3 flag F4 to B6 flag F7 are cleared, and the product code in the setting register R5 is counted up by one. Then, the display register R3 is cleared and all status display lamps 9 are turned off.
Further, the product code in the setting register R5 is transferred to the display register R3 , the display is turned on, and the product code is displayed on the lower display 8. Also, if the set data designation switch 38 is not set to PLU, FEED
It is determined that the feed set flag F 1 is set to 1, and then it is checked whether the feed set flag F 1 is set to “1”. If F 1 = 1, the feed set flag F 1 is cleared and the feed ( 1) Turn off the lamp and feed (2) lamp. Also, if F 1 ≠ 1, set the feed set flag F 1 to “1”,
Turn on the feed (1) lamp and feed (2) lamp.
do. Next, the contents of feed (1) register R 3 are transferred to display register R 3 , the *1 flag F 2 is cleared, the display is turned on, and the contents of feed (1) register R 8 are displayed on the upper display 7. do.
またテンキー10入力があると第6図に示すよ
うに先ずフイードセツトフラグF1に“1”がセ
ツトされているか否かをチエツクする。そして
F1=1であればテンキー入力を置数レジスタR4
に格納し、置数レジスタR4の内容を表示レジス
タR3に転送し表示をONする。またF1≠1であれ
ば第8図のキー2処理を行なう。これは先ず
PLUセツトフラグF10に“1”がセツトされてい
るか否かをチエツクする。そしてF10=1であれ
ば続いてB3フラグF4〜B6フラグF7についてチエ
ツクする。そしてB3フラグF4≠1であればテン
キー入力を設定レジスタR5の商品コード部に格
納し、第6図のA1へ戻る。またB3フラグF4=1
でB4フラグF5≠1であればテンキー入力を設定
レジスタR5の単価部に格納し、その単価部のデ
ータを表示レジスタR3に転送して表示をONす
る。またB3フラグF4=1、B4フラグF5=1でB5
フラグF6≠1であればテンキー入力を設定レジ
スタR5の風袋部に格納し、その風袋部のデータ
を表示レジスタR3に転送して表示をONする。ま
たB3フラグF4、B4フラグF5、B5フラグF6がいず
れも“1”でB6フラグF7≠1であればテンキー
入力を設定レジスタR5の部門部に入力し、その
部門部のデータを表示レジスタR3に転送して表
示をONする。さらにB3フラグF4〜B6フラグF7
のいずれも“1”がセツトされていればテンキー
入力を設定レジスタR5の有効日数部に格納し、
その有効日数部のデータを表示レジスタR3に転
送して表示をONする。 Further, when an input is made using the numeric keypad, as shown in FIG. 6, it is first checked whether the feed set flag F1 is set to "1". and
If F 1 = 1, the numeric keypad input is transferred to the numeric register R 4
The contents of register R4 are transferred to display register R3 and the display is turned on. If F 1 ≠1, the key 2 process in FIG. 8 is performed. This is first
Check whether the PLU set flag F10 is set to "1". If F 10 =1, then the B3 flag F 4 to B6 flag F 7 are checked. If the B3 flag F 4 ≠1, the numeric keypad input is stored in the product code section of the setting register R 5 and the process returns to A 1 in FIG. Also, B3 flag F 4 = 1
If B4 flag F 5 ≠ 1, the numeric keypad input is stored in the unit price section of setting register R 5 , and the data of the unit price section is transferred to display register R 3 and the display is turned on. Also, B3 flag F 4 = 1, B4 flag F 5 = 1 and B5
If the flag F 6 ≠ 1, the numeric keypad input is stored in the tare section of the setting register R 5 and the data of the tare section is transferred to the display register R 3 to turn on the display. Also, if the B3 flag F 4 , B4 flag F 5 , and B5 flag F 6 are all “1” and the B6 flag F 7 ≠1, enter the numeric keypad input into the department section of the setting register R 5 , and input the data of that department section. is transferred to display register R3 and the display is turned on. Further B3 flag F 4 ~ B6 flag F 7
If any of them are set to "1", the numeric keypad input is stored in the valid days section of setting register R5 ,
The valid days data is transferred to the display register R3 and the display is turned on.
またクリアキー15入力があると第7図に示す
ようにフイードセツトフラグF1に“1”がセツ
トされているか否かをチエツクする。そしてF1
=1であれば置数レジスタR4をクリアし、表示
をクリアする。またF1≠1でPLUセツトフラグ
F10=1のときはB3フラグF4〜B6フラグF7をク
リアするとともに設定レジスタR5をクリアし、
全状態表示ランプ9をOFFするとともに表示を
クリアする。 When the clear key 15 is input, it is checked whether the feed set flag F1 is set to "1" as shown in FIG. and F 1
If = 1, clear the numeral register R4 and clear the display. Also, F 1 ≠ 1 sets the PLU set flag.
When F10 = 1, clear the B3 flag F4 to B6 flag F7 and clear the setting register R5 ,
All status display lamps 9 are turned off and the display is cleared.
また実行キー11入力があると第7図に示すよ
うにフイードセツトフラグF1に“1”がセツト
されているか否かをチエツクする。そしてF1=
1であれば続いて*1フラグF2=1か否かをチ
エツクし、またF1≠1であれば第9図のキー3
処理を行なう。*フラグF2のチエツクにおいて
F2=1であれば置数レジスタR4の内容をフイー
ド(2)レジスタR9に格納するとともにその内容を
パルス数に変換してパルス(2)レジスタR11に格納
し、第6図のA2へ戻る。F2≠1であれば置数レ
ジスタR4の内容をフイード(1)レジスタR8に格納
するとともにその内容をパルス数に変換してパル
ス(1)レジスタR10に格納する。そして*フラグF2
に“1”を設定し、フイード(1)ランプをOFF、
フイード(2)ランプをONする。フイード(2)レジス
タR9の内容を表示レジスタR3に転送して表示を
ONする。フイードセツトフラグF1≠1であれば
キー3処理が行なわれる。このキー3処理は先ず
PLUセツトフラグF10をチエツクし、F10=1で
あれば続いてB3フラグF4〜B6フラグF7の各フラ
グに基づいて以下の処理を行なう。B3フラグF4
≠1であれば、B3フラグF4に“1”をセツトし、
続いて設定レジスタR5の商品コードからPLUの
プリセツト項目を読出しプリセツト読出レジスタ
R6に格納する。プリセツト読出レジスタR6の単
価、風袋、部門、有効日数を設定レジスタR5に
設定する。そして設定レジスタR5から単価を読
出し表示レジスタR3に格納し表示をONする。ま
たB3フラグF4=1でB4フラグF5≠1であればB4
フラグF5に“1”をセツトし、続いて設定レジ
スタR5の風袋を表示レジスタR3に格納し表示を
ONする。またB3フラグF4、B4フラグF5が共に
“1”でB5フラグF6≠1であればB5フラグF6に
“1”をセツトし、続いて設定レジスタR5の部門
を表示レジスタR3に格納するとともに部門コー
ドランプをONし、かつ表示をONする。またB3
フラグF4、B4フラグF5、B5フラグF6や共に
“1”でB6フラグF7≠1であればB6フラグF7に
“1”をセツトし、続いて設定レジスタR5の有効
日数を表示レジスタR3に格納するとともに有効
日数ランプを点灯し、かつ表示をONする。さら
にB3〜B6の全てのフラグF4〜F7に“1”がセツ
トされてあれば設定レジスタR5の商品コードよ
りプリセツトすべきPLUメモリのアドレスを検
索し、そのアドレスに設定レジスタR5の内容を
セツトする。そして第6図のA3へ戻る。 Further, when the execution key 11 is input, as shown in FIG. 7, it is checked whether the feed set flag F1 is set to "1". and F 1 =
If it is 1, then check whether the *1 flag F 2 = 1 or not, and if F 1 ≠ 1, press key 3 in Fig. 9.
Process. *When checking flag F2
If F 2 = 1, the contents of the numeral register R 4 are stored in the feed (2) register R 9 , and the contents are converted into the number of pulses and stored in the pulse (2) register R 11 , as shown in Fig. 6. Return to A2. If F 2 ≠1, the contents of the register R 4 are stored in the feed (1) register R 8 , and the contents are converted into a pulse number and stored in the pulse (1) register R 10 . and *flag F 2
Set "1" to "1", turn off the feed (1) lamp,
Turn on the feed (2) lamp. Transfer the contents of feed (2) register R 9 to display register R 3 and display it.
Turn on. If the feed set flag F 1 ≠1, key 3 processing is performed. This key 3 process is first
The PLU set flag F10 is checked, and if F10 =1, then the following processing is performed based on each of the B3 flag F4 to B6 flag F7 . B3 flag F 4
If ≠1, set B3 flag F4 to “1”,
Next, read the PLU preset items from the product code in setting register R5 and enter the preset read register.
Store in R6 . Set the unit price, tare, department, and valid days in preset read register R6 to setting register R5 . Then, the unit price is read from the setting register R5 , stored in the display register R3 , and the display is turned on. Also, if B3 flag F 4 = 1 and B4 flag F 5 ≠ 1, then B4
Set flag F5 to “1”, then store the tare in setting register R5 to display register R3 and display it.
Turn on. Also, if both the B3 flag F 4 and the B4 flag F 5 are "1" and the B5 flag F 6 ≠ 1, the B5 flag F 6 is set to "1", and then the department of the setting register R 5 is displayed in the register R 3 At the same time, turn on the department code lamp and turn on the display. Also B3
If flag F 4 , B4 flag F 5 , and B5 flag F 6 are all "1" and B6 flag F 7 ≠ 1, set B6 flag F 7 to "1", and then set the valid number of days in setting register R 5 . Store it in display register R3 , light up the valid days lamp, and turn on the display. Furthermore, if all flags F4 to F7 of B3 to B6 are set to "1", the address of the PLU memory to be preset is searched from the product code of setting register R5 , and the address of the PLU memory to be preset is set to that address. Set the contents. Then return to A3 in Figure 6.
小計キー28入力があると第10図に示すよう
に小計フラグF8に“1”をセツトして全表示を
ブランキングする。 When the subtotal key 28 is input, the subtotal flag F8 is set to "1" and the entire display is blanked, as shown in FIG.
1st合計キー29入力があると第11図に示す
ように小計フラグF8をチエツクし、F8=1であ
ればマークデータ〔1◇〕をプリントバツフアレ
ジスタR7にセツトし、かつF8≠1であればマー
クデータ〔1*〕をプリントバツフアレジスタ
R7にセツトする。続いて1st合計メモリM1の重量
合計、値段合計をプリントバツフアレジスタR7
に読出しセツトする。続いてプリントバツフアレ
ジスタR7の内容をラベルにプリントアウトし、
1行フイードを行なう。続いて加工日、1st合計
メモリM1のパツク数合計、時間、部門コードを
プリントバツフアレジスタR7にセツトし、ラベ
ルにプリントアウトする。そしてラベルをフイー
ドしてラベル発行を行なう。このとき発行される
ラベル5は第18図に示すようになる。続いて小
計フラグF8をチエツクし、F8=1であれば小計
フラグF8をクリアして終了する。またF8≠1で
あれば加算スイツチ39の設定内容をチエツク
し、設定がT1〜T3ONになつていれば1st合計メ
モリM1の各データを2nd合計メモリM2の対応す
るデータに加算する。そして1st合計メモリM1の
内容をクリアしてこの処理を終了する。 When the 1st total key 29 is input, the subtotal flag F8 is checked as shown in Fig. 11, and if F8 = 1, mark data [1◇] is set in the print buffer register R7 , and F8 is If ≠1, print mark data [1*] in buffer register
Set to R7 . Next, print the total weight and price of 1st total memory M 1 and buffer register R 7
Read and set. Next, print out the contents of Print Buffer Register R 7 on a label,
Performs a one-line feed. Next, the processing date, total number of packs in the 1st total memory M1 , time, and department code are set in print buffer register R7 and printed out on a label. Then, the label is fed and the label is issued. The label 5 issued at this time is as shown in FIG. Next, the subtotal flag F8 is checked, and if F8 =1, the subtotal flag F8 is cleared and the process ends. Also, if F 8 ≠ 1, check the settings of the addition switch 39, and if the setting is T 1 to T 3 ON, convert each data in the 1st total memory M 1 to the corresponding data in the 2nd total memory M 2 . to add. Then, the contents of the 1st total memory M1 are cleared and this process ends.
2nd合計キー30入力があると第12図に示す
ように小計フラグF8をチエツクし、F8=1であ
ればマークデータ〔2◇〕をプリントバツフアレ
ジスタR7にセツトし、かつF8≠1であればマー
クデータ〔2*〕をプリントバツフアレジスタ
R7にセツトする。続いて2nd合計メモリM2の重
量合計、値段合計をプリントバツフアレジスタ
R7にセツトする。そしてプリントバツフアレジ
スタR7の内容をラベルにプリントアウトし、1
行フイードを行なう。続いて加工日、2nd合計メ
モリM2のパツク数合計、時間、部門コードをプ
リントバツフアレジスタR7にセツトしラベルに
プリントアウトする。そしてラベルをフイードし
てラベル発行を行なう。続いて小計フラグF8を
チエツクし、F8=1であれば小計フラグF8をク
リアして終了する。またF8≠1であれば加算ス
イツチ39の設定内容をチエツクし、設定がT1
〜T3ONになつていれば2nd合計メモリM2の各デ
ータを3rd合計メモリM3の対応するデータに加算
する。そして2nd合計メモリM2の内容をクリアし
て終了する。 When the 2nd total key 30 is input, the subtotal flag F8 is checked as shown in Fig. 12, and if F8 = 1, mark data [2◇] is set in the print buffer register R7 , and F8 is If ≠1, print mark data [2*] in buffer register
Set to R7 . Next, print the total weight and price of the 2nd total memory M2 and print the buffer register.
Set to R7 . Then, print out the contents of print buffer register R 7 on a label, and
Perform row feed. Next, the processing date, total number of packs in 2nd total memory M2 , time, and department code are set in print buffer register R7 and printed out on a label. Then, the label is fed and the label is issued. Next, the subtotal flag F8 is checked, and if F8 =1, the subtotal flag F8 is cleared and the process ends. Also, if F 8 ≠ 1, check the setting contents of the addition switch 39 and confirm that the setting is T 1
~T 3 If ON, each data in the 2nd total memory M2 is added to the corresponding data in the 3rd total memory M3 . Then, the contents of the 2nd total memory M2 are cleared and the process ends.
3rd合計キー31入力があると第13図に示す
ように小計フラグF8をチエツクし、F8=1であ
ればマークデータ〔3◇〕をプリントバツフアレ
ジスタR7にセツトし、かつF8≠1であればマー
クデータ〔3*〕をプリントバツフアレジスタ
R7にセツトする。続いて3rd合計メモリM3の重
量合計、値段合計をプリントバツフアレジスタ
R7にセツトする。そしてプリントバツフアレジ
スタR7の内容をラベルにプリントアウトし、1
行フイードを行なう。続いて加工日、3rd合計メ
モリM3のパツク数合計、時間、部門コードをプ
リントバツフアレジスタR7にセツトしラベルに
プリントアウトする。そしてラベルをフイードし
てラベル発行を行なう。続いて小計フラグF8を
チエツクし、F8=1であれば小計フラグF8をク
リアして終了する。またF8≠1であれば3rd合計
メモリM3の内容をクリアして終了する。 When the 3rd total key 31 is input, the subtotal flag F8 is checked as shown in Fig. 13, and if F8 = 1, mark data [3◇] is set in the print buffer register R7 , and F8 is If ≠1, print mark data [3*] in buffer register
Set to R7 . Next, print the total weight and price of 3rd total memory M 3 and print the buffer register.
Set to R7 . Then, print out the contents of print buffer register R 7 on a label, and
Perform row feed. Next, the processing date, total number of packs in 3rd total memory M3 , time, and department code are set in print buffer register R7 and printed out on a label. Then, the label is fed and the label is issued. Next, the subtotal flag F8 is checked, and if F8 =1, the subtotal flag F8 is cleared and the process ends. If F 8 ≠ 1, the contents of the 3rd total memory M 3 are cleared and the process ends.
4th合計キー32入力があると第14図に示す
ように小計フラグF8をチエツクし、F8=1であ
ればマークデータ〔4◇〕をプリントバツフアレ
ジスタR7にセツトし、かつF8≠1であればマー
クデータ〔4*〕をプリントバツフアレジスタ
R7にセツトする。続いて4th合計メモリM4の重量
合計、値段合計をプリントバツフアレジスタR7
にセツトする。そしてプリントバツフアレジスタ
R7の内容をラベルにプリントアウトし、1行フ
イードを行なう。続いて加工日、2nd合計メモリ
M2のパツク数合計、時間、部門コードをプリン
トバツフアレジスタR7にセツトしラベルにプリ
ントアウトする。そしてラベルをフイードしてラ
ベル発行を行なう。続いて小計フラグF8をチエ
ツクし、F8=1であれば小計フラグF8をクリア
して終了する。またF8≠1であれば4th合計メモ
リM4の内容をクリアして終了する。 When the 4th total key 32 is input, the subtotal flag F8 is checked as shown in Fig. 14, and if F8 = 1, mark data [4◇] is set in the print buffer register R7 , and F8 is If ≠1, print mark data [4*] in buffer register
Set to R7 . Then print the weight total and price total of 4th total memory M 4 buffer register R 7
Set to . and print buffer register
Print out the contents of R 7 on a label and perform a one-line feed. Followed by processing date, 2nd total memory
Set the total number of packs, time, and department code of M2 in print buffer register R7 and print out on a label. Then, the label is fed and the label is issued. Next, the subtotal flag F8 is checked, and if F8 =1, the subtotal flag F8 is cleared and the process ends. If F 8 ≠ 1, the contents of the 4th total memory M 4 are cleared and the process ends.
第15図は第5図の流れ図における小フイード
の処理を示す流れ図で、これは先ずパルス(1)レ
ジスタR10の内容を第1のカウンタR1に移し、パ
ルス(2)レジスタR11の内容を第2のカウンタR2に
移す。続いて第2のカウンタR2のゼロチエツク
を行なう。最初は第2のカウンタR2がゼロでな
いのでモータコントローラ111を介してパルス
モータ65にパルスを出力する。そしてパルスモ
ータ65が1パルス分動作する所定のデイレイタ
イムを設けて第2のカウンタR2が1つカウント
ダウンされる。続いてラベル検出フラグF9をチ
エツクしF9≠1であれば続いてラベル検出器4
でラベルが検出されているか否かをチエツクす
る。そしてラベル検出器4でラベルが検出されて
いなければ第2のカウンタR2のゼロチエツクへ
ルーチンが戻る。またラベル検出器4でラベルが
ラベル取出口3にあることが検出されるとフラグ
検出フラグF9に“1”をセツトする。続いて第
1のカウンタR1のゼロチエツクを行なう。そし
て第1のカウンタR1の内容がゼロでなければ第
1のカウンタR1を1つカウントダウンして第2
のカウンタR2をゼロチエツクへルーチンが戻り、
また第1のカウンタR1の内容がゼロであれば直
ちに第2のカウンタR2のゼロチエツクへルーチ
ンが戻る。また上記のラベル検出フラグF9のチ
エツクにおいてF9=1であれば直ちに第1のカ
ウンタR1のゼロチエツクを行なう。 FIG. 15 is a flowchart showing the processing of the small feed in the flowchart of FIG . is transferred to the second counter R2 . Subsequently, a zero check is performed on the second counter R2 . At first, since the second counter R2 is not zero, a pulse is output to the pulse motor 65 via the motor controller 111. Then, a predetermined delay time is provided during which the pulse motor 65 operates for one pulse, and the second counter R2 counts down by one. Next, check the label detection flag F 9 and if F 9 ≠ 1, then label detector 4
Check whether the label is detected. If no label is detected by the label detector 4, the routine returns to zero-checking the second counter R2 . Further, when the label detector 4 detects that a label is present at the label outlet 3, the flag detection flag F9 is set to "1". Subsequently, a zero check is performed on the first counter R1 . If the content of the first counter R1 is not zero, the first counter R1 is counted down by one and the second counter R1 is counted down by one.
The routine returns to zero check the counter R2 ,
If the content of the first counter R1 is zero, the routine immediately returns to the zero check of the second counter R2 . Further, in checking the label detection flag F9 , if F9 =1, the first counter R1 is immediately checked for zero.
第16図は第5図の流れ図におけるフイード
処理を示す流れ図で、小フイードの無い1段印字
の場合は前段においてパルス(1)レジスタR10の内
容を第1のカウンタR1に移す制御が行なわれる。
フイード処理は先ず第1のカウンタR1のゼロチ
エツクを行ない、最初は第1のカウンタR1がゼ
ロでないのでモータコントローラ111を介して
パルスモータ65にパルスを出力する。そしてパ
ルスモータ65が1パルス分動作する所定のデイ
レイタイムを設けてラベル検出フラグF9をチエ
ツクする。そしてラベル検出器4がラベル取出口
3にラベルが来ることを検出するまではこの処理
をくり返えし、ラベル検出器4がラベルを検出す
るというラベル検出フラグF9に“1”をセツト
してから第1のカウンタR1の内容を1つカウン
トダウンさせる。以後パルスモータ65にパルス
を出力するごとに第1のカウンタR1を1つずつ
カウントダウンさせ、第1のカウンタR1の内容
がゼロになるとルーチンをリターンしてこのフイ
ード処理を終丁する。 FIG. 16 is a flowchart showing the feed processing in the flowchart of FIG. 5. In the case of one-stage printing without a small feed, control is performed in the previous stage to transfer the contents of the pulse (1) register R 10 to the first counter R 1 . It will be done.
In the feed process, the first counter R1 is first checked for zero, and since the first counter R1 is not zero at first, a pulse is output to the pulse motor 65 via the motor controller 111. Then, a predetermined delay time is provided during which the pulse motor 65 operates for one pulse, and the label detection flag F9 is checked. This process is repeated until the label detector 4 detects that a label is coming to the label outlet 3, and the label detection flag F9 indicating that the label detector 4 detects the label is set to "1". Then, the contents of the first counter R1 are counted down by one. Thereafter, each time a pulse is output to the pulse motor 65, the first counter R1 is counted down one by one, and when the content of the first counter R1 reaches zero, the routine is returned to end this feed process.
このような構成であれば品名印57から品名印
読取器110によつて商品コードが読取られ、そ
の商品コードによつて対応するPLUメモリが検
索され、その検索されたPLUメモリから単価、
風袋量、部門コード、有効日数が読出されプリセ
ツト読出しレジスタR6に商品コードとともにセ
ツトされる。この状態で秤部109にて商品を計
量するとその商品の重量が読込まれ単価、重量で
値段が算出される。こうして単価、重量、値段が
上段表示器7に表示されるとともに部門コード、
商品コードが下段表示器8に表示される。この状
態でラベル発行条件が整つてラベル発行が可能に
なると加算スイツチ39がT4にセツトされてい
るかを判断する。そして加算スイツチ39がT1
〜T3にセツトされていてT4にセツトされていな
ければ次にラベルスイツチ48がONになつてい
るかを判断する。そしてラベルスイツチ48が
ONになつていれば印字機構54とパルスモータ
65を含むラベルフイード機構とが動作してラベ
ル5にデータをプリントし第17図に示すような
ラベルを発行する。そして最後に第1の合計メモ
リである1st合計メモリM1に重さと値段を加算す
る。 With this configuration, the product code is read from the product name mark 57 by the product name mark reader 110, the corresponding PLU memory is searched by the product code, and from the searched PLU memory, the unit price,
The tare weight, department code, and valid days are read out and set in the preset read register R6 along with the product code. In this state, when the product is weighed by the weighing section 109, the weight of the product is read and the unit price and price are calculated based on the weight. In this way, the unit price, weight, and price are displayed on the upper display 7, as well as the department code and
The product code is displayed on the lower display 8. In this state, when the label issuance conditions are met and label issuance becomes possible, it is determined whether the addition switch 39 is set to T4 . And addition switch 39 is T 1
- If it is set to T3 but not T4 , then it is determined whether the label switch 48 is turned on. And label switch 48
If it is ON, the printing mechanism 54 and the label feed mechanism including the pulse motor 65 operate to print data on the label 5 and issue a label as shown in FIG. 17. Finally, the weight and price are added to the 1st total memory M1 , which is the first total memory.
またラベルスイツチ48がOFFになつていれ
ばラベル発行は禁止されブザー114が短時間
ONして1st合計メモリM1に重さと値段が加算さ
れている。 Furthermore, if the label switch 48 is turned off, label issuance is prohibited and the buzzer 114 is activated for a short time.
When turned on, the weight and price are added to the 1st total memory M 1 .
また加算スイツチ39がT4にセツトされてい
るときにはラベルスイツチ48のON・OFFに関
係無く、ブザー114を短時間ONして第2の合
計メモリである4th合計メモリM4へ重さ、値段を
加算し、ラベル発行は全く行なわれない。 Also, when the addition switch 39 is set to T4 , the buzzer 114 is turned ON for a short time regardless of whether the label switch 48 is ON or OFF, and the weight and price are stored in the 4th total memory M4 , which is the second total memory. and no label is issued at all.
したがつて客との間で取引きが行なわれる良品
の商品については加算スイツチ39をT1〜T3に
セツトして1st合計メモリM1への合計処理を行な
うとともにラベルスイツチ48のON・OFF切換
えによつて商品毎にラベルを発行するか、ラベル
の発行を禁止するかを選択することができる。 Therefore, for good products that are traded with customers, the addition switch 39 is set to T 1 to T 3 to perform the total processing in the 1st total memory M 1 and turn the label switch 48 ON/OFF. By switching, it is possible to select whether to issue a label for each product or to prohibit the issuance of a label.
また不良品のように別途保管しなければならな
い商品については加算スイツチ39をT4にセツ
トして4th合計メモリM4への合計処理のみを行な
う。このときラベルの発行は禁止される。 For products that must be stored separately, such as defective products, the addition switch 39 is set to T4 , and only the summation process is performed in the 4th total memory M4 . At this time, the issuance of labels is prohibited.
そして加算スイツチ39がT1〜T3にセツトさ
れている場合には1st合計キー29の操作を行な
うことによつて1st合計メモリM1の合計重量およ
び合計値段がラベルにプリントされ第18図に示
すような精算ラベルが発行される。 When the addition switch 39 is set to T1 to T3 , by operating the 1st total key 29, the total weight and total price of the 1st total memory M1 are printed on the label as shown in FIG. A payment label as shown will be issued.
また加算スイツチ39がT4にセツトされてい
る場合には4th合計キー32の操作を行なうこと
によつて4th合計メモリM4の合計重量および合計
値段がラベルにプリントされ不良品等の精算ラベ
ルが発行される。 In addition, when the addition switch 39 is set to T4 , by operating the 4th total key 32, the total weight and total price of the 4th total memory M4 are printed on a label, and a payment label for defective products etc. is printed. publish.
このように良品についてラベル発行業務を行な
つているときには加算スイツチ39をT1〜T3に
セツトしておくことによつて重量と値段を1st合
計メモリM1に加算累計することができる。そし
てこのときラベル発行が必要としない場合が生じ
たときにはラベルスイツチ48をOFFに切替え
ればラベル発行が禁止されることになる。 When label issuance is being performed for non-defective products, the weight and price can be added and accumulated to the first total memory M1 by setting the addition switch 39 to T1 to T3 . At this time, if a case arises where label issuance is not required, label issuance is prohibited by switching the label switch 48 to OFF.
またラベル発行業務中に不良品が出たときには
加算スイツチ39をT4に切替えればよい。こう
することによつてたとえラベルスイツチ48が
ONになつていてもラベル発行が禁止されラベル
の無駄発行が防止される。またこのときの重量と
値段は4th合計メモリM4に加算されることにな
る。 Furthermore, if a defective product is found during label issuing operations, the addition switch 39 can be switched to T4 . By doing this, even if the label switch 48
Even if it is turned on, label printing is prohibited and wasteful printing of labels is prevented. Also, the weight and price at this time will be added to the 4th total memory M4 .
従つて1st合計メモリM1からは実際に販売され
た良品の合計重量と合計値段を知ることができ、
また4th合計メモリM4からは販売されなかつた不
良品の合計重量と合計値段を知ることができ、管
理が容易となる。 Therefore, from the 1st total memory M 1 , we can know the total weight and total price of the good products actually sold.
Also, from the 4th total memory M4 , the total weight and total price of defective products that were not sold can be known, making management easier.
以上詳述したように本発明によれば、良品と不
良品とを分けて加算合計でき従つて良品と不良品
の合計管理が容易となり、また不良品のときには
ラベル発行を禁止してラベルの無駄発行を防止で
きるラベル発行装置を提供できるものである。
As described in detail above, according to the present invention, it is possible to separate and add up good products and defective products, making it easy to manage the total of non-defective products and defective products.In addition, when a product is defective, the issuance of a label is prohibited, thereby wasting the label. It is possible to provide a label issuing device that can prevent label issuing.
図はこの発明の実施例を示すもので、第1図は
前面を示す正面図、第2図はラベル発行機構の概
略構成図、第3図は回路構成を示すブロツク図、
第4図はRAMの主なメモリ構成を示す図、第5
図はメイン処理の要部を示す流れ図、第6図〜第
9図はセツトキー、テンキー、クリアキー、実行
キーによる処理を示す流れ図、第10図は小計キ
ーによる処理を示す流れ図、第11図は1st合計
キーによる処理を示す流れ図、第12図は2nd合
計キーによる処理を示す流れ図、第13図は3rd
合計キーによる処理を示す流れ図、第14図は
4th合計キーによる処理を示す流れ図、第15図
は小フイールド処理を示す流れ図、第16図はフ
イード処理を示す流れ図、第17図は通常のラベ
ル発行処理によつて発行されるラベルの一例を示
す図、第18図は1st合計キーの操作によつて発
行されるラベルの一例を示す図である。
3…ラベル発行口、5…ラベル、29…1st合
計キー、32…4th合計キー、39…加算スイツ
チ、48…ラベルスイツチ、54…印字機構、1
01…CPU(中央処理ユニツト)、102…ROM
(リード・オンリー・メモリ)、103…RAM
(ランダム・アクセス・メモリ)、M1…1st合計メ
モリ、M4…4th合計メモリ。
The figures show an embodiment of the present invention, in which Fig. 1 is a front view showing the front side, Fig. 2 is a schematic configuration diagram of the label issuing mechanism, and Fig. 3 is a block diagram showing the circuit configuration.
Figure 4 shows the main memory configuration of RAM, Figure 5
The figure is a flowchart showing the main part of the main process, Figures 6 to 9 are flowcharts showing the processing using the set key, numeric keypad, clear key, and execution key. Figure 10 is a flowchart showing the processing using the subtotal key. A flowchart showing the processing using the 1st total key, Fig. 12 is a flowchart showing the processing using the 2nd summation key, and Fig. 13 is a flowchart showing the processing using the 2nd summation key.
A flowchart showing the processing by the total key, Figure 14 is
Flowchart showing processing using the 4th total key, Figure 15 is a flowchart showing small field processing, Figure 16 is a flowchart showing feed processing, and Figure 17 shows an example of a label issued by normal label issuing processing. FIG. 18 is a diagram showing an example of a label issued by operating the 1st total key. 3... Label issuing port, 5... Label, 29... 1st total key, 32... 4th total key, 39... Addition switch, 48... Label switch, 54... Printing mechanism, 1
01...CPU (central processing unit), 102...ROM
(Read-only memory), 103...RAM
(Random Access Memory), M 1 ...1st total memory, M 4 ...4th total memory.
Claims (1)
ら値段を算出し、ラベルにその商品の重量、単
価、値段等をプリントしてラベル発行を行なうラ
ベル発行装置において、少なくとも重量、値段を
加算する第1、第2の合計メモリと、この両合計
メモリへの加算処理を選択的に指示する加算スイ
ツチと、この加算スイツチによつて上記第1の合
計メモリへの加算処理が指示されているときには
上記第1の合計メモリに少なくとも重量、値段を
加算処理する第1の制御手段と、上記加算スイツ
チによつて上記第2の合計メモリへの加算処理が
指示されているときにはラベルの発行を禁止して
上記第2の合計メモリに少なくとも重量、値段を
加算処理する第2の制御手段を設けたことを特徴
とするラベル発行装置。1. In a label issuing device that calculates the price from the input weight of the product and the unit price of the product, prints the weight, unit price, price, etc. of the product on the label and issues the label, at least the weight and price are added. A first and second total memory, an addition switch that selectively instructs addition processing to both of these total memories, and when the addition processing to the first total memory is instructed by the addition switch; A first control means for adding at least weight and price to the first total memory, and prohibiting label issuance when addition processing to the second total memory is instructed by the addition switch. A label issuing device characterized in that a second control means is provided for adding at least weight and price to the second total memory.
Priority Applications (7)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP16425080A JPS5796933A (en) | 1980-11-21 | 1980-11-21 | Dispenser for label |
| AU77537/81A AU529285B2 (en) | 1980-11-21 | 1981-11-16 | Label issuing apparatus |
| US06/321,395 US4516208A (en) | 1980-11-21 | 1981-11-16 | Label issuing apparatus with programmable label feed |
| DE8181109723T DE3176310D1 (en) | 1980-11-21 | 1981-11-17 | Label issuing apparatus |
| EP81109723A EP0052848B1 (en) | 1980-11-21 | 1981-11-17 | Label issuing apparatus |
| CA000390616A CA1166069A (en) | 1980-11-21 | 1981-11-20 | Label issuing apparatus |
| DK515381A DK153454C (en) | 1980-11-21 | 1981-11-20 | LABEL DELIVERY WITH PROGRAMMABLE LABEL SUPPLY |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP16425080A JPS5796933A (en) | 1980-11-21 | 1980-11-21 | Dispenser for label |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5796933A JPS5796933A (en) | 1982-06-16 |
| JPH021741B2 true JPH021741B2 (en) | 1990-01-12 |
Family
ID=15789523
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP16425080A Granted JPS5796933A (en) | 1980-11-21 | 1980-11-21 | Dispenser for label |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5796933A (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS60134836A (en) * | 1983-12-12 | 1985-07-18 | 株式会社寺岡精工 | Label printer |
| JPH0776070B2 (en) * | 1990-06-08 | 1995-08-16 | 長野日本無線株式会社 | Label printer |
| JP7648132B2 (en) * | 2021-02-08 | 2025-03-18 | 株式会社寺岡精工 | Weighing Device |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6021549B2 (en) * | 1978-09-28 | 1985-05-28 | 東芝テック株式会社 | label printer |
-
1980
- 1980-11-21 JP JP16425080A patent/JPS5796933A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5796933A (en) | 1982-06-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR900000701B1 (en) | Electronic cash register | |
| JPS6118125B2 (en) | ||
| JP2882947B2 (en) | Registration device | |
| JPH021741B2 (en) | ||
| JPS6366743B2 (en) | ||
| JPS644920B2 (en) | ||
| JP4373243B2 (en) | Product data processing device | |
| JPS5845652B2 (en) | How to prevent incorrect operation of a label printer with a unit price changeover switch | |
| JPS6361185B2 (en) | ||
| JPH0348455B2 (en) | ||
| JPH0145566B2 (en) | ||
| JPS6212452B2 (en) | ||
| JPS6313240B2 (en) | ||
| JPS6233134B2 (en) | ||
| JPS5819207B2 (en) | label issuing device | |
| JPS5819204B2 (en) | electronic fare scale | |
| JPS58118Y2 (en) | electronic fare scale | |
| JP2687332B2 (en) | Label printer | |
| JPS5929493B2 (en) | label issuing device | |
| JPH0329735A (en) | Commodity data processing device | |
| JPS588376A (en) | Data registrating device | |
| JPH0629772B2 (en) | Electronic charge balance with receipt printer | |
| JPS639824A (en) | Postal scale | |
| JPH0654256B2 (en) | Counting scale | |
| JPH0240965B2 (en) |