JPH0242456A - Copying machine with data imprinting function - Google Patents

Copying machine with data imprinting function

Info

Publication number
JPH0242456A
JPH0242456A JP63193233A JP19323388A JPH0242456A JP H0242456 A JPH0242456 A JP H0242456A JP 63193233 A JP63193233 A JP 63193233A JP 19323388 A JP19323388 A JP 19323388A JP H0242456 A JPH0242456 A JP H0242456A
Authority
JP
Japan
Prior art keywords
data
mode
page
routine
imprinting
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
JP63193233A
Other languages
Japanese (ja)
Inventor
Shigenobu Fukushima
福嶋 茂信
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 JP63193233A priority Critical patent/JPH0242456A/en
Priority to US07/388,691 priority patent/US4963920A/en
Publication of JPH0242456A publication Critical patent/JPH0242456A/en
Pending legal-status Critical Current

Links

Landscapes

  • Counters In Electrophotography And Two-Sided Copying (AREA)
  • Control Or Security For Electrophotography (AREA)

Abstract

PURPOSE:To prevent page numbers from being imprinted without counting the number of the sheets of an original by releasing a page data imprinting mode when the page data imprinting mode is selected and a counting mode is not set. CONSTITUTION:The title machine is provided with a means to set the page data imprinting mode to imprint the page numbers by superposing original pictures, a means to set the counting mode to count the number of the sheets of the original, a data control means to operate and set imprinting page data and a means to release the page data imprinting mode when the page data imprinting mode is selected and the counting mode is not set. Thus, the page data imprinting mode and the original number-of-sheets counting mode can be set, and the page data imprinting mode can be released when the counting mode is not set within a prescribed timer or until a prescribed key switch input after the page data imprinting mode is set.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、ページ番号(及び総ページ番号)を写し込む
ことのできるデータ写し込み機能付複写機に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a copying machine with a data imprinting function that can imprint page numbers (and total page numbers).

本発明の複写機は、ページ番号(及び総ページ番号)写
し込み前に、自動的に原稿枚数の計数を実行できないと
きは、ページ番号(及び総ページ番号)の写し込みを実
行しないものである。
The copying machine of the present invention does not imprint page numbers (and total page numbers) if it cannot automatically count the number of original sheets before imprinting page numbers (and total page numbers). .

〔従来の技術〕[Conventional technology]

(1)原稿画像を複写するに際して、複写画像に重ねて
、日付、ページ番号、等のデータを写し込むことのでき
る複写機が提案(特公昭59−52811)、または提
供されている。
(1) A copying machine has been proposed or provided (Japanese Patent Publication No. 59-52811) that can imprint data such as date, page number, etc. on the copied image when copying the original image.

上記複写機では、原稿画像を露光走査して、該画像に対
応する静電潜像を感光体上に書き込むに際して、例えば
、データ写し込み領域に対応する領域を遮光等して、該
領域の初期帯電状態を保存することにより、該領域への
データの写し込みを可能としている。
In the copying machine described above, when exposing and scanning a document image to write an electrostatic latent image corresponding to the image on a photoreceptor, for example, the area corresponding to the data imprinting area is shielded from light, etc., and the initial stage of the area is By preserving the charged state, data can be imprinted on the area.

なお、上記に於いて、ページ番号データを写し込む場合
には、一般に、 **/## (* :現ページ、#:総ページ)のよう
に、現ページとともに、総ページを写し込むことが行わ
れている。
In addition, in the above, when imprinting page number data, it is generally possible to imprint the total page along with the current page, such as **/## (*: current page, #: total page). It is being done.

(2)原稿循yk+f&送装置(RD)1;以下、RD
Hと略記する)が提案または提供されている(特開昭5
5−98762)。
(2) Original circulation + f & feeding device (RD) 1; hereinafter referred to as RD
(abbreviated as H) has been proposed or provided (Japanese Unexamined Patent Publication No. 5
5-98762).

該装置は、流し撮りモードによる原稿複写を可能にする
装置であり、複写機の原稿台上にセットして使用される
This device is a device that enables document copying in a panning mode, and is used by being set on the document table of a copying machine.

流し撮りモードとは、複写機の走査系を固定した状態で
、原稿を原稿台上で移動させることにより、画像走査を
行うモードをいう。これは、通常の複写モード時、スキ
ャナリターンによるロスタイムがあることに鑑み、これ
を無くし、もって高速化を達成するべく案出されたもの
である。
The panning mode is a mode in which an image is scanned by moving the document on the document table while the scanning system of the copying machine is fixed. This was devised in view of the fact that there is loss time due to scanner return in normal copying mode, and to eliminate this loss time and thereby achieve higher speeds.

また、RDH使用時には、一般に、原稿枚数の計数が行
われる。これは、流し撮りモード時に、複写動作の終了
タイミングを検出する必要があるためである。
Furthermore, when using RDH, the number of original documents is generally counted. This is because it is necessary to detect the end timing of the copying operation in the panning mode.

