JPS5936300B2 - Product sales data processing system - Google Patents

Product sales data processing system

Info

Publication number
JPS5936300B2
JPS5936300B2 JP55144934A JP14493480A JPS5936300B2 JP S5936300 B2 JPS5936300 B2 JP S5936300B2 JP 55144934 A JP55144934 A JP 55144934A JP 14493480 A JP14493480 A JP 14493480A JP S5936300 B2 JPS5936300 B2 JP S5936300B2
Authority
JP
Japan
Prior art keywords
data
setting
command
central management
flag
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
JP55144934A
Other languages
Japanese (ja)
Other versions
JPS5769439A (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 JP55144934A priority Critical patent/JPS5936300B2/en
Publication of JPS5769439A publication Critical patent/JPS5769439A/en
Publication of JPS5936300B2 publication Critical patent/JPS5936300B2/en
Expired legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring

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とデータ伝送業
務を行つている最中にその中継装置に停電等の異常が生
じた場合、それらのデータ伝送業務は最初から処理され
るようになつていた。
), when an abnormality such as a power outage occurs in the relay device during the data transmission operation,
Product sales data processing in which the relay device transmits the previously transmitted data to the central management device on the condition that the relay device receives the same data transmission operation command as the data before the occurrence of the abnormality from the relay management device after the abnormality recovery. It's about systems. Conventionally, in this type of system, if an abnormality such as a power outage occurs in the relay device while the relay device is performing data transmission operations with each ECR by activation from the central management device, those data transmission operations will be interrupted. It was supposed to be processed from the beginning.

これでは、異常が生じる前に処理された設定或いは収集
データが無駄になるとともに、時間的損失も多くなる欠
点があつた。そこで、本発明の目的は、データ伝送業務
中において停電等の異常が発生した際、その異常が発生
する前までの伝送処理データを中央管理装置へ伝送する
ことにより、上記従来例の欠点を解決することにある。
This has the disadvantage that settings or collected data processed before an abnormality occurs are wasted, and time is also lost. Therefore, an object of the present invention is to solve the above-mentioned drawbacks of the conventional example by transmitting the transmission processing data up to the time before the occurrence of the abnormality to a central management device when an abnormality such as a power outage occurs during data transmission operations. It's about doing.

以下、本発明の一実施例を図面に沿つて説明する。An embodiment of the present invention will be described below with reference to the drawings.

第1図は全体のシステムを示すブロック図である。同図
中CQは中央管理装置、ME0〜MEnは前記中央管理
装置CQにそれぞれ伝送ラインを介して接続された親E
CRである。この各親ECRMEo−MEnには、伝送
ラインを介して複数台の子ECR5E0を〜5Eon・
・・・・・・・・5En1〜5Ennがそれぞれ接続さ
れている。前記中央管理装置CQは、第2図に示す如く
、中央処理装置〔CPU〕1に、キーボード表示器制御
回路2を介してキーボード3および表示器4が、リード
・オンリ・メモリ〔ROM〕5およびランダム・アクセ
ス・メモリ〔RAM〕6が、−プリンタ制御回路Tを介
してプリンタ8が、伝送制御回路9を介して前記親EC
RMEo−MEnと接続された親ECR用伝送インター
フェイス回路10がそれぞれ接続されている。前記キー
ボード3には、第3図に示す如く、置数キー11の他に
各種フアンクシヨンキ一12が配設されている。また、
前記ROM5には、前記親ECRMEO〜MEnおよび
子ECRMEOl〜MEnOに各種データを設定したり
、逆にそれらに蓄えられた各種データを収集するための
プログラムが予め書込まれている。更に、前記RAM6
には、前記キーボード3から人力された設定データを一
時的に記憶しておく設定データ記憶エリアと、前記親E
CRMEO−MEnおよび子ECRSEOl〜SEnn
から収集した収集データを記憶する収集データ記憶エリ
アとがそれぞれ設けられている。前記親ECRMEO−
MEOは、第4図に示す如く、CPU2lに、キーボー
ド表示器制御回路22を介してキーボード23および表
示器24が、ROM25およびRAM26が、プリンタ
制御回路27を介してプリンタ28が、伝送制御回路2
9を介して前記中央管理装置CQの親ECR用伝送イン
ターフエイス回路10と接続された中央管理装置用伝送
インターフエイス回路30aおよび前記子ECRSEO
l〜SEnnと接続された子ECR用伝送インターフエ
イス回路30bがそれぞれ接続されている。前記キーボ
ード23には、第5図に示す如く、置数キー31、部門
キー32、日付/NOキー33、替キー34、PLUキ
ー35、設定/読出キー36、部門登録キー37、金額
登録キー38、割引キー39、割増キー40、小計キー
41、預/現計キー42の他、「電源オフ0FF」「登
録REG」 「点検X」「精算Z」 「設定SET」等
この親ECRの業務モードを選択するモード切換スイツ
チ43がそれぞれ配設されている。また、前記ROM2
5には、上記モード切換スイツチ43によつて選択され
る各業務に関する処理プログラムの他に、前記中央管理
装置CQから与えられた指令に基づいて前記子ECRS
EOl〜SEnnへデータを設定したり、逆にそこから
収集したデータを前記中央管理装置CQへ伝送するため
の伝送プログラムが予め書込まれている。一方、前記R
AM26には、登録業務によつて登録された商品に関す
るデータを部門別、取引別等の分類に従つて集計記憶す
る各種メモリの他に、第6図に示す如くフラツグ類割付
エリア44、第1のバツフアメモリ45、第2のバツフ
アメモリ46、レジスタテーブルメモリ47、指定レジ
スタテーブルメモリ48、加算データ格納エリア49、
設定収集データ格納エリア50等がそれぞれ設けられて
いる。
FIG. 1 is a block diagram showing the entire system. In the figure, CQ is a central management device, and ME0 to MEn are parent E connected to the central management device CQ via transmission lines.
It is CR. Each parent ECRMEo-MEn is connected to multiple child ECR5E0 through transmission lines.
...5En1 to 5Enn are connected to each other. As shown in FIG. 2, the central management unit CQ includes a central processing unit (CPU) 1, a keyboard 3 and a display 4 via a keyboard display control circuit 2, a read-only memory (ROM) 5, and a read-only memory (ROM) 5. Random access memory (RAM) 6 - Printer 8 via printer control circuit T, Transfer control circuit 9 to the parent EC
Parent ECR transmission interface circuits 10 connected to RMEo-MEn are respectively connected. As shown in FIG. 3, the keyboard 3 is provided with various function keys 12 in addition to number keys 11. Also,
A program for setting various data in the parent ECRMEO to MEn and child ECRMEOl to MEnO, and conversely collecting various data stored therein, is written in the ROM 5 in advance. Furthermore, the RAM6
, a setting data storage area for temporarily storing setting data entered manually from the keyboard 3, and a setting data storage area for temporarily storing setting data entered manually from the keyboard 3;
CRMEO-MEn and child ECRSEOL~SEnn
A collected data storage area is provided for storing collected data collected from. Said parent ECRMEO-
As shown in FIG. 4, the MEO is connected to the CPU 2l via the keyboard display control circuit 22 to the keyboard 23 and the display 24, to the ROM 25 and RAM 26, to the printer 28 via the printer control circuit 27, and to the transmission control circuit 2.
9, the central management device transmission interface circuit 30a is connected to the parent ECR transmission interface circuit 10 of the central management device CQ, and the child ECR SEO
The child ECR transmission interface circuits 30b connected to 1 to SEnn are respectively connected. As shown in FIG. 5, the keyboard 23 includes a number key 31, a department key 32, a date/NO key 33, an alternate key 34, a PLU key 35, a setting/read key 36, a department registration key 37, and an amount registration key. 38, discount key 39, premium key 40, subtotal key 41, deposit/cash total key 42, and other operations of this parent ECR such as "power off 0FF", "registration REG", "inspection X", "settlement Z", "setting SET", etc. A mode changeover switch 43 for selecting a mode is provided respectively. In addition, the ROM2
5, in addition to the processing programs related to each task selected by the mode changeover switch 43, the child ECRS is
A transmission program is written in advance for setting data in EOl to SEnn or transmitting data collected therefrom to the central management device CQ. On the other hand, the R
The AM 26 includes 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, as well as a flag allocation area 44 and a first buffer memory 45, second buffer memory 46, register table memory 47, specified register table memory 48, addition data storage area 49,
Setting collection data storage areas 50 and the like are provided respectively.

