JPH05307685A - Data transmission method - Google Patents

Data transmission method

Info

Publication number
JPH05307685A
JPH05307685A JP29661992A JP29661992A JPH05307685A JP H05307685 A JPH05307685 A JP H05307685A JP 29661992 A JP29661992 A JP 29661992A JP 29661992 A JP29661992 A JP 29661992A JP H05307685 A JPH05307685 A JP H05307685A
Authority
JP
Japan
Prior art keywords
data
unit price
ecr
transaction
plu
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP29661992A
Other languages
Japanese (ja)
Other versions
JPH0812717B2 (en
Inventor
Hironobu Matsunaga
宏信 松永
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP4296619A priority Critical patent/JPH0812717B2/en
Publication of JPH05307685A publication Critical patent/JPH05307685A/en
Publication of JPH0812717B2 publication Critical patent/JPH0812717B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Cash Registers Or Receiving Machines (AREA)

Abstract

PURPOSE:To transmit processed data to a master side at the time of processing data by prescribed number. CONSTITUTION:ECR (electronic cash register) 11 on the master side retrieves PLU file PF with respect to the inquiry of a unit price corresponding to a PLU number from ECR 13 on a slave side and transmits unit price data obtained by it to inquiring ECR 13 on the slave side. Besides, ECR 13 on the slave side update-processes sales data based on unit price data transmitted from ECR 11 on the master side and inputted sales objects number data, etc., in response to an inquiry and stores the updated piece of sales data in a one- transaction portion register memory D. Data stored in the one-transaction portion register memory D is transmitted to ECR 11 on the master side at the time of operating a cash/keeping key and ECR 11 updates the PLU file PF with the piece of transmission data.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、POSシステムに用
いられるデータ伝送方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transmission system used in a POS system.

【0002】[0002]

【従来の技術】従来、ECR(電子式キャッシュレジス
タ)、POSシステムにあっては、マスター側ECRに
複数台のスレーブ側ECRを接続し、マスター側ECR
に商品別の売上データを記憶するPLUファイルを設
け、各スレーブ側ECRで売上げられたPLU別売上デ
ータをマスター側ECRに伝送してPLUファイルに収
集するようにした集中型のデータ伝送システムが知られ
ている。このような集中型のデータ伝送システムにおい
ては、スレーブ側でPLU登録が行なわれる毎に、バー
コードリーダー等から入力されたPLU別売上データ
(PLUコード及び売上個数等)をマスター側に伝送す
ることにより、マスター側のPLUファイルのデータを
更新するようにしていた。
2. Description of the Related Art Conventionally, in an ECR (electronic cash register) or POS system, a plurality of slave side ECRs are connected to a master side ECR, and a master side ECR is connected.
A centralized data transmission system is known in which a PLU file for storing sales data for each product is provided, and the sales data for each PLU sold by each slave ECR is transmitted to the master ECR and collected in the PLU file. Has been. In such a centralized data transmission system, each time PLU registration is performed on the slave side, sales data for each PLU (PLU code, sales quantity, etc.) input from a barcode reader etc. is transmitted to the master side. Therefore, the data of the PLU file on the master side is updated.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上述の
如く、各スレーブ側でPLU別登録が行なわれる毎に、
PLUコード及び売上個数等をマスター側へ伝送する
と、データ伝送量が非常に多くなり回線の使用効率が落
ちる。また、マスター側の伝送処理にかかる負担も大き
いという問題があった。また、閉店時にスレーブ側のデ
ータをマスター側に収集するものでは営業途中での売上
状況を点検によって確認することができない。この発明
の課題は、データを一取引の終了指示によりマスター側
へ伝送できるようにすることである。
However, as described above, each time PLU-specific registration is performed on each slave side,
If the PLU code, the number of sales, etc. are transmitted to the master side, the amount of data transmission becomes very large and the use efficiency of the line drops. In addition, there is a problem that the transmission processing load on the master side is heavy. Further, if the data on the slave side is collected by the master side when the store is closed, it is not possible to confirm the sales situation during the business by inspection. An object of the present invention is to enable data to be transmitted to a master side by an instruction to end one transaction.

【0004】[0004]

【課題を解決するための手段】図1はこの発明の構成を
示した機能ブロック図であり、図中1はマスター側電子
機器、1aはマスター側電子機器に備えられ、例えば、
PLUコード、第1単価、第2単価等の分類別設定デー
タ等を記憶する分類別ファイルでスレーブ側電子機器2
から伝送されてくる更新データに基づいて更新されるも
のである。また、2aはスレーブ側電子機器に備えら
れ、例えば、PLUコード、単価等の分類別データを記
憶する記憶手段である。
FIG. 1 is a functional block diagram showing the configuration of the present invention, in which 1 is a master side electronic device and 1a is a master side electronic device.
The electronic device 2 on the slave side is a classification file that stores classification setting data such as PLU code, first unit price, second unit price, and the like.
It is updated based on the update data transmitted from the. Reference numeral 2a is a storage unit provided in the slave electronic device and storing, for example, classification-based data such as a PLU code and a unit price.

【0005】[0005]

【作用】マスター側電子機器1は分類別の更新データを
記憶する分類別ファイル1aを備え、この分類別ファイ
ル1aの更新データはスレーブ側電子機器2から伝送さ
れる更新データに基づき更新される。また、スレーブ側
電子機器2は入力データに基づいてデータの更新処理を
行って、この更新されたデータを記憶手段2aに記憶
し、この記憶手段2aに記憶されているデータを一取引
の終了指示によりマスター側電子機器1へ伝送する。ま
た、この一取引の終了指示前にマスター側電子機器1で
単価変更がなされても、スレーブ側電子機器では単価変
更はしない。したがって、データを一取引の終了指示に
よりマスター側へ伝送できる。
The master electronic device 1 is provided with a classification file 1a for storing classification-specific update data, and the update data of this classification file 1a is updated based on the update data transmitted from the slave electronic device 2. In addition, the slave electronic device 2 performs a data update process based on the input data, stores the updated data in the storage unit 2a, and instructs the data stored in the storage unit 2a to end one transaction. Is transmitted to the master electronic device 1. Further, even if the unit price is changed in the master electronic device 1 before the instruction to end one transaction, the unit price is not changed in the slave electronic device. Therefore, the data can be transmitted to the master side by an instruction to end one transaction.

【0006】[0006]

【実施例】以下、図2〜図6を参照して一実施例を具体
的に説明する。図2はECRのデータ伝送システムを示
した基本的なブロック回路図である。マスター側ECR
11には構内専用図線(インライン)12を介して複数
台のスレーブ側ECR13……が接続されて、各ECR
11、13……間でデータの送受信が実行される。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment will be specifically described below with reference to FIGS. FIG. 2 is a basic block circuit diagram showing an ECR data transmission system. Master side ECR
11 are connected to a plurality of slave side ECRs 13 ...
Data is transmitted and received between 11, 13, ...

【0007】マスター側ECR11において、入力部1
1Aのキーボード上にはテンキーKA、ファンクション
キーKB、現金/預かり金キーKC、PLUキーKD、
第1単価キーKE、第2単価キーKF等が設けられてい
ると共に、モード切換スイッチMSが設けられている。
ここで、モード切換スイッチMSはその切換位置に応じ
て「設定」、「登録」、「電源OFF」、「点検」、
「精算」モードを選択するもので、例えば、設定モード
ではPLU単価の設定が可能である。この場合、設定モ
ードにおいてPLU単価を置数して第1単価キーKEが
操作されると、置数金額は第1単価として設定され、ま
た第2単価キーKFが操作されると、置数金額は第2単
価として設定される。しかして、入力部11Aから操作
キーに対応して出力されるキー入力信号およびモード切
換スイッチMSの各切換位置に対応して出力されるモー
ド指定信号は、CPU(中央演算処理回路)11Bに入
力され、その入力プログラムを指定する。また、このE
CRには他の外部入力手段としてバーコードリーダ(固
定スキャナ)11Cが設けられ、その出力はCPU11
Bに読み込まれる。
In the ECR 11 on the master side, the input unit 1
On the keyboard of 1A, ten keys KA, function keys KB, cash / deposit money key KC, PLU key KD,
A first unit price key KE, a second unit price key KF and the like are provided, and a mode changeover switch MS is provided.
Here, the mode changeover switch MS is "set", "register", "power off", "check",
The “accounting” mode is selected, and for example, the PLU unit price can be set in the setting mode. In this case, when the PLU unit price is entered in the setting mode and the first unit price key KE is operated, the unit price is set as the first unit price, and when the second unit price key KF is operated, the unit price is set. Is set as the second unit price. The key input signal output from the input unit 11A corresponding to the operation key and the mode designation signal output corresponding to each switching position of the mode changeover switch MS are input to the CPU (central processing unit) 11B. And specify its input program. Also, this E
The CR is provided with a bar code reader (fixed scanner) 11C as another external input means, and its output is the CPU 11
Read into B.

【0008】CPU11Bは予め記憶されている各種の
マイクロプログラムにしたがって入力処理、登録処理、
データ伝送処理等を実行するもので伝送レジスタ、転送
レジスタおよび制御部、演算部を有する構成となってい
る。しかして、CPU11BはRAM(ランダムアクセ
スメモリ)11Dとの間でデータの授受を行って売上デ
ータを累計する。RAM11DはCPU11Bの制御下
でデータの書き込みおよび読み出し動作を実行するもの
で、各PLUナンバに対応してその第1単価、第1単価
売上個数、第2単価、第2単価売上個数および第2単価
選択フラグ等を記憶するPLUファイルPFが設けられ
ている。また、CPU11Bには通常のECRに備えら
れている表示部11E、印字部11F、ドロア11Gの
他、伝送部11Hが接続されている。そして、CPU1
1Bは売上データを表示部11Eに送ってデジタル表示
させたり、印字部11Fに送ってレシート用紙並びにジ
ャーナル用紙に印字させ、更にはドロアの解放動作を制
御すると共に、伝送部11Hとの間で伝送データの授受
を行う。
The CPU 11B performs input processing, registration processing, according to various microprograms stored in advance.
It executes data transmission processing and the like, and has a configuration including a transmission register, a transfer register, a control unit, and a calculation unit. Then, the CPU 11B exchanges data with a RAM (random access memory) 11D to accumulate sales data. The RAM 11D executes data writing and reading operations under the control of the CPU 11B, and corresponds to each PLU number, the first unit price, the first unit price sales quantity, the second unit price, the second unit price sales quantity and the second unit price. A PLU file PF that stores selection flags and the like is provided. The CPU 11B is connected to a transmission unit 11H in addition to the display unit 11E, the printing unit 11F, and the drawer 11G that are included in a normal ECR. And CPU1
1B sends the sales data to the display unit 11E for digital display, or sends it to the printing unit 11F for printing on receipt paper and journal paper, and further controls the release operation of the drawer, and also transmits with the transmission unit 11H. Send and receive data.

【0009】スレーブ側ECR13は上記マスター側E
CR11と略同様に構成されたもので、マスター側EC
R11で示した入力部11A、CPU11B、固定スキ
ャナ11C、RAM11D、表示部11E、印字部11
F、ドロア11G、伝送部11Hと対応する入力部13
A、CPU13B、固定スキャナ13C、RAM13
D、表示部13E、印字部13F、ドロア13G、伝送
部13Hが設けられている。この場合、RAM13Dは
PLU別登録において今回入力されたPLUナンバが記
憶されるPLUナンバメモリA、一顧客(一取引)での
登録回数を計数する登録回数カウンタB、この登録回数
カウンタBの内容が転送されると共に、この登録回数を
減算する減算カウンタC、一取引分の登録データを順次
記憶する一取引分登録メモリDを有する構成となってい
る。ここで、一取引分登録メモリDはその「1」〜
「n」アドレスに対応してPLUナンバ、単価、売上個
数を記憶するもので、一取引を終了させる締めキーが操
作されるとその内容はクリアされる。なお、その他のス
レーブ側ECR13も上述した構成と全く同様であるか
ら同一符号を付して示し、その説明を省略する。
The slave side ECR 13 is the master side E
It is configured almost the same as CR11, and the master side EC
Input unit 11A, CPU 11B, fixed scanner 11C, RAM 11D, display unit 11E, and printing unit 11 indicated by R11.
F, drawer 11G, input unit 13 corresponding to transmission unit 11H
A, CPU 13B, fixed scanner 13C, RAM 13
D, a display unit 13E, a printing unit 13F, a drawer 13G, and a transmission unit 13H are provided. In this case, the RAM 13D stores the contents of the PLU number memory A in which the PLU number input this time in the PLU-based registration is stored, the registration number counter B for counting the number of registrations by one customer (one transaction), and the registration number counter B. While being transferred, it has a subtraction counter C for subtracting the number of registrations and a transaction memory D for sequentially storing registration data for one transaction. Here, the registration memory D for one transaction is "1"-
The PLU number, unit price, and sales quantity are stored in correspondence with the "n" address, and the contents are cleared when the closing key for ending one transaction is operated. The other slave side ECR 13 has the same configuration as that described above, and therefore is denoted by the same reference numeral and its description is omitted.

【0010】動作 図3はマスター側ECR11で一定時間毎に割込みで実
行されるフロチャート、図4は各スレーブ側ECR13
で実行される登録動作を示すフローチャートである。先
ず、スレーブ側ECR13においてPLU別登録を実行
する際にはモード切換スイッチMSにより登録モードを
選択し、次で、固定スキャナ13Cによって商品ラベル
等に記録されているバーコード(PLUナンバ)を読み
取る。これによって、図4のフローが実行開始され、先
ず、一取引で最初の登録であるかが登録回数カウンタB
の内容に基づいて判断される(ステップS1)。いま、
登録回数カウンタBの値が「0」であれば最初の登録で
あることが判断されるので、ステップS6に進み、PL
UナンバメモリAに転送されている今回入力されたPL
Uナンバをマスター側ECR11へ伝送してそのPLU
ナンバに対する単価の問い合せを行う。そして、この問
い合せに応答してマスター側ECR11から伝送されて
来る単価の受信待ちとなる(ステップS7)。
Operation FIG. 3 is a flowchart executed by the ECR 11 on the master side by interruption at regular intervals, and FIG. 4 is an ECR 13 on the slave side.
5 is a flowchart showing a registration operation executed in step S6. First, when executing registration by PLU in the slave side ECR 13, the registration mode is selected by the mode selector switch MS, and then the bar code (PLU number) recorded on the product label or the like is read by the fixed scanner 13C. As a result, the flow of FIG. 4 starts to be executed. First, whether the first registration in one transaction is the registration number counter B
Is determined based on the contents of (step S1). Now
If the value of the registration number counter B is "0", it is determined that the registration is the first time, so the process proceeds to step S6, where PL
PL input this time transferred to U number memory A
The U number is transmitted to the master side ECR11 and the PLU is transmitted.
Inquire about the unit price for the number. Then, in response to this inquiry, the unit waits to receive the unit price transmitted from the master ECR 11 (step S7).

【0011】ここで、マスター側ECR11においては
一定時間毎に割込みで図3のフローを実行している。先
ず、ステップS21ではマスター自身で実行される。P
LU別登録等に伴うデータ入力が有ったかが調べられ
る。いま、マスター側でのデータ入力が無ければ、ステ
ップS23に進み、スレーブ側ECR13から伝送され
て来るデータを受信したかを調べ、受信データが無けれ
ば、このフローから抜ける。したがって、マスター側E
CR11ではマスター側でのデータ入力あるいはスレー
ブ側からのデータ受信を一定時間毎に検出している。い
ま、スレーブ側ECR13から単価の問い合せがあった
ものとすると、ステップS23でそのことが検出されて
ステップS24に進み、単価問い合せのあったスレーブ
側ECR13の一取引分登録メモリDがフル状態(オー
バフロー状態)になったか、あるいは一取引の登録が終
了して締めキーが操作されたか否かの判断が実行され
る。いま、一取引の最初の登録であるから一取引分登録
メモリDのフル状態あるいは締めキーが操作された場合
のいずれでもないのでステップS30に進み、単価の問
い合せに対して応答し、PLUファイルから該当PLU
ナンバに対する単価データが読み出されて伝送される。
この場合、PLUファイル内の該当PLUナンバに対応
する第2単価選択フラグがオンされているときには第2
単価、オフされているときには第1単価が問い合せのあ
ったスレーブ側ECR13へ伝送される。
Here, the master side ECR 11 executes the flow of FIG. 3 by interruption at regular intervals. First, in step S21, it is executed by the master itself. P
It is checked whether there is data input associated with registration by LU or the like. If there is no data input on the master side, the process proceeds to step S23 to check whether the data transmitted from the slave side ECR 13 has been received. If there is no received data, this flow is ended. Therefore, the master side E
The CR 11 detects data input on the master side or data reception from the slave side at regular time intervals. Now, assuming that the slave side ECR 13 has inquired about the unit price, in step S23 this is detected and the process proceeds to step S24, in which the transaction memory D for one transaction of the slave side ECR 13 for which the unit price is inquired is full (overflow. It is determined whether or not the closing state has been entered or the closing key has been operated after the registration of one transaction is completed. Now, since it is the first registration of one transaction, it is neither the full state of the registration memory D for one transaction nor the case where the closing key is operated. Therefore, the process proceeds to step S30, where the inquiry of the unit price is answered and the PLU file is read. Applicable PLU
The unit price data for the number is read and transmitted.
In this case, when the second unit price selection flag corresponding to the corresponding PLU number in the PLU file is turned on, the second
When the unit price is turned off, the first unit price is transmitted to the slave side ECR 13 that has made an inquiry.

【0012】このようにして単価の問い合せに対してマ
スター側ECR11から単価データが伝送されて来る
と、スレーブ側ECR13においては、図4のステップ
S7でそのことが検出され、ステップS8に進み、最初
の登録に伴って登録回数カウンタBの値を+1するイン
クリメント処理が実行される。そして、この登録回数カ
ウンタBの値で一取引分登録メモリDをアドレス指定
し、その指定アドレス領域D(B)内の個数データを+
1する加算処理(ステップS9)が実行され、次で、受
信した単価データに基づき登録処理(ステップS10)
が実行される。この場合、一取引分登録メモリDのアド
レス領域D(B)にはPLUナンバ、受信単価データが
記憶されると共に入力データの表示、印字および小計加
算処理が実行される。これによって、例えば、一取引の
最初の登録では、図2に示すように一取引分登録メモリ
Dの1番地にはPLUナンバ「2」、単価「10円」、
個数「1」が記憶される。その後、一取引分登録メモリ
Dがフル状態か否かが登録回数カウンタBの値がその最
終アドレス「n」になったかに応じて調べられる。い
ま、一取引の最初の登録が終了した時点であるから、一
取引分登録メモリDはフル状態に達しておらず、そのま
まこのフローから抜ける。
When the unit price data is transmitted from the master side ECR 11 in response to the unit price inquiry in this way, the slave side ECR 13 detects this in step S7 of FIG. With the registration, the increment processing for incrementing the value of the registration number counter B by 1 is executed. Then, the registration memory D for one transaction is addressed by the value of the registration number counter B, and the number data in the designated address area D (B) is incremented by +.
The addition process of 1 (step S9) is executed, and then the registration process is performed based on the received unit price data (step S10).
Is executed. In this case, the PLU number and the reception unit price data are stored in the address area D (B) of the registration memory D for one transaction, and the display, printing and subtotal addition processing of the input data are executed. As a result, for example, in the first registration of one transaction, as shown in FIG. 2, the PLU number “2” and the unit price “10 yen” are set in the address 1 of the registration memory D for one transaction.
The number "1" is stored. After that, whether or not the registration memory D for one transaction is full is checked according to whether the value of the registration number counter B has reached its final address "n". Now, since the first registration of one transaction has been completed, the registration memory D for one transaction has not reached the full state, and the flow directly ends.

【0013】しかして、スレーブ側ECR13で次の登
録が行なわれた場合には、ステップS1からステップS
2に進み、登録回数カウンタBの値が減算カウンタCに
転送される。そして、この減算カウンタCの値で一取引
分登録メモリDがアドレス指定され、その指定アドレス
領域内のPLUナンバと今回入力されたPLUナンバメ
モリA内のPLUナンバとが等しいかの判断が行なわれ
る。ここで、前回登録されたPLUナンバと今回入力さ
れたPLUナンバとが等しくなければ、減算カウンタC
の値を−1する処理(ステップS4)が実行され、次
で、減算カウンタCの値が「0」かの判断が行なわれる
(ステップS5)。ここで、減算カウンタCの値が
「0」でなければステップS3に戻って前々回登録され
たPLUナンバと今回入力されたPLUナンバとが等し
くなったかが調べられる。このようにして一取引分登録
メモリDの内容は逆方向にアクセスされ、今回入力され
たPLUナンバと同じPLUナンバが一取引分登録メモ
リDに記憶されているかの検索が行なわれる。この場
合、一取引分登録メモリD内の全てのPLUナンバを検
索した結果、同一PLUナンバが記憶されていなけれ
ば、ステップS6に進み、マスター側ECR11に対し
て単価の問い合せを行う。この結果、マスター側ECR
11から単価データが送られて来ると、ステップS7か
らステップS8〜S10の実行に移る。これによって、
例えば、一取引で2番目の登録が行なわれた場合には、
図2に示すように一取引分登録メモリDの2番地にはP
LUナンバ「3」、単価「20円」、個数「1」が記憶
される。このような動作が登録が行なわれる毎に実行さ
れる結果、今回入力されたPLUナンバが一取引分登録
メモリDに記憶されていなければ、その単価の問い合せ
を行ってマスター側ECR11から伝送されて来る単価
データを一取引分登録メモリDに順次記憶させると共
に、受信した単価データに基づいてその登録が行なわれ
る。一方、今回入力されたPLUナンバに応じて一取引
分登録メモリDが検索された結果、一取引分登録メモリ
Dに同一のPLUナンバが記憶されていることがステッ
プS3で検索された場合には、ステップS3からステッ
プS11に進み、一取引分登録メモリDに記憶されてい
るそのPLUナンバに対応する売上個数を+1する加算
処理が実行される。そして、このPLUナンバに対応す
る単価データを一取引分登録メモリDから読み出し、こ
れに基づいて登録処理(表示、印字、小計加算)が行な
われる(ステップS12)。したがって、一取引におい
て、既に登録された商品と同一の商品のPLUナンバが
入力された場合には、マスター側ECR11に対してそ
の単価の問い合せを行なわず、自己の一取引分登録メモ
リDに記憶されている単価に基づいて登録が行なわれ
る。
However, when the following registration is made in the slave side ECR 13, steps S1 to S
In step 2, the value of the registration number counter B is transferred to the subtraction counter C. Then, the transaction memory D for one transaction is addressed by the value of the subtraction counter C, and it is determined whether the PLU number in the designated address area is equal to the PLU number in the PLU number memory A input this time. .. If the PLU number registered last time and the PLU number input this time are not equal, the subtraction counter C
The process of decrementing the value of -1 (step S4) is executed, and then it is determined whether the value of the subtraction counter C is "0" (step S5). Here, if the value of the subtraction counter C is not "0", the process returns to step S3 to check whether the PLU number registered two times before and the PLU number input this time become equal. In this way, the contents of the one-transaction registration memory D are accessed in the reverse direction, and it is searched whether the same PLU number as the PLU number input this time is stored in the one-transaction registration memory D. In this case, as a result of searching all the PLU numbers in the registration memory D for one transaction, if the same PLU number is not stored, the process proceeds to step S6, and the master ECR 11 is queried for the unit price. As a result, the master ECR
When the unit price data is sent from 11, the process proceeds from step S7 to steps S8 to S10. by this,
For example, if the second registration is made in one transaction,
As shown in FIG. 2, P is set at the second address of the registration memory D for one transaction.
The LU number "3", the unit price "20 yen", and the number "1" are stored. If the PLU number input this time is not stored in the registration memory D for one transaction as a result of such an operation being performed each time registration is performed, the unit price is inquired and transmitted from the master side ECR 11. The incoming unit price data is sequentially stored in the registration memory D for one transaction, and the registration is performed based on the received unit price data. On the other hand, as a result of searching for one transaction registration memory D according to the PLU number input this time, if it is found in step S3 that the same PLU number is stored in one transaction registration memory D, The process proceeds from step S3 to step S11, and an addition process of incrementing the sales quantity corresponding to the PLU number stored in the transaction memory D for one transaction by +1 is executed. Then, the unit price data corresponding to the PLU number is read from the registration memory D for one transaction, and the registration process (display, print, subtotal addition) is performed based on this (step S12). Therefore, when the PLU number of the same product as the already registered product is input in one transaction, the unit price is not inquired to the master ECR 11 and is stored in the registration memory D for one transaction. Registration is performed based on the unit price.

【0014】しかして、一取引の登録数が多くその登録
途中において一取引分登録メモリDがフル状態となった
ことがステップS13で検出された場合には、次のステ
ップS14に進み、一取引分登録メモリD内のデータの
うち最終アドレス領域内のデータを除く他の全てのデー
タがマスター側ECR11へ順次伝送される。そして、
登録回数カウンタBの値をクリアしたのち、その値を+
1して初期値「1」が登録回数カウンタBにセットされ
る(ステップS15、S16)。次で、一取引分登録メ
モリDの最終アドレス領域内のデータをその先頭アドレ
ス領域へ転送するデータ編集処理(ステップS17)が
行なわれる。このような編集処理は直前訂正に備えるた
めに行なわれ、一取引分登録メモリDがフル状態となっ
たとしても直前に登録されたデータはその先頭アドレス
領域に保持されるので、その訂正が可能となる、しかし
て、このような処理が終ると、一定時間内にマスター側
ECR11から後述する所定のデータが伝送されて来た
かが調べられる(ステップS18、S19)。いま、一
定時間を過ぎてもマスター側ECR11から所定データ
が伝送されて来なければそのままこのフローから抜ける
が、伝送されて来た場合には受信データを一取引分登録
メモリDに順次書き込む処理が行なわれる(ステップS
20)。
However, when it is detected in step S13 that the registration memory D for one transaction is full during the registration because the number of registrations of one transaction is large, the process proceeds to the next step S14, and one transaction is executed. Of the data in the minute registration memory D, all other data except the data in the final address area are sequentially transmitted to the master side ECR 11. And
After clearing the value of the registration count counter B, add the value to +
Then, the initial value "1" is set in the registration number counter B (steps S15 and S16). Next, a data editing process (step S17) of transferring the data in the final address area of the registration memory D for one transaction to the head address area thereof is performed. Such an editing process is performed in preparation for the last-minute correction, and even if the transaction memory D for one transaction becomes full, the data registered immediately before is retained in the leading address area, so that the correction can be performed. However, when such processing is finished, it is checked whether or not predetermined data described later has been transmitted from the master side ECR 11 within a fixed time (steps S18 and S19). Now, if the predetermined data has not been transmitted from the master side ECR 11 even after a lapse of a certain time, the flow directly exits from this flow. However, if the data has been transmitted, the process of sequentially writing the received data into the registration memory D for one transaction is performed. Performed (step S
20).

【0015】ここで、マスター側ECR11においては
スレーブ側ECR13からその一取引分登録メモリDの
フル状態に応じてデータが伝送されて来ると、図3のス
テップS23、S24でそのことが検出されてステップ
S25に進み、締めキー操作に応じたデータ伝送である
かが調べられる。いま、一取引分登録メモリDのフル状
態に応じたデータ伝送であるからステップS26に進
み、スレーブ側ECR13から伝送されて来た各PLU
ナンバに応じてPLUファイル内の第2単価選択フラグ
を順次検索し、その結果、第2単価選択フラグがオンさ
れているかが調べられる。いま、第2単価選択フラグが
オンされているものとすると、スレーブ側ECR13か
ら伝送されて来た当該PLUナンバに対応する単価が第
1単価であったかが調べられる。ここで、検索されたP
LUナンバに対応する第2単価選択フラグがオンされ、
しかも伝送されて来た当該PLUナンバの単価が第1単
価であったものとすると、その取引の登録途中において
第1単価から第2単価への変更があった場合であるか
ら、この場合にはステップS28に進み、そのPLUナ
ンバと第1単価がスレーブ側ECR13へ伝送される。
したがって、一取引の登録途中において、マスター側E
CR11でその単価が変更されたとしても、既に第1単
価で登録されたものに対しては変更後の第2単価ではな
く元の第1単価をスレーブ側ECR13に送り帰すよう
にしている。そして、次のステップS29ではスレーブ
側ECR13から伝送されて来たデータをPLUファイ
ルに加算するデータ収集処理が行なわれる。
Here, when data is transmitted from the slave side ECR13 in the master side ECR11 according to the full state of the transaction memory D for one transaction, this is detected in steps S23 and S24 of FIG. In step S25, it is checked whether the data is transmitted according to the closing key operation. Now, since the data transmission corresponds to the full state of the registration memory D for one transaction, the process proceeds to step S26, and each PLU transmitted from the slave side ECR 13
The second unit price selection flag in the PLU file is sequentially searched according to the number, and as a result, it is checked whether the second unit price selection flag is turned on. Now, assuming that the second unit price selection flag is turned on, it is checked whether the unit price corresponding to the PLU number transmitted from the slave side ECR 13 is the first unit price. Here, the searched P
The second unit price selection flag corresponding to the LU number is turned on,
Moreover, assuming that the unit price of the PLU number transmitted is the first unit price, it means that there is a change from the first unit price to the second unit price during the registration of the transaction. In this case, In step S28, the PLU number and the first unit price are transmitted to the slave side ECR 13.
Therefore, during registration of one transaction, the master side E
Even if the unit price is changed by the CR 11, the original first unit price is sent back to the slave side ECR 13 instead of the changed second unit price for those already registered with the first unit price. Then, in the next step S29, a data collection process of adding the data transmitted from the slave side ECR 13 to the PLU file is performed.

【0016】このようにステップS28で第1単価デー
タ等がスレーブ側ECR13に送り帰されて来ると、ス
レーブ側ECR13においては上述したステップS20
で受信データが順次一取引分登録メモリDに記憶され
る。この結果、一取引分登録メモリDには一取引の登録
途中で単価が変更されたPLUナンバとその第1単価が
書き込まれる。この結果、その顧客に対する以降の登録
に際して同一商品の登録が行なわれたとしても同一単価
で登録が行なわれる。
As described above, when the first unit price data and the like are sent back to the slave side ECR 13 in step S28, the slave side ECR 13 has the above-mentioned step S20.
Then, the received data is sequentially stored in the registration memory D for one transaction. As a result, the PLU number whose unit price has been changed during the registration of one transaction and the first unit price thereof are written in the registration memory D for one transaction. As a result, even if the same merchandise is registered for the subsequent registration for the customer, the registration is performed at the same unit price.

【0017】図5はスレーブ側ECR13において実行
される訂正処理を示し、売上データの訂正を行う場合に
は、訂正キーを操作したのち固定スキャナ13Cにより
訂正すべきPLUナンバを読み取る。これによって、図
5のフローが実行され、先ず、登録回数カウンタBの値
が減算カウンタCに転送される(ステップS31)。そ
して、この減算カウンタCの値で一取引分登録メモリD
がアドレス指定され、その指定アドレス領域に記憶され
ているPLUナンバとPLUナンバメモリAに読み込ま
れた訂正PLUナンバとの一致が検出される(ステップ
S32)。ここで直前に登録された売上データを訂正す
る場合にはステップS32で一致が検出されるが、直前
訂正でなければ不一致が検出されてステップS33に進
み、減算カウンタCの値が−1される。この結果、次の
ステップS34では減算カウンタCの値が「0」かが調
べられ、「0」でなければステップS32に戻り、訂正
PLUナンバが検索されるまでステップS32〜S34
が繰り返される。いま、訂正PLUナンバが検索される
と、ステップS36に進み、訂正処理が行なわれ、減算
カウンタCの値でアドレス指定される一取引分登録メモ
リD内の売上個数が−1される。そして、訂正データが
印字および表示される(ステップS37)。一方、一取
引分登録メモリDを検索した結果、訂正PLUナンバが
一取引分登録メモリDに記憶されていない場合には、一
取引分登録メモリDがフル状態となってその全ての内容
をマスター側ECR11へ伝送した後であるから、この
場合にはステップS35に進み、訂正付加ランプ(図示
せず)を一定時間点灯させる報知が行なわれる。この場
合、レシート印字を見てキー入力により訂正を行う。
FIG. 5 shows a correction process executed in the slave side ECR 13. When the sales data is corrected, the PLU number to be corrected is read by the fixed scanner 13C after operating the correction key. As a result, the flow of FIG. 5 is executed, and first, the value of the registration number counter B is transferred to the subtraction counter C (step S31). Then, with the value of the subtraction counter C, one transaction registration memory D
Is designated, and a match between the PLU number stored in the designated address area and the corrected PLU number read in the PLU number memory A is detected (step S32). Here, when the sales data registered immediately before is corrected, a match is detected in step S32, but if it is not immediately before correction, a mismatch is detected and the process proceeds to step S33, where the value of the subtraction counter C is decremented by one. .. As a result, in the next step S34, it is checked whether the value of the subtraction counter C is "0", and if it is not "0", the process returns to step S32, and steps S32 to S34 are performed until the corrected PLU number is searched.
Is repeated. Now, when the corrected PLU number is retrieved, the process proceeds to step S36, the correction process is performed, and the sales quantity in the transaction memory D for one transaction addressed by the value of the subtraction counter C is decremented by one. Then, the correction data is printed and displayed (step S37). On the other hand, as a result of searching the registration memory D for one transaction, if the corrected PLU number is not stored in the registration memory D for one transaction, the registration memory D for one transaction becomes full state and all the contents are mastered. Since it has been transmitted to the side ECR 11, in this case, the process proceeds to step S35, and a notification is made to turn on the correction addition lamp (not shown) for a certain period of time. In this case, the receipt is printed and correction is performed by key input.

【0018】図6はスレーブ側ECR13で現金/預か
り金キー等の締めキーが操作された場合のフローチャー
トである。先ず、締めキーが操作されると、通常の締め
処理(ステップS41)が実行される。そして、一取引
分登録メモリD内の全てのデータがマスター側ECR1
1に伝送される(ステップS42)。その後、一取引分
登録メモリDの内容が全てクリアされると共に、PLU
ナンバメモリA、登録回数カウンタB、減算カウンタC
の内容が夫々クリアされる(ステップS43、S4
4)。
FIG. 6 is a flow chart when the closing key such as a cash / deposit key is operated on the slave side ECR 13. First, when the tightening key is operated, a normal tightening process (step S41) is executed. Then, all the data in the registration memory D for one transaction is ECR1 on the master side.
1 is transmitted (step S42). After that, the contents of the registration memory D for one transaction are all cleared and the PLU
Number memory A, registration number counter B, subtraction counter C
Are cleared respectively (steps S43, S4
4).

【0019】このように一取引の登録が終了し、締めキ
ーが操作されると一取引分登録メモリD内の全てのデー
タがマスター側ECR11に伝送されるが、この場合、
マスター側ECR11においてはステップS23〜S2
5でそのことが検出されてステップS29に進み、受信
データをPLUファイルに加算する処理が行なわれる。
When the registration of one transaction is completed and the closing key is operated in this way, all the data in the registration memory D for one transaction is transmitted to the master side ECR 11, but in this case,
In the master side ECR11, steps S23 to S2
This is detected in step 5, and the process proceeds to step S29, where the received data is added to the PLU file.

【0020】なお、上記実施例ではPLU別データにつ
いて説明したが、部門別データ等であっても同様に適用
可能である。
Although the PLU-specific data has been described in the above embodiment, the same applies to department-specific data and the like.

【0021】[0021]

【発明の効果】この発明によれば、各スレーブ側でPL
U別登録が行なわれる毎に、PLUコード及び売上個数
等のデータをマスター側へ伝送することなく、一取引の
終了指示によりデータをマスター側へ伝送できる。した
がって、データ伝送量を減らし回線の使用効率をあげる
ことができる。また、マスター側の伝送処理にかかる負
担も少なくできる。
According to the present invention, each slave side has a PL
The data can be transmitted to the master side by an instruction to end one transaction without transmitting the data such as the PLU code and the number of sales to the master side every time the registration by U is performed. Therefore, it is possible to reduce the data transmission amount and improve the use efficiency of the line. Further, the burden on the transmission process on the master side can be reduced.

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

【図1】この発明の構成を示す機能ブロック図。FIG. 1 is a functional block diagram showing the configuration of the present invention.

【図2】実施例のECRのデータ伝送システムを示した
基本的なブロック回路図。
FIG. 2 is a basic block circuit diagram showing an ECR data transmission system according to an embodiment.

【図3】マスター側ECRで実行される動作を示したフ
ローチャート。
FIG. 3 is a flowchart showing an operation executed by a master ECR.

【図4】各スレーブ側ECRで実行される登録動作を示
したフローチャート。
FIG. 4 is a flowchart showing a registration operation executed by each slave ECR.

【図5】スレーブ側ECRで実行される訂正動作を示し
たフローチャート。
FIG. 5 is a flowchart showing a correction operation executed by a slave side ECR.

【図6】スレーブ側ECRで締めキー操作に応じて実作
される動作を示したフローチャート。
FIG. 6 is a flowchart showing an operation actually performed in the slave side ECR according to a tightening key operation.

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

11 マスター側ECR 11B、13B CPU 11D、13D RAM 11H、13H 伝送部 13 スレーブ側ECR 13A 入力部 13C 固定スキャナ PF PLUファイル D 一取引分登録メモリ 11 Master side ECR 11B, 13B CPU 11D, 13D RAM 11H, 13H Transmission section 13 Slave side ECR 13A Input section 13C Fixed scanner PF PLU file D Registration memory for one transaction

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 マスター側電子機器とスレーブ側電子機
器との間でデータの送受信が実行可能なデータ伝送方式
において、マスター側電子機器は分類別のデータを記憶
する分類別ファイルを備え、また、スレーブ側電子機器
は入力される分類別のデータに基づき更新される更新デ
ータを記憶する記憶手段を備え、この記憶手段の更新デ
ータを一取引の終了指示によりマスター側電子機器へ伝
送するようにし、マスター側電子機器は分類別ファイル
のデータをスレーブ側電子機器から伝送される更新デー
タに基づき更新するようにしたことを特徴とするデータ
伝送方式。
1. In a data transmission method capable of transmitting and receiving data between a master electronic device and a slave electronic device, the master electronic device includes a classification file for storing classification data, and The slave side electronic device is provided with a storage means for storing update data updated based on the input classification data, and the update data in this storage means is transmitted to the master side electronic device in response to an instruction to end one transaction, A data transmission method in which the master electronic device updates the data of the classification file based on the update data transmitted from the slave electronic device.
【請求項2】 マスター側電子機器の分類別ファイルに
は第1単価及び第2単価を含む分類別のデータを記憶
し、マスター側電子機器で単価変更を行なった場合、ス
レーブ側電子機器は一取引の終了指示がなされるまで単
価変更を行なわないことを特徴とする請求項1記載のデ
ータ伝送方式。
2. A master-side electronic device classifying file stores class-specific data including a first unit price and a second unit price, and when the master-side electronic device changes the unit price, the slave-side electronic device stores only one unit price. 2. The data transmission method according to claim 1, wherein the unit price is not changed until a transaction end instruction is given.
JP4296619A 1992-10-09 1992-10-09 Sales data processing system Expired - Lifetime JPH0812717B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4296619A JPH0812717B2 (en) 1992-10-09 1992-10-09 Sales data processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4296619A JPH0812717B2 (en) 1992-10-09 1992-10-09 Sales data processing system

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP61022111A Division JPS62180497A (en) 1986-02-05 1986-02-05 Data transmission system

Publications (2)

Publication Number Publication Date
JPH05307685A true JPH05307685A (en) 1993-11-19
JPH0812717B2 JPH0812717B2 (en) 1996-02-07

Family

ID=17835895

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4296619A Expired - Lifetime JPH0812717B2 (en) 1992-10-09 1992-10-09 Sales data processing system

Country Status (1)

Country Link
JP (1) JPH0812717B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100325821B1 (en) * 1999-12-29 2002-03-07 윤종용 Method for Operating the Time Schedule for Report of ECR

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5696359A (en) * 1979-12-28 1981-08-04 Fujitsu Ltd Total data correcting system of data totaling device
JPS59172069A (en) * 1983-03-18 1984-09-28 Omron Tateisi Electronics Co Electronic cash register
JPS6014371A (en) * 1983-07-05 1985-01-24 Tokyo Electric Co Ltd Pos system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5696359A (en) * 1979-12-28 1981-08-04 Fujitsu Ltd Total data correcting system of data totaling device
JPS59172069A (en) * 1983-03-18 1984-09-28 Omron Tateisi Electronics Co Electronic cash register
JPS6014371A (en) * 1983-07-05 1985-01-24 Tokyo Electric Co Ltd Pos system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100325821B1 (en) * 1999-12-29 2002-03-07 윤종용 Method for Operating the Time Schedule for Report of ECR

Also Published As

Publication number Publication date
JPH0812717B2 (en) 1996-02-07

Similar Documents

Publication Publication Date Title
EP0195371A2 (en) Point of sale system
JPS63303495A (en) Transaction processor
JPH08315008A (en) Order data managing device for certificate transaction
JPH05307685A (en) Data transmission method
JP2508952B2 (en) Sales data processing method
JPH05307686A (en) Data transmission method
JP2518173B2 (en) Data processing device
JPS644228B2 (en)
JPH0363120B2 (en)
JP3257102B2 (en) Sales data processing device
JPH02112095A (en) Commodity sales data processor
JPS62180497A (en) Data transmission system
JPH0544719B2 (en)
JPH0119197B2 (en)
JP2534826B2 (en) Product sales data processing device
JPS62120596A (en) Data transmission system
JPH071515B2 (en) Electronic cash register
JPS62229494A (en) Merchandise sales data processor
JPS6255796A (en) Sales registration system
JPH05314274A (en) Data transmitting system
JPS63262796A (en) Transaction processing system
JPH0630111B2 (en) Transaction processing system and POS terminal
JPH0365595B2 (en)
JPS63186368A (en) Sale data processor
JPH08202946A (en) Display device of cash register