JPH0364244A - Copy data control system - Google Patents

Copy data control system

Info

Publication number
JPH0364244A
JPH0364244A JP1200720A JP20072089A JPH0364244A JP H0364244 A JPH0364244 A JP H0364244A JP 1200720 A JP1200720 A JP 1200720A JP 20072089 A JP20072089 A JP 20072089A JP H0364244 A JPH0364244 A JP H0364244A
Authority
JP
Japan
Prior art keywords
data
copy data
controller
telephone
control device
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
JP1200720A
Other languages
Japanese (ja)
Inventor
Hideo Ito
秀夫 伊藤
Hiroichi Yamada
博一 山田
Kanako Morita
森田 加奈子
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 JP1200720A priority Critical patent/JPH0364244A/en
Priority to US07/526,900 priority patent/US5224157A/en
Publication of JPH0364244A publication Critical patent/JPH0364244A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To enable a telephone and a transmission means to share a single telephone circuit and to effectively use the telephone circuit by providing a switching means to a terminal equipment to selectively connect the telephone and the copy data transmission means to the telephone circuit. CONSTITUTION:A copy data control system is provided with a terminal equipment containing a means which sends the information on the maintenance of a copying machine to an integrated controller which controls the copying machine via a telephone circuit. An on-line controller 30 is connected to one or plural copy data controllers 20 and a telephone 40a or 40b. These telephones 40 are connected to a switchboard 3 via the telephone circuits 4a and 4b in a telephone mode. Simultaneously, the controllers 20 are connected to a center controller 50 in a transmission mode. Thus the communication is controlled between the controllers 20 and 50. In such a constitution, the economical properties can be improved since the telephone circuit of an existing telephone can be used to the copy data control system.

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.

[従来の技術] 従来より、大規模のオフィス等において各所に配置され
た多数の複写機を集中管理するため、内線を利用して個
々の複写機でのコピー枚数や使用者等のコピーデータを
モニターに、例えば部門別のコピー枚数を集計するよう
にしたコピーデータ管理システムが実用に供されている
[Prior Art] 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 record copy 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.

[発明が解決しようとする課題1 上記の如きポーリング方式のコピーデータ管理システム
では、端末装置から集中管理装置を呼び出すことができ
ず、例えば複写機の故障や複写機の累積動作時間や累積
コピー枚数、使用態様等に基づいて判定されるメンテナ
ンス時期の到来を複写機側から発信することは不可能で
あっt;。また、上記端末装置と集中管理装置との間は
内線等の電話回線を介して接続され、上記端末装置のみ
が当該電話回線を使用していた。
[Problem to be Solved by the Invention 1] 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. However, it is impossible for the copying machine to notify the arrival of the maintenance period, which is determined based on usage conditions, etc. Further, the terminal device and the central management device are connected via a telephone line such as an extension line, and only the terminal device uses the telephone line.

本発明の目的は、上記端末装置が接続される電話回線を
電話機と共用することができるとともに、個々の複写機
に設けた端末装置側から集中管理装置を呼び出すことが
でき、従って、コピー枚数や使用者等の情報のみならず
、例えば修理を要する故障の発生やメンテナンス時期の
到来等(以下、コピーデータという。)を送信すること
ができるコピーデータ管理システムを提供することにあ
る。
It is an object of the present invention to make it possible to share the telephone line to which the terminal device is connected with a telephone, and to call the central control device from the terminal device provided in each copying machine. It is an object of the present invention to provide a copy data management system capable of transmitting not only information about users, etc., but also information such as the occurrence of a failure requiring repair or the arrival of maintenance time (hereinafter referred to as copy data).

[課題を解決するための手段] 本願の第1の発明は、複写機におけるメンテナンスに関
する情報を、上記複写機を管理するための集中管理装置
に、電話回線を介して送信する送信手段を含む端末装置
を備えたコピーデータ管理システムにおいて、上記端末
装置は、電話機と、上記電話機と上記送信手段のいずれ
かを選択的に上記電話回線に接続するように切り換える
切換手段とを備えたことを特徴とする。
[Means for Solving the Problems] A first invention of the present application provides a terminal including a transmitting means for transmitting information regarding maintenance in a copying machine to a central control device for managing the copying machine via a telephone line. In the copy data management system equipped with a copy data management system, the terminal device includes a telephone and a switching means for selectively connecting either the telephone or the transmitting means to the telephone line. do.

本願の第2の発明は、複写機におけるメンテナンスに関
する情報を、上記複写機を管理するための集中管理装置
に、電話回線を介して送信する端末装置を備えたコピー
データ管理システムにおいて、上記端末装置は、上記情
報を上記集中管理装置に送信する送信手段と、発呼処理
を行う発呼手段と、データ送信のための所定の条件が成
立した際に上記発呼処理を行い、上記集中管理装置との
通信が可能となった後に上記情報の送信を行うように上
記発呼手段及び上記送信手段を制御する制御手段とを備
えたことを特徴とする。
A second invention of the present application is a copy data management system comprising a terminal device that transmits information regarding maintenance in a copying machine to a central management device for managing the copying machine via a telephone line, wherein the terminal device includes a transmitting means for transmitting the above information to the central management device, a calling means for performing a calling process, and a calling unit that performs the calling process when a predetermined condition for data transmission is satisfied, The apparatus is characterized by comprising a control means for controlling the calling means and the transmitting means so as to transmit the information after communication with the apparatus becomes possible.

[作用] 上記第1の発明のように構成することにより、上記切換
手段は、上記電話機と上記送信手段のいずれかを選択的
に上記電話回線に接続するように切り換える。これによ
って、1本の電話回線を上記電話機と上記送信手段で共
用することができるとともに、上記端末装置の送信手段
は上記コピーデータを上記集中管理装置に送信すること
ができる。
[Function] By configuring as in the first invention, the switching means selectively switches either the telephone set or the transmitting means to be connected to the telephone line. As a result, one telephone line can be shared by the telephone and the transmitting means, and the transmitting means of the terminal device can transmit the copy data to the central management device.

上記第2の発明のように構成することにより、上記制御
手段は、データ送信のための所定の条件が成立した際に
上記発呼処理を行い、上記集中管理装置との通信が可能
となった後に上記情報の送信を行うように上記発呼手段
及び上記送信手段を制御する。
By configuring as in the second invention, the control means performs the call processing when a predetermined condition for data transmission is satisfied, and can communicate with the central management device. The calling means and the transmitting means are controlled so as to transmit the information later.

[実施例] 以下、図面を参照して本発明の一実施例であるコピーデ
ータ管理システムについて下記の項目に分けて説明する
[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 (以下、総称する場合は10と
する。)におけるコピー枚数、ジャム発生回数、及びト
ラブル発生回数等のコピーデータを計数する端末システ
ムlと、端末システムlで計数された各複写機10に関
するコピーデータを集計するセンターシステム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 10). 1.1, and a center system 2 that aggregates the copy data regarding each copying machine 10 counted by the terminal system 1.Each system 1.2 is connected to telephone lines 4a, 4b, 4c, and transmits and receives the copy data.

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

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

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

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

センターシステム2は、センター制御H150と、パー
ソナルコンピュータ60と、CRTデイスプレィ装置7
0とを備える。
The center system 2 includes a center control H150, 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という。)101と、CPUl0I
の制御プログラム及び当該制御プログラムを実行するの
に必要なデータを格納するリードオンリメモリ(以下、
ROMという。)102と、CPUl0Iの制御のため
の7ラグ及び上記コピーデータを格納しCPUl0Iの
ワーキングエリアとして用いられるランダムアクセスメ
モリ(以下、RAMという。)103と、外部装置とデ
ータ通信を行うためパラレル/シリアル変換及びシリア
ル/パラレル変換等の処理を行うシリアル入出力ボート
回路104゜105を備え、各装置101乃至103と
各回路104.105が内部バスB1を介して接続され
る。
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) 101 that controls the operation of the microcomputer 21, and a CPUl0I.
A read-only memory (hereinafter referred to as
It's called ROM. ) 102, a random access memory (hereinafter referred to as RAM) 103 which stores seven lags for controlling the CPUl0I and the above copy data and is used as a working area of the CPUl0I, and a parallel/serial memory for data communication with external devices. It is provided with serial input/output port circuits 104 and 105 that perform processing such as conversion and serial/parallel conversion, and each device 101 to 103 and each circuit 104 to 105 are connected via an internal bus B1.

シリアル入出力ボート回路104には、上記コピーデー
タの送受信及び複写機lOの動作の制御を行うために複
写機lOが接続されるとともに、後述する所定のデータ
を表示するために表示用バッファメモリ24を介してL
ED表示器25が接続される。また、シリアル入出力ボ
ート回路104には、磁気カードが挿入されたことを検
出する挿入センサ(図示せず。)と磁気カードに格納さ
れたデータを読み出すととともに当該磁気カードにデー
タを書き込むための磁気ヘッド(図示せず。)を備えた
カードデータ入出力装置22が接続されるとともに、上
記装置22への上記磁気カードの挿入及び排出を行う搬
送モータ23が接続される。
A copying machine IO is connected to the serial input/output boat circuit 104 in order to send and receive the copy data and control the operation of the copying machine IO, and a display buffer memory 24 is also connected to the serial input/output boat circuit 104 to display predetermined data to be described later. via L
An ED display 25 is connected. The serial input/output boat circuit 104 also includes an insertion sensor (not shown) for detecting insertion of a magnetic card, and an insertion sensor (not shown) for reading data stored in the magnetic card and for writing 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 boat 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: 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)部門カード:ユーザの組織の部門毎にコピー枚数
の集計を行うため、各部門毎に異なるコード(以下、部
門コードという。)が当該部門カードに格納され、該部
門カードをカードデータ入出力装置22内に挿入すると
複写機10のコピー動作が許可される。
(b) Department card: In order to tally the number of copies for each department in the user's organization, a different code for each department (hereinafter referred to as department code) is stored in the department card, and the department card is used as the card data input. When inserted into the output device 22, the copying operation of the copier 10 is permitted.

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