前記フラツグ類割付エリア44には、受信可否判別フラ
ツグJKF、停電回復処理フラツグTKF、第1、第2
、第3のシーケンスエラー検出フラツグSEFl,SE
F2,SEF3、業務コマンド受信フラツグGKF、設
定収集完了フラツグSKFl加算データ判別フラツグK
DF、第1、第2のデータ有無判別フラツグDFl,D
F2、親起動フラツグMFl伝送処理中異常検出フラツ
グDEF、送出判別フラツグSHF、送出終了フラツグ
SFF、タイムアウトフラツグTOFの他、アドレスレ
ジスタAR、コマンドレジスタCRlブロツクカウンタ
BClターミナルカウンタTClタイマーカウンタWC
等が割付けられている。また、前記レジスタテーブルメ
モリ47には、親ECRMEO−MEnおよびその親E
CRMEO−MEnに接続された子ECRSEOl〜S
Ennのラインアドレスを記憶したラインアドレス記憶
部47aと、このラインアドレス記憶部47aの各ライ
ンアドレスに対応して業務完了判別フラツグ47bおよ
びレジスタ番号を記憶したレジスタ番号記憶部47cと
がそれぞれ設けられている。更に、前記指定レジスタテ
ーブルメモリ48には、前記中央管理装置CQから伝送
されてくるレジスタ指定テキストに従つて設定または収
集を行おうとする子ECRSEOl〜SEnnおよび親
ECRMEO−MEnのラインアドレスが設定されるラ
インアドレス記憶部48aと、このラインアドレス記憶
部48aに対応して業務完了判別フラツグ48bおよび
レジスタ番号を記憶するレジスタ番号記憶部48cとが
それぞれ設けられている。前記子ECRSEOl〜SE
nnは、第7図に示す如く、CPU5lに、キーボード
表示器制御回路52を介してキーボード53および表示
器54が、ROM55およびRAM56が、プリンタ制
御回路57を介してプリンタ58が、伝送制御回路59
を介して前記親ECRMEO−MEnの子ECR用伝送
インターフエイス回路30bと接続された親ECR用伝
送インターフエイス回路60がそれぞれ接続されている
The flag allocation area 44 includes a reception availability determination flag JKF, a power failure recovery processing flag TKF, and first and second flags.
, third sequence error detection flag SEFl,SE
F2, SEF3, business command reception flag GKF, setting collection completion flag SKFl addition data discrimination flag K
DF, first and second data presence/absence determination flags DFl, D
F2, parent activation flag MFL, transmission processing error detection flag DEF, sending discrimination flag SHF, sending end flag SFF, timeout flag TOF, address register AR, command register CRl, block counter BCl, terminal counter TCl, timer counter WC
etc. are assigned. The register table memory 47 also contains a parent ECR MEO-MEn and its parent E
Child ECRSEOl~S connected to CRMEO-MEn
A line address storage section 47a that stores the line address of Enn, 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 the line address storage section 47a are provided. There is. Furthermore, the line addresses of the child ECRSEOl-SEnn and the parent ECRMEO-MEn that are to be set or collected are set in the designated register table memory 48 according to the register designation text transmitted from the central management device CQ. A line address storage section 48a and a register number storage section 48c for storing a business completion determination flag 48b and a register number are provided in correspondence with the line address storage section 48a. Said child ECRSEOL~SE
nn, as shown in FIG. 7, the CPU 5l is connected to a keyboard 53 and a display 54 via a keyboard display control circuit 52, a ROM 55 and a RAM 56, a printer 58 via a printer control circuit 57, and a transmission control circuit 59.
A parent ECR transmission interface circuit 60 is connected to the child ECR transmission interface circuit 30b of the parent ECR MEO-MEn through the parent ECR MEO-MEn.

前記キーボード53には、第8図に示す如く、置数キー
61、部門キー62、日付/NOキー63、替キー64
、PLUキー65、部門登録キー67、金額登録キー6
8、割引キー69、割増キー70、小計キー71、預/
現計キー72の他、[電源オフ0FF」「登録REG]
「点検X」 「精算Z」 「設定SET」等この子E
CRの業務モードを選択するモード切換スイツチ73が
それぞれ配設されている。また、前記ROM55には、
上記モード切換スイツチ73によつて選択される各業務
に関する処理プログラムの他に、前記親ECRMEO〜
MEnから与えられた指令に基づいて伝送されてきたデ
ータをRAM56へ設定したり、逆にそこに蓄えられた
データを前記親ECRMEO〜MEnへ伝送するための
伝送プログラムが予め書込まれている。更に、前記RA
M56には、例えば登録業務によつて登録された商品に
関するデータを部門別、取引別等の分類に従つて集計記
憶する各種メモリが設けられている。次に、作用を説明
する。
As shown in FIG. 8, the keyboard 53 has a number key 61, a department key 62, a date/NO key 63, and an alternate key 64.
, PLU key 65, department registration key 67, amount registration key 6
8, discount key 69, premium key 70, subtotal key 71, deposit/
In addition to the current key 72, [power off 0FF] and [registration REG]
“Inspection X” “Payment Z” “Settings SET” etc. This child E
A mode changeover switch 73 for selecting a CR business mode is provided in each case. In addition, the ROM 55 includes:
In addition to the processing programs related to each task selected by the mode changeover switch 73, the parent ECR MEO~
A transmission program is written in advance for setting data transmitted in the RAM 56 based on commands given from the MEn, and conversely for transmitting data stored there to the parent ECR MEO to MEn. Furthermore, the R.A.
The M56 is provided with various types of memories that aggregate and store data regarding products registered through registration operations, according to classifications such as by department and by transaction. Next, the effect will be explained.

いま、中央管理装置CQl親ECRMEO−MEnおよ
び子ECRSEOl〜SEnnの電源をオンすると、親
ECRMEO−MEnにおいては、第9図aのフローチ
ヤートに示すモニタールーチンに従つて、キー取込み処
理のサブルーチン、受信可否判別フラツグJKFおよび
停電回復処理フラツグTKFがセツト状態になつたか否
かを判別するループL1を常時繰返し、キーボード23
上のキーが操作された際キー取込み処理のサブルーチン
に従つてキー処理つまり登録業務等を行うとともに、中
央管理装置CQから割込要求が与えられると第10図の
フローチヤートに示す受信割込ルーチンに従つて動作す
る。そこで、まず第10図のフローチヤートに示す受信
割込ルーチンから説明する。
Now, when the power of the central management device CQl parent ECRMEO-MEn and child ECRSEOl~SEnn is turned on, the parent ECRMEO-MEn executes the subroutine for key capture processing and reception according to the monitor routine shown in the flowchart of FIG. 9a. The keyboard 23 constantly repeats loop L1 to determine whether or not the availability determination flag JKF and the power failure recovery processing flag TKF are set.
When the upper key is operated, key processing, that is, registration work, etc., is performed according to the key import processing subroutine, and when an interrupt request is given from the central control unit CQ, the reception interrupt routine shown in the flowchart of FIG. 10 is executed. operate according to Therefore, the reception interrupt routine shown in the flowchart of FIG. 10 will be explained first.

いま、中央管理装置CQから伝送されてきた割込要求を
親ECRMEO−MEnが受信すると、その親ECRM
EO−MEnは、第10図aのフローチヤートに従つて
、まず受信した受信データがテキストであるか否かを判
断し、その判断結果がテキストでない場合には更にポー
リング信号POLLであるか否かを判断し、その判断結
果がポーリング信号POLLである場合には次のような
処理を行う。1第1のデータ有無判別フラツグDFlが
セツトつまり第1のバツフアメモリ45に応答データが
有るときは、その第1のバツフアメモリ45のデータを
中央管理装置CQへ送信する。
Now, when the parent ECRMEO-MEn receives an interrupt request transmitted from the central management device CQ, the parent ECRMEO-MEn
EO-MEn first determines whether or not the received data is text according to the flowchart in FIG. is determined, and if the determination result is a polling signal POLL, the following processing is performed. 1. When the first data presence/absence determination flag DFl 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.

2第1のデータ有無判別フラツグDFlがりセツトつま
り第1のバツフアメモリ45に応答データが無く、送出
判別フラツグSHFがセツトされているときは、第2の
データ有無判別フラツグDE2がセツトつまり第2のバ
ツフアメモリ46にデータが格納されていることを条件
として、その第2のバツフアメモリ46のデータを中央
管理装置CQへ送信する。
2. When the first data presence/absence judgment flag DFl is set, that is, there is no response data in the first buffer memory 45, and the sending judgment flag SHF is set, the second data presence/absence judgment flag DE2 is set, that is, when there is no response data in the first buffer memory 45. On the condition that the 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.

3第1のデータ有無判別フラツグDFlおよび送出判別
フラツグSHFがりセツトされているとき、または第1
のデータ有無判別フラツグDFlおよび第2のデータ有
無判別フラツグDF2がりセツトされかつ送出判別フラ
ッグSHFがセツトされているときは、エンド・オブ・
トランスミツシヨン信号EOTを中央管理装置CQへ送
信する。
3 When the first data presence/absence determination flag DFL and the sending determination flag SHF are set to
When the data presence/absence judgment flag DF1 and the second data presence/absence judgment flag DF2 are set and the sending judgment flag SHF is set, the end of
Transmission signal EOT is sent to central control unit CQ.

また、前記受信した受信データがポーリング信号POL
Lであるか否かの判断において、ポーリング信号でない
場合には次にアクノレツジ信号ACKであるか否かを判
断し、その判断結果がアクノレツジ信号ACKである場
合には次のような処理を行う。
Further, the received data is a polling signal POL.
In determining whether or not the signal is L, if it is not a polling 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第1のデータ有無判別フラツグDFlがセツトされて
いるときは、その第1のデータ有無判別フラツグDFl
をりセツトした後、エンドオブトランスミツシヨン信号
EOTを中央管理装置CQへ送信する。
1. When the first data presence/absence judgment flag DFl is set, the first data presence/absence judgment flag DFl is set.
After resetting, it sends an end of transmission signal EOT to the central control unit CQ.

3第1のデータ有無判別フラツグDFlがりセツトされ
ているときは、第2のデータ有無判別フラツグDF2を
りセツトし、エンドオブトランスミツシヨン信号EOT
を中央管理装置CQへ送信した後、送出終了フラツグS
FFがセツトされている場合にはライン関係の各種フラ
ツグをりセツトする。
3. When the first data presence/absence discrimination flag DFl is set, the second data presence/absence discrimination flag DF2 is reset and the end of transmission signal EOT is set.
After sending the data to the central control unit CQ, the sending end flag S
If FF 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.

4正常シーケンスであるときは、受信した受信データの
フロツク数をプロツクカウンタBCにセツトした後、そ
の受信データを設定収集データ格納エリア50へ転送す
る。
4 If the sequence is normal, the received data is transferred to the setting collection data storage area 50 after setting the number of blocks of the received data in the block counter BC.

