JPH02306259A - Copy data control system - Google Patents

Copy data control system

Info

Publication number
JPH02306259A
JPH02306259A JP1128022A JP12802289A JPH02306259A JP H02306259 A JPH02306259 A JP H02306259A JP 1128022 A JP1128022 A JP 1128022A JP 12802289 A JP12802289 A JP 12802289A JP H02306259 A JPH02306259 A JP H02306259A
Authority
JP
Japan
Prior art keywords
data
controller
copy data
control device
mode
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.)
Pending
Application number
JP1128022A
Other languages
Japanese (ja)
Inventor
Hiroichi Yamada
博一 山田
Kanako Morita
森田 加奈子
Hideo Ito
秀夫 伊藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Minolta Co Ltd
Original Assignee
Minolta 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 Minolta Co Ltd filed Critical Minolta Co Ltd
Priority to JP1128022A priority Critical patent/JPH02306259A/en
Priority to US07/526,900 priority patent/US5224157A/en
Publication of JPH02306259A publication Critical patent/JPH02306259A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent unnecessary communication line occupation by allowing a terminal to detect that a communication line is empty and communications are permitted. CONSTITUTION:An on-line controller 30 periodically confirms the connection of each computer data controller 20. Unless an answer signal responds to three processing mode request signals within three sec, connection to a controller 20 is judged to be impossible, and a cancel signal is sent to the controller 20. In such a way, processing is carried out from channel 1 to 10. At a prescribed transmission start time, the controller 30 instructs a center controller 50 to connect a line to a modem. Consequently, unnecessary communication line occupation can be prevented.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、複数の複写機を集中管理するためのコピーデ
ータ管理システムに関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a copy data management system for centrally managing a plurality of copying machines.

[従来の技術] 従来より、大規模のオフィス等において各所に配置され
た多数の複写機を集中管理するため、内線を利用して個
々の複写機でのコピー枚数や使用者等ノコビーデータを
モニターに、例えば部門別のコピー枚数を集計するよう
にしたコピーデータ管理システムが実用に供されている
[Conventional technology] Conventionally, in order to centrally manage a large number of copying machines located in various locations in large-scale offices, etc., extension lines have been used to collect data such as the number of copies made by each copying machine and the number of users. A copy data management system in which a monitor is used to tally the number of copies by department, for example, is in practical use.

〔発明が解決しようとする課題] 上記の如きポーリング方式のコピーデータ管理システム
では、端末装置から集中管理装置を呼び出すことができ
ず、例えば複写機の故障やメンテナンス時期の到来を複
写機側から入力することは不可能であった。
[Problems to be Solved by the Invention] In the polling type copy data management system as described above, it is not possible to call the central management device from the terminal device. It was impossible to do so.

