JPH0364245A - Copy data control system - Google Patents

Copy data control system

Info

Publication number
JPH0364245A
JPH0364245A JP1200721A JP20072189A JPH0364245A JP H0364245 A JPH0364245 A JP H0364245A JP 1200721 A JP1200721 A JP 1200721A JP 20072189 A JP20072189 A JP 20072189A JP H0364245 A JPH0364245 A JP H0364245A
Authority
JP
Japan
Prior art keywords
data
controller
control device
copy data
copy
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
JP1200721A
Other languages
Japanese (ja)
Inventor
Hiroichi Yamada
博一 山田
Kanako Morita
森田 加奈子
Hideo Ito
秀夫 伊藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Minolta Co Ltd
Original Assignee
Minolta Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Minolta Co Ltd filed Critical Minolta Co Ltd
Priority to JP1200721A priority Critical patent/JPH0364245A/en
Priority to US07/526,900 priority patent/US5224157A/en
Publication of JPH0364245A publication Critical patent/JPH0364245A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To eliminate the need for using another display device by displaying the data on the present date, the date of transmission, and a telephone number which are set via a communication control equipment on a data control equipment. CONSTITUTION:The present date, the date of origination, and the telephone number of an integrated controller are set, and the telephone number is dialed when the present date to be counted reaches the date of transmission. Thus the integrated controller is connected to a circuit and a transmission means is connected to a telephone circuit for transmission of the copy data. That is, an on-line controller 30 contains a switch 206 and a monitoring LED 207. Then a selection switch SEL is set at an optional value and a setting switch ADJ is depressed. Thus a date or a telephone number is set. The data on the telephone number, the date of origination, and the present date thus set are sent to a data controller 20 and displayed on a display device 25. Thus, a communication control equipment requires no display device and therefore the production cost of a copy data control system can be reduced.

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.

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

上記の如きポーリング方式のコピーデータ管理システム
では、端末装置から集中管理装置を呼び出すことができ
ず、例えば複写機の故障やメンテナンス時期の到来を複
写機側から送信することは不可能であった。
In the above-described polling type copy data management system, it is not possible to call the central management device from the terminal device, and it is impossible for the copying machine to transmit information about a failure of the copying machine or the arrival of maintenance time, for example.

以上の問題点を解決するために、本出願人の特許出願に
おいて、複写機におけるコピー枚数及び上記複写機にお
けるメンテナンスの情報のデータを通信回線を介して、
複数の上記複写機に関するデータを収集する集中管理装
置に送信する端末装置を備えたコピーデータ管理システ
ムにおいて、計時手段によって計時される現在日時が予
め設定された発信日時に達したときに、通信回線が空い
ており、かつデータの通信が許可されていることが検出
されたとき上記データを上記集中管理装置に送信するよ
うにしたコピーデータ管理システムヲ提案している。こ
こで、上記端末装置は、上記複写機に設けられ上記デー
タを記憶した後上記集中管理装置に送信するデータ制御
装置と、上記発信日時の設定を行うとともに上記集中管
理装置との通信制御を行う通信制御装置からなる。
In order to solve the above problems, in the patent application filed by the present applicant, data on the number of copies in a copying machine and maintenance information on the copying machine are transmitted via a communication line.
In a copy data management system equipped with a terminal device that transmits data regarding a plurality of copying machines to a central control device that collects data, when the current date and time measured by the clock reaches a preset transmission date and time, the communication line A copy data management system is proposed in which the data is sent to the central management device when it is detected that the central management device is free and data communication is permitted. Here, the terminal device is provided in the copying machine and stores the data and then transmits the data to the central control device, sets the transmission date and time, and controls communication with the central control device. Consists of a communication control device.

[発明が解決しようとする課題] 以上のように構成されたコピーデータ管理システムにお
いて、上記データを表示するt;めの表示装置を上記デ
ータ制御装置に設け、まI用いて、上記発信日時を設定
するとき確認のため上記発信日時を表示するための別の
表示装置を上記通信制御装置に設けることが考えられる
。しかしながら、上記発信日時の設定の頻度は少なく、
上記別の表示装置を設ける必要性は小さい。もし上記別
の表示装置を設けた場合当該システムの製造コストが上
昇するという問題点があった。
[Problems to be Solved by the Invention] In the copy data management system configured as described above, a display device for displaying the data is provided in the data control device, and is used to display the transmission date and time. It is conceivable that the communication control device is provided with another display device for displaying the transmission date and time for confirmation at the time of setting. However, the frequency of setting the above sending date and time is low;
There is little need to provide the separate display device. If the above-mentioned separate display device is provided, there is a problem in that the manufacturing cost of the system increases.

本発明の目的は以上の問題点を解決し、上記通信制御装
置において設定されるデータを上記データ制御装置にお
いて表示することができるコピーデータ管理システムを
提供することにある。
An object of the present invention is to solve the above problems and provide a copy data management system that can display data set in the communication control device on the data control device.

[課題を解決するための手段] 本発明は、複写機におけるコピー枚数やメンテナンス要
求等の複写機の管理に必要なデータを、電話回線を介し
て、上記データを収集する集中管理装置に送信する送信
手段と、上記データを表示する表示手段を含み、上記複
写機に設けられるデータ制御装置と、現在日時、発信日
時、及び上記集中管理装置の電話番号を設定する設定手
段と、計時される現在日時が上記発信日時に達したとき
上記電話番号をダイヤルし上記集中管理装置と回線接続
した後上記送信手段を上記電話回線に接続して上記コピ
ーデータを送信するように上記送信手段を制御する制御
手段を含む通信制御装置を備え、上記通信制御装置は、
上記設定手段によって上記電話番号、上記発信日時及び
上記現在日時のデータが設定されるとき上記設定される
データを上記データ制御装置に送信するデータ送信手段
を備え、上記データ制御装置は、上記データ送信手段に
よって送信されたデータを受信し上記表示手段に表示す
る表示制御手段を備えたことを特徴とする。
[Means for Solving the Problems] The present invention transmits data necessary for managing a copying machine, such as the number of copies and maintenance requests, via a telephone line to a central management device that collects the above data. a data control device provided in the copying machine, including a transmitting means, a display means for displaying the data, a setting means for setting the current date and time, a transmission date and time, and a telephone number of the central control device; Control for controlling the transmitting means so that when the date and time reaches the transmission date and time, the transmitting means is connected to the telephone line after dialing the telephone number and connecting the line with the central control device to transmit the copy data. a communication control device including means, the communication control device comprising:
When the setting means sets the telephone number, the calling date and time, and the current date and time, the data transmitting means transmits the set data to the data control device, and the data control device transmits the data. The present invention is characterized by comprising display control means for receiving data transmitted by the means and displaying it on the display means.

[作用] 上記のように構成することにより、上記通信制御装置に
設けられるデータ送信手段は、上記設定手段によって上
記電話番号、上記発信日時及び上記現在日時のデータが
設定されるとき上記設定されるデータを上記データ制御
装置に送信し、上記データ制御装置に設けられる表示制
御手段は、上記データ送信手段によって送信されたデー
タを受信し上記表示手段に表示する。
[Operation] With the above configuration, the data transmission means provided in the communication control device can perform the above settings when the above telephone number, the above calling date and time, and the above current date and time are set by the setting means. Data is transmitted to the data control device, and a display control means provided in the data control device receives the data transmitted by the data transmission means and displays it on the display means.

従って、通信制御装置において設定される上記データを
、データ制御装置の表示手段に表示させることができる
Therefore, the data set in the communication control device can be displayed on the display means of the data control device.

[実施例] 以下、図面を参照して本発明の一実施例であるコピーデ
ータ管理システムについて下記の項目に分けて説明する
[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) Structure 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図において、このコピーデータ管理システムは、複
写’a 10 a乃至10d(以下、総称する場合は1
0とする。)におけるコピー枚数、ジャム発生回数、及
びトラブル発生回数等のコピーデータを計数する端末シ
ステム1と、端末システム1で計数された各複写機10
に関するコピーデータを集計するセンターシステム2か
らなり、各システム1.2は電気通信事業者が設置する
交換機3を介して電話回線4a、4b、4cで接続され
、上記コピーデータの送受信を行っている。
In FIG. 1, this copy data management system includes copies 'a 10a to 10d (hereinafter collectively referred to as 1
Set to 0. ), a terminal system 1 that counts copy data such as the number of copies, the number of jams, and the number of troubles that occur, and each copying machine 10 that is counted by the terminal system 1.
Each system 1.2 is connected by telephone lines 4a, 4b, and 4c via an exchange 3 installed by a telecommunications carrier, and sends and receives the copy data. .

端末システムlは、複写機lOと、コピーデータコント
ローラ20a乃至20d(以下、総称する場合は20と
する。)と、オンラインコントa−ラ30a、30b 
(以下、総称する場合は30とする。)と、電話機40
a、40b (以下、総称する場合は40とする。)と
を備える。
The terminal system 1 includes a copying machine 1O, 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の上記コピーデー
タを計数しかつ当該複写機10の電源のオン・オフ、コ
ピー中であるか否か等の複写機10の動作状態を検出す
るとともに、該コントローラ20に挿入される磁気カー
ドの種類及び後述する制御処理状態に応じて当該複写機
lOに対してコピー動作の許可又は禁止の制御を行う。
The copy data controller 20 is connected to each copying machine 10 on a one-to-one basis, and counts the copy data of the connected copying machine 10, turns on/off the power of the copying machine 10, and determines whether copying is in progress. The controller 20 detects the operating state of the copying machine 10, 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に接続するとともに、一方、通信モ
ードのときコピーデータコントa−ラ20とセンター制
御装置50を接続し各装置20.50間の通信の制御を
行う。なお、オンラインコントローラ40には、最大1
0個のコピーデータコントローラ20が接続され、各コ
ントローラ20を接続するための10個のチャンネルの
名称を以下、チャンネルl乃至チャンネルlOとする。
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 is connected to the exchange 3 via the line 20b, and also connects the copy data controller 20 and the center control device 50 in the communication mode to control communication between the respective 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 referred to as channels 1 to 1O.

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

