JPS604502B2 - Product sales data transmission processing system - Google Patents

Product sales data transmission processing system

Info

Publication number
JPS604502B2
JPS604502B2 JP55144932A JP14493280A JPS604502B2 JP S604502 B2 JPS604502 B2 JP S604502B2 JP 55144932 A JP55144932 A JP 55144932A JP 14493280 A JP14493280 A JP 14493280A JP S604502 B2 JPS604502 B2 JP S604502B2
Authority
JP
Japan
Prior art keywords
data
parent
command
child
central management
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
Application number
JP55144932A
Other languages
Japanese (ja)
Other versions
JPS5769437A (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.)
Toshiba TEC Corp
Original Assignee
Tokyo Electric 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 Tokyo Electric Co Ltd filed Critical Tokyo Electric Co Ltd
Priority to JP55144932A priority Critical patent/JPS604502B2/en
Publication of JPS5769437A publication Critical patent/JPS5769437A/en
Publication of JPS604502B2 publication Critical patent/JPS604502B2/en
Expired legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G1/00Cash registers
    • G07G1/12Cash registers electronically operated
    • G07G1/14Systems including one or more distant stations co-operating with a central processing unit

Description

【発明の詳細な説明】 本発明は、中央管理装置からのデータ伝送業務指令に基
づいて中継装置が複数台の電子式キャッシュレジスタ(
以下ECRと称す。
DETAILED DESCRIPTION OF THE INVENTION The present invention provides a system in which a relay device connects a plurality of electronic cash registers (
Hereinafter referred to as ECR.

)とデータ伝送業務を行うシステムにおいて、その中継
装置自身の起動により上記データ伝送業務を行えるよう
にした商品販売データ伝送処理システムに関するもので
ある。従来、この種のシステムにおいて、ECRにデー
タを設定したり逆にそれらのECRからデータを収集す
る場合、全て中央管理装置からの起動により処理される
方式である。
This invention relates to a product sales data transmission processing system in which the data transmission operations can be performed by activating the relay device itself in a system that performs the data transmission operations. Conventionally, in this type of system, when setting data in ECRs or collecting data from those ECRs, all processing is performed by starting from a central management device.

そのため、中央管理装置に何らかの異常が発生し伝送業
務が行なえなくなると、上述した設定業務または収集業
務が全く行なえない状態になってしまう。本発明は上記
点に鑑みなされたもので、中央管理装置から送信される
データ伝送業務指令を複数の各親ECRにおいてキーボ
ードの操作に基づいて中央管理装置から各親ECRに接
続した子ECRに対する全ての伝送業務を各それぞれの
親ECRからの起動によって行なえるようにした商品販
売データ伝送処理システムを提供するものである。
Therefore, if some abnormality occurs in the central management device and the transmission service cannot be performed, the above-mentioned setting service or collection service cannot be performed at all. The present invention has been made in view of the above-mentioned points, and is based on the keyboard operations in each of a plurality of parent ECRs in which a data transmission task command sent from a central management device is transmitted from the central management device to the child ECRs connected to each parent ECR. The present invention provides a product sales data transmission processing system in which transmission operations can be performed by activation from each parent ECR.

以下、本発明の一実施例を図面に沿って説明する。第1
図は全体のシステムを示すブロック図である。同図中C
Qは中央管理装置、ME。〜MEnは前記中央管理装置
CQにそれぞれ伝送ラインを介して接続された親ECR
である。この各親ECRME。〜MEnには、伝送ライ
ンを介して複数台の子ECRSE。,〜SE。n…・・
・SEn,〜SE肌がそれぞれ接続されている。前記中
央管理装置CQは、第2図に示す如く、中央管理装置〔
CPU〕1に、キ−ボード表示器制御回路2を介してキ
ーボード3および表示器4が、リード・オンリ・メモリ
〔ROM〕5およびランダム・アクセス・メモリ〔RA
M〕6が、プリンタ制御回路7を介してプリンタ8が伝
送制御回路9を介して前記親ECRME。
An embodiment of the present invention will be described below with reference to the drawings. 1st
The figure is a block diagram showing the entire system. C in the same figure
Q is the central management device, ME. ~MEn are parent ECRs each connected to the central management device CQ via a transmission line.
It is. Each parent ECRME of this. ~MEn has multiple child ECRSEs via transmission lines. ,~SE. n...
・SEn, to SE skin are connected to each other. As shown in FIG. 2, the central management device CQ is a central management device [
A keyboard 3 and a display 4 are connected to a CPU] 1 via a keyboard display control circuit 2, a read-only memory [ROM] 5 and a random access memory [RA].
M] 6 is transmitted to the parent ECRME via the printer control circuit 7 and the printer 8 is transmitted via the transmission control circuit 9 to the parent ECRME.

〜MEnと接続された親ECR用伝送インターフェイス
回路10がそれぞれ接続されている。前記キーボード3
には、第3図に示す如く、暦数キー11の他に各種ファ
ンクションキー12が配設されている。また、前記RO
M5には、前記親ECRME。〜MEnおよび子ECR
ME。,〜M頂皿に各種データを設定したり、逆にそれ
らに蓄えられた各種データを収集するためのプログラム
が予め書込まれている。更に、前記RAM6には、前記
キーボード3から入力された設定データを一時的に記憶
しておく設定データ記憶エリアと、前記親ECRME。
〜MEnおよび子ECRSE。,〜SEnnから収集し
た収集データを記憶する収集データ記憶エリアとがそれ
ぞれ設けられている。前記親ECRME。
The parent ECR transmission interface circuits 10 connected to ~MEn are connected to each other. The keyboard 3
As shown in FIG. 3, in addition to the calendar number key 11, various function keys 12 are provided. In addition, the RO
M5 is the parent ECRME. ~MEn and child ECR
M.E. , ~M Programs for setting various data on the top plate and conversely collecting various data stored therein are written in advance. Further, the RAM 6 includes a setting data storage area for temporarily storing setting data input from the keyboard 3, and the parent ECRME.
~MEn and child ECRSE. , - SEnn are respectively provided. Said parent ECRME.

〜M旧nは、第4図に示す如く、CPU21に、キーボ
ード表示器制御回路22を介してキーボード23および
表示器24が、ROM25およびRAM26が、プリン
タ制御回路27を介してプリンタ28が、伝送制御回路
29を介して前記中央管理装置CQの親ECR用伝送イ
ンターフェイス回路10と接続された中央管理装置用伝
送インターフェイス回路30aおよび前記子ECRSE
。,〜SEnnと接続された子ECR用伝送インターフ
ェイス回路30bがそれぞれ接続されている。前記キ−
ボード23には、第5図に示す如く、層数キー31、部
門キー32、日付/NOキー33、替キー34、PLU
キー35、設定/論出キー36、部門登録キー37、金
額登録キー38、割引キー39、割増キー40、小計キ
ー41、預/現計キー42の他、「電源オフOFF」「
登録REG」「点検×」「精算Z」「設定SET一等こ
の親ECRの業務モードを選択するモード切換スイッチ
43がそれぞれ配設されている。また、前記ROM25
には、上記モード切換スイッチ43によって選択される
各業務に関する処理プログラムの他に、前記中央管理装
置CQから与えられた指令に基づいて前記子ECRSE
。,〜SEnnへ7ータを設定したり、逆にそこから収
集したデータを前記中央管理装置CQへ伝送するための
伝送プログラムが予め書込まれている。一方、前記RA
M26には、登録業務によって登録された商品に関する
データを部門別、取引別等の分類に従って集計記憶する
各種メモリの他に、第6図に示す如くフラッグ類割付エ
リア44、第1のバッファメモリ45、第2のバッファ
メモリ46、レジスタテーブルメモリ47、指定レジス
タテーブルメモリ48、加算データ格納エリア49、設
定収集データ格納エリア50等がそれぞれ設けられてい
る。
~M old n, as shown in FIG. The central management device transmission interface circuit 30a and the child ECRSE are connected to the parent ECR transmission interface circuit 10 of the central management device CQ via the control circuit 29.
. , ~SEnn are connected to the child ECR transmission interface circuits 30b, respectively. The key
The board 23 has, as shown in FIG.
key 35, setting/output key 36, department registration key 37, amount registration key 38, discount key 39, premium key 40, subtotal key 41, deposit/cash total key 42, "power off", "
Registration REG,""Inspection
In addition to the processing programs related to each task selected by the mode changeover switch 43, the child ECRSE
. , ~SEnn, and conversely, a transmission program for transmitting data collected thereto to the central management unit CQ is written in advance. On the other hand, the RA
The M26 includes various types of memories for aggregating and storing data related to products registered through registration operations according to classifications such as by department and by transaction, as well as a flag allocation area 44 and a first buffer memory 45 as shown in FIG. , a second buffer memory 46, a register table memory 47, a specified register table memory 48, an addition data storage area 49, a setting collection data storage area 50, and the like.

前記フラッグ類割付エリア44には、受信可否判別フラ
ッグJKF、停電回復処理フラッグTKF第1、第2、
第3のシーケンスェラー検出フラッグSEF1,SEF
2,SEF3、業務コマンド受信フラッグGKF、設定
収集完了フラッグSKF、加算データ判別フラッグKD
F、第1、第2のデータ有無判別フラッグDF1,DF
2、親起動フラッグMF、伝送処理中異常検出フラッグ
DFE、送出判別フラッグSHF、送出終了フラッグS
FF、タイムアウトフラッグTOFの他、アドレスレジ
ス夕AR、コマンドレジスタCR、ブロックカウンタB
C、ターミナルカウン夕TC、タイマーカウンタWC等
が割付けられている。また、前記レジスタテ−ブルメモ
リ47には、親ECRME。〜MEnおよびその親EC
RME。〜MEnに接続された子ECRSE。,〜SE
nnのラインアドレスを記憶したラインアドレス記憶部
47aと、このラインアドレス記憶部47aの各ライン
アドレスに対応して業務完了判別フラッグ47bおよび
レジスタ番号を記憶したレジスタ番号記憶部47cとが
それぞれ設けられている。更に、前記指定レジスタテー
プルメモリ48には、前記中央管理装置CQから伝送さ
れてくるレジスタ指定テキストに従って設定または収集
を行おうとする子ECRSE。,〜SE血および親EC
RME。〜MEnのラインアドレスが設定されるライン
アドレス記憶部48aと、このラインアドレス記憶部4
8aに対応して業務完了判別フラッグ48bおよびレジ
スタ番号を記憶するレジスタ番号記憶部48cとがそれ
ぞれ設けられている。前記子ECRSE。
The flag allocation area 44 includes a reception determination flag JKF, a power failure recovery processing flag TKF 1st, 2nd,
Third sequence error detection flag SEF1, SEF
2, SEF3, business command reception flag GKF, setting collection completion flag SKF, addition data discrimination flag KD
F, first and second data presence/absence determination flags DF1, DF
2. Parent start flag MF, abnormality detection flag during transmission processing DFE, sending discrimination flag SHF, sending end flag S
FF, timeout flag TOF, address register AR, command register CR, block counter B
C, terminal counter TC, timer counter WC, etc. are assigned. Further, the register table memory 47 includes a parent ECRME. ~MEn and its parent EC
RME. ~Child ECRSE connected to MEn. ,~SE
A line address storage section 47a that stores line addresses of nn, and a register number storage section 47c that stores a task completion determination flag 47b and a register number corresponding to each line address of this line address storage section 47a are provided. There is. Further, the specified register table memory 48 includes child ECRSEs to be set or collected according to the register specified text transmitted from the central management device CQ. ,~SE blood and parent EC
RME. A line address storage section 48a in which the line address of ~MEn is set, and this line address storage section 4
A task completion determination flag 48b and a register number storage section 48c for storing a register number are provided corresponding to 8a. Said child ECRSE.