なふ、RDHは、ADFモード(原稿自動給紙モード:
原稿を自動的に原稿台上に給紙し、原稿台上の定位置に
位置せしめた後、複写機の走査系を駆動して画像走査を
実行し、その後、原稿台上から排出するモード)での使
用も可能である。このモードでは、原稿枚数の計数は、
その必要がないため、通常は、行われない。
Nafu, RDH is in ADF mode (original automatic feeding mode:
A mode in which the original is automatically fed onto the document glass, positioned at a fixed position on the document glass, the copying machine's scanning system is driven to scan the image, and then the document is ejected from the document glass.) It can also be used in In this mode, counting the number of originals is
Since it is not necessary, it is not normally done.

また、RDI(は、その原稿搬送部を開くことにより、
マニュアルでの原稿セットも可能なように構成されてい
る。
In addition, by opening the RDI (original transport section),
It is configured so that manual document setting is also possible.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述のように、現ページとともに総ページ数を複写画像
に写し込む場合には、原稿総枚数データが必要である。
As described above, in order to imprint the total number of pages together with the current page on a copy image, data on the total number of original sheets is required.

また、原稿自動搬送手段を使用する場合には、最終ペー
ジの原稿から複写が行われる場合が多く、このような場
合には、現ページのみを写し込む場合にも、あらかじめ
原稿総枚数データが必要である。
Additionally, when using an automatic document feeder, copies are often made from the last page of the document, and in such cases, data on the total number of originals is required in advance even if only the current page is to be imprinted. It is.

このため、従来、操作パネル上のテンキー等を用いて総
ページ数を人力することが、行われている。換言すれば
、従来は、原稿枚数をマニュアルで計数することが必要
であった。
For this reason, conventionally, the total number of pages has been entered manually using a numeric keypad or the like on an operation panel. In other words, conventionally, it was necessary to manually count the number of original sheets.

本出願人は、かかる問題点を解決する発明を、本出願と
同日付けで出願している。該同日付けの出願は、RDH
の原稿枚数計数機能に着目し、複写動作開始前に、自動
的に原稿枚数を計数させることにより、総ページ数人力
を不要としたものである。
The present applicant has filed an invention for solving this problem on the same date as the present application. The application filed on the same date is RDH
By focusing on the original number counting function of , the number of original sheets is automatically counted before the start of the copying operation, thereby eliminating the need for human labor to calculate the total number of pages.

しかしRDHは、複写動作に先立つ原稿枚数の計数を、
常に実行するわけではない。例えば、RDHをADFモ
ードで使用する場合には、通常は、原稿枚数の計数は為
されない。
However, RDH does not count the number of original sheets before the copying operation.
It doesn't always run. For example, when using the RDH in ADF mode, the number of original sheets is not normally counted.

このため、例えば、RDHにへDFモードを設定した状
態で、総ページ数の入力、または、原稿枚数の計数が行
われないままに、ページ番号の写し込みを行ふうとする
と、写し込むべきページデータが確定しないことによる
ミスコピーが発生する。
Therefore, for example, if you try to imprint a page number without inputting the total number of pages or counting the number of original sheets when the DF mode is set on RDH, the page to be imprinted will Miscopy occurs because the data is not finalized.

本発明は、かかる場合への対応を企図するものである。The present invention is intended to deal with such a case.

〔問題点を解決するための手段及び作用〕本発明は、 原稿台上への原稿給紙及び原稿台上からの原稿回収を実
行する原稿搬送手段、原稿画像に重ねてデータを写し込
むデータ写し込み手段、を有する複写機であって、 原稿画像に重ねてページ番号を写し込むページデータ写
し込みモード、を設定するページモード設定手段、 原稿枚数を計数する計数モード、を設定する計数モード
設定手段、 計数結果に基づいて、写し込み用のページデータを演算
してセットするデータ管理手段、ページデータ写し込み
モードが選択され、計数モードが設定されないときは、
ページデータ写し込みモードを解除するページモード解
除手段、を有するデータ写し込み機能付複写機である。
[Means and effects for solving the problems] The present invention provides a document transporting means for feeding the document onto the document table and collecting the document from the document table, and a data copying device for imprinting data superimposed on the document image. a copying machine having: a page mode setting means for setting a page data imprinting mode in which a page number is imprinted on the original image; and a counting mode setting means for setting a counting mode in which the number of original sheets is counted. , a data management means that calculates and sets page data for imprinting based on the counting results, when the page data imprinting mode is selected and the counting mode is not set,
This is a copying machine with a data imprinting function, which has a page mode canceling means for canceling the page data imprinting mode.

本発明によると、ページデータ写し込みモードを設定し
た後、計数モード(該モードは、例えば、流し撮りモー
ドに付帯して設定される)が設定されないときは、ペー
ジデータ写し込みモードは解除される。
According to the present invention, after setting the page data imprinting mode, if the counting mode (this mode is set in conjunction with the panning mode, for example) is not set, the page data imprinting mode is canceled. .

したがって、本発明によると、写し込むべきページデー
タが確定しないことによるミスコピーの発生は防止され
る。
Therefore, according to the present invention, the occurrence of copy mistakes due to undetermined page data to be imprinted can be prevented.

く以下、余白〉 〔実施例〕 以下、本発明の詳細な説明する。Below, margin 〔Example〕 The present invention will be explained in detail below.

(機構の全体的な説明) 第1図は実施例にかかる複写機及び原稿循環搬送装置(
RDH)の構成を示す模式図である。
(Overall explanation of the mechanism) Figure 1 shows a copying machine and a document circulation conveyance device (
FIG. 2 is a schematic diagram showing the configuration of RDH.

図示の複写機は、上段に光学系101、中段に作像部1
02、下段に再給紙ユニット103、また、最下段に給
紙ユニット104が、それぞれ配置された構成を成し、
さらに、原稿台16の上には、原稿循環搬送装置(RD
H)400がセットされている。
The illustrated copying machine has an optical system 101 in the upper stage and an image forming unit 1 in the middle stage.
02, a configuration in which a paper refeeding unit 103 is arranged at the lower stage, and a paper feeding unit 104 is arranged at the lowest stage,
Further, on the document table 16, a document circulation conveyance device (RD
H) 400 is set.

(1)光学系101 光学系101は、原稿台ガラス16上にセットされる原
稿(原稿セットは、マニユアル、又は、RDHのADF
モードで行われる)、又は、原稿台16上を移動する原
稿(走査のための原稿移動は、RDHの流し撮りモード
で行われる)を露光走査し、原稿画像からの反射光を作
像部102の感光体ドラム2まで導き、その表面に結像
させるものである。
(1) Optical system 101 The optical system 101 is configured to operate an original set on the original table glass 16 (original set is a manual or RDH ADF).
mode) or the document moving on the document table 16 (the document movement for scanning is performed in the RDH panning mode), and the reflected light from the document image is transferred to the image forming unit 102. The photosensitive drum 2 is guided to the photosensitive drum 2, and an image is formed on the surface of the photosensitive drum 2.

光学系101は、露光ランプ10、反射鏡11a、11
b% I IC511d%及びレンズ12を有する。
The optical system 101 includes an exposure lamp 10, reflecting mirrors 11a, 11
b% I IC511d% and lens 12.

通常モード(流し撮りモード以外のモード;流し操りモ
ードについては、後述)下では、原稿走査時に於いて、
露光ランプ10及び反射鏡11aはV/N (V ;感
光体ドラム2の周速度、N;複写倍率)の速度で、また
、反射鏡11b、IICはV/2Nの速度で、それぞれ
原稿台16の下面に沿って往復動じ、原稿を露光走査す
る。
In normal mode (modes other than panning mode; panning mode will be explained later), when scanning a document,
The exposure lamp 10 and the reflecting mirror 11a move at a speed of V/N (V: peripheral speed of the photosensitive drum 2, N: copying magnification), and the reflecting mirrors 11b and IIC move at a speed of V/2N, respectively, from the document table 16. It moves back and forth along the bottom surface of the document to expose and scan the document.

一方、RDH400による流し撮りモード下では、露光
ランプ10・反射鏡11a、及び反射鏡11b−11C
,は基準位置に固定状態に保持される。かかる状態での
原稿画像の露光走査は、原稿を、原稿台16上で、図の
左方向へ定速度で移動させることによって行われる。
On the other hand, under the panning mode using RDH400, the exposure lamp 10, reflector 11a, and reflectors 11b-11C
, is held fixed at the reference position. Exposure scanning of the original image in this state is performed by moving the original on the original table 16 at a constant speed to the left in the figure.

なお、レンズ12の位置調整により複写倍率の設定が、
また、反射鏡lldの角度調整により結像位置の補正が
、それぞれ行われる。
The copy magnification can be set by adjusting the position of the lens 12.
Further, the imaging position is corrected by adjusting the angle of the reflecting mirror lld.

(2)作像部102 作像部102は、いわゆる電子写真プロセスによる作像
を実行するものであり、換言すれば、感光体ドラム2上
に形成される静電潜像をトナー現像し、これをコピー用
紙上に転写し、定着して、排出するものである。
(2) Image forming unit 102 The image forming unit 102 executes image formation by a so-called electrophotographic process. In other words, it develops an electrostatic latent image formed on the photoreceptor drum 2 with toner. is transferred onto copy paper, fixed, and then ejected.

作像部102は、図中反時計方向に回転可能に支持され
た感光体ドラム2と、該感光体ドラム2の周囲に配設さ
れたイレースランプ7、帯電チャージャ6、データ写し
込みユニット200、現像装置3a(本実施例では、黒
トナー収納)、現像装置3b(本実施例では、赤トナー
収納)、転写チャージャ5as分離チャージャ5b、及
びクリーニング装置4と、転写済のコピー用紙を搬送す
る搬送ベルト8と、該搬送された用紙上のトナー画像を
定着する定着装置9とを有する。なお、データ写し込み
ユニット200については、後に詳述する。
The image forming unit 102 includes a photoreceptor drum 2 rotatably supported in the counterclockwise direction in the figure, an erase lamp 7 disposed around the photoreceptor drum 2, an electrostatic charger 6, a data imprinting unit 200, A developing device 3a (accommodating black toner in this embodiment), a developing device 3b (accommodating red toner in this embodiment), a transfer charger 5as, a separation charger 5b, a cleaning device 4, and a conveyor for conveying the copied copy paper. It has a belt 8 and a fixing device 9 that fixes the toner image on the transported paper. Note that the data imprinting unit 200 will be described in detail later.

また、13は、給紙される複写用紙を感光体ドラム20
回転に同期して、所定のタイミングで、感光体ドラム2
〜転写チヤージヤ5a間に送るりイミングローラ対であ
り、一方、14及び15は、画像定着法の複写用紙を作
像部102から排出するローラ対である。
Further, 13 is a photosensitive drum 20 for feeding the copy paper.
The photosensitive drum 2 is rotated at a predetermined timing in synchronization with the rotation.
- A pair of imming rollers are conveyed between the transfer charger 5a, while 14 and 15 are a pair of rollers for discharging the copy paper from the image forming section 102 for the image fixing method.

なお、作像1102から排出されるコピー用紙を、排紙
トレイ36上に排出するか、または、後述する再給紙ト
レイ58内に排出するか、の切り換えは、図示しないソ
レノイドで作動される切り換えレバー41によって実行
される。
Note that switching between ejecting the copy paper ejected from the image forming unit 1102 onto the ejecting tray 36 or ejecting it into a refeeding tray 58, which will be described later, is a switching operation operated by a solenoid (not shown). This is carried out by lever 41.

(3)再給紙ユニット103 再給紙ユニット103は、合成複写(連続する2回の作
像プロセスによって、用紙の同一面上に合成画像を形成
する複写)、及び、両面複写(連続する2回の作像プロ
セスによって、用紙の表面及び裏面に、それぞれ画像形
成を行う複写)に用いられるものである。
(3) Paper refeeding unit 103 The paper refeeding unit 103 is capable of composite copying (copying in which a composite image is formed on the same side of the paper by two consecutive image forming processes), and double-sided copying (copying that forms a composite image on the same side of paper by two consecutive image forming processes). It is used for copying (copying) in which images are formed on the front and back sides of paper through multiple image forming processes.

即ち、片面(第1面)に画像転写及び定着を施された複
写用紙は、合成複写時にあっては通紙路530を通って
、また、両面複写時にあっては通紙路530及び531
を通って、再給紙トレイ58内に一旦収納される。即ち
、合成複写時にあっては画像形成面(第1面)が下にな
るように、また、両面複写時にあっては画像形成面(第
1面)が上になるように、それぞれトレイ58内に収納
される。
That is, the copy paper on which the image has been transferred and fixed on one side (first side) passes through the paper passage path 530 during composite copying, and through the paper passage paths 530 and 531 during double-sided copying.
The paper passes through the paper refeed tray 58 and is temporarily stored in the paper refeed tray 58. That is, the tray 58 is placed so that the image forming surface (first surface) is facing down during composite copying, and so that the image forming surface (first surface) is facing up during double-sided copying. will be stored in.

その後、所定のタイミングで、再給紙ローラ38によっ
てトレイ58から引き出され、給紙路540を通ってタ
イミングローラ対13に至り、再び、所定のタイミング
で、感光体ドラム2〜転写チヤージヤ5a間に給紙され
て、画像転写及び定着を施される。なお、感光体ドラム
2〜転写チヤージヤ5a間への給紙は、合成複写時にあ
っては画像形成面(第1面)が感光体ドラム2に面する
ようにして、また、両面複写時にあっては画像形成面(
第1面)が転写チャージャ5a側に面するようにして、
それぞれ行われる。
Thereafter, at a predetermined timing, the paper is pulled out from the tray 58 by the refeeding roller 38, passes through the paper feed path 540, reaches the timing roller pair 13, and again at a predetermined timing, the paper is pulled out from the tray 58 by the refeeding roller 38, and is moved between the photoreceptor drum 2 and the transfer charger 5a at a predetermined timing. Paper is fed, and image transfer and fixing are performed. Note that the paper is fed between the photoreceptor drum 2 and the transfer charger 5a so that the image forming surface (first surface) faces the photoreceptor drum 2 during composite copying, and when double-sided copying is performed. is the image forming surface (
so that the first surface) faces the transfer charger 5a side,
Each will be done.

(4)給紙ユニット104 給紙ユニット104は、各異なるサイズの用紙を収納す
る上絵紙トレイ42及び下給紙トレイ43を有する。各
トレイ内の用紙は、給紙ローラ18.19によって引き
出された後、自動給紙機構によって、作像部102のタ
イミングローラ対13へ給送され、光学系101または
RDH400からの所定のタイミング信号に応じて、か
つ、感光体ドラム2の回転に同期して、感光体ドラム2
−転写チャージャ5a間に送出され、画像転写を施され
る。
(4) Paper Feeding Unit 104 The paper feeding unit 104 has an upper paper tray 42 and a lower paper feeding tray 43 that accommodate sheets of different sizes. After the paper in each tray is pulled out by paper feed rollers 18 and 19, the paper is fed by an automatic paper feed mechanism to the timing roller pair 13 of the image forming unit 102, and is fed by a predetermined timing signal from the optical system 101 or the RDH 400. and in synchronization with the rotation of the photoreceptor drum 2.
- The image is transferred between the transfer chargers 5a and subjected to image transfer.

(5)原稿循環搬送装置(RDH)400原稿循m搬送
装置(RDH)400は、原稿トレイ412にセットさ
れた原稿を、図の右端側から原稿台16上へ連続的に給
紙し、原稿台16上を図の左方向へ一定速度で搬送し、
その後、図の左端側から、再び原稿トレイ412に回収
する装置であり、複写機の原稿台16上にセットして使
用されるものである。なお、RDH400の使用態様と
しては、流し撮りモードと非流し撮りモード(へDFモ
ード)とがある。
(5) Document circulation device (RDH) 400 The document circulation device (RDH) 400 continuously feeds the document set on the document tray 412 onto the document table 16 from the right end side in the figure. Conveyed on the table 16 to the left in the figure at a constant speed,
Thereafter, the document is collected from the left side in the figure again onto the document tray 412, and is used by being set on the document table 16 of the copying machine. Note that the RDH 400 can be used in a panning mode and a non-panning mode (to-DF mode).

本RDH400による原稿の給送は、以下のようにして
行われる。
The document feeding by the RDH 400 is performed as follows.

まず、原稿トレイ412上に、画像面を上向きにして(
積層して)セットされた原稿は、最下層の原稿から、給
紙ベルト420によって順次引き出され、原稿台16上
に給紙される。その際、給紙される原稿の通過は、給紙
検出センサ421によって検出される。
First, place the document on the document tray 412 with the image side facing up (
The stacked documents are sequentially pulled out by a paper feed belt 420 starting from the lowest document and fed onto the document table 16. At this time, the passage of the fed document is detected by the paper feeding detection sensor 421.

次に、給紙検出センサ421の位置を通過した原稿は、 (1)流し撮りモード時にあっては、原稿台への入り口
く図の右端側)で所定のタイミングをとられた後、搬送
ベルト423の摩擦力によって、−定速度で、原稿台1
6上を図の左方向へ搬送されつつ、露光走査される。
Next, the document that has passed the position of the paper feed detection sensor 421 is transferred to the conveyor belt at a predetermined timing (1) In the panning mode, the document is placed at a predetermined timing at the entrance to the document table (the right end side in the figure). Due to the frictional force of 423, -at a constant speed, the document table 1
6 and is conveyed to the left in the figure while being exposed and scanned.

このとき、前述したように、光学系101の露光ランプ
10・反射鏡11a−11b−tic。
At this time, as described above, the exposure lamp 10 and the reflecting mirrors 11a-11b-tic of the optical system 101.

は基準位置に固定状態に保持されている。is held fixed at the reference position.

換言すれば、流し撮りモード時における原稿画像の露光
走査は、光学系側の移動によるものではなく、原稿の移
動によって、行われる。
In other words, exposure scanning of the original image in the panning mode is performed not by movement of the optical system but by movement of the original.

その後、原稿は、原稿台の出口(図の左端側)から、排
出ローラ425によって排出され、再び原稿トレイ41
2上に回収される。
After that, the original is ejected from the exit of the original table (left end side in the figure) by the ejection roller 425, and returned to the original tray 425.
It is collected on 2.

流し撮りモードに於いては、給紙ユニットから給紙され
る用紙の間隔が極めて狭いため、最終の原稿を検知した
ときに、すでに必要枚数以上の用紙が給紙ユニットから
送出されているということを防止するために、あらかじ
め原稿の枚数を認識しておく必要がある。そこで、コピ
ー開始前に原稿を空送りして、原稿枚数をカウントする
ようにしている。
In panning mode, the interval between sheets fed from the paper feed unit is extremely narrow, so by the time the final document is detected, more sheets than the required number have already been fed from the paper feed unit. In order to prevent this, it is necessary to know the number of originals in advance. Therefore, the number of originals is counted by skipping the originals before copying starts.

原稿枚数カウント時に於いては、最初に回収される原稿
(=最初に給紙された原稿;第1原稿)は、トレイ41
2にセットされている最上層の原稿(最終原稿)上に直
接重ねるようにして回収されるのではなく、第1原稿と
最終原稿との間には、最終原稿検出用のレバー410が
介在せしめられる。
When counting the number of originals, the first original to be collected (=first fed original; first original) is placed in the tray 41.
Instead of being collected directly on top of the topmost original (final original) set in the first original and the final original, a lever 410 for detecting the final original is interposed between the first original and the final original. It will be done.

即ち、最初に原稿をトレイ412上にセットするに際し
て、最上層の原稿(最終厚M)上には、レバー410の
先端部が載置される。該レバー410の先端部は、原稿
の給紙に伴う厚みの減少に対応して徐々に降下し、上記
最終原稿がトレイ412から引き出されると、最終原稿
給紙検出センサ4111′−当接する。これにより、最
終原稿が給紙されたことが検出される。
That is, when a document is first set on the tray 412, the tip of the lever 410 is placed on the top layer of the document (final thickness M). The tip of the lever 410 gradually descends as the thickness of the document decreases as the document is fed, and when the final document is pulled out from the tray 412, it comes into contact with the final document feed detection sensor 4111'. As a result, it is detected that the final document has been fed.

かかる最終原稿の給紙の検出は、後述するように、原稿
枚数のカウント、1部の原稿から複数のコピーをとる時
(以下、マルチコピーと称する)における区切り、コピ
ー動作の停止、等に必要なデータとして供されるもので
ある。
Detection of the feeding of the final original is necessary for counting the number of originals, separating multiple copies from one original (hereinafter referred to as multi-copying), stopping the copying operation, etc., as will be described later. This data is provided as detailed data.

なお、上記よりわかるように、流し撮りによる原稿コピ
ーは、スキャナの停止状態で実行されるため、スキャナ
リターンによるロスタイムが無い。
As can be seen from the above, document copying by panning is performed with the scanner stopped, so there is no loss time due to scanner return.

このため、通常モード(非流し撮りモード)でのコピー
に比し、各コピー動作毎の間隔を短縮でき、高速化が達
成できるという利点を有する。
Therefore, compared to copying in the normal mode (non-panning mode), there is an advantage that the interval between each copying operation can be shortened and high speed can be achieved.

一方、 (ii )非流し撮りモード(RDHを原稿自動給紙装
置(ADF)として使用するモード; ADFモード)
時にあっては、給紙検出センサ421の位置を通過した
原稿は、まず、原稿台16上の定位置(スキャナの移動
による原稿走査を実行するための位置)に停止される。
On the other hand, (ii) non-panning mode (mode in which RDH is used as an automatic document feeder (ADF); ADF mode)
In some cases, the document that has passed the position of the paper feed detection sensor 421 is first stopped at a fixed position on the document table 16 (a position for scanning the document by moving the scanner).

かかる原稿停止状態で、光学系101の、露光ランプ1
0・反射鏡11aがV/Hの速度で、また、反射鏡11
b・11CがV/2Nの速度で、それぞれ駆動されて、
原稿台ガラス16の下面に沿って移動し、原稿を露光走
査する。
In such a document stopped state, the exposure lamp 1 of the optical system 101
0. The reflecting mirror 11a is at a speed of V/H, and the reflecting mirror 11a is
b and 11C are each driven at a speed of V/2N,
It moves along the lower surface of the document platen glass 16 to expose and scan the document.

露光走査終了後(マルチコピー時にあっては、マルチコ
ピー回数分の露光走査終了後)、上記定位置にあった原
稿は、搬送ベルト423の摩擦力によって原稿台16上
を図の左方向へ搬送され、その後、原稿台の出口(図の
左端)側から、排出ローラ425によって排出され、再
び原稿トレイ412上に回収される。
After the exposure scan is completed (in the case of multi-copying, after the exposure scan is completed for the number of multi-copies), the document in the above-mentioned fixed position is conveyed on the document table 16 to the left in the figure by the frictional force of the conveyor belt 423. Thereafter, the document is discharged from the exit (left end in the figure) of the document table by a discharge roller 425 and collected onto the document tray 412 again.

(iii )なお、RDH400は開閉可能である。即
ち、RDHの原稿搬送部405は、オペレータ側で上方
に開くことが可能であり、核間いた状態で、原稿台16
上に、マニユアルで原稿をセットすることができるよう
に構成されている。
(iii) Note that the RDH 400 can be opened and closed. That is, the RDH document transport unit 405 can be opened upward on the operator side, and the document table 16 can be
The structure is such that an original can be manually set on the top.

(データ写し込みユニット200の説明)第2図は、デ
ータ写し込みユニット200の構成説明図である。
(Description of data imprinting unit 200) FIG. 2 is an explanatory diagram of the configuration of the data imprinting unit 200.

第2図図示のように、データ写し込みユニット200の
LEDヘッド201は、移動可能に構成されている。な
お、該移動の方向は、感光体ドラムの軸方向に沿う方向
である。
As shown in FIG. 2, the LED head 201 of the data imprinting unit 200 is configured to be movable. Note that the direction of the movement is along the axial direction of the photoreceptor drum.

ここに、LEDヘッド201の移動は、ステッピングモ
ータ204によって駆動プーリ211を駆動し、駆動プ
ーリ211〜従劾プーリ211間に張設したベルト20
5を回転させることによって、行われる。
Here, the movement of the LED head 201 is achieved by driving a driving pulley 211 by a stepping motor 204, and using a belt 20 stretched between the driving pulley 211 and the subordinate pulley 211.
This is done by rotating 5.

即ち、図示のように、LEDアレイ203と帯電チャー
ジャ202とが一体化されたデータ写し込みへラド20
1は、ベルト205上に固着されている。このため、該
ベルト2050回転とともに、データ写し込みヘッド2
01は、感光体ドラム2の軸方向に沿って移動するので
ある。
That is, as shown in the figure, a data imprinting device 20 in which an LED array 203 and a charger 202 are integrated
1 is fixed on the belt 205. Therefore, as the belt 2050 rotates, the data imprinting head 2
01 moves along the axial direction of the photosensitive drum 2.

なお、208は、データ写し込みヘッド201の基準位
置(後述するカウンタ: CNTR1・CNTR2のカ
ウントの基準となる位置)を検出するセンサである。即
ち、上記基準位置は、データ写し込みヘッド201から
突設された遮光板209が、センサ208の凹部の光回
路を遮断することによって検出される。
Note that 208 is a sensor that detects a reference position of the data imprinting head 201 (a position that serves as a reference for counting of counters CNTR1 and CNTR2, which will be described later). That is, the reference position is detected by the light shielding plate 209 protruding from the data imprinting head 201 cutting off the optical circuit in the recessed portion of the sensor 208 .

また、データ写し込みヘッド201を搭載するデータ写
し込みユニット200は、複写機に対して着脱可能であ
り、さらに、該データ写し込みユニット200は、複写
機への装着に関して、現像器と互換性を有するように構
成されている。
Further, the data imprinting unit 200 equipped with the data imprinting head 201 is removable from the copying machine, and furthermore, the data imprinting unit 200 is compatible with the developing device when attached to the copying machine. It is configured to have.

なお、上述したように、本実施例では、データ写し込み
ヘッド201の長さを感光体ドラム2の長さに比し短く
構成するととともに、ヘッドの移!IJ機構を採用して
、感光体ドラム2上の任意の位置へのデータの写し込み
を可能としている。しかし、本発明は、データ写し込み
ヘッド201の長さを限定するものではない。即ち、感
光体ドラム2と同程度の長さのデータ写し込みヘッドを
採用し、そのLED素子の点灯/消灯を制御することに
よって、データの写し込み位置を設定することも可能で
ある。
As described above, in this embodiment, the length of the data imprinting head 201 is configured to be shorter than the length of the photoreceptor drum 2, and the head is easily moved. By employing an IJ mechanism, data can be imprinted onto any arbitrary position on the photosensitive drum 2. However, the present invention does not limit the length of the data imprinting head 201. That is, it is also possible to set the data imprinting position by employing a data imprinting head that is approximately the same length as the photosensitive drum 2 and controlling the lighting/extinguishing of its LED elements.

(操作パネルの説明) 第3図は、上記複写機の操作パネルの一部を示す説明図
である。
(Description of Operation Panel) FIG. 3 is an explanatory diagram showing a part of the operation panel of the copying machine.

図示のように操作パネル上には、複写枚数または総ペー
ジ数等の数値を置数するためのテンキー群315、コピ
ー動作の開始を指令するためのコピー開始キー308、
コピー枚数または総ページ数等の数値をセグメント表示
する表示部319、日付及び/またはページの写し込み
モードの設定を指令するための写し込みキー302、日
付の写し込みモードが設定されたことを表示する日付L
ED303、ページの写し込みモードが設定されたこと
を表示するページLED304、写し込みデータに対す
る付加情報(データ印字カラー、総ページ数)の指定を
受は付けるインサートモードの設定を指令するためのイ
ンサートキー305、インサートモードが設定されたこ
とを表示するインサー)LED306、カラー指定キー
312〜314、カラー指定キー312〜314に対応
するカラーが選択されたことをそれぞれ表示する表示L
ED316〜318、カラー指定キー312〜314に
対応するカラーを記入するための記入スペース307、
ページモードに関する種々のメツセージを表示するため
の液晶表示部330等が配置されている。
As shown in the figure, on the operation panel, there is a numeric keypad group 315 for entering numerical values such as the number of copies or total number of pages, a copy start key 308 for instructing the start of a copy operation,
A display section 319 that displays numerical values such as the number of copies or total number of pages in segments, an imprint key 302 that instructs setting of the date and/or page imprint mode, and a display that indicates that the date imprint mode has been set. date L
ED303, page LED304 to display that the page imprint mode has been set, insert key to command the setting of the insert mode, which accepts and specifies additional information (data print color, total number of pages) for the imprint data. 305, insert display indicating that the insert mode is set; LED 306; color specification keys 312 to 314; display L indicating that the color corresponding to the color specification keys 312 to 314 has been selected;
ED316-318, entry space 307 for entering colors corresponding to color specification keys 312-314;
A liquid crystal display section 330 and the like for displaying various messages related to the page mode are arranged.

なお、上記に於いて、データ印字カラーとは、写し込み
データのプリント色のことである。
Note that in the above, the data printing color refers to the printing color of imprint data.

また、総ページ数が人力された場合に、複写用紙上に写
し込まれるページ表示は、 */**  (*:現ページ、**:総ページ)として
表現される。
Furthermore, when the total number of pages is entered manually, the page display imprinted on the copy paper is expressed as */** (*: current page, **: total page).

また、カラー指定キー312は最上段の現像器(ただし
、本実施例では、最上段には現像器ではなく、データ写
し込みユニット200が装着されている)のトナー色に
、カラー指定キー313は中段の現像器3aのトナー色
に、また、カラー指定キー314は下段の現像器3bの
トナー色に、それぞれ対応するキーである。
Further, the color specification key 312 is used to select the toner color of the topmost developing device (in this embodiment, the data imprinting unit 200 is installed in the topmost tier, not the developing device); The color designation key 314 corresponds to the toner color of the developing device 3a in the middle stage, and the color specifying key 314 corresponds to the toner color of the developing device 3b in the lower stage.

(制御回路の説明) 第4図は、本複写機の制御回路の構成を示すブロック図
である。
(Description of Control Circuit) FIG. 4 is a block diagram showing the configuration of the control circuit of this copying machine.

図示のように、制御回路は、複写機全体の動作を制御す
るホス)CPU22と、データ写し込みユニット200
を制御する写し込みCPU21とを中心として構成され
る。
As shown in the figure, the control circuit includes a CPU 22 (host) that controls the operation of the entire copying machine, and a data imprinting unit 200.
It is mainly composed of an imprinting CPU 21 which controls the imprinting CPU 21.