5正常シーケンスでなく、かつ子ECR SEOl〜SEnOとデータ伝送中であるときは、伝送
処理中異常検出フラツグDEFをセツトした後、ライン
関係の各種フラツグをりセツトする。
5. If the sequence is not normal and data is being transmitted with the child ECRs SEOl to SEnO, set the abnormality detection flag DEF during transmission processing, and then reset various line-related flags.

6正常シーケンスでなく、かつ子ECR SEOl〜SEnnとデータ伝送申でないときは、第1
のシーケンスエラーフラツグSEFlをセツトした後、
ライン関係の各種フラツグをりセツトする。
6 If the sequence is not normal and there is no data transmission relationship with the child ECR SEOl~SEnn, the first
After setting the sequence error flag SEFl of
Reset various line-related flags.

また、前記受信した受信データがコマンドであるか否か
の判断において、コマンドである場合には、第10図b
に示す如く次に正常シーケンスであるか否かを判断し、
その判断結果が正常シーケンスで無いことを条件として
前記5または6の処理へ進む。
Further, in determining whether or not the received data is a command, if it is a command, it is determined whether the received data is a command or not.
Next, determine whether the sequence is normal or not, as shown in
On the condition that the judgment result is not a normal sequence, the process proceeds to step 5 or 6 above.

一方、上記判断結果が正常シーケンスであれば、次に受
信したコマンドの種別を判断し、そのコマンドの種別に
応じて次のような処理を行う。7レジスタ指定テキスト
コマンド12001であれば、READY状態であるこ
とを条件として、受信可否判別フラツグJKFをセツト
し、第1のバツフアメモリ45に設定受信可応答データ
1C]をセツトした後、第1のデータ有無判別フラツグ
DFlをセツトする。
On the other hand, if the above determination 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 it is the 7 register specification text command 12001, the reception permission determination flag JKF is set on the condition that the command is in the READY state, and the reception permission response data 1C] is set in the first buffer memory 45, and then the first data The presence/absence determination flag DFl is set.

なお、ここでは図示していないが上記READY状態で
なくBUSY状態であれば、第1のバツフアメモリ45
には設定受信否応答データ1A゛がセツトされる。8設
定点検コマンド63027であれば、設定が正しく行な
われたことを条件として、第1のバツフアメモリ45に
設定完了応答データFをセツトした後、第1のデータ有
無判別フラツグDFlをセツトする。
Although not shown here, if the state is not the READY state but the BUSY state, the first buffer memory 45
Setting reception rejection data 1A' is set in . If it is the 8 setting check command 63027, the setting completion response data F is set in the first buffer memory 45, and then the first data presence/absence determination flag DFl is set on the condition that the setting has been performed correctly.

なお、この場合も図示していないが設定が正しく行なわ
れていなければ、第1のバツフアメモリ45には設定未
完了応答データ1G1がセツトされる。9部門設定コマ
ンド72201であれば、READY状態であることを
条件として、第1のバツフアメモリ45に設定受信可応
答データ1C1をセツトした後、第1のデータ有無判別
フラツグDFlをセツトする。
In this case as well, although not shown, if the setting is not performed correctly, the setting incomplete response data 1G1 is set in the first buffer memory 45. If it is the 9 department setting command 72201, the setting receivable response data 1C1 is set in the first buffer memory 45 on the condition that the department is in the READY state, and then the first data presence/absence determination flag DF1 is set.

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

このとき、業務コマンド受信フラツグGKFがセツトさ
れていない場合には、その業務コマンド受信フラツグG
KFをセツトし、第1のバツフアメモリ45に業務応答
データ1E1をセツトした後、第1のデータ有無判別フ
ラツグDFlをセツトする。
At this time, if the business command reception flag GKF is not set, the business command reception flag GKF is set.
After setting KF and setting the business response data 1E1 in the first buffer memory 45, the first data presence/absence determination flag DFl is set.

また業務コマンド受信フラツグGKFがセツトされてい
る場合には、次に第2のデータ有無判別フラツグDF2
がセツトされているか否かを判断し、その第2のデータ
有無判別フラツグDF2がセツトされていないときつま
り第2のバツフアメモリ46に設定データまたは収集デ
ータが無いとき第1のバツフアメモリ45に業務応答デ
ータEVをセツトする処理へ進べ第2のデータ有無判別
フラツグDF2がセツトされているときつまり第2のバ
ツフアメモリ46に設定データまたは収集データが有る
とき送出判別フラツグSHFをセツトする処理へ進む。
Furthermore, if the business command reception flag GKF is set, then the second data presence/absence determination flag DF2 is set.
If the second data presence determination flag DF2 is not set, that is, if there is no setting data or collected data in the second buffer memory 46, the business response data is stored in the first buffer memory 45. When the second data presence/absence determination flag DF2 is set, that is, when the second buffer memory 46 contains setting data or collected data, the process advances to the process of setting the transmission determination flag SHF.

@ 全点検業務コマンド5360tであれば、前記[相
]の処理における業務コマンド受信フラツグGKFがセ
ツトされているか否かの判断へ進み、その判断結果に従
つて処理を行う。
@If it is the full inspection work command 5360t, the process proceeds to a judgment as to whether or not the work command reception flag GKF in the process of [phase] is set, and processing is performed according to the result of the judgment.

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

さて、以上説明した第10図の受信割込ルーチンにおけ
る処理を踏まえて、次に中央管理装置CQから親ECR
MEO−MEOおよび子ECRSEOl〜SEnnへデ
ータを設定する場合、逆にそれらからデータを収集する
場合を、第9図A,bのフローチヤートに沿つて説明す
る。
Now, based on the processing in the reception interrupt routine of FIG. 10 explained above, next
The case of setting data to MEO-MEO and children ECRSEOL-SEnn, and conversely the case of collecting data from them, will be explained along the flowcharts of FIGS. 9A and 9b.

まず、中央管理装置CQから親ECRMEO〜MEnお
よび子ECRSEOl〜SEnnへデータを設定する場
合には、中央管理装置CQにおいて、予めキーボード3
のキー操作により例えば部門コード、課コード等の設定
データとその設定データを設定する端末を指定するレジ
スタ指定テキストをRAM6に設定した後、例えば「A
」キーを押すと、レジスタ指定テキストコマンド200
1が各親ECRMEO−MEnに対して送信される。す
ると、そのレジスタ指定テキストコマンド52001を
受信した親ECRMEO−MEnは、前述した第10図
のフローチヤートに示す受信割込ルーチンに従つて、ア
クノレツジ信号ACKを中央管理装置CQへ送信すると
ともに、前記7の処理(READY状態であることを条
件として、受信可否判別フラツグJKFをセツトし、第
1のバツフアメモリ45に設定受信可応答データ1C1
をセツトした後、第1のデータ有無判別フラツグDFl
をセツトする。
First, when setting data from the central management device CQ to the parent ECRMEO~MEn and the child ECRSEOl~SEnn, the keyboard 3
After setting the setting data such as department code, section code, etc. and the register specification text specifying the terminal to set the setting data in RAM 6 by key operation, for example, ``A
” key, register specification text command 200
1 is sent to each parent ECRMEO-MEn. Then, the parent ECRMEO-MEn that received the register specification text command 52001 transmits an acknowledge signal ACK to the central management device CQ according to the reception interrupt routine shown in the flowchart of FIG. Processing (under the condition that it is in the READY state, the reception permission determination flag JKF is set, and the reception permission response data 1C1 is set in the first buffer memory 45).
After setting the first data presence/absence determination flag DFl
Set.

)を行う。このとき、上記7の処理によつて受信可否判
別フラツグJKFがセツトされるため、第9図aにおけ
る処理は、ループL1からループL2へ進み第1のシー
ケンスエラーフラツグSEFlおよび業務コマンド受信
フラツグGKFがセツトされたか否か、キー取込み処理
のサブルーチンを繰返す。一方、アクノレツジ信号AC
Kが中央管理装置CQで受信されると、中央管理装置C
Qからはポーリング信号POLLが送信される。
)I do. At this time, since the reception permission determination flag JKF is set by the process in step 7 above, the process in FIG. The key capture processing subroutine is repeated to determine whether or not the key is set. On the other hand, the acknowledge signal AC
When K is received by the central management device CQ, the central management device C
A polling signal POLL is transmitted from Q.

