JPS5942553A - Image forming device - Google Patents

Image forming device

Info

Publication number
JPS5942553A
JPS5942553A JP57154121A JP15412182A JPS5942553A JP S5942553 A JPS5942553 A JP S5942553A JP 57154121 A JP57154121 A JP 57154121A JP 15412182 A JP15412182 A JP 15412182A JP S5942553 A JPS5942553 A JP S5942553A
Authority
JP
Japan
Prior art keywords
microcomputer
data
transfer
microcontroller
serial
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
JP57154121A
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 JP57154121A priority Critical patent/JPS5942553A/en
Publication of JPS5942553A publication Critical patent/JPS5942553A/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/55Self-diagnostics; Malfunction or lifetime display

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Control Or Security For Electrophotography (AREA)

Abstract

PURPOSE:To evade abnormal operation and serious accidents, by stopping a device in safety after specific processing if abnormality occurs in data transfer to and from a peripheral device. CONSTITUTION:If abnormality occurs in data transfer during copying operation, the diagnostic flag of the step is not set, so ON operation is performed to start processing immediately. For example, when transferring paper is fed, the feeding is stopped immediately and after the transferring paper which is already fed is discharged, the device is stopped in a normal state. In this example, only data diagnosis and copy starting and stopping are described, but transfer contents of data are numerous actually. Thus, abnormal operation and serious accidents are evaded.

Description

【発明の詳細な説明】 (1)技術分野 本発明は、データ転送可能な制91部、例えばマイクロ
コンピュータの制御に上り像形成を行なう装置に関する
DETAILED DESCRIPTION OF THE INVENTION (1) Technical Field The present invention relates to an apparatus for forming an image under the control of a control unit capable of data transfer, such as a microcomputer.

(11)従来技術 近年電子技術の進歩tよ目ざましいものがある。Ir、
νに電気・電子回路の集積化が進み高性能なマ・fコン
が出現し、種々の装置の制御に使用されている。そこで
最近、f★形成装置(複写機)の制御においても、マイ
コンで制御する手段が一般化し、さらに複写(幾の高性
能化、高速化、多機能化が要求されると、1個のマイコ
ンで制rlするよりも複数個のマイコンを使用してそi
Lそれ機能別に複写本体、A1.)F。
(11) Prior Art There has been remarkable progress in electronic technology in recent years. Ir,
As the integration of electrical and electronic circuits progresses, high-performance microcontrollers have appeared and are used to control various devices. Recently, microcomputers have become commonplace in the control of f*forming devices (copying machines), and when copying (high performance, high speed, and multi-functionality is required), a single microcomputer is required. It is possible to use multiple microcontrollers rather than controlling
L Copy body by function, A1. )F.

ンーター等を制御させることが必要((なってきたのが
現状である。複数のマイコンをそれぞれ機能別に制御さ
せる場合、各マイコンの人出ポートを使用して各データ
ーをパラレルに転送する手段−や、シリアル転送を用い
る手段が考えられ−Cいる。
When controlling multiple microcontrollers for each function, it is necessary to control computers, etc. , a method using serial transfer is considered.

ところがシリアル転送手段等を用いて各装置間の制御を
行なっていて、コネクターの接触不良、ノイズ等による
シリアル転送のエラーが発生した部会、複写機本体や周
辺装置が、異常動作を行なう場合があり、大きな事故に
つながる恐れがあった。
However, when serial transfer means are used to control each device, there are cases where a section where a serial transfer error occurs due to poor connector contact, noise, etc., or the copier itself or peripheral devices may malfunction. , which could lead to a major accident.

例えば、2つのマイコン(5)、 (1,s)において
、通常、シリアル転送手段ではデータ転送をしたいとい
うことを知らせるための信号(ItJ=;Q、0 ) 
For example, in two microcomputers (5) and (1, s), the serial transfer means usually sends a signal (ItJ=;Q, 0) to notify that data is to be transferred.
.

転送データ受入れ可能を知らせるだめの信号(1−tE
Q 、 E )で送受体制が整ったことがわかると、シ
リアル転送が作動し常に所定の周期でマイコン(A)か
らREQを発生し7、マイコン(I3)からREQ、E
を待つが何らかの原因、例えばマイコン(B)のフ゛ロ
グラノ、誤!’IJ (’F 、)、イス等、インター
フェース不良等によりIもEQ、1’、がマイコン(4
)へ入力されないとマイコン(イ)は、いつ咋でもRE
Q、E信号を監を見した′+、までプログラノ、を保持
し、次の処理を行なうべくプログラムへ移行することが
できなくなる。
A signal indicating that transfer data can be accepted (1-tE
When it is determined that the transmission/reception system is ready in Q, E), serial transfer is activated and REQ is always generated from the microcomputer (A) at a predetermined cycle.
I wait for some reason, such as microcontroller (B) error! 'IJ ('F,), chair, etc., due to interface failure, I also EQ, 1', microcontroller (4
), the microcontroller (a) will always be able to
The program program is held until '+' when the Q and E signals are detected, and it becomes impossible to proceed to the program for the next processing.

