JPS5938759A - Image forming device - Google Patents

Image forming device

Info

Publication number
JPS5938759A
JPS5938759A JP57149638A JP14963882A JPS5938759A JP S5938759 A JPS5938759 A JP S5938759A JP 57149638 A JP57149638 A JP 57149638A JP 14963882 A JP14963882 A JP 14963882A JP S5938759 A JPS5938759 A JP S5938759A
Authority
JP
Japan
Prior art keywords
microcomputer
data
transfer
diagnosis
microcomputers
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
JP57149638A
Other languages
Japanese (ja)
Inventor
Shunichi Masuda
増田 俊一
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP57149638A priority Critical patent/JPS5938759A/en
Publication of JPS5938759A publication Critical patent/JPS5938759A/en
Priority to US06/897,540 priority patent/US4755996A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03GELECTROGRAPHY; ELECTROPHOTOGRAPHY; MAGNETOGRAPHY
    • G03G15/00Apparatus for electrographic processes using a charge pattern
    • G03G15/50Machine control of apparatus for electrographic processes using a charge pattern, e.g. regulating differents parts of the machine, multimode copiers, microprocessor control
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0751Error or fault detection not based on redundancy
    • G06F11/0754Error or fault detection not based on redundancy by exceeding limits
    • G06F11/0757Error or fault detection not based on redundancy by exceeding limits by exceeding a time limit, i.e. time-out, e.g. watchdogs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing

Abstract

PURPOSE:To enable the judgement of the abnormality in the transfer of data between plural microcomputers, by investigating whether diagnosis data is fed within a prescribed time or not. CONSTITUTION:A microcomputer A performs real time processing such as inputting of the number of copying sheets, checking of whether a copying button is pushed or not and displaying of the number of copying sheets. A microcomputer B controls the sequence of the stage for electrophotographic copying. When there is a request REQ for data transfer from the microcomputer A and the microcomputer B is ready to accept the data transfer, said microcomputer informs to the microcomputer A of the acceptable REQ.E and in synchronizing with a shift clock SCK, the data is serially transferred from an output port SO to an input SI between the microcomputers A and B. When the operator pushes a diagnosis switch SW1, the diagnosis data is fed and after a prescribed time, the diagnosis data is compared with the diagnosis data stored beforehand and if both data are not identical, the computer judges that the transfer is anomalous and lights an alarm lamp PL.

Description

【発明の詳細な説明】 (1)  技術分野 本発明はプログラムメモリを有する制御部、例えば、ワ
ンチップマイクロコンピュータ制御により1象形成を行
なう装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (1) Technical Field The present invention relates to a control section having a program memory, for example, an apparatus for forming one image under the control of a one-chip microcomputer.

(11)従来技術 近年電子技術の進歩は目ざましいものがある。特に電気
電子回路の集積化が進み高性能なマイコンが出現し、種
々の装置の制御に使用され−Cいる。そこで最近複写機
の制御においても、マイコンで制御する手段が一般化し
、さらに複写機の高性能化、高速化、多機能化が要求さ
れると1個のマイコンで制御するよりも複数個のマイコ
ンを使用してそれぞれ機能別に複写本体、AI)F、ソ
ータ等を制御させることが、必要になってきたのが現状
である。複数のマイコンをそれぞれ機能別に制御させる
場合各マイコンの人出ボートを使用して各データをパラ
レルに転送する手段や、シIJ−fル転送を用いる手段
が考えられている。
(11) Prior Art There has been remarkable progress in electronic technology in recent years. In particular, the integration of electrical and electronic circuits has progressed, and high-performance microcomputers have appeared, which are used to control various devices. Therefore, in recent years, control methods using microcomputers have become common even in the control of copying machines, and as copying machines are required to have higher performance, higher speed, and more functionality, multiple microcontrollers are used instead of one microcontroller. At present, it has become necessary to control the copying unit, AI) F, sorter, etc. for each function using the following. When controlling a plurality of microcomputers according to their respective functions, methods have been proposed in which each data is transferred in parallel using the output ports of each microcomputer, or by using serial transfer.

ところが前記データ転送ニおける各マイコン間のエラー
、例えば周辺装置においては、インターフェース一本体
間2周辺装置−インターフェース間での接触不良、ノイ
ズ等のエラーにおいてとくにシリアル転送の場合はその
原因を追求するのに時間を費やし、対処が遅くなる欠点
があった。
However, when it comes to errors between microcontrollers during data transfer, for example, errors such as poor contact between one interface and two peripheral devices and an interface, noise, etc., especially in the case of serial transfer, it is difficult to find the cause. The disadvantage was that it took time and slowed down the process.