すると、親ECRMEO−MEnは、そのポーリング信
号POLLを受信すると、第1のデータ有無判別フラツ
グDFlがセツトされた状態にあるため、前記1の処理
(第1のバツフアメモリ45にセツトされている設定受
信可応答データ1C5を中央管理装置CQへ送信する。
)を行う。そして、この設定受信可応答データ1C?が
中央管理装置CQで受信されると、中央管理装置CQか
らはアクノレツジ信号ACKが送信される。すると、親
ECRMEO−MEnは、そのアクノレツジ信号ACK
を受信すると、前記fの処理(第1のデータ有無判別フ
ラツグDFlをりセツトし、エンド・オブ・トランスミ
ツシヨン信号EOTを送信する。)を行う。このエンド
・オブ・トランスミッシヨン信号EOTが中央管理装置
CQで受信されると、中央管理装置CQからはRAM6
に設定されているレジスタ指定テキストが送信されてく
る。すると、親ECRMEO−MEnにおいては、アク
ノレツジ信号ACKを中央管理装置CQへ送信するとと
もに前記4の処理に従つて、受信したレジスタ指定テキ
ストのプロツク数をプロツクカウンタBCにセツトし、
かつそのレジスタ指定テキストを指定収集データ格納エ
リア50に転送する。このアクノレツジ信号ACKが中
央管理装置CQで受信されると、中央管理装置CQから
は設定点検コマンドW3O2lが送信されてくる。する
と、親ECRMEO−MEnは、その設定点検コマンド
!3021を受信すると、アクノレッジ信号ACKを中
央処理装置CQへ送信するとともに前記8の処理(設定
が正しく行なわれていれば応答データ1F1をそうでな
ければ応答データ1G1を第1のバツフアメモリ45に
セツトした後、第1のデータ有無フラツグDFlをセツ
トする。)を行う。そして、この後中央管理装置CQか
ら送信されるポーリング信号POLLを受信したとき前
記1の処理を、アクノレツジ信号ACKを受信したとき
前記[F]の処理を行い、レジスタ指定テキストの伝送
が終了する。続いて、中央管理装置CQからは部門設定
コマンド92201が送信され、前記と同様にして設定
データの伝送が行なわれる。
Then, when the parent ECRMEO-MEn receives the polling signal POLL, since the first data presence/absence determination flag DFL is set, the parent ECRMEO-MEn performs the above-mentioned process 1 (setting reception set in the first buffer memory 45). The response data 1C5 is transmitted to the central management device CQ.
)I do. And this setting receivable response data 1C? When received by the central management device CQ, an acknowledgment signal ACK is transmitted from the central management device CQ. Then, the parent ECRMEO-MEn receives its acknowledge signal ACK.
When receiving the data, it performs the process f (resetting the first data presence/absence determination flag DFl and transmitting the end of transmission signal EOT). When this end of transmission signal EOT is received by the central management device CQ, the end of transmission signal EOT is sent from the central management device CQ to the RAM6.
The register specification text set to is sent. Then, the parent ECRMEO-MEn transmits an acknowledgment signal ACK to the central control unit CQ, and according to the process in step 4 above, sets the block number of the received register designation text in the block counter BC,
And the register designation text is transferred to the designated collection data storage area 50. When this acknowledgment signal ACK is received by the central management device CQ, a setting check command W3O2l is transmitted from the central management device CQ. Then, the parent ECRMEO-MEn issues a command to check its settings! Upon receiving 3021, it transmits an acknowledge signal ACK to the central processing unit CQ, and carries out the process in step 8 above (if the setting has been performed correctly, the response data 1F1 is set; otherwise, the response data 1G1 is set in the first buffer memory 45). After that, the first data presence/absence flag DFl is set. Thereafter, when the polling signal POLL transmitted from the central management device CQ is received, the process in step 1 is performed, and when the acknowledge signal ACK is received, the process in [F] is performed, and the transmission of the register designation text is completed. Subsequently, a department setting command 92201 is transmitted from the central management device CQ, and setting data is transmitted in the same manner as described above.

即ち、親ECRMEO−MEnは、まず中央管理装置C
Qからの部門設定コマンドW22Olを受信したとき前
記9の処理を行い、かつ受信した部門設定コマンド12
201をコマンドレジスタCRにセツトし、次にポーリ
ング信号を受信したとき前記1の処理を行い、次にアク
ノレツジ信号ACKを受信したとき前記[F]の処理を
行い、次に部門設定データを受信したとき前記4の処理
を行い、次に設定点検コマンド302゛を受信したとき
前記8の処理を行い、次にポーリング信号POLLを受
信したとき前記1の処理を行い、そしてアクノレツジ信
号ACKを受信したとき前記1の処理を行う。以上で、
親ECRMEO−MEnの設定収集データ格納エリア5
0には、部門設定データおよびレジスタ指定テキストが
格納された状態となる。この後、中央管理装置CQから
は設定業務コマンド73051が送信される。すると親
ECRMEO−MEnは、その設定業務コマンド!30
5を受信すると、アクノレツジ信号ACKを中央管理装
置CQへ返すとともに前記[相]の処理を行う。このと
き、上記[相]の処理によつて業務コマンド受信フラツ
グGKFがセツトされるため、第9図aにおける処理は
、ループL2から次の処理へ進む。この間の処理におい
て、異常が発生すると前記6の処理によつて第1のシー
ケンスエラー検出フラツグSEFlがセツトされるため
再びループL1へ復帰する。一方、ループL2から次の
処理へ進むと、まず設定収集データ格納エリア50に格
納されているレジスタ指定テキストをインラインアドレ
スに変換して指定レジスタテーブルメモリ48へ書込む
とともに、指定されたレジスタ台数をターミナルカウン
タTCにセツトし、業務開始のプログラム設定を行つた
後、指定レジスタテーブルメモリ48の中からデータ伝
送を指定された子ECRSEOl〜SEnnまたは親E
CRMEO−MEOが有るか否かを検索する。ここで、
データ伝送を指定されたECRが有ればそのインライン
アドレスをアドレスレジスタARにセツトし、次にタイ
マーカウンタTOFにセツトされた伝送時間経過すると
セツトされるタイムアウトフラツグTOFがセツトされ
ていないこと即ち設定された伝送時間内であることを条
件として、業務開始のプログラム設定後送信起動をオン
する。すると、設定収集データ格納エリア50に格納さ
れている部門設定データがアドレスレジスタARにセツ
トされたラインアドレスに該当する子ECRSEOl〜
SEnnへ伝送設定されてゆく。この際、図示していな
いが、子ECRSEOl〜SEnnへの設定(または収
集)業務が1台完了する毎に、ターミナルカウンタTC
のデータが111カウントダウンされ、設定収集完了フ
ラツグSKFがセツトされるとともに設定(または収集
)が完了した子ECRSEOl〜SEnOのラインアド
レスに対応する業務完了判別フラツグ48bがセツトさ
れる。また、この間の伝送中において、BUSY状態に
なると第2のシーケンスエラー検出フラツグSEF2が
、無応答状態になると第3のシーケンスエラー検出フラ
ツグSEF3がそれぞれセツトされる。一方、第9図a
における処理は、前述した送信起動をオンした後、ルー
プL3へ進み設定収集完了フラツグSKF、第2のシー
ケンスエラー検出フラツグSEF2および第3のシーケ
ンスエラー検出フラツグSEF3がセツトされたか否か
の判断、キー取込み処理のサブルーチンを繰返している
That is, the parent ECRMEO-MEn first connects to the central management device C.
When the department setting command W22Ol is received from Q, the process of 9 is performed, and the received department setting command 12
201 is set in the command register CR, the next time the polling signal is received, the process in step 1 is performed, the next time the acknowledge signal ACK is received, the process in [F] is performed, and then the department setting data is received. Then, when the setting check command 302 is received, the process of 8 is performed, and then when the polling signal POLL is received, the process of 1 is performed, and when the acknowledge signal ACK is received. Perform the process in step 1 above. Above,
Parent ECRMEO-MEn settings collection data storage area 5
0 stores department setting data and register designation text. After this, a setting task command 73051 is transmitted from the central management device CQ. Then, the parent ECRMEO-MEn executes its setting business command! 30
5, it returns an acknowledge signal ACK to the central control unit CQ and performs the process of the above-mentioned [phase]. At this time, since the business command reception flag GKF is set by the process in the above-mentioned [phase], the process in FIG. 9a proceeds from loop L2 to the next process. During this period of processing, if an abnormality occurs, the first sequence error detection flag SEF1 is set by the above-mentioned processing 6, so that the process returns to loop L1 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 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 the work, the child ECRSEO1 to SEnn or the parent E which is designated for data transmission from the designated register table memory 48 is set.
Search whether CRMEO-MEO exists or not. 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 set to confirm that it is not set. On the condition that the transmission time is within the specified transmission time, after setting the program to start the work, the transmission start is turned on. Then, the department setting data stored in the setting collection data storage area 50 is set to the child ECRSEOL corresponding to the line address set in the address register AR.
Transmission settings are made to SEnn. At this time, although not shown in the figure, each time the setting (or collection) work for the child ECRSEOL~SEnn is completed, the terminal counter TC
The data is counted down by 111, the setting collection completion flag SKF is set, and the task completion determination flag 48b corresponding to the line address of the child ECRSEOL-SEnO for which setting (or collection) has been completed is set. Also, during transmission during this period, if the BUSY state is entered, the second sequence error detection flag SEF2 is set, and if the no response state is entered, the third sequence error detection flag SEF3 is set. On the other hand, Figure 9a
After turning on the above-mentioned transmission start, the process proceeds to loop L3 to determine whether the setting collection completion flag SKF, the second sequence error detection flag SEF2, and the third sequence error detection flag SEF3 have been set, and to determine whether the key is set. The import processing subroutine is repeated.

ここで、アドレスレジスタARにセツトされているライ
ンアドレスに該当する子ECRSEOl〜SEnnへの
設定業務が完了すると、設定収集完了フラツグSKFが
セツトされるため、第9図aにおける処理は、ループL
3からラインコントロールIルーチンへ進む。
Here, when the setting work for the child ECRSEOL to SEnn corresponding to the line address set in the address register AR is completed, the setting collection completion flag SKF is set, so the process in FIG.
3, proceed to the line control I routine.

ラインコントロールIルーチンでは、第9図bのフロー
チヤートに示す如く、まず設定収集完『フラツグSKF
をりセツトし、次に加算データ判別フラツグKDFがセ
ツトされているか否かを判断する。
In the line control I routine, as shown in the flowchart of FIG.
Then, it is determined whether the addition data discrimination flag KDF is set.