又、タイマーを作動させて信号をチェックする場合にお
いても、例えば、マイコン(5)でREQ信号を発する
と同時にマイコン内蔵のタイマ一手段を作動させ所定の
時間、つまりタイマーのタイムアツプ以内に1ζEq、
z信号をチェックすることによりシリアル転送手段の診
断を行ない、マイコン(!l)では、REQ、E信号発
生後、前記マーfコンの手段と同様の手段で、タイマー
を作動させ、所定の時間内にシリアルデータ−が送られ
てこなければ異常と判断するような場合、複写動作中に
データー転送異常が発生すると各々のマイクロコンピュ
ータ−がプログラム的にラッチする恐れがあシ、特にシ
ーケンス制御系のマイコンでは、給紙時や露光ランプ点
灯タイミング等に異常が発生すると、その状態をラッチ
したオまとなり複写装置全体に大きな損害をもたらす恐
れがある。
Also, when checking the signal by operating a timer, for example, when the microcomputer (5) issues the REQ signal, a timer means built in the microcomputer is simultaneously operated to generate 1ζEq within a predetermined time, that is, within the timer time-up.
The serial transfer means is diagnosed by checking the z signal, and after the REQ and E signals are generated, the microcontroller (!l) operates a timer using the same means as the above-mentioned mark f controller, and transfers data within a predetermined time. If serial data is not sent to the computer, it is determined that there is an error, and if a data transfer error occurs during the copying operation, each microcomputer may be latched programmatically, especially the microcontroller in the sequence control system. In this case, if an abnormality occurs at the time of paper feeding or the lighting timing of the exposure lamp, the state may become latched and cause great damage to the entire copying apparatus.

(至) 目的 本発明は、上述の従来例の欠点を改良すべく、データ監
視手段を有し、周辺装置間のデータ転送に異常が発生し
た場合には、所定の像形成処理を行なって像形成装置を
安全に停止させる様にした手段を有する、像形成装置を
提供することにある。
(To) Purpose In order to improve the drawbacks of the above-mentioned conventional example, the present invention has a data monitoring means, and when an abnormality occurs in data transfer between peripheral devices, performs predetermined image forming processing to display an image. An object of the present invention is to provide an image forming apparatus having means for safely stopping the forming apparatus.

(財)実施例 第1図は本発明の制御に使用したマイコン制御によるブ
ロック図である。まず第1図において2個のマイコン(
A) 、 (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 A) and (B).

マイコン囚ハ、オペレータとの対話一つまり所望するコ
ピ一枚数をキー等の手段により入力したものをオペレー
タに知らする為、コピーのセット枚数及びコピ一枚数等
を表示したり、コピー指令(スタート)、ストップ、そ
の他カセットナイズ11択、夫示等リアルタイムで制御
する機能の役目をはたす。一方マイ二1ン(13)は複
写処理に必四な各制御、例えば帯電、i・3光、転写、
除電、定着からなる複写プロセスを(次実行して複写を
行なうシーケンス制百1の役目をはたし、例えば、メイ
ンモータ(M 、I )、給紙タイミング(PF’)、
露光ランプ([、)、)′C;C;動駆動−\Vi))
¥fの信号を出す。本1+すでは、゛マイコン(八)と
マイコ7 ()1) c’:の情報交換つまりデータの
やりとりを行なう手段としてシリアル転送手段を用いる
Dialogue between the microcomputer and the operator - In other words, in order to inform the operator that the desired number of copies has been input using a key or other means, the number of copies to be set and the number of copies to be made, etc. can be displayed, and the copy command (start) can be displayed. , stop, 11 other cassette size selections, and display functions in real time. On the other hand, the My 21 (13) performs various controls necessary for the copying process, such as charging, I/3 light, transfer, etc.
The copying process consisting of static elimination and fixing is executed next to perform the copying process, and serves as a sequence controller, such as main motors (M, I), paper feed timing (PF'),
Exposure lamp ([,),)'C;C;Dynamic drive-\Vi))
Gives a signal of ¥f. In Book 1+, a serial transfer means is used as a means for exchanging information, that is, exchanging data between microcomputer (8) and microcomputer 7 ()1) c':.

第1図に訃いC17・イコン(^)のシIJ ’T ル
出7ノ(SO)かr)マイコン(11)の7リ一アル人
カ(SI)へ、マイコ7 ([3)(7,、) ・7I
J 7 /l/出カ(SO)からマイコン(5)のシリ
アル人力(SI )へ、サラニシフトクロツク(SCK
)がマイコン(A)カラマイコン(13)へ接続されて
いる。又、マイコン(5)の出カポ−)PE、からはデ
ータ転送の指令をマイコン(B)に知らせる為の信号(
IQ、0 )が出力されてマイコン(13)の人力ポー
トPAoに接続され、マイコン(J3)の受入れ体制が
ととのえばマイコン(13)の出カポ−)PP、oより
REQ    ′イネーブルの信号(REQ、E)が出
力されマイコン(4)の入力ボートPAoに伝達される
Figure 1 shows the deceased C17 icon (^)'s IJ 'T 7 (SO) or r) microcomputer (11)'s 7 real person (SI), Miko 7 ([3) ( 7,,) ・7I
J7/l/Output (SO) to serial manual input (SI) of microcomputer (5), Sarani shift clock (SCK)
) is connected to the microcomputer (A) and the color microcomputer (13). In addition, from the output capo PE of the microcomputer (5), a signal (
IQ, 0) is output and connected to the human power port PAo of the microcomputer (13), and once the acceptance system of the microcomputer (J3) is established, the REQ' enable signal (REQ , E) are output and transmitted to the input port PAo of the microcomputer (4).