ホストCPU22には、操作パネルからのキー人力信号
、タイマICからの時間データ、写し込みCPU21か
らのタイミングデータ、RDHを制御するCPUからの
データ(流し撮りモード等のモードデータ等)が入力す
るとともに、複写機内の各所に配置された図示しない各
種センサ群からの信号が入力する。
The host CPU 22 receives key input signals from the operation panel, time data from the timer IC, timing data from the imprinting CPU 21, and data from the CPU that controls the RDH (mode data such as panning mode, etc.). , signals from various sensor groups (not shown) placed at various locations within the copying machine are input.

また、ホストCPU22からは、操作パネルへの表示出
力信号、写し込みCPU21への写し込みデータ(位置
データ、画像データ、等)、写し込みCPU21への画
像エリア割込要求信号、RDHを制御するCPUへの信
号が出力されるとともに、複写機内の各所に配置された
図示しない各種部材(スキャナ、現像装置、定着装置等
)のコントローラへの制御信号が出力される。
The host CPU 22 also sends a display output signal to the operation panel, imprint data (position data, image data, etc.) to the imprint CPU 21, an image area interrupt request signal to the imprint CPU 21, and a CPU that controls RDH. At the same time, control signals are output to controllers of various members (not shown) disposed at various locations within the copying machine (scanner, developing device, fixing device, etc.).

一方、写し込みCPTJ21には、上記ホス)CPU2
2からの信号の他、タイマICからのタイマ割込要求信
号、キャラクタROMからのフォントデータ、フォトセ
ンサ208からの基準位置データが入力する。
On the other hand, the imprint CPTJ21 has the CPU2
2, a timer interrupt request signal from the timer IC, font data from the character ROM, and reference position data from the photosensor 208 are input.

また、写し込みCPL121からは、上記ホストCPU
22への信号の他、ステッピングモータ204への駆動
制御信号、帯電チャージャ202への駆動制御信号、L
EDアレイ203のドライバへの点灯/消灯データが出
力される。
In addition, from the imprint CPL 121, the above host CPU
In addition to signals to 22, drive control signals to the stepping motor 204, drive control signals to the charger 202, and L
Lighting/lighting-off data is output to the driver of the ED array 203.

(CPUでの処理の説明) 以下、CPUでの処理に即して、実施例装置の作動を説
明する。
(Description of Processing in CPU) The operation of the embodiment device will be described below in accordance with the processing in CPU.

〔A〕概略の説明 (1)ホストCPU22のメインルーチン第5図は、ホ
ス)CPU22の処理のメインルーチンを示すフローチ
ャートである。フローチャートの説明の前に、オンエツ
ジという用語を定義する。オンエツジとは、スイッチ、
センサ、信号等の状態が、オフ状態からオン状態へ変化
したとき、この状態変化をオンエツジと定義する。
[A] General Description (1) Main Routine of the Host CPU 22 FIG. 5 is a flowchart showing the main routine of the processing of the host CPU 22. Before explaining the flowchart, let us define the term on-edge. On Edge is a switch,
When the state of a sensor, signal, etc. changes from an off state to an on state, this state change is defined as on-edge.

CPU22は、例えば電源の投入によって処理を開始し
、まず、各レジスタ・フラグ等を初期設定しくSl)、
また、各モードを初期化する(S3)。
The CPU 22 starts processing, for example, by turning on the power, and first initializes each register, flag, etc. (Sl),
Furthermore, each mode is initialized (S3).

ステップS5では、1ルーチンの時間を規定するルーチ
ンタイマをスタートさせる(S5)。
In step S5, a routine timer that defines the time for one routine is started (S5).

ステップS7で、CP U 21 (写り込ミJIIC
PU)等とのデータ通信を実行し、また、ステップS9
で、解析ルーチンを実行する。
In step S7, the CPU 21 (imprinted with JIIC
PU), etc., and also performs data communication with the
, run the analysis routine.

オペレーションパネル上の何らかのキーが押され(S 
11 ;YES) 、かつ、コピー動作中でない場合(
S13;No)は、キー人力処理ルーチンを実行する(
S15)。
Some key on the operation panel is pressed (S
11; YES), and if copying is not in progress (
S13; No) executes the key manual processing routine (
S15).

また、コピースタートフラグがセットされた場合(S1
7;YES)は、コピースタートルーチンを実行する(
S19)。
Also, if the copy start flag is set (S1
7; YES) executes the copy start routine (
S19).

ステップS21では、その他の処理(CP U 22で
実行される上記以外の処理・本発明の要旨に直接関連し
ないため詳細路)を実行する。
In step S21, other processing (processing other than the above executed by the CPU 22, detailed description because it is not directly related to the gist of the present invention) is executed.

その後、ステップ323でルーチンタイマの終了を待機
して、S5に戻り、処理を繰り返して実行する。
Thereafter, in step 323, the process waits for the routine timer to end, returns to S5, and repeats the process.

解析ルーチン(S9)、キー人力処理ルーチン(S 1
5) 、及び、コピースタートルーチン(S19)の詳
細は、後述する。
Analysis routine (S9), key manual processing routine (S1
5) and the details of the copy start routine (S19) will be described later.

(2)写し込みCPU21のメインルーチン第15図は
、写し込み制御CPU21の処理のメインルーチンを示
すフローチャートである。
(2) Main routine of the imprinting CPU 21 FIG. 15 is a flowchart showing the main routine of the imprinting control CPU 21.