本発明は、個々の複写機に設けた端末装置側から集中管
理装置を呼び出すことができ、従って、コピー枚数や使
用者以外の情報、例えば修理を要する故障の発生やメン
テナンス時期の到来等(以下、コピーデータという。)
を送信することができるコピーデータ管理システムを提
供することを目的としている。
The present invention can call up the central control device from the terminal device installed in each copying machine, and can therefore collect information other than the number of copies and users, such as the occurrence of a failure requiring repair or the arrival of maintenance time (hereinafter referred to as (referred to as copy data).
The purpose is to provide a copy data management system that can transmit.

[課題を解決するための手段] 本願の第1の発明は、複写機におけるコピー枚数及び上
記複写機におけるメンテナンスの情報のデータを通信回
線を介して、複数の上記複写機に関するデータを収集す
る集中管理装置に送信する端末装置を備えたコピーデー
タ管理システムにおいて、上記端末装置は、上記通信回
線が空いており、かつデータの通信が許可されているこ
とが検出されたとき上記データを上記集中管理装置に送
信する送信手段を備えたことを特徴とする。
[Means for Solving the Problems] A first invention of the present application is a method for centrally collecting data regarding a plurality of copying machines via a communication line, such as the number of copies in a copying machine and maintenance information for the copying machine. In a copy data management system including a terminal device that transmits data to a management device, the terminal device centrally manages the data when it is detected that the communication line is free and data communication is permitted. It is characterized by comprising a transmitting means for transmitting to the device.

本願の第2の発明は、複写機におけるコピー枚数及び上
記複写機におけるメンテナンスの情報のデータを通信回
線を介して、複数の上記複写機に関するデータを収集す
る集中管理装置に送信する端末装置を備えたコピーデー
タ管理システムにおいて、上記端末装置は、現在日時を
計時する計時手段と、予め設定された発信日時を記憶す
る記憶手段と、上記計時手段によって計時される現在日
時が上記記憶手段によって記憶された発信日時に達した
ときに、上記通信回線が空いており、かつデータの通信
が許可されていることが検出されたとき上記データを上
記集中管理装置に送信する送信手段とを備えたことを特
徴とする。
A second invention of the present application includes a terminal device that transmits data on the number of copies in a copying machine and maintenance information on the copying machine to a central management device that collects data regarding a plurality of the copying machines via a communication line. In the copy data management system, the terminal device includes a clock means for measuring the current date and time, a storage means for storing a preset transmission date and time, and a storage means for storing the current date and time measured by the clock means. and transmitting means for transmitting the data to the central control device when it is detected that the communication line is free and data communication is permitted when the specified transmission date and time is reached. Features.

また、上記第1と第2の発明において、上記データの通
信が許可されているときは、上記複写機がコピー中でな
いときであることを特徴とする。
Further, in the first and second inventions, the time when the data communication is permitted is when the copying machine is not copying.

[作用] 上記第1の発明のように構成することにより、上記端末
装置の送信手段は、上記通信回線が空いており、かつ例
えば上記複写機がコピー中でなく、データの通信が許可
されていることが検出されたとき上記データを上記集中
管理装置に送信する。
[Operation] By configuring as in the first invention, the transmitting means of the terminal device can transmit data when the communication line is free and, for example, the copier is not copying and data communication is permitted. When it is detected that the central control device is present, the data is sent to the central management device.

また、上記第2の発明のように構成することにより、上
記端末装置の送信手段は、上記計時手段によって計時さ
れる現在日時が上記記憶手段によって記憶された発信日
時に達したときに、上記通信回線が空いており、かつ例
えば上記複写機がコピー中でなく、データの通信が許可
されていることが検出されたとき上記データを上記集中
管理装置に送信する。
Further, by configuring as in the second invention, the transmitting means of the terminal device transmits the communication when the current date and time measured by the clocking means reaches the transmission date and time stored by the storage means. When it is detected that the line is free and, for example, the copying machine is not copying and data communication is permitted, the data is transmitted to the central management device.

従って、上記データを端末装置から集中管理装置に送信
することを判断するのは、集中管理装置でなく、端末装
置自身が行い、上記通信回線が空いており、かつデータ
の通信が許可されていることが検出されたとき上記デー
タを上記集中管理装置に送信するので、不必要に通信回
線を占有することを防止することができる。
Therefore, the decision to send the data from the terminal device to the central management device is made by the terminal device itself, not by the central management device, and only if the communication line is free and data communication is permitted. When this is detected, the data is sent to the central control device, so it is possible to prevent the communication line from being unnecessarily occupied.

[実施例] 以下、図面を参照して本発明の一実施例であるコピーデ
ータ管理システムについて下記の項目に分けて説明する
[Embodiment] Hereinafter, a copy data management system which is an embodiment of the present invention will be explained in the following sections with reference to the drawings.

(1)コピーデータ管理システムの構成(2)コピーデ
ータ管理システムにおける通信手順 (3)コピーデータ管理システムにおける通信データの
フォーマット (4)オンラインコントローラの処理 (5)コピーデータコントローラの処理(6)センター
制御装置の処理 (1)コピーデータ管理システムの構成第1図は本発明
の一実施例であるコピーデータ管理システムのブロック
図である。
(1) Configuration of the copy data management system (2) Communication procedures in the copy data management system (3) Format of communication data in the copy data management system (4) Processing of the online controller (5) Processing of the copy data controller (6) Center Processing of Control Device (1) Configuration of Copy Data Management System FIG. 1 is a block diagram of a copy data management system that is an embodiment of the present invention.

第1図において、このコピーデータ管理システムは、複
写機10a乃至10d (以下、総称する場合はlOと
する。)におけるコピー枚数、ジャム発生回数、及びト
ラブル発生回数等のコピーデータを計数する端末システ
ム1と、端末システム1で計数された各複写機lOに関
するコピーデータを集計するセンターシステム2からな
り、各システム1.2は電気通信事業者が設置する交換
機3を介して電話回線4a、4b、4cで接続され、上
記コピーデータの送受信を行っている。
In FIG. 1, this copy data management system is a terminal system that counts copy data such as the number of copies, the number of jams, and the number of troubles in copying machines 10a to 10d (hereinafter collectively referred to as IO). 1, and a center system 2 that aggregates the copy data related to each copying machine IO counted by the terminal system 1, and each system 1.2 is connected to telephone lines 4a, 4b, 4c, and transmits and receives the copy data.

端末システムlは、複写[210と、コピーデータコン
トローラ20a乃至20d(以下、総称する場合は20
とする。)と、オンラインコントローラ30a、30b
 (以下、総称する場合は30とする。)と、電話機4
0a、40b (以下、総称する場合は40とする。)
とを備える。
The terminal system l includes a copying machine 210 and copy data controllers 20a to 20d (hereinafter collectively referred to as 20
shall be. ) and online controllers 30a, 30b
(hereinafter collectively referred to as 30) and telephone 4.
0a, 40b (hereinafter collectively referred to as 40)
Equipped with.

コピーデータコントローラ20は、各複写機lOにl対
lで接続され、接続された複写機lOの上記コピーデー
タを計数しかつ当該複写機lOの電源のオン・オフ、コ
ピー中であるか否か等の複写機IOの動作状態を検出す
るとともに、該コントローラ20に挿入される磁気カー
ドの種類及び後述する制御地理状態に応じて当該複写機
lOに対してコピー動作の許可又は禁止の制御を行う。
The copy data controller 20 is connected to each copying machine IO in a one-to-one ratio, and counts the copy data of the connected copying machine IO, turns the power of the copying machine IO on and off, and determines whether copying is in progress or not. The controller 20 detects the operating state of the copying machine IO, and controls the copying machine IO to permit or prohibit copying depending on the type of magnetic card inserted into the controller 20 and the control geographical state described later. .

なお、各コピーデータコントローラ20はそれぞれ固有
のシリアル番号を有する。
Note that each copy data controller 20 has a unique serial number.

オンラインコントローラ30は、11′Il又は複数の
コピーデータコントローラ20並びに1個の電話機40
a、40b (以下、総称する場合は40とする。)と
接続され、電話機モードのとき電話機40を電話回線4
a、4bを介して交換機3に接続するとともに、一方、
通信モードのときコピーデータコントローラ20とセン
ター制御装置50を接続し各装置20.50間の通信の
制御を行う。なお、オンラインコントローラ40には、
最大10個のコピーデータコントローラ20が接続され
、各コントローラ20を接続するための10個のチャン
ネルの名称を以下、チャンネルl乃至チャンネルlOと
する。
The online controller 30 includes 11'Il or multiple copy data controllers 20 and one telephone 40.
a, 40b (hereinafter collectively referred to as 40), and when in telephone mode, the telephone 40 is connected to the telephone line 4.
a, 4b to the exchange 3, and on the other hand,
In the communication mode, the copy data controller 20 and the center control device 50 are connected to control communication between each device 20.50. Note that the online controller 40 includes
A maximum of ten copy data controllers 20 are connected, and the ten channels for connecting each controller 20 are hereinafter referred to as channels 1 to 10.

センターシステム2は、センター制御装置50と、パー
ソナルコンピュータ60と、CRTディスプレイ装置7
0とを備える。
The center system 2 includes a center control device 50, a personal computer 60, and a CRT display device 7.
0.

センター制御装置50は、電話回線4cを介して交換機
3に接続され、端末システム1から送信されるコピーデ
ータを受信して当該コピーデータを格納した後予め設定
される締切時刻において、当該コピーデータの集計を行
う。パーソナルコンピュータ60は、センター制御装置
50に接続され該センター制御装置50の動作を制御す
るとともに、該装置50から出力される集計されたコピ
ーデータをCRTディスプレイ装置70に表示する。
The center control device 50 is connected to the exchange 3 via the telephone line 4c, and after receiving the copy data transmitted from the terminal system 1 and storing the copy data, the center control device 50 stores the copy data at a preset deadline time. Perform aggregation. The personal computer 60 is connected to the center control device 50 and controls the operation of the center control device 50, and displays the aggregated copy data output from the device 50 on the CRT display device 70.

第2図はコピーデータコントローラ20のブロック図で
ある。
FIG. 2 is a block diagram of the copy data controller 20.

第2図において、コピーデータコントローラ20は当該
コントローラ20の動作を制御するマイクロコンピュー
タ21を備える。マイクロコンピュータ21は、当該マ
イクロコンピュータ21の動作を制御する中央演算処理
装置(以下、CPUという。)lotと、CPUl0I
の制御プログラム及び当該制御プログラムを実行するの
に必要なデータを格納するリードオンリメモリ(以下、
R・OMという。)102と、CPUl0Iの制御のた
めのフラグ及び上記コピーデータを格納しCPUl0I
のワーキングエリアとして用いられるランダムアクセス
メモリ(以下、RAMという。)103と、外部装置と
データ通信を行うためパラレル/シリアル変換及びシリ
アル/パラレル変換等の処理を行うシリアル入出力ポー
ト回路104゜105を備え、各装置101乃至103
と各回路104.105が内部バスBlを介して接続さ
れる。
In FIG. 2, the copy data controller 20 includes a microcomputer 21 that controls the operation of the controller 20. As shown in FIG. The microcomputer 21 includes a central processing unit (hereinafter referred to as CPU) lot that controls the operation of the microcomputer 21, and a CPUl0I.
A read-only memory (hereinafter referred to as
It's called R.OM. ) 102, a flag for controlling the CPUl0I, and the above copy data are stored in the CPUl0I.
Random access memory (hereinafter referred to as RAM) 103 used as a working area of equipment, each device 101 to 103
and each circuit 104, 105 are connected via an internal bus Bl.

シリアル入出力ポート回路104には、上記コピーデー
タの送受信及び複写機lOの動作の制御を行うために複
写機10が接続されるとともに、後述する所定のデータ
を表示するために表示用バッファメモリ24を介してL
ED表示器25が接続される。また、シリアル入出力ポ
ート回路104には、磁気カードが挿入されたことを検
出する挿入センサ(図示せず。)と磁気カードに格納さ
れたデータを読み出すととともに当該磁気カードにデー
タを書き込むだめの磁気ヘッド(図示せず。)を備えた
カードデータ入出力装置22が接続されるとともに、上
記装置22への上記磁気カードの挿入及び排出を行う搬
送モータ23が接続される。
A copying machine 10 is connected to the serial input/output port circuit 104 in order to transmit and receive the copy data and control the operation of the copying machine 10, and a display buffer memory 24 is connected to the serial input/output port circuit 104 to display predetermined data to be described later. via L
An ED display 25 is connected. The serial input/output port circuit 104 also includes an insertion sensor (not shown) that detects when a magnetic card is inserted, and a device that reads data stored in the magnetic card and writes data to the magnetic card. A card data input/output device 22 equipped with a magnetic head (not shown) is connected, and a transport motor 23 for inserting and ejecting the magnetic card into the device 22 is also connected.

さらに、シリアル入出力ポート回路105には、データ
の送受信を行うために、インターフェース回路26を介
してオンラインコントローラ30が接続される。
Further, an online controller 30 is connected to the serial input/output port circuit 105 via an interface circuit 26 in order to transmit and receive data.

以上のように構成されたコピーデータコントローラ20
は以下の3つの動作モードを有する。
Copy data controller 20 configured as above
has the following three modes of operation:

(a)設定モード:現在時刻の設定、発信時刻の設定、
定刻発信用電話番号の設定、及びアラーム発信用電話番
号の設定を行うためのモードである。
(a) Setting mode: Setting the current time, setting the call time,
This is a mode for setting a telephone number for scheduled calls and a telephone number for alarm calls.

(b)通信モード:オンラインコントローラ30を介し
てセンター制御装置50とデータの送受信を行うモード
である。
(b) Communication mode: This is a mode in which data is transmitted and received with the center control device 50 via the online controller 30.

(c)処理モード二上記設定モード及び通信モード以外
の動作モードであって、当該コピーデータコントローラ
20の内部処理を行うためのモードである。
(c) Processing mode 2 This is an operation mode other than the above-mentioned setting mode and communication mode, and is a mode for performing internal processing of the copy data controller 20.

また、上記磁気カードとして下記の2種類が提供される
Furthermore, the following two types of magnetic cards are provided.

(a)集計カード:コピーデータコントローラ20内に
格納された上記コピーデータを表示するためのカードで
ある。
(a) Total card: This is a card for displaying the copy data stored in the copy data controller 20.

(b)部門カード:ユーザの組織の部門毎にコピー枚数
の集計を行うt;め、各部門毎に異なるコード(以下、
部門コードという。)が当該部門カードに格納され、該
部門カードをカードデータ入出力装置22内に挿入する
と複写機IOのコピー動作が許可される。
(b) Department card: To count the number of copies for each department in the user's organization, each department has a different code (hereinafter referred to as
This is called a department code. ) is stored in the department card, and when the department card is inserted into the card data input/output device 22, the copying operation of the copier IO is permitted.

第3図はオンラインコントローラ30のブロック図であ
る。
FIG. 3 is a block diagram of the online controller 30.

第3図において、オンラインコントローラ30は当該コ
ントローラ30の動作を制御するマイクロコンピュータ
31を備える。マイクロコンピュータ31は、当該マイ
クロコンピュータ31の動作を制御するCPU201と
、CPU201の制御プログラム及び当該制御プログラ
ムを実行するのに必要なデータを格納するROM202
と、CPU201の制御のためのフラグ並びに予め設定
される発信時刻等のデータを格納しCPU201のワー
キングエリアとして用いられるRAM203と、現在時
刻を計時するリアルタイムクロック204と、外部装置
とデータ通信を行うためパラレル/シリアル変換及びシ
リアル/パラレル変換等の処理を行うシリアル入出力ポ
ート回路205と、メインテナンス時の各種設定を行う
ためのメインテナンス用スイッチ206と、センター制
御装置50との回線接続状態と上記メインテナンス時の
設定状態を表示するためのモニタLED207とを備え
、各装置及び回路201乃至207が内部バスB2を介
して接続される。
In FIG. 3, the online controller 30 includes a microcomputer 31 that controls the operation of the controller 30. In FIG. The microcomputer 31 includes a CPU 201 that controls the operation of the microcomputer 31, and a ROM 202 that stores a control program for the CPU 201 and data necessary to execute the control program.
, a RAM 203 that stores data such as flags for controlling the CPU 201 and preset transmission times, and is used as a working area for the CPU 201; a real-time clock 204 that measures the current time; and a RAM 203 for data communication with external devices. The line connection state between the serial input/output port circuit 205 that performs processing such as parallel/serial conversion and serial/parallel conversion, the maintenance switch 206 that performs various settings during maintenance, and the center control device 50 and the above maintenance. Each device and circuit 201 to 207 are connected via an internal bus B2.

シリアル入出力ポート回路205には、各コピーデータ
コントローラ20とデータの送受信を行うために、イン
ターフェース回路34及びマルチプレクサ35を介して
各コピーデータコントローラ20が接続される。なお、
該オンラインコントローラ30に接続されるコピーデー
タコントローラ20が1個である場合はマルチプレクサ
35を備えず、インターフェース回路34が直接にコピ
ーデータコントローラ20に接続される。また、シリア
ル入出力ポート回路205には、センター制御装置50
とデータの通信を行うために、ダイヤラー等の回線接続
機能を備えたネットワーク・コントロール・ユニット(
以下、NCUという。)を内蔵した変復調装置(以下、
モデムという。)33が接続される。
Each copy data controller 20 is connected to the serial input/output port circuit 205 via an interface circuit 34 and a multiplexer 35 in order to transmit and receive data to and from each copy data controller 20. In addition,
When only one copy data controller 20 is connected to the online controller 30, the multiplexer 35 is not provided and the interface circuit 34 is directly connected to the copy data controller 20. The serial input/output port circuit 205 also includes a center control device 50.
In order to communicate data with
Hereinafter referred to as NCU. ) built-in modem (hereinafter referred to as
It's called a modem. )33 is connected.

このモデム33には、電話機40が接続されるとともに
、電話回線を介して交換機3が接続される。モデム33
は、マイクロコンピュータ31の制御指令に応じて、通
常は電話機40による通話が行えるように電話機40を
電話回線に接続し、一方、センター制御装置50とデー
タ通信を行う通信モードのときセンター制御装置50か
らの着呼時又はオンラインコントローラ30からの発呼
時に回線接続の処理を行い、マイクロコンピュータ31
から入力されるデータを所定の変調方式で変調して電話
回線及び交換機3を介してセンター制御装置50に送信
するとともに、センター制御装置50から受信されるデ
ータを復調してマイクロコンピュータ31に出力する。
A telephone 40 is connected to this modem 33, and the exchange 3 is also connected via a telephone line. modem 33
Normally, the telephone 40 is connected to a telephone line so that telephone calls can be made using the telephone 40, in accordance with control commands from the microcomputer 31. On the other hand, when the telephone 40 is in a communication mode for data communication with the center control device 50, the center control device 50 When a call is received from the online controller 30 or when a call is made from the online controller 30, the line connection is processed and the microcomputer 31
It modulates data input from the center using a predetermined modulation method and transmits the modulated data to the center control device 50 via the telephone line and exchange 3, and demodulates data received from the center control device 50 and outputs the demodulated data to the microcomputer 31. .

なお、この通信モードの終了時には電話回線との回線接
続を解除して、上記電話機40に電話回線を接続する。
Note that when this communication mode ends, the line connection with the telephone line is canceled and the telephone line is connected to the telephone set 40.

以上のように構成されたオンラインコントローラ30は
、コピーデータコントローラ20と同様に、設定モード
、通信モード及び処理モードの3つの動作モードを有す
る。なお、通信モードにおいて、オンラインコントロー
ラ30は以下の2つの発信モードを有する。
Like the copy data controller 20, the online controller 30 configured as described above has three operating modes: a setting mode, a communication mode, and a processing mode. Note that in the communication mode, the online controller 30 has the following two transmission modes.

(a)定刻発信モード:データをセンター制御装置50
に送信しようとするとき電話機40が使用中であるとき
、5分間待機した後、電話機40の使用状態を確認し、
このとき電話機40が未使用のときデータをセンター制
御装置50に送信するモードである。
(a) Scheduled transmission mode: data is sent to the center control device 50
If the telephone 40 is in use when attempting to send a message to the telephone, after waiting for 5 minutes, check the usage status of the telephone 40,
This is a mode in which data is transmitted to the center control device 50 when the telephone 40 is not in use.

(b)アラーム発信モード:データをセンター制御装置
50に送信しようとするとき電話機40が使用中である
とき、電話機40が未使用状態となればすぐにデータを
センター制御装置50に送信するモードである。
(b) Alarm transmission mode: When the telephone 40 is in use when attempting to transmit data to the center control device 50, a mode in which the data is transmitted to the center control device 50 as soon as the telephone 40 becomes unused. be.

第4図(A)はオンラインコントローラ30内のメイン
テナンス用スイッチ206とモニタLED207の正面
図である。
FIG. 4(A) is a front view of the maintenance switch 206 and monitor LED 207 in the online controller 30.

第4図(A)に示すように、当該パネルの右側に、10
個のモニタLEDL 1乃至LIOが配置され、一方、
当該パネルの左側に、2個のモニタLEDL l l及
びL12と2個のスイッチADJ及びSELが配置され
る。モニタLEDL l乃至LIOは、センター制御装
置50との回線接続状態を表示するとともに、設定モー
ドにおいて選択されている項目と桁を表す。また、モニ
タLEDLll及びL12は設定モードにおけるモード
状態を表示するとともに、マイクロコンピュータ31の
セルフテスト時のエラー状態を表示する。設定スイッチ
ADJは、選択スイッチS、ELによって選択される項
目及び数値を設定するとともに、上記セル7テストの実
行をスタートさせるためのスイッチである。選択スイッ
チSELは”o”から′9゛′までの値及びA”から”
F”までの6種類のセルフテストを選択するためのスイ
ッチである。
As shown in FIG. 4(A), on the right side of the panel, 10
monitors LEDL 1 to LIO are arranged, while
On the left side of the panel, two monitor LEDs L l and L12 and two switches ADJ and SEL are arranged. The monitor LEDs L to LIO display the line connection state with the center control device 50, and also represent the item and digit selected in the setting mode. Further, the monitor LEDs Lll and L12 display the mode state in the setting mode and also display the error state during the self-test of the microcomputer 31. The setting switch ADJ is a switch for setting the items and numerical values selected by the selection switches S and EL, and for starting the execution of the cell 7 test. The selection switch SEL has values from ``o'' to ``9'' and from ``A'' to ``
This is a switch for selecting six types of self-tests up to "F".

第4図(B)はメインテナンス用スイッチ206の操作
方法とモニタLED207の表示を示す図である。
FIG. 4(B) is a diagram showing how to operate the maintenance switch 206 and the display on the monitor LED 207.

第4図(B)に示すように、選択スイッチSELを任意
の値とし、設定スイッチADJを押下することによって
、日付の10年の位又は電話番号の1桁目を設定するこ
とができ、次に、選択スイッチSELを任意の値に合わ
せ、設定スイッチADJを押下することによって、日付
の1年の位又は電話番号の2桁目を設定することができ
、以下同様である。なお、第4図(B)の操作方法の欄
には、1989年3月14日14時28分を入力する例
を示した。
As shown in Fig. 4 (B), by setting the selection switch SEL to an arbitrary value and pressing the setting switch ADJ, the 10th digit of the date or the first digit of the telephone number can be set. By setting the selection switch SEL to an arbitrary value and pressing the setting switch ADJ, the first year of the date or the second digit of the telephone number can be set, and the same applies hereafter. In addition, an example is shown in which 14:28 on March 14, 1989 is input in the operation method column of FIG. 4(B).

第5図はセンター制御装置50のブロック図である。FIG. 5 is a block diagram of the center control device 50.

第5図において、センター制御装置50は当該装置50
の動作を制御するマイクロコンピュータ51を備える。
In FIG. 5, the center control device 50 is the device 50.
A microcomputer 51 is provided to control the operation of the microcomputer 51.

マイクロコンピュータ51は、当該マイクロコンピュー
タ51の動作を制御するCPU301と、CPU301
の制御プログラム及び当該制御プログラムを実行するの
に必要なデータを格納するROM302と、CPU30
1の制御のためのフラグ及びデータを格納しCPU30
1のワーキングエリアとして用いられるRAM303と
、現在時刻を計時するリアルタイムクロック304と、
外部装置とデータ通信を行うためパラレル/シリアル変
換及びシリアル/パラレル変換等の処理を行うシリアル
入出力ポート回路305と、コピーデータコントローラ
20から受信される上記コピーデータを格納するための
バブルメモリにてなるファイル装置61と接続するため
のインターフェース回路306とを備え、各装置301
乃至304と回路305.306が内部バスB3を介し
て接続される。
The microcomputer 51 includes a CPU 301 that controls the operation of the microcomputer 51;
A ROM 302 that stores a control program and data necessary to execute the control program, and a CPU 30
CPU 30 stores flags and data for control of
A RAM 303 used as a working area of 1, a real-time clock 304 that measures the current time,
A serial input/output port circuit 305 performs processing such as parallel/serial conversion and serial/parallel conversion for data communication with an external device, and a bubble memory for storing the copy data received from the copy data controller 20. and an interface circuit 306 for connecting to a file device 61,
304 and circuits 305 and 306 are connected via an internal bus B3.

シリアル入出力ポート回路305には、オンラインコン
トローラ30とデータの通信を行うため、NCUを内蔵
したモデム52が接続される。モデム52は、オンライ
ンコントローラ30からの発呼時に回線接続の処理を行
い、モデム33と同様に、センター制御装置50のマイ
クロコンピュータ51から出力されるデータを所定の変
調方式で変調して電話回線及び交換機3を介してオンラ
インコントローラ30に送信するとともに、オンライン
コントローラ30から受信されるデータを復調してマイ
クロコンピュータ51に出力し、通信の終了時に電話回
線との回線接続を解除する。また、シリアル入出力ポー
ト回路305には、パーソナルコンピュータ60とデー
タの通信を行うために、R5−232Cインタ一フエー
ス回路53ヲ介してパーソナルコンピュータ60が接続
される。
A modem 52 with a built-in NCU is connected to the serial input/output port circuit 305 in order to communicate data with the online controller 30. The modem 52 performs line connection processing when the online controller 30 makes a call, and similarly to the modem 33, modulates data output from the microcomputer 51 of the center control device 50 using a predetermined modulation method to connect the telephone line and The data is transmitted to the online controller 30 via the exchange 3, and the data received from the online controller 30 is demodulated and output to the microcomputer 51, and the line connection with the telephone line is released when the communication ends. Further, a personal computer 60 is connected to the serial input/output port circuit 305 via an R5-232C interface circuit 53 in order to communicate data with the personal computer 60.

(2)コピーデータ管理システムにおける通信手順 以上に構成されたコピーデータ管理システムにおける通
常処理時の通信手順の一例を第6図(A)乃至第6図(
C)の通信シーケンス図を参照して以下に説明する。こ
こで、オンラインコントローラ30に10個のコピーデ
ータコントローラ20が接続されているものとする。
(2) Communication procedure in the copy data management system An example of the communication procedure during normal processing in the copy data management system configured above is shown in FIGS.
This will be explained below with reference to the communication sequence diagram of C). Here, it is assumed that ten copy data controllers 20 are connected to the online controller 30.

第6図(A)のステップSlにおいて、オンラインコン
トローラ30は、接続される各コピーデータコントロー
ラ20に対して周期的に接続確認の処理を行う。すなわ
ち、まず、オンラインコントローラ30はチャンネルl
のコピーデータコントローラ20に処理モード要求信号
を送信する。
In step Sl in FIG. 6(A), the online controller 30 periodically performs connection confirmation processing for each copy data controller 20 connected. That is, first, the online controller 30
A processing mode request signal is transmitted to the copy data controller 20 of the copy data controller 20 .

これに応答してチャンネル1のコピーデータコントロー
ラ20は、上記処理モード要求信号を受信したことを示
す処理モードアンサ−信号をオンラインコントローラ3
0に送信する。次いで、オンラインコントローラ30は
、同様にチャンネル2のコピーデータコントローラ20
に対して処理モード要求信号を送信して、該コントロー
ラ20から処理モードアンサ−信号を受信する。さらに
、オンラインコントローラ30は、チャンネル3のコピ
ーデータコントローラ20に処理モード要求信号を送信
する。このとき、該要求信号の送信後3秒以内に処理モ
ードアンサ−信号を受信しない場合は、再度処理モード
要求信号を送信し、上記アンサ−信号を待つ。以下同様
にして計3回の処理モード要求信号を送信した後、3秒
以内に上記アンサ−信号を受信しない場合は、チャンネ
ル3のコピーデータコントローラ20との接続が不可能
であると判断して、キャンセル信号をチャンネル3のコ
ピーデータコントローラ20に送信する。
In response, the copy data controller 20 of channel 1 sends a processing mode answer signal to the online controller 3 indicating that it has received the processing mode request signal.
Send to 0. Then, the online controller 30 similarly controls the copy data controller 20 of channel 2.
A processing mode request signal is transmitted to the controller 20, and a processing mode answer signal is received from the controller 20. Further, the online controller 30 transmits a processing mode request signal to the copy data controller 20 of channel 3. At this time, if the processing mode answer signal is not received within 3 seconds after transmitting the request signal, the processing mode request signal is transmitted again and the processing mode request signal is waited for. If the above answer signal is not received within 3 seconds after transmitting the processing mode request signal three times in the same manner, it is determined that connection with the copy data controller 20 of channel 3 is impossible. , sends a cancel signal to the copy data controller 20 of channel 3.

以下同様にして、チャンネル4からチャンネルlOまで
のコピーデータコントローラ20との接続確認の処理を
行う。
Thereafter, in the same manner, connection confirmation processing with the copy data controller 20 from channel 4 to channel IO is performed.

第6図(B)のステップS2において、所定の送信開始
時刻に、オンラインコントローラ30は、モデム33に
対してセンター制御装置50との回線接続の処理を行わ
せる。次いで、ステップS3において、センター制御装
置50は時刻要求信号をオンラインコントローラ30に
送信し、これに応答してオンラインコントローラ30は
時Mデータをセンター制御装置50に送信する。
In step S2 of FIG. 6(B), the online controller 30 causes the modem 33 to perform a line connection process with the center control device 50 at a predetermined transmission start time. Next, in step S3, the center control device 50 transmits a time request signal to the online controller 30, and in response, the online controller 30 transmits time M data to the center control device 50.

次いで、ステップS4において、センター制御装置50
は、チャンネルlのコピーデータコントローラ20の動
作モードを通信モードに切り替えるため、オンラインコ
ントローラ30に対してモード確認信号を送信する。こ
れに応答してオンラインコントローラ30は、コピーデ
ータコントローラ20に対して通信モード要求信号を送
信し、これに応答して、コピーデータコントローラ20
は自己の動作モードを通信モードに設定した後、通信モ
ードアンサ−信号を、オンラインコントローラ30を介
してセンター制御装置50に送信する。
Next, in step S4, the center control device 50
transmits a mode confirmation signal to the online controller 30 in order to switch the operation mode of the copy data controller 20 of channel l to the communication mode. In response, the online controller 30 transmits a communication mode request signal to the copy data controller 20, and in response, the online controller 30 transmits a communication mode request signal to the copy data controller 20.
After setting its own operation mode to the communication mode, it transmits a communication mode answer signal to the center control device 50 via the online controller 30.

次いで、ステップS5において、センター制御装置50
は、コピーデータコントローラ20のシリアル番号を知
らせることを要求するシリアル番号要求信号、オンライ
ンコントローラ30を介してコピーデータコントローラ
20に送信し、これに応答してコピーデータコントロー
ラ20は、シリアル番号データをオンラインコントロー
ラ30を介してセンター制御装置50に送信する。次い
で、センター制御装置50とコピーデータコントローラ
20との間で、上記コピーデータの送受信が行われる。
Next, in step S5, the center control device 50
sends a serial number request signal to the copy data controller 20 via the online controller 30, requesting to notify the serial number of the copy data controller 20, and in response, the copy data controller 20 sends the serial number data online. It is transmitted to the center control device 50 via the controller 30. Next, the copy data is transmitted and received between the center control device 50 and the copy data controller 20.

ここでは、センター制御装置50がコピーデータコント
ローラ20に対して詳細後述する所定のデータ要求信号
を送信し、これに応答してコピーデータコントローラ2
0が受信されたデータ要求信号に対応するコピーデータ
をセンター制御装置50に送信する形式で行われる。
Here, the center control device 50 transmits a predetermined data request signal, which will be described in detail later, to the copy data controller 20, and in response, the center control device
The copy data corresponding to the data request signal for which 0 is received is transmitted to the center control device 50.

すべてのコピーデータの送受信が行われた後、ステップ
S6において、センター制御装置50は、コピーデータ
コントローラ20内のコピーデータを計数しているカウ
ンタの内容をすべてクリアするた゛めに、カウントクリ
ア要求信号を、オンラインコントローラ30を介してコ
ピーデータコントローラ20に送信し、これに応答して
コピーデータコントローラ20は、上記カウンタの内容
をすべてクリアした後、クリアアンサ−信号をオンライ
ンコントローラ30を介してセンター制御装置50に送
信する。次いで、センター制御装置50は、次のチャン
ネルのコピーデータコントローラ20、すなわちチャン
ネル2のコピーデータコントローラ20ヘチヤンネル切
換を行うため、回線切換要求信号をオンラインコントロ
ーラ30に送信する。これに応答してオンラインコント
ローラ30は、チャンネルlのコピーデータマントロー
ラ20に対して処理モード要求信号を送信し、これに応
答してチャンネルlのコピーデータコントローラ20は
処理モードアンサ−信号をオンラインコントローラ30
を介してセンター制御装置50に送信する。このとき、
オンラインコントローラ30は、マルチプレクサ35を
制御してチャンネル2のコピーデータコントローラ20
へ切換を行う。
After all the copy data has been transmitted and received, in step S6, the center control device 50 sends a count clear request signal in order to clear all the contents of the counter that counts the copy data in the copy data controller 20. , to the copy data controller 20 via the online controller 30, and in response, the copy data controller 20 clears all the contents of the counter, and then sends a clear answer signal to the center control device via the online controller 30. Send to 50. Next, the center control device 50 transmits a line switching request signal to the online controller 30 in order to perform channel switching to the copy data controller 20 of the next channel, that is, the copy data controller 20 of channel 2. In response, the online controller 30 transmits a processing mode request signal to the copy data controller 20 of channel l, and in response, the copy data controller 20 of channel l transmits a processing mode answer signal to the online controller 30
The data is transmitted to the center control device 50 via. At this time,
The online controller 30 controls the multiplexer 35 to control the channel 2 copy data controller 20.
Switch to

次いで、ステップS7において、上記と同様にチャンネ
ル2からチャンネル10まで(ただし、接続確認ができ
なかったものを除く。)のコピーデータコントローラ2
0に対して上記コピーデータの送受信のだめの処理を行
う。さらに、センター制御装置50は、モード確認信号
をオンラインコントローラ30に送信し、上述と同様に
通信モードアンサ−信号の受信、シリアル番号要求信号
の送信、及びシリアル番号データの受信を順に行い、こ
こで、先に上記コピーデータの送受信の終了したコピー
データコントローラ20のシリアル番号が受信された場
合は、すべてのコピーデータの送受信が終了したと判断
して、ステップS8において、当該コピーデータコント
ローラ20(この場合、チャンネルl)の動作モードを
処理モードに切り換えるため、回線解放要求信号をオン
ラインコントローラ30に送信する。これに応答してオ
ンラインコントローラ30はチャンネルlのコピーデー
タコントローラ20に対して処理モード要求信号を送信
し、これに応答してコピーデータコントローラ20は、
処理モードアンサ−信号をオンラインコントローラ30
を介してセンター制御装置50に送信する。上記の動作
で、一連のコピーデータの送受信の処理が終了し、セン
ター制御装置50は、モデム52に回線接続の解除を行
わせる。
Next, in step S7, the copy data controller 2 for channels 2 to 10 (excluding those for which the connection could not be confirmed) is processed in the same manner as above.
0, the above copy data transmission/reception processing is performed. Furthermore, the center control device 50 transmits a mode confirmation signal to the online controller 30, and similarly to the above, receives a communication mode answer signal, transmits a serial number request signal, and receives serial number data in order. If the serial number of the copy data controller 20 that has finished transmitting and receiving the copy data is received first, it is determined that the transmitting and receiving of all the copy data has been completed, and in step S8, the serial number of the copy data controller 20 (this In this case, a line release request signal is sent to the online controller 30 in order to switch the operation mode of channel l) to the processing mode. In response, the online controller 30 transmits a processing mode request signal to the copy data controller 20 of channel l, and in response, the copy data controller 20
Processing mode answer signal to online controller 30
The data is transmitted to the center control device 50 via. With the above operations, a series of copy data transmission/reception processing is completed, and the center control device 50 causes the modem 52 to cancel the line connection.

第7図及び第8図はコピーデータ管理システムにおける
異常処理時の通信手順の一例を示す通信シーケンス図で
ある。
FIGS. 7 and 8 are communication sequence diagrams showing an example of communication procedures during abnormality processing in the copy data management system.

第7図に示すように、オンラインコントローラ30から
チャンネルlのコピーデータコントローラ20に対して
通信モード要求信号が送信された場合において、該要求
信号の送信後3秒以内に通信モードアンサ−信号を受信
しない場合は、再度通信モード要求信号を送信し、上記
アンサ−信号を待つ。以下同様にして計3回の通信モー
ド要求信号を送信した後、3秒以内に上記アンサ−信号
を受信しない場合は、チャンネル1のコピーデータコン
トローラ20との接続が不可能であると判断して、キャ
ンセル信号をチャンネル1のコピーデータコントローラ
20に送信するとともに、否定応答信号をセンター制御
装置50に送信する。
As shown in FIG. 7, when a communication mode request signal is sent from the online controller 30 to the copy data controller 20 of channel l, a communication mode answer signal is received within 3 seconds after sending the request signal. If not, it transmits the communication mode request signal again and waits for the answer signal. If the above answer signal is not received within 3 seconds after transmitting the communication mode request signal three times in the same manner, it is determined that connection with the copy data controller 20 of channel 1 is impossible. , sends a cancellation signal to the copy data controller 20 of channel 1, and sends a negative response signal to the center control device 50.

次いで、センター制御装置50は、次のチャンネルのコ
ピーデータコントローラ20に切り換えるため、オンラ
インコントローラ30に対して回線切換要求信号を送信
する。
Next, the center control device 50 transmits a line switching request signal to the online controller 30 in order to switch to the copy data controller 20 of the next channel.

さらに、第8図に示すように、チャンネルlからチャン
ネルIOまでのすべてのコピーデータコントローラ20
と接続が不可能であるときは、回線解放要求信号をオン
ラインコントローラ30に送信し、これに応答してオン
ラインコントローラ30は回線解放アンサ−信号をセン
ター制御装置50に送信する。回線解放アンサ−信号の
受信に応答して、センター制御装置50は、モデム52
に対して回線切断を行わせる。
Furthermore, as shown in FIG. 8, all copy data controllers 20 from channel I to channel IO
If connection is not possible, a line release request signal is sent to the online controller 30, and in response, the online controller 30 sends a line release answer signal to the center control device 50. In response to receiving the line release answer signal, the center control device 50 sends the modem 52
to disconnect the line.

(3)コピーデータ管理システムにおける通信データの
フォーマット 第9図は、当該コピーデータ管理システムにおける通信
データの7オーマツトを示す図であり、第9図において
、(a)乃至(d)はコピーデータコントローラ20か
らオンラインコントローラ30を介してセンター制御装
置50に送信されるデータであり、(e)はオンライン
コントローラ30からセンター制御装置50に送信され
るデータである。なお、各データの先頭には、各データ
の内容を示す受信コマンドが配置される。
(3) Format of communication data in the copy data management system FIG. 9 is a diagram showing seven formats of communication data in the copy data management system. 20 to the center control device 50 via the online controller 30, and (e) is data sent from the online controller 30 to the center control device 50. Note that a reception command indicating the content of each data is placed at the beginning of each data.

第9図の(a)は全コピー枚数データのフォーマットを
示しており、当該データは、受信コマンド、コピーデー
タコントローラ20のシリアル番号、並びに、全コピー
枚数のデータから構成される。
FIG. 9(a) shows the format of the total number of copies data, which is composed of a received command, the serial number of the copy data controller 20, and data on the total number of copies.

第9図の(b)は箇所(複写機lOにおいて予め複数箇
所設定される所定の範囲内をいう。)別ジャム発生回数
データの7オーマツトを示しており、当該データは、受
信コマンドと、それぞれ箇所コードとその箇所における
ジャム発生回数からなる複数のブロックから構成される
FIG. 9(b) shows 7 formats of data on the number of jam occurrences by location (within a predetermined range set in advance in multiple locations in the copier IO), and the data is divided into received commands and It is composed of multiple blocks consisting of a location code and the number of jam occurrences at that location.

第9rI!Jの(c)は箇所ヌIノドラブル発生回数デ
ータのフォーマットを示しており、当該データは、受信
コードと、それぞれ箇所コードとその箇所におけるトラ
ブル発生回数からなる複数のブロックから構成される。
9th rI! Part (c) of J shows the format of the location number I trouble occurrence data, and the data is composed of a received code, a plurality of blocks each containing a location code and the number of trouble occurrences at that location.

第9図の(d)は部門別サイズ別コピー枚数データのフ
ォーマットを示しており、当該データは、受信コマンド
と、それぞれ部門フードとその部門の5種類のサイズの
各コピー枚数からなる4個のブロックから構成される。
FIG. 9(d) shows the format of the number of copies data for each department and size, and the data consists of a received command and four pieces of information, each consisting of a department hood and the number of copies for each of the five sizes for that department. Consists of blocks.

第9図の(e)は時刻データのフォーマットを示してお
り、当該データは、受信コマンドと、それぞれ2桁の、
″年″、”月H、II日II 、11時′″、分”、″
秒′″の各データから構成される。
(e) in FIG. 9 shows the format of time data, which consists of a received command, two digits each,
``Year'', ``Month H, II Day II, 11 o'clock''', Minute'', ''
It consists of each data of seconds'''.

(4)オンラインコントローラ30の処理第1O図(A
)及び第1O図(B)は、オンラインコントローラ30
のメインルーチンを示すフローチャートである。
(4) Processing of the online controller 30 Fig. 1O (A
) and FIG. 1O (B) show the online controller 30.
2 is a flowchart showing the main routine of FIG.

110図(A)において、オンラインコントローラ30
の電源がオンとされ、当該プログラムがスタートすると
、まず、ステップ5100において、オンラインコント
ローラ30内の各回路の初期設定が行われた後、ステッ
プ5lotにおいて設定モードが選択されているか否か
判断される。
In FIG. 110 (A), the online controller 30
When the power is turned on and the program starts, first, in step 5100, initial settings of each circuit in the online controller 30 are performed, and then, in step 5lot, it is determined whether the setting mode is selected. .

ここで、設定モードとは、上述のように、リアルタイム
クロック204の時刻の設定、センター制御装置50へ
の発信時刻の設定、センター制御装置50へ発信する際
の定刻発信モード及びアラーム発信モードにおける電話
番号の設定を行うためのモードであって、初期設定時に
おいてメンテナンス用スイッチ206の調整スイッチA
DJ又は設定スイッチSETが押下されたとき、当該設
定モードが選択され、ステップ5IO2へ進む。
Here, the setting mode refers to setting the time of the real-time clock 204, setting the call time to the center control device 50, and telephone calls in the scheduled call mode and alarm call mode when making a call to the center control device 50, as described above. This is a mode for setting the number, and at the time of initial setting, the adjustment switch A of the maintenance switch 206 is
When the DJ or setting switch SET is pressed, the setting mode is selected and the process proceeds to step 5IO2.

ステップ5102において、コピーデータコントローラ
20に対して設定モード要求信号を送信した後、ステッ
プ5103において設定モードフラグをチェックする。
After transmitting a setting mode request signal to the copy data controller 20 in step 5102, the setting mode flag is checked in step 5103.

この設定モードフラグは、後述する通信割込処理におい
てコピーデータコントローラ20から設定モードアンサ
−信号を受信したとき、+1111となる。設定モード
フラグが0″の場合は、ステップ5IO9においてタイ
ムオーバーのチェックを行う。ここでは、上記設定モー
ド要求信号を送信した後コピーデータコントローラ20
から所定の時間(本実施例においては、3秒である。)
以内に設定モードアンサ−信号が受信されない場合、タ
イムオーバーとなり、再度ステップ5102においてコ
ピーデータコントローラ20に設定モード要求信号を送
信する。タイムオーバーとなるまでは、当該プログラム
70−はステップS】03からステップ5109の間で
ループし、コピーデータコントローラ20からの上記ア
ンサ−信号を待機する。設定モードフラグが”l”にな
ると(ステップ5103でYe s)、ステップ510
4において当該設定モードフラグをリセットした後、ス
テップ5105乃至5IO8においてそれぞれ、現在時
刻設定魁理、発信時刻設定処理、定刻発信用電話番号設
定処理、及びアラーム発信用電話番号設定処理の各処理
を行って、ステップ5110へ進む。なお、ステップI
05乃至5108の各サブルーチンについては詳細後述
する。以下のサブルーチンについても同様である。
This setting mode flag becomes +1111 when a setting mode answer signal is received from the copy data controller 20 in communication interrupt processing to be described later. If the setting mode flag is 0'', a time-over check is performed in step 5IO9.Here, after transmitting the setting mode request signal, the copy data controller 20
for a predetermined time (in this example, it is 3 seconds).
If the setting mode answer signal is not received within this time, the time has expired and the setting mode request signal is sent to the copy data controller 20 again in step 5102. Until the time is over, the program 70- loops from step S03 to step 5109 and waits for the answer signal from the copy data controller 20. When the setting mode flag becomes “l” (Yes in step 5103), step 510
After resetting the setting mode flag in Step 4, steps 5105 to 5IO8 perform the processes of setting the current time, setting the calling time, setting the telephone number for scheduled calling, and setting the telephone number for alarm calling, respectively. Then, the process advances to step 5110. Note that step I
Each subroutine from 05 to 5108 will be described in detail later. The same applies to the following subroutines.

上記設定モードの処理が終了したとき又はステップ5I
OIにおいて設定モードが選択されていなかったときは
、ステップ5ilo乃至5112においてそれぞれ、コ
ピーデータコントローラ接続確認処理、モデム接続確認
処理、及び時刻確認処理を行って、ステップ5l13へ
進む。
When the process of the above setting mode is completed or step 5I
If the setting mode is not selected in OI, copy data controller connection confirmation processing, modem connection confirmation processing, and time confirmation processing are performed in steps 5ilo to 5112, respectively, and the process advances to step 5l13.

ステップS l l 3及び5115においては、定刻
発信フラグ及びアラーム発信フラグをチェックする。こ
こで、定刻発信フラグはステップ5l12の時刻確認処
理において現在時刻が発信時刻に一致したときl”とな
り、一方、アラーム発信フラグは後述する通信割込処理
でコピーデータコントローラ20からアラーム発信要求
信号を受信したとき”t”となる。定刻発信フラグ及び
アラーム発信フラグがともに0”であるときステップ5
iloに戻る。一方、定刻発信フラグとアラ、−ム発信
フラグのいずれかのフラグが”1”であるとき、ステッ
プ5l14又は5l16において当該フラグをリセット
した後、ステップ5l17に進み、センター制御装置5
0と回線接続を行うための梨型処理を行い、ステップS
1.18に進む。
In steps S l l 3 and 5115, the scheduled transmission flag and alarm transmission flag are checked. Here, the scheduled transmission flag becomes "l" when the current time matches the transmission time in the time confirmation process of step 5l12, while the alarm transmission flag is set to 1'' when the alarm transmission request signal is received from the copy data controller 20 in the communication interrupt process to be described later. When received, it becomes "t". When both the scheduled transmission flag and the alarm transmission flag are 0", step 5
Return to ilo. On the other hand, when either the scheduled call flag or the alarm call flag is "1", the flag is reset in step 5l14 or 5l16, and then the process proceeds to step 5l17, where the center control device 5
Perform pear-shaped processing to establish a line connection with 0, and step S
Proceed to 1.18.

ステップ5118において、梨型フラグのチェックを行
う。この梨型フラグは、上記梨型処理においてセンター
制御装R50と回線接続されたか否かを示し、該フラグ
が0″であれば、回線接続できなかっためで、ステップ
3110へ戻る。一方、該梨型フラグが′l″のときは
、センター制御装置50と回線接続されているので、ス
テップ5l19において該梨型フラグをリセットした後
ステップ5120に進む。
In step 5118, the pear-shaped flag is checked. This pear-shaped flag indicates whether or not a line has been connected to the center control device R50 in the pear-shaped process. If the flag is 0'', it is because the line cannot be connected, and the process returns to step 3110. When the type flag is 'l'', the line is connected to the center control device 50, so the process proceeds to step 5120 after resetting the pear type flag in step 5l19.

ステップ5120において、チャンネルカウンタの計数
値nを”I”にして、ステップ5121へ進む。このチ
ャンネルカウンタは、複数のコピーデータコントローラ
20を順に切り換えてセンター制御装置50とデータ通
信を行うためのカウンタであり、該カウンタの計数値n
はコピーデータコントローラ20のチャンネル番号を示
している。
In step 5120, the count value n of the channel counter is set to "I" and the process proceeds to step 5121. This channel counter is a counter for sequentially switching a plurality of copy data controllers 20 to perform data communication with the center control device 50, and has a count value n of the counter.
indicates the channel number of the copy data controller 20.

次イテ、ステップ5121,3124、及び5127に
おいてそれぞれ、モード要求フラグ、切換要求フラグ、
及び解放要求フラグをチェックする。これらのフラグは
、通信割込処理でセンター制御装置50からそれぞれ、
モード確認信号、回線切換要求信号、及び回線解放要求
信号を受信したとき、対応するフラグがnVとなる。こ
こで、モード要求フラグが′° l′″であるときは、
ステップ5I22で当該モード要求フラグをリセットし
、ステップ5123においてコピーデータコントローラ
接続処理を行った後、ステップ5121に戻る。また、
切換要求フラグが11111であるときは、ステップ5
125において当該切換要求フラグをリセットし、ステ
ップ5126においてコピーデータコントローラ切断処
理を行った後、ステップ5121に戻る。さらに、解放
要求フラグが1゛であるときは、ステップ5128にお
いて当該解放要求フラグをリセットし、ステップ512
9においてコピーデータコントローラ切断処理を行った
後、ステップ5130においてセンター制御装置50に
対して回線解放アンサ−信号を送信し、ステップ5L3
1において接続されていた回線を切断してステップ51
10に戻る。
In the next iteration, steps 5121, 3124, and 5127, the mode request flag, switching request flag,
and check the release request flag. These flags are set by the center control device 50 in communication interrupt processing, respectively.
When a mode confirmation signal, a line switching request signal, and a line release request signal are received, the corresponding flag becomes nV. Here, when the mode request flag is '° l''',
After resetting the mode request flag in step 5I22 and performing copy data controller connection processing in step 5123, the process returns to step 5121. Also,
When the switching request flag is 11111, step 5
After the switching request flag is reset in step 125 and the copy data controller disconnection process is performed in step 5126, the process returns to step 5121. Further, when the release request flag is 1, the release request flag is reset in step 5128, and step 512
After the copy data controller disconnection process is performed in step 9, a line release answer signal is sent to the center control device 50 in step 5130, and the line release answer signal is sent to the center control device 50 in step 5L3.
Disconnect the line connected in step 1 and proceed to step 51.
Return to 10.

ftオ、ステップ5121,5124、及び5t27に
おいて、いずれのフラグも′0”であるときは、そのま
まステップ5121に戻る。
If all flags are '0' in steps 5121, 5124, and 5t27, the process directly returns to step 5121.

以上がオンラインコントローラ30のメインルーチンの
処理であり、該メインルーチン内の各サブルーチンの処
理について以下に説明する。
The above is the main routine processing of the online controller 30, and the processing of each subroutine within the main routine will be explained below.

第11図は、コピーデータコントローラ接続確認処理(
第10図(A)のステップ5IIO)を示すフローチャ
ートである。
Figure 11 shows the copy data controller connection confirmation process (
10 is a flowchart showing step 5IIO) in FIG. 10(A).

第11図のステップ5150において、まず、オンライ
ンコントローラ30内にマルチプレクサ35が接続され
ているか否かをチェックし、接続されていれば(ステッ
プ5150でYeS)、ステップ5151においてチャ
ンネルカウンタの計数値nを゛l″にした後、ステップ
5152に進む。ステップ5152において、チャンネ
ルnのコピーデータコントローラ20を接続するように
切換え、ステップ5153において当該選択されたコピ
ーデータコントローラ20に対して処理モード要求信号
を送信する。
In step 5150 of FIG. 11, first, it is checked whether or not the multiplexer 35 is connected in the online controller 30. If it is connected (Yes in step 5150), the count value n of the channel counter is calculated in step 5151. After setting "l", the process proceeds to step 5152. In step 5152, the switch is made to connect the copy data controller 20 of channel n, and in step 5153, a processing mode request signal is sent to the selected copy data controller 20. do.

次いで、ステップ5154において、コピーデータコン
トローラ20から処理モードアンサ−信号を受信し処理
モードフラグが11111になっているか否かをチェッ
クする。該処理モードフラグは前述のフラグと同様に、
通信割込処理において該アンサ−信号の受信時に°′1
″となる。処理モードフラグが11011である間は、
プログラム70−がステップ5157から5154でル
ープし、処理モード要求信号の送信後3秒以上経過しス
テップ5157においてタイムオーバーとなったときは
、ステップ5158において所定回数(本実施例におい
ては、2回)の処理モード要求信号の再送信(以下、リ
トライという。)を行ったか否かをチェックする。これ
は、送信した処理モード要求信号が何らかの原因でコピ
ーデータコントローラ20が正常に受信できず、処理モ
ードアンサ−信号を送信できなかった場合を仮定してい
る。上記リトライが所定回数に達していない場合は、ス
テップ5153に戻って、再度処理モード要求信号の送
信処理から繰り返される。一方、所定回数のりトライを
行ってもコピーデータコントローラ20かも処理モード
アンサ−信号が受信できない場合は、コピーデータコン
トローラ20が接続されていないものと判断し、ステッ
プ5159においてキャンセル信号を当該コピーデータ
コントローラ20に対して送信した後、5160におい
てチャンネルnのコピーデータコントローラ20の接続
状態を示すチャンネルnの接続フラグをリセットして、
ステップ5161に進む。一方、ステップ5160にお
いて、処理モードフラグが”J”であるときは、ステッ
プ5155において該処理モードフラグをリセットして
、ステップ5156においてチャンネルnの接続フラグ
を”l”にした後、ステップ5161に進む。
Next, in step 5154, a processing mode answer signal is received from the copy data controller 20, and it is checked whether the processing mode flag is set to 11111. The processing mode flag is similar to the above flag,
°'1 when receiving the answer signal in communication interrupt processing
''.While the processing mode flag is 11011,
The program 70- loops from steps 5157 to 5154, and if 3 seconds or more have elapsed since the processing mode request signal was sent and a timeout occurs in step 5157, the program 70- loops from step 5157 to 5154. It is checked whether the processing mode request signal has been retransmitted (hereinafter referred to as retry). This assumes that the copy data controller 20 cannot normally receive the transmitted processing mode request signal for some reason and cannot transmit the processing mode answer signal. If the retry has not reached the predetermined number of times, the process returns to step 5153 and repeats the process of transmitting the process mode request signal again. On the other hand, if the copy data controller 20 cannot receive the processing mode answer signal even after a predetermined number of attempts, it is determined that the copy data controller 20 is not connected, and in step 5159, a cancel signal is sent to the copy data controller 20. 20, reset the connection flag of channel n indicating the connection state of the copy data controller 20 of channel n in 5160,
Proceed to step 5161. On the other hand, if the processing mode flag is "J" in step 5160, the processing mode flag is reset in step 5155, and the connection flag of channel n is set to "l" in step 5156, after which the process proceeds to step 5161. .

次いで、ステップ5161において、チャンネルカウン
タの計数値nに1を加算し、ステップ5162において
該計数値nが”11”になっている場合は、すべてのチ
ャンネルのコピーデータコントローラ20について接続
の確認を終了しているので、メインルーチンへリターン
する。一方、該計数値nが“lO″以下であるときは、
次のチャンネルのコピーデータコントローラ20に対し
てステップ5152からの処理を同様にして繰り返す。
Next, in step 5161, 1 is added to the count value n of the channel counter, and if the count value n is "11" in step 5162, the connection confirmation for the copy data controller 20 of all channels is finished. , so return to the main routine. On the other hand, when the count value n is less than "lO",
The process from step 5152 is similarly repeated for the copy data controller 20 of the next channel.

ステップ5150においてマルチプレクサ35が接続さ
れていないときは、ステップ5163乃至5170にお
いて、上述のステップ5153からステップ5160ま
での処理と同様の接続確認の処理を、1個のコピーデー
タコントローラ20に対して行った後、メインルーチン
へリターンする。
When the multiplexer 35 is not connected in step 5150, in steps 5163 to 5170, connection confirmation processing similar to the processing in steps 5153 to 5160 described above is performed for one copy data controller 20. After that, return to the main routine.

第12図は、モデム接続確認処理(第1O図(A)のス
テップS l l l)を示す70−チャートである。
FIG. 12 is a 70-chart showing the modem connection confirmation process (step S111 of FIG. 10(A)).

第12図のステップ5180において、まず、オンライ
ンコントローラ30内にモデム33が接続されているか
否かをチェックし、接続されていなければ、そのままメ
インルーチンにリターンする。一方、モデム33が接続
されている場合は、ステップ5181において当該モデ
ム33の初期化が済んでいるか否かをチェックし、初期
化されていないときは、ステップ5182においてモデ
ム33の初期化の処理を行った後、メインルーチンにリ
ターンする。また、ステップ5181においてモデム3
3の初期化の処理が済んでいるときは、そのままメイン
ルーチンにリターンする。
At step 5180 in FIG. 12, it is first checked whether the modem 33 is connected to the online controller 30, and if it is not connected, the process directly returns to the main routine. On the other hand, if the modem 33 is connected, it is checked in step 5181 whether the modem 33 has been initialized, and if it has not been initialized, the modem 33 is initialized in step 5182. After doing so, return to the main routine. Also, in step 5181, the modem 3
When the initialization processing in step 3 has been completed, the process returns to the main routine.

第13図は時刻確認処理(第1O図(A)のステップS
 l 12)を示すフローチャートである。
Figure 13 shows the time confirmation process (step S in Figure 1O (A)).
12) is a flowchart showing the process.