センター制御装置50は、電話回線4cを介して交換機
3に接続され、端末システムlから送信されるコピーデ
ータを受信して当該コピーデータを格納した後予め設定
される締切時刻において、当該コピーデータの集計を行
う。パーソナルコンピュータ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 l 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の動作を制御するマイクロコンピュー
タ2Iを備える。マイクロコンピュータ21は、当該マ
イクロコンピュータ21の動作を制御する中央演算処理
装置(以下、CPUという。)lotと、CPUl0I
の制御プログラム及び当該制御プログラムを実行するの
に必要なデータを格納するリードオンリメモリ(以下、
ROMという。)102と、CPUl0Iの制御のだめ
のフラグ及び上記コピー、データを格納しCPULOI
のワーキングエリアとして用いられるランダムアクセス
メモリ(以下、RAMという。)103と、外部装置と
データ通信を行うためパラレル/シリアル変換及びシリ
アル/パラレル’f1等の処理を行うシリアル入出力ボ
ート回路104゜105を備え、各装置101乃至10
3と各回路104.105が内部バスBlを介して接続
される。
In FIG. 2, the copy data controller 20 includes a microcomputer 2I that controls the operation of the controller 20. As shown in FIG. The microcomputer 21 includes a central processing unit (hereinafter referred to as CPU) lot that controls the operation of the microcomputer 21, and a CPUl0I.
A read-only memory (hereinafter referred to as
It's called ROM. ) 102, CPULOI control flag, and the above copy and data are stored in CPULOI.
Random access memory (hereinafter referred to as RAM) 103 used as a working area of and each device 101 to 10
3 and each circuit 104, 105 are connected via an internal bus Bl.

シリアル入出力ボート回路104には、上記コピーデー
タの送受信及び複写機10の動作の制御を行うために複
写機IOが接続されるとともに、後述する所定のデータ
を表示するために表示用バッファメモリ24を介してL
ED表示器25が接続される。また、シリアル入出力ボ
ート回路104には、磁気カードが挿入されたことを検
出する挿入センサ(図示せず。)と磁気カードに格納さ
れたデータを読み出すととともに当該磁気カードにデー
タを書き込むための磁気ヘッド(図示せず。)を備えた
カードデータ入出力装R22が接続されるとともに、上
記装置22への上記磁気カードの挿入及び排出を行う搬
送モータ23が接続される。
A copying machine IO is connected to the serial input/output boat circuit 104 for transmitting and receiving the copy data and controlling the operation of the copying machine 10, and a display buffer memory 24 is connected to the serial input/output boat circuit 104 for displaying 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 R22 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 2 This is a mode in which data is transmitted and received with the center control device 50 via the online controller 30.

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

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

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

(b)部門カード:ユーザの組織の部門毎にコピー枚数
の集計を行うため、各部門毎に異なるコード(以下、部
門コードという。)が当該部門カードに格納され、該部
門カードをカードデータ入出力装置22内に挿入すると
複写機IOのコピー動作が許可される。
(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 IO is permitted.

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

第3図において、オンラインコントローラ30は当該コ
ントローラ30の動作を制御するマイクロコンピュータ
31を備える。マイクロコンピュータ31は、当該マイ
クロコンピュータ31の動作を制御するCPU201と
、CPU201の制御プログラム及び当該制御プログラ
ムを実行するのに必要なデータを格納するROM202
と、CPU201の制御のためのフラグ並びに予め設定
される発信時刻等のデータを格納しCPU201のワー
キングエリアとして用いられるRAM203と、現在時
刻を計時するリアルタイムクロック204と、外部装置
とデータ通信を行うためパラレル/シリアル変換及びシ
リアル/パラレル変換等の処理を行うシリアル入出力ボ
ート回路205と、メインテナンス時の各種設定を行う
ためのメインテナンス用スイッチ206と、センター制
御装置50との回線接続状態と上記メインテナンス時の
設定状態を表示するためのモニタLED207とを備え
、各装置及び回路201乃至207が内部バスB2を介
して接続される。
In FIG. 3, the online controller 30 includes a microcomputer 31 that controls the operation of the controller 30. In FIG. The microcomputer 31 includes a CPU 201 that controls the operation of the microcomputer 31, and a ROM 202 that stores a control program for the CPU 201 and data necessary to execute the control program.
, a RAM 203 that stores data such as flags for controlling the CPU 201 and preset transmission times, and is used as a working area for the CPU 201; a real-time clock 204 that measures the current time; and a RAM 203 for data communication with external devices. The line connection state between the serial input/output 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
とデータの通信を行うために、ダイヤラー等の回線接続
機能を備えたネットワーク・コントロール・ユニットl
下、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.
A network control unit equipped with a line connection function such as a dialer in order to communicate data with
Below, NCU! :say. ) (hereinafter referred to as a modem) 33 is connected.

このモデム33には、電話機40が接続されるとともに
、電話回線を介して交換機3が接続される。モデム33
は、マイクロコンピュータ31の制御指令に応じて、通
常は電話機40による通話が行えるように電話v&40
を電話回線に接続し、一方、センター制御装置50とデ
ータ通信を行う通信モードのときセンター制御装置50
からの着呼時又はオンラインコントローラ30からの発
呼時に回線接続の処理を行い、マイクロコンビュ−タコ
1から入力されるデータを所定の変調方式で変調して電
話回線及び交換機3を介してセンター制御装置50に送
信するとともに、センター制御装置50から受信される
データを復調してマイクロコンピュータ31に出力する
。なお、この通信モードの終了時には電話回線との回線
接続を解除して、上記電話機40に電話回線を接続する
A telephone 40 is connected to this modem 33, and the exchange 3 is also connected via a telephone line. modem 33
The telephone V & 40 is normally set up so that telephone calls can be made using the telephone 40 according to control commands from the microcomputer 31.
is connected to a telephone line, and on the other hand, when in a communication mode in which data communication is performed 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 process is performed, the data input from the microcomputer tacho 1 is modulated using a predetermined modulation method, and the data is controlled by the center via the telephone line and the exchange 3. The data transmitted to the device 50 and received from the center control device 50 are demodulated and output to the microcomputer 31 . 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分間待機した後、電話v&40の使用状態を確認し
、このとき電話機40が未使用のときデータをセンター
制御装置50に送信するモードである。
(a) Scheduled transmission mode: data is sent to the center control device 50
When the telephone 40 is in use, the usage status of the telephone v&40 is checked after waiting for 5 minutes, and when the telephone 40 is not in use, the data is sent to the center control device 50. be.

(b)アラーム発信モード:データをセンター制御装置
50に送信しようとするとき電話機40が使用中である
とき、電話1M40が未使用状態となればすぐにデータ
をセンター制御装置50に送信するモードである。
(b) Alarm sending mode: When the telephone 40 is in use when attempting to send data to the center control device 50, a mode in which the data is sent to the center control device 50 as soon as the telephone 1M40 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
個のモニタLEDLI乃至LIOが配置され、一方、当
該パネルの左側に、2個のモニタLEDLII及びL1
2と2個のスイッチADJ及びSELが配置される。モ
ニタLEDL1乃至LIOは、センター制御装置t50
との回線接続状態を表示するとともに、設定モードにお
いて選択されている項目と桁を表す。また、モニタLE
DLll及びL12は設定モードにおけるモード状態を
表示するとともに、マイクロコンピュータ31のセルフ
テスト時のエラー状態を表示する。設定スイッチADJ
は、選択スイッチSELによって選択される項目及び数
値を設定するとともに、上記セルフテストの実行をスタ
ートさせるためのスイッチである。選択スイッチSEL
は0″から9”までの値及びA”からnFnまでの6種
類のセルフテストを選択するためのスイッチである。
As shown in FIG. 4(A), on the right side of the panel, 10
monitors LEDLI to LIO are arranged, while two monitors LEDLI and L1 are arranged on the left side of the panel.
2 and two switches ADJ and SEL are arranged. Monitor LEDL1 to LIO are the center control device t50
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 31. 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 nFn.

第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 Figure 4 (B), by setting the selection switch SEL to an arbitrary value and pressing the setting switch ADJ, you can set the 10:00 pm digit of the date or the first digit of the telephone number. By setting the selection switch SEL to an arbitrary value and pressing the setting switch ADJ, the first year of the date or the second digit of the telephone number can be set, and the same applies hereafter. In addition, an example is shown in which 14:28 on March 14, 1989 is input in the operation method column of FIG. 4(B).

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

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

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

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

(2)コピーデータ管理システムにおける通信手順 以上に構成されたコピーデータ管理システムにおける通
常処理時の通信手順の一例を第6図(A)乃至第6図(
C)の通信シーケンス図を参照して以下に説明する。こ
こで、オンラインコントローラ30にIO1′ll!I
のコピーデータコントローラ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, the online controller 30 receives IO1'll! I
It is assumed that a copy data controller 20 is connected.

第6図(A)のステップS1において、オンラインコン
トローラ30は、接続される各コピーデータコントロー
ラ20に対して周期的に接続確認の処理を行う。すなわ
ち、まず、オンラインコントローラ30はチャンネル1
のコピーデータコントローラ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 .

これに応答してチャンネルlのコピーデータコントロー
ラ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 l 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に
対してセンター制御装置50との回線接続の処理を行わ
せる。次いで、ステップS3において、センター制御装
置t50は時刻要求信号をオンラインコントローラ30
に送信し、これに応答してオンラインコントローラ30
は時刻データをセンター制御装置50に送信する。
In step S2 of FIG. 6(B), the online controller 30 causes the modem 33 to perform a line connection process with the center control device 50 at a predetermined transmission start time. Next, in step S3, the center control device t50 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
は、チャンネルlのコピーデータコントローラ20の動
作モードを通信モードに切り替えるため、オンラインコ
ントローラ30に対してモード確認信号を送信する。こ
れに応答してオンラインコントローラ30は、コピーデ
ータコントローラ20に対して通信モード要求信号を送
信し、これに応答して、コピーデータコントローラ20
は自己の動作モードを通信モードに設定した後、通信モ
ードアンサ−信号を、オンラインコントローラ30を介
してセンター制御装置50に送信する。
Next, in step S4, the center control device 50
transmits a mode confirmation signal to the online controller 30 in order to switch the operation mode of the copy data controller 20 of channel l to the communication mode. In response, the online controller 30 transmits a communication mode request signal to the copy data controller 20, and in response, the online controller 30 transmits a communication mode request signal to the copy data controller 20.
After setting its own operation mode to the communication mode, it transmits a communication mode answer signal to the center control device 50 via the online controller 30.

次いで、ステップS5において、センター制御装置50
は、コピーデータコントローラ20のシリアル番号を知
らせることを要求するシリアル番号要求信号、オンライ
ンコントローラ30を介してコピーデータコントローラ
20に送信し、これに応答してコピーデータコントロー
ラ20は、シリアル番号データをオンラインコントロー
ラ30を介してセンター制御装置50に送信する。次い
で、センター制御装置50とコピーデータコントロー5
20 トの間で、上記コピーデータの送受信が行われる
。ここでは、センター制御装置50がコピーデータコン
トローラ20に対して詳細後述する所定のデータ要求信
号を送信し、これに応答してコピーデータコントローラ
20が受信されたデータ要求信号に対応するコピーデー
タをセンター制御装置50に送信する形式で行われる。
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 center control device 50 and the copy data controller 5
The copy data is transmitted and received between the 20 ports. 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 copy data controller 20 transmits the copy data corresponding to the received data request signal to the center. This is done in the form of transmission to the control device 50.

すべてのコピーデータの送受信が行われた後、ステップ
S6において、センター制御装置50は、コピーデータ
コントローラ20内のコピーデータを計数しているカウ
ンタの内容をすべてクリアするために、カウントクリア
要求信号を、オンラインコントローラ30を介してコピ
ーデータコントローラ20に送信し、これに応答してコ
ピーデータコントローラ20は、上記カウンタの内容を
すべてクリアした後、クリアアンサ−信号をオンライン
コントローラ30を介してセンター制御装置50に送信
する。次いで、センター制御装置50は、次のチャンネ
ルのコピーデータコントローラ20、すなわちチャンネ
ル2のコピーデータコントローラ20ヘチヤンネル切換
を行うため、回線切換要求信号をオンラインコントロー
ラ30に送信する。これに応答してオンラインコントロ
ーラ30は、チャンネル1のコピーデータコントローラ
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からチャンネル1Oまで(ただし、接続確認ができ
なかったものを除く。)のコピーデータコントローラ2
0に対して上記コピーデータの送受信のための処理を行
う。さらに、センター制御装置50は、モード確認信号
をオンラインコントローラ30に送信し、上述と同様に
通信モ。
Next, in step S7, the copy data controller 2 from channel 2 to channel 1O (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 establishes the communication mode in the same manner as described above.

−ドアンサー信号の受信、シリアル番号要求信号の送信
、及びシリアル番号データの受信を順に行い、ここで、
先に上記コピーデータの送受信の終了したコピーデータ
コントローラ20のシリアル番号が受信された場合は、
すべてのコピーデータの送受信が終了したと判断して、
ステップS8において、当該コピーデータコントローラ
20(この場合、チャンネルl)の動作モードを処理モ
ードに切り換えるため、回線解放要求信号をオンライン
コントローラ30に送信する。これに応答してオンライ
ンコントローラ30はチャンネル1のコピーデータコン
トローラ20に対して処理モード要求信号を送信し、こ
れに応答してコピーデータコントローラ20は、処理モ
ードアンサ−信号をオンラインコントローラ30を介し
てセンター制御装置50に送信する。上記の動作で、一
連のコピーデータの送受信の処理が終了し、センター制
御装置50は、モデム52に回線接続の解除を行わせる
- receive the answer signal, transmit the serial number request signal, and receive the 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,
After determining that all copy data has been sent and received,
In step S8, a line release request signal is sent to the online controller 30 in order to switch the operation mode of the copy data controller 20 (in this case, channel 1) to the processing mode. 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 transmits a processing mode answer signal via the online controller 30. It is transmitted to the center control device 50. 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 bag! Send to 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からチャン
ネル10までのすべてのコピーデータコントローラ20
と接続が不可能であるときは、回線解放要求信号をオン
ラインコントローラ30に送信し、これに応答してオン
ラインコントローラ30は回線解放アンサ−信号をセン
ター制御装置50に送信する。回線解放アンサ−信号の
受信に応答して、センター制御装置50は、モデム52
に対して回線切断を行わせる。
Furthermore, as shown in FIG. 8, all the copy data controllers 20 from channel 1 to channel 10
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)は全コピー枚数データの7オーマツトを
示しており、当該データは、受信コマンド、コピーデー
タコントローラ20のシリアル番号、並びに、全コピー
枚数のデータから構成される。
FIG. 9(a) shows the total number of copies data in seven formats, and the data is composed of the received command, the serial number of the copy data controller 20, and the data of the total number of copies.

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

第9図の(c)は箇所別トラブル発生回数データの7オ
ーマツトを示しており、当該データは、受信コードと、
それぞれ箇所コードとその箇所におけるトラブル発生回
数からなる複数のブロックから構成される。
FIG. 9(c) shows 7-ormat data on the number of trouble occurrences by location, and the data includes 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)は時刻データのフォーマットを示してお
り、当該データは、受信コマンドと、それぞれ2桁の、
”午″7月”日″7時””分”秒”の各データから構成
される。
(e) in FIG. 9 shows the format of time data, which consists of a received command, two digits each,
It is composed of the following data: ``noon,'' July, day, 7 o'clock, minute, and second.