例えば、マイコン(5)でオペレータがコピーボタンを
押したことを判断してシーケンス制御用マイコン(13
)へコピースタート指令のデータを転送するには、まず
マイコン(A)内でコピー指令のデータをSOから出力
するためシフトレジスターにセットし、マイコン(A)
からデータを転送したいという信号REQout (R
EQ、O)をマイコンCB)へ送る。マイコン(B)で
ハs fifJ AQRE Q outの信号(REQ
 、 O)を受けとり、マイコン(B)の状態、例えば
現在コピーザイクルかスタンバイかというデータをデー
タ転送のSOから出力するシフトレジスタにセットして
f−夕転送状態が整ったことをマイコン囚・、知らぜる
。そドアてマイコン(A)がそのRE Qイ才−ノル1
゜1号(R1!〕Q、E)を受りとるとデータの11バ
y5ηが1,11始し一1’i<送が終rしだ時点でマ
イコン(A) 、 (+3)内での内部割込が発生し、
その内i’+ili’i!I込処理内で−i’−タ(υ
゛1111月1行なう。
For example, when the microcomputer (5) determines that the operator has pressed the copy button, the sequence control microcomputer (13) determines that the operator has pressed the copy button.
) To transfer the copy start command data to the microcomputer (A), first set the copy command data in the shift register in order to output it from the SO in the microcomputer (A), and then
The signal REQout (R
Send EQ, O) to the microcomputer CB). The microcomputer (B) sends the fifJ AQRE Q out signal (REQ
, O), and sets the status of the microcomputer (B), for example, whether it is currently copy cycle or standby, to the shift register output from the data transfer SO, and informs the microcomputer (B) that the transfer status is ready. Let me know. At the door, the microcomputer (A) is the REQ controller 1.
゜When No. 1 (R1!] Q, E) is received, the 11 bytes of data 5η start from 1, 11, and at the point when the transmission ends at r, the microcontroller (A) and (+3) An internal interrupt occurs,
Among them, i'+ili'i! -i'-ta (υ
゛11 November 1st.

’62 シd ハ、−にiIシノノトレジスクの制御フ
゛ロック図である。ソフトレジス々のpjt7作はレジ
スクド/F″乞ソフト的にコンl−o−ルすることに上
り制+rr+i四能であり、又、内部割込は、割込1・
’/Fに、l、り発生さ:ノ1.る。j’j’ll込1
7’/F″は、割込信号(ソフト的)とシフトレジスタ
が動作を1、lJ(止した時にジら生する信号1c 、
Lリセットされる。さらに7フトレジメタは、′アイコ
ンの内部バスン・f)で°アキ1ノ、レー・夕(Ace
)と接ス・光され八CCから/ノトレ、ンスタへの1′
−タイCヒ、ソトij丁1綱であるし、7し7トレジ2
スタからACCヘデータを11すこともできる。
FIG. 2 is a control block diagram of the iI Shinono Trezisk in 1962. The pjt7 works of the software registers are controlled by the software, and the internal interrupts are interrupt 1 and 1.
'/F, l, ri occurs: ノ1. Ru. j'j'll included 1
7'/F'' is an interrupt signal (software) and a signal 1c generated when the shift register stops operating.
L is reset. Furthermore, the 7-foot register is 'icon's internal bassoon f), °Aki 1no, Leh Yu (Ace).
) and is touched and illuminated from 8CC/Notre, 1' to Instagram
- Tai C Hi, Soto Ij Ding 1 Class, 7 Shi 7 Tregi 2
It is also possible to transfer data from the star to the ACC.

第3図はシリアルデータI・レジスタに」:る転送手段
をマイコン囚、(B)で接続したときの詳細図である。
FIG. 3 is a detailed diagram when the transfer means connected to the serial data I register is connected to the microcomputer (B).

本発明に用いたシフトレジスタは16ビツトのシフトレ
ジスタを持ち、4ビツトずつ5TO−8T3までを有す
る。又シフトレジスタはシフトクロック(SCIOと同
期して作動し、マーfコン(イ)から7フトクロツクを
発生する様にした。
The shift register used in the present invention has a 16-bit shift register, and has 4 bits each from 5TO to 8T3. Furthermore, the shift register operates in synchronization with the shift clock (SCIO) and generates 7 shift clocks from the marf controller (a).

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

@記説明したごと< It l’;Q out(REQ
−0)及びI七EQイネ−グルの信号(1もEQ。
@ As explained < It l'; Q out (REQ
-0) and I7 EQ enable signal (1 is also EQ.

E)によりマイコン(A) 、 (B)がそれぞれの7
’ −タをシフトレジスタにセットし割込イネーブルセ
ット、シフトレジスタF/Fセットすることによシマイ
コン囚からシフトクロック(SCK)を発生させるとと
もに相互にセットされたデータをシフトクロックととも
にそれぞれのマイコンにデータを転送する。そしてシフ
トクロックが終了した時点で相互のマイコン(5)。
E) causes microcontrollers (A) and (B) to each
' - data is set in the shift register, interrupt enable is set, and shift register F/F is set to generate a shift clock (SCK) from the microcontroller, and the mutually set data is sent to each microcontroller along with the shift clock. Transfer data. Then, when the shift clock ends, the mutual microcontroller (5).

(B)に内部割込みが発生し、それぞれの内部割込処理
内でデータの判断を行なうO 第5図では、マイコン囚からマイコン([1) ヘ情報
を転送するデータ内容を示す。
An internal interrupt occurs at (B), and data is determined within each internal interrupt process. In FIG. 5, the data contents for transferring information from the microcomputer to the microcomputer ([1)] are shown.

第6図では、マイコン03)からマイコン(5)へ情報
を転送するデータ内容を示す。
FIG. 6 shows the data contents for transferring information from the microcomputer 03) to the microcomputer (5).