,〜SE肌は、第7図に示す如く、CPU51に、キー
ボード表示器制御回路52を介してキーボード53およ
び表示器54が、ROM55およびRAM56が、プリ
ンタ制御回路57を介してプリンタ58が、伝送制御回
路59を介して前記親ECRME。〜MEnの子ECR
用伝送インターフェイス回路30bと接続された親EC
R用伝送インターフェイス回路60がそれぞれ接続され
ている。前記キーボード53には、第8図に示す如く、
暦数キー61、部門キー52、日付/NOキー63、替
キー64、RLUキー65、部門登録キー67、金額登
録キー68、割引キー69、割増キー70、小計キー7
1、頚ノ現計キー72の他、「電源オフOFF」「登録
REG」「点検×」「精算Z」「設定SET一等この子
ECRの業務モードを選択するモード切換スイッチ73
がそれぞれ配設されている。また、前記ROM55には
、上言己モード切襖スイッチ73によって選択される各
業務に関する処理プログラムの他に、前記親ECRME
。〜M旧nから与えられた指令に基づいて伝送されてき
たデータをRAM56へ設定したり、逆にそこに蓄えら
れたデータを前記親ECRME。〜MEnへ伝送するた
めの伝送プログラムが予め書込まれている。更に、前記
RAM56には、例えば登録業務によって登録された商
品に関するデータを部門別、取引別等の分類に従って集
計記憶する各種メモリが設けられている。次に、作用を
説明する。いま、中央管理装置CQ、親ECRME。〜
MEnおよび子ECRSE。,〜SEnnの電源をオン
すると、親ECRME。〜MEnにおいては、第9図a
のフローチャートに示すモニタールーチンに従って、キ
ー取込み処理のサブルーチン、受信可否判別フラッグJ
KFおよび停電回復処理フラッグTKFがセット状態に
なったか否かを判別するループL,を常時繰返し、キー
ボード23上のキーが操作された際キー取込み処理のサ
ブルーチンに従ってキー処理つまり登録業務等を行うと
ともに、中央管理装置CQから割込要求が与えられると
第10図のフローチャートに示す受信割込ルーチンに従
って動作する。そこで、まず第10図のフローチャート
に示す受信割込ルーチンから説明する。
,~SE skin, as shown in FIG. said parent ECRME via a control circuit 59; ~MEn child ECR
The parent EC connected to the transmission interface circuit 30b for
R transmission interface circuits 60 are connected respectively. The keyboard 53 has, as shown in FIG.
Calendar number key 61, department key 52, date/NO key 63, alternate key 64, RLU key 65, department registration key 67, amount registration key 68, discount key 69, premium key 70, subtotal key 7
1. In addition to the neck count key 72, there is also a mode selector switch 73 that selects the business mode of the ECR: ``Power OFF'', ``Register REG'', ``Inspection ×'', ``Payment Z'', ``Settings SET''.
are arranged respectively. The ROM 55 also contains the parent ECRME, in addition to processing programs related to each business selected by the self-mode switch 73.
. ~M Sets the data transmitted based on the command given from the old n to the RAM 56, or conversely stores the data stored there in the parent ECRME. A transmission program for transmission to MEn is written in advance. Furthermore, the RAM 56 is provided with various types of memories that aggregate and store data related to products registered through registration operations, according to classifications such as by department and by transaction. Next, the effect will be explained. Now, the central management unit CQ, the parent ECRME. ~
MEn and child ECRSE. ,~When powering on SEnn, the parent ECRME. ~ In MEn, Figure 9a
According to the monitor routine shown in the flowchart, the subroutine for key import processing and the flag J
Loop L, which determines whether KF and power failure recovery processing flag TKF are set, is constantly repeated, and when a key on the keyboard 23 is operated, key processing, that is, registration work, etc., is performed according to the subroutine of key capture processing. , when an interrupt request is given from the central management unit CQ, it operates according to the reception interrupt routine shown in the flowchart of FIG. Therefore, the reception interrupt routine shown in the flowchart of FIG. 10 will be explained first.

いま、中央管理装置CQから伝送されてきた割込要求を
親ECRME。〜MEnが受信すると、その親ECR
M旧。〜MEnは、第10図aのフローチャートに従っ
て、まず受信した受信データがテキストであるか否かを
判断し、その判断結果がテキストでない場合には更にボ
ーリング信号POLLであるか否かを判断し、その判断
結果がボーリング信号POLLである場合には次のよう
な処理を行う。■ 第1のデータ有無判別フラッグDF
Iがセットつまり第1のバッファメモリ45に応答デー
タが有るときは、その第1のバッファメモリ45のデー
タを中央管理装置CQへ送信する。
Now, the parent ECRME receives an interrupt request transmitted from the central management unit CQ. ~ When MEn receives, its parent ECR
Old M. ~MEn first determines whether the received data is text or not, and if the determination result is not text, further determines whether or not it is a bowling signal POLL, according to the flowchart in FIG. If the determination result is the bowling signal POLL, the following processing is performed. ■ First data presence/absence determination flag DF
When I is set, that is, when there is response data in the first buffer memory 45, the data in the first buffer memory 45 is transmitted to the central management unit CQ.

■ 第1のデータ有無判別フラッグDFIがリセットつ
まり第1のバッファメモIJ45に応答データが無く、
送出判別フラッグSHFがセットされているときは、第
2のデータ有無判別フラッグDF2がセットつまり第2
のバッファメモリ46にデータが格納されていることを
条件として、その第2のバッファメモリ46のデータを
中央管理装置CQへ送信する。■ 第1のデータ有無判
別フラッグDFIおよび送出判別フラッグSHFがリセ
ットされているとき、または第1のデータ有無判別フラ
ッグDFIおよび第2のデータ有無判別フラッグDF2
がリセットされかつ送出判別フラッグSHFがセットさ
れているときは、エンド・オブ・トランスミッション信
号EOTを中央管理装置CQへ送信するまた、前記受信
した受信データがボーリング信号POLLであるか否か
の判断において、ボーリング信号でない場合には次にア
クノレツジ信号ACKであるか否かを判断し、その判断
結果がアクノレッジ信号ACKである場合には次のよう
な処理を行う。
■ The first data presence/absence determination flag DFI is reset, that is, there is no response data in the first buffer memory IJ45.
When the sending discrimination flag SHF is set, the second data presence/absence discrimination flag DF2 is set, that is, the second
On the condition that data is stored in the second buffer memory 46, the data in the second buffer memory 46 is transmitted to the central management unit CQ. ■ When the first data presence/absence judgment flag DFI and the sending judgment flag SHF are reset, or the first data presence/absence judgment flag DFI and the second data presence/absence judgment flag DF2
is reset and the sending determination flag SHF is set, the end of transmission signal EOT is sent to the central control unit CQ. Also, in determining whether the received data is the bowling signal POLL. , if it is not a boring signal, then it is determined whether or not it is an acknowledge signal ACK, and if the determination result is an acknowledge signal ACK, the following processing is performed.

■′ 第1のデータ有無判別フラッグDFIがセットさ
れているときは、その第1のデータ有無判別フラッグD
FIをリセットした後、エンドオブトランスミッション
信号EOTを中央管理装置CQへ送信する。
■' When the first data presence/absence determination flag DFI is set, the first data presence/absence determination flag D
After resetting the FI, it sends an end of transmission signal EOT to the central management unit CQ.

■′ 第1のデータ有無判別フラッグDFIがリセット
されているときは、第2のデータ有無判別フラッグDF
2をリセットし、エンドオブトランスミッション信号E
OTを中央管理装置 ℃Qへ送信した後、送出終了フラ
ッグSFFがセットされている場合にはライン関係の各
種フラッグをリセットする。
■' When the first data presence/absence determination flag DFI is reset, the second data presence/absence determination flag DF
2 and end of transmission signal E
After transmitting the OT to the central control device ℃Q, if the sending end flag SFF is set, various line-related flags are reset.

また、前記受信した受信データがテキストであるか否か
の判断において、テキストである場合には受信したテキ
ストにエラーが無いことを条件としてアクノレツジ信号
ACKを中央管理装置CQへ送信した後、次にコマンド
であるか否かを判断し、その判断結果がコマンドで無い
場合つまり設定データ等の場合には次のような処理を行
う。
In addition, in determining whether or not the received data is text, if it is text, an acknowledgment signal ACK is sent to the central management device CQ on the condition that there is no error in the received text, and then It is determined whether or not it is a command, and if the determination result is not a command, that is, if it is setting data, etc., the following processing is performed.

■ 正常シーケンスであるときは、受信した受信データ
のブロック数をブロックカウンタBCにセットした後、
その受信データを設定収集データ格納エリア50へ転送
する。■ 正常シーケンスでなく、かつ子ECRSE。
■ When the sequence is normal, after setting the number of blocks of the received data in the block counter BC,
The received data is transferred to the setting collection data storage area 50. ■ Not a normal sequence and a child ECRSE.

,〜SEnnとデータ伝送中であるときは、伝送処理中
異常検出フラッグDEFをセットした後、ライン関係の
各種フラッグをリセットする。■ 正常シーケンスでな
く、かつ子ECRSE。
, ~SEnn, the abnormality detection flag DEF during transmission processing is set, and then various line-related flags are reset. ■ Not a normal sequence and a child ECRSE.