(4)オンラインコントローラ30の処理第10図(A
)及び第10図(B)は、オンラインコントローラ30
のメインルーチンを示す70−チャートである。
(4) Processing of the online controller 30 FIG.
) and FIG. 10(B) show the online controller 30.
70-chart showing the main routine of FIG.

第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が押下されたとき、当該設
定モードが選択され、ステップ5102へ進む。
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 5102.

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

この設定モード7ラグは、後述する通信割込処理におい
てコピーデータコントローラ20から設定モードアンサ
−信号を受信したとき、1nとなる。設定モードフラグ
がO”の場合は、ステップ5109においてタイムオー
バーのチエツクを行う。ここでは、上記設定モード要求
信号を送信した後コピーデータコントローラ20から所
定の時間(本実施例においては、3秒である。)以内に
設定モードアンサ−信号が受信されない場合、タイムオ
ーバーとなり、再度ステップ5102においてコピーデ
ータコントローラ20に設定モード要求信号を送信する
。タイムオーバーとなるまでは、当該プログラムフロー
はステップ5103からステップ5109の間でループ
し、コピーデータコントローラ20からの上記アンサ−
信号を待機する。設定モードフラグが”1”になると(
ステップ5103でYes)、ステップ5104におい
て当該設定モードフラグをリセットした後、ステップ5
105乃至5IO8においてそれぞれ、現在時刻設定処
理、発信時刻設定処理、定刻発信用電話番号設定処理、
及びアラーム発信用電話番号設定処理の各処理を行って
、ステップ5iloへ進む。なお、ステップlO5乃至
5108の各サブルーチンについては詳細後述する。以
下のサブルーチンについても同様である。
This setting mode 7 lag becomes 1n when a setting mode answer signal is received from the copy data controller 20 in communication interrupt processing to be described later. If the setting mode flag is "O", a timeout check is performed in step 5109. Here, after transmitting the setting mode request signal, the copy data controller 20 sends a request for a predetermined period of time (in this embodiment, 3 seconds). ), if the setting mode answer signal is not received within 5102, the time has expired and the setting mode request signal is sent to the copy data controller 20 again in step 5102.Until the time is over, the program flow continues from step 5103 to step 5109. The above answer from the copy data controller 20 is
Wait for the signal. When the setting mode flag becomes “1” (
(Yes in step 5103), after resetting the setting mode flag in step 5104, in step 5
105 to 5IO8 respectively carry out current time setting processing, calling time setting processing, fixed calling telephone number setting processing,
and alarm transmission telephone number setting processing, and then proceeds to step 5ilo. Note that each subroutine of steps IO5 to 5108 will be described in detail later. The same applies to the following subroutines.

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

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

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

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

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

次twit’、ステップ5121,5124、及び51
27においてそれぞれ、モード要求フラグ、切換要求フ
ラグ、及び解放要求フラグをチエツクする。これらのフ
ラグは、通信割込処理でセンター制御装置50からそれ
ぞれ、モード確認信号、回線切換要求信号、及び回線解
放要求信号を受信したとき、対応するフラグがII l
”となる。ここで、モード要求フラグが”!”であると
きは、ステップ5122で当該モード要求フラグをリセ
ットし、ステップ5123においてコピーデータコント
ローラ接続処理を行った後、ステップ5121に戻る。
Next twit', steps 5121, 5124, and 51
At step 27, the mode request flag, switching request flag, and release request flag are checked, respectively. These flags indicate that when a mode confirmation signal, a line switching request signal, and a line release request signal are received from the center control device 50 in communication interrupt processing, the corresponding flags are set to II l.
".Here, the mode request flag is "!". ”, the mode request flag is reset in step 5122, copy data controller connection processing is performed in step 5123, and the process returns to step 5121.

また、切換要求フラグが”l″であるときは、ステップ
5125において当該切換要求フラグをリセットし、ス
テップ5126においてコピーデータコントローラ切断
処理を行った後、ステップ3121に戻る。さらに、解
放要求フラグが” 1“であるときは、ステップ512
8において当該解放要求フラグをリセットし、ステップ
5129においてコピーデータコントローラ切断処理を
行った後、ステップ5130においてセンター制御装置
50に対して回線解放アンサ−信号を送信し、ステップ
5131において接続されていた回線を切断してステッ
プ5iloに戻る。
Further, when the switching request flag is "1", the switching request flag is reset in step 5125, the copy data controller disconnection process is performed in step 5126, and then the process returns to step 3121. Furthermore, when the release request flag is "1", step 512
After the release request flag is reset in Step 8 and the copy data controller disconnection process is performed in Step 5129, a line release answer signal is sent to the center control device 50 in Step 5130, and the connected line is disconnected in Step 5131. Cut off and return to step 5ilo.

なお、ステップ5121,5124、及び5t27にお
いて、いずれの7ラグも”o″であるときは、そのまま
ステップ5121に戻る。
Note that in steps 5121, 5124, and 5t27, if any of the 7 lags is "o", the process directly returns to step 5121.

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

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

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

次いで、ステップ5154において、コピーデータコン
トローラ20から処理モードアンサ−信号を受信し処理
モードフラグが”1”になっているか否かをチエツクす
る。該処理モードフラグは前述の7ラグと同様に、通信
割込処理において該アンサ−信号の受信時に1″となる
。処理モードフラグがONである間は、プログラムフロ
・−がステップ5157から5154でループし、処理
モード要求信号の送信後3秒以上経過しステップ515
7においてタイムオーバーとなったときは、ステップ5
158において所定回数(本実施例においては、2回)
の処理モード要求信号の再送信(以下、リトライという
。)を行ったか否かをチエツクする。これは、送信した
処理モード要求信号が何らかの原因でコピーデータコン
トローラ20が正常に受信できず、処理モードアンサ−
信号を送信できなかった場合を仮定している。上記リト
ライが所定回数に達していない場合は、ステップ515
3に戻って、再度処理モード要求信号の送信処理から繰
り返される。一方、所定回数のりトライを行ってもコピ
ーデータコントローラ20から処理モードアンサ−信号
が受信できない場合は、コピーデータコントローラ20
が接続されていないものと判断し、ステップ5159に
おいてキャンセル信号を当該コピーデータコントローラ
20に対して送信した後、5160に13t(’てチャ
ンネルnのコピーデータコントローラ20の接続状態を
示すチャンネルnの接I/sフラグをリセットして、ス
テップ5161に進む。一方、ステップ3160におい
て、処理モードフラグが”1″であるときは、ステップ
5155において該処理モードフラグをリセットして、
ステップ5156においてチャンネルnの接続フラグを
nl”にした後、ステップ5161に進む。
Next, in step 5154, a processing mode answer signal is received from the copy data controller 20, and it is checked whether the processing mode flag is set to "1". The processing mode flag becomes 1'' when the answer signal is received in communication interrupt processing, similar to the 7 lag described above. While the processing mode flag is ON, the program flow continues from steps 5157 to 5154. The process loops, and when 3 seconds or more have elapsed since the processing mode request signal was sent, the process returns to step 515.
If the time is over in step 7, proceed to step 5.
158 a predetermined number of times (in this example, twice)
Checks whether the processing mode request signal has been retransmitted (hereinafter referred to as retry). This is because the copy data controller 20 cannot properly receive the transmitted processing mode request signal for some reason, and the processing mode answer
This assumes that the signal could not be transmitted. If the retry has not reached the predetermined number of times, step 515
Returning to step 3, the process is repeated again from the process of transmitting the process mode request signal. On the other hand, if the processing mode answer signal cannot be received from the copy data controller 20 even after a predetermined number of attempts, the copy data controller 20
is not connected, and after transmitting a cancel signal to the copy data controller 20 in step 5159, 13t(' indicates the connection status of channel The I/s flag is reset and the process proceeds to step 5161. On the other hand, when the processing mode flag is "1" in step 3160, the processing mode flag is reset in step 5155,
After setting the connection flag of channel n to nl'' in step 5156, the process advances to step 5161.

次いで、ステップ5161において、チャンネルカウン
タの計数値nJこlを加算し、ステップ5162におい
て該計数値nが”11”になっている場合は、すべての
チャンネルのコピーデータコントローラ20について接
続の確認を終了しているので、メインルーチンへリター
ンする。一方、該計数値nが10“以下であるときは、
次のチャンネルのコピーデータコントローラ20に対し
てステップ5152からの処理を同様にして繰り返す。
Next, in step 5161, the count value nJ of the channel counter is added, 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 10" or less,
The process from step 5152 is similarly repeated for the copy data controller 20 of the next channel.

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

第12図は、モデム接続確認処理(第10図(A)のス
テップ5ill)を示すフローチャートである。
FIG. 12 is a flowchart showing the modem connection confirmation process (step 5ill in FIG. 10(A)).

第12図のステップ5180において、まず、オンライ
ンコントローラ30内にモデム33が接続されているか
否かをチエツクし、接続されていなければ、そのままメ
インルーチンにリターンする。一方、モデム33が接続
されている場合は、ステップ3181において当該モデ
ム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 3181 whether the modem 33 has been initialized, and if it has not been initialized, the modem 33 is initialized in step 5182. After doing so, return to the main routine. Also, in step 5181, the modem 3
When the initialization processing in step 3 has been completed, the process directly returns to the main routine.

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

第13図のステップ5200において、まず、リアルタ
イムクロック204から現在時刻を読み出した後、ステ
ップ5201において前に読出した時刻から1分が経過
したか否か、すなわち”分″のデータが変化したか否か
をチエツクする。これは、1分に1回だけ発信時刻の確
認を行うための処理である。ステップ5201において
、前読出し時刻から1分間が経過していなければ、その
ままメインルーチンへリターンし、一方、1分間が経過
しているときは、ステップ5202以降において、発信
時刻の確認を行う。
In step 5200 of FIG. 13, first, the current time is read from the real-time clock 204, and then in step 5201 it is determined whether one minute has passed since the previously read time, that is, whether the "minute" data has changed. Check. This is a process for checking the transmission time only once per minute. In step 5201, if one minute has not elapsed since the previous read time, the process 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を用いて予め設定されている発信時刻を読出
し、読出しt;発信時刻とステップ5200で読出した
現在時刻との比較を行う。比較するデータ1よ、”日“
曜日″7時″分″であり、ステップ5203、ステップ
5205、ステップ5207、及びステップ5209に
おいて上記設定された各データが、′不定(Don’t
 Care)”であるか否かをチエツクする。設定され
たデータが″不定″であるとき、比較される現在時刻に
おける対応するデータが何であっても、発信条件を満足
すると判断される。例えば、7日”のデータに所定の値
を設定し、′曜日”のデータを″不定”とすると、1ケ
月に1回だけ発信条件が成立し、また、1日”のデータ
を”不定”に設定し、″曜日”のデータに所定の値を設
定すると、1週間Iこ1回だけ発信条件が成立する。予
め設定された各データが”不定”でないときはそれぞれ
、ステップ5204.5206.5208、及び521
0において、現在時刻の対応するデータと一致するか否
かをチエツクし、一致しないときはメインルーチンにリ
ターンする。一方、予め設定された時刻が現在時刻と一
致するときは、ステップ5211において定刻発信モー
ドにするため、定刻発信フラグを1″にした後メインル
ーチンにリターンする。
First, in step 5202, a preset transmission time is read using the maintenance switch 206, and the transmission time is compared with the current time read out in step 5200. Data to compare 1, “day”
The day of the week is "7 o'clock" and each data set above in step 5203, step 5205, step 5207, and step 5209 is 'Don't
Care)". When 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 for the 7th day's data and set the ``day of the week'' data to ``indeterminate'', the transmission condition will be met only once a month, and the 1st day's data will be set to ``undefined''. However, if a predetermined value is set for the "day of the week" data, the transmission condition is satisfied only once in a week. When each preset data is not "undefined", 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, when the preset time coincides with the current time, in step 5211, the scheduled transmission flag is set to 1'' in order to enter the scheduled transmission mode, and 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が初期化されているときは、ステ
ップS22!においてコピーデータコントローラ20が
接続されているか否かをチエツクする。すなわち、上記
接続フラグのチエツクを行う。マルチプレクサ35が接
続されていないときは1個のコピーデータコントローラ
20の接続7ラグがO”であるとき、また、マルチプレ
クサ35が接続されているときはすべてのチャンネルの
コピーデータコントローラ20の接続フラグがno″で
あるとき、該コピーデータコントローラ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, if the modem 33 has been initialized, step S22! Check 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 O'', and when the multiplexer 35 is connected, the connection flag of the copy data controller 20 of all channels is O''. If "no", 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が使用中であるときは、ステップ52251
こおいてアラーム発信フラグが” l”であるか否かを
チエツクすることによって、発信モードがアラーム発信
モード又は定刻発信モードであるかを判断する。ここで
、アラーム発信モードであるときは、電話機40が未使
用状態となったとき直ちに所定のデータを送信するため
に、ステップ5222に戻って、電話機40が未使用状
態となるのを待つ。一方、定刻発信モードの場合は、ス
テップ5226において電話機40が使用中であるか否
かの再チエツクを所定回数(本実施例では、10回であ
る。)以上行ったか否かをチエツクし、上記再チエツク
を所定回数以上行っている場合は、メインルーチンにリ
ターンする。一方、ステップ5226において、上記再
チエツクが所定回数に達していないときは、ステップ5
227において5分間の時間待ちを行った後、再度ステ
ップ5222に戻る。これによって、電話機40が使用
中において、緊急にデータ通信を行う必要があるアラー
ム発信モードの場合は、電話機40が未使用状態となり
電話回線が空くとすぐに、ステップ5223に進んで、
センター制御装置50に発呼を行うための発呼処理を行
い、一方、定刻発信モードにおいては、5分間待機した
後電話機40が未使用状態であると、ステップ5223
に進んで発呼処理を行う。
(Left below) If the telephone 40 is in use, step 52251
By checking whether the alarm transmission flag is "1", it is determined whether the transmission mode is the alarm transmission mode or the scheduled transmission mode. 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, it is checked in step 5226 whether or not the telephone 40 is in use or not, and whether or not it has been re-checked a predetermined number of times (10 times in this embodiment), and the above-mentioned If the recheck has 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 5
After waiting for 5 minutes in step 227, the process returns to step 5222 again. As a result, when the telephone 40 is in use and in the alarm transmission mode where data communication is urgently required, as soon as the telephone 40 becomes unused and the telephone line becomes free, the process proceeds to step 5223.
A call process is performed to make a call to the center control device 50. On the other hand, in the scheduled call mode, if the telephone 40 is not in use after waiting for 5 minutes, step 5223
Proceed to process the call.

ステップ5223における発呼処理の後、ステップ52
24において、センター制御装置50と回線接続されて
いるか否かを示す来電フラグがHl“であるか否かをチ
エツクし1. n l IIであるときはメインルーチ
ンにリターンし、一方、該7ラグが0″であるときは上
述のステップ8226に進む。この来電フラグは、後述
する発呼処理においてセンター制御装置50と正常に回
線接続されたときに、′ 1nとなる。
After the call processing in step 5223, step 52
In step 24, it is checked whether the incoming call flag indicating whether or not the line is connected to the center control device 50 is Hl", and if it is 1. n l II, the process returns to the main routine. On the other hand, in step 7 If the lag is 0'', proceed to step 8226 described above. This incoming call flag becomes '1n' when the line is normally connected to the center control device 50 in a 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において、まず、アラーム
発信フラグをチエツクすることによって発信モードが定
刻発信モードであるか又はアラーム発信モードであるを
チエツクし、定刻発信モードであるときは、ステップS
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 flag, and if it is the scheduled transmission mode, step S
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においてYe s) 、ステップ5246
において電話回線に対して回線切断の処理を行った後、
ステップ5247において東軍フラグをリセットして、
メインルーチンにリターンする。一方、ステップ524
3においてセンター制御装置[50と正常に回線接続さ
れたときは(ステップ5243においてYe s) 、
ステップ5244において来電フラグを′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 period of time has elapsed after the above dialing, that is, when the time is over (Yes in step 5245) ), step 5246
After disconnecting the telephone line,
In step 5247, reset the eastern army flag,
Return to main routine. On the other hand, step 524
3, when the line is successfully connected to the center control device [50 (Yes in step 5243),
After setting the incoming call flag to '1#' in step 5244, the process returns to the main routine. .

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

第16図において、まず、ステップ5260において、
マルチプレクサ35が接続されているか否かをチエツク
し、接続されていればステップ5261に進む。ステッ
プ3261において、チャンネルnのコピーデータコン
トローラ20の接続フラグが1″であるか否かをチエツ
クし、該接続フラグが0″であるときは、ステップ32
70に進む。一方、ステップS261において当該接続
フラグが”l 11であるならば、ステップ8262に
おいてマルチプレクサ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 3261, it is checked whether the connection flag of the copy data controller 20 of channel n is 1'', and if the connection flag is 0'', step 32
Proceed to 70. On the other hand, if the connection flag is "l11" 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. A communication mode request signal is transmitted to the host, and the process proceeds to step 5264.

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

一方、ステップ5264において通信モードフラグが0
”であるときは上記アンサ−信号を受信していないので
、ステップ5267に進み、上記通信モード要求信号の
送信後所定の時間(本実施例においては、3秒である。
On the other hand, in step 5264, the communication mode flag is set to 0.
”, since the answer signal has not been received, the process proceeds to step 5267, and a predetermined period of time (in this embodiment, 3 seconds) after the transmission of the communication mode request signal.

°)が経過しているか否か、すなわちタイムオーバーし
ているか否かをチエツクする。タイムオーバーしていな
いときは、ステップ5264に進み、通信モード7ラグ
が1″になるかもしくはタイムオーバーするかまで、プ
ログラムフローはステップ5264からステップ526
7の間でループする。
) has elapsed, that is, whether the time has expired. If the time has not exceeded, the program flow continues from step 5264 to step 526 until the communication mode 7 lag becomes 1'' 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を加算した後、ステップ3271において該計
数値nが”11″であるか否かをチエツクし、該計数値
nが”to’以下であるときステップ5261に戻る。
After adding 1 to the count value n of the channel counter in step 5270, it is checked in step 3271 whether or not the count value n is "11", and when the count value n is less than or equal to "to", the step Return to 5261.

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

一方、ステップ5260においてマルチプレクサ35が
接続されていないときは、ステップ5273からステッ
プ5279までの処理において、1個のコピーデータコ
ントローラ20に対して、上述のステップ3263から
ステップ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 3263 to step 5269 described above is performed for one copy data controller 20. After that, return to the main routine.

第17図はコピーデータコントローラ切断処理(第10
図(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に進む。ステップS30
1において、処理モード要求信号をチャンネルnのコピ
ーデータコントローラ20に対して送信した後、ステッ
プ5302において、処理モードアンサ−信号が受信さ
れたか否かを示す処理モードフラグが1#であるか否か
をチエツクする。ステップ5302において、処理モー
ドフラグが” l”であるときは、ステップ5303に
進み、当該処理モードフラグをリセットした後、ステッ
プ5304において回線切換アンサ−信号をセンター制
御袋fjt50に対して送信し、ステップ5307に進
む。
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 S30
After transmitting the processing mode request signal to the copy data controller 20 of channel n in step 1, in step 5302, it is determined whether the processing mode flag indicating whether or not a processing mode answer signal has been received is 1#. Check. In step 5302, when the processing mode flag is "l", the process proceeds to step 5303, and after resetting the processing mode flag, in step 5304, a line switching answer signal is transmitted to the center control bag fjt50, and step Proceed to 5307.

一方、ステップ5302において、処理モード7ラグが
#0”であるときは、ステップ5305においてタイム
オーバーしているか否か、すなわち上記処理モード要求
信号の送信後所定の時間(本実施例においては、3秒で
ある。)が経過しているか否かを判断し、タイムオーバ
ーしていないときはステップ5302に進み、プログラ
ム70−は処理モードフラグが11111となるかもし
くはタイムオーバーとなるまでステップ5302からス
テップ5305をループする。
On the other hand, when the processing mode 7 lag is #0'' in step 5302, it is determined whether or not the time has elapsed in step 5305, that is, the predetermined time (in this example, 3 seconds) after the transmission of the processing mode request signal. ) 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 11111 or the time elapses. do.

ステップ5305においてタイムオーバーしているとき
は、ステップ5306において上記処理モード要求信号
を所定回数(本実施例では、2回である。)以上再送信
したか否かが判断され、所定回数以上再送信していない
ときは上記処理モード要求信号を再送信するりトライの
ためステップS301に進む。一方、ステップ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 processing mode request signal is retransmitted or the process advances to step S301 for a try. 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に′l″をセットした後、メインルー
チンにリターンする。
If the count value n is not "11" in step 5308, the process directly returns to the main routine, and on the other hand,
When the count value n is "11", the count value n is set to 'l' in step 5309, and then the process returns to the main routine.

一方、ステップ5300においてマルチプレクサ35が
接続されていないと判断されたときは、1個のコピーデ
ータコントローラ20に対して、ステップ3301から
ステップ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 3301 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)のステッ
プ5105)を示すフローチャートである。
FIG. 18 is a flowchart showing the current time setting process (step 5105 in FIG. 10(A)).

第18図のステップ5320において、まず、現在時刻
のデータを1桁ずつ入力するときにその桁を示すポジシ
ョンカウンタの計数値PO5を”1″にセットする。次
いで、ステップ5321において、設定スイッチADJ
が押下されるのを待ち、押下されると、ステップ532
2において現在時刻の1桁分のデータを選択スイッチS
ELの設定値を入力した後、ステップ5323において
該入力されたデータを、RAM230内に格納されてい
る現在時刻データにおける上記ポジションカウンタの計
数値PO8に対応した桁に設定し、上記入力されI;デ
ータに基づいてリアルタイムクロック204における上
記対応する桁のデータの書き換え処理を行う。次いで、
スイッチ5324において上記設定された時刻のデータ
をデータコントローラ20の表示器25に表示するため
、上記入力されたデータを送信し、ステップ5325に
おいてポジションカウンタの計数値PO51,:1を加
算した後、ステップ5326において該計数値PO5が
”II”である否か判断され、11”であるときそのま
まリターンし、一方、”10”以下であるときはステッ
プ5321に戻る。
In step 5320 of FIG. 18, first, when data of the current time is inputted one digit at a time, the count value PO5 of the position counter indicating that digit is set to "1". Next, in step 5321, the setting switch ADJ
Wait for the button to be pressed, and when it is pressed, step 532
2, select the data for one digit of the current time by pressing the switch S
After inputting the setting value of EL, in step 5323, the input data is set to the digit corresponding to the count value PO8 of the position counter in the current time data stored in the RAM 230, and the input data I; Based on the data, the data of the corresponding digit in the real-time clock 204 is rewritten. Then,
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, the count value PO51,:1 of the position counter is added, and then step At step 5326, it is determined whether or not the counted value PO5 is "II", and if it is 11", the process returns as is. On the other hand, if it is less than "10", the process returns to step 5321.

第19図乃至第21図はそれぞれ、発信時刻設定処理(
第10図(A)のステップ5106)、定刻発信用電話
番号設定処理(第10図(A)のステップ5107)、
及びアラーム発信用電話番号設定処理(第10図(A)
のステップ5108)を示すフローチャートであり、こ
れらの各処理においては第18図の現在時刻設定処理と
同様に、発信時刻、定刻発信用電話番号、及びアラーム
発信用電話番号が設定される。なお、第20図のステッ
プ5366及び第21図のステップ5386においては
それぞれ、ポジションカウンタの計数値PO5が17”
であるか否かを判断する。
FIGS. 19 to 21 respectively show the outgoing time setting process (
Step 5106 in FIG. 10(A)), telephone number setting process for scheduled calling (step 5107 in FIG. 10(A)),
and alarm dialing telephone number setting process (Figure 10 (A)
This is a flowchart showing step 5108), and in each of these processes, a calling time, a telephone number for fixed-time 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 PO5 of the position counter is 17''.
Determine whether or not.

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

第22図のステップ5400において、まず、該割込処
理で使用するレジスタ等に格納されているデータを一時
的に退避させた後、ステップ5401において例えばパ
リティエラー又は設定されていないデータの受信等の通
信エラーが発生しているか否かをチエツクし、該通信エ
ラーがあるときはステップ5402において発生してい
る通信エラーに対して所定のエラー処理を行っt;後、
ステップ5409に進む。一方、ステップ5401にお
いて通信エラーが発生していないときは、ステップ54
03において受信したデータの解析処理を行った後、ス
テップ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. After that,
Proceed to step 5409. On the other hand, if no communication error has occurred in step 5401, step 54
After analyzing the received data in step 03, 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 .

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

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

第23図はデータ処理A(第22図のステップ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においてYe s) 
、ステップ5421においてリアルタイムクロック20
4から現在時刻を読出し、該現在時刻のデータをセンタ
ー制御袋R50に送信した後、リターンする。
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)
, in step 5421 the real-time clock 20
After reading the current time from 4 and transmitting the data of the current time to the center control bag R50, the process returns.