以上マイコンが2つで制御する手段を述べてきたが、装
置がシスデノ、化すると複写機単体でなく原稿自動送り
装置(AI)l”)やソータ装置も必便になる。
We have described above the means of control using two microcomputers, but when devices become system-denominated, not only a copying machine but also an automatic document feeder (AI) and a sorter device become necessary.

第7図は、前記転送手段を基本としたAI)F。FIG. 7 shows AI)F based on the transfer means described above.

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

マイコン(A) 、 (11)は前記しだ1り[」をさ
せ、マイ二1ン(C)はA I) !”の制御、マイコ
ン0))はソータの制御を行なわWる。つまり、それぞ
れの情報交換手段としてのシリ”1ルシフトレジスタを
シリーズに接続し効率よく転送iiJ能にしている。
The microcontroller (A), (11) performs the above-mentioned Shidari ['', and the microcomputer (C) performs the A I)! The microcomputer 0)) controls the sorter.In other words, serial shift registers serving as means for exchanging information are connected in series to enable efficient transfer.

第8図ぐよ%’@7図で1う11を1・げた様にAI)
F。
Figure 8 Guyo %' @ AI as if you got 1-11 in Figure 7)
F.

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

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

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

POWERON後ステップ1マステップ1リI10等を
リセット(クリア)しステップ2で、操作部(図示せず
)キー人力の判断や表示処理を行ない、ステップ3でレ
ジスタJi’/Fをヂエツクする。このレジスタト”/
Ii’r、、t:シフトレジスタが、動作しているかど
うかを判断する。
After the power is turned on, step 1, step 1, I10, etc. are reset (cleared), and in step 2, the operating unit (not shown) performs manual key determination and display processing, and in step 3, the register Ji'/F is checked. This register”/
Ii'r,,t: Determine whether the shift register is operating.

次にステップ4では、ステップ2でコピーボタンが押さ
れたかどうかを判断する。コピーボタンが押さftだ場
合、ステップ5に1多り・′r55図で示したごとくシ
ーケンス用マイコン(B)で送るべきデータとして、コ
ピースタート指令はSr1に13をセットする。これを
実行させる為まずアキュムレータ(AcC) にt 3
を入れステップ8でアキュムレータ(ACC)の内容を
シフトレジスタ る。父、ストップキーが押された場合は、ステップ6で
判i0r Lスデツブ7でアーVユノ・レータに14を
セットする。2スj−ツブ8でシフトヌテツプ9でシフ
トレジスタ111.ミ送可能にj−る八 l/ジスタF/Fと、割込トゾIパをセットする割込イ
ネーブルをセットする。そしてステップ10でマイコン
(B)へデー・りを転送[7だいということを知らせる
為、出力ボートII’ A 、をセットしてRE Q 
outの信号(REQ 、 0 )をマイコン(13)
へ送り、それと同時に診断タイマー(A)をセットする
。ステップ11ではマイコン(+3)からの1、I E
 Qイネーブルの信号をItち、ぞhを入力するとステ
ップ13に移りタイマー(A)をリセットし、ステップ
14でIt E Q out、の信号(J、tEQ 、
 0 )をリセットしステップ12で始めてデータの転
送を開始させる。
Next, in step 4, it is determined whether the copy button was pressed in step 2. If the copy button is pressed ft, 1 is added to step 5. As shown in Figure 55, the copy start command sets 13 in Sr1 as data to be sent by the sequence microcomputer (B). To execute this, first add t3 to the accumulator (AcC).
In step 8, the contents of the accumulator (ACC) are shifted into a register. If the stop key is pressed, step 6 sets the value 14 to the AR V unit at step 7. 2 block 8 and shift register 111. Set the interrupt enable to enable the transfer and set the interrupt register F/F. Then, in step 10, the data is transferred to the microcomputer (B). [To notify that 7 days have passed, output port II'A is set and REQ is sent.
The out signal (REQ, 0) is sent to the microcomputer (13)
and at the same time set the diagnostic timer (A). In step 11, 1 from the microcomputer (+3), IE
When the Q enable signal is inputted, the process moves to step 13 and the timer (A) is reset, and in step 14, the It E Q out signal (J, tEQ,
0) to start data transfer starting at step 12.

本発明のデータ診断にL1ステップ11でマイコン(1
’3)より)ζIDQ、Eが所定の時間内に返答されな
い場合ステップ12で判断しでいる。
In the data diagnosis of the present invention, the microcomputer (1
From '3)) If ζIDQ,E is not replied within a predetermined time, it is determined in step 12.

つまりステップ11で前記ステップ10でセットされた
タイマ一時間のタイムアツプをステップ12で判断しタ
イムアツプしたならば始めのステップ1に戻り、データ
メモリー等をクリアして初期よりスタートする様な保護
手段を有している。又ステップ11で所定の時間内にR
EQ、E返答を検出したならば前記したごとくタイマー
(ト)をリセットする。
In other words, in step 11, it is determined in step 12 whether or not the one-hour timer set in step 10 has timed out, and if the time has expired, the process returns to step 1, clears the data memory, etc., and restarts from the initial stage. are doing. Also, in step 11, R within a predetermined time.
If an EQ or E response is detected, the timer (t) is reset as described above.

次にマイコン(B)について説明する。))OWEIt
ON後ステップ22でデータメモリ(RAM)Iloを
クリア(リセット)]7、ステップ23で複写準備ザイ
クルをチェックし、ステップ24ではシフトレジスタ動
作を確認するレジスタF/Fをチェックする。次にステ
ップ25でマイコン(4)からデータ転送の、RTCQ
 outがあるかどうかチェックし、あればステップ2