第13図のステップ5200において、まず、リアルタ
イムクロック204から現在時刻を読み出した後、ステ
ップ5201において前に読出した時刻から1分が経過
したか否か、すなわち″分゛′のデータが変化したか否
かをチェックする。これは、1分に1回だけ発信時刻の
確認を行うための処理である。ステップ5201におい
て、前読出し時刻から1分間が経過していなければ、そ
のままメインルーチンへリターンし、一方、1分間が経
過しているときは、ステップ5202以降において、発
信時刻の確認を行う。
In step 5200 of FIG. 13, first, the current time is read from the real-time clock 204, and then in step 5201, it is determined whether one minute has passed since the previously read time, that is, whether the data of "minute" has changed. This is a process for checking the transmission time only once every minute.If one minute has not elapsed since the previous read time in step 5201, the process directly returns to the main routine. On the other hand, if one minute has elapsed, the transmission time is confirmed in step 5202 and thereafter.

まず、ステップ5202において、メンテナンス用スイ
ッチ206を用いて予め設定されている発信時刻を読出
し、読出した発信時刻とステップ5200で読出した現
在時刻との比較を行う。比較するデータは、″日111
.+1曜日”、時”、分”であり、ステップ5203、
ステップ5205、ステップ5207、及びステップ5
209において上記設定された各データが、”不定(D
on’L Care) ”であるか否かをチェックする
。設定されたデータが”不定″であるとき、比較される
現在時刻における対応するデータが何であっても、発信
条件を満足すると判断される。例えば、″日″のデータ
に所定の値を設定し、″曜日”のデータを″不定゛′と
すると、1ケ月に1回だけ発信条件が成立し、また、″
日゛′のデータを″不定“に設定し、パ躍日゛′のデー
タに所定の値を設定すると、1週間に1回だけ発信条件
が成立する。予め設定された各データが″不定゛′でな
いときはそれぞれ、ステップ5204.5206.52
08、及び5210において、現在時刻の対応するデー
タと一致するか否かをチェックし、一致しないときはメ
インルーチンにリターンする。一方、予め設定された時
刻が現在時刻と一致するときは、ステップ5211にお
いて定刻発信モードにするため、定刻発信フラグを” 
ビ′にした後メインルーチンにリターンする。
First, in step 5202, a preset call time is read using the maintenance switch 206, and the read call time is compared with the current time read in step 5200. The data to be compared is “day 111”
.. +1 day of the week”, hour”, minute”, step 5203,
Step 5205, Step 5207, and Step 5
In step 209, each data set above is changed to “undefined (D
on'L Care)". When the set data is "undefined", it is determined that the transmission condition is satisfied regardless of the corresponding data at the current time being compared. For example, if you set a predetermined value for the "day" data and set the "day of the week" data to "indeterminate", the transmission condition will be satisfied only once a month, and
If the data for the day of the month is set to "indeterminate" and the data of the day of the day is set to a predetermined value, the transmission condition is satisfied only once a week. If each preset data is not "indeterminate", steps 5204, 5206, and 52 are performed, respectively.
At 08 and 5210, it is checked whether the data matches the corresponding data at the current time, and if they do not match, the process returns to the main routine. On the other hand, if the preset time matches the current time, in step 5211, the scheduled transmission flag is set to "on-time transmission mode".
After setting it to bit', it returns to the main routine.

第14図はセンター制御装置50との回線接続を行うた
めの梨型処理(第10図(A)のステップ5117)を
示すフローチャートである。
FIG. 14 is a flowchart showing the pear-shaped process (step 5117 in FIG. 10(A)) for establishing a line connection with the center control device 50.

第14図のステップ5220において、まず、モデム3
3が初期化されているか否かをチェックし、初期化され
ていないときは、そのままメインルーチンにリターンす
る。一方、モデム33が初期化されているときは、ステ
ップ5221においてコピーデータコントローラ20が
接続されているか否かをチェックする。すなわち、上記
接続フラグのチェックを行う。マルチプレクサ35が接
続されていないときは1個のコピーデータコントローラ
20の接続フラグが0”であるとき、また、マルチプレ
クサ35が接続されているときはすべてのチャンネルの
コピーデータコントローラ20の接続7ラグが”o”で
あるとき、該コピーデータコントローラ20が接続され
ていないと判断してメインルーチンにリターンする。一
方、少なくとも1個のコピーデータコントローラ20が
接続されているときは、ステップ5221においてモデ
ム33に接続すれている電話機40が使用中であるか否
かをチェックする。ここで、該電話機40が使用中であ
るか否かのチェックは、モデム33から送信される所定
の信号によって判断する。
In step 5220 of FIG. 14, first, modem 3
3 is initialized, and if it is not initialized, the process returns to the main routine. On the other hand, when the modem 33 has been initialized, it is checked in step 5221 whether the copy data controller 20 is connected. That is, the connection flag is checked. When the multiplexer 35 is not connected, the connection flag of one copy data controller 20 is 0'', and when the multiplexer 35 is connected, the connection flag of the copy data controller 20 of all channels is 0''. If "o", it is determined that the copy data controller 20 is not connected, and the process returns to the main routine.On the other hand, if at least one copy data controller 20 is connected, the modem 33 is connected in step 5221. It is checked whether the telephone 40 connected to is in use or not.Here, whether or not the telephone 40 is in use is determined based on a predetermined signal transmitted from the modem 33.

電話機40が使用中であるときは、ステップ5225に
おいてアラーム発信フラグが”l”であるか否かをチェ
ックすることによって、発信モードがアラーム発信モー
ド又は定刻発信モードであるかを判断する。ここで、ア
ラーム発信モードであるときは、電話機40が未使用状
態となったとき直ちに所定のデータを送信するために、
ステップ5222に戻って、電話機40が未使用状態と
なるのを待つ。一方、定刻発信モードの場合は、ステッ
プ8226において電話機40が使用中であるか否かの
再チェックを所定回数(本実施例では、10回である。
When the telephone 40 is in use, it is determined in step 5225 whether the call mode is the alarm call mode or the scheduled call mode by checking whether the alarm call flag is "1". Here, when in the alarm transmission mode, in order to immediately transmit predetermined data when the telephone 40 becomes unused,
Returning to step 5222, the process waits until the telephone 40 becomes unused. On the other hand, in the case of the scheduled call mode, in step 8226, whether or not the telephone 40 is in use is rechecked a predetermined number of times (in this embodiment, this is 10 times).

)以上行ったか否かをチェックし、上記再チェックを所
定回数以上行っている場合は、メインルーチンにリター
ンする。一方、ステップ8226において、上記再チェ
ックが所定回数に達していないときは、ステップ522
7において5分間の時間待ちを行った後、再度ステップ
5222に戻る。これによって、電話機40が使用中に
おいて、緊急にデータ通信を行う必要があるアラーム発
信モードの場合は、電話機40が未使用状態となり電話
回線が空くとすぐに、ステップ5223に進んで、セン
ター制御装置50に発呼を行うための発呼処理を行い、
一方、定刻発信モードにおいては、5分間時機した後電
話機40が未使用状態であると、ステップ5223に進
んで発呼処理を行う。
), and if the above recheck has been performed a predetermined number of times or more, the process returns to the main routine. On the other hand, in step 8226, if the recheck has not reached the predetermined number of times, step 522
After waiting for 5 minutes at step 7, the process returns to step 5222 again. As a result, if the telephone 40 is in use and is in the alarm transmission mode that requires urgent data communication, the process proceeds to step 5223 as soon as the telephone 40 is unused and the telephone line is free. Performs call processing to make a call to 50,
On the other hand, in the scheduled call mode, if the telephone 40 is not in use after 5 minutes, the process advances to step 5223 and calls are processed.