また、受信したデータが回線切換要求信号であるときは
(ステップ5422においてYe s) 、ステップ5
423において切換要求フラグにnlnをセットした後
、リターンする。さらに、受信したデータがモード確認
信号であるときは(ステップ5424においてYes)
、ステップ5425においてモード確認フラグに″ ビ
′をセットした後、リターンする。またさらに、受信し
たデータが回線解放要求信号であるときはぐステップ5
426においてYes)、ステップ5427において解
放要求フラグに” 1″をセットした後リターンする。
Further, if the received data is a line switching request signal (Yes in step 5422), step 5
After setting the switching request flag to nln in step 423, the process returns. Furthermore, if the received data is a mode confirmation signal (Yes in step 5424)
In step 5425, the mode confirmation flag is set to ``B'', and then the process returns.Furthermore, if the received data is a line release request signal, the process returns to step 5.
(Yes in step 426), the release request flag is set to "1" in step 5427, and then the process returns.

一方、受信したデータが時刻データ要求信号、回線切換
要求信号、モード確認信号、及び回線解放要求信号のい
ずれでもない場合(ステップ5420,5422.54
24、及び5426においてNo) 、そのままリター
ンする。
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.54
24 and 5426), return as is.

第24図はデータ処理B(第22図のステップ3408
)を示すフローチャートである。この処理は、上述のよ
うにコピーデータコントローラ20から発信されたデー
タIこついての処理であり、該データとして、処理モー
ドアンサ−信号、通信モードアンサ−信号、設定モード
アンサ−信号、及びアラーム発信要求信号がある。
FIG. 24 shows data processing B (step 3408 in FIG. 22).
) is a flowchart showing the process. This process is based on the 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. There is a request signal.

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

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

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