(10目的 本発明は上述従来例の欠点を改良すべく、各マイクロコ
ンピュータ相互間のデータ転送において、データ転送の
診断を実行する際に、タイマ一手段を用いて、前記マイ
クロコンピュータ相互間の送受体制の異常を検出するこ
とを目的としている。
(10 Objects) In order to improve the drawbacks of the above-mentioned conventional example, the present invention uses a timer means to perform data transfer diagnosis during data transfer between the microcomputers. The purpose is to detect abnormalities in the system.

(財)実施例 第1図は本発明の制御に使用したマイコン制御によるブ
ロック図である。まず第1図において2個のマイコン(
4)、(B)を用いて本発明の制御手段を説明する。
Embodiment FIG. 1 is a block diagram of microcomputer control used in the control of the present invention. First, in Figure 1, two microcontrollers (
The control means of the present invention will be explained using 4) and (B).

マイコン囚は、オペレータとの対話つまり所望するコピ
一枚数をキー等の手段により入力したものをオペレータ
に知らせる為、コピーのセット枚数及びコピ一枚数等を
表示したり、コピー指令(スタート)、ストップ、その
他力セットサイズ選択、表示等リアルタイムで制御する
機能の役目をはだす。一方マイコン03)は複写処理に
必要な各制御、例えば帯ス制御の役目をはだし、例えば
、メインモータ(MI)、給紙タイミング(P F )
、露光ランプ(L)、光学駆動(p″Wl))等の信号
を出す。本例では、マイコン囚とマイコン(IJ)との
情報交換つまυデータのやりとりを行なう手段としてシ
リアル転送手段を用いる。
In order to communicate with the operator, i.e., to inform the operator of the desired number of copies entered using a key or other means, the microcomputer displays the set number of copies, the number of copies, etc., and issues copy commands (start), stop, etc. , and other real-time control functions such as force set size selection and display. On the other hand, the microcomputer 03) performs various controls necessary for the copying process, such as band control, and controls the main motor (MI), paper feed timing (P F ), etc.
, exposure lamp (L), optical drive (p″Wl)), etc. In this example, serial transfer means is used as a means for exchanging information or exchanging data between the microcomputer and the microcomputer (IJ). .

第1図において、マイコン(5)のシリアル出力(SO
)からマイコン(I3)のシリアル入力(SI )へ、
マイコン(B)のシリアル出力(80)からマイコン(
5)のシリアル入力(SI )へ、さらにシフトクロッ
ク(5CK)がマイコン囚からマイコン(B)へ接続さ
れでいる6又、マイコン囚の出力ポートPE、からは、
データ転送の指令をマイコンQ3)に知らせる為の信号
(REQ 、 0 )が出力されて、マイコン(B)の
入力ポートPAOに、接続され、マイコン(B)の受入
れ体制がととのえばマイコン03)の出力ポートPEo
よりREQイネプルの信号(REQ、E)が出力されマ
イコン囚の入力ポートPAoに伝達される。
In Figure 1, the serial output (SO
) to the serial input (SI) of the microcontroller (I3),
From the serial output (80) of the microcomputer (B) to the microcomputer (
5) to the serial input (SI), and the shift clock (5CK) is connected from the microcomputer to the microcomputer (B), and from the output port PE of the microcomputer,
A signal (REQ, 0) to notify the microcomputer Q3) of a data transfer command is output and connected to the input port PAO of the microcomputer (B), and if the acceptance system of the microcomputer (B) is set, then the signal (REQ, 0) is output to the microcomputer Q3). Output port PEo
The REQ input signal (REQ, E) is outputted and transmitted to the input port PAo of the microcomputer.

例えば、マイコン(4)でオペレータがコピーボタンを
押したことを判断して、シーケンス制御用マイコン(6
)へコピースタート指令のデータを転送するには、まず
マイコン(4)内でコピー指令のデータをSOから出力
するため、シフトレジスタにセットしマイコン(4)か
らデータを転送しだいという信号REQ out(RE
Q、0)をマイコン(B)へ送る。マイコン(B)では
前記REQoutの信号(REQ 、 0 )を受けと
り、マイコン(13)の状態、例えば現在コピーサイク
ルがスタンバイかというデータをデータ転送のSOから
出力するシフトレジスタにセットして呻≠−≠41’h
データ転送状態が整ったことをマイコン(4)へ知らせ
る。そしてマイコン(イ)がそのRE Qイネプル信号
(REQ、E)を受けとるとデータの転送が開始し転送
が終了した時点でマイコン(4)、(B)内での内部割
込が発生し、その内部割込処理内でデータの判断を行な
う。
For example, the microcomputer (4) determines that the operator has pressed the copy button, and the sequence control microcomputer (6) determines that the operator has pressed the copy button.
) To transfer the copy start command data to the microcomputer (4), first output the copy command data from SO in the microcomputer (4), so set it in the shift register and send the signal REQ out( R.E.
Q, 0) is sent to the microcomputer (B). The microcomputer (B) receives the REQout signal (REQ, 0) and sets the status of the microcomputer (13), for example, data indicating whether the current copy cycle is in standby, to the shift register output from the data transfer SO. ≠41'h
Notify the microcomputer (4) that the data transfer state is complete. When the microcontroller (A) receives the REQ input signal (REQ, E), data transfer starts, and when the transfer is completed, an internal interrupt occurs in the microcontrollers (4) and (B). Data is determined within internal interrupt processing.

又第1図のSWIはデータ転送診断スイッチであり、ラ
ンプPLはその結果の異常表示である。なお、診断スイ
ッチがONすると同時にタイマ一手段が作動するように
しておく。
Further, SWI in FIG. 1 is a data transfer diagnosis switch, and lamp PL is an abnormality display as a result. Incidentally, a timer means is set to operate at the same time as the diagnostic switch is turned on.