,〜SE肌とデータ伝送中でないときは、第1のシーケ
ンスエラーフラツグSEFIをセットした後、ライン関
係の各種フラッグをリセットする。また、前記受信した
受信データがコマンドであるか否かの判断において、コ
マンドである場合には、第10図bに示す如く次に正常
シーケンスであるか否かを判断し、その判断結果が正常
シーケンスで無いことを条件として前記■または■の処
理へ進む。
, ~ When data is not being transmitted to the SE skin, the first sequence error flag SEFI is set, and then various line-related flags are reset. In addition, in determining whether or not the received data is a command, if it is a command, then it is determined whether or not the sequence is normal as shown in FIG. 10b, and the determination result is normal. On the condition that it is not a sequence, proceed to the process of (1) or (2) above.

一方、上記判断結果が正常シーケンスであれば、次に受
信したコマンドの種別を判別し、そのコマンドの種別に
応じて次のような処理を行う。■ レジスタ指定テキス
トコマンド‘200’であれば、READY状態である
ことを条件として、受信可否判別フラッグJKFをセッ
トし、第1のバッファメモリ45に設定受信可応答デー
タ‘C’をセットした後、第1のデータ有無判別フラッ
グDFIをセットする。
On the other hand, if the above judgment result is a normal sequence, the type of the next received command is determined, and the following processing is performed depending on the type of command. ■ If the register specification text command is '200', on condition that it is in the READY state, set the reception availability determination flag JKF, set the setting reception availability response data 'C' in the first buffer memory 45, and then A first data presence/absence determination flag DFI is set.

なお、ここでは図示していないが上言己READY状態
でなくBUSY状態であれ‘ま、第1のバッファメモリ
45には設定受信否応答データ‘A’がセットされる。
■ 設定点検コマンド‘302’であれば、設定が正し
く行なわれたことを条件として、第1のバッファメモリ
45に設定完了応答データ‘F’をセットした後、第1
のデータ有無判別フラッグDFIをセットする。なお、
この場合も図示していないが設定が正しく行なわれてい
なければ、第1のバッファメモリ45には設定未完了応
答データ‘G’がセットされる。■ 部門設定コマンド
‘220’であれば、READY状態であることを条件
として、第1のバッファメモリ45に設定受信可応答デ
ータ‘C’をセットした後、第1のデータ有無判別フラ
ッグDFIをセットする。
Incidentally, although not shown here, even if the state is not in the READY state but in the BUSY state, the setting reception failure response data 'A' is set in the first buffer memory 45.
■ If the setting check command is '302', the setting completion response data 'F' is set in the first buffer memory 45, and then the first
The data presence/absence determination flag DFI is set. In addition,
In this case as well, although not shown, if the setting is not performed correctly, setting incomplete response data 'G' is set in the first buffer memory 45. ■ If the department setting command is '220', set the setting reception ready response data 'C' in the first buffer memory 45, and then set the first data presence/absence determination flag DFI, provided that it is in the READY state. do.

■ 設定業務コマンド‘305’であれば、次に業務コ
マンド受信フラッグGKFがセットされているか否かを
判断する。
(2) If the setting business command is '305', then it is determined whether the business command reception flag GKF is set.

このとき、業務コマンド受信フラッグGKFがセットさ
れていない場合には、その業務コマンド受信フラッグG
KFをセットし、第1のバッファメモリ45に業務応答
データ‘E’をセットした後、第1のデータ有無判別フ
ラッグDFIをセットする。また、業務コマンド受信フ
ラッグGKFがセットされている場合には、次に第2の
データ有無判別フラッグDF2がセットされているか否
かを判断し、その第2のデータ有無判別フラッグDF2
がセットされていないときつまり第2のバッファメモリ
46に設定データまたは収集データが無いとき第1のバ
ッファメモリ45に業務応答データ‘E’をセットする
処理へ進み、第2のデータ有無判別フラッグDF2がセ
ットされているときつまり第2のバッファメモリ46に
設定データまたは収集データが有るとき送出判別フラッ
グSHFをセットする処理へ進む。■ 全点検業務コマ
ンド‘360’であれば、前記■の処理における業務コ
マンド受信フラッグGKFがセットされているか杏かの
判断へ進み、その判断結果に従って処理を行う。
At this time, if the business command reception flag GKF is not set, the business command reception flag GKF is not set.
After setting KF and business response data 'E' in the first buffer memory 45, the first data presence/absence determination flag DFI is set. If the business command reception flag GKF is set, then it is determined whether or not the second data presence/absence determination flag DF2 is set, and the second data presence/absence determination flag DF2 is set.
is not set, that is, when there is no setting data or collected data in the second buffer memory 46, the process proceeds to setting business response data 'E' in the first buffer memory 45, and the second data presence/absence determination flag DF2 is set. is set, that is, when there is setting data or collected data in the second buffer memory 46, the process proceeds to the process of setting the sending discrimination flag SHF. (2) If the full inspection service command is '360', the process proceeds to the process of (2) to determine whether the service command reception flag GKF is set or not, and the process is performed according to the result of that determination.

■ 以下各種業務コマンドに基づく処理であるが、ここ
では省略する。
■ The following processes are based on various business commands, but are omitted here.

さて、以上説明した第10図の受信割込ルーチンにおけ
る処理を踏まえて、次に中央管理装置CQから親ECR
ME。
Now, based on the processing in the reception interrupt routine of FIG. 10 explained above, next
M.E.

〜MEnおよび子ECRSE。,〜SEnnへデータを
設定する場合、逆にそれらからデータを収集する場合を
、第9図a,bのフローチャートに沿って説明する。ま
ず、中央管理装置CQから親ECRME。
~MEn and child ECRSE. , to SEnn, and conversely, the case of collecting data from them will be explained along the flowcharts of FIGS. 9a and 9b. First, from the central management device CQ to the parent ECRME.

〜MEnおよび子ECRSE。,〜SEnnへデータを
設定する場合には、中央管理装置CQにおいて、予めキ
ーボード3のキー操作により例えば部門コード、謀コー
ド等の設定データとその設定データを設定する端末を指
定するレジスタ指定テキストをRAM6に設定した後、
例えば「A」キーを押すと、レジスタ指定テキストコマ
ンド‘200’が各親ECRME。〜MEnに対して送
信される。すると、そのレジスタ指定テキストコマンド
‘200’を受信した親ECRME。〜MEnは、前述
した第10図のフローチャートに示す受信割込ルーチン
に従って、アクノレッジ信号ACKを中央管理装置CQ
へ送信するとともに、前記■の処理READY状態であ
ることを条件として、受信可否判別フラッグJKFをセ
ットし、第1のバッファメモリ45に設定受信可応答デ
ータ‘C’をセットした後、第1のデータ有無判別フラ
ッグDFIをセットする。)を行う。このとき、上記■
の処理によって受信可否判別フラッグJKFがセットさ
れるため、第9図aにおける処理は、ループL,からル
ープL2へ進み第1のシーケンスェラーフラッグSEF
Iおよび業務コマンド受信フラッグGKFがセットされ
たか否か、キー取込み処理のサブルーチンを繰返す。一
方、アクノレッジ信号ACKが中央管理装置CQで受信
されると、中央管理装置CQからはボ−リング信号PO
LLが送信される。
~MEn and child ECRSE. , ~ When setting data to SEnn, the central control unit CQ uses key operations on the keyboard 3 to input setting data such as department codes, plot codes, etc. and register designation text that specifies the terminal where the setting data is to be set. After setting to RAM6,
For example, if you press the "A" key, the register specification text command '200' will be sent to each parent ECRME. ~Sent to MEn. Then, the parent ECRME receives the register specification text command '200'. ~MEn transmits the acknowledgment signal ACK to the central management unit CQ according to the reception interrupt routine shown in the flowchart of FIG.
At the same time, on the condition that the processing in (2) is in the READY state, the reception permission determination flag JKF is set, and the set reception permission response data 'C' is set in the first buffer memory 45. Set the data presence/absence determination flag DFI. )I do. At this time, the above ■
Since the reception determination flag JKF is set by the process, the process in FIG. 9a proceeds from loop L to loop L2 and sets the first sequence error flag SEF.
The key capture processing subroutine is repeated to determine whether I and the business command reception flag GKF are set. On the other hand, when the acknowledgment signal ACK is received by the central management device CQ, the boring signal PO is sent from the central management device CQ.
LL is sent.