6に移りマイコン(B)の動作状態をマイコン(4)に
知らせるべき情報をシフトレジスタにセットする準備を
行なう践(ステップ26〜28)。
Next, the microcomputer (B) will be explained. )) OWEIt
After turning on, the data memory (RAM) Ilo is cleared (reset) in step 22] 7. In step 23, the copy preparation cycle is checked, and in step 24, the register F/F is checked to confirm the shift register operation. Next, in step 25, data is transferred from the microcontroller (4) using RTCQ.
Check if out exists, if so, step 2
6, preparations are made to set information to inform the microcomputer (4) of the operating state of the microcomputer (B) in the shift register (steps 26 to 28).

本例では、マイコン(B)がスクンバイ状態のデータ8
TOに0をセットする例を示した。
In this example, the microcomputer (B) has data 8 in the SUMBY state.
An example of setting TO to 0 is shown.

マイコン(13)からマイコン(〜へのデータ内容&:
1、)°α(5図のと」?りのものであり、データをシ
フトレジスクヘセットした後、レジスタF/F。
Data contents from the microcomputer (13) to the microcomputer (...
1) °α (similar to the one shown in Figure 5), after setting the data to the shift register, the register F/F is set.

割込イネーブルをセットし、データ転送UK):いう信
号(REQ、E)をステップ25で出力する。そ17て
同時に、マイコン(II)でのデータ転送診断用タイマ
ー(B)をセットする。次にステップ29でタイマー(
13)がタイムアツプしたかどうか判断する。タイマー
(1))のセット時間Q↓マイコン(t、)から送られ
てくるデータ転送速度よりもわずかニ唾−?い時間セッ
トする様にする。ステップ29でタイム−rツブ後スデ
ツプ:10で診断フラグをチェック]゛る。
The interrupt enable is set, and a signal (REQ, E) for data transfer (UK) is output in step 25. 17. At the same time, the data transfer diagnosis timer (B) in the microcomputer (II) is set. Next, in step 29, the timer (
13) Determine whether or not the time has expired. The set time of the timer (1) Q↓ is slightly faster than the data transfer rate sent from the microcomputer (t,)? Make sure to set the appropriate time. At step 29, the diagnostic flag is checked at step 10.

マイボン囚) 、 (n)でデータ転送完了時に発生J
−る内部割込処理内でヒツトされる様にプログラノ、さ
れているので診断フラグをチェックすることによりデー
タ転送が正しく行なわれたかどうか判断できる。ステッ
プ30でN 0の場合は異常とし初期のステップニジ2
へ移行し始めからスタートする。一方診断フラグがセッ
トされていればステップ:31へ移行し診断フラグをリ
セットし、タイマー(11)をリセットする。ぞしてス
テップ32で割込ルーチンによるコピースタート指令が
転送されたことのF/S TA RTをチェックする。
Occurs when data transfer is completed in (n)
- Since the program is programmed to be hit in the internal interrupt processing, it can be determined whether the data transfer was performed correctly by checking the diagnostic flag. If N 0 in step 30, it is considered abnormal and initial step 2
Start from the beginning. On the other hand, if the diagnostic flag is set, the process moves to step 31, where the diagnostic flag is reset and the timer (11) is reset. Then, in step 32, F/S TA RT is checked to confirm that the copy start command has been transferred by the interrupt routine.

ここでマイコン(5)のステップ15でデータ伝送開始
後転送が終了17だ時に発生する割込ルーチンについて
説明する。マイコン(A) 、 (13)による割込発
生タイミングはほとんど同時である。マイコン(A)か
ら説明する。割込みが発生するとマイコンCB>から送
られてきたデータがシフトレジスタにセットされている
のでシフトレジスタの内容(こ仁ではS i” (lの
みについてのべる)をアギュムレーターをセットする(
ステップ16)そしてステップ17゜19でアギュムレ
ーターの内容を判断していかなるデータが送られてきた
かを判断する。
Here, an explanation will be given of an interrupt routine that occurs when the microcomputer (5) starts data transmission in step 15 and ends the data transfer in step 17. The interrupt generation timings by the microcomputers (A) and (13) are almost simultaneous. Let's start with the microcomputer (A). When an interrupt occurs, the data sent from the microcomputer CB> is set in the shift register, so the contents of the shift register (in this case, S i" (only talks about l) are set in the aggregator (
Step 16) Then, in steps 17 and 19, the contents of the aggregator are judged to determine what data has been sent.