第2図は、上記シフトレジスタの制御ブロック図である
。シフトレジスタの動作はレジスタF/Fをソフト的に
コントロールすることにより制量可能であり、又内部割
込処理内は割込Ii’/Fにより発生される。割込F/
Fは割込イネプル信号(ソフト的)とシフトレジスタが
動作を停止した時に発生する信号によりセットされる。
FIG. 2 is a control block diagram of the shift register. The operation of the shift register can be controlled by controlling the register F/F by software, and internal interrupt processing is generated by interrupt Ii'/F. Interrupt F/
F is set by an interrupt enable signal (software) and a signal generated when the shift register stops operating.

さらにシフトレジスタはマイコンの内部ハスラインでア
キュムレータ(ACC)と接続され、ACCからシフト
レジスタへのデータも七ソI・可能であるし、シフトレ
ジスタからACCヘデータを移すこともできる。
Further, the shift register is connected to an accumulator (ACC) by an internal hash line of the microcomputer, and data can be transferred from the ACC to the shift register, and data can also be transferred from the shift register to the ACC.

第3図は、シリアルシフトレジスタによる転送手段をマ
イコン(4)、(B)で接続したときの詳細図である。
FIG. 3 is a detailed diagram when a transfer means using a serial shift register is connected to microcomputers (4) and (B).

本発明に用いたシフトレジスタは16ピツトのシフトレ
ジスタを持ち、4ビツトずつSTO〜ST3までを有す
る。又シフトレジスタは、シフトクロック(SCK)と
同期して作動し、マイコン囚からシフトクロックを発生
する様にした。
The shift register used in the present invention has 16 pits, each having 4 bits from STO to ST3. The shift register operates in synchronization with the shift clock (SCK), and the shift clock is generated from the microcomputer.

第4図は、シリアルデータ転送のタイミング図である。FIG. 4 is a timing diagram of serial data transfer.

前記説明したごと<REQout(旧!:Q−0)及び
RE Qイネプル信号(ltaQ、E)によりマイコン
囚、(B)がそれぞれのデータをシフトレジスタにセッ
トし割込イネプルセット、シフトレジスタF/Fをセッ
トすることによりマイコン(4)からシフトクロック(
SCK)を発生させるとともに相互にセットされたデー
タをシフトクロックとともにそれぞれのマイコン゛にデ
ータを転送する。そしてシフトクロックが終了した時点
で相互のマイコン囚。
As explained above, (B) sets the respective data to the shift register, sets the interrupt input, and sets the interrupt input to the shift register F. By setting /F, the shift clock (
SCK) and transfers mutually set data to each microcomputer along with a shift clock. Then, when the shift clock ends, the microcontrollers become prisoners of each other.

(B)に内部割込みが発生しそれぞれの内部割込チSW
1のオンを検知するとマイコン囚、 (13)とも転送
レジスタST3へ図のごとくデータ15をセットする。
(B) When an internal interrupt occurs, each internal interrupt switch
When detecting that 1 is turned on, the microcomputer (13) sets data 15 to the transfer register ST3 as shown in the figure.

以上マイコンが2つで制御する手段を述べてきたが装置
がシステム化すると複写機単体でなく原稿自動送り装置
(AI)F)やソータ装置も必要になる。
The above has described the control means using two microcomputers, but when the device is systemized, not only a copying machine but also an automatic document feeder (AI) and a sorter device are required.

第7図℃は的配転送手段を基本としたAI)F。Figure 7 ℃ is AI) F based on target transfer means.

ソータ制御を含めた制御ブロック図である。FIG. 2 is a control block diagram including sorter control.

マイコン(5)、(B)は前記した役目をさせ、マイ報
交換手段としてのシリアルシフトレジスタを#−1=図
吻逍妻にシリーズに接続し効率よく転送「(能にした制
御ブロック図である。
The microcontrollers (5) and (B) perform the above-mentioned role, and the serial shift register as a means of exchanging personal information is connected in series to #-1 = Fig. 1 for efficient transfer. be.

第8図℃は、第7図で例を上げた様にADF 。Figure 8 °C is ADF as shown in the example in Figure 7.

ソータ等追加された場合、シリアルシフトレジスタをパ
ラレルに接続した制御ブロック図である。第7図のごと
くシリアルシフトレジスタをシリーズに転送した場合に
比べ第8図のごとくパラレルに接続した方がそれぞれの
転送速度(同断に要する時間)は速い。
It is a control block diagram in which serial shift registers are connected in parallel when a sorter or the like is added. Compared to the case where the serial shift registers are transferred in series as shown in FIG. 7, the transfer speed (time required for the same decision) is faster when connected in parallel as shown in FIG. 8.

第9図は、本発明による2ケのマイコン(4)。FIG. 9 shows two microcomputers (4) according to the present invention.

(13)によるデータ転送動作を示したフローチャート
図である。まずマイコン(5)より説明する。
13 is a flowchart showing the data transfer operation according to (13). FIG. First, the microcomputer (5) will be explained.

1)OWERONNスステップ1データメモリI10を
リセット(クリ力しステップ2で、操作部(図示せず)
キー人力の判断や表示処理を行ない、ステップ3でレジ
スタF/Fをチェックする。
1) Reset the OWERONN step 1 data memory I10 (click the button, and then in step 2, press the operation unit (not shown)
Perform key manual judgment and display processing, and check the register F/F in step 3.

このレジスタF/Ii”はシフトレジスタが動作してい
るかどうかを判断する。次にステップ4では、ステップ
2でコピーボタンが押されたかどうかを判断する。コピ
ーボタンが押された場合ステップ5に移り第5図で示し
たごとくシーケンス用マイコン(B)で送るべきデータ
として、コピースタート指令はS T 3に13をセッ
トする。これを実行させる為まずアキュムレータ(Ac
e)に13を入れ、ステップ11でアキュムレータ(A
GC)の内容をシフトレジスタのST3にセットする。
This register F/Ii" determines whether the shift register is operating. Next, in step 4, it is determined whether the copy button was pressed in step 2. If the copy button was pressed, the process moves to step 5. As shown in Fig. 5, the copy start command sets ST3 to 13 as the data to be sent by the sequence microcomputer (B).In order to execute this, first the accumulator (Ac
e), and in step 11, add 13 to the accumulator (A
GC) is set in ST3 of the shift register.