第25図において、まず、コピーデータコントローラ3
0の電源がオンとされたとき当該コピーデータコントロ
ーラ30の処理がスタートされ、ステップ5500にお
いて、当該コピーデータコントローラ30内の各回路の
初期設定を行った後、ステップS501において、複写
Ialoの状態(上述のように、複写機10の電源のオ
ン・オフ、コピー中、複写Il!10におけるジャム発
生、トラブル発生、コピーされた用紙が排出されコピー
動作が完了したこと等である。)を示す信号を複写機1
0から入力し、当該信号に関するデータをRAM103
に格納する。次いで、ステップ5502乃至5505に
おいてそれぞれ、詳細後述する表示処理、カードリード
/ライト処理、カウント処理、及び通信処理の各処理を
行った後、ステップ5501に戻る。
In FIG. 25, first, the copy data controller 3
The processing of the copy data controller 30 is started when the power of the copy data controller 30 is turned on, and in step S5500, each circuit in the copy data controller 30 is initialized, and then in step S501, the state of the copy Ialo ( As mentioned above, the signal indicates that the copying machine 10 is turned on or off, copying is in progress, a jam occurs in the copying machine 10, trouble occurs, the copied paper is ejected and the copying operation is completed, etc. Copy machine 1
0, and data related to the signal is stored in the RAM 103.
Store in. 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 5501.

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

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

複写110の電源がオフとなっているとき(ステップ5
510においてYe s)、ステップ5511において
LED表示器25の表示をオフにした後、メインルーチ
ンにリターンする。通信モードが設定されているときく
ステップ5512においてYes”)、ステップ551
3において”0NLINE”のデータを表示用バッファ
メモリ24に出力して当該データをLED表示器25に
表示させた後、メインルーチンにリターンする。この”
ON  LINE”のデータの表示によって、複写機の
操作者に、データを集中管理装置に送信中であり、複写
動作が禁止されていることを知らせることかできるとい
う利点がある。
When the copy 110 is powered off (step 5)
(Yes in step 510), the display on the LED display 25 is turned off in step 5511, and then the process returns to the main routine. If the communication mode is set, “Yes” in step 5512), step 551
In step 3, the data of "0NLINE" is output to the display buffer memory 24 and the data is displayed on the LED display 25, after which the process returns to the main routine. this"
Displaying the data ``ON LINE'' has the advantage of informing the copier operator that data is being sent to the central control device and that copying operations are prohibited.