ステップ17でA CC= 0の場合は、マイコン(B
)がスタンバイ状態であることを示し、操作1;(iに
おけるl(lL: Y人力及びと示を11能にする・!
11..1す!フラグをコントロールrる(スj°ツフ
18)。
If A CC = 0 in step 17, the microcomputer (B
) is in standby state, operation 1;
11. .. 1! Control the flag (Step 18).

又ステップ19でA (: cで8を団定−すると、マ
・イ:17(13)がコピー11tj)作中でi′)、
もことが判断できK E Y入力の禁示等を可能にする
フラグを“7ントry−+しする(ステップ2 (1)
。そしてスデツブ21でレジスタF’/ ト”とt’t
Q 蒐へイネーフ゛ル4・す【ζソ卜する。
Also, in step 19, A (: 8 is determined with c), then Ma I: 17 (13) is copied 11 tj) in the work i'),
The flag that enables the prohibition of KEY input, etc. is set to "7 try-+" (Step 2 (1)
. Then, register F'/t' and t't in the scheduler 21.
Q Enable 4.

次にマイコン(1号)のν;1j;Δルーヂンでは、ま
ずター1−ツブ・15ご7′−夕転送フ:・(?テなゎ
れたことに、しる診断フラグをセソ)・(,7、ステッ
プ46−c’ tヨーtイコン(八)の場合と回じ(1
毛にシフトレジスタの内容をアキュムレー クーに啓シ
、(ステップ4 F+ )ステップ47で4へ(シC=
13の場合をLコに°−指令と判断しステップ48でフ
ラグF’/S ’I’ A lt ’rを1.! ツ)
する。又、スア°ツブ49で、l:c=14で:’:>
 iL i、f :コピーストップ指令と拳なしステッ
プ5oでフラクト’/S ”I’ OPをセットする。
Next, in the microcomputer (No. 1)'s ν; 1j; 7. Step 46-c' In case of icon (8) and rotation (1
Accumulate the contents of the shift register immediately (step 4 F+) and go to 4 at step 47 (C=
The case of 13 is determined to be a °-command for L, and in step 48, the flag F'/S'I'Alt'r is set to 1. ! tsu)
do. Also, with Sua ° Tsubu 49 and l:c=14:':>
iL i,f: Set Fract'/S "I" OP with copy stop command and fistless step 5o.

)そし“Cステップ51でレジスタl;’/F。) and "C step 51 register l;'/F.

割込イネーブルリセットを行ないステップ52でREQ
イネーブルの出力をリセットする。
Interrupt enable is reset and REQ is executed in step 52.
Reset enable output.

従ってマイコン(B)のステップ32で[ゾ5TAIζ
゛rがセットされれば始めてネ(写動作を1j1]始す
る。
Therefore, in step 32 of the microcomputer (B), [Z5TAIζ
Once ゛r is set, the copying operation starts (1j1).

複写動作はステップ:(4でステップ35〜41はステ
ップ42におけるF’/S i、’ OPが送られてき
たかどうかのデータ転送手段に関するものであり、スト
ップ指令があづた場合ス゛アップ44の複写後回転処理
に移行するが、前記したごとくステップ39 、4 U
で複写動作中のデータ転送診断を行なってふ・す、火写
動作中データ転送の異常が発生しだ時スj−ツゾ40の
診断フラグがセットされないのでNOとなシステップ4
4の後、回転処理にン′こだちに移行する。例えば転写
紙が給送中の1)4合は手段を有する1、 実施例では、データ診断とコピースタート。
The copying operation is performed in steps: (Steps 35 to 41 in step 4 are related to the data transfer means for determining whether or not F'/S i,' OP has been sent in step 42, and when a stop command is received, copying is performed at step 44. Moving on to the post-rotation process, steps 39 and 4U are performed as described above.
When an abnormality occurs in the data transfer during copying operation, the diagnosis flag of step 40 is not set, so the answer is NO.Step 4
After step 4, the process moves on to rotation processing. For example, in case 1) 4 when the transfer paper is being fed, there is a means 1 for data diagnosis and copy start in the embodiment.

ストップのみの例を述べたが実際には、データ転送内容
は、PR5g 6図のごとく非常に多いもので々)る。
Although we have described an example of only stopping, in reality, there are a large number of data transfer contents as shown in Figure 6 of PR5g.

以上、マイコンが2つの場合について説明しだが第7,
8図のごとくマイコンを3個以上使用し、シリアル転送
手段をシリーズ接続。
The above explains the case where there are two microcontrollers, but in Section 7,
As shown in Figure 8, three or more microcontrollers are used and the serial transfer means are connected in series.

パラレル接続にした場合について説明する。The case of parallel connection will be explained.

各マイコンのデータ転送手法は基本的に前記した2個の
マイコンによる手法と同じであるが各マイコン情報を転
送したいマイコンに確実に送るには、各マイコンにm号
を定め、それが自分に送られてきたものかどうか判断し
、又データを転送する場合、す鰍送先のマイコン番号を
付加する必要がある。:H41(1図は、前812シた
各マイコンに転送1片号を定めだ場合の実雄図である。
The data transfer method for each microcontroller is basically the same as the method using the two microcontrollers described above, but in order to reliably send each microcontroller's information to the desired microcontroller, each microcontroller must be assigned an m number, and the When determining whether the data has been sent or not, and when transferring data, it is necessary to add the microcomputer number of the destination. :H41 (Figure 1 is an actual diagram when one transfer number is determined for each microcomputer in the previous 812 series.

つまり、シフトレジスタのSi2に各マイコンの転送先
j4−夕を振分ける。本実施例では、Si2が0001
 mの場合はマイコン(5)、 l) (> 10+2
)の場合はマイコン(B)。
In other words, the transfer destination j4-y of each microcomputer is assigned to Si2 of the shift register. In this example, Si2 is 0001
In the case of m, microcontroller (5), l) (> 10+2
), the microcontroller (B).

0011(3)の場合はマイコン((シ)、(1100
+41の場合はマイコン(D)と足めた。つまり各マイ
コンが転送したいマイコンへ転送データをセットする際
、転送先のマイコン番号をSi2にセットする。ぞして
データの転送を開始し転送先のマイコンは、割込発生後
S T 3をチェックすることによシ、そのデータが自
分に送【))れてきたものかどうかを判断しで、Si3
0番号が自分に送られてきたデータであればSTO〜S
T2のデータをtF<みどりデータ内容を判断する。
In the case of 0011(3), the microcomputer ((shi), (1100
In the case of +41, I added the 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 Si2. 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. Si3
If the 0 number is data sent to you, STO~S
Determine the data content of T2 if tF<Midori data.

これを具体的に示したのが第11図のフローチャート図
である。第11図では、各マイコンのデータ転送後の割
込発生による割込ルーチンを示しだ。つ寸り各マイコン
e、1、ステップ60でまずシフトレジスタの81’ 
3を゛アキュムレータ(ACC)に移しステツノ°(i
lでアキュノ、レータの内容をチェックする。アキュム
レータの内容が1の場合はマイコン囚。
The flowchart of FIG. 11 specifically shows this. FIG. 11 shows an interrupt routine caused by the occurrence of an interrupt after data transfer from each microcomputer. Each microcomputer e, 1, step 60, first shift register 81'
3 to the accumulator (ACC) and
Check the contents of Acyuno and Rater with l. If the contents of the accumulator are 1, the microcomputer is trapped.

2の場合はマイコン(H) 、 3の場合Cよマイコン
(C) 、 4の場合はマイコン(D)ということで各
マイコンが自分のデータだと判1所しだらステップ62
でシフト1/ジスタS 71”)〜ST2の内容をアギ
ュムレータを介して1−タメモリ(IえAM)にストア
し、ステップ63でI?、 A Mにス[・71−だデ
ータの内容を判断してそれぞれの処理を行なう。ステッ
プ61で自分に送られてきたデータ内容でないと’f′
l断1−た場合1−31、ステップ64に1多る。−′
、グ゛ツブ64ではただちに他のマイコンへそのまま送
らiしてきたデータを転送する準備を行なう。一方転送
先のマイコンへデータをンソトレジスタヘストア(7で
転送■啼する手段VF、第9図のステップ5 、7 、
8 、9 、1.0 、 l 1 、12 、13 。
In the case of 2, it is the microcomputer (H), in the case of 3, it is the microcomputer (C), and in the case of 4, it is the microcomputer (D), so each microcomputer has its own data.Step 62
At step 63, the contents of shift 1/register S71'') to ST2 are stored in the data memory (IeAM) via the aggregator, and at step 63, the contents of the data are determined in I?, AM, and ST2. and performs each process.If it is not the content of the data sent to it in step 61, 'f' is returned.
If 1-31 is disconnected, 1-31 is added to step 64. −′
, the module 64 immediately prepares to transfer the data sent as is to another microcomputer. On the other hand, the data is transferred to the destination microcomputer in the storage register (steps 5, 7, and 7 in Figure 9).
8, 9, 1.0, l 1, 12, 13.

+ 4 、1.5と同じ手段で、だだ、ここで必ず%e
送先の49号をS T 3にセットしなければならない
。従って以上の手段により第7,8図で示した3個以上
のマイコンのシリアル転送手段をシリーズ及びパラレル
に接続した場合も容易に各マイコンの情報交換を行なえ
ることができる。ただし、第8図のごとくシリアル転送
手段をパラレルに接続した場合、マイコン(5)がマス
ターのマイコンの役目をはだし、マイコン(5)だけが
第11図で示しだ各マイコンの転送先データを判断する
処理が必要でありシリーズに接続1〜だ場合Vよ各マイ
コン囚。
+ 4, using the same method as 1.5, but be sure to use %e here
Destination number 49 must be set in ST3. 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 and 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 (5) will play the role of the master microcontroller, and only the microcontroller (5) will be able to transfer the data to each microcontroller as shown in Figure 11. If processing is necessary to determine whether it is connected to series 1 or V, each microcontroller is connected.

(B) 、 (c) 、 (L))それぞれが転送先デ
ータを判断する処理が必要である。従ってシリアル転送
手段を第8図のごとくパラレルに接続した方が有利な点
もある。しかし、シリアル接続であっても、パラレル接
続であっても、本装置は有効である。
(B), (c), and (L)) 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. However, this device is effective regardless of whether the connection is serial or parallel.

(V)  効果 以上、詳述したように、本発明により、マイクロコンピ
ュータ相互間のデータ転送における異常が発生した場合
、所定の処理を行なってから装置を安全に停止させるよ
うにしているため、異常動作や大事故を回避することが
可能になった。
(V) Effects As detailed above, according to the present invention, when an abnormality occurs in data transfer between microcomputers, the device is safely stopped after predetermined processing is performed. This made it possible to avoid major accidents.

又、マイクロコンピュータの接続がパラレルであっても
、シリアルであっても、容易に装置の異常動作や、大事
故を回避することが、11丁イiQになし)だ。
Also, whether the microcomputer is connected in parallel or serially, it is easy to avoid abnormal operation of the device and major accidents (11th iQ).

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

1131図tよ、マ・イクiffコンピュータ制御によ
るプ1コック図。 第21ノ+は、71トレジスタの制[111ブロック図
。 ;a;3図は、ンリアルシフトl/ジスタによる転送手
段’iマイクロコンビニL−り(A) 、 (r3)で
、接続しノ(−ときの詳細図。 第・1図は、シリアルデータ法j4のクイミング図。 第!’i 図it:J: 、−7−1クロコン′ピ−コ
ーータ仏)からマ・イク「1コンビ′上−タ(13)へ
情報をtj;< jXするデータ内容を示す図。 ηS6図Q」:、マイクロコンピュータ(B)から−−
−fり11コンピユータい)−情〜:・I4をφrミ送
するガータ内容を示1− li’l 。 第7図ケ土、A l) I” 、 :/ −タ’1’7
’ モ@ メだ1ltll fjl フロック図。 第81’=4は、AI)J”、;/−1’等4 TV 
メだ制t!i フロック図で、シリアルシフトレジスタ
ヲハラレルに接続した場合の図。 $9図は、本発明による2ケのマイコン(A)。 CB)によるデータ転送動作を示したフローチャート図
。 第10図は、各マイクロコンピュータに転送番号を定め
た場合の実施図。 第11図は、各マイクロコンピユー、夕のデータ転送後
の割込発生による割込ルーチン°のフローチャート。 特許出願人  キャノン株式会社 4・パi
1131 Figure t, Maikiff computer-controlled pu1 cock diagram. The 21st number + is a 71st register control [111 block diagram. ;a; Figure 3 is a detailed diagram of the transfer method using the serial shift register (A), (r3) and the connection. Figure 1 is a detailed diagram of the serial data Quimming diagram of modulus j4. No. !'i Figure it: J: , -7-1 Krokon' Pikota Buddha) to Ma'ik'1 Kombi' upper-ta (13) Data for tj;< jX Diagram showing the contents. ηS6 Diagram Q": From the microcomputer (B) --
-fri11computer) -Information~: - Indicates the content of the data to send I4 by φrmi. Figure 7, A l) I”, :/ -ta'1'7
'Mo@meda1ltll fjl flock diagram. 81' = 4 is AI) J'', ;/-1' etc. 4 TV
Meda system! i A block diagram showing the case where the serial shift register is connected to the serial register. The figure $9 shows two microcomputers (A) according to the present invention. FIG. 3 is a flowchart showing a data transfer operation by CB. FIG. 10 is an implementation diagram when a transfer number is determined for each microcomputer. FIG. 11 is a flowchart of the interrupt routine for each microcomputer when an interrupt occurs after data transfer. Patent applicant: Canon Co., Ltd.