この加算データ判別フラツグKDFは、点検或いは精算
等の業務コマンドを受信した場合にはセツトされている
が、それ以外の業務例えば設定等の業務コマンドを受信
した場合にはセツトされていない。従つて、この場合に
は設定業務コマンドであるから加算データ判別フラツグ
KDFがセツトされていないため、次に加算データ判別
フラツグKDFをりセツトさせる処理を行つた後、伝送
処理中異常検出フラツグDEFがセツトされているか否
かを判断する。このとき、上記処理において異常があれ
ば前記5の処理によつて伝送処理中異常検出フラツグD
EFがセツトされているから第9図aに示すモニタール
ーチンの6へと復帰するが、セツトされていない場合に
は次に指定レジスタテーブルメモリ48に設定された全
ECRとのデータ伝送が終了したか否か、指定レジスタ
テーブルメモリ48のアドレスが終端に達したか否かを
判断する。そして、上記全ECRとのデータ伝送が終了
していないこと、アドレスが終端に達していないことを
条件として、第9図aの8へ戻り次のECRとのデータ
伝送を行う。なお、上記アドレスが終端に達している場
合には、アドレスを初期化し、タイマーカウンタWCの
起動の有無を判断し、その判断の結果起動が有れば直接
、無ければ残台数により伝送時間をタイマーカウンタW
Cにセツトした後前記第9図の5へ戻る。また、第9図
のループL3において、第2、第3のシーケンスエラー
検出フラツグSEF2,SEF3がセツトされると、即
ち子ECRSEOl〜SEnnとの伝送中にBUSY状
態或いは無応答状態となると、第9図bに示すラインコ
ントロールルーチンへ進み、加算データ捧uフラツグK
DFの状態によつて加算処理のサブルーチンの処理が行
なわれる。
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 since it is a setting service command, the addition data discrimination flag KDF is then reset, and then the abnormality detection flag DEF during transmission processing is set. Determine whether it is set. At this time, if there is an abnormality in the above processing, the transmission processing abnormality detection flag D is set by the processing in 5 above.
Since EF has been set, the process returns to step 6 of the monitor routine shown in FIG. It is determined whether the address of the designated 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 8 in FIG. 9a and data transmission with the next ECR is performed. If the above address has reached the end, the address is initialized, and it is determined whether or not the timer counter WC is activated. If the result of that determination is activation, the transmission time is set directly, and if not, the transmission time is set as a timer based on the number of remaining devices. counter W
After setting to C, return to step 5 in FIG. 9 above. In addition, in loop L3 of FIG. 9, when the second and third sequence error detection flags SEF2 and SEF3 are set, that is, when the BUSY state or no response state occurs during transmission with child ECRSEOl to SEnn, the ninth Proceed to the line control routine shown in Figure b, and set the addition data flag K.
Depending on the state of DF, a subroutine of addition processing is performed.

このようにして、指定レジスタテーブルメモリ48に設
定された子ECRSEOl〜SEnnへ設定データが順
次設定されてゆくわけである。
In this way, the setting data is sequentially set to the children ECRSEOL to SEnn set in the specified register table memory 48.

そして、設定された全ECRとのデータ伝送が終了した
とき、または設定された伝送時間が経過しタイムアウト
フラツグTOFがセツトされたとき、データ送出ルーチ
ンへ移行する。データ送出ルーチンでは、第9図cに示
すフローチヤートに従つて、まず指定レジスタテーブル
メモリ48の業務完了判別フラツグ48bにより子EC
RSEOl〜SEnnおよび親ECRMEO−MEnに
ついて設定(または収集)が完了したか否かの情報を中
央管理装置CQへの送出用として作成し、その作成デー
タを第2のバツフアメモリ46にセツトし、続いて第2
のデータ有無判別フラツグDF2をセツトした後、最後
データであるか否かを判断する。
Then, when 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.
Information on whether the settings (or collection) for RSEOl~SEnn and the parent ECRMEO-MEn have been completed is created for transmission to the central management device CQ, the created data is set in the second buffer memory 46, and then Second
After setting the data presence determination flag DF2, it is determined whether or not it is the last data.

最終データでなければ直接、また最終データであれば送
出終了フラツグSFFをセツトした後、第2のデータ有
無判別フラツグDF2がりセツトされるまでキー取込み
処理のサブルーチンを繰返す。この間において、中央管
理装置CQからのポーリング信号POLLを受信すると
、前記2の処理により第2のバッフアメモリ46にセツ
トした送出データを中央管理装置CQへ送信し、次にア
クノレツジ信号ACKを受信すると前記2の処理を行う
。すると、この4の処理に伴つて第2のデータ有無判別
フラツグDF2がりセツトされるため、次に伝送処理中
異常検出フラツグDEFがセツトされているか否かを判
断する。このとき、伝送処理中異常検出フラッグDEF
がセツトされていればその伝送処理中異常検出フラツグ
DEFをりセツトし、かつ各種フラッグをりセツトした
後モニタールーチンの6へ戻るが、伝送処理中異常検出
フラツグDEFがセツトされていなければ最終データを
送信したことを条件としてジャーナルにコマンドレジス
タCRに記憶されている部門設定コマンド22『を印字
した後、モニタールーチンの6へ復帰する。以上の操作
によつて、親ECRMEO〜MEnおよび子ECRSE
Ol〜SEnnに各種データが設定された状態において
、それぞれ登録業務を行うと、親ECRMEO−MEn
および子ECRSEOl〜SEnnのRAM26,56
には登録された各種データが集計記憶されていく。
If it is not the final data, it is set directly, and 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 set. During this period, when the polling signal POLL is received from the central management device CQ, the transmission data set in the second buffer memory 46 by the process in step 2 is transmitted to the central management device CQ, and when the acknowledgment signal ACK is received, the send data is transmitted to the central management device CQ. Process. Then, since the second data presence/absence determination flag DF2 is set in accordance with the process in step 4, it is next determined whether or not the abnormality detection flag DEF during transmission processing is set. At this time, the transmission processing error detection flag DEF
If the abnormality detection flag DEF during transmission processing is set, the error detection flag DEF during transmission processing is reset, and after resetting various flags, the process returns to step 6 of the monitor routine. However, if the abnormality detection flag DEF during transmission processing is not set, the final data is After printing the department setting command 22' stored in the command register CR in the journal on the condition that the command 22 has been sent, the process returns to 6 of the monitor routine. By the above operations, the parent ECRMEO~MEn and child ECRSE
If you perform registration work with various data set in Ol~SEnn, the parent ECR MEO-MEnn
and RAM26,56 of child ECRSEOL~SEnn
Various registered data are aggregated and stored.

なお、登録業務は、まず商品の金額を置数キー31,6
1によつて入力した後金額キー38,68を押し、続い
てその商品の属する部門コードを置数キー31,61に
よつて入力した後部門キー37,67を押す。また、各
部門キー32,62にそれぞれ対応するメモリに商品の
単価がプリセツトされたものについては、単に部門キー
32,62を押すだけで1商品の登録が行なわれる。そ
こで、次に中央管理装置CQから親ECRMEO−ME
nおよびECRSEOl〜SEnnに蓄えられた登録デ
ータを収集する場合には、中央管理装置CQにおいて、
予めキーボード3のキー操作によりデータを収集する端
末を指定するレジスタ指定テキストをRAM6に設定し
た後、例えば「B」キーを押すと、前述した設定業務と
同様にレジスタ指定テキストが親ECRMEO〜MEn
の設定収集データ格納エリア50にセツトされる。
For registration, first enter the amount of the product using the number keys 31 and 6.
1, press the amount keys 38, 68, then input the department code to which the product belongs using the number keys 31, 61, press the department keys 37, 67. Furthermore, for products whose unit prices are preset in the memory corresponding to each department key 32, 62, one product can be registered simply by pressing the department key 32, 62. Therefore, next, from the central management device CQ to the parent ECR MEO-ME
When collecting registration data stored in n and ECRSEOL~SEnn, the central management unit CQ
After setting the register designation text for specifying the terminal from which data is to be collected in the RAM 6 by operating the keys on the keyboard 3, for example, if you press the "B" key, the register designation text will be changed to the parent ECR MEO to MEn in the same way as in the setting work described above.
is set in the setting collection data storage area 50.

なお、この間においても親ECRMEO−MEnでは、
ループLl,L2のキー取込み処理のサブルーチンによ
つて登録業務が行える状態である。
Furthermore, during this period, the parent ECRMEO-MEn
Registration operations can now be performed by the subroutines for key import processing in loops L1 and L2.

この後、中央管理装置CQからは全点検業務コマンドT
36゛01が送信される。
After this, all inspection work command T is sent from the central control unit CQ.
36゛01 is sent.

すると、親ECRMEO−MEnは、その全点検業務コ
マンド13601を受信すると、前記@の処理を行いか
つ受信した全点検業務コマンド3601をコマンドレジ
スタCRへセツトした後、アクノレツジ信号ACKを中
央管理装置CQへ返す。このとき、上記◎の処理によつ
て業務コマンド受信フラツグGKFがセツトされるため
、第9図aにおける処理は、ループL2から次の処理へ
進む。この間の処理において、異常が発生すると前記6
の処理によつて第1のシーケンスエラー検出フラツグS
EFlがセツトされるため再びループL1へ復帰する。
一方、ループL2から次の処理へ進むと、まず設定収集
データ格納エリア50に格納されているレジスタ指定テ
キストをインラインアドレスに変換して指定レジスタテ
ーブルメモリ48へ書込むとともに、指定されたレジス
タ台数をターミナルカウンタTCにセツトし、業務開始
のプログラム設定を行つた後、指定レジスタテーブルメ
モリ48の中からデータ伝送を指定された子ECRSE
Ol〜SEnnまたは親ECRMEO−MEOが有るか
否かを検索する。
Then, when the parent ECRMEO-MEn receives the all-inspection work command 13601, it processes the @ and sets the received all-inspection work command 3601 to the command register CR, and then sends an acknowledgment signal ACK to the central management unit CQ. return. At this time, since the business command reception flag GKF is set by the process ◎ above, the process in FIG. 9a proceeds from loop L2 to the next process. If an abnormality occurs during processing during this period, the above-mentioned 6.
The first sequence error detection flag S
Since EFl is set, the process returns to loop L1 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 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 the work, select the child ECRSE designated for data transmission from the designated register table memory 48.
Search whether Ol~SEnn or parent ECRMEO-MEO exists.