又、ストップキーが押された場合はステップ6で判断し
、ステップ7でアキュノ、レータに14をセットする。
Further, if the stop key is pressed, it is determined in step 6, and 14 is set in the accuno and lata in step 7.

ステップ11でシフトレジスタS13にデータがセット
されてからステップ12でシフトレジスタを転送可能に
するレジスタF’/Fと割込F/Fをセットする割込イ
ネプルをセットして、REQoutの信号(REQ、0
)をマイコン(I3)へ送る。ステップ14ではマイコ
ン(i3)からのREQイネプルの信号(I(EQ、E
)をまちREQイネプルの信号(REQ、E)を人力す
るとステップ15に移りREQoutの信号(REQ、
0)をリセットしステップ16で始めてデータの転送を
開始させる。
After data is set in the shift register S13 in step 11, in step 12, the register F'/F that enables the shift register to be transferred and the interrupt enable that sets the interrupt F/F are set, and the REQout signal (REQ ,0
) is sent to the microcontroller (I3). In step 14, the REQ input signal (I(EQ,E
) and input the REQ input signal (REQ, E) manually, the process moves to step 15 and the REQout signal (REQ, E) is input manually.
0) and start data transfer starting at step 16.

以上がマイコン(A)のデータ転送手段であるが第1図
のように、SWlがそれぞれマイコン(A) 、 (B
)の人カポ−)PAIへ接続されているので、外部指令
手段のスイッチS W 1 半牟孟千ヅ汗十媚斗がON
することによって作動するタイマーによって、ある所定
の時間にデータ診断動作を行なうことができる。
The above is the data transfer means of the microcomputer (A), but as shown in Figure 1, the SW1 is the microcomputer (A) and (B), respectively.
) Since it is connected to PAI, the switch SW1 of the external command means is ON.
A timer activated by the timer allows data diagnostic operations to be performed at certain predetermined times.

まずマイコン(A)では第9図のステップ8で診断スイ
ッチを常時チェックしているので、SWlをONすると
ステップ8でYESとなシステップ9へ移行し、ステッ
プ9でアキュムレータへ診断データとして転送レジスタ
ST3へ入れるべきデータ15をセットし、F/診断フ
ラ婆グをヒツトしてステップ11へ移る。
First, the microcomputer (A) constantly checks the diagnostic switch at step 8 in Figure 9, so when SWl is turned on, the answer is YES at step 8, and the process moves to step 9. At step 9, the register is transferred to the accumulator as diagnostic data. Set the data 15 to be input to ST3, hit the F/diagnosis flag, and proceed to step 11.

従ってS W 1をONすることによりマイコン(A)
は診断モードと判断してマイコン(B)へ前述の方法で
ステップ16で診断データを転送する。診断の解除は、
診断スイッチがONすることによって作動していたタイ
マ一手段の所定時間が経過し、診断スイッチがOf=’
 Fになることによって自動的に解除さhる。
Therefore, by turning on SW1, the microcontroller (A)
determines that it is in the diagnostic mode and transfers the diagnostic data to the microcomputer (B) in step 16 using the method described above. To cancel the diagnosis,
When the diagnostic switch is turned ON, a predetermined time of a timer that is activated has elapsed, and the diagnostic switch is turned Off.
It is automatically canceled when it becomes F.

医にマイコン03)について説明する。POWEILO
N後ステップ30マステップ30(1,CAM)やIl
oをリセットし、ステップ31で複写準備サイクルをチ
ェックし、ステップ32ではシフトレジスタの動作つま
シフトレジスタF/Fをチェックする。次にステップ3
3でマイコン(4)からデータ転送の要求があるかどう
かチェックし、マイコン囚からデータ転送要求があれば
ステップ34へ移る。ステップ34ではマイコン囚と同
様にデータ診断スイッチSWlが押されたかどうか判断
し押されていない場合はステップ35でF/診断フラグ
をリセットし、次のステップ36〜42でマイコン(B
)の動作状態をマイコン(5)に知らせるべき情報をシ
フトレジスタSTO〜3にセットする準備を行なう。
Explain the microcomputer 03) to the doctor. POWEILO
Step 30 after N Step 30 (1, CAM) or Il
o is reset, the copy preparation cycle is checked in step 31, and the operation of the shift register, that is, the shift register F/F is checked in step 32. Next step 3
At step 3, it is checked whether there is a data transfer request from the microcomputer (4), and if there is a data transfer request from the microcomputer, the process moves to step 34. In step 34, it is determined whether the data diagnosis switch SWl has been pressed in the same way as the microcomputer prisoner. If it has not been pressed, the F/diagnosis flag is reset in step 35, and in the next steps 36 to 42, the microcomputer (B
) Preparations are made to set information to notify the microcomputer (5) of the operating state of the microcomputer (5) in the shift registers STO-3.