CPU21は、例えば電源の投入によって処理を開始し
、まず、各レジスタ・フラグ等を初期設定する(Sto
ol>。
The CPU 21 starts processing, for example, by turning on the power, and first initializes each register, flag, etc. (Sto
ol>.

ステップ51003で、データの写し込みの有無、即ち
、データ写し込みモードであるか否かを判定し、写し込
みモードで無い場合(S 1003;No)は、写し込
み開始タイミングを制御する画像エリア割込を禁止して
(S1025)、51003に戻る。
In step 51003, it is determined whether or not data is to be imprinted, that is, whether or not the data imprinting mode is in effect. If the data imprinting mode is not in effect (S1003; No), the image area (S1025), and returns to 51003.

一方、ステップ51003で、データの写し込みモード
であると判定された場合(S1003;YES)は、ス
テップ51005に進む。
On the other hand, if it is determined in step 51003 that the mode is data imprinting mode (S1003; YES), the process advances to step 51005.

ステップ51005では、写し込みデータ及び写し込み
位置データの変更の有無を判定する。
In step 51005, it is determined whether or not the imprint data and imprint position data have been changed.

判定の結果、いづれのデータについても変更が無いとさ
れた場合(S1005;No)は、ステップ31007
〜’S 1015をジャンプして、ステップ5t(11
7へ進む。
As a result of the determination, if it is determined that there is no change in any data (S1005; No), step 31007
~'S Jump to 1015 and step 5t (11
Proceed to step 7.

一方、ステップ51005での判定の結果、写し込みデ
ータ及び/または写し込み位置データに変更が有るとさ
れた場合(S 1005 ;YES)は、該変更に対応
した処理を実行する。
On the other hand, if the result of the determination in step 51005 is that there is a change in the imprint data and/or imprint position data (S 1005 ; YES), processing corresponding to the change is executed.

即ち、まず、コピー動作の実行を禁止しく51007)
、ホストCPU22から送信される総ページ数データを
取り込む(3100,9)。次に、写し込み用の定型デ
ータのビットマツプ展開を実行しく31011)、さら
に、データ写し込みヘッド201の位置を制御するモー
タ制御ルーチンを実行する(51013)。その後、コ
ピー動作を許可する(St015)。
That is, first, the execution of the copy operation is prohibited (51007).
, takes in the total page number data transmitted from the host CPU 22 (3100, 9). Next, bitmap development of the standard data for imprinting is executed (31011), and a motor control routine for controlling the position of the data imprinting head 201 is executed (51013). After that, the copy operation is permitted (St015).

ステップ51017では、1枚毎のコピー動作処理を開
始するタイミングであるか否かを判定する。
In step 51017, it is determined whether it is the timing to start copying operation processing for each sheet.

コピー開始タイミングでない場合(51017;No)
は、ステップ51019〜51023をジャンプして、
ステップ51003に戻る。
If it is not time to start copying (51017; No)
jumps steps 51019 to 51023,
Return to step 51003.

一方、ステップ51017で、コピー開始タイミングで
あると判定された場合は、写し込み用の時間データ、及
び、ページ番号データ、の変化の有無を判定する(31
019)。その結果、写し込み用の時間データ、及び/
または、ページ番号データが変化している場合(S10
19;YES〉は、該変化したデータのビットマツプ展
開を実行する(S1021)。
On the other hand, if it is determined in step 51017 that it is time to start copying, it is determined whether or not there is a change in the time data for imprinting and the page number data (31017).
019). As a result, time data for imprinting and/or
Or, if the page number data has changed (S10
19; YES> executes bitmap expansion of the changed data (S1021).

その後、画像エリア割込の割込を許可しく5t023)
、ステップ51003へ戻る。
After that, enable image area interrupts (5t023)
, return to step 51003.

ビットマツプ展開ルーチン(31011)、モータ制御
ルーチン(S1013)、及び、時間・ページデータビ
ットマツプ展開ルーチン(S1021)の詳細は、後述
する。
Details of the bitmap development routine (31011), motor control routine (S1013), and time/page data bitmap development routine (S1021) will be described later.

(B)各サブルーチンステップの詳解 く1〉ホストCPU22のサブルーチン(1)解析ルー
チン(S9) 第6図は、ホストCPU22のメインルーチン内で呼ば
れる、解析ルーチン(S9)のフローチャートである。
(B) Detailed explanation of each subroutine step 1> Subroutine of the host CPU 22 (1) Analysis routine (S9) FIG. 6 is a flowchart of the analysis routine (S9) called within the main routine of the host CPU 22.

本ルーチンでは、前記通信処理(S7)で受信されたデ
ータに基づき、ページデータ写し込みモード時の各処理
を実行する。
In this routine, each process in the page data imprinting mode is executed based on the data received in the communication process (S7).

即ち、写し込みページ番号を管理するページカウントル
ーチン(SIOI)、!tページ数の人力を管理する総
ページモードチエツクルーチン(S103)、指定され
た枚数分のコピー終了時にページデータ写し込みモード
をリセットするページモードリセットチエツクルーチン
(S 105)、ページデータ写し込みモード時に於け
るJAM処理後のページデータを管理するページモード
JAM処理ルーチン(S107)、及び、その他の解析
処理を実行する。
That is, a page count routine (SIOI) that manages imprint page numbers, ! A total page mode check routine (S103) that manages the human power for the number of pages, a page mode reset check routine (S105) that resets the page data imprinting mode when the specified number of copies have been completed, and a page data imprinting mode. A page mode JAM processing routine (S107) for managing page data after the JAM processing and other analysis processing are executed.

ページカウントルーチン(S 101) 、mページモ
ードチエツクルーチン(S103)、及び、ページモー
ドリセットチエツクルーチン(S105)、の詳細を、
以下に述べる。
The details of the page count routine (S101), m page mode check routine (S103), and page mode reset check routine (S105) are as follows.
It is described below.

くページカウントルーチン(Slot)>第7図は、上
記解析ルーチン(S9)内で呼ばれるページカウントル
ーチンを示すフローチャートである。
Page Count Routine (Slot)> FIG. 7 is a flowchart showing the page count routine called in the analysis routine (S9).

本ページカウントルーチンでは、ページモード時の写し
込みページ番号の管理を行う。なお、流し撮りモード時
にホストcpU22側でページ番号の管理を行うことは
、データ転送スピードの面から無理が生じるため、写し
込み制御CPU21側で管理を行う(後述)。
This page count routine manages imprint page numbers in page mode. Note that managing page numbers on the host CPU 22 side during panning mode is unreasonable in terms of data transfer speed, so management is performed on the imprint control CPU 21 side (described later).

まず、ステップ5201で、ページLED3 Q4を判
定する。
First, in step 5201, page LED3 Q4 is determined.

判定の結果、ページLED304がONでない場合、即
ち、ページデータの写し込みモードでない場合(S20
1;No)は、本ルーチンを実行せず、リターンする。
As a result of the determination, if the page LED 304 is not ON, that is, if it is not the page data imprint mode (S20
1; No), this routine is not executed and returns.

一方、ステップ5201での判定の結果、ページLED
304がONである場合、即ち、ページデータの写し込
みモードである場合(5201;YES)は、ステップ
8203に進み、総ページ数が変化したか否か、換言す
れば、新たな総ベージ数の入力、或いは、RDH使用時
に於ける原稿枚数のカウント処理(後述)によって、総
ページ数が確定したか否かを判定する(S203)。
On the other hand, as a result of the determination in step 5201, the page LED
If 304 is ON, that is, if the mode is page data imprinting mode (5201; YES), the process advances to step 8203 and checks whether or not the total number of pages has changed, in other words, the new total number of pages. It is determined whether the total number of pages has been determined by input or by counting the number of originals when using RDH (described later) (S203).

ステップ5203での判定の結果、総ページ数が変化し
た場合(S203;YES)は、内部変数:PAGEに
、該変化した総ページ数を代入した後(5213)、ス
テップ5215に進み、PAGEデータの転送処理を実
行する。
As a result of the determination in step 5203, if the total number of pages has changed (S203; YES), after assigning the changed total number of pages to the internal variable: PAGE (5213), the process proceeds to step 5215, and the PAGE data is changed. Execute the transfer process.

一方、ステップ5203に於いて、総ページ数に変化無
しと判定された場合(S203;No)は、RDHによ
る流し撮りモードでなく(S205;No)、かつ、複
写紙がタイミングローラ13を通過したことを条件とし
て(S20T;YES)、かつ、そのときタイミングロ
ーラを通過したペーパーで、原稿台16上の原稿に対す
る設定枚数のコピーが終了することを条件(S209;
YES)として、内部変数: PAGEのデータをデク
リメントして(S211)、ステップS215に進み、
PAGEデータの転送処理を実行する。
On the other hand, if it is determined in step 5203 that there is no change in the total number of pages (S203; No), the RDH panning mode is not in effect (S205; No), and the copy paper has passed the timing roller 13. (S20T; YES), and the condition is that the set number of copies of the document on the document table 16 is completed with the paper that has passed the timing roller at that time (S209;
YES), the data of the internal variable PAGE is decremented (S211), and the process proceeds to step S215.
Executes PAGE data transfer processing.

なお、ステップ5205で流し撮りモードであると判定
された場合、または、ステップ5207で複写紙がタイ
ミングローラ13を通過していないと判定された場合、
または、ステップ5209でマルチコピーが終了してい
ないと判定された場合は、そのまま、解析ルーチンへ戻
る。
Note that if it is determined in step 5205 that the camera is in the panning mode, or if it is determined that the copy paper has not passed the timing roller 13 in step 5207,
Alternatively, if it is determined in step 5209 that the multi-copy is not completed, the process directly returns to the analysis routine.

く総ページモードチエツク (5103)>第8図は、
解析ルーチン(S9)内で呼ばれる総ページモードチエ
ツクルーチンを示すフローチャートである。
Total page mode check (5103) > Figure 8 shows
3 is a flowchart showing a total page mode check routine called within the analysis routine (S9).

まず、ステップ5301で、ページLED304を判定
する。
First, in step 5301, the page LED 304 is determined.

判定の結果、ページLED304がONでない場合、即
ち、ページデータの写し込みモードでない場合(S30
1 ;No) l;!、ステップ5317に進み、液晶
表示330(第14図参照)をOFFして、リターンす
る。
As a result of the determination, if the page LED 304 is not ON, that is, if it is not the page data imprint mode (S30
1 ;No) l;! , the process advances to step 5317, the liquid crystal display 330 (see FIG. 14) is turned off, and the process returns.

一方、ステップ5301での判定の結果、ページLED
304がONである場合、即ち、ページデータの写し込
みモードである場合(S301;YES)は、ステップ
5303に進み、総ページ入力済フラグを判定する。
On the other hand, as a result of the determination in step 5301, the page LED
If 304 is ON, that is, if it is the page data imprint mode (S301; YES), the process advances to step 5303, and the total page input flag is determined.

判定の結果、総ページ入力済フラグがセットされている
場合は、ステップ5317に進み、液晶表示330をO
FFして、リターンする。
As a result of the determination, if the total page input flag is set, the process advances to step 5317 and the liquid crystal display 330 is turned off.
FF and return.

一方、ステップ5303での判定の結果、総ページ入力
済フラグがリセットされている場合、即ち、総ページ数
が確定していない場合(S303;YES)は、ステッ
プ5305に進み、RDHを使用するモードであるか否
かを判定する。
On the other hand, as a result of the determination in step 5303, if the total page input completed flag is reset, that is, if the total number of pages has not been determined (S303; YES), the process advances to step 5305, and the mode using RDH is determined. Determine whether or not.

判定の結果、RDHを使用しないモードである場合(S
305;No)は、オペレータに総ページ数の入力を促
すべく、操作パネル上の液晶デイスプレィ330に、表
示パターンa(第14図参照)を表示しく5315)、
解析ルーチンにリターンする。
If the result of the determination is that the mode does not use RDH (S
305; No) displays display pattern a (see FIG. 14) on the liquid crystal display 330 on the operation panel to prompt the operator to input the total number of pages 5315);
Return to analysis routine.

ステップ5305での判定の結果、RDHを使用するモ
ードであるとされた場合(S305.YES)は、ステ
ップ5307に進み、RDHを流し撮りモードで使用す
る場合であるか否かを判定する。
As a result of the determination in step 5305, if it is determined that the mode is to use RDH (S305.YES), the process proceeds to step 5307, and it is determined whether or not the mode is to use RDH in panning mode.

判定の結果、流し撮りモードの場合<3307 ;YE
S) 、本実施例装置ではコピー動作に先立って原稿枚
数カウントのための原稿空送りが実行されるため、総ペ
ージ数の人力が不必要である。
Judgment result: <3307 in panning mode; YE
S) In the present embodiment, prior to the copying operation, the document blank feed is performed to count the number of document sheets, so that manual effort is not required to calculate the total number of pages.

したがって、この場合は、液晶デイスプレィ330に、
表示パターンb(第14図参照)を表示しく5309)
、解析ルーチンにリターンする。
Therefore, in this case, on the liquid crystal display 330,
Display pattern b (see Figure 14) (5309)
, return to the parsing routine.

一方、ステップ8307での判定の結果、RDHを流し
撮りモードで使用しないとされた場合、即ち、RDHを
ADFモードで使用する場合(S307;No)は、本
実施例の複写機ではページデータの写し込みを処理でき
ないため、ページデータの写し込みモードであることを
示すページLED304をOFFしてページ写し込みモ
ードを解除しく5311)、更に、ページ写し込みモー
ドが解除されたことをオペレータに知らせるべく、液晶
デイスプレィ330に、表示パターンd(第14図参照
)を表示して流し撮りモードの選択を指示しく5313
)、解析ルーチンにリターンする。
On the other hand, if the result of the determination in step 8307 is that the RDH is not to be used in the panning mode, that is, if the RDH is to be used in the ADF mode (S307; No), the copying machine of this embodiment Since imprinting cannot be processed, the page LED 304 indicating that the page data imprinting mode is turned off to cancel the page imprinting mode (5311), and furthermore, to notify the operator that the page imprinting mode has been canceled. 5313, display pattern d (see FIG. 14) is displayed on the liquid crystal display 330 to instruct selection of panning mode.
), return to the parsing routine.

なお、本実施例では、上記したように、流し撮りモード
時には必ず原稿の空送りを実行して原稿枚数をカウント
する制御を採用している。このため、ステップ5307
での判定を、「流し撮りモードであるか否か」、という
判定としているが、もし、「流し撮りモード」として、
「コピーに先立つ原稿の空送りにより原稿枚数のカウン
トを実行するモード」と、「原稿の空送りをせず、直ち
に、流し撮りによるコピーを実行するモード」との2つ
のモード設定を、選択的に行いたい場合には、原稿枚数
のカウントを実行するモードであるか否かを判断し、そ
うでない場合には、LED304をOFFして、原稿枚
数のカウントを行うモードの選択を指示する表示をする
ようにすればよい。ただし、その場合の基本概念は、上
記と固唾でよい。
Note that, as described above, in this embodiment, control is adopted in which, in the panning mode, the number of originals is always counted by performing blank feeding of the originals. Therefore, step 5307
The judgment in ``is in panning mode or not?'', but if it is in ``panning mode'',
You can select two mode settings: "a mode in which the number of originals is counted by skipping the originals before copying" and "a mode in which copying is performed immediately by panning without rapidly feeding the originals". If you want to count the number of original sheets, it is determined whether or not the mode is for counting the number of original sheets. If not, the LED 304 is turned off and a display instructing you to select a mode for counting the number of original sheets is displayed. Just do it. However, in that case, the basic concept is the same as above.

くページモードリセット (S105)>第9図は、解
析ルーチン(S9)内で呼ばれるページモードリセット
チエツクルーチンを示すフローチャートである。
Page Mode Reset (S105)> FIG. 9 is a flowchart showing the page mode reset check routine called in the analysis routine (S9).

本ルーチンは、ページモード下での一連のコピー動作の
終了に対応して、ページモードを解除する処理である。
This routine is a process for canceling page mode in response to the completion of a series of copy operations under page mode.

まず、ステップ5401で、ページLED304を判定
する。
First, in step 5401, the page LED 304 is determined.

判定の結果、ページLED304がONでない場合、即
ち、ページデータの写し込みモードでない場合(S40
1;No)は、本ルーチンを実行せず、リターンする。
As a result of the determination, if the page LED 304 is not ON, that is, if it is not the page data imprint mode (S40
1; No), this routine is not executed and returns.

一方、ステップ5401での判定の結果、ページLED
304がONである場合、即ち、ページデータの写し込
みモードである場合(S401;YES)は、更に、R
DHによる流し撮りモードであるか否かを判定する(S
403)。
On the other hand, as a result of the determination in step 5401, the page LED
When 304 is ON, that is, when the page data imprint mode is set (S401; YES), R
Determine whether it is panning mode using DH (S
403).

その結果、流し撮りモードである場合(S403 ;Y
ES)は、流し撮りによるマルチコピーの終了即ち総コ
ピー枚数(&!ページ数Xコピー枚数)の複写終了を条
件として(S405;YES)、また、流し撮りモード
でない場合(S403;NO)は、総ページ数入力済フ
ラグが立ってふり(S407 ;YES) 、かつ、内
部変数:PAGEがOであることを条件として(S40
9:YES) 、ステップ3411に進む。
As a result, if it is in panning mode (S403; Y
ES) is conditional on the completion of multi-copying by panning, that is, the completion of copying the total number of copies (&! Number of pages x number of copies) (S405; YES), and when the mode is not panning (S403; NO), The total number of pages input flag is set (S407; YES), and the internal variable: PAGE is O (S40
9: YES), proceed to step 3411.

先の条件を満たす場合、即ち、ページモード時に於いて
、設定された一連のコピー処理を終えたと認められる場
合は、ページモードをリセットするため、ページLED
304を0FFI、(S411)、また、オペレータに
ページモードがリセットされたことを示すため、操作パ
ネル上の液晶デイスプレィ330に、表示パターンe(
第14図参照)を表示する(S 413)。
If the above conditions are met, that is, if it is recognized that the set series of copying processes have been completed in page mode, the page LED will be turned on to reset the page mode.
304 to 0FFI (S411), and to indicate to the operator that the page mode has been reset, the display pattern e(
(see FIG. 14) is displayed (S413).

以上の処理の後、解析ルーチンへ戻る。After the above processing, the process returns to the analysis routine.

(2)キー人力処理ルーチン(S15)第10図は、ホ
ストCPU22のメインルーチン内でコールされる、キ
ー人力処理ルーチン(S15)のフローチャートである
(2) Key manual processing routine (S15) FIG. 10 is a flowchart of the key manual processing routine (S15) called within the main routine of the host CPU 22.

くフラグ管理〉 ステップ5501〜5523は、写し込みキー302の
ONに対応して、日付写し込みフラグ・ページ写し込み
フラグのセット・リセットを実行するステップである。
Flag Management Steps 5501 to 5523 are steps for setting and resetting the date imprint flag and page imprint flag in response to turning on the imprint key 302.

即ち、写し込みキー302のONエツジが検出された場
合(S 501 :YES) +t、日付L E D3
03、ページLED304を判定L(S503.550
5.5515)、その結果に応じて、日付写し込みフラ
グ・ページ写し込みフラグのセット・リセットを実行す
る。
That is, when the ON edge of the imprint key 302 is detected (S501: YES) +t, date L E D3
03, Determine page LED 304 L (S503.550
5.5515), the date imprint flag and page imprint flag are set or reset according to the results.

例、tば、日付LED303=OFF (S 503 
:YES)、 ページLED304=OFF (S50
5;YES)であれば、日付フラグをセットしく550
7)、ページフラグをリセットする(S509)。
For example, date LED 303 = OFF (S 503
: YES), page LED304=OFF (S50
5; If YES), set the date flag 550
7), reset the page flag (S509).