ここで、データ伝送を指定されたECRが有ればそのイ
ンラインアドレスをアドレスレジスタARにセツトし、
タイムアウトフラツグTOFがセツトされていないこと
即ち設定された伝送時間内であることを条件として送信
起動をオンする。すると、コマンドレジスタCRにセツ
トされていた全点検業務コマンド13601がアドレス
レジスタARにセツトされていたラインアドレスに該当
する子ECRSEOl〜SEnnへ伝送されてゆく。子
ECRSEOl〜SEnnでは、親ECRMEO−ME
nから送られてきた全へ検業務コマンド13601を受
信すると、RAM56内に蓄えられていた部門別、取引
別等の各種データを親ECRMEO−MEnに対して送
信する。一方、親ECRMEO−MEOは、子ECRS
EOl〜SEnOから送られてきたデータを設定収集デ
ータ格納エリア50へ転送するとともに、第9図aのフ
ローチヤートに示すループL3へ進み、設定収集完了フ
ラツグSKFl第2のシーケンスエラー検出フラツグS
EF2、および第3のシーケンスエラー検出フラツグS
EF3がセツトされたか否かの判断、キー取込み処理の
サブルーチンを繰返している。
Here, if there is an ECR designated for data transmission, its inline address is set in the address register AR,
Transmission activation is turned on on the condition that the timeout flag TOF is not set, that is, the transmission time is within the set one. Then, the all inspection work command 13601 set in the command register CR is transmitted to the children ECRSEOL-SEnn corresponding to the line address set in the address register AR. In the child ECRSEOl~SEnn, the parent ECRSEO-ME
Upon receiving the total inspection command 13601 sent from n, it transmits various data stored in the RAM 56, such as by department and by transaction, to the parent ECR MEO-MEn. On the other hand, the parent ECRMEO-MEO
The data sent from EOl to SEnO is transferred to the setting collection data storage area 50, and the process proceeds to loop L3 shown in the flowchart of FIG. 9a, where the setting collection completion flag SKFl and second sequence error detection flag S
EF2 and third sequence error detection flag S
The subroutine of determining whether EF3 is set and key import processing is repeated.

従つて、子ECRSEOl〜SEnnとの伝送中におい
ても親ECRMEO−MEnでは、ループL3のキー取
込み処理のサブルーチンによつて登録業務が行える状態
である。
Therefore, even during the transmission with the child ECRSE01-SEnn, the parent ECRSE0-MEn is in a state where the registration work can be performed by the subroutine of the key capture process in loop L3.

ここで、アドレスレジスタARにセツトされているライ
ンアドレスに該当する子ECRSEOl〜SEnOから
の収集業務が完了すると、設定収集完了フラツグSKF
がセツトされるため、第9図aにおける処理は、ループ
L3からラインコントロールIルーチンへ進む。ライン
コントロールIルーチンでは、第9図bのフローチヤー
トに示す如く、まず設定収集完了フラツグSKFをりセ
ツトし、次に加算データ判別フラツグKDFがセツトさ
れているか否かを判断する。
Here, when the collection work from the child ECRSEOl to SEnO corresponding to the line address set in the address register AR is completed, the setting collection completion flag SKF is
is set, the process in FIG. 9a proceeds from loop L3 to the line control I routine. In the line control routine I, 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がセツトされているため、次に加算
処理を行いその結果を加算データ格納エリア49へ転送
した後、加算データ判別フラツグKDFをりセツトさせ
る処理を行つた後、伝送処理中異常検出フラツグDEF
がセツトされているか否かを判断する。このとき、上記
7処理において異常があれば前記5の処理によつて伝送
処理中異常検出フラツグDEFがセツトされているから
第9図aに示すモニタールーチンの4へと復帰するが、
セツトされていない場合にぱ次に指定レジスタテーブル
メモリ48に設定された全ECRとのデータ伝送が終了
したか否か、指定レジスタテーブルメモリ48のアドレ
スが終端に達したか否かを判断する。そして、上記全E
CRとのデータ伝送が終了していないこと、アドレスが
終端に達していないことを条件として、第9図a(7)
6へ戻り次のECRとのデータ伝送を行う。このように
して、指定レジスタテーブルメモリ48に設定された子
ECRSEOl〜SEnnに蓄えられたデータを収集し
てゆくと、それらのデータは親ECRMEO−MEnの
加算データ格納エリア48へ格納される。そして、設定
された全ECRとのデータ伝送が終了したとき、または
設定された伝送時間が経過しタイムアウトフラツグTO
Fがセツトされたとき、第9図cのデータ送出ルーチン
に従つて、加算データ格納エリア48に格納されている
点検データが中央管理装置CQへ送信される。即ち、デ
ータ送出ルーチンでは、指定レジスタテーブルメモリ4
8の業務完了フラツグ48bにより子ECRSEOl〜
SEnnについて収集が完了したか否かの情報および加
算データ格納エリア49に格納されているデータを中央
管理装置CQへの送出用として作成し、その作成データ
を第2のバツフアメモリ46にセツトし、続いて第2の
データ有無判別フラツグDF2をセツトした後、最終デ
ータであるか否かを判断する。最終データでなければ直
接、また最終データであれば送出終了フラツグSFFを
セツトした後、第2のデータ有無判別フラツグDF2が
りセツトされるまでキー取込み処理のサブルーチンを繰
返す。従つて、この間においても親ECRMEO−ME
nでは、データ送出ルーチンのキー取込み処理によつて
登録業務が行える状態にある。また、この間において、
中央管理装置CQからのポーリング信号POLLを受信
すると、前記2の処理により第2のバツフアメモリ46
にセツトした送出データを中央管理装置CQへ送信し、
次にアクノレツジ信号ACKを受信すると前記2の処理
を行う。すると、この4の処理に伴つて第2のデータ有
無判別フラツグDF2がりセツトされるため、次に伝送
処理中異常検出フラツグDEFがセツトされているか否
かを判断する。このとき、伝送処理中異常検出フラツグ
DEFがセツトされていればその伝送処理中異常検出フ
ラツグDEFをりセツトし、かつ各種フラツグをりセツ
トした後モニタールーチンの4へ戻るが、伝送処理中異
常検出フラツグDEFがセツトされていなければ最終デ
ータを送信したことを条件としてジヤーナルにコマンド
レジスタCRに記憶されている全点検業務コマンド13
601を印字した後、モニタールーチンの6へ復帰する
。ところで、土述したように中央管理装置CQからの起
動によつて設定または収集業務が行なわれている最中に
例えば親ECRMEO−MEnに一時的停電等の異常が
発生すると、伝送処理中異常検出フラツグDEFがセツ
トされるため、第9図aのモニタールーチンの4の復帰
した状態となる。
In this case, since it is a full inspection service command, the addition data discrimination flag KDF 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 performing the processing, the error detection flag DEF during transmission processing is
is set. At this time, if there is an abnormality in the process 7 above, the abnormality detection flag DEF during transmission processing has been set in the process 5 above, so the process returns to 4 of the monitor routine shown in FIG. 9a.
If it has not been 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
Figure 9 a (7) on the condition that data transmission with CR has not been completed and the address has not reached the end.
Return to step 6 and perform data transmission with the next ECR. As the data stored in the child ECRSEOl-SEnn set in the specified register table memory 48 is collected in this way, the data is stored in the added data storage area 48 of the parent ECRSEO-MEn. Then, when data transmission with all set ECRs is completed, or when the set transmission time has elapsed, the timeout flag is set.
When F is set, the inspection data stored in the added 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 task completion flag 48b causes child ECRSEOL~
The information on whether collection has been completed for SEnn and the data stored in the addition data storage area 49 are created for sending to the central control unit CQ, the created data is set in the second buffer memory 46, and then After setting the second data presence/absence determination flag DF2, it is determined whether or not the data is the final data. If it is not the final data, it is set directly, and 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 set. Therefore, even during this period, the parent ECR MEO-ME
n is in a state where registration work can be performed by the key capture process of the data sending routine. Also, during this time,
Upon receiving the polling signal POLL from the central management 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 set in accordance with the process in step 4, 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 step 4 of the monitor routine. If the flag DEF is not set, all inspection work commands 13 stored in the command register CR in the journal are sent on the condition that the final data has been transmitted.
After printing 601, the process returns to 6 of the monitor routine. By the way, as mentioned above, if an abnormality such as a temporary power outage occurs in the parent ECR MEO-MEn while the setting or collection work is being performed by starting from the central management unit CQ, an abnormality will be detected during the transmission process. Since the flag DEF is set, the state returns to step 4 in the monitor routine of FIG. 9a.

