JPH0991541A - Electronic cash register - Google Patents

Electronic cash register

Info

Publication number
JPH0991541A
JPH0991541A JP24981195A JP24981195A JPH0991541A JP H0991541 A JPH0991541 A JP H0991541A JP 24981195 A JP24981195 A JP 24981195A JP 24981195 A JP24981195 A JP 24981195A JP H0991541 A JPH0991541 A JP H0991541A
Authority
JP
Japan
Prior art keywords
data
setting data
digits
stored
buffer
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.)
Granted
Application number
JP24981195A
Other languages
Japanese (ja)
Other versions
JP3235955B2 (en
Inventor
Seiji Ito
誠次 伊藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP24981195A priority Critical patent/JP3235955B2/en
Publication of JPH0991541A publication Critical patent/JPH0991541A/en
Application granted granted Critical
Publication of JP3235955B2 publication Critical patent/JP3235955B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To make it possible to refer to even setting data which exceed the set number of digits and to properly correct the setting data by storing an excessive data storage means with setting data as an excess when the setting data which exceeds the predetermined set number of digits are received. SOLUTION: Setting data sent from another register are written in the receiving buffer 57 of a RAM 14 and transferred to a setting data storage area 54. Here, if the data exceeds the predetermined number of digits that is determined for every setting data and can be stored in the setting data storage area 54, the data as the excess that can not be stored in the setting data storage area 54 is stored in a digit-number exceeding data buffer 59. Therefore, the setting data in the received state can be confirmed with the setting data stored in the setting data storage area 54 and the excessive data stored in the digit- number exceeding data storage buffer 59 and on the basis of the received setting data, the setting data stored in the setting data storage area 54 can be corrected.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、店舗などにおいて
商品登録時に売上登録処理を行う電子式金銭登録機に関
し、特に他の電子式金銭登録機との間でデータ通信を行
う電子式金銭登録機に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic cash register that performs a sales registration process when registering a product in a store or the like, and more particularly to an electronic cash register that performs data communication with another electronic cash register. Regarding

【0002】[0002]

【従来の技術】電子式金銭登録機(以後単に「登録機」
と称する)を用いて登録業務を行う際には、登録機に予
め操作者によって設定されるデータである商品名、単
価、および税条件を含む商品情報を記憶しておく必要が
ある。登録処理された商品についての集計を行うには、
前記商品情報が登録処理されるすべての商品について記
憶されていなければならない。商品情報を操作者自身が
入力しようとすると、入力に時間がかかり、かつ商品情
報が多い場合には入力誤りが発生するなどの問題点があ
る。商品情報に含まれる各設定データは、誤りなく入力
されていないと正確に登録業務を行うことができないの
で、正しく入力されている必要がある。
2. Description of the Related Art Electronic cash register (hereinafter referred to simply as "register")
(Referred to as “)”, it is necessary to store product information including a product name, a unit price, and tax conditions, which is data set in advance by the operator in the registration machine. To count the registered products,
The product information must be stored for all products to be registered. If the operator tries to input the product information, it takes a long time to input the product information, and if there is a lot of product information, an input error may occur. It is necessary to correctly input each setting data included in the product information, because the registration work cannot be performed accurately unless it is correctly input.

【0003】2台の登録機において、一方の登録機に記
憶されている商品情報と同一内容の商品情報を他方の登
録機に記憶させる場合には、この2台の登録機を、たと
えばRS−232Cインタフェイス規格に適合したケー
ブルなどで接続して、一方の登録機から他方の登録機へ
と商品情報を送信することによって、商品情報を入力す
る手間を省くことができる。
In the case where two registration machines store the product information having the same contents as the product information stored in one of the registration machines in the other registration machine, the two registration machines are connected to each other, for example, RS-. By connecting with a cable conforming to the 232C interface standard and transmitting the product information from one registration machine to the other registration machine, it is possible to save the trouble of inputting the product information.

【0004】他の装置からデータを受け取ることによっ
てデータ入力の手間を省くことができる技術が、特開平
5−298171号公報に開示されている。前記先行技
術においては、デスクトップ型のデータ管理装置と、携
帯型の電子手帳などとを組み合わせて使用されるデータ
処理装置が示されている。データ管理装置は、携帯型の
電子手帳からデータを受信すると受信したデータが管理
装置に記憶されているデータと異なる種類のデータであ
るかどうかを判断する。異なる種類のデータである場合
には新規登録処理を行い、同一種類のデータである場合
にはその更新日時が一致するか否かを比較判断し、不一
致である場合に登録済みのデータ内容を受信したデータ
へと更新している。したがって、同一内容のデータの登
録・更新を複数箇所において全く個別に行う必要がな
く、複数の登録エリアに対し容易、かつ正確にデータの
登録・更新を行うことができる。
A technique capable of saving the trouble of data input by receiving data from another device is disclosed in Japanese Patent Laid-Open No. 5-298171. In the above-mentioned prior art, there is shown a data processing device which is used in combination with a desktop type data management device and a portable electronic notebook. When the data management device receives data from the portable electronic notebook, the data management device determines whether the received data is a different type of data from the data stored in the management device. If the data is of a different type, new registration processing is performed.If the data is of the same type, a comparison is made to determine whether the update dates and times match, and if they do not match, the registered data content is received. The data has been updated. Therefore, it is not necessary to individually register / update data having the same content at a plurality of locations, and it is possible to easily and accurately register / update data in a plurality of registration areas.

【0005】[0005]

【発明が解決しようとする課題】店舗などにおいて、登
録機を買換える場合、あるいは現在使用中の登録機に加
えてさらに登録機を増設する場合などにおいて、登録機
のモデルチェンジや登録機を購入する予算の都合などに
よって、使用中の登録機と新たに購入した登録機とが異
なる機種となることがある。登録機を用いて登録業務を
行うには予め商品情報を記憶させていなければならない
が、商品情報の入力時には上述のような問題点が存在す
る。
[Problems to be Solved by the Invention] When changing a registered machine at a store or when adding another registered machine in addition to the currently used registered machine, purchase a model change of the registered machine or purchase a registered machine. The registered machine in use and the newly purchased registration machine may be different models depending on budgetary requirements. Product information must be stored in advance in order to perform registration work using a registration machine, but the above-mentioned problems exist when inputting product information.

【0006】たとえば、前記RS−232Cインタフェ
イス規格に適合したケーブルなどを用いることによっ
て、異なる機種間であってもデータの授受を行うことが
できるように統一されている。しかしながら、一方の登
録機と他方の登録機とにおいて、機種が異なることによ
って設定データ1件当たりのデータの桁数が異なる場
合、第1の例としてデータを受信する側の登録機に予め
定られている桁数以上のデータが入力されると、データ
の送信を中止するなどのエラー処理が行われる。このよ
うな登録機の場合、設定データの送信が途中までしか行
われないので、中断した時点以降の設定データは操作者
が入力しなければならず手間がかかるという問題点があ
る。
[0006] For example, by using a cable or the like conforming to the RS-232C interface standard, it is unified so that data can be exchanged between different models. However, when the number of digits of data for one set data differs between one registration machine and the other registration machine due to different models, as a first example, the registration machine that receives the data is determined in advance. When data with more digits is input, error processing such as stopping data transmission is performed. In the case of such a registration machine, since the setting data is transmitted only halfway, there is a problem that the operator has to input the setting data after the interruption, which is troublesome.

【0007】前述の問題点を解決するために第2の例と
して、たとえば予め定められる桁数まではデータを記憶
手段に記憶し、予め定められる桁数を超えるデータは破
棄するような登録機では、たとえば予め定められる桁数
を7桁としたときに7文字目までが同一であると区別を
つけることができず、データの確認などの作業が必要と
なり手間がかかる。
As a second example for solving the above-mentioned problems, in a registration machine in which data is stored in the storage means up to a predetermined number of digits and data exceeding the predetermined number of digits is discarded. For example, when the predetermined number of digits is set to 7, if the 7th character is the same, it cannot be distinguished, and work such as confirmation of data is required, which is troublesome.

【0008】なお、複数台の登録機に対して1台のデー
タの送信を行う制御装置から設定データなどのデータを
配信するようなインラインシステムにおいても、システ
ムを構成する登録機の機種が異なることによってメモリ
の構造が異なると、正確なデータの授受を行うことがで
きない。
Even in an inline system in which data such as setting data is distributed from a control device that transmits one piece of data to a plurality of registered machines, the models of registered machines that make up the system are different. If the memory structure is different depending on, the accurate data transfer cannot be performed.

【0009】本発明の目的は、予め定められる記憶可能
な桁数を超える設定データを受信した場合であっても、
当該設定データを記憶することができる電子式金銭登録
機を提供することである。
It is an object of the present invention to receive setting data that exceeds a predetermined number of storable digits,
An object is to provide an electronic cash register capable of storing the setting data.

【0010】[0010]

【課題を解決するための手段】本発明は、商品毎に付与
される商品識別情報と、複数の桁数で構成される複数種
類の設定データによって構成される商品情報とを対応付
けて記憶し、前記設定データを予め定める桁数分記憶す
る商品情報記憶手段と、外部の装置から送信される前記
設定データ毎に受信処理を行う受信処理手段と、前記設
定データの前記予め定める桁数を超えた部分である超過
データを記憶する超過データ記憶手段と、受信した設定
データ毎に、当該設定データが予め定める桁数を超えて
いるかどうかを判定し、当該設定データが予め定める桁
数以内であると判定した場合には、設定データを商品情
報記憶手段に記憶し、当該設定データが予め定める桁数
を超えていると判定した場合には、当該設定データの前
記予め定める桁数までを商品情報記憶手段に記憶し、超
過データを超過データ記憶手段に記憶するデータ制御手
段とを備えることを特徴する電子式金銭登録機である。
本発明に従えば、電子式金銭登録機におけるデータ制御
手段は、受信処理手段によって受信した設定データが、
商品情報記憶手段において予め定められる桁数以内であ
る場合には、当該設定データを商品情報記憶手段に記憶
する。また、予め定められる桁数を超える場合には、前
記桁数までは商品情報記憶手段に記憶し、予め定められ
る桁数を超える設定データ部分は超過データ記憶手段に
記憶する。したがって、前記桁数を超える桁数で構成さ
れる設定データを受信した場合であっても、前記桁数ま
では商品情報記憶手段に記憶し、商品情報記憶手段に記
憶することができない超過データは、超過データ記憶手
段に記憶されるので、設定データの受信後であっても前
記桁数を超える桁数で構成される設定データの確認を容
易に行うことができる。
According to the present invention, product identification information given to each product and product information composed of a plurality of types of setting data composed of a plurality of digits are stored in association with each other. A product information storage unit that stores the setting data in a predetermined number of digits, a reception processing unit that performs a receiving process for each of the setting data transmitted from an external device, and the number of digits of the setting data exceeding the predetermined number of digits. Excessive data storage means for storing excess data, which is a portion, and for each received setting data, it is determined whether or not the setting data exceeds a predetermined number of digits, and the setting data is within the predetermined number of digits. If it is determined that the setting data is stored in the product information storage means, and if the setting data exceeds the predetermined number of digits, the predetermined number of digits of the setting data. In stored in the product information storage means, an electronic cash register which, comprising a data control means for storing the excess data to the excess data storage means.
According to the present invention, the data control means in the electronic cash register, the setting data received by the reception processing means,
When the number of digits is within a predetermined number in the product information storage means, the setting data is stored in the product information storage means. If the number of digits exceeds a predetermined number, the product information storage means is stored up to the number of digits, and the setting data portion exceeding the predetermined number of digits is stored in the excess data storage means. Therefore, even when the setting data including the number of digits exceeding the above-mentioned number of digits is received, the excess data which is stored up to the number of digits in the product information storage means and cannot be stored in the product information storage means Since the excess data is stored in the excess data storage means, it is possible to easily confirm the setting data having the number of digits exceeding the number of digits even after receiving the setting data.

【0011】また本発明は、前記商品情報を印字する印
字手段であって、商品情報における設定データを印字す
る際には、商品識別情報とともに商品情報を印字し、超
過データ記憶手段に超過データが記憶されている設定デ
ータには予め定める識別符号を付加して印字する印字手
段を備えることを特徴とする。本発明に従えば、印字手
段は商品情報記憶手段に記憶されている設定データを印
字する際、超過データ記憶手段に超過データが記憶され
ている設定データについては予め定める識別符号を付加
して印字する。したがって、受信処理手段によって受信
した設定データにおいて、予め定める桁数を超えている
設定データを容易に理解することができる。
Further, according to the present invention, there is provided printing means for printing the product information, wherein when the setting data in the product information is printed, the product information is printed together with the product identification information and the excess data is stored in the excess data storage means. It is characterized in that the stored setting data is provided with a printing means for printing by adding a predetermined identification code. According to the present invention, when the printing means prints the setting data stored in the product information storage means, the setting data in which the excess data is stored in the excess data storage means is added with a predetermined identification code and printed. To do. Therefore, in the setting data received by the reception processing means, it is possible to easily understand the setting data having more than the predetermined number of digits.

【0012】また本発明は、前記印字手段は、商品情報
記憶手段に記憶される複数種類の設定データのうち、選
択された種類の設定データを印字することを特徴とす
る。本発明に従えば、商品情報記憶手段に記憶される複
数種類の設定データのうち、選択された種類の設定デー
タを印字する。したがって、商品情報記憶手段に記憶さ
れている状況を確認したい設定データのみを印字させる
ことによって、選択された設定データのうち、いずれの
設定データが予め定める桁数を超えているかを容易に理
解することができる。
The present invention is also characterized in that the printing means prints setting data of a selected type among a plurality of types of setting data stored in the product information storage means. According to the present invention, the setting data of the selected type among the plural types of setting data stored in the product information storage means is printed. Therefore, it is possible to easily understand which setting data among the selected setting data exceeds the predetermined number of digits by printing only the setting data whose condition is to be stored in the product information storage means. be able to.

【0013】また本発明は、前記商品情報を印字する印
字手段であって、超過データ記憶手段に超過データが記
憶されている設定データを印字する際には、当該設定デ
ータと商品識別情報とを商品情報記憶手段から読出して
印字を行い、さらに当該設定データに前記超過データを
付加して、前記印字される設定データに対応付けて印字
する印字手段を備えることを特徴とする。本発明に従え
ば、印字手段は超過データ記憶手段に超過データが記憶
されている設定データを印字する際には、まず超過デー
タ記憶手段に超過データが記憶されている設定データと
商品識別情報とを商品情報記憶手段から読出して印字す
る。さらに、商品情報記憶手段から読出した設定データ
に、当該設定データに対応付けられている超過データを
付加して、前記印字された設定データに対応付けて印字
する。したがって、商品情報記憶手段に記憶されている
設定データと、当該設定データに対応付けられている超
過データを付加したデータとを対応づけて印字するの
で、設定データのすべてを商品情報記憶手段に書込むこ
とができなかったことによる商品名などの重複、誤解を
招くような紛らわしい設定データのチェックを容易に行
うことができる。
Further, the present invention is a printing means for printing the product information, wherein when printing the setting data in which the excess data is stored in the excess data storage means, the setting data and the product identification information are printed. It is characterized by further comprising a printing means for reading out from the product information storage means, performing printing, adding the excess data to the setting data, and printing in association with the setting data to be printed. According to the present invention, when the printing means prints the setting data in which the excess data is stored in the excess data storage means, first, the setting data and the product identification information in which the excess data are stored in the excess data storage means are stored. Is read from the product information storage means and printed. Further, excess data associated with the setting data is added to the setting data read from the product information storage unit, and the setting data is printed in association with the printed setting data. Therefore, since the setting data stored in the product information storage means and the data to which the excess data associated with the setting data is added are printed in association with each other, all the setting data are written in the product information storage means. It is possible to easily check for misleading setting data such as duplication of product names and misunderstanding due to being unable to put in.

【0014】[0014]

【発明の実施の形態】図1は、本発明の実施の一形態で
ある電子式金銭登録機(以後、単に「登録機」と称す
る)11の電気的構成を示すブロック図である。登録機
11はCPU(中央処理装置)12とROM(Read Onl
y Memory)13と、RAM(RandomAccess Memory)1
4と、キーボード15と、モードスイッチ16と、プリ
ンタ17と、ディスプレイ18と、ドロワ19と、ブザ
ー20と、通信インタフェイス21と、水晶発振回路2
2とを含んで構成される。
1 is a block diagram showing an electrical configuration of an electronic cash register (hereinafter, simply referred to as "register") 11 according to an embodiment of the present invention. The registration machine 11 includes a CPU (central processing unit) 12 and a ROM (Read Onl
y Memory) 13 and RAM (Random Access Memory) 1
4, a keyboard 15, a mode switch 16, a printer 17, a display 18, a drawer 19, a buzzer 20, a communication interface 21, and a crystal oscillation circuit 2
2 is included.

【0015】CPU12は、ROM13に予め記憶され
ている登録機11における各種の動作を定めるマイクロ
命令に基づいて売上登録などの処理を行う。プリンタ1
7は、登録機11において登録された商品の商品名およ
び金額などをレシート紙およびジャーナル紙に印字す
る。ディスプレイ18は、売上登録を行っている場合に
は商品が登録されるたびに当該商品の商品名および単価
などを表示する。ドロワ19は、現金を収納しており、
通常は登録機11内に格納されているが、売上登録終了
後の精算時のみ登録機11から引出される。ブザー20
は、異常発生時などにブザー音を発生して操作者に警告
を行う。通信インタフェイス21は、たとえば、ケーブ
ルなどを介して登録機11と他の登録機との間でデータ
の授受を行うための設定などを規定する。水晶発振回路
22は、登録機11における他の装置の動作を規定する
クロック信号を供給する。
The CPU 12 performs processing such as sales registration based on micro-commands that are stored in advance in the ROM 13 and define various operations in the registration machine 11. Printer 1
Reference numeral 7 prints the product name and price of the product registered in the registration machine 11 on receipt paper and journal paper. When the sales registration is performed, the display 18 displays the product name and unit price of the product each time the product is registered. The drawer 19 stores cash,
Normally, it is stored in the registration machine 11, but it is withdrawn from the registration machine 11 only at the time of payment after the sales registration is completed. Buzzer 20
Generates a buzzer sound to warn the operator when an abnormality occurs. The communication interface 21 defines, for example, settings for exchanging data between the registration machine 11 and another registration machine via a cable or the like. The crystal oscillation circuit 22 supplies a clock signal that regulates the operation of other devices in the registration machine 11.

【0016】図2は、キーボード15の平面図である。
キーボード15にはモードスイッチ16が設けられる。
キーボード15は、置数キー31、および部門キー32
を含んで構成され、さらに紙送りキー33、事後レシー
トキー34、支払いキー35、返品キー36、クリア
(CL)キー37、Xキー38、入金キー39、訂正キ
ー40、マイナスキー41、非課税キー42、レシート
発行/停止キー43、パーセントキー44、信キー4
5、番号印字/時刻表示キー46、掛キー47、小計キ
ー48、現/預/替キー(以後、単に「現キー」とす
る)49、小数点キー50が設けられる。
FIG. 2 is a plan view of the keyboard 15.
A mode switch 16 is provided on the keyboard 15.
The keyboard 15 includes a numeral key 31 and a department key 32.
And a paper feed key 33, a post receipt key 34, a payment key 35, a return key 36, a clear (CL) key 37, an X key 38, a deposit key 39, a correction key 40, a minus key 41, and a tax exemption key. 42, receipt issue / stop key 43, percent key 44, and receipt key 4
5, a number print / time display key 46, a hanging key 47, a subtotal key 48, a cash / deposit / replacement key (hereinafter simply referred to as “current key”) 49, and a decimal point key 50 are provided.

【0017】紙送りキー33は、レシート紙およびジャ
ーナル紙を紙送りするときに使用する。事後レシートキ
ー34は、レシートの発行を停止するモードになってい
るときに取引終了後レシートを発行するときに使用す
る。支払いキー35は、商品の売上とは別の支払いがあ
ったときに使用する。
The paper feed key 33 is used to feed receipt paper and journal paper. The posterior receipt key 34 is used to issue a receipt after the transaction is completed when the receipt issuance mode is stopped. The payment key 35 is used when the payment other than the sales of the product is made.

【0018】返品キー36は、商品が返品されたときの
処理で使用する。クリアキー37は、数字の入力を間違
えたとき、および長いブザー音を止めるときに使用す
る。Xキー38は、同じ商品を2個以上登録するとき、
および後述する設定データの送信時などに使用する。入
金キー39は、商品の売上とは別の入金があったときに
使用する。訂正キー40は、誤った登録を取消すときに
使用する。
The return key 36 is used for processing when a product is returned. The clear key 37 is used when inputting a wrong number and when stopping a long buzzer sound. X key 38 is used to register the same product more than once.
It is also used when transmitting the setting data described later. The deposit key 39 is used when the deposit is different from the sale of the product. The correction key 40 is used when canceling an incorrect registration.

【0019】マイナスキー41は、商品の値引きを行う
ときに使用する。非課税キー42は、外税または内税対
象商品を非課税として売上登録するときに使用する。レ
シート発行/停止キー43は、レシートを発行するモー
ドと停止するモードとを切換えるときに使用する。パー
セントキー44は、商品の割引、割増を行うとき使用す
る。
The minus key 41 is used when discounting a product. The tax exemption key 42 is used when sales of a product subject to external tax or internal tax are registered as tax exempt. The receipt issuance / stop key 43 is used when switching between a receipt issuing mode and a receipt stopping mode. The percent key 44 is used when discounting or increasing a product.

【0020】信キー45は、クレジットカード、商品
券、小切手などの支払い処理があったとき使用する。番
号印字/時刻表示キー46は、顧客番号を印字すると
き、時刻表示するときに使用する。掛キー47は、掛売
取引を登録するときに使用する。小計キー48は、小計
を算出し、表示するときに使用する。現キー49は、現
金売、現金預かり、両替のときに使用する。
The credit key 45 is used when a payment process such as a credit card, a gift certificate, or a check is made. The number print / time display key 46 is used to print the customer number and time. The hanging key 47 is used when registering a selling transaction. The subtotal key 48 is used to calculate and display the subtotal. The current key 49 is used for cash sale, cash deposit, and currency exchange.

【0021】置数キー31は、金額などの数字を入力す
るためのキーである。部門キー32は、商品を登録する
ためのキーであり、各部門キー32に後述する商品情報
を割当てておくことによって登録時に金額を入力しなく
ても売上登録を行うことができる。
The numeral keys 31 are keys for inputting numbers such as the amount of money. The department key 32 is a key for registering a product, and by allocating product information, which will be described later, to each department key 32, sales registration can be performed without inputting an amount at the time of registration.

【0022】モードスイッチ16は、設定モード、時刻
モード、登録モード、点検モード、および精算モードの
各モードを切換るためのスイッチである。モードスイッ
チ16には、キー(鍵)25が抜き差し可能に設けられ
ており、キー25の角変位位置によって各モードが設定
される。「切」の位置にキー25を合わせることによっ
て登録機11の電源をオフとすることができる。
The mode switch 16 is a switch for switching among the setting mode, the time mode, the registration mode, the inspection mode, and the settlement mode. The mode switch 16 is provided with a key (key) 25 that can be inserted and removed, and each mode is set according to the angular displacement position of the key 25. It is possible to turn off the power of the registration machine 11 by moving the key 25 to the "off" position.

【0023】図3は、登録機11におけるRAM14の
構成を示す図である。RAM14は、表示バッファ5
1、操作担当者格納領域52、オペレータコード格納領
域53、設定データ格納領域54、集計データ格納領域
55、送信バッファ56、受信バッファ57、ワークバ
ッファ58、桁数オーバーデータバッファ59を含んで
構成される。
FIG. 3 is a diagram showing the configuration of the RAM 14 in the registration machine 11. The RAM 14 is the display buffer 5
1, an operator storage area 52, an operator code storage area 53, a setting data storage area 54, a total data storage area 55, a transmission buffer 56, a reception buffer 57, a work buffer 58, and a digit number excess data buffer 59. It

【0024】表示バッファ51には、キーボード15か
ら入力された数値、および予めROM13などに記憶さ
れているメッセージデータなどが書込まれる。図3にお
いて、「現在のオペレータ」と示される操作担当者格納
領域52には、登録機11を操作している担当者に割り
当てられたコードが記憶されており、このコードは1日
の操作の開始時または操作者が交替するときに入力され
る。前記コードとは、操作者毎に異なるコードであり、
これによって操作者を識別することができる。図3にお
いて、「オペレータコード」と示される操作者コード格
納領域53には、登録機11を操作することができる全
操作者のコードが記憶される。上述の各操作者のコード
は、たとえば3桁の数字で表される。
Numerical values input from the keyboard 15 and message data previously stored in the ROM 13 and the like are written in the display buffer 51. In FIG. 3, a code assigned to the person in charge of operating the registration machine 11 is stored in the operation person storage area 52 indicated as “current operator”. It is input at the start or when the operator changes. The code is a code different for each operator,
This allows the operator to be identified. In FIG. 3, the operator code storage area 53 indicated as “operator code” stores codes of all operators who can operate the registration machine 11. The code of each operator described above is represented by, for example, a three-digit number.

【0025】設定データ格納領域54には、設定モード
において定められる前述の各部門キー32に対応した単
価、税区分、マイナスキー41に対する割引額、パーセ
ントキー44に対する値引き/割増率、消費税の税率、
および登録機を識別するためのレジスタ番号などの各種
のデータが記憶されている。前記各データは、登録モー
ドの処理を行う際に商品情報として読出される。集計デ
ータ格納領域55には、登録操作などによって発生する
部門別の売上金額、取引回数、および部門合計などの集
計されたデータが記憶されている。当該集計データは、
1日の登録業務の終了後、精算処理によってプリンタ1
7からレポート印字された後にクリアされる。
In the setting data storage area 54, the unit price corresponding to each department key 32 defined in the setting mode, the tax category, the discount amount for the minus key 41, the discount / additional rate for the percent key 44, and the tax rate for consumption tax. ,
Also, various data such as a register number for identifying the registered machine is stored. Each of the above-mentioned data is read as merchandise information when performing the processing in the registration mode. The aggregated data storage area 55 stores aggregated data such as sales amount by department, transaction count, and department total generated by a registration operation or the like. The aggregated data is
After completing the registration work for one day, the printer 1
It is cleared after the report is printed from 7.

【0026】送信バッファ56には、通信インタフェイ
ス21を介して設定データを他の登録機に送信する際
に、設定データが一時的に書込まれる。受信バッファ5
7は、他の登録機から送信された設定データが書込まれ
る。受信バッファ57に書込まれたデータは、設定デー
タ格納領域54へと転送される。ワークバッファ58に
は、登録機11においてアプリケーションプログラムを
実行させたり、プリンタ17などの周辺装置を制御する
際に利用される各種のフラグ、カウンタなどの値が記憶
される。桁数オーバーデータバッファ59には、通信イ
ンタフェイス21を介して他の登録機から送信されてき
た設定データを設定データ格納領域54に記憶する際、
一商品についての予め設定された桁数を超える超過分の
設定データが、設定データに対応付けられたシリアルナ
ンバーと共に書込まれる。
The setting data is temporarily written in the transmission buffer 56 when the setting data is transmitted to another registration machine via the communication interface 21. Receive buffer 5
In 7, the setting data transmitted from another registered machine is written. The data written in the reception buffer 57 is transferred to the setting data storage area 54. The work buffer 58 stores various flags, counters, and other values used when executing an application program in the registration machine 11 and controlling peripheral devices such as the printer 17. In the digit number over data buffer 59, when the setting data transmitted from another registration machine via the communication interface 21 is stored in the setting data storage area 54,
Excessive setting data exceeding the preset number of digits for one product is written together with the serial number associated with the setting data.

【0027】図4は、登録機11におけるデータの送受
信処理を行う際の手順を示す図である。図4(1)で
は、登録機11を受信モードに設定する手順を示してい
る。まず、登録機11の操作者はジョブコードとして、
たとえば数値キー31を用いて「80」と入力し、さら
に小数点キー50を押してジョブコードの入力を確定さ
せる。さらに、入力したジョブコードを確認するために
Xキー38を押すと受信モードが選択される。現キー4
9が押されると登録機11は受信モードとなり、他の装
置からのデータを待ち受ける。データの受信が完了する
と受信モードが自動的に解除される。
FIG. 4 is a diagram showing a procedure for performing data transmission / reception processing in the registration machine 11. FIG. 4A shows the procedure for setting the registration device 11 in the reception mode. First, the operator of the registration machine 11 sets the job code as
For example, "80" is input using the numeric keypad 31, and the decimal point key 50 is pressed to confirm the input of the job code. Further, when the X key 38 is pressed to confirm the input job code, the reception mode is selected. Current key 4
When 9 is pressed, the registration machine 11 enters the reception mode and waits for data from another device. When the data reception is completed, the reception mode is automatically canceled.

【0028】図4(2)では、商品コード設定データの
送信処理を設定する手順を示している。まず、登録機1
1の操作者はジョブコードとして、たとえば数値キー3
1を用いて「81」と入力し、さらに小数点キー50を
押してジョブコードの入力を確定させる。さらに、入力
したジョブコードを確認するためにXキー38を押すと
商品コード設定データの送信処理モードが選択される。
現キー49が押されると、商品コード設定データの送信
が開始される。当該データの送信が終了するとデータ送
信モードは自動的に解除される。
FIG. 4B shows the procedure for setting the transmission processing of the product code setting data. First, the registration machine 1
The operator of 1 has, for example, the numeric key 3 as the job code.
1 is used to input "81", and the decimal point key 50 is further pressed to confirm the input of the job code. When the X key 38 is pressed to confirm the input job code, the product code setting data transmission processing mode is selected.
When the current key 49 is pressed, transmission of product code setting data is started. When the transmission of the data is completed, the data transmission mode is automatically canceled.

【0029】図4(3)では、品名設定データの送信処
理を設定する手順を示している。まず、登録機11の操
作者はジョブコードとして、たとえば数値キー31を用
いて「82」と入力し、さらに小数点キー50を押して
ジョブコードの入力を確定させる。さらに、入力したジ
ョブコードを確認するためにXキー38を押すと品名設
定データの送信処理モードが選択される。現キー49が
押されると、品名設定データの送信が開始される。当該
データの送信が終了するとデータ送信モードは自動的に
解除される。
FIG. 4C shows the procedure for setting the transmission processing of the product name setting data. First, the operator of the registration machine 11 inputs "82" as the job code by using, for example, the numeric key 31 and presses the decimal point key 50 to confirm the input of the job code. When the X key 38 is pressed to confirm the input job code, the product name setting data transmission processing mode is selected. When the current key 49 is pressed, transmission of product name setting data is started. When the transmission of the data is completed, the data transmission mode is automatically canceled.

【0030】図4(4)では、単価設定データの送信処
理を設定する手順を示している。まず、登録機11の操
作者はジョブコードとして、たとえば数値キー31を用
いて「83」と入力し、さらに小数点キー50を押して
ジョブコードの入力を確定させる。さらに入力したジョ
ブコードを確認するためにXキー38を押すと単価設定
データの送信処理モードが選択される。現キー49が押
されると、単価設定データの送信が開始される。当該デ
ータの送信が終了するとデータ送信モードは自動的に解
除される。
FIG. 4 (4) shows the procedure for setting the transmission processing of the unit price setting data. First, the operator of the registration machine 11 inputs "83" as the job code by using, for example, the numerical key 31, and further presses the decimal point key 50 to confirm the input of the job code. When the X key 38 is pressed to confirm the input job code, the unit price setting data transmission processing mode is selected. When the current key 49 is pressed, transmission of unit price setting data is started. When the transmission of the data is completed, the data transmission mode is automatically canceled.

【0031】図5は、各登録機間の接続形態について示
す図である。図5(1)では登録機11と登録機61と
をケーブル62で接続している。送信側である登録機6
1は、後述する設定データの桁数が登録機11よりも多
く定められている以外は同一の構成であるので構成につ
いての説明を省略する。前述の図4に示すように、各登
録機11,61において送信および受信モードと設定す
ることによってデータが受信側の登録機へと送信され
る。前記データは、送信側の登録機61からケーブル6
2を介して受信側の登録機11へと送信される。
FIG. 5 is a diagram showing a connection form between the registered machines. In FIG. 5A, the registration machine 11 and the registration machine 61 are connected by a cable 62. Registration machine 6 which is the sender
1 has the same configuration except that the number of digits of the setting data, which will be described later, is set to be larger than that of the registration machine 11, and therefore the description of the configuration is omitted. As shown in FIG. 4 described above, data is transmitted to the receiving side registration machine by setting the transmission and reception modes in each registration machine 11, 61. The data is sent from the registration device 61 on the transmission side to the cable 6
It is transmitted to the registration device 11 on the receiving side via the communication method 2.

【0032】図5(2)に示す登録機11aと登録機6
1aとは、たとえば赤外光65を用いた光通信によって
データの授受を行う。登録機11aは、登録機11にカ
スタマディスプレイ64を設けており、登録機61aは
登録機61にカスタマディスプレイ64と同一のカスタ
マディスプレイ63を設けている。
Registration machine 11a and registration machine 6 shown in FIG. 5 (2).
Data is exchanged with 1a by optical communication using infrared light 65, for example. The registration machine 11a is provided with a customer display 64 on the registration machine 11, and the registration machine 61a is provided with the same customer display 63 as the customer display 64 on the registration machine 61.

【0033】図5(3)は、登録機11aをキーボード
15が設けられているのとは反対側からみた図である。
カスタマディスプレイ63,64は、図5(4)に示す
ように受発光素子光インタフェイス66と表示装置67
とを含んで構成される。受発光素子光インタフェイス6
6は、たとえば赤外光65の送信および受信を行う。表
示装置67には、前述のディスプレイ18と同様に金額
などの表示が行われる。
FIG. 5C is a view of the registration machine 11a viewed from the side opposite to the side where the keyboard 15 is provided.
The customer displays 63 and 64 include a light emitting / receiving element optical interface 66 and a display device 67 as shown in FIG.
It is comprised including. Light emitting / receiving element Optical interface 6
6 transmits and receives infrared light 65, for example. On the display device 67, similar to the display 18, the amount of money is displayed.

【0034】登録機11aと登録機61aとは、赤外光
65によってデータの授受を行っているので、図5
(1)に示す接続例のようにケーブル62で接続する手
間をかけずにデータの授受を行うことができる。また、
ケーブル62の長さによる距離の制限を受けることがな
い。なお、以下の説明においては、登録機11および登
録機61を用いて説明を行うが、登録機11aおよび登
録機61aについても同様である。
Since the registration machine 11a and the registration machine 61a exchange data by the infrared light 65, FIG.
Data can be exchanged without the trouble of connecting with the cable 62 as in the connection example shown in (1). Also,
The length of the cable 62 does not limit the distance. In the following description, the registration machine 11 and the registration machine 61 will be described, but the same applies to the registration machine 11a and the registration machine 61a.

【0035】図6は、格納領域54および受信バッファ
57の構成を示す図である。図6(1)は、データを送
信する登録機61の設定データについて示す図である。
商品コード桁数領域71には商品コードとして記憶する
ことができる桁の数が記憶されている。本発明の実施の
この形態においては、商品コードは5桁まで記憶するこ
とができる。
FIG. 6 is a diagram showing the structures of the storage area 54 and the reception buffer 57. FIG. 6A is a diagram showing setting data of the registration device 61 that transmits data.
The product code digit number area 71 stores the number of digits that can be stored as a product code. In this embodiment of the invention, the product code can store up to 5 digits.

【0036】品名桁数領域72には、品名として記憶す
ることができる桁の数が記憶されており、単価桁数領域
73には単価として記憶することができる桁の数が格納
されている。なお、品名は12桁まで記憶することがで
き、単価は7桁まで記憶することができる。品名コード
格納領域74には、設定される商品毎の商品コードが記
憶されている。前述のように商品コードとしては1商品
あたり5桁まで記憶することができる。品名格納領域7
5には、設定される商品毎の品名が12桁分記憶されて
おり、単価格納領域76には設定される商品毎の単価が
7桁分記憶されている。
The product name digit number area 72 stores the number of digits that can be stored as a product name, and the unit price digit number area 73 stores the number of digits that can be stored as a unit price. The product name can be stored up to 12 digits, and the unit price can be stored up to 7 digits. In the product name code storage area 74, a product code for each set product is stored. As described above, the product code can store up to 5 digits per product. Product name storage area 7
Item number 5 stores the product name for each set product for 12 digits, and unit price storage area 76 stores the unit price for each set product for 7 digits.

【0037】図6(2)は、データを受信する登録機1
1の設定データについて示す図である。各領域81〜8
6は、前記各領域71〜76とそれぞれ対応しており基
本的には同一である。したがって、前記各領域71〜7
6と異なる領域の説明を行う。品名桁数領域82には、
品名桁数領域72と同様に記憶することができる桁の数
が記憶されており、実施のこの形態においては品名は7
桁まで記憶することができる。また、品名格納領域85
には、設定される商品毎で1商品あたり7桁の品名が記
憶されている。
FIG. 6 (2) shows a registration machine 1 for receiving data.
It is a figure shown about the setting data of 1. Each area 81-8
Reference numeral 6 corresponds to each of the areas 71 to 76 and is basically the same. Therefore, each of the regions 71 to 7
Areas different from 6 will be described. In the product name digit number area 82,
The number of digits that can be stored is stored similarly to the product name digit number area 72. In this embodiment, the product name is 7
You can store up to a digit. Also, the product name storage area 85
Stores a 7-digit product name for each product to be set.

【0038】図6(3)は、送信側である登録機61の
送信バッファと、受信側である登録機11の受信バッフ
ァ57とを示す図である。登録機61の送信バッファと
受信バッファ57とは、互いの装置においてデータの授
受が可能であるように等しい大きさの記憶領域を有す
る。また、登録機61の受信バッファと登録機11の送
信バッファ56とについても同一の構成である。以下の
説明では、受信バッファ57として説明を行う。
FIG. 6C is a diagram showing the transmission buffer of the registration device 61 on the transmission side and the reception buffer 57 of the registration device 11 on the reception side. The transmission buffer and the reception buffer 57 of the registration device 61 have storage areas of the same size so that data can be exchanged between the devices. Further, the reception buffer of the registration machine 61 and the transmission buffer 56 of the registration machine 11 have the same configuration. In the following description, the reception buffer 57 will be described.

【0039】受信バッファ57に書込まれる際に、各デ
ータには「001」から順番にシリアルナンバーが付さ
れる。前記シリアルナンバーは、設定データ格納領域5
4および桁数オーバーデータバッファ59にデータを記
憶する際にそれぞれ各データに付され、同一の商品には
同一のシリアルナンバーが付される。受信バッファ57
は、一つのデータに対して20桁の領域が確保されてい
る。20桁に満たないデータには、たとえば「00」と
定められるNULコードを追加することによって20桁
に揃えられる。1つのデータについての最大桁数が設定
されているので、データ転送時におけるデータの欠落を
防止することができる。
When data is written in the reception buffer 57, serial numbers are added to the respective data in order from "001". The serial number is stored in the setting data storage area 5
4 and the number-of-digits data buffer 59 is assigned to each data when stored, and the same product is assigned the same serial number. Receive buffer 57
, A 20-digit area is reserved for one data. Data having less than 20 digits can be aligned to 20 digits by adding a NUL code defined as "00", for example. Since the maximum number of digits for one piece of data is set, it is possible to prevent data loss during data transfer.

【0040】図6(3)に示す受信バッファ57には、
品名データが記憶されている。シリアルナンバー「00
1」には、品名データとして「チクワ」が記憶され、品
名データに引続いて17桁のNULコードが記憶されて
いる。実施のこの形態においては、各データを20桁に
揃えたが、さらに多い桁数であっても少ない桁数であっ
てもよい。受信バッファ71では、たとえば6つのデー
タを1組としてデータが扱われており、各組に対応付け
てデータを識別するための項目データが付せられる。前
記項目データは、たとえば商品コードが「1」、品名が
「2」、単価「3」と定められる。図6(3)において
は、各組毎に「2」と記憶されており、受信バッファ5
7に記憶されているデータが品名であることを示してい
る。
The receiving buffer 57 shown in FIG.
Product name data is stored. Serial number "00
In "1", "chikuwa" is stored as product name data, and a 17-digit NUL code is stored following the product name data. In this embodiment, each data is arranged in 20 digits, but the number of digits may be larger or smaller. In the reception buffer 71, data is handled as a set of, for example, six data, and item data for identifying the data is attached to each set. In the item data, for example, the product code is "1", the product name is "2", and the unit price is "3". In FIG. 6C, “2” is stored for each set, and the reception buffer 5
7 indicates that the data stored in item 7 is the product name.

【0041】図7は、登録機11における設定データ格
納領域54および桁数オーバーデータバッファ59につ
いて示す図である。図7(1)は商品コード格納領域8
4に記憶される内容を示し、図7(2)は品名格納領域
85に記憶される内容について示す。商品コード格納領
域84には、シリアルナンバーに対応付けて各商品の商
品コードが記憶されている。品名格納領域85には、商
品コード格納領域84と同様にシリアルナンバーに対応
付けて各商品の品名が記憶されている。
FIG. 7 is a diagram showing the setting data storage area 54 and the digit number over data buffer 59 in the registration machine 11. FIG. 7A shows the product code storage area 8
4 shows the contents stored in FIG. 4, and FIG. 7B shows the contents stored in the product name storage area 85. In the product code storage area 84, the product code of each product is stored in association with the serial number. In the product name storage area 85, the product name of each product is stored in association with the serial number similarly to the product code storage area 84.

【0042】なお、前述したように品名格納領域85
は、7桁までしか品名を記憶することができないので、
途中までしか記憶されていない品名がある。たとえば、
シリアルナンバー「005」に対応づけられている商品
の品名は、図6(3)を参照すると「サツマアゲヒラテ
ン」であるが品名格納領域85には「サツマアゲヒ」ま
でしか記憶されていない。
As described above, the product name storage area 85
Can store the product name up to 7 digits, so
Some product names are only remembered halfway. For example,
The product name of the product associated with the serial number "005" is "Satsumaagehi Latin" as shown in FIG. 6C, but only "Satsumaagehi" is stored in the product name storage area 85.

【0043】品名格納領域85に記憶されなかった「ラ
テン」は、図7(3)に示す桁数オーバーデータバッフ
ァ59にシリアルナンバー「005」を対応付けて記憶
される。桁数オーバーデータバッファ59には、品名格
納領域85に記憶することができなかったデータが各商
品毎にシリアルナンバーを対応付けて記憶される。他の
データとの境界は「%」が挿入されることによって区別
される。
The "Latin" not stored in the product name storage area 85 is stored in the digit number over data buffer 59 shown in FIG. 7C in association with the serial number "005". In the over-digits data buffer 59, data that could not be stored in the product name storage area 85 is stored by associating each product with a serial number. The boundary with other data is distinguished by inserting "%".

【0044】図8は、受信データ1ブロック分のデータ
形式を示す図である。図8(1)は、1ブロック分の受
信データのデータ形式を示す。図8(1)に示す受信デ
ータは、スタートコード91と項目データ92と設定デ
ータ93とチェックコード94とエンドコード95とを
含んで構成される。スタートコード91は、1バイトで
構成されており、1ブロックのデータの始まりを示す。
項目データ92には、前記項目データが記憶されてい
る。設定データ93には、前記項目データによって示さ
れる種類の6つの設定データが記憶されている。チェッ
クコード94は、2バイトで構成されており、データの
不良がないかをチェックするためコードである。エンド
コード95は、1バイトで構成されており、1ブロック
のデータの終了を示すコードである。
FIG. 8 is a diagram showing the data format of one block of received data. FIG. 8A shows the data format of the received data for one block. The received data shown in FIG. 8A includes a start code 91, item data 92, setting data 93, a check code 94, and an end code 95. The start code 91 is composed of 1 byte and indicates the start of 1 block of data.
The item data 92 stores the item data. The setting data 93 stores six types of setting data of the type indicated by the item data. The check code 94 is composed of 2 bytes and is a code for checking whether or not there is a data defect. The end code 95 is composed of 1 byte and is a code indicating the end of 1 block of data.

【0045】図8(2)は、受信データの最終ブロック
として送信される通信ENDデータのデータ形式を示
す。図8(2)に示す受信データは、スタートコード9
1と項目データ92とチェックコード94とエンドコー
ド95と終了コード96とを含んで構成される。当該デ
ータにおける項目データ92は、終了ブロックであるこ
とを示す「0」となっている。また、終了コード96に
は、データの終了を示す終了コード96として「FF」
が記憶されている。
FIG. 8B shows the data format of communication END data transmitted as the final block of received data. The received data shown in FIG. 8 (2) is start code 9
1 and item data 92, a check code 94, an end code 95, and an end code 96. The item data 92 in the data is “0” indicating the end block. The end code 96 is "FF" as the end code 96 indicating the end of the data.
Is remembered.

【0046】図9,図10は、登録機11における受信
モードでの処理および設定データ受信後の処理を説明す
るためのフローチャートである。本フローチャートにお
いてオーバーデータバッファADDRは、前記桁数オー
バーデータバッファ59に格納されているデータを読出
すために桁数オーバーデータバッファ59上の番地を格
納する領域を示す。
FIGS. 9 and 10 are flowcharts for explaining the process in the reception mode in the registration machine 11 and the process after receiving the setting data. In this flowchart, the over-data buffer ADDR indicates an area for storing the address on the over-digit data buffer 59 for reading the data stored in the over-digit data buffer 59.

【0047】オーバーシリアルNoは、前記予め設定さ
れている桁数を越えた設定データに対応付けられたシリ
アルナンバーを一時的に格納する領域であり、設定デー
タの桁数オーバーの判定に使用される。桁数オーバーデ
ータバッファ59に桁数を超えたデータがなくなった場
合に「1」がセットされる。本明細書において、特に示
さない場合にはオーバーシリアルナンバーはオーバーシ
リアルNoから読出される。シリアルNoは、印字処理
が行われている設定データに対応付けられているシリア
ルナンバーを一時的に格納する領域である。
The over-serial number is an area for temporarily storing the serial number associated with the setting data in which the number of digits exceeds the preset number, and is used for determining whether the number of digits in the setting data is over. . "1" is set when there is no more data than the number of digits in the number-of-digits data buffer 59. In this specification, the overserial number is read from the overserial number unless otherwise specified. The serial number is an area for temporarily storing the serial number associated with the setting data for which the printing process is being performed.

【0048】受信バッファADDR1は、受信バッファ
57の先頭番地を格納する領域を示し、受信バッファA
DDR2は受信バッファADDR1によって示される番
地の次の番地を格納する領域を示し、項目ADDRは前
記項目データによて示される各格納領域84,85,8
6のいずれか1つの領域の先頭番地を格納する領域を示
す。実施のこの形態においては、オーバーバッファAD
DR、受信バッファADDR1、受信バッファADDR
2、および項目ADDRは、たとえばワークバッファ5
8に設けられる。
The reception buffer ADDR1 indicates an area for storing the start address of the reception buffer 57, and the reception buffer ADDR1
DDR2 indicates an area for storing the next address of the address indicated by the reception buffer ADDR1, and item ADDR indicates each of the storage areas 84, 85, 8 indicated by the item data.
6 shows an area for storing the start address of any one of the areas. In this embodiment of the implementation, an overbuffer AD
DR, reception buffer ADDR1, reception buffer ADDR
2 and the item ADDR are, for example, the work buffer 5
8.

【0049】ステップs1では、1ブロック分のデータ
の受信が完了するまで、受信処理を繰り返し行う。1ブ
ロック分のデータの受信が完了するとステップs2に進
む。ステップs2では、受信したデータが通信の終了を
知らせる通信ENDデータであるかどうかを判断する。
受信したデータが通信ENDデータでない場合には、ス
テップs3に進む。ステップs3では、受信した1ブロ
ック分のデータを受信バッファ57に書込み、次のデー
タの受信待ちとしてステップs1に戻る。
In step s1, the reception process is repeated until the reception of one block of data is completed. When the reception of the data for one block is completed, the process proceeds to step s2. In step s2, it is determined whether the received data is communication END data for notifying the end of communication.
If the received data is not the communication END data, the process proceeds to step s3. In step s3, the received one block of data is written in the reception buffer 57, and the process returns to step s1 while waiting for reception of the next data.

【0050】ステップs2において、受信したデータが
通信ENDデータであると判断した場合にはステップs
4に進む。ステップs4では、受信バッファ57の先頭
番地を受信バッファADDR1に書込む。ステップs5
では、項目データバッファに受信バッファADDR1に
示す番地のデータ、すなわち受信した1ブロックの先頭
のデータで商品コード設定データ、品名設定データ、単
価設定データのいずれかを示す項目データを書込む。
When it is determined in step s2 that the received data is communication END data, step s
Go to 4. In step s4, the head address of the reception buffer 57 is written in the reception buffer ADDR1. Step s5
Then, in the item data buffer, the item data indicating one of the item code setting data, the item name setting data, and the unit price setting data is written with the data at the address shown in the reception buffer ADDR1, that is, the received first block data.

【0051】ステップs6では、受信バッファADDR
1を1増加させて最初の設定データの先頭番地に設定
し、シリアルナンバーとして受信データの第1番目のデ
ータであることを示す「001」をセットし、桁数オー
バーバッファ59の先頭番地をオーバーバッファADD
Rに書込み、受信データの桁数が登録機11において予
め設定されている最大桁数を超える場合に桁数オーバー
データバッファ59の先頭番地から書込むことができる
ようにする。
In step s6, the reception buffer ADDR
1 is incremented by 1 and set to the first address of the first setting data, "001" indicating the first data of the received data is set as the serial number, and the first address of the digit number over buffer 59 is exceeded. Buffer ADD
When the number of digits of the received data exceeds the maximum number of digits set in advance in the registration machine 11, the data can be written from the leading address of the digit number over data buffer 59.

【0052】ステップs7では、受信バッファADDR
2を受信バッファADDR1の示す番地の次の受信デー
タの先頭番地に設定するために、受信バッフADDR1
に記憶されている番地を20増加させた番地を受信バッ
ファADDR2に書込む。これによって、最大桁数であ
る20桁の設定データを受信した場合でも、各受信設定
データの先頭番地がずれることなく正しく設定データを
取り込むことができる。
At step s7, the reception buffer ADDR
In order to set 2 to the head address of the next received data after the address indicated by the reception buffer ADDR1, the reception buffer ADDR1
The address obtained by adding 20 to the address stored in is written in the reception buffer ADDR2. As a result, even when the setting data having the maximum number of digits of 20 digits is received, the setting data can be correctly fetched without shifting the start address of each reception setting data.

【0053】ステップs8では、受信データの先頭のデ
ータすなわち項目データに基づいて、受信したデータが
商品コード設定データであるかどうかを判断する。受信
したデータが、商品コード設定データである場合にはス
テップs9に進む。ステップs9では、シリアルナンバ
ーが「001」であるかどうかを判断する。シリアルナ
ンバーが「001」である場合にはステップs10に進
む。ステップs10では、項目ADDRに商品コード設
定データの先頭アドレスを書込み、受信した設定データ
の1番目のデータが商品コードの先頭に書込まれるよう
にする。
In step s8, it is determined whether the received data is the product code setting data, based on the top data of the received data, that is, the item data. If the received data is product code setting data, the process proceeds to step s9. In step s9, it is determined whether the serial number is "001". If the serial number is "001", the process proceeds to step s10. At step s10, the start address of the product code setting data is written in the item ADDR so that the first data of the received setting data is written at the start of the product code.

【0054】ステップs11では、先頭の、あるいは次
の設定データを書込むために桁数バッファに商品コード
の桁数を書込む。ステップs12では、受信バッファA
DDR1に示される番地のデータを読み取り、NULコ
ード、すなわち「00」か否かをチェックする。受信バ
ッファADDR1によって示される番地のデータがNU
Lである場合には処理を終了する。ステップs9におい
て、シリアルナンバーが「001」でない場合には、ス
テップs11以降の処理を行う。
In step s11, the number of digits of the product code is written in the digit number buffer in order to write the first or next setting data. In step s12, the reception buffer A
The data at the address indicated by DDR1 is read and it is checked whether or not it is a NUL code, that is, "00". The data at the address indicated by the reception buffer ADDR1 is NU.
If it is L, the process ends. If the serial number is not "001" in step s9, the processing of step s11 and thereafter is performed.

【0055】ステップs8において、受信したデータが
商品コード設定データでない場合にはステップs13に
進む。ステップs13では、受信した設定データの種類
を示す項目データバッファに記憶されているデータが品
名設定データであるかどうかを判断する。品名設定デー
タである場合にはステップs14に進む。ステップs1
4では、シリアルナンバーが「001」かどうかを判断
する。シリアルナンバーが「001」である場合にはス
テップs15に進む。
If the received data is not the product code setting data in step s8, the process proceeds to step s13. In step s13, it is determined whether or not the data stored in the item data buffer indicating the type of the received setting data is the product name setting data. If it is the product name setting data, the process proceeds to step s14. Step s1
At 4, it is determined whether the serial number is "001". If the serial number is "001", the process proceeds to step s15.

【0056】ステップs15では、品名設定データの最
初のデータであるとして、品名格納領域85の先頭番地
を項目ADDRに書込む。ステップs16では、予めセ
ットされている品名の桁数を桁数バッファに書込む。桁
数バッファに品名の桁数を書込んだ後、ステップs12
以降の処理を行う。なお、ステップs14においてシリ
アルナンバーが「001」でないと判断した場合にはス
テップs16以降の処理を行う。
At step s15, the head address of the product name storage area 85 is written in the item ADDR as the first data of the product name setting data. In step s16, the number of digits of the preset product name is written in the digit number buffer. After writing the number of digits of the product name in the digit number buffer, step s12
Perform the following processing. If it is determined in step s14 that the serial number is not "001", the processes in step s16 and subsequent steps are performed.

【0057】ステップs13において、受信したデータ
が品名設定データでないと判断した場合にはステップs
17に進む。この設定データは、単価の設定データであ
ると判断される。ステップs17において、シリアルナ
ンバーが「001」であると判断した場合にはステップ
s18に進む。ステップs18では、この設定データは
単価の設定データにおける最初のデータであるので、単
価格納領域86の先頭番地を項目ADDRに書込む。ス
テップs19では、予め設定されている単価の桁数を桁
数バッファに書込む。桁数バッファに単価の桁数を書込
んだ後、ステップs12以降の処理を行う。なお、ステ
ップs17において、シリアルナンバーが「001」で
ないと判断した場合には、ステップs19以降の処理を
行う。
If it is determined in step s13 that the received data is not the product name setting data, step s
Proceed to 17. This setting data is judged to be unit price setting data. When it is determined in step s17 that the serial number is "001", the process proceeds to step s18. In step s18, since this setting data is the first data in the unit price setting data, the head address of the unit price storage area 86 is written in the item ADDR. In step s19, the preset number of digits of the unit price is written in the digit number buffer. After the number of digits of the unit price is written in the digit number buffer, the processing from step s12 is performed. If it is determined in step s17 that the serial number is not "001", the processing from step s19 onward is performed.

【0058】ステップs12において、受信バッファA
DDR1のデータがNULコードでないと判断した場合
にはステップs20に進む。ステップs12は、受信し
た設定データを全て設定データ格納領域54に書込んだ
かどうかを判定するために行われる処理であり、データ
の先頭がNULコードであれば設定データがすべて書込
まれたとして処理を終了し、データの先頭がNULコー
ドでなければ書込まれていない設定データがあると判断
する。
In step s12, the reception buffer A
When it is determined that the data of DDR1 is not the NUL code, the process proceeds to step s20. Step s12 is a process performed to determine whether or not all the received setting data has been written in the setting data storage area 54. If the beginning of the data is a NUL code, it is assumed that all the setting data have been written. Is ended, and it is determined that there is setting data that has not been written unless the beginning of the data is a NUL code.

【0059】ステップs20では、読出したデータを項
目ADDRによって示される番地に書込み、項目ADD
Rの値を1増加させ次の設定データを書込む番地を設定
する。また受信バッファADDR1の値を1増加させ、
次の設定データを読出す番地を設定する。さらに1設定
データの1桁分を送信したものとして桁数バッファに設
定されている桁数を1減少させる。
In step s20, the read data is written in the address indicated by the item ADDR and the item ADD
The value of R is incremented by 1 and the address for writing the next setting data is set. In addition, the value of the reception buffer ADDR1 is incremented by 1,
Set the address to read the next setting data. Further, the number of digits set in the digit number buffer is decremented by 1 assuming that one digit of one setting data is transmitted.

【0060】ステップs21では、桁数バッファの値を
1減少させた結果が0であるかどうかを判断する。前記
結果が0であれば、設定されている桁数の書込みが終了
したものとしてステップs22に進む。ステップs22
では、区切りフラグ(FLG)に「1」をセットし、受
信した設定データの桁数が予め設定されている桁数を超
えた場合、桁数オーバーデータバッファ59にデータの
区切りを示す「%」および前記設定データに対応付けら
れたシリアルナンバーをデータに先立って書込む。
In step s21, it is determined whether or not the result of decrementing the value of the digit number buffer by 1 is 0. If the result is 0, it is determined that the writing of the set number of digits is completed, and the process proceeds to step s22. Step s22
Then, when the delimiter flag (FLG) is set to "1" and the number of digits of the received setting data exceeds the preset number of digits, "%" indicating the data delimiter in the digit number over data buffer 59. And the serial number associated with the setting data is written prior to the data.

【0061】登録機11において予め設定されている桁
数を超えるデータがあるかどうかを判断するために、ス
テップs23において受信バッファADDR1に示され
るデータを読込み、ステップs24において当該読込ん
だデータがNULコードであるかどうかを判断する。受
信バッファADDR1に示される番地のデータがNUL
コードでない場合にはステップs25に進む。ステップ
s25では、区切りフラグが「1」にセットされている
かどうかを判断する。区切りフラグが「1」にセットさ
れている場合にはステップs26に進む。
In order to determine whether or not there is data exceeding the preset number of digits in the registration machine 11, the data shown in the reception buffer ADDR1 is read in step s23, and the read data is NUL in step s24. Determine if it is a code. The data of the address shown in the reception buffer ADDR1 is NUL.
If it is not a code, the process proceeds to step s25. In step s25, it is determined whether the delimiter flag is set to "1". If the delimiter flag is set to "1", the process proceeds to step s26.

【0062】ステップs26では、区切りコード
「%」、シリアルナンバーを桁数オーバーデータバッフ
ァ59におけるオーバーバッファADDRに示される番
地に書込む。書込み終了後、オーバーバッファADDR
が示す値を4増加させ、データの書込みを開始する番地
を設定する。区切りコード「%」、シリアルナンバーを
桁数オーバーデータバッファ59に書込んだことで、区
切りフラグをクリアして「0」とする。
At step s26, the delimiter code "%" and the serial number are written in the address indicated by the overbuffer ADDR in the digit number overdata buffer 59. After writing, overbuffer ADDR
The value indicated by is increased by 4 and the address at which data writing is started is set. By writing the delimiter code “%” and the serial number in the digit number over data buffer 59, the delimiter flag is cleared to “0”.

【0063】ステップs27では、受信バッファADD
R1によって示される番地に記憶されている受信した設
定データをオーバーバッファADDRによって示される
桁数オーバーデータバッファ59に書込む。ステップs
28では、オーバーバッファADDRの値を1増加さ
せ、次の桁数を超えるデータを書込む番地を設定する。
さらに、受信バッファADDR1の値を1増加させて次
のデータを読込む番地を設定する。
At step s27, the reception buffer ADD
The received setting data stored in the address indicated by R1 is written into the digit number over data buffer 59 indicated by the over buffer ADDR. Steps
At 28, the value of the overbuffer ADDR is incremented by 1 to set the address to write the data exceeding the next digit number.
Further, the value of the reception buffer ADDR1 is incremented by 1 to set the address for reading the next data.

【0064】ステップs29では、受信バッファADD
R1の値を1増加した結果、受信バッファADDR1と
受信バッファADDR2とが一致するかどうかを判断す
る。受信バッファADDR1と受信バッファADDR2
とが一致する場合にはステップs30に進む。ステップ
s30では、受信設定データの1データ分の書込みが終
了したものとして、受信バッファ57に格納されている
次の設定データの先頭番地であることを示すためにシリ
アルナンバーを1増加させる。
At step s29, the reception buffer ADD
As a result of incrementing the value of R1 by 1, it is determined whether the reception buffer ADDR1 and the reception buffer ADDR2 match. Reception buffer ADDR1 and reception buffer ADDR2
When and match, the process proceeds to step s30. In step s30, the serial number is incremented by 1 to indicate that it is the start address of the next setting data stored in the reception buffer 57, assuming that the writing of one set of the reception setting data has been completed.

【0065】前述のように1ブロックの受信データは、
1バイトの項目ナンバーと20バイトの設定データ6個
とを含んで構成されているので、受信設定データの6デ
ータ単位に項目データが挿入された状態となっている。
したがって、1増加されたシリアルナンバーに対応付け
られるデータが受信設定データの1ブロック分の先頭デ
ータであるかどうかを判断する必要がある。そのため、
ステップs31では、シリアルナンバーをシリアルデー
タとして所定の領域に書込み、以下に行う処理によって
判断する。
As described above, one block of received data is
Since it is configured to include the 1-byte item number and 6 pieces of 20-byte setting data, the item data is inserted in 6 data units of the reception setting data.
Therefore, it is necessary to judge whether the data associated with the serial number increased by 1 is the head data for one block of the reception setting data. for that reason,
In step s31, the serial number is written as serial data in a predetermined area, and the judgment is made by the following processing.

【0066】ステップs32では、シリアルデータを6
減少させる。ステップs33において、シリアルデータ
が1であるかどうかを判断する。シリアルデータが1で
ある場合にはステップs34に進む。ステップs34で
は、受信設定データの1ブロック分の先頭データである
と判断し、受信バッファADDR1を1増加させ、受信
設定データの1ブロック分の先頭データである項目デー
タを読飛ばす。また、受信バッファADDR2の値を項
目データの1バイト分と1設定データの20バイト分で
ある21バイト分加算し、1設定データ分先の先頭番地
を設定する。ステップs34の処理後、ステップs8以
降の処理を行う。
At step s32, the serial data is converted to 6
Reduce. In step s33, it is determined whether the serial data is 1. If the serial data is 1, the process proceeds to step s34. In step s34, it is determined that the received data is the first block of the reception setting data, the reception buffer ADDR1 is incremented by 1, and the item data that is the first block of the reception setting data is skipped. Further, the value of the reception buffer ADDR2 is added by 1 byte of the item data and 21 bytes which is 20 bytes of 1 setting data to set the starting address of 1 setting data ahead. After the process of step s34, the processes of step s8 and subsequent steps are performed.

【0067】ステップs33において、シリアルデータ
が1でないと判断された場合にはステップs36に進
む。ステップs36では、シリアルデータが0を超える
かどうかを判断する。シリアルデータが0を超える場合
にはステップs32以降の処理を行う。また、ステップ
s36において、シリアルデータが0以下であると判断
した場合にはステップs37に進む。ステップs37で
は、受信設定データの1ブロック分の先頭データではな
いと判断し、受信バッファADDR2の値を20増加さ
せ、1設定データ分先の先頭番地を設定する。ステップ
s37の処理の終了後、ステップs8以降の処理を行
う。
If it is determined in step s33 that the serial data is not 1, the process proceeds to step s36. In step s36, it is determined whether the serial data exceeds 0. If the serial data exceeds 0, the processing from step s32 is performed. If it is determined in step s36 that the serial data is 0 or less, the process proceeds to step s37. In step s37, it is determined that the received data is not the start data for one block, and the value of the reception buffer ADDR2 is increased by 20 to set the start address one set data ahead. After the processing of step s37 ends, the processing of step s8 and subsequent steps is performed.

【0068】ステップs21において、桁数バッファを
1減少させた結果が0でなければ登録機11において予
め設定されている桁数分の書込みが終了していないとし
てステップs20以降の処理を行う。また、ステップs
24において受信バッファADDR1に示される番地の
データが、NULコードであると判断した場合にはステ
ップs35に進む。ステップs35では、登録機11に
設定されている桁数を超えるデータがないものとして、
次の設定データの先頭番地である受信バッファADDR
2の示す値を受信バッファADDR1に書込む。受信バ
ッファADDR1に書込みが終了した後ステップs30
以降の処理を行う。ステップs25において、区切りフ
ラグが「1」でないと判断した場合にはステップs27
以降の処理を行う。ステップs29において、受信バッ
ファADDR1と受信バッファADDR2とが一致しな
い場合には、受信バッファの最大桁数である20桁以内
であると判断されるのでステップ23以降の処理を行
う。
If the result of decrementing the digit number buffer by 1 is not 0 in step s21, it is considered that the writing of the number of digits preset in the registration machine 11 has not been completed, and the processing from step s20 is performed. Also, step s
When it is determined in 24 that the data of the address indicated in the reception buffer ADDR1 is the NUL code, the process proceeds to step s35. In step s35, assuming that there is no data exceeding the number of digits set in the registration machine 11,
Reception buffer ADDR which is the first address of the next setting data
The value indicated by 2 is written in the reception buffer ADDR1. After writing to the reception buffer ADDR1 is completed, step s30
Perform the following processing. When it is determined in step s25 that the delimiter flag is not "1", step s27
Perform the following processing. If the reception buffer ADDR1 and the reception buffer ADDR2 do not match in step s29, it is determined that the number is within the maximum number of digits of the reception buffer, that is, 20 digits, and therefore, the processing of step 23 and subsequent steps is performed.

【0069】登録機11においては、受信した設定デー
タを各商品毎に組合わせて印字させて、各設定データが
設定データ格納領域54においてどのように記憶されて
いるかを点検することができる。
In the registration machine 11, the received setting data can be combined and printed for each product to check how each setting data is stored in the setting data storage area 54.

【0070】設定データを印字する際に、受信した商品
コードが商品コード格納領域84の桁数よりも多くて、
桁数オーバーデータバッファ59に当該商品コードの一
部が記憶されている商品コードには、予め定める識別符
を付加して印字する。同様に、品名格納領域85の桁数
よりも多い桁数で構成される品名、および単価格納領域
86の桁数よりも多い桁数で構成される単価にも識別符
を付して印字する。
When printing the setting data, the received product code is larger than the number of digits in the product code storage area 84,
A predetermined identification mark is added to the product code in which a part of the product code is stored in the digit number over data buffer 59 and printed. Similarly, an identification mark is also attached to the product name having a number of digits greater than the number of digits in the item name storage area 85 and the unit price configured with a number of digits greater than the number of digits in the unit price storage area 86 to print.

【0071】したがって、登録機11が受信した設定デ
ータにおいて、設定データの一部分が桁数オーバーデー
タバッファ59に記憶されている設定データには識別符
を付して印字することとなるので、データが途中までし
か示されないために各設定データの認識が困難である設
定データについて、変更の必要があることを登録機11
の操作者に認識させることができる。なお、設定データ
を印字する際に複数の設定データのなかから設定データ
を選択して印字させることもできる。本発明の実施のこ
の形態においては、品名を選択して印字させるようにし
た。
Therefore, in the setting data received by the registration machine 11, a part of the setting data is printed with the identification mark attached to the setting data stored in the digit number over data buffer 59. The registration machine 11 indicates that it is necessary to change the setting data for which it is difficult to recognize each setting data because it is shown only halfway.
Can be recognized by the operator. When printing the setting data, the setting data can be selected from a plurality of setting data and printed. In this embodiment of the present invention, the product name is selected and printed.

【0072】図11は、登録機11において受信した品
名設定データを点検印字させた際の印字例を示す図であ
る。図11(1)では、登録機11において受信し、設
定データ格納領域54に記憶されている各設定データを
印字させている。商品コード格納領域84と品名格納領
域85とに記憶されている設定データである商品コード
と品名とが印字されており、品名が7桁を超える商品の
項目には識別符号101が付けられている。図11
(1)では、各設定データに対応付けられているシリア
ルナンバーを示した。
FIG. 11 is a diagram showing a print example when the product name setting data received by the registration machine 11 is inspected and printed. In FIG. 11A, each setting data received by the registration machine 11 and stored in the setting data storage area 54 is printed. The product code and the product name, which are the setting data stored in the product code storage area 84 and the product name storage area 85, are printed, and the identification code 101 is attached to the item of the product whose product name exceeds 7 digits. . FIG.
In (1), the serial number associated with each setting data is shown.

【0073】品名が7桁を超える商品には、印字を行う
際に識別符号101が付けられるので、登録機11の操
作者はどの商品の品名が7桁を超えているのかを容易に
判断することができる。したがって、品名が途中までし
か示されないために品名の認識が困難であり、品名を変
更する必要があるデータを確認することができる。
Since the identification code 101 is added to a product whose product name exceeds 7 digits when printing, the operator of the registration machine 11 can easily determine which product name exceeds 7 digits. be able to. Therefore, it is difficult to recognize the product name because the product name is displayed only halfway, and it is possible to confirm the data that needs to be changed.

【0074】図11(2)では、品名格納領域85に記
憶されている品名において、7桁を超える品名のみを読
出して商品コードと共に印字させている。さらに、印字
された品名に対応付けられたシリアルナンバーと同一の
シリアルナンバーを対応付けられている桁数オーバーデ
ータバッファ59におけるデータを読出して、品名格納
領域85に記憶されている品名に付加して、前記印字さ
れた品名の一行下で、かつ一桁目を揃えて印字する。す
なわち、品名格納領域85に記憶されている7桁目まで
の第1の品名と、設定データとして受信した際の第2の
品名とを一桁目を揃えて、上下に並べて印字させる。
In FIG. 11 (2), in the product name stored in the product name storage area 85, only the product name having more than 7 digits is read and printed together with the product code. Further, the data in the digit number over data buffer 59 associated with the same serial number as the serial number associated with the printed product name is read and added to the product name stored in the product name storage area 85. , The line is printed under the line of the printed product name and with the first digit aligned. That is, the first item name up to the 7th digit stored in the item name storage area 85 and the second item name received as the setting data are aligned in the first digit and are printed vertically.

【0075】したがって、データ受信した際に7桁を超
えていた品名の確認が容易であるだけでなく、品名格納
領域85に記憶される際にあふれた8桁目以降の品名デ
ータを同時に見ることができる。データの送信元におけ
る品名を基にして品名格納領域85に記憶されている品
名の変更を行うことができる。
Therefore, it is not only easy to confirm the product name having more than 7 digits when the data is received, but also the product name data after the 8th digit overflowing when the data is stored in the product name storage area 85 can be viewed at the same time. You can The product name stored in the product name storage area 85 can be changed based on the product name at the data transmission source.

【0076】図12および図13は、登録機11におい
て設定データ格納領域54に記憶されている設定データ
を点検印字する際の処理を示すフローチャートである。
このフローチャートにおいて、点検印字1は受信した設
定データを登録機11の設定データ格納領域54に記憶
した結果を印字するモードである。また点検印字2は、
登録機11が受信した設定データにおいて、予め定める
桁数を超える桁数で構成されている設定データを、登録
機11の設定データ格納領域54に記憶した結果と受信
した状態の設定データとを前述の図11(2)に示すよ
うに対応付けて印字するモードである。
FIGS. 12 and 13 are flowcharts showing the process of checking and printing the setting data stored in the setting data storage area 54 in the registration machine 11.
In this flowchart, inspection print 1 is a mode for printing the result of storing the received setting data in the setting data storage area 54 of the registration machine 11. The inspection print 2 is
In the setting data received by the registration machine 11, the setting data having a number of digits exceeding a predetermined number of digits is stored in the setting data storage area 54 of the registration machine 11 and the setting data in the received state are described above. This is a mode in which printing is performed in association with each other as shown in FIG.

【0077】ステップp1では、いずれの点検印字を行
うかを選択する。点検印字1を選択した場合には点検印
字モードを示す点検印字モードフラグに「1」をセット
し、点検印字2を選択した場合には点検印字モードフラ
グに「2」をセットする。点検印字モードをセットした
後に、たとえばレシート紙に設定データの点検印字を行
うための初期設定としてステップp2の処理を行う。
At step p1, which inspection print is to be performed is selected. When the inspection print 1 is selected, the inspection print mode flag indicating the inspection print mode is set to "1", and when the inspection print 2 is selected, the inspection print mode flag is set to "2". After the inspection print mode is set, the process of step p2 is performed as an initial setting for performing the inspection print of the setting data on the receipt paper, for example.

【0078】ステップp2では、登録機11に予め設定
されている桁数を超えた受信設定データがない事を示す
オーバーENDフラグをクリアし、桁数を超えた受信設
定データのシリアルナンバーを示すオーバーシリアルナ
ンバーとしてオーバーシリアルNoに「000」を書込
み、現在印字中の設定データのシリアルナンバーを示す
シリアルNoに、先頭の設定データであることを示す
「001」を設定する。このシリアルNoは、受信時の
設定データの順番を示すシリアルナンバーと一致するも
のである。
At step p2, the over END flag indicating that there is no reception setting data exceeding the number of digits preset in the registration machine 11 is cleared, and the over number indicating the serial number of the reception setting data exceeding the number of digits is exceeded. As the serial number, "000" is written in the over-serial number, and "001" indicating the top setting data is set in the serial number indicating the serial number of the setting data currently being printed. This serial number matches the serial number indicating the order of setting data at the time of reception.

【0079】次に、点検印字の1項目である商品コード
を印字するために、設定データ格納領域54における商
品コード格納領域84の先頭番地を項目ADDR1に書
込み、品名を印字するために品名格納領域85の先頭番
地を項目ADDR2に書込む。さらに、桁数を超えた受
信設定データのシリアルナンバーおよび桁数を超えた受
信設定データを格納した桁数オーバーデータバッファ5
9の先頭番地をオーバーバッファADDRに書込む。
Next, in order to print the product code which is one item of the inspection print, the head address of the product code storage area 84 in the setting data storage area 54 is written in the item ADDR1 and the product name storage area for printing the product name. The head address of 85 is written in the item ADDR2. Further, the digit number over data buffer 5 storing the serial number of the reception setting data exceeding the number of digits and the reception setting data exceeding the number of digits
The top address of 9 is written in the overbuffer ADDR.

【0080】ステップp3では、ステップp2において
初期設定が終了したとして、たとえばワークバッファ5
8に設けられるプリントバッファをクリアする。ステッ
プp4では、後述の図13のフローチャートにおいて示
されるオーバーシリアルナンバーを更新する処理が行わ
れる。ステップp4では、点検印字モードフラグが
「1」である場合にはオーバーバッファADDRには桁
数オーバーした設定データの前に位置する先頭の番地が
設定され、点検印字モードフラグが「2」である場合に
は、オーバーバッファADDRには桁数オーバーした設
定データの、たとえば実施のこの形態では品名設定デー
タの8桁目のデータを格納した番地が設定される。
In step p3, assuming that the initial setting is completed in step p2, for example, the work buffer 5
The print buffer provided in 8 is cleared. In step p4, a process of updating the overserial number shown in the flowchart of FIG. 13 described later is performed. In step p4, if the inspection print mode flag is "1", the leading address located before the setting data with the number of digits over is set in the overbuffer ADDR, and the inspection print mode flag is "2". In this case, in the overbuffer ADDR, an address in which the setting data with the number of digits exceeded, for example, the eighth digit of the product name setting data in this embodiment is stored is set.

【0081】ステップp5では、いずれの点検印字モー
ドであるかを判断する。点検印字モードフラグが「2」
でない場合にはステップp6に進む。ステップp6で
は、予め設定されている商品コードの桁数を桁数バッフ
ァに書込む。ステップp7では、プリントバッファの2
桁目の番地から商品コードを書込むために、プリントバ
ッファの番地を格納するプリントバッファADDRの値
を1増加させ番地を進める。
At step p5, it is judged which inspection print mode is selected. Inspection print mode flag is "2"
If not, the process proceeds to step p6. At step p6, the preset number of digits of the product code is written in the digit number buffer. In step p7, the print buffer 2
In order to write the product code from the digit address, the value of the print buffer ADDR that stores the address of the print buffer is incremented by 1 and the address is advanced.

【0082】ステップp8では、前記項目ADDR1に
記憶されている番地のデータをプリントバッファADD
Rに示される番地、すなわちプリントバッファの2桁目
の番地に転送する。商品コードの1桁をプリントバッフ
ァに転送すると項目ADDR1、およびプリントバッフ
ァADDRの値を1増加させ、それぞれの番地を1番地
進める。また、桁数バッファを1減少させる。ステップ
p9では、桁数バッファを1減少させた結果桁数バッフ
ァが0になったかどうかを判断する。桁数バッファが0
になっていない場合には、ステップp8以降の処理を行
う。桁数バッファが0になった場合はステップp10に
進む。
At step p8, the data of the address stored in the item ADDR1 is printed in the print buffer ADD.
Transfer to the address indicated by R, that is, the address of the second digit of the print buffer. When one digit of the product code is transferred to the print buffer, the values of the item ADDR1 and the print buffer ADDR are incremented by 1, and the respective addresses are advanced by 1. Also, the digit number buffer is decreased by one. In step p9, it is determined whether the digit number buffer has become 0 as a result of decrementing the digit number buffer by 1. Digit number buffer is 0
If not, the process from step p8 is performed. When the digit number buffer becomes 0, the process proceeds to step p10.

【0083】ステップp10では、商品コードのすべて
がプリントバッファに転送完了したものとしてプリント
バッファADDRの値を1増加させることによって、次
の品名を転送するためにプリントバッファの番地を1番
地進め、商品コードと品名との間に1桁分スペースを挿
入する。商品コードの転送が終了したので、続いて品名
の転送に進み、予め設定されている品名の桁数を桁数バ
ッファに書込む。
In step p10, the value of the print buffer ADDR is incremented by 1 assuming that all of the product codes have been transferred to the print buffer, and the address of the print buffer is advanced by 1 to transfer the next product name. Insert a space for one digit between the code and product name. Since the transfer of the product code is completed, the product name is transferred next, and the preset digit number of the product name is written in the digit number buffer.

【0084】ステップp11では、項目ADDR2に示
された品名設定データの先頭番地のデータをプリントバ
ッファADDRに示される番地、すなわち先に転送され
た商品コードに続いて2桁先のプリントバッファの番地
に転送する。品名の1桁をプリントバッファに転送する
と、項目ADDR2およびプリントバッファADDRの
値を1増加させ、それぞれに記憶されている番地を1番
地進める。また、桁数バッファを1減少させる。
At step p11, the data of the start address of the product name setting data shown in the item ADDR2 is set to the address shown in the print buffer ADDR, that is, the address of the print buffer two digits ahead of the product code previously transferred. Forward. When one digit of the product name is transferred to the print buffer, the value of the item ADDR2 and the value of the print buffer ADDR are incremented by 1, and the address stored in each is advanced by 1. Also, the digit number buffer is decreased by one.

【0085】ステップp12では、桁数バッファを1減
少させた結果、桁数バッファが0になったかどうかを判
断する。桁数バッファが0ではないと判断された場合に
は、ステップp11以降の処理を行う。桁数バッファが
0であると判断された場合にはステップp13に進む。
ステップp13では、品名のすべてがプリントバッファ
に転送完了したものとして点検印字モードの確認を行
う。すなわち現在の点検印字モードがいずれの点検印字
モードであるかどうかを判断する。
In step p12, it is determined whether the digit number buffer has become 0 as a result of decrementing the digit number buffer by 1. When it is determined that the digit number buffer is not 0, the processing from step p11 is performed. When it is determined that the digit number buffer is 0, the process proceeds to step p13.
In step p13, the inspection print mode is confirmed assuming that all the product names have been transferred to the print buffer. That is, it is determined which inspection print mode the current inspection print mode is.

【0086】点検印字モード1である場合にはステップ
p14に進む。ステップp14では、登録機11におい
て予め設定されている桁数を超えた受信設定データがな
いことを示すオーバーENDフラグがセットされている
かどうかを判断する。オーバーENDフラグがセットさ
れていない場合にはステップp15に進む。ステップp
15では、直前にプリントバッファに転送した商品コー
ドおよび品名が設定されている桁数を超えた受信設定デ
ータであるかどうかを判断するために、シリアルナンバ
ーとオーバーシリアルナンバーとが一致するかどうかを
判断する。
If it is the inspection print mode 1, the process proceeds to step p14. In step p14, it is determined whether or not the over-end flag indicating that there is no reception setting data exceeding the number of digits set in advance in the registration machine 11 is set. If the over END flag is not set, the process proceeds to step p15. Step p
At 15, in order to determine whether or not the product code and the product name transferred to the print buffer immediately before have received setting data exceeding the set number of digits, it is determined whether the serial number and the overserial number match. to decide.

【0087】シリアルナンバーとオーバーシリアルナン
バーとが一致する場合には、ステップp16に進む。シ
リアルナンバーとオーバーシリアルナンバーとが一致す
る場合、ステップp16では直前に転送した商品コー
ド、品名が予め設定されている桁数を超えた受信設定デ
ータである事を示すため、プリントバッファの先頭番地
に前記桁数を超えた受信設定データである事を示す
「%」を転送する。
If the serial number and the overserial number match, the process proceeds to step p16. If the serial number and the over-serial number match, in step p16, the product code and product name transferred immediately before indicate that the received setting data exceeds the preset number of digits. “%” Indicating that the reception setting data exceeds the number of digits is transferred.

【0088】ステップp17においては、プリントバッ
ファに書込まれた設定データを印字する。ステップp1
8では、プリントバッファ内のデータの印字が終了する
のを待ち、項目ADDR1に示される番地のデータを読
出し、読出したデータがNULコードであるかどうかに
よって、設定データは全て印字されたかどうかを判断す
る。設定データが全て印字されていない場合にはステッ
プp19に進む。ステップp19では、シリアルナンバ
ーを1増加させる。シリアルナンバーを1増加させた後
ステップp3以降の処理を行う。
In step p17, the setting data written in the print buffer is printed. Step p1
In No. 8, waiting for the printing of the data in the print buffer to be completed, the data at the address indicated in the item ADDR1 is read, and it is determined whether all the setting data have been printed depending on whether the read data is a NUL code. To do. If all the setting data are not printed, the process proceeds to step p19. At step p19, the serial number is incremented by 1. After incrementing the serial number by 1, the processes from step p3 are performed.

【0089】ステップp5において、点検印字モード2
であると判断した場合にはステップp27に進む。ステ
ップp27では、オーバーENDフラグが「1」である
かどうかを判断する。オーバーENDフラグが「1」で
ある場合には、予め設定されている桁数を超えた受信設
定データが全て印字できたものとして点検印字モード2
の処理を終了する。
In step p5, the inspection print mode 2
If it is determined that the value is, the process proceeds to step p27. In step p27, it is determined whether or not the over END flag is "1". If the over END flag is "1", it is assumed that all the reception setting data exceeding the preset number of digits can be printed, and the inspection print mode 2
Is completed.

【0090】ステップp27において、オーバーEND
フラグが「1」でない場合には、ステップp28に進
む。ステップp28では、予め設定されている桁数を超
えた受信設定データが全て印字できていないものとし
て、次の前記桁数を超えた受信設定データの商品コー
ド、品名を印字するために、オーバーシリアルナンバー
をオーバーシリアルバッファに書込む。ステップp29
では、オーバーシリアルバッファに書込まれたオーバー
シリアルナンバーをカウンタとして項目ADDR1を予
め定められる商品コードの桁数単位で、項目ADDR2
を予め定められる品名の桁数単位で番地を進め、次の桁
数を超えた受信設定データの商品コード、品名を格納し
た各設定データの番地に項目ADDR1、および項目A
DDR2をセットする。ステップp30では、オーバー
シリアルバッファが0であるかどうかを判断する。オー
バーシリアルバッファが0であると判断された場合には
ステップp6以降の処理を行う。また、オーバーシリア
ルバッファが0ではないと判断された場合にはステップ
p29以降の処理を行う。
In step p27, over END
If the flag is not "1", the process proceeds to step p28. In step p28, it is assumed that all the reception setting data exceeding the preset number of digits have not been printed, and in order to print the product code and the product name of the receiving setting data exceeding the next digit, the overserial Write the number to the overserial buffer. Step p29
Then, using the over-serial number written in the over-serial buffer as a counter, the item ADDR1 is set in units of a predetermined number of product codes, and the item ADDR2 is set.
The address is advanced by a predetermined number of digits of the product name, and the product code of the receiving setting data that exceeds the next number of digits, the item ADDR1 and the item A are added to the address of each setting data storing the product name.
Set DDR2. In step p30, it is determined whether or not the overserial buffer is 0. If it is determined that the over-serial buffer is 0, the processing from step p6 is performed. If it is determined that the over-serial buffer is not 0, the processing from step p29 is performed.

【0091】ステップp14においてオーバーENDフ
ラグが1であると判断された場合、およびステップp1
5においてシリアルNoがオーバーシリアルナンバーと
同一でないと判断された場合にはステップp17以降の
処理を行う。
When it is determined in step p14 that the over END flag is 1, and in step p1
If it is determined that the serial number is not the same as the over-serial number in 5, the processing after step p17 is performed.

【0092】ステップp13において、点検印字モード
2であると判断された場合にはステップp20に進む。
ステップp20では、プリントバッファに書込まれた設
定データを印字する。ステップp21では、受信設定デ
ータを印字するために、プリントバッファ内の商品コー
ドをクリアする。登録機11に設定されている桁数を超
えた品名設定データは、品名格納領域85と桁数オーバ
ーデータバッファ59とに分離されて格納されている。
したがって、先に印字した品名データと、以下のステッ
プで転送する桁数オーバーデータバッファ59のデータ
とを合成することによって受信設定データを再生するこ
とができる。また、設定データと同じ印字桁位置に受信
設定データを印字することによって、比較が容易にでき
るように、直前に印字したプリントバッファのデータを
残し、プリントバッファの次の番地に桁数オーバーデー
タバッファ59のデータを転送する方法を用いている。
If it is determined in step p13 that the print mode is the inspection print mode 2, the process proceeds to step p20.
In step p20, the setting data written in the print buffer is printed. In step p21, the product code in the print buffer is cleared to print the reception setting data. The product name setting data exceeding the number of digits set in the registration machine 11 is stored separately in the product name storage area 85 and the digit number over data buffer 59.
Therefore, the reception setting data can be reproduced by synthesizing the product name data previously printed and the data of the digit number over data buffer 59 transferred in the following steps. In addition, by printing the received setting data at the same print digit position as the setting data, the data in the print buffer printed immediately before is retained and the number of digits over data buffer is saved at the next address of the print buffer for easy comparison. 59 is used to transfer the data.

【0093】データを転送するプリントバッファの番地
を示すプリントバッファADDRに、プリントバッファ
の先頭番地に商品コードの桁数、品名の桁数、先頭のス
ペース、および商品コードと品名との間のスペースを加
えた桁数分を加算した番地を設定する。前記先頭のスペ
ース、および商品コードと品名との間のスペースは1桁
である。ステップp22では、続けて転送するオーバー
バッファADDRに示されるデータを読込む。ステップ
p23では、読出したデータが次の超えた桁の部分のデ
ータとの区分コードである「%」であるかどうかを判断
する。読出したデータが「%」でない場合にはステップ
p24に進む。
In the print buffer ADDR indicating the address of the print buffer to which the data is transferred, the number of digits of the product code, the number of digits of the product name, the leading space, and the space between the product code and the product name are set at the beginning address of the print buffer. Set the address that adds the added number of digits. The leading space and the space between the product code and the product name are one digit. At step p22, the data shown in the over-buffer ADDR to be continuously transferred is read. In step p23, it is determined whether the read data is "%" which is a classification code with the data of the next exceeding digit. If the read data is not "%", the process proceeds to step p24.

【0094】ステップp24では、読出したデータがN
ULコードであるかどうかを判断する。読出したデータ
がNULコードでないと判断した場合にはステップp2
5に進む。ステップp25では、読出したデータが超え
た桁の部分のデータであると判断し、プリントバッファ
ADDRの示すプリントバッファの番地に読出したデー
タを転送する。読出したデータを転送した後、プリント
バッファADDRおよびオーバーバッファADDRを1
増加させ次のデータの読出す番地、および転送先の番地
を1番地分進める。
At step p24, the read data is N
Determine if it is a UL code. When it is determined that the read data is not the NUL code, step p2
Go to 5. At step p25, it is judged that the read data is the data of the excess digit portion, and the read data is transferred to the address of the print buffer indicated by the print buffer ADDR. After transferring the read data, set the print buffer ADDR and the overbuffer ADDR to 1
The address to which the next data is read is increased and the address of the transfer destination is advanced by one address.

【0095】ステップp25の処理の終了後、ステップ
p22以降の処理を行う。ステップp23において読出
したデータが「%」であると判断した場合、およびステ
ップp24において読出したデータがNULコードであ
ると判断した場合にはステップp26に進む。ステップ
p26では、超えた桁の部分のデータのプリントバッフ
ァへの転送が完了したものとしてプリントバッファに書
込まれているデータの印字を行う。プリントバッファに
書込まれたデータの印字終了後、ステップp19以降の
処理を行う。
After the processing of step p25 ends, the processing of step p22 and thereafter is performed. When it is determined in step p23 that the read data is “%” and when it is determined in step p24 that the read data is the NUL code, the process proceeds to step p26. In step p26, the data written in the print buffer is printed assuming that the transfer of the data of the excess digits to the print buffer is completed. After the printing of the data written in the print buffer is completed, the processes after step p19 are performed.

【0096】図14は、オーバーシリアルナンバーの更
新処理を示すフローチャートである。オーバーシリアル
ナンバーの更新は、前記点検印字1および前記点検印字
2において、予め設定されている桁数を超えたデータの
情報(設定データ単位の区切りデータ、データのシリア
ルナンバー、超えた桁のデータ)から、予め設定されて
いる桁数を超えたデータのシリアルナンバーを抽出し、
複数の前記桁数を超えたデータの先頭にある区切りコー
ドの番地確定、および桁数を超えたデータの有無の検出
を行うものである。
FIG. 14 is a flowchart showing the update processing of the overserial number. The update of the over-serial number is performed by the inspection print 1 and the inspection print 2 in the information of the data exceeding the preset number of digits (separated data in the unit of setting data, the serial number of the data, the excess digit data). From, extract the serial number of the data that exceeds the preset number of digits,
The address of the delimiter code at the beginning of the data exceeding the number of digits is determined, and the presence or absence of data exceeding the number of digits is detected.

【0097】ステップu1では、オーバーバッファAD
DRに格納されている桁数オーバーデータバッファ59
上の番地のデータを読出す。ステップu2では、ステッ
プu1で読出した番地のデータが区切りコードである
「%」であるかどうかを判断する。前記データが「%」
を示す場合ステップu3に進む。
At step u1, the overbuffer AD
Over-digit data buffer 59 stored in DR
Read the data at the upper address. In step u2, it is determined whether the data of the address read in step u1 is a delimiter code "%". The data is "%"
In case of, the process proceeds to step u3.

【0098】ステップu3では、読出したデータが
「%」を示すデータであることに基づいてオーバーバッ
ファADDRの番地を1増加させ、桁数オーバーデータ
バッファ59上の番地を1進める。すなわち、区切りコ
ード「%」の次の番地をオーバーバッファADDRに設
定する。オーバーバッファADDRに格納されている桁
数オーバーデータバッファ59上の番地のデータを3バ
イト分オーバーシリアルナンバーに書込む。前記3バイ
トは桁数を超えた設定データに対応付けられているシリ
アルナンバーを示す。続いてオーバーバッファADDR
の値を3増加させ、前記シリアルナンバー分だけ桁数オ
ーバーデータバッファ59上の番地を進める。
At step u3, the address of the overbuffer ADDR is incremented by 1 based on the fact that the read data is the data indicating "%", and the address on the digit number overdata buffer 59 is advanced by 1. That is, the address next to the delimiter code “%” is set in the overbuffer ADDR. The data of the address on the digit over data buffer 59 stored in the over buffer ADDR is written into the over serial number by 3 bytes. The 3 bytes indicate the serial number associated with the setting data that exceeds the number of digits. Then overbuffer ADDR
Is incremented by 3, and the address on the digit number over data buffer 59 is advanced by the serial number.

【0099】ステップu4では、点検印字モードフラグ
は「1」であるかどうかを判断し現在の点検印字モード
を確認する。点検印字モード1である場合にはステップ
u5に進む。ステップu5では、オーバーバッファAD
DRによって示される番地のデータを読出し、オーバー
バッファADDRの値を1増加させる。ステップu6で
は、ステップu5において読出したデータが区切りコー
ドである「%」を示すデータであるかどうかを判断す
る。前記データが区切りコードであることを示すデータ
である場合にはステップu7に進む。
At step u4, it is judged whether the check print mode flag is "1" to check the present check print mode. If it is the inspection print mode 1, the process proceeds to step u5. At step u5, overbuffer AD
The data at the address indicated by DR is read and the value of the overbuffer ADDR is incremented by 1. In step u6, it is determined whether or not the data read in step u5 is data indicating the delimiter code "%". If the data is data indicating that it is a delimiter code, the process proceeds to step u7.

【0100】ステップu7では、前記読出したデータを
次の桁数オーバーした設定データの先頭であると判断
し、点検印字モード1における次回のオーバーシリアル
ナンバーの更新時におけるオーバーバッファADDRに
よって示される番地を、区切りコードを格納している番
地に設定するためにオーバーバッファADDRを1減少
させ、点検印字モード1におけるオーバーシリアルナン
バーの更新を終了する。
At step u7, it is judged that the read data is the head of the setting data in which the next digit number is exceeded, and the address indicated by the overbuffer ADDR at the time of updating the next overserial number in the check print mode 1 is set. , In order to set the address where the delimiter code is stored, the overbuffer ADDR is decremented by 1, and the update of the overserial number in the check print mode 1 is completed.

【0101】ステップu2において、読出したデータが
区切りコードを示すデータでないと判断した場合にはス
テップu8に進む。ステップu8では、前記読出したデ
ータがNULコードであると判断し、オーバーENDフ
ラグを「1」にセットする。すなわち、以後桁数を超え
たデータがないことを示し、オーバーシリアルナンバー
の更新を終了する。
If it is determined in step u2 that the read data is not data indicating a delimiter code, the process proceeds to step u8. At step u8, it is judged that the read data is a NUL code, and the over END flag is set to "1". That is, it indicates that there is no data exceeding the number of digits thereafter, and the update of the overserial number is completed.

【0102】ステップu4において、点検印字モード2
であると判断された場合にはオーバーシリアルナンバー
の更新を終了する。ステップu6において、区切りコー
ドを示すデータでないと判断した場合にはステップu9
に進む。ステップu9においては、ステップu5におい
て読出したデータがNULコードであるかどうかを判断
する。NULコードである場合には、以後桁数を超えた
データがないものと判断してステップu7以降の処理を
行う。また、NULコードではないと判断した場合には
ステップu5以降の処理を行う。
In step u4, the inspection print mode 2
If it is determined that, the update of the overserial number is ended. When it is determined in step u6 that the data does not indicate the delimiter code, step u9
Proceed to. In step u9, it is determined whether the data read in step u5 is a NUL code. If it is a NUL code, it is determined that there is no data exceeding the number of digits thereafter, and the processing from step u7 is performed. If it is determined that the code is not the NUL code, the processing after step u5 is performed.

【0103】以上のように本発明の実施のこの形態によ
れば、設定データ格納領域54において各設定データ毎
に定められている記憶可能な桁数を超えるデータを受信
した場合であっても、設定データ格納領域54に記憶す
ることのできない超過分のデータを桁数オーバーデータ
バッファ59に記憶するので、設定データ格納領域54
に記憶される設定データと桁数オーバーデータバッファ
59に記憶される超過分のデータとによって、受信した
状態の設定データを確認することができ、受信設定デー
タに基づいて設定データ格納領域54に記憶されている
設定データの修正を行うことができる。
As described above, according to this embodiment of the present invention, even when the setting data storage area 54 receives data exceeding the storable digit number defined for each setting data, Since excess data that cannot be stored in the setting data storage area 54 is stored in the digit number excess data buffer 59, the setting data storage area 54
The setting data in the received state can be confirmed by the setting data stored in the setting data and the excess data stored in the digit number excess data buffer 59, and is stored in the setting data storage area 54 based on the received setting data. It is possible to modify the set data that has been set.

【0104】また、設定データ格納領域54に記憶され
ているデータをプリンタ17を用いて印字する際、桁数
オーバーデータバッファ59にデータが記憶されている
データについては識別符号101を付加して印字を行う
ので、いずれのデータが予め定める桁数以上であるかを
容易に理解することができる。
When the data stored in the setting data storage area 54 is printed using the printer 17, the identification code 101 is added to the data stored in the digit number excess data buffer 59 to print the data. Therefore, it is possible to easily understand which data has a predetermined number of digits or more.

【0105】さらに、桁数オーバデータバッファ59に
超過分の設定データが記憶されていて、設定データ格納
領域54に記憶することができる桁数分の設定データ
と、設定データ格納領域54に記憶されている当該設定
データおよび桁数オーバーデータバッファ59に記憶さ
れている当該設定データに対応する超過分の設定データ
を合わせたデータとが上下に並べられて、かつデータの
先頭の位置を揃えてプリンタ17によって印字されるの
で、設定データ格納領域54に記憶されたデータと登録
機11が受信したデータとを比較することができ、設定
データの全てを書込むことができなかったことによる品
名などの重複、誤解を招くような紛らわしいデータのチ
ェックを容易に行うことができる。またさらに記憶され
ているデータと受信したデータとを比較することができ
るので記憶されているデータの修正を容易に、かつ正確
に行うことができる。
Further, the excess number of setting data is stored in the digit number over data buffer 59, and the setting data for the number of digits which can be stored in the setting data storage area 54 and the setting data storage area 54 are stored. The setting data and the data including the excess setting data corresponding to the setting data stored in the digit number over data buffer 59 are arranged vertically, and the start position of the data is aligned to the printer. Since it is printed by 17, it is possible to compare the data stored in the setting data storage area 54 with the data received by the registration machine 11, and it is not possible to write all of the setting data. It is possible to easily check for misleading data that may cause duplication or misunderstanding. Further, since the stored data can be compared with the received data, the stored data can be corrected easily and accurately.

【0106】[0106]

【発明の効果】以上のように本発明によれば、電子式金
銭登録機において、予め定める桁数を超える桁数で構成
される設定データを受信した場合であっても、商品情報
記憶手段に記憶することができない超過分の設定データ
を超過データ記憶手段に記憶するようにしているので、
前記桁数を超える分の設定データ部分を参照することが
でき、商品情報記憶手段に記憶されている設定データの
修正を適切に行うことができる。
As described above, according to the present invention, even when the electronic money register receives setting data having a number of digits exceeding a predetermined number of digits, it is stored in the product information storage means. Since the excess setting data that cannot be stored is stored in the excess data storage means,
It is possible to refer to the setting data portion exceeding the number of digits, and it is possible to appropriately correct the setting data stored in the product information storage means.

【0107】また本発明によれば、商品情報における設
定データを印字する際、超過データ記憶手段に超過デー
タが記憶されている設定データには予め定める識別符号
を付加して印字するので、商品情報のいずれの設定デー
タが予め定める桁数以上のデータで構成されているかを
容易に理解することができ、いずれの設定データの修正
が必要であるかを認識することができる。また、印字結
果を参照することによって適切に設定データの修正を行
うことができる。
Further, according to the present invention, when the setting data in the product information is printed, the setting data in which the excess data is stored in the excess data storage means is added with a predetermined identification code and printed. It is possible to easily understand which of the setting data is composed of data having a predetermined digit number or more, and it is possible to recognize which of the setting data needs to be corrected. Also, the setting data can be appropriately corrected by referring to the print result.

【0108】さらに本発明によれば、商品情報における
設定データを印字する際、商品情報記憶手段に記憶され
ている複数種類の設定データのうち、選択された種類の
設定データを印字するので、特に操作者が確認したい設
定データのみを印字させて、いずれの設定データが予め
定める桁数を超えているかを確認することができ、効率
的に設定データの修正を行うことができる。
Further, according to the present invention, when the setting data in the product information is printed, the setting data of the selected type among the plural types of setting data stored in the product information storage means is printed. The operator can print only the setting data that he or she wants to check, and it can be confirmed which setting data exceeds the predetermined number of digits, and the setting data can be corrected efficiently.

【0109】またさらに本発明によれば、超過データ記
憶手段に超過データが記憶されている設定データと、当
該設定データに超過データ記憶手段に記憶されている超
過データを付加したデータとを対応付けて印字するの
で、設定データのすべてを書込むことができなかったこ
とによる商品名などの重複、誤解を招くような紛らわし
いデータのチェックを容易に行うことができ、商品情報
記憶手段に記憶している設定データの修正を適確に行う
ことができる。
Further, according to the present invention, the setting data in which the excess data is stored in the excess data storage means is associated with the data obtained by adding the excess data stored in the excess data storage means to the setting data. Since all the setting data can not be written, duplication of product names etc. and misleading misleading data can be easily checked and stored in the product information storage means. The setting data can be corrected accurately.

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

【図1】本発明の実施の一形態である登録機11の構成
を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a registration machine 11 according to an embodiment of the present invention.

【図2】登録機11におけるキーボード15の平面図で
ある。
FIG. 2 is a plan view of a keyboard 15 of the registration machine 11.

【図3】登録機11におけるRAM14の構成を示す図
である。
FIG. 3 is a diagram showing a configuration of a RAM 14 in the registration machine 11.

【図4】登録機11におけるデータの送受信処理を行う
際の手順を示す図である。
FIG. 4 is a diagram showing a procedure for performing data transmission / reception processing in the registration machine 11.

【図5】登録機11と登録機61とを接続する接続形態
を示す図である。
FIG. 5 is a diagram showing a connection form for connecting the registration machine 11 and the registration machine 61.

【図6】設定データ格納領域54および受信バッファ5
7の構成を示す図である。
FIG. 6 is a setting data storage area 54 and a reception buffer 5.
7 is a diagram showing a configuration of FIG.

【図7】桁数オーバーデータバッファ59の構成を示す
図である。
FIG. 7 is a diagram showing a configuration of a digit number over data buffer 59.

【図8】データを通信する際のデータの形式を示す図で
ある。
FIG. 8 is a diagram showing a format of data when data is communicated.

【図9】登録機11における受信モードでの処理および
設定データ受信後の処理を説明するためのフローチャー
トである。
FIG. 9 is a flowchart for explaining a process in a reception mode and a process after receiving setting data in the registration machine 11.

【図10】登録機11における受信モードでの処理およ
び設定データ受信後の処理を説明するためのフローチャ
ートである。
FIG. 10 is a flowchart for explaining a process in a reception mode and a process after receiving setting data in the registration machine 11.

【図11】登録機11において受信した品名設定データ
を点検印字させた際の印字例を示す図である。
FIG. 11 is a diagram showing a print example when the product name setting data received by the registration machine 11 is inspected and printed.

【図12】登録機11において設定データ格納領域54
に記憶されている設定データを点検印字する際の処理を
示すフローチャートである。
FIG. 12 is a setting data storage area 54 in the registration machine 11.
5 is a flowchart showing a process for inspecting and printing the setting data stored in.

【図13】登録機11において設定データ格納領域54
に記憶されている設定データを点検印字する際の処理を
示すフローチャートである。
FIG. 13 is a setting data storage area 54 in the registration machine 11.
5 is a flowchart showing a process for inspecting and printing the setting data stored in.

【図14】オーバーシリアルナンバーの更新処理を示す
フローチャートである。
FIG. 14 is a flowchart showing a process of updating an overserial number.

【符号の説明】[Explanation of symbols]

11 登録機 12 CPU 13 ROM 14 RAM 15 キーボード 16 モードスイッチ 17 プリンタ 18 ディスプレイ 19 ドロワ 20 ブザー 21 通信インタフェイス 22 水晶発振回路 51 表示バッファ 52 操作担当者格納領域 53 操作者コード格納領域 54 設定データ格納領域 55 集計データ格納領域 56 送信バッファ 57 受信バッファ 58 ワークバッファ 59 桁数オーバーデータバッファ 11 Registered Machine 12 CPU 13 ROM 14 RAM 15 Keyboard 16 Mode Switch 17 Printer 18 Display 19 Drawer 20 Buzzer 21 Communication Interface 22 Crystal Oscillation Circuit 51 Display Buffer 52 Operator Storage Area 53 Operator Code Storage Area 54 Setting Data Storage Area 55 Total data storage area 56 Send buffer 57 Receive buffer 58 Work buffer 59 Over-digit data buffer

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 商品毎に付与される商品識別情報と、複
数の桁数で構成される複数種類の設定データによって構
成される商品情報とを対応付けて記憶し、前記設定デー
タを予め定める桁数分記憶する商品情報記憶手段と、 外部の装置から送信される前記設定データ毎に受信処理
を行う受信処理手段と、 前記設定データの前記予め定める桁数を超えた部分であ
る超過データを記憶する超過データ記憶手段と、 受信した設定データ毎に、当該設定データが予め定める
桁数を超えているかどうかを判定し、当該設定データが
予め定める桁数以内であると判定した場合には、設定デ
ータを商品情報記憶手段に記憶し、当該設定データが予
め定める桁数を超えていると判定した場合には、当該設
定データの前記予め定める桁数までを商品情報記憶手段
に記憶し、超過データを超過データ記憶手段に記憶する
データ制御手段とを含むことを特徴する電子式金銭登録
機。
1. A digit that stores the product identification information assigned to each product and the product information composed of a plurality of types of setting data composed of a plurality of digits in association with each other, and sets the setting data in advance. A product information storage unit that stores a few minutes, a reception processing unit that performs a reception process for each of the setting data transmitted from an external device, and stores excess data that is a portion of the setting data that exceeds the predetermined number of digits. Exceeding data storage means and for each received setting data, it is determined whether or not the setting data exceeds a predetermined number of digits, and if it is determined that the setting data is within the predetermined number of digits, the setting is performed. When the data is stored in the product information storage means and it is determined that the setting data exceeds the predetermined digit number, the product information storage means stores up to the predetermined digit number of the setting data. An electronic cash register, comprising: a data control means for storing and storing excess data in the excess data storage means.
【請求項2】 前記商品情報を印字する印字手段であっ
て、商品情報における設定データを印字する際には、商
品識別情報と共に商品情報を印字し、超過データ記憶手
段に超過データが記憶されている設定データには、予め
定める識別符号を付加して印字する印字手段を備えるこ
とを特徴とする請求項1記載の電子式金銭登録機。
2. The printing means for printing the product information, wherein when the setting data in the product information is printed, the product information is printed together with the product identification information, and the excess data is stored in the excess data storage means. 2. The electronic cash register according to claim 1, further comprising a printing means for printing by adding a predetermined identification code to the set data.
【請求項3】 前記印字手段は、商品情報記憶手段に記
憶されている複数種類の設定データのうち、選択された
種類の設定データを印字することを特徴とする請求項2
記載の電子式金銭登録機。
3. The printing unit prints setting data of a selected type among a plurality of types of setting data stored in the product information storage unit.
The electronic cash register described.
【請求項4】 前記商品情報を印字する印字手段であっ
て、超過データ記憶手段に超過データが記憶されている
設定データを印字する際には、当該設定データと商品識
別情報とを商品情報記憶手段から読出して印字を行い、
さらに当該設定データに前記超過データを付加して、前
記印字される設定データに対応付けて印字する印字手段
を備えることを特徴とする請求項1記載の電子式金銭登
録機。
4. The printing means for printing the product information, wherein when the setting data in which the excess data is stored in the excess data storage means is printed, the setting data and the product identification information are stored in the product information. Read from the means and print
The electronic cash register according to claim 1, further comprising: a printing unit that adds the excess data to the setting data and prints the setting data in association with the setting data to be printed.
JP24981195A 1995-09-27 1995-09-27 Electronic cash register Expired - Lifetime JP3235955B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24981195A JP3235955B2 (en) 1995-09-27 1995-09-27 Electronic cash register

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24981195A JP3235955B2 (en) 1995-09-27 1995-09-27 Electronic cash register

Publications (2)

Publication Number Publication Date
JPH0991541A true JPH0991541A (en) 1997-04-04
JP3235955B2 JP3235955B2 (en) 2001-12-04

Family

ID=17198563

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24981195A Expired - Lifetime JP3235955B2 (en) 1995-09-27 1995-09-27 Electronic cash register

Country Status (1)

Country Link
JP (1) JP3235955B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014013596A (en) * 2013-09-03 2014-01-23 Casio Comput Co Ltd Sales data processor and program
JP2015092413A (en) * 2015-02-04 2015-05-14 カシオ計算機株式会社 Sales data processor and program
US10356170B2 (en) 2015-04-30 2019-07-16 Seiko Epson Corporation Network system and control method of a network system, and a control device
US10469350B2 (en) 2015-04-30 2019-11-05 Seiko Epson Corporation Network system and control method of a network system, and a control device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014013596A (en) * 2013-09-03 2014-01-23 Casio Comput Co Ltd Sales data processor and program
JP2015092413A (en) * 2015-02-04 2015-05-14 カシオ計算機株式会社 Sales data processor and program
US10356170B2 (en) 2015-04-30 2019-07-16 Seiko Epson Corporation Network system and control method of a network system, and a control device
US10469350B2 (en) 2015-04-30 2019-11-05 Seiko Epson Corporation Network system and control method of a network system, and a control device

Also Published As

Publication number Publication date
JP3235955B2 (en) 2001-12-04

Similar Documents

Publication Publication Date Title
EP1926002B1 (en) Work instruction management system
JP3235955B2 (en) Electronic cash register
JP3218263B2 (en) IC card and card processing device
JPS59194261A (en) Electronic cash register
JPH1166435A (en) Cash register
JPH10222577A (en) Management method in rental task of construction material and machinery and device therefor
JP2703940B2 (en) Card transaction processor
JPH02191061A (en) Credit terminal equipment
JP7189379B2 (en) Information terminal and its program
JPH079661B2 (en) Transaction processor
CN1987921A (en) Auto-transaction system
JP2004355378A (en) Business contact method using label printer
KR19980039850A (en) Apparatus and method for remote control function in electronic cash register
JP2002133345A (en) One time credit card and credit card authentication system
JP2000020802A (en) Card system for vending machine with expiration date controlling function
JPH0673133B2 (en) Transaction processor
JPH1063715A (en) Article rental contract processor
JPH09220345A (en) Prize exchange system
JP2001344324A (en) Support system for exchange of information between distribution businesses
JP2000235671A (en) Electronic cash register
JP2002049867A (en) Rental equipment management system
JP2010170167A (en) Business store transaction system and method
JPH03102595A (en) Automatic vending machine
JPH05135077A (en) Credit transaction processing device
JPH053037B2 (en)

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080928

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080928

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090928

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090928

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100928

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110928

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120928

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130928

Year of fee payment: 12

EXPY Cancellation because of completion of term