ステップ34で診断スイッチが押されていることを判断
するとステップ38へ移り診断ノラ学グの1゛/診断を
セットし、ステップ39C診断ゲータとしてマイコン(
4)と同様に転送レジスタST3へセットすべくデータ
の15をアキュムレータにセットし、ステップ4゜でS
 ’1” 3ヘデータをセットする。診断スイッチは第
1図のごとくマイコン(5)、(B)に接続されている
ので診断モードの判断はほとんどマイコン(5)、03
)とも同時に行なわれそれぞれデータ診断を行なうこと
ができる、 ステップ35〜42はマイコン(B)がスタンバイ状態
のデータをSTOに0をセットする例テアル。、マイコ
ン(B)からマイコン囚へノデータ内容は・′↑S6図
のとおりのものである。そして、そのデータをソフトレ
ジスタヘセットした後、レジスタF/F割込イネプルを
セットし、又出力ボートPE、をセットし、データ転送
OKという信号(IζEQ、E)をステップ42で出力
する。そしてステップ43で割込ルーチンによるコピー
スタート指令が転送されたことのF/5TARTをチェ
ックする。
If it is determined in step 34 that the diagnostic switch is pressed, the process moves to step 38, where the diagnostic controller is set to 1/diagnosis, and the microcomputer (step 39C) is used as a diagnostic gator.
Similarly to step 4), data 15 is set in the accumulator to be set in the transfer register ST3, and in step 4
'1' Set the data to 3.The diagnostic switch is connected to the microcontrollers (5) and (B) as shown in Figure 1, so the diagnosis mode is mostly determined by the microcontrollers (5) and 03.
), and data diagnosis can be performed for each. Steps 35 to 42 are an example in which the microcomputer (B) sets standby state data to STO in STO. , the data contents from the microcomputer (B) to the microcomputer are as shown in Figure S6. After setting the data in the soft register, the register F/F interrupt enable is set, the output port PE is set, and a data transfer OK signal (IζEQ, E) is output in step 42. Then, in step 43, F/5TART is checked to confirm that the copy start command has been transferred by the interrupt routine.

ここで、マイコン03)のステップでデータ転送開始後
転送が終了した時に発生する割込ルーチンについて説明
する。マイコン囚、(B)による割込発生タイミングは
ほとんど同時である0 マイコン(4)から説明する。割込みが発生するとマイ
コン(B)から送られてきたデータがシフトレジスタに
セットされているのでシフトレジスタの内容(ここでは
S T Oと診断についてのべる。)をアギュムレータ
ー\セットする(ステップ18 、19 、21 )。
Here, an interrupt routine that occurs when the data transfer is completed after the start of data transfer in the step of the microcomputer 03) will be explained. The interrupt generation timing by microcomputer (B) is almost simultaneous.0 We will explain from microcomputer (4). When an interrupt occurs, the data sent from the microcomputer (B) has been set in the shift register, so the contents of the shift register (here we will talk about STO and diagnosis) are set in the agitator (steps 18, 19, 21).

ところが、そアキュムレータの内容を判断していかなる
データが送られてきたかを判断する。ステップ19でA
CC=0の場合は、マイコン(13)がスタンバイ状態
であることを示し、操作til!におけるKEY入力及
び表示を可能にする処理フラ漣グをコントロールする(
ステップ20)。
However, the contents of the accumulator are judged to determine what data has been sent. A in step 19
When CC=0, it indicates that the microcomputer (13) is in standby state, and the operation til! Controls processing flags that allow KEY input and display in (
Step 20).

又、ステップ21でACC=8を判定するとマイコン(
1()がコピー動作中であることを判断でき■り)・】
Y入力の禁止等を可能にするフラメグをコントロールす
る(ステップ22)。そしてステップ26でレジスタF
/Fと割込イネプルをリセットする。
Also, if ACC=8 is determined in step 21, the microcomputer (
It can be determined that 1() is in the process of copying)
The flame signal that enables prohibition of Y input, etc. is controlled (step 22). Then, in step 26, register F
/F and reset the interrupt enable pull.

データ転送診断時はステップ17でF/診断がYESで
あるのでステップ23でマイコン03)からの診断デー
タをチェックすべき転送レジスタST3の内容をアキュ
ムレータへ移し、ステップ24でアキュムレータの判断
を行ない内容が15であればそのままステップ26へ移
り仮にデータ転送系又は転送メカニズムに異常が生じ、
タイマー所定の時間内で、異常データが入力され15で
ない場合はステップ25へ移り異常表示の為の出力ボー
トPE1をセットしてランプを点灯させる。
At the time of data transfer diagnosis, since F/diagnosis is YES in step 17, the contents of the transfer register ST3 to be checked for diagnostic data from the microcomputer 03) are transferred to the accumulator in step 23, and the accumulator is judged in step 24 to confirm the contents. If it is 15, proceed directly to step 26, assuming that an abnormality occurs in the data transfer system or transfer mechanism.
If the abnormal data is inputted within the predetermined time of the timer and is not 15, the process moves to step 25, where the output port PE1 for abnormality display is set and the lamp is turned on.