ステップ5223における発呼処理の後、ステップ52
24において、センター制御装置50と回線接続されて
いるか否かを示す梨型フラグが” 1″であるか否かを
チェックし、+1111であるときはメインルーチンに
リターンし、一方、該フラグが11011であるときは
上述のステップ5226に進む。この梨型フラグは、後
述する発呼処理においてセンター制御装置50と正常に
回線接続されたときに、′ ビ′となる。
After the call processing in step 5223, step 52
24, it is checked whether the pear-shaped flag indicating whether or not the line is connected to the center control device 50 is "1", and if it is +1111, the process returns to the main routine; If so, proceed to step 5226 described above. This pear-shaped flag becomes ``bi'' when the line is normally connected to the center control device 50 in the call processing described later.

第15図は発呼処理(第14図のステップ5223)を
示すフローチャートである。
FIG. 15 is a flowchart showing the call processing (step 5223 in FIG. 14).

第15図のステップ5240において、まず、アラーム
発信フラグをチェックすることによって発信モードが定
刻発信モードであるか又はアラーム発信モードであるを
チェックし、定刻発信モードであるときは、ステ・7プ
S241においてモデム33内のダイヤラーに対して定
刻発信用電話番号をダイヤルさせた後、ステップ524
3に進む。
In step 5240 of FIG. 15, first, it is checked whether the transmission mode is the scheduled transmission mode or the alarm transmission mode by checking the alarm transmission flag, and if it is the scheduled transmission mode, step S241 After having the dialer in the modem 33 dial the telephone number for scheduled outgoing calls, step 524
Proceed to step 3.