一方、設定モードが設定されているとき(ステップ55
14においてYe s)、ステップ5515において表
示用バッファメモリ24に格納されているデータをLE
D表示器25に表示させた後、メインルーチンにリター
ンする。集計カードがカードデータ入出力装置22に挿
入されているとき(ステップ5516においてYe s
) 、ステップ5517においてコピーデータコントロ
ーラ20内のRAM103に格納されている上記コピー
データを順次LED表示器25に表示させた後、メイン
ルーチンにリターンする。部門カードがカードデータ入
出力装置22に挿入されているときは(ステップ551
8においてYes)、ステップ5519において部門コ
ード及び当該部門のコピー枚数をLED表示器25に表
示させた後、メインルーチンにリターンする。磁気カー
ドがカードデータ入出力装置22に挿入されていないと
きは(ステップ5520においてYes)、ステップ5
521において’CARD”のデータをLED表示器2
5に表示させた後、メインルーチンにリターンする。
On the other hand, when the setting mode is set (step 55)
14 (Yes), and in step 5515 the data stored in the display buffer memory 24 is
After displaying on the D display 25, 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)
) In step 5517, the copy data stored in the RAM 103 in the copy data controller 20 is sequentially displayed on the LED display 25, and then the process returns to the main routine. When the department card is inserted into the card data input/output device 22 (step 551
8), 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 22 (Yes in step 5520), step 5
At 521, the 'CARD' data is displayed on the LED display 2.
5, then return to the main routine.

第27図はカードリード/ライト処理(第25図のステ
ップS 503)を示す70−ヂヤートである。
FIG. 27 is a 70-wire diagram showing card read/write processing (step S503 in FIG. 25).

第27図のステップ5530,5532.5534、及
び5537においてそれぞれ、磁気カードがカードデー
タ入出力装置22に挿入されているか否かを検出する挿
入センサー(図示せず。)がオンとなっているか否か、
磁気カードに格納されているデータの読出しが完了した
か否か、磁気カードの排出を指令するイジェクトスイッ
チ(図示せずa)がオンとなっているか否か、並びに、
イジェクトフラグが1”であるか否かをチエツクする。
In steps 5530, 5532, 5534, and 5537 of 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 data stored in the magnetic card has been completed, whether an eject switch (a, not shown) that commands ejection of the magnetic card is turned on, and
Check whether the eject flag is 1".

挿入センサーがオンであるとき(ステップ5530にお
いてYes)、ステップS531において詳細後述する
カード挿入処理を行った後、メインルーチンにリターン
する。磁気カードに格納されているデータの読出しが完
了しているとき(ステップ5532においてYe s)
 、ステップ5533において詳細後述するリード完了
処理を行った後、メインルーチンにリターンする。イジ
ェクトスイッチがオンとなっているとき(ステップ55
34においてYe S) 、ステップ5536において
詳細後述するイジェクト処理を行った後、メインルーチ
ンにリターンする。イジェクトフラグが1”であるとき
(ステップ5537においてYes)、ステップ553
5においてイジェクトフラグをリセットした後、ステッ
プ5536においてイジェクト処理を行って、メインル
ーチンにリターンする。一方、イジェクトフラグがno
″であるとき(ステップ5537においてNo)、ステ
ップ5538において、挿入センサーがオフとなってい
るかもしくはイジェクトタイマーが所定の時間を計時し
たかをチエツクすることによって、磁気カードの排出が
完了しているか否かをチエツクし、磁気カードの排出が
完了していないときは(ステップ5538においてNo
)そのままメインルーチンにリターンし、一方、磁気カ
ードの排出が完了しているときは(ステップ5538に
おいてYes)、ステップ5539において詳細後述す
る排出完了処理を行った後、メインルーチンにリターン
する。
When the insertion sensor is on (Yes in step 5530), a card insertion process, which will be described in detail later, is performed in step S531, and then the process returns to the main routine. When reading of data stored in the magnetic card is completed (Yes in step 5532)
After performing read completion processing, which will be described in detail later, in step 5533, the process returns to the main routine. When the eject switch is on (step 55)
34 (Yes S), and after performing eject processing, which will be described in detail later, in step 5536, the process returns to the main routine. When the eject flag is 1” (Yes in step 5537), step 553
After the eject flag is reset in step 5536, eject processing is performed in step 5536, and the process returns to the main routine. On the other hand, the eject flag is no
'' (No in step 5537), in step 5538 it is determined whether ejection of the magnetic card is complete by checking whether the insertion sensor is off or whether the ejection timer has counted a predetermined time. If ejection of the magnetic card is not completed (No in step 5538).
) If the ejection of the magnetic card has been completed (Yes in step 5538), ejection completion processing, which will be described in detail later, is performed in step 5539, and then the process returns to the 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において、まず、搬送モー
タ23を磁気カードの挿入方向(CW回転方向)に回転
させ、ステップ5551においてカードデータ入出力装
置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 5551, the magnetic head in the card data input/output device 22 is set to read mode, and the magnetic card is inserted into the magnetic card. After reading the data stored in , the data is stored in RAMIO3, and in step 5552,
Starts a read timer that measures the time to read data stored in the magnetic card, and returns.

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

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