すると、親ECRME。〜M旧nは、そのボーリング信
号POLLを受信すると、第1のデータ有無判別フラッ
グDFIがセットされた状態にあるため、前記■の処理
(第1のバッファメモリ45にセットされている設定受
信可応答データ‘C’を中央管理装置CQへ送信する。
)を行う。そして、この設定受信可応答データ‘C’が
中央管理装置CQで受信されると、中央管理装置CQか
らはアクノレツジ信号ACKが送信される。すると、親
ECRME。〜M旧nは、そのアクノレッジ信号ACK
を受信すると、前記■′の処理(第1のデータ有無判別
フラッグDFIをリセットし、エンドオブトランスミツ
ション信号EOTを送信する。)を行う。このエンド・
オブ・トランスミッション信号EOTが中央管理装置C
Qで受信されると、中央管理装置CQからはRAM6に
設定されているレジスタ指定テキストが送信されてくる
。すると、親ECRME。〜MEnにおいては、アクノ
レツジ信号ACKを中央管理装置CQへ送信するととも
に前記■の処理に従って、受信したレジスタ指定テキス
トのブロック数をブロックカウントBCにセットし、か
つそのレジスタ指定テキストを設定収集データ格納エリ
ア50に転送する。このアクノレツジ信号ACKが中央
管理装置CQで受信されると、中央管理装置CQからは
設定点検コマンド‘302 が送信されてくる。すると
、親ECRME。〜MEnは、その設定点検コマンド‘
302 を受信すると、アクノレッジ信号ACKを中央
管理装置CQへ送信するとともに前記■の処理(設定が
正しく行なわれていれば応答データ‘F’を、そうでな
ければ応答データ‘G’を第1のバッファメモリ45に
セットした後、第1のデータ有無フラッグDFIをセッ
トする。)を行う。そして、この後中央管理装置CQか
ら送信されるボーリング信号POLLを受信したとき前
記■の処理を、アクノレッジ信号ACKを受信したとき
前記■′の処理を行い、レジスタ指定テキストの伝送が
終了する。続いて、中央管理装置CQからは部門設定コ
マンド‘220’が送信され、前記と同様にして設定デ
ータの伝送が行なわれる。
Then, the parent ECRME. When ~M old n receives the bowling signal POLL, since the first data presence/absence determination flag DFI is set, the above process (■) (setting reception set in the first buffer memory 45 Send response data 'C' to central management unit CQ.
)I do. When the setting reception ready response data 'C' is received by the central management device CQ, an acknowledgment signal ACK is transmitted from the central management device CQ. Then, the parent ECRME. ~M old n is its acknowledge signal ACK
When it receives, it performs the process (2) (resetting the first data presence/absence determination flag DFI and transmitting the end of transmission signal EOT). This ending
of transmission signal EOT is central control unit C
When received by Q, the register designation text set in the RAM 6 is transmitted from the central management device CQ. Then, the parent ECRME. ~MEn transmits the acknowledgment signal ACK to the central control unit CQ, and according to the process in (2) above, sets the number of blocks of the received register designation text in the block count BC, and sets the register designation text in the set collection data storage area. Transfer to 50. When this acknowledgment signal ACK is received by the central management device CQ, a setting check command '302 is transmitted from the central management device CQ. Then, the parent ECRME. ~MEn is the setting check command'
302, it sends an acknowledge signal ACK to the central management device CQ and processes the above (if the setting is done correctly, the response data 'F' is received, otherwise the response data 'G' is sent to the first After setting in the buffer memory 45, the first data presence/absence flag DFI is set. Thereafter, when the boring signal POLL transmitted from the central management device CQ is received, the process of (2) is performed, and when the acknowledge signal ACK is received, the process (2) is performed, and the transmission of the register designation text is completed. Subsequently, a department setting command '220' is transmitted from the central management device CQ, and setting data is transmitted in the same manner as described above.

即ち、親ECRM旧。〜M旧nは、まず中央管理装置C
Qからの部門設定コマンド1220’を受信したとき前
記■の処理を行い、かつ受信した部門設定コマンド‘2
201 をコマンドレジスタCRにセットし、次にボー
リング信号を受信したとき前記■の処理を行い、次にア
クノレッジ信号ACKを受信したとき前記■′の処理を
行い、次に部門設定データを受信したとき前記■の処理
を行い、次に設定点検コマンド‘302’を受信したと
き前記■の処理を行い、次にボーリング信号POLLを
受信したとき前記■の処理を行い、そしてアクノレッジ
信号ACKを受信したとき前記■′の処理を行う。以上
で、親ECRME。〜MEnの設定収集データ格納エリ
ア5川こは、部門設定データおよびレジスタ指定テキス
トが格納された状態となる。この後、中央管理装置CQ
からは設定業務コマンド‘305’が送信される。
That is, the parent ECRM old. ~M old n is first central management device C
When the department setting command 1220' from Q is received, the above process (■) is performed, and the received department setting command '2' is executed.
201 is set in the command register CR, and the next time a boring signal is received, the above process is performed. Next, when the acknowledge signal ACK is received, the above process is performed. Next, when the department setting data is received, the above process is performed. Perform the process described above, and then perform the process described above when the setting check command '302' is received, then perform the process described above when the boring signal POLL is received, and then perform the process described above when the acknowledge signal ACK is received. Perform the process ① above. That's it for parent ECRME. ~MEn's setting collection data storage area 5 is in a state where department setting data and register designation text are stored. After this, the central management unit CQ
A setting task command '305' is transmitted from the terminal.

すると、親ECRME。〜MEnは、その設定業務コマ
ンド‘308 を受信すると、アクノレッジ信号ACK
を中央管理装置CQへ返すとともに前記■の処理を行う
。このとき、上記■の処理によって業務コマンド受信フ
ラッグGKFがセットされるため、第9図aにおける処
理は、ループLから次の処理へ進む。この間の処理にお
いて、異常が発生すると前記■の処理によって第1のシ
ーケンスェラー検出フラッグSEFIがセットされるた
め再びループLへ復帰する。一方、ループL2から次の
処理へ進むと、まず設定収集データ格納エリア501こ
格納されているレジス夕指定テキストをィンラィンアド
レスに変換して指定レジスタテーブルメモリ48へ書込
むとともに、指定されたレジスタ台数をターミナルカゥ
ンタTCにセットし、業務開始のプログラム設定を行っ
た後、指定レジスタテーフルメモリ48の中からデータ
伝送を指定された子ECRSE。,〜SEnnまたは親
ECRM旧。〜MEnが有るか否かを検索する。ここで
、データ伝送を指定されたECRが有ればそのィンラィ
ンアドレスをアドレスレジスタARにセットし、次にタ
イマーカゥンタTOFにセットされた伝送時間経過する
とセットされるタイムアウトフラッグTOFがセットさ
れていないこと別ち設定された伝送時間内であることを
条件として、業務開始のプログラム設定後送信起動をオ
ンする。すると、設定収集データ格納エリア5川こ格納
されている部門設定データがアドレスレジスタARにセ
ットされたラインアドレスに該当する子ECRSE。,
〜SEnnへ伝送設定されてゆく。この際「図示してい
ないが、子ECRSE。,〜SEnnへの設定(または
収集)業務が1台完了する毎に、ターミナルカゥンタT
Cのデータが‘1’カウントダウンされ、設定収集完了
フラッグSKFがセットされるとともに設定(または収
集)が完了した子ECRSE。,〜SEnnのラインア
ドレスに対応する業務完了判別フラッグ48bがセット
される。また、この間の伝送中において、BUSY状態
になると第2のシーケンスヱラ−検出フラッグSEF2
が、無応答状態になると第3のシーケンスヱラ−検出フ
ラッグSEF3がそれぞれセットされる。一方、.第9
図aにおける処理は、前述した送信起動をオンした後、
ループしへ進み設定収集完了フラッグSKF、第2のシ
ーケンスェラー検出フラッグSEF2および第3のシー
ケンスェラ−検出フラッグSEF3がセットされたか否
かの判断、キー取込み処理のサブルーチンを繰返してい
る。
Then, the parent ECRME. ~MEn, upon receiving the setting business command '308, sends an acknowledge signal ACK.
is returned to the central management unit CQ, and the process (2) above is performed. At this time, since the business command reception flag GKF is set by the process (2) above, the process in FIG. 9a proceeds from loop L to the next process. During this process, if an abnormality occurs, the first sequence error detection flag SEFI is set by the process (2), and the process returns to loop L again. On the other hand, when proceeding from loop L2 to the next process, first the register specification text stored in the setting collection data storage area 501 is converted to an inline address and written to the specified register table memory 48, and the specified After setting the number of registers in the terminal counter TC and setting the program to start the work, the child ECRSE is designated to transmit data from the designated register table memory 48. ,~SEnn or parent ECRM old. ~Search to see if MEn exists. Here, if there is an ECR designated for data transmission, its inline address is set in the address register AR, and then the timeout flag TOF, which is set when the transmission time set in the timer counter TOF has elapsed, is not set. After setting the program for starting work, the transmission start is turned on, provided that it is within the specified transmission time. Then, the child ECRSE whose department setting data stored in the setting collection data storage area 5 corresponds to the line address set in the address register AR. ,
- Transmission settings are made to SEnn. At this time, "Although not shown, each time the setting (or collection) work for child ECRSE.,~SEnn is completed, the terminal counter T
The data of C is counted down to '1', the setting collection completion flag SKF is set, and the setting (or collection) of the child ECRSE is completed. , ~SEnn, the task completion determination flag 48b corresponding to the line address is set. Also, during transmission during this period, if the BUSY state is reached, the second sequence error detection flag SEF2 is activated.
However, when there is no response, a third sequence error detection flag SEF3 is set. on the other hand,. 9th
The process in Figure a is that after turning on the transmission start mentioned above,
Proceeding to a loop, the subroutine of determining whether the setting collection completion flag SKF, the second sequence error detection flag SEF2, and the third sequence error detection flag SEF3 are set, and key capture processing are repeated.

ここで、アドレスレジスタARにセットされているライ
ンアドレスに該当する子ECRSE。,〜SEnnへの
設定業務が完了すると、設定収集完了フラッグSKFが
セットされるため、第9図aにおける処理は、ループ−
からラインコントロール1ルーチンへ進む。ラインコン
トロール1ルーチンでは、第9図bのフローチャートに
示す如く、まず設定収集完了フラッグSKFをリセット
し、次に加算データ判別フラッグKDFがセットされて
いるか否かを判断する。
Here, the child ECRSE corresponds to the line address set in the address register AR. , ~ When the setting work for SEnn is completed, the setting collection completion flag SKF is set, so the process in FIG.
Then proceed to the line control 1 routine. In the line control 1 routine, as shown in the flowchart of FIG. 9b, first the setting collection completion flag SKF is reset, and then it is determined whether the addition data discrimination flag KDF is set.

この加算データ判別フラッグKDFは、点検或いは精算
等の業務コマンドを受信した場合にはセットされている
が、それ以外の業務例えば設定等の業務コマンドを受信
した場合にはセットされていない。従って、この場合に
は設定業務コマンドであるから加算データ判別フラッグ
KDFがセットされていないため、次に加算データ判別
フラッグKDFをリセットさせる処理を行った後、伝送
処理中異常検出フラッグDEFがセットされているか杏
かを判断する。このとき、上記処理において異常があれ
ば前記■の処理によって伝送処理中異常検出フラッグD
EFがセットされているから第9図aに示すモニタール
ーチンの■へと復帰するが、セットされていない場合に
は次に指定レジスタテーブルメモリ48に設定された全
ECRとのデータ伝送が終了したか杏か、指定レジスタ
テーブルメモリ48のアドレスが終端に達したか否かを
判断する。そして、上記全ECRとのデータ伝送が終了
していないこと、アドレスが終端に達していないことを
条件として、第9図aの■へ戻り次のECRとのデータ
伝送を行う。なお、上言己アドレスが終端に達している
場合には、アドレスを初期化し、タイマーカウンタWC
の起動の有無を判断し、その判断の結果起動が有れば直
接、無ければ残台数により伝送時間をタイマーカウンタ
WCにセットした後前記第9図の■へ戻る。また、第9
図のループL3において、第2、第3のシーケンスェラ
ー検出フラッグSEF2,SEF3がセットされると、
即ち子ECRSE。,〜SEnnとの伝送中にBUSY
状態或いは無応答状態となると、第9図bに示すライン
コントロールロルーチンへ進み、加算データ判別フラッ
グKDFの状態によって加算処理のサブルーチンの処理
が行なわれる。このようにして、指定レジスタテーブル
メモリ48に設定された子ECRSE。
This addition data discrimination flag KDF is set when a business command such as inspection or settlement is received, but is not set when a business command such as setting is received for other business. Therefore, in this case, since the addition data discrimination flag KDF is not set because it is a setting service command, the error detection flag DEF during transmission processing is set after the addition data discrimination flag KDF is reset. Determine whether it is true or apricot. At this time, if there is an abnormality in the above processing, the transmission processing abnormality detection flag D is
Since EF is set, the process returns to step (2) of the monitor routine shown in FIG. It is determined whether the address of the specified register table memory 48 has reached the end. Then, on the condition that data transmission with all the ECRs has not been completed and that the address has not reached the end, the process returns to (2) in FIG. 9a and data transmission with the next ECR is performed. Note that if the above address has reached the end, the address is initialized and the timer counter WC is
As a result of the judgment, if there is activation, the transmission time is set directly in the timer counter WC, and if not, the transmission time is set in the timer counter WC according to the number of remaining units, and then the process returns to (2) in FIG. Also, the 9th
In loop L3 in the figure, when the second and third sequence error detection flags SEF2 and SEF3 are set,
That is, the child ECRSE. ,~BUSY during transmission with SEnn
state or no response state, the process advances to the line control routine shown in FIG. 9b, and a subroutine for addition processing is performed depending on the state of the addition data discrimination flag KDF. In this way, the child ECRSE is set in the designated register table memory 48.

,〜SEnnへ設定データが順次設定されてゆくわけで
ある。そして、設定された全ECRとのデータ伝送が終
了したとき、または設定された伝送時間が経過しタイム
アウトフラッグTOFがセットされたとき、データ送出
ルーチンへ移行する。デー夕送出ルーチンでは、第9図
cに示すフローチャートに従って、まず指定レジスタテ
ーフルメモリ48の業務完了判別フラッグ48bにより
子ECRSE。
, to SEnn are sequentially set. Then, when the data transmission with all the set ECRs is completed, or when the set transmission time has elapsed and the timeout flag TOF is set, the routine shifts to the data sending routine. In the data sending routine, according to the flowchart shown in FIG. 9c, the child ECRSE is first set by the task completion determination flag 48b of the designated register table memory 48.

,〜SEnnおよび親ECRME。〜MEnについて設
定(または収集)が完了したか否かの情報を中央管理装
置CQへの送出用として作成し、その作成データを第2
のバッファメモリ46にセットし、続いて第2のデータ
有無判別フラッグDF2をセットした後、最終データで
あるか否かを判断する。最終データでなければ直接、ま
た最終データであれば送出終了フラッグSFFをセット
した後、第2のデータ有無判別フラッグDF2がリセッ
トされるまでキー取込み処理のサブル−チンを繰返す。
この間において、中央管理装置CQからのボーリング信
号POLLを受信すると、前記■の処理により第2のバ
ッファメモリ46にセットした送出データを中央管理装
置CQへ送信し、次にアクノレッジ信号ACKを受信す
ると前記■′の処理を行う。すると、この■′の処理に
伴って第2のデータ有無判別フラッグDF2がリセット
されるため、次に伝送処理中異常検出フラッグDEFが
セットされているか否かを判断する。このとき、伝送処
理中異常検出フラッグDEFがセットされていればその
伝送処理中異常検出フラッグDEFをリセットし、かつ
各種フラッグをリセットした後モニタールーチンの■へ
戻るが、伝送処理中異常検出フラッグDEFがセットさ
れていなければ最終データを送信したことを条件として
ジャーナルにコマンドレジスタCRに記憶されている部
門設定コマンド‘220’を印字した後、モニタールー
チンの■へ復帰する。以上の操作によって、親ECRM
E。
, ~SEnn and parent ECRME. ~ Create information on whether the settings (or collection) for MEn have been completed to be sent to the central management device CQ, and send the created data to the second
After setting the data in the buffer memory 46 and subsequently setting the second data presence/absence determination flag DF2, it is determined whether or not it is the final data. If it is not the final data, it is set directly, or if it is the final data, the sending end flag SFF is set, and then the subroutine of the key capturing process is repeated until the second data presence/absence determination flag DF2 is reset.
During this period, when the bowling signal POLL is received from the central management device CQ, the sending data set in the second buffer memory 46 is transmitted to the central management device CQ by the process of (2) above, and when the acknowledgment signal ACK is received next, the above-mentioned ■ Perform the processing of '. Then, since the second data presence/absence determination flag DF2 is reset in accordance with the process of ``2'', it is next determined whether or not the abnormality detection flag DEF during transmission processing is set. At this time, if the abnormality detection flag DEF during transmission processing is set, the abnormality detection flag DEF during transmission processing is reset, and after resetting various flags, the process returns to ■ of the monitor routine, but the abnormality detection flag DEF during transmission processing is reset. If not set, the department setting command '220' stored in the command register CR is printed in the journal on the condition that the final data has been transmitted, and then the process returns to step (2) of the monitor routine. By the above operations, the parent ECRM
E.

〜MEnおよび子ECRSE。,〜SEnnに各種デー
タが設定された状態において、それぞれ登録業務を行う
と、親ECRME。〜MEnおよび子ECRSE。,〜
SEnnのRAM26,56には登録された各種データ
が集計記憶されてゆく。なお、登録業務は、まず商品の
金額を層数キー31,61によって入力した後金額キー
38,68を押し、続いてその商品の属する部門コード
を層数キー31,61によって入力した後部門キー37
,67を押す。また、各部門キー32,62にそれぞれ
対応するメモ川こ商品の単価がプリセットされたものに
ついては、単に部門キー32,62を押すだけで1商品
の登録が行なわれる。そこで、次に中央管理装置CQか
ら親ECRME。
~MEn and child ECRSE. , ~ When a registration operation is performed with various data set in SEnn, the parent ECRME. ~MEn and child ECRSE. ,〜
Various registered data are stored in the RAMs 26 and 56 of the SEnn. To register, first enter the price of the product using the layer number keys 31 and 61, then press the amount keys 38 and 68, then enter the department code to which the product belongs using the layer number keys 31 and 61, and then press the department key. 37
, press 67. Further, if the unit price of the Memo River product corresponding to each department key 32, 62 is preset, one product can be registered simply by pressing the department key 32, 62. Therefore, next, the parent ECRME is sent from the central management device CQ.

〜MEnおよび子ECRSE。,〜SEnnに蓄えられ
た登録データを収集する場合には、中央管理装置CQに
おいて、予めキーボード3のキー操作によりデータを収
集する端末を指定するレジスタ指定テキストをRAM6
に設定した後、例えば「B」キーを押すと、前述した設
定業務と同様にレジスタ指定テキストが親ECRM旧。
〜MEnの設定収集データ格納エリア501こセットさ
れる。なお、この間においても親ECRM旧。〜M旧n
では、ループL,,−のキー取込み処理のサブルーチン
によって登録業務が行える状態である。この後、中央管
理装置CQからは全点検業務コマンド‘360’が送信
される。
~MEn and child ECRSE. , ~ When collecting registered data stored in SEnn, the central management unit CQ stores in advance in RAM 6 register designation text that designates the terminal from which data is to be collected by key operations on the keyboard 3.
After setting, for example, if you press the "B" key, the register specification text will change to the parent ECRM old, similar to the setting task described above.
~MEn setting collection data storage area 501 is set. Furthermore, even during this period, the parent ECRM remained unchanged. ~M old n
Now, the registration work can be performed by the key import processing subroutine in loops L, , -. After this, the central management device CQ transmits a complete inspection work command '360'.

すると、親ECRME。〜M旧nは、その全点検業務コ
マンド‘360’を受信すると、前記■の処理を行いか
つ受信した全点検業務コマンド‘3601 をコマンド
レジスタCRへセットした後、アクノレッジ信号ACK
を中央管理装置CQへ返す。このとき、上記■の処理に
よって業務コマンド受信フラッグGKFがセットされる
ため、第9図aにおける処理は、ループL2から次の処
理へ進む。この間の処理において、異常が発生すると前
記■の処理によって第1のシーケンスェラー検出フラッ
グSEFIがセットされるため再びループL,へ復帰す
る。一方、ループLから次の処理へ進むと、まず設定収
集データ格納エリア50に格納されているレジスタ指定
テキストをインラインアドレスに変換して指定レジスタ
テーブルメモリ48へ書込むとともに、指定されたレジ
スタ台数をターミナルカウンタTCにセットし、業務開
始のプログラム設定を行った後、指定レジスタテーブル
メモリ48の中からデータ伝送を指定された子ECRS
E。・〜SEnnまたは親ECRME。〜MEnが有る
か杏かを検索する。ここで、データ伝送を指定されたE
CRが有ればそのインラインアドレスをアドレスレジス
タARにセットし、タイムアウトフラッグTOFがセッ
トされていないこと即ち設定された伝送時間内であるこ
とを条件として送信起動をオンする。すると、コマンド
レジスタCRにセットされていた全点検業務コマンド‘
360’がアドレスレジスタARにセットされていたラ
インアドレスに該当する子ECRSE。,〜SEnnへ
伝送されてゆく。子ECRSE。,〜SE肌では、親E
CRME。〜M旧nから送られてきた全点検業務コマン
ド‘360’ を受信すると、RAM56内に蓄えられ
ていた部門別、取引別等の各種データを親ECRME。
〜M旧nに対して送信する。一方、親ECRME。
Then, the parent ECRME. When ~M old n receives the all inspection work command '360', it performs the process described above and sets the received all inspection work command '3601' in the command register CR, and then sends an acknowledge signal ACK.
is returned to the central management unit CQ. At this time, since the business command reception flag GKF is set by the process (2) above, the process in FIG. 9a proceeds from loop L2 to the next process. During this process, if an abnormality occurs, the first sequence error detection flag SEFI is set by the process (2), and the process returns to loop L. On the other hand, when proceeding from loop L to the next process, first the register specification text stored in the setting collection data storage area 50 is converted into an inline address and written to the specified register table memory 48, and the specified number of registers is After setting the terminal counter TC and setting the program to start business, the child ECRS designated for data transmission from the designated register table memory 48
E. -~SEnn or parent ECRME. ~Search whether there is MEn or Anzu. Here, the E
If there is a CR, its inline address is set in the address register AR, and transmission activation is turned on on the condition that the timeout flag TOF is not set, that is, within the set transmission time. Then, the all inspection work command set in the command register CR
360' is the child ECRSE corresponding to the line address set in the address register AR. , ~SEnn. Child ECRSE. ,~SE skin, parent E
CRME. ~M Upon receiving the all-inspection command '360' sent from old n, various data stored in the RAM 56, such as by department and by transaction, are transferred to the parent ECRME.
~M Send to old n. On the other hand, parent ECRME.

〜MEnは、子ECRSE。,〜SE肌から送られてき
たデ−夕を設定収集データ格納エリア50へ転送すると
ともに、第9図aのフローチャートに示すループL3へ
進み、設定収集完了フラッグSKF、第2のシーケンス
ェラー・検出フラッグSEF2、および第3のシーケン
スェラー検出フラッグSEF3がセットされたか否かの
判断、キー取込み処理のサブルーチンを繰返している。
従って、子ECRSE。,〜SEnnとの伝送中におい
ても親ECRME。〜M旧nでは、ループL3のキー取
込み処理のサブル−チンによって登録義務が行える状態
である。ここで、アドレスレジスタARにセットされて
いるラインアドレスに該当する子ECRSE。,〜SE
nnからの収集業務が完了すると、設定収集完了フラッ
グSKFがセットされるため、第9図aにおける処理は
、ル−プ−からラインコントロール1ルーチンへ進む。
ラインコントロール1ル−チンでは、第9図bのフロー
チャ−トに示す如く、まず設定収集完了フラッグSKF
をリセットし、次に加算データ判別フラッグKDFがセ
ットされているか否かを判断する。
~MEn is child ECRSE. , ~ The data sent from the SE skin is transferred to the setting collection data storage area 50, and the process proceeds to loop L3 shown in the flowchart of FIG. The subroutine of determining whether the flag SEF2 and the third sequence error detection flag SEF3 are set and key capture processing is repeated.
Therefore, the child ECRSE. , ~ even during transmission with SEnn. ~M old n is in a state where the registration obligation can be performed by the key import processing subroutine of loop L3. Here, the child ECRSE corresponds to the line address set in the address register AR. ,~SE
When the collection work from nn is completed, the setting collection completion flag SKF is set, so the process in FIG. 9a proceeds from the loop to the line control 1 routine.
In the line control 1 routine, as shown in the flowchart of FIG. 9b, first the setting collection completion flag SKF is
is reset, and then it is determined whether the addition data discrimination flag KDF is set.

この場合には全点検業務コマンドであるから加算データ
判別フラッグKDPがセットされているため、次に加算
処理を行いその結果を加算データ格納エリア49へ転送
した後、加算データ判別フラッグKDFをリセットさせ
る処理を行った後、伝送処理中異常検出フラッグDEF
がセッチトミれているか杏かを判断する。このとき、上
記処理において異常があれば前記■の処理によって伝送
処理中異常検出フラッグDEFがセットされているから
第9図aに示すモニタールーチンの■へと復帰するが、
セットされていない場合には次に指定レジスタテーブル
メモリ48に設定された全ECRとのデータ伝送が終了
したか否か、指定レジスタテープルメモリ48のアドレ
スが終端に達したか否かを判断する。そして、上記全E
CRとのデータ伝送が終了していないこと、アドレスが
終端に達していないことを条件として、第9図aの■へ
戻り次のECRとのデータ伝送を行う。このようにして
、指定レジスタテーブルメモリ0 48に設定された子
ECRSE。,〜SEnnに蓄えられたデータを収集し
てゆくと、それらのデータは親ECRME。〜MEnの
加算データ格納エリア48へ格納される。そして、設定
された全ECRとのデータ伝送が終了したとき、または
設定された伝送時間が経過しタイムアウトフラッグTO
Fがセットされたとき、第9図cのデータ送出ルーチン
に従って、加算データ格納エリア48に格納されている
点検データが中央管理装置CQへ送信される。即ち、デ
ータ送出ルーチンでは、指定レジスタテーブルメモリ4
8の業務完了フラッグ48bにより子ECRSE。,〜
SEnnについて収集が完了したか否かの情報および加
算データ格納エリア49に格納されているデータを中央
管理装置CQへの送出用として作成し、その作成データ
を第2のバッファメモリ46にセットし、続いて第2の
データ有無判別フラッグDF2をセットした後、最終デ
ータであるか否かを判断する。最終データでなければ直
接、また最終データであれば送出終了フラッグSFFを
セットした後、第2のデータ有無判別フラッグDF2が
リセットされるまでキー取込み処理のサブルーチンを繰
返す。従って、この間においても親ECRME。〜ME
nでは、データ送出ルーチンのキー取込み処理によって
登録業務が行える状態にある。また、この間において、
中央管理装置CQからのボーリング信号POLLを受信
すると、前記■の処理により第2のバッファメモリ46
にセットした送出データを中央管理装置CQへ送信し、
次にアクノレッジ信号ACKを受信すると前記■′の処
理を行う。すると、この■′の処理に伴って第2のデー
タ有無判別フラッグDF2がリセットされるため、次に
伝送処理中異常検出フラッグDEFがセットされている
か否かを判断する。このとき、伝送処理中異常検出フラ
ッグDEFがセットされていればその伝送処理中異常検
出フラッグDEFをリセットし、かつ各種フラッグをリ
セットした後モニタールーチンの■へ戻るが、伝送処理
中異常検出フラッグDEFがセットされていなければ最
終データを送信したことを条件としてジャーナルにコマ
ンドレジスタCRに記憶されている全点検業務コマンド
‘360’を印字した後、モニタールーーチンの■へ復
帰する。ところで、上述したように中央管理装置CQか
らの起動によって設定または収集業務が行なわれている
最中に例えば親ECRME。〜MEnに一時的停電等の
異常が発生すると、伝送処理中異常検出フラッグDEF
がセットされるため、第9図aのモニタールーチンの■
へ復帰した状態となる。いま、仮に点検業務を行ってい
る最中に停電が発生しそれが回復した時、中央管理装置
CQから例えば部門設定コマンド‘220’ が送信さ
れてきたとすると、親ECRME。〜MEnは、受信し
た部門設定コマンド‘220’とコマンドレジスタCR
にセットされている停電発生前のコマンドつまり全点検
業務コマンド‘36ひとが同一であるか否かを判断する
。この場合には、両者が不一致であるかり、コマンドレ
ジスタCRにセットされている全点検業務コマンド‘3
60’ を中央管理装置CQに対して要求する全点検業
務コマンド要求データ‘1’を第1のバッファメモリ4
5へセットし、かつ第1のデータ有無判別フラッグDF
Iをセットした後、アクノレッジ信号ACKを中央管理
装置CQへ返す。そして、このアクノレッジ信号ACK
が中央管理装置CQで受信されると、中央管理装置CQ
からはボーリング信号POLLが送信される。すると、
親ECRME。〜MEnは、そのボーリング信号POL
Lを受信すると、第1のバッファメモリ45にセットさ
れている全点検業務コマンド要求データ‘1’を送信す
る。そして、この全点検業務コマンド要求データ‘1’
が中央管理装置CQで受信され、その要求データ‘1’
に対応する全点検業務コマンド‘360’が中央管理装
置CQから送信されてくると、親ECRME。〜MEn
においては、送信されてきたコマンドとコマンドレジス
タCRのコマンドが同一であるから停電回復処理フラッ
グTKFをセットする。すると、親ECRM旧。〜ME
nにおいては、第9図aのループLにおける停電回復処
理フラッグTKFがセットされたことによってデータ送
出ル−チンへ移行し、停電が発生した前までの設定、収
集データを中央管理装置CQへ送信することになる。従
って、このような伝送処理途中に停電等の異常が発生し
ても、それまでのデータが中央管理装置CQへ伝送処理
されるため、従来のように最初から処理を開始するよう
な時間的損失を無くすことができる。特に、親ECRM
E。〜M旧nが中央管理装置CQに対して、現時点にお
ける状態から起動を起させるコマンド要求データを返す
ようにすることは、起動時における時間的損失が無くな
る利点がある。以上が中央管理装置CQから親ECRM
E。〜MEnおよび子ECRSE。.〜SEnnへデー
タを設定する場合、逆にそれらからデータを収集する場
合であるが、次に親ECRM旧。〜MEnにおいて、子
ECRSE。,〜SEnnへデータ例えば部門データを
設定する場合、逆に子ECRSE。,〜SEnnから点
検データを収集する場合について説明する。まず、親E
CRME。
In this case, since it is a full inspection service command, the addition data discrimination flag KDP is set, so after performing addition processing and transferring the result to the addition data storage area 49, the addition data discrimination flag KDF is reset. After processing, the abnormality detection flag DEF during transmission processing
Determine whether it is settomire or apricot. At this time, if there is an abnormality in the above process, the abnormality detection flag DEF during the transmission process has been set by the process (2) above, so the process returns to (2) of the monitor routine shown in FIG. 9a.
If not set, then it is determined whether data transmission with all ECRs set in the designated register table memory 48 has been completed and whether the address of the designated register table memory 48 has reached the end. And all E above
Provided that the data transmission with the CR has not been completed and that the address has not reached the end, the process returns to (2) in FIG. 9a and data transmission with the next ECR is performed. In this way, the child ECRSE is set in the designated register table memory 048. ,~As we collect the data stored in SEnn, those data become the parent ECRME. ~MEn is stored in the addition data storage area 48. Then, when data transmission with all set ECRs is completed, or when the set transmission time has elapsed, the timeout flag TO
When F is set, the inspection data stored in the addition data storage area 48 is transmitted to the central control unit CQ according to the data transmission routine shown in FIG. 9c. That is, in the data sending routine, the specified register table memory 4
8, the child ECRSE is activated by the task completion flag 48b. ,〜
Information on whether collection has been completed for SEnn and data stored in the addition data storage area 49 are created for sending to the central management device CQ, and the created data is set in the second buffer memory 46, Subsequently, after setting the second data presence/absence determination flag DF2, it is determined whether the data is the final data. If it is not the final data, the key capture processing subroutine is repeated directly, or after setting the sending end flag SFF if it is the final data, the key capture processing subroutine is repeated until the second data presence/absence determination flag DF2 is reset. Therefore, during this period as well, the parent ECRME. ~ME
At n, the registration work can be performed by the key capture process of the data sending routine. Also, during this time,
When the bowling signal POLL is received from the central control device CQ, the second buffer memory 46 is
Sends the transmission data set to the central control unit CQ,
Next, when the acknowledgment signal ACK is received, the above-mentioned process 2' is performed. Then, since the second data presence/absence determination flag DF2 is reset in accordance with the process of ``2'', it is next determined whether or not the abnormality detection flag DEF during transmission processing is set. At this time, if the abnormality detection flag DEF during transmission processing is set, the abnormality detection flag DEF during transmission processing is reset, and after resetting various flags, the process returns to ■ of the monitor routine, but the abnormality detection flag DEF during transmission processing is reset. If not set, on the condition that the final data has been transmitted, the entire inspection work command '360' stored in the command register CR is printed in the journal, and then the process returns to the monitor routine (2). By the way, as mentioned above, while the setting or collection work is being performed by activation from the central management device CQ, for example, the parent ECRME. ~When an abnormality such as a temporary power outage occurs in MEn, the transmission processing abnormality detection flag DEF
is set, so ■ in the monitor routine in Figure 9a is
The state has returned to . Now, suppose that a power outage occurs during inspection work and when the power is restored, a department setting command '220' is sent from the central management unit CQ, for example, to the parent ECRME. ~MEn is the received department setting command '220' and command register CR
It is determined whether the commands set before the power outage, that is, the all inspection work command '36, are the same. In this case, there is a mismatch between the two, and the total inspection task command '3' set in the command register CR is
60' to the central control unit CQ.
5, and the first data presence/absence determination flag DF
After setting I, an acknowledgment signal ACK is returned to the central management unit CQ. Then, this acknowledge signal ACK
is received by the central management device CQ, the central management device CQ
A bowling signal POLL is transmitted from. Then,
Parent ECRME. ~MEn is its bowling signal POL
When L is received, the total inspection work command request data '1' set in the first buffer memory 45 is transmitted. And this full inspection work command request data '1'
is received by the central management unit CQ, and the request data '1'
When a full inspection task command '360' corresponding to the above is sent from the central management device CQ, the parent ECRME. ~MEn
In this case, since the transmitted command and the command in the command register CR are the same, the power failure recovery processing flag TKF is set. Then, the parent ECRM old. ~ME
At step n, the power outage recovery processing flag TKF in loop L of FIG. I will do it. Therefore, even if an abnormality such as a power outage occurs during the transmission process, the data up to that point will be transmitted to the central control unit CQ, eliminating the time loss of starting the process from the beginning as in the past. can be eliminated. In particular, parent ECRM
E. . . . M old n returns command request data for starting from the current state to the central management device CQ, which has the advantage of eliminating time loss at the time of starting. The above is from the central management device CQ to the parent ECRM.
E. ~MEn and child ECRSE. .. ~When setting data to SEnn, and conversely when collecting data from them, next is the parent ECRM old. ~In MEn, child ECRSE. , ~ When setting data, for example department data, to SEnn, conversely, the child ECRSE. , ~SEnn will be described. First, parent E
CRME.

〜MEnから子ECRSE。,〜SEnnへ部門データ
を設定する場合には、親ECRME。〜MEnにおいて
、予めキーボード23のキー操作によりデータを設定す
る端末を指定するレジスタ指定テキストをRAM26の
指定レジスタテーブルメモリ48に設定した後、次のキ
ー操作を行う。(1)層数キー31により部門コードを
層数した後部門キー37を押し、続いて暦数キー31に
より謀コードを層数した後部門キー37を押す。
~MEn to child ECRSE. , ~ When setting department data to SEnn, the parent ECRME. ~MEn, after register designation text designating the terminal for setting data is previously set in the designation register table memory 48 of the RAM 26 by key operations on the keyboard 23, the next key operation is performed. (1) After adding the layer number of the department code using the layer number key 31, press the department key 37. Then, after adding the layer number of the plot code using the calendar number key 31, press the department key 37.

この操作を各部門について入力した後、最後に締めキー
として替キー34を押す。(ロ)上記(1)の操作の後
、設定/読出キー36を押す。
After inputting this operation for each department, the substitute key 34 is finally pressed as the closing key. (b) After the operation in (1) above, press the setting/reading key 36.

すると、親ECRME。Then, the parent ECRME.

〜M旧nは、上罰KI)の操作が行なわれると、第11
図aに示すフローチャートに従って、まず中央管理装置
CQからの起動が有るか否かを判断する。中央管理装置
CQからの起動が有る場合にはエラーとなるが、無い場
合には次に上記(1)の操作によって入力された部門コ
ード、謀コード等の部門データを設定収集データ格納エ
リア50へセットした後、ブロックカウンタBCに設定
データのブロック数をセットする。この後、上記m)の
操作が行なわれると、第11図bに示すフローチャート
に従って、まず中央管理装置CQからの起動が有るか否
かを判断する。中央管理装置CQからの起動が有る場合
にはエラーとなるが、無い場合には次にコマンドレジス
タCRに部門設定コマンド‘220’をセットし、業務
コマンド受信フラッグGKFをセットし、親起動フラッ
グMFをセットした後、第9図に示す■へ進む。従って
、以後はこの第9図に従って処理されるため、中央管理
装置CQからの起動と同様に設定業務が行なわれる。一
方、親ECRME。
〜M old n is the 11th
According to the flowchart shown in FIG. a, it is first determined whether there is activation from the central management device CQ. If there is an activation from the central control unit CQ, an error will occur, but if there is no activation, then the department data such as the department code and plot code inputted by the operation in (1) above are set and sent to the collection data storage area 50. After setting, the number of blocks of the setting data is set in the block counter BC. Thereafter, when the above operation m) is performed, it is first determined whether or not there is activation from the central management device CQ, according to the flowchart shown in FIG. 11b. If there is a start from the central control unit CQ, an error will occur, but if there is no, then set the department setting command '220' in the command register CR, set the business command reception flag GKF, and set the parent start flag MF. After setting, proceed to step 2 shown in Fig. 9. Therefore, since the subsequent processing is performed according to FIG. 9, the setting work is performed in the same manner as when starting from the central management device CQ. On the other hand, parent ECRME.