一方、ステップ5240においてアラーム発信モードで
あるときは、ステップ5242においてモデム33内の
ダイヤラーに対してアラーム発信用電話番号をダイヤル
させた後、ステップ5243に進む。
On the other hand, if it is the alarm transmission mode in step 5240, then in step 5242 the dialer in the modem 33 dials the telephone number for alarm transmission, and then the process proceeds to step 5243.

ステップ5243において、上記ダイヤル後にセンター
制御装置50から所定の応答信号があってセンター制御
装置50と正常に回線接続されたか否かをモデム33に
対してチェックさせる。ここで、センター制御装置50
と正常に回線接続されるまで、すなわち梨型されるまで
は、プログラムラフ0−がステップ5245からステッ
プ5234にループし、上記ダイヤル後所定の時間だけ
経過したとき、すなわちタイムオーバーしたとき(ステ
ップ5245においてYes)、ステップ5246にお
いて電話回線に対して回線切断の処理を行った後、ステ
ップ5247において梨型フラグをリセットして、メイ
ンルーチンにリターンする。一方、ステップ5243に
おいてセンター制御装置50と正常に回線接続されI;
ときは(ステップ5243においてYes)、ステップ
5244において梨型フラグを11111にした後、メ
インルーチンにリターンする。
In step 5243, the modem 33 is caused to check whether or not a predetermined response signal is received from the center control device 50 after the dialing, and the line connection to the center control device 50 has been normally established. Here, the center control device 50
The program Rough 0- loops from step 5245 to step 5234 until the line is connected normally, that is, until the line is connected normally. (Yes), after the telephone line is disconnected in step 5246, the pear-shaped flag is reset in step 5247, and the process returns to the main routine. On the other hand, in step 5243, the line is successfully connected to the center control device 50;
If so (Yes in step 5243), the pear-shaped flag is set to 11111 in step 5244, and then the process returns to the main routine.

嬉16図はコピーデータコントローラ接続処理(第10
図(B)のステップ5123)を示すフローチャートで
ある。
Figure 16 shows the copy data controller connection process (No. 10)
12 is a flowchart showing step 5123) in FIG.

第16図において、まず、ステップ5260において、
マルチプレクサ35が接続されているか否かをチェック
し、接続されていればステップ5261に進む。ステッ
プS261において、チャンネルnのコピーデータコン
トローラ20の接続フラグがII 1”であるか否かを
チェックし、該接#i″フラグがHO°′であるときは
、ステップ5270に進む。一方、ステップ5261に
おいて当該接続フラグが° ビであるならば、ステップ
5262においてマルチプレクサ35に対してチャンネ
ルnのコピーデータコントローラ20を接続するように
切り換えさせた後、ステップ5263において当該コピ
ーデータコントローラ20に対して通信モード要求信号
を送信して、ステップ5264に進む。
In FIG. 16, first, in step 5260,
It is checked whether the multiplexer 35 is connected, and if it is connected, the process advances to step 5261. In step S261, it is checked whether the connection flag of the copy data controller 20 of channel n is II 1'', and if the connection #i'' flag is HO°', the process advances to step 5270. On the other hand, if the connection flag is BI in step 5261, the multiplexer 35 is switched to connect the copy data controller 20 of channel n in step 5262, and then the copy data controller 20 is connected to the copy data controller 20 in step 5263. A communication mode request signal is transmitted to the host, and the process proceeds to step 5264.

ステップ5264において、コピーデータコントローラ
20から通信モードアンサ−信号が受信されたか否かを
示す通信モードフラグが”I”であるか否かをチェック
し、”1”であるときは上記アンサ−信号を受信したの
で、ステップ5265において通信モードフラグをリセ
ットした後、ステップ8266においてセンター制御装
置50に対して、コピーデータコントローラ20が接続
されたことを示す通信モードアンサ−信号を送信し、メ
インルーチンにリターンする。
In step 5264, it is checked whether the communication mode flag indicating whether a communication mode answer signal has been received from the copy data controller 20 is "I", and if it is "1", the answer signal is Since the communication mode flag has been received, the communication mode flag is reset in step 5265, and then a communication mode answer signal indicating that the copy data controller 20 is connected is transmitted to the center control device 50 in step 8266, and the process returns to the main routine. do.

一方、ステップ8264において通信モードフラグが”
0″であるときは上記アンサ−信号を受信していないの
で、ステップ5267に進み、上記通信モード要求信号
の送信後所定の時間(本実施例においては、3秒である
。)が経過しているか否か、すなわちタイムオーバーし
ているか否かをチェックする。タイムオーバーしていな
いときは、ステップ3264に進み、通信モードフラグ
が”l”になるかもしくはタイムオーバーするかまで、
プログラムフローはステップ5264からステップ52
67の間でループする。
On the other hand, in step 8264, the communication mode flag is set to "
0'', the answer signal has not been received, and the process proceeds to step 5267, where a predetermined time (in this embodiment, 3 seconds) has elapsed after the transmission of the communication mode request signal. In other words, it is checked whether or not the time has elapsed.If the time has not elapsed, the process proceeds to step 3264, and the process continues until the communication mode flag becomes "L" or the time elapses.
The program flow is from step 5264 to step 52.
It loops between 67.

ステップ5267においてタイムオーバーとなったとき
は、ステップ5268において、通信モード要求信号の
再送信回数が所定の回数(本実施例においては、2回で
ある。)以上であるか否かをチェックし、所定の回数を
越えていなければ、ステップ5263に進んで通信モー
ド要求信号を再び送信する。一方、所定の回数を越えて
いるときは、ステップ5269に進み、キャンセル信号
をコピーデータコントローラ20に送信した後、ステッ
プ5270に進む。
If the time has expired in step 5267, it is checked in step 5268 whether the number of retransmissions of the communication mode request signal is greater than or equal to a predetermined number of times (in this embodiment, it is two times). If the number of times has not been exceeded, the process advances to step 5263 and the communication mode request signal is transmitted again. On the other hand, if the predetermined number of times has been exceeded, the process proceeds to step 5269, where a cancel signal is sent to the copy data controller 20, and then the process proceeds to step 5270.

ステップ5270において、チャンネルカウンタの計数
値nに1を加算した後、ステップ5271において該計
数値nが”11”であるか否かをチェックし、該計数値
nが”10”以下であるときステップS261に戻る。
After adding 1 to the count value n of the channel counter in step 5270, it is checked in step 5271 whether or not the count value n is "11". If the count value n is less than "10", step Return to S261.

一方、該計数値nが”11”であるときは、すべてのコ
ピーデータコントローラ20について接続処理を行った
ので、ステップ5272において該計数値nを1”にし
た後、ステップS261に戻る。
On the other hand, when the count value n is "11", since connection processing has been performed for all copy data controllers 20, the count value n is set to 1" in step 5272, and then the process returns to step S261.

一方、ステップ5260においてマルチプレクサ35が
接続されていないときは、ステップ5273からステッ
プ5279までの処理において、lfiのコピーデータ
コントローラ20に対して、上述のステップ5263か
らステップ5269までと同様の処理を行った後、メイ
ンルーチンにリターンする。
On the other hand, when the multiplexer 35 is not connected in step 5260, in the processing from step 5273 to step 5279, the same processing as described above from step 5263 to step 5269 is performed on the lfi copy data controller 20. After that, return to the main routine.

第17図はコピーデータコントローラ切断処理(第1O
図(B)のステップ5126及びステップ5129)を
示すフローチャートである。
Figure 17 shows the copy data controller disconnection process (10th
12 is a flowchart showing steps 5126 and 5129) in FIG.

第17図のステップ5300において、まず、マルチプ
レクサ35が接続されているか否かをチェックし、接続
されていればステップS301に進む。ステップ530
1において、処理モード要求信号をチャンネルnのコピ
ーデータコントローラ20に対して送信した後、ステッ
プ5302において、処理モードアンサ−信号が受信さ
れたか否かを示す処理モードフラグが”ビであるか否か
をチェックする。ステップ5302において、処理モー
ドフラグがnVであるときは、ステップ5303に進み
、当該処理モードフラグをリセットした後、ステップ5
304において回線切換アンサ−信号をセンター制御装
置50に対して送信し、ステップ5307に進む。
In step 5300 of FIG. 17, it is first checked whether the multiplexer 35 is connected, and if it is connected, the process advances to step S301. step 530
1, after transmitting a processing mode request signal to the copy data controller 20 of channel n, in step 5302, it is determined whether or not the processing mode flag indicating whether a processing mode answer signal has been received is "BI". In step 5302, when the processing mode flag is nV, the process proceeds to step 5303, and after resetting the processing mode flag, step 5
In step 304, a line switching answer signal is transmitted to the center control device 50, and the process proceeds to step 5307.

一方、ステップ5302において、処理モードフラグが
11011であるときは、ステップ5305においてタ
イムオーバーしているか否か、すなわち上記処理モード
要求信号の送信後所定の時間(本実施例においては、3
秒である。)が経過しているか否かを判断し、タイムオ
ーバーしていないときはステップ5302に進み、プロ
グラムフローは処理モードフラグが11111となるか
もしくはタイムオーバーとなるまでステップ5302か
らステップ5305をループする。
On the other hand, when the processing mode flag is 11011 in step 5302, it is determined whether or not the time has elapsed in step 5305, that is, the predetermined time (in this embodiment, 3
Seconds. ) has elapsed, and if the time has not elapsed, the process proceeds to step 5302, and the program flow loops from step 5302 to step 5305 until the processing mode flag becomes 11111 or the time elapses.

ステップ5305においてタイムオーバーしているとき
は、ステップ5306において上記処理モード要求信号
を所定回数(本実施例では、2回である。)以上再送信
したか否かが判断され、所定回数以上再送信していない
ときは上記処理モード要求信号を再送信するりトライの
ためステップ5301に進む。一方、ステップ5306
において上記処理モード要求信号を所定回数以上再送信
したと判断したときは、ステップ5307において上記
チャンネルカウンタの計数値nにlを加算した後、ステ
ップ5308において該計数値nが”11”であるか否
かを判断する。
If the time has expired in step 5305, it is determined in step 5306 whether or not the processing mode request signal has been retransmitted a predetermined number of times (in this example, two times). If not, the process advances to step 5301 to retransmit the processing mode request signal or try again. On the other hand, step 5306
When it is determined that the processing mode request signal has been retransmitted more than a predetermined number of times, l is added to the count value n of the channel counter in step 5307, and then in step 5308 it is determined whether the count value n is "11" or not. Decide whether or not.

ステップ5308において該計数値nが11”でないと
きは、そのままメインルーチンにリターンし、一方、該
計数値nが”11”であるときはステップ5309にお
いて該計数値nに”1″をセットした後、メインルーチ
ンにリターンする。
If the counted value n is not 11" in step 5308, the process returns to the main routine. On the other hand, if the counted value n is "11", the counted value n is set to "1" in step 5309. , return to the main routine.

一方、ステップ5300J、:iiいてマルチプレクサ
35が接続されていないと判断されたときは、1個のコ
ピーデータコントローラ20に対して、ステップ530
1からステップ5306と同様の処理であるステップ5
310からステップ5315までの処理を行った後、メ
インルーチンにリターンする。
On the other hand, if it is determined that the multiplexer 35 is not connected in step 5300J, :ii, step 530
Step 5 is the same process as steps 1 to 5306.
After performing the processing from step 310 to step 5315, the process returns to the main routine.

第18図は現在時刻設定処理(第1O図(A)のステッ
プs[)5)を示すフローチャートである。
FIG. 18 is a flowchart showing the current time setting process (step s[)5 in FIG. 1O(A)).

第18図のステップ5320において、まず、現在時刻
のデータを1桁ずつ入力するときにその桁を示すポジシ
ョンカウンタの計数値PO5をl 11にセットする。
In step 5320 of FIG. 18, first, when data of the current time is inputted one digit at a time, the count value PO5 of the position counter indicating the digit is set to l11.

次いで、ステップ5321において、設定スイッチAD
Jが押下されるのを待ち、押下されると、ステップ53
22において現在時刻の1桁分のデータを選択スイッチ
SELの設定値を入力した後、ステップ5323におい
て該入力されたデータを、RAM230内に格納されて
いる現在時刻データにおける上記ポジションカウンタの
計数値PO3に対応した桁に設定し、上記入力されたデ
ータに基づいてリアルタイムクロック204における上
記対応する桁のデータの書き換え処理を行う。次いで、
スイッチ5324においで上記設定された時刻のデータ
をデータコントローラ20の表示器25に表示するため
、上記入力されたデータを送信し、ステップ5325に
おいてポジションカウンタの計数値POS11を加算し
た後、ステップ5326において該計数値POSが”1
1″である否か判断され、11″であるときそのままリ
ターンし、一方、”lO”以下であるときはステップ5
321に戻る。
Next, in step 5321, setting switch AD
Wait for J to be pressed, and when it is pressed, step 53
After inputting the setting value of the selection switch SEL for one digit of data of the current time in step 22, the input data is converted to the counted value PO3 of the position counter in the current time data stored in the RAM 230 in step 5323. is set to a digit corresponding to , and the data of the corresponding digit in the real-time clock 204 is rewritten based on the input data. Then,
In order to display the data at the set time on the display 25 of the data controller 20 at the switch 5324, the input data is transmitted, and after adding the count value POS11 of the position counter at step 5325, at step 5326 The count value POS is “1”
It is judged whether or not it is 1", and if it is 11", it returns as is. On the other hand, if it is less than "lO", the process goes to step 5.
Return to 321.

第19図乃至第21図はそれぞれ、発信時刻設定処理(
第1O図(A)のステップ3106)、定刻発信用電話
番号設定処理(第1O図(A)のステップ5107)、
及びアラーム発信用電話番号設定処理(第1θ図(A)
のステップ5108)を示す70−チャートであり、こ
れらの各処理においては第18図の現在時刻設定処理と
同様に、発信時刻、定刻発信用電話番号、及びアラーム
発信用電話番号が設定される。なお、第20図のステッ
プ8366及び第21図のステップ5386においては
それぞれ、ポジションカウンタの計数値PoSが’17
”であるか否かを判断する。
FIGS. 19 to 21 respectively show the outgoing time setting process (
Step 3106 in Figure 1O (A)), telephone number setting process for scheduled calling (Step 5107 in Figure 1O (A)),
and alarm dialing telephone number setting process (Fig. 1θ (A)
70-chart showing step 5108), and in each of these processes, like the current time setting process of FIG. 18, the calling time, the telephone number for fixed-time calling, and the telephone number for alarm calling are set. Note that in step 8366 of FIG. 20 and step 5386 of FIG. 21, the count value PoS of the position counter is '17.
” to judge whether or not.

第22図はオンラインコントローラ30における通信割
込処理を示すフローチャートであり、この処理は、コピ
ーデータコントローラ20又はセンター制御装置50か
らデータを受信しオンラインコントローラ30に割込が
かかったとき開始される。
FIG. 22 is a flowchart showing communication interrupt processing in the online controller 30, and this processing is started when data is received from the copy data controller 20 or the center control device 50 and the online controller 30 is interrupted.

第22図のステップ5400において、まず、該割込処
理で使用するレジスタ等Iこ格納されているデータを一
時的に退避させた後、ステップ5401において例えば
パリティエラー又は設定されていないデータの受信等の
通信エラーが発生しているか否かをチェックし、該通信
エラーがあるときはステップ3402において発生して
いる通信エラーに対して所定のエラー処理を行った後、
ステップ5409に進む。一方、ステップ5401にお
いて通信エラーが発生していないときは、ステップ54
03において受信したデータの解析処理を行った後、ス
テップ5404及びステップ5406において、受信し
t;データが、コピーデータコントローラ20とセンタ
ー制御装置50との間で送受信されオンラインコントロ
ーラ30が関与しないスルーデータであるか、コピーデ
ータコントローラ20から発信されたデータであるか、
もしくはセンター制御装置50から発信されたデータで
あるかを判断する。
In step 5400 of FIG. 22, first, the data stored in the registers used in the interrupt processing is temporarily saved, and then in step 5401, for example, a parity error or unset data is received, etc. It is checked whether or not a communication error has occurred, and if there is a communication error, predetermined error processing is performed for the communication error that has occurred in step 3402, and then
Proceed to step 5409. On the other hand, if no communication error has occurred in step 5401, step 54
After analyzing the data received in step 03, in step 5404 and step 5406, the received data is transmitted and received between the copy data controller 20 and the center control device 50, and the online controller 30 is not involved. Is the data transmitted from the copy data controller 20?
Alternatively, it is determined whether the data is transmitted from the center control device 50.