同様ニ、日付LED303=OFF (S 503 ;
YES)、 ページLED304=ON (S 505
;NO)であれば、日付フラグ、及び、ページフラグを
セットする(3511.5513)。
Similarly, date LED 303 = OFF (S 503;
YES), page LED304=ON (S505
; NO), set the date flag and page flag (3511.5513).

同様に、日付LED303=ON (S 503 ;N
o)、ページLED304=OFF (S515;YE
S)であれば、84寸フラグをリセットしく5517)
、ページフラグをセットする(S519)。
Similarly, date LED 303 = ON (S 503 ;N
o), page LED 304 = OFF (S515; YE
S), reset the 84 inch flag 5517)
, sets a page flag (S519).

また、日付LED303=ON (3503;NO)、
ページLED304=ON (S505 ;NO)であ
れば、日付フラグ、及び、ページフラグをリセットする
 (S 521.5523)。
Also, date LED 303 = ON (3503; NO),
If the page LED 304 is ON (S505; NO), the date flag and page flag are reset (S521.5523).

ステップ8525〜5531では、インサート−1−−
305のONエツジに対応して、該ONエツジ時に、イ
ンサートモードが設定されている場合(3527;YE
S)は、インサートフラグをリセットしく5529)、
一方、インサートモードが設定されていない場合(S5
27;No)は、インサートフラグをセットする(35
31)処理を実行する。
In steps 8525-5531, insert-1--
Corresponding to the ON edge of 305, if insert mode is set at the time of the ON edge (3527; YE
S) should reset the insert flag 5529),
On the other hand, if insert mode is not set (S5
27; No) sets the insert flag (35
31) Execute the process.

なお、インサートモードは、写し込みデータの付加情報
(例えば、ページ写し込みモード時の総ページ数)を設
定するためのモードであり、そのセレクト状態は、イン
サー)LED306によって表示される。
Note that the insert mode is a mode for setting additional information of the imprint data (for example, the total number of pages in the page imprint mode), and its selection state is displayed by the insert LED 306.

ステップ5533では、カラーセレクトキー312.3
13.314のONエツジの検出を判定する。
In step 5533, color select key 312.3
13. Determine whether the ON edge of 314 is detected.

その結果、カラーセレクトキー312.313.314
の何れかのキーのONエツジが検出された場合(353
3;YES)は、カラーフラグをセットする(S535
)。一方、いづれのカラーセレクトキーのONエツジも
検出されない場合(S533;No>は、カラーフラグ
をリセットする(S537)。
As a result, color select key 312.313.314
If the ON edge of any key is detected (353
3; YES) sets the color flag (S535
). On the other hand, if the ON edge of any color select key is not detected (S533; No>), the color flag is reset (S537).

なお、カラーフラグは、いづれかのカラーセレクトキー
が押されたことを示すフラグである。
Note that the color flag is a flag indicating that any color select key has been pressed.

ステップ3539では、テンキーユニット315内のキ
ーのONエツジの検出を判定する。
In step 3539, it is determined whether an ON edge of a key in the numeric keypad unit 315 has been detected.

その結果、テンキーフラグ)315内の何れかのキーの
ONエツジが検出された場合(S539;YES)は、
テンキーフラグをセットする(3541)。一方、テン
キーユニット315内のいづれのキーのONエツジも検
出されない場合(S539;No)は、テンキーフラグ
をリセットする(S543)。
As a result, if the ON edge of any key in the numeric keypad flag) 315 is detected (S539; YES),
Set the numeric keypad flag (3541). On the other hand, if the ON edge of any key in the numeric keypad unit 315 is not detected (S539; No), the numeric keypad flag is reset (S543).

なお、テンキーフラグは、テンキーユニット315内の
いづれかのキーが押されたことを示すフラグである。
Note that the numeric keypad flag is a flag indicating that any key in the numeric keypad unit 315 has been pressed.

〈モード制御〉 ステップ5545で日付フラグを判定する。<Mode control> In step 5545, the date flag is determined.

その結果、日付フラグが立っている場合(S545;Y
ES)は、写し込みユニット200が複写機に装着され
ていることを条件として(S547 ;YES) 、日
付LED303をONする(S549)。日付LED3
03は、日付データが写し込みデータとしてセレクトさ
れた(=日付写し込みモードが設定された)ことを示す
LED表示である。
As a result, if the date flag is set (S545; Y
ES) turns on the date LED 303 (S549) on the condition that the imprint unit 200 is installed in the copying machine (S547; YES). Date LED3
03 is an LED display indicating that date data has been selected as imprint data (=date imprint mode has been set).

一方、日付フラグが降りている場合(S545;No)
、又は、写し込みユニット200が装着されていない場
合(5547;No)は、日付LED303をOFFす
る(S551)。
On the other hand, if the date flag is off (S545; No)
Or, if the imprint unit 200 is not attached (5547; No), the date LED 303 is turned off (S551).

ステップ3553では、ページフラグを判定する。In step 3553, the page flag is determined.

その結果、ページフラグが立っている場合(S553;
YES)は、複写機に写し込みユニ7ト200が装着さ
れていることを条件として(3555;YES) 、5
557に進み、ページLED304を判定する。ページ
LED304は、ページ番号データが写し込みデータと
してセレクトされている(=ページ写し込みモードが設
定されている)ことを示すLEDである。
As a result, if the page flag is set (S553;
YES) is on the condition that the imprint unit 700 is installed in the copying machine (3555; YES), 5
The process advances to 557 and the page LED 304 is determined. The page LED 304 is an LED that indicates that page number data is selected as imprint data (=page imprint mode is set).

ステップ5557での判定の結果、ページLEDがOF
Fである場合(S 557 ; YE、S)は、ページ
写し込みモードを設定する。即ち、RDHを使用するか
否かを判定しく5559)、RDHを使用しない場合(
S559;No)は、総ページ数の人力が必要となるた
め、インサートフラグを立てる(5561)。また、総
ページデータが未確定であるため、総ページ数入力済フ
ラグをリセットする(S 563)。その後、ページL
ED304をONする(S565)、これにより、ペー
ジ写し込みモードが設定される。
As a result of the determination in step 5557, the page LED is OFF.
If it is F (S557; YE, S), the page imprint mode is set. In other words, if it is determined whether or not to use RDH (5559), if RDH is not used (
If S559; No) requires human effort for the total number of pages, an insert flag is set (5561). Furthermore, since the total page data is unconfirmed, the total page number input completed flag is reset (S563). Then page L
The ED 304 is turned on (S565), thereby setting the page imprint mode.

なお、ステップ5553でページフラグが降りている場
合(S553;No>、または、ステップ5555で写
し込みユニット200が装着されていない場合(355
5;No)は、ページデータの写し込みが無い(できな
い)場合であるため、ページLED304をOFFして
(S567)、ページ写し込みモードを解除する。
Note that if the page flag is off in step 5553 (S553; No>) or if the imprint unit 200 is not installed in step 5555 (355
5; No) means that page data cannot be imprinted (imprinted), so the page LED 304 is turned off (S567) and the page imprint mode is canceled.

ステップ8569では、インサートフラグを判定する。In step 8569, the insert flag is determined.

インサートフラグが立っている場合(S569;YES
)は、ページLED304を判定しく5573)、ON
であることを条件として(S573:No)、インサー
トLED306をONする(3579)。インサートL
ED306は、インサートモードのセレクト状態を示す
LEDである。
If the insert flag is set (S569; YES
) should determine the page LED 304 (5573), ON
Under the condition that it is (S573: No), the insert LED 306 is turned on (3579). insert L
ED306 is an LED that indicates the selected state of insert mode.

一方、ステップ5569でインサートフラグが降りてい
る場合(S569;No)、または、ページLED30
4がOFFである場合(8573;YES)は、インサ
ートLED306をOFFする(S575)。これによ
り、インサートモ−ドが解除される。
On the other hand, if the insert flag is off in step 5569 (S569; No), or the page LED 30
4 is OFF (8573; YES), the insert LED 306 is turned OFF (S575). This cancels the insert mode.

ステップ8583では、カラーフラグを判定する。In step 8583, the color flag is determined.

カラーフラグが立っている場合(S583;YES)は
、セレクトされたカラーに対応するカラー現像機が複写
機に装着されていることを条件として(3585;YE
S) 、変数:コピーカラーに、セレクトされたカラー
を設定・格納しく3587)、カラーセレクトLED3
16〜318を全て0FFt、た(3589)後、セレ
クトされたカラーに対応するカラーセレクト表示LED
をONする(S591)。
If the color flag is set (S583; YES), the color developing device corresponding to the selected color is installed in the copying machine (3585; YES).
S), Variable: Set and store the selected color in the copy color 3587), Color selection LED3
After setting all 16 to 318 to 0FFt (3589), the color selection display LED corresponding to the selected color
is turned on (S591).

ステップ5593では、テンキーフラグを判定する。In step 5593, the numeric keypad flag is determined.

テンキーフラグが立っている場合(3593;YES)
は、ステップ5595に進み、インサートモードが設定
されているか否かを判定する。
If the numeric keypad flag is set (3593; YES)
The process proceeds to step 5595 and determines whether insert mode is set.

インサートモードが設定されていない場合(S595;
No)は、コピー枚数の入力状態であるため、入力され
た数値をコピー枚数として設定・格納する(3603)
If insert mode is not set (S595;
No) is the input state for the number of copies, so the input value is set and stored as the number of copies (3603).
.

一方、ステップ5595に於いて、インサートモードで
あると判定された場合(S595.YES)は、ページ
番号データの写し込みモードであることを条件として(
S597 ;YES) 、入力された数値を総ページ数
として設定・格納しく5599)、また、総ページ数人
方法フラグを立てる(S601)。
On the other hand, if it is determined in step 5595 that the insert mode is selected (S595.YES), the page number data imprint mode is set (S595.YES).
S597; YES), the input numerical value is set and stored as the total number of pages (5599), and the total number of pages method flag is set (S601).

その後、総ページ数またはコピー枚数として入力・格納
された数値を、数値表示部319に表示する(S605
)。
Thereafter, the numerical value input and stored as the total number of pages or the number of copies is displayed on the numerical display section 319 (S605
).

くその他の処理〉 ステップ5607で、コピー動作を開始させるためのコ
ピー開始キー308のONエツジの検出を判定する(S
607>。
Other Processes> In step 5607, it is determined whether the ON edge of the copy start key 308 is detected to start the copy operation (S
607>.

コピー開始キー308のONエツジを検出した場合(S
607;YES)は、RDHによる原稿カウントが必要
であるか否かを決定する。
When the ON edge of the copy start key 308 is detected (S
607; YES) determines whether document counting by RDH is necessary.

即ち、まず、RDHを使用するか否か、使用する場合は
、RDHを流し撮りモードで使用するか否かを判定しく
S 609.3611)、その結果、RDHを流し撮り
モードで使用する場合(S609 ;YES、且つ、3
611;YES)は、RDHカウントフラグを立てる(
S613)。RDHカウントフラグは、RDHによる原
稿カウント処理を実行させるためのフラグである。
That is, first, it is necessary to determine whether or not to use RDH, and if so, whether or not to use RDH in panning mode (S 609.3611), and as a result, when using RDH in panning mode ( S609; YES, and 3
611; YES) sets the RDH count flag (
S613). The RDH count flag is a flag for executing document count processing by RDH.

一方、RDHを使用しない場合、または、RDHを使用
する場合であっても、ADFモードで使用する場合(S
609;No、または、5611;No)は、RD)(
カウントフラグを降ろす(S615)。
On the other hand, when not using RDH, or even when using RDH, when using in ADF mode (S
609;No or 5611;No) is RD)(
The count flag is lowered (S615).

その後、コピースタートフラグを立てる(3617)。Thereafter, a copy start flag is set (3617).

なお、コピースタートフラグは、後述するように、一連
のコピー動作を開始させるためのフラグであり、各回の
コピー動作の開始を制御するフラグではない。
Note that, as described later, the copy start flag is a flag for starting a series of copy operations, and is not a flag for controlling the start of each copy operation.

ステップ8619〜8623は、上記ステップ5501
−3617で言及されなかった任意の操作キーの入力に
対する処理を、−括して示すステップである。
Steps 8619 to 8623 are steps 5501
This is a step that collectively shows the processing for inputting any operation keys not mentioned in 3617.

即ち、その他のキーのONエツジが検出された場合(S
619 ;YES)は、インサートモードが設定されて
いないことを条件とし・て(S621;YES)、該検
出したキー人力に対応する処理を実行する(S623)
That is, if the ON edge of another key is detected (S
619; YES), the insert mode is not set (S621; YES), and the process corresponding to the detected key force is executed (S623).
.

以上の処理の後、メインルーチンに戻る。After the above processing, the process returns to the main routine.

(3)コピースタートルーチン(517)第11図は、
ホストCPU22のメインルーチン内で呼ばれる、コピ
ースタートルーチン(S19)のフローチャートである
。本ルーチンは、前述したように、コピースタートフラ
グのセットを条件として(S17;YES)コールされ
る。また、本ルーチンは、各回毎のコピー動作の開始を
管理するルーチンではなく、一連のコピー動作の開始を
管理するルーチンである。
(3) Copy start routine (517) Figure 11 shows:
It is a flowchart of a copy start routine (S19) called within the main routine of the host CPU 22. As described above, this routine is called on the condition that the copy start flag is set (S17; YES). Furthermore, this routine is not a routine that manages the start of each copy operation, but a routine that manages the start of a series of copy operations.

ステップ5701で、RDHカウントフラグを判定する
(3701)。
In step 5701, the RDH count flag is determined (3701).

RDHカウントフラグが立っている場合(S701;N
o)は、RDHカウントルーチンを実行する(S713
)。RDHカウントルーチンは、後述するように、コピ
ー動作に先立って原稿を空送りして、原稿枚数をカウン
トするためのルーチンである。
If the RDH count flag is set (S701; N
o) executes the RDH count routine (S713
). As will be described later, the RDH count routine is a routine for blank-feeding originals and counting the number of originals prior to a copying operation.

一方、ステップ5701で、RDHカウントフラグが降
りている場合(S701 ;YES)とは、RDHを使
用しない場合、または、RDHをADFモードで使用す
る場合、または、RDHカウントルーチンでの原稿枚数
カウント処理が終了している場合である。この場合は、
ステップ5703に進み、ページLED304を判定す
る。
On the other hand, if the RDH count flag is off in step 5701 (S701; YES), this means that RDH is not used, or RDH is used in ADF mode, or the number of originals is counted in the RDH count routine. is completed. in this case,
The process advances to step 5703 and the page LED 304 is determined.

ページ写し込みモードである場合(3703;YES)
は、総ページ数入力済フラグが立っていることを条件と
して(S705 ;YES) 、タイマカウント変数:
tl を0としく5707)、コピー中タイマ割込用タ
イマを作動させる(S709)。これにより、後述する
「コピー中タイマ割り込み処理」が起動されて、コピー
動作処理が開始される。また、コピースタートフラグを
降ろしく5711)、液晶デイスプレィ330(第14
図参照)をOFFする(5715)。
When in page imprint mode (3703; YES)
On the condition that the total page number input flag is set (S705; YES), the timer count variable:
tl is set to 0 (5707), and the copying timer interrupt timer is activated (S709). As a result, "copying timer interrupt processing", which will be described later, is activated and copy operation processing is started. In addition, the copy start flag is lowered (5711), and the liquid crystal display 330 (14th
(see figure) is turned off (5715).

また、5705に於いて、総ページ数入力済フラグが降
りている場合、換言すれば、RDHを使用しない場合ま
たはRDHをADFモードで使用する場合に於いて、ペ
ージデータの写し込みモードがセレクトされていながら
、総ページ数の入力が為されていない場合(S705;
No)は、操作パネル上の液晶デイスプレィ330に、
表示パターンC(第14図参照)を表示しく5717)
、また、コピースタートフラグを降ろして(S719)
、コピー開始を無効とする。
In addition, in 5705, if the total page number input flag is off, in other words, if RDH is not used or if RDH is used in ADF mode, the page data imprint mode is selected. However, the total number of pages has not been entered (S705;
No.) is displayed on the LCD display 330 on the operation panel.
Please display display pattern C (see Figure 14).5717)
, and also lowers the copy start flag (S719).
, disables copy start.