〜MEnから子ECRSE。,〜SEnnに蓄えられて
いるデータを収集する場合には、親ECRM旧。〜ME
nにおいて、予めキーボード23のキー操作によりデー
タを収集する端末を指定するレジス夕指定テキストをR
AM26の指定レジスタテーブルメモリ48に設定した
後、預/現計千一36を押す。すると、親ECRM旧。
〜MEnは、第12図に示すフローチャートに従って、
まず中央管理装置CQからの起動が有るか否かを判断す
る。中央管理装置CQからの起動が有る場合にはエラー
となるが、無い場合には次にコマンドレジスタCRに全
点検業務コマンド‘360’をセットし、業務コマンド
受信フラッグGKFをセットし、親起動フラッグMFを
セットした後、第9図に示す■へ進む。従って、以後は
この第9図に従って処理されるため、中央管理装置CQ
からの起動と同様に点検業務が行なわれる。このように
、子ECRSE。
~MEn to child ECRSE. , ~ Parent ECRM old when collecting data stored in SEnn. ~ME
At n, the register specification text specifying the terminal from which data is to be collected is entered in advance by key operations on the keyboard 23.
After setting in the specified register table memory 48 of AM26, press Deposit/Cash Total 1136. Then, the parent ECRM old.
~MEn according to the flowchart shown in FIG.
First, it is determined whether or not there is activation from the central management device CQ. If there is a start from the central control unit CQ, an error will occur, but if there is no, then set the full inspection work command '360' in the command register CR, set the work command reception flag GKF, and set the parent start flag. After setting the MF, proceed to step 2 shown in FIG. Therefore, since the processing will be carried out according to this FIG. 9 from now on, the central management unit CQ
Inspection work is carried out in the same way as when starting up. Thus, the child ECRSE.