次にマイコン(B)の割込ルーチンでは、マイコン囚の
場合と同じ様にシフトレジスタの内容をアキュムレータ
に移しくステップ50)、まずステップ51でACCが
診断データ15かどうか判断しNoの場合は、ステップ
52へ、ステップ52でACC二13の場合はコピー指
令と判断しステップ54で7ラグF/S’l’ARTを
セットする。又ステップ53でACC=14であればコ
ピーストップ指令とみなしステップ56で7ラグF/5
TOPをセットする。そしてステップ57でレジスタF
/F 、割込イネプルのリセットを行ないステップ58
でR1(Qイネプルの出力をリセットする。従ってマイ
コと判断してステップ55でマイコン(イ)と同様))
E、をセットする。給荏分立ヅゴ弓」二で一診」トー 
        ストあオヒばA−の二まi[うし元」
什プツ子氏邊去魁複写動作はステップ45でステップ4
6はステップ47におけるF/5TOPが送られてきた
かどうかのデータ転送手段に関するものであり、ストッ
プ指令があった場合ステップ49の複写後サイクルに移
す。本実施例ではデータ診断とコピースタート、ストッ
プの例を述べだが実際には、データ転送内容は第5,6
図の様に非常に多い。
Next, in the interrupt routine of the microcomputer (B), the contents of the shift register are transferred to the accumulator in the same way as in the case of the microcomputer (step 50). First, in step 51, it is determined whether ACC is diagnostic data 15, and if no, If the ACC is 213 in step 52, it is determined that it is a copy command, and in step 54, 7 lag F/S'l'ART is set. Also, if ACC=14 in step 53, it is regarded as a copy stop command, and in step 56, 7 lag F/5 is issued.
Set TOP. Then, in step 57, register F
/F, resets the interrupt enable and goes to step 58
Then R1 (resets the output of the Q input pull. Therefore, it is determined that it is a microcomputer, and in step 55 it is the same as the microcomputer (a)))
Set E. ``Two-in-one diagnosis'' to
Store Ohhiba A- no Nimai [Ushimoto]
The copying operation is performed in step 45 and step 4.
Reference numeral 6 relates to a data transfer means for determining whether or not F/5TOP has been sent in step 47. If there is a stop command, the process moves to step 49, a post-copy cycle. In this embodiment, an example of data diagnosis and copy start and stop is described, but in reality, data transfer contents are
As shown in the figure, there are many.

以上マイコンが2つの場合について説明したが第7,8
図のごとくマイコンを3個以上使用しシリアル転送手段
をシリーズ接続、パラレル接続にしだ、部会について説
明する。各マイコンのデータ転送手法は基本的に前記し
た2個のマイコンによる手法と同じであるが各マイコン
情報を転送しだいマイコンに確実に送るには、各マイコ
ンに番号を定めそれが自分に送られてきたものかどうか
判1υ「シ、又データを転送する場合転送先のマイコン
番号を付加する必要がある。第10図は、前記した各マ
イコンに転送音量を定めた場合の実施図でlらる。つま
シフトレジスタのS ’f’ 3に各マイコンの転送先
データを振分ける。本実JtN例では、8′r3がoo
ol(1)の場合はマイコン(5)、0010(2)の
場合はマイコン(13) 、 n o l 1(3)の
場合はマイコン(C) 、 o 100(4)の場合は
マイコン(D)と定めた。つまり各マイコンが転送した
いマイコンへ転送データをセットする際、転送先のマイ
コン番号をSr1にセットする。
The case where there are two microcontrollers has been explained above, but the seventh and eighth
As shown in the figure, three or more microcomputers are used and the serial transfer means are connected in series and in parallel, and the subcommittee is explained. The data transfer method for each microcontroller is basically the same as the method for the two microcontrollers described above, but in order to ensure that the information is sent to each microcontroller as soon as it is transferred, assign a number to each microcontroller and send it to yourself. 1υ"Also, when transferring data, it is necessary to add the destination microcomputer number. Figure 10 is an implementation diagram when the transfer volume is determined for each microcomputer described above. .Distribute the transfer destination data of each microcomputer to S 'f' 3 of the shift register.In the actual JtN example, 8'r3 is oo
For ol (1), microcomputer (5), for 0010 (2), microcomputer (13), for no l 1 (3), microcomputer (C), for o 100 (4), microcomputer (D). ). That is, when each microcomputer sets transfer data to the microcomputer to which it wants to transfer, it sets the transfer destination microcomputer number in Sr1.

そしてデータの転送を開始し転送先のマイコンは割込発
生後S T 3をチェックすることにより、そのデータ
が自分に送られてきたものかどうかを判断して、Sr1
の音量が自分に送られてきたデータであればSTO〜S
 T 2のデータを読みとりデータ内容を判断する。
Then, data transfer is started, and the destination microcontroller checks ST3 after an interrupt occurs to determine whether the data has been sent to itself, and then sends Sr1
If the volume of is the data sent to you, STO~S
Read the data of T2 and judge the data content.

これを具体的に示したのが第11図のフr1−チャート
図である。第11図は、各マイコンのデータ転送後の割
込発生による割込ルーチンを示した。つまり各マイコン
は、ステップ60でまずシフトレジスタの81” 3を
アキュムレータ(ACC)に移し、ステップ61でアキ
ュムレータの内容をチェックする。アキュムレータの内
容が1の場合はマイコン囚。
This is specifically shown in the flow chart of FIG. 11. FIG. 11 shows an interrupt routine caused by the occurrence of an interrupt after data transfer of each microcomputer. That is, each microcomputer first moves 81"3 of the shift register to the accumulator (ACC) in step 60, and checks the contents of the accumulator in step 61. If the content of the accumulator is 1, the microcomputer is locked.