次いで、ステップ3562において、読み出したデータ
にエラーがあるか否かをチエツクし、エラーがある場合
は(ステップ5562においてNo)ステップ5566
においてイジェクト処理を行った後リターンする。一方
、読出したデータにエラーがない場合は(ステップ55
62においてYes)、ステップ5563において当該
磁気カードが部門カードであるか否かをチエツクし、部
門カードであるときは(ステップ5563においてYe
s)、ステップ5564において複写機10に対してコ
ピー動作を許可した後、リターンする。
Next, in step 3562, 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
If the magnetic card is a department card (Yes in step 5563), it is checked in step 5563 whether or not the magnetic card is a department card.
s) After permitting the copying machine 10 to perform a copying operation in step 5564, the process returns.

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

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

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

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

第31図のステップ5580において、搬送モータ23
をオフとし、ステップS581において磁気カードから
読出しRAM103に格納したデータをクリアした後、
リターンする。
In step 5580 of FIG.
is turned off, and after clearing the data read from the magnetic card and stored in the RAM 103 in step S581,
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
においてそれぞれ、複写機lOにおいて1枚のコピー動
作が完了したか否か、複写機工O゛においてジャムが発
生したか否か、並びに複写機10においてトラブルが発
生したか否かをチエツクする。各ステップにおいていず
れにも該当しない場合はそのままメインルーチンにリタ
ーンする。
Steno knobs 5590, 5592, and 5594 in FIG.
In each step, it is checked whether the copying operation for one sheet has been completed in the copying machine IO, whether a jam has occurred in the copying machine O', 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において発生箇所に対応するジャム
カウンタをインクリメントした後、メインル−チンにリ
ターンする。さらに、複写機10においてトラブルが発
生したときは、ステップ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. Further, 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図のステップS 505)を示すフローチ
ャートである。
FIG. 33 is a flowchart showing communication processing in the copy data controller 20 (step S505 in FIG. 25).

第33図のステップ5600において、まず、受信デー
タがあるか否かをチエツクし、受信データがないときは
(ステップ5600においてNo)、そのままメインル
ーチンにリターンする。一方、受信データがあるときは
(ステップ5600においてYeS)、ステップ560
1において受信データにエラーがあるか否かをチエツク
し、エラーがあるときはぐステップ5601においてN
o)、ステップ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), step 560
In step 5601, it is checked whether or not there is an error in the received data, and if there is an error, in step 5601
o) After performing necessary predetermined error processing for the error in step 5603, the process returns to the main routine. On the other hand, if there are no errors in the received data (
(Yes in step 5601), step 5602
After performing command analysis processing, which will be described in detail later, the process returns to the main routine.

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

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

モード確認信号が受信されたときは(ステップ5610
においてYes)、ステップ5611においてコピーデ
ータコントローラ20における現在のモードをチエツク
し、処理モードであるときはステップ5613において
処理モードアンサ−信号をオンラインコントローラ30
を介してセンター制御装置50に対して送信した後リタ
ーンし、また通信モードであるときはステップ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においてYe s) 、ステップ5616において
複写機lOがコピー中であるか否かをチエツクし、コピ
ー中であるときは(ステップ3616においてYe s
)ステップ5613において処理モードアンサ−信号を
オンラインコントローラ30を介してセンター制御装置
50に対して送信した後リターンし、一方、コピー中で
ないときは(ステップ5616においてNO)、ステッ
プ5617及び5618においてそれぞれ、磁気カード
がカードデータ入出力装置22に挿入されているか否か
、並びに複写機10においてコピー動作が許可されてい
るか否かをチエツクする。ここで、磁気カードが挿入さ
れかつコピー動作が許可されているときは(ステップ5
617及び5618においてYes)、当該磁気カード
を排出させるため、ステップ5619においてイジェク
トフラグに1″をセットした後、ステップ5620に進
み、通信モードアンサ−信号をオンラインコントローラ
30を介してセンター制御装置50に対して送信した後
リターンする。一方、磁気カードが挿入されていないと
き(ステップ5617においてNo)もしくは磁気カー
ドが挿入されていてもコピー動作が許可されていないと
きは(ステップ5617においてYes及びステップ5
618においてNo)、そのままステップ5620に進
み、通信モードアンサ−信号をオンラインコントローラ
30を介してセンター制御装置50に対して送信した後
リターンする。
When the communication mode request signal is received (step 56
15), and in step 5616 it is checked whether the copier IO is copying, and if it is copying (Yes in step 3616).
) Returns after transmitting a processing mode answer signal to the center control device 50 via the online controller 30 in step 5613; on the other hand, if copying is not in progress (NO in step 5616), in steps 5617 and 5618, respectively. 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. Here, if a magnetic card is inserted and copy operation is permitted (step 5)
617 and 5618), in order to eject the magnetic card, the eject flag is set to 1'' 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. On the other hand, if a magnetic card is not inserted (No in step 5617) or if a magnetic card is inserted but the copy operation is not permitted (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においてYe s) 、ステップ5622において
、例えば部門カードが挿入されずもしくは複写機IOに
おいてジャム又はトラブルが発生し、複写機lOがコピ
ー動作を禁止されているか否かをチエツクし、コピー動
作を禁止されていないときは(ステップ5622におい
てNo)ステップ5613に進み、処理モードアンサ−
信号をオンラインコントローラ30を介してセンター制
御装置50に対して送信した後リターンする。一方、コ
ピー動作を禁止されているときは(ステップ5622に
おいてYes)、ステップ5623において設定モード
アンサ−信号をオンラインコントローラ30を介してセ
ンター制御装置50に対して送信した後リターンする。
When the setting mode request signal is received (step 56
(Yes in step 5621), in step 5622, for example, if the department card is not inserted or a jam or trouble occurs in the copier IO, the copier IO is checked to see if it is prohibited from copying, and the copying operation is prohibited. If not (No in step 5622), the process advances to step 5613 and the processing mode answer is
After transmitting the signal to the center control device 50 via the online controller 30, the process returns. 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においてYes)、ステップ5625において当
該コピーデータコントローラ20のシリアル番号と全コ
ピー枚数のデータを第9図の(a)のフォーマットでオ
ンラインコントローラ30を介してセンター制御装置5
0に対して送信した後リターンする。
When the serial number request signal is received (step 5)
(Yes in step 624), and in step 5625, the serial number and total number of copies of the copy data controller 20 are sent to the center control device 5 via the online controller 30 in the format shown in FIG. 9(a).
Returns after sending to 0.

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

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

部門別カウント要求信号が受信されたときは(ステップ
5630においてYes)、ステップ5631において
部門別及びサイズ別のコピー枚数のデータを第9図の(
d)の7オーマツトでオンラインコントローラ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 7-order format of d), the process returns.

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

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

(6)センター制御装置50の処理 第35図はセンター制御装置50のメインルーチンを示
すフローチャートである。
(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内の各回路の初期設定を行った後、ステッ
プ5701において当該センター制御装置50内にモデ
ム52が接続されているか否かをチエツクし、モデム5
2が接続されていないときは(ステップS701におい
てNo)ステップ5704に進み、一方、モデム52が
接続されているときは(ステップ5701においてYe
 s)、ステップ5702において当該モデム52が初
期化済みであるか否かをチエツクする。ここで、モデム
52が初期化済みであるときは(ステップ5702にお
いてYes)ステップ5704に進み、一方、初期化さ
れていないときは(ステップ5702においてNO)、
ステップ5703において当該モデム52を初期化した
後、ステップ5704に進む。
In step 5700 of FIG. 35, first, initial settings are made for each circuit in the center control device 50, and then in step 5701, it is checked whether or not the modem 52 is connected to the center control device 50, and the modem 52 is connected to the center control device 50. 5
If the modem 52 is not connected (No in step S701), the process advances to step 5704; on the other hand, if the modem 52 is connected (No in step S701), the process proceeds to step 5704.
s) In step 5702, it is checked whether the modem 52 has been initialized. Here, if the modem 52 has been initialized (Yes in step 5702), the process proceeds to step 5704; on the other hand, if it has not been initialized (NO in step 5702),
After initializing the modem 52 in step 5703, the process advances 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において詳細後述するデータ受信処理を行
った後、ステップ5701に戻り、一方、回線接続され
ていないときは(ステップ5707においてNo)その
ままステップS701に戻る。
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. , 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 S701.

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

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

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

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

第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から時刻データを受信する
と、ステップS731に進み、モード確認信号をオンラ
インコントローラ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 S731, 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において’
1’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 (step 5733),
1'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においてクリア要求信号をオンラインコ
ントローラ30を介してコピーデータコントローラ20
に送信してコピーデータコントローラ20内のRAM1
03に格納されている上記コピーデータをすべてクリア
する。次いで、ステップ5738において回線切換要求
信号をオンラインコントローラ30に対して送信して、
オンラインコントローラ30に対して次のチャンネルの
コピーデータコントローラ20に切換させた後、ステッ
プ5731に戻る。
In steps 5734, 5735, and 5736, a jam count request signal, a trouble count request signal, and a departmental count request signal are sent to the copy data controller 20 via the online controller 30, and data corresponding to each request signal is received. After that, in step 5737, a clear request signal is sent to the copy data controller 20 via the online controller 30.
RAM1 in the copy data controller 20
Clear all the above copy data stored in 03. Next, in step 5738, a line switching request signal is sent to the online controller 30,
After switching the online controller 30 to the copy data controller 20 of the next channel, the process returns to step 5731.