第3図に8いて、オンラインコントローラ30は当該コ
ントローラ30の動作を制御するマイクロコンピュータ
31を備える。マイクロコンピュータ31は、当該マイ
クロコンピュータ31の動作を制御するCPU201と
、CPU201の制御プログラム及び当該制御プログラ
ムを実行するのに必要なデータを格納するROM202
と、CPU201の制御のためのフラグ並びに予め設定
される発信時刻等のデータを格納しCPU201のワー
キングエリアとして用いられるRAM203と、現在時
刻を計時するリアルタイムクロック204と、外部装置
とデータ通信を行うためパラレル/シリアル変換及びシ
リアル/パラレル変換等の処理を行うシリアル入出力ボ
ート回路205と、メインテナンス時の各種設定を行う
ためのメインテナンス用スイッチ206と、センター制
御装置50との回線接続状態と上記メインテナンス時の
設定状態を表示するためのモニタLED207とを備え
、各装置及び回路201乃至207が内部バスB2を介
して接続される。
3, the online controller 30 includes a microcomputer 31 that controls the operation of the controller 30. As shown 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 boat 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 boat 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 boat 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
) 33 called a modem 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個のモニタLEDLII及びL
12と2個のスイッチADJ及びSELが配置される。
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, there are two monitor LEDs LI and L.
12 and two switches ADJ and SEL are arranged.

モニタLEDLL乃至LIOは、センター制御装置50
との回線接続状態を表示するとともに、設定モードにお
いて選択されている項目と桁を表す。また、モニタLE
DLll及びL12は設定モードにおけるモード状態を
表示するとともに、マイクロコンピュータ3■のセルフ
テスト時のエラー状態を表示する。設定スイッチADJ
は、選択スイッチSELによって選択される項目及び数
値を設定するとともに、上記セルフテストの実行をスタ
ートさせるためのスイッチである。選択スイッチSEL
は0″から”9”までの値及び”A″から”F“までの
6種類のセルフテストを選択するためのスイッチである
Monitor LEDLL to LIO are the center control device 50
In addition to displaying the line connection status, it also indicates the item and digit selected in the setting mode. Also, monitor LE
DLll and L12 display the mode state in the setting mode, and also display the error state during the self-test of the microcomputer 3. Setting switch ADJ
is a switch for setting the items and numerical values selected by the selection switch SEL, and for starting execution of the self-test. Selection switch SEL
is a switch for selecting values from 0'' to ``9'' and six types of self-tests from ``A'' 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. Then, by setting the selection switch SEL to an arbitrary value and pressing the setting switch ADJ, the 1 noon digit of the date or the second digit of the telephone number can be set, and the same applies hereafter. In addition, in the column of the operation method in FIG. 4(B), an example is shown in which 14:28 on March 14, 1989 is input.

第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の動作を制御するCPU301j、CPU301
の制御プログラム及び当該制御プログラムを実行するの
に必要なデータを格納するROM302と、CPU30
1の制御のためのフラグ及びデータを格納しCPU30
1のワーキングエリアとして用いられるRAM303と
、現在時刻を計時するリアルタイムクロック304と、
外部装置とデータ通信を行うためパラレル/シリアル変
換及びシリアル/パラレル変換等の処理を行うシリアル
入出力ポート回路305と、コピーデータコントローラ
20から受信される上記コピーデータを格納するための
バブルメモリにてなるファイル装ff161と接続する
ためのインターフェース回路306とを備え、各装置3
01乃至304と回路305.306が内部パスB3を
介して接続される。
The microcomputer 51 includes a CPU 301j and a CPU 301 that control 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. Each device 3 includes an interface circuit 306 for connecting to the file device ff161
01 to 304 and circuits 305 and 306 are connected via internal path B3.

シリアル入出力ポート回路305には、オンラインコン
トローラ30とデータの通信を行うため、NCUを内蔵
したモデム52が接続される。モデム52は、オンライ
ンコントローラ30力)らの発呼時に回線接続の処理を
行い、モデム33と同様に、センター制御装置50のマ
イクロコンピュータ51から出力されるデータを所定の
変調方式で変調して電話回線及び交換機3を介してオン
ラインコントローラ30に送信するとともに、オンライ
ンコントローラ30から受信されるデータを復調してマ
イクロコンピュータ51に出力し、通信の終了時に電話
回線との回線接続を解除する。また、シリアル入出力ポ
ート回路305には、パーソナルコンビス−タロ0とデ
ータの通信を行うために、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 the data output from the microcomputer 51 of the center control device 50 using a predetermined modulation method to transmit the telephone call. The data is transmitted to the online controller 30 via the line and 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 at the end of communication. 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 convenience taro 0.

(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)のステップS1において、オンラインコン
トローラ30は、接続される各コピーデータコントロー
ラ20に対して周期的に接続確認の処理を行う。すなわ
ち、まず、オンラインコントローラ30はチャンネルl
のコピーデータコントローラ20に処理モード要求信号
を送信する。
In step S1 of 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からチャンネル10まで
のコピーデータコントローラ20との接続確認の処理を
行う。
Thereafter, in the same manner, the connection confirmation process with the copy data controller 20 from channel 4 to channel 10 is performed.

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

次いで、ステップS4において、センター制御装置50
は、チャンネル1のコピーデータコントローラ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 1 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に対して処理モード要求信号を送信し、これに応答
してチャンネル1のコピーデータコントローラ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 1, and in response, the copy data controller 20 of channel 1 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 switch to the copy data controller 20 of channel 2.

次いで、ステップ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.
The process for transmitting and receiving the above copy data is performed for 0. 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から
チャンネル1のコピーデータコントローラ20に対して
通信モード要求信号が送信された場合において、該要求
信号の送信後3秒以内に通信モードアンサ−信号を受信
しない場合は、再度通信モード要求信号を送信し、上記
アンサ−信号を待つ。以下同様にして計3回の通信モー
ド要求信号を送信した後、3秒以内に上記アンサ−信号
を受信しない場合は、チャンネルlのコピーデータコン
トローラ20との接続が不可能であると判断して、キャ
ンセル信号をチャンネルlのコピーデータコントローラ
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 1, 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 a total of three times in the same manner, it is determined that connection with the copy data controller 20 of channel I is impossible. , sends a cancellation signal to the copy data controller 20 of channel l, 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からチャン
ネル1Oまでのすべてのコピーデータコントローラ20
と接続が不可能であるときは、回線解放要求信号をオン
ラインコントローラ30に送信し、これに応答してオン
ラインコントローラ30は回線解放アンサ−信号をセン
ター制御装置50に送信する。回線解放アンサ−信号の
受信に応答して、センター制御装置50は、モデム52
に対して回線切断を行わせる。
Furthermore, as shown in FIG. 8, all the copy data controllers 20 from channel 1 to channel 1O
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)コピーデータ管理システムにおける通信データの
7オーマツト 第9図は、当該コピーデータ管理システムにおける通信
データのフォーマットを示す図であり、第9図において
、(a)乃至(d)はコピーデータコントローラ20か
らオンラインコントローラ30を介してセンター制御装
置50に送信されるデータであり、(e)はオンライン
コントローラ30からセンター制御装置50に送信され
るデータである。なお、各データの先頭には、各データ
の内容を示す受信コマンドが配置される。
(3) Seven formats of communication data in the copy data management system Figure 9 is a diagram showing the format 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のシリアル番号、並びに、全コ
ピー枚数のデータから構成される。
(a, ) in FIG. 9 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 10), and the data "" corresponds to the received command. , is composed of a plurality of blocks each consisting of a location code and the number of jam occurrences at that location.

第9図の(C)は箇所別トラブル発生回数データのフォ
ーマットを示しており、当該データは、受信コードと、
それぞれ箇所コードとその箇所におけるトラブル発生回
数からなる複数のブロックから構成される。
(C) in FIG. 9 shows the format of the data on the number of trouble occurrences by location, and the data consists of the reception code,
It is composed of multiple blocks, each consisting of a location code and the number of trouble occurrences at that location.

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

第9図の(e)は時刻データの7オーマツトを示してお
り、当該データは、受信コマンドと、それぞれ2桁の、
0年” 月”日″ ”時″分”秒パの各データから構成
される。
(e) in FIG. 9 shows the 7 format time data, which includes the received command, 2 digits each,
It consists of the following data: year 0, month, day, hour, minute, and second.

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