,〜SE血への設定業務および点検業務を、中央管理装
置CQからの起動の他に親ECRME。〜MEnにおい
てもできるわけである。ところで、例えば中央管理装置
CQからの起動によって子ECRSE。,〜SE血から
収集したデータが親ECRME。〜MEnに収集された
段階で、中央管理装置CQに異常が発生しデータ伝送が
行えなくなったとすると、収集業務が精算業務である場
合子ECRSE。,〜SEnnのデータがクリアされて
いるため、後処理が極めて面倒になる。このような場合
には、親ECRME。〜MEnにおいて、まず暦数キー
31によりプログラム選択データを暦数例えば「8」キ
ーを押した後、預/現計キー4 2を押す。すると、親
ECRME。〜MEnは、第13図に示すフローチャー
トに従って、まず中央管理装置CQからの起動が有るか
否かを判断する。中央管理装置CQからの起動が有る場
合にはエラーとなるが、無い場合には次に収集業務が1
台でも完了したか否かを判断する。ここで、その収集業
務が1台でも完了していれば、その業務が精算業務であ
ることを条件として加算データ格納エリア50に蓄えら
れている収集データつまり精算データをプリンタ28で
プリントアウトする。従って、精算データ収集中に中央
管理装置CQへのデータ伝送が不可能になった場合でも
、親ECRME。〜MEnに収集した精算データをその
親ECRME。〜MEnのキー操作により強制的にプリ
ントアウトできるため、異常時の後処理が短時間にかつ
簡単に行なえる。なお、上記説明では中央管理装置CQ
から送信されてきたレジスタ指定テキストまたはキーボ
ード23から入力したレジスタ指定テキストによって指
定レジスタテーブルメモリ481こ設定された子ECR
SE。
,~SE settings and inspections are performed from the central management device CQ as well as from the parent ECRME. ~MEn can also do this. By the way, for example, the child ECRSE is activated by the central management device CQ. , ~ Data collected from SE blood is the parent ECRME. ~ Suppose that an abnormality occurs in the central management unit CQ and data transmission is no longer possible at the stage when data is collected in MEn.If the data collection task is a settlement task, the child ECRSE. , ~SEnn has been cleared, making post-processing extremely troublesome. In such cases, the parent ECRME. -MEn, first input the program selection data by pressing the calendar number key 31, for example, the "8" key, and then press the deposit/account key 42. Then, the parent ECRME. ~MEn first determines whether or not there is activation from the central management device CQ, according to the flowchart shown in FIG. If there is a startup from the central management unit CQ, an error will occur, but if there is no startup, the next collection task will be 1.
It is also determined whether or not the process is completed. Here, if the collection task has been completed by even one printer, the collection data stored in the addition data storage area 50, that is, the settlement data, is printed out by the printer 28 on the condition that the task is a settlement task. Therefore, even if data transmission to the central management unit CQ becomes impossible during settlement data collection, the parent ECRME. - Settlement data collected in MEn to its parent ECRME. Since printing can be forcibly performed by key operation of ~MEn, post-processing in the event of an abnormality can be performed easily and in a short time. In addition, in the above explanation, the central management device CQ
The specified register table memory 481 is set by the register specifying text sent from the register specifying text or the register specifying text input from the keyboard 23.
S.E.

