JP3235955B2 - Electronic cash register - Google Patents

Electronic cash register

Info

Publication number
JP3235955B2
JP3235955B2 JP24981195A JP24981195A JP3235955B2 JP 3235955 B2 JP3235955 B2 JP 3235955B2 JP 24981195 A JP24981195 A JP 24981195A JP 24981195 A JP24981195 A JP 24981195A JP 3235955 B2 JP3235955 B2 JP 3235955B2
Authority
JP
Japan
Prior art keywords
data
setting data
digits
buffer
stored
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP24981195A
Other languages
Japanese (ja)
Other versions
JPH0991541A (en
Inventor
誠次 伊藤
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

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 for performing a sales registration process at the time of merchandise registration in a store or the like, and more particularly to an electronic cash register for performing data communication with another electronic cash register. About.

【0002】[0002]

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

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

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

【0005】[0005]

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

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

【0007】前述の問題点を解決するために第2の例と
して、たとえば予め定められる桁数まではデータを記憶
手段に記憶し、予め定められる桁数を超えるデータは破
棄するような登録機では、たとえば予め定められる桁数
を7桁としたときに7文字目までが同一であると区別を
つけることができず、データの確認などの作業が必要と
なり手間がかかる。
In order to solve the above-mentioned problem, as a second example, for example, in a registration machine in which data is stored in 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 seven, if the first seven characters are the same, no distinction can be made, and work such as data confirmation is required, which is troublesome.

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

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

【0010】[0010]

【課題を解決するための手段】本発明は、商品毎に付与
される商品識別情報と、複数の桁数で構成される複数種
類の設定データによって構成される商品情報とを対応付
けて記憶し、前記設定データを予め定める桁数分記憶す
る商品情報記憶手段と、外部の装置から送信される前記
設定データ毎に受信処理を行う受信処理手段と、前記設
定データの前記予め定める桁数を超えた部分である超過
データを記憶する超過データ記憶手段と、受信した設定
データ毎に、当該設定データが予め定める桁数を超えて
いるかどうかを判定し、当該設定データが予め定める桁
数以内であると判定した場合には、設定データを商品情
報記憶手段に記憶し、当該設定データが予め定める桁数
を超えていると判定した場合には、当該設定データの前
記予め定める桁数までを商品情報記憶手段に記憶し、超
過データを超過データ記憶手段に記憶するデータ制御手
段と、前記商品情報を印字する印字手段であって、商品
情報における設定データを印字する際には、商品識別情
報と共に商品情報を印字し、超過データ記憶手段に超過
データが記憶されている設定データには、予め定める識
別符号を付加して印字する印字手段とを含むことを特徴
とする電子式金銭登録機である。本発明に従えば、電子
式金銭登録機におけるデータ制御手段は、受信処理手段
によって受信した設定データが、商品情報記憶手段にお
いて予め定められる桁数以内である場合には、当該設定
データを商品情報記憶手段に記憶する。また、予め定め
られる桁数を超える場合には、前記桁数までは商品情報
記憶手段に記憶し、予め定められる桁数を超える設定デ
ータ部分は超過データ記憶手段に記憶する。したがっ
て、前記桁数を超える桁数で構成される設定データを受
信した場合であっても、前記桁数までは商品情報記憶手
段に記憶し、商品情報記憶手段に記憶することができな
い超過データは、超過データ記憶手段に記憶されるの
で、設定データの受信後であっても前記桁数を超える桁
数で構成される設定データの確認を容易に行うことがで
きる。
SUMMARY OF THE INVENTION According to the present invention, merchandise identification information assigned to each merchandise is stored in association with merchandise information constituted by a plurality of types of setting data having a plurality of digits. Product information storage means for storing the setting data for a predetermined number of digits, reception processing means for performing a reception process for each of the setting data transmitted from an external device, and exceeding the predetermined number of digits of the setting data An excess data storage unit for storing excess data, which is a part of the received data, and for each of the received setting data, determining whether the setting data exceeds a predetermined number of digits, and determining that the setting data is within the predetermined number of digits. If it is determined, the setting data is stored in the product information storage means, and if it is determined that the setting data exceeds the predetermined number of digits, the predetermined number of digits of the setting data is Data control means for storing the excess data in the excess data storage means, and printing means for printing the product information, wherein when setting data in the product information is printed, the product Electronic money registration, comprising: printing means for printing product information together with identification information; and setting and printing excess data stored in excess data storage means with a predetermined identification code added thereto. Machine. According to the present invention, the data control means in the electronic cash register, when the setting data received by the reception processing means is within a predetermined number of digits in the product information storage means, stores the setting data in the product information. Store in storage means. If the number of digits exceeds a predetermined number, the number of digits is stored in the product information storage unit, and the setting data portion exceeding the predetermined number of digits is stored in the excess data storage unit. Therefore, even if the setting data including the number of digits exceeding the number of digits is received, the excess data that cannot be stored in the product information storage unit up to the number of digits is stored in the product information storage unit. Since it is stored in the excess data storage means, even after receiving the setting data, it is possible to easily confirm the setting data having the number of digits exceeding the above-mentioned number of digits.

【0011】また、印字手段は商品情報記憶手段に記憶
されている設定データを印字する際、超過データ記憶手
段に超過データが記憶されている設定データについては
予め定める識別符号を付加して印字する。したがって、
受信処理手段によって受信した設定データにおいて、予
め定める桁数を超えている設定データを容易に理解する
ことができる。
When printing the setting data stored in the commodity information storage means, the printing means adds a predetermined identification code to the setting data in which the excess data is stored in the excess data storage means and prints the data. . Therefore,
In the setting data received by the reception processing means, setting data exceeding the predetermined number of digits can be easily understood.

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

【0013】[0013]

【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とを含んで構成される。
FIG. 1 is a block diagram showing an electrical configuration of an electronic cash register (hereinafter simply referred to as a "register") 11 according to an embodiment of the present invention. The registration device 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 oscillator 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 processes such as sales registration based on micro-commands preliminarily stored in the ROM 13 and defining various operations in the registration device 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 sales are registered, the display 18 displays the product name and unit price of the product each time the product is registered. The drawer 19 stores cash,
Usually, it is stored in the registration machine 11, but it is withdrawn from the registration machine 11 only at the time of settlement after the end of sales registration. Buzzer 20
Alerts the operator by generating a buzzer sound when an abnormality occurs. The communication interface 21 defines, for example, settings for exchanging data between the registration device 11 and another registration device via a cable or the like. The crystal oscillation circuit 22 supplies a clock signal that defines the operation of another device in the registration device 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.
The keyboard 15 is provided with a mode switch 16.
The keyboard 15 includes a numeric 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-exempt key. 42, receipt issue / stop key 43, percent key 44, shin key 4
5, a number printing / time display key 46, a hanging key 47, a subtotal key 48, a current / 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 post receipt key 34 is used to issue a receipt after the transaction is completed in a mode in which the receipt issuance is stopped. The payment key 35 is used when a payment different from the sale 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 a wrong number is input and when a long buzzer sound is stopped. The X key 38 is used to register two or more identical products.
It is used when transmitting setting data to be described later. The deposit key 39 is used when there is a deposit different from the sale of the product. The correction key 40 is used when canceling incorrect registration.

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

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

【0021】置数キー31は、金額などの数字を入力す
るためのキーである。部門キー32は、商品を登録する
ためのキーであり、各部門キー32に後述する商品情報
を割当てておくことによって登録時に金額を入力しなく
ても売上登録を行うことができる。
The numeral key 31 is a key for inputting a number such as an amount. The section key 32 is a key for registering a product. By allocating product information described below to each section 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 a setting mode, a time mode, a registration mode, an inspection mode, and a settlement mode. A key (key) 25 is provided in the mode switch 16 so as to be removable therefrom, and each mode is set according to the angular displacement position of the key 25. By turning the key 25 to the "OFF" position, the power of the registration device 11 can be turned off.

【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 device 11. The RAM 14 stores 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 over data buffer 59. You.

【0024】表示バッファ51には、キーボード15か
ら入力された数値、および予めROM13などに記憶さ
れているメッセージデータなどが書込まれる。図3にお
いて、「現在のオペレータ」と示される操作担当者格納
領域52には、登録機11を操作している担当者に割り
当てられたコードが記憶されており、このコードは1日
の操作の開始時または操作者が交替するときに入力され
る。前記コードとは、操作者毎に異なるコードであり、
これによって操作者を識別することができる。図3にお
いて、「オペレータコード」と示される操作者コード格
納領域53には、登録機11を操作することができる全
操作者のコードが記憶される。上述の各操作者のコード
は、たとえば3桁の数字で表される。
In the display buffer 51, numerical values input from the keyboard 15, message data previously stored in the ROM 13 or the like are written. In FIG. 3, a code assigned to a person operating the registration device 11 is stored in an operation person storage area 52 indicated as “current operator”, and this code is used for one day of operation. It is input at the start or when the operator changes. The code is a code different for each operator,
Thus, the operator can be identified. In FIG. 3, codes of all operators who can operate the registration device 11 are stored in an operator code storage area 53 indicated as “operator code”. 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, a unit price, a tax classification, a discount amount for the minus key 41, a discount / surcharge rate for the percent key 44, and a tax rate for the consumption tax, which are determined in the setting mode, corresponding to each of the section keys 32 described above. ,
Also, various data such as a register number for identifying a registration machine are stored. Each of the data is read out as product information when performing the process in the registration mode. The tabulated data storage area 55 stores tabulated data such as the sales amount for each section, the number of transactions, and the section total generated by a registration operation or the like. The aggregated data is
After one day of registration, printer 1
7 is cleared after the report is printed.

【0026】送信バッファ56には、通信インタフェイ
ス21を介して設定データを他の登録機に送信する際
に、設定データが一時的に書込まれる。受信バッファ5
7は、他の登録機から送信された設定データが書込まれ
る。受信バッファ57に書込まれたデータは、設定デー
タ格納領域54へと転送される。ワークバッファ58に
は、登録機11においてアプリケーションプログラムを
実行させたり、プリンタ17などの周辺装置を制御する
際に利用される各種のフラグ、カウンタなどの値が記憶
される。桁数オーバーデータバッファ59には、通信イ
ンタフェイス21を介して他の登録機から送信されてき
た設定データを設定データ格納領域54に記憶する際、
一商品についての予め設定された桁数を超える超過分の
設定データが、設定データに対応付けられたシリアルナ
ンバーと共に書込まれる。
The setting data is temporarily written into the transmission buffer 56 when the setting data is transmitted to another registration device via the communication interface 21. Receive buffer 5
7 is for setting data transmitted from another registration device. The data written in the reception buffer 57 is transferred to the setting data storage area 54. The work buffer 58 stores values of various flags and counters used when the registration machine 11 executes an application program or controls a peripheral device such as the printer 17. When the setting data transmitted from another registration device via the communication interface 21 is stored in the setting data storage area 54,
Excessive setting data exceeding a preset number of digits for one product is written together with a 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 device 11. FIG. 4A shows a procedure for setting the registration device 11 to the reception mode. First, the operator of the registration device 11 sets a job code as
For example, the user inputs “80” using the numerical keys 31 and further presses the decimal point key 50 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 device 11 enters the reception mode, and waits for data from another device. When the data reception is completed, the reception mode is automatically released.

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

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

【0030】図4(4)では、単価設定データの送信処
理を設定する手順を示している。まず、登録機11の操
作者はジョブコードとして、たとえば数値キー31を用
いて「83」と入力し、さらに小数点キー50を押して
ジョブコードの入力を確定させる。さらに入力したジョ
ブコードを確認するためにXキー38を押すと単価設定
データの送信処理モードが選択される。現キー49が押
されると、単価設定データの送信が開始される。当該デ
ータの送信が終了するとデータ送信モードは自動的に解
除される。
FIG. 4D shows a procedure for setting the transmission processing of the unit price setting data. First, the operator of the registration device 11 inputs “83” as the job code using, for example, the numerical keys 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 transmission mode of unit price setting data 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 released.

【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 registration machines. In FIG. 5A, the registration device 11 and the registration device 61 are connected by a cable 62. Registration machine 6 on the sending side
No. 1 has the same configuration except that the number of digits of the setting data described later is set to be larger than that of the registration device 11, and therefore the description of the configuration is omitted. As shown in FIG. 4 described above, data is transmitted to the registration machine on the receiving side by setting the transmission and reception modes in each of the registration machines 11, 61. The data is transmitted from the registration device 61 on the transmission side to the cable 6.
2 to the registration device 11 on the receiving side.

【0032】図5(2)に示す登録機11aと登録機6
1aとは、たとえば赤外光65を用いた光通信によって
データの授受を行う。登録機11aは、登録機11にカ
スタマディスプレイ64を設けており、登録機61aは
登録機61にカスタマディスプレイ64と同一のカスタ
マディスプレイ63を設けている。
The registration device 11a and the registration device 6 shown in FIG.
1a transmits and receives data by optical communication using infrared light 65, for example. The registration device 11a has a customer display 64 provided on the registration device 11, and the registration device 61a has the same customer display 63 as the customer display 64 on the registration device 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 device 11a as viewed from the side opposite to the side on which the keyboard 15 is provided.
As shown in FIG. 5D, the customer displays 63 and 64 include a light emitting / receiving element light interface 66 and a display device 67.
It is comprised including. Light emitting / receiving element optical interface 6
6 transmits and receives infrared light 65, for example. The display device 67 displays the amount of money and the like in the same manner as the display 18 described above.

【0034】登録機11aと登録機61aとは、赤外光
65によってデータの授受を行っているので、図5
(1)に示す接続例のようにケーブル62で接続する手
間をかけずにデータの授受を行うことができる。また、
ケーブル62の長さによる距離の制限を受けることがな
い。なお、以下の説明においては、登録機11および登
録機61を用いて説明を行うが、登録機11aおよび登
録機61aについても同様である。
Since the registration device 11a and the registration device 61a transmit and receive data by using 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,
There is no restriction on the distance due to the length of the cable 62. In the following description, the registration device 11 and the registration device 61 will be described, but the same applies to the registration device 11a and the registration device 61a.

【0035】図6は、格納領域54および受信バッファ
57の構成を示す図である。図6(1)は、データを送
信する登録機61の設定データについて示す図である。
商品コード桁数領域71には商品コードとして記憶する
ことができる桁の数が記憶されている。本発明の実施の
この形態においては、商品コードは5桁まで記憶するこ
とができる。
FIG. 6 is a diagram showing the configuration of the storage area 54 and the reception buffer 57. FIG. 6A is a diagram illustrating 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 present invention, the product code can store up to five digits.

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

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

【0038】図6(3)は、送信側である登録機61の
送信バッファと、受信側である登録機11の受信バッフ
ァ57とを示す図である。登録機61の送信バッファと
受信バッファ57とは、互いの装置においてデータの授
受が可能であるように等しい大きさの記憶領域を有す
る。また、登録機61の受信バッファと登録機11の送
信バッファ56とについても同一の構成である。以下の
説明では、受信バッファ57として説明を行う。
FIG. 6C is a diagram showing a transmission buffer of the registration unit 61 on the transmission side and a reception buffer 57 of the registration unit 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 unit 61 and the transmission buffer 56 of the registration unit 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 into the reception buffer 57, each data is given a serial number in order from "001". The serial number is stored in the setting data storage area 5
When data is stored in the 4 and digit number over data buffer 59, each data is added to each data, and the same product is given the same serial number. Receive buffer 57
Has an area of 20 digits for one data. Data with less than 20 digits is 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, loss of data during data transfer can be prevented.

【0040】図6(3)に示す受信バッファ57には、
品名データが記憶されている。シリアルナンバー「00
1」には、品名データとして「チクワ」が記憶され、品
名データに引続いて17桁のNULコードが記憶されて
いる。実施のこの形態においては、各データを20桁に
揃えたが、さらに多い桁数であっても少ない桁数であっ
てもよい。受信バッファ71では、たとえば6つのデー
タを1組としてデータが扱われており、各組に対応付け
てデータを識別するための項目データが付せられる。前
記項目データは、たとえば商品コードが「1」、品名が
「2」、単価「3」と定められる。図6(3)において
は、各組毎に「2」と記憶されており、受信バッファ5
7に記憶されているデータが品名であることを示してい
る。
The reception buffer 57 shown in FIG.
Item 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 has 20 digits. However, the number of digits may be larger or smaller. In the reception buffer 71, for example, data is handled as one set of six data, and item data for identifying data is added in association with 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 group, and the reception buffer 5
7 indicates that the data is an article 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 excess data buffer 59 in the registration device 11. FIG. 7A shows a product code storage area 8.
7 shows the contents stored in the product name storage area 85. FIG. The product code storage area 84 stores the product code of each product in association with the serial number. The product name storage area 85 stores the product name of each product 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 only store the product name up to 7 digits,
Some product names are only stored halfway. For example,
The product name associated with the serial number “005” is “Satsuma Agehi Latin” with reference to FIG. 6C, but the product name storage area 85 stores only up to “Satsuma Agehi”.

【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. 7 (3) in association with the serial number "005". Data that could not be stored in the product name storage area 85 is stored in the digit number excess data buffer 59 in association with a serial number for each product. 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 a data format for one block of received data. FIG. 8A shows the data format of the received data for one block. The reception 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 one byte, and indicates the start of one block of data.
The item data 92 stores the item data. The setting data 93 stores six 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 there is a data defect. The end code 95 is composed of one byte and is a code indicating the end of one 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 the communication END data transmitted as the last block of the received data. The received data shown in FIG.
1, item data 92, check code 94, end code 95, and end code 96. The item data 92 in the data is “0” indicating the end block. The end code 96 includes “FF” as the end code 96 indicating the end of the data.
Is stored.

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

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

【0048】受信バッファADDR1は、受信バッファ
57の先頭番地を格納する領域を示し、受信バッファA
DDR2は受信バッファADDR1によって示される番
地の次の番地を格納する領域を示し、項目ADDRは前
記項目データによって示される各格納領域84,85,
86のいずれか1つの領域の先頭番地を格納する領域を
示す。実施のこの形態においては、オーバーバッファA
DDR、受信バッファADDR1、受信バッファADD
R2、および項目ADDRは、たとえばワークバッファ
58に設けられる。
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 an address next to the address indicated by the reception buffer ADDR1, and an item ADDR indicates each of the storage areas 84, 85,.
86 indicates an area for storing the start address of any one of the areas 86. In this embodiment, the overbuffer A
DDR, receive buffer ADDR1, receive buffer ADD
R2 and the item ADDR are provided, for example, in the work buffer 58.

【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 or not the received data is communication END data indicating 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 data for one block is written into the reception buffer 57, and the process returns to step s1 to wait for reception of the next data.

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

【0051】ステップs6では、受信バッファADDR
1を1増加させて最初の設定データの先頭番地に設定
し、シリアルナンバーとして受信データの第1番目のデ
ータであることを示す「001」をセットし、桁数オー
バーバッファ59の先頭番地をオーバーバッファADD
Rに書込み、受信データの桁数が登録機11において予
め設定されている最大桁数を超える場合に桁数オーバー
データバッファ59の先頭番地から書込むことができる
ようにする。
At step s6, the reception buffer ADDR
1 is incremented by 1 and set as the start address of the first set data, and “001” indicating that it is the first data of the received data is set as the serial number, and the start 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 the registration device 11 in advance, the data can be written from the head address of the digit number excess data buffer 59.

【0052】ステップs7では、受信バッファADDR
2を受信バッファADDR1の示す番地の次の受信デー
タの先頭番地に設定するために、受信バッフADDR1
に記憶されている番地を20増加させた番地を受信バッ
ファADDR2に書込む。これによって、最大桁数であ
る20桁の設定データを受信した場合でも、各受信設定
データの先頭番地がずれることなく正しく設定データを
取り込むことができる。
At step s7, the reception buffer ADDR
2 is set as the start address of the reception data following the address indicated by the reception buffer ADDR1.
Is written to the reception buffer ADDR2. As a result, even when setting data of 20 digits, which is the maximum number of digits, is received, the setting data can be correctly loaded 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 or not the received data is product code setting data based on the first data of the received data, ie, the item data. If the received data is the product code setting data, the process proceeds to step s9. In step s9, it is determined whether or not the serial number is "001". If the serial number is "001", the process proceeds to step s10. In step s10, the head address of the product code setting data is written in the item ADDR, and the first data of the received setting data is written at the head 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 set data. In step s12, the reception buffer A
The data at the address indicated by DDR1 is read, and it is checked whether it is a NUL code, that is, "00". If 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 process from step s11 is performed.

【0055】ステップs8において、受信したデータが
商品コード設定データでない場合にはステップs13に
進む。ステップs13では、受信した設定データの種類
を示す項目データバッファに記憶されているデータが品
名設定データであるかどうかを判断する。品名設定デー
タである場合にはステップs14に進む。ステップs1
4では、シリアルナンバーが「001」かどうかを判断
する。シリアルナンバーが「001」である場合にはス
テップs15に進む。
If it is determined in step s8 that the received data is not product code setting data, the flow advances 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 item name setting data. If the data is product name setting data, the process proceeds to step s14. Step s1
In step 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以降の処理を行う。
In step s15, the start 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 product name set in advance is written into the number of digits buffer. After writing the number of digits of the product name in the number of digits buffer, step s12
The following processing is performed. If it is determined in step s14 that the serial number is not "001", the processes in and after step s16 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, the process proceeds to step s13.
Proceed to 17. This setting data is determined to be unit price setting data. If 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 number of digits of the unit price set in advance is written into the number buffer. After writing the number of digits of the unit price in the number of digits buffer, the process from step s12 is performed. If it is determined in step s17 that the serial number is not “001”, the processes in and after step s19 are performed.

【0058】ステップs12において、受信バッファA
DDR1のデータがNULコードでないと判断した場合
にはステップs20に進む。ステップs12は、受信し
た設定データを全て設定データ格納領域54に書込んだ
かどうかを判定するために行われる処理であり、データ
の先頭がNULコードであれば設定データがすべて書込
まれたとして処理を終了し、データの先頭がNULコー
ドでなければ書込まれていない設定データがあると判断
する。
At step s12, the receiving buffer A
If it is determined that the data of DDR1 is not a NULL 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 to the setting data storage area 54. If the head of the data is a NULL code, it is determined that all the setting data has been written. Is terminated, and it is determined that there is setting data that has not been written unless the head 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 to the address indicated by the item ADDR, and
The value of R is incremented by 1 to set an address where the next setting data is to be written. Also, the value of the reception buffer ADDR1 is increased by 1,
Set the address to read the next setting data. Further, the number of digits set in the digit number buffer is reduced by one assuming that one digit of one setting data has been transmitted.

【0060】ステップs21では、桁数バッファの値を
1減少させた結果が0であるかどうかを判断する。前記
結果が0であれば、設定されている桁数の書込みが終了
したものとしてステップs22に進む。ステップs22
では、区切りフラグ(FLG)に「1」をセットし、受
信した設定データの桁数が予め設定されている桁数を超
えた場合、桁数オーバーデータバッファ59にデータの
区切りを示す「%」および前記設定データに対応付けら
れたシリアルナンバーをデータに先立って書込む。
In step s21, it is determined whether or not the result of reducing 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 has been completed, and the process proceeds to step s22. Step s22
Then, the delimiter flag (FLG) is set to "1", and when the number of digits of the received setting data exceeds the preset number of digits, the digit number over data buffer 59 stores "%" indicating the data delimiter. And a 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 unit 11, the data indicated in the reception buffer ADDR1 is read in step s23, and in step s24, the read data is NULL. Determine if it is a code. The data at the address indicated in the receive buffer ADDR1 is NULL
If not, 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」とする。
In step s 26, the delimiter code “%” and the serial number are written into the address indicated by the over buffer ADDR in the digit number over data buffer 59. After writing is completed, over buffer ADDR
Is increased by 4, and an address at which data writing is started is set. Since the delimiter code “%” and the serial number have been written into the digit number excess 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 at the address indicated by R1 is written into the digit number over data buffer 59 indicated by the over buffer ADDR. Steps
In step 28, the value of the overbuffer ADDR is incremented by 1, and an address at which data exceeding the next digit number is written is set.
Further, the value of the reception buffer ADDR1 is incremented by 1 and an address for reading the next data is set.

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

【0065】前述のように1ブロックの受信データは、
1バイトの項目ナンバーと20バイトの設定データ6個
とを含んで構成されているので、受信設定データの6デ
ータ単位に項目データが挿入された状態となっている。
したがって、1増加されたシリアルナンバーに対応付け
られるデータが受信設定データの1ブロック分の先頭デ
ータであるかどうかを判断する必要がある。そのため、
ステップs31では、シリアルナンバーをシリアルデー
タとして所定の領域に書込み、以下に行う処理によって
判断する。
As described above, one block of received data is
Since it is configured to include a 1-byte item number and six 20-byte setting data, the item data is inserted in six data units of the reception setting data.
Therefore, it is necessary to determine whether the data associated with the serial number incremented by 1 is the first data of one block of the reception setting data. for that reason,
In step s31, the serial number is written to a predetermined area as serial data, and the determination 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
Decrease. In step s33, it is determined whether or not 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 data is the head data of one block of the reception setting data, the reception buffer ADDR1 is incremented by 1, and the item data that is the head data of one 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 the 1 setting data, and the leading address of the 1 setting data is set. After the processing of step s34, the processing of step s8 and thereafter is 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 flow advances to step s36. In step s36, it is determined whether or not the serial data exceeds 0. If the serial data exceeds 0, the process 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 data is not the head data of one block of the reception setting data, the value of the reception buffer ADDR2 is increased by 20, and the head address of one setting data is set. After the processing in step s37 ends, the processing in step s8 and thereafter 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以降の処理を行
う。
In step s21, if the result of reducing the digit number buffer by 1 is not 0, it is determined that the writing for the preset number of digits in the registration device 11 has not been completed, and the processing from step s20 is performed. Step s
If it is determined in 24 that the data at the address indicated in the reception buffer ADDR1 is a 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 device 11,
Receive buffer ADDR, which is the start address of the next setting data
2 is written into the reception buffer ADDR1. Step s30 after writing to the reception buffer ADDR1 is completed.
The following processing is performed. If it is determined in step s25 that the separation flag is not “1”, step s27
The following processing is performed. In step s29, if the reception buffer ADDR1 and the reception buffer ADDR2 do not match, it is determined that the number of digits in the reception buffer is within 20 digits, which is the maximum number of digits in the reception buffer.

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

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

【0071】したがって、登録機11が受信した設定デ
ータにおいて、設定データの一部分が桁数オーバーデー
タバッファ59に記憶されている設定データには識別符
を付して印字することとなるので、データが途中までし
か示されないために各設定データの認識が困難である設
定データについて、変更の必要があることを登録機11
の操作者に認識させることができる。なお、設定データ
を印字する際に複数の設定データのなかから設定データ
を選択して印字させることもできる。本発明の実施のこ
の形態においては、品名を選択して印字させるようにし
た。
Accordingly, in the setting data received by the registration device 11, a part of the setting data is printed with the identification mark attached to the setting data stored in the digit number excess data buffer 59. The registration unit 11 informs the user that the setting data, which is difficult to recognize because the setting data is only displayed halfway, needs to be changed.
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, a 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 printing example when the registration setting device 11 checks and prints the product name setting data received. In FIG. 11A, each setting data received by the registration device 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 item of the product whose product name exceeds seven digits is provided with the identification code 101. . FIG.
In (1), a 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 seven digits when printing, the operator of the registration machine 11 easily determines which product name has more than seven digits. be able to. Therefore, it is difficult to recognize the product name because the product name is shown only partway, and it is possible to confirm data that needs to be changed.

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

【0075】したがって、データ受信した際に7桁を超
えていた品名の確認が容易であるだけでなく、品名格納
領域85に記憶される際にあふれた8桁目以降の品名デ
ータを同時に見ることができる。データの送信元におけ
る品名を基にして品名格納領域85に記憶されている品
名の変更を行うことができる。
Therefore, not only is it easy to confirm the product name exceeding 7 digits when data is received, but also the product name data after the 8th digit that overflows when stored in the product name storage area 85 is simultaneously viewed. Can be. 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 flow charts showing the processing when the registration machine 11 checks and prints the setting data stored in the setting data storage area 54.
In this flowchart, check 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 device 11. Inspection print 2
In the setting data received by the registration device 11, the result of storing the setting data having a number of digits exceeding a predetermined number of digits in the setting data storage area 54 of the registration device 11 and the setting data in the received state are described above. This is a mode for printing in association with each other as shown in FIG.

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

【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 preset number of digits in the registration device 11 is cleared, and the over end indicating the serial number of the reception setting data exceeding the number of digits is cleared. “000” is written in the over serial number as a serial number, and “001” indicating the leading setting data is set in the serial number indicating the serial number of the setting data currently being printed. The serial number matches the serial number indicating the order of the 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 inspection printing, 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 is used to print the product name. The first address of the address 85 is written in the item ADDR2. Further, a 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.
9 is written to the overbuffer ADDR.

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

【0081】ステップp5では、いずれの点検印字モー
ドであるかを判断する。点検印字モードフラグが「2」
でない場合にはステップp6に進む。ステップp6で
は、予め設定されている商品コードの桁数を桁数バッフ
ァに書込む。ステップp7では、プリントバッファの2
桁目の番地から商品コードを書込むために、プリントバ
ッファの番地を格納するプリントバッファADDRの値
を1増加させ番地を進める。
At step p5, it is determined which inspection printing mode is set. Check print mode flag is "2"
If not, proceed to step p6. In step p6, the number of digits of the product code set in advance is written into the number of digits buffer. At step p7, the print buffer 2
In order to write the product code from the address of the digit, the value of the print buffer ADDR for storing the address of the print buffer is increased 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 stored in the print buffer ADD.
The data is transferred 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 value of the item ADDR1 and the value of the print buffer ADDR are increased by one, and each address is advanced by one. In addition, the digit number buffer is reduced by one. In step p9, it is determined whether or not the digit number buffer has become 0 as a result of reducing the digit number buffer by one. Number of digits buffer is 0
If not, the processing after step p8 is performed. When the digit number buffer becomes 0, the process proceeds to step p10.

【0083】ステップp10では、商品コードのすべて
がプリントバッファに転送完了したものとしてプリント
バッファADDRの値を1増加させることによって、次
の品名を転送するためにプリントバッファの番地を1番
地進め、商品コードと品名との間に1桁分スペースを挿
入する。商品コードの転送が終了したので、続いて品名
の転送に進み、予め設定されている品名の桁数を桁数バ
ッファに書込む。
At 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, thereby increasing the address of the print buffer by one to transfer the next product name. Insert a space for one digit between the code and the product name. Since the transfer of the product code is completed, the process proceeds to the transfer of the product name, and the preset number of digits of the product name is written in the number buffer.

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

【0085】ステップp12では、桁数バッファを1減
少させた結果、桁数バッファが0になったかどうかを判
断する。桁数バッファが0ではないと判断された場合に
は、ステップp11以降の処理を行う。桁数バッファが
0であると判断された場合にはステップp13に進む。
ステップp13では、品名のすべてがプリントバッファ
に転送完了したものとして点検印字モードの確認を行
う。すなわち現在の点検印字モードがいずれの点検印字
モードであるかどうかを判断する。
At step p12, it is determined whether or not the number buffer becomes 0 as a result of reducing the number buffer by one. When it is determined that the digit number buffer is not 0, the process from step p11 is performed. When it is determined that the digit number buffer is 0, the process proceeds to step p13.
At step p13, the check 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 is the current inspection print mode.

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

【0087】シリアルナンバーとオーバーシリアルナン
バーとが一致する場合には、ステップp16に進む。シ
リアルナンバーとオーバーシリアルナンバーとが一致す
る場合、ステップp16では直前に転送した商品コー
ド、品名が予め設定されている桁数を超えた受信設定デ
ータである事を示すため、プリントバッファの先頭番地
に前記桁数を超えた受信設定データである事を示す
「%」を転送する。
If the serial number and the over serial number match, the process proceeds to step p16. If the serial number and the over-serial number match, in step p16, to indicate that the product code and the product name transmitted immediately before are the reception setting data exceeding 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以降の処理を行う。
At step p17, the setting data written in the print buffer is printed. Step p1
In step 8, the CPU waits for the printing of the data in the print buffer to be completed, reads the data at the address indicated by the item ADDR1, and determines whether all the setting data has been printed based on whether the read data is a NULL code. I do. If all the setting data has not been printed, the process proceeds to step p19. At step p19, the serial number is incremented by one. After the serial number is incremented by one, the processing after step p3 is performed.

【0089】ステップp5において、点検印字モード2
であると判断した場合にはステップp27に進む。ステ
ップp27では、オーバーENDフラグが「1」である
かどうかを判断する。オーバーENDフラグが「1」で
ある場合には、予め設定されている桁数を超えた受信設
定データが全て印字できたものとして点検印字モード2
の処理を終了する。
In step p5, check print mode 2
If it is determined that the above is true, 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 has been printed, and the inspection printing 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 flow proceeds to step p28. In step p28, assuming that all of the reception setting data exceeding the preset number of digits has not been printed, the product code and product name of the next reception setting data exceeding the number of digits are overprinted. Write the number to the overserial buffer. Step p29
Then, the item ADDR1 is set in units of a predetermined number of digits of the product code using the overserial number written in the overserial buffer as a counter.
The address is advanced by a predetermined number of digits of the product name, and the product code of the reception setting data exceeding 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. At Step p30, it is determined whether or not the overserial buffer is 0. If it is determined that the value of the overserial buffer is 0, the process from step p6 is performed. If it is determined that the value of the overserial buffer is not 0, the process 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 when step p1
If it is determined in step 5 that the serial number is not the same as the over serial number, the process from step p17 is performed.

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

【0093】データを転送するプリントバッファの番地
を示すプリントバッファADDRに、プリントバッファ
の先頭番地に商品コードの桁数、品名の桁数、先頭のス
ペース、および商品コードと品名との間のスペースを加
えた桁数分を加算した番地を設定する。前記先頭のスペ
ース、および商品コードと品名との間のスペースは1桁
である。ステップp22では、続けて転送するオーバー
バッファADDRに示されるデータを読込む。ステップ
p23では、読出したデータが次の超えた桁の部分のデ
ータとの区分コードである「%」であるかどうかを判断
する。読出したデータが「%」でない場合にはステップ
p24に進む。
In the print buffer ADDR indicating the address of the print buffer for transferring data, 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 added to the start address of the print buffer. Set the address to which the number of added digits is added. The leading space and the space between the product code and the product name are one digit. At step p22, the data indicated in the overbuffer ADDR to be subsequently transferred is read. At step p23, it is determined whether or not the read data is "%" which is a division code with the data of the next extra digit part. If the read data is not "%", the flow 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
It is determined whether it is a UL code. If it is determined that the read data is not a NULL code, the process proceeds to step p2.
Go to 5. In step p25, it is determined that the read data is the data of the digit portion exceeding the read data, and the read data is transferred to the address of the print buffer indicated by the print buffer ADDR. After transferring the read data, the print buffer ADDR and the over buffer ADDR are set to 1
The address is increased and the next data read address and the transfer destination address are advanced by one address.

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

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

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

【0098】ステップu3では、読出したデータが
「%」を示すデータであることに基づいてオーバーバッ
ファADDRの番地を1増加させ、桁数オーバーデータ
バッファ59上の番地を1進める。すなわち、区切りコ
ード「%」の次の番地をオーバーバッファADDRに設
定する。オーバーバッファADDRに格納されている桁
数オーバーデータバッファ59上の番地のデータを3バ
イト分オーバーシリアルナンバーに書込む。前記3バイ
トは桁数を超えた設定データに対応付けられているシリ
アルナンバーを示す。続いてオーバーバッファADDR
の値を3増加させ、前記シリアルナンバー分だけ桁数オ
ーバーデータバッファ59上の番地を進める。
In step u3, the address of the over buffer ADDR is incremented by one based on the fact that the read data is data indicating "%", and the address on the digit number over data buffer 59 is advanced by one. That is, the address next to the delimiter code “%” is set in the overbuffer ADDR. The data at the address on the number-of-digits overdata buffer 59 stored in the overbuffer ADDR is written into the overserial number for three bytes. The three bytes indicate a serial number associated with setting data exceeding the number of digits. Then over buffer ADDR
Is incremented by 3, and the address on the number-of-digits-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 determined whether the check print mode flag is "1" and the current check print mode is confirmed. If the mode is the inspection print mode 1, the process proceeds to step u5. In step u5, the overbuffer AD
The data at the address indicated by DR is read, and the value of the overbuffer ADDR is incremented by one. In step u6, it is determined whether or not the data read in step u5 is data indicating a delimiter code "%". If the data is data indicating a delimiter code, the process proceeds to step u7.

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

【0102】ステップu4において、点検印字モード2
であると判断された場合にはオーバーシリアルナンバー
の更新を終了する。ステップu6において、区切りコー
ドを示すデータでないと判断した場合にはステップu9
に進む。ステップu9においては、ステップu5におい
て読出したデータがNULコードであるかどうかを判断
する。NULコードである場合には、以後桁数を超えた
データがないものと判断してステップu7以降の処理を
行う。また、NULコードではないと判断した場合には
ステップu5以降の処理を行う。
In step u4, check print mode 2
If it is determined that the serial number is over, the update of the overserial number ends. If it is determined in step u6 that the data is not data indicating a delimiter code, step u9 is performed.
Proceed to. In step u9, it is determined whether or not the data read in step u5 is a NULL 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 from step u5 is performed.

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

【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 whose data is stored in the number-of-digits-overdata buffer 59. Is performed, 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 setting data is stored in the number-of-digits excess data buffer 59, and the setting data of the number of digits that can be stored in the setting data storage area 54 and the setting data of the number of digits that are stored in the setting data storage area 54 And the data obtained by combining the setting data and the excess setting data corresponding to the setting data stored in the number-of-digits-over-data buffer 59 are arranged vertically, and the leading position of the data is aligned. 17, the data stored in the setting data storage area 54 can be compared with the data received by the registration device 11, and the data such as the product name due to the failure to write all the setting data can be compared. It is easy to check for confusing data that may cause duplication or misunderstanding. Further, the stored data can be compared with the received data, so that the stored data can be easily and accurately corrected.

【0106】[0106]

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

【0107】また、商品情報における設定データを印字
する際、超過データ記憶手段に超過データが記憶されて
いる設定データには予め定める識別符号を付加して印字
するので、商品情報のいずれの設定データが予め定める
桁数以上のデータで構成されているかを容易に理解する
ことができ、いずれの設定データの修正が必要であるか
を認識することができる。また、印字結果を参照するこ
とによって適切に設定データの修正を行うことができ
る。
Further, 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 printed with a predetermined identification code added thereto. Can be easily understood whether or not is composed of data of a predetermined number of digits or more, and it can be recognized which set data needs to be corrected. The setting data can be appropriately corrected by referring to the print result.

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

【0109】[0109]

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

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

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

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

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

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

【図6】設定データ格納領域54および受信バッファ5
7の構成を示す図である。
FIG. 6 shows 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 excess data buffer 59;

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

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

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

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

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

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

【図14】オーバーシリアルナンバーの更新処理を示す
フローチャートである。
FIG. 14 is a flowchart showing an update process of 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 桁数オーバーデータバッファ Reference Signs List 11 registration 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 Transmission buffer 57 Reception buffer 58 Work buffer 59 Digit over data buffer

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 商品毎に付与される商品識別情報と、複
数の桁数で構成される複数種類の設定データによって構
成される商品情報とを対応付けて記憶し、前記設定デー
タを予め定める桁数分記憶する商品情報記憶手段と、 外部の装置から送信される前記設定データ毎に受信処理
を行う受信処理手段と、 前記設定データの前記予め定める桁数を超えた部分であ
る超過データを記憶する超過データ記憶手段と、 受信した設定データ毎に、当該設定データが予め定める
桁数を超えているかどうかを判定し、当該設定データが
予め定める桁数以内であると判定した場合には、設定デ
ータを商品情報記憶手段に記憶し、当該設定データが予
め定める桁数を超えていると判定した場合には、当該設
定データの前記予め定める桁数までを商品情報記憶手段
に記憶し、超過データを超過データ記憶手段に記憶する
データ制御手段と、 前記商品情報を印字する印字手段であって、商品情報に
おける設定データを印字する際には、商品識別情報と共
に商品情報を印字し、超過データ記憶手段に超過データ
が記憶されている設定データには、予め定める識別符号
を付加して印字する印字手段とを含むことを特徴とする
電子式金銭登録機。
1. A method according to claim 1, wherein the product identification information assigned to each product is stored in association with product information including a plurality of types of setting data having a plurality of digits, and the setting data is stored in a predetermined digit. Product information storage means for storing several minutes, reception processing means for performing reception processing for each of the setting data transmitted from an external device, and storing excess data which is a portion of the setting data exceeding the predetermined number of digits An excess data storage unit that determines whether the setting data exceeds a predetermined number of digits for each received setting data, and if it determines that the setting data does not exceed the predetermined number of digits, The data is stored in the product information storage means, and when it is determined that the setting data exceeds the predetermined number of digits, the product information storage means stores up to the predetermined number of digits of the setting data. Data control means for storing and storing excess data in excess data storage means, and printing means for printing the product information, wherein when setting data in the product information is printed, product information is printed together with product identification information. And a printing means for adding a predetermined identification code to the setting data in which the excess data is stored in the excess data storage means for printing.
【請求項2】 前記印字手段は、商品情報記憶手段に記
憶されている複数種類の設定データのうち、選択された
種類の設定データを印字することを特徴とする請求項1
記載の電子式金銭登録機。
2. The printing apparatus according to claim 1, wherein the printing unit prints a selected type of setting data among a plurality of types of setting data stored in the product information storage unit.
The electronic cash register described.
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 JPH0991541A (en) 1997-04-04
JP3235955B2 true 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)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5700089B2 (en) * 2013-09-03 2015-04-15 カシオ計算機株式会社 Sales data processing apparatus and program
JP5994876B2 (en) * 2015-02-04 2016-09-21 カシオ計算機株式会社 Sales data processing apparatus and program
JP2016212491A (en) 2015-04-30 2016-12-15 セイコーエプソン株式会社 Network system, network system control method, and control device
JP6528528B2 (en) 2015-04-30 2019-06-12 セイコーエプソン株式会社 Network system, control method of network system, and printer