ステップ5739において回線解放要求信号をオンライ
ンコントローラ30に対して送信した後、ステップ57
40においてモデム52に対してオンラインコントロー
ラ30との回線切断処理を行わせる。次いで、ステップ
3741において受信した上記コピーデータを締切後デ
ータに加算して、当該締切後データを更新した後、メイ
ンルーチンにリターンする。
After transmitting the line release request signal to the online controller 30 in step 5739, step 57
At step 40, the modem 52 is caused to perform a line disconnection process with the online controller 30. Next, in step 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においてYe s)
 、当該磁気カードを排出させるため、ステップ561
9においてイジェクトフラグに″ 1″をセットした後
、ステップ5620に進み、通信モードアンサ−信号を
オンラインコントローラ30を介してセンター制御装置
50に対して送信した後リターンしているが、これに限
らず、当該磁気カードを排出させないで、ステップ56
2oiこ進むように構成してもよい。
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 561 to eject the magnetic card.
After setting the eject flag to "1" in step 9, 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. , without ejecting the magnetic card, step 56
It may be configured to advance by 2 oi.

[発明の効果] 以上詳述したように本発明によれば、コピーデータ管理
システムにおいて、通信制御装置に設けられる設定手段
によってそれぞれ設定される電話番号、発信13時及び
現在日時のデータをデータ制御装置に送信し、複写機に
設けられるデータ制御装置の表示手段に表示させるよう
にしたので、通信制御装置に表示装置を設ける必要がな
くなる。
[Effects of the Invention] As described in detail above, according to the present invention, in the copy data management system, the data of the telephone number, calling 13:00, and current date and time, which are respectively set by the setting means provided in the communication control device, is controlled. Since the information is transmitted to the apparatus and displayed on the display means of the data control device provided in the copying machine, there is no need to provide a display device in the communication control device.

従って、当該コピーデータ管理システムの製造コストを
低減させることができるという利点がある。
Therefore, there is an advantage that the manufacturing cost of the copy data management system can be reduced.

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

第1図は本発明の一実施例であるコピーデータ管理シス
テムのブロック図、 第2図は第1図のコピーデータコントローラのブロック
図、 第3図は第1図のオンラインコントa−ラのブロック図
、 第4図(A)は第3図のメインテナンス用スイッチ及び
モニタLEDの正面図、 第4図(B)は第4図(A)のメインテナンス用スイッ
チの操作方法と該スイッチの表示を示す図、 第5図は第1図のセンター制御装置のブロック図、 第6図(A)乃至第6図(C)は第1図のコピーデータ
管理システムにおける通常処理時の通信手順を示す通信
シーケンス図、 第7図及び第8図は第1図のコピーデータ管理システム
における異常処理時の通信手順を示す通信シーケンス図
、 第9図は第1図のコピーデータ管理システムにおける通
信データのフォーマットを示す図、第1O図(A)及び
第10図(B)は第1図のオンラインコントローラのメ
インルーチンを示すフローチャート、 第11図乃至第24図は第1図のオンラインコントロー
ラのサブルーチンを示すフローチャート、第25図は第
1図のコピーデータコントローラのメインル−チンを示
すフローチャート、第26図乃至第33図、並びに第3
4図(A)及び第34図(B)は第1図のコピーデータ
コントローラのサブルーチンを示すフローチャート、第
35図は第1図のセンター制御装置のメインルーチンを
示すフローチャート、 第36図及び第37図は第1図のセンター制御装置のサ
ブルーチンを示すフローチャートである。 1・・・端末システム、2・・・センターシステム、3
・・・交換機、4a、4b、4c・・・電話回線、10
、IQa乃至10 d ・・・複写機、20.20a乃
至20d・・・コピーデータコントローラ、21.31
・・・マイクロコンピュータ、22・・・カードデータ
入出力装置、 23・・・搬送モータ、 30.30a、30b・・・オンラインコントローラ、
33.52・・・変復調装置(モデム)、40 、40
 a 、 40 b ・・−電話機、50・・・センタ
ー制御装置、 60・・・パーソナルコンピュータ、 70・・・CRTデイスプレィ装置、 203・・・RAM。 204・・・リアルタイムクミック。 第4図[8)
FIG. 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, and 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) shows 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 in FIG. 1, and FIGS. 6(A) to 6(C) are communication sequences showing communication procedures during normal processing in the copy data management system in FIG. 1. Figures 7 and 8 are communication sequence diagrams showing communication procedures during abnormality processing in the copy data management system of Figure 1, and Figure 9 shows the format of communication data in the copy data management system of Figure 1. 10(A) and 10(B) are flowcharts showing the main routine of the online controller in FIG. 1. FIGS. 11 to 24 are flowcharts showing subroutines of the online controller in FIG. FIG. 25 is a flowchart showing the main routine of the copy data controller in FIG. 1, FIGS. 26 to 33, and FIG.
4(A) and 34(B) are flowcharts showing the subroutine of the copy data controller in FIG. 1, FIG. 35 is a flowchart showing the main routine of the center control device in FIG. 1, and FIGS. 36 and 37. This figure is a flowchart showing a subroutine of the center control device of FIG. 1. 1...Terminal system, 2...Center system, 3
...Exchange, 4a, 4b, 4c...Telephone line, 10
, IQa to 10 d...Copy machine, 20.20a to 20d...Copy data controller, 21.31
...Microcomputer, 22...Card data input/output device, 23...Transport motor, 30.30a, 30b...Online controller,
33.52...Modulator/demodulator (modem), 40, 40
a, 40 b...-telephone, 50... center control device, 60... personal computer, 70... CRT display device, 203... RAM. 204...Real Time Kumik. Figure 4 [8]

Claims (1)

【特許請求の範囲】[Claims] (1)複写機におけるコピー枚数やメンテナンス要求等
の複写機の管理に必要なデータを、電話回線を用いて、
上記データを収集する集中管理装置に送信する送信手段
と、上記データを表示する表示手段を含み、上記複写機
に設けられるデータ制御装置と、 現在日時、発信日時、及び上記集中管理装置の電話番号
を設定する設定手段と、計時される現在日時が上記発信
日時に達したとき上記電話番号をダイヤルし上記集中管
理装置と回線接続した後上記送信手段を上記電話回線に
接続して上記コピーデータを送信するように上記送信手
段を制御する制御手段を含む通信制御装置を備え、 上記通信制御装置は、 上記設定手段によって上記電話番号、上記発信日時及び
上記現在日時のデータが設定されるとき上記設定される
データを上記データ制御装置に送信するデータ送信手段
を備え、 上記データ制御装置は、 上記データ送信手段によって送信されたデータを受信し
上記表示手段に表示する表示制御手段を備えたことを特
徴とするコピーデータ管理システム。
(1) Data necessary for managing the copying machine, such as the number of copies and maintenance requests, can be sent via telephone line.
a data control device installed in the copying machine, including a transmitting means for transmitting the data to a central control device that collects the data, and a display means for displaying the data; a setting means for setting the above, and a setting means for setting the above-mentioned call date and time when the current date and time to be clocked reaches the above-mentioned call date and time, dial the above-mentioned telephone number and connect the line to the above-mentioned central control device, and then connect the above-mentioned transmission means to the above-mentioned telephone line to send the above-mentioned copy data. The communication control device includes a control means for controlling the transmission means to transmit, and when the setting means sets the telephone number, the transmission date and time, and the current date and time, the communication control device performs the setting. data transmitting means for transmitting the data to the data control device, and the data control device further comprising display control means for receiving the data transmitted by the data transmitting means and displaying it on the display means. Copy data management system.
JP1200721A 1989-05-22 1989-08-02 Copy data control system Pending JPH0364245A (en)

Priority Applications (2)

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

Publications (1)

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

Family

ID=16429098

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JPH0364245A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05113701A (en) * 1991-10-23 1993-05-07 Sharp Corp Maintenance communication system for copying machine
JPH0631910U (en) * 1992-09-29 1994-04-26 豊和工業株式会社 Blade edge position correction device for boring tools
US5596390A (en) * 1994-09-26 1997-01-21 Ricoh Company, Ltd. Image forming apparatus and system for administering the same

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05113701A (en) * 1991-10-23 1993-05-07 Sharp Corp Maintenance communication system for copying machine
JPH0631910U (en) * 1992-09-29 1994-04-26 豊和工業株式会社 Blade edge position correction device for boring tools
US5596390A (en) * 1994-09-26 1997-01-21 Ricoh Company, Ltd. Image forming apparatus and system for administering the same

Similar Documents

Publication Publication Date Title
US6006045A (en) Image forming apparatus supervising system
JPS59127133A (en) Data transmitting system
EP0416129B1 (en) Switching system for application service
JPH0364245A (en) Copy data control system
JPH10257212A (en) Image forming device management system
JPH0364244A (en) Copy data control system
JPH0364243A (en) Copy data control system
JPH02306261A (en) Copy data control system
JPH02306259A (en) Copy data control system
JPH02306260A (en) Copy data control system
JP2801200B2 (en) Data communication device
US20020052879A1 (en) Centralized management unit receiving data from management unit of different communication methods
CN100480895C (en) Image forming apparatus
JPH0364770A (en) Copying data control system
JPS6132862A (en) Managing device of copying machine
JP3037045B2 (en) Automatic meter reading system
JPS6225375A (en) Operation system for automatic teller machine
JPH01100670A (en) Transaction processor
JP2002044320A (en) Central management unit for copying machine
JP2001022231A (en) Image forming device management system
JP3006763B2 (en) Portable electronic device and communication method therefor
JPH0467162A (en) Copying machine managing device
EP0843460A2 (en) Facsimile apparatus
JPH1139116A (en) Image forming device management system
JPH0482470A (en) Digital copying machine