Claims (1)

【特許請求の範囲】[Claims] ガータ転送+1J能な制御装置により、像形成等の制7
+111を行なう装置において、データ転送異常が発生
した場合、所定の像形成等の処理を行なってから、動作
を停止させる様にしたことを特徴とする像形成装置。
A control device capable of gutter transfer + 1J provides control of image formation, etc.
1. An image forming apparatus that performs +111 image forming apparatus, wherein when a data transfer abnormality occurs, the operation is stopped after performing a predetermined process such as image formation.
JP57154121A 1982-08-26 1982-09-03 Image forming device Pending JPS5942553A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP57154121A JPS5942553A (en) 1982-09-03 1982-09-03 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
JP57154121A JPS5942553A (en) 1982-09-03 1982-09-03 Image forming device

Publications (1)

Publication Number Publication Date
JPS5942553A true JPS5942553A (en) 1984-03-09

Family

ID=15577376

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57154121A Pending JPS5942553A (en) 1982-08-26 1982-09-03 Image forming device

Country Status (1)

Country Link
JP (1) JPS5942553A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5978370A (en) * 1982-09-21 1984-05-07 ゼロツクス・コ−ポレ−シヨン Self-testing system for copying machine
JPS6444960A (en) * 1987-08-13 1989-02-17 Fuji Xerox Co Ltd Recording device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5978370A (en) * 1982-09-21 1984-05-07 ゼロツクス・コ−ポレ−シヨン Self-testing system for copying machine
JPH0473785B2 (en) * 1982-09-21 1992-11-24
JPS6444960A (en) * 1987-08-13 1989-02-17 Fuji Xerox Co Ltd Recording device

