JP2572741B2 - Control system testing method - Google Patents

Control system testing method

Info

Publication number
JP2572741B2
JP2572741B2 JP59024178A JP2417884A JP2572741B2 JP 2572741 B2 JP2572741 B2 JP 2572741B2 JP 59024178 A JP59024178 A JP 59024178A JP 2417884 A JP2417884 A JP 2417884A JP 2572741 B2 JP2572741 B2 JP 2572741B2
Authority
JP
Japan
Prior art keywords
cpu
test
data
control device
scanning
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP59024178A
Other languages
Japanese (ja)
Other versions
JPS60168212A (en
Inventor
義和 池ノ上
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP59024178A priority Critical patent/JP2572741B2/en
Publication of JPS60168212A publication Critical patent/JPS60168212A/en
Application granted granted Critical
Publication of JP2572741B2 publication Critical patent/JP2572741B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Control Or Security For Electrophotography (AREA)
  • Testing And Monitoring For Control Systems (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)
  • Control By Computers (AREA)

Description

【発明の詳細な説明】 技術分野 本発明は、1つの制御システム内に複数の制御装置を
備えたいわゆるマルチCPUシステムのテスト方法に関す
る。
Description: TECHNICAL FIELD The present invention relates to a test method for a so-called multi-CPU system having a plurality of control devices in one control system.

従来技術 たとえば複写機等において、マイクロコンピュータを
用いた制御装置(以下CPUという。)を複数個備え、各C
PUはそれぞれ割り当てられた特定の制御対象を制御する
とともに、各CPUは互いに関連して制御システム全体と
して動作するように構成される場合がある。この種のマ
ルチCPUシステムによって制御される機械装置において
は、通常マルチCPUシステム全体によって制御が行なわ
れるため、制御系に故障が生じた場合に故障部位の特定
が困難であった。また、このマルチCPUシステムにおい
ては、機能ブロック毎にユニット化して形成されるの
で、故障時に各々のユニット単独で又は複数のユニット
を接続した状態でテストと調整を行なう必要があり、こ
れらの作業が煩雑化するという欠点を有していた。
2. Description of the Related Art For example, a copying machine or the like is provided with a plurality of control devices (hereinafter referred to as CPUs) using a microcomputer,
The PU controls a specific control target assigned to each, and the CPUs may be configured to operate as a whole control system in association with each other. In a mechanical device controlled by this type of multi-CPU system, control is usually performed by the entire multi-CPU system, so that when a failure occurs in the control system, it is difficult to specify a failed part. Also, in this multi-CPU system, since each functional block is formed as a unit, it is necessary to perform testing and adjustment in the event of a failure with each unit alone or with a plurality of units connected. It had the disadvantage of being complicated.

目的 本発明は上記事情に鑑みてなされたものでありその目
的は、マルチCPUシステムにおいて故障が生じた場合、
どのCPUに関連した故障か、さらには、どの通信線に関
連した故障かといったように、故障箇所を細かく絞って
特定できるようにしたマルチCPUシステムのテスト方法
を提供することである。
Purpose The present invention has been made in view of the above circumstances, and its purpose is to provide a multi-CPU system in the event of a failure.
It is an object of the present invention to provide a test method for a multi-CPU system in which a failure location can be narrowed down and specified, such as which CPU is related to a failure and which communication line is related to.

概要 マルチCPUシステム内の所定のCPUにシステムの全体と
関連した動作モードとシステムの他のCPUとは独立した
単独動作モードとを備え、制御装置を単独でテスト動作
をさせるテスト信号により上記単独動作モードを各CPU
にて互いに独立に実行させることによりどのCPUが故障
であるかを判断しシステムの故障をチェックする。
Outline A given CPU in a multi-CPU system has an operation mode related to the entire system and an independent operation mode independent of other CPUs in the system. Mode for each CPU
, Which are executed independently of each other to determine which CPU has a failure and check for a system failure.

実施例 以下、本発明の一実施例を説明する。Example Hereinafter, an example of the present invention will be described.

なお、以下の説明でCPUとあるのはいわゆる中央処理
装置ではなく、マイクロコンピュータとして機能する情
報処理装置を意味する。
In the following description, the CPU means not the so-called central processing unit but an information processing device functioning as a microcomputer.

第1図は、マルチCPUシステムによって制御される複
写機の構成を示す。複写機100の略中央部には感光体ド
ラム1が反時計方向に回転可能に支持されており、その
周囲には、メインイレーサランプ2、サブ帯電チャージ
ャ3、サブイレーサランプ4、メイン帯電チャージャ
5、現像装置6、転写チャージャ7、分離チャージャ
8、クリーニング装置9が順次配設されている。感光体
ドラム1は表面に感光体層を設けたもので、この感光体
は前記イレーサランプ2,4及び帯電チャージャ3,5を通過
することにより増感帯電され、走査光学系10から画像露
光を受けてその表面に静電潜像が形成される。
FIG. 1 shows a configuration of a copying machine controlled by a multi-CPU system. A photosensitive drum 1 is supported at a substantially central portion of the copying machine 100 so as to be rotatable in a counterclockwise direction. Around the photosensitive drum 1, a main eraser lamp 2, a sub-charging charger 3, a sub-erasing lamp 4, and a main charging charger 5 are provided. , A developing device 6, a transfer charger 7, a separation charger 8, and a cleaning device 9 are sequentially arranged. The photoreceptor drum 1 has a photoreceptor layer provided on its surface. The photoreceptor is sensitized and charged by passing through the eraser lamps 2 and 4 and the chargers 3 and 5, and the image exposure is performed by the scanning optical system 10. As a result, an electrostatic latent image is formed on the surface.

光学系10は原稿ガラス16の下方で原稿像を走査可能に
配設したもので、光源17と、可動ミラー11,12,13と、レ
ンズ14と、ミラー15とから構成されている。前記光源17
及び可動ミラー11は感光体ドラム1の周速度(等倍,
変倍に拘らず一定)に対してv/m(但し、mは複写倍
率)の速度で左方に移動し、可動ミラー12,13はv/2mの
速度で左方に移動するように駆動される。
The optical system 10 is arranged below the original glass 16 so as to be able to scan an original image. The optical system 10 includes a light source 17, movable mirrors 11, 12, and 13, a lens 14, and a mirror 15. The light source 17
And the movable mirror 11 has a peripheral speed V of the photosensitive drum 1 (1 ×,
Moves to the left at a speed of v / m (where m is the copy magnification) with respect to the fixed magnification, and drives the movable mirrors 12 and 13 to move to the left at a speed of v / 2m. Is done.

複写紙は、複写機100本体の図中左側に設けられた自
動給紙機構20又は手差し給紙機構30によって機内に給送
され、タイミングローラ21により一旦停止された後に感
光体ドラム1上に形成される像と同期をとって転写部へ
送り込まれ、転写チャージャ7でトナー像の転写を受
け、分離用チャージャ8によって感光体ドラム1の表面
から分離されて搬送ベルト22で定着装置23へ送り込ま
れ、像定着されてソータ24に搬送される。
The copy paper is fed into the apparatus by an automatic paper feed mechanism 20 or a manual paper feed mechanism 30 provided on the left side of the main body of the copier 100 in the drawing, and is formed on the photosensitive drum 1 after being temporarily stopped by a timing roller 21. The toner image is transferred to the transfer section in synchronization with the image to be transferred, is transferred by the transfer charger 7, is separated from the surface of the photosensitive drum 1 by the separation charger 8, and is sent to the fixing device 23 by the transport belt 22. The image is fixed and transported to the sorter 24.

転写後の感光体ドラム1は、クリーニング装置9,イレ
ーサランプ2等によってその表面に残留するトナー及び
電荷を除去され、次の複写工程に備えるものである。
After the transfer, the photosensitive drum 1 is cleaned of toner and charges remaining on its surface by a cleaning device 9, an eraser lamp 2, and the like, and is prepared for the next copying process.

複写機の上面には原稿搬送装置(以下、ADFという)2
00が設置され、上述した複写機の動作と連動して、原稿
(図示せず)をトレー203から原稿台ガラス16上の所定
位置へ搬送して停止させ、また走査終了,マルチコピー
終了後に排紙トレー204へ排紙する。
A document feeder (ADF) 2 is located on the top of the copier.
A document (not shown) is conveyed from the tray 203 to a predetermined position on the platen glass 16 and stopped in conjunction with the above-described operation of the copying machine. The sheet is discharged to the paper tray 204.

第2図は、光学走査系10の構成を概略的に示すもので
ある。
FIG. 2 schematically shows the configuration of the optical scanning system 10. As shown in FIG.

301は照明系を含んだ走査系であり、この走査系301は
直流モータM3にて往復移動、即ち矢印A方向に往動、逆
方向に復動可能とされている。
Reference numeral 301 denotes a scanning system including an illumination system. The scanning system 301 can be reciprocated by a DC motor M3, that is, can move in the direction of arrow A and return in the reverse direction.

302はエンコーダで、直流モータM3の回転軸に配置さ
れ、その回転数に比例したパルスを発生するもので、パ
ルス数で走査系301の位置を、パルス間隔でその位置で
の走査系301の速度を検出可能である。303はホームポジ
ションスイッチで、走査系301がホームポジションすな
わち走査開始位置にあるか否かを検出するもので、走査
系301がホームポジションにあるときオン信号を発し、
それ以外はオフ信号を発する。304はブレーキスイッチ
で、走査系301に対して以下に説明する制御のための基
準位置やテスト走査時の制動開始位置を検出するもの
で、走査系301が所定位置に達したときオン信号を発
し、それ以外はオフ状態である。
Reference numeral 302 denotes an encoder, which is arranged on the rotation axis of the DC motor M3 and generates a pulse proportional to the number of rotations. The position of the scanning system 301 is determined by the number of pulses, and the speed of the scanning system 301 at that position is determined by the pulse interval. Can be detected. 303 is a home position switch, which detects whether the scanning system 301 is at the home position, that is, the scanning start position, and issues an ON signal when the scanning system 301 is at the home position;
Otherwise, it issues an off signal. Reference numeral 304 denotes a brake switch, which detects a reference position for control described below for the scanning system 301 and a braking start position at the time of test scanning, and issues an ON signal when the scanning system 301 reaches a predetermined position. The rest is off.

第3図は、上述の複写機の操作部を示す。この操作部
70には、複写倍率選択キー95〜98,100〜103,複写用紙選
択キー92,テンキー80〜89等の複写モードを選択する入
力キーと、選択されたモードや現在の状態たとえばコピ
ー枚数等を表示する表示部72及び複写動作をスタートさ
せるプリントキー71を有する。
FIG. 3 shows an operation unit of the above-described copying machine. This operation unit
An input key 70 for selecting a copy mode, such as a copy magnification selection key 95 to 98, 100 to 103, a copy paper selection key 92, and a numeric keypad 80 to 89, and the selected mode and the current state, such as the number of copies, are displayed. It has a display section 72 and a print key 71 for starting a copying operation.

第4図は複写機の制御システムの構成を示し、複写動
作の制御を行なう第1のマイクロコンピュータ(以下、
マスタCPUという)401は、通信線SCAN,RETURN,REQ,CK,D
ATAを介して光学系10を制御する第2のマイクロコンピ
ュータ(以下、スレーブCPUという)402と接続される。
また、マスタCPU401には、上述の操作部70上のキーの接
点で構成されるキーマトリックス403と表示部72を構成
する4桁の7セグメントLED及び表示灯95a〜103aを構成
するLED群が接続され、さらに、メインモータM1,現像モ
ータM2,タイミングローラクラッチCL1,自動給紙クラッ
チCL2,手差し給紙クラッチCL3,帯電チャージャHV1と転
写チャージャHV2の各々の駆動スイッチング用トランジ
スタ(不図示)が接続される。
FIG. 4 shows a configuration of a control system of a copying machine, and a first microcomputer (hereinafter, referred to as a microcomputer) for controlling a copying operation.
401 is a communication line SCAN, RETURN, REQ, CK, D
It is connected to a second microcomputer (hereinafter, referred to as a slave CPU) 402 that controls the optical system 10 via the ATA.
Also connected to the master CPU 401 are a key matrix 403 composed of the above-mentioned key contacts on the operation unit 70, a 4-digit 7-segment LED constituting the display unit 72, and an LED group constituting the indicator lamps 95a to 103a. The main motor M1, the developing motor M2, the timing roller clutch CL1, the automatic paper feed clutch CL2, the manual paper feed clutch CL3, and the drive switching transistors (not shown) of the charging charger H V1 and the transfer charger H V2 are provided. Connected.

スレーブCPU402は、走査系301の制動制御のためのデ
ータを記憶する読み取りと書き込みが可能なランダムア
クセスメモリ,リードオンリーメモリ,8ビット内部カウ
ンタ,入出力ポート等から構成されている。スレーブCP
U402には上述の通信線SCAN,RETURN,REQ,CK,DATAを介し
てマスタCPU401が接続されるとともに、通信線MODE0,MO
DE1,MAG0,MAG1を介して走査系駆動用モータM3を制御す
るモータ制御回路404が接続され、さらに、モータM3に
装着されたパルスエンコーダ302,走査系301のホーム位
置を定めるホームポジションスイッチ303並びに走査の
制動位置を定めるブレーキスイッチ304が接続される。
スレーブCPU402には、さらに、サービスマンなどだけが
操作可能なように回路基板上に設けられたテストスィッ
チ405が接続される。このテストスイッチ405は、スレー
ブCPU402を単独に動作させてテストを行なうときに操作
される。なお、このテストスイッチ405は操作部70上に
設けてもよい。
The slave CPU 402 includes a readable and writable random access memory for storing data for braking control of the scanning system 301, a read-only memory, an 8-bit internal counter, an input / output port, and the like. Slave CP
The master CPU 401 is connected to U402 via the above-described communication lines SCAN, RETURN, REQ, CK, and DATA, and the communication lines MODE0, MO
A motor control circuit 404 that controls the scanning system driving motor M3 via DE1, MAG0, and MAG1 is connected, and further, a pulse encoder 302 mounted on the motor M3, a home position switch 303 that determines a home position of the scanning system 301, and A brake switch 304 for determining a scanning braking position is connected.
The slave CPU 402 is further connected to a test switch 405 provided on a circuit board so that only a service person or the like can operate. The test switch 405 is operated when a test is performed by operating the slave CPU 402 independently. The test switch 405 may be provided on the operation unit 70.

テンキー80〜89を使って複写倍率を設定し、その設定
データ基いて光学系10の走査速度を制御する機構につい
ては、たとえば、特開昭58−208758号公報等に詳細に記
載されているような手法,構成を用いることができ、本
発明では直接的な関係がないので、これらの各キーや表
示がマスタCPU401と関連付けられていることを第4図に
示すに止め、詳細な説明は省略する。
A mechanism for setting the copy magnification using the numeric keys 80 to 89 and controlling the scanning speed of the optical system 10 based on the set data is described in detail in, for example, Japanese Patent Application Laid-Open No. 58-208758. Since there is no direct relationship in the present invention, it is only shown in FIG. 4 that these keys and displays are associated with the master CPU 401, and detailed description is omitted. I do.

マスタCPU401からは通信線SCANを介してスレーブCPU4
02へ走査要求信号SCANが送信され、そして、走査系301
の走査が終了すると、スレーブCPU402から通信線RETURN
を介してマスタCPU401へ走査終了信号RETURNが送信され
る。また、通信線DATAを介してシリアルデータの伝送が
マスタCPU401とスレーブCPU402との間で行なわれ、さら
に、通信線CKを介して通信データの1ビット毎の同期を
とるためのクロック信号がマスタCPU401からスレーブCP
U402へ送られる。通信線REQは通信の開始、つまり通信
データのビットの位置を示すために用いられる。
Slave CPU 4 from master CPU 401 via communication line SCAN
02, a scan request signal SCAN is transmitted to the scanning system 301.
When the scanning of is completed, the communication line RETURN
A scan end signal RETURN is transmitted to the master CPU 401 via the. Further, transmission of serial data is performed between the master CPU 401 and the slave CPU 402 via the communication line DATA, and a clock signal for synchronizing the communication data for each bit is communicated via the communication line CK to the master CPU 401. From slave CP
Sent to U402. The communication line REQ is used to start communication, that is, to indicate the position of a bit of communication data.

第5図はこの通信線REQ,CK,DATAのタイミングチャー
トを示し、第6図は送信処理のフローチャート、第7図
は受信処理のフローチャートをそれぞれ示す。送信処理
においては、まず、REQを“0"にすることにより相手に
受信の準備を促す。基本的には、データを1ビットセッ
トする毎にCKを“1"→“0"→“1"と変化させ、このとき
受信側では“0"から“1"への信号の立上りエッジでデー
タを取り込む。ただし、受信側で信号の立上りエッジが
判断出来る様に、送信側ではプログラムタイマによる遅
延時間が必要となる。全データの送信が終了すると、RE
Qを“1"とする。受信側では、REQが“1"となると受信処
理を終了する。受信側では、全データを受信した後、デ
ータのチェックたとえばパリティチェックを行ない、正
常であれば、フラグDFLAGに“1"をセットする。データ
にエラーがあるかあるいは受信が行なわれなかった場合
には、フラグはセットされない。
FIG. 5 shows a timing chart of the communication lines REQ, CK, and DATA, FIG. 6 shows a flowchart of a transmission process, and FIG. 7 shows a flowchart of a reception process. In the transmission process, first, REQ is set to "0" to urge the other party to prepare for reception. Basically, every time one bit of data is set, CK is changed from “1” → “0” → “1”. At this time, on the receiving side, the data is changed at the rising edge of the signal from “0” to “1”. Take in. However, the transmitting side needs a delay time by the program timer so that the receiving side can determine the rising edge of the signal. When transmission of all data is completed, RE
Q is set to “1”. On the receiving side, when the REQ becomes "1", the receiving process ends. On the receiving side, after receiving all the data, the data is checked, for example, a parity check, and if normal, the flag DFLAG is set to "1". The flag is not set if there is an error in the data or if no reception was performed.

モータ制御回路404は、通信線MODE0,MODE1の“0",
“1"の組合せにより定速正転モード,逆転モード及びブ
レーキ動作モードをそれぞれ示すスレーブCPU402からの
信号に応じて、さらに、通信線MAG0,MAG1の“0",“1"の
組合せにより4段の倍率を示すスレーブCPU402からの信
号に応じて、直流モータM3の通電を制御する。
The motor control circuit 404 outputs “0”,
According to the signal from the slave CPU 402 indicating the constant speed forward mode, the reverse mode, and the brake operation mode respectively by the combination of “1”, and further by the combination of “0” and “1” of the communication lines MAG0 and MAG1, four stages The energization of the DC motor M3 is controlled according to a signal from the slave CPU 402 indicating the magnification of.

第8図は、複写機全体のプロセスを制御するマスタCP
U401における処理手順を示すフローチャートである。
Fig. 8 shows the master CP that controls the process of the entire copying machine.
It is a flowchart which shows the process procedure in U401.

電源が投入されると、まず、ステップで初期設定が
行なわれる。初期設定とは、複写枚数の表示部72の表示
を「1」にし、複写倍率を等倍にする等の複写機の動作
の可変項目を標準状態にセットする処理、及び、CPU内
のRAMやレジスタ等をクリアする処理を意味する。ステ
ップでは、マスタCPUにおける処理時間をその処理内
容に係りなく一定にするための内部タイマーをセットす
る。ステップでは、CPUに対する信号の入出力処理を
行なう。たとえば、複写枚数や複写倍率の指定が操作部
70で行なわれた場合には、対応するデータをCPU内部に
セットしたり、複写動作の制御中は、通紙センサーの入
力や、チャージャ出力等の直接入出力を行なう。ステッ
プでは、複写機の状態を表示する。ステップとステ
ップでは、プリントキー71のオンにより、複写動作を
スタートさせる。
When the power is turned on, first, initialization is performed in steps. The initial setting is a process of setting the variable items of the copying machine operation such as setting the display of the number of copies 72 to “1” and setting the copy magnification to be equal to a standard state, and a process of setting the RAM or the CPU in the CPU. This means processing to clear registers and the like. In the step, an internal timer for setting the processing time in the master CPU to be constant regardless of the processing contents is set. In the step, input / output processing of signals to / from the CPU is performed. For example, the number of copies and copy magnification
If the processing is performed in step 70, the corresponding data is set in the CPU, and during the control of the copying operation, the input / output of the paper passing sensor and the direct input / output such as the charger output are performed. In the step, the status of the copying machine is displayed. In the steps, the copy operation is started when the print key 71 is turned on.

ステップでは、コピーフラグを調べこのコピーフラ
グが“1"で複写動作中である場合には、ステップ以降
のコピー処理を行なう。ステップでは実際の複写動作
に応じて給紙、露光、現像等の各プロセスが順次処理さ
れる。特に、露光制御では、後で述べるスレーブCPU402
に対する走査要求信号SCANの出力も行なわれる。ステッ
プではスレーブCPU402からの走査終了信号RETURNをチ
エックし、走査終了であればステップで表示枚数を1
減じ、ステップで表示枚数を調べ、枚数表示が「0」
となって、設定枚数の複写が完了すると、ステップで
コピーフラグをリセットし、ステップで表示枚数を設
定枚数に戻し、次のコピーに備える。ステップでは、
現在設定されている複写倍率やペーパー・サイズから算
出した走査長等の光学走査制御に必要なデータをスレー
ブCPU402に送信するための処理を行なう。この送信処理
の詳細は上述の第6図に示される。ステップでは、マ
スタCPU401のプログラムの処理時間がその処理内容によ
らず一定となるように設定された内部タイマの終了判定
を行ない、内部タイマの終了毎にステップへ戻り、上
述した処理ルーチンをくり返し実行することにより複写
動作を制御する。
In the step, the copy flag is checked, and if the copy flag is "1" and the copy operation is being performed, the copy processing after the step is performed. In the step, processes such as sheet feeding, exposure, and development are sequentially processed according to an actual copying operation. In particular, in the exposure control, the slave CPU 402
Is also output. In the step, the scanning end signal RETURN from the slave CPU 402 is checked.
Subtract and check the number of display in step, number display is "0"
When the copying of the set number is completed, the copy flag is reset in step and the displayed number is returned to the set number in step to prepare for the next copy. In the step,
A process for transmitting data necessary for optical scanning control such as a scanning length calculated from the currently set copy magnification and paper size to the slave CPU 402 is performed. The details of this transmission processing are shown in FIG. 6 described above. In the step, the end of the internal timer set so that the processing time of the program of the master CPU 401 is constant irrespective of the content of the processing is determined. To control the copying operation.

第9図は、光学走査系301の走査制御を行なうスレー
ブCPU402の処理手順を示すフローチャートである。
FIG. 9 is a flowchart showing a processing procedure of the slave CPU 402 for performing scanning control of the optical scanning system 301.

まず、電源が投入されると、ステップでCPU内部の
初期設定が行なわれる。ステップでは、マスタCPU401
との通信ラインのチエックが行なわれ、マスタCPU401か
らの送信があれば、データの受信処理が行なわれる。こ
の受信データは複写倍率及び走査距離よりなる。
First, when the power is turned on, initial settings inside the CPU are performed in steps. In the step, the master CPU 401
A check of the communication line is performed, and if there is a transmission from the master CPU 401, data reception processing is performed. This received data consists of the copy magnification and the scanning distance.

ステップでは、スレーブCPU402を単独に動作させて
テストを行なうためのテストスイッチ405の状態チェッ
クが行なわれる。テストスイッチ405がオフである場合
は、ステップで、マスタCPU401からの走査要求信号SC
ANの有無をチエックする。信号SCANが“0"の場合は、再
びステップへ戻る。ステップで信号SCANが“1"の場
合は、マスタCPU401からの受信データで指定された複写
倍率をモータ制御回路404に出力する。これにより走査
速度は複写倍率に対応した値v/mとなる。ステップで
は、同様にスキャン・タイマーをセットする。
In the step, the state of the test switch 405 for performing the test by operating the slave CPU 402 independently is checked. When the test switch 405 is off, the scan request signal SC from the master CPU
Check for the presence of AN. If the signal SCAN is "0", the process returns to the step again. If the signal SCAN is “1” in the step, the copy magnification specified by the data received from the master CPU 401 is output to the motor control circuit 404. As a result, the scanning speed becomes a value v / m corresponding to the copy magnification. In the step, a scan timer is set similarly.

一方、ステップでテストスイッチ405がオンである
場合は、ステップ以降でスレーブCPU402の単独動作の
セットを行なう。まず、ステップで受信データの有無
を調べマスタCPUが正常でかつ通信ラインも正常で受信
データが有る場合は、走査要求が出ているときと同様
に、受信データで指定された動作をセットする。一方、
マスタCPUか通信ラインの異常により受信データがない
場合には、フラグDFLAGが“0"であるから、ステップ
及びステップで標準モードとして等倍の最大スキャン
を動作としてセットする。
On the other hand, if the test switch 405 is on in the step, the independent operation of the slave CPU 402 is set after the step. First, in step, the presence or absence of received data is checked. If the master CPU is normal and the communication line is normal and there is received data, the operation specified by the received data is set in the same manner as when a scan request is issued. on the other hand,
If there is no received data due to an error in the master CPU or the communication line, the flag DFLAG is "0", so that the maximum scan of the same size is set as an operation in the standard mode in each step.

以上の様にして動作セットが完了すると、ステップ
でモータ制御回路404を定速正転モードとする。これに
より、走査系301は設定された倍率に対応した速度で走
査を開始する。その後は、ステップからステップに
おいて、スキャン長の制御が行なわれる。スキャン長の
制御は、モータM3に装着されたエンコーダ302からのモ
ータパルスのエッジをスレーブCPU402が予じめスキャン
タイマーにセットされた数だけカウントすることにより
行なっている。ステップで設定距離の走査完了が確認
されると、ステップで走査終了信号RETURNを“1"にセ
ットし、この信号RETURNをマスタCPUに送る。次に走査
開始位置への復帰を開始する。まず、ステップでモー
タ制御回路404を逆転オンモードにする。これにより、
走査系301は高速で復帰を開始する。その後、ステップ
でブレーキスイッチ304のオン状態を検出すると、ス
テップでモータ制御回路404をブレーキモードにし、
減速を開始する。
When the operation set is completed as described above, the motor control circuit 404 is set to the constant speed normal rotation mode in steps. Accordingly, the scanning system 301 starts scanning at a speed corresponding to the set magnification. Thereafter, the scan length is controlled from step to step. The scan length is controlled by counting the number of motor pulse edges from the encoder 302 mounted on the motor M3 by the number set in the scan timer in advance by the slave CPU 402. When the completion of the scanning of the set distance is confirmed in the step, the scanning end signal RETURN is set to "1" in the step, and this signal RETURN is sent to the master CPU. Next, return to the scanning start position is started. First, in a step, the motor control circuit 404 is set to the reverse rotation ON mode. This allows
The scanning system 301 starts returning at high speed. Thereafter, when the ON state of the brake switch 304 is detected in the step, the motor control circuit 404 is set to the brake mode in the step,
Start deceleration.

その後、ステップでホームスイッチ303のオンによ
り走査系301の走査開始位置への復帰完了が確認される
と、ステップで走査終了信号RETURNを“0"とし、再び
ステップへ戻る。
Thereafter, when the completion of the return of the scanning system 301 to the scanning start position is confirmed by turning on the home switch 303 in the step, the scanning end signal RETURN is set to “0” in the step, and the process returns to the step again.

上述のようにして、テストスイッチ405をオンにする
ことにより、スレーブCPU402を単独に動作させて走査系
の制御動作を行なわせ、スレーブCPU402とマスタCPU401
及びモータ制御回路404などとの接続部の異常をチェッ
クする。
As described above, by turning on the test switch 405, the slave CPU 402 is operated independently to perform the control operation of the scanning system.
Check for abnormalities in the connection with the motor control circuit 404 and the like.

本実施例では、複写機の光学系制御について説明した
が、他のマルチCPUシステムへの利用も可能である。た
とえば、同じ複写機でも、プロセスを制御する第1のCP
Uが操作部やオプションを制御する第2のCPUとマルチCP
Uシステムを構成する場合で、2つのCPU間の接続に異常
が発生した場合、第1のCPUが操作部の設定とは関係の
ない標準モードたとえば標準倍率、標準給紙口、標準露
光等のモードを有していれば、システムの第1のCPU側
が正常であることが確認出来る。
In this embodiment, the control of the optical system of the copying machine has been described. However, the present invention can be applied to other multi-CPU systems. For example, in the same copying machine, the first CP controlling the process
U controls the operation unit and options 2nd CPU and multi-CP
When configuring the U system, if an error occurs in the connection between the two CPUs, the first CPU operates in a standard mode that is not related to the settings of the operation unit, such as standard magnification, standard paper feed port, and standard exposure. If it has the mode, it can be confirmed that the first CPU side of the system is normal.

逆に、第2のCPUの場合、通常は第1CPUからの信号に
より表示たとえばコピー枚数や、ウエイト表示などを変
化させるが、第1CPUに異常がある場合、第2CPU内部で標
準モードでのコピー時の所定の動作タイミングを与える
凝似信号を発生することにより、表示部やオプション等
のチエックが可能となる。
Conversely, in the case of the second CPU, the display, for example, the number of copies, weight display, etc., is changed by a signal from the first CPU, but if there is an abnormality in the first CPU, the copy is performed in the standard mode inside the second CPU. By generating a similar signal giving the predetermined operation timing, it is possible to check the display unit and options.

オプションでは、たとえばADFのテストがあげられ
る。通常、ADFでは複写機本体のプリントキーまたはADF
のスタート・スイッチにより原稿送りを開始し、後は、
複写機本体の複写動作と同期して動作する。しかし、同
期のための信号系に異常が生じた場合、それが複写機本
体の制御系、ADFの制御系またはADFの機械系等のいずれ
かにおける異常が考えられる。このとき、ADFのテスト
機能として、複写機本体の信号に関係なく原稿の給排紙
を行なうモードを設定しておくことにより、複写機本体
との接続部に異常がある場合、それが複写機本体側かAD
F側かの区別がつく。
Options include, for example, ADF testing. Usually, the ADF uses the print key on the copier or the ADF.
Start document feed by the start switch of
It operates in synchronization with the copying operation of the copying machine body. However, when an abnormality occurs in the signal system for synchronization, it may be an abnormality in any of the control system of the copying machine, the control system of the ADF, the mechanical system of the ADF, and the like. At this time, by setting the ADF test function as a mode for feeding and discharging documents regardless of the signal from the copier, if there is an abnormality in the connection with the copier, Body side or AD
You can tell whether it is on the F side.

他にソータ,給紙ユニット(図示せず)等を各々のCP
Uで制御するマルチCPUシステムについても同様である。
In addition, a sorter, paper feed unit (not shown), etc.
The same applies to a multi-CPU system controlled by U.

複写機ではない他の例としては、プリンタ等の通信回
線を通して他の機器とシステムを構成する場合、第10図
に示す様にプリンタ500の通常は他の機器502からのデー
タを受信する端子501にプリンタ500自身の出力端子503
を接続し、あたかも、他の機器502からのデータを受信
しているかのようにしてテストすることも可能である。
As another example that is not a copying machine, when a system is configured with another device through a communication line such as a printer, a terminal 501 of the printer 500 that normally receives data from another device 502 as shown in FIG. Output terminal 503 of the printer 500 itself
Can be connected, and the test can be performed as if data from another device 502 is being received.

またCPUとしてはマイクロコンピュータに限らず種々
の制御装置を用いることもできる。
Further, the CPU is not limited to a microcomputer, and various control devices can be used.

効果 以上説明したように、本発明においては、マルチCPU
システムにおいて、CPU毎に単独でテスト動作が可能と
したから、システムが故障した場合に、故障に関連する
CPUを容易に発見することが出来る。また、CPUを単独で
テスト動作させる場合、CPUに予め設定された特定の動
作条件でテスト動作させる場合とシステムの状態に応じ
て変更可能なテスト用動作データに基づいてテスト動作
させる場合とを有し、システムの状態を読み込み可能な
ときは、上記テスト用動作データに基づき動作させるよ
うにしたから、広範囲なテストが可能になる。
Effect As described above, in the present invention, the multi-CPU
In the system, the test operation can be performed independently for each CPU.
CPU can be easily found. In addition, there are a case where the CPU performs the test operation alone, a case where the CPU performs the test operation under specific operating conditions set in advance, and a case where the test operation is performed based on the test operation data that can be changed according to the state of the system. When the state of the system can be read, the operation is performed based on the test operation data, so that a wide range of tests can be performed.

具体的に説明すると、テスト開始信号の入力により第
2CPUを単独にテスト動作させる場合、第1CPUから通信線
を介して任意のテスト用動作データを第2CPUへ送信して
おく。その結果として、第2CPUの制御対象装置がどのよ
うな動作条件によって動作しているかを確認することに
よって、どこが異常であるかを絞ることができる。
More specifically, the input of the test start signal causes the
In the case where the two CPUs are to be independently tested, any test operation data is transmitted from the first CPU to the second CPU via a communication line. As a result, by checking under what operating conditions the device to be controlled by the second CPU is operating, it is possible to narrow down what is abnormal.

例えば、第2CPUの制御対象装置が、まさに第1CPUから
通信線を介して送信したテスト用動作データに応じて動
作した場合は、このマルチCPUシステムは正常であると
考えられる。
For example, when the control target device of the second CPU operates exactly in accordance with the test operation data transmitted from the first CPU via the communication line, the multi-CPU system is considered to be normal.

次に、第2CPUの制御対象装置が、第1CPUから通信線を
介して送信したテスト用動作データではなく、予め設定
されている所定のテスト用動作データに応じて動作した
場合は、基本的に第2CPU及びその制御対象装置は正常で
あって、第1CPUや通信線に異常があると考えられる。
Next, when the control target device of the second CPU operates not according to the test operation data transmitted from the first CPU via the communication line but according to predetermined test operation data set in advance, basically, It is considered that the second CPU and the device to be controlled are normal, and the first CPU and the communication line are abnormal.

さらに、第2CPUの制御対象装置が、全く動作しない場
合や非常に異常な動作をする場合は、第2CPUやその制御
対象装置自体が異常であると考えられる。
Furthermore, when the device to be controlled by the second CPU does not operate at all or performs a very abnormal operation, it is considered that the second CPU or the device to be controlled itself is abnormal.

このように、本発明によれば、第2CPUを単独テストさ
せる動作データを第1CPUを介して操作部等から任意に入
力できるようにするとともに、その入力したデータが第
2CPUに到達しない場合は、予め設定されている所定のテ
スト用動作データに応じて第2CPUを単独にテストさせる
ようにしたから、第2CPUの異常だけでなく通信線を含む
第1CPU側が異常であるともに特定することができる。
As described above, according to the present invention, the operation data for independently testing the second CPU can be arbitrarily input from the operation unit or the like via the first CPU, and the input data is used as the second data.
When the CPU does not reach the second CPU, the second CPU is independently tested in accordance with the predetermined test operation data set in advance, so not only the abnormality of the second CPU but also the abnormality of the first CPU including the communication line is abnormal. Both can be specified.

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

第1図は本発明を適用した複写機の構成を示す図、第2
図は複写機の光学走査系を示す斜視図、第3図は複写機
の操作部を示す平面図、第4図は複写機の制御装置の構
成を示すブロック図、第5図はマスタCPUとスレーブCPU
との通信のタイミングチャート、第6図は送信処理のフ
ローチャート、第7図は受信処理のフローチャート、第
8図はマスタCPUの処理手順のフローチャート、第9図
はスレーブCPUの処理手順を示すフローチャート、第10
図は本発明の他の実施例を示すブロック図である。 401……マスタCPU、402……スレーブCPU、405……テス
トスイッチ、SCAN,RETURN,REQ,CK,DATA……通信線。
FIG. 1 is a diagram showing a configuration of a copying machine to which the present invention is applied, and FIG.
FIG. 3 is a perspective view showing an optical scanning system of the copying machine, FIG. 3 is a plan view showing an operation unit of the copying machine, FIG. 4 is a block diagram showing a configuration of a control device of the copying machine, and FIG. Slave CPU
FIG. 6 is a flowchart of a transmission process, FIG. 7 is a flowchart of a reception process, FIG. 8 is a flowchart of a processing procedure of a master CPU, FIG. 9 is a flowchart showing a processing procedure of a slave CPU, Tenth
FIG. 13 is a block diagram showing another embodiment of the present invention. 401: Master CPU, 402: Slave CPU, 405: Test switch, SCAN, RETURN, REQ, CK, DATA: Communication line.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】互いに通信線によって接続され、該通信線
を介してデータ交換を行うことにより互いに関連して動
作する第1及び第2制御装置を備えた制御システムのテ
スト方法であって、 上記第2制御装置をテスト動作させるテスト開始信号を
上記第2制御装置に供給するとともに、操作部から上記
第1制御装置を介して供給される任意のテスト用動作デ
ータを上記通信線を介して上記第2制御装置へ供給さ
せ、 上記テスト用動作データが上記第2制御装置へ供給され
ている場合には、上記テスト開始信号に応じて、上記第
2制御装置は、上記テスト用動作データに応じた動作条
件で制御対象を動作させ、 一方、上記テスト用動作データが上記第2制御装置に供
給されていない場合には、上記テスト開始信号に応じ
て、上記第2制御装置は、予め設定された所定のテスト
動作条件で制御対象を動作させることを特徴とする制御
システムのテスト方法。
1. A test method for a control system comprising first and second control devices connected to each other by a communication line and operating in association with each other by exchanging data via the communication line, A test start signal for causing the second control device to perform a test operation is supplied to the second control device, and arbitrary test operation data supplied from the operation unit via the first control device is transmitted to the second control device via the communication line. When the test operation data is supplied to the second control device, the second control device responds to the test operation data in response to the test start signal. Operating the controlled object under the operating conditions set forth above, on the other hand, if the test operation data is not supplied to the second control device, the second control device responds to the test start signal. Test method for the control system characterized by operating the controlled object at a preset predetermined test operating conditions.
JP59024178A 1984-02-10 1984-02-10 Control system testing method Expired - Lifetime JP2572741B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59024178A JP2572741B2 (en) 1984-02-10 1984-02-10 Control system testing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59024178A JP2572741B2 (en) 1984-02-10 1984-02-10 Control system testing method

Publications (2)

Publication Number Publication Date
JPS60168212A JPS60168212A (en) 1985-08-31
JP2572741B2 true JP2572741B2 (en) 1997-01-16

Family

ID=12131090

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59024178A Expired - Lifetime JP2572741B2 (en) 1984-02-10 1984-02-10 Control system testing method

Country Status (1)

Country Link
JP (1) JP2572741B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07160154A (en) * 1993-12-06 1995-06-23 Minolta Co Ltd Detection of abnormal part

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54143649A (en) * 1978-04-29 1979-11-09 Omron Tateisi Electronics Co Copying machine

Also Published As

Publication number Publication date
JPS60168212A (en) 1985-08-31

Similar Documents

Publication Publication Date Title
JPS6260708B2 (en)
JP2572741B2 (en) Control system testing method
JPH07191579A (en) Image forming device
JP3167349B2 (en) Image forming device
JP2723543B2 (en) Image forming device
JPH02132021A (en) Sheet feed direction switching device for sheet cassette
JPH01133068A (en) Data communication system
JPS63268060A (en) Serial communication system
JP3096081B2 (en) Communication control device connected to copying machine
JP3347347B2 (en) Image forming apparatus, management system, and abnormality notification method
JPS59152460A (en) Device for operating copying machine
KR0159676B1 (en) Fixing paper and detecting jam device and method thereof
JPS61114306A (en) Control system
JP3113304B2 (en) Copier
JPH09244339A (en) Image forming device
JPS6296957A (en) Copying device
JPS63253964A (en) Copying controller
JPH01166065A (en) Toner control method for image forming device
JPS60230163A (en) Copying machine
JP2659379B2 (en) Image forming device
JP2003248399A (en) Image forming apparatus
JPH01123263A (en) Image forming device
JP2003246128A (en) Imaging apparatus
JP2001337807A (en) Image forming apparatus
JP2004053800A (en) Copying device management system

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term