いま、仮に点検業務を行つている最中に停電が発生しそ
れが回復したとき、中央管理装置CQから例えば部門設
定コマンド122『が送信されてきたとすると、親EC
RMEO−MEnは、受信した部門設定コマンド022
05とコマンドレジスタCRにセツトされている停電発
生前のコマンドつまり全点検業務コマンド?3601と
が同一であるか否かを判断する。この場合には、両者が
不一致であるから、コマンドレジスタCRにセツトされ
ている全点検業務コマンド73601を中央管理装置C
Qに対して要求する全点検業務コマンド要求データ11
を第1のバツフアメモリ45へセツトし、かつ第1のデ
ータ有無判別フラツグDFlをセツトした後アクノレッ
ジ信号ACKを中央管理装置CQへ返す。そして、この
アクノレツジ信号ACKが中央管理装置CQで受信され
ると、中央管理装置CQからぱポーリング信号POLL
が送信される。すると、親ECRMEO−MEnは、そ
のポーリング信号POLLを受信すると、第1のバツフ
アメモリ45にセツトされている全点検業務コマンド要
求データl゛を送信する。そして、この全点検業務コマ
ンド要求データ”11が申央管理装置CQで受信され、
その要求データ7「に対応する全点検業務コマンド36
0”が中央管理装置CQから送信されてくると、親EC
RMEO−MEnにおいては、送信されてきたコマンド
とコマンドレジスタCRのコマンドが同一であるから停
電回復処理フラツグTKFをセツトする。すると、親E
CRMEO−MEnにおいては、第9図aのループL1
における停電回復処理フラツグTKFがセツトされたこ
とによつてデータ送出ルーチンへ移行し、停電が発生し
た前までの設定、収集データを中央管理装置CQへ送信
することになる。
Now, if a power outage occurs during inspection work and the power is restored, for example, a department setting command 122' is sent from the central management device CQ, then the parent EC
RMEO-MEn is the received department setting command 022.
05 and the command before the power outage set in the command register CR, that is, the full inspection work command? 3601 is the same. In this case, since the two do not match, the entire inspection work command 73601 set in the command register CR is sent to the central management device C.
All inspection work command request data 11 requested for Q
After setting the data into the first buffer memory 45 and setting the first data presence/absence determination flag DFl, an acknowledgment signal ACK is returned to the central management unit CQ. When this acknowledgment signal ACK is received by the central management device CQ, the central management device CQ sends a polling signal POLL.
is sent. Then, upon receiving the polling signal POLL, the parent ECRMEO-MEn transmits the full inspection service command request data l' set in the first buffer memory 45. Then, this full inspection work command request data "11" is received by the Shino management device CQ,
All inspection work commands 36 corresponding to the request data 7
0” is sent from the central management device CQ, the parent EC
In RMEO-MEn, 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, parent E
In CRMEO-MEn, loop L1 in FIG. 9a
When the power failure recovery processing flag TKF is set in , the process moves to a data sending routine, and the settings and collected data up to the time before the power failure occurred are transmitted to the central control unit CQ.

従つて、このような伝送処理途中に停電等の異常が発生
しても、それまでのデータが中央管理装置CQへ伝送処
理されるため、従来のように最初から処理を開始するよ
うな時間的損失を無くすることができる。特に、親EC
RMEO−MEnが中央管理装置CQに対して、現時点
における状態から起動を起させるコマンド要求データを
返すようにすることは、起動時における時間的損失が無
くなる利点がある。以上が中央管理装置CQから親EC
RMEO〜MEnおよび子ECRSEOl〜SEnOへ
データを設定する場合、逆にそれらからデータを収集す
る場合であるが、次に親ECRMEO〜MEnにおいて
、子ECRSEOl〜SEnnへデータ例えば部門デー
タを設定する場合、逆に子ECRSEOl〜SEnOか
ら点検データを収集する場合について説明する。
Therefore, even if an abnormality such as a power outage occurs during such transmission processing, the data up to that point will be transmitted to the central control unit CQ, so there is no need to start processing from the beginning as in the past. Loss can be eliminated. In particular, parent EC
Having the RMEO-MEn return command request data for starting from the current state to the central management device CQ has the advantage of eliminating time loss at the time of starting. The above is from the central management device CQ to the parent EC
When setting data to RMEO~MEn and child ECRSEOl~SEnO, or conversely when collecting data from them, when setting data, for example, department data, to child ECRSEOL~SEnn in parent ECRMEO~MEn, On the other hand, a case will be described in which inspection data is collected from child ECRSEO1 to SEnO.

まず、親ECRMEO−MEnから子ECRSEOl〜
SEnOへ部門データを設定する場合には、親ECRM
EO−MEnにおいて、予めキーボード31のキー操作
によりデータを設定する端末を指定するレジスタ指定テ
キストをRAM26の指定レジスタテーブルメモリ48
に設定した後、次のキー操作を行う。
First, from the parent ECRMEO-MEn to the child ECRSEOl~
When setting department data to SEnO, the parent ECRM
In the EO-MEn, a register designation text designating a terminal for setting data is stored in advance in the designation register table memory 48 of the RAM 26 by key operations on the keyboard 31.
After setting, perform the following key operations.

(1)置数キー31により部門コードを置数した後部門
キー37を押し、続いて置数キー31により課コードを
置数した後部門キー37を押す。
(1) After entering the department code using the number key 31, press the department key 37. Then, after entering the section code using the number key 31, press the department key 37.

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

すると、親ECRMEO−MEnは、上言12(1)の
操作が行なわれると、第11図aに示すフローチヤート
に従つて、まず中央管理装置CQからの起動が有るか否
かを判断する。
Then, when the above operation 12(1) is performed, the parent ECR MEO-MEn first determines whether or not there is activation from the central management device CQ, according to the flowchart shown in FIG. 11a.