Also Published As

Publication number Publication date
JPH0991541A (en) 1997-04-04

Similar Documents

Publication Publication Date Title
JP2017138833A (en) Checkout system and registration device
JP3235955B2 (en) Electronic cash register
JPS59194261A (en) Electronic cash register
JP3218263B2 (en) IC card and card processing device
JP3722024B2 (en) Sales data processor
JP7314214B2 (en) Checkout system, registration device and control program
JP2703940B2 (en) Card transaction processor
JPH079661B2 (en) Transaction processor
JPH02191061A (en) Credit terminal equipment
JP3249734B2 (en) Electronic cash register
JP2868377B2 (en) Product management system
JPH1063715A (en) Article rental contract processor
JP2723706B2 (en) In-kind bill management system
JPS6380391A (en) Data managing apparatus
JP2000235671A (en) Electronic cash register
JPH0673133B2 (en) Transaction processor
JP2002049867A (en) Rental equipment management system
JPS6022445Y2 (en) vending machine
JPH03102595A (en) Automatic vending machine
JPH0877245A (en) Stock ordering transaction terminal machine
JP2000020802A (en) Card system for vending machine with expiration date controlling function
JPH03109693A (en) Terminal equipment for credit account settling
JPH04184596A (en) Card processor
JPH03248295A (en) Credit processor
JPH05282334A (en) Transaction processing terminal equipment

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