第1O図(A)において、オンラインコントローラ30
の電源がオンとされ、当該プログラムがスタートすると
、まず、ステップ5100において、オンラインコント
ローラ30内の各回路の初期設定が行われた後、ステッ
プ5lotにおいて設定モードが選択されているか否か
判断される。
In FIG. 1O (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が押下されたとき、当該設
定モードが選択され、ステップ3102へ進む。
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 advances to step 3102.

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

この設定モードフラグは、後述する通信割込処理におい
てコピーデータコントローラ20から設定モードアンサ
−信号を受信したとき、n1″となる。設定モードフラ
グが”O“の場合は、ステップ3109においてタイム
オーバーのチエツクを行う。ここでは、上記設定モード
要求信号を送信した後コピーデータコントローラ20か
ら所定の時間(本実施例においては、3秒である。)以
内に設定モードアンサ−信号が受信されない場合、タイ
ムオーバーとなり、再度ステップ5102においてコピ
ーデータコントローラ20に設定モード要求信号を送信
する。タイムオーバーとなるまでは、当該プログラムフ
ローはステップ5103からステップ5109の間でル
ープし、コピーデータコントローラ20からの上記アン
サ−信号を待機する。設定モードフラグがl11#にな
ると(ステップ3103でYe s)、ステップ510
4において当該設定モードフラグをリセットした後、ス
テップ3105乃至3108においてそれぞれ、現在時
刻設定処理、発信時刻設定処理、定刻発信用電話番号設
定処理、及びアラーム発信用電話番号設定処理の各処理
を行って、ステップ5iloへ進む。なお、ステップ1
05乃至5108の各サブルーチンについては詳細後述
する。以下のサブルーチンについても同様である。
This setting mode flag becomes n1'' when a setting mode answer signal is received from the copy data controller 20 in the communication interrupt processing to be described later.If the setting mode flag is "O", a timeout check is performed in step 3109. Here, if a setting mode answer signal is not received from the copy data controller 20 within a predetermined time (in this embodiment, 3 seconds) after transmitting the setting mode request signal, a timeout occurs. , sends a setting mode request signal to the copy data controller 20 again in step 5102.The program flow loops between steps 5103 and 5109 until the time is over, and the answer signal from the copy data controller 20 is not received. Wait. When the setting mode flag becomes l11# (Yes in step 3103), step 510
After resetting the setting mode flag in step 4, steps 3105 to 3108 perform the current time setting process, call time setting process, fixed call phone number setting process, and alarm call phone number setting process, respectively. , proceed to step 5ilo. In addition, step 1
Each subroutine from 05 to 5108 will be described in detail later. The same applies to the following subroutines.

上記設定モードの処理が終了したとき又はステップ5I
OIにおいて設定モードが選択されていなかったときは
、ステップ5ilo乃至5l12においてそれぞれ、コ
ピーデータコントローラ接続確認処理、モデム接続確認
処理、及び時刻確認処理を行って、ステップ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 5l12, respectively, and the process advances to step 5l13.

ステ7プ5113及び5115においては、定刻発信フ
ラグ及びアラーム発信フラグをチエツクする。ここで、
定刻発信7ラグはステップ5l12の時刻確認処理にお
いて現在時刻が発信時刻に一致したとき#lnとなり、
一方、アラーム発信フラグは後述する通信割込処理でコ
ピーデータコントローラ20からアラーム発信要求信号
を受信したときl″となる。定刻発信7ラグ及びアラー
ム発信フラグがともにsO”であるときステッ7’S 
110に戻る。一方、定刻発信フラグとアラーム発信フ
ラグのいずれかのフラグがHInであるとき、ステップ
5114又は5116において当該7ラグをリセットし
た後、ステップSll・7に進み、センター制御装置5
0と回線接続を行うための来電処理を行い、ステップ5
l18に進む。
In steps 5113 and 5115, the scheduled transmission flag and alarm transmission flag are checked. here,
On-time transmission 7 lag becomes #ln when the current time matches the transmission time in the time confirmation process of step 5l12,
On the other hand, the alarm transmission flag becomes l'' when an alarm transmission request signal is received from the copy data controller 20 in the communication interrupt processing described later. When the scheduled transmission 7 lag and the alarm transmission flag are both sO'', step 7'S is set.
Return to 110. On the other hand, when either the scheduled call flag or the alarm call flag is HIn, after resetting the 7 lags in step 5114 or 5116, the process proceeds to step Sll.7, where the center control device 5
Perform the incoming call processing to establish a line connection with 0, and proceed to step 5.
Proceed to l18.

ステップ5118において、来電7ラグのチエツクを行
う。この来電7ラグは、上記来電処理においてセンター
制御装置50と回線接続されたか否かを示し、該フラグ
が”o”であれば、回線接続できなかったので、ステッ
プ5itoへ戻る。
In step 5118, the incoming call 7 lag is checked. This incoming call 7 lag indicates whether or not a line connection was made to the center control device 50 in the above incoming call process. If the flag is "o", it means that the line connection was not possible, and the process returns to step 5ito.

方、該来電フラグが”l”のときは、センター制御装置
t50と回線接続されているので、ステップ5119に
おいて該来電フラグをリセットした後ステップ5120
に進む。
On the other hand, when the incoming call flag is "l", the line is connected to the center control device t50, so the incoming call flag is reset in step 5119, and then step 5120 is performed.
Proceed to.

ステップ5120において、チャンネルカウンタの計数
値nをn l″にして、ステップ5121へ進む。この
チャンネルカウンタは、複数のコピーデータコントロー
ラ20を順に切り換えてセンター制御装置50とデータ
通信を行うためのカウンタであり、該カウンタの計数値
nはコピーデータコントローラ20のチャンネル番号を
示している。
In step 5120, the count value n of the channel counter is set to n l'', 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. The count value n of the counter indicates the channel number of the copy data controller 20.

次いで、ステップ5121,5124、及び5127に
おいてそれぞれ、モード要求フラグ、切換要求7ラグ、
及び解放要求フラグをチエツクする。これらのフラグは
、通信割込処理でセンター制御装置50からそれぞれ、
モード確認信号、回線切換要求信号、及び回線解放要求
信号を受信したとき、対応するフラグがl″となる。こ
こで、モード要求フラグがlnであるときは、ステップ
5122で当該モード要求フラグをリセットし、ステッ
プ5123においてコピーデータコントローラ接続処理
を行った後、ステップ5121に戻る。また、切換要求
フラグがnl”であるときは、ステップ5125におい
て当該切換要求フラグをリセットし、ステップ5126
においてコピーデータコントローラ切断処理を行った後
、ステップ3121に戻る。さらに、解放要求フラグが
l”であるときは、ステップ5128において当該解放
要求フラグをリセットし、ステップ5129においてコ
ピーデータコントローラ切断処理を行った後、ステップ
5130においてセンター制御装置50に対して回線解
放アンサ−信号を送信し、ステップ5131において接
続されていt;回線を切断してステップ5iloに戻る
Next, in steps 5121, 5124, and 5127, the mode request flag, switching request 7 lag,
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 l''.Here, if the mode request flag is ln, the mode request flag is reset in step 5122. After performing copy data controller connection processing in step 5123, the process returns to step 5121.Furthermore, when the switching request flag is "nl", the switching request flag is reset in step 5125, and the process returns to step 5126.
After performing copy data controller disconnection processing in step 3121, the process returns to step 3121. Further, when the release request flag is l'', the release request flag is reset in step 5128, the copy data controller disconnection process is performed in step 5129, and then a line release answer is sent to the center control device 50 in step 5130. - send a signal and connect in step 5131; disconnect the line and return to step 5ilo;

なお、ステップ5121.5124、及び5127にお
いて、いずれのフラグもOnであるときは、そのままス
テップ5121に戻る。
Note that in steps 5121, 5124, and 5127, if any flag is on, 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図は、コピーデータコントローラ接続確認処理(
第1O図(A)のステップ5IIO)を示すフローチャ
ートである。
Figure 11 shows the copy data controller connection confirmation process (
It is a flowchart which shows step 5IIO) of FIG. 1O(A).

第11図のステップ5150において、まず、オンライ
ンコントローラ30内にマルチプレクサ35が接続され
ているか否かをチエツクし、接続されていれば(ステッ
プ5150でY e s ) N ステップ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, and if it is connected (Yes in step 5150), the count value of the channel counter is determined in step 5151. After setting n to “l”, the process proceeds to step 5152. In step 5152, the copy data controller 20 of channel n is connected (this switch is made), and in step 5153, a processing mode request signal is transmitted to the selected copy data controller 20.

次いで、ステップ5154において、コピーデータコン
トローラ20から処理モードアンサ−信号を受信し処理
モードフラグが11111になっているか否かをチエツ
クする。該処理モードフラグは前述のフラグと同様に、
通信割込処理において該アンサ−信号の受信時に” l
”となる。処理モードフラグが”0″である間は、プロ
グラムフローがステップ5157から5154でループ
し、処理モード要求信号の送信後3秒以上経過しステッ
プ5157においてタイムオーバーとなったときは、ス
テップ5158において所定回数(本実施例においては
、2回)の処理モード要求信号の再送信(以下、リトラ
イという。)を行ったか否かをチエツクする。これは、
送信した処理モード要求信号が何らかの原因でコピーデ
ータコントローラ20が正常に受信できず、処理モード
アンサ−信号を送信できなかった場合を仮定している。
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 or not. The processing mode flag is similar to the above flag,
"l" when receiving the answer signal in communication interrupt processing
”.While the processing mode flag is “0”, the program flow 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 flow loops from step 5157 to 5154. At 5158, it is checked whether the processing mode request signal has been retransmitted (hereinafter referred to as retry) a predetermined number of times (in this embodiment, twice).
It is assumed that the transmitted processing mode request signal cannot be received normally by the copy data controller 20 for some reason, and the processing mode answer signal cannot be transmitted.

上記リトライが所定回数に達していない場合は、ステッ
プ5153に戻って、再度処理モード要求信号の送信処
理から繰り返される。一方、所定回数のりトライを行っ
てもコピーデータコントローラ20から処理モードアン
サ−信号が受信できない場合は、コピーデータコントロ
ーラ20が接続されていないものと判断し、ステップ5
159においてキャンセル信号を当該コピーデータコン
トローラ20に対して送信した後、5160においてチ
ャンネルnのコピーデータコントローラ20の接続状態
を示すチャンネルnの接続フラグをリセ・ノドして、ス
テップ5161に進む。一方、ステップ5160におい
て、処理モードフラグが′″l″であるときは、ステッ
プ3155において該処理モードフラグをリセットして
、ステップ5156においてチャンネルnの接続フラグ
を” 1″′にした後、ステップ5161に進む。
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 processing mode answer signal cannot be received from the copy data controller 20 even after the predetermined number of attempts, it is determined that the copy data controller 20 is not connected, and step 5
After transmitting a cancel signal to the copy data controller 20 in step 159, in step 5160 the connection flag of channel n indicating the connection state of the copy data controller 20 of channel n is reset, and the process proceeds to step 5161. On the other hand, when the processing mode flag is ``1'' in step 5160, the processing mode flag is reset in step 3155, and the connection flag of channel n is set to ``1'' in step 5156, and then step 5161 Proceed to.

次いで、ステップ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.

ステップ5152においてマルチプレクサ35が接続さ
れていないときは、ステップ5163乃至5170にお
いて、上述のステップ5153からステップ5160ま
での処理と同様の接続確認の処理を、1個のコピーデー
タコントローラ20に対シて行った後、メインルーチン
へリターンする。
When the multiplexer 35 is not connected in step 5152, 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図は、モデム接続確認処理(第10図(A)のス
テップ5lll)を示すフローチャートである。
FIG. 12 is a flowchart showing the modem connection confirmation process (step 5lll in 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 or not the modem 33 has been initialized. 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)のステップ5
l12)を示すフローチャートである。
Figure 13 shows the time confirmation process (step 5 in Figure 1O (A)).
112).