Similar Documents

Publication Publication Date Title
KR100290597B1 (en) Apparatus and method of implementing a usb endpoint pipe with double buffering support
US4914576A (en) Apparatus and method of loading a control store memory of a central subsystem
US5784712A (en) Method and apparatus for locally generating addressing information for a memory access
US20020116555A1 (en) Method and apparatus for efficiently moving portions of a memory block
US20020161941A1 (en) System and method for efficiently performing a data transfer operation
US5680537A (en) Method and apparatus for isolating an error within a computer system that transfers data via an interface device
US5784393A (en) Method and apparatus for providing fault detection to a bus within a computer system
WO1989002127A1 (en) Method and apparatus for interconnecting busses in a multibus computer system
US6883102B2 (en) Apparatus and method for performing power management functions
JP2006178616A (en) Fault tolerant system, controller used thereform, operation method and operation program
JPS602818B2 (en) digital data communication equipment
EP3242199A1 (en) Flash memory controller and control method for flash memory controller
JPS5912170B2 (en) copy making machine
WO2011029385A1 (en) Method, system and processor for loading logic devices online
US4858234A (en) Method and apparatus for error recovery in a multibus computer system
JPH065522B2 (en) I / O control processing postponement device
JPS5942553A (en) Image forming device
JPH06242979A (en) Dual computer device
US6314495B1 (en) Method and apparatus for executing multiply-initiated, multiply-sourced variable delay system bus operations
US4755996A (en) Image forming system
JP2008198000A (en) Custom integrated circuit, and image forming apparatus with custom integrated circuit
JPS5938759A (en) Image forming device
JPH0381146B2 (en)
JPS5937562A (en) Image forming device
JPS5937561A (en) Image forming device