中央管理装置CQからの起動が有る場合にはエラーとな
るが、無い場合には次に上記1)の操作によつて入力さ
れた部門コード、課コード等の部門データを設定収集デ
ータ格納エリア50へセツトした後、プロツクカウンタ
BCに設定データのプロツク数をセツトする。この後、
上記(I[)の操作が行なわれると、第11図bに示す
フローチヤートに従つて、まず中央管理装置CQからの
起動が有るか否かを判断する。中央管理装置CQからの
起動が有る場合にはエラーとなるが、無い場合には次に
コマンドレジスタCRに部門設定コマンド2201をセ
ツトし、業務コマンド受信フラツグGKFをセツトし、
親起動フラツグMFをセツトした後、第9図に示す[F
]へ進む。従つて、以後はこの第9図に従つて処理され
るため、中央管理装置CQからの起動と同様に設定業務
が行なわれる。一方、親ECRMEO−MEOから子E
CRSEOl〜SEnnに蓄えられているデータを収集
する場合には、親ECRMEO−MEnにおいて、予め
キーボード23のキー操作によりデータを収集する端末
を指定するレジスタ指定テキストRAM26の指定レジ
スタテーブルメモリ48に設定した後、預/現計キー3
6を押す。
If there is activation from the central management device CQ, an error will occur, but if there is no activation, then the department data such as the department code and section code input by the operation in 1) above will be set in the collected data storage area 50. After setting the setting data, the number of blocks of the setting data is set in the block counter BC. After this,
When the above operation (I[) 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 an activation from the central management unit CQ, an error will occur, but if there is no activation, then the department setting command 2201 is set in the command register CR, the business command reception flag GKF is set,
After setting the parent activation flag MF, the [F
] Proceed to. 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, from parent ECRMEO-MEO to child E
When collecting data stored in CRSEOl~SEnn, in the parent ECRMEO-MEn, a register designation text for specifying the terminal from which data is to be collected is set in advance in the designated register table memory 48 of the RAM 26 by key operations on the keyboard 23. After, deposit/cash key 3
Press 6.

すると、親ECRMEO−MEnは、第12図に示すフ
ローチヤートに従つて、まず中央管理装置CQからの起
動が有すか否かを判断する。中央管理装置CQからの起
動が有る場合にはエラーとなるが、無い場合には次にコ
マンドレジスタCRに全点検業務コマンドW36Olを
セツトし、業務コマンド受信フラツグGKFをセツトし
、親起動フラツグMFをセツトした後、第9図に示す[
F]へ進む。従つて、以後はこの第9図に従つて処理さ
れるため、中央管理装置CQからの起動と同様に点検業
務が行なわれる。このように、子ECRMEOl〜ME
nnへの設定業務および点検業務を、中央管理装置CQ
からの起動のほかに親ECRMEO−MEnにおいても
できるわけである。
Then, the parent ECR MEO-MEn first determines whether or not it has been activated by the central management device CQ, according to the flowchart shown in FIG. 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 W36Ol in the command register CR, set the work command reception flag GKF, and set the parent start flag MF. After setting the [
Proceed to F]. Therefore, since the processing is thereafter performed according to FIG. 9, the inspection work is performed in the same manner as when starting from the central management device CQ. In this way, child ECRMEOL~ME
Settings and inspections for nn are carried out by the central management unit CQ.
In addition to starting from the parent ECRMEO-MEn, this can also be done from the parent ECRMEO-MEn.

ところで、例えば中央管理装置CQからの起動によつて
子ECRSEOl〜SElnから収集したデータが親E
CRMEO−MEnに収集された段階で、中央管理装置
CQに異常が発生しデータ伝送が行えなくなつたとする
と、収集業務が精算業務である場合子ECRSEOl〜
SEnnのデータがクリアされているため、後処理が極
めて面倒になる。
By the way, for example, the data collected from the child ECRSEOl to SEln by activation from the central management device CQ is
Suppose that an abnormality occurs in the central management unit CQ and data transmission becomes impossible at the stage when data is collected in CRMEO-MEn.If the collection task is a settlement task, the child ECRSEOL~
Since the SEnn data is cleared, post-processing becomes extremely troublesome.

このような場合には、親ECRMEO−MEnにおいて
、まず置数キー31によりプログラム選択データを置数
例えば「8」キーを押した後、預/現計キー42を押す
。すると、親ECRMEO〜MEOは、第13図に示す
フローチヤートに従つて、まず中央管理装置CQからの
起動が有すか否かを判断する。中央管理装置CQからの
起動が有る場合にはエラーとなるが、無い場合には次に
収集業務が1台でも完了したか否かを判断する。ここで
、その収集業務が1台でも完了していれば、その業務が
精算業務であることを条件として加算データ格納エリア
50に蓄えられている収集データつまり精算データをプ
リンタ28でプリントアウトする。従つて、精算データ
収集中に中央管理装置CQへのデータ伝送が不可能にな
つた場合でも、親ECRMEO−MEnに収集した精算
データをその親ECRMEO−MEnのキー操作により
強制的にプリントアウトできるため、異常時の後処理が
短時間にかつ簡単に行なえる。なお、上記説明では中央
管理装置CQから送信されてきたレジスタ指定テキスト
またはキーボード23から入力したレジスタ指定テキス
トによつて指定レジスタテーブルメモリ48に設定され
た子ECRSEOl〜SEnOおよび親ECRMEO−
MEnについて伝送業務を行う場合について説明したが
、例えば或特定のフアンクシヨンキ一が押されない状態
では常にレジスタテーブルメモリ47に設定された子E
CRSEOl〜SEnOおよび親ECRMEO−MEn
について伝送業務が行なわれるようになつている。従つ
て、そのフアンクシヨンキ一の操作の有無によつて、全
ECRを対象とするか、指定したECRのみを対象とす
るかを簡単に選択できるようになつている。また、親E
CRMEO−MEnが子ECRSEOl〜SEnOとデ
ータ伝送中において、アドレスレジスタARのデータに
対応するレジスタ番号つまり現在データ伝送が行なわれ
ている子ECRSEOl〜SEnlのレジスタ番号が中
央管理装置CQへ送信され、その表示器4に表示される
。従つて、オペレータは、この表示器4の表示から現在
データ伝送を行つている子ECRSEOl〜SEnOを
確認することができる。なお、上記実施例では中継装置
としてECRを用いたが、ECRでなくてもよい。本発
明によれば、伝送業務中において中継装置に停電等の異
常が生じた場合、その中継装置が停電回復後中央管理装
置から異常が生じる前の業務指令と同一のデータ伝送業
務指令を受信すると、その異常が生じる前までの伝送処
理データが中央管理装置へ伝送されるため、従来のよう
に最初から伝送業務を行う必要がなく、従つて伝送業務
中に異常が生じても伝送処理時間の損失をなくすことが
できる。
In such a case, in the parent ECRMEO-MEn, first enter the program selection data using the number keys 31, for example, press the "8" key, and then press the deposit/total key 42. Then, the parent ECR MEO to MEO first determine whether or not they have been activated by the central management device CQ, according to the flowchart shown in FIG. If there is an activation from the central management device CQ, an error occurs, but if there is no activation, it is then determined whether the collection task has been completed by even one device. 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 control unit CQ becomes impossible during collection of payment data, the payment data collected in the parent ECRMEO-MEn can be forcibly printed out by key operation on the parent ECRMEO-MEn. Therefore, post-processing in the event of an abnormality can be performed easily and in a short time. In the above description, the child ECRSEO1 to SEnO and the parent ECRMEO- set in the designated register table memory 48 by the register designation text sent from the central management device CQ or the register designation text input from the keyboard 23 are described as follows.
Although we have explained the case where transmission work is performed for MEn, for example, when a certain function key is not pressed, the child E set in the register table memory 47 is always
CRSEOl~SEnO and parent ECRMEO-MEn
Transmission services are now being carried out for 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 E
While the CRMEO-MEn is transmitting data with the children ECRSEOl to SEnO, the register number corresponding to the data in the address register AR, that is, the register number of the child ECRSEOl to SEnl whose data is currently being transmitted, is sent to the central management unit CQ. It is displayed on the display 4. Therefore, the operator can check which child ECRSEO1 to SEnO is currently transmitting data from the display on the display 4. In addition, although ECR was used as a relay device in the said Example, it does not need to be ECR. According to the present invention, when an abnormality such as a power outage occurs in a relay device during a transmission operation, when the relay device receives a data transmission operation command that is the same as the operation command before the abnormality occurs from the central management device after the power is restored. Since the transmission processing data up to the time before the abnormality occurs is transmitted to the central management device, there is no need to perform the transmission operation from the beginning as in the past, and therefore, even if an abnormality occurs during the transmission operation, the transmission processing time will be reduced. Loss can be eliminated.

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

図は本発明の一実施例を示すもので、第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図は親ECRにおけ
るプリントアウト操作に基づくフローチヤートである。
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. Figure 8 is a front view showing the keyboard, Figures 9A, b, and c are flowcharts showing the main routine in the parent ECR, and Figures 10A and b are the parent ECR.
11A and 11b are flowcharts based on setting operations in the parent ECR, FIG. 12 is a flowchart based on inspection operations in the parent ECR, and FIG. This is a flowchart based on a printout operation in ECR.

Claims (1)

【特許請求の範囲】 1 中央管理装置に対して複数台の中継装置を接続し、
この各中継装置に複数台のキャッシュレジスタ(以下E
CRと称す。 )をそれぞれ接続し、前記中継装置が、前記中央管理装
置からのデータ伝送業務指令を受信した際、受信したデ
ータ伝送業務指令に基づいてその中継装置に接続された
ECRとのデータ伝送業務を行い、かつ伝送処理データ
を前記中央管理装置へ伝送するシステムにおいて、前記
各中継装置に、前記中央管理装置から受信したデータ伝
送業務指令を記憶する業務指令記憶手段、データ伝送業
務中の異常を記憶する異常状態記憶手段、この異常状態
記憶手段が異常を記憶した状態において前記中央管理装
置から前記業務指令記憶手段に記憶されている指令と同
一のデータ伝送業務指令を受信した際伝送業務における
伝送処理データを前記中央管理装置へ伝送することを指
示する手段をそれぞれ設けたことを特徴とする商品販売
データ処理システム。
[Claims] 1. Connecting a plurality of relay devices to a central management device,
Each relay device has multiple cash registers (hereinafter referred to as E).
It is called CR. ), and when the relay device receives a data transmission operation command from the central management device, it performs a data transmission operation with the ECR connected to the relay device based on the received data transmission operation command. , and in a system for transmitting transmission processing data to the central management device, each of the relay devices includes a business command storage means for storing a data transmission business command received from the central management device, and an abnormality during the data transmission business is stored. an abnormal state storage means; when this abnormal state storage means receives a data transmission work command identical to the command stored in the work command storage means from the central management device in a state in which the abnormality has been stored; A product sales data processing system, characterized in that the product sales data processing system is provided with means for instructing to transmit the data to the central management device.
JP55144934A 1980-10-16 1980-10-16 Product sales data processing system Expired JPS5936300B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP55144934A JPS5936300B2 (en) 1980-10-16 1980-10-16 Product sales data processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP55144934A JPS5936300B2 (en) 1980-10-16 1980-10-16 Product sales data processing system

Publications (2)

Publication Number Publication Date
JPS5769439A JPS5769439A (en) 1982-04-28
JPS5936300B2 true JPS5936300B2 (en) 1984-09-03

Family

ID=15373585

Family Applications (1)

Application Number Title Priority Date Filing Date
JP55144934A Expired JPS5936300B2 (en) 1980-10-16 1980-10-16 Product sales data processing system

Country Status (1)

Country Link
JP (1) JPS5936300B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS611888U (en) * 1984-06-11 1986-01-08 大同信号株式会社 Mounting material for display light emitting diode on printed circuit board
JPS61127656U (en) * 1985-01-29 1986-08-11
JPH0458195B2 (en) * 1986-06-30 1992-09-16 Matsushita Electric Ind Co Ltd

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2640784B2 (en) * 1990-12-25 1997-08-13 松下電器産業株式会社 Center network controller

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS611888U (en) * 1984-06-11 1986-01-08 大同信号株式会社 Mounting material for display light emitting diode on printed circuit board
JPS61127656U (en) * 1985-01-29 1986-08-11
JPH0458195B2 (en) * 1986-06-30 1992-09-16 Matsushita Electric Ind Co Ltd

Also Published As

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

Similar Documents

Publication Publication Date Title
US4803347A (en) Automatic transaction machine
JPH03288297A (en) Transaction processor
JPS5936300B2 (en) Product sales data processing system
JPS60134964A (en) Pos system
JPS5936301B2 (en) Product sales data processing system
JP2503454B2 (en) POS terminal group management device
JPS5839352B2 (en) electronic cash register
CA2203281C (en) Data communication system with multiple processors
JPS6249560A (en) Data transmitting system
JPS604502B2 (en) Product sales data transmission processing system
JP2008176391A (en) Order data input device and data management device
JP4100217B2 (en) Transaction processing system and information terminal
JPH06101071B2 (en) Sales data processor
JP2000286858A (en) Data management system by dmm
JPH07239892A (en) Method and device for forms processing by facsimile
JP2589207B2 (en) POS system
JP2507072B2 (en) Recovery method
JP4746777B2 (en) Defect information distribution method, defect information distribution program, defect information distribution system
JP3062225U (en) Electronic banking device with transfer data conversion function for basic salary and purchase information
JPS62212796A (en) Pos system
JPS61221959A (en) Transaction data processor
JPH06266736A (en) Processed data collection method
JPS58114270A (en) Account settlement processing system in in-line system
JPS5839336A (en) Memory clearing system of subordinate machine of in-line system
JPS61114370A (en) Transaction device