なお、ステップ5703に於いて、ページLED304
がOFFである場合は、ステップ5705をジャンプし
て、ステップ5707〜5715の処理を実行する。こ
の場合は、ページ写し込みの無いコピーが行われる。
Note that in step 5703, the page LED 304
is OFF, step 5705 is jumped and steps 5707 to 5715 are executed. In this case, copying without page imprinting is performed.

以上の処理の後、メインルーチンへ戻る。After the above processing, the process returns to the main routine.

<RDHカウントルーチン(3713)>第12図は、
上記コピースタートルーチン内で呼ばれるRDHカウン
トルーチン(S713)を示すフローチャートである。
<RDH count routine (3713)> Figure 12 shows
12 is a flowchart showing an RDH count routine (S713) called within the copy start routine.

ステップ5801で、RDHユニット400の原稿検出
レバー410、及び、検出センサ411によって、原稿
トレイ412上の一連の原稿の終了(=最終原稿の給紙
)が検出されたか否かを判定する(S801)。
In step 5801, it is determined whether the end of a series of originals on the original tray 412 (=feeding of the last original) is detected by the original detection lever 410 and the detection sensor 411 of the RDH unit 400 (S801) .

原稿の終了が検出されていない場合(S801;No)
は、原稿の給紙を行い(S 803)、原稿の後端通過
が、原稿検出センサ421によって検出されたことを条
件として(3805;YES)、原稿カウンタをインク
リメントする(S807)。
If the end of the original is not detected (S801; No)
feeds the original (S803), and increments the original counter (S807) on condition that the passage of the trailing edge of the original is detected by the original detection sensor 421 (3805; YES).

その後5801に戻り、全原稿のカウント終了まで、5
801〜5807の処理を繰り返す。
After that, it returns to 5801 and continues until the count of all manuscripts is completed.
Repeat the processes from 801 to 5807.

また、ステップ5801に於いて、原稿トレイ412上
の原稿の終了が検出された場合(S801 ;YES)
は、次原稿(原稿給紙が一巡した後の最初の原稿)の給
紙を停止しく5809)、RDHカウントフラグを降ろ
す(S811)。さらに、変数:総ページ数に、本ルー
チンによってカウントされた原稿カウンタの数値を代入
しく5813)、総ページ数入力済フラグを立てる(S
815)。その後、原稿カウンタを0にリセットする(
5817)。
Further, in step 5801, if the end of the original on the original tray 412 is detected (S801; YES)
5809), and lowers the RDH count flag (S811). Furthermore, the value of the manuscript counter counted by this routine is substituted for the variable: total number of pages (5813), and the total number of pages input flag is set (S
815). After that, reset the document counter to 0 (
5817).

以上の処理の後に、前記コピースタートルーチンへ戻る
After the above processing, the process returns to the copy start routine.

(4)コピー中タイマ割込ルーチン 第13図は、割込用タイマICからのタイマ割込要求信
号に応じて、ホス)CPU22でノ1−ドウエア割込処
理される、各種コピー動作制御用のコピー中タイマ割込
ルーチンのフローチャートである。なお、割込用タイマ
は、前記コピースタートルーチン内で、ステップ570
9によって起動される。
(4) Copy Timer Interrupt Routine FIG. 13 shows various copy operation control routines that are processed by the host CPU 22 in response to a timer interrupt request signal from the interrupt timer IC. 3 is a flowchart of a copying timer interrupt routine. Note that the interrupt timer is set at step 570 in the copy start routine.
It is activated by 9.

まず、割込用タイマtCのタイマ割込要求信号が、ホス
トCPU22に人力すると、CPU22は各レジスタを
退避しく不図示)、本ルーチンに制御を移す。
First, when a timer interrupt request signal from the interrupt timer tC is manually input to the host CPU 22, the CPU 22 saves each register (not shown) and transfers control to this routine.

次に、ステップ5901で、予め各種のコピー動作制御
タイミングに応じてタイマカウント値の規定されている
変数:’I’n(nは、各種のコピー動作に対応して1
2、・・・とインクリメントする)の値と、タイマカウ
ント変数二t1 のカウント値とが、一致するか否かを
判定する(S901)。
Next, in step 5901, a variable for which a timer count value is defined in advance according to various copy operation control timings: 'I'n (n is 1 corresponding to various copy operations)
2, . . . ) and the count value of the timer count variable 2t1 match (S901).

判定の結果、Tnと、タイマカウント変数:tlのカウ
ント値とが一致した場合(S901;YES)は、nに
対応するコピー動作制御信号を発生させ(S903)、
また、対応するコントローラへ送信する。なお、ステッ
プ5901・5903での処理によって送信される信号
の1つとして、データ写し込み開始タイミングを制御す
る画像エリア割込要求信号がある。該割込要求信号に応
じて、後述するように、CPU21に於いて、画像エリ
ア割込ルーチンが起動される。
As a result of the determination, if Tn and the count value of the timer count variable: tl match (S901; YES), a copy operation control signal corresponding to n is generated (S903),
Also, it is sent to the corresponding controller. Note that one of the signals transmitted by the processing in steps 5901 and 5903 is an image area interrupt request signal that controls the data imprinting start timing. In response to the interrupt request signal, an image area interrupt routine is activated in the CPU 21, as will be described later.

ステップ5905では、コピー動作終了タイミングのカ
ウント値の規定されている変数二TEの値と、タイマカ
ウント変数:tlのカウント値とが、一致するか否かを
判定する(S 905)。
In step 5905, it is determined whether the value of variable 2TE, which defines the count value of the copy operation end timing, and the count value of the timer count variable: tl match (S905).

両者が一致する場合(S905;YES)は、ステップ
5907に進み、一連のコピー動作が終了したか否かを
判定し、終了した場合(S907;YES)は、タイマ
を停止して(S909)、タイマ割込要求信号の発生を
停止させる。一方、一連のコピー動作が終了していない
場合(S907;No)は、次コピーのための制御処理
を実行させる(S911)。例えば、タイマカウント変
数:tlを、適正値にセットする。
If the two match (S905; YES), the process advances to step 5907, and it is determined whether or not the series of copy operations has been completed.If the series of copy operations has been completed (S907; YES), the timer is stopped (S909). Stops generation of timer interrupt request signals. On the other hand, if the series of copy operations has not been completed (S907; No), control processing for the next copy is executed (S911). For example, the timer count variable: tl is set to an appropriate value.

ステップ5915では、タイマカウント変数tlに、タ
イマ割込周期を規定しであるtoを加える。その後、退
避させていた各レジスタを復帰させ(不図示)、割込前
の処理に戻る。
In step 5915, to, which defines the timer interrupt period, is added to the timer count variable tl. Thereafter, the saved registers are restored (not shown) and the process returns to the one before the interrupt.

く2〉写し込みC!PU21のサブルーチン(1)ビッ
トマツプ展開ルーチン 第16図は、前記写し込みCPU21のメインルーチン
内で呼ばれるビットマツプ展開ルーチン(51011)
のフローチャートである。
2〉 Imprint C! Subroutine (1) Bitmap Development Routine of PU 21 FIG. 16 shows the bitmap development routine (51011) called within the main routine of the imprinting CPU 21.
This is a flowchart.

まず、写し込みデータの内容が変化したことを示すリク
エストフラグ(0:変化なし、1:変化あり、後述する
通信割込ルーチン参照)を判定しく5IIOI)、リク
エストフラグが降りている場合<51101;No)は
、そのままメインルーチンへ戻る。
First, check the request flag indicating that the content of the imprint data has changed (0: no change, 1: change, see the communication interrupt routine described below). If the request flag is off, <51101; No), the process returns to the main routine.

51101に於いて、−リクエストフラグが立っている
と判定された場合(S 1101 ;YES)は、写し
込みデータバッファにストアされているデータ(後述す
る通信割込ルーチン参照)を、1文字読出しく5110
3)、該文字データコードが、時間データを表すコード
であるか否か、ページデータを表すコードであるか否か
、を判定する(51105.51107)。
In step 51101, if it is determined that the -request flag is set (S1101; YES), read one character of the data stored in the imprint data buffer (see communication interrupt routine described later). 5110
3) Determine whether the character data code is a code representing time data or a code representing page data (51105.51107).

判定の結果、読出した文字データコードが、時間データ
を表すコードである場合(S1105゜YES)は、予
め定められた時間データ写し込み形式(例: ****
年**月**日;**時**分**秒、*にはそれぞれ
数字が入る)に従ってデータ展開を行い(S 1117
) 、展開されたデータを、ROM23等に記憶されて
いるフォントデータに基づいて、ビットマツプデータに
変換する(S1119)。さらに、時間・ページビット
マツプ展開ルーチン(後述)内で、時間データの更新を
行える様、時間データ記人位置を、内部変数:TPにス
トアする(S1121)。
As a result of the determination, if the read character data code is a code representing time data (S1105゜YES), a predetermined time data imprinting format (e.g. ****
Data is expanded according to year ** month ** day; ** hour ** minute ** second, where * is a number) (S 1117
), the expanded data is converted into bitmap data based on the font data stored in the ROM 23 or the like (S1119). Furthermore, the time data reporter position is stored in the internal variable: TP so that the time data can be updated in the time/page bitmap development routine (described later) (S1121).

また、読出した文字データコードが、ページデータを表
すコードである場合(51107;YES)は、時間デ
ータの場合と同様、予め定められたページデータ写し込
み形式(本実施例では、P。
Further, if the read character data code is a code representing page data (51107; YES), similarly to the case of time data, a predetermined page data imprint format (in this embodiment, P.

○O/XX、00はページ番号、××は総ページ数が入
る)に従ってデータ展開を行い(S 1111)、上記
と同様にして、ビットマツプデータに変換する(511
13)。さらに、時間・ページビットマツプ展開ルーチ
ン(後述)内で、ページ番号データの更新を行える様、
ページデータ記人位置を、内部変数:PPにストアする
(S t t t5)。
○O/XX, 00 is the page number, XX is the total number of pages), data is expanded (S1111), and converted to bitmap data in the same manner as above (511
13). Furthermore, in the time/page bitmap expansion routine (described later), page number data can be updated.
The page data reporter position is stored in the internal variable: PP (S t t t5).