受信したデータが上記スルーデータであるときは(ステ
ップ5404においてYe s) 、受信したデータを
発信元とは異なる装置(コピーデータコントローラ20
から送信されたデータについてはセンター制御装置50
へ、一方、センター制御装置50から送信されたデータ
についてはコピーデータコントローラ20へ)に転送し
た後、ステップ5409に進む。また、受信したデータ
が上記スルーデータではなくセンター制御装置50から
発信されたデータであるときは(ステップ3406にお
いてYe s) 、ステップ5407において該受信し
たデータについての処理(以下、データ処理Aという。
If the received data is the above-mentioned through data (Yes in step 5404), the received data is transferred to a device different from the source (copy data controller 20).
For data transmitted from the center control device 50
On the other hand, the data transmitted from the center control device 50 is transferred to the copy data controller 20), and then the process advances to step 5409. If the received data is not the through data but data sent from the center control device 50 (Yes in step 3406), the received data is processed in step 5407 (hereinafter referred to as data processing A).

)を行った後、ステップ5409に進む。さらに、受信
したデータが上記スルーデータでなくコピーデータコン
トローラ20から発信されたデータであるときは(ステ
ップ5406においてN o ) 、ステップ5408
において該受信したデータについての処理(以下、デー
タ処理Bという。)を行った後、ステップ5409に進
む。
), the process advances to step 5409. Further, if the received data is not the through data but data transmitted from the copy data controller 20 (No in step 5406), step 5408
After performing processing on the received data (hereinafter referred to as data processing B), the process advances to step 5409.

次いで、上記各処理を行った後、ステップ5409にお
いて退避していたレジスタのデータを復帰させた後、割
込前のルーチンのステップにリターンする。
Next, after performing each of the above processes, the data in the register that was saved is restored in step 5409, and then the routine returns to the step before the interrupt.

第23図はデータ処理A(第22図のステップS 40
7)を示すフローチャートである。この処理は、上述の
ようにセンター制御装置50から発信されたデータにつ
いての処理であり、該データとして、時刻データ要求信
号、回線切換要求信号、モード確認信号、並びに、回線
解放要求信号がある。
FIG. 23 shows data processing A (step S 40 in FIG. 22).
7) is a flowchart showing the process. This processing is for data transmitted from the center control device 50 as described above, and the data includes a time data request signal, a line switching request signal, a mode confirmation signal, and a line release request signal.

第23図のステップ5420、ステップ5422、ステ
ップ5424、及びステップ5426においてそれぞれ
、受信したデータが時刻データ要求信号、回線切換要求
信号、モード確認信号、及び回線解放要求信号であるか
否かを判断する。受信したデータが時刻データ要求信号
であるときは(ステップ5420においてYeS)、ス
テップ5421においてリアルタイムクロック204か
ら現在時刻を読出し、該現在時刻のデータをセンター制
御装置50に送信した後、リターンする。
In steps 5420, 5422, 5424, and 5426 of FIG. 23, it is determined whether the received data is a time data request signal, a line switching request signal, a mode confirmation signal, and a line release request signal, respectively. . When the received data is a time data request signal (Yes in step 5420), the current time is read from the real-time clock 204 in step 5421, the current time data is transmitted to the center control device 50, and then the process returns.

また、受信したデータが回線切換要求信号であるときは
(ステップ5422においてYe s) 、ステップ5
423において切換要求フラグに”lnをセットした後
、リターンする。さらに、受信したデータがモード確認
信号であるときは(ステップ5424においてYeS)
、ステップ5425においてモード確認フラグに”l’
をセットした後、リターンする。またさらに、受信した
データが回線解放要求信号であるときは(ステップ54
26においてYeS)、ステップ5427において解放
要求フラグにn 1″をセットした後リターンする。一
方、受信したデータが時刻データ要求信号、回線切換要
求信号、モード確認信号、及び回線解放要求信号のいず
れでもない場合(ステップ5420.5422.542
4、及び5426においてNO)、そのままリターンす
る。
Further, if the received data is a line switching request signal (Yes in step 5422), step 5
After setting "ln" to the switching request flag in step 423, the process returns.Furthermore, if the received data is a mode confirmation signal (Yes in step 5424)
, "l" is set to the mode confirmation flag in step 5425.
After setting, return. Further, if the received data is a line release request signal (step 54
26 (Yes), the release request flag is set to n1'' in step 5427, and the process returns.On the other hand, if the received data is any of the time data request signal, line switching request signal, mode confirmation signal, and line release request signal, If not (step 5420.5422.542
4 and 5426), return as is.

第24図はデータ処理B(第22図のステップ5408
)を示すフローチャートである。この処理は、上述のよ
うにコピーデータコントローラ20から発信されたデー
タについての処理であり、該データとして、処理モード
アンサ−信号、通信モードアンサ−信号、設定モードア
ンサ−信号、及びアラーム発信要求信号がある。
FIG. 24 shows data processing B (step 5408 in FIG. 22).
) is a flowchart showing the process. This process is a process for data transmitted from the copy data controller 20 as described above, and includes a processing mode answer signal, a communication mode answer signal, a setting mode answer signal, and an alarm transmission request signal. There is.

第24図のステップ5440、ステップ5442、ステ
ップ5444、及びステップ5446においてそれぞれ
、受信したデータが処理モードアンサ−信号、通信モー
ドアンサ−信号、設定モードアンサ−信号、及びアラー
ム発信要求信号であるか否かを判断する。受信したデー
タが処理モードアンサ−信号であるときは(ステップ5
440においてYeS)、ステップ5441において処
理モードフラグに”l”をセットした後、リターンする
。また、受信したデータが通信モードアンサ−信号であ
るときは(ステップ5442においてY e s ) 
、ステップ5443において通信モードフラグに″ l
”をセットした後、リターンする。
In steps 5440, 5442, 5444, and 5446 of FIG. 24, whether the received data is a processing mode answer signal, a communication mode answer signal, a setting mode answer signal, or an alarm transmission request signal, respectively. to judge. If the received data is a processing mode answer signal (step 5)
(Yes in step 440), and after setting the processing mode flag to "l" in step 5441, the process returns. Also, if the received data is a communication mode answer signal (Yes in step 5442)
, in step 5443, the communication mode flag is set to ``l''.
” and then returns.

さらに、受信したデータが設定モードアンサ−信号であ
るときは(ステップ5444においてYes)、ステッ
プ5445において設定モードフラグにH1′をセット
した後、リターンする。まI;さらに、受信したデータ
がアラーム発信要求信号であるときは(ステップ844
6においてYes)、ステップ5447においてアラー
ム発信フラグに11111をセットした後、リターンす
る。一方、受信したデータが上記各アンサ−信号及びア
ラーム発信要求信号のいずれでもない場合(ステップ5
440.5442.5444、及び5446においてN
o)、そのままリターンする。
Further, when the received data is a setting mode answer signal (Yes in step 5444), the setting mode flag is set to H1' in step 5445, and then the process returns. Furthermore, if the received data is an alarm transmission request signal (step 844
(Yes in step 5447), the alarm transmission flag is set to 11111 in step 5447, and then the process returns. On the other hand, if the received data is neither the answer signal nor the alarm request signal (step 5
N in 440.5442.5444 and 5446
o), return as is.

(5)コピーデータコントローラ30の処理第25図は
コピーデータコントローラ30のメインルーチンを示す
フローチャートである。
(5) Processing of the copy data controller 30 FIG. 25 is a flowchart showing the main routine of the copy data controller 30.

第25図において、まず、コピーデータコントローラ3
0の電源がオンとされたとき当該コピーデータコントロ
ーラ30の処理がスタートされ、ステップ5500にお
いて、当該コピーデータコントローラ30内の各回路の
初期設定を行った後、ステップ5501において、複写
機IOの状態(上述のように、複写機10の電源のオン
・オフ、コピー中、複写機10におけるジャム発生、□
ト”ラブル発生、コピーされた用紙が排出されコピー動
作が完了したこと等である。)を示す信号を複写機10
から入力し、当該信号に関するデータをRAM103に
格納する。次いで、ステップ5502乃至5505にお
いてそれぞれ、詳細後述する表示処理、カードリード/
ライト処理、カウント処理、及び通信処理の各処理を行
った後、ステ・ノブS501に戻る。       ゛ 第26図は表示処理(第25図のステ・ンプ5502)
を示す70−チャートである。
In FIG. 25, first, the copy data controller 3
0, the processing of the copy data controller 30 is started, and in step 5500, each circuit in the copy data controller 30 is initialized, and then in step 5501, the state of the copying machine IO is changed. (As mentioned above, turning on/off the power of the copying machine 10, copying, occurrence of a jam in the copying machine 10,
The copying machine 10 sends a signal indicating that a problem has occurred, the copied paper has been ejected, and the copying operation has been completed.
, and data related to the signal is stored in the RAM 103. Next, in steps 5502 to 5505, display processing and card reading/card processing, which will be described in detail later, are performed, respectively.
After performing the write processing, count processing, and communication processing, the process returns to step knob S501.゛Figure 26 shows display processing (Step 5502 in Figure 25)
It is a 70-chart showing.

第26図のステップ5510.5512.5514.5
516.5518.5520においてそれぞれ、複写機
10の電源がオフとなっているか否か、通信モードに設
定されているか否か、設定モードに設定されているか否
か、集計カードがカードデータ入出力装置22に挿入さ
れているか否か、部門カードがカードデータ入出力装置
22に挿入されているか否か、磁気カードがカードデー
タ入出力装置22に挿入されているか否かを判断する。
Steps 5510.5512.5514.5 in FIG.
516, 5518, and 5520, respectively, whether the copier 10 is powered off, whether it is set to communication mode, whether it is set to setting mode, and whether the tally card is a card data input/output device. 22, whether a department card is inserted into the card data input/output device 22, and whether a magnetic card is inserted into the card data input/output device 22.

複写機lOの電源がオフとなっているとき(ステップ5
510においてYeS)、ステップ5511においてL
ED表示器25の表示をオフにした後、メインルーチン
にリターンする。通信モードが設定されているとき(ス
テップ5512においてYe s) 、ステップ551
3において0NLINE”のデータを表示用バッファメ
モリ24に出力して当該データをLED表示器25に表
示させた後、メインルーチンにリターンする。設定モー
ドが設定されているとき(ステップ5514においてY
es)、ステップ5515において表示用バッフfメモ
リ24に格納されているデータをLED表示器25に表
示させた後、メインル−チンにリターンする。集計カー
ドがカードデータ入出力装置22に挿入されているとき
(ステップ5516においてYeS)、ステップ551
7においてコピーデータコントローラ20内のRAM1
03に格納されている上記コピーデータを順次LED表
示器25に表示させた後、メインルーチンにリターンす
る。部門カードがカードデータ入出力装置22に挿入さ
れているときは(ステップ5518においてYe’s)
、ステップ5519において部門コード及び当該部門の
コピー枚数をLED表示器25に表示させた後、メイン
ルーチンにリターンする。磁気カードがカードデータ入
出力装置22に挿入されていないときはぐステップ55
20においてYe s)、ステップS’521において
” CARD”のデータをLED表示器25に表示させ
た後、メインルーチンにリターンする。
When the copier IO is powered off (step 5)
Yes at step 510), L at step 5511
After turning off the display on the ED display 25, the process returns to the main routine. When the communication mode is set (Yes in step 5512), step 551
3, outputs the data of "0NLINE" to the display buffer memory 24 and displays the data on the LED display 25, and then returns to the main routine. When the setting mode is set (Y in step 5514)
es) In step 5515, the data stored in the display buffer f memory 24 is displayed on the LED display 25, and then the process returns to the main routine. When the tally card is inserted into the card data input/output device 22 (Yes in step 5516), step 551
7, RAM1 in the copy data controller 20
After sequentially displaying the copy data stored in 03 on the LED display 25, the process returns to the main routine. When the department card is inserted into the card data input/output device 22 (Yes in step 5518)
In step 5519, the department code and the number of copies for the department are displayed on the LED display 25, and then the process returns to the main routine. Step 55 when the magnetic card is not inserted into the card data input/output device 22
20 (Yes), the data of "CARD" is displayed on the LED display 25 in step S'521, and then the process returns to the main routine.

第27図はカードリード/ライト処理(第25図のステ
ップ5503)を示すフローチャートである。
FIG. 27 is a flowchart showing card read/write processing (step 5503 in FIG. 25).

第27図のステップ5530.5532.5534、及
び5537においてそれぞれ、磁気カードがカードデー
タ入出力装置22に挿入されているか否かを検出する挿
入センサー(図示せず。)がオンとなっているか否か、
磁気カードに格納されているデータの読出しが完了した
か否か、磁気カードの排出を指令するイジェクトスイッ
チ(図示せず。)がオンとなっているか否か、並びに、
イジェクトフラグがIIINであるか否かをチェックす
る。
In steps 5530, 5532, 5534 and 5537 in FIG. 27, whether or not an insertion sensor (not shown) is turned on, which detects whether a magnetic card is inserted into the card data input/output device 22. mosquito,
Whether reading of the data stored in the magnetic card is completed, whether an eject switch (not shown) that commands ejection of the magnetic card is turned on, and
Check whether the eject flag is IIIN.

挿入センサーがオンであるとき(ステップ5530にお
いてYe s) 、ステップ5531において詳細後述
するカード挿入処理を行った後、メインルーチンにリタ
ーンする。磁気カードに格納されているデータの読出し
が完了しているとき(ステップ5532においてYeS
)、ステ・7プ5533において詳細後述するリード完
了処理を行った後、メインルーチンにリターンする。イ
ジェクトスイッチがオンとなっているとき(ステップ5
534においてYe s)、ステップ5536において
詳細後述するイジェクト処理を行った後、メインルーチ
ンにリターンする。イジエクトフラグが”1”であると
き(ステップ5537においてYes)、ステップ55
35においてイジェクトフラグをリセットした後、ステ
ップ5536においてイジェクト処理を行って、メイン
ルーチンにリターンする。一方、イジェクトフラグが”
o”であるとき(ステップ5537においてNo)、ス
テップ5538において、挿入センサーがオフとなって
いるかもしくはイジェクトタイマーが所定の時間を計時
したかをチェックすることによって、磁気カードの排出
が完了しているか否かをチェックし、磁気カードの排出
が完了していないときは(ステップ5538においてN
o)そのままメインルーチンにリターンし、一方、磁気
カードの排出が完了しているときは(ステップ5538
においてYe s) 、ステップ5539において詳細
後述する排出完了処理を行った後、メインルーチンにリ
ターンする。
When the insertion sensor is on (Yes in step 5530), card insertion processing, which will be described in detail later, is performed in step 5531, and then the process returns to the main routine. When reading of data stored in the magnetic card is completed (Yes in step 5532)
), and after performing read completion processing, which will be described in detail later, in Step 7 5533, the process returns to the main routine. When the eject switch is on (step 5)
(Yes in step 534), and after performing eject processing, which will be described in detail later, in step 5536, the process returns to the main routine. When the eject flag is “1” (Yes in step 5537), step 55
After resetting the eject flag in step 35, eject processing is performed in step 5536, and the process returns to the main routine. On the other hand, the eject flag is
o" (No in step 5537), in step 5538, the ejection of the magnetic card is completed by checking whether the insertion sensor is off or whether the ejection timer has counted a predetermined time. If the ejection of the magnetic card is not completed (N in step 5538).
o) Return to the main routine as it is; on the other hand, if ejection of the magnetic card has been completed (step 5538)
(Yes), in step 5539, a discharge completion process, which will be described in detail later, is performed, and then the process returns to the main routine.

第28図はカード挿入処理(第27図のステ・ノブ55
31)を示すフローチャートである。
Figure 28 shows the card insertion process (steer knob 55 in Figure 27).
31).

第28図のステップ5550において、まず、搬送モー
タ23を磁気カードの挿入方向(CW回転方向)に回転
させ、ステップS551においてカードデータ入出力装
置22内の磁気ヘッドをリードモードに設定して磁気カ
ードに格納されているデータを読み出した後当該データ
をRAMIO3に格納し、ステップ5552において、
磁気カードに格納されているデータの読出し時間を計時
するリードタイマーをスタートさせ、リターンする。
In step 5550 of FIG. 28, first, the transport motor 23 is rotated in the magnetic card insertion direction (CW rotation direction), and in step S551, the magnetic head in the card data input/output device 22 is set to read mode, and the magnetic card is inserted into the magnetic card. After reading the data stored in , the data is stored in RAMIO3, and in step 5552,
Starts a read timer that measures the time to read data stored in the magnetic card, and returns.

第29図はリード完了処理(第27図のステップ553
3)を示すフローチャートである。
FIG. 29 shows the read completion process (step 553 in FIG. 27).
3) is a flowchart showing step 3).

第29図のステップ5560において搬送モータ23を
オフとした後、ステップ5561において磁気カードか
ら読み出したデータの解析を行う。
After the conveyance motor 23 is turned off in step 5560 of FIG. 29, the data read from the magnetic card is analyzed in step 5561.

次いで、ステップ5562において、読み出したデータ
にエラーがあるか否かをチェックし、エラーがある場合
は(ステップ5562においてNo)ステップ5566
においてイジェクト処理を行った後リターンする。一方
、読出したデータにエラーがない場合は(ステップ55
62においてYeS)%ステップ8563において当該
磁気カードが部門カードであるか否かをチェックし、部
門カードであるときは(ステップ5563においてYe
s)、ステップ5564において複写機IOに対してコ
ピー動作を許可した後、リターンする。
Next, in step 5562, it is checked whether or not there is an error in the read data, and if there is an error (No in step 5562), step 5566 is performed.
Returns after performing eject processing. On the other hand, if there is no error in the read data (step 55
In step 8563, it is checked whether the magnetic card is a department card, and if it is a department card (Yes in step 5563).
s) After permitting the copying machine IO to perform a copying operation in step 5564, the process returns.

一方、当該磁気カードが部門カードでないときは(ステ
ップ5563においてNO)、ステップ5565におい
て複写機lOに対してコピー動作を禁止した後、リター
ンする。
On the other hand, if the magnetic card is not a department card (NO in step 5563), the process proceeds to step 5565 to prohibit the copying machine IO from copying, and then returns.