,〜SE肌および親ECRME。〜MEnについて伝送
業務を行う場合について説明したが、例えば或特定のフ
ァンクションキーが押されない状態では常にレジスタテ
ーブルメモリ47に設定された子ECRSE。,〜SE
血および親ECRME。〜MEnについて伝送業務が行
なわれるようになっている。従って、そのファンクショ
ンキーの操作の有無によって、全ECRを対象とするか
、指定したECRのみを対象とするかを簡単に選択でき
るようになっている。また、親ECRME。〜MEnが
子ECRSE。,〜SEnnとデータ伝送中において、
アドレスレジスタARのデータに対応するレジスタ番号
つまり現在データ伝送が行なわれている子ECRSE。
,〜SEnnのレジスタ番号が中央管理装置CQへ送信
され、その表示器4に表示される。従って、オペレー外
ま、この表示器4の表示から現在データ伝送を行ってい
る子ECRSE。,〜SE肌を確認することができる。
本発明によれば、中央管理装置から送信されたデータ伝
送業務のほかに親ECRのキーボードの操作に基づいた
データ伝送業務指令をコマンドレジスタに記憶させるこ
とにより、各子ECRとのデータ伝送業務を行なえるよ
うにしたので、例えば中央管理装置に異常が発生し、そ
の中央管理装置からの起動による伝送業務が行なえなく
なっても、すべての伝送業務を各親ECRからの起動に
よって行なうことができ、伝送業務に支障を来たすこと
がなく、しかもキーボードの第1の操作に基づいて各種
のデ−タ伝送業務指令をコマンドレジスタに記憶させる
ことができ、各種のデータ伝送業務を親ECRの起動に
て行なうことができるものである。
,~SE skin and pro-ECRME. Although the case where transmission work is performed for ~MEn has been described, for example, the child ECRSE is always set in the register table memory 47 when a certain function key is not pressed. ,~SE
Blood and parent ECRME. -Transmission services are now being carried out for MEn. Therefore, depending on whether or not the function key is operated, it is possible to easily select whether to target all ECRs or only a designated ECR. Also, parent ECRME. ~MEn is child ECRSE. , ~ During data transmission with SEnn,
The register number corresponding to the data in the address register AR, that is, the child ECRSE where data transmission is currently being performed.
, ~SEnn are transmitted to the central control unit CQ and displayed on its display 4. Therefore, the child ECRSE that is currently transmitting data from the display on this display 4 is out of operation. ,~SE skin can be confirmed.
According to the present invention, in addition to data transmission operations transmitted from the central management device, data transmission operation instructions based on keyboard operations of the parent ECR are stored in a command register, thereby controlling data transmission operations with each child ECR. For example, even if an abnormality occurs in the central management device and the transmission operations initiated from the central management device cannot be performed, all transmission operations can be executed through activation from each parent ECR. It does not interfere with transmission operations, and various data transmission operation commands can be stored in the command register based on the first operation on the keyboard, and various data transmission operations can be performed by starting the parent ECR. It is something that can be done.