なお、読出した文字データコードが、時間データを表す
コードでなく、かつ、ページデータを表すコードでもな
い場合(S1105;No、かつ、51107.NO>
は、該文字コードに対応する文字を、ROM23等に記
憶されているフォントデータに基づいて、ビットマツプ
データに変換する(51109)。
Note that if the read character data code is neither a code representing time data nor a code representing page data (S1105; No and 51107.NO>
converts the character corresponding to the character code into bitmap data based on the font data stored in the ROM 23 or the like (51109).

ステップ51123では、上記ステップで変換されたビ
ットマツプデータを写し込みデータエリアに格納する(
51123)。
In step 51123, the bitmap data converted in the above step is stored in the imprint data area (
51123).

その後、写し込みデータバッファ内の全データのビット
マツプ変換を終了したか否かを判定しく31125)、
終了していない場合(S l 125;No>は、ステ
ップ51103に戻り、同様にして、バッファ内の次の
1文字を読出し、ビットマツプ変換を続ける。
Thereafter, it is determined whether bitmap conversion of all data in the imprint data buffer has been completed (31125),
If not completed (S l 125; No>), the process returns to step 51103, reads the next character in the buffer, and continues bitmap conversion.

ステップ51125で、写し込みデータバッファ内の全
データのビットマツプ変換を終了したと判定された場合
(S 1125 ;YES)は、リクエストフラグを降
ろしく51127)、メインルーチンへ戻る。
If it is determined in step 51125 that the bitmap conversion of all data in the imprint data buffer has been completed (S1125; YES), the request flag is lowered (51127), and the process returns to the main routine.

なお、本実施例では、写し込みデータが、時間データ、
及び、ページ番号データの場合について説明しているが
、このフローチャートに基づいて処理を行えば、任意の
文字列を写し込むようにすることが可能である。ただし
、写し込み文字列データの入力処理ルーチンが用意され
ていることを条件とする。
Note that in this embodiment, the imprint data includes time data,
Although the case of page number data has been described, if processing is performed based on this flowchart, it is possible to imprint any character string. However, the condition is that an input processing routine for imprinted character string data is prepared.

(2)モータ制御ルーチン(S1013)第17図は、
前記写し込みCPU21のメインルーチン内で呼ばれる
モータ制御ルーチンのフローチャートである。
(2) Motor control routine (S1013) FIG.
3 is a flowchart of a motor control routine called within the main routine of the imprinting CPU 21. FIG.

まず、CNTR2とCNTR1とが等しいか否か、換言
すれば、写し込みヘッド201が、CPU22からの位
置データで規定される写し込み位置(目標位置)にある
か否かを判定する(S1201)。ここに、CNTR2
は、写し込みヘッド200の目標位置をステッピングモ
ータ204のステップ数に変換したステップカウンタで
あり、また、CNTRIは、写し込みヘッド201の現
在の位置に対応するステップカウンタである。
First, it is determined whether CNTR2 and CNTR1 are equal, in other words, whether or not the imprinting head 201 is at the imprinting position (target position) defined by the position data from the CPU 22 (S1201). Here, CNTR2
is a step counter that converts the target position of the imprinting head 200 into the number of steps of the stepping motor 204, and CNTRI is a step counter corresponding to the current position of the imprinting head 201.

ステップ51201で、CNTR2とCNTR1とが等
しい場合(S1201;YES)は、ステッピングモー
タ204の励磁を0FFL(S1203)、メインルー
チンへ戻る。
In step 51201, if CNTR2 and CNTR1 are equal (S1201; YES), the excitation of the stepping motor 204 is set to 0FFL (S1203), and the process returns to the main routine.

一方、ステップ51201で、CNTR2とCNTR1
が等しくない場合(S1201;No)は、ステップ5
1205に進み、ステッピングモータ204の励磁状態
を判定し、励磁をON状態として(S 12 (17>
 、ステップ51209へ進む。
Meanwhile, in step 51201, CNTR2 and CNTR1
are not equal (S1201; No), step 5
Proceeding to step 1205, the excitation state of the stepping motor 204 is determined, and the excitation is turned on (S 12 (17>
, proceed to step 51209.

ステ1プ51209では、CNTR2とCNTR1の大
小を比較する。その結果、 CNTR2<CNTR1 であれば(S1209.NO)、ステッピングモータの
励磁信号を、写し込みヘッド201を右にシフトさせる
ようにしく51211)、また、ステップカウンタ:C
NTR1をデクリメントする(51213>。
In step 51209, the magnitudes of CNTR2 and CNTR1 are compared. As a result, if CNTR2<CNTR1 (S1209.NO), the excitation signal of the stepping motor is set to shift the imprinting head 201 to the right (51211), and the step counter:C
Decrement NTR1 (51213>.

一方、ステップ51209で、 CNTR2>CNTR1 であれば(Sl 209 ;YES) 、ステッピング
モータの励磁信号を、写し込みヘッド201を左にシフ
トさせるようにしく31215)、また、ステップカウ
ンタ: CNTR1をインクリメントする(S121?
)。
On the other hand, in step 51209, if CNTR2>CNTR1 (Sl 209 ; YES), the excitation signal of the stepping motor is set to shift the imprinting head 201 to the left (31215), and the step counter: CNTR1 is incremented. (S121?
).

かかる処理を、CNTR2とCNTR1が一致するまで
繰り返すことにより、写し込みヘッド201の位置決め
が行われる。
The imprint head 201 is positioned by repeating this process until CNTR2 and CNTR1 match.

(3)時間・ページビットマツプ展開ルーチン第18図
は、前記写し込みCPU21のメインルーチン内で呼ば
れる時間・ページビットマツプj[ルーチン(SIQ2
1)のフローチャートである。
(3) Time/page bitmap development routine FIG. 18 shows the time/page bitmap j[routine (SIQ2
1) is a flowchart.

く時間データ〉 ステップ51301では、写し込みデータとしての時間
データの変化の有無を判定する。
Time Data> In step 51301, it is determined whether or not there is a change in time data as imprint data.

その結果、時間データの変化がある場合(Si2O3;
YES)は、タイマICから時間データを取り込み(5
1303)、該時間データを文字列データに展開する(
S1305)。さらに、文字列に展開された時間データ
をビットマツプデータに変換しく51307)、内部変
数:TPから時間データ記人位置を読み出しく5130
9)、写し込みデータエリアの書き換えを行う(313
11)。
As a result, if there is a change in time data (Si2O3;
YES) imports time data from the timer IC (5
1303), expand the time data into character string data (
S1305). Furthermore, convert the time data expanded into a character string to bitmap data (51307), and read the time data reporter position from the internal variable TP (5130).
9) Rewrite the imprint data area (313
11).

くページデータ〉 ステップ51313では、写し込みデータとしてのペー
ジデータの変化の有無を判定する。
Page Data> In step 51313, it is determined whether there is a change in the page data as imprint data.

その結果、ページデータの変化がある場合(Sl 31
3 ;YES)は、ステップ51315に進み、まず、
ステップ51315〜51323での処理によって、変
数二ベージ数へのデータの代入を実行する。
As a result, if there is a change in page data (Sl 31
3; YES), proceed to step 51315, and first,
The processing in steps 51315 to 51323 executes the assignment of data to the variable bibage number.

即ち、モードが流し撮りモードであるか否かを判定し、
流し撮りモードでない場合(S 1315;No)は、
ページ数データを取り込む(31317:3215参照
)。また、流し撮りモードである場合(S 1315 
;YES)は、さらに、流し撮りの1巡毎の開始である
か否かを判定しく51319)、流し撮り開始である場
合(31319;YES)は、変数:ページ数に、総ペ
ージ数を代入しく51321 :51009参照)、流
し撮り開始でない場合(S1319;No)は、変数:
ページ数のデータをデクリメントする(S1323)。
That is, it is determined whether the mode is panning mode,
If it is not panning mode (S1315; No),
Import page number data (see 31317:3215). Also, if the camera is in panning mode (S1315
; YES), it is further determined whether it is the start of each round of panning 51319), and if it is the start of panning (31319; YES), the total number of pages is assigned to the variable: number of pages. 51321:51009), if panning has not started (S1319; No), the variable:
The page number data is decremented (S1323).

ステップ31325では、上記のようにして取り込んだ
ページ数データを文字列に展開し、さらに、該文字列に
展開されたページ数データをビットマツプデータに変換
した後(S1327)、内部変数:PPからページ番号
データ記人位置を読み出しく51329)、写し込みデ
ータエリアの書き換えを行う(S 1331)。
In step 31325, the page number data imported as described above is expanded into a character string, and after converting the page number data expanded into the character string into bitmap data (S1327), from the internal variable: PP. The page number data and writer position are read out (51329), and the imprint data area is rewritten (S1331).

以上の処理の後、メインルーチンへ戻る。After the above processing, the process returns to the main routine.

なお、時間データに関しては、一連のコピー動作内での
変化をさせないように制御することも可能である。
Note that it is also possible to control the time data so that it does not change within a series of copy operations.

(4)画像エリア割込ルーチン 第19図は、コピー中タイマ割込ルーチン(第13図)
内で発生される割込要求信号に応じて、写し込みCPt
J21が実行する、割込サービスルーチンである。
(4) Image area interrupt routine Figure 19 shows the copying timer interrupt routine (Figure 13)
In response to an interrupt request signal generated within the imprint CPt
This is an interrupt service routine executed by J21.

CPU21は、CPU22からの割込要求信号を受信す
ると、実行中であった処理を中断して、処理を本割込サ
ービスルーチンに移す。
When the CPU 21 receives the interrupt request signal from the CPU 22, it interrupts the process that is being executed and moves the process to the main interrupt service routine.

まず、各レジスタを退避する(31401)。First, each register is saved (31401).

本割込処理終了後に、前記中断した処理を再開するため
である。
This is to restart the interrupted process after the main interrupt process is finished.

次に、写し込みへラド201のデータ写し込み用LED
アレイ203のLED素子を、全て消灯する(S140
3)。
Next, use the LED for data imprinting on the imprinting RAD 201.
All LED elements of the array 203 are turned off (S140
3).

また、タイマICによって制御されるタイマT1をスタ
ートする(S1405)。タイマT1の設定値t1とし
ては、感光体ドラム2が、画像先端位置からデータ写し
込み開始位置まで回転するのに要する時間がセットされ
ている。
Also, timer T1 controlled by the timer IC is started (S1405). The set value t1 of the timer T1 is set to the time required for the photosensitive drum 2 to rotate from the image leading edge position to the data imprinting start position.

なおタイマICは、タイマカウント終了時に、CPU2
1に対してハードウェア割込要求信号を発生する。また
、該タイマ割込要求信号を受信したCPU21は、後述
するタイマ割込ルーチンを起動する。
Note that the timer IC controls CPU2 when the timer count ends.
1, generates a hardware interrupt request signal. Further, the CPU 21 that has received the timer interrupt request signal starts a timer interrupt routine to be described later.

上記処理終了後、各レジスタを復帰させて(81407
)、本ルーチンを終了し、中断時の処理にリターンする
After completing the above processing, restore each register (81407
), this routine ends and returns to the process at the time of interruption.

(5)タイマ割込ルーチン 第20図は、タイマ割込ルーチンを示すフローチャート
である。
(5) Timer interrupt routine FIG. 20 is a flowchart showing the timer interrupt routine.

タイマ割込ルーチンは、上記画像エリア割込ルーチン内
でスタートするタイマTI、または、本タイマ割込ルー
チン内でスタートするタイマT2・T3・T4の終了時
に、タイマICが発生する割込要求信号に応じて、CP
U21で実行される割込サービスルーチンテアル。
The timer interrupt routine responds to the interrupt request signal generated by the timer IC at the end of the timer TI that starts within the above image area interrupt routine or the timers T2, T3, and T4 that start within this timer interrupt routine. Accordingly, CP
Interrupt service routine executed in U21.

即ち、CPU21は、タイマICからの割込要求信号を
受信すると、実行中であった処理を中断して、処理を本
割込サービスルーチンに移す。
That is, when the CPU 21 receives the interrupt request signal from the timer IC, it interrupts the process that is being executed and moves the process to the main interrupt service routine.

まず、各レジスタを退避する(S l 501)。First, each register is saved (Sl 501).

本割込処理終了後に、前記中断した処理を再開するため
である。
This is to restart the interrupted process after the main interrupt process is finished.

次に、写し込みデータの出力(シフトレジスタへの出力
)が終了しているか否かを判定する(S1503)。
Next, it is determined whether the output of imprint data (output to the shift register) has been completed (S1503).

く立ち上がり時〉 ステップ51503で、データ出力未終了であると判定
された場合は、写し込みヘッド201の帯電チャージャ
202がOFF状態である(Sl505:NO=タイマ
TIの終了による割込である場合)ことを条件として、
ステップ51515に進み、帯電チャージャー202を
ONL、また、データ写し込み用LEDアレイ203の
全LED素子を点灯する(31517)。さらに、タイ
マT2をスタートする(S1519)。これにより、タ
イマT2が終了するまで、LEDアレイ203による除
電が実行される。タイマT2の設定値t2は、帯電チャ
ージャ202の立ち上がり時の不安定部へのデータ書込
みを避けるに充分な値にセットされている(第21図参
照)。
If it is determined in step 51503 that the data output has not been completed, the charger 202 of the imprint head 201 is in the OFF state (Sl505: NO=if the interrupt is due to the end of timer TI) Provided that,
Proceeding to step 51515, the charging charger 202 is turned on and all LED elements of the data imprinting LED array 203 are turned on (31517). Furthermore, timer T2 is started (S1519). As a result, charge removal by the LED array 203 is performed until the timer T2 ends. The set value t2 of the timer T2 is set to a value sufficient to avoid writing data into the unstable portion when the charger 202 starts up (see FIG. 21).

その後、第1ライン分の写し込みデータ(各LED素子
の1ドツト長の点消灯制御データ)を、写し込みへラド
201内のシフトレジスタへ出力する(S1521)。
Thereafter, the first line of imprint data (one-dot length ON/OFF control data for each LED element) is output to the shift register in the imprint radar 201 (S1521).

上記処理終了後、各レジスタを復帰させて(Sl 53
5) 、本ルーチンを終了し、中断時の処理にリターン
する。
After the above processing is completed, each register is restored (Sl 53
5) Terminate this routine and return to the process at the time of interruption.

くデータ写し込み〉 次に、タイマT2の終了で本ルーチンが実行される場合
(即ち、帯電チャージャ202の立ち上がり時の不安定
部の除電が終了した場合)には、ステップ51503・
51505から、ステップ51507に処理が移り、シ
フトレジスタに対して、ラッチパルスが出力される。こ
れにより、シフトレジスタからLEDアレイ203のド
ライバへ、0N10FF制御信号が出力される。
Next, when this routine is executed when the timer T2 ends (that is, when the static electricity removal from the unstable part at the time of startup of the charger 202 is completed), step 51503.
From step 51505, the process moves to step 51507, where a latch pulse is output to the shift register. As a result, the 0N10FF control signal is output from the shift register to the driver of the LED array 203.

また、タイマT3をスタートする(S 1509)。タ
イマT3の設定値t3は、ドツトマトリクスフォントの
1ドツト長に対応する時間がセットされている。即ち、
タイマT3の終了によって、次ラインのタイマ割込が発
生する。
Also, timer T3 is started (S1509). The set value t3 of the timer T3 is set to a time corresponding to the length of one dot of the dot matrix font. That is,
Upon completion of timer T3, a timer interrupt for the next line occurs.

ステップ31511では、フォントデータの最終ライン
まで、シフトレジスタへの出力が終了しているか否かを
判定する。
In step 31511, it is determined whether the output to the shift register has been completed up to the last line of font data.

データ出力末林了時(S1511;No)は、次の1ラ
イン分のフォントデータをシフトレジスタへ出力して(
S1513)、ステップ51535へ進み、各レジスタ
を復帰させて、本ルーチンを終了し、中断時の処理にリ
ターンする。
When the data output ends (S1511; No), the next line of font data is output to the shift register (
Step S1513), proceeds to step 51535, restores each register, ends this routine, and returns to the process at the time of interruption.

次に、タイマT3の終了で本ルーチンが実行される場合
(即ち、データ写し込みを継続して実行中の場合)には
、ステップ51503・51505・51507・31
509・51511・51513・31535の処理が
、繰り返して実行される。
Next, when this routine is executed at the end of timer T3 (that is, when data imprinting is being executed continuously), steps 51503, 51505, 51507, 31
Processes 509, 51511, 51513, and 31535 are repeatedly executed.

ステップ51511の判定で、データ出力が終了してい
るとされた場合は、データが無いのであるから、そのま
ま、ステップ31535へ進み、各レジスタを復帰させ
て、本ルーチンを終了し、中断時の処理にリターンする
If it is determined in step 51511 that the data output has been completed, there is no data, so proceed directly to step 31535, restore each register, end this routine, and process the interruption. Return to.

〈立ち下がり時〉 ステップ51503で、データ出力が終了していると判
定された場合は、写し込みヘッド201の帯電チャージ
ャ202がON状態である(St523;YES=最柊
のタイマT3の終了による割込である場合)ことを条件
として、ステップ51525に進み、データ写し込み用
LEDアレイ203の全LED素子を点灯し、また、帯
電チャージャ202をOFFする(S1527)。さら
に、タイマT4をスタートする。これにより、タイマT
4が終了するまで、LEDアレイ203による除電が実
行される。タイマT4の設定値t4は、帯電チャージャ
202の立ち下がり時の不安定部の除電を実行するに充
分な値にセットされている(第21図参照)。
<At falling edge> If it is determined in step 51503 that the data output has ended, the charger 202 of the imprint head 201 is in the ON state (St523; YES = interruption due to the end of Saihiragi's timer T3). If the data imprinting LED array 203 is included), the process advances to step 51525, where all the LED elements of the data imprinting LED array 203 are turned on, and the charger 202 is turned off (S1527). Furthermore, timer T4 is started. As a result, timer T
The charge elimination by the LED array 203 is executed until the end of 4. The set value t4 of the timer T4 is set to a value sufficient to eliminate static electricity from the unstable portion when the charger 202 falls (see FIG. 21).

上記処理終了後、各レジスタを復帰させて(S1535
)、本ルーチンを終了し、中断時の処理にリターンする
After the above processing is completed, each register is restored (S1535
), this routine ends and returns to the process at the time of interruption.

次に、タイマT4の終了で本ルーチンが実行される場合
(即ち、帯電チャージャ202の立ち下がり時の不安定
部の除電が終了した場合)には、ステップ51503・
51523から、ステップ51531に処理が移り、全
LED素子が消灯され、また、タイマカウントが停止さ
れ(S l 533)、タイマ割込みがマスクされる。
Next, when this routine is executed at the end of timer T4 (that is, when the charge removal from the unstable part at the time of falling of the charger 202 is completed), step 51503
From step 51523, the process moves to step 51531, where all LED elements are turned off, timer counting is stopped (S l 533), and timer interrupts are masked.

以上のようにして、タイマ割込処理が実行される。The timer interrupt process is executed as described above.

なお、各タイマT2・T3・T4は、タイマT1と同様
に、タイマICにより制御されるものである。
Note that each of the timers T2, T3, and T4 is controlled by a timer IC similarly to the timer T1.

(6)通信割込ルーチン 第22図は、ホストCPU22の通信ルーチン(S7)
で送出されるデータの通信割込要求信号に応じて、写し
込みCPU21が実行する、割込サービスルーチンであ
る。
(6) Communication interrupt routine FIG. 22 shows the communication routine (S7) of the host CPU 22.
This is an interrupt service routine that is executed by the imprinting CPU 21 in response to a data communication interrupt request signal sent by the CPU 21.

写し込み制御CPU21は、通信割込要求信号を受ける
と、それまで実行していた処理を中断して、本ルーチン
に制御を移す。
When the imprint control CPU 21 receives the communication interrupt request signal, it interrupts the processing that has been executed up to that point and transfers control to this routine.

まず割込処理終了後に、割込前の処理に戻った時支障の
ないよう、各レジスタを退避する(S1601)。
First, after the interrupt processing is completed, each register is saved so that there is no problem when returning to the processing before the interrupt (S1601).

次に、データ通信中の通信エラーが発生したか否かを判
定しく31603)、通信エラーが発生した場合(31
603;No)は、51621に進み、エラー処理を行
う。
Next, it is determined whether a communication error has occurred during data communication (31603), and if a communication error has occurred (31603),
603; No), the process advances to 51621 and error processing is performed.