第30図はイジェクト処理(第27図のステップ553
6及び第29図のステップ5566)を示すフローチャ
ートである。
FIG. 30 shows the eject process (step 553 in FIG. 27).
6 and step 5566 of FIG. 29).

第30図のステップ5570において、まず、複写機I
Oに対してコピー動作を禁止し、ステップ5571にお
いて搬送モータ23を磁気カードの排出方向(CCW回
転方向)に回転させた後、ステップ5572において磁
気カードの排出時間を計時するイジェクトタイマーの計
時をスタートさせ、リターンする。
In step 5570 of FIG. 30, first, copying machine I
Copy operation is prohibited for O, and after rotating the transport motor 23 in the magnetic card ejection direction (CCW rotation direction) in step 5571, an eject timer that measures the ejection time of the magnetic card is started in step 5572. and return.

第31図は排出完了処理(第27図のステップS 53
9)を示すフローチャートである。
FIG. 31 shows the discharge completion process (step S53 in FIG. 27).
9) is a flowchart showing the process.

第31図のステップ5580において、搬送モータ23
をオフとし、ステップ5581において磁気カードから
読出しRAM103に格納したデータをクリアした後、
リターンする。
In step 5580 of FIG.
is turned off, and after clearing the data read from the magnetic card and stored in the RAM 103 in step 5581,
Return.

第32図はカウント処理(第25図のステップ5504
)を示すフローチャートである。
Figure 32 shows the counting process (step 5504 in Figure 25).
) is a flowchart showing the process.

第32図のステップ5590.5592、及び5594
においてそれぞれ、複写機10において1枚のコピー動
作が完了したか否か、複写機lOにおいてジャムが発生
したか否か、並びに複写機10においてトラブルが発生
したか否かをチェックする。各ステップにおいていずれ
にも該当しない場合はそのままメインルーチンにリター
ンする。
Steps 5590, 5592, and 5594 in FIG.
In each step, it is checked whether one copy operation has been completed in the copying machine 10, whether a jam has occurred in the copying machine IO, and whether a trouble has occurred in the copying machine 10. If none of the conditions apply in each step, the process directly returns to the main routine.

複写機lOにおいて1枚のコピー動作が完了したときは
(ステップ5590においてYe s)、ステップ55
91において現在挿入されている部門カードの部門に対
応しかつコピー動作を行ったコピー用紙のサイズに対応
するコピーカウンタをインクリメントした後、メインル
ーチンにリターンする。また、複写機10においてジャ
ムが発生したときは(ステップ5592においてYe 
s)、ステップ5593において発生箇所に対応するジ
ャムカウンタをインクリメントした後、メインルーチン
にリターンする。さらに、複写機lOにおいてトラブル
が発生したときは、ステップ5595において発生箇所
に対応するトラブルカウンタをインクリメントし、ステ
ップ5596においてオンラインコントローラ30に対
してアラーム発信要求信号を送信した後、メインルーチ
ンにリターンする。
When the copying operation for one sheet is completed in the copying machine IO (Yes in step 5590), step 55
At step 91, a copy counter corresponding to the department of the currently inserted department card and the size of the copy paper on which the copying operation was performed is incremented, and then the process returns to the main routine. Further, when a jam occurs in the copying machine 10 (Yes in step 5592),
s) After incrementing the jam counter corresponding to the location where the jam occurred in step 5593, the process returns to the main routine. Furthermore, when a trouble occurs in the copying machine 10, the trouble counter corresponding to the trouble point is incremented in step 5595, and an alarm transmission request signal is sent to the online controller 30 in step 5596, after which the process returns to the main routine. .

第33図はコピーデータコントローラ20における通信
処理(第25図のステップ5505)を示す70−チャ
ートである。
FIG. 33 is a 70-chart showing communication processing in the copy data controller 20 (step 5505 in FIG. 25).

第33図のステップ5600において、まず、受信デー
タがあるか否かをチェックし、受信データがないときは
(ステップ5600においてNo)、そのままメインル
ーチンにリターンする。一方、受信データがあるときは
(ステップ5600においてYe s) 、ステップ5
601において受信データにエラーがあるか否かをチェ
ックし、エラーがあるときは(ステップ5601におい
てNo)、ステップ5603において当該エラーに対し
て必要な所定のエラー処理を行った後、メインルーチン
にリターンする。一方、受信データにエラーがない場合
は(ステップ5601においてYe s)、ステップ5
602において詳細後述するコマンド解析処理を行った
後、メインルーチンにリターンする。
At step 5600 in FIG. 33, it is first checked whether or not there is received data, and if there is no received data (No at step 5600), the process directly returns to the main routine. On the other hand, if there is received data (Yes in step 5600), step 5
In step 601, it is checked whether or not there is an error in the received data, and if there is an error (No in step 5601), necessary predetermined error processing is performed for the error in step 5603, and then the process returns to the main routine. do. On the other hand, if there is no error in the received data (Yes in step 5601), step 5
After performing command analysis processing, which will be described in detail later, in step 602, the process returns to the main routine.

第34図(A)及び(B)はコマンド解析処理(第33
図のステップS 602)を示すフローチャートである
Figures 34 (A) and (B) show command analysis processing (33rd
12 is a flowchart showing step S602) in the figure.

第34図(A)及び(B)のステップ5610.561
2.5614.5615.5621,5624.562
6.5628.5630.5632、及び5635にお
いてそれぞれ、受信されたデータが、モード確認信号、
キャンセル信号、処理モード要求信号、通信モード要求
信号、設定モード要求信号、シリアル番号要求信号、ジ
ャムカウント要求信号、トラブルカウント要求信号、部
門別カウント要求信号、カウントクリア要求信号、表示
データ信号であるか否かをチェックする。ここで、各ス
テップにおいていずれの信号でもない場合は、そのまま
リターンする。
Steps 5610.561 in Figures 34(A) and (B)
2.5614.5615.5621,5624.562
The data received at 6.5628.5630.5632 and 5635 are mode confirmation signals,
Is it a cancel signal, processing mode request signal, communication mode request signal, setting mode request signal, serial number request signal, jam count request signal, trouble count request signal, departmental count request signal, count clear request signal, display data signal? Check whether or not. Here, if there is no signal in each step, the process returns directly.

モード確認信号が受信されたときは(ステップ5610
においてYes)、ステップ5611においてコピーデ
ータコントローラ20における現在のモードをチェック
し、処理モードであるときはステップ5613において
処理モードアンサ−信号をオンラインコントローラ30
を介してセンター制御装置50に対して送信した後リタ
ーンし、まI;通信モードであるときはステップ562
0において通信モードアンサ−信号をオンラインコント
ローラ30を介してセンター制御装置50に対して送信
した後リターンし、さらに設定モードであるときはステ
ップ5623において設定モードアンサ−信号をオンラ
インコントローラ30を介してセンター制御装置50に
対して送信した後リターンする。
When a mode confirmation signal is received (step 5610
(Yes), the current mode in the copy data controller 20 is checked in step 5611, and if it is in the processing mode, a processing mode answer signal is sent to the online controller 30 in step 5613.
After transmitting the data to the center control device 50 via
In step 5623, the communication mode answer signal is sent to the center control device 50 via the online controller 30, and then the process returns.If the mode is set, the setting mode answer signal is sent to the center control device 50 via the online controller 30 in step 5623. After transmitting to the control device 50, the process returns.

キャンセル信号又は処理モード要求信号が受信されたと
きは(ステップ5612又は5614においてYes)
、ステップ5613において処理モードアンサ−信号を
オンラインコントローラ30を介してセンター制御装置
50に対して送信した後リターンする。
When a cancel signal or a processing mode request signal is received (Yes in step 5612 or 5614)
In step 5613, a processing mode answer signal is sent to the center control device 50 via the online controller 30, and then the process returns.

通信モード要求信号が受信されたときは(ステップ56
15においてYeS)、ステップ5616において複写
機lOがコピー中であるか否かをチェックし、コピー中
であるときは(ステップ5616においてYes)ステ
ップ5613において処理モードアンサ−信号をオンラ
インコントローラ30を介してセンター制御装置50に
対して送信した後リターンし、一方、コピー中でないと
きは(ステップ5616においてNo) 、ステップ5
617及び5618においてそれぞれ、磁気カードがカ
ードデータ入出力装置22に挿入されているか否か、並
びに複写機lOにおいてコピー動作が許可されているか
否かをチェックする。ここで、磁気カードが挿入されか
つコピー動作が許可されているときは(ステップ561
7及び5618においてYes)、当該磁気カードを排
出させるため、ステップ5619においてイジェクトフ
ラグにrrVをセットした後、ステップ5620に進み
、通信モードアンサ−信号をオンラインコントローラ3
0を介してセンター制御装置50に対して送信した後リ
ターンする。一方、磁気カードが挿入されていないとき
(ステップ5617においてNo)もしくは磁気カード
が挿入されていてもコピー動作が許可されていないとき
は(ステップ5617においてYes及びステップ56
18においてNo)、そのままステップ5620に進み
、通信モードアンサ−信号をオンラインコントローラ3
0を介してセンター制御装置50に対して送信した後リ
ターンする。
When the communication mode request signal is received (step 56
15), it is checked in step 5616 whether or not the copying machine IO is copying, and if copying is in progress (Yes in step 5616), a processing mode answer signal is sent via the online controller 30 in step 5613. Returns after sending the data to the center control device 50. On the other hand, if copying is not in progress (No in step 5616), step 5
At 617 and 5618, it is checked whether a magnetic card is inserted into the card data input/output device 22 and whether a copy operation is permitted in the copying machine IO. Here, if a magnetic card is inserted and copy operation is permitted (step 561
7 and 5618), in order to eject the magnetic card, the eject flag is set to rrV in step 5619, and then the process proceeds to step 5620, where the communication mode answer signal is sent to the online controller 3.
0 to the center control device 50 and then returns. On the other hand, if the magnetic card is not inserted (No in step 5617) or if the copy operation is not permitted even if a magnetic card is inserted (Yes in step 5617 and step 56
18), the process directly advances to step 5620 and transmits the communication mode answer signal to the online controller 3.
0 to the center control device 50 and then returns.

設定モード要求信号が受信されたときは(ステップ56
21においてYes)、ステップ5622において、例
えば部門カードが挿入されずもしくは複写機lOにおい
てジャム又はトラブルが発生し、複写機IOがコピー動
作を禁止されているか否かをチェックし、コピー動作を
禁止されていないときは(ステップ5622においてN
o)ステップ5613に進み、処理モードアンサ−信号
をオンラインコントローラ30を介してセンター制御装
置50に対して送信した後リターンする。一方、コピー
動作を禁止されているときは(ステップ5622におい
てYe s) 、ステップ5623において設定モード
アンサ−信号をオンラインコントローラ30を介してセ
ンター制御装置50に対して送信した後リターンする。
When the setting mode request signal is received (step 56
21), in step 5622, for example, if the department card is not inserted or a jam or trouble occurs in the copier IO, the copier IO checks whether the copy operation is prohibited, and if the copy operation is prohibited. (N in step 5622)
o) Proceed to step 5613, transmit a processing mode answer signal to the center control device 50 via the online controller 30, and then return. On the other hand, if the copy operation is prohibited (Yes in step 5622), a setting mode answer signal is sent to the center control device 50 via the online controller 30 in step 5623, and then the process returns.

シリアル番号要求信号が受信されたときは(ステップ5
624においてY e s ) 、ステ・ンプ5625
において当該コピーデータコントローラ20のシリアル
番号と全コピー枚数のデータを第9図(7) (a) 
(7)7オーマツトでオンラインコントローラ30を介
してセンター制御装置50に対して送信した後リターン
する。
When the serial number request signal is received (step 5)
Yes in 624), Step 5625
The serial number and total number of copies of the copy data controller 20 are shown in FIG. 9 (7) (a).
(7) Return after transmitting to the center control device 50 via the online controller 30 in 7-order format.

ジャムカウント要求信号が受信されたときは(ステップ
5626においてYe s) 、ステップ5627にお
いて箇所別のジャム発生回数のデータを第9図の(b)
のフォーマットでオンラインコントローラ30を介して
センター制御装置150に対して送信した後リターンす
る。
When the jam count request signal is received (Yes in step 5626), in step 5627 the data on the number of jam occurrences for each location is stored as shown in FIG. 9(b).
After transmitting the data to the center control device 150 via the online controller 30 in the format shown in FIG.

トラブルカウント要求信号が受信されたときは(ステッ
プ5628においてYe s) 、ステップ5629に
おいて箇所別のトラブル発生回数のデータを第9図の(
c)のフォーマットでオンラインコントローラ30を介
してセンター制御装置50に対して送信した後リターン
する。
When the trouble count request signal is received (Yes in step 5628), in step 5629, the data on the number of trouble occurrences for each location is stored as shown in FIG.
After transmitting to the center control device 50 via the online controller 30 in the format c), the process returns.

部門別カウント要求信号が受信されたときは(ステップ
5630においてYes)、ステップ5631において
部門別及びサイズ別のコピー枚数のデータを第9図の(
d)のフォーマットでオンラインコントローラ30を介
してセンター制御装置50に対して送信した後リターン
する。
When the departmental count request signal is received (Yes in step 5630), in step 5631 the data on the number of copies by department and size is converted to the data shown in FIG.
After transmitting to the center control device 50 via the online controller 30 in the format of d), the process returns.

カウントクリア要求信号が受信されたときは(ステップ
5632においてYe s)、ステップ5633におい
てRAM103に格納されている部門別及びサイズ別の
コピー枚数のデータをクリアした後、クリアアンサ−信
号をオンラインコントローラ30を介してセンター制御
装置50に対して送信した後リターンする。
When the count clear request signal is received (Yes in step 5632), the data of the number of copies by department and size stored in the RAM 103 is cleared in step 5633, and then a clear answer signal is sent to the online controller 30. The process returns after being sent to the center control device 50 via.

表示データ信号が受信されたときは(ステップ5635
においてYes)、ステップ5636において受信され
た表示データを表示用バッファメモリ24に格納した後
リターンする。
When the display data signal is received (step 5635
(Yes), the received display data is stored in the display buffer memory 24 in step 5636, and then the process returns.

(6)センター制御装置50の処理 第35図はセンター制御装置50のメインルーチンを示
す70−チャートである。
(6) Processing of the center control device 50 FIG. 35 is a 70-chart showing the main routine of the center control device 50.

第35図のステップ5700において、まず、センター
制御装置50内の各回路の初期設定を行った後、ステッ
プ5701において当該センター制御装置50内にモデ
ム52が接続されているか否かをチェックし、モデム5
2が接続されていないときは(ステップ5701におい
てNo)ステップ5704に進み、一方、モデム52が
接続されているときは(ステップ5701においてYe
s)、ステップ5702において当該モデム52が初期
化済みであるか否かをチェックする。ここで、モデム5
2が初期化済みであるときは(ステップ5702におい
てYes)ステップ5704に進み、一方、初期化され
ていないときは(ステップ5702においてNo)、ス
テップ5703において当該モデム52を初期化した後
、ステップ5704に進む。
In step 5700 of FIG. 35, first, initial settings are made for each circuit in the center control device 50, and then in step 5701, it is checked whether or not the modem 52 is connected to the center control device 50, and the modem 5
If the modem 2 is not connected (No in step 5701), the process proceeds to step 5704; on the other hand, if the modem 52 is connected (No in step 5701), the process proceeds to step 5704.
s) In step 5702, it is checked whether the modem 52 has been initialized. Here, modem 5
If the modem 2 has been initialized (Yes in step 5702), the process proceeds to step 5704; on the other hand, if it has not been initialized (No in step 5702), the modem 52 is initialized in step 5703, and then the process proceeds to step 5704. Proceed to.

ステップ5704においてリアルタイムクロック304
から現在時刻の読出しを行い、ステップ5705におい
て当該現在時刻が、予めパーソナルコンピュータ60を
用いて設定された上記コピーデータの集計を行う締切時
刻であるか否かをチェックする。締切時刻でないときは
(ステップ5705においてNo)ステップ5707に
進み、一方、締切時刻であるときは(ステップ5705
においてYe s)ステップ5706において詳細後述
する締切処理を行った後、ステラ7’S 707に進む
In step 5704, the real-time clock 304
The current time is read from , and in step 5705 it is checked whether the current time is the deadline time for aggregating the copy data set in advance using the personal computer 60. If it is not the deadline time (No in step 5705), the process advances to step 5707; on the other hand, if it is the deadline time (step 5705)
(Yes) In step 5706, a deadline process, which will be described in detail later, is performed, and then the process proceeds to Stella 7'S 707.

ステップ5707において、オンラインコントローラ3
0かもの着呼があってオンラインコントローラ30と回
線接続されているか否かをチェックし、回線接続されて
いるときは(ステップ5707においてY e ’s 
)ステップ5708において詳細後述するデータ受信処
理を行った後、ステップ5701に戻り、一方、回線接
続されていないときは(ステップ5707においてNo
)そのままステップ5701に戻る。
In step 5707, online controller 3
There are 0 incoming calls, it is checked whether the line is connected to the online controller 30, and if the line is connected (Y e's in step 5707).
) After performing data reception processing, which will be described in detail later, in step 5708, the process returns to step 5701. On the other hand, if the line is not connected (No in step 5707), the process returns to step 5701.
) Return to step 5701.