2の場合はマイコン(B) 、 3の場合はマイコンf
c) 、 4の場合はマイコン(6)ということで各マ
イコンが自分のデータだと判断したらステップ62でシ
フトレジスタSTO〜ST2の内容をアヤュムレータを
介してデータメモリ(RAM )にストアし、ステップ
63でRAMにストアし7たデータの内容を判断して、
それぞれの処理を行なう。ステップ61で自分に送られ
てきたデータ内容でないと判断した場合は、ステップ6
4に移る。ステップ64では、ただちに他のマイコンへ
そのまま送られてきたデータを転送する準備を行なう。
In case of 2, microcomputer (B), in case of 3, microcomputer F
c) In the case of 4, it is the microcomputer (6), so if each microcomputer determines that it is its own data, the contents of the shift registers STO to ST2 are stored in the data memory (RAM) via the ayumulator in step 62, and in step 63 Determine the contents of the data stored in RAM with
Perform each process. If it is determined in step 61 that the data is not sent to you, step 6
Move on to 4. In step 64, preparations are made to immediately transfer the data sent as is to another microcomputer.

一方転送先のマイコンへ1−夕をシフトレジスタへスト
アして転送準備する手法は第9図のステップ3〜16と
同じ手法で、ただ、ここで必ず転送先の11♀号′5C
8T3にセットしなければならない。従って以上の手段
により第7,8図で示した3個以上のマイコンのシリア
ル転送手段をシリーズ、パラレルに接続した場合も容易
に各マイコンの情報交換を行なえることができる。ただ
し、第8図のごとくシリアル転送手段をパラレルに接続
した場合、マイコン囚がマスターのマイコンの役目をは
たし、マイコン(5)だけが第11図で示した各マイコ
ンの転送先データを判断する処理が必要であり、シリー
ズに接続した場合は各マイコン囚、(B)。
On the other hand, the method of preparing for transfer by storing 1-1 in the shift register to the transfer destination microcomputer is the same as steps 3 to 16 in Figure 9, but here you must be sure to
Must be set to 8T3. Therefore, by the above means, even when the serial transfer means of three or more microcomputers shown in FIGS. 7 and 8 are connected in series or in parallel, information can be easily exchanged between the microcomputers. However, if the serial transfer means are connected in parallel as shown in Figure 8, the microcontroller serves as the master microcontroller, and only the microcontroller (5) determines the transfer destination data of each microcontroller shown in Figure 11. (B).

(C) 、 Q))それぞれが転送先データを判断する
処理が必要である。従ってシリアル転送手段を第8図の
ごとくパラレルに接続した力が有利な点もある。以上、
シリアル接続であってもパラレル接続であっても診断ス
イッチを設けて各データの診断を行なうことが可能であ
る。
(C), Q)) Each requires processing to determine the transfer destination data. Therefore, it is advantageous to connect the serial transfer means in parallel as shown in FIG. that's all,
Regardless of whether the connection is serial or parallel, it is possible to diagnose each data by providing a diagnostic switch.

又、各マイクロコンピュータにおいて、γ−タ転送を行
なう際に、診断フラグをセットし、そして、タイマーを
作動させ、送受体制が完了したり、転送が行なわれると
その診断フラグがリセットするようにして、タイマーの
所定時間を経過しても診断フラグがセットされておれば
、異常と判断し、その鴇常−を表示するようにしてもよ
い。
Furthermore, in each microcomputer, when performing γ-data transfer, a diagnostic flag is set, and a timer is activated so that the diagnostic flag is reset when the transmission/reception system is completed or the transfer is performed. If the diagnostic flag remains set even after the predetermined time of the timer has elapsed, it may be determined that there is an abnormality, and the abnormality may be displayed.

以上、シリアル接続であっても、パラレル接続であって
も、タイマーを用いることによって、各データの診断を
容易に行なうことが可能である。
As described above, whether the connection is serial or parallel, each data can be easily diagnosed by using a timer.

(V)  効果 以上、詳述したように本発明により、マイクロコンピュ
ータ相互間のデータ転送における診断をタイマ一手段を
用いたことによって、随時性なっているだめエラーの原
因の追求及び対処に今までのような多大な時間を費やす
必要がなくなり、像形成装置の機能がスピード化され、
性能が向上する。
(V) Effects As detailed above, according to the present invention, by using a timer as a means for diagnosing data transfer between microcomputers, it is possible to investigate and deal with the causes of errors that occur from time to time. It is no longer necessary to spend a large amount of time on
Improved performance.

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