一方、通信エラーが発生していない場合(S1603;
YES)は、送られてきたデータが、写し込みデータで
あるか否かを判定する(S 1605)。
On the other hand, if no communication error has occurred (S1603;
If YES), it is determined whether the sent data is imprint data (S1605).

その結果、受信したデータが写し込みデータである場合
(S1605;YES)は、°該データを写し込みデー
タバッファにストアする(S 1607)。また、写し
込みデータの最終データを受信した場合(51609、
YES)には、写し込みデータが変化したことを示すリ
クエストフラグを立てる(31611)。
As a result, if the received data is imprint data (S1605; YES), the data is stored in the imprint data buffer (S1607). Also, when the final data of the imprint data is received (51609,
If YES), a request flag indicating that the imprint data has changed is set (31611).

一方、ステップ51605で、データが写し込みデータ
でないと判定された場合(S1605;No)は、ステ
ップ31613に進み、該データが、写し込み位置を示
すデータであるか否かを判定する(31613)。
On the other hand, if it is determined in step 51605 that the data is not imprint data (S1605; No), the process advances to step 31613, and it is determined whether the data is data indicating the imprint position (31613). .

判定の結果、受信したデータが、写し込み位冒を示すデ
ータである場合(31613;YES)は、該受信した
位置データを、写し込みヘッド201の位置決めを制御
するためのステッピングモータ204のステップ数に変
換しく31615)、該変換したデータを、ステップカ
ウンタCNTR2にストアする(31617)。
As a result of the determination, if the received data is data indicating the imprint position (31613; YES), the received position data is used as the number of steps of the stepping motor 204 for controlling the positioning of the imprint head 201. 31615) and stores the converted data in the step counter CNTR2 (31617).

なお、CPU22から送信されたデータが、写し込みデ
ータでも、写し込み位置データでもない場合(S160
5;NO、かつ、51613.NO)は、ステップ51
619に進み、その他のデータの処理を行う。
Note that if the data sent from the CPU 22 is neither imprint data nor imprint position data (S160
5; NO, and 51613. NO), step 51
The process advances to step 619 to process other data.

また、上記に於いて、写し込みデータは、ホス)CPU
22側に於いて、時間・ページデータの写し込みの有無
をコード化し、シリアルデータとして送出しているもの
とする。
In addition, in the above, the imprint data is stored in the host CPU
It is assumed that on the 22 side, the presence or absence of imprinting of time and page data is encoded and sent as serial data.

以上述べたようにして、本複写機の制#CPUでの処理
が実行される。
As described above, the processing in the CPU of this copying machine is executed.

なお、本実施例では、RDHを装着している複写機に於
いて、RDHを利用して原稿枚数のカウントを行ったが
、原稿枚数のカウントは、一般に紙幣の計数に用いられ
ているような、他の手段を利用してもよい。
In this example, the number of originals was counted using the RDH in a copying machine equipped with the RDH. , other means may also be used.

〈以下、余白〉 なお、本実施例においては、ページデータ写し込みモー
ドが選択されたときに流し撮りモードが設定されていな
いと、ページデータ写し込みモードを解除するようにし
たが、例えば、ページデータ写し込みモードの選択後、
所定時間の経過またはコピー開始キーや枚数入力のため
のテンキー等の所定のキーが操作されるまでに流し撮り
モードが設定されないときには、ページデータ写し込み
モードを解除するようにしてもよい。
(Hereinafter referred to as margins) In this embodiment, if the page data imprint mode is selected and the panning mode is not set, the page data imprint mode is canceled. After selecting the data imprint mode,
If the panning mode is not set until a predetermined time has elapsed or a predetermined key such as a copy start key or a numeric keypad for inputting the number of copies is operated, the page data imprinting mode may be canceled.

また、本実施例では、流し撮りモード時にのみ原稿の枚
数を計数するようにしたため、流し撮りモードが設定さ
れていないときにはページデータ写し込みモードを解除
するようにしたが、原稿枚数の計数のみを行う計数モー
ドを別に設け、ADFモード時においてもこのモードを
選択できるようにしてもよく、こうすることにより、A
DFモードにおいても、原稿枚数の計数及びページデー
タ写し込みモードの設定が可能になる。
In addition, in this embodiment, the number of original sheets is counted only in the panning mode, so when the panning mode is not set, the page data imprint mode is canceled, but only the number of original sheets is counted. A separate counting mode may be provided, and this mode may be selected even in the ADF mode.
Even in the DF mode, it is possible to count the number of original sheets and set the page data imprint mode.

〔発明の効果〕〔Effect of the invention〕

以上、本発明は、原稿搬送手段とデータ写し込み手段と
を有し、ページデータ写し込みモード、原稿枚数を計数
する計数モード、の設定が可能であり、さらに、計数結
果に基づいてページデータをセットするデータ管理手段
を有し、ページデータ写し込みモードを設定した後、所
定の時間内または所定のキースイッチ人力までに、空送
り計数モードを設定しないときは、ページデータ写し込
みモードを解除する複写機である。
As described above, the present invention has a document conveying means and a data imprinting means, and is capable of setting a page data imprinting mode and a counting mode for counting the number of original sheets, and furthermore, it is possible to set page data imprinting mode and counting mode for counting the number of original sheets. After setting the page data imprint mode, if the blank feed counting mode is not set within a predetermined time or by a predetermined key switch manually, the page data imprint mode is canceled. It's a copy machine.

実施例に述べたように、写し込むべきページデータが確
定しないことによるミスコピーの発生が防止される。
As described in the embodiment, the occurrence of copy mistakes due to the page data to be imprinted being not determined is prevented.

〈以下、余白〉(Below, margin)

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

第1図は実施例にかかる複写機の構成を模式的に示す説
明図、第2図は上記複写機に搭載される写し込みヘッド
の移動機構の説明図、第3図は上記複写機の操作パネル
上の配置説明図、第4図は上記複写機の制御回路の構成
を説明するブロック図、第5図はホス)CPtJ22の
処理のメインルーチンを示すフローチャート、第6図は
ホストCPU22のメインルーチン内で呼ばれる解析ル
ーチン(S9)のフローチャート、第7図は解析ルーチ
ン内で呼ばれるページカウントルーチンを示すフローチ
ャート、第8図は解析ルーチン内で呼ばれる総ページモ
ードチエツクルーチンを示す70−チャート、第9図は
解析ルーチン内で呼ばれるページモードリセットチエツ
クルーチンを示すフローチャート、第10図はホストC
PU22のメインルーチン内でコールされるキー人力処
理ルーチン(515)のフローチャート、第11図はホ
ストCPU22のメインルーチン内で呼ばれるコピース
タートルーチン(519)のフローチャート、第12図
はコピースタートルーチン内で呼ばれるRDHカウント
ルーチンを示すフローチャート、第13図は割込用タイ
マICからのタイマ割込要求信号に応じてホス)CPU
22でハードウェア割込処理される各種コピー動作制御
用のコピー中タイマ割込ルーチンのフローチャート、第
14図は操作パネル上の液晶表示パターンの説明図、第
15図は写し込み制御CPU21の処理のメインルーチ
ンを示すフローチャート、第16図は写し込みCPU2
1のメインルーチン内で呼ばれるビットマツプ展開ルー
チン(SIOII)のフローチャート、第17図は写し
込みCPU21のメインルーチン内で呼ばれるモータ制
御ルーチンのフローチャート、第18図は写し込みCP
U21のメインルーチン内で呼ばれる時間・ページピッ
トマツプ展開ルーチン(51021)のフローチャート
、第19図はコピー924フ割込ルーチン内で発生され
る割込要求信号に応じて写し込みCPtJ21が実行す
る割込サービスルーチンのフローチャート、第20図は
タイマ割込ルーチンを示すフローチャート、第21図は
タイマ割り込み周期と帯電状態との関係の説明図、第2
2図は、ホストCPU22の通信ルーチン(S7)で送
出されるデータの通信割込要求信号に応じて写し込みC
PU21が実行する割込サービスルーチンのフローチャ
ートである。 21・・写し込みCPU  22・・ホストCPU30
2・・写し込みキー 200・・データ写し込みユニット 201・・データ写し込みヘッド 400・・RDH
FIG. 1 is an explanatory diagram schematically showing the configuration of the copying machine according to the embodiment, FIG. 2 is an explanatory diagram of the moving mechanism of the imprint head installed in the copying machine, and FIG. 3 is the operation of the copying machine. 4 is a block diagram illustrating the configuration of the control circuit of the copier, FIG. 5 is a flowchart illustrating the main routine of the host CPU 22, and FIG. 6 is the main routine of the host CPU 22. FIG. 7 is a flowchart showing the page count routine called within the analysis routine; FIG. 8 is a 70-chart showing the total page mode check routine called within the analysis routine; FIG. 10 is a flowchart showing the page mode reset check routine called within the analysis routine.
A flowchart of the key manual processing routine (515) called within the main routine of the PU 22, FIG. 11 is a flowchart of the copy start routine (519) called within the main routine of the host CPU 22, and FIG. 12 is a flowchart of the copy start routine (519) called within the main routine of the host CPU 22. A flowchart showing the RDH count routine, FIG. 13 is a flowchart showing the RDH count routine.
FIG. 14 is an explanatory diagram of the liquid crystal display pattern on the operation panel, and FIG. Flowchart showing the main routine, Figure 16 is the imprinting CPU2
17 is a flowchart of the motor control routine called in the main routine of the imprinting CPU 21, and FIG. 18 is the flowchart of the motor control routine called in the main routine of the imprinting CPU 21.
A flowchart of the time/page pit map development routine (51021) called in the main routine of U21, and FIG. Flowchart of the service routine, FIG. 20 is a flowchart showing the timer interrupt routine, FIG. 21 is an explanatory diagram of the relationship between the timer interrupt period and the charging state, and FIG.
FIG. 2 shows the imprint C in response to the data communication interrupt request signal sent in the communication routine (S7) of the host CPU 22.
It is a flowchart of the interruption service routine which PU21 executes. 21...imprint CPU 22...host CPU30
2. Imprinting key 200...Data imprinting unit 201...Data imprinting head 400...RDH

Claims (1)

【特許請求の範囲】[Claims] (1)原稿台上への原稿給紙及び原稿台上からの原稿回
収を実行する原稿搬送手段、原稿画像に重ねてデータを
写し込むデータ写し込み手段、を有する複写機であって
、 原稿画像に重ねてページ番号を写し込むページデータ写
し込みモード、を設定するページモード設定手段、 原稿枚数を計数する計数モード、を設定する計数モード
設定手段、 計数結果に基づいて、写し込み用のページデータを演算
してセットするデータ管理手段、 ページデータ写し込みモードが選択され、計数モードが
設定されないときは、ページデータ写し込みモードを解
除するページモード解除手段、を有するデータ写し込み
機能付複写機。
(1) A copying machine having a document conveying means for feeding the document onto the document table and collecting the document from the document table, and a data imprinting means for imprinting data over the document image, the copying machine having a document image. A page mode setting means for setting a page data imprinting mode for imprinting a page number on top of a page; a counting mode setting means for setting a counting mode for counting the number of original sheets; and a page data imprinting mode for imprinting based on the counting result. A copying machine with a data imprinting function, comprising: a data management means for calculating and setting the data; and a page mode canceling means for canceling the page data imprinting mode when the page data imprinting mode is selected and the counting mode is not set.
JP63193233A 1988-08-02 1988-08-02 Copying machine with data imprinting function Pending JPH0242456A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP63193233A JPH0242456A (en) 1988-08-02 1988-08-02 Copying machine with data imprinting function
US07/388,691 US4963920A (en) 1988-08-02 1989-08-02 Copying apparatus having function of imprinting data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63193233A JPH0242456A (en) 1988-08-02 1988-08-02 Copying machine with data imprinting function

Publications (1)

Publication Number Publication Date
JPH0242456A true JPH0242456A (en) 1990-02-13

Family

ID=16304541

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63193233A Pending JPH0242456A (en) 1988-08-02 1988-08-02 Copying machine with data imprinting function

Country Status (1)

Country Link
JP (1) JPH0242456A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005294761A (en) * 2004-04-05 2005-10-20 Tdk Corp Stacked piezoelectric element

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005294761A (en) * 2004-04-05 2005-10-20 Tdk Corp Stacked piezoelectric element

Similar Documents

Publication Publication Date Title
EP0543796A1 (en) Image forming apparatus
JPH0242456A (en) Copying machine with data imprinting function
JP3399686B2 (en) Image forming device
JPH0211902B2 (en)
JPH0242457A (en) Copying machine with data imprinting function
JPH0256570A (en) Copying machine provided with data imprinting function
JPH0242459A (en) Copying machine with data imprinting function
JPH0242458A (en) Copying machine with data imprinting function
JPS63184769A (en) Copying device with plural copying modes
JPH0283562A (en) Copying machine with data imprinting function
JP2685803B2 (en) How to set the operation mode of the copier
JPH0281059A (en) Copying machine provided with data imprinting function
JPH0256563A (en) Copying machine with data imprinting function
JPH0284671A (en) Copying machine provided with data imprinting function
JPH0284669A (en) Copying machine provided with data imprinting function
JPH0284670A (en) Copying machine provided with data imprinting function
JPH09110236A (en) Image forming device
JPH01104567A (en) Image forming device with paper refeeding means
JPH09110185A (en) Control device for paper feed part of image forming device
JPH01319779A (en) Copying machine with data imprinting function
JPH04123072A (en) Image forming device
JPH0634126B2 (en) Copier
JPH01183670A (en) Copying device
JPS6270869A (en) Control method for copying machine
JP2002002068A (en) System and method for selecting image forming apparatus and network server