さらに各親ECRは、子ECRとデータ伝送業務によっ
て収集したデータをデータ格納エリア記憶させるため、
親ECRには子ECRとの伝送業務によって収集した収
集データがあるとき、キーボードの第2の操作に基づい
て子ECRとのデータ伝送業務によって収集したデータ
をプリントでき、中央管理装置に異常が発生しデータ伝
送が行なえなくなったときでも後処理が容易に行なうこ
とができるなどの効果を有するものである。
Furthermore, each parent ECR stores data collected through data transmission operations with the child ECR in its data storage area.
When the parent ECR has collected data collected through transmission operations with child ECRs, the data collected through data transmission operations with child ECRs can be printed based on the second keyboard operation, and an error occurs in the central management unit. This has the advantage that post-processing can be easily performed even when data transmission cannot be performed.

【図面の簡単な説明】[Brief explanation of the drawing]

図は本発明の一実施例を示すもので、第1図は全体のシ
ステムを示すブロック図、第2図は中央管理装置の回路
構成を示すブロック図、第3図はそのキーボードを示す
正面図、第4図は親ECRの回路構成を示すブロック図
、第5図はそのキーボードを示す正面図、第6図はその
RAMの内容を示す説明図、第7図は子ECRの回路構
成を示すブロック図、第8図はそのキーボードを示す正
面図、第9図a,b,cは親ECRにおけるメインルー
チンを示すフローチャート、第10図a,bは親ECR
における対中央管理装置用受信割込を示すフ。 −チャート、第11図a,bは親ECRにおける設定操
作に基づくフローチャート、第12図は親ECRにおけ
る点検操作に基づくフローチャート、第13図は親EC
Rにおけるプリントアウト操作に基づくフローチャート
である。CQ・・・・・・中央管理装置、ME。〜ME
n・・・・・・親ECR、SE。,〜SEnn・・・・
・・子ECR、23・・・・・・キーボード。紫’図 2図 簾3図 緒4図 蜂6図 蛤っ図 宅8図 篤6図 幕〃図■ 第〃函砂 ′2図 溝ナ3図 S 図 ○ 蟹 第0図鰍 繁り図の き 図 S 球 率 図 S J
The figures show one embodiment of the present invention; Fig. 1 is a block diagram showing the entire system, Fig. 2 is a block diagram showing the circuit configuration of the central management unit, and Fig. 3 is a front view showing the keyboard thereof. , Fig. 4 is a block diagram showing the circuit configuration of the parent ECR, Fig. 5 is a front view showing its keyboard, Fig. 6 is an explanatory diagram showing the contents of its RAM, and Fig. 7 shows the circuit configuration of the child ECR. Block diagram, Fig. 8 is a front view showing the keyboard, Fig. 9 a, b, c is a flowchart showing the main routine in the parent ECR, Fig. 10 a, b is the parent ECR
Figure 3 shows a reception interrupt for the central management device. - Charts, Figures 11a and b are flowcharts based on setting operations in the parent ECR, Figure 12 is a flowchart based on inspection operations in the parent ECR, and Figure 13 is a flowchart based on the setting operations in the parent ECR.
3 is a flowchart based on a printout operation in R. CQ...Central control unit, ME. ~ME
n...Parent ECR, SE. ,~SEnn...
...Child ECR, 23...Keyboard. Murasaki Figure 2 Curtains 3 Diagram 4 Bee 6 Clam Figure House 8 Atsushi 6 Curtain Figure ■ No. 2 box sand Figure 2 Groove na 3 Figure S Figure S Pitch rate diagram S J

Claims (1)

【特許請求の範囲】 1 中央管理装置に対し複数の親キヤツシユレジスタ(
以下親ECRと称する。 )を接続し、この各親ECRに複数台の子キヤツシユレ
ジスタ(以下子ECRと称する。)をそれぞれ接続し、
前記各親ECRにおいて、前記中央管理装置からのデー
タ伝送業務指令によりその親ECRに接続された子EC
Rとのデータ伝送業務を行ない、かつ伝送処理データを
前記中央管理装置へ伝送する商品販売データ伝送処理シ
ステムにおいて、 前記各親ECRは、 前記中央管理装置からのデータ伝送業務指令を受けた
際にその指令をコマンドレジスタに記憶させる手段と、
前記コマンドレジスタに指令が記憶されているか否か
を判別して指令が記憶されているとき前記子ECRとの
伝送業務を行ないかつ前記子ECRから収集した伝送処
理データをデータ格納エリアに記憶させる手段と、 キ
ーボードと、 このキーボードの第1の操作に基づいて前記中央管理
装置からの起動がないことを条件としてデータ伝送業務
指令を前記コマンドレジスタに記憶させる手段と、 前
記キーボードの第2の操作に基づいて前記中央管理装置
からの起動がないことを条件として前記子ECRとのデ
ータ伝送業務で前記データデータ格納エリアに収集した
伝送処理データが格納されていることによってこの内容
をプリントアウトするプリンタとをそれぞれ設けたこと
を特徴とする商品販売データ伝送処理システム。
[Scope of Claims] 1. Multiple parent cache registers (
Hereinafter referred to as parent ECR. ), and connect a plurality of child cache registers (hereinafter referred to as child ECRs) to each parent ECR, respectively.
In each of the parent ECRs, the child ECs are connected to the parent ECR by a data transmission service command from the central management device.
In a product sales data transmission processing system that performs data transmission operations with R and transmits transmission processing data to the central management device, each of the parent ECRs, upon receiving a data transmission operation command from the central management device, means for storing the command in a command register;
Means for determining whether or not a command is stored in the command register, and when the command is stored, performing transmission work with the child ECR and storing transmission processing data collected from the child ECR in a data storage area. a keyboard; means for storing a data transmission task command in the command register on the condition that there is no activation from the central management device based on a first operation of the keyboard; and a second operation of the keyboard; a printer that prints out the contents of transmission processing data collected in the data data storage area in the data transmission operation with the child ECR on the condition that there is no activation from the central management device based on the printer; A product sales data transmission processing system characterized in that each of the following is provided.
JP55144932A 1980-10-16 1980-10-16 Product sales data transmission processing system Expired JPS604502B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP55144932A JPS604502B2 (en) 1980-10-16 1980-10-16 Product sales data transmission processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP55144932A JPS604502B2 (en) 1980-10-16 1980-10-16 Product sales data transmission processing system

Publications (2)

Publication Number Publication Date
JPS5769437A JPS5769437A (en) 1982-04-28
JPS604502B2 true JPS604502B2 (en) 1985-02-04

Family

ID=15373543

Family Applications (1)

Application Number Title Priority Date Filing Date
JP55144932A Expired JPS604502B2 (en) 1980-10-16 1980-10-16 Product sales data transmission processing system

Country Status (1)

Country Link
JP (1) JPS604502B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2643109B2 (en) * 1991-04-19 1997-08-20 日本ビクター株式会社 Empty channel shifter for wireless communication equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2643109B2 (en) * 1991-04-19 1997-08-20 日本ビクター株式会社 Empty channel shifter for wireless communication equipment

Also Published As

Publication number Publication date
JPS5769437A (en) 1982-04-28

Similar Documents

Publication Publication Date Title
CN100495451C (en) System for making out tax invoices receipt of deducting tax automatically, and application method
JPS5833986B2 (en) Group management method for multiple electronic cash registers
JPH03288297A (en) Transaction processor
JPS604502B2 (en) Product sales data transmission processing system
JPS5936300B2 (en) Product sales data processing system
CN108805685A (en) Barcode scanning account checking method, barcode scanning reconciliation system, client terminal and server
JPS5936301B2 (en) Product sales data processing system
JPH01236396A (en) Method for collecting data for sales management system
JPS6249560A (en) Data transmitting system
JPS62212796A (en) Pos system
JPS5846465A (en) Money transaction processing system
JP2000286858A (en) Data management system by dmm
JP2006139543A (en) Pos system
JPS6320690A (en) Sales information collection system for vending machine
JP3923713B2 (en) Cashless voting system in totalize system
JP2507072B2 (en) Recovery method
JP2589207B2 (en) POS system
JPH07152973A (en) Sales registration device
JPH02300999A (en) Commodity sale data processor
JPS62221099A (en) Pos system
JPH0240794A (en) Credit terminal equipment
JP2003345983A (en) Seal registration system, window terminal, officer platform terminal, business parlor server, seal registration server, web server, and program therefor
RU12271U1 (en) SYSTEM FOR OPERATIONS WITH BANK CARDS WITH CENTRALIZED CONTROL
CN109242626A (en) A kind of self-help serving system and its control method for POS terminal
JPS61114370A (en) Transaction device