第1図は、本発明の制御に使用したマイコン制御による
ブロック図。 第2図は、シフトレジスタの制御ブロック図。 第3図は、シリアルシフトレジスタによる転送手段をマ
イコン(A) 、 (B)で接続したときの詳細図。 第4図は、シリアルデータ転送のタイミング図。 第5図は、マイコン囚からマイコン(B)へ情報を転送
するデータ内容ヒテ、スイ。 第6図は、マイコン(B)からマイコン囚へ情報を転送
するデータ内容E、、 v’J 同。 第7図は、第1図においてAI)F 、ソータ制御等を
も含めたブロック図。 第8図は、第7図において、シリアルシフトレジスタを
パラレルに接続した制御ブロック図。 第9図は、本発明による2ケのマイコン囚。 (J3)によるデータ転送動作を示したフローチャート
図。 第10図は、転送を確実に行なうためマイコンに転送番
号を定めた場合の実施図。 第11図は、転送先を判断するだめのフローチャート。 出願人  ギヤノン株式会社
FIG. 1 is a block diagram of microcomputer control used for control of the present invention. FIG. 2 is a control block diagram of the shift register. FIG. 3 is a detailed diagram of a transfer means using a serial shift register connected to microcomputers (A) and (B). FIG. 4 is a timing diagram of serial data transfer. FIG. 5 shows the data contents for transferring information from the microcomputer to the microcomputer (B). Figure 6 shows data contents E, v'J, which transfer information from the microcomputer (B) to the microcomputer prisoner. FIG. 7 is a block diagram including AI)F, sorter control, etc. in FIG. 1. FIG. 8 is a control block diagram in which the serial shift registers in FIG. 7 are connected in parallel. FIG. 9 shows two microcontrollers according to the present invention. (J3) is a flowchart diagram showing the data transfer operation. FIG. 10 is an implementation diagram when a transfer number is determined in the microcomputer to ensure transfer. FIG. 11 is a flowchart for determining the transfer destination. Applicant: Gyanon Co., Ltd.

Claims (1)

【特許請求の範囲】 (1)  複数のマイクロコンピュータを用いて像形成
する装置において、各マイクロコンピュータ相互間での
データ転送を行なう際に、タイマ一手段を動作させ、所
定の時間内に送受体制の完rや転送が作動しなければデ
ータ転送の異常と判断し、その異常を表示するようにし
たことを特徴とする像形成装置。 (2、特許請求の範囲第1項記載の装置において、前記
タイマ一手段は診断スイッチが、ONしだ時点で作動す
るようにしたことを/)¥徴とする像形成装置。 (3)特許請求の範囲第1項記載の装置において、前記
タイマ一手段は、前記各マイクロコンピュータの送受体
制をセットすると同時に作動するようにしたことを特徴
とする像形成装置。
[Scope of Claims] (1) In an image forming apparatus using a plurality of microcomputers, when data is transferred between each microcomputer, a timer means is operated to establish a transmission/reception system within a predetermined time. An image forming apparatus characterized in that if data transfer is not completed or data transfer is not activated, it is determined that there is an abnormality in data transfer, and the abnormality is displayed. (2. The image forming apparatus according to claim 1, wherein the timer means is activated when the diagnostic switch is turned on.) (3) An image forming apparatus according to claim 1, wherein the timer means is activated at the same time as the transmission/reception system of each of the microcomputers is set.
JP57149638A 1982-08-26 1982-08-27 Image forming device Pending JPS5938759A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP57149638A JPS5938759A (en) 1982-08-27 1982-08-27 Image forming device
US06/897,540 US4755996A (en) 1982-08-26 1986-08-18 Image forming system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57149638A JPS5938759A (en) 1982-08-27 1982-08-27 Image forming device

Publications (1)

Publication Number Publication Date
JPS5938759A true JPS5938759A (en) 1984-03-02

Family

ID=15479597

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57149638A Pending JPS5938759A (en) 1982-08-26 1982-08-27 Image forming device

Country Status (1)

Country Link
JP (1) JPS5938759A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61103297A (en) * 1984-10-26 1986-05-21 富士ゼロックス株式会社 Controller for electronic copying machine
JP2013063594A (en) * 2011-09-16 2013-04-11 Ricoh Co Ltd Printing apparatus and method of controlling the same

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61103297A (en) * 1984-10-26 1986-05-21 富士ゼロックス株式会社 Controller for electronic copying machine
JPH0441399B2 (en) * 1984-10-26 1992-07-08 Fuji Xerox Co Ltd
JP2013063594A (en) * 2011-09-16 2013-04-11 Ricoh Co Ltd Printing apparatus and method of controlling the same

Similar Documents

Publication Publication Date Title
US5812747A (en) Copying system
JPS5972556A (en) Multiplex processor type controller and dynamic control met-hod
JP2001290612A (en) Print system
JPH02113322A (en) Image forming device
JPS5938759A (en) Image forming device
US4967377A (en) Control system using computers and having an initialization function
US4755996A (en) Image forming system
JPS5831834A (en) Paper feeder
JPS5937561A (en) Image forming device
JPH0381146B2 (en)
JPS5942553A (en) Image forming device
JPS62288861A (en) Image forming device
JPS5937562A (en) Image forming device
US7003232B2 (en) Output timing controlled image forming apparatus, system and method
JPH08153078A (en) Data processor and its control method, copying device and its control method and printer and its control method
TW200417199A (en) Systems and methods for remote testing of printing devices
JPS5943426A (en) Image forming device
JPH056065A (en) User interface for recorder
JP3002225B2 (en) Control device for image forming apparatus
JP2005005839A (en) Copying machine management system
JPH0937011A (en) Copy system
JP2765483B2 (en) Hard copy system
JPH0820144A (en) External paper supply unit for image making apparatus
JPS6291978A (en) Electronic copying device
JP2000139080A (en) Setting method of parameter