第36図は締切処理(第35図のステップ5706)を
示すフローチャートである。センター制御装置50は、
ファイル装置61に格納している上記コピーデータを複
写機lO毎に下記の3種類のデータに分けて管理してい
る。
FIG. 36 is a flowchart showing the deadline processing (step 5706 in FIG. 35). The center control device 50 is
The copy data stored in the file device 61 is managed for each copying machine 10 by dividing it into the following three types of data.

(a)締切後データ:センター制御装置50が締切処理
を行った後にコピーデータコントローラ20から送られ
て米た上記各コピーデータの合計のデータである。
(a) Post-deadline data: This is the total data of the above-mentioned copy data sent from the copy data controller 20 after the center control device 50 has performed the deadline process.

(b)締切データ:締切時刻から次の締切時刻までにコ
ピーデータコントローラ20から送られてきた上記各コ
ピーデータの合計のデータである。
(b) Deadline data: This is the total data of the above-mentioned copy data sent from the copy data controller 20 from the deadline time to the next deadline time.

(c)累積データ:過去の上記コピーデータの累計のデ
ータであって、締切処理において前回の締切データが当
該累積データに加算されて更新処理される。
(c) Accumulated data: cumulative data of the past copy data, which is updated by adding the previous deadline data to the accumulated data in the deadline processing.

第36図のステップ5720において、前回の締切デー
タを累積データに加算し、次いで、ステップ5721に
おいて締切後データを締切データに転送した後、最後に
、ステップ5722において締切後データをクリアし、
メインルーチンにリターンする。
In step 5720 of FIG. 36, the previous deadline data is added to the cumulative data, and then, in step 5721, the post-deadline data is transferred to the deadline data, and finally, in step 5722, the post-deadline data is cleared,
Return to main routine.

第37図はデータ受信処理(第35図のステップ570
8)を示すフローチャートである。
FIG. 37 shows data reception processing (step 570 in FIG. 35).
8) is a flowchart showing step 8).

第37図のステップ5730において、まず、時刻要求
信号をオンラインコントローラ30に対して送信した後
オンラインコントローラ30から時刻データを受信する
と、ステップ5731に進み、モード確認信号をオンラ
インコントローラ30に対して送信した後オンラインコ
ントローラ30から通信モードアンサ−信号を受信する
。次いで、ステップ5732においてシリアル番号要求
信号をオンラインコントローラ30を介してコピーデー
タコントローラ20に対して送信し、当該シリアル番号
のデータを受信すると、ステップ5733において、受
信されたシリアル番号が先に受信されたシリアル番号で
あるか否かをチェックすることによって当該オンライン
コントローラ30に接続されているすべてのコピーデー
タコントローラ20から上記コピーデータを受信したか
否かをチェックする。
In step 5730 of FIG. 37, first, a time request signal is sent to the online controller 30, and when time data is received from the online controller 30, the process proceeds to step 5731, and a mode confirmation signal is sent to the online controller 30. After that, a communication mode answer signal is received from the online controller 30. Next, in step 5732, a serial number request signal is transmitted to the copy data controller 20 via the online controller 30, and when the data of the serial number is received, in step 5733, the received serial number is sent to the copy data controller 20 via the online controller 30. By checking whether it is a serial number, it is checked whether the copy data has been received from all the copy data controllers 20 connected to the online controller 30.

当該オンラインコントローラ30に接続されているすべ
てのコピーデータコントローラ20から上記コピーデー
タを受信しているときは(ステップ5733においてY
e s)ステップ5739に進み、一方、すべてのコピ
ーデータコントローラ20から上記コピーデータを受信
していないときは(ステップ5733においてNo)ス
テップ5734に進む。
When the copy data is received from all the copy data controllers 20 connected to the online controller 30 (Y in step 5733),
e s) Proceed to step 5739; on the other hand, if the copy data has not been received from all the copy data controllers 20 (No in step 5733), proceed to step 5734.

ステップ5734.5735、及び5736においてそ
れぞれ、ジャムカウント要求信号、トラブルカウント要
求信号、及び部門別カウント要求信号をオンラインコン
トローラ30を介してコピーデータコントローラ20に
送信して各要求信号に対応するデータを受信した後、ス
テップ5737においてクリア要求信号をオンラインコ
ントロ−ラ30を介してコピーデータコントローラ20
に送信してコピーデータコントローラ20内のRAM1
03に格納されている上記コピーデータをすべてクリア
する。次いで、ステップ5738において回線切換要求
信号をオンラインコントローラ30に対して送信して、
オンラインコントローラ30に対して次のチャンネルの
コピーデータコントローラ20に切換させた後、ステッ
プ5731に戻る。
In steps 5734, 5735, and 5736, a jam count request signal, a trouble count request signal, and a departmental count request signal are sent to the copy data controller 20 via the online controller 30, and data corresponding to each request signal is received. After that, in step 5737, a clear request signal is sent to the copy data controller 20 via the online controller 30.
RAM1 in the copy data controller 20
Clear all the above copy data stored in 03. Next, in step 5738, a line switching request signal is sent to the online controller 30,
After switching the online controller 30 to the copy data controller 20 of the next channel, the process returns to step 5731.

ステップ5739において回線解放要求信号をオンライ
ンコントローラ30に対して送信した後、ステップ57
40においてモデム52に対してオンラインコントロー
ラ30との回線切断処理を行わせる。次いで、ステップ
5741において受信した上記コピーデータを締切後デ
ータに加算して、当該締切後データを更新した後、メイ
ンルーチンにリターンする。
After transmitting the line release request signal to the online controller 30 in step 5739, step 57
At step 40, the modem 52 is caused to perform a line disconnection process with the online controller 30. Next, in step 5741, the received copy data is added to the post-deadline data to update the post-deadline data, and then the process returns to the main routine.

以上の実施例において、電気通信事業者が設置する交換
機3を用いているが、これに限らず、ユーザが設置する
構内交換機などの交換機を用いてもよい。
In the above embodiment, the exchange 3 installed by a telecommunications carrier is used, but the present invention is not limited to this, and an exchange such as a private branch exchange installed by a user may also be used.

以上の実施例において、電話回線4a、4b。In the above embodiments, the telephone lines 4a, 4b.

4cを用いているが、これに限らず、電話回線以外のデ
ジタル回線等の他の種類の通信回線を用いてもよい。
4c is used, but the present invention is not limited to this, and other types of communication lines such as digital lines other than telephone lines may be used.

以上実施例において、第34図(A)に示すように、磁
気カードが挿入されかつコピー動作が許可されていると
き(ステップ5617及び5618においてYes)、
当該磁気カードを排出させるため、ステップ5619に
おいてイジェクトフラグに″ ビ′をセットした後、ス
テップ5620に進み、通信モードアンサ−信号をオン
ラインコントローラ30を介してセンター制御装置50
に対して送信した後リターンしているが、これに限らず
、当該磁気カードを排出させないで、ステップ5620
に進むように構成してもよい。
In the above embodiment, as shown in FIG. 34(A), when a magnetic card is inserted and the copy operation is permitted (Yes in steps 5617 and 5618),
In order to eject the magnetic card, in step 5619 the eject flag is set to ``B'', and then the process proceeds to step 5620, where a communication mode answer signal is sent to the center control device 50 via the online controller 30.
However, the process is not limited to this, and the process in step 5620 is performed without ejecting the magnetic card.
It may be configured to proceed to

[発明の効果] 以上詳述したように本発明によれば、複写機におけるコ
ピー枚数及び上記複写機におけるメンテナンスの情報の
データを通信回線を介して、複数の上記複写機に関する
データを収集する集中管理装置に送信する端末装置を備
えたコピーデータ管理システムにおいて、上記端末装置
は、上記通信回線が空いており、かつデータの通信が許
可されていることが検出されたとき上記データを上記集
中管理装置に送信する送信手段を備えたので、上記デー
タを端末装置から集中管理装置に送信することを判断す
るのは、集中管理装置でなく、端末装置自身が行い、上
記通信回線が空いており、かつデータの通信が許可され
ていることが検出されたとき上記データを上記集中管理
装置に送信する。
[Effects of the Invention] As detailed above, according to the present invention, data regarding the number of copies in a copying machine and maintenance information for the copying machine is collected via a communication line, and data regarding a plurality of copying machines is centrally collected. In a copy data management system including a terminal device that transmits data to a management device, the terminal device centrally manages the data when it is detected that the communication line is free and data communication is permitted. Since a transmitting means for transmitting data to the device is provided, the decision to transmit the data from the terminal device to the central management device is made by the terminal device itself, not by the central management device, and when the communication line is free, And when it is detected that data communication is permitted, the data is transmitted to the central management device.

従って、不必要に通信回線を占有することを防止するこ
とができるという利点がある。
Therefore, there is an advantage that it is possible to prevent communication lines from being unnecessarily occupied.

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

第1図は本発明の一実施例であるコピーデータ管理シス
テムのブロック図、 第2図は第1図のコピーデータコントローラのブロック
図、 第3図は第1図のオンラインコントローラのブロック図
、 第4図(A)は第3図のメインテナンス用スイッチ及び
モニタLEDの正面図、 第4図(B)は第4図(A)のメインテナンス用スイッ
チの操作方法と該スイッチの表示を示す図、 第5図は第1図のセンター制御装置のブロック図、 第6図(A)乃至第6図(C)は第1図のコピーデータ
管理システムにおける通常処理時の通信手順を示す通信
シーケンス図、 第7図及び第8図は第1図のコピーデータ管理システム
における異常処理時の通信手順を示す通信シーケンス図
、 第9図は第1図のコピーデータ管理システムにおける通
信データのフォーマットを示す図、第1O図(A)及び
第10図(B)は第1図のオンラインコントローラのメ
インル−チンを示すフローチャート、 第11図乃至第24図は第1図のオンラインコントロー
ラのサブルーチンを示すフローチャート、第25図は第
1図のコピーデータコントローラのメインルーチンを示
す70−チャート、第26図乃至第33図、並びに第3
4図(A)及び第34図(B)は第1図のコピーデータ
コントローラのサブルーチンを示すフローチャート、第
35図は第1図のセンター制御装置のメインルーチンを
示すフローチャート、 第36図及び第37図は第1図のセンター制御装置のサ
ブルーチンを示すフローチャートである。 l・・・端末システム、2・・・センターシステム、3
・・・交換機、4a、4b、4c・・・電話回線、10
.10a乃至10 d −・・複写機、20.20a乃
至20d・・・コピーデータコントローラ、21,31
甲マイクロコンピユータ、22・・・カードデータ入出
力装置、 23・・・搬送モータ、 30.30a、30b・・・オンラインコントローラ、
33.52・・・変復調装置(モデム)、40.40a
、40b−・・電話機、 50・・・センター制御装置、 60・・・パーソナルコンピュータ、 70・・・CRTディスプレイ装置、 203・・・RAM。 204・・・リアルタイムクロック。 特許出願人 ミノルタカメラ株式会社 代理人 弁理士 青白 葆はか1名 第4図(B) ・・・・・・・・O○   l’1行目第6図(A) 第6図(C) 第7図 フヒtテータコントローラ   オンラインコントロー
ラ   ゼ゛/ターsI+mH1第12図 第15図 第旧図         第19図 第2o図          第21図第25図   
       有281g第29図 第30rgJ            第31図第32
rl!J 第33図 零36ゴ
1 is a block diagram of a copy data management system that is an embodiment of the present invention; FIG. 2 is a block diagram of a copy data controller in FIG. 1; FIG. 3 is a block diagram of an online controller in FIG. 1; Figure 4 (A) is a front view of the maintenance switch and monitor LED in Figure 3, Figure 4 (B) is a diagram showing how to operate the maintenance switch in Figure 4 (A) and the display of the switch; 5 is a block diagram of the center control device of FIG. 1; FIGS. 6(A) to 6(C) are communication sequence diagrams showing communication procedures during normal processing in the copy data management system of FIG. 1; 7 and 8 are communication sequence diagrams showing the communication procedure at the time of abnormality processing in the copy data management system of FIG. 1, and FIG. 9 is a diagram showing the format of communication data in the copy data management system of FIG. 10(A) and 10(B) are flowcharts showing the main routine of the online controller in FIG. 1, FIGS. 11 to 24 are flowcharts showing the subroutines of the online controller in FIG. 1, and FIG. 70-chart showing the main routine of the copy data controller in FIG. 1, FIGS. 26 to 33, and FIG.
4(A) and 34(B) are flowcharts showing the subroutine of the copy data controller in FIG. 1, FIG. 35 is a flowchart showing the main routine of the center control device in FIG. 1, and FIGS. 36 and 37. This figure is a flowchart showing a subroutine of the center control device of FIG. 1. l...terminal system, 2...center system, 3
...Exchange, 4a, 4b, 4c...Telephone line, 10
.. 10a to 10d - Copy machine, 20. 20a to 20d... Copy data controller, 21, 31
Party A microcomputer, 22... Card data input/output device, 23... Conveyance motor, 30. 30a, 30b... Online controller,
33.52...Modulator/demodulator (modem), 40.40a
, 40b--Telephone, 50--Center control device, 60--Personal computer, 70--CRT display device, 203--RAM. 204...Real time clock. Patent applicant: Minolta Camera Co., Ltd. Agent Patent attorney: 1 person, Ao-Haku and Ao-Haka Figure 4 (B) ・・・・・・・・・O○ l'1st line Figure 6 (A) Figure 6 (C) Figure 7 Futator Controller Online Controller Z/Ter sI+mH1 Figure 12 Figure 15 Old Figure Figure 19 Figure 2o Figure 21 Figure 25
Yes 281g Fig. 29 Fig. 30rgJ Fig. 31 Fig. 32
rl! J Figure 33 Zero 36 Go

Claims (3)

【特許請求の範囲】[Claims] (1)複写機におけるコピー枚数及び上記複写機におけ
るメンテナンスの情報のデータを通信回線を介して、複
数の上記複写機に関するデータを収集する集中管理装置
に送信する端末装置を備えたコピーデータ管理システム
において、上記端末装置は、 上記通信回線が空いており、かつデータの通信が許可さ
れていることが検出されたとき上記データを上記集中管
理装置に送信する送信手段を備えたことを特徴とするコ
ピーデータ管理システム。
(1) A copy data management system equipped with a terminal device that transmits data on the number of copies in a copying machine and maintenance information on the copying machine via a communication line to a central management device that collects data regarding a plurality of the copying machines. In the above, the terminal device is characterized in that it is equipped with a transmitting means for transmitting the data to the central management device when it is detected that the communication line is free and data communication is permitted. Copy data management system.
(2)複写機におけるコピー枚数及び上記複写機におけ
るメンテナンスの情報のデータを通信回線を介して、複
数の上記複写機に関するデータを収集する集中管理装置
に送信する端末装置を備えたコピーデータ管理システム
において、上記端末装置は、 現在日時を計時する計時手段と、 予め設定された発信日時を記憶する記憶手段と、上記計
時手段によって計時される現在日時が上記記憶手段によ
って記憶された発信日時に達したときに、上記通信回線
が空いており、かつデータの通信が許可されていること
が検出されたとき上記データを上記集中管理装置に送信
する送信手段とを備えたことを特徴とするコピーデータ
管理システム。
(2) A copy data management system equipped with a terminal device that transmits data on the number of copies in a copying machine and maintenance information on the copying machine via a communication line to a central management device that collects data regarding a plurality of the copying machines. In the terminal device, the terminal device comprises: a clock means for counting the current date and time; a storage means for storing a preset transmission date and time; and transmitting means for transmitting the data to the central management device when it is detected that the communication line is free and data communication is permitted. management system.
(3)上記データの通信が許可されているときは、上記
複写機がコピー中でないときであることを特徴とする請
求項1又は2記載のコピーデータ管理システム。
(3) The copy data management system according to claim 1 or 2, wherein the time when the data communication is permitted is when the copying machine is not copying.
JP1128022A 1989-05-22 1989-05-22 Copy data control system Pending JPH02306259A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP1128022A JPH02306259A (en) 1989-05-22 1989-05-22 Copy data control system
US07/526,900 US5224157A (en) 1989-05-22 1990-05-22 Management system for managing maintenance information of image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1128022A JPH02306259A (en) 1989-05-22 1989-05-22 Copy data control system

Publications (1)

Publication Number Publication Date
JPH02306259A true JPH02306259A (en) 1990-12-19

Family

ID=14974553

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1128022A Pending JPH02306259A (en) 1989-05-22 1989-05-22 Copy data control system

Country Status (1)

Country Link
JP (1) JPH02306259A (en)

Similar Documents

Publication Publication Date Title
US4639889A (en) System for controlling communication between a main control assembly and programmable terminal units
US6006045A (en) Image forming apparatus supervising system
JPH0216077B2 (en)
JPH03288297A (en) Transaction processor
JPH10257212A (en) Image forming device management system
JPH02306259A (en) Copy data control system
JPH0364245A (en) Copy data control system
JPH02306261A (en) Copy data control system
JPH0364243A (en) Copy data control system
JPH02306260A (en) Copy data control system
JPH0364244A (en) Copy data control system
JPH0364770A (en) Copying data control system
JP3597359B2 (en) Image forming apparatus management system and abnormality notification method in data communication apparatus thereof
JP3075739B2 (en) Vending machine management system
JPH07297764A (en) Remote control management system for terminal equipment
JPH0467162A (en) Copying machine managing device
JP2925215B2 (en) Line control system and line control device used in the line control system
JPS6225375A (en) Operation system for automatic teller machine
JP2870019B2 (en) Building group management system
JPS60203062A (en) Facsimile equipment
JPH07162539A (en) Automatic metering system
JP2002044320A (en) Central management unit for copying machine
JPS61221855A (en) Control system for transmission error
JPS61144992A (en) Bidirectional catv
JPH0476560A (en) Copying machine controller and control system