第13図のステップ5200において、まず、リアルタ
イムクロック204から現在時刻を読み出した後、ステ
ップ5201において前に読出しt;時刻から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 read t; whether one minute has passed since the time, that is, whether the minute data has changed or not. This is a process to check the transmission time only once per minute.In step 5201, if one minute has not elapsed since the previous output time, 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を用いて予め設定されている発信時刻を読出
し、読出した発信時刻と9ステツプ5200で読出した
現在時刻との比較を行う。比較するデータは、″日″″
曜日″″時゛′分″であり、ステップS 203、ステ
ップ5205、ステップ5207、及びステップ520
9において上記設定された各データが、′不定(Don
’t Care)”であるか否かをチエツクする。設定
されたデータが”不定”であるとき、比較される現在時
刻における対応するデータが何であっても、発信条件を
満足すると判断される。例えば、2日”のデータに所定
の値を設定し、”曜日”のデータを′″不定とすると、
1ケ月に1回だけ発信条件が成立し、また、7日“のデ
ータを”不定”に設定し、”曜日”のデータに所定の値
を設定すると、1週間に1回だけ発信条件が成立する。
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''''
The day of the week is ``hour'', and step S203, step 5205, step 5207, and step 520
In step 9, each data set above is changed to 'undefined (Don
If the set data is "undefined", it is determined that the transmission condition is satisfied no matter what the corresponding data at the current time being compared is. For example, if you set a predetermined value to the data for ``2nd'' and set the data for ``day of the week'' to ``''undefined,
If the call condition is met only once a month, and if the data for the 7th day is set to "indeterminate" and the data for the "day of the week" is set to a predetermined value, the call condition is met only once a week. do.

予め設定された各データが”不定でないときはそれぞれ
、ステップ5204.5206.5208、及び521
0において、現在時刻の対応するデータと一致するか否
かをチエツクし、一致しないときはメインルーチンにリ
ターンする。一方、予め設定された時刻が現在時刻と一
致するときは、ステップ5211において定刻発信モー
ドにするため、足表、発信フラグを′1”にした後メイ
ンルーチンにリターンする。
When each preset data is not indefinite, steps 5204, 5206, 5208 and 521 are performed, respectively.
At 0, 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 coincides with the current time, in step 5211, the call table and call flag are set to '1' to set the scheduled call mode, and then the process returns to the main routine.

第14図はセンター制御装置50との回線接続を行うた
めの来電処理(第10図(A)のステップS 117)
を示すフローチャートである。
FIG. 14 shows a power incoming process for establishing a line connection with the center control device 50 (step S117 in FIG. 10(A)).
It is a flowchart which shows.

第14図のステップ5220において、まず、モデム3
3が初期化されているか否かをチエツクし、初期化され
ていないときは、そのままメインルーチンにリターンす
る。一方、モデム33が初期化されているときは、ステ
ップ5221においてコピーデータコントローラ20が
接続されているか否かをチエツクする。すなわち、上記
接続フラグのチエツクを行う。マルチプレクサ35が接
続されていないときは1個のコピーデータコントローラ
20の接続フラグが0“であるとき、また、マルチプレ
クサ35が接続されているときはすべてのチャンネルの
コピーデータコントローラ20の接続フラグが0”であ
るとき、該コピーデータコントローラ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 flags of the copy data controllers 20 of all channels are 0. ”, 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, it is checked in step 5221 whether the telephone 40 connected to the modem 33 is in use. Here, whether or not the telephone set 40 is in use is determined by a predetermined signal transmitted from the modem 33.

(以下余白) 電話機40が使用中であるときは、ステップ5225に
おいてアラーム発信フラグが1″であるか否かをチエツ
クすることによって、発信モードがアラーム発信モード
又は定刻発信モードであるかを判断する。ここで、アラ
ーム発信モードであるときは、電話機40が未使用状態
となったとき直ちに所定のデータを送信するために、ス
テップ5222に戻って、電話機40が未使用状態とな
るのを待つ。一方、定刻発信モードの場合は、ステップ
8226において電話機40が使用中であるか否かの再
チエツクを所定回数(本実施例では、10回である。)
以上行ったか否かをチエツクし、上記再チエツクを所定
回数以上行っている場合は、メインルーチンにリターン
する。一方、ステップ5226において、上記再チエツ
クが所定回数に達していないときは、ステップ5227
において5分間の時間待ちを行った後、再度ステップ5
222に戻る。これによって、電話機40が使用中にお
いて、緊急にデータ通信を行う必要があるアラーム発信
モードの場合は、電話機40が未使用状態となり電話回
線が空くとすぐに、ステップ5223に進んで、センタ
ー制御装置50に発呼を行うための発呼処理を行い、一
方、定刻発信モードにおいては、5分間待機した後電話
機40が未使用状態であると、ステップ5223に進ん
で発呼処理を行う。
(Left below) When the telephone 40 is in use, it is determined whether the call mode is alarm call mode or scheduled call mode by checking whether the alarm call flag is 1'' in step 5225. Here, when in the alarm transmission mode, in order to transmit predetermined data immediately when the telephone 40 becomes unused, the process returns to step 5222 and waits until the telephone 40 becomes unused. On the other hand, in the case of scheduled call mode, in step 8226, whether or not the telephone set 40 is in use is checked again a predetermined number of times (in this embodiment, it is 10 times).
It is checked whether the above rechecks have been performed or not, and if the rechecks have been performed a predetermined number of times or more, the process returns to the main routine. On the other hand, in step 5226, if the recheck has not reached the predetermined number of times, step 5227
After waiting for 5 minutes, repeat step 5.
Return to 222. 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. On the other hand, in the scheduled call mode, if the telephone 40 is not in use after waiting for 5 minutes, the process proceeds to step 5223 and performs the call processing.

ステップ5223における発呼処理の後、ステップ52
24において、センター制御装置50と回線接続されて
いるか否かを示す来電フラグが”1”であるか否かをチ
エツクし、1nであるときはメインルーチンにリターン
し、一方、該フラグが0″であるときは上述のステップ
5226に進む。この来電7ラグは、後述する発呼処理
においてセンター制御装置50と正常に回線接続された
ときに、′ l″となる。
After the call processing in step 5223, step 52
24, it is checked whether the incoming call flag indicating whether the line is connected to the center control device 50 is "1", and if it is 1n, the process returns to the main routine; '', the process proceeds to step 5226 described above.The incoming call 7 lag becomes ``l'' when the line is normally connected to the center control device 50 in the call origination process to be described later.

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

第15図のステップ5240において、まず、アラーム
発信7ラグをチエツクすることによって発信モードが定
刻発信モードであるか又はアラーム発信モードであるを
チエツクし、定刻発信モードであるときは、ステップ5
241においてモデム33内のダイヤラーに対して定刻
発信用電話番号をダイヤルさせた後、ステップ5243
に進む。
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 7 lag, and if it is the scheduled transmission mode, step 5
After having the dialer in the modem 33 dial the telephone number for scheduled outgoing calls in step 5241, the process proceeds to step 5243.
Proceed to.

一方、ステップ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
と正常に回線接続されるまで、すなわち来電されるまで
は、プログラムラフローがステップ5245からステッ
プ5234にループし、上記ダイヤル後所定の時間だけ
経過したとき、すなわちタイムオーバーしたとき(ステ
ップ5245においてYes)、ステップ5246にお
いて電話回線に対して回線切断の処理を行った後、ステ
ップ5247において来電フラグをリセットして、メイ
ンルーチンにリターンする。一方、ステップ5243に
おいてセンター制御装置50と正常に回線接続されたと
きは(ステップ5243においてYes)、ステップ5
244において来電フラグを°゛1″にした後、メイン
ルーチンにリターンする。
In step 5243, after the above-mentioned dialing, a predetermined response signal is received from the center control device 50, and the modem 33 is caused to check whether or not the line connection with the center control device 50 has been normally established. Here, the center control device 50
The program flow loops from step 5245 to step 5234 until the line is connected normally, that is, until the call arrives, and when a predetermined time has elapsed after the above dialing, that is, when the time is over (Yes in step 5245) After performing line disconnection processing on the telephone line in step 5246, the incoming call flag is reset in step 5247, and the process returns to the main routine. On the other hand, when the line is normally connected to the center control device 50 in step 5243 (Yes in step 5243), step 5
After setting the incoming call flag to '1' in step 244, the process returns to the main routine.

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

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

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

一方、ステップ5264において通信モードフラグが”
0″であるときは上記アンサ−信号を受信していないの
で、ステップ5267に進み、上記通信モード要求信号
の送信後所定の時間(本実施例においては、3秒である
。)が経過しているか否か、すなわちタイムオーバーし
ているか否かをチエツクする。タイムオーバーしていな
いときは、ステップ5264に進み、通信モードフラグ
がIHになるかもしくはタイムオーバーするかまで、プ
ログラムフローはステップ8264からステップ526
7の間でループする。
On the other hand, in step 5264, 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. If the time has not exceeded, the program flow proceeds from step 8264 to step 526 until the communication mode flag becomes IH or the time has expired.
Loops between 7.

ステップ5267においてタイムオーバーとなったとき
は、ステップ5268において、通信モード要求信号の
再送信回数が所定の回数(本実施例においては、2回で
ある。)以上であるか否かをチエツクし、所定の回数を
越えていなければ、ステップ5263に進んで通信モー
ド要求信号を再び送信する。一方、所定の回数を越えて
いるときは、ステップ5269に進み、キャンセル信号
をコピーデータコントローラ20に送信した後、ステッ
プ5270に進む。
When the time has expired in step 5267, it is checked in step 5268 whether or not the number of retransmissions of the communication mode request signal is equal to or greater than 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がlO”以下であるときステップ3261に戻る。一
方、該計数値nが”11”であるときは、すべてのコピ
ーデータコントローラ20について接続処理を行っt;
ので、ステップ5272において該計数値nをInにし
た後、ステップ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", and when the count value n is less than lO'', step 3261 On the other hand, when the count value n is "11", connection processing is performed for all copy data controllers 20;
Therefore, after setting the count value n to In in step 5272, the process returns to step S261.

一方、ステップ5260においてマルチプレクサ35が
接続されていないときは、ステップ5273からステッ
プ5279までの処理において、1個のコピーデータコ
ントローラ20に対して、上述のステップ8263から
ステップ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 from step 8263 to step 5269 described above is performed for one 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が接続されているか否かをチエツクし、接続
されていればステップ5301に進む。ステップ530
1において、処理モード要求信号をチャンネルnのコピ
ーデータコントローラ20に対して送信した後、ステッ
プ5302において、処理モードアンサ−信号が受信さ
れたか否かを示す処理モードフラグが”l”であるか否
かをチエツクする。ステップ5302において、処理モ
ードフラグが”1”であるときは、ステップ5303に
進み、−当該処理モード7ラグをリセットした後、ステ
ップ5304において回線切換アンサ−信号をセンター
制御装置50に対して送信し、ステップ3307に進む
At step 5300 in FIG. 17, it is first checked whether the multiplexer 35 is connected, and if it is connected, the process advances to step 5301. 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 the processing mode flag indicating whether a processing mode answer signal has been received is "l". Check. If the processing mode flag is "1" in step 5302, the process advances to step 5303, and after resetting the processing mode 7 lag, a line switching answer signal is sent to the center control device 50 in step 5304. , proceed to step 3307.

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

ステップ5305においてタイムオーバーしているとき
は、ステップ5306において上記処理モード要求信号
を所定回数(本実施例では、2回である。)以上再送信
したか否かが判断され、所定回数以上再送信していない
ときは上記処理モード要求信号を再送信するりトライの
ためステップ5301に進む。一方、ステップ5306
において上記処理モード要求信号を所定回数以上再送信
したと判断したときは、ステップ5307において上記
チャンネルカウンタの計数値nに1を加算した後、ステ
ップ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
If it is determined in step 5307 that the processing mode request signal has been retransmitted a predetermined number of times or more, 1 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 count value n is not '11' in step 5308, the process returns to the main routine, and on the other hand,
When the count value n is 11'', the count value n is set to 1'' in step 5309, and then the process returns to the main routine.

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

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

第18図のステップ5320において、まず、現在時刻
のデータを1桁ずつ入力するときにその桁を示すポジシ
ョンカウンタの計数値PO3をIHにセットする。次い
で、ステップ5321において、設定スイッチADJが
押下されるのを待ち、押下されると、ステップ5322
において現在時刻の1桁分のデータを選択スイッチSE
Lの設定値を入力した後、ステップ5323において該
入力されたデータを、RAM230内に格納されている
現在時刻データにおける上記ポジションカウンタの計数
値POSに対応した桁に設定し、上記入力されたデータ
に基づいてリアルタイムクロック204における上記対
応する桁のデータの書き換え処理を行う。次いで、スイ
ッチ5324において上記設定された時刻のデータをデ
ータコントローラ20の表示器25に表示するため、上
記入力されたデータを送信し、ステップ5325におい
てポジションカウンタの計数値POSに1を加算した後
、ステップ5326において該計数値PO5が11″で
ある否か判断され、”11”であるときそのままリター
ンし、一方、′lO”以下であるときはステップ532
1に戻る。
In step 5320 of FIG. 18, first, when data of the current time is inputted one digit at a time, the count value PO3 of the position counter indicating the digit is set in IH. Next, in step 5321, wait for the setting switch ADJ to be pressed, and when it is pressed, step 5322
Select switch SE to select one digit of current time data.
After inputting the set value of L, in step 5323, the input data is set to a digit corresponding to the count value POS of the position counter in the current time data stored in the RAM 230, and the input data is Based on this, the data of the corresponding digit in the real-time clock 204 is rewritten. Next, in order to display the data at the set time on the display 25 of the data controller 20, the switch 5324 transmits the input data, and in step 5325, after adding 1 to the count value POS of the position counter, In step 5326, it is determined whether or not the counted value PO5 is 11'', and if it is ``11'', the process returns as is; on the other hand, if it is less than ``lO'', step 532
Return to 1.

第19図乃至第21図はそれぞれ、発信時刻設定処理(
第1O図(A)のステップS I O6)、定刻発信用
電話番号設定処理(第1O図(A)のステップ5107
)、及びアラーム発信用電話番号設定処理(第1O図(
A)のステップ3108)を示すフローチャートであり
、これらの各処理においては第18図の現在時刻設定処
理と同様に、発信時刻、定刻発信用電話番号、及びアラ
ーム発信用電話番号が設定される。なお、第20図のス
テップ5366及び第21図のステップ5386におい
てはそれぞれ、ポジションカウンタの計数値PO3が”
17”であるか否かを判断する。
FIGS. 19 to 21 respectively show the outgoing time setting process (
Step SI O6) in Figure 1O (A), telephone number setting process for scheduled call (Step 5107 in Figure 1O (A)
), and alarm dialing telephone number setting process (Figure 1O (
This is a flowchart showing step 3108) of A), and in each of these processes, a calling time, a telephone number for scheduled calling, and a telephone number for alarm calling are set in the same way as the current time setting process of FIG. 18. Note that in step 5366 of FIG. 20 and step 5386 of FIG. 21, the count value PO3 of the position counter is "
17” 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において、まず、該割込処
理で使用するレジスタ等に格納されているデータを一時
的に退避させた後、ステップ5401において例えばパ
リティエラー又は設定されていないデータの受信等の通
信エラーが発生しているか否かをチエツクし、該通信エ
ラーがあるときはステップ5402において発生してい
る通信エラーに対して所定のエラー処理を行った後、ス
テップ5409に進む。一方、ステップ5401におい
て通信エラーが発生していないときは、ステップ540
3において受信したデータの解析処理を行った後、ステ
ップ5404及びステップ5406において、受信した
データが、コピーデータコントローラ20とセンター制
御装置50との間で送受信されオンラインコントローラ
30が関与しないスルーデータであるか、コピーデータ
コントローラ20から発信されたデータであるか、もし
くはセンター制御装置50から発信されたデータである
かを判断する。
In step 5400 of FIG. 22, first, data stored in a register etc. used in the interrupt processing is temporarily saved, and then in step 5401, for example, if 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 5402, and then the process proceeds to step 5409. On the other hand, if no communication error has occurred in step 5401, step 540
After analyzing the received data in step 3, in step 5404 and step 5406, the received data is through data that is transmitted and received between the copy data controller 20 and the center control device 50 and the online controller 30 is not involved. , the data transmitted from the copy data controller 20 , or the data transmitted from the center control device 50 .

受信したデータが上記スルーデータであるときは(ステ
ップ3404においてYes)、受信したデータを発信
元とは異なる装置(コピーデータコントローラ20から
送信されたデータについてはセンター制御装置50へ、
一方、センター制御装置50から送信されたデータにつ
いてはコピーデータコントローラ20へ)に転送した後
、ステップ5409に進む。また、受信したデータが上
記スルーデータではなくセンター制御装置50から発信
されたデータであるときは(ステップ5406において
Yes)、ステップ5407において該受信したデータ
についての処理(以下、データ処理Aという。)を行っ
た後、ステップ5409に進む。さらに、受信したデー
タが上記スルーデータでなくコピーデータコントローラ
20から発信されたデータであるときは(ステップ54
06においてNO)、ステップ3408において該受信
したデータについての処理(以下、データ処理日という
。)を行った後、ステップ5409に進む。
When the received data is the above-mentioned through data (Yes in step 3404), the received data is sent to a device different from the source (for data sent from the copy data controller 20, to 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 proceeds to step 5409. Furthermore, if the received data is not the through data but the data sent from the center control device 50 (Yes in step 5406), the received data is processed in step 5407 (hereinafter referred to as data processing A). After performing this, the process advances to step 5409. Furthermore, if the received data is not the through data but the data transmitted from the copy data controller 20 (step 54
06), the received data is processed in step 3408 (hereinafter referred to as data processing day), and then the process proceeds 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図のステップ5407
)を示すフローチャートである。この処理は、上述のよ
うにセンター制御装置50から発信されたデータについ
ての処理であり、該データとして、時刻データ要求信号
、回線切換要求信号、モード確認信号、並びに、回線解
放要求信号がある。
FIG. 23 shows data processing A (step 5407 in FIG. 22).
) 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)、ス
テップS421においてリアルタイムクロック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. . If 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 S421, the current time data is transmitted to the center control device 50, and then the process returns.

また、受信したデータが回線切換要求信号であるときは
(ステップ5422においてYes)、ステップ542
3において切換要求フラグにn1″をセットした後、リ
ターンする。さらに、受信したデータがモード確認信号
であるときは(ステップ5424においてY e s 
) 、ステップ−8425においてモード確認フラグに
″ 1″をセットした後、リターンする。まt;さらに
、受信したデータが回線解放要求信号であるときは(ス
テップ5426においてYes)、ステップ5427に
おいて解放要求フラグに1′をセットした後リターンす
る。一方、受信したデータが時刻データ要求信号、回線
切換要求信号、モード確認信号、及び回線解放要求信号
のいずれでもない場合(ステップ5420,5422.
5424、及び5426においてNo)、そのままリタ
ーンする。
Further, if the received data is a line switching request signal (Yes in step 5422), step 542
After setting the switching request flag to n1'' in Step 3, the process returns.Furthermore, if the received data is a mode confirmation signal (Yes in Step 5424), the process returns.
), the mode confirmation flag is set to "1" in step -8425, and then the process returns. Further, if the received data is a line release request signal (Yes in step 5426), the release request flag is set to 1' in step 5427, and then the process returns. On the other hand, if the received data is neither a time data request signal, a line switching request signal, a mode confirmation signal, nor a line release request signal (steps 5420, 5422.
5424 and 5426), return as is.

第24図はデータ処理日(第22図のステツブS 40
8)を示す70−チャートである。この処理は、上述の
ようにコピーデータコントローラ20から発信されたデ
ータについての処理であり、該データとして、処理モー
ドアンサ−信号、通信モードアンサ−信号、設定モード
アンサ−信号、及びアラーム発信要求信号がある。
Figure 24 shows the date of data processing (Step S 40 in Figure 22).
8) is a 70-chart showing. 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に8いてそれぞれ
、受信したデータが処理モードアンサ−信号、通信モー
ドアンサ−信号、設定モードアンサ−信号、及びアラー
ム発信要求信号であるか否かを判断する。受信したデー
タが処理モードアンサ−信号であるときは(ステップ5
440においてYes)、ステップ5441において処
理モードフラグに”l”をセットした後、リターンする
。また、受信したデータが通信モードアンサ−信号であ
るときは(ステップ5442においてYe s) 、ス
テップ5443において通信モードフラグに”l”をセ
ットした後、リターンする。
The data received at steps 5440, 5442, 5444, and 5446 in FIG. 24 are a processing mode answer signal, a communication mode answer signal, a setting mode answer signal, and an alarm transmission request signal, respectively. Determine whether or not. If the received data is a processing mode answer signal (step 5)
(Yes in step 440), the processing mode flag is set to "l" in step 5441, and then the process returns. If the received data is a communication mode answer signal (Yes in step 5442), the communication mode flag is set to "l" in step 5443, and then the process returns.

さらに、受信したデータが設定モードアンサ−信号であ
るときは(ステップ5444においてYeS)、ステッ
プ5445において設定モード7ラグに′″ l”をセ
ットした後、リターンする。またさらに、受信したデー
タがアラーム発信要求信号であるときは(ステップ54
46においてYes)、ステップ5447においてアラ
ーム発信フラグに′1′をセットした後、リターンする
。一方、受信したデータが上記各アンサ−信号及びアラ
ーム発信要求信号のいずれでもない場合(ステップ54
40%5442.5444、及びS 446 i:おい
てNo) 、そのままリターンする。
Further, if the received data is a setting mode answer signal (Yes in step 5444), the setting mode 7 lag is set to ``1'' in step 5445, and then the process returns. Furthermore, if the received data is an alarm transmission request signal (step 54
(Yes in step 46), the alarm transmission flag is set to '1' 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 54
40% 5442.5444, and S 446 i: No), 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の状態(上述のように、複写機lOの電源のオ
ン・オフ、コピー中、複写機IOにおけるジャム発生、
トラブル発生、コピーされた用紙が排出されコピー動作
が完了したこと等である。)を示す信号を複写機10か
ら入力し、当該信号に関するデータをRAM103に格
納する。次いで、ステップ5502乃至5505におい
てそれぞれ、詳細後述する表示処理、カードリード/ラ
イト処理、カウント処理、及び通信処理の各処理を行っ
た後、ステップS501に戻る。
In FIG. 25, first, the copy data controller 3
When the power of the copy data controller 30 is turned on, the processing of the copy data controller 30 is started, and step 5500! 2, after performing initial settings for each circuit in the copy data controller 30, in step 5501, the state of the copying machine IO (as described above, power on/off of the copying machine IO, copying in progress, copying Occurrence of jam in machine IO,
For example, a trouble has occurred, the copied paper has been ejected, and the copying operation has been completed. ) is input from the copying machine 10, and data related to the signal is stored in the RAM 103. Next, in steps 5502 to 5505, display processing, card read/write processing, count processing, and communication processing, which will be described in detail later, are performed, respectively, and then the process returns to step S501.

第26図は表示処理(第25図のステップ5502)を
示すフローチャートである。
FIG. 26 is a flowchart showing the display process (step 5502 in FIG. 25).

第26図のステップ5510.5512.5514.5
516.5518.5520においてそれぞれ、複写機
lOの電源がオフとなっているか否か、通信モードに設
定されているか否か、設定モードに設定されているか否
か、集計カードがカードデータ入出力装置22に挿入さ
れているか否か、部門カードがカードデータ入出力装置
22に挿入されているか否か、磁気カードがカードデー
タ入出力装置22に挿入されているか否かを判断する。
Steps 5510.5512.5514.5 in FIG.
516, 5518, and 5520, respectively, whether the copier IO is turned 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においてYes)、ステップ5513に
おいて’ONL I NE’のデータを表示用バッファ
メモリ24に出力して当該データをLED表示器25に
表示させた後、メインルーチンにリターンする。設定モ
ードが設定されているとき(ステップ5514において
Yes)、ステップ5515において表示用バッファメ
モリ24に格納されているデータをLED表示器25に
表示させた後、メインルーチンにリターンする。集計カ
ードがカードデータ入出力装置22に挿入されていると
き(ステップ5516においてYes)、ステップ55
17においてコピーデータコントローラ20内のRAM
103に格納されている上記コピーデータを順次LED
表示器25に表示させた後、メインルーチンにリターン
する。部門カードがカードデータ入出力装置22に挿入
されているときは(ステップ5518においてYe s
) 、ステップ5519において部門コード及び当該部
門のコピー枚数をLED表示器25に表示させた後、メ
インルーチンにリターンする。磁気カードがカードデー
タ入出力装置1122に挿入されていないときは(ステ
ップ5520においてYes)、ステップ5521にお
いて”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), in step 5513 the 'ONL I NE' data is output to the display buffer memory 24 and the data is displayed on the LED display 25, and then the main routine is executed. Return to. When the setting mode is set (Yes in step 5514), the data stored in the display buffer memory 24 is displayed on the LED display 25 in step 5515, 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 55
At 17, the RAM in the copy data controller 20
The above copy data stored in 103 is sequentially displayed on the LED.
After displaying on the display 25, the process returns to the main routine. If the department card is inserted into the card data input/output device 22 (Yes in step 5518)
), the department code and the number of copies for the department are displayed on the LED display 25 in step 5519, and then the process returns to the main routine. If the magnetic card is not inserted into the card data input/output device 1122 (Yes in step 5520), the data "CARD" is displayed on the LED display 25 in step 5521, 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に挿入されているか否かを検出する挿
入センサー(図示せず。)がオンとなっているか否か、
磁気カードに格納されているデータの読出しが完了した
か否か、磁気カードの排出を指令するイジェクトスイッ
チ(図示せず。)がオンとなっているか否か、並びに、
イジェクトフラグが1”であるか否かをチエツクする。
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 1".

挿入センサーがオンであるとき(ステップ5530にお
いてYes)、ステップ5531において詳細後述する
カード挿入処理を行った後、メインルーチンにリターン
する。磁気カードに格納されているデータの読出しが完
了しているとき(ステップ5532においてY e s
 ) 、ステップ5533において詳細後述するリード
完了処理を行っt;後、メインルーチンにリターンする
。イジェクトスイッチがオンとなっているとき(ステッ
プ5534においてYes)、ステップ8536におい
て詳m後述するイジェクト処理を行った後、メインルー
チンにリターンする。イジェクトフラグが”1″′であ
るとき(ステップ5537においてYe s)、ステッ
プ5535においてイジェクトフラグをリセットした後
、ステップ3536においてイジェクト処理を行って、
メインルーチンにリターンする。一方、イジェクトフラ
グが11011であるとき(ステップS 5371こお
いてNo)、ステップ5538において、挿入センサー
がオフとなっているかもしくはイジェクトタイマーが所
定の時間を計時したかをチエツクすることによって、磁
気カードの排出が完了しているか否かをチエツクし、磁
気カードの排出が完了していないときは(ステップ55
38においてNo)そのままメインルーチンにリターン
し、一方、磁気カードの排出が完了しているときは(ス
テップ5538においてY e s ) 、ステップ5
539において詳細後述する排出完了処理を行った後、
メインルーチンにリターンする。
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)
), in step 5533, a read completion process, which will be described in detail later, is carried out; after that, the process returns to the main routine. When the eject switch is on (Yes in step 5534), eject processing, which will be described in detail later, is performed in step 8536, and then the process returns to the main routine. When the eject flag is "1" (Yes in step 5537), the eject flag is reset in step 5535, and then the eject process is performed in step 3536,
Return to main routine. On the other hand, when the eject flag is 11011 (No in step S5371), the magnetic card is If ejection of the magnetic card is not completed, check whether ejection of the magnetic card is completed (step 55).
If the ejection of the magnetic card has been completed (No in step 5538), the process returns to the main routine directly (No in step 5538).
After performing the ejection completion process described in detail later in 539,
Return to main routine.

第28図はカード挿入処理(第27図のステップ553
1)を示す70−チャートである。
Figure 28 shows the card insertion process (step 553 in Figure 27).
It is a 70-chart showing 1).

第28図のステップ5550におシ1て、まず、搬送モ
ータ23を磁気カードの挿入方向(CW回転方向)に回
転させ、ステップ3551においてカードデータ入出力
装置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 3551, the magnetic head in the card data input/output device 22 is set to read mode. After reading out the data stored in the magnetic card, the data is stored in RAMIO3, and in step 5552, a read timer is started to measure the reading time of the data stored in the magnetic card, and the process returns.

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

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

次いで、ステップ5562において、読み出したデータ
にエラーがあるか否かをチエツクし、エラーがある場合
は(ステップ5562においてNo)ステップ5566
においてイジェクト処理を行った後リターンする。一方
、読出したデータにエラーがない場合は(ステップ55
62においてYeS)、ステップ5563において当該
磁気カードが部門カードであるか否かをチエツクし、部
門カードであるときはぐステップ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
Step 5563 checks 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にお
いて複写機10に対してコピー動作を禁止した後、リタ
ーンする。
On the other hand, if the magnetic card is not a department card (No in step 5563), the process prohibits the copying machine 10 from copying in step 5565, 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において、まず、複写機l
Oに対してコピー動作を禁止し、ステップ5571i:
おいて搬送モータ23を磁気カードの排出方向(CCW
回転方向)に回転させた後、ステップ5572において
磁気カードの排出時間を計時するイジェクトタイマーの
計時をスタートさせ、リターンする。
In step 5570 of FIG. 30, first, the copying machine l
Prohibit copy operation for O, step 5571i:
the transport motor 23 in the magnetic card ejection direction (CCW).
Then, in step 5572, an eject timer that measures the ejection time of the magnetic card is started, and the process returns.

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

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

複写機10において1枚のコピー動作が完了したときは
(ステップ5590においてYes)、ステップ559
1において現在挿入されている部門カードの部門に対応
しかつコピー動作を行ったコピー用紙のサイズに対応す
るコピーカウンタをインクリメントした後、メインルー
チンにリターンする。また、複写機10においてジャム
が発生したときは(ステップ5592においてYes)
、ステップ5593において発生箇所に対応するジャム
カウンタをインクリメントした後、メインルーチンにリ
ターンする。さらに、複写機lOにおいてトラブルが発
生したときは、ステップ5595において発生箇所に対
応するトラブルカウンタをインクリメントし、ステップ
5596においてオンラインコントローラ30に対して
アラーム発信要求信号を送信した後、メインルーチンに
リターンする。
When the copying operation for one sheet is completed in the copying machine 10 (Yes in step 5590), step 559
After incrementing the 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 in step 1, the process returns to the main routine. Also, when a jam occurs in the copying machine 10 (Yes in step 5592)
In step 5593, the jam counter corresponding to the location where the jam occurred is incremented, and then 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)を示すフローチャ
ートである。
! FIG. 33 is a flowchart showing communication processing in the copy data controller 20 (step 5505 in FIG. 25).

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

第34図(A>及び(B)はコマンド解析処理(第33
図のステップ5602)を示すフローチャートである。
Figure 34 (A> and (B)) shows the command analysis process (33
12 is a flowchart showing step 5602) in the figure.

第34図(A)及び(B)のステップ5610.561
2.5614.5615.5621,5624.562
6.5628.5630SS632、及び5635にお
いてそれぞれ、受信されたデータが、モード確認信号、
キャンセル信号、処理モード要求信号、通信モード要求
信号、設定モード要求信号、シリアル番号要求信号、ジ
ャムカウント要求信号、トラブルカウント要求信号、部
門別カウント要求信号、カウントクリア要求信号、表示
データ信号であるか否かをチエツクする。ここで、各ス
テップにおいていずれの信号でもない場合は、そのまま
リターンする。
Steps 5610.561 in Figures 34(A) and (B)
2.5614.5615.5621,5624.562
6.5628.5630SS632 and 5635, respectively, the received data is a mode confirmation signal,
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に対して送信した後リタ
ーンし、また通信モードであるときはステップ5620
において通信モードアンサ−信号をオンラインコントロ
ーラ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.
The process returns after sending 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 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)、ステップ56
17及び5618においてそれぞれ、磁気カードがカー
ドデータ入出力装置22に挿入されているか否か、並び
に複写機10においてコピー動作が許可されているか否
かをチエツクする。ここで、磁気カードが挿入されかつ
コピー動作が許可されているときはぐステップ5617
及び5618においてYes)、当該磁気カードを排出
させるため、ステップ5619においてイジェクトフラ
グに11111をセットした後、ステップ5620に進
み、通信モードアンサ−信号をオンラインコントローラ
30を介してセンター制御装置50に対して送信した後
リターンする。一方、磁気カードが挿入されていないと
き(ステップ5617においてNo)もしくは磁気カー
ドが挿入されていてもコピー動作が許可されていないと
きは(ステップ5617においてYes及びステップ5
618においてNo)、そのままステップ5620に進
み、通信モードアンサ−信号をオンラインコントローラ
30を介してセンター制御装置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 it is copying (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 56
At steps 17 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 10, respectively. Here, if a magnetic card is inserted and copy operation is permitted, step 5617
and Yes in 5618), in order to eject the magnetic card, the eject flag is set to 11111 in step 5619, 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. Return after sending. 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 5
If No at 618), the process directly proceeds to step 5620, transmits a communication mode answer signal to the center control device 50 via the online controller 30, and then returns.

設定モード要求信号が受信されたときは(ステップ56
21にむいてYes)、ステップ5622において、例
えば部門カードが挿入されずもしくは複写機IOにおい
てジャム又はトラブルが発生し、複写機10がコピー動
作を禁止され゛ているか否かをチエツクし、コピー動作
を禁止されていないときは(ステップ5622において
No)ステップ5613に進み、処理モードアンサ−信
号をオンラインコントローラ30を介してセンター制御
装置50に対して送信した後リターンする。一方、コピ
ー動作を禁止されているときは(ステップ5622にお
いてYe s) 、ステップ5623において設定モー
ドアンサ−信号をオンラインコントローラ30を介して
センター制御装置50に対して送信した後リターンする
When the setting mode request signal is received (step 56
21), in step 5622, it is checked whether the copying machine 10 is prohibited from copying because, for example, the department card has not been inserted or a jam or trouble has occurred in the copying machine IO, and the copying operation is performed. If it is not prohibited (No in step 5622), the process proceeds to step 5613, and returns after transmitting a processing mode answer signal to the center control device 50 via the online controller 30. 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図(1’) (a) 
(F)7オーマツトでオンラインコントローラ30を介
してセンター制御装置50に対して送信した後リターン
する。
When the serial number request signal is received Step 5
624), and in step 5625, the serial number and total number of copies of the copy data controller 20 are input as shown in FIG. 9 (1') (a).
(F) 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を介して
センター制御装置50に対して送信した後リターンする
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 sunny place is stored as shown in FIG. 9(b).
After transmitting the data to the center control device 50 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 in (C) of FIG.
) format to the center control device 50 via the online controller 30, and then 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 is sent.
After transmitting the signal to the center control device 50 via the online controller 30, the process returns.

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

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

第35図のステップ5700において、まず、センター
制御装置50内の各回路の初期設定を行った後、ステッ
プS701において当該センター制御装置50内にモデ
ム52が接続されているか否かをチエツクし、モデム5
2が接続されていないときは(ステップ5701におい
てNo)ステップ5704に進み、一方、モデム52が
接続されているときは(ステップ5701においてYe
s)、ステップ5702において当該モデム52が初期
化済みであるか否かをチエツクする。ここで、モデム5
2が初期化済みであるときは(ステップ5702におい
てYe s)ステップS 704 ニ進み、一方、初期
化されていないときは(ステップ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 S701, it is checked whether or not the modem 52 is connected to the center control device 50, and the modem 52 is connected to the center control device 50. 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
2 has been initialized (Yes in step 5702), proceed to step S704; on the other hand, if it has not been initialized (No in step 5702).
), after initializing the modem 52 in step 5703, the process proceeds to step 5704.

ステップ5704においてリアルタイムクロック304
から現在時刻の読出しを行い、ステップ5705におい
て当該現在時刻が、予めパーソナルコンピュータ60を
用いて設定された上記コピーデータの集計を行う締切時
刻であるか否かをチエツクする。締切時刻でないときは
(ステップ5705においてNo)ステップ5707に
進み、方、締切時刻であるときは(ステップ5705に
おいてYe s)ステップ5706において詳細後述す
る締切処理を行った後、ステップ5707に進む。
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 totaling the copy data set in advance using the personal computer 60. If it is not the deadline time (No in step 5705), the process proceeds to step 5707, and if it is the deadline time (Yes in step 5705), a deadline process to be described in detail later is performed in step 5706, and then the process proceeds to step 5707.

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

第36図は締切処理(第35図のステップ5706)を
示す70−チャートである。センター制御装置50は、
ファイル装置61に格納している上記コピーデータを複
写機lO毎に下記の3種類のデータに分けて管理してい
る。
FIG. 36 is a 70-chart 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)n切後データ:センター制御装置50が締切処理
を行った後にコピーデータコントローラ20から送られ
て来た上記各コピーデータの合計のデータである。
(a) Data after n-cut: 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 processing.

(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)累積データ:過去の上記コピーデータの累計のデ
ータであって、締切処理において前回の締切データが当
v4累積データに加算されて更新処理される。
(c) Cumulative data: Cumulative data of the past copy data, which is updated by adding the previous deadline data to the current v4 cumulative data in the deadline process.

第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図のステップ370
8)を示すフローチャートである。
FIG. 37 shows data reception processing (step 370 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
es)ステップ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),
es) 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においてクリア要求信号をオンラインコ
ントロ−ラミ0を介してコピーデータコントローラ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 0.
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に対して送信した後、ステップ37
40においてモデム52に対してオンラインコントロー
ラ30との回線切断処理を行わせる。次いで、ステップ
3741において受信した上記コピーデータを締切後デ
ータに加算して、当該締切後データを更新した後、メイ
ンルーチンにリターンする。
After transmitting the line release request signal to the online controller 30 in step 5739, step 37
At step 40, the modem 52 is caused to perform a line disconnection process with the online controller 30. Next, in step 3741, 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においてY e s
 ) 、当該磁気カードを排出させるため、ステップ5
619においてイジェクトフラグに1″をセットした後
、ステップ5620に進み、通信モードアンサ−信号を
オンラインコントローラ30を介してセンター制御装置
50に対して送信した後リターンしているが、これに限
らず、当該磁気カードを排出させないで、ステップ56
20に進むように構成してもよい。
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
), step 5 to eject the magnetic card.
After setting the eject flag to 1'' in step 619, the process proceeds to step 5620, transmits a communication mode answer signal to the center control device 50 via the online controller 30, and then returns; however, the present invention is not limited to this. Step 56 without ejecting the magnetic card.
It may be configured to proceed to step 20.

[発明の効果] 以上詳述しt;ように本願の第1の発明によれば、コピ
ーデータ管理システムにおいて、電話機と、上記コピー
データを送信する送信手段のいずれかを選択的に上記電
話回線に接続するように切り換える切換手段を端末装置
に備えたので、1本の電話回線を上記電話機と上記送信
手段で共用することができるとともに、上記送信手段に
よって上記コピーデータを集中管理装置に送信すること
ができる。これにより、既設の電話機の電話回線を当該
コピーデータ管理システムに用いることができるので、
新たに電話回線を設ける必要がなく経済的である。
[Effects of the Invention] As detailed above, according to the first invention of the present application, in the copy data management system, either the telephone or the transmission means for transmitting the copy data is selectively connected to the telephone line. Since the terminal device is equipped with a switching means for switching to connect to the terminal, one telephone line can be shared by the telephone and the transmitting means, and the transmitting means can transmit the copy data to the central control device. be able to. As a result, the telephone line of the existing telephone can be used for the copy data management system.
It is economical as there is no need to install a new telephone line.

また、本願の第2の発明によれば、コピーデータ管理シ
ステムにおいて、データ送信のための所定の条件が成立
した際に発呼処理を行い、集中管理装置との通信が可能
となった後に情報の送信を行うように発呼手段及び送信
手段を制御する制御手段を端末装置に備えたので、電話
回線をより有効的に使用することができるという利点が
ある。
According to the second invention of the present application, the copy data management system performs call processing when a predetermined condition for data transmission is met, and after communication with the central management device becomes possible, information is transmitted. Since the terminal device is equipped with a control means for controlling the calling means and the transmitting means so as to perform the transmission, there is an advantage that the telephone line can be used more effectively.

【図面の簡単な説明】[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図のコピーデータ管理システムにおける通
信データのフォーマットを示す図、第10図(八)及び
第1O図(B)は第1図のオンラインコントローラのメ
インルーチンを示すフローチャート、 第11図乃至$24図は第1図のオンラインコントロー
ラのサブルーチンを示すフローチャート、第25図は第
1図のコピーデータコントローラのメインルーチンを示
す70−チャート、第26図乃至第33図、並びに第3
4図(A)及び第34図(B)は第1図のコピーデータ
コントローラのサブルーチンを示すフローチャート、第
35図は第1図のセンター制御装置のメインルーチンを
示すフローチャート、 第36図及び第37図は第1図のセンター制御装置のサ
ブルーチンを示す70−チャートである。 l・・・端末システム、2・・・センターシステム、3
・・・交換機、4a、4b、4c・・・電話回線、10
、loa乃至10 d −・・複写機、20.20a乃
至20cl・・・コピーデータコントローラ、21.3
1・・−マイクロコンピュータ、22・・・カードデー
タ入出力装置、 23・・・搬送モータ、 30.30a、30b・・・オンラインコントロー33
.52・・・変復調装置(モデム)、0.40a、40
b−電話機、 0・・・センター制御装置、 0・・・パーソナルコンピュータ、 O・・・CRTデイスプレィ装置、 03・・・RAM。 04・・・リアルタイムクロック。
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(8) and 1O(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. The figure is a 70-chart showing a subroutine of the center control device of FIG. l...terminal system, 2...center system, 3
...Exchange, 4a, 4b, 4c...Telephone line, 10
, loa to 10 d - Copy machine, 20.20a to 20cl... Copy data controller, 21.3
1... - Microcomputer, 22... Card data input/output device, 23... Conveyance motor, 30. 30a, 30b... Online controller 33
.. 52...Modulator/demodulator (modem), 0.40a, 40
b-telephone, 0... center control device, 0... personal computer, O... CRT display device, 03... RAM. 04...Real time clock.

Claims (2)

【特許請求の範囲】[Claims] (1)複写機におけるメンテナンスに関する情報を、上
記複写機を管理するための集中管理装置に、電話回線を
介して送信する送信手段を含む端末装置を備えたコピー
データ管理システムにおいて、上記端末装置は、 電話機と、 上記電話機と上記送信手段のいずれかを選択的に上記電
話回線に接続するように切り換える切換手段とを備えた
ことを特徴とするコピーデータ管理システム。
(1) In a copy data management system comprising a terminal device including a transmitting means for transmitting information regarding maintenance in a copying machine to a central control device for managing the copying machine via a telephone line, the terminal device comprises: A copy data management system comprising: a telephone; and switching means for selectively connecting either the telephone or the transmitting means to the telephone line.
(2)複写機におけるメンテナンスに関する情報を、上
記複写機を管理するための集中管理装置に、電話回線を
介して送信する端末装置を備えたコピーデータ管理シス
テムにおいて、上記端末装置は、上記情報を上記集中管
理装置に送信する送信手段と、 発呼処理を行う発呼手段と、 データ送信のための所定の条件が成立した際に上記発呼
処理を行い、上記集中管理装置との通信が可能となった
後に上記情報の送信を行うように上記発呼手段及び上記
送信手段を制御する制御手段とを備えたことを特徴とす
るコピーデータ管理システム。
(2) In a copy data management system comprising a terminal device that transmits information regarding maintenance in a copying machine to a central control device for managing the copying machine via a telephone line, the terminal device transmits the information. A transmitting means for transmitting data to the central control device; a calling means for performing a call process; and a calling device for performing the call process when a predetermined condition for data transmission is met, and is capable of communicating with the central control device. A copy data management system comprising: a control means for controlling the calling means and the transmitting means so as to transmit the information after the information is transmitted.
JP1200720A 1989-05-22 1989-08-02 Copy data control system Pending JPH0364244A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP1200720A JPH0364244A (en) 1989-08-02 1989-08-02 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
JP1200720A JPH0364244A (en) 1989-08-02 1989-08-02 Copy data control system

Publications (1)

Publication Number Publication Date
JPH0364244A true JPH0364244A (en) 1991-03-19

Family

ID=16429083

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1200720A Pending JPH0364244A (en) 1989-05-22 1989-08-02 Copy data control system

Country Status (1)

Country Link
JP (1) JPH0364244A (en)

Similar Documents

Publication Publication Date Title
US6006045A (en) Image forming apparatus supervising system
JPH113005A (en) Image forming device management system
JPS59127133A (en) Data transmitting system
JP3566020B2 (en) Image forming device management system
JPS63182953A (en) Teletex device
JPH0364245A (en) Copy data control system
JPH0364244A (en) Copy data control system
JPH0364243A (en) Copy data control system
JPH02306261A (en) Copy data control system
JPH02306260A (en) Copy data control system
JPH02306259A (en) Copy data control system
CN100480895C (en) Image forming apparatus
JPH0364770A (en) Copying data control system
JP2000332929A (en) System for managing image forming device
JP3037045B2 (en) Automatic meter reading system
JPS60208193A (en) Tenant control system
JP3597359B2 (en) Image forming apparatus management system and abnormality notification method in data communication apparatus thereof
US6509980B1 (en) Facsimile apparatus
JP2925215B2 (en) Line control system and line control device used in the line control system
JPH1139116A (en) Image forming device management system
JPS61292474A (en) Facsimile equipment
JPS5943448A (en) Remote patch system
JP3173124B2 (en) Facsimile repeater
JPH01245790A (en) Operating state display system for trunk line
JPH0677975A (en) Allocating system for communication area