JP2000201249A - Facsimile equipment - Google Patents

Facsimile equipment

Info

Publication number
JP2000201249A
JP2000201249A JP2000026997A JP2000026997A JP2000201249A JP 2000201249 A JP2000201249 A JP 2000201249A JP 2000026997 A JP2000026997 A JP 2000026997A JP 2000026997 A JP2000026997 A JP 2000026997A JP 2000201249 A JP2000201249 A JP 2000201249A
Authority
JP
Japan
Prior art keywords
data
facsimile
transmission
reception
personal computer
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
JP2000026997A
Other languages
Japanese (ja)
Inventor
Yuji Asano
裕二 浅野
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2000026997A priority Critical patent/JP2000201249A/en
Publication of JP2000201249A publication Critical patent/JP2000201249A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To use equipment in accordance with the purpose and the use state of a user by judging whether facsimile data can be received or not, storing facsimile data in a storage means when reception is judged to be impossible, recording it in recording paper when reception is judged to be possible and selecting both of them. SOLUTION: The transmission/reception of encoding picture data and a command between facsimile equipment and a personal computer 4 are executed by interruption. An interruption signal is emitted when data of eight bits is stored in a P/S reception data buffer 246 and when a P/S transmission data buffer 248 becomes idle. The execution of an interruption processing program on the interruption signal is inhibited or permitted by the setting/resetting of a data reception interruption inhibition flag 243 and a data transmission interruption inhibition flag 244, which are installed in a parallel/serial conversion circuit 240. The data reception interruption inhibition flag 243 is always set in an interruptible state.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明はコンピュータに接続され
て使用されるファクシミリ装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a facsimile apparatus connected to a computer and used.

【0002】[0002]

【従来の技術】この種のファクシミリ装置は、他のファ
クシミリデータ送信装置との接続部およびコンピュータ
との接続部を有する。
2. Description of the Related Art A facsimile apparatus of this type has a connection portion with another facsimile data transmission device and a connection portion with a computer.

【0003】なお、ファクシミリデータ送信装置は、フ
ァクシミリデータを送信する機能を有する装置であれば
よく、例えば、ファクシミリデータ送信機能のみを有
し、コンピュータ等のデータ処理装置にファクシミリデ
ータを送信する装置でもよく、画像読取装置を有し、読
取りにより得られた画像データに基づいてファクシミリ
データを作成し、送信する装置でもよく、ファクシミリ
データの送信機能に加えて受信機能や、ファクシミリデ
ータを記録用紙に出力する記録機能を有する装置でもよ
い。
The facsimile data transmitting device may be any device having a function of transmitting facsimile data. For example, a device having only a facsimile data transmitting function and transmitting facsimile data to a data processing device such as a computer may be used. It may be a device that has an image reading device, creates facsimile data based on image data obtained by reading, and transmits the facsimile data. In addition to a facsimile data transmission function, a reception function and facsimile data are output to a recording sheet. It may be a device having a recording function to perform the recording.

【0004】この種のファクシミリ装置によれば、例え
ば特開昭60−48661号公報に記載されているよう
に、コンピュータ受信制御手段を設け、ファクシミリデ
ータ送信装置から送信されて来たファクシミリデータを
コンピュータに受信させ、コンピュータの記憶手段をフ
ァクシリデータの蓄積に利用し、あるいはコンピュータ
を用いてファクシミリデータの編集,訂正等を行うこと
ができる。
According to this type of facsimile apparatus, for example, as disclosed in Japanese Patent Application Laid-Open No. 60-48661, a computer reception control means is provided to transmit facsimile data transmitted from a facsimile data transmission apparatus to a computer. And the storage means of the computer can be used for accumulating the facsimile data, or the facsimile data can be edited and corrected using the computer.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、一般的
にファクシミリ装置は昼夜を問わず常に動作されている
ものであるが、コンピュータは使用者の目的に応じて電
源が投入されたり、遮断されたりする場合が一般的であ
る。このため、他のファクシミリ装置から送信されたフ
ァクシミリデータを常にコンピュータへ送るようにする
と、紙へ出力するためにコンピュータを操作して記録す
る動作が必要になり、必ずしも効率がいいということは
できない。
However, in general, a facsimile apparatus is always operated day and night, but a computer is turned on or off according to the purpose of a user. The case is common. For this reason, if facsimile data transmitted from another facsimile machine is always sent to a computer, an operation of recording by operating the computer to output the data to paper is required, and it is not always efficient.

【0006】また、コンピュータが受信できない状態の
場合、他のファクシミリ装置から送信されたファクシミ
リデータをファクシミリ装置のメモリに記憶させておく
だけでは、使用者はファクシミリが届いていることをコ
ンピュータの電源を投入するまで確認することができな
いことになる。
Further, when the computer cannot receive the data, simply storing the facsimile data transmitted from the other facsimile apparatus in the memory of the facsimile apparatus requires the user to turn on the power of the computer to confirm that the facsimile has arrived. You will not be able to confirm it until you put it in.

【0007】本発明は、使用者の目的や使用状態に応じ
て、他のファクシミリデータ送信装置から送信されて来
るファクシミリデータを直接紙に出力させたり、コンピ
ュータへ記憶させたりすることを選択できるファクシミ
リ装置を提供することを課題として為されたものであ
る。
According to the present invention, there is provided a facsimile machine which can select to directly output facsimile data transmitted from another facsimile data transmitting apparatus to a paper or to store the facsimile data in a computer according to the purpose and use state of a user. It has been made to provide an apparatus.

【0008】[0008]

【課題を解決するための手段】この課題は、本発明にお
いては、前期他のファクシミリデータ送信装置との接続
部およびコンピュータとの接続部を有するファクシミリ
装置に、前記コンピュータがファクシミリデータを受信
可能であるか否かを判定するファクシミリデータ受信可
否判定手段と、前記ファクシミリデータ受信可否判定手
段によりコンピュータが受信不可能であると判定された
場合に、ファクシミリデータを記憶手段に記憶するモー
ドと、ファクシミリデータを記録用紙に記録するコンピ
ュータ優先受信モードとを選択するための選択手段とを
設けることにより解決される。また、より好ましくは、
前記他のファクシミリデータ送信装置との接続部および
コンピュータとの接続部を有するファクシミリ装置に、
前記他のファクシミリデータ送信装置から送信されて来
るファクシミリデータを記憶するファクシミリデータ記
憶手段と、前記他のファクシミリデータ送信装置から送
信されて来るファクシミリデータを記録するファクシミ
リデータ記録手段と、前記コンピュータがファクシミリ
データを受信可能であるか否かを判定するファクシミリ
データ受信可否判定手段と、前記ファクシミリデータを
前記ファクシミリデータ記録手段で記録する紙出力モー
ドと、前記ファクシミリデータ受信可否判定手段により
コンピュータが受信不可能であると判定された場合に前
記ファクシミリデータを前記ファクシミリデータ記憶手
段に記憶するコンピュータ受信モードと、前記ファクシ
ミリデータ受信可否判定手段によりコンピュータが受信
不可能であると判定された場合に前記ファクシミリデー
タを記録するコンピュータ優先受信モードとを選択する
ための選択手段とを設けることにより解決される。
SUMMARY OF THE INVENTION According to the present invention, there is provided a facsimile apparatus having a connection part to another facsimile data transmitting apparatus and a connection part to a computer, wherein the computer is capable of receiving facsimile data. Facsimile data reception availability determination means for determining whether or not there is a facsimile data reception mode, and a mode for storing facsimile data in the storage means when the facsimile data reception availability determination means determines that the computer is unreceivable. And a selection means for selecting a computer preferential reception mode for recording on a recording sheet. Also, more preferably,
A facsimile device having a connection with the other facsimile data transmission device and a connection with a computer,
Facsimile data storage means for storing facsimile data transmitted from the other facsimile data transmission apparatus, facsimile data recording means for recording facsimile data transmitted from the other facsimile data transmission apparatus, and the facsimile Facsimile data receivability determining means for determining whether data can be received, a paper output mode for recording the facsimile data by the facsimile data recording means, and a computer receivable by the facsimile data receivability determining means. Is determined, the facsimile data is stored in the facsimile data storage means in the computer reception mode, and the facsimile data reception availability determination means determines that the computer is unreceivable. It is solved by providing a selection means for selecting a computer-priority receive mode for recording the facsimile data if it is.

【0009】[0009]

【作用】本発明に係るファクシミリ装置においては、他
のファクシミリデータ送信装置から送信されて来るファ
クシミリデータはファクシミリデータ記憶手段に記憶さ
れ、他のファクシミリデータ送信装置から送信されて来
るファクシミリデータはファクシミリデータ記録手段に
記録される。そして、前記ファクシミリデータを前記フ
ァクシミリデータ記録手段で記録する紙出力モードと、
前記コンピュータがファクシミリデータを受信可能であ
るか否かを判定するファクシミリデータ受信可否判定手
段によりコンピュータが受信不可能であると判定された
場合に前記ファクシミリデータを前記ファクシミリデー
タ記憶手段に記憶するコンピュータ受信モードと、前記
ファクシミリデータ受信可否判定手段によりコンピュー
タが受信不可能であると判定された場合に前記ファクシ
ミリデータを記録するコンピュータ優先受信モードとが
選択手段により選択される。
In the facsimile apparatus according to the present invention, facsimile data transmitted from another facsimile data transmitting apparatus is stored in facsimile data storage means, and facsimile data transmitted from the other facsimile data transmitting apparatus is facsimile data. It is recorded on recording means. A paper output mode in which the facsimile data is recorded by the facsimile data recording means;
A computer receiving means for storing the facsimile data in the facsimile data storage means when the computer determines that the facsimile data cannot be received by the facsimile data reception availability determination means for determining whether or not the computer can receive facsimile data; A mode and a computer priority reception mode in which the facsimile data is recorded when the facsimile data reception availability determination unit determines that the computer cannot receive the data are selected by the selection unit.

【0010】ファクシミリデータ受信可否判定手段は、
例えば、コンピュータがファクシミリデータを受信不可
能であるか否かをコンピュータの受信関連情報に基づい
て判定する。
The facsimile data reception availability determination means includes:
For example, whether or not the computer cannot receive the facsimile data is determined based on the reception related information of the computer.

【0011】コンピュータの受信関連情報の最も端的な
例は、コンピュータから出力されるファクシミリデータ
の受信が不可能であることを表すファクシミリデータ受
信不可信号あるいはファクシミリデータの送信を禁止す
ることを表すファクシミリデータ送信禁止信号である。
しかし、コンピュータから、ファクシミリデータの受信
が可能であることを表すファクシミリデータ受信可能信
号あるいはファクシミリデータの送信を許容することを
表すファクシミリデータ送信許容信号が出力される場合
には、これらもファクシミリデータの受信が不可能であ
ることを表す情報と見なし得る。ファクシミリデータ受
信可能信号ないしファクシミリデータ送信許容信号が出
力されないということは、通常、ファクシミリデータの
受信が不可能であることを表していると考えて差し支え
ないからである。
The simplest example of the reception-related information of a computer is a facsimile data reception disable signal indicating that reception of facsimile data output from the computer is not possible or facsimile data indicating that transmission of facsimile data is prohibited. This is a transmission prohibition signal.
However, if a facsimile data receivable signal indicating that facsimile data can be received or a facsimile data transmission permitting signal indicating that facsimile data transmission is permitted is output from the computer, these are also transmitted. It can be regarded as information indicating that reception is impossible. This is because the fact that the facsimile data receivable signal or the facsimile data transmission permission signal is not output usually indicates that the reception of facsimile data is impossible.

【0012】この意味において、ファクシミリデータ受
信不可信号ないしファクシミリデータ送信禁止信号と、
ファクシミリデータ受信可能信号ないしファクシミリデ
ータ送信許容信号とは実質的に同じものである。
In this sense, a facsimile data reception disable signal or a facsimile data transmission inhibit signal,
The facsimile data receivable signal or the facsimile data transmission permission signal are substantially the same.

【0013】これらの信号は例えば、決まった信号線の
電圧の高(High),低(Low)により構成されてもよく、
他のデータと共用のデータラインに供給されるビットデ
ータにより構成されてもよい。後者の場合には、単一ビ
ットのデータでも複数ビットのデータでもよい。
These signals may be constituted by, for example, a high voltage and a low voltage of a predetermined signal line.
It may be constituted by bit data supplied to a data line shared with other data. In the latter case, the data may be single-bit data or multi-bit data.

【0014】コンピュータによるファクシミリデータの
受信不可能の原因としては、例えば、コンピュータが
ファクシミリ装置に接続されていないこと、コンピュ
ータの電源がOFFであること、コンピュータにファ
クシミリデータを受信するためのプログラムが格納され
ていないこと、ファクシミリデータ受信プログラムは
格納されているが、コンピュータにおいてそのプログラ
ムの実行が指示されていないこと、コンピュータのフ
ァクシミリデータ記憶手段が更にファクシミリデータを
格納する余裕がないこと、コンピュータがファクシミ
リデータ受信以外のプログラムの実行中であること等が
ある。
The causes of the inability of the computer to receive facsimile data include, for example, that the computer is not connected to the facsimile machine, that the computer is turned off, and that the computer has a program for receiving facsimile data. The facsimile data receiving program is stored, but the execution of the program is not instructed in the computer, the facsimile data storage means of the computer has no room for further storing the facsimile data, A program other than data reception may be in execution.

【0015】これらのうち、〜の場合にはコンピュ
ータ自体が受信関連情報を出力することを期待できる
が、およびの場合は期待できない。しかし、〜
の各状況を表すいずれかの信号が得られるということ
は、およびの状況にはないということであり、〜
の状況を表す信号はおよびの状況にはないことを
表す信号を兼ねていると見なすことができる。
[0015] Of these, in the case of (1), it can be expected that the computer itself outputs the reception-related information, but in the case of (3), it cannot be expected. However,~
Obtaining any signal that represents each situation of means that there is no and situation, and
It can be considered that the signal indicating the situation of the above also serves as the signal indicating that the situation is not the same.

【0016】また、ファクシミリ装置は、〜等の状
況の存在あるいは不存在を、それらの状況の存在を表す
信号あるいは不存在を表す信号の出力から確認すること
も、その信号の不出力から確認することも可能である。
Further, the facsimile apparatus confirms the existence or non-existence of situations such as (1) to (3) from the output of a signal indicating the existence or non-existence of those situations, or the non-output of the signal. It is also possible.

【0017】例えば、の「コンピュータがファクシミ
リ装置に接続されていない」という状況は、接続されて
いないこと自体を表す信号によっても、また、接続され
ていることを表す信号によってもファクシミリ装置によ
り確認可能である。一方の否定は他方の肯定であるから
である。さらに、ファクシミリ装置は、コンピュータが
接続されていることを表す信号が出力されていないこと
から、コンピュータが接続されていないことを確認する
ことができ、逆もまた真である。
For example, the situation that "the computer is not connected to the facsimile machine" can be confirmed by the facsimile machine either by a signal indicating that it is not connected or by a signal indicating that it is connected. It is. This is because one negative is a positive one. Further, the facsimile machine can confirm that the computer is not connected since the signal indicating that the computer is connected is not output, and vice versa.

【0018】上記のように複数種類の受信不可状況(な
いし受信不可原因)があり、コンピュータ側ですべての
状況の存否が確認され、受信不可能の原因が一つでも存
在するときに、コンピュータから上記ファクシミリデー
タ受信不可信号ないしファクシミリデータ送信禁止信号
が出力される場合には、ファクシミリ装置はその信号一
つの受信によってコンピュータがファクシミリデータを
受信することができない状況にあることを知ることがで
きる。
As described above, there are a plurality of types of non-reception situations (or causes of non-reception), and the computer confirms the existence of all situations. When the facsimile data reception disable signal or the facsimile data transmission prohibition signal is output, the facsimile apparatus can know that the computer cannot receive the facsimile data by receiving one of the signals.

【0019】コンピュータから上記ファクシミリデータ
受信可能信号ないしファクシミリデータ送信許容信号が
出力される場合には、その信号が出力されないことか
ら、ファクシミリ装置はコンピュータがファクシミリデ
ータを受信することができない状況にあることを知るこ
とができる。後述の実施例において、ファクシミリ装置
からコンピュータへ出力されるコマンド、例えばファク
シミリデータの送信を知らせるコマンドに対する応答コ
マンドがないことに基づいて、コンピュータがファクシ
ミリデータ受信不可能な状況にあると判定されることは
その一例である。
When the facsimile data receivable signal or the facsimile data transmission permission signal is output from the computer, the facsimile apparatus is in a state where the computer cannot receive the facsimile data because the signal is not output. You can know. In the embodiment described later, it is determined that the computer is in a state where it is impossible to receive facsimile data based on the absence of a command output from the facsimile apparatus to the computer, for example, a command for notifying the transmission of facsimile data. Is an example.

【0020】コンピュータから供給される複数の信号あ
るいはファクシミリ装置自体により取得されるに情報
(例えば、コンピュータが接続されているか否かの情報
はファクシミリ装置自体により取得可能である)に基づ
いて、ファクシミリ装置においてコンピュータの受信に
関連した状況が判断されるようにすることも可能であ
る。
The facsimile apparatus is based on a plurality of signals supplied from the computer or information obtained by the facsimile apparatus itself (for example, information on whether or not a computer is connected can be obtained by the facsimile apparatus itself). It is also possible to determine the situation related to the reception of the computer at.

【0021】この場合、コンピュータから供給される情
報は、各々前記例示の複数種類の受信不可原因の一つず
つに対応した情報でもよく、複数の原因に対応した情報
でもよい。
In this case, the information supplied from the computer may be information corresponding to each of the plurality of types of non-reception causes described above, or information corresponding to a plurality of causes.

【0022】ファクシミリ装置におけるコンピュータ受
信不可能の判定は、コンピュータによるファクシミリデ
ータの受信が不可能であることを表す情報が少なくとも
1つ得られたことによっても、コンピュータによるファ
クシミリデータの受信が可能であることを表す情報の少
なくとも1つが得られないことによっても行うことがで
きる。
The determination that the facsimile machine cannot receive the computer can be performed by the computer even if at least one piece of information indicating that the computer cannot receive the facsimile data is obtained. This can also be performed when at least one piece of information indicating the fact cannot be obtained.

【0023】また、コンピュータによるファクシミリデ
ータの受信が可能であることの確認が行われ、その確認
ができない場合にファクシミリデータの受信が不可能で
あるとの判定が行われるようにすることもできる。
Further, it is possible that the computer confirms that facsimile data can be received. If the confirmation is not possible, it is possible to determine that facsimile data cannot be received.

【0024】なお、コンピュータ受信関連状況の中に
は、前記および(特に)のように、コンピュータ
の作動に伴って変化し、変化頻度が高いため、少し待て
ばその間に変化する可能性が高い状況と、前記〜の
ようにコンピュータの作動に伴って変化するわけではな
くオペレータの操作等により変化し、変化頻度が低いた
め、待っても変化する可能性の低い状況とが存在する。
Note that some of the computer reception-related situations, as described above and (especially), change with the operation of the computer and have a high frequency of change. As described above, there is a situation in which the change is not caused by the operation of the computer but is changed by the operation of the operator or the like, and the change frequency is low, so that it is unlikely that the change will occur even if the user waits.

【0025】これら状況に対応するコンピュータ受信関
連情報にも、高変化頻度情報ないし高変化可能性情報
と、低変化頻度情報ないし低変化可能性情報とが存在す
る(ただし、一つのコンピュータ受信関連情報が高変化
頻度状況と低変化頻度状況との両方に対応する場合に
は、高変化頻度情報と見なすこととする)。したがっ
て、これら情報に基づいてコンピュータによるファクシ
ミリデータの受信可否を判定する手段にも、コンピュー
タの受信関連状況を即時に判定する即決型判定手段と、
時間をかけて判定、すなわち、ある時点においてコンピ
ュータがファクシミリデータを受信不可能であっても設
定時間待って、その間に受信可能な状態になるか否かを
判定する猶予型判定手段とを設けることが望ましい。
The computer reception related information corresponding to these situations also includes high change frequency information or high change possibility information and low change frequency information or low change possibility information (however, one computer reception related information). If both correspond to both a high change frequency situation and a low change frequency situation, it is regarded as high change frequency information.) Therefore, the means for determining whether or not facsimile data can be received by the computer based on the information also includes a prompt decision type determination means for immediately determining the reception-related state of the computer,
Providing grace-type determination means for determining over time, that is, waiting for a set time even if the computer cannot receive facsimile data at a certain point in time, and determining whether or not the computer will be ready to receive during that time Is desirable.

【0026】ファクシミリデータの受信開始時にコンピ
ュータがファクシミリデータを受信可能であるか否かを
判定し、受信可能であれば、ファクシミリデータ記憶手
段にファクシミリデータを格納することなく、直接コン
ピュータに送信してもよい。ファクシミリデータ受信開
始時受信可否判定手段により受信可否を判定し、ファク
シミリデータ直接送信手段により、ファクシミリデータ
を直接コンピュータに送信するのである。
At the start of receiving facsimile data, the computer determines whether facsimile data can be received. If facsimile data can be received, facsimile data is directly transmitted to the computer without storing the facsimile data in the facsimile data storage means. Is also good. At the start of facsimile data reception, the reception permission / non-permission determination means determines whether or not reception is possible, and the facsimile data direct transmission means transmits facsimile data directly to the computer.

【0027】ファクシミリデータは、画像データと、画
像データの送出に先立って、あるいは画像データの送出
の間や終了時に出力され、画像データの送信のために必
要なデータを交換し、設定する送信関連データとを含
む。「ファクシミリデータの受信開始時」とは、まだ画
像データが送信されて来ておらず、それに先立って送信
関連データが送信されて来たときである。送信関連デー
タには、例えば、他のファクシミリデータ送信装置から
の呼出しを表すCI信号や、ファクシミリデータの送信
を表すCNG信号等がある。
The facsimile data is output prior to the transmission of the image data, during the transmission of the image data, or at the end of the transmission, and exchanges and sets data necessary for the transmission of the image data. And data. “At the start of facsimile data reception” is when image data has not been transmitted yet and transmission-related data has been transmitted prior thereto. The transmission-related data includes, for example, a CI signal indicating a call from another facsimile data transmission device, a CNG signal indicating transmission of facsimile data, and the like.

【0028】[0028]

【発明の効果】このように本発明によれば、使用者の目
的や使用状態に応じて、他のファクシミリデータ送信装
置から送信されて来るファクシミリデータを直接紙に記
録させたり、コンピュータに記憶させたりすることを選
択することができると共に、コンピュータがファクシミ
リデータを受信することができなくても、他のファクシ
ミリデータ送信装置から送信されて来るファクシミリデ
ータをどのように処理するかを選択することができる。
As described above, according to the present invention, facsimile data transmitted from another facsimile data transmitting apparatus can be directly recorded on paper or stored in a computer in accordance with the purpose and use state of the user. Or even if the computer cannot receive the facsimile data, it is possible to select how to process facsimile data transmitted from another facsimile data transmission device. it can.

【0029】[0029]

【実施例】以下、本発明の一実施例を図面に基づいて詳
細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below in detail with reference to the drawings.

【0030】図1において、2はファクシミリ装置であ
り、4はパーソナルコンピュータ(以下、パソコンと略
称する)である。これらファクシミリ装置2とパソコン
4とは、インタフェース・ボックス6を介して接続され
ており、各々が有するデータをやりとりしてデータの蓄
積,編集,訂正等を行ったり、一方の装置の機能を他方
の装置が利用すること等が可能なデータ処理システムを
構成している。ファクシミリ装置2とインタフェース・
ボックス6とは専用ケーブル7によって接続され、イン
タフェース・ボックス6とパソコン4とはモデムケーブ
ル8によって接続されている。インタフェース・ボック
ス6は、複数の抵抗器等を備えたものであり、ファクシ
ミリ装置2とパソコン4の直列データ伝送用標準インタ
フェースであるRS232Cとのインタフェースをとる
ために、調歩同期信号を電圧変換する役割を有してい
る。
In FIG. 1, reference numeral 2 denotes a facsimile machine, and reference numeral 4 denotes a personal computer (hereinafter abbreviated as a personal computer). The facsimile apparatus 2 and the personal computer 4 are connected via an interface box 6 and exchange data possessed by each to store, edit, and correct data, and to change the function of one apparatus to the other. It constitutes a data processing system that can be used by the device. Interface with facsimile machine 2
The box 6 is connected by a dedicated cable 7, and the interface box 6 and the personal computer 4 are connected by a modem cable 8. The interface box 6 is provided with a plurality of resistors and the like, and serves to convert a start-stop synchronization signal into a voltage in order to interface the facsimile machine 2 with RS232C, which is a standard interface for serial data transmission of the personal computer 4. have.

【0031】専用ケーブル7,モデムケーブル8はそれ
ぞれ、RTS制御信号ライン,CTS制御信号ライン,
2本のデータラインおよびアースラインを備えており、
互いにインタフェース・ボックス6を介して接続されて
いる。また、専用ケーブル7は、ファクシミリ装置2と
インタフェース・ボックス6との間のケーブルの接・断
を検出するためのラインも備えている。
The dedicated cable 7 and the modem cable 8 are connected to an RTS control signal line, a CTS control signal line,
It has two data lines and a ground line,
They are connected to each other via an interface box 6. The dedicated cable 7 also has a line for detecting connection / disconnection of the cable between the facsimile machine 2 and the interface box 6.

【0032】RTS制御信号ラインは、ファクシミリ装
置2がパソコン4からのパソコンデータ(PCデータと
略称する)の送出を許容する状態(RTS ENABLE)にある
か、阻止する状態(RTS DISABLE )にあるかを表す制御
信号のためのラインである。ファクシミリ装置2におい
て制御信号がH(High) 状態かL(Low) 状態かに択一的
に設定され、パソコン4においてその制御信号に基づい
てファクシミリ装置2がデータの送出を許容する状態に
あるか否かが検出されるのである。
The RTS control signal line is in a state (RTS ENABLE) in which the facsimile machine 2 allows the transmission of the personal computer data (abbreviated as PC data) from the personal computer 4 or in a state in which the transmission is prohibited (RTS DISABLE). Is a line for a control signal representing Whether the control signal in the facsimile machine 2 is set to an H (High) state or an L (Low) state, and whether the facsimile apparatus 2 is in a state in which the facsimile apparatus 2 allows data transmission based on the control signal in the personal computer 4 No is detected.

【0033】同様に、CTS制御信号ラインは、パソコ
ン4がファクシミリ装置2からのファクシミリデータの
送出を許容する状態(CTS ENABLE)にあるか阻止する状
態(CTS DISABLE )にあるかを表す制御信号のためのラ
インであり、ファクシミリ装置2において、制御信号の
状態に基づいてパソコン4がデータの送出を許容する状
態にあるか否かが検出される。
Similarly, the CTS control signal line is a control signal indicating whether the personal computer 4 is in a state in which facsimile data is allowed to be transmitted from the facsimile apparatus 2 (CTS ENABLE) or in a state in which it is blocked (CTS DISABLE). The facsimile apparatus 2 detects whether or not the personal computer 4 is in a state in which data transmission is permitted based on the state of the control signal.

【0034】2本のデータラインの一方は、ファクシミ
リ装置2からパソコン4へファクシミリデータを送出す
るためのラインであり、他方はパソコン4からファクシ
ミリ装置2へPCデータを送信するためのラインであ
る。これらファクシミリデータおよびPCデータはそれ
ぞれ、符号化画像データと、符号化画像データの送信,
受信を制御する制御データ(以下、コマンドと称する)
とを含む。
One of the two data lines is a line for transmitting facsimile data from the facsimile apparatus 2 to the personal computer 4, and the other is a line for transmitting PC data from the personal computer 4 to the facsimile apparatus 2. These facsimile data and PC data are respectively coded image data and coded image data transmission,
Control data for controlling reception (hereinafter referred to as command)
And

【0035】これら制御信号ラインおよびデータライン
は、一方向ラインである。
These control signal lines and data lines are unidirectional lines.

【0036】なお、ファクシミリ装置2と、他のファク
シミリ装置との間において送信されるファクシミリデー
タも、符号化画像データと符号化画像の送信,受信のた
めの制御データ(コマンド)とを含む。
The facsimile data transmitted between the facsimile apparatus 2 and another facsimile apparatus also includes coded image data and control data (command) for transmitting and receiving the coded image.

【0037】ファクシミリ装置の本体10の側部には、
受話器11が取り付けられている。受話器11は非通話
時には本体10に設けられた図示しないフック上に置か
れ、通話時にはフックから取り上げられる。前者をオン
フック状態,後者をオフフック状態と称する。本体10
の上面の前部には操作パネル12が設けられ、後部には
記録紙ホルダ装着部13が設けられている。この記録紙
ホルダ装着部13には、図2に示すように記録紙ホルダ
14が着脱可能に取り付けられる。記録紙ホルダ14は
浅い箱状を成し、内部に圧板15が回動可能に取り付け
られるとともにスプリング16により付勢され、記録紙
17を給紙ローラ18に密着させる向きに付勢されてい
る。
On the side of the main body 10 of the facsimile machine,
A receiver 11 is attached. The receiver 11 is placed on a hook (not shown) provided on the main body 10 during a non-call, and is picked up from the hook during a call. The former is called an on-hook state, and the latter is called an off-hook state. Body 10
An operation panel 12 is provided at the front of the upper surface of the printer, and a recording paper holder mounting section 13 is provided at the rear. As shown in FIG. 2, a recording paper holder 14 is detachably attached to the recording paper holder mounting portion 13. The recording paper holder 14 has a shallow box shape. A pressure plate 15 is rotatably mounted inside the recording paper holder 14 and is urged by a spring 16 to urge the recording paper 17 into close contact with a paper feed roller 18.

【0038】前記本体10には、記録紙ホルダ14の開
口を覆う蓋19が回動可能に取り付けられている。蓋1
9と前記圧板15との間には、記録紙ホルダ14が記録
紙ホルダ装着部13に装着された状態で両者を連結する
図示しない連結装置が設けられており、蓋19が開かれ
れば圧板15をスプリング16の付勢力に抗して押し下
げ、圧板15と給紙ローラ18との間に記録紙17を挿
入する空間を形成する。蓋19が閉じられれば、図2に
示すように圧板15がスプリング16により付勢されて
記録紙17を給紙ローラ18に密着させる。
A lid 19 that covers the opening of the recording paper holder 14 is rotatably attached to the main body 10. Lid 1
Between the pressure plate 9 and the pressure plate 15, there is provided a connecting device (not shown) for connecting the recording paper holder 14 with the recording paper holder 14 mounted on the recording paper holder mounting portion 13, and when the lid 19 is opened, the pressure plate 15 is opened. Is pressed down against the urging force of the spring 16 to form a space between the pressure plate 15 and the paper feed roller 18 for inserting the recording paper 17. When the lid 19 is closed, the pressure plate 15 is urged by the spring 16 to bring the recording paper 17 into close contact with the paper feed roller 18 as shown in FIG.

【0039】給紙ローラ18の記録紙送り方向において
上流側に隣接する位置には、記録紙17の有無を検出す
る記録紙センサ20が設けられている。記録紙センサ2
0は接触式センサであり、蓋19が閉じられて記録紙1
7が給紙ローラ18に密着させられるとき、記録紙セン
サ20の検出子が押され、それにより記録紙17が有る
ことがわかる。
At a position adjacent to the paper feed roller 18 on the upstream side in the recording paper feeding direction, a recording paper sensor 20 for detecting the presence or absence of the recording paper 17 is provided. Recording paper sensor 2
Numeral 0 is a contact type sensor.
When the sheet 7 is brought into close contact with the sheet feeding roller 18, the detector of the recording sheet sensor 20 is pressed, whereby it can be seen that the recording sheet 17 is present.

【0040】記録紙ホルダ14内の記録紙17は、給紙
ローラ18および分離パッド22を含む自動給紙装置に
より、最も上に位置する記録紙17から順に送り出され
る。自動給紙装置によって送り出された記録紙17は、
一対の搬送ローラ26によって記録装置29に送られ
る。
The recording paper 17 in the recording paper holder 14 is sequentially sent out from the uppermost recording paper 17 by an automatic paper feeder including a paper feed roller 18 and a separation pad 22. The recording paper 17 sent out by the automatic paper feeder is
The sheet is sent to the recording device 29 by the pair of conveying rollers 26.

【0041】記録装置29は、感光ドラム30,転写装
置32,現像装置33等を備えたものであり、前記記録
紙17は、搬送ローラ26によって感光ドラム30と転
写装置32との間に送られる。
The recording device 29 includes a photosensitive drum 30, a transfer device 32, a developing device 33, and the like. The recording paper 17 is sent between the photosensitive drum 30 and the transfer device 32 by a transport roller 26. .

【0042】感光ドラム30の表面がレーザ光走査装置
34によるレーザ光によって走査され、静電潜像が形成
される。レーザ光走査装置34は、レーザ発光部36,
レンズ37,反射ミラー38等を備えている。レーザ発
光部36は、制御装置40の指令に従ってレーザ光を発
射するレーザ光源およびそのレーザ光を反射するポリゴ
ンミラー等を有するものである。レーザ発光部36から
発せられたレーザ光は、レンズ37によって集光させら
れ、反射ミラー38により反射されて、感光ドラム30
に照射される。
The surface of the photosensitive drum 30 is scanned by the laser beam from the laser beam scanning device 34 to form an electrostatic latent image. The laser light scanning device 34 includes a laser emitting unit 36,
A lens 37, a reflection mirror 38 and the like are provided. The laser light emitting section 36 includes a laser light source that emits a laser beam in accordance with a command from the control device 40, a polygon mirror that reflects the laser beam, and the like. The laser light emitted from the laser light emitting unit 36 is condensed by a lens 37, reflected by a reflection mirror 38, and
Is irradiated.

【0043】感光ドラム30の回転と、レーザ光の走査
とによって、感光ドラム30の表面上に静電潜像が形成
されるのであるが、この静電潜像が形成される領域(こ
こでは感光ドラム30の外周面の感光領域)は、潜像形
成の際の最小単位としてのドット形成点の集合と考える
ことができる。ファクシミリ装置2におけるドット形成
点の大きさは約0.07mm×0.07mm(レーザ光のス
ポット径が80μm )であり、ドット形成点の2個分の
大きさ(約0.13mm×0.07mm)が、後述する画像
読取装置42がスーパファインの解像度(これがファク
シミリ装置2の最高解像度である)に設定された場合の
読取最小領域、すなわち画素に対応する。記録装置29
は、ファクシミリ装置2が有する最高解像度より高い解
像度で記録し得るものとなっているのである。
An electrostatic latent image is formed on the surface of the photosensitive drum 30 by the rotation of the photosensitive drum 30 and the scanning of the laser beam. The photosensitive area on the outer peripheral surface of the drum 30 can be considered as a set of dot formation points as a minimum unit when forming a latent image. The size of the dot forming point in the facsimile apparatus 2 is about 0.07 mm × 0.07 mm (the spot diameter of the laser beam is 80 μm), and the size of two dot forming points (about 0.13 mm × 0.07 mm) ) Correspond to the minimum reading area, that is, the pixels when the image reading device 42 described later is set to the superfine resolution (this is the highest resolution of the facsimile device 2). Recording device 29
Can be recorded at a resolution higher than the highest resolution of the facsimile apparatus 2.

【0044】感光ドラム30を回転させる図示しないド
ラムモータは、駆動回路を介して制御装置40に接続さ
れており、感光ドラム30の回転は制御装置40により
制御される。
A drum motor (not shown) for rotating the photosensitive drum 30 is connected to a control device 40 via a drive circuit, and the rotation of the photosensitive drum 30 is controlled by the control device 40.

【0045】レーザ光走査装置34は、制御装置40か
ら供給される記録画像データに基づいて制御される。記
録画像データに基づいてレーザ光が制御されつつ感光ド
ラム30の表面が1行分(1ドットライン分)ずつ順次
走査されることによって感光ドラム30上に静電潜像が
形成される。感光ドラム30に形成された静電潜像は、
現像装置33により現像剤としてのトナーが付着させら
れて現像され、転写装置32によって記録紙17に転写
される。記録紙17に転写されないで感光ドラム30上
に残ったトナーは、クリーニング装置51によって除去
される。
The laser beam scanning device 34 is controlled based on the recorded image data supplied from the control device 40. An electrostatic latent image is formed on the photosensitive drum 30 by sequentially scanning the surface of the photosensitive drum 30 by one line (one dot line) while controlling the laser beam based on the recorded image data. The electrostatic latent image formed on the photosensitive drum 30 is
The toner as a developer is adhered by the developing device 33 and developed, and is transferred to the recording paper 17 by the transfer device 32. The toner remaining on the photosensitive drum 30 without being transferred to the recording paper 17 is removed by the cleaning device 51.

【0046】転写装置32は転写ローラ52を有してお
り、記録紙17に電荷を付与し、感光ドラム30に付着
したトナーを記録紙17に移転させることによって、感
光ドラム30上に現像された画像を記録紙17に転写す
る。転写後の記録紙17は、図示しない除電器によって
除電された後、図示を省略するガイドにより案内されて
定着装置54に送られる。定着装置54は、加熱ローラ
56および押さえローラ58を有しており、画像を定着
された記録紙17は、1対の排紙ローラ60により本体
10の前面に取り付けられた排紙トレイ62に排出され
る。
The transfer device 32 has a transfer roller 52, which applies a charge to the recording paper 17 and transfers toner adhered to the photosensitive drum 30 to the recording paper 17, thereby developing the toner on the photosensitive drum 30. The image is transferred to the recording paper 17. After the transfer, the recording paper 17 is neutralized by a neutralizer (not shown), and then guided to a fixing device 54 by a guide (not shown). The fixing device 54 has a heating roller 56 and a pressing roller 58, and the recording paper 17 on which the image has been fixed is discharged to a discharge tray 62 attached to the front surface of the main body 10 by a pair of discharge rollers 60. Is done.

【0047】現像装置33に、トナーカートリッジ68
が取り付けられると、トナーカートリッジ68内のトナ
ーが、攪拌部材70によって攪拌されつつ攪拌室72に
供給される。攪拌室72に供給されたトナーは、攪拌さ
れつつ現像室74に供給され、現像室74内において、
予め収容されていた磁性キャリアと共に攪拌され、現像
スリーブ76に向かってはね上げられる。
The developing device 33 includes a toner cartridge 68
Is attached, the toner in the toner cartridge 68 is supplied to the stirring chamber 72 while being stirred by the stirring member 70. The toner supplied to the stirring chamber 72 is supplied to the developing chamber 74 while being stirred, and in the developing chamber 74,
The toner is stirred together with the magnetic carrier stored in advance, and is flipped up toward the developing sleeve 76.

【0048】上述の磁性キャリアに担持されたトナーは
現像スリーブ76の表面に付着し、帯電器78によって
帯電させられた後レーザ光により走査された感光ドラム
30の表面に供給されるのである。
The toner carried on the magnetic carrier adheres to the surface of the developing sleeve 76, is charged by the charger 78, and is supplied to the surface of the photosensitive drum 30 scanned by laser light.

【0049】現像装置33は、トナーカートリッジ68
内に収容されたトナーの残量を検出するトナー残量検出
装置80(図4参照)を備えている。トナー残量検出装
置80は、前記本体10に取り付けられた検出部82、
前記攪拌部材70に取り付けられた図示しないワイパ,
検出部の出力信号を処理する信号処理部等を備えたもの
である。
The developing device 33 includes a toner cartridge 68
The apparatus is provided with a toner remaining amount detecting device 80 (see FIG. 4) for detecting the remaining amount of toner stored in the inside. The toner remaining amount detecting device 80 includes a detecting unit 82 attached to the main body 10,
A wiper (not shown) attached to the stirring member 70,
It is provided with a signal processing unit for processing an output signal of the detection unit and the like.

【0050】検出部82は透過式フォトセンサ型であ
り、一対の発光部と受光部とを備え、これら発光部と受
光部とがトナーカートリッジ68の底部に設けられた2
個の透明の中空突部にそれぞれ嵌入させられている。ト
ナー残量検出装置80は、検出部82の受光部の受光時
間の長短によりトナー残量を検出する。攪拌部材70
は、ファクシミリデータの着信が検出されたときに回動
を開始させられ、トナーを攪拌する。このとき、中空突
部間のトナーが掻き上げられるとともに中空突部の互い
に対向する面がワイパにより拭われ、受光部は一瞬受光
する。その後、トナー残量が多いほど早くトナーが中空
突部間の空間を埋め、受光部の受光が遮られる。受光部
の受光時間、すなわち受光部が受光状態になってから再
び遮光状態になるまでの時間により、トナーの残量を検
出することができるのであり、本実施例においてトナー
残量検出装置80は、トナー残量が記録の実行が不可能
なほど少なくなったときにトナーエンプティ信号を発す
るようにされている。なお、トナーの攪拌はファクシミ
リデータの送信が検出されたときに開始されるため、フ
ァクシミリデータの受信後、記録開始までの間にトナー
残量が記録可能な量であるか否かがわかる。
The detecting section 82 is of a transmission type photo sensor, and includes a pair of light emitting sections and a light receiving section. The light emitting section and the light receiving section are provided at the bottom of the toner cartridge 68.
Each of the transparent hollow projections is fitted. The toner remaining amount detecting device 80 detects the remaining amount of toner based on the length of the light receiving time of the light receiving unit of the detecting unit 82. Stirring member 70
Is started to rotate when the reception of facsimile data is detected, and stirs the toner. At this time, the toner between the hollow protrusions is scraped up, and the opposing surfaces of the hollow protrusions are wiped by the wiper, and the light receiving unit receives light for a moment. Thereafter, as the amount of remaining toner is larger, the toner fills the space between the hollow protrusions earlier, and light reception of the light receiving unit is blocked. The remaining amount of toner can be detected by the light receiving time of the light receiving unit, that is, the time from when the light receiving unit enters the light receiving state to when the light receiving unit returns to the light shielding state. The toner empty signal is issued when the remaining amount of toner becomes so small that printing cannot be performed. Since the stirring of the toner is started when the transmission of the facsimile data is detected, it is possible to determine whether or not the remaining amount of the toner is a recordable amount after the reception of the facsimile data and before the start of the recording.

【0051】本体10の上部には原稿90に記載された
画像を読み取る前記画像読取装置42が設けられてい
る。本体10の上面の中間部に設けられた原稿台94上
に載せられた原稿90は、読取り開始の指令に基づいて
原稿送り装置96(図4参照)によって1枚ずつ送り出
される。送り出された原稿は、送りローラ等によって画
像読取装置42へ送られる。原稿台94に原稿がセット
されていることは原稿台センサ98によって検出され
る。また、原稿送り装置96には、原稿センサ99が取
り付けられている。原稿センサ99によって、原稿送り
装置96に送られた原稿90の先端や終端が検出され
る。原稿センサ99によって原稿90の先端が検出され
てから設定時間経過後に、原稿90が読取り位置まで送
られたことが検出され、原稿センサ99によって原稿9
0の終端が検出されたことによって、1頁の原稿90の
読取りが終了し、予め定められた位置まで送られたこと
が検出されるのである。
The image reading device 42 for reading an image described on the original 90 is provided at the upper part of the main body 10. Documents 90 placed on a document table 94 provided at an intermediate portion on the upper surface of the main body 10 are sent out one by one by a document feeder 96 (see FIG. 4) based on an instruction to start reading. The fed document is sent to the image reading device 42 by a feed roller or the like. The setting of a document on the document table 94 is detected by a document table sensor 98. A document sensor 99 is attached to the document feeder 96. The original sensor 99 detects the leading end and the trailing end of the original 90 sent to the original feeder 96. After a lapse of a set time from the detection of the leading end of the document 90 by the document sensor 99, it is detected that the document 90 has been sent to the reading position.
When the end of 0 is detected, it is detected that the reading of the original 90 of one page has been completed and that the original 90 has been fed to a predetermined position.

【0052】画像読取装置42は、光源100によって
原稿支持板102上の原稿に光を照射し、原稿からの反
射光をミラー103,104により反射させ、レンズ1
06により集光してラインイメージセンサ108に入光
させ、原稿の画像を1行分ずつ読み取るものである。
The image reading device 42 irradiates the original on the original supporting plate 102 with light from the light source 100, reflects light reflected from the original by mirrors 103 and 104,
The light is condensed by 06 and enters the line image sensor 108 to read the image of the original one line at a time.

【0053】ラインイメージセンサ108は、受光体と
しての複数個の電荷結合素子CCD(Charge Coupled D
evice)を備えている。CCDは、受光した反射光の強さ
に応じた電圧を出力する光電変換素子である。CCDの
出力電圧は、受光した光の強さが大きくなる(白に近く
なる)につれて大きくなる。後述するが、反射光の強さ
がしきい値より大きい場合には、そのCCDによって読
み取られた領域は白(ドットデータの値が0)とされ、
しきい値より小さい場合には、黒(ドットデータの値が
1)とされる。このCCDによって読み取られる読取最
小領域が画素である。
The line image sensor 108 has a plurality of charge coupled devices (CCDs) as photoreceptors.
evice). The CCD is a photoelectric conversion element that outputs a voltage according to the intensity of the received reflected light. The output voltage of the CCD increases as the intensity of the received light increases (closer to white). As will be described later, when the intensity of the reflected light is larger than the threshold value, the area read by the CCD is white (the value of the dot data is 0),
If it is smaller than the threshold value, it is set to black (the value of the dot data is 1). The minimum read area read by the CCD is a pixel.

【0054】画素の大きさは、画像読取装置42によっ
て1行分読み取られる間の原稿送り装置96による原稿
の送り量(送り速度)によって決まる。走査線方向の大
きさは規格によって決められ、上記送り速度は解像度に
応じて変えられるのである。本実施例においては、送り
量は解像度に応じて3段階に制御される。スーパファイ
ンが設定された場合には、送り量は約0.07mm(1
5.4ライン/mm)とされ、ファインが設定された場合
には、約0.13mm(7.7ライン/mm)とされ、スタ
ンダードが設定された場合には、約0.26mm(3.8
5ライン/mm)とされる。
The size of the pixel is determined by the amount of feed (feed speed) of the original by the original feeder 96 while one line is read by the image reader 42. The size in the scanning line direction is determined by a standard, and the above-mentioned feed speed can be changed according to the resolution. In this embodiment, the feed amount is controlled in three stages according to the resolution. When Super Fine is set, the feed amount is about 0.07 mm (1
5.4 lines / mm), when the fine is set, it is about 0.13 mm (7.7 lines / mm), and when the standard is set, it is about 0.26 mm (3. 8
5 lines / mm).

【0055】つまり、画素の大きさは、スーパファイン
が設定された場合には、約0.13mm×0.07mmとな
り、ファインが設定された場合には、約0.13mm×
0.13mm×となり、スタンダードが設定された場合に
は、約0.13mm×0.26mmとなる。それに対して、
前述のように、記録装置29におけるドット形成点の大
きさは、0.07mm×0.07mmであるため、スーパフ
ァインの解像度で読み取られた画像データを記録用の画
像データに変換する場合には、走査線方向の1個のドッ
トデータを2個のドットデータに増加させなければなら
ない。
That is, the size of the pixel is about 0.13 mm × 0.07 mm when the super fine is set, and about 0.13 mm × 0.07 mm when the fine is set.
When the standard is set, it is about 0.13 mm x 0.26 mm. On the other hand,
As described above, since the size of the dot formation point in the recording device 29 is 0.07 mm × 0.07 mm, when converting image data read at superfine resolution to image data for recording, , One dot data in the scanning line direction must be increased to two dot data.

【0056】読取り後、原稿は排出ローラ110により
送られ、開口から排出トレイ112に排出される。
After the reading, the original is sent by the discharge roller 110 and discharged to the discharge tray 112 from the opening.

【0057】次に、ファクシミリ装置2とパソコン4と
の間、あるいは図4に示す他のファクシミリ装置(以
下、相手装置と称する)114との間において画像デー
タの送出,受信が行われる場合のデータ伝送パラメータ
の設定および受信したデータ等の処理について説明す
る。
Next, data when image data is sent and received between the facsimile machine 2 and the personal computer 4 or between another facsimile machine (hereinafter referred to as a partner device) 114 shown in FIG. The setting of transmission parameters and the processing of received data and the like will be described.

【0058】ファクシミリ装置2と相手装置114との
間でファクシミリデータの送信,受信が行われるとき、
伝送速度,解像度,用紙幅,符号化方式等の伝送パラメ
ータの設定が行われる。これら伝送パラメータにはそれ
ぞれ、後述するように複数段階のレベルがあり、ファク
シミリ装置2と相手装置114とに共通のレベルのうち
の最高レベルでファクシミリデータが送信される。ファ
クシミリ装置2とパソコン4との間におけるデータの送
信,受信についても同様である。
When transmission / reception of facsimile data is performed between the facsimile apparatus 2 and the partner apparatus 114,
Transmission parameters such as transmission speed, resolution, paper width, and encoding method are set. Each of these transmission parameters has a plurality of levels as described later, and the facsimile data is transmitted at the highest level among the levels common to the facsimile apparatus 2 and the partner apparatus 114. The same applies to the transmission and reception of data between the facsimile machine 2 and the personal computer 4.

【0059】本実施例においては、パソコン4の伝送パ
ラメータのレベルはファクシミリ装置2より低く、PC
データをファクシミリ装置2によって相手装置114へ
送信するとき、あるいは相手装置114から送信される
ファクシミリデータをファクシミリ装置2によってパソ
コン4に受信させるときには、パソコン4のレベルがフ
ァクシミリ装置2のレベルとされ、そのレベルに基づい
て伝送パラメータが決定される。
In this embodiment, the transmission parameter level of the personal computer 4 is lower than that of the facsimile
When data is transmitted to the destination apparatus 114 by the facsimile apparatus 2 or when facsimile data transmitted from the destination apparatus 114 is received by the personal computer 4 by the facsimile apparatus 2, the level of the personal computer 4 is set to the level of the facsimile apparatus 2. Transmission parameters are determined based on the level.

【0060】まず、解像度について説明する。ただし、
説明を簡単にするために、走査方向の画素の大きさはフ
ァクシミリ装置2,相手装置114およびパソコン4の
いずれにおいても同じであり、副走査方向においてのみ
前述のように0.07mm,0.13mm,0.26mmの3
段階のいずれかとなって、それぞれスーパファイン,フ
ァイン,スタンダードの解像度に対応するものとする。
First, the resolution will be described. However,
For the sake of simplicity, the size of pixels in the scanning direction is the same in the facsimile apparatus 2, the partner apparatus 114 and the personal computer 4, and is 0.07 mm and 0.13 mm only in the sub-scanning direction as described above. , 0.26mm 3
One of the stages corresponds to super fine, fine, and standard resolutions, respectively.

【0061】パソコン4とは関係なく、ファクシミリ装
置2と相手装置114との間でファクシミリデータの送
信,受信が行われる場合、ファクシミリ装置2の解像度
は上記のようにスーパファインであるため、相手装置1
14の最高解像度もスーパファインであれば、解像度は
スーパファインに決定され、相手装置114の最高解像
度がファインの場合には、解像度はファインに決定され
る。
When facsimile data is transmitted and received between the facsimile apparatus 2 and the destination apparatus 114 regardless of the personal computer 4, the resolution of the facsimile apparatus 2 is super fine as described above. 1
If the highest resolution of 14 is also superfine, the resolution is determined to be fine. If the highest resolution of the partner device 114 is fine, the resolution is determined to be fine.

【0062】パソコン4の解像度は、後述する表示器1
16に画像を表示する場合の解像度である。仮にこの表
示器116が、{200dpi(ドット/インチ)×400
dpi}の大きさの液晶によって構成されているとすれ
ば、この大きさはファクシミリ装置2のスーパファイン
の解像度における1画素の大きさに対応する。しかし、
そうであるからと言ってパソコン4の解像度が直ちにス
ーパファインに決まるというわけではない。パソコン4
の解像度は一般にファインである。パソコン4において
は、送出された画像データが予め定められたプログラム
の実行によって表示器116の液晶に対応させられるの
であり、パソコン4が有するプログラムは、ファインあ
るいはスタンダードの解像度で画像データを作成し、表
示器116に表示させるものなのである。
The resolution of the personal computer 4 is determined by the display 1
16 is the resolution for displaying an image. Suppose that the display 116 is 200 dpi (dot / inch) × 400.
Assuming that the liquid crystal is composed of a liquid crystal having a size of dpi}, this size corresponds to the size of one pixel in the superfine resolution of the facsimile apparatus 2. But,
This does not mean that the resolution of the personal computer 4 is immediately determined to be superfine. PC 4
Is generally fine. In the personal computer 4, the transmitted image data is made to correspond to the liquid crystal of the display unit 116 by executing a predetermined program. The program of the personal computer 4 creates image data with fine or standard resolution, This is to be displayed on the display device 116.

【0063】本実施例のファクシミリ装置2は前述の通
りスーパファインの最高解像度を備えているが、大部分
のパソコン4の最高解像度は上記のようにファインであ
るため、ファクシミリ装置2とパソコン4との間におい
ては、解像度は一般にファインに決定される。
Although the facsimile apparatus 2 of this embodiment has the highest superfine resolution as described above, the highest resolution of most of the personal computers 4 is fine as described above. In between, the resolution is generally determined to be fine.

【0064】したがって、ファクシミリ装置2がパソコ
ン4から送出された画像データを相手装置114に送出
する場合には、たとえ相手装置114がスーパファイン
の解像度を備えていても解像度はファインに決定され
る。この場合には、ファクシミリ装置2の最高解像度が
ファインであるとされ、それに基づいて解像度が決定さ
れるのである。
Therefore, when the facsimile machine 2 sends the image data sent from the personal computer 4 to the partner device 114, the resolution is determined to be fine even if the partner device 114 has a super fine resolution. In this case, the highest resolution of the facsimile apparatus 2 is determined to be fine, and the resolution is determined based on the highest resolution.

【0065】このようにして2つのファクシミリ装置間
で解像度が決定された際、原画像の再現性を保証するた
めに、画像読取装置42の読取最小単位と記録装置29
のドット形成点の大きさとの違いや最高解像度の違いに
応じて画像データの処理を行うことが必要になる場合が
ある。また、ファクシミリ装置2とパソコン4との間に
おいても最高解像度の違いにより画像データの処理が必
要となる場合がある。まず、ファクシミリ装置2がパソ
コン4から送出された画像データを受信し、その画像デ
ータを記録装置29によって記録する場合について説明
する。
When the resolution is determined between the two facsimile apparatuses in this way, in order to guarantee the reproducibility of the original image, the minimum reading unit of the image reading apparatus 42 and the recording apparatus 29
It may be necessary to process image data according to the difference between the dot formation point size and the maximum resolution. Further, there is a case where processing of image data is required between the facsimile machine 2 and the personal computer 4 due to a difference in the maximum resolution. First, a case where the facsimile apparatus 2 receives image data sent from the personal computer 4 and records the image data by the recording device 29 will be described.

【0066】この場合には、解像度はファインに決定さ
れ、ファクシミリ装置2は、ファインで作成された画像
データを受信する。記録する場合には、走査線方向に関
しては各ドットデータが2個のドットデータに増加させ
られ、副走査線方向に関しては1ラインのデータが2ラ
インのデータに増加させられる。
In this case, the resolution is determined to be fine, and the facsimile apparatus 2 receives the image data created in fine. In the case of recording, each dot data is increased to two dot data in the scanning line direction, and one line of data is increased to two line data in the sub-scanning line direction.

【0067】次に、ファクシミリ装置2が相手装置11
4から送出された画像データを受信し、その画像データ
をパソコン4に送出する場合について説明する。
Next, the facsimile machine 2 is connected to the partner
The case where the image data transmitted from the PC 4 is received and the image data is transmitted to the personal computer 4 will be described.

【0068】ファクシミリ装置2と相手装置114との
間の解像度がスーパファインに設定された場合には、フ
ァクシミリ装置2において副走査線方向のラインデータ
が1行おきに抽出されてパソコン4に送出される。相手
装置114との間で解像度がファインに設定された場合
にはデータの処理は不要である。
When the resolution between the facsimile apparatus 2 and the partner apparatus 114 is set to super fine, line data in the sub-scanning line direction is extracted every other line in the facsimile apparatus 2 and sent to the personal computer 4. You. If the resolution is set to fine with the partner device 114, data processing is unnecessary.

【0069】また、ファクシミリ装置2の画像読取装置
42が読み取った画像データをパソコン4に送出する場
合については、解像度がファインに設定されるため、画
像データの処理は不要である。
When the image data read by the image reading device 42 of the facsimile machine 2 is sent to the personal computer 4, the resolution is set to fine, so that the processing of the image data is unnecessary.

【0070】なお、相手装置114やパソコン4がスタ
ンダードの解像度しか備えていない場合にも、同様に、
画像データの処理が行われる。
When the partner device 114 or the personal computer 4 has only the standard resolution, similarly,
Image data processing is performed.

【0071】例えば、ファクシミリ装置2が相手装置1
14から受信した画像データの解像度がスーパファイン
であり、パソコン4の最高解像度がスタンダードであれ
ば、副走査線方向において4ラインのデータから1ライ
ンのデータが抽出され、相手装置114から送出された
画像データの解像度がファインであれば、2ラインのデ
ータから1ラインのデータが抽出されて、パソコン4に
送出される。
For example, the facsimile machine 2 is
If the resolution of the image data received from 14 is super fine and the highest resolution of the personal computer 4 is the standard, one line of data is extracted from the four lines of data in the sub-scanning line direction and transmitted from the partner device 114. If the resolution of the image data is fine, one line of data is extracted from the two lines of data and sent to the personal computer 4.

【0072】また、パソコン4からファクシミリ装置2
に送出されたファインの解像度の画像データが、スタン
ダードの最高解像度を有する相手装置114に送出され
る場合には、2ラインのデータから1ラインのデータが
抽出される。
Also, the facsimile device 2
In the case where the fine resolution image data sent to the destination device 114 having the highest standard resolution is sent, one line of data is extracted from the two lines of data.

【0073】用紙幅について説明する。The paper width will be described.

【0074】ファクシミリ装置2における最大用紙幅は
画像読取装置42が読み取り得る最大の原稿の幅であ
り、記録装置29が記録し得る最大の記録用紙の幅でも
あって、本実施例ではB4サイズである。また、パソコ
ン4における最大用紙幅はスクロールを含めて表示器1
16に表示し得る最大の画像の幅であり、ここではA4
サイズである。
The maximum paper width in the facsimile apparatus 2 is the maximum width of a document that can be read by the image reading device 42 and the maximum width of the recording paper that can be recorded by the recording device 29. In this embodiment, the maximum width is B4 size. is there. In addition, the maximum paper width in the personal computer 4 includes the display 1
16 is the maximum width of the image that can be displayed.
Size.

【0075】ファクシミリ装置2と相手装置114との
間およびファクシミリ装置2とパソコン4との間のいず
れにおいても、用紙幅は、送出される画像データの用紙
幅が受信側の最大用紙幅より小さければその送出される
画像データの用紙幅に決定され、受信側の最大用紙幅よ
り大きければ最大用紙幅に決定される。
In any case between the facsimile apparatus 2 and the partner apparatus 114 and between the facsimile apparatus 2 and the personal computer 4, if the paper width of the image data to be transmitted is smaller than the maximum paper width on the receiving side. The paper width of the transmitted image data is determined, and if it is larger than the maximum paper width on the receiving side, the maximum paper width is determined.

【0076】そのため、ファクシミリ装置2と相手装置
114との間で決定された用紙幅とファクシミリ装置2
とパソコン4との間で決定された用紙幅とが異なる場合
や、画像読取装置42によって読み取られた原稿90の
用紙幅とパソコン4との間で決定された用紙幅とが異な
る場合等には画像データの処理が必要となる。
Therefore, the paper width determined between the facsimile machine 2 and the partner apparatus 114 and the facsimile machine 2
When the paper width determined between the personal computer 4 and the personal computer 4 differs, or when the paper width of the original 90 read by the image reading device 42 differs from the paper width determined between the personal computer 4, etc. Processing of image data is required.

【0077】例えば、ファクシミリ装置2において受信
した画像データがB4サイズ用であり、それをA4サイ
ズ用の画像データに縮小処理する必要がある場合には、
B4サイズ用の画像データの幅方向(走査方向)の5個
のドットデータから4個が抽出され、長さ方向(副走査
方向)の5ラインのデータから4ラインのデータが抽出
され。
For example, if the image data received by the facsimile apparatus 2 is for B4 size, and it is necessary to reduce it to A4 size image data,
Four dots are extracted from five dot data in the width direction (scanning direction) of B4 size image data, and four lines of data are extracted from five lines of data in the length direction (sub-scanning direction).

【0078】本実施例においては、これら用紙幅の相違
と解像度の相違とによって必要になる画像データの処理
がまとめて行われるようになっている。用紙幅の相違に
よるデータの縮小率と、解像度の相違によるデータの抽
出率とに基づいて、走査方向および副走査方向における
ドットデータの抽出率が決定されるのである。
In the present embodiment, the processing of the image data required by the difference in the sheet width and the difference in the resolution is collectively performed. The dot data extraction rate in the scanning direction and the sub-scanning direction is determined based on the data reduction rate due to the difference in paper width and the data extraction rate due to the difference in resolution.

【0079】なお、本実施例において用紙幅は、送出さ
れる画像データの用紙幅が受信側の最大用紙幅より大き
い場合にのみ、送出される画像データの用紙幅とは違う
(小さい)用紙幅に決定されるため、画像拡大のための
データ増加処理が行われることはない。また、解像度に
関しても、ファクシミリ装置2の記録装置29におい
て、ドットデータが増加させられることはあるものの、
データ送信時には解像度が送信側と受信側との最高解像
度のうちの低い方に決定されるため、データ送信のため
にドットデータを増加する必要はないのである。
In this embodiment, the paper width is different (smaller) from the paper width of the image data to be transmitted only when the paper width of the image data to be transmitted is larger than the maximum paper width of the receiving side. , The data increase processing for image enlargement is not performed. Regarding the resolution, the dot data may be increased in the recording device 29 of the facsimile machine 2,
At the time of data transmission, the resolution is determined to be the lower one of the maximum resolutions of the transmission side and the reception side, so that it is not necessary to increase the dot data for data transmission.

【0080】符号化方式について説明する。The encoding system will be described.

【0081】ファクシミリデータの送信においてデジタ
ルデータの符号化方式には、MMR(Modified MR)方
式,MR(Modified READ(Relative Element Address D
esignate) )方式,MH(Modified Huffman) 方式の3
種類があり、MMR方式が最もデータ数が少なく、高度
な符号化方式であり、MR方式が次に高度な符号化方式
である。
In the transmission of facsimile data, the encoding method of digital data includes an MMR (Modified MR) method and an MR (Modified READ (Relative Element Address D).
esignate)) and MH (Modified Huffman)
There are several types, and the MMR method is the most advanced coding method with the least number of data, and the MR method is the next most advanced coding method.

【0082】本実施例においてファクシミリ装置2の符
号化方式はMMR方式,MR方式およびMH方式であ
り、パソコン4の符号化方式はMH方式である。
In the present embodiment, the encoding system of the facsimile apparatus 2 is the MMR system, MR system and MH system, and the encoding system of the personal computer 4 is the MH system.

【0083】符号化方式も送信側と受信側とに共通の符
号化方式のうちの最高度の符号化方式に決定される。フ
ァクシミリ装置2が相手装置114から受信した画像デ
ータをパソコン4に送出する場合、あるいはパソコン4
から受信した画像データを相手装置114に送出する場
合に、両装置の符号化方式が同じであれば符号化方式の
変換の必要はなく、ファクシミリ装置2は受信した符号
化データをそのまま送出する。しかし、両符号化方式が
異なる場合には、ファクシミリ装置2は受信した符号化
データを一旦復号化してドットデータとし、送信相手と
の間で決定した符号化方式で符号化した上で送信する。
The encoding method is also determined to be the highest encoding method among the encoding methods common to the transmitting side and the receiving side. When the facsimile apparatus 2 sends the image data received from the partner apparatus 114 to the personal computer 4,
When transmitting the image data received from the other device 114 to the partner device 114, if the coding systems of the two devices are the same, there is no need to change the coding system, and the facsimile device 2 transmits the received coded data as it is. However, when the two encoding systems are different, the facsimile apparatus 2 once decodes the received encoded data into dot data, encodes the data with the encoding system determined with the transmission partner, and transmits the dot data.

【0084】ファクシミリ装置2の上面の前部に設けら
れた操作パネル12を図3に示す。操作パネル12の後
部には、表示器150,ファインランプ151,スーパ
ファインランプ152,オート(AUTO) ランプ154,
ファックス/テル(F/T)ランプ156,留守番電話内蔵
(MC)ランプ158等が設けられ、前部には、テンキー1
60,スタートキー162,ストップキー164等が設
けられている。また、中間部には、ファンクションキー
174,セットキー176,クリアキー178,レゾル
ーションキー180,カーソルキー182,184,着
信モードキー186,フックキー188等が設けられて
いる。
FIG. 3 shows an operation panel 12 provided at the front of the upper surface of the facsimile machine 2. At the rear of the operation panel 12, a display 150, a fine lamp 151, a super fine lamp 152, an auto (AUTO) lamp 154,
Fax / Tel (F / T) lamp 156, built-in answering machine
(MC) lamp 158 and the like are provided.
60, a start key 162, a stop key 164, and the like. Further, a function key 174, a set key 176, a clear key 178, a resolution key 180, a cursor key 182, 184, an incoming call mode key 186, a hook key 188 and the like are provided in an intermediate portion.

【0085】表示器150には、ファクシミリ装置2の
状態や操作手順等が表示される。テンキー160は、送
信相手先のファクシミリ装置のファクシミリ番号を入力
する場合の他、ファクシミリ装置が有する機能を選択す
るために操作される。
The display 150 displays the status of the facsimile machine 2, the operation procedure, and the like. The ten-key 160 is operated to select a function of the facsimile apparatus in addition to inputting a facsimile number of a facsimile apparatus of a transmission destination.

【0086】スタートキー162は、ファクシミリ情報
の送信開始,受信開始や記録開始を指示するキーであ
る。ストップキー164は、機能の選択の停止等を指示
したり、機能の実行の中断を指示したりするためのキー
である。
The start key 162 is a key for instructing the start of transmission, reception and recording of facsimile information. The stop key 164 is a key for giving an instruction to stop selection of a function or for giving an instruction to interrupt execution of a function.

【0087】カーソルキー182,184は、表示器1
50内のカーソルを移動させる場合や、機能の選択を行
う場合等に操作されるキーである。
The cursor keys 182 and 184 are
These keys are operated to move the cursor in 50 or to select a function.

【0088】また、ファンクションキー174は、ファ
クシミリ装置2において実行可能な種々の機能の表示開
始等を指示するキーであり、機能の選択がテンキー16
0やカーソルキー182,184等の操作によって行わ
れる。セットキー176は、機能の選択の決定等を指示
する場合に操作するキーであり、クリアキー178は、
機能の選択の解除等を指示するためのキーである。
A function key 174 is a key for instructing the start of display of various functions executable in the facsimile apparatus 2 and the like.
This operation is performed by operating 0, cursor keys 182, 184, and the like. The set key 176 is a key that is operated when instructing the selection of a function or the like, and the clear key 178 is
These keys are used to instruct release of function selection and the like.

【0089】レゾルションキー180は、ファクシミリ
装置2の画像読取装置42における解像度を選択するた
めのキーである。解像度は初期設定によってスタンダー
ドに設定される。その場合には、ファインランプ15
1,スーパファインランプ152のいずれも点灯させら
れない。レゾルションキー180の1回の押下でファイ
ンに設定され、ファインランプ151が点灯させられ
る。レゾルションキー180の2回の押下でスーパファ
インに設定されて、ファインランプ151が消灯させら
れ、スーパファインランプ152が点灯させられる。さ
らに、3回押下すれば、中間調に設定され、両方のラン
プ151,152が点灯させられて中間調の設定が表示
される。中間調の階調レベルは、ファンクションキー1
74,テンキー160およびカーソルキー182,18
4等の操作によって16階調と32階調とのいずれか一
方に設定される。
The resolution key 180 is a key for selecting a resolution in the image reading device 42 of the facsimile machine 2. The resolution is set to standard by default. In that case, the fine lamp 15
1. Neither of the superfine lamps 152 is turned on. One press of the resolution key 180 sets fine, and the fine lamp 151 is turned on. By pressing the resolution key 180 twice, super fine is set, the fine lamp 151 is turned off, and the super fine lamp 152 is turned on. Further, when the button is pressed three times, the halftone is set, and both lamps 151 and 152 are turned on to display the halftone setting. Function key 1
74, ten keys 160 and cursor keys 182, 18
By the operation of 4 or the like, one of 16 gradations and 32 gradations is set.

【0090】着信モードキー186は、ファクシミリ装
置2を、自動受信(AUTO)モード,マニュアル(MANUAL)モ
ード,ファックス/テル(FAX/TEL) 切換えモード,外付
け留守番録音(TAD) モード、および内蔵留守番録音(MC)
モードのいずれのモードで使用するかを選択するキーで
ある。AUTOモードはデータを自動的に受信するモー
ドであり、MANUALモードはデータを使用者のキー
操作に基づいて受信するモードである。FAX/TEL
切換えモード(F/Tモードと称する)は、1本の電話
回線で送信されて来たデータがファクシミリデータであ
れば自動受信し、音声データであれば受話器11を取っ
て通話することができるモードである。TADモード
は、留守番電話モードであって、電話をかけて来た相手
が話す用件メッセージがファクシミリ装置2に外付けさ
れた外付留守番録音装置190(図4参照)により録音
されるモードであり、MCモードも留守番電話モードで
あって、上記用件メッセージがファクシミリ装置2に内
蔵された内蔵留守番録音装置192(図4参照)により
録音されるモードである。
The incoming call mode key 186 is used for operating the facsimile machine 2 in an automatic reception (AUTO) mode, a manual (MANUAL) mode, a facsimile / tel (FAX / TEL) switching mode, an external answering machine recording (TAD) mode, and a built-in answering machine. Recording (MC)
This key is used to select one of the modes. The AUTO mode is a mode for automatically receiving data, and the MANUAL mode is a mode for receiving data based on a key operation of a user. FAX / TEL
The switching mode (referred to as F / T mode) is a mode in which if the data transmitted by one telephone line is facsimile data, the data is automatically received, and if the data is voice data, the receiver 11 can be picked up to talk. It is. The TAD mode is an answering machine mode, in which a message message spoken by a caller is recorded by an external answering machine 190 (see FIG. 4) attached to the facsimile machine 2. , MC mode is also an answering machine mode, in which the message is recorded by a built-in answering machine recorder 192 (see FIG. 4) incorporated in the facsimile apparatus 2.

【0091】フックキー188は回線の閉結を指示する
キーであり、オンフック状態でフックキー188が1回
押下されれば回線が閉結され、2回押下されれば回線が
開放される。また、受話器11はオンフック状態にある
が、回線が閉結されてスピーカ226を通して回線状態
がオペレータにわかるモニタ状態では、フックキー18
8が1回押下されれば回線が開放される。
The hook key 188 is a key for instructing the closing of the line. When the hook key 188 is pressed once in the on-hook state, the line is closed, and when the hook key 188 is pressed twice, the line is opened. The receiver 11 is in an on-hook state, but in a monitor state in which the line is closed and the operator can know the line state through the speaker 226, the hook key 18 is turned on.
If 8 is pressed once, the line is released.

【0092】AUTOモードが選択されればAUTOラ
ンプ154が点灯され、F/Tモードが選択されればF
/Tランプ156が点灯され、MANUALモードが選
択された場合にはいずれも点灯されず、TADモードが
選択された場合には両ランプ154,156が点灯さ
れ、MCモードが選択された場合にはMCランプ158
が点灯される。
When the AUTO mode is selected, the AUTO lamp 154 is turned on, and when the F / T mode is selected, the F / T mode is turned on.
The / T lamp 156 is lit, and neither is lit when the MANUAL mode is selected, both lamps 154, 156 are lit when the TAD mode is selected, and when the MC mode is selected. MC lamp 158
Lights up.

【0093】ファクシミリ装置2は、相手装置114か
ら送信されて来るファクシミリデータを、紙出力モー
ド,PC・ONLYモード,PC優先モードのうちのい
ずれか1つのモードで受信する。
The facsimile apparatus 2 receives the facsimile data transmitted from the partner apparatus 114 in one of the paper output mode, the PC ONLY mode, and the PC priority mode.

【0094】紙出力モードは、受信されたファクシミリ
データに含まれている画像データを記録紙17に記録し
て出力するモードであり、PC・ONLYモードはパソ
コン4が受信可能な場合にはパソコン4にファクシミリ
データを受信させるが、受信不可能な場合にはファクシ
ミリ装置2がファクシミリデータを後述するバッファに
格納するモードである。PC優先モードは、パソコン4
が受信可能な場合にはパソコン4にファクシミリデータ
を受信させるが、受信不可能な場合にはファクシミリデ
ータを記録装置29に記録させるモードである。
The paper output mode is a mode in which image data included in the received facsimile data is recorded on the recording paper 17 and output. The PC / ONLY mode is a mode in which the personal computer 4 can receive data. In this mode, the facsimile apparatus 2 stores the facsimile data in a buffer described later when the facsimile data cannot be received. PC priority mode is for PC 4
In this mode, the facsimile data is received by the personal computer 4 when facsimile data is receivable, but the facsimile data is recorded on the recording device 29 when facsimile data cannot be received.

【0095】ファンクションキー174の押下により、
ファクシミリ装置2により実行可能な複数の機能が表示
器150に交互に表示される。出力モード設定が表示さ
れた状態でセットキー176が押下されれば出力モード
の設定が選択され、カーソルキー186,188が操作
される毎に上記3つの出力モードが1つずつ順次表示器
150に表示される。所望の出力モードが表示された状
態でセットキー176が押下されれば、出力モードがカ
ーソルキー186,188の押下により選択されたモー
ドに確定される。
When the function key 174 is pressed,
A plurality of functions executable by the facsimile apparatus 2 are alternately displayed on the display 150. If the set key 176 is pressed while the output mode setting is displayed, the setting of the output mode is selected. Each time the cursor keys 186 and 188 are operated, the three output modes are sequentially displayed on the display 150 one by one. Is displayed. If the set key 176 is pressed while the desired output mode is displayed, the output mode is set to the selected mode by pressing the cursor keys 186 and 188.

【0096】ファクシミリ装置2の下部に設けられた制
御装置40は、図4に示すように、処理装置としてのC
PU200、記憶装置としてのRAM202,ROM2
04,EEPROM206、入出力ポート(以下、I/
Oポートと称する。)210およびバス211の他に、
送信・受信制御回路212、モデム214等を備えたも
のである。また、CPU200は、DMAC208,後
述するパラレル/シリアル変換回路240等を備えたも
のである。
As shown in FIG. 4, a control device 40 provided below the facsimile device 2 has a C
PU 200, RAM 202 as storage device, ROM 2
04, EEPROM 206, input / output port (hereinafter, I / O port)
Called O port. ) 210 and bus 211,
It includes a transmission / reception control circuit 212, a modem 214, and the like. The CPU 200 includes a DMAC 208, a parallel / serial conversion circuit 240 described later, and the like.

【0097】DMAC208は、RAM202とI/O
ポート210との間のデータの転送等をCPU200を
経ないで行うよう制御するものである。DMAC208
は、CPU200に転送要求信号を47番の端子を介し
て発し、それに対して転送を許可する転送許可信号がD
MAC208に発せられると、RAM202,EEPR
OM206からI/Oポート210へ、あるいは、I/
Oポート210からRAM202へのデータの直接転送
(Direct Memory Access)を指示するのである。また、I
/Oポート210には、記録紙センサ20,トナー残量
検出装置80,原稿台センサ98,原稿センサ99,操
作パネル12等が接続されるとともに、インタフェース
・ボックス6を介してパソコン4が、ネットワークコン
トロールユニット(以下、NCUと略称する)222を
介して外部回線224がそれぞれ接続されている。NC
U222には、前記受話器11,外付留守番電話19
0,スピーカ226が接続されている。I/Oポート2
10にはまた、2値化回路228,記録装置29等が接
続されるとともに、駆動回路230,231,233を
介して、原稿送り装置96,呼出音発生装置232,内
蔵留守番録音装置192が接続されている。
The DMAC 208 has a RAM 202 and an I / O
It controls the transfer of data to and from the port 210 without passing through the CPU 200. DMAC208
Issues a transfer request signal to the CPU 200 via the terminal No. 47, and a transfer permission signal for permitting the transfer is sent to the CPU 200.
When issued to the MAC 208, the RAM 202, EEPR
OM 206 to I / O port 210 or I / O port
Direct transfer of data from O port 210 to RAM 202
(Direct Memory Access). Also, I
The I / O port 210 is connected to the recording paper sensor 20, the toner remaining amount detecting device 80, the document table sensor 98, the document sensor 99, the operation panel 12, etc., and the personal computer 4 is connected to the network via the interface box 6. External lines 224 are connected via control units (hereinafter abbreviated as NCUs) 222, respectively. NC
U222 includes the receiver 11 and the external answering machine 19
0, the speaker 226 is connected. I / O port 2
10, a binarizing circuit 228, a recording device 29, and the like are connected, and a document feeder 96, a ringing tone generator 232, and a built-in answering machine 192 are connected via driving circuits 230, 231, 233. Have been.

【0098】2値化回路228は、画像読取装置42に
よって読み取られた読取画像データを2値化データに変
換する回路である。すなわち、CCDから供給されるア
ナログの出力電圧値がEEPROM206から供給され
るしきい値データ(2値化回路218においてディジタ
ル値からアナログ信号に変換される)より大きいか否か
が判定され、大きい場合には0(白),小さい場合には
黒(1)とされることによって2値化データが作成され
るのである。また、レゾルーションキー180の操作に
よって中間調が選択された場合には、ディザマトリック
スに基づいて2値化データに変換される。
The binarizing circuit 228 is a circuit for converting the read image data read by the image reading device 42 into binary data. That is, it is determined whether or not the analog output voltage value supplied from the CCD is greater than threshold data (converted from a digital value to an analog signal in the binarization circuit 218) supplied from the EEPROM 206. Is set to 0 (white), and if smaller, black (1), binary data is created. When halftone is selected by operating the resolution key 180, the data is converted into binary data based on the dither matrix.

【0099】画像読取装置42においては、光源100
の原稿90に対する照度むら(例えば、原稿の中央部は
明るく周辺部が暗いというように)がある。そのため、
CCDの出力電圧値は、原稿90上の各画素の濃淡に正
確には対応しない場合がある。この不都合に対処するた
めに、ファクシミリ装置2においては、しきい値が照度
むら等に応じて決定され、EEPROM206にテーブ
ル化されて記憶されているのである。
In the image reading device 42, the light source 100
(For example, the central part of the original is bright and the peripheral part is dark). for that reason,
The output voltage value of the CCD may not accurately correspond to the density of each pixel on the document 90 in some cases. In order to deal with this inconvenience, in the facsimile apparatus 2, the threshold value is determined according to the illuminance unevenness and the like, and is stored in a table in the EEPROM 206.

【0100】このしきい値データのEEPROM206
からI/Oポート210への供給はDMAC208の制
御によって行われる。
The EEPROM 206 of the threshold data
Are supplied to the I / O port 210 under the control of the DMAC 208.

【0101】ファクシミリ装置2においては、画像読取
装置42によって原稿90の1行分の画像が約2.5ms
で読み取られる。また、A4サイズの原稿90の1行は
1728個の画素で構成される。そのため、8画素分を
読み取るのに要する時間は約10μs {(1ライン読み
取るのに要する時間2.5ms)÷(A4の幅方向の画素
数1728÷8)}となる。したがって、2値化回路2
28にはしきい値データが10μsごとに供給されるこ
とになる。
In the facsimile apparatus 2, the image of one line of the original 90 is scanned by the image reading device 42 for about 2.5 ms.
Is read in. One row of the A4 size original 90 is composed of 1,728 pixels. Therefore, the time required to read eight pixels is about 10 μs {(the time required to read one line is 2.5 ms)} (the number of pixels in the width direction of A4 is 1728/8). Therefore, the binarization circuit 2
28, threshold data is supplied every 10 μs.

【0102】パラレル/シリアル変換回路240は、フ
ァクシミリ装置2からパソコン4に画像データを送出す
る際に、その画像データをシリアル変換したり、逆に、
パソコン4からファクシミリ装置2に送出された符号化
画像データをパラレル変換したりする回路である。
The parallel / serial conversion circuit 240 converts the image data into serial data when the image data is transmitted from the facsimile apparatus 2 to the personal computer 4, or conversely,
This is a circuit for parallel-converting the encoded image data sent from the personal computer 4 to the facsimile apparatus 2.

【0103】本実施例においては、8ビットのパラレル
データをシリアルデータに変換するために、約1msの間
クロックがパラレル/シリアル変換回路240に供給さ
れる。ファクシミリ装置2とパソコン4との間における
伝送速度は9600bps (ビット/秒)とされているの
で、8ビットのデータがシリアル変換されるには約1ms
(1÷9600×8)かかるからである。
In this embodiment, a clock is supplied to the parallel / serial conversion circuit 240 for about 1 ms in order to convert 8-bit parallel data into serial data. Since the transmission speed between the facsimile apparatus 2 and the personal computer 4 is 9600 bps (bits / second), it takes about 1 ms to convert 8-bit data into serial data.
(1 か か る 9600 × 8).

【0104】このクロックは、前述のCPU200の4
7番のクロック入出力端子を介して供給される。
This clock is output from the CPU 200
It is supplied via the 7th clock input / output terminal.

【0105】この47番のクロック入出力端子は、前述
のように、DMAC208からCPU200への転送要
求信号の供給にも使用されるため、DMAC208とパ
ラレル/シリアル変換回路240との両方に共用される
ことになる。これらDMAC208とパラレル/シリア
ル変換回路240との切換えはマルチプレクサによって
行われるが、47番のクロック入出力端子は前述のよう
にパラレル/シリアル変換回路240によって最低1ms
の間は専有されてしまうため、マルチプレクサによるこ
れらの切換えを1msより短いサイクルで行うことは不可
能である。それに対して、I/Oポート210には、1
0μs ごとにしきい値データを供給しなければならな
い。そのため、画像読取装置42による読取りと送出画
像データの送出とを並行して行うことは不可能である。
Since the 47th clock input / output terminal is also used to supply a transfer request signal from the DMAC 208 to the CPU 200 as described above, it is shared by both the DMAC 208 and the parallel / serial conversion circuit 240. Will be. Switching between the DMAC 208 and the parallel / serial conversion circuit 240 is performed by a multiplexer. The 47th clock input / output terminal is at least 1 ms by the parallel / serial conversion circuit 240 as described above.
It is impossible to perform these switchings by the multiplexer in a cycle shorter than 1 ms, since they are occupied during the period. In contrast, I / O port 210 has 1
Threshold data must be supplied every 0 μs. Therefore, it is impossible to perform the reading by the image reading device 42 and the sending of the sending image data in parallel.

【0106】一方、2値化された画像データのI/Oポ
ート210からRAM202への転送もDMAC208
の指令によって行われるが、この指令はI/Oポート2
10の予め定められたゲートアレイに画像データが8ビ
ット分供給されると発せられるようになっている。
The transfer of the binarized image data from the I / O port 210 to the RAM 202 is also performed by the DMAC 208.
This command is issued by the I / O port 2
It is issued when eight bits of image data are supplied to ten predetermined gate arrays.

【0107】また、パラレル/シリアル変換回路240
へのクロックの供給は、CPU200のクロック開始指
令によって開始され、終了指令によって終了される。そ
のため、CPU200は、パラレル/シリアル変換回路
240へのクロックの供給中においては他のプログラム
等を実行することが可能である。
The parallel / serial conversion circuit 240
The clock supply to the CPU 200 is started by a clock start command from the CPU 200 and is ended by an end command. Therefore, the CPU 200 can execute other programs while the clock is being supplied to the parallel / serial conversion circuit 240.

【0108】そこで、制御装置40においては、パラレ
ル/シリアル変換回路240へのクロックの供給と並行
して、ROM204のメモリに格納された後述のプログ
ラムに基づく画像データの符号化が行われるようになっ
ている。
Therefore, in the control device 40, in parallel with the supply of the clock to the parallel / serial conversion circuit 240, the encoding of the image data based on the program described later stored in the memory of the ROM 204 is performed. ing.

【0109】また、パラレル/シリアル変換回路240
には、図4に示すように、データ受信割込禁止フラグ2
43,データ送信禁止割込フラグ244,P/S受信デ
ータバッファ246,P/S送信データバッファ248
が設けられている。I/Oポート210の決められたゲ
ートアレーから入力されたパソコン4から送信された画
像データやコマンドデータは、パラレル/シリアル変換
回路240によってパラレル変換された後、P/S受信
データバッファ246に格納される。また、P/S送信
データバッファ248に格納された画像データやコマン
ドデータは、シリアル変換された後、I/Oポート21
0の決められたポートからパソコン4へ送信されるので
ある。
The parallel / serial conversion circuit 240
As shown in FIG. 4, the data reception interrupt prohibition flag 2
43, data transmission inhibition interrupt flag 244, P / S reception data buffer 246, P / S transmission data buffer 248
Is provided. Image data and command data transmitted from the personal computer 4 input from the determined gate array of the I / O port 210 are converted into parallel data by the parallel / serial conversion circuit 240 and then stored in the P / S reception data buffer 246. Is done. The image data and command data stored in the P / S transmission data buffer 248 are converted into serial data,
The data is transmitted to the personal computer 4 from the determined port of 0.

【0110】送信・受信制御回路212は、ファクシミ
リ装置2と相手装置114とが外部回線224で接続さ
れた場合に、相手装置114との間において、双方のフ
ァクシミリ番号、解像度等交信関連情報の交換を行う回
路である。
When the facsimile apparatus 2 and the partner apparatus 114 are connected via the external line 224, the transmission / reception control circuit 212 exchanges both facsimile numbers, resolutions, and other communication-related information with the partner apparatus 114. Circuit.

【0111】また、モデム214は、デジタル信号をア
ナログ信号に変調し、NCU222を介して外部回線2
24に出力するとともに、外部回線224からNCU2
22を介して入力されたアナログ信号をデジタル信号に
復調するものである。そのため、変調・復調機構234
を有し、また、送信されて来る音声アナログデータを音
声に再生する音声再生機構236を有する。これら変調
・復調機構234,音声再生機構236,NCU222
および前記受話器11等が電話機を構成している。
The modem 214 modulates a digital signal into an analog signal, and outputs the modulated signal to the external line 2 via the NCU 222.
24, and from the external line 224 to the NCU 2
The analog signal input via the input terminal 22 is demodulated into a digital signal. Therefore, the modulation / demodulation mechanism 234
And an audio reproducing mechanism 236 for reproducing the transmitted audio analog data into audio. The modulation / demodulation mechanism 234, the audio reproduction mechanism 236, and the NCU 222
The receiver 11 and the like constitute a telephone.

【0112】モデム214にはさらに、後述するように
相手装置114との間でファクシミリデータを送信する
際に使用されるモデム送信データバッファ238,モデ
ム受信データバッファ239,データ受信割込禁止フラ
グ241,データ送信割込禁止フラグ242が設けられ
ている。NCU222は、データ受信時には、外部回線
224からの発呼に対して自動的に着信し、データ送出
時には相手先に対して自動的に発呼するものである。相
手先の番号を表すデジタルデータは、CPU200から
I/Oポート210を通ってNCU222に供給され
る。
The modem 214 further includes a modem transmission data buffer 238, a modem reception data buffer 239, a data reception interrupt prohibition flag 241, and a modem reception data buffer 239 used for transmitting facsimile data with the partner apparatus 114 as described later. A data transmission interrupt prohibition flag 242 is provided. The NCU 222 automatically receives an incoming call for a call from the external line 224 when receiving data, and automatically calls a destination when sending data. Digital data representing the number of the other party is supplied from the CPU 200 to the NCU 222 through the I / O port 210.

【0113】呼出音発生装置232は、相手装置114
や電話機から呼出信号が送られてきたとき、制御装置4
0からの指令に基づいて駆動回路231を介して供給さ
れる電圧によって呼出音を発生するものである。駆動回
路231は、呼出信号に対応して電圧を供給したり、供
給停止したりする。
[0113] The ringing tone generator 232 is
When a call signal is sent from a telephone or a telephone, the control device 4
A ringing tone is generated by a voltage supplied via the drive circuit 231 based on a command from 0. The drive circuit 231 supplies or stops supplying the voltage in response to the calling signal.

【0114】前記RAM202には、図5に示すよう
に、PC側受信データバッファ250,PC側送信デー
タバッファ252,FAX側受信データバッファ25
4,FAX側送信データバッファ256,読取画像デー
タバッファ258,記録一時バッファ260,記録バッ
ファ262,PC伝送パラメータバッファ263,自己
ファクシミリ番号バッファ264,ダイヤルバッファ2
66,1頁データ用バッファ277,復号化用バッファ
270,符号化用バッファ271,画像データ受信時伝
送パラメータバッファ290,PCデータ送信フラグ2
68,DLEフラグ272,キャンセルフラグ274,
プリントフラグ276,PC・TELフラグ278,受
信準備完了フラグ280,FAX着信フラグ282,紙
出力フラグ284,代行フラグ286,PC送信フラグ
288,紙出力モード時代行受信フラグ292,PC・
ONLYモード時代行受信フラグ294,PC優先モー
ド時代行受信フラグ296,タイムアップフラグ29
8,フラグA,フラグB,フラグC,フラグD,フラグ
E,0フィルデータカウンタ340,0データカウンタ
342,ラインカウンタ344,画像データビット数カ
ウンタ346,エラーラインカウンタ348等が設けら
れている。
As shown in FIG. 5, the RAM 202 includes a PC-side reception data buffer 250, a PC-side transmission data buffer 252, and a FAX-side reception data buffer 25.
4, FAX side transmission data buffer 256, read image data buffer 258, recording temporary buffer 260, recording buffer 262, PC transmission parameter buffer 263, self facsimile number buffer 264, dial buffer 2
66, one-page data buffer 277, decoding buffer 270, encoding buffer 271, image data reception transmission parameter buffer 290, PC data transmission flag 2
68, DLE flag 272, cancel flag 274,
Print flag 276, PC / TEL flag 278, reception ready flag 280, FAX incoming flag 282, paper output flag 284, proxy flag 286, PC transmission flag 288, paper output mode era line reception flag 292, PC
ONLY mode period reception flag 294, PC priority mode period reception flag 296, time-up flag 29
8, a flag A, a flag B, a flag C, a flag D, a flag E, a 0 fill data counter 340, a 0 data counter 342, a line counter 344, an image data bit number counter 346, an error line counter 348 and the like are provided.

【0115】ファクシミリ装置2がパソコン4から受信
して相手装置114に送信するPCデータはFAX側送
信データバッファ256に格納され、ファクシミリ装置
2が相手装置114から受信したファクシミリデータは
FAX側受信データバッファ254に格納される。ま
た、ファクシミリ装置2がパソコン4に送信するファク
シミリデータはPC側送信データバッファ252に格納
され、ファクシミリ装置2がパソコン4から受信して記
録するPCデータやコマンドはPC側受信データバッフ
ァ250に格納される。
The PC data received by the facsimile apparatus 2 from the personal computer 4 and transmitted to the partner apparatus 114 is stored in the facsimile transmission data buffer 256, and the facsimile data received by the facsimile apparatus 2 from the partner apparatus 114 is stored in the facsimile reception data buffer. 254. Facsimile data transmitted by the facsimile apparatus 2 to the personal computer 4 is stored in the PC-side transmission data buffer 252, and PC data and commands received and recorded by the facsimile apparatus 2 from the personal computer 4 are stored in the PC-side reception data buffer 250. You.

【0116】なお、RAM202には、上記各バッファ
250〜266,270,271,290,292が共
用する共用バッファが設けられている。
The RAM 202 is provided with a shared buffer shared by the buffers 250 to 266, 270, 271, 290, and 292.

【0117】また、ROM204には、符号化画像処理
プログラム,復号化画像処理プログラム,図9,図1
0,図14〜図20,図22〜図24,図26〜図40
にそれぞれ示すプログラムの各々を格納するメモリ,図
42に示す読取送出プログラムを格納するメモリ等が設
けられている。
The ROM 204 stores an encoded image processing program, a decoded image processing program, and FIGS.
0, FIGS. 14 to 20, FIGS. 22 to 24, FIGS. 26 to 40
And a memory for storing the reading and sending program shown in FIG.

【0118】一方、パソコン4は、図7に示すように、
キーボード300,表示器116,キーボード300に
接続されたマウス304,制御装置306を備えてい
る。制御装置306は、処理装置としてのCPU30
7、記憶装置としてのRAM308,ROM309およ
びそれらを接続するバス310を有し、I/Oポート3
11にキーボード300,表示器116,マウス304
等が接続されている。
On the other hand, as shown in FIG.
A keyboard 300, a display 116, a mouse 304 connected to the keyboard 300, and a control device 306 are provided. The control device 306 includes a CPU 30 as a processing device.
7. It has a RAM 308 and a ROM 309 as storage devices and a bus 310 for connecting them, and an I / O port 3
11, a keyboard 300, a display 116, and a mouse 304
Etc. are connected.

【0119】表示器116に表示された複数の機能のう
ちの1つがマウス304の操作によって選択される。キ
ーボード300には、図6に示すように、アルファベッ
トキー312,数字キー314等が設けられており、送
出先のファクシミリ番号や電話番号等を入力する場合に
操作される。
One of a plurality of functions displayed on the display 116 is selected by operating the mouse 304. As shown in FIG. 6, the keyboard 300 is provided with alphabet keys 312, numeric keys 314, and the like, which are operated when a facsimile number, a telephone number, and the like of a transmission destination are input.

【0120】パソコン4がファクシミリ装置2に接続さ
れると、表示器116には、少なくとも送信,受信,記
録,読取,電話の機能を表す表示がされる。そこで、マ
ウス304を操作板上で移動させることによって、表示
器116上のカーソルを表示器116上の使用者が意図
する機能が表示された部分に移動させ、その位置におい
て、マウス304に設けられた一方のボタンを押下すれ
ばその機能が選択され、他方のボタンを押下すればその
選択が取り消される。また、機能を選択した状態で、再
度一方のボタンを押下すれば、実行が開始される。
When the personal computer 4 is connected to the facsimile machine 2, the display 116 displays at least the functions of transmission, reception, recording, reading, and telephone. Therefore, by moving the mouse 304 on the operation panel, the cursor on the display 116 is moved to a portion on the display 116 on which the function intended by the user is displayed. Pressing one of the buttons selects the function, and pressing the other button cancels the selection. When one of the buttons is pressed again with the function selected, the execution is started.

【0121】送信機能が選択されれば、パソコン4から
PCデータがファクシミリ装置2に送出されるとともに
相手装置114へ送出される。
When the transmission function is selected, the PC data is transmitted from the personal computer 4 to the facsimile apparatus 2 and to the partner apparatus 114.

【0122】受信機能が選択されれば、相手装置114
からファクシミリ装置2に送信されて来たファクシミリ
データの受信準備が行われる。ファクシミリデータを受
信するためのプログラムが開始されるのであり、それに
よりファクシミリ装置2において出力モードがPC・O
NLYモードあるいはPC優先モードに設定されること
によりファクシミリ装置2から送信されて来るファクシ
ミリデータを受信することができる。
When the receiving function is selected, the partner device 114
The facsimile apparatus 2 prepares to receive facsimile data transmitted from the facsimile apparatus 2. A program for receiving facsimile data is started, whereby the output mode of the facsimile apparatus 2 is set to PC / O.
By setting the NLY mode or the PC priority mode, facsimile data transmitted from the facsimile apparatus 2 can be received.

【0123】パソコン4からPCデータがファクシミリ
装置2に送信されるとともに相手装置114へ送信され
る。
The PC data is transmitted from the personal computer 4 to the facsimile apparatus 2 and to the partner apparatus 114.

【0124】読取機能が選択されれば、ファクシミリ装
置2の画像読取装置42によって読み取られた画像デー
タがパソコン4に送出される。
When the reading function is selected, the image data read by the image reading device 42 of the facsimile machine 2 is sent to the personal computer 4.

【0125】記録機能が選択されれば、パソコン4から
PCデータがファクシミリ装置2に送信され、記録装置
29により記録される。
When the recording function is selected, the PC data is transmitted from the personal computer 4 to the facsimile device 2 and recorded by the recording device 29.

【0126】電話機能が選択されれば、パソコン4から
ファクシミリ装置2に電話相手が指定され、ファクシミ
リ装置2の電話機により電話がかけられる。
When the telephone function is selected, a telephone partner is designated from the personal computer 4 to the facsimile apparatus 2, and a call is made by the telephone of the facsimile apparatus 2.

【0127】RAM308には、図8に示すように、P
Cデータバッファ320,送信PCデータ名バッファ3
22,送信相手バッファ324,符号化画像データバッ
ファ326,ファクシミリデータバッファ328等が設
けられている。また、ROM309には、図12に示す
PCデータ送信指示プログラムを格納するメモリおよび
図13に示すPCデータ送出プログラムを格納するメモ
リが設けられている。前記ファクシミリ装置2と相手装
置114との間における交信は、通常、5つの交信フェ
ーズで行われる。フェーズAにおいては、呼の設定およ
び回線確立が行われ、フェーズBにおいては、データラ
イン等の状態確認および解像度や用紙幅等の伝送パラメ
ータの決定が行われる。フェーズCにおいては、画像デ
ータ等メッセージが送出され、フェーズDにおいては、
メッセージの区切りの指示と受信確認が行われる。送出
する予定のメッセージがすべて送出されていない場合に
は、フェーズBまたはフェーズCに戻され、再びメッセ
ージの送出が続けられる。フェーズBまたはフェーズC
は、送出予定メッセージの送出が完了するまで、繰り返
し実行される。また、フェーズEにおいては、呼の復旧
すなわち、回線の切断(開放)が行われる。
[0127] As shown in FIG.
C data buffer 320, transmission PC data name buffer 3
22, a transmission partner buffer 324, an encoded image data buffer 326, a facsimile data buffer 328, and the like. The ROM 309 is provided with a memory for storing the PC data transmission instruction program shown in FIG. 12 and a memory for storing the PC data transmission program shown in FIG. Communication between the facsimile apparatus 2 and the partner apparatus 114 is usually performed in five communication phases. In phase A, call setup and line establishment are performed, and in phase B, the state confirmation of data lines and the like and the determination of transmission parameters such as resolution and paper width are performed. In phase C, a message such as image data is transmitted. In phase D,
Instructions for message delimiters and receipt confirmation are performed. If all the messages to be transmitted have not been transmitted, the process returns to the phase B or the phase C, and the transmission of the message is continued again. Phase B or Phase C
Are repeatedly executed until the transmission of the transmission scheduled message is completed. In phase E, the call is restored, that is, the line is disconnected (released).

【0128】また、ファクシミリ装置2とパソコン4と
の間における交信は、呼の設定等および回線確率が不要
であるためフェーズBから開始され、4つの伝送フェー
ズで行われることになる。
Communication between the facsimile apparatus 2 and the personal computer 4 is started from phase B since call setting and the like and line probability are unnecessary, and is performed in four transmission phases.

【0129】これらフェーズA〜Eについては後に詳述
する。
The phases A to E will be described later in detail.

【0130】以上のように構成されたファクシミリ装置
2の作動を説明する。本ファクシミリ装置2においてア
イドル状態では、ファクシミリデータの送信,受信,記
録,画像読取り,電話機による通話等の機能のうちのい
ずれかの開始が待たれている。
The operation of the facsimile apparatus 2 configured as described above will be described. In the idle state of the facsimile apparatus 2, the start of any of functions such as transmission, reception, recording, image reading, and telephone communication of facsimile data is awaited.

【0131】このアイドル状態においてパソコン4から
ファクシミリ装置2へコマンドが送信されれば、ファク
シミリ装置2においてそのコマンドが取り込まれるとと
もに、コマンドの内容に対応する処理が行われる。
When a command is transmitted from the personal computer 4 to the facsimile apparatus 2 in the idle state, the facsimile apparatus 2 fetches the command and performs a process corresponding to the content of the command.

【0132】ファクシミリ装置2とパソコン4との間に
おける符号化画像データおよびコマンドの送信,受信は
割込みにより行われる。割込処理のプログラムは複数あ
り、割込信号に対して実行する割込処理プログラムを指
示するために割込ベクトルが設定される。
Transmission and reception of encoded image data and commands between the facsimile apparatus 2 and the personal computer 4 are performed by interruption. There are a plurality of interrupt processing programs, and an interrupt vector is set to indicate an interrupt processing program to be executed for an interrupt signal.

【0133】割込信号は、P/S受信データバッファ2
46に8ビットのデータが格納されたときと、P/S送
信データバッファ248が空になったときとにそれぞれ
に発せられる。割込信号の発生に対する割込処理プログ
ラムの実行は、パラレル/シリアル変換回路240に設
けられたデータ受信割込禁止フラグ243,データ送信
割込禁止フラグ244のセット,リセットによって禁
止,許可される。データ受信割込禁止フラグ243は常
時割込許可状態にされている。本実施例ではデータがい
つ送信されて来てもよいようにされているのである。
The interrupt signal is transmitted to the P / S reception data buffer 2
This is issued when 8-bit data is stored in 46 and when the P / S transmission data buffer 248 becomes empty. The execution of the interrupt processing program in response to the generation of the interrupt signal is prohibited and permitted by setting and resetting the data reception interrupt prohibition flag 243 and the data transmission interrupt prohibition flag 244 provided in the parallel / serial conversion circuit 240. The data reception interruption prohibition flag 243 is always in an interruption permission state. In this embodiment, data can be transmitted at any time.

【0134】ファクシミリ装置2からパソコン4へ画像
データあるいはコマンドを送信する場合には、通常は割
込処理プログラムの実行が禁止されており、実際の送信
時に許可されるとともに割込ベクトルの設定が行われ
る。ファクシミリ装置2がパソコン4から画像データあ
るいはコマンドを受信する場合には、受信割込処理は常
時許可されているため、割込ベクトルの設定のみが行わ
れる。
When image data or a command is transmitted from the facsimile machine 2 to the personal computer 4, the execution of the interrupt processing program is normally prohibited, and it is permitted at the time of actual transmission and the setting of the interrupt vector is performed. Will be When the facsimile apparatus 2 receives image data or a command from the personal computer 4, the reception interrupt processing is always permitted, so that only the setting of the interrupt vector is performed.

【0135】これら割込ベクトルの設定,データ送信割
込禁止フラグ244のセット,リセットは、ファクシミ
リ装置2によるPCデータの送信,記録,受信したファ
クシミリデータのパソコン4への送信等を実行するため
の各プログラム中で行われる。これら画像データおよび
コマンドの送信,受信の順序,やり取りされるコマンド
の種類は決まっており、プログラム中のそれら画像デー
タやコマンドの送信,受信時に割込ベクトルの設定やデ
ータ送信割込禁止フラグ244のセット,リセットが行
われるが、原則として説明は省略する。
The setting of these interrupt vectors and the setting and resetting of the data transmission interrupt prohibition flag 244 are for executing transmission and recording of PC data by the facsimile device 2, transmission of received facsimile data to the personal computer 4, and the like. It is performed in each program. The order of transmission and reception of these image data and commands and the types of commands to be exchanged are determined. Set and reset are performed, but the description is omitted in principle.

【0136】アイドル状態におけるファクシミリ装置2
とパソコン4との間におけるコマンドの受信,送信の割
込処理を図9に示すアイドル時コマンド受信P/S割込
処理プログラムおよび図10に示すアイドル時コマンド
出力P/S割込処理プログラムに基づいて説明する。
Facsimile machine 2 in idle state
The command reception / transmission interrupt processing between the PC and the personal computer 4 is based on the idle command reception P / S interrupt processing program shown in FIG. 9 and the idle command output P / S interrupt processing program shown in FIG. Will be explained.

【0137】パソコン4からファクシミリ装置2へコマ
ンドが送信されれば、図9に示すアイドル時コマンド受
信P/S割込処理プログラムが実行される。まず、ステ
ップ1(以下、S1と略記する。他のステップについて
も同じ。)においてパラレル/シリアル変換回路240
のP/S受信データバッファ246から1バイト分のデ
ータが取り出され、S2においてPC側受信データバッ
ファ250に格納される。次いでS3においてデータの
内容がCRであるか否か、すなわちコマンドの終了を示
すデータであるか否かの判定が行われる。
When a command is transmitted from the personal computer 4 to the facsimile machine 2, the idle command reception P / S interrupt processing program shown in FIG. 9 is executed. First, in step 1 (hereinafter abbreviated as S1; the same applies to other steps), the parallel / serial conversion circuit 240 is used.
1 byte of data is extracted from the P / S reception data buffer 246 of FIG. Next, in S3, it is determined whether or not the content of the data is CR, that is, whether or not the data indicates the end of the command.

【0138】判定の結果がNOであれば本プログラムの
1回の実行が終了し、再びS1からの実行が開始され
る。
If the result of the determination is NO, one execution of this program is terminated, and the execution from S1 is started again.

【0139】そして、この作動が繰り返されるうちにS
3の判定結果がYESとなれば、S4において、それま
でにPC側受信データバッファ250に格納されている
データ中にコマンドの開始を示す文字ATが有るか否か
が判定され、この判定の結果がYESであれば1つのコ
マンドが検出されたとしてS6以降が実行される。コマ
ンドは文字ATで始まり、次にコマンドの内容を表すデ
ータが付され、文字CRで終わるように構成されてお
り、S3においてCRが検出され、S4においてATが
検出されれば、1つのコマンドが検出されたことになる
のである。
While this operation is repeated, S
If the decision result in the step 3 is YES, in a step S4, it is determined whether or not there is a character AT indicating the start of the command in the data stored in the PC-side received data buffer 250 so far. If YES is determined that one command has been detected, S6 and the subsequent steps are executed. The command starts with a character AT, is followed by data representing the content of the command, and ends with a character CR. When a CR is detected in S3 and an AT is detected in S4, one command is determined. It has been detected.

【0140】CRとATとの間にコマンドの内容を表す
データがあればS5の判定結果はYESになり、S6,
S7,S8においてそれぞれ、コマンドがATコマンド
であるか,FAXコマンドであるか、あるいはプリン
タ,スキャナコマンドであるか否かの判定が行われる。
ATコマンドは、ダイヤリング(ファクシミリ番号,電
話番号等の数字に対応するパルス信号等の信号を外部回
線244に送出すること)の実行等、通信相手との通信
開始に関するコマンドであり、FAXコマンドはファク
シミリデータの送信,受信に必要な手順等を指示するコ
マンドであり、プリンタ・スキャナコマンドはファクシ
ミリ装置2がPCデータの記録やパソコン4の指示に従
って画像の読取りを行う場合に必要な設定、例えば、伝
送パラメータのレベルの設定等を行うためのコマンドで
ある。
If there is data representing the content of the command between the CR and the AT, the decision result in S5 is YES, and in S6,
In S7 and S8, it is determined whether the command is an AT command, a FAX command, or a printer or scanner command.
The AT command is a command for starting communication with a communication partner, such as executing dialing (transmitting a signal such as a pulse signal corresponding to a number such as a facsimile number or a telephone number to the external line 244). A command for instructing a procedure necessary for transmission and reception of facsimile data, and the like. A printer / scanner command is a setting required when the facsimile apparatus 2 records PC data or reads an image according to an instruction from the personal computer 4, for example, This is a command for setting the level of the transmission parameter.

【0141】ATコマンドであればS6の判定結果はY
ESになり、S11においてコマンドの内容が動作コマ
ンドであるか否かの判定が行われる。動作コマンドと
は、ダイヤリング等、何らかの動作を指示するコマンド
であり、動作コマンドであればS14が実行され、コマ
ンドに対応したフラグがセットされる。S7,S8の判
定結果がYESであった場合にもそれぞれS12,S1
3においてコマンドの内容が動作コマンドであるか否か
が判定され、動作コマンドであればS14が実行され
る。
If the command is an AT command, the result of determination in S6 is Y
It becomes ES, and in S11, it is determined whether or not the content of the command is an operation command. The operation command is a command for instructing any operation such as dialing. If the operation command is an operation command, S14 is executed and a flag corresponding to the command is set. Even when the determination results of S7 and S8 are YES, S12 and S1 respectively.
At 3, it is determined whether or not the content of the command is an operation command, and if it is an operation command, S14 is executed.

【0142】動作コマンドでなければS11,S12,
S13の判定結果はそれぞれNOになり、S5が実行さ
れるが、コマンドが取り出されていてPC側受信データ
バッファ250にはデータがないためS5の判定結果は
NOになり、S10においてコマンドに対する応答が行
われる。例えば、コマンドの内容がファクシミリ装置2
の伝送パラメータを問うのであれば、ファクシミリ装置
2の伝送パラメータを表すデータがパソコン4に送信さ
れる。
If it is not an operation command, S11, S12,
The determination results in S13 are NO, respectively, and S5 is executed. However, since the command has been fetched and there is no data in the PC-side reception data buffer 250, the determination result in S5 is NO, and a response to the command is returned in S10. Done. For example, if the content of the command is facsimile machine 2
If the transmission parameter of the facsimile apparatus 2 is to be asked, data indicating the transmission parameter of the facsimile apparatus 2 is transmitted to the personal computer 4.

【0143】また、コマンドの内容がATコマンド,F
AXコマンド,プリンタ,スキャナコマンドのいずれで
もなければS9が実行され、パソコン4にエラーコマン
ドが出力される。
The contents of the command are AT command, F
If none of the AX command, the printer command, and the scanner command, S9 is executed, and an error command is output to the personal computer 4.

【0144】ファクシミリ装置2にコマンドが送信され
ても、ATとCRとの間に命令を表すデータがなければ
S5の判定結果はNOになり、S10においてコマンド
に対する応答が為される。データがなくてもコマンドを
受信したことを表すOKコマンドあるいはエラーコマン
ドがパソコン4へ出力されるのである。
Even if the command is transmitted to the facsimile apparatus 2, if there is no data representing the command between the AT and the CR, the determination result in S5 is NO, and a response to the command is made in S10. Even if there is no data, an OK command or an error command indicating that the command has been received is output to the personal computer 4.

【0145】これらS10におけるエラーコマンド,O
Kコマンドの出力およびS9におけるエラーコマンドの
出力は、具体的にはコマンドの内容をPC側送信データ
バッファ252に書き込むことであり、この書き込まれ
たコマンドは図10に示すアイドル時コマンド出力P/
S割込処理プログラムに従ってパソコン4に出力され
る。
The error command in these S10, O
The output of the K command and the output of the error command in S9 are specifically to write the contents of the command to the PC-side transmission data buffer 252, and the written command is the command output P / during idle shown in FIG.
It is output to the personal computer 4 according to the S interrupt processing program.

【0146】このプログラムのS21においては、PC
側送信データバッファ252にデータがあるか否かの判
定が行われる。データがあればS21の判定結果がYE
Sになり、S22においてPC側送信データバッファ2
52からデータが取り出された後、S23においてP/
S送信データバッファ248に格納される。なお、PC
側送信データバッファ252にデータがない場合にはS
21の判定結果がNOになり、S24においてコマンド
出力のための割込が禁止される。PC側送信データバッ
ファ252にデータがないにもかかわらず、出力処理が
行われないようにするのである。
In S21 of this program, PC
It is determined whether there is data in the side transmission data buffer 252. If there is data, the determination result of S21 is YE
S, and in S22, the PC-side transmission data buffer 2
After the data is taken out from P.52, P / P
The data is stored in the S transmission data buffer 248. In addition, PC
If there is no data in the side transmission data buffer 252, S
The determination result at 21 is NO, and interrupts for command output are prohibited at S24. Even if there is no data in the PC-side transmission data buffer 252, the output process is not performed.

【0147】ファクシミリ装置2はパソコン4からの指
示に従って、PCデータの相手装置114への送信,
PCデータの記録,電話の3つの動作を行う。ま
ず、PCデータの相手装置114への送信について説
明する。
The facsimile apparatus 2 transmits PC data to the destination apparatus 114 in accordance with an instruction from the personal computer 4,
Performs three operations: recording of PC data and telephone. First, transmission of PC data to the partner device 114 will be described.

【0148】図11に示すシーケンスチャートに基づい
てパソコン4からのPCデータの受信,PCデータの相
手装置114への送信の手順を概略的に説明する。な
お、図11においてDTE(Data Terminal Equipment,
データ端末装置)はパソコン4,DCE(Data Cercuit
terminating Equipment, データ回線終端装置)はファ
クシミリ装置2であり、REMOTE FAXは相手装
置114である。
A procedure for receiving PC data from the personal computer 4 and transmitting the PC data to the partner device 114 will be schematically described based on the sequence chart shown in FIG. In FIG. 11, DTE (Data Terminal Equipment,
The data terminal device is a personal computer 4, DCE (Data Cercuit)
The terminating equipment (data line terminating device) is the facsimile device 2 and the remote fax is the partner device 114.

【0149】PCデータの送信がパソコン4により指示
されるまでのアイドル状態においては、パソコン4から
ファクシミリ装置2のデータ送信,受信処理能力を設定
するコマンド(AT+FCLASS=2)が送信され
る。ファクシミリ装置2はデータ送信,受信処理能力が
CLASS2であればOKコマンドを返す。また、パソ
コン4は自身の伝送パラメータを示す信号(AT+FD
CC=vr,wd,df,br)をファクシミリ装置2
に出力し、ファクシミリ装置2はそのパソコン4の伝送
パラメータをPC伝送パラメータバッファ263に格納
し、OKコマンドを返す。なお、vrは解像度,wdは
用紙幅,dfは符号化方式,brは伝送速度であり、
(AT+FDCC)は、vr,wd,df,brの各々
のレベルを表す値を含む信号である。
In the idle state until the transmission of PC data is instructed by the personal computer 4, the personal computer 4 transmits a command (AT + FCLASS = 2) for setting the data transmission and reception processing capabilities of the facsimile apparatus 2. The facsimile apparatus 2 returns an OK command if the data transmission and reception processing ability is CLASS2. Also, the personal computer 4 outputs a signal (AT + FD) indicating its own transmission parameter.
CC = vr, wd, df, br) in the facsimile apparatus 2
The facsimile apparatus 2 stores the transmission parameters of the personal computer 4 in the PC transmission parameter buffer 263 and returns an OK command. Note that vr is the resolution, wd is the paper width, df is the encoding method, and br is the transmission speed.
(AT + FDCC) is a signal including a value representing each level of vr, wd, df, and br.

【0150】パソコン4においてPCデータの送信が指
示されれば、パソコン4からファクシミリ装置2へ発
呼、すなわち画像データの送信のために相手装置114
のファクシミリ番号を外部回線224へ送出し、相手装
置114を呼び出すことを指示するコマンド(ATD+
STRING)(STRINGはファクシミリ番号を表
す数字列である)が出力され、ファクシミリ装置2はそ
のコマンドに従って回線を閉結するとともにダイヤリン
グし、CI信号が相手装置114へ送られる。また、フ
ァクシミリ装置2はファクシミリデータの送信時にはC
NG(CALLING)信号を発する。
When transmission of PC data is instructed in personal computer 4, a call is made from personal computer 4 to facsimile apparatus 2, that is, partner apparatus 114 transmits image data.
Is transmitted to the external line 224, and a command (ATD +
STRING) (STRING is a number string representing a facsimile number) is output, the facsimile apparatus 2 closes the line and dials according to the command, and the CI signal is sent to the partner apparatus 114. Further, the facsimile apparatus 2 transmits the facsimile data when transmitting facsimile data.
Issues an NG (CALLING) signal.

【0151】それに対し、相手装置114からCED
(Called Station Identification)信号(被呼端末識別
信号)およびV21フラグが返される。V21フラグと
は、コマンドの出力方向が交替し、信号が新たに出力さ
れる毎に出される信号であり、続いてデータが損なわれ
ずに送られるように通信回線の全構成要素が適切な状態
に調整されることを保証する信号である。発呼からV2
1フラグの受信までがフェーズAである。
On the other hand, CED
A (Called Station Identification) signal (called terminal identification signal) and the V21 flag are returned. The V21 flag is a signal that is output each time a command is output and a new signal is output. Then, all components of the communication line are set in an appropriate state so that data is transmitted without being damaged. It is a signal that is guaranteed to be adjusted. V2 from calling
Phase A is until the reception of one flag.

【0152】相手装置114からはV21フラグ信号に
続いてDIS(Digital Identification Signal)信号
(デジタル識別信号)が送信される。DIS信号は、被
呼端末である相手装置114が有する送受信機能(解像
度,用紙幅,符号化方式,データ伝送速度等)等を発呼
端末であるファクシミリ装置2に知らせる信号である。
ファクシミリ装置2はDIS信号を受信したならば、パ
ソコン4へ+FCON信号(ファクシミリ接続信号),
+FDIS信号(相手装置機能レポート信号)およびO
K信号を送信する。それに対し、パソコン4が(AT+
FDT(Data Transmission))信号をファクシミリ装置
2へ出力し、その後、ファクシミリ装置2は相手装置1
14へDCS(Digital Command Signal) 信号を出力す
る。DCS信号は、DIS信号により示された相手装置
114の伝送パラメータに基づいて設定されたファクシ
ミリ装置2と相手装置114との間の伝送パラメータを
知らせる信号であり、PCデータの送信時にはパソコン
4と相手装置114との間において、共通であって最高
のレベルの伝送パラメータに設定される。
[0152] The destination device 114 transmits a DIS (Digital Identification Signal) signal (digital identification signal) following the V21 flag signal. The DIS signal is a signal that informs the facsimile machine 2 as the calling terminal of the transmission / reception function (resolution, paper width, encoding method, data transmission speed, etc.) of the partner device 114 as the called terminal.
When the facsimile apparatus 2 receives the DIS signal, it sends a + FCON signal (facsimile connection signal) to the personal computer 4.
+ FDIS signal (other device function report signal) and O
Transmit the K signal. In contrast, the personal computer 4 has (AT +
An FDT (Data Transmission) signal is output to the facsimile machine 2, and thereafter, the facsimile machine 2
The DCS 14 outputs a DCS (Digital Command Signal) signal. The DCS signal is a signal for notifying the transmission parameters between the facsimile apparatus 2 and the destination apparatus 114 set based on the transmission parameters of the destination apparatus 114 indicated by the DIS signal. The common and highest level transmission parameters are set with the device 114.

【0153】なお、上記+FCON,+FDIS等はA
T+FCON,AT+FDIS等の略記であり、フロー
チャートにおいて「+」は省略する。
The + FCON, + FDIS, etc. are A
Abbreviations such as T + FCON, AT + FDIS, etc., and "+" is omitted in the flowchart.

【0154】ファクシミリ装置2はまた、TCF(Trai
ning Check) 信号を相手装置114へ出力する。ファク
シミリ装置2から相手装置114へ一定時間内に予め定
められた数の0のビットデータが送出され、相手装置1
14においてそれらビットデータを受信できたか否かが
チェックされることにより、2つの装置の間で設定され
た伝送速度で符号化画像データを伝送することができる
否かがチェックされるのであり、不可能であれば相手装
置114からの要求に応じてファクシミリ装置2におい
て伝送速度が遅くされ、再びチェックが行われる。
The facsimile apparatus 2 also has a TCF (Trai
ning Check) signal is output to the partner device 114. A predetermined number of 0 bit data is transmitted from the facsimile apparatus 2 to the partner apparatus 114 within a predetermined time, and
By checking at 14 whether or not the bit data could be received, it is checked whether or not the encoded image data can be transmitted at the transmission rate set between the two devices. If possible, the transmission speed is reduced in the facsimile machine 2 in response to a request from the partner device 114, and the check is performed again.

【0155】トレーニングチェックの結果が正常であれ
ば、相手装置114はファクシミリ装置2へCFR(Co
nfirmation to Receive)信号を出力し、画像データを送
出する前の手順が完了し、画像データの送出を開始して
よいことをファクシミリ装置2に示す。
If the result of the training check is normal, the partner device 114 sends the CFR (Co
The facsimile apparatus 2 outputs a signal to transmit the image data, and indicates that the procedure before transmitting the image data is completed and the transmission of the image data may be started.

【0156】それに応じて、ファクシミリ装置2は、パ
ソコン4へ+FDCS信号を出力して相手装置114と
の間で設定した伝送パラメータを知らせるとともに、C
ONNECT信号を出力する。また、RTS制御信号ラ
インの出力をPCデータの送信を許容する状態にしてF
AX側送信データバッファ256にPCデータを格納す
る容量があることを知らせ、容量がない場合にはRTS
制御信号ラインの出力をPCデータの送信を阻止する状
態にする。上記CONNECT信号の出力でフェーズB
が終了する。
In response to this, the facsimile apparatus 2 outputs a + FDCS signal to the personal computer 4 to notify the transmission parameters set with the partner apparatus 114,
Outputs an ONNECT signal. Further, the output of the RTS control signal line is set to a state where transmission of PC data is permitted, and
Informs AX side transmission data buffer 256 that there is enough capacity to store PC data, and if there is no capacity, RTS
The output of the control signal line is set to a state where transmission of PC data is blocked. Phase B with the output of the CONNECT signal
Ends.

【0157】なお、FAX側送信データバッファ256
にPCデータを格納する容量があるか否かは、FAX側
送信データバッファ256がデータで一杯であるか否
か、一杯であれば、更にRAM202の共用バッファも
データで一杯であるか否かにより検出される。他のバッ
ファについてデータを格納する容量があるか否かの検出
も同様にして行われる。パソコン4はRTS制御信号ラ
インの出力がPCデータの送信を許容する状態のときに
はPCデータをファクシミリ装置2へ出力し、阻止する
状態のときには出力しない。
It should be noted that the FAX-side transmission data buffer 256
Depends on whether the FAX-side transmission data buffer 256 is full of data, and if so, whether the shared buffer of the RAM 202 is also full of data. Is detected. Detection of whether or not there is a capacity for storing data in another buffer is performed in a similar manner. The personal computer 4 outputs the PC data to the facsimile apparatus 2 when the output of the RTS control signal line permits the transmission of the PC data, and does not output the PC data when the output is prohibited.

【0158】パソコン4はファクシミリ装置2へデータ
を送信することができる場合には、まず、1頁目の符号
化画像データ(PIX DATA)を送出し、ファクシ
ミリ装置2は送られて来たデータを相手装置114へ送
出する。1頁のデータの終わりには〈DLE〉〈ET
X〉データが付されており、それらデータが送られて来
たならばファクシミリ装置2は相手装置114へ1頁の
画像データの送信が終了してコマンドの送信に変わるこ
とを表すRTC(Return to Control) PATTERN
信号を送出する。このRTC PATTERN信号の出
力でフェーズCが終了する。
When the personal computer 4 can transmit data to the facsimile machine 2, first, the personal computer 4 sends out coded image data (PIX DATA) of the first page, and the facsimile machine 2 transmits the transmitted data. Send it to the partner device 114. At the end of one page of data, <DLE><ET
X> data is attached, and if the data is sent, the facsimile apparatus 2 returns the RTC (Return to RTC) indicating that the transmission of the image data of one page to the partner apparatus 114 is completed and the transmission is changed to the transmission of the command. Control) PATTERN
Send a signal. Phase C ends with the output of the RTC PATTERN signal.

【0159】次いでフェーズDが実行され、パソコン4
へOK信号を出力し、パソコン4はそのOK信号に応じ
て次の頁があるか否かを表す信号(AT+FET=X)
をファクシミリ装置2に出力する。Xの値が0であれば
次頁データがあることを表し、2の場合にはデータが終
了であることを表す。次頁データがあればファクシミリ
装置2は相手装置114へMPS(Multipage Signal)
信号を送出し、1頁のデータ終了および送信手順がフェ
ーズCの始めに戻ることを知らせる。それに対し、相手
装置114はMCF(Massage Confirmation) 信号(メ
ッセージ確認信号)をファクシミリ装置2へ出力し、そ
れまでに送出された符号化画像データを完全に受信した
ことを知らせる。
Next, the phase D is executed and the personal computer 4
And outputs a signal indicating whether there is a next page according to the OK signal (AT + FET = X).
Is output to the facsimile apparatus 2. If the value of X is 0, it indicates that there is data for the next page, and if it is 2, it indicates that the data has ended. If there is next page data, the facsimile machine 2 sends an MPS (Multipage Signal) to the partner apparatus 114.
A signal is sent to signal the end of one page of data and that the transmission procedure returns to the beginning of phase C. On the other hand, the partner device 114 outputs an MCF (Massage Confirmation) signal (message confirmation signal) to the facsimile device 2 to notify that the coded image data transmitted so far has been completely received.

【0160】なお、1頁が終了したときに伝送パラメー
タの変更がある場合にはMPS信号に代えてEOM(En
d of Message) 信号が送出され、送信手順がフェーズB
の初めに戻るようにされる。
If the transmission parameter is changed when one page is completed, EOM (En) is used instead of the MPS signal.
d of Message) signal is sent and the transmission procedure is phase B
To return to the beginning.

【0161】次いでファクシミリ装置2はパソコン4
へ、相手装置114がデータを完全に受信したことを表
す(+FPTS:1)信号を出力するとともOKコマン
ドを出力する。それに対しパソコン4が(AT+FD
T)信号をファクシミリ装置2へ出力すれば、ファクシ
ミリ装置2がパソコン4へをCONNECT信号を出力
し、RTS制御信号ラインの出力をPCデータの送信を
許容する状態あるいは阻止する状態にセットした後、フ
ェーズCが実行され、パソコン4からファクシミリ装置
2へ符号化画像データが送出されるとともに、ファクシ
ミリ装置2が相手装置114へ送出する。なお、これら
(AT+FDT)信号,CONNECT信号のやりとり
およびRTS制御信号ラインの出力の設定は、フェーズ
Bの一部と同じであるが、ここでは、次にフェーズCの
始めに戻って伝送パラメータが同じである符号化画像デ
ータをファクシミリ装置2に送出するためにフェーズD
においてこれら信号のやりとり等が行われる。
Next, the facsimile machine 2 is connected to the personal computer 4
Then, the partner device 114 outputs a (+ FPTS: 1) signal indicating that the data has been completely received, and outputs an OK command. On the other hand, the personal computer 4 (AT + FD
T) If the signal is output to the facsimile apparatus 2, the facsimile apparatus 2 outputs a CONNECT signal to the personal computer 4, and sets the output of the RTS control signal line to a state in which transmission of PC data is permitted or blocked, and Phase C is executed, and the coded image data is transmitted from the personal computer 4 to the facsimile apparatus 2, and the facsimile apparatus 2 transmits the coded image data to the partner apparatus 114. The exchange of the (AT + FDT) signal and the CONNECT signal and the setting of the output of the RTS control signal line are the same as part of the phase B, but here, the process returns to the beginning of the phase C and the transmission parameters are the same. To transmit the coded image data to the facsimile apparatus 2
The exchange of these signals is performed in the.

【0162】1頁の符号化画像データの送出が終了し、
次に送信する符号化画像データがない場合にはパソコン
4はフェーズDにおいて次頁データがないことを示すデ
ータ(AT+FET=2)をファクシミリ装置2へ出力
する。それによりファクシミリ装置2は相手装置114
へEOP(End of Procedure) 信号(手順終了信号)を
出力し、頁終了と他に送信データがないこととを示し、
相手装置114からMCF信号を受信し、パソコン4へ
(+FPTS:1)信号を出力した後、フェーズEが行
われる。ファクシミリ装置2がパソコン4へ通信終了を
表す信号(+FHNG:0)を出力するとともに、相手
装置114へはDCN(Disconnect) 信号を出力して回
線を開放し、その後、パソコン4へOK信号を出力して
データ送信の全手順を終了する。
The transmission of the encoded image data of one page is completed.
If there is no encoded image data to be transmitted next, the personal computer 4 outputs data indicating that there is no next page data (AT + FET = 2) to the facsimile apparatus 2 in phase D. As a result, the facsimile device 2 is
Output an EOP (End of Procedure) signal (procedure end signal) to indicate that the page has ended and that there is no other transmission data.
After receiving the MCF signal from the partner device 114 and outputting the (+ FPTS: 1) signal to the personal computer 4, the phase E is performed. The facsimile device 2 outputs a signal (+ FHNG: 0) indicating the end of communication to the personal computer 4, and outputs a DCN (Disconnect) signal to the partner device 114 to open the line, and then outputs an OK signal to the personal computer 4. Then, the entire procedure of data transmission is completed.

【0163】なお、上記シーケンスチャートの説明にお
いて「信号」とは、CNG信号およびCED信号はパル
ス信号であり、その他の信号は0および1のビットデー
タにより構成されるコマンドである。
In the above description of the sequence chart, "signal" means a CNG signal and a CED signal are pulse signals, and the other signals are commands composed of 0 and 1 bit data.

【0164】以上のPCデータの送信時には、パソコン
4において送信するPCデータおよび送信相手が指定さ
れる。PCデータの送信指示は、図12に示すPCデー
タ送信指示プログラムに従って行われる。まず、S31
においてPCデータの送信が選択されたか否かの判定が
行われる。PCデータの送信が選択されればS31の判
定結果はYESになり、S32においてパソコン4のR
AM308のPCデータバッファ320に格納されたP
Cデータのうち、送信するPCデータ名の入力を促す入
力指示が表示器116に表示される。
At the time of transmitting the above PC data, the PC data to be transmitted by the personal computer 4 and the transmission partner are specified. The PC data transmission instruction is performed in accordance with the PC data transmission instruction program shown in FIG. First, S31
It is determined whether transmission of PC data has been selected in. If transmission of PC data is selected, the determination result in S31 is YES, and the R
P stored in the PC data buffer 320 of the AM 308
An input instruction prompting input of a PC data name to be transmitted among the C data is displayed on the display unit 116.

【0165】入力が完了するまでS32,S33が繰り
返し実行される。送信を指示されたPCデータ名は送信
PCデータ名バッファ322に格納される。入力が完了
すればS33の判定結果がYESになり、S34におい
て送信相手の入力指示が表示器116に表示される。送
信相手の指定は、送信相手のファクシミリ番号を市外局
番を付して入力することにより行われる。送信相手は送
信相手バッファ324に格納され、送信相手の指定が完
了すればS35の判定結果がYESになり、プログラム
の実行は終了する。
Steps S32 and S33 are repeatedly executed until the input is completed. The PC data name instructed to be transmitted is stored in the transmission PC data name buffer 322. If the input is completed, the determination result in S33 becomes YES, and an input instruction of the transmission partner is displayed on the display 116 in S34. The designation of the transmission destination is performed by inputting the facsimile number of the transmission destination with the area code. The transmission partner is stored in the transmission partner buffer 324, and if the designation of the transmission partner is completed, the determination result in S35 becomes YES and the execution of the program ends.

【0166】なお、送信を指示されたPCデータの画像
データは符号化され、符号化画像データバッファ326
に格納される。
The image data of the PC data instructed to be transmitted is encoded, and the encoded image data buffer 326
Is stored in

【0167】上記ように送信PCデータおよび送信相手
が指定された後、送信開始が指示されれば、図13に示
すPCデータ送信プログラムのS41の判定結果がYE
Sになる。次いでS42において画像データ送信時にお
ける送信相手へのダイヤリングの指示である発呼送信コ
マンドがファクシミリ装置2へ送出される。(ATD+
STRING)信号が出力されるのである。
If transmission start is instructed after the transmission PC data and the transmission destination are specified as described above, the determination result of S41 of the PC data transmission program shown in FIG.
It becomes S. Next, in S42, a call transmission command, which is an instruction for dialing the transmission partner at the time of image data transmission, is transmitted to the facsimile apparatus 2. (ATD +
(STRING) signal is output.

【0168】S43〜S46において図11に示すPC
データ送信時シーケンスチャートに示した信号の出力,
受信が行われ、ファクシミリ装置2へPCデータを送出
することが許容されていばS46の判定結果はYESに
なり、S47において1コードのデータがファクシミリ
装置2へ送出される。その後、1頁の符号化画像データ
が送出されるまでS46〜S48が繰り返し実行され
る。この間、ファクシミリ装置2のFAX側送信データ
バッファ256が一杯になってPCデータを送出するこ
とができない場合にはS46の判定結果がNOになり、
PCデータの送出が可能になることが待たれる。
At steps S43 to S46, the PC shown in FIG.
Output of the signal shown in the sequence chart during data transmission,
If the reception is performed and the transmission of the PC data to the facsimile apparatus 2 is permitted, the determination result in S46 is YES, and one-code data is transmitted to the facsimile apparatus 2 in S47. Thereafter, steps S46 to S48 are repeatedly executed until one page of encoded image data is transmitted. During this time, if the FAX-side transmission data buffer 256 of the facsimile apparatus 2 is full and PC data cannot be transmitted, the determination result in S46 is NO,
It is awaited that transmission of PC data becomes possible.

【0169】1頁の符号化画像データの送出が終了すれ
ばS48の判定結果がYESになり、ファクシミリ装置
2からのOKコマンドが得られてS49の判定結果がY
ESになった後、S50において次に送出する符号化画
像データがあるか否かの判定が行われる。次頁の符号化
画像データがあればS50の判定結果がYESになり、
S51〜S54が送信時シーケンスチャートに示すよう
に行われた後、プログラムの実行はS46に戻り、次頁
の符号化画像データがファクシミリ装置2へ送出され
る。次頁の符号化画像データがなければS50の判定結
果がNOになり、S55,S56において通信終了処理
が行われた後、S57において送信相手バッファ324
に送信相手がまだ残っているか否かの判定が行われる。
送信相手が複数あればS57の判定結果はYESにな
り、プログラムの実行はS42に戻り、次の送信相手が
ファクシミリ装置2に指示される。指定された送信相手
全部にPCデータが送信されればS57の判定結果はN
Oになり、プログラムの実行は終了する。
When the transmission of one page of encoded image data is completed, the determination result in S48 becomes YES, an OK command from the facsimile apparatus 2 is obtained, and the determination result in S49 becomes Y.
After the ES, it is determined in S50 whether or not there is encoded image data to be transmitted next. If there is encoded image data of the next page, the determination result in S50 becomes YES,
After S51 to S54 are performed as shown in the transmission sequence chart, the execution of the program returns to S46, and the encoded image data of the next page is sent to the facsimile machine 2. If there is no encoded image data of the next page, the determination result in S50 is NO, and after the communication end processing is performed in S55 and S56, the transmission partner buffer 324 is determined in S57.
It is determined whether or not there is still a transmission partner.
If there are a plurality of transmission destinations, the determination result in S57 is YES, the program execution returns to S42, and the next transmission destination is instructed to the facsimile apparatus 2. If the PC data is transmitted to all the designated transmission destinations, the determination result of S57 is N
It becomes O, and the execution of the program ends.

【0170】このようにPCデータを相手装置114へ
送信すべく、パソコン4からファクシミリ装置2へ発呼
送信コマンド(ATD+STRING)が送信されれ
ば、ファクシミリ装置2において図14に示す送信プロ
グラムのS71の判定結果がNO,S72の判定結果が
YESになり、S73においてパソコン4から送信され
たSTRING(数字列)の桁数とファクシミリ装置2
の自己ファクシミリ番号バッファ264に格納された自
身のファクシミリ番号の桁数とが一致するか否かの判定
が行われる。
As described above, if a call transmission command (ATD + STRING) is transmitted from the personal computer 4 to the facsimile apparatus 2 in order to transmit the PC data to the partner apparatus 114, the facsimile apparatus 2 executes S71 of the transmission program shown in FIG. The determination result is NO, the determination result in S72 is YES, and the number of digits of the string (numerical string) transmitted from the personal computer 4 in S73 and the facsimile machine 2
It is determined whether or not the number of digits of its own facsimile number stored in its own facsimile number buffer 264 matches.

【0171】いま、自己ファクシミリ番号バッファ26
4に、自身のファクシミリ番号が市外局番なしで格納さ
れているとすれば、パソコン4における送信相手の指定
は、前述のように、原則として市外局番を付けてファク
シミリ番号を入力することにより行われるため、S73
の判定結果がNOになり、S74において共通桁数の数
字が一致するか否かの判定が行われる。長い方のファク
シミリ番号のうち、短い方のファクシミリ番号と同じ桁
数の数字が末尾から比較される。ここでは相手装置11
4が指定されているとする。そのため、S74の判定結
果がNOになり、S77が実行される。
Now, the self facsimile number buffer 26
If the user's facsimile number is stored without the area code, the designation of the transmission destination on the personal computer 4 is basically performed by adding the area code and inputting the facsimile number as described above. S73
Is NO, and a determination is made in S74 as to whether the numbers of the common digits match. Of the longer facsimile number, the same number of digits as the shorter facsimile number is compared from the end. Here, the partner device 11
Assume that 4 is specified. Therefore, the determination result of S74 is NO, and S77 is executed.

【0172】それに対して、自己ファクシミリ番号バッ
ファ264にファクシミリ番号が市外局番を付して格納
されていれば、S73の判定結果はYESになり、S7
5において数字が全部一致するか否かの判定が行われ
る。相手装置114へのデータの送信が指示されている
場合にはS75の判定結果はNOになり、S77が実行
される。
On the other hand, if the facsimile number is stored in the own facsimile number buffer 264 with the area code added thereto, the determination result in S73 is YES, and the determination in S73 is YES.
At 5, it is determined whether or not all the numbers match. If data transmission to the partner device 114 has been instructed, the determination result in S75 is NO, and S77 is executed.

【0173】ファクシミリ番号を入力するとき、オペレ
ータの理解を容易にするために、市外局番や市内局番に
括弧を付したり、市内番号の市内局番と加入者番号との
間にハイフンやスペース等の記号を挿入することがあ
る。これはパソコン4によって送信相手を指定する場合
でも、ファクシミリ装置2において自己ファクシミリ番
号バッファ264に自身のファクシミリ番号を記憶させ
る場合でも同様である。しかし、これら括弧等の記号は
実質的にはファクシミリ番号ではないため、ファクシミ
リ番号に記号が含まれているときには、記号を除いて数
字が一致するか否かにより、ファクシミリ装置2が送信
相手として指定されているか否が判定される。なお、フ
ァクシミリ番号中の数字をダイヤル有効データと称す
る。
When the facsimile number is input, parentheses are added to the area code and the local area code, and a hyphen is inserted between the local area number and the local number in order to facilitate the operator's understanding. Symbols such as and spaces may be inserted. The same applies to the case where the transmission destination is specified by the personal computer 4 and the case where the facsimile apparatus 2 stores its own facsimile number in the self-facsimile number buffer 264. However, since these symbols such as parentheses are not actually facsimile numbers, when the facsimile number includes a symbol, the facsimile apparatus 2 is designated as a transmission destination by checking whether or not the numbers match except for the symbol. It is determined whether it has been performed. The number in the facsimile number is called dial valid data.

【0174】S77においてはダイヤル可能であるか否
かの判定が行われる。例えば、ファクシミリ装置2がフ
ァクシミリデータの送信あるいは受信中であって回線が
使用中であるか否か、外部からの発呼に対する呼出信号
の検出中であるか否か等が判定されるのである。ダイヤ
ル不可能であればS77の判定結果はNOになってS8
4が実行され、パソコン4にエラーコマンドが出力され
る。
In S77, it is determined whether dialing is possible. For example, it is determined whether or not the facsimile apparatus 2 is transmitting or receiving facsimile data and the line is in use, and whether or not a call signal for an external call is being detected. If dialing is not possible, the determination result in S77 becomes NO and S8
4 is executed, and an error command is output to the personal computer 4.

【0175】ダイヤル可能であればS77の判定結果が
YESになり、S78においてダイヤルバッファ266
にダイヤル有効データ、すなわち数字が格納される。次
いでS79が実行され、ダイヤルバッファ266にダイ
ヤル有効データが格納されているか否かの判定が行われ
る。パソコン4から送信される発呼送信コマンドに何ら
かの事情により数字列が含まれていないときにはダイヤ
ルバッファ266にダイヤル有効データがなく、S79
の判定結果はNOになり、S85においてダイヤルコマ
ンド、すなわちパソコン4からの指示が電話をかけるこ
とであるか否かの判定が行われる。ここではファクシミ
リデータの送信が指示されているため、S85の判定結
果はNOになり、S84においてパソコン4にエラーコ
マンドが出力される。
If dialing is possible, the decision result in S77 is YES, and in S78 the dial buffer 266
Stores dial valid data, that is, numbers. Next, S79 is executed to determine whether or not dial valid data is stored in the dial buffer 266. If the call transmission command transmitted from the personal computer 4 does not include a digit string for some reason, there is no dial valid data in the dial buffer 266 and S79
Is NO, and it is determined in S85 whether or not the dial command, that is, the instruction from the personal computer 4 is to make a telephone call. Here, since transmission of facsimile data is instructed, the determination result in S85 is NO, and an error command is output to the personal computer 4 in S84.

【0176】ダイヤルバッファ266にダイヤル有効デ
ータがあればS79の判定結果はYESになり、S80
において回線が閉結された後、S81が実行され、ダイ
ヤル送出処理が行われる。例えば、パソコン4から指示
されたファクシミリ番号を表すパルス信号が外部回線2
24に出力されるのであり、次にS82においてダイヤ
ル送出処理が支障なく行われたか否かの判定が行われ
る。例えば、相手装置114が使用中であったり、使用
中でなくても交換器の混乱等により相手装置114がビ
ジー状態である場合にはダイヤル送出処理に支障がある
のであり、そのような場合にはS82の判定結果がNO
になって、S83で回線が開放され、S84でパソコン
4にエラーコマンドが出力される。
If there is dial valid data in the dial buffer 266, the decision result in S79 is YES, and S80
After the line is closed in step S81, S81 is executed, and dial transmission processing is performed. For example, a pulse signal indicating a facsimile number specified by the personal computer 4 is transmitted to the external line 2.
24, and it is then determined in S82 whether or not the dial transmission processing has been performed without any trouble. For example, if the partner device 114 is busy, or if the partner device 114 is busy due to a confusion in the exchange even if it is not in use, the dial transmission process is hindered. Is NO in S82
, The line is opened in S83, and an error command is output to the personal computer 4 in S84.

【0177】ダイヤル送出処理が支障なく行われればS
82の判定結果はYESになり、S88において発呼送
信コマンドであるか否かの判定が行われる。ここでは発
呼送信コマンドであるためS88の判定結果はYESに
なり、S89においてダイヤル送出処理の終了および送
信するデータの種類のセットが行われる。PCデータ送
信フラグ268がセットされるのである。
If the dial transmission processing is performed without any trouble, S
The determination result at 82 is YES, and a determination is made at S88 as to whether the command is a call transmission command. In this case, since the command is a call transmission command, the determination result in S88 is YES, and in S89, the dial transmission process ends and the type of data to be transmitted is set. The PC data transmission flag 268 is set.

【0178】PCデータ送信時には、パソコン4からフ
ァクシミリ装置2へ送信されたPCデータが相手装置1
14へ送信される。このPCデータ送信時におけるファ
クシミリ装置2のパソコン4からの符号化画像データの
受信,パソコン4から出力されるコマンドの受信,ファ
クシミリ装置2からパソコン4へのデータの送出および
コマンドの送信,ファクシミリ装置2から相手装置11
4への符号化画像データの送出,コマンドの出力,相手
装置114からのコマンドの受信は、いずれも割込処理
によって行われる。
When transmitting the PC data, the PC data transmitted from the personal computer 4 to the facsimile apparatus 2 is
14 is transmitted. When the PC data is transmitted, the facsimile apparatus 2 receives encoded image data from the personal computer 4, receives commands output from the personal computer 4, sends data from the facsimile apparatus 2 to the personal computer 4, transmits commands, and transmits the facsimile apparatus 2. From partner device 11
The transmission of the encoded image data to the device 4, the output of the command, and the reception of the command from the partner device 114 are all performed by interrupt processing.

【0179】ファクシミリ装置2のデータ送信時画像デ
ータ受信P/S割込処理を図15に示すプログラムに基
づいて説明する。この割込処理は、パソコン4から符号
化画像データが送出され、P/S受信データバッファ2
46に8ビットのデータが格納される毎に実行され、符
号化画像データがFAX側送信データバッファ256に
格納される。
The image data reception P / S interrupt processing at the time of data transmission of the facsimile apparatus 2 will be described based on the program shown in FIG. In this interrupt processing, the encoded image data is transmitted from the personal computer 4 and the P / S reception data buffer 2
The process is executed every time 8-bit data is stored in 46, and the encoded image data is stored in the FAX-side transmission data buffer 256.

【0180】S101においてP/S受信データバッフ
ァ246からデータが1バイト分取り出された後、S1
02においてDLEフラグ272がセットされているか
否かの判定が行われる。DLEフラグ272は初期設定
においてリセットされており、S102の判定結果はN
Oになり、S103においてデータが〈DLE〉である
か否かの判定が行われる。〈DLE〉データでなければ
S103の判定結果はNOになり、S104においてE
OL(End of Line)データであるか否かの判定が行われ
る。EOLデータは1ラインの終了を表すデータであ
り、EOLデータでなければS104の判定結果はNO
になり、S106においてFAX側送信データバッファ
256にデータが格納される。
After one byte of data is extracted from the P / S reception data buffer 246 in S101,
At 02, it is determined whether the DLE flag 272 is set. The DLE flag 272 is reset in the initial setting, and the determination result in S102 is N
In step S103, it is determined whether the data is <DLE>. If not <DLE> data, the determination result in S103 is NO, and in S104, E
It is determined whether or not the data is OL (End of Line) data. The EOL data is data representing the end of one line. If the EOL data is not EOL data, the determination result in S104 is NO.
The data is stored in the FAX-side transmission data buffer 256 in S106.

【0181】EOLデータであればS104の判定結果
がYESになってS105が実行され、そのEOLデー
タとその直前のEOLデータとの間の符号化画像データ
のビット数が数えられる。そして、ビット数が1ライン
の符号化画像データの最小伝送時間より短い時間で送ら
れてしまう数であれば、0のビットデータがFAX側送
信データバッファ256に格納され、データ伝送速度に
基づいて設定された1ラインの最小伝送時間が維持され
る。この0のビットデータを0フィルデータと称する。
If it is EOL data, the result of the determination in S104 is YES and S105 is executed, in which the number of bits of the coded image data between the EOL data and the immediately preceding EOL data is counted. Then, if the number of bits is such that the encoded image data of one line is transmitted in a time shorter than the minimum transmission time, 0-bit data is stored in the FAX-side transmission data buffer 256, and based on the data transmission speed. The set minimum transmission time of one line is maintained. This 0 bit data is referred to as 0 fill data.

【0182】S105においてはまた、FAX側送信デ
ータバッファ256にデータを格納する余裕があるか否
かが検出され、それ以上格納できないときにはRTS制
御信号ラインの出力がPCデータの送信を阻止する状態
にされる。パソコン4はファクシミリ装置2へのデータ
送信時にRTS制御信号ラインの出力を見ており、出力
が阻止状態になればファクシミリ装置2へのデータの送
出が中断される。ファクシミリ装置2により受信された
データが相手装置114へ送出されれば、FAX側送信
データバッファ256が再びデータを格納し得る状態に
戻る。その場合には、RTS制御信号ラインの出力がP
Cデータの送信を許容する状態にされ、パソコン4はフ
ァクシミリ装置2へのデータの送出を再開することがで
きる。
In S105, it is detected whether or not there is room to store data in the FAX-side transmission data buffer 256. If the data cannot be stored any more, the output of the RTS control signal line is set to a state in which transmission of PC data is prevented. Is done. The personal computer 4 watches the output of the RTS control signal line when transmitting data to the facsimile machine 2, and if the output is blocked, the transmission of data to the facsimile machine 2 is interrupted. When the data received by the facsimile apparatus 2 is sent to the partner apparatus 114, the FAX-side transmission data buffer 256 returns to a state where the data can be stored again. In that case, the output of the RTS control signal line is P
The transmission of the C data is allowed, and the personal computer 4 can restart the transmission of the data to the facsimile apparatus 2.

【0183】データが〈DLE〉であればS103の判
定結果はYESになり、S107においてDLEフラグ
272がセットされる。そのため、次にS102の判定
が行われるとき判定結果はYESになり、S108にお
いてDLEフラグ272がリセットされた後、S109
において次に取り出されたデータが〈DLE〉であるか
否かの判定が行われ、〈DLE〉であればS106にお
いてFAX側送信データバッファ256に〈DLE〉デ
ータが格納される。また、〈DLE〉データでなければ
S109の判定結果はNOになり、S110においてC
AN(CANCEL)データであるか否かの判定が行われ、C
ANデータであればS111においてキャンセルフラグ
274がセットされる。
If the data is <DLE>, the decision result in the step S103 is YES, and the DLE flag 272 is set in the step S107. Therefore, when the determination in S102 is performed next, the determination result is YES, and after the DLE flag 272 is reset in S108,
It is determined whether or not the next extracted data is <DLE>. If <DLE>, then in step S <b> 106, the <DLE> data is stored in the FAX-side transmission data buffer 256. If the data is not <DLE> data, the determination result in S109 is NO, and in S110, C
It is determined whether or not the data is AN (CANCEL) data.
If it is AN data, the cancel flag 274 is set in S111.

【0184】また、データが〈ETX〉データであれば
S110の判定結果がNO、S112の判定結果がYE
SになってS113が実行され、FAX側送信データバ
ッファ256にRTC PATTERNデータが格納さ
れる。RTC PATTERNデータは6個のEOLデ
ータを含むデータである。
If the data is <ETX> data, the decision result in S110 is NO, and the decision result in S112 is YE
In S, S113 is executed, and the RTC PATTERN data is stored in the FAX-side transmission data buffer 256. RTC PATTERN data is data including six pieces of EOL data.

【0185】PCデータ送信時のパソコン4からのコマ
ンド受信割込処理は、図16に示すデータ送信時コマン
ド受信P/S割込処理プログラムに従って行われる。ま
ず、S121においてP/S受信データバッファ246
からデータを1バイト分取り出した後、S122におい
て取り出したデータがコマンドの区切りを示すCRデー
タであるか否かの判定が行われる。CRデータでなけれ
ばS122の判定結果はNOになり、S123において
PC側受信データバッファ250にデータが格納され
る。
The command reception interruption processing from the personal computer 4 at the time of PC data transmission is performed according to the data transmission command reception P / S interruption processing program shown in FIG. First, in S121, the P / S reception data buffer 246
After extracting one byte of data from, it is determined in S122 whether the extracted data is CR data indicating a command delimiter. If the data is not CR data, the determination result in S122 is NO, and the data is stored in the PC-side reception data buffer 250 in S123.

【0186】CRデータであればS122の判定結果は
YESになり、S124においてコマンドの内容が解釈
された後、S125においてコマンドの内容に対応する
フラグがセットされる。
If the data is CR data, the result of the determination in S122 is YES, the content of the command is interpreted in S124, and then a flag corresponding to the content of the command is set in S125.

【0187】PCデータ送信時のパソコン4へのコマン
ド出力P/S割込処理は先に説明したアイドル時コマン
ド出力P/S割込処理と同じであり、説明は省略する。
また、パソコン4へのデータ送出P/S割込処理は、フ
ァクシミリ装置2からパソコン4へファクシミリデータ
を送信する際のP/S割込処理と同じであり、後に説明
する。
The command output P / S interrupt processing to the personal computer 4 at the time of PC data transmission is the same as the above-described idle command output P / S interrupt processing, and a description thereof will be omitted.
The data transmission P / S interruption processing to the personal computer 4 is the same as the P / S interruption processing when facsimile data is transmitted from the facsimile apparatus 2 to the personal computer 4, and will be described later.

【0188】ファクシミリ装置2がパソコン4から受け
取ってFAX側送信データバッファ256に格納した符
号化画像データは、割込処理によってモデム送信データ
バッファ238に書き込まれ、モデム送信データバッフ
ァ238から相手装置114へ送出される。
The coded image data received by the facsimile machine 2 from the personal computer 4 and stored in the FAX-side transmission data buffer 256 is written into the modem transmission data buffer 238 by an interruption process. Sent out.

【0189】ファクシミリ装置2と相手装置114(正
確にはモデム214)との間における符号化画像データ
およびコマンドの送信,受信は割込処理により行われ
る。この割込処理のための割込端子はパソコン4との間
で符号化画像データやコマンドの送信,受信を行う割込
のための割込端子とは別に設けられており、ファクシミ
リ装置2とパソコン4との間におけるPCデータ,ファ
クシミリデータの送信,受信と、ファクシミリ装置2と
相手装置114との間におけるファクシミリデータの送
信,受信は並行して実行可能である。
Transmission and reception of encoded image data and commands between the facsimile apparatus 2 and the partner apparatus 114 (more precisely, the modem 214) are performed by interrupt processing. An interrupt terminal for this interrupt processing is provided separately from an interrupt terminal for transmitting and receiving encoded image data and commands between the personal computer 4 and the facsimile apparatus 2 and the personal computer. 4, transmission and reception of PC data and facsimile data, and transmission and reception of facsimile data between the facsimile apparatus 2 and the partner apparatus 114 can be executed in parallel.

【0190】割込処理のプログラムは複数あり、パソコ
ン4とファクシミリ装置2との間における画像データお
よびコマンドの送,受信の場合と同様に、割込信号に対
して実行する割込処理プログラムを指示するために割込
ベクトルが設定される。
There are a plurality of interrupt processing programs. As in the case of transmitting and receiving image data and commands between the personal computer 4 and the facsimile apparatus 2, the interrupt processing program to be executed for the interrupt signal is specified. An interrupt vector is set to perform the operation.

【0191】割込信号は、モデム受信データバッファ2
39に8ビットのデータが格納されたときと、モデム送
信データバッファ238が空になったときとにそれぞれ
に発せられる。割込信号の発生に対する割込処理プログ
ラムの実行は、データ受信割込禁止フラグ241,デー
タ送信割込禁止フラグ242のセット,リセットにより
禁止,許可される。データ受信割込禁止フラグ241は
常時割込許可状態にされている。データをいつでも受信
し得るようにされているのである。
The interrupt signal is transmitted to the modem reception data buffer 2
It is issued when the 8-bit data is stored in 39 and when the modem transmission data buffer 238 becomes empty. The execution of the interrupt processing program in response to the generation of the interrupt signal is prohibited and permitted by setting and resetting the data reception interrupt prohibition flag 241 and the data transmission interrupt prohibition flag 242. The data reception interruption prohibition flag 241 is always in an interruption permission state. The data is ready to be received.

【0192】ファクシミリ装置2から相手装置114へ
の画像データあるいはコマンドの送信に関しては、通常
は割込処理プログラムの実行が禁止されており、実際の
送信時に許可される。ファクシミリ装置2が相手装置1
14からコマンドを受信する場合(画像データを受信す
る場合も同様)には、受信割込処理は常時許可されてい
るため、割込ベクトルの設定のみが行われる。これら割
込ベクトルの設定,データ送信割込禁止フラグ244の
セット,リセットは、割込プログラム中において行われ
る。
Regarding the transmission of image data or commands from the facsimile apparatus 2 to the destination apparatus 114, execution of the interrupt processing program is normally prohibited, and is permitted during actual transmission. Facsimile device 2 is partner device 1
When a command is received from 14 (the same applies to the case of receiving image data), only the setting of the interrupt vector is performed because the reception interrupt process is always permitted. The setting of these interrupt vectors and the setting and resetting of the data transmission interrupt prohibition flag 244 are performed during the interrupt program.

【0193】相手装置114(モデム214)への符号
化画像データの送出のための割込を説明する。
An interrupt for transmitting encoded image data to the partner device 114 (modem 214) will be described.

【0194】モデム送信データバッファ238が空にな
れば割込信号が発せられ、図17に示すデータ送信時画
像データ送出モデム割込処理プログラムが実行される。
S131においてFAX側送信データバッファ256に
おいて符号化画像データを送出する準備が完了したか否
かの判定が行われる。この判定は、FAX側送信データ
バッファ256に1ライン分の符号化画像データが揃っ
たか否かにより行われる。1ライン分の符号化画像デー
タが揃ったか否かは、FAX側送信データバッファ25
6に符号化画像データに続いてEOLデータが格納され
ているか否かによりわかる。準備が完了していればS1
31の判定結果がYESになり、S132においてFA
X側送信データバッファ256から符号化画像データが
1バイトずつ取り出され、S133においてモデム送信
データバッファ238に格納される。
When the modem transmission data buffer 238 becomes empty, an interrupt signal is issued, and the data transmission image data transmission modem interrupt processing program shown in FIG. 17 is executed.
In S131, it is determined whether or not preparation for transmitting the encoded image data has been completed in the FAX-side transmission data buffer 256. This determination is made based on whether or not one line of encoded image data has been prepared in the FAX-side transmission data buffer 256. The FAX side transmission data buffer 25 determines whether or not encoded image data for one line has been prepared.
6 indicates whether EOL data is stored following the encoded image data. S1 if preparation is complete
The determination result at step S31 is YES, and at S132 the FA
The coded image data is extracted one byte at a time from the X-side transmission data buffer 256 and stored in the modem transmission data buffer 238 in S133.

【0195】次いでS134において書き込まれたデー
タがRTC PATTERNの終了を表すデータである
か否かの判定が行われる。RTC PATTERNデー
タは、6個のEOLデータにより構成されるため、ここ
ではS134に書き込まれたデータが6個目のEOLデ
ータであったか否かの判定が行われるのである。S13
4の判定結果は当初はNOであり、プログラムの実行は
終了する。
Next, it is determined whether or not the data written in S134 is data indicating the end of RTC PATTERN. Since the RTC PATTERN data is composed of six pieces of EOL data, here, it is determined whether or not the data written in S134 is the sixth piece of EOL data. S13
The determination result of No. 4 is initially NO, and the execution of the program ends.

【0196】FAX側送信データバッファ256に符号
化がそうデータに続いてEOLデータが格納されている
間はS131の判定結果がYESになり、FAX側送信
データバッファ256に格納された符号化画像データが
1バイトずつモデム送信データバッファ238に書き込
まれる。また、RTC PATTERNデータを表す6
個のEOLデータが格納されているときにS131の判
定結果はYESになり、EOLデータがモデム側送信デ
ータバッファ238に書き込まれる。そして、6個目の
EOLデータがモデム側送信データバッファ238に書
き込まれればS134の判定結果がYESになる。RT
C PATTERNデータの終了であって1頁の符号化
画像データの送出の終了であり、S135において、M
PS信号を出力する割込ベクトルが設定される。
While the EOL data is stored in the FAX transmission data buffer 256 after the data is encoded, the determination result in S131 is YES, and the encoded image data stored in the FAX transmission data buffer 256 is YES. Is written into the modem transmission data buffer 238 byte by byte. Also, 6 representing RTC PATTERN data
When the pieces of EOL data are stored, the determination result in S131 is YES, and the EOL data is written to the modem-side transmission data buffer 238. If the sixth EOL data is written to the modem-side transmission data buffer 238, the determination result in S134 becomes YES. RT
This is the end of the C PATTERN data and the end of the transmission of one page of encoded image data.
An interrupt vector for outputting a PS signal is set.

【0197】FAX側受信データバッファ256におい
て符号化画像データの送信準備が完了していなければS
131の判定結果がNOになり、S136において1ビ
ットの0フィルデータがレジスタにセットされる。0フ
ィルデータは、EOLデータと符号化画像データとの間
に書き込まれることとなり、書込み後、S137におい
てCPU200に設けられたタイマがセットされる。次
いでS138において0フィルデータカウンタ340の
カウント値が1増加させられた後、S139において設
定時間が経過したか否かの判定が行われる。
If preparation for transmission of encoded image data is not completed in the reception data buffer 256 on the facsimile side, S
The determination result at 131 is NO, and in S136, 1-bit 0 fill data is set in the register. The 0 fill data is written between the EOL data and the encoded image data, and after writing, a timer provided in the CPU 200 is set in S137. Next, after the count value of the 0 fill data counter 340 is increased by 1 in S138, it is determined in S139 whether the set time has elapsed.

【0198】レジスタに書き込まれた0フィルデータは
モデム送信データバッファ238に書き込まれる。FA
X側送信データバッファ256に送出するデータがなく
ても、回線が切られることがないようにされているので
ある。しかし、所定数の0フィルデータが書き込まれた
か、あるいはそれ以前に設定時間が経過したときには、
S139の判定結果あるはいS140の判定結果がYE
Sになり、S141において0フィルデータカウンタ3
40がリセットされ、S142においてキャンセルフラ
グ274がセットされて通信が終了させられる。FAX
側送信データバッファ256に長時間データがないこと
は異常であるからである。
The 0 fill data written to the register is written to the modem transmission data buffer 238. FA
Even if there is no data to be sent to the X-side transmission data buffer 256, the line is not disconnected. However, when a predetermined number of 0 fill data has been written or before the set time has elapsed,
Yes at S139 Yes YE at S140
At S141, 0 fill data counter 3 is set at S141.
40 is reset, a cancel flag 274 is set in S142, and the communication is terminated. FAX
This is because the absence of data for a long time in the side transmission data buffer 256 is abnormal.

【0199】データ送信時のモデム214へのコマンド
の出力を図18に示すデータ送信時コマンド出力モデム
割込処理プログラムに基づいて説明する。なお、データ
送信時にはファクシミリ装置2とモデム214との間に
おいてPCデータ送信時シーケンスチャートに基づいて
説明したように多種類のコマンドが送信,受信される。
割込処理プログラムは各コマンドの出力の各々について
設定されているが、図18(a),(b)に基づいてD
CS信号およびTCF信号の出力を代表的に説明する。
Output of a command to the modem 214 at the time of data transmission will be described based on a data transmission command output modem interrupt processing program shown in FIG. At the time of data transmission, various commands are transmitted and received between the facsimile machine 2 and the modem 214 as described based on the PC data transmission sequence chart.
Although the interrupt processing program is set for each output of each command, D is determined based on FIGS. 18 (a) and 18 (b).
The output of the CS signal and the TCF signal will be described representatively.

【0200】図18(a)に示すプログラムのS151
においてDCS信号がモデム送信データバッファ238
に書き込まれた後、S152において割込ベクトルがT
CF出力に設定される。TCF信号は、DCS信号の次
に出力されるからである。TCF信号の出力時には、図
18(b)に示すプログラムのS153においてTCF
信号のモデム送信データバッファ238への書込み後、
S154において割込ベクトルがCFR受信に設定され
た後、S155においてデータ送信割込禁止フラグ24
4がセットされてデータ送信割込処理の実行が禁止され
る。
S151 of the program shown in FIG.
The DCS signal at the modem transmit data buffer 238
, The interrupt vector is set to T in S152.
Set to CF output. This is because the TCF signal is output after the DCS signal. At the time of output of the TCF signal, the TCF signal is output in S153 of the program shown in FIG.
After writing the signal to the modem transmit data buffer 238,
After the interrupt vector is set to CFR reception in S154, the data transmission interrupt prohibition flag 24 is set in S155.
4 is set to inhibit execution of the data transmission interrupt process.

【0201】データ送信時のモデム214からのコマン
ドの受信を図19に示すデータ送信時コマンド受信モデ
ム割込処理プログラムに基づいて説明する。受信するコ
マンドも出力するコマンドと同様に複数種類あり、各々
について受信のための割込処理プログラムが設定されて
いるが、図19においては、DIS信号受信のための割
込処理プログラムを代表的に説明する。
The reception of a command from the modem 214 during data transmission will be described with reference to the data transmission command reception modem interrupt processing program shown in FIG. There are a plurality of types of commands to be received as well as commands to be output, and an interrupt processing program for reception is set for each of them. In FIG. 19, an interrupt processing program for receiving a DIS signal is representatively shown. explain.

【0202】この割込処理プログラムは割込ベクトルが
DIS信号の受信に設定されている状態で、モデム受信
データバッファ239に8ビット分のデータが格納さ
れ、割込信号が発生させられたときに実行を開始され
る。
This interrupt processing program is executed when 8-bit data is stored in the modem reception data buffer 239 and the interrupt signal is generated in a state where the interrupt vector is set to receive the DIS signal. Execution is started.

【0203】まず、S161においてコマンドを受信し
たか否かの判定が行われる。この判定は、モデム受信デ
ータバッファ239にデータが格納されたか否かにより
行われ、格納されればS161の判定結果はYESにな
り、S162においてコマンドがCSI(Called Subsc
riber Identification) 信号(受信側のファクシミリ装
置のファクシミリ番号を表す信号)であるか否かの判定
が行われる。
First, it is determined in S161 whether a command has been received. This determination is made based on whether or not data is stored in the modem reception data buffer 239. If the data is stored, the determination result in S161 is YES, and in S162, the command is a CSI (Called Subsc
riber Identification) signal (signal indicating the facsimile number of the facsimile machine on the receiving side).

【0204】このプログラムは上記のようにモデム受信
データバッファ239に8ビット分のデータが格納され
たときに実行が開始されるものであり、かつ、このプロ
グラムの実行開始時にモデム受信データバッファ239
に最初に格納されるデータは信号の種類を表すデータで
あり、それにより送信されて来た信号がCSI信号であ
るか否かがわかる。本ファクシミリ装置2においては、
CSI信号が送信されて来ても利用せず、そのまま読み
捨て、CSI信号に対するTSI(Transmit Station I
dentification)信号を出力しない。そのため、コマンド
がCSI信号であればS162の判定結果はYESにな
ってプログラムの実行は終了する。
The execution of this program is started when 8 bits of data are stored in the modem reception data buffer 239 as described above, and when the execution of this program is started, the modem reception data buffer 239 is started.
Is the data indicating the type of the signal, and it can be determined whether or not the transmitted signal is a CSI signal. In the facsimile machine 2,
Even if a CSI signal is transmitted, it is not used, but is discarded as it is, and the TSI (Transmit Station I
dentification) signal is not output. Therefore, if the command is a CSI signal, the determination result in S162 is YES, and the execution of the program ends.

【0205】DIS信号が送信されて来ればS162の
判定結果がNO,S163の判定結果がYESになり、
S164においてそのデータがFAX側受信データバッ
ファ254に格納される。続いて、S165においてそ
の格納されたデータがコマンド終了、すなわちDIS信
号の終了を示すデータであるか否かが判定され、判定結
果がYESであればS166以降が実行されるが、NO
であればそのまま終了し、再びS161からの実行が繰
り返される。なお、一旦、DIS信号であることがFA
X側受信データバッファ254に格納されれば、S16
3の判定結果はYESになり、送信されて来たデータは
DIS信号が終了するまでFAX側受信データバッファ
254に格納される。
If the DIS signal is transmitted, the determination result in S162 is NO, and the determination result in S163 is YES,
In S164, the data is stored in the FAX-side reception data buffer 254. Subsequently, in S165, it is determined whether or not the stored data is the data indicating the end of the command, that is, the end of the DIS signal. If the determination result is YES, S166 and the subsequent steps are executed, but NO is performed.
If so, the process ends, and the execution from S161 is repeated again. Note that once the DIS signal is FA
If stored in the X-side received data buffer 254, S16
The determination result of 3 is YES, and the transmitted data is stored in the FAX-side reception data buffer 254 until the DIS signal ends.

【0206】S166においては、FAX側受信データ
バッファ254のDIS信号に基づいて、ファクシミリ
装置2と相手装置114とがデータの送信可能な機種で
あるか否かの判定が行われる。可能であればS167に
おいて送信するデータがあるか否かの判定が行われる。
この判定は、ファクシミリ装置2において画像読取装置
42によって読み取った読取画像データを相手装置11
4に送信する場合には原稿90がセットされているか否
かにより行われ、PCデータを相手装置114に送信す
る場合には、PCデータの送信を指示する発呼送信コマ
ンド(ATD+STRING)がパソコン4から送信さ
れて来ているか否かにより行われる。送信するデータが
あればS168において、ファクシミリ装置2と相手装
置114との間の伝送パラメータが決定され、DCS信
号の内容が設定される。次いでS169において割込ベ
クトルがDCS信号の出力実行に設定された後、S17
0においてデータ送信のための割込処理の実行が許可さ
れる。
In S166, it is determined whether or not the facsimile apparatus 2 and the partner apparatus 114 are models capable of transmitting data based on the DIS signal of the FAX-side received data buffer 254. If possible, it is determined in S167 whether or not there is data to be transmitted.
This determination is made by using the read image data read by the image reading device 42 in the facsimile
4 is transmitted depending on whether the original 90 is set or not. When the PC data is transmitted to the partner apparatus 114, a call transmission command (ATD + STRING) instructing the transmission of the PC data is sent to the personal computer 4. This is performed depending on whether or not it has been transmitted from. If there is data to be transmitted, in S168, the transmission parameters between the facsimile apparatus 2 and the partner apparatus 114 are determined, and the contents of the DCS signal are set. Next, after the interrupt vector is set to output the DCS signal in S169, the process proceeds to S17.
At 0, execution of interrupt processing for data transmission is permitted.

【0207】コマンドが予め設定された時間内に得られ
なければS161の判定結果がNO,S171の判定結
果がYESになり、S172において回線が開放されて
通信が終了する。時間内であればS173が実行され、
割込ベクトルがDIS受信にセットされる。
If the command is not obtained within the preset time, the result of the determination in S161 is NO, the result of the determination in S171 is YES, and the line is opened in S172 to terminate the communication. If it is within the time, S173 is executed,
The interrupt vector is set for DIS reception.

【0208】また、送信するデータがFAX側送信デー
タバッファ256になければS167の判定結果がNO
になり、S174において割込ベクトルが回線の開放に
備えてDCN信号の出力に設定された後、S175にお
いてデータ送信が許可される。
If the data to be transmitted is not in the FAX-side transmission data buffer 256, the determination result in S167 is NO.
Then, after the interrupt vector is set to the output of the DCN signal in preparation for the release of the line in S174, the data transmission is permitted in S175.

【0209】PCデータの送信を図20に示すPCデー
タ送信プログラムに基づいて説明する。
The transmission of PC data will be described based on the PC data transmission program shown in FIG.

【0210】S201においてPCデータ送信フラグ2
68がセットされているか否かにより、PCデータの送
信か否かの判定が行われる。PCデータ送信フラグ26
8がセットされていればS201の判定結果はYESに
なり、S202,S203においてフェーズAのダイヤ
ル送出後のCNG信号等の信号出力,受信が行われた
後、S204においてフェーズBが行われ、ファクシミ
リ装置2と相手装置114との間の伝送パラメータの設
定等が行われる。ここではPCデータの送信であるた
め、パソコン4の伝送パラメータがファクシミリ装置2
の伝送パラメータと見なされる。パソコン4の伝送パラ
メータはPC伝送パラメータバッファ263に格納され
ており、ファクシミリ装置2は、パソコン4と相手装置
114との間の伝送パラメータのレベルを、共通であっ
て最高のレべルに設定する。
In S201, PC data transmission flag 2
It is determined whether or not PC data is to be transmitted based on whether or not 68 is set. PC data transmission flag 26
If 8 has been set, the determination result in S201 is YES, and in S202 and S203, after outputting and receiving the CNG signal and the like after the phase A dial transmission, the phase B is performed in S204 and the facsimile is performed. Transmission parameters between the device 2 and the partner device 114 are set. Here, since the transmission is PC data, the transmission parameter of the personal computer 4 is changed to the facsimile apparatus 2.
Are considered as transmission parameters. The transmission parameters of the personal computer 4 are stored in the PC transmission parameter buffer 263, and the facsimile apparatus 2 sets the level of the transmission parameters between the personal computer 4 and the partner apparatus 114 to the highest common level. .

【0211】次いでS205においてエラーが発生した
か否かの判定が行われる。エラーとは、フェーズBにお
いてDIS信号を受信できないこと、あるいはファクシ
ミリ装置2と相手装置114との間でコマンドをコマン
ドの伝送速度である2400bpsの速度で送信できな
いこと等であり、エラーがあればS205の判定結果は
YESになり、S206においてエラー処理が行われ
る。エラー処理とは、パソコン4へ(+FHNG:2)
信号を出力してエラーの発生による通信終了を報知する
こと、相手装置114へのDCN信号の出力等であり、
S207において回線が開放されてプログラムの実行は
終了する。
Next, in S205, it is determined whether or not an error has occurred. The error means that a DIS signal cannot be received in phase B, or that a command cannot be transmitted between the facsimile apparatus 2 and the partner apparatus 114 at a command transmission rate of 2400 bps. Is YES, and an error process is performed in S206. Error processing is to PC 4 (+ FHNG: 2)
Outputting a signal to notify the end of communication due to occurrence of an error, outputting a DCN signal to the partner apparatus 114, and the like.
In step S207, the line is released, and the execution of the program ends.

【0212】エラーがなければS205の判定結果はN
Oになり、フェーズCが実行されるが、パソコン4から
のPCデータの受信および相手装置114への符号化画
像データの送出はいずれも割込処理によって行われるた
め、このプログラムでは、フェーズCとしては下記のよ
うに符号化画像データがパソコン4から1頁分送信され
て来たか否かの判定が繰り返し実行されるのみである。
If there is no error, the decision result in S205 is N
O, and the phase C is executed. However, the reception of the PC data from the personal computer 4 and the transmission of the encoded image data to the partner device 114 are both performed by the interrupt processing. Only determines whether or not encoded image data for one page has been transmitted from the personal computer 4 as described below.

【0213】S205の判定結果がNOの場合には、S
208において送信がキャンセルされたか否かの判定が
行われる。この判定はキャンセルフラグ274がセット
されているか否かにより行われ、キャンセルであればS
208の判定結果はYESになり、S206,S207
が実行されて通信は終了する。キャンセルフラグ274
は、パソコン4におけるキャンセルキーの押下によるキ
ャンセルの指示に応じて、あるいは前述のようにFAX
側送信データバッファ256に符号化画像データがない
状態が設定時間継続するかあるいは設定数の0フィルデ
ータの書込みが行われる間継続した場合にセットされ、
いずれの場合にも通信が終了させられる。
If the decision result in S205 is NO, S
At 208, a determination is made whether the transmission has been canceled. This determination is made based on whether or not the cancel flag 274 is set.
The determination result at 208 is YES, and S206, S207
Is executed, and the communication ends. Cancel flag 274
Is transmitted in response to an instruction to cancel by pressing the cancel key on the personal computer 4 or as described above.
It is set when the state where there is no encoded image data in the side transmission data buffer 256 continues for the set time or while the set number of 0 fill data is written,
In either case, the communication is terminated.

【0214】S208においてはさらに、操作パネル1
2に設けられたストップキー164が押下されたか否か
の判定も行われ、ストップキー164の押下によりデー
タ送信の終了が指示されれば送信が終了させられる。
In S208, the operation panel 1
It is also determined whether or not the stop key 164 provided on the second key 2 is pressed, and if the stop key 164 is pressed to instruct the end of data transmission, the transmission is terminated.

【0215】キャンセルまたはストップでなければS2
08の判定結果はNOになり、S209において1頁の
データ送信の終了であるか否かの判定が行われる。この
判定はFAX側送信データバッファ256からモデム送
信データバッファ238に供給されるデータ中にRTC
PATTERNデータがあるか否かにより行われる。
割込処理によりパラレル/シリル変換回路240からR
TC PATTERNデータが取り込まれていればS2
09の判定結果はいずれYESになり、S210におい
てFAX側送信データバッファ256が空であるか否か
の判定が行われる。1頁の終了を示すデータが検出され
るとともにFAX側送信データバッファ256が空にな
って全部のデータが送出されればS209,S210の
判定結果がいずれもYESになり、S211においてパ
ソコン4にOK信号が出力される。RTC PATTE
RNデータが得られる前にFAX側送信データバッファ
256が空になってもOKコマンドが出力されて画像デ
ータの送信が1頁の途中で終わることがないようにされ
ているのである。
If not cancel or stop, S2
The determination result of 08 is NO, and it is determined in S209 whether the transmission of one page of data is completed. This determination is based on the fact that the RTC is included in the data supplied from the fax transmission data buffer 256 to the modem transmission data buffer 238.
This is performed depending on whether or not there is PATTERN data.
From the parallel / silyl conversion circuit 240 by interrupt processing
S2 if TC PATTERN data is captured
The result of the determination in 09 is eventually YES, and a determination is made in S210 as to whether or not the FAX-side transmission data buffer 256 is empty. If data indicating the end of one page is detected and the FAX-side transmission data buffer 256 is emptied and all data has been transmitted, the determination results in S209 and S210 are both YES, and the PC 4 is OK in S211. A signal is output. RTC PATTE
Even if the FAX-side transmission data buffer 256 becomes empty before RN data is obtained, an OK command is output so that transmission of image data does not end in the middle of one page.

【0216】次いでフェーズDが実行され、まず、S2
12において次頁データがあるか否かの判定が行われ
る。次頁データがあればS212の判定結果はYESに
なり、S213において伝送パラメータが変更されるか
否かの判定が行われる。変更がなければS213の判定
結果はNOになり、S214〜S222においてフェー
ズDの信号の送,受信が行われる。
Next, phase D is executed.
At 12, it is determined whether or not there is next page data. If there is next page data, the determination result in S212 is YES, and in S213, it is determined whether the transmission parameter is changed. If there is no change, the determination result in S213 is NO, and the transmission and reception of the phase D signal are performed in S214 to S222.

【0217】なお、ファクシミリ装置2が相手装置11
4からのMCF信号,(AT+FDT)信号を待つと
き、タイマがセットされるとともに、S217,S22
1において設定時間が経過したか否かが判定され、設定
時間内にMCF信号,(AT+FDT)信号が得られな
ければS206のエラー処理が行われて通信が終了す
る。設定時間内にMCF信号,(AT+FDT)信号が
得られればプログラムの実行はS208に戻り、フェー
ズCが実行される。
Note that the facsimile machine 2 is
When waiting for the MCF signal and (AT + FDT) signal from S.4, the timer is set, and at S217, S22
At 1, it is determined whether or not the set time has elapsed. If the MCF signal and the (AT + FDT) signal are not obtained within the set time, the error processing of S206 is performed and the communication ends. If the MCF signal and the (AT + FDT) signal are obtained within the set time, the execution of the program returns to S208, and the phase C is executed.

【0218】伝送パラメータの変更があればS213の
判定結果はYESになり、S223において相手装置1
14へEOM(End of Messange)信号が出力される。次
いでS224〜S227が実行され、設定時間内にMC
F信号が得られればプログラムの実行はS204へ戻
り、相手装置114との間で伝送パラメータの設定が行
われた後、次頁データの送信が行われる。
If there is a change in the transmission parameters, the determination result in S213 is YES, and in S223, the partner device 1
14, an EOM (End of Messange) signal is output. Next, S224 to S227 are executed, and MC is set within the set time.
If the F signal is obtained, the execution of the program returns to S204, and after setting the transmission parameters with the partner device 114, the next page data is transmitted.

【0219】次頁データがなければS212の判定結果
はNOになり、S228〜S232において送信終了時
のフェーズDおよびフェーズE(回線開放)が行われて
データ送信が終了する。
If there is no next page data, the determination result in S212 is NO, and in S228 to S232, phase D and phase E (line release) at the end of transmission are performed, and the data transmission ends.

【0220】このように1つの相手装置114へのデー
タ送信が終了したならば、パソコン4においては、先に
図13のPCデータ送出プログラムに関して説明したよ
うに、S56においてファクシミリ装置2から(+FH
NG:0)信号を受信した後、S57において次にまだ
PCデータを送信する相手があるか否かを判定し、送信
相手があれば発呼送信コマンドをファクシミリ装置2へ
出力し、同じPCデータがファクシミリ装置2へ送ら
れ、異なる相手装置114へ送信される。このようにフ
ァクシミリ装置2への送信も含めてPCデータが複数の
送信相手に送信されるとき、送信相手毎にPCデータが
パソコン4からファクシミリ装置2へ供給されるため、
ファクシミリ装置2においてPCデータを全部格納する
ことが不可欠でなく、PCデータを記憶するためのバッ
ファの容量が少なくて済み、あるいは容量が一杯になる
ことを回避できる。
When the data transmission to one partner apparatus 114 is completed, the personal computer 4 sends the (+ FH) from the facsimile apparatus 2 in S56 as described above with reference to the PC data transmission program of FIG.
NG: 0) After receiving the signal, it is determined in step S57 whether or not there is another party to which the PC data is to be transmitted. If there is another party to transmit, a call transmission command is output to the facsimile apparatus 2, and Is sent to the facsimile machine 2 and sent to a different partner device 114. As described above, when PC data is transmitted to a plurality of transmission destinations including transmission to the facsimile apparatus 2, since the PC data is supplied from the personal computer 4 to the facsimile apparatus 2 for each transmission destination,
It is not indispensable to store all the PC data in the facsimile machine 2, and the capacity of the buffer for storing the PC data can be reduced or the capacity can be prevented from being full.

【0221】次に、PCデータのファクシミリ装置2自
体への送信を説明する。
Next, transmission of PC data to the facsimile apparatus 2 will be described.

【0222】前記図14に示す送信プログラムにおいて
パソコン4からファクシミリ装置2へ出力された数字列
の桁数が自己ファクシミリ番号バッファ264に格納さ
れたファクシミリ番号と桁数が同じであって数字が全部
一致している場合、あるいは桁数は異なるが共通桁数の
数字が全部一致している場合には、S75あるいはS7
4の判定結果がYESになってS76が実行され、プリ
ントフラグ276がセットされる。パソコン4から供給
された数字列とファクシミリ装置2が記憶している数字
列とが一致しているということは、PCデータの送信相
手としてファクシミリ装置2自体が指示されたというこ
とである。この場合、パソコン4は相手装置114へP
Cデータを送信する場合と同様にファクシミリ装置2に
PCデータを送り、ファクシミリ装置2においてPCデ
ータが記録される。
In the transmission program shown in FIG. 14, the number of digits of the digit string output from the personal computer 4 to the facsimile device 2 is the same as the number of digits of the facsimile number stored in the own facsimile number buffer 264, and all the digits are one. If they match, or if the numbers of digits differ but the numbers of the common digits all match, S75 or S7
The result of the determination in Step 4 is YES, S76 is executed, and the print flag 276 is set. The fact that the number string supplied from the personal computer 4 matches the number string stored in the facsimile apparatus 2 means that the facsimile apparatus 2 itself has been instructed as the transmission destination of the PC data. In this case, the personal computer 4 sends a P
The PC data is sent to the facsimile machine 2 as in the case of transmitting the C data, and the PC data is recorded in the facsimile machine 2.

【0223】ファクシミリ装置2の記録装置29がPC
データを記録する場合の手順を図21に示すシーケンス
チャートに基づいて説明する。
When the recording device 29 of the facsimile machine 2 is a PC
A procedure for recording data will be described with reference to a sequence chart shown in FIG.

【0224】パソコン4はファクシミリ装置2の記録装
置29にPCデータを記録させるために、ファクシミリ
装置2の能力を問う信号(AT+BRPR=?)を出力
する。それに対し、ファクシミリ装置2は解像度,用紙
幅の種類を信号(BRPR:vr,wd)により返答
し、パソコン4は共通かつ最高のレベルを記録レベルに
設定する信号(AT+BRPR=vr,wd)をファク
シミリ装置2へ出力する。なお、ファクシミリ装置2
は、装置のカバーが開いていたり、記録紙の詰まり等の
エラーが生じている場合には、それらを表す信号(BR
NG:COVEROPEN,BRNG:PRINTER
JAM)をパソコン4へ出力する。
The personal computer 4 outputs a signal (AT + BRPR =?) Inquiring about the capability of the facsimile apparatus 2 so that the recording apparatus 29 of the facsimile apparatus 2 records the PC data. On the other hand, the facsimile apparatus 2 returns the resolution and the type of paper width by a signal (BRPR: vr, wd), and the personal computer 4 transmits a signal (AT + BRPR = vr, wd) for setting the common and highest level to the recording level. Output to device 2. The facsimile machine 2
When an error such as a cover of the apparatus is opened or a recording paper is jammed, a signal (BR) indicating the error is generated.
NG: COVEROPEN, BRNG: PRINTER
JAM) to the personal computer 4.

【0225】パソコン4から記録開始が指示されれば、
記録に必要な信号の交換,PCデータの送信が行われる
が、これらは図11に示すPCデータ送信時のシーケン
スチャートとの比較からわかるように、PCデータ送信
時のパソコン4とファクシミリ装置2との間におけるP
Cデータの送信と同じである。したがって、ファクシミ
リ装置2が送信相手として指定された場合には、PCデ
ータ送信手順のうち、ファクシミリ装置2から相手装置
114へのデータ送信を除いて、パソコン4からファク
シミリ装置2へのPCデータの送信のみを行い、PCデ
ータの送信の一環としてファクシミリ装置2にPCデー
タを記録させることができるのである。PCデータ記録
時には、ファクシミリ装置2は符号化画像データを図2
2に示す記録時画像データ受信P/S割込処理プログラ
ムに従って受信する。PCデータの記録のために図23
に示すPCデータ記録プログラムが実行されるとき、割
込ベクトルがこの記録時画像データ受信I/O割込処理
プログラムによりPCデータをP/S受信データバッフ
ァ246から取り出してPC側受信データバッファ25
0に格納するように設定されるからである。PCデータ
記録時のパソコン4からのコマンドの受信,パソコン4
へのコマンドの出力およびデータの送出は、PCデータ
の送信時と同じであり、説明は省略する。
When recording start is instructed from the personal computer 4,
Signal exchange required for recording and transmission of PC data are performed. As can be seen from comparison with the sequence chart at the time of PC data transmission shown in FIG. 11, these are exchanged between the personal computer 4 and the facsimile machine 2 at the time of PC data transmission. P between
This is the same as the transmission of C data. Therefore, when the facsimile apparatus 2 is specified as the transmission destination, the PC data transmission procedure from the personal computer 4 to the facsimile apparatus 2 except for the data transmission from the facsimile apparatus 2 to the destination apparatus 114 in the PC data transmission procedure. Is performed, and the PC data can be recorded on the facsimile apparatus 2 as part of the transmission of the PC data. At the time of PC data recording, the facsimile apparatus 2 converts the encoded image data
2 is received in accordance with the recording-time image data reception P / S interrupt processing program shown in FIG. FIG. 23 for recording of PC data
When the PC data recording program shown in (1) is executed, the interruption vector takes out PC data from the P / S reception data buffer 246 by the recording-time image data reception I / O interruption processing program, and
This is because it is set to be stored in 0. Receiving commands from PC 4 during PC data recording, PC 4
The output of the command and the transmission of the data are the same as the transmission of the PC data, and the description is omitted.

【0226】この割込処理プログラムは、パソコン4か
ら符号化画像データが8ビット送信される毎に実行され
るが、相手装置114へデータを送信するのではないた
め、受信した符号化画像データはPC側受信データバッ
ファ250に格納され、1ラインの送信時間を保つため
の0フィルデータの格納は行われない。符号化画像デー
タをPC側受信データバッファ250に格納するとき、
PC側受信データバッファ250に更にデータを格納す
る容量があるか否かを見て、容量がなければRTS制御
信号ラインの出力をL状態に設定することは行われる。
その他の部分は、図15に示すデータ送信時画像データ
受信P/S割込処理プログラムと同じであり、説明は省
略する。
This interrupt processing program is executed every time 8 bits of encoded image data are transmitted from the personal computer 4. However, since the data is not transmitted to the partner apparatus 114, the received encoded image data is The 0-fill data stored in the PC-side reception data buffer 250 to maintain the transmission time of one line is not stored. When storing the encoded image data in the PC-side reception data buffer 250,
It is determined whether or not the PC-side received data buffer 250 has a capacity for further storing data. If there is no capacity, the output of the RTS control signal line is set to the L state.
Other parts are the same as those of the image data reception P / S interrupt processing program at the time of data transmission shown in FIG. 15, and a description thereof will be omitted.

【0227】図14に示す送信プログラムのS76にお
いてプリントフラグ276がセットされることにより、
図23に示すPCデータ記録プログラムのS301の判
定結果がYESになり、S302〜S306の実行によ
りパソコン4の符号化画像データの受信に必要な信号交
換が行われる。次いでS307において割込ベクトルが
符号化画像データ受信にセットされ、符号化画像データ
をPC側受信データバッファ250へ格納することが可
能な状態とされる。それによりパソコン4から符号化画
像データが送信される毎に図22に示す割込処理プログ
ラムが実行され、PC側受信データバッファ250に符
号化画像データが格納される。
When the print flag 276 is set in S76 of the transmission program shown in FIG.
The determination result of S301 of the PC data recording program shown in FIG. 23 is YES, and the signals exchange required for the PC 4 to receive the encoded image data is performed by executing S302 to S306. Next, in step S307, the interrupt vector is set to receive the coded image data, and the coded image data can be stored in the PC-side received data buffer 250. Thus, every time the encoded image data is transmitted from the personal computer 4, the interrupt processing program shown in FIG. 22 is executed, and the encoded image data is stored in the PC-side received data buffer 250.

【0228】PCデータ記録プログラムにおいては、P
C側受信データバッファ250に格納されたPCデータ
の復号処理が行われる。そのため、PCデータ記録プロ
グラムのS308において1頁の初期化処理が行われ
る。PC側受信データバッファ250に格納された符号
化画像データの1頁目の先頭アドレス,符号化画像デー
タの解像度,符号化方式,用紙幅がRAM202の1頁
データ用バッファ277に格納されるのである。
In the PC data recording program, P
The decoding processing of the PC data stored in the C-side received data buffer 250 is performed. Therefore, the initialization process for one page is performed in S308 of the PC data recording program. The head address of the first page of the encoded image data stored in the PC-side received data buffer 250, the resolution of the encoded image data, the encoding method, and the paper width are stored in the one-page data buffer 277 of the RAM 202. .

【0229】次いでS309が実行され、PC側受信デ
ータバッファ250から符号化画像データが1バイトず
つ取り出され、S310において取り出されたデータが
EOLデータであるか否かの判定が行われる。1頁のデ
ータはEOLデータで始まるのであるが、データの先頭
部分には、画像データやEOLデータ以外の不要なデー
タが付されていることがあり、EOLデータが取り出さ
れて1頁が始まるまで、S309,S310が繰り返し
実行される。
Next, S309 is executed, the coded image data is fetched one byte at a time from the PC side reception data buffer 250, and it is determined in S310 whether the fetched data is EOL data. One page of data starts with EOL data, but unnecessary data other than image data and EOL data may be added to the head of the data. , S309, and S310 are repeatedly executed.

【0230】EOLデータが取り出されればS310の
判定結果がYESになり、次にS311においてRAM
のうち、1ラインを復号する際の演算等に使用される復
号化用バッファ270がクリアされる。続いてS312
においてPC側受信データバッファ250からデータが
1バイトずつ取り出される。なお、1バイトのデータは
復号化用バッファ270に複写され、PC側受信データ
バッファ250には符号化画像データが残される。復号
化画像データに基づいて記録が行われるとき、紙詰まり
等が生じて記録が中断されても、再度、記録を行い得る
ようにするために符号化画像データを残しておくのであ
る。この符号化画像データは1頁の記録が終了する毎に
消去される。
If the EOL data is taken out, the decision result in the step S310 is YES, and in the next step S311 the RAM
Among them, the decoding buffer 270 used for the operation when decoding one line is cleared. Then S312
In step (1), data is extracted from the PC-side reception data buffer 250 one byte at a time. The 1-byte data is copied to the decoding buffer 270, and the coded image data is left in the PC-side reception data buffer 250. When recording is performed based on the decoded image data, even if the recording is interrupted due to a paper jam or the like, the encoded image data is left so that the recording can be performed again. The encoded image data is deleted every time recording of one page is completed.

【0231】次いで、S313が実行され、取り出され
たデータが復号化された後、S314において1コード
が終了したか否かの判定が行われる。1コードのデータ
は1バイトを超えるビット数で表されることもあり、そ
の場合にはS314の判定結果はNOになってプログラ
ムの実行はS312に戻る。それに対し、1コードのデ
ータが終了であればS314の判定結果がYESになっ
てS315が実行され、取り出されたデータがEOLデ
ータであるか否かの判定が行われる。この判定結果は当
初はNOであり、次にS316において1頁の終了デー
タであるか否かの判定が行われる。復号化用バッファ2
70に格納されたデータからEOLデータが6個あるか
否かの判定が行われるのであるが、この判定結果は当初
はNOであり、S317において取り出されたデータが
画像データであるか否かの判定が行われる。この判定結
果はYESであり、S318において1コードの復号化
画像データが記録一時バッファ260に格納される。
Next, S313 is executed, and after the fetched data is decoded, it is determined in S314 whether or not one code is completed. One code data may be represented by a number of bits exceeding one byte. In this case, the result of the determination in S314 is NO, and the program returns to S312. On the other hand, if the data of one code is completed, the result of the determination in S314 is YES and S315 is executed to determine whether or not the extracted data is EOL data. This determination result is NO at the beginning, and then it is determined in S316 whether the end data is one page. Decoding buffer 2
It is determined whether or not there are six pieces of EOL data from the data stored in 70. This determination result is initially NO, and whether or not the data extracted in S317 is image data is determined. A determination is made. This determination result is YES, and one-code decoded image data is stored in the recording temporary buffer 260 in S318.

【0232】このようにPC側受信データバッファ25
0から1バイトずつデータが取り出されて復号され、E
OLデータが得られればS315の判定結果がYESに
なってS319が実行され、記録一時バッファ260に
格納された復号化画像データが記録バッファ262へ転
送される。
As described above, the PC-side received data buffer 25
Data is extracted and decoded byte by byte from 0, and E
If OL data is obtained, the determination result in S315 becomes YES and S319 is executed, and the decoded image data stored in the recording temporary buffer 260 is transferred to the recording buffer 262.

【0233】1頁の全部のデータが取り出され、1頁の
終了データが取り出されるとき、6個のEOLデータの
うち、1個目のEOLデータが取り出されたときにはS
315の判定結果がYESになり、それまで復号化され
た1ライン分の復号化画像データが記録バッファ262
へ転送される。2個目〜5個目のEOLデータの取出し
時には、そのEOLデータは1ラインの終了を表すデー
タでも1頁の終了を表すデータでもないため、S31
5,S316の判定結果がいずれもNOになり、S31
7において画像データであるか否かの判定が行われる。
画像データでないため、S317の判定結果もNOにな
り、プログラムの実行はS312に戻る。EOLデータ
が記録一時バッファ260に格納されることがないよう
にされているのである。
When all the data of one page is fetched and the end data of one page is fetched, when the first one of the six EOL data is fetched, S is set.
The determination result at step 315 is YES, and the decoded image data for one line decoded so far is stored in the recording buffer 262.
Transferred to When the second to fifth EOL data is taken out, the EOL data is neither data indicating the end of one line nor data indicating the end of one page.
5, the determination results in S316 are all NO, and S31
At 7, it is determined whether or not the data is image data.
Since the data is not image data, the determination result in S317 is also NO, and the program returns to S312. This is to prevent EOL data from being stored in the recording temporary buffer 260.

【0234】6個のEOLデータが取り出されればS3
16の判定結果がYESになってS320が実行され、
記録装置29の感光ドラム30回転用のドラムモータが
起動されるとともに1頁の終了処理が行われる。S30
8においてセットされたデータがクリアされるのであ
る。こうして1頁のデータ受信が終了すれば、S321
においてP/S割込ベクトルがコマンド受信にセットさ
れ、パソコン4からコマンドを受信し得る状態にされ
る。そして、S322〜S324においてフェーズDが
行われ、次頁データがある場合にはプログラムの実行は
S305に戻って次頁データを受信,記録し、次頁デー
タがなければS325においてフェーズE、すなわちP
Cデータを受け取ったこと、および通信の終了を指示す
る(+FHNG:0)信号およびOKコマンドがパソコ
ン4へ出力されてプログラムの実行は終了する。
If six pieces of EOL data are taken out, S3
The determination result at 16 is YES, and S320 is executed.
The drum motor for rotating the photosensitive drum 30 of the recording device 29 is started, and the end processing of one page is performed. S30
The data set at 8 is cleared. When the reception of the data of one page is completed, S321 is executed.
, The P / S interrupt vector is set to command reception, and the PC 4 is ready to receive commands. Then, the phase D is performed in S322 to S324, and if there is the next page data, the program execution returns to S305 to receive and record the next page data.
The reception of the C data, the signal (+ FHNG: 0) indicating the end of the communication, and the OK command are output to the personal computer 4, and the execution of the program ends.

【0235】記録バッファ262に1頁分の復号化画像
データが格納されれば記録割込処理が実行され、記録装
置29により1頁分のデータが記録される。符号化画像
データは、1頁の記録が終了する毎に消去される。
When one page of decoded image data is stored in the recording buffer 262, a recording interruption process is executed, and the recording device 29 records one page of data. The encoded image data is deleted every time recording of one page is completed.

【0236】次にパソコン4からの指示によりファクシ
ミリ装置2が電話をかける場合について説明する。
Next, a case where the facsimile apparatus 2 makes a call in accordance with an instruction from the personal computer 4 will be described.

【0237】パソコン4から電話をかけることを指示す
るダイヤルコマンド(ATD+STRING+;)が送
信されれば、図14に示す送信プログラムのS71の判
定結果がYESになり、S77〜S79が実行される。
ダイヤルコマンド中にダイヤル有効データが含まれてい
なければS79の判定結果はNOになり、S85の判定
結果がYESになってS86,S87が実行され、モニ
タ処理が行われる。回線が閉結され、スピーカ226を
通して回線状態がオペレータにわかるようにされるので
あり、その状態で回線が開放されることが待たれる。受
話器11を一旦フックから取り上げた後、置くか、ある
いはモニタ状態においてフックキー188が1回押下さ
れることにより回線が開放される。
If a dial command (ATD + STRING +;) for instructing to make a call is transmitted from personal computer 4, the result of the determination in S71 of the transmission program shown in FIG. 14 is YES, and S77 to S79 are executed.
If the dial command does not include dial valid data, the determination result in S79 is NO, the determination result in S85 is YES, and S86 and S87 are executed, and the monitoring process is performed. The line is closed and the state of the line is made known to the operator through the speaker 226. In this state, it is awaited that the line is opened. The line is released by once picking up the receiver 11 from the hook and then placing it or pressing the hook key 188 once in the monitor state.

【0238】ダイヤルコマンド中にダイヤル有効データ
があればS79の判定結果はYESになり、S80〜S
82が実行される。ダイヤル送出処理が支障なく行われ
ればS87の判定が行われるが、この判定結果はNOで
あり、S90においてパソコン4からの指示により電話
をかけることを表すPC・TELフラグ278がセット
される。
If there is dial valid data in the dial command, the decision result in S79 is YES, and S80-S
82 is executed. If the dial transmission processing is performed without any trouble, the determination in S87 is made. However, the determination result is NO, and the PC / TEL flag 278 indicating that a call is to be made in response to an instruction from the personal computer 4 is set in S90.

【0239】それにより図24に示すPC・TELプロ
グラムのS351の判定結果がYESになり、S352
においてハングアップ、すなわち受話器11が取り上げ
られたか否かの判定が行われる。ダイヤル有効データの
送出により通信相手が呼び出されており、実際に受話器
11が取り上げられて通話が開始されたか否かが判定さ
れるのである。受話器11が取り上げられず、回線開放
が指示されればS353の判定結果がYESになり、S
363において回線が開放されて通信が終了する。
As a result, the decision result in S351 of the PC / TEL program shown in FIG. 24 becomes YES, and S352
, A determination is made as to whether or not the handset 11 has been picked up. The transmission of the dial valid data calls the communication partner, and it is determined whether or not the handset 11 is actually picked up and the call is started. If the receiver 11 is not picked up and the line release is instructed, the determination result in S353 becomes YES, and
At 363, the line is released and the communication is terminated.

【0240】受話器11が取り上げられれば通信相手と
会話することができる。そして、受話器11が取り上げ
られたままの状態でスタートキー162が押下されれば
S354の判定結果がYESになる。このスタートキー
162の押下は、ファクシミリデータの送信あるいは受
信の指示であり、S355においてファクシミリ装置2
に原稿90がセットされているか否かの判定が行われ、
原稿90がセットされていなければ、スタートキー16
2の押下は、通話相手から送信されるファクシミリデー
タの受信を意味し、S356が実行されてファクシミリ
データが受信される。このファクシミリデータの受信に
ついては後に述べる。
If the receiver 11 is picked up, it is possible to talk with a communication partner. If start key 162 is pressed while receiver 11 is still picked up, the determination result in S354 becomes YES. Pressing of the start key 162 is an instruction to transmit or receive facsimile data.
It is determined whether or not the original 90 is set in the
If the original 90 is not set, the start key 16
Pressing 2 means reception of facsimile data transmitted from the other party, and S356 is executed to receive facsimile data. The reception of the facsimile data will be described later.

【0241】原稿90がセットされていればS355の
判定結果はYESになる。この場合には、スタートキー
162の押下は、画像読取装置42の画像読取りにより
得られた読取画像データの通話相手への送信の指示であ
り、S357の実行により画像が読み取られ、読取画像
データが符号化されて通話相手へ送信される。これら画
像の読取り,符号化および送信は既に知られたものであ
り、説明は省略する。受話器11が取り上げられ、通話
が行われている状態でスタートキー162が押下されな
ければS354の判定結果がNOになり、S358にお
いてパソコン4からATD信号が送信されたか否かの判
定が行われる。ATD信号の送信は、PCデータの通話
相手への送信の指示であり、S359においてPCデー
タがパソコン4からファクシミリ装置2へ送信されると
ともに、通話相手へ送信される。このデータ送信は先に
図20に基づいて説明したPCデータ送信プログラムに
従って行われるため、説明は省略する。
If the original 90 is set, the judgment result in S355 is YES. In this case, pressing of the start key 162 is an instruction to transmit the read image data obtained by the image reading of the image reading device 42 to the other party, and the image is read by executing S357, and the read image data is read. It is encoded and transmitted to the other party. The reading, encoding and transmission of these images are already known, and the description is omitted. If the start key 162 is not pressed while the receiver 11 is picked up and a call is being made, the determination result in S354 is NO, and in S358, it is determined whether the ATD signal is transmitted from the personal computer 4. The transmission of the ATD signal is an instruction to transmit the PC data to the other party, and in step S359, the PC data is transmitted from the personal computer 4 to the facsimile apparatus 2 and transmitted to the other party. Since this data transmission is performed according to the PC data transmission program described above with reference to FIG. 20, the description will be omitted.

【0242】パソコン4から発呼送信コマンド(ATD
+STRING)が送信されれば、S358の判定結果
がNO,S360の判定結果がYESになる。パソコン
4においてPCデータの通話相手以外の相手装置114
へのタイマ送信がセットされており、通話中に送信時間
になることがあり、発呼送信コマンドが送信されること
があるのであるが、この場合にはデータ送信を開始すれ
ば通話が強制的に終了させられるため、S361におい
てエラーコマンドがパソコン4へ出力され、通話が続け
られるようにされる。
A call transmission command (ATD) is sent from the personal computer 4.
If (+ STRING) is transmitted, the determination result in S358 is NO, and the determination result in S360 is YES. The other party device 114 other than the other party of the PC data in the personal computer 4
The timer transmission to is set, the transmission time may be reached during a call, and a call transmission command may be transmitted. In this case, if data transmission is started, the call is forcibly In step S361, an error command is output to the personal computer 4, so that the call can be continued.

【0243】次いでS362が実行され、受話器11が
置かれたか否かの判定が行われ、受話器11が置かれな
ければプログラムの実行はS354に戻る。また、受話
器11が置かれればS362の判定結果はYESにな
り、S363において回線が開放されて通信が終了す
る。
Next, step S362 is executed to determine whether or not the handset 11 has been set. If the handset 11 has not been set, the program returns to step S354. If the handset 11 is put down, the result of the determination in S362 is YES, the line is opened in S363, and the communication ends.

【0244】次に相手装置114から伝送されて来るフ
ァクシミリデータの受信を説明する。
Next, reception of facsimile data transmitted from the partner device 114 will be described.

【0245】ファクシミリデータの受信の態様は、出力
モードがいずれに選択されているかによって異なる。パ
ソコン4がファクシミリデータを受信するPC ONL
YモードおよびPC優先モードが選択されている場合に
は、ファクシミリ装置2は相手装置114から受信した
ファクシミリデータをパソコン4へ送信する。この場合
のファクシミリデータ受信手順を図25に示すシーケン
スチャートに基づいて説明する。
The manner of receiving facsimile data differs depending on which output mode is selected. PC ONL where PC 4 receives facsimile data
When the Y mode and the PC priority mode are selected, the facsimile device 2 transmits the facsimile data received from the partner device 114 to the personal computer 4. A procedure for receiving facsimile data in this case will be described with reference to a sequence chart shown in FIG.

【0246】ファクシミリデータ受信のためにパソコン
4はファクシミリ装置2へファクシミリデータを受信で
きるか否か、すなわちパソコン4に設けられたファクシ
ミリデータバッファ328が更にデータを記憶する余地
があるか否かを表す信号(AT+FCR(Facsimile Ca
pability to Receive)=X)を出力する。Xの値が0で
あればファクシミリデータバッファ328が一杯でデー
タを受信できず、1であればデータを受信できることを
表す。それに対しファクシミリ装置2はOKコマンドを
パソコン4へ出力し、パソコン4は更にファクシミリ装
置2へファクシミリ番号を表す信号(AT+FLID(F
acsimile Local Identification)) を出力し、ファクシ
ミリ装置2はパソコン4へOK信号を出力する。これら
の交信はアイドル状態において行われる。
For receiving facsimile data, personal computer 4 indicates whether or not facsimile data can be received by facsimile apparatus 2, that is, whether or not facsimile data buffer 328 provided in personal computer 4 has room for further data. Signal (AT + FCR (Facsimile Ca
pability to Receive) = X). If the value of X is 0, the facsimile data buffer 328 is full and cannot receive data, and if it is 1, it indicates that data can be received. On the other hand, the facsimile device 2 outputs an OK command to the personal computer 4, and the personal computer 4 further sends a signal (AT + FLID (F) representing the facsimile number to the facsimile device 2.
acsimile Local Identification)), and the facsimile apparatus 2 outputs an OK signal to the personal computer 4. These communications take place in the idle state.

【0247】ファクシミリ装置2にはファクシミリ番号
が登録されているが、例えば、1台のファクシミリ装置
2が複数の使用者により使用されるとともに、使用者毎
に異なるファクシミリ番号が割り当てられている場合に
は、ファクシミリ装置2に登録されたファクシミリ番号
とデータを送信する使用者に割り当てられたファクシミ
リ番号とが異なることがある。そのため、パソコン4は
ファクシミリ装置2にファクシミリ番号を教えてやり、
後述するCSI信号を出力することができるようにする
のである。なお、(AT+FLID)信号は、1台のフ
ァクシミリ装置2について1種類のファクシミリ番号し
か設定されていない場合にもファクシミリ装置2へ出力
される。
A facsimile number is registered in the facsimile apparatus 2. For example, when one facsimile apparatus 2 is used by a plurality of users and a different facsimile number is assigned to each user. In some cases, the facsimile number registered in the facsimile apparatus 2 is different from the facsimile number assigned to the user who transmits data. Therefore, the personal computer 4 tells the facsimile machine 2 the facsimile number,
It is possible to output a CSI signal described later. The (AT + FLID) signal is output to the facsimile machine 2 even when only one type of facsimile number is set for one facsimile machine 2.

【0248】パソコン4はさらに、自身の伝送パラメー
タのレベルを表す信号(AT+FDCC)をファクシミ
リ装置2に出力し、ファクシミリ装置2はOKコマンド
をパソコン4へ出力するとともに、PC伝送パラメータ
バッファ263に格納する。相手装置114からCI信
号が送信されれば、ファクシミリ装置2はパソコン4へ
リングコマンド(RING)を出力し、パソコン4はフ
ァクシミリ装置2へATA信号を出力してファクシミリ
データを受信可能であることを知らせる。ファクシミリ
装置2は、相手装置114からのCNG信号の伝送に対
してCED信号,CSI(Called Subscriber Identifi
cation) 信号(被呼端末識別信号、すなわちファクシミ
リ装置2の番号を表す信号である)を出力する。CI信
号の受信からここまでがフェーズAである。
The personal computer 4 further outputs a signal (AT + FDCC) indicating the level of its own transmission parameter to the facsimile apparatus 2, and the facsimile apparatus 2 outputs an OK command to the personal computer 4 and stores it in the PC transmission parameter buffer 263. . When the CI signal is transmitted from the partner apparatus 114, the facsimile apparatus 2 outputs a ring command (RING) to the personal computer 4, and the personal computer 4 outputs an ATA signal to the facsimile apparatus 2 to confirm that facsimile data can be received. Inform. The facsimile apparatus 2 receives a CED signal and a CSI (Called Subscriber Identifi
cation) signal (a called terminal identification signal, that is, a signal indicating the number of the facsimile apparatus 2). Phase A is from the reception of the CI signal to this point.

【0249】次にフェーズBが行われ、ファクシミリ装
置2はDIS信号を相手装置114へ伝送する。フェー
ズBにおいてファクシミリ装置2と相手装置114との
間で交わされる信号は、ファクシミリデータ伝送時にお
けるファクシミリ装置2と相手装置114との間で交わ
される信号と種類は同じであって方向が逆であるのみで
あるため、説明は省略する。なお、TSI(Transmit S
tation Identification)信号は、相手装置114のファ
クシミリ番号を表す信号であるが、本ファクシミリ装置
2においてはTSI信号が送信されて来ても利用せず、
そのまま読み捨てるようにされている。ファクシミリデ
ータ受信時にDCS信号を受信する割込処理プログラム
において、TSI信号が送信されて来ても何も処理が行
われないようにされているのである。
Next, phase B is performed, and facsimile apparatus 2 transmits the DIS signal to partner apparatus 114. In phase B, the signal exchanged between facsimile apparatus 2 and partner apparatus 114 is the same as the signal exchanged between facsimile apparatus 2 and partner apparatus 114 during facsimile data transmission, but in the opposite direction. Since this is only the case, the description is omitted. In addition, TSI (Transmit S
tation Identification) signal is a signal representing the facsimile number of the partner device 114, but the facsimile device 2 does not use the TSI signal even if it is transmitted.
It is read as it is. In the interrupt processing program for receiving the DCS signal at the time of receiving the facsimile data, no processing is performed even if the TSI signal is transmitted.

【0250】フェーズBにおいてファクシミリ装置2
は、相手装置114から信号を受信する毎に、その信号
の内容を表す信号をパソコン4へ出力し、パソコン4か
ら信号を受信する毎に、その信号に対応する信号を相手
装置114へ出力する。パソコン4がファクシミリ装置
2へ送信する信号のうち、(AT+FDR(FacsimileD
ata Receive) )信号は、ファクシミリデータの受信開
始を表す信号であり、〈DC2〉信号は、パソコン4が
ファクシミリデータの受信準備が完了したことを表す信
号である。
In phase B, facsimile apparatus 2
Outputs a signal representing the content of the signal to the personal computer 4 every time a signal is received from the partner device 114, and outputs a signal corresponding to the signal to the partner device 114 each time a signal is received from the personal computer 4. . Among signals transmitted from the personal computer 4 to the facsimile apparatus 2, (AT + FDR (FacsimileD
ata Receive) signal is a signal indicating the start of facsimile data reception, and the <DC2> signal is a signal indicating that the personal computer 4 is ready to receive facsimile data.

【0251】〈DC2〉信号の送信後、フェーズCが行
われ、ファクシミリ装置2は相手装置114からファク
シミリデータを受信し、パソコン4へ送信する。相手装
置114は1頁分のファクシミリデータを伝送すればフ
ェーズDが行われ、MPS信号,EOP信号あるいはE
OM信号がファクシミリ装置2へ送信される。フェーズ
Dにおいても、ファクシミリ装置2と相手装置114と
の間で交わされる信号は、ファクシミリデータ伝送時に
交わされる信号と種類は同じであって方向が逆であるの
みであり、また、ファクシミリ装置2とパソコン4との
間では、次頁データがあるか否かを示す信号(+FE
T:0)およびOKコマンド,(AT+FDR)信号が
交わされる。次頁データがあり、伝送パラメータが変更
されない場合には、フェーズCの初めに戻ってファクシ
ミリデータを受信する。伝送パラメータに変更があれば
フェーズBの初めに戻り、伝送パラメータを設定し直し
た後、ファクシミリデータを受信する。
After transmitting the <DC2> signal, phase C is performed, and the facsimile apparatus 2 receives the facsimile data from the partner apparatus 114 and transmits it to the personal computer 4. When the other device 114 transmits the facsimile data of one page, the phase D is performed, and the MPS signal, the EOP signal, or the E signal is transmitted.
The OM signal is transmitted to the facsimile machine 2. Also in phase D, the signals exchanged between facsimile apparatus 2 and partner apparatus 114 are the same as the signals exchanged at the time of facsimile data transmission, but only in the opposite direction. A signal (+ FE) indicating whether or not there is data for the next page is sent to the personal computer 4.
T: 0), an OK command, and an (AT + FDR) signal. If there is next page data and the transmission parameters are not changed, the process returns to the beginning of phase C to receive facsimile data. If there is a change in the transmission parameters, the process returns to the beginning of the phase B, and after the transmission parameters are set again, facsimile data is received.

【0252】次頁データがなければフェーズEが行わ
れ、回線が開放されて通信が終了する。
If there is no next page data, phase E is performed, the line is released, and the communication ends.

【0253】相手装置114から送信されて来るファク
シミリデータはモデム214のモデム受信データバッフ
ァ239に格納され、ファクシミリ装置2はファクシミ
リデータを割込によってFAX側受信データバッファ2
54に格納する。また、ファクシミリ装置2はFAX側
受信データバッファ254のファクシミリデータを割込
によってパソコン4へ送信する。
The facsimile data transmitted from the partner device 114 is stored in the modem reception data buffer 239 of the modem 214, and the facsimile device 2 interrupts the facsimile data and transmits
54. Further, the facsimile apparatus 2 transmits the facsimile data of the facsimile reception data buffer 254 to the personal computer 4 by interruption.

【0254】これら割込処理はそれぞれ、図26に示す
FAXデータ受信時画像データ受信モデム割込処理プロ
グラム,図27に示すFAXデータ受信時コマンド受信
モデム割込処理プログラム,図28に示すFAXデータ
受信時コマンド出力モデム割込処理プログラム,図29
に示すFAXデータ受信時画像データ送出P/S割込処
理プログラムに基づいて行われる。また、ファクシミリ
データ受信時にファクシミリ装置2は、パソコン4から
図30に示すFAXデータ受信時データ受信P/S割込
処理プログラムに基づいてデータを受信する。ファクシ
ミリデータ受信時のファクシミリ装置2とパソコン4と
の間におけるコマンドの送信,受信は、ファクシミリ装
置2によるPCデータの受信時と同様に図10,図16
に示すプログラムに基づいて行われるため、説明は省略
する。
These interrupt processings are respectively the image data reception modem interruption processing program at the time of FAX data reception shown in FIG. 26, the command reception modem interruption processing program at the time of FAX data reception shown in FIG. 27, and the FAX data reception program shown in FIG. Hour command output modem interrupt processing program, FIG. 29
Is performed based on the image data transmission P / S interrupt processing program at the time of FAX data reception shown in FIG. When receiving facsimile data, the facsimile apparatus 2 receives data from the personal computer 4 based on the FAX data reception data reception P / S interrupt processing program shown in FIG. The transmission and reception of commands between the facsimile machine 2 and the personal computer 4 at the time of receiving facsimile data are performed in the same manner as in the reception of PC data by the facsimile machine 2 in FIGS.
Since it is performed based on the program shown in FIG.

【0255】図26に示すFAXデータ受信時画像デー
タ受信モデム割込処理プログラムは、モデム受信データ
バッファ239にファクシミリデータが格納される毎に
実行される。S371においてモデム受信データバッフ
ァ239に格納されたファクシミリデータが1バイト分
取り出された後、S372において取り出されたデータ
が8個のビットデータの全部が0である0データである
か否かの判定が行われる。画像データであればS372
の判定結果はNOになり、S373において0データカ
ウンタ342がリセットされた後、S374においてF
AX側受信データバッファ254にデータが格納され
る。
The image data reception modem interruption processing program at the time of FAX data reception shown in FIG. 26 is executed every time facsimile data is stored in the modem reception data buffer 239. After one byte of the facsimile data stored in the modem reception data buffer 239 is extracted in S371, it is determined whether or not the extracted data is 0 data in which all of the 8 bit data are 0 in S372. Done. S372 if it is image data
Is NO, the 0 data counter 342 is reset in S373, and then F is determined in S374.
Data is stored in the AX-side reception data buffer 254.

【0256】次いでS375が実行され、RTC PA
TTERNの終了であるか否かの判定が行われる。FA
X側受信データバッファ254にRTC PATTER
Nデータを表す6個目のたついデータが格納されたか否
かの判定が行われるのである。RTC PATTERN
データの終了であればS376が実行され、割込ベクト
ルが続くコマンド受信のために設定される。
Next, S375 is executed, and RTC PA
A determination is made as to whether TTERN has ended. FA
RTC PATTER in X-side receive data buffer 254
It is determined whether or not the sixth additional data representing the N data has been stored. RTC PATTERN
If the data ends, S376 is executed, and the interrupt vector is set for receiving the subsequent command.

【0257】モデム受信データバッファ239から取り
出されたデータが0データであればS372の判定結果
がYESになり、S377において0データカウンタ3
42のカウント値Cが1増加させられる。次いでS37
8が実行され、カウント値Cが1であるか否かの判定が
行われる。0データの検出が1回目であればS378の
判定結果はYESになり、0データはFAX側受信デー
タバッファ254に格納される。0データが連続して2
個以上取り出されればS378の判定結果がNOにな
り、2個目以降の0データはFAX側受信データバッフ
ァ254に格納されない。
If the data fetched from the modem reception data buffer 239 is 0 data, the decision result in S372 is YES, and in S377 the 0 data counter 3
The count value C of 42 is increased by one. Then S37
8 is performed, and it is determined whether or not the count value C is 1. If the 0 data is detected for the first time, the determination result of S378 is YES, and the 0 data is stored in the FAX-side reception data buffer 254. 0 data continuously 2
If more than one data has been extracted, the determination result in S378 becomes NO, and the 0 data after the second data is not stored in the FAX-side reception data buffer 254.

【0258】例えば、EOL信号は11個の0ビットデ
ータと、1個の1ビットデータとによって構成されてお
り、EOL信号をFAX側受信データバッファ254に
格納するために1個の0データはFAX側受信データバ
ッファ254に格納されるようになっているのである。
前述のように1ラインの最小伝送時間を保つために0フ
ィルデータが挿入される場合には、0データが2個以上
取り出されることがある。このような0データはFAX
側受信データバッファ254に格納する必要はなく、カ
ウント値C2 が2以上であればそのままプログラムの実
行は終了する。0データの次に画像データが取り出され
ればS372の判定結果がNOになり、S373におい
て0データカウンタ342がリセットされる。
For example, the EOL signal is composed of 11 pieces of 0-bit data and one piece of 1-bit data. In order to store the EOL signal in the FAX-side reception data buffer 254, one piece of 0 data is FAX. This is stored in the side reception data buffer 254.
As described above, when 0 fill data is inserted to maintain the minimum transmission time of one line, two or more 0 data may be extracted. Such 0 data is fax
It is not necessary to store the data in the side reception data buffer 254, and if the count value C2 is 2 or more, the execution of the program is terminated as it is. If image data is taken out after the 0 data, the determination result in S372 is NO, and the 0 data counter 342 is reset in S373.

【0259】FAXデータ受信時コマンド受信モデム割
込処理プログラムおよびFAXデータ受信時コマンド出
力モデム割込処理プログラムはそれぞれ、ファクシミリ
装置2が受信するコマンドの種類および出力するコマン
ドの種類に応じて複数種類設定されている。FAXデー
タ受信時におけるコマンドの受信,出力およびデータの
受信順序は図25のシーケンスチャートに示したように
予め定められており、コマンド受信のための割込処理プ
ログラムは、受信したコマンドの内容に対応する処理を
行うとともに、次のコマンドの出力,あるいは受信のた
めの割込ベクトルの設定を行い、コマンド出力のための
割込処理プログラムは、所定のコマンドを出力するとと
もに、次のコマンドの出力,あるいは受信のための割込
ベクトルの設定を行うようにされている。また、データ
受信のための割込ベクトルの設定もCFR信号送出のた
めの割込処理プログラムにおいて、CFR信号の出力後
に行われる。
The FAX data reception command reception modem interruption processing program and the FAX data reception command output modem interruption processing program respectively set a plurality of types according to the type of command received by the facsimile apparatus 2 and the type of command output. Have been. The order of command reception, output, and data reception at the time of FAX data reception is predetermined as shown in the sequence chart of FIG. 25, and the interrupt processing program for command reception corresponds to the content of the received command. And an interrupt vector for outputting the next command or receiving the next command. The interrupt processing program for outputting the command outputs a predetermined command, and outputs and outputs the next command. Alternatively, an interrupt vector for reception is set. The setting of the interrupt vector for data reception is also performed after the output of the CFR signal in the interrupt processing program for transmitting the CFR signal.

【0260】図27に示す割込処理プログラムは、ファ
クシミリ装置2がDCS信号を受信した後のTCF信号
受信のためのプログラムである。DCS信号の受信のた
めの割込処理プログラムにおいては、DCS信号を受信
したならば割込ベクトルが図27に示す割込処理プログ
ラムを実行するように設定される。それによりコマンド
が送信されればS381が実行され、TCF信号を受信
する。TCF信号の受信が終了するまでS381および
S382が繰り返し実行され、終了すればS382の判
定結果がYESになり、S383においてトレーニング
チェックが良好に行われたか否かの判定が行われる。良
好に行われれば次の手順に進んでよく、S384におい
て割込ベクトルがCFR信号の出力のためのプログラム
を指定するベクトルに設定された後、S385において
データ送信割込処理の実行が許可される。
The interrupt processing program shown in FIG. 27 is a program for receiving the TCF signal after the facsimile apparatus 2 has received the DCS signal. In the interrupt processing program for receiving the DCS signal, the interrupt vector is set to execute the interrupt processing program shown in FIG. 27 when the DCS signal is received. If a command is transmitted thereby, S381 is executed and a TCF signal is received. Steps S381 and S382 are repeatedly executed until the reception of the TCF signal is completed, and when the reception is completed, the determination result in S382 becomes YES, and in S383, it is determined whether the training check has been successfully performed. If it is performed satisfactorily, the procedure may proceed to the next step. After the interrupt vector is set to the vector designating the program for outputting the CFR signal in S384, the execution of the data transmission interrupt process is permitted in S385. .

【0261】また、トレーニングチェックが良好に行わ
れなければS383の判定結果がNOになり、S386
においてFTT(Failure to Train) 信号を出力する割
込処理プログラムが実行されるように割込ベクトルが設
定された後、S387においてデータ送信割込処理の実
行が許可される。
If the training check is not properly performed, the judgment result in S383 becomes NO, and S386
After the interrupt vector is set so that the interrupt processing program for outputting the FTT (Failure to Train) signal is executed, the execution of the data transmission interrupt processing is permitted in S387.

【0262】図28に示す割込処理プログラムは、CF
R信号出力のためのプログラムであり、図27に示すプ
ログラムのS384において割込ベクトルがCFR信号
出力に設定されることにより実行可能となる。S401
においてCFR信号を出力した後、S402において割
込ベクトルがFAXデータ受信時画像データ受信モデム
割込処理プログラムを指示するベクトルに設定され、画
像データの受信が行われるようにされる。次いでS40
3においてデータ送信割込処理の実行が禁止され、画像
データの受信のみが行われるようにされる。
The interrupt processing program shown in FIG.
This is a program for outputting the R signal, and becomes executable when the interrupt vector is set to the CFR signal output in S384 of the program shown in FIG. S401
After the CFR signal is output in step S402, the interrupt vector is set to the vector instructing the image data receiving modem interrupt processing program at the time of FAX data reception in step S402, and the image data is received. Then S40
In 3, the execution of the data transmission interrupt process is prohibited, and only the reception of the image data is performed.

【0263】図29に示すFAXデータ受信時画像デー
タ送出P/S割込処理プログラムのS421において
は、DLEフラグ272がセットされているか否かの判
定が行われる。DLEフラグ272がセットされていな
ければS421の判定結果はNOになり、S422にお
いてPC側送信データバッファ252にデータが格納さ
れているか否かの判定が行われ、データがあればS42
2の判定結果はYESになり、S423においてPC側
送信データバッファ252からデータが1バイト分取り
だされる。次いでS424においてデータが〈DLE〉
データであるか否かの判定が行われ、画像データであれ
ばS424の判定結果はNOになってS426が実行さ
れ、取り出されたデータがP/S送信データバッファ2
48に格納される。
In S421 of the image data transmission P / S interrupt processing program at the time of FAX data reception shown in FIG. 29, it is determined whether or not the DLE flag 272 is set. If the DLE flag 272 is not set, the determination result in S421 is NO, and it is determined in S422 whether data is stored in the PC-side transmission data buffer 252.
The determination result in 2 is YES, and one byte of data is extracted from the PC-side transmission data buffer 252 in S423. Next, in S424, the data is <DLE>
It is determined whether or not the data is data. If the data is image data, the determination result in S424 is NO, and S426 is executed.
48.

【0264】取り出されたデータが〈DLE〉データで
あればS424の判定結果がYESになり、S425に
おいてDLEフラグ272がセットされる。そのため、
次にS421の判定が行われるとき、その判定結果はY
ESになり、S427においてDLEフラグ272がリ
セットされた後、S428においてレジスタに〈DL
E〉データが書き込まれ、S426においてP/S送信
データバッファ248に格納される。〈DLE〉データ
は、他のデータとは異なり、2回データが出力されない
とパソコン4は〈DLE〉データであると認識できない
ようにされているからである。
If the extracted data is <DLE> data, the decision result in S424 is YES, and the DLE flag 272 is set in S425. for that reason,
Next, when the determination in S421 is performed, the determination result is Y
ES, and the DLE flag 272 is reset in S427.
E> The data is written and stored in the P / S transmission data buffer 248 in S426. This is because, unlike other data, the personal computer 4 cannot recognize the <DLE> data unless the data is output twice.

【0265】また、FAXデータ受信時画像データ送出
P/S割込処理プログラムが開始されたにもかかわら
ず、PC側送信データバッファ252にデータがない場
合には異常であり、S429においてこの割込処理プロ
グラムの実行が禁止される。
If there is no data in the PC-side transmission data buffer 252 even though the image data transmission P / S interruption processing program at the time of FAX data reception has been started, it is abnormal that this interruption is detected in S429. Execution of the processing program is prohibited.

【0266】FAXデータ受信時データ受信P/S割込
処理プログラムは、図30に示すように、S431にお
いてP/S受信データバッファ246からデータを1バ
イト分取り出した後、S432においてデータが〈DC
2〉データと〈CAN〉データとのいずれかであるか否
かの判定が行われる。ファクシミリ装置2が相手装置1
14からファクシミリデータを受信してパソコン4に送
信する場合、パソコン4から送信されるデータは上記2
種類のデータのはずであり、それ以外のデータであれば
そのまま読み捨てられ、上記2種類のデータであれば、
S433において受信準備完了フラグ280あるいはキ
ャンセルフラグ274がセットされる。図31に基づい
てファクシミリデータの受信を説明する。まず、S50
1においてファクシミリデータが着信したか否かの判定
が図32に示すFAX着信判定プログラムに基づいて行
われる。
As shown in FIG. 30, the data reception P / S interrupt processing program at the time of FAX data reception takes out one byte of data from the P / S reception data buffer 246 in S431, and then transfers the data to <DCC in S432.
2) It is determined whether the data is one of data and <CAN> data. Facsimile device 2 is partner device 1
When the facsimile data is received from the PC 14 and transmitted to the PC 4, the data transmitted from the PC 4
It should be a type of data. If it is other data, it is discarded as it is.
In step S433, the reception preparation completion flag 280 or the cancellation flag 274 is set. The reception of facsimile data will be described with reference to FIG. First, S50
At 1, the determination as to whether or not facsimile data has arrived is performed based on the FAX arrival determination program shown in FIG.

【0267】FAX着信判定プログラムのS601にお
いては、設定された着信モードがMANUALモードで
あるか否かの判定が行われる。MANUALモードであ
ればS601の判定結果はYESになり、S602にお
いてCI信号を検出したか否かの判定が行われる。相手
装置114からCI信号が送信されて来ていなければS
602の判定はNOになり、プログラムの実行は終了す
る。
In S601 of the FAX incoming call determination program, it is determined whether the set incoming call mode is the MANUAL mode. If the mode is the MANUAL mode, the determination result in S601 is YES, and in S602, it is determined whether or not the CI signal is detected. If the CI signal has not been transmitted from the partner device 114, S
The determination at 602 is NO, and the execution of the program ends.

【0268】CI信号が検出されればS602の判定結
果がYESになり、S603において受話器11が取り
上げられたか否かの判定が行われる。受話器11が取り
上げられなければS603の判定結果がNOになってプ
ログラムの実行はS602に戻り、CI信号の送信がな
くなるまで、すなわち通信相手が通信を終了するまであ
るいは受話器11が取り上げられるまで電話を鳴り続け
させる。受話器11が取り上げられる前に通信相手が通
信を終了すればS602の判定結果がYESになり、プ
ログラムの実行は終了する。
If the CI signal is detected, the result of the determination in S602 is YES, and it is determined in S603 whether or not the handset 11 has been picked up. If the receiver 11 is not picked up, the result of the determination in S603 is NO, and the program returns to S602, and the call is made until the transmission of the CI signal stops, that is, until the communication partner ends the communication or the receiver 11 is picked up. Let it continue to ring. If the communication partner ends the communication before the receiver 11 is picked up, the determination result in S602 becomes YES, and the execution of the program ends.

【0269】受話器11が取り上げられればS603の
判定結果がYESになり、S604においてスタートキ
ー162が押下されたか否かの判定が行われる。受話器
11を取り上げてみて声が聞こえず、CNG信号等、フ
ァクシミリデータの送信時に相手装置114から送信さ
れて来る信号の音が聞こえてくれば、ファクシミリデー
タの送信であることがわかり、スタートキー162を押
下してファクシミリデータの受信を指示する。それによ
りS604の判定結果がYESになり、S605におい
てFAX着信フラグ282がセットされる。
If the receiver 11 is picked up, the decision result in the step S603 is YES, and in the step S604, it is determined whether or not the start key 162 is pressed. If the user picks up the receiver 11 and hears no voice and hears the sound of a signal transmitted from the partner device 114 at the time of facsimile data transmission, such as a CNG signal, it is known that facsimile data is being transmitted. Is pressed to instruct reception of facsimile data. As a result, the determination result of S604 becomes YES, and the FAX incoming flag 282 is set in S605.

【0270】なお、受話器11を取り上げない限り、ス
タートキー162を押下してもファクシミリデータを受
信することができない。MANUALモードはファクシ
ミリ装置2を見かけ上、電話機として使用するモードで
あり、受話器11の取り上げが行われるのが普通である
モードだからである。
Unless the receiver 11 is picked up, the facsimile data cannot be received even if the start key 162 is pressed. The MANUAL mode is a mode in which the facsimile apparatus 2 is apparently used as a telephone, and the handset 11 is normally picked up.

【0271】スタートキー162が押下されなければS
604の判定結果はNOになり、S606において受話
器11が置かれたか否かの判定が行われる。受話器11
が置かれなければS606の判定結果はNOになり、以
後、スタートキー162が押下されるか、受話器11が
置かれるまでS604,S606が繰り返し実行され
る。送信されて来た信号が電話信号であった場合には通
話が行われ、通話が終了すれば受話器11が置かれるた
め、S606の判定結果がYESになり、S607にお
いて回線が開放されてプログラムの実行は終了する。
If start key 162 is not pressed, S
The determination result at 604 is NO, and a determination is made at S606 as to whether or not the handset 11 is placed. Handset 11
Is not placed, the determination result in S606 is NO, and thereafter, S604 and S606 are repeatedly executed until the start key 162 is pressed or the handset 11 is placed. If the transmitted signal is a telephone signal, a telephone call is made. If the telephone call is completed, the handset 11 is put down. Therefore, the determination result in S606 becomes YES, and the line is opened in S607 to execute the program. Execution ends.

【0272】着信モードがMANUALモードでなけれ
ばS601の判定結果はNOになり、S608において
AUTOモードであるか否かの判定が行われる。AUT
OモードであればS608の判定結果はYESになり、
S609においてCI信号が検出されたか否かの判定が
行われ、検出されなければS609の判定結果はNOに
なってプログラムの実行は終了する。CI信号が検出さ
れればS610において呼出しがN回行われたか否かの
判定が行われる。この呼出回数Nは予め設定されてRO
Mに記憶されており、呼出しがN回行われればS610
の判定結果はYESになり、S611においてFAX着
信フラグ282がONにされる。
If the incoming mode is not the MANUAL mode, the determination result in S601 is NO, and in S608, it is determined whether the mode is the AUTO mode. AUT
If the mode is the O mode, the determination result of S608 is YES,
In S609, it is determined whether or not the CI signal is detected. If not, the determination result in S609 is NO and the execution of the program ends. If the CI signal is detected, it is determined in S610 whether or not the call has been made N times. The number of calls N is set in advance and RO
M, and if the call is made N times, S610
Is YES, and the FAX incoming flag 282 is turned ON in S611.

【0273】着信モードがAUTOモードでなければS
608の判定結果はNOになり、S612においてF/
Tモードであるか否かの判定が行われる。F/Tモード
であればS612の判定結果はYESになり、S613
においてF/Tモード時のFAX着信判定が図33に示
すプログラムに従って行われる。
If the incoming mode is not the AUTO mode, S
The determination result at 608 is NO, and F / F is determined at S612.
It is determined whether the mode is the T mode. If it is the F / T mode, the determination result of S612 is YES, and S613
In the F / T mode, the FAX incoming call determination is performed according to the program shown in FIG.

【0274】F/Tモード時FAX着信判定プログラム
におけるFAX着信判定をステップ番号と対応付けて簡
単に説明する。F/Tモードにおいては、CI信号が検
出され(S701)、呼出しがN回行われた後(S70
2)、CNG信号が検出されたとき(S703)、リモ
ート起動があったとき(S704)、N回の呼出し後、
4秒が経過してから更に受話器11の取上げや相手装置
114の通信終了が生ずることなく20秒が経過したと
き(S708〜S713)、20秒以内に受話器11が
取り上げられたが、スタートキー162の押下によりフ
ァクシミリデータの受信が指示されたときにファクシミ
リデータの送信であると判定される(S714)。
FAX incoming call determination in the F / T mode FAX incoming call determination program will be briefly described in association with step numbers. In the F / T mode, a CI signal is detected (S701), and after paging is performed N times (S70).
2), when a CNG signal is detected (S703), when remote activation is performed (S704), after N calls,
When 20 seconds have elapsed after the elapse of 4 seconds without further picking up the receiver 11 or ending the communication with the partner device 114 (S708 to S713), the receiver 11 is picked up within 20 seconds. Is pressed, it is determined that facsimile data transmission is to be performed when reception of facsimile data is instructed (S714).

【0275】本ファクシミリ装置2には電話機を外付け
することができ、呼出音が発せられ、外付け電話機の受
話器11が取り上げられたとき、音声が聞こえず、ファ
クシミリデータの送信であったときには、外付け電話機
からの指示信号の送信によりファクシミリ装置2にファ
クシミリデータを受信させることができる。これがリモ
ート起動である。
A telephone can be externally attached to the facsimile apparatus 2, a ringing tone is emitted, and when the receiver 11 of the external telephone is picked up, no voice is heard and facsimile data is transmitted. By transmitting the instruction signal from the external telephone, the facsimile device 2 can receive the facsimile data. This is remote activation.

【0276】N回の呼出し後、4秒が経過したならばフ
ラグAがセットされるため、S709〜S711がスキ
ップされて20秒が経過したか否かの判定が行われる。
この間、ビジートーンが検出され、通信相手が通信を終
了したことが検出されれば、フラグAおよびタイマがリ
セットされ、回線が開放される(S705〜S70
7)。
If four seconds elapse after N calls, flag A is set, so that steps S709 to S711 are skipped and it is determined whether 20 seconds have elapsed.
During this time, if a busy tone is detected and it is detected that the communication partner has ended the communication, the flag A and the timer are reset, and the line is released (S705 to S70).
7).

【0277】通信相手が通信を終了することなく、ま
た、受話器11が取り上げられることなく、CNG信号
が検出され、あるいはリモート起動が行われ、あるいは
20秒が経過すればファクシミリデータの伝送と判定さ
れ、タイマおよびフラグAがリセットされるとともにF
AX着信フラグ282がセットされる(S715,S7
16)。
If the communication partner does not end the communication and the receiver 11 is not picked up and the CNG signal is detected or the remote start is performed, or if 20 seconds have elapsed, it is determined that the facsimile data is to be transmitted. , Timer and flag A are reset and F
The AX incoming call flag 282 is set (S715, S7
16).

【0278】ファクシミリデータの送信と判定される前
に受話器11が取り上げられた場合には、電話信号の送
信であればオペレータは通信相手と通話し、受話器11
が置かれた後、フラグAがリセットされるとともに回線
が開放される(S717〜S719)。また、受話器1
1を取り上げてみたものの声が聞こえず、ファクシミリ
データの送信であった場合にはスタートキー162が押
下され、タイマおよびフラグAがリセットされるととも
にFAX着信フラグ282がセットされる(S713〜
S717)。
If the receiver 11 is picked up before it is determined that the facsimile data is to be transmitted, if the telephone signal is to be transmitted, the operator talks with the communication partner and the receiver 11
Is set, the flag A is reset and the line is released (S717 to S719). In addition, handset 1
In the case where facsimile data is transmitted, the start key 162 is depressed, the timer and the flag A are reset, and the FAX incoming flag 282 is set (S713-).
S717).

【0279】着信モードがF/Tモードではなく、TA
Dモードであれば、図32に示すFAX着信判定プログ
ラムのS612の判定結果がNO,S614の判定結果
がYESになり、S615において図34に示すTAD
モード時FAX着信判定プログラムが実行される。TA
Dモード時FAX着信判定プログラムにおいてFAX着
信と判定されるのは、CI信号が検出され(S75
1)、呼出しがN回行われた後に(S752)、CNG
信号が検出されるか(S753)、リモート起動が行わ
れたとき(S754)や、応答メッセージの出力後、音
声が検出されない状態が8秒続いたときである(S76
6)。
If the incoming mode is not the F / T mode,
If the mode is the D mode, the determination result in S612 of the FAX incoming call determination program shown in FIG. 32 is NO, and the determination result in S614 is YES, and in S615, the TAD shown in FIG.
In the mode, the FAX incoming call determination program is executed. TA
In the F-mode incoming call determination program at the time of the D mode, it is determined that the incoming fax is detected by detecting the CI signal (S75).
1), after calling is performed N times (S752), CNG
This is when a signal is detected (S753), when remote activation is performed (S754), or when no sound is detected for 8 seconds after the output of the response message (S76).
6).

【0280】TADモードにおいては、伝言の録音を促
す応答メッセージが外付留守番電話機190から通信相
手に送信される。この応答メッセージの終了は、N回の
呼出し後、4秒が経過した後に15秒間の経過により検
出することができ(S760〜S763)、15秒の経
過後、再度タイマがセットされて8秒の経過が計測され
る(S764〜S766)。4秒が経過すればフラグA
がセットされてタイマにより15秒の経過が計測される
ようにされ(S762)、15秒が経過すればフラグB
がセットされ、タイマにより8秒の経過が計測されるよ
うにされる(S764)。
In the TAD mode, a response message prompting recording of a message is transmitted from external answering machine 190 to the communication partner. The end of the response message can be detected by the elapse of 15 seconds after the elapse of 4 seconds after the N calls (S760 to S763), and after the elapse of 15 seconds, the timer is set again and 8 seconds are elapsed. The progress is measured (S764 to S766). Flag A after 4 seconds
Is set and the timer measures the lapse of 15 seconds (S762).
Is set, and the elapse of 8 seconds is measured by the timer (S764).

【0281】この間、音声が検出されれば送信されて来
た信号は電話信号であると判定される(S765)。こ
の場合には、ビジートーンの検出により通信相手が通信
を終了したことが検出されるか、あるいは外付留守番電
話機190により回線が開放されたことが検出されたと
きに、フラグA,Bがリセットされて通信が終了する
(S774〜S776)。
During this time, if voice is detected, it is determined that the transmitted signal is a telephone signal (S765). In this case, the flags A and B are reset when it is detected that the communication partner has terminated the communication by detecting the busy tone, or when the external answering machine 190 detects that the line has been released. To end the communication (S774 to S776).

【0282】FAX着信の判定が行われている間に受話
器11が取り上げられれば、通話が行われ、電話信号で
なければスタートキー162の押下によりファクシミリ
データが受信される(S767〜S773)。
If the receiver 11 is picked up while the FAX incoming call is being determined, a telephone call is made. If the telephone signal is not received, facsimile data is received by pressing the start key 162 (S767 to S773).

【0283】着信モードがMCモードにセットされてい
るときには、図32に示すFAX着信判定プログラムの
S614の判定結果がNOになり、S616において図
35に示すMCモード時FAX着信判定プログラムが実
行される。MCモード時にFAX着信と判定されるの
は、CI信号が検出され(S801)、呼出しがN回行
われた後に(S802)、CNG信号が検出されるか
(S803)リモート起動が行われたとき(S80
4)、応答メッセージの出力後、音声が検出されない状
態が8秒続いたとき(S817)、音声が検出され、録
音が開始されて30秒が経過したとき(S827)、受
話器11が取り上げられたがスタートキー162が押下
されたときである(S818,S819)。
When the incoming call mode is set to the MC mode, the determination result in S614 of the FAX incoming call determination program shown in FIG. 32 is NO, and in S616, the FAX incoming call determination program in the MC mode shown in FIG. 35 is executed. . In the MC mode, it is determined that a fax is received when a CI signal is detected (S801), a call is made N times (S802), a CNG signal is detected (S803), or remote activation is performed. (S80
4) After outputting the response message, when no sound is detected for 8 seconds (S817), when the sound is detected and recording starts 30 seconds later (S827), the receiver 11 is picked up. Is when the start key 162 is pressed (S818, S819).

【0284】音声が検出され、録音が行われる場合の処
理のみがTADモード時と異なるため、説明する。音声
が検出されれば録音が開始されるが(S816,S82
5,S826)、30秒経過する前に通信相手が通信を
終了すればS805〜S807の実行により通信が終了
する。通信が終了することなく30秒が経過すればFA
X着信と判定されるが、これは、例えば、ファクシミリ
データの送信時であっても、ノイズの発生により音声有
りと判定される場合があり、そのような場合にはファク
シミリデータを受信することが必要であるからである。
なお、実際に音声信号が送信されて来ていたのであれ
ば、後のファクシミリデータの受信手順中において通信
相手にCNG信号等のファクシミリ用の信号が送信され
るため、相手は通信を終了することができる。
[0284] Only the processing when sound is detected and recording is performed is different from that in the TAD mode. If voice is detected, recording is started (S816, S82).
5, S826), if the communication partner ends the communication before 30 seconds elapse, the communication ends by executing S805 to S807. If 30 seconds elapse without ending communication, FA
X is determined to be an incoming call. For example, even when transmitting facsimile data, it may be determined that there is voice due to the occurrence of noise, and in such a case, the facsimile data may not be received. It is necessary.
If the voice signal was actually transmitted, a facsimile signal such as a CNG signal is transmitted to a communication partner during a subsequent facsimile data reception procedure, so that the communication partner must end the communication. Can be.

【0285】このようにFAX着信判定が行われた後
に、次に図31に示す受信プログラムのS502が実行
され、FAX着信であるか否かの判定が行われる。この
判定はFAX着信フラグ282がセットされているか否
かにより行われ、電話であってファクシミリデータの送
信でなければFAX着信フラグ282はセットされてお
らず、S502の判定結果はNOになってプログラムの
実行は終了する。
After the FAX incoming call determination is performed, S502 of the receiving program shown in FIG. 31 is next executed to determine whether or not a FAX incoming call has been received. This determination is made based on whether or not the facsimile reception flag 282 is set. If the call is a telephone and facsimile data is not transmitted, the facsimile reception flag 282 is not set, and the determination result in S502 is NO, and the program Is terminated.

【0286】ファクシミリデータの送信であってFAX
着信フラグ282がセットされていればS502の判定
結果はYESになり、S503においてパソコン4への
データ送信が可能であるか否かの判定が行われる。この
判定は、インタフェース・ボックス6が接続されている
か否かにより行われる。インタフェース・ボックス6が
接続されているか否かは、I/Oポート210のインタ
フェース・ボックス6の接続ラインの出力状態からわか
る。インタフェース・ボックス6が接続されていなけれ
ばS503の判定結果はNOになってS513が実行さ
れ、記録可能であるか否かの判定が行われる。
Transmission of facsimile data and FAX
If the incoming flag 282 has been set, the determination result in S502 is YES, and in S503, it is determined whether data transmission to the personal computer 4 is possible. This determination is made based on whether or not the interface box 6 is connected. Whether or not the interface box 6 is connected can be determined from the output state of the connection line of the interface box 6 of the I / O port 210. If the interface box 6 is not connected, the result of the determination in S503 is NO, and S513 is executed to determine whether or not recording is possible.

【0287】記録可能であるか否かの判定は、記録紙1
7があるか否かおよびトナーが記録に十分な量あるか否
かにより行われる。記録紙17の有無は記録紙センサ2
0の検出信号からわかり、トナーの有無はトナー残量検
出装置80の検出信号からわかる。記録が可能であれば
S513の判定結果はYESになり、S514において
紙出力フラグ284がセットされる。また、記録可能で
なければS513の判定結果はNOになってS511が
実行され、代行フラグ286がセットされる。インタフ
ェース・ボックス6が接続されていればS503の判定
結果はYESになり、S504において出力モードが紙
出力モードであるか否かの判定が行われる。紙出力モー
ドであればS504の判定結果がYESになり、S51
3が実行され、記録可能であれば紙出力フラグ284が
セットされ、記録不可能であればS511において代行
フラグ286がセットされる。
The determination as to whether or not recording is possible is made on the recording paper 1
7 and whether the toner is sufficient for recording. The presence or absence of the recording paper 17 is determined by the recording paper sensor 2.
The detection signal of 0 indicates that the toner is present. If recording is possible, the determination result in S513 is YES, and the paper output flag 284 is set in S514. If recording is not possible, the determination result in S513 is NO, S511 is executed, and the proxy flag 286 is set. If the interface box 6 is connected, the determination result in S503 is YES, and in S504, it is determined whether the output mode is the paper output mode. If it is the paper output mode, the determination result of S504 becomes YES, and S51
3, the paper output flag 284 is set if recording is possible, and the proxy flag 286 is set in S511 if recording is not possible.

【0288】紙出力モードでなければパソコン4にファ
クシミリデータを受信させるPC・ONLYモードある
いはPC優先モードであり、S505においてリングコ
マンドがパソコン4へ出力される。次いでS506〜S
508が実行され、設定時間(本実施例においては3
秒)内にパソコン4からリングコマンドに対する応答が
あったか否かの判定が行われる。この場合の応答は先に
図25に示すシーケンスチャートに基づいて説明したよ
うにATA信号であり、3秒以内に応答があればS50
7の判定結果はYESになり、S512においてPC送
信フラグ288がセットされる。パソコン4がファクシ
ミリデータを受信可能であることが記憶されるのであ
る。
If the mode is not the paper output mode, the mode is the PC ONLY mode or the PC priority mode in which the personal computer 4 receives facsimile data, and a ring command is output to the personal computer 4 in S505. Then S506-S
508 is executed, and the set time (3 in this embodiment)
It is determined whether or not there is a response to the ring command from the personal computer 4 within the second). The response in this case is an ATA signal as described above with reference to the sequence chart shown in FIG. 25, and if there is a response within 3 seconds, S50
7 is YES, and the PC transmission flag 288 is set in S512. The fact that the personal computer 4 can receive facsimile data is stored.

【0289】例えば、パソコン4が実行時間の長いプロ
グラムを実行している場合には、ファクシミリ装置2か
ら送信されるコマンドに対して応答することができず、
ファクシミリデータを受信することもできない。そのた
め、この場合にはS508の判定結果がYESになり、
S509においてPC送信フラグ288がリセットされ
る。パソコン4がファクシミリデータを受信不可能であ
ることが記憶されるのである。
For example, when the personal computer 4 is executing a program having a long execution time, the personal computer 4 cannot respond to a command transmitted from the facsimile apparatus 2,
No facsimile data can be received. Therefore, in this case, the determination result in S508 is YES,
In S509, the PC transmission flag 288 is reset. The fact that the personal computer 4 cannot receive facsimile data is stored.

【0290】また、前述のように、パソコン4は、ファ
クシミリ装置2において出力モードがPC・ONLYモ
ードあるいはPC優先モードに設定されていても、パソ
コン4において受信機能が選択されていなければ受信プ
ログラムが実行されず、ファクシミリデータを受信する
ことができず、ファクシミリ装置2がリングコマンドを
パソコン4へ出力してもATA信号をファクシミリ装置
2へ出力することができない。したがって、この場合に
もパソコン4からの応答がない状態が3秒継続すればS
508の判定結果がYESになり、S509においてP
C送信フラグ288がリセットされる。
As described above, even if the output mode of the facsimile apparatus 2 is set to the PC ONLY mode or the PC priority mode, if the receiving function is not selected in the personal computer 4, the receiving program is executed. The facsimile data cannot be received, and the facsimile device 2 cannot output the ATA signal to the facsimile device 2 even if the facsimile device 2 outputs the ring command to the personal computer 4. Therefore, also in this case, if there is no response from the personal computer 4 for three seconds, S
The decision result in 508 is YES, and in S509 P
The C transmission flag 288 is reset.

【0291】ATA信号は、インタフェース・ボックス
6の非接続,パソコン4の電源OFF,パソコン4のフ
ァクシミリデータバッファ328の容量にデータを格納
する余裕がないこと、パソコン4においてファクシミリ
データを受信するプログラムが実行されていないこと、
パソコン4においてファクシミリデータ受信プログラム
以外のプログラムが実行されていてファクシミリデータ
を受信することができないこと等、ファクシミリデータ
を受信できない原因のすべてがないときに発せられ、フ
ァクシミリデータの送信を許容する送信許容信号であ
る。
The ATA signal indicates that the interface box 6 is not connected, the power of the personal computer 4 is turned off, the capacity of the facsimile data buffer 328 of the personal computer 4 has no room for storing data, and the personal computer 4 receives a facsimile data program. Not running,
This is issued when there is no cause for receiving facsimile data, such as when a program other than the facsimile data receiving program is executed on the personal computer 4 and the facsimile data cannot be received. Signal.

【0292】次いでS510が実行され、出力モードが
PC・ONLYモードであるか否かの判定が行われる。
PC優先モードであればS510の判定結果はNOにな
り、S513が実行される。PC優先モードの場合、パ
ソコン4がファクシミリデータを受信できないときに
は、ファクシミリ装置2の記録装置29によりファクシ
ミリデータを記録して出力し、記録不可能な場合にはF
AX側受信データバッファ254にファクシミリデータ
を格納するようになっているのである。
Then, step S510 is executed to determine whether the output mode is the PC ONLY mode.
If the mode is the PC priority mode, the determination result in S510 is NO, and S513 is executed. In the PC priority mode, when the personal computer 4 cannot receive the facsimile data, the facsimile data is recorded and output by the recording device 29 of the facsimile apparatus 2;
The facsimile data is stored in the AX-side reception data buffer 254.

【0293】出力モードがPC・ONLYモードであれ
ばS510の判定結果はYESになり、S511におい
て代行フラグ286がセットされ、ファクシミリデータ
をFAX側受信データバッファ254に格納することが
記憶される。
If the output mode is the PC ONLY mode, the decision result in S510 is YES, the proxy flag 286 is set in S511, and it is stored that the facsimile data is stored in the facsimile reception data buffer 254.

【0294】以上の説明から明らかなように、紙出力フ
ラグ284がセットされるのは、紙出力モードが設定さ
れている場合、出力モードに関係なく、パソコン4が接
続されておらずかつ記録可能な場合、PC優先モードで
あるがファクシミリデータの着信時にパソコン4がファ
クシミリデータを受信不可能でありかつ記録可能な場合
である。紙出力フラグ284がセットされている場合に
は、受信されたファクシミリデータは最初から最後まで
受信と並行して記録される(S526)。
As is clear from the above description, the reason why the paper output flag 284 is set is that when the paper output mode is set, the PC 4 is not connected and recording is possible regardless of the output mode. In this case, the PC priority mode is set, but the personal computer 4 cannot receive facsimile data when facsimile data arrives and can record the facsimile data. If the paper output flag 284 is set, the received facsimile data is recorded from the beginning to the end in parallel with the reception (S526).

【0295】また、代行フラグ286がセットされるの
は、紙出力モードが設定されているが記録不可能な場
合、パソコン4が接続されており、PC・ONLYモー
ドが設定されているが、ファクシミリデータの着信時に
パソコン4がファクシミリデータを受信不可能な場合、
PC優先モードが設定されているが、ファクシミリデー
タの着信時にパソコン4がファクシミリデータを受信不
可能であり、かつ、記録不可能な場合である。代行フラ
グ286がセットされている場合には、受信されたファ
クシミリデータは最初から最後までFAX側受信データ
バッファ254に格納される。紙出力モードが選択され
ているが、記録装置29が記録不可能であってFAX側
受信データバッファ254にデータが格納されることも
代行受信の一種である(S525)。
When the paper output mode is set but recording is not possible, the personal computer 4 is connected and the PC / ONLY mode is set. If the PC 4 cannot receive facsimile data when receiving data,
The PC priority mode is set, but the personal computer 4 cannot receive facsimile data when facsimile data arrives and cannot record. When the proxy flag 286 is set, the received facsimile data is stored in the FAX-side reception data buffer 254 from the beginning to the end. Although the paper output mode is selected, the fact that the recording device 29 cannot perform recording and the data is stored in the FAX-side reception data buffer 254 is also a type of the alternate reception (S525).

【0296】なお、PC・ONLYモードが設定されて
いてパソコン4が受信不可能なとき、あるいはPC優先
モードが設定されていてパソコン4が受信不可能であ
り、かつ、記録不可能であるときには、表示器150に
その旨が表示される。
When the PC ONLY mode is set and the personal computer 4 cannot receive, or when the PC priority mode is set and the personal computer 4 cannot receive and cannot record, The display 150 indicates that fact.

【0297】紙出力フラグ284および代行フラグ28
6のいずれもセットされないのは、PC・ONLYモー
ドあるいはPC優先モードであって、パソコン4がファ
クシミリデータを受信可能な場合であり、ファクシミリ
データは受信と並行してパソコン4へ送信される(S5
24)。
Paper output flag 284 and proxy flag 28
6 is not set in the PC ONLY mode or the PC priority mode when the personal computer 4 can receive facsimile data, and the facsimile data is transmitted to the personal computer 4 in parallel with the reception (S5).
24).

【0298】次いでS515が実行され、図36に示す
DIS信号作成プログラムに基づいて相手装置114へ
出力するDIS信号が作成され、割込処理によって相手
装置114へ出力されるようにされる。
Next, step S515 is executed, a DIS signal to be output to the partner device 114 is created based on the DIS signal creation program shown in FIG. 36, and the DIS signal is output to the partner device 114 by interrupt processing.

【0299】DIS信号は、前述のようにファクシミリ
装置2の伝送パラメータのレベルを相手装置114に知
らせる信号であり、ファクシミリデータをファクシミリ
装置2が受信するか、パソコン4が受信するかによって
異なる場合がある。そのため、S841において紙出力
フラグ284がセットされているか否かの判定が行われ
る。紙出力フラグ284がセットされていれば、ファク
シミリデータは記録装置29により記録される。すなわ
ちファクシミリ装置2がファクシミリデータを受信する
ことを意味する。そのためS841の判定結果がYES
になってS845が実行され、ファクシミリ装置2の解
像度,用紙幅,符号化方式等の伝送パラメータのうち、
最高のレベルを知らせるDIS信号が作成され、S84
4においてFAX側送信データバッファ256に格納さ
れる。
As described above, the DIS signal is a signal for notifying the level of the transmission parameter of the facsimile apparatus 2 to the partner apparatus 114, and may differ depending on whether the facsimile apparatus 2 receives the facsimile data or the personal computer 4 receives the facsimile data. is there. Therefore, it is determined in S841 whether the paper output flag 284 is set. If the paper output flag 284 is set, the facsimile data is recorded by the recording device 29. That is, it means that the facsimile apparatus 2 receives the facsimile data. Therefore, the determination result of S841 is YES
S845 is executed, and among the transmission parameters of the facsimile machine 2, such as the resolution, paper width, and encoding method,
A DIS signal indicating the highest level is created, and S84
In step S4, the data is stored in the FAX-side transmission data buffer 256.

【0300】紙出力フラグ284がセットされていなけ
ればS841の判定結果がNOになり、S842におい
て代行フラグ286がセットされているか否かの判定が
行われる。代行フラグ286のセットはファクシミリデ
ータのFAX側受信データバッファ254への格納、す
なわちファクシミリ装置2がファクシミリデータを受信
することを表すため、S845が実行される。
If the paper output flag 284 is not set, the determination result in S841 is NO, and in S842, it is determined whether the proxy flag 286 is set. Since the setting of the proxy flag 286 indicates that the facsimile data is stored in the facsimile-side reception data buffer 254, that is, the facsimile apparatus 2 receives the facsimile data, S845 is executed.

【0301】紙出力フラグ284,代行フラグ286の
いずれもセットされていなければ、パソコン4がファク
シミリデータを受信することを意味する。そのため、S
843においては、パソコン4の伝送パラメータとファ
クシミリ装置2の伝送パラメータとのうち、共通であっ
て最高レベルの伝送パラメータを相手装置114に知ら
せるDIS信号が作成され、S844においてFAX側
送信データバッファ256に書き込まれる。パソコン4
の伝送パラメータはPC伝送パラメータバッファ263
に格納されており、その伝送パラメータとファクシミリ
装置2の伝送パラメータとに基づいてDIS信号が作成
され、S844においてFAX側送信データバッファ2
56に格納される。
If neither the paper output flag 284 nor the proxy flag 286 is set, it means that the personal computer 4 receives facsimile data. Therefore, S
In step 843, a DIS signal that is common to the transmission parameter of the personal computer 4 and the transmission parameter of the facsimile apparatus 2 and informs the partner apparatus 114 of the highest level transmission parameter is created. Written. PC 4
Of the PC transmission parameter buffer 263
, And a DIS signal is created based on the transmission parameters and the transmission parameters of the facsimile apparatus 2. In S844, the FAX-side transmission data buffer 2
56.

【0302】次いでS516が実行され、P/S割込ベ
クトルがコマンド受信にセットされ、V21フラグを始
めとし、フェーズBにおいて相手装置114から伝送さ
れて来るコマンドを受信し得るようにされる。
[0302] Next, step S516 is executed, the P / S interrupt vector is set to the command reception, and the command transmitted from the partner apparatus 114 in the phase B such as the V21 flag can be received.

【0303】そして、S517〜S519が実行され、
相手装置114からV21フラグが設定時間内に送信さ
れて来たか否かの判定が行われる。V21フラグはファ
クシミリ装置間でデータ送信を行う際に送られるコマン
ドであり、これがなければファクシミリデータの送信で
はなく、電話信号の伝送かあるいは何らかの異常がある
ことを意味する。そのため、設定時間経過してもV21
フラグが得られなければS519の判定結果がYESに
なってS531においてエラー処理が行われる。パソコ
ン4へ(+FHNG:2)信号を出力し、エラーの発生
により通信を終了することを知らせるのであり、S53
2において紙出力フラグ284および代行フラグ286
のリセット,回線開放が行われて通信が終了する。
Then, S517 to S519 are executed, and
It is determined whether the V21 flag has been transmitted from the partner device 114 within the set time. The V21 flag is a command transmitted when data is transmitted between the facsimile apparatuses. Without this, it means not transmission of facsimile data but transmission of a telephone signal or some abnormality. Therefore, even if the set time has passed, V21
If no flag is obtained, the determination result in S519 becomes YES, and error processing is performed in S531. The (+ FHNG: 2) signal is output to the personal computer 4 to notify that the communication is terminated due to the occurrence of the error.
2, the paper output flag 284 and the proxy flag 286
Is reset and the line is released, and the communication ends.

【0304】設定時間内にV21フラグが送信されれば
S518の判定結果がYESになり、S520において
フェーズBが行われる。DIS信号の出力,V21フラ
グの受信もフェーズBであり、ここでは残りのフェーズ
Bが行われる。このフェーズBにおいて、相手装置11
4からのDCS信号により伝送パラメータのレベルが設
定される。この伝送パラメータは画像データ受信時伝送
パラメータバッファ290に格納される。
[0304] If the V21 flag is transmitted within the set time, the determination result in S518 becomes YES, and phase B is performed in S520. The output of the DIS signal and the reception of the V21 flag are also phase B, and the remaining phase B is performed here. In this phase B, the partner device 11
4, the level of the transmission parameter is set by the DCS signal. These transmission parameters are stored in the transmission parameter buffer 290 when receiving image data.

【0305】フェーズBの実行後、S521においてエ
ラーがあったか否かの判定が行われる。エラーとは、D
CS信号を受信できないこと、あるいはデータをコマン
ドの伝送速度である2400bpsの速度で受信するこ
とができないこと等であり、エラー発生時にはS521
の判定結果がYESになり、S531のエラー処理とS
532の回線開放等とが、上記S519の判定結果がY
ESとなった場合と同様に行われる。
After the execution of the phase B, it is determined in S521 whether an error has occurred. The error is D
The CS signal cannot be received, or the data cannot be received at the command transmission speed of 2400 bps, and the like.
Is YES, and the error processing of S531 and S53
532 line release, etc., and the determination result of S519 is Y
This is performed in the same manner as when ES is set.

【0306】エラーがなければS521の判定結果はN
Oになり、以下、紙出力フラグ284および代行フラグ
286のセット,リセットに応じて、ファクシミリデー
タを記録紙17に記録する紙出力(S526),パソコ
ン4に代わってファクシミリ装置2がファクシミリデー
タを受信する代行受信(S525)およびパソコン4に
ファクシミリデータを受信させるPC受信(S524)
のいずれかが実行される。
If there is no error, the judgment result in S521 is N
O, the facsimile device 2 receives the facsimile data instead of the personal computer 4 in response to the setting and resetting of the paper output flag 284 and the substitute flag 286 (S526). (S525) and PC reception for causing the personal computer 4 to receive facsimile data (S524).
Is executed.

【0307】PC受信を図37に示すプログラムに基づ
いて説明する。
[0307] The PC reception will be described based on the program shown in FIG.

【0308】相手装置114から伝送されて来る符号化
画像データのFAX側受信データバッファ254への格
納,パソコン4への送信はいずれも割込によって行われ
るため、このプログラムによっては符号化画像データの
PC側送信データバッファ252への書込み,符号化画
像データの復号,1ラインのデータ送信のチェックが行
われる。
The storage of the encoded image data transmitted from the partner device 114 in the reception data buffer 254 on the facsimile side and the transmission to the personal computer 4 are both performed by interruption. Writing to the PC-side transmission data buffer 252, decoding of encoded image data, and checking of data transmission of one line are performed.

【0309】まず、S851においてP/S割込ベクト
ルがデータ送信にセットされる。次いでS852〜S8
54が図23に示すPCデータ記録プログラムのS30
8〜S310と同様に実行され、1頁のデータの先頭を
示すEOLデータが探される。
First, in S851, a P / S interrupt vector is set for data transmission. Next, S852 to S8
54 is S30 of the PC data recording program shown in FIG.
The process is performed in the same manner as in steps S8 to S310, and EOL data indicating the head of data of one page is searched.

【0310】EOLデータが得られればS854の判定
結果はYESになり、S855においてラインカウンタ
344のカウント値が1増加させられる。ファクシミリ
装置2からパソコン4へデータを送信するとき、データ
のライン数も送信するため、ここでライン数がカウント
されるのである。このライン数はまた、ファクシミリ装
置2が有するデータの解像度および用紙幅をパソコン4
が表示可能な解像度および用紙幅に修正するときにも使
用される。
If the EOL data is obtained, the determination result in S854 is YES, and the count value of the line counter 344 is increased by 1 in S855. When transmitting data from the facsimile apparatus 2 to the personal computer 4, the number of lines of data is also transmitted, so the number of lines is counted here. The number of lines also depends on the data resolution and paper width of the facsimile
Is also used when correcting to a displayable resolution and paper width.

【0311】S856において復号化用バッファ270
の初期化が図23のS311と同様に行われた後、S8
57が実行され、FAX側受信データバッファ254か
らデータが1バイト分取り出される。S857において
データは、複写により取り出される。次いでS858に
おいてPC送信フラグ288がセットされているか否か
の判定が行われる。パソコン4へのファクシミリデータ
の送信が可能であり、PC送信フラグ288がセットさ
れている場合にはS860の判定結果はYESになり、
S859〜S861においてパソコン4へのファクシミ
リデータの送信が可能であるか否かの判定が行われる。
In S856, the decoding buffer 270 is set.
After initialization of S8 is performed in the same manner as in S311 of FIG.
Step 57 is executed, and one byte of data is extracted from the FAX-side reception data buffer 254. In S857, the data is extracted by copying. Next, in S858, it is determined whether or not the PC transmission flag 288 is set. If the facsimile data can be transmitted to the personal computer 4 and the PC transmission flag 288 is set, the determination result in S860 is YES,
In S859 to S861, it is determined whether facsimile data transmission to the personal computer 4 is possible.

【0312】この判定は、CTS制御信号ラインの出力
がファクシミリ装置2からパソコン4へのデータの送信
を許容する状態にあるか、データの送信を阻止する状態
にあるか否かにより行われる。パソコン4のファクシミ
リデータバッファが既にデータで一杯であって、それ以
上データを格納することができない場合、パソコン4が
ファクシミリデータの受信が不可能なプログラムを実行
している場合、パソコン4がファクシミリデータを受信
するプログラムを実行していない場合、パソコン4の電
源がOFFの場合およびインタフェース・ボックス6が
接続されていない場合にCTS制御信号ラインの出力は
ファクシミリ装置2からパソコン4へのデータの送信を
阻止する状態にされる。CTS制御信号ラインの出力
は、ファクシミリデータの送信を許容する状態では、フ
ァクシミリデータ送信許容信号であり、阻止する状態で
はファクシミリデータ送信禁止信号である。
This determination is made based on whether the output of the CTS control signal line is in a state of permitting data transmission from the facsimile apparatus 2 to the personal computer 4 or in a state of preventing data transmission. If the facsimile data buffer of the personal computer 4 is already full of data and no more data can be stored, if the personal computer 4 is executing a program that cannot receive facsimile data, The CTS control signal line outputs data from the facsimile apparatus 2 to the personal computer 4 when the program for receiving the data is not executed, when the power of the personal computer 4 is turned off, and when the interface box 6 is not connected. It will be in a state to block. The output of the CTS control signal line is a facsimile data transmission permission signal in a state where facsimile data transmission is permitted, and is a facsimile data transmission inhibition signal in a state where facsimile data transmission is prohibited.

【0313】この状態が設定時間(本実施例においては
3秒)継続せず、3秒以内にCTS制御信号ラインの出
力がデータの送信を許容する状態であってファクシミリ
データを送出できるという情報が得られればS860の
判定結果がYESになり、S863において1バイト分
のファクシミリデータがPC側送信データバッファ25
2に格納される。このファクシミリデータは、図29に
示すFAXデータ受信時画像データ送出割込処理プログ
ラムの実行によりパソコン4へ送信される。
This state does not continue for the set time (3 seconds in the present embodiment), and information indicating that the output of the CTS control signal line allows data transmission within 3 seconds and facsimile data can be sent out within 3 seconds. If it is obtained, the determination result in S860 is YES, and in S863, the facsimile data of one byte is stored in the PC-side transmission data buffer 25.
2 is stored. This facsimile data is transmitted to the personal computer 4 by executing the FAX data reception image data transmission interrupt processing program shown in FIG.

【0314】次いでS864においてタイマがリセット
された後、S865において取り出されたデータが復号
化画像処理プログラムに従って復号された後、S866
において1コードの復号が終了したか否かの判定が行わ
れる。1コードが2バイト以上で構成されている場合に
はS866の判定結果はNOであり、S857が実行さ
れて次のデータがFAX側受信データバッファ254か
ら取り出される。
Next, after the timer is reset in S864, the data fetched in S865 is decoded according to the decoded image processing program, and then in S866
It is determined whether or not decoding of one code has been completed. If one code is composed of two or more bytes, the determination result in S866 is NO, and S857 is executed to fetch the next data from the FAX-side reception data buffer 254.

【0315】1コードのデータが取り出されれば、S8
67において、取り出されたデータが1ラインの終了を
表すEOLデータであるか否かの判定が行われる。この
判定結果は当初はNOであり、S868において1頁の
終了を指示するデータであるか否かの判定が行われる
が、この判定結果もNOであり、S869において取り
出されたデータが画像データであるか否かの判定が行わ
れる。画像データであればS870が実行され、復号化
画像データのビット数が画像データビット数カウンタ3
46のカウント値に加えられ、1ラインの画像データの
ビット数が数えられた後、プログラムの実行はS857
に戻り、次のデータが取り出されてPC側送信データバ
ッファ252への書込み,復号が行われる。
If one code of data is taken out, S8
At 67, it is determined whether the extracted data is EOL data indicating the end of one line. This determination result is initially NO, and a determination is made in S868 as to whether it is data instructing the end of one page. This determination result is also NO, and the data extracted in S869 is image data. A determination is made whether there is. If it is image data, S870 is executed, and the bit number of the decoded image data is
After the number of bits of one line of image data is counted in addition to the count value of 46, the program is executed in S857.
Then, the next data is taken out and written into the PC-side transmission data buffer 252 and decoded.

【0316】パソコン4へのデータ送出が不可能になる
ことなく、1ラインのデータの取出し,送出が終了した
ならばS867の判定結果がYESになり、S871に
おいて相手装置114から1ライン分のデータが送信さ
れたか否かの判定が行われる。この判定は、S870に
おいて加算されたビット数が、ファクシミリ装置2と相
手装置114との間で設定した用紙幅の1ラインに含ま
れるビット数(例えば、用紙幅がA4の場合には172
8ビット,B4の場合には2048ビット)と等しいか
否かにより行われる。外乱等によりファクシミリデータ
が乱れ、ビット数が1ラインの設定数より多く、あるい
は少ない場合にはS871の判定結果はNOになり、S
872においてエラーラインカウンタ348のカウント
値が1増加させられる。
If the extraction and transmission of one line of data is completed without data transmission to the personal computer 4 being impossible, the determination result in S867 becomes YES, and in S871, the data of one line is transmitted from the partner apparatus 114. It is determined whether or not is transmitted. This determination is based on the fact that the number of bits added in S870 is equal to the number of bits included in one line of the paper width set between the facsimile machine 2 and the partner apparatus 114 (for example, 172 if the paper width is A4).
8 bits, 2048 bits in the case of B4). If the facsimile data is disturbed due to disturbance or the like and the number of bits is larger or smaller than the set number of one line, the determination result in S871 is NO, and
At 872, the count value of the error line counter 348 is incremented by one.

【0317】エラーラインカウンタ348により数えら
れたエラーライン数は、図示は省略するが、次のように
処理される。1頁の符号化画像データの受信終了後、フ
ェーズDにおけるエラー処理プログラムの実行により、
エラーライン数が予め設定された率(例えば10%)以
上生じたと判定されれば、相手装置114にRTN(Re
train Negative) 信号が出力され、画像データは完全に
受信されなかったが、トレーニングまたは同期信号が再
送されるならば、次頁の画像データの受信が可能である
ことが表される。また、エラーライン数がRTN信号を
出力するか否かを判定する率より大きい率(例えば30
パーセント)を超えて生じた場合には、DCN信号が出
力されて通信が終了させられる。
Although not shown, the number of error lines counted by the error line counter 348 is processed as follows. After the reception of the encoded image data of one page, the error processing program in the phase D is executed,
If it is determined that the number of error lines is equal to or greater than a preset rate (for example, 10%), RTN (Re
train Negative) signal is output and the image data was not completely received, but if the training or synchronization signal is retransmitted, it indicates that the image data of the next page can be received. Also, the number of error lines is greater than the rate of determining whether to output the RTN signal (for example, 30
If the error occurs in excess of (percent), a DCN signal is output and the communication is terminated.

【0318】送信されて来たデータのビット数が1ライ
ン分あればS871の判定結果はYESになり、プログ
ラムの実行はS855に戻って次のラインの符号化画像
データの送信,チェックが行われる。
If the number of bits of transmitted data is one line, the decision result in S871 is YES, and the program returns to S855 to transmit and check the coded image data of the next line. .

【0319】1頁の終了を表すデータは6個のEOLデ
ータを含んでおり、1個目のEOLデータが取り出され
たとき、S867の判定結果がYESになり、S87
1,S872が実行される。2個目〜5個目のEOLデ
ータは1ラインの終了を示すデータでもなく、1頁の終
了を表すデータでもないため、S867,S868の判
定結果がいずれもNOになり、更に画像データでないた
めS869の判定結果がNOになり、プロラグムの実行
はS857に戻る。画像データでないため、ビット数の
加算は行われないのである。6個のEOLデータが取り
出されればS868の判定結果がYESになり、S87
3においてPC送信フラグ288がセットされているか
否かの判定が行われる。
The data indicating the end of one page includes six pieces of EOL data. When the first piece of EOL data is taken out, the judgment result in S867 becomes YES, and the result in S87 is YES.
1, S872 is executed. Since the second to fifth EOL data are neither data indicating the end of one line nor data indicating the end of one page, the determination results in S867 and S868 are both NO, and the data is not image data. The determination result in S869 is NO, and the execution of the program returns to S857. Since it is not image data, the addition of the number of bits is not performed. If six pieces of EOL data are extracted, the determination result of S868 becomes YES, and S87
At 3, it is determined whether the PC transmission flag 288 is set.

【0320】PC送信フラグ288がセットされていれ
ば、1頁のデータ全部がパソコン4へ送出されたという
ことであり、FAX側受信データバッファ254に格納
されたデータは消してもよいため、S873の判定結果
がYESの場合にはS880が実行され、FAX側受信
データバッファ254に格納された1頁分のデータの消
去が指示される。それにより、図示しないプログラムに
おいて、パソコン4へ送出された1頁分のデータが消去
される。
If the PC transmission flag 288 is set, it means that the entire data of one page has been transmitted to the personal computer 4, and the data stored in the FAX-side reception data buffer 254 may be deleted. If the determination result is YES, S880 is executed, and an instruction to delete one page of data stored in the FAX-side reception data buffer 254 is issued. As a result, the data for one page sent to the personal computer 4 is erased by a program (not shown).

【0321】次いで、S875において1頁の終了処
理、すなわちS852において1頁データ用バッファ2
77にセットされたデータの消去等が行われる。S87
5においてはまた、P/S割込ベクトルがコマンド受信
にセットされるとともに、ラインカウンタ344のカウ
ント値が1減少させられる。RTC PATTERNデ
ータを構成する1個目のEOLデータが取り出されたと
き、S872においてエラーラインカウンタ344のカ
ウント値が1増加させられているが、これはライン数を
表すものではないため、その分、1減少させられるので
ある。
Next, in step S875, the end processing of one page, that is, in step S852, the one-page data buffer 2
The data set in 77 is erased. S87
At 5, the P / S interrupt vector is set to command reception, and the count value of the line counter 344 is decreased by one. When the first piece of EOL data constituting the RTC PATTERN data is extracted, the count value of the error line counter 344 is incremented by 1 in S872. However, this does not represent the number of lines, so It is reduced by one.

【0322】CTS制御信号ラインの出力が3秒以上継
続してデータの送信を阻止する状態にあり、パソコン4
へファクシミリデータを送信することができなければS
861の判定結果がYESになり、S862においてP
C送信フラグ288がリセットされる。それにより、以
後、PC側送信データバッファ252にデータが書き込
まれず、パソコン4へはファクシミリデータが送出され
ないことになる。S862においてはまた、画像データ
受信時伝送パラメータバッファ290に記憶された伝送
パラメータがFAX側受信データバッファ254に格納
され、受信したファクシミリデータの伝送パラメータが
わかるようにされる。さらに、PC・ONLYモード時
代行受信フラグ296とPC優先モード時代行受信フラ
グ296とのいずれか一方がセットされ、代行受信が行
われるのがいずれのモードのときであるかが記憶され
る。このとき、代行受信時の出力モードを表すフラグ以
外のフラグはいずれもリセットされる。このようにパソ
コン4へのファクシミリデータの送信途中にパソコン4
が受信不可能になったとき、PC・ONLYモード時に
は、PC・ONLYモードであって送信不可能である旨
が表示器150に表示される。
The output of the CTS control signal line continues for more than 3 seconds to prevent data transmission.
If facsimile data cannot be sent to S
861 is YES, and in S862, P
The C transmission flag 288 is reset. As a result, no data is thereafter written to the PC-side transmission data buffer 252, and no facsimile data is sent to the personal computer 4. In step S862, the transmission parameters stored in the transmission parameter buffer 290 at the time of receiving image data are stored in the FAX-side reception data buffer 254, so that the transmission parameters of the received facsimile data can be identified. Further, one of the PC / ONLY mode period reception flag 296 and the PC priority mode period reception flag 296 is set, and the mode in which the substitute reception is performed is stored. At this time, all flags other than the flag indicating the output mode at the time of proxy reception are reset. As described above, while the facsimile data is being transmitted to the personal computer 4,
In the PC ONLY mode, the display 150 indicates that the PC is in the PC ONLY mode and transmission is not possible.

【0323】PC・ONLYモードであっても、PC優
先モードであっても、ファクシミリデータの受信途中で
パソコン4が受信不可能になった場合には、パソコン4
へはデータは送出されないが、データの復号は行われ、
1ライン分のデータが過不足なく伝送されて来たか否か
の判定は行われる。
In the PC ONLY mode or the PC priority mode, if the personal computer 4 becomes unreceivable during the reception of facsimile data, the personal computer 4
Is not sent, but the data is decrypted,
It is determined whether one line of data has been transmitted without excess or deficiency.

【0324】1頁のデータの復号が終了すればS868
の判定結果がYESになる。この場合にはPC送信フラ
グ288がリセットされているためS873の判定結果
がNOになり、S875において1頁の終了処理が行わ
れる。パソコン4へのデータ送出が不可能であると判定
されたときには、後にファクシミリデータをパソコン4
へ1頁単位で送信されるため、データを1頁分全部残し
ておくことが必要であり、S874は行われないのであ
る。PC・ONLYモードであれば、パソコン4が受信
不可能になった以後の符号化画像データがFAX側受信
データバッファ254に格納される。また、PC優先モ
ードであっても、代行受信したファクミシリデータをパ
ソコン4へ1頁単位で送信し、送信できない場合には1
頁単位で記録されるため、1頁分全部のデータがFAX
側受信データバッファ254に残される。この符号化画
像データは、記録される場合には1頁の記録が行われる
毎に消去される。
If the decoding of the data of one page is completed, S868
Is YES. In this case, since the PC transmission flag 288 has been reset, the determination result in S873 is NO, and the end process of one page is performed in S875. If it is determined that data transmission to the personal computer 4 is not possible, facsimile data is later transmitted to the personal computer 4.
Since the data is transmitted in units of one page, it is necessary to keep the entire data for one page, and S874 is not performed. In the PC ONLY mode, the coded image data after the personal computer 4 becomes unreceivable is stored in the FAX-side reception data buffer 254. Also, even in the PC priority mode, the facsimile data received by proxy is transmitted to the personal computer 4 in units of one page.
Since data is recorded in page units, all data for one page is faxed.
It is left in the side reception data buffer 254. When the encoded image data is recorded, it is deleted every time one page is recorded.

【0325】次にS525の代行受信を説明する。Next, the alternate reception in S525 will be described.

【0326】代行受信が行われるのは代行フラグ286
がセットされている場合であり、ファクシミリデータは
全部FAX側受信データバッファ254に格納される。
そのため、パソコン4へのデータ送信が可能であるかを
判定する必要はなく、図38に示す代行受信プログラム
は、図37に示したPC受信プログラムのうち、割込ベ
クトルをデータ送信に設定するステップ,パソコン4へ
のデータ送出が可能であるか否かを判定するステップ,
データを消去するステップ,記録一時バッファ260,
記録バッファ262へのデータの保存を除いたものとさ
れており、説明は省略する。なお、代行受信の場合に
は、S915の1頁終了処理時に、FAX側受信データ
バッファ254に格納されたデータに伝送パラメータが
付され、代行受信された符号化画像データの伝送パラメ
ータがわかるようにされる。S915においてはまた、
紙出力モード時代行受信フラグ292,PC・ONLY
モード時代行受信フラグ294,PC優先モード時代行
受信フラグ296のうちのいずれがかセットされ、代行
受信がいずれの出力モードで行われたかが記憶される。
代行受信時の出力モードを記憶するためのフラグ以外の
フラグはリセットされる。
The proxy reception is performed by the proxy flag 286.
Is set, and all the facsimile data is stored in the FAX-side reception data buffer 254.
Therefore, it is not necessary to determine whether data transmission to the personal computer 4 is possible. The proxy reception program shown in FIG. 38 is a step of setting the interrupt vector for data transmission in the PC reception program shown in FIG. Determining whether data transmission to the personal computer 4 is possible,
Erasing the data, the recording temporary buffer 260,
It is assumed that the storage of the data in the recording buffer 262 is excluded, and the description is omitted. In the case of proxy reception, a transmission parameter is added to the data stored in the FAX-side reception data buffer 254 at the time of one-page termination processing in S915, so that the transmission parameter of the proxy-received encoded image data can be known. Is done. In S915,
Paper output mode era line reception flag 292, PC ONLY
One of the mode erasure reception flag 294 and the PC priority mode erasure reception flag 296 is set, and the output mode in which the alternate reception is performed is stored.
Flags other than the flag for storing the output mode at the time of proxy reception are reset.

【0327】次にS526の紙出力を図39に示す紙出
力プログラムに基づいて説明する。紙出力が行われるの
は紙出力フラグ284がセットされている場合であり、
ファクシミリデータは全部記録装置29により記録され
る。そのため、図39に示す紙出力プログラムは、受信
したデータはすべて復号化して記録バッファ262へ格
納され、1頁の復号化が終了したとき、感光ドラム30
を回転させるドラムモータを起動させ、記録装置29に
1頁分のデータを記録させるものとされている(S96
7)。その他は、図38に示す代行受信プログラムと同
じであり、説明は省略する。
Next, the paper output in S526 will be described based on the paper output program shown in FIG. The paper output is performed when the paper output flag 284 is set.
All facsimile data is recorded by the recording device 29. Therefore, the paper output program shown in FIG. 39 decodes all the received data and stores it in the recording buffer 262. When the decoding of one page is completed, the photosensitive drum 30
Is started, and the recording device 29 records one page of data (S96).
7). Others are the same as the proxy reception program shown in FIG. 38, and the description is omitted.

【0328】このように1頁分の符号化画像データが処
理されれば、図31に示す受信ルーチンのS527にお
いてフェーズDが行われる。次いでS528が実行さ
れ、エラーがあるか否か、すなわち相手装置114から
MPS信号,EOM信号あるいはEOP信号を受信でき
たか否かの判定が行われる。図示は省略するが、この判
定は設定時間内にMPS信号,EOM信号あるいはEO
P信号が得られるか否かにより行われ、得られなければ
S528の判定結果はNOになり、S531においてエ
ラー処理が行われる。パソコン4へ(+FHNG:2)
信号が出力されるのである。
If the encoded image data for one page has been processed as described above, the phase D is performed in S527 of the reception routine shown in FIG. Next, S528 is executed to determine whether there is an error, that is, whether the MPS signal, the EOM signal, or the EOP signal has been received from the partner device 114. Although not shown, this determination is made within the set time by the MPS signal, EOM signal or EO signal.
The determination is made based on whether or not the P signal is obtained. If the P signal is not obtained, the determination result in S528 is NO, and an error process is performed in S531. To PC 4 (+ FHNG: 2)
A signal is output.

【0329】エラーがなければS528の判定結果はN
Oになり、S529において通信終了か否かの判定が行
われる。相手装置114からの信号がデータの送信終了
を表すEOP信号でなければS529の判定結果はNO
になり、S530において伝送パラメータに変更がある
か否かの判定が行われる。この判定は相手装置114か
ら伝送パラメータの変更を表すEOM信号が伝送されて
来たか否かにより行われ、変更がなければプログラムの
実行はS522に戻り、前回のファクシミリデータの受
信時と同じ伝送パラメータで次頁のファクシミリデータ
が受信される。変更があればプログラムの実行はS51
5に戻り、ファクシミリ装置2と相手装置114との間
で伝送パラメータが設定し直されてファクシミリデータ
が受信される。伝送パラメータは変更があってもなくて
も、1頁毎に画像データ受信時伝送パラメータバッファ
290に格納される。
If there is no error, the decision result in S528 is N
It becomes O, and it is determined in S529 whether or not the communication has been completed. If the signal from the partner device 114 is not the EOP signal indicating the end of data transmission, the determination result in S529 is NO.
, And it is determined in S530 whether or not the transmission parameter has been changed. This determination is made based on whether or not an EOM signal indicating a change in the transmission parameter has been transmitted from the partner apparatus 114. If the EOM signal has not been changed, the program returns to S522, and the same transmission parameter as used when the previous facsimile data was received. Receives the facsimile data of the next page. If there is a change, the program is executed in S51.
5, the transmission parameters are reset between the facsimile apparatus 2 and the partner apparatus 114, and the facsimile data is received. The transmission parameters are stored in the transmission parameter buffer 290 at the time of receiving image data for each page, regardless of whether or not there is a change.

【0330】相手装置114からEOP信号が受信され
ればS529の判定結果がYESになり、S532にお
いて代行フラグ286および紙出力フラグ284がリセ
ットされるとともに回線が開放されてプログラムの実行
が終了する。
If the EOP signal is received from the partner apparatus 114, the determination result in S529 is YES, and in S532, the proxy flag 286 and the paper output flag 284 are reset, the line is opened, and the execution of the program ends.

【0331】代行フラグ286がセットされていて、F
AX側受信データバッファ254に格納されたファクシ
ミリデータおよびFAX着信開始当初はパソコン4への
データ送信が可能であったが、途中で不可能になり、F
AX側受信データバッファ254に格納されたファクシ
ミリデータは、全部のデータの受信終了後、記録され、
あるいはパソコン4へ送出される。これら記録および送
出を図40に示す代行受信データ処理プログラムに基づ
いて説明する。
When the proxy flag 286 is set and F
The facsimile data stored in the reception data buffer 254 on the AX side and data transmission to the personal computer 4 at the beginning of the FAX reception were possible, but the transmission became impossible halfway.
The facsimile data stored in the AX-side reception data buffer 254 is recorded after reception of all data is completed,
Alternatively, it is sent to the personal computer 4. These recording and transmission will be described based on the proxy reception data processing program shown in FIG.

【0332】まず、S1001においてFAX側受信デ
ータバッファ254にデータがあるか否かの判定が行わ
れ、データがなければS1001の判定結果はNOにな
ってプログラムの実行は終了する。代行受信データがあ
ればS1001の判定結果はYESになってS1002
が実行され、タイマがセットされているか、すなわち後
述するようにパソコン4へのリングコマンドの出力が行
われたか否かの判定が行われる。S1002が1回目に
実行されるときにはタイマはセットされておらず、S1
002の判定結果はNOになってS1003が実行さ
れ、フラグEがセットされているか否かの判定が行われ
る。フラグEは初期設定においてリセットされており、
S1003の判定結果はNOになってS1004が実行
され、代行受信が行われたのが紙出力モードのときであ
ったか否かが判定される。この判定は、紙出力モード時
代行受信フラグ294がセットされているか否かにより
行われる。
First, in S1001, it is determined whether or not there is data in the FAX-side reception data buffer 254. If there is no data, the determination result in S1001 is NO and the execution of the program ends. If there is proxy reception data, the determination result in S1001 becomes YES and S1002
Is executed, and it is determined whether or not the timer is set, that is, whether or not a ring command has been output to the personal computer 4 as described later. When S1002 is executed for the first time, the timer is not set and S1 is executed.
The determination result of 002 is NO, and S1003 is executed to determine whether or not the flag E is set. The flag E is reset in the initial setting,
The determination result in S1003 is NO, and S1004 is executed, and it is determined whether the proxy reception is performed in the paper output mode. This determination is made based on whether or not the paper output mode period reception flag 294 is set.

【0333】紙出力モードであればS1004の判定結
果はYESになる。紙出力モードであって代行受信デー
タがあるのは記録不可能であった場合であり、S100
5において記録可能であるか否かの判定が行われる。記
録可能でなければS1005の判定結果はNOになって
プログラムの実行は終了する。記録可能になるまでS1
001〜S1005が繰り返し実行され、記録可能にな
ればS1005の判定結果がYESになってS1006
が実行され、ファクシミリデータが記録紙17に記録さ
れる。紙出力モード時代行受信フラグ294は、記録が
全部終了したときにリセットされる。
In the paper output mode, the judgment result in S1004 is YES. In the paper output mode, substitute reception data is present when recording is not possible.
At 5, it is determined whether or not recording is possible. If recording is not possible, the determination result in S1005 is NO, and the execution of the program ends. S1 until recording becomes possible
001 to S1005 are repeatedly executed, and if recording becomes possible, the determination result of S1005 becomes YES and S1006
Is executed, and the facsimile data is recorded on the recording paper 17. The paper output mode period row reception flag 294 is reset when the recording is completed.

【0334】紙出力モードでなければS1004の判定
結果はNOになり、S1007においてタイマがセット
された後、S1008が実行され、パソコン4へリング
コマンドが出力される。次いでS1009においてリン
グコマンドを出力してから5秒経過したか否かの判定が
行われるが、この判定結果はNOであり、S1010に
おいてパソコン4へデータを送信可能であるか否かの判
定が行われる。この判定は、パソコン4から応答があっ
たか否か、すなわちATA信号が送信されて来たか否か
により行われる。
If the mode is not the paper output mode, the determination result in S1004 is NO. After the timer is set in S1007, S1008 is executed, and a ring command is output to the personal computer 4. Next, in S1009, it is determined whether five seconds have elapsed since the output of the ring command. The determination result is NO, and in S1010, it is determined whether data can be transmitted to the personal computer 4. Will be This determination is made based on whether there is a response from the personal computer 4, that is, whether the ATA signal has been transmitted.

【0335】ATA信号が得られるまで、あるいは得ら
れることなく5秒が経過するまで、S1001,S10
02,S1009,S1010が繰返し実行される。5
秒経過してもATA信号が得られない場合にはS100
9の判定結果がYESになり、S1011においてタイ
マがリセットされた後、S1012において代行受信が
行われたときの出力モードがPC・ONLYモードであ
るか否かの判定が行われる。この判定はPC・ONLY
モード時代行受信フラグ294とPC優先モード時代行
受信フラグ296とのいずれがセットされているかによ
り行われる。PC優先モードであればS1012の判定
結果はNOになり、S1013において記録可能である
否かの判定が行われ、記録可能であればS1015が実
行されて記録が行われる。このとき、ファクシミリデー
タの受信開始当初からパソコン4がファクシミリデータ
を受信不可能であって図38に示す代行受信プログラム
によってファクシミリデータが代行受信された場合も、
図37に示すPC受信プログラムによりファクシミリデ
ータをパソコン4に送信している途中で、パソコン4が
ファクシミリデータを受信不可能になって代行受信され
た場合にも、復号化画像データの記録バッファ262へ
の保存は行われておらず、S1015における記録時に
復号化される。
Until the ATA signal is obtained, or until 5 seconds elapse without obtaining the ATA signal, S1001, S10
02, S1009, and S1010 are repeatedly executed. 5
If the ATA signal is not obtained even after the lapse of seconds, S100
After the determination result of No. 9 is YES and the timer is reset in S1011, it is determined in S1012 whether the output mode when the alternate reception is performed is the PC ONLY mode. This judgment is PC ONLY
This is performed depending on which of the mode era reception flag 294 and the PC priority mode era reception flag 296 is set. If it is the PC priority mode, the determination result in S1012 is NO, and it is determined in S1013 whether or not recording is possible. If recording is possible, S1015 is executed and recording is performed. At this time, even when the personal computer 4 cannot receive the facsimile data from the beginning of the reception of the facsimile data and the facsimile data is received by the proxy reception program shown in FIG.
Even if the personal computer 4 becomes unable to receive the facsimile data and is alternately received while the facsimile data is being transmitted to the personal computer 4 by the PC reception program shown in FIG. 37, the data is transmitted to the recording buffer 262 of the decoded image data. Is not stored, and is decrypted at the time of recording in S1015.

【0336】記録不可能であればS1013の判定結果
がNOになり、S1014においてフラグEがセットさ
れてプログラムの実行は終了する。また、表示器150
にPC優先モードであって記録が不可能である旨が表示
される。次にS1003が実行されるとき、その判定結
果はYESになってS1012が実行される。記録が可
能になるまでS1001〜S1003,S1012,S
1013が繰り返し実行されるのである。
If the recording is not possible, the decision result in S1013 is NO, the flag E is set in S1014, and the execution of the program ends. In addition, the display 150
Indicates that recording is not possible in the PC priority mode. Next, when S1003 is executed, the determination result is YES, and S1012 is executed. S1001 to S1003, S1012, S until recording becomes possible
Step 1013 is repeatedly executed.

【0337】このようにPC優先モードの場合には、代
行受信終了後、1回だけパソコン4が受信可能であるか
否かを判定し、不可能であれば記録するようにされてい
る。なお、この場合、代行受信された全部の符号化画像
データが記録されたときにPC優先モード時代行受信フ
ラグ296,フラグEがリセットされる。
As described above, in the PC priority mode, it is determined whether or not the personal computer 4 can receive the data only once after the substitute reception is completed. In this case, the PC priority mode erasure reception flag 296 and the flag E are reset when all the coded image data received by proxy is recorded.

【0338】PC・ONLYモードであれば、S101
2の判定結果がYESになり、S1036においてフラ
グEがリセットされた後、プログラムの実行は終了す
る。そして、再び本代行受信データ処理プログラムが実
行されるとき、S1008の実行によりリングコマンド
がパソコン4へ出力される。代行受信データがパソコン
4に送信されるまで、5秒間隔でリングコマンドがパソ
コン4に出力されるのである。なお、パソコン4の電源
がOFFであるか否かとパソコン4のメモリの容量が一
杯であるか否かとは同じ制御信号ラインの出力状態で判
定されるため、両者を区別することはできず、電源OF
Fの場合にもリングコマンドが出力され続ける。
In the PC ONLY mode, S101
After the determination result of 2 is YES and the flag E is reset in S1036, the execution of the program ends. Then, when the proxy reception data processing program is executed again, a ring command is output to the personal computer 4 by executing S1008. The ring command is output to the personal computer 4 at intervals of 5 seconds until the substitute reception data is transmitted to the personal computer 4. Since whether or not the power of the personal computer 4 is OFF and whether or not the memory capacity of the personal computer 4 is full are determined based on the output state of the same control signal line, the two cannot be distinguished. OF
Even in the case of F, the ring command continues to be output.

【0339】リングコマンドを出力してから5秒以内に
ATA信号が得られればS1010の判定結果がYES
になり、S1016においてタイマがリセットされた
後、S1017において、パソコン4の伝送パラメータ
と、FAX側受信データバッファ254に格納されたデ
ータの伝送パラメータと一致しているか否かの判定が行
われる。
If the ATA signal is obtained within 5 seconds after outputting the ring command, the decision result in S1010 is YES
After the timer is reset in S1016, it is determined in S1017 whether the transmission parameter of the personal computer 4 matches the transmission parameter of the data stored in the FAX-side received data buffer 254.

【0340】ファクシミリデータの受信途中からパソコ
ン4が受信不可能になった場合には、データ受信のため
の伝送パラメータはパソコン4の伝送パラメータと同じ
である。そのため、S1017の判定結果はYESにな
り、S1027〜S1033の実行により、パソコン4
が受信可能であれば、FAX側受信データバッファ25
4に格納された符号化画像データがそのままパソコン4
へ送出される。送出途中でパソコン4が受信不可能にな
った場合には、S1033の判定結果がYESになり、
S1034の実行後、再び代行受信データ処理プログラ
ムが実行され、リングコマンドがパソコン4へ出力され
る。なお、S1027におけるパソコン4へのデータ送
信が可能であるか否かは、CTS制御信号ラインの出力
がファクシミリ装置2からパソコン4へのファクシミリ
データの送信を許容する状態にあるか阻止する状態にあ
るかにより行われる。
If the personal computer 4 cannot receive the facsimile data during the reception, the transmission parameters for data reception are the same as the transmission parameters of the personal computer 4. Therefore, the determination result in S1017 is YES, and the execution of S1027 to S1033 causes the personal computer 4
Can be received, the FAX-side reception data buffer 25
The encoded image data stored in the PC 4
Sent to If the personal computer 4 becomes unable to receive data during transmission, the determination result in S1033 becomes YES,
After execution of S1034, the alternate reception data processing program is executed again, and a ring command is output to the personal computer 4. Whether or not data transmission to the personal computer 4 is possible in S1027 is in a state where the output of the CTS control signal line is in a state in which transmission of facsimile data from the facsimile apparatus 2 to the personal computer 4 is permitted or blocked. It is done by or.

【0341】パソコン4の伝送パラメータと、FAX側
受信データバッファ254に格納されたデータの伝送パ
ラメータとが異なる場合には、S1017の判定結果が
NOになる。インタフェース・ボックス6が接続されて
おらず、あるいはファクシミリデータの着信開始当初か
らパソコン4が受信不可能でデータが代行受信される場
合には、伝送パラメータはファクシミリ装置2と相手装
置114との間で設定されるため、パソコン4の伝送パ
ラメータとは異なる場合がある。
If the transmission parameters of the personal computer 4 are different from the transmission parameters of the data stored in the FAX-side received data buffer 254, the determination result in S1017 is NO. If the interface box 6 is not connected, or if the personal computer 4 cannot receive the data from the beginning of the reception of facsimile data and the data is intercepted, the transmission parameters are set between the facsimile apparatus 2 and the destination apparatus 114. Since these are set, they may be different from the transmission parameters of the personal computer 4.

【0342】この場合には、S1018においてパソコ
ン4へのデータ送信が可能であると判定されればS10
19が実行され、FAX側受信データバッファ254か
らデータが1ライン分取り出されるとともに、パソコン
4が処理可能な解像度,用紙幅,符号化方式等を有する
データが作成され、S1020においてPC側送信デー
タバッファ252に書き込まれ、パソコン4へ送信され
る。例えば、相手装置114とファクシミリ装置2との
間の伝送パラメータの最高レベルが、解像度がスーパフ
ァイン,符号化方式がMMR方式であり、用紙幅がB4
のファクシミリデータが送信される場合には、解像度が
ファイン,符号化方式がMH方式,用紙幅がA4のデー
タが作成されてパソコン4へ送信される。
In this case, if it is determined in S1018 that data transmission to the personal computer 4 is possible, the process proceeds to S1018.
19 is executed, one line of data is extracted from the FAX-side reception data buffer 254, and data having a resolution, a paper width, an encoding method, and the like that can be processed by the personal computer 4 is created. 252 is transmitted to the personal computer 4. For example, the highest level of the transmission parameters between the partner apparatus 114 and the facsimile apparatus 2 is that the resolution is superfine, the encoding scheme is MMR, and the paper width is B4.
When the facsimile data is transmitted, data having a resolution of fine, an encoding method of the MH method, and a paper width of A4 is created and transmitted to the personal computer 4.

【0343】なお、ファクシミリ装置2と相手装置11
4との間で設定された伝送パラメータがパソコン4の伝
送パラメータの最高レベルより低い場合、相手装置11
4からファクシミリ装置2へ伝送されたファクシミリデ
ータのレベルはパソコン4の伝送パラメータのレベルに
含まれるため、伝送パラメータのレベルが一致するとさ
れ、S1017の判定結果がYESになって受信された
ファクシミリデータはそのままパソコン4へ送出され
る。なお、符号化画像データがパソコン4へ送出される
ときには、全部のデータが送出された後、S1035に
おいてPC・ONLYモード時代行受信フラグ294,
PC優先モード時代行受信フラグ296がリセットされ
る。
Note that the facsimile machine 2 and the partner device 11
4 is lower than the highest level of the transmission parameters of the personal computer 4,
4 is included in the level of the transmission parameter of the personal computer 4, the level of the transmission parameter is determined to be the same, and the determination result of S1017 is YES, and the received facsimile data is The data is sent to the personal computer 4 as it is. When the encoded image data is sent to the personal computer 4, after all the data has been sent, in S1035, the PC / ONLY mode period reception flag 294,
The PC priority mode period reception flag 296 is reset.

【0344】S1020においてデータがPC側送信デ
ータバッファ252に書き込まれた後、S1021にお
いて1頁のデータの終了であるか否かの判定が行われ
る。この判定は〈DLE〉,〈ETX〉データがPC側
送信データバッファ252に書き込まれたか否かにより
行われ、1頁のデータの終了でなければS1021の判
定結果はNOになり、プログラムの実行はS1018に
戻る。
After the data has been written to the PC-side transmission data buffer 252 in S1020, it is determined in S1021 whether or not the data for one page has ended. This determination is made based on whether the <DLE> and <ETX> data have been written to the PC-side transmission data buffer 252. If the data of one page has not been completed, the determination result in S1021 is NO, and the program is executed. It returns to S1018.

【0345】1頁のデータの終了であればS1021の
判定結果はYESになり、S1022においてデータ終
了か否か、すなわち全部のデータをパソコン4へ送出し
たか否かの判定が行われる。データ終了でなければS1
022の判定結果はNOになり、プログラムの実行はS
1017に戻り、次の頁の伝送パラメータがパソコン4
の伝送パラメータと一致するか否かの判定が行われ、一
致すればS1027〜S1033が実行され、一致しな
ければS1018〜S1021が実行される。そして、
全部のデータを送出すればS1022の判定結果がYE
Sになり、プログラムの実行は終了する。
If the data for one page has been completed, the determination result in S1021 is YES, and it is determined in S1022 whether or not the data has been completed, ie, whether or not all the data has been transmitted to the personal computer 4. Unless the data ends, S1
022 is NO, and the program is executed in S.
Returning to 1017, the transmission parameter of the next page is
It is determined whether or not the transmission parameter matches the transmission parameters described above. If they match, S1027 to S1033 are executed, and if they do not match, S1018 to S1021 are executed. And
If all data is transmitted, the result of determination in S1022 is YE
At S, the execution of the program ends.

【0346】データ送信中もパソコン4へのデータ送信
が可能であるか否かの判定がS1018,S1023〜
S1025において行われ、送信不可能であればS10
25の判定結果がYESになり、S1026においてタ
イマリセット等が行われた後、再びS1001が実行さ
れることとなる。
It is determined whether data transmission to the personal computer 4 is possible during data transmission in steps S1018 and S1023.
This is performed in S1025, and if transmission is impossible, S10
The determination result at 25 is YES, the timer is reset in S1026, and then S1001 is executed again.

【0347】なお、PC・ONLYモードであってパソ
コン4がデータを受信できないこと、PC優先モードで
あって記録できないことの表示器150における表示
は、前者においてはパソコン4によるデータの受信が可
能になったとき、後者においては記録装置29による記
録が可能になったときにそれぞれ消される。
It should be noted that the display on the display 150 that the PC 4 cannot receive data in the PC ONLY mode and that the PC 4 cannot receive data in the PC priority mode allows the PC 4 to receive data in the former. In the latter case, they are erased when recording by the recording device 29 becomes possible.

【0348】また、代行受信によるFAX側受信データ
バッファ254へのファクシミリデータの格納終了後に
出力モードが変更された場合には、変更された出力モー
ドに従って代行受信されたファクシミリデータが出力さ
れる。出力モードが変更されれば、紙出力モード時代行
受信フラグ292,PC・ONLYモード時代行受信フ
ラグ294,PC優先モード時代行受信フラグ296
は、変更されたモードに従ってセット,リセットされ、
S1004,S1012における出力モードの判定は変
更された出力モードに従って行われることとなる。
If the output mode is changed after the facsimile data is stored in the facsimile-side reception data buffer 254 by proxy reception, the facsimile data received by proxy in accordance with the changed output mode is output. If the output mode is changed, the paper output mode era reception flag 292, the PC ONLY mode era reception flag 294, and the PC priority mode era reception flag 296
Are set and reset according to the changed mode,
The determination of the output mode in S1004 and S1012 is performed according to the changed output mode.

【0349】例えば、PC・ONLYモードから紙出力
モードに変更されれば、S1004の判定結果がYES
になり、ファクシミリデータが記録される。それによ
り、例えば、パソコン4が故障してパソコン4にファク
シミリデータを送信することができなくなった場合にフ
ァクシミリデータを記録装置29により記録することが
できる。
For example, if the mode is changed from the PC ONLY mode to the paper output mode, the determination result in S1004 is YES.
And facsimile data is recorded. Thus, for example, when the personal computer 4 breaks down and the facsimile data cannot be transmitted to the personal computer 4, the facsimile data can be recorded by the recording device 29.

【0350】また、紙出力モードからPC・ONLYモ
ードに変更されれば、S1004の判定結果がNO,S
1012の判定結果がYESになり、パソコン4がファ
クシミリデータを受信可能になるまでリングコマンドが
発せられる。
If the mode is changed from the paper output mode to the PC ONLY mode, the determination result in S1004 is NO,
A determination result of 1012 becomes YES, and a ring command is issued until the personal computer 4 can receive facsimile data.

【0351】さらに、PC優先モードからPC・ONL
Yモードに変更されればS1012の判定結果がYES
になり、リングコマンドが発せられ続ける。PC優先モ
ードであって1回目のリングコマンドの出力時にパソコ
ン4が受信不可能であり、かつ、記録も不可能であった
場合、記録が可能になる状態を待っているときにPC・
ONLYモードに変更されれば、S1012の判定結果
がYESになってS1036においてフラグEがリセッ
トされ、S1003の判定結果がNOになって再びリン
グコマンドがパソコン4へ出力され、パソコン4へのフ
ァクシミリデータの送信が可能になるのである。
Further, the PC / ONL mode is switched from the PC priority mode.
If the mode is changed to the Y mode, the determination result of S1012 is YES
, And the ring command continues to be issued. In the PC priority mode, when the personal computer 4 cannot receive and cannot record at the time of outputting the first ring command, if the PC 4 is waiting for a state in which recording becomes possible,
If the mode is changed to the ONLY mode, the determination result in S1012 becomes YES, the flag E is reset in S1036, the determination result in S1003 becomes NO, and the ring command is output to the personal computer 4 again, and the facsimile data to the personal computer 4 is output. Can be transmitted.

【0352】次に、ファクシミリ装置2における原稿の
読取りおよび画像データの送出について説明する。
Next, reading of an original and transmission of image data in the facsimile apparatus 2 will be described.

【0353】ただし、ファクシミリ装置2において原稿
が読み取られ、相手装置114へ画像データが送出され
る場合の手順はよく知られたものであり、かつ、本願発
明を理解する上で必要なものでもないので説明を省略
し、前述のように、パソコン4において読取機能が選択
された場合についてのみ説明する。
However, the procedure in the case where a document is read by facsimile apparatus 2 and image data is sent to partner apparatus 114 is well known and is not necessary for understanding the present invention. Therefore, the description is omitted, and only the case where the reading function is selected in the personal computer 4 as described above will be described.

【0354】ファクシミリ装置2がアイドル状態にある
ときに、パソコン4において読取が指示されれば、S2
050における判定がYESとなり、S2100以降が
実行される。
If reading is instructed by the personal computer 4 when the facsimile apparatus 2 is in the idle state, the process proceeds to S2.
The determination at 050 is YES, and S2100 and subsequent steps are executed.

【0355】この場合のスシーケンスチャートを図41
に示す。この手順は前述の受信の場合とほぼ同じである
ため詳細な説明を省略し、異なる部分のみについて説明
する。
The sequence chart in this case is shown in FIG.
Shown in Since this procedure is almost the same as the above-mentioned reception, detailed description is omitted, and only different parts will be described.

【0356】フェーズBにおいて、LINE OPEN
と記載されているのは、パソコン4において読取が指示
された場合にはファクシミリ装置2と相手装置116と
の間の外部回線224が開放されることを表している。
In Phase B, LINE OPEN
Means that when reading is instructed in the personal computer 4, the external line 224 between the facsimile apparatus 2 and the partner apparatus 116 is opened.

【0357】また、フェーズCにおいて、ファクシミリ
装置2で画像読取装置42による原稿90の読取りが行
われている間は、RTS制御信号がパソコン4からのP
Cデータの送出を阻止する状態に設定され、送出が開始
されると、RTS制御信号がPCデータの送出を許容す
る状態に設定される。
In the phase C, while the facsimile machine 2 is reading the original 90 by the image reading device 42, the RTS control signal is
When the transmission of the C data is set to a state where the transmission of the C data is inhibited and the transmission is started, the RTS control signal is set to a state where the transmission of the PC data is permitted.

【0358】さらに、読取りの途中に原稿90のジャム
等の装置エラーが生じた場合には、そのことを表すエラ
ーコマンド(+BRNG:“DOCUMENT JA
M”)がパソコン4に出力されるが、エラーの原因が取
り除かれれば、読取りが再開される。
Further, if a device error such as a jam of the document 90 occurs during reading, an error command (+ BRNG: “DOCUMENT JA”) indicating that error occurs.
M ") is output to the personal computer 4, but if the cause of the error is eliminated, reading is resumed.

【0359】本実施例においては、一連の原稿のうちの
一部ずつの読取りと送出とが交互に行われるようになっ
ている。後述するように、一連の原稿の読取,送出の途
中において、ページエンドが検出されること、PC側送
信データバッファ252の残存記憶容量が設定量以下に
なること、連続読取時間が設定時間を越えることの3つ
の条件のうちの1つが満たされた場合に読取りが中断さ
れて画像データの送出が開始される。そして、それまで
に読み取られた部分の符号化画像データ(以下、読取画
像データと区別するため送出符号化画像データと称す
る)のパソコン4への送出が終了すれば、再び、画像読
取装置42による読取りが開始される。以下、一連の原
稿全体に対応する画像データのパソコン4への送出が終
了するまで、読取り・送出が時分割的に繰返し実行され
るのである。
In this embodiment, reading and sending of a part of a series of originals are alternately performed. As described later, a page end is detected during the reading and sending of a series of originals, the remaining storage capacity of the PC-side transmission data buffer 252 becomes equal to or less than a set amount, and the continuous reading time exceeds the set time. When one of the three conditions is satisfied, the reading is interrupted and the transmission of the image data is started. When the transmission of the coded image data of the portion read up to that time (hereinafter referred to as “transmitted coded image data to distinguish it from the read image data”) to the personal computer 4 is completed, the image reading device 42 again performs the operation. Reading is started. Hereinafter, reading and sending are repeatedly executed in a time-sharing manner until sending of the image data corresponding to the entire series of originals to the personal computer 4 is completed.

【0360】また、画像読取装置42による連続読取時
間が設定時間を越えたことが原因で読取りが中断された
場合には、送出と並行して符号化が行われる。
If the reading is interrupted due to the continuous reading time of the image reading device 42 exceeding the set time, the encoding is performed in parallel with the transmission.

【0361】前記S2100においてはフェーズBにお
ける処理が行われ、S2200において、画像読取装置
42の初期化が行われる。原稿90の読取り開始に際し
て必要な処理、例えば、原稿90の読取位置までの送り
が行われるのである。
In S2100, the process in the phase B is performed, and in S2200, the image reading device 42 is initialized. Processing required to start reading the document 90, for example, feeding the document 90 to the reading position, is performed.

【0362】その場合に、送るべき原稿90がなく、原
稿台94に原稿90がセットされていない場合には、S
2300における判定がNOとなり、S2310におい
て、パソコン4に原稿未セットを表すエラーコマンド
(+BRNG:“NO DOCUMENT“)が出力さ
れ、S2320において、前述のS531におけるエラ
ー処理と同様のエラー処理に加え、画像読取装置42の
終了処理等が行われる。S531におけるエラー処理,
画像読取装置42の終了処理等を含んだ処理をフェーズ
Bにおけるエラー処理と称する。
In this case, if there is no original 90 to be sent and the original 90 is not set on the original platen 94,
If the determination in step 2300 is NO, an error command (+ BRNG: “NO DOCUMENT”) indicating that the original has not been set is output to the personal computer 4 in step S2310. End processing of the reading device 42 and the like are performed. Error processing in S531,
The processing including the end processing of the image reading device 42 and the like is referred to as error processing in phase B.

【0363】送るべき原稿90があれば、S2300に
おける判定がYESとなり、S2400において通信エ
ラーが発生したか否かが判定される。通信エラーが発生
し、S2400の判定結果がYESとなった場合には、
フェーズBにおけるエラー処理が行われる。
If there is a document 90 to be sent, the determination in S2300 is YES, and in S2400 it is determined whether a communication error has occurred. If a communication error occurs and the determination result in S2400 is YES,
Error processing in phase B is performed.

【0364】本実施例においては、通信エラーの発生の
有無,キャンセルフラグ274のセット状態,ストップ
キー164の押下等が予め決められたステップのみにお
いて検出される。ストップキー164の押下が検出され
た場合にはS2810においてブザーが作動させられた
上で、その他の場合には直接S2320のエラー処理が
行われる。フェーズB,D,Eにおいてエラーの発生等
が検出された場合には前述のフェーズBにおけるエラー
処理と同様の処理が行われるのであるが、フェーズCに
おいてエラー等が検出された場合には、後述するフェー
ズCにおけるエラー処理が行われる。
In this embodiment, the presence / absence of the occurrence of a communication error, the set state of the cancel flag 274, the pressing of the stop key 164, and the like are detected only at predetermined steps. If the press of the stop key 164 is detected, the buzzer is activated in S2810, and in other cases, the error processing of S2320 is directly performed. When the occurrence of an error or the like is detected in the phases B, D, and E, the same processing as the above-described error processing in the phase B is performed. However, when the error or the like is detected in the phase C, it will be described later. Error processing in phase C is performed.

【0365】通信エラーは、前述のように、CTS制御
信号がファクシミリ装置2からのデータの送信を阻止す
る状態にあることが検出された場合、ファクシミリ装置
2とインターフェイス・ボックス6との間のケーブルが
切断されていることが検出された場合等に発生したとさ
れる。
As described above, the communication error indicates that the cable between the facsimile machine 2 and the interface box 6 is detected when it is detected that the CTS control signal is in a state of preventing data transmission from the facsimile machine 2. Is determined to have occurred, for example, when disconnection is detected.

【0366】また、ストップキー164の押下は、図示
しないストップキー押下フラグに基づいて検出される。
ストップキー164が押下されると、操作パネル12が
備えた図示しない操作パネル制御装置によってストップ
キー押下フラグがセットされ、そのフラグの状態を表す
信号が制御装置40に供給されるのである。
Pressing of the stop key 164 is detected based on a stop key pressing flag (not shown).
When the stop key 164 is depressed, a stop key depression flag is set by an operation panel control device (not shown) provided in the operation panel 12, and a signal indicating the state of the flag is supplied to the control device 40.

【0367】S2500において、割込ベクトルが設定
される。割込ベクトルによって指定されたアドレスに
は、CPU200の47番端子であるクロック入出力端
子の切換え,シリアル/パラレル変換回路240に供給
されるクロックの周波数の設定,データ送信割込禁止フ
ラグ244の切換え等を指示する送信設定プログラムが
格納されている。送信設定プログラムは、割込信号が発
せられると実行され、割込信号は上述の3つの条件のう
ちのいずれか1つの条件が満たされた場合に発せられ
る。
In S2500, an interrupt vector is set. At the address specified by the interrupt vector, the switching of the clock input / output terminal, which is the 47th terminal of the CPU 200, the setting of the frequency of the clock supplied to the serial / parallel conversion circuit 240, and the switching of the data transmission interrupt prohibition flag 244 And the like, and a transmission setting program for instructing the above are stored. The transmission setting program is executed when an interrupt signal is issued, and the interrupt signal is issued when any one of the above three conditions is satisfied.

【0368】上記クロック入出力端子の切換えはマルチ
プレクサによって行われ、マルチプレクサによって、D
MAC208からシリアル/パラレル変換回路240に
切り換えられる。シリアル/パラレル変換回路240に
供給されるクロックの周波数によって伝送速度、すなわ
ち画像データの送出速度が決まる。また、データ送信割
込禁止フラグ244が送信を禁止する状態から送信を許
容する状態に切り換えられるが、それによって後述する
FAXデータ読取時画像データ送出P/S割込処理プロ
グラムの実行が許容されることになる。
Switching of the clock input / output terminals is performed by a multiplexer.
The switching from the MAC 208 to the serial / parallel conversion circuit 240 is performed. The transmission speed, that is, the transmission speed of the image data, is determined by the frequency of the clock supplied to the serial / parallel conversion circuit 240. Also, the data transmission interrupt prohibition flag 244 is switched from a state in which transmission is prohibited to a state in which transmission is permitted, thereby allowing execution of a FAX data reading image data transmission P / S interrupt processing program described later. Will be.

【0369】割込ベクトルが設定された後、S2600
ないし2800において通信エラーの発生の有無等の検
出が行われるが、通信エラーの発生等が検出されず、こ
れらのステップの判定がすべてNOである場合には、S
2900において、フェーズCにおける1頁読取・送出
処理が行われる。その後、S3000においてストップ
キー164が押下されたか否か、S3100において通
信エラーや装置エラーが発生したか否か等の判定が行わ
れる。
After the interrupt vector has been set, S2600
In steps 2800 to 2800, the presence or absence of a communication error is detected. However, if the occurrence of a communication error or the like is not detected and all of the determinations in these steps are NO, S
In 2900, a one-page reading / sending process in phase C is performed. Thereafter, it is determined whether the stop key 164 has been pressed in S3000 and whether a communication error or a device error has occurred in S3100.

【0370】フェーズCにおいて通信エラーの発生が検
出された場合やストップキー164の押下が検出された
場合には、S3111において、通常のエラー処理に加
え、画像読取装置42の終了処理が行われたり、RAM
202のPC側送信データバッファ252や読取画像デ
ータバッファ258に格納されたデータが消去される等
の画像読取終了のための処理が行われる。この読取終了
処理を含んだエラー処理をフェーズCにおけるエラー処
理と称する。
If the occurrence of a communication error or the pressing of the stop key 164 is detected in phase C, in step S3111, termination processing of the image reading device 42 is performed in addition to the normal error processing. , RAM
Processing for terminating image reading, such as erasing data stored in the PC-side transmission data buffer 252 and the read image data buffer 258 of 202, is performed. The error processing including the reading end processing is referred to as error processing in phase C.

【0371】S3000,3100の判定結果がNOの
場合には、S3200においてフェーズDにおける処理
が行われる。原稿1頁の読取り・送出が終了させられる
のである。
If the determination result in S3000 or 3100 is NO, the process in phase D is performed in S3200. The reading / sending of one page of the manuscript is terminated.

【0372】フェーズDにおける処理の終了後、S33
00ないしS3500において、通信エラーが発生した
か否か等が検出される。通信エラーの発生等が検出され
ず、すべてのステップにおける判定がNOの場合には、
S3600において、原稿台94に次に読み取るべき原
稿90がセットされているか否かが判定される。次の原
稿90がセットされている場合には、判定結果がYES
となり、再びS2500ないしS3600が実行され
る。これらの実行は、原稿台センサ98によって次の原
稿90がないことが検出されるまで繰り返し行われるの
である。
After the end of the processing in the phase D, S33
In 00 to S3500, it is detected whether or not a communication error has occurred. When the occurrence of a communication error or the like is not detected and the determinations in all the steps are NO,
In S3600, it is determined whether the original 90 to be read next is set on the original platen 94. If the next original 90 is set, the determination result is YES
And S2500 to S3600 are executed again. These operations are repeated until the document table sensor 98 detects that the next document 90 does not exist.

【0373】また、S3300ないしS3600におい
て、通信エラーの発生等が検出された場合には、フェー
ズBにおけるエラー処理と同様のエラー処理が行われ
る。
In S3300 to S3600, when the occurrence of a communication error or the like is detected, the same error processing as that in the phase B is performed.

【0374】原稿台センサ98によって次に読み取るべ
き原稿90がないことが検出された場合には、S360
0における判定結果がNOとなり、S3700ないしS
3900においてフェーズEの処理が行われ、画像読取
装置42における原稿90の読取りを終了するための処
理等が行われる。本実施例においては、一連の原稿の完
結は、原稿台94に読み取るべき原稿90がセットされ
ていない状態になったことによって検出される。
If the document table sensor 98 detects that there is no document 90 to be read next, the process proceeds to step S360.
The determination result at 0 is NO, and S3700 through S3700
In 3900, the process of the phase E is performed, and the process for terminating the reading of the document 90 by the image reading device 42 is performed. In the present embodiment, completion of a series of originals is detected when the original 90 to be read is not set on the original platen 94.

【0375】次に、S2900における読取・送出処理
を図43の1頁読取・送出プログラムのフローチャート
に基づいて説明する。
Next, the reading / sending process in S2900 will be described with reference to the flowchart of the one-page reading / sending program in FIG.

【0376】S2910において、原稿90を1頁読取
るための初期設定が行われる。具体的には、画像読取装
置42における原稿送り装置96の送り量が解像度に応
じて設定されたり、読取画像データバッファ258の初
期化が行われたりするのである。
In S2910, an initial setting for reading one page of the document 90 is performed. Specifically, the feed amount of the document feeder 96 in the image reading device 42 is set according to the resolution, or the read image data buffer 258 is initialized.

【0377】本実施例においては、画像読取装置42に
おける解像度等読取りが行われるための条件の設定が、
1頁の原稿の読取り毎に行われるようになっている。そ
のため、頁単位で、読取りのための条件を設定すること
が可能である。しかし、このように読取りのための条件
を1頁毎に設定する必要は必ずしもなく、一連の完結し
た原稿の読取り開始時に設定されるだけにしてもよい。
その場合には、フェーズDにおける処理の終了後フェー
ズCにおける処理が行われるようにしてもよい。
In this embodiment, the conditions for reading the resolution and the like in the image reading device 42 are set.
It is performed every time a document of one page is read. Therefore, it is possible to set reading conditions on a page-by-page basis. However, it is not always necessary to set the reading conditions for each page as described above, and may be set only at the start of reading a series of completed documents.
In that case, the processing in phase C may be performed after the processing in phase D ends.

【0378】S2911において、読取りが開始され
る。原稿送り装置96の駆動が開始される等画像読取装
置42による読取りが開始される一方、2値化データを
入力するポートが、I/Oポート210の読取画像デー
タ入力のための読取画像データの入力のためのゲートア
レーに設定される。また、DMAC208の約10μs
毎の転送要求信号に対して転送要求許可信号が発せられ
る。
At S2911, reading is started. The reading of the image reading device 42 is started, for example, when the driving of the document feeder 96 is started, and the port for inputting the binarized data is connected to the I / O port 210 for reading image data for reading image data input. Set to gate array for input. Also, about 10 μs of DMAC 208
A transfer request permission signal is issued for each transfer request signal.

【0379】その結果、CCD出力電圧がDMAC20
8によって供給されるしきい値に基づいて2値化され、
その2値化されたデータとしての読取画像データが上述
のI/Oポート210の決められたゲートアレーを経
て、DMAC208の指令によって読取画像データ記憶
バッファ258に格納されるのである。
As a result, the CCD output voltage becomes
8, binarized based on the threshold value provided by
The read image data as the binarized data is stored in the read image data storage buffer 258 in response to a command from the DMAC 208 through the above-described gate array of the I / O port 210.

【0380】S2912において、タイムアップフラグ
298がリセットされるとともにタイマがスタートされ
る。本実施例においては、タイマが60秒にセットされ
る。パソコン4において読取機能が選択,指示された場
合には、他の機能が選択された場合よりタイムアウト時
間が長く設定されるのである。なお、上記セット時間6
0秒は、タイムアウト時間である90秒より短い時間で
ある。
In S2912, the time-up flag 298 is reset and the timer is started. In this embodiment, the timer is set to 60 seconds. When the reading function is selected and instructed on the personal computer 4, the timeout period is set longer than when other functions are selected. The above set time 6
0 second is a time shorter than 90 seconds which is a timeout time.

【0381】S2913において、ROM204に記憶
された符号化画像データ処理プログラムに基づいて符号
化が行われる。画像読取装置42による読取り,2値化
等がハード的に行われるため、これらの実行と並行して
読取画像データの符号化が行われるのである。
In S2913, encoding is performed based on the encoded image data processing program stored in the ROM 204. Since reading by the image reading device 42, binarization, and the like are performed in hardware, the reading image data is encoded in parallel with the execution.

【0382】また、画像読取装置42による読取りと符
号化とが並行して行われる間に、上述の3つの条件のう
ちの1つの条件が満たされれば、S2914において、
画像読取装置42による読取りが中断させられる。I/
Oポート210の設定が読取画像データを入力するため
のゲートアレーから画像データを送出するためのポート
に切り換えられるとともに、原稿送り装置96の駆動が
停止させられる。原稿90の送りの停止を伴う読取りの
中断が行われるのである。
If one of the above three conditions is satisfied while the reading and encoding by the image reading device 42 are performed in parallel, in S2914,
Reading by the image reading device 42 is interrupted. I /
The setting of the O port 210 is switched from the gate array for inputting the read image data to the port for transmitting image data, and the driving of the document feeder 96 is stopped. The reading is interrupted with the stop of the feeding of the original 90.

【0383】本実施例においては、画像読取装置42に
よる読取りが、上述の3つの条件の1つが満たされた場
合に中断されるのであるが、条件が満たされれば直ち
に、すなわち送信に切り換えるための割込信号が発せら
れる前に読取りが中断される。換言すれば、読取りが中
断された後、割込みが許可される状態とされるのであ
る。
In the present embodiment, the reading by the image reading device 42 is interrupted when one of the above three conditions is satisfied. However, as soon as the condition is satisfied, that is, for switching to transmission. The read is interrupted before the interrupt signal is issued. In other words, after the reading is interrupted, the interrupt is enabled.

【0384】S2915,2916において、ストップ
キー164が押下されたか否か等が検出される。ストッ
プキー164が押下された場合には、S2918におい
て割込処理が禁止された後、図42のS3000へ戻さ
れる。この場合にはS3000における判定結果もYE
Sとなり、S3111においてフェーズCにおけるエラ
ー処理が行われる。装置エラー等が検出された場合にも
同様にS3000に戻され、S3100の判定結果がY
ESとなって、S3110,3111においてエラーコ
マンドが発せられるとともにフェーズCにおけるエラー
処理が行われる。
In S2915 and S2916, it is detected whether or not the stop key 164 has been pressed. If the stop key 164 has been pressed, the process returns to S3000 in FIG. 42 after interrupt processing is prohibited in S2918. In this case, the determination result in S3000 is also YE
At S, error processing in phase C is performed at S3111. When an apparatus error or the like is detected, the process is similarly returned to S3000, and the determination result of S3100 is Y
As an ES, an error command is issued in S3110 and S3111, and error processing in phase C is performed.

【0385】また、S2915,2916における判定
がNOの場合には、S2917において、割込信号に基
づいて送出が開始される。シリアル/パラレル変換回路
240にクロックが供給され、データ送信割込禁止フラ
グ244がデータの送信を許容する状態に切り換えられ
る。すなわち、パソコン4において読取が指示された場
合には、データ送信割込禁止フラグ244は、割込信号
が発せられたときデータの送信を禁止する状態から送信
を許容する状態に切り換えられるのである。
If the determination in S2915 or S2916 is NO, transmission is started in S2917 based on the interrupt signal. A clock is supplied to the serial / parallel conversion circuit 240, and the data transmission interrupt prohibition flag 244 is switched to a state in which data transmission is permitted. That is, when reading is instructed in the personal computer 4, the data transmission interrupt prohibition flag 244 is switched from a state in which data transmission is prohibited when an interrupt signal is issued to a state in which transmission is permitted.

【0386】その結果、図29のFAXデータ受信時画
像データ送出P/S割込処理プログラムの実行が許容さ
れ、S426においてP/Sデータ送信バッファ246
に送出符号化画像データが供給されれば、シリアル変換
されてパソコン4に送出される。
As a result, the execution of the image data transmission P / S interrupt processing program at the time of FAX data reception in FIG. 29 is permitted, and the P / S data transmission buffer 246 is executed in S426.
Is supplied to the personal computer 4 and transmitted to the personal computer 4.

【0387】なお、この図29のプログラムの実行時に
S424において使用される<DLE>データは、ペー
ジエンドが検出された場合に、後述するS2959にお
いてPC側送信データバッファ252に格納されるよう
になっている。
The <DLE> data used in S424 when the program of FIG. 29 is executed is stored in the PC-side transmission data buffer 252 in S2959 described later when a page end is detected. ing.

【0388】送出すべき送出符号化画像データの送出が
終了するまで、1バイト送出毎にストップキー164が
押下されたか否かが検出される。前述のように、1バイ
トのパラレルデータである送出符号化画像データをシリ
アルデータに変換する場合には、パラレル/シリアル変
換回路240に1msの間クロックが供給される。
[0388] Until the transmission of the transmission-encoded image data to be transmitted is completed, it is detected whether or not the stop key 164 is pressed every transmission of one byte. As described above, when converting the transmission coded image data, which is 1-byte parallel data, to serial data, a clock is supplied to the parallel / serial conversion circuit 240 for 1 ms.

【0389】送出中にストップキー164が押下された
状態にあることが検出された場合には、S2919にお
ける判定がYESとなり、上述のように、割込処理が禁
止され、エラー処理が行われる。また、符号化画像デー
タの送出中には、図示しないプログラムの実行によりC
TS制御信号がファクシミリ装置2からの送信を阻止す
る状態か否かの検出が行われ、阻止する状態が設定時間
以上継続していることが検出された場合には、割込みに
より前述と同様のフェーズCにおけるエラー処理が行わ
れる。
If it is detected that the stop key 164 has been pressed during transmission, the determination in S2919 becomes YES, the interrupt processing is prohibited, and error processing is performed as described above. During the transmission of the encoded image data, C
It is detected whether or not the TS control signal is in a state in which transmission from the facsimile apparatus 2 is blocked. If it is detected that the blocking state continues for a set time or longer, the same phase as described above is generated by interruption. Error processing in C is performed.

【0390】送出すべき送出符号化画像データがすべて
送出されたか否かの判定は、PC側送信データバッファ
252の、送出符号化画像データが最初に格納されたア
ドレス値に基づいて検出される。PC側送信データバッ
ファ252のアドレスを示すポインタによって、最初に
送出符号化画像データが格納されたアドレス値が示され
た場合に、送出の終了が検出されるのである。
The determination as to whether or not all the transmission encoded image data to be transmitted has been transmitted is detected based on the address value in the PC side transmission data buffer 252 where the transmission encoded image data is stored first. When the pointer indicating the address of the PC-side transmission data buffer 252 first indicates the address value at which the transmission encoded image data is stored, the end of transmission is detected.

【0391】送出終了後、S2921において、ページ
エンドか否かが判定される。画像読取装置42の中断の
原因がページエンドであるか否かが判定されるのであ
る。ページエンドによる場合には判定がYESとなり、
S2922において画像読取装置42の1頁原稿読取の
ための終了処理等が行われ、メインルーチンのS300
0に戻される。これによって原稿1頁の読取り・送出が
終了する。
[0391] After the end of the transmission, in S2921, it is determined whether or not the page is the end. It is determined whether or not the cause of the interruption of the image reading device 42 is a page end. In the case of page end, the determination is YES,
In step S2922, end processing for reading the one-page document by the image reading apparatus 42 is performed, and the main routine proceeds to step S300.
Returned to 0. As a result, the reading / sending of one page of the document is completed.

【0392】また、他の原因で読取りが中断された場合
には、S2921における判定結果がNOとなり、再び
S2911以降が実行され、原稿の読取りが続行され
る。S2911ないし2921の実行は、ページエンド
が検出されるまで繰り返される。
If the reading is interrupted for another reason, the determination result in S2921 is NO, and the steps from S2911 are executed again to continue reading the original. The execution of steps S2911 to 2921 is repeated until a page end is detected.

【0393】次に、図43のS2913における符号化
処理について図44のフローチャートを参照しつつ説明
する。
Next, the encoding process in S2913 of FIG. 43 will be described with reference to the flowchart of FIG.

【0394】S2950において、読取画像データ記憶
バッファ258に読取画像データが1ライン分記憶され
ているか否かが判定される。1ライン分の読取画像デー
タが記憶されている場合にはYESと判定され、S29
51,2952において、1ライン分の読取画像データ
が、1ラインバッファである符号化用バッファ271に
供給され、送出符号化画像データ処理プログラムに基づ
いて送出符号化画像データが作成されて、PC側送信デ
ータバッファ252に格納される。また、1ライン画像
データの終りを表す<EOL>データも格納される。
In S2950, it is determined whether or not one line of the read image data is stored in the read image data storage buffer 258. If the read image data for one line is stored, YES is determined, and S29 is performed.
In steps 51 and 2952, the read image data for one line is supplied to an encoding buffer 271 which is a one-line buffer, and transmission encoded image data is created based on a transmission encoded image data processing program. The data is stored in the transmission data buffer 252. Also, <EOL> data representing the end of one-line image data is stored.

【0395】一方、1ライン分の読取画像データが記憶
されていない場合には、S2951,2952における
符号化は行われず、読取りのみが行われることになる。
しかし、読取り速度は非常に早いため、画像読取装置4
2による読取りが中断されていない場合には、1ライン
分の読取画像データが読取画像データ記憶バッファ25
8に記憶されているのが普通である。
On the other hand, if the read image data for one line is not stored, the encoding in S2951 and S2952 is not performed, and only the reading is performed.
However, since the reading speed is very fast, the image reading device 4
2 is not interrupted, the read image data for one line is stored in the read image data storage buffer 25.
8 is usually stored.

【0396】S2953において、パソコン4に送出す
べき送出符号化画像データがすべて送出されたか否かが
判定される。最初にこのステップが実行される場合に
は、送出が開始されていないため、判定がNOとなり、
S2954ないし2956において、ページエンドか否
か、ストップキー164が押下されたか否か、PC側送
信データバッファ252の残存記憶容量が設定量以下か
否かが判定される。
In S2953, it is determined whether or not all the transmission coded image data to be transmitted to the personal computer 4 has been transmitted. When this step is performed first, the determination is NO because the transmission has not been started, and
In S2954 through S2956, it is determined whether or not the page end, whether or not the stop key 164 has been pressed, and whether or not the remaining storage capacity of the PC-side transmission data buffer 252 is equal to or less than the set amount.

【0397】PC側送信データバッファ252の残存記
憶容量は、厳密にいえば、RAM202の送出符号化画
像データおよび制御データのための専用バッファ(PC
側送信データバッファ252)の残存記憶容量と、共用
バッファのそれとの両方合わせた残存記憶容量を示す
が、以下、断りがないかぎり、これら両方を合わせた記
憶バッファおよび残存記憶容量を、単に、PC側送信デ
ータバッファ252およびPC側送信データバッファ2
52の残存記憶容量と称することにする。また、本実施
例においては、上記残存記憶容量の設定量は1クラスタ
(4Kバイト)とされている。
Strictly speaking, the remaining storage capacity of the PC side transmission data buffer 252 is determined by a dedicated buffer (PC
The remaining storage capacity of both the remaining storage capacity of the side transmission data buffer 252) and that of the shared buffer is shown. Hereinafter, unless otherwise noted, the storage buffer and the remaining storage capacity combining both of them are simply referred to as PC. -Side transmission data buffer 252 and PC-side transmission data buffer 2
It will be referred to as 52 remaining storage capacities. In the present embodiment, the set amount of the remaining storage capacity is one cluster (4 Kbytes).

【0398】ページエンドが検出されるのは、1頁の原
稿90に記載された情報がすべて画像読取装置42によ
って読み取られ、2値化され、その2値化された読取画
像データが符号化され、PC側送信データバッファ25
2に格納されたときである。本実施例においては、原稿
センサ99によって原稿90の終端が検出され、かつ、
読取画像データバッファ258に読取画像データが記憶
されていないことが検出された場合にページエンドであ
るとされる。すなわち、ページエンドは、一連の原稿の
区切りの一種である原稿1頁の読取りに関連する処理が
終了した状態なのである。
When the page end is detected, all the information written on the one-page original 90 is read by the image reading device 42, binarized, and the binarized read image data is encoded. , PC side transmission data buffer 25
2 is stored. In this embodiment, the end of the original 90 is detected by the original sensor 99, and
When it is detected that the read image data is not stored in the read image data buffer 258, the page end is determined. That is, the page end is a state in which processing related to reading one page of a document, which is a kind of a series of document breaks, has been completed.

【0399】ストップキー164は、使用者が原稿90
の読取りの中断を指示する場合に押下する。そのため、
ストップキー164が押下されたことが検出された場合
には、読取りが中断されるのである。
[0399] The stop key 164 is
Press to instruct the interruption of reading. for that reason,
If it is detected that the stop key 164 has been pressed, the reading is interrupted.

【0400】PC側送信データバッファ252がメモリ
フルになると、それ以後は符号化された送出符号化画像
データが格納されない。それを回避するために、PC側
送信データバッファ252に設定量以上の残存記憶容量
があるうちに読取りを中断する必要がある。
When the PC-side transmission data buffer 252 becomes full, no encoded transmission coded image data is stored thereafter. In order to avoid this, it is necessary to interrupt reading while the PC-side transmission data buffer 252 has a remaining storage capacity equal to or larger than the set amount.

【0401】原稿90のサイズが、A4,B4等のレギ
ュラサイズである場合には、原稿1頁分が読み取られて
も、通常はPC側送信データバッファ252はメモリフ
ルにならない。しかし、原稿90のサイズが長尺物であ
る場合には、メモリフルになる可能性がある。
When the size of the document 90 is a regular size such as A4 or B4, the PC-side transmission data buffer 252 does not normally become full even if one page of the document is read. However, when the size of the document 90 is long, the memory may be full.

【0402】また、原稿90がレギュラサイズであって
も、画像読取装置42において中間調が設定されている
場合や原稿90の画像が特に細かい場合には、PC側送
信データバッファ252がメモリフルになる可能性があ
る。これら中間調で読み取られる場合や原稿90の画像
が細かい場合には、ドットデータが頻繁に変化するた
め、読取画像データが符号化されても、データ数が殆ど
少なくならなかったり、逆に多くなったりするからであ
る。
Even if the original 90 is of a regular size, the PC-side transmission data buffer 252 becomes full when the halftone is set in the image reading device 42 or when the image of the original 90 is particularly fine. Could be. When the image is read in these halftones or when the image of the original 90 is fine, the dot data changes frequently. Therefore, even if the read image data is encoded, the number of data hardly decreases or conversely increases. Because

【0403】一方、前述のRAM202の共用バッファ
は、代行受信時等には、受信画像データ等送出符号化画
像データ以外のデータを記憶するために使用される。そ
の場合には、結果的に、送出符号化画像データを記憶す
るために使用できる共用バッファの領域が狭められ、画
像読取装置42によって読み取られる情報が少なくても
PC側送信データバッファ252がメモリフルになる可
能性がある。
On the other hand, the above-mentioned shared buffer of the RAM 202 is used for storing data other than the transmission coded image data such as the received image data at the time of proxy reception or the like. In that case, as a result, the area of the shared buffer that can be used to store the transmission encoded image data is reduced, and even if the information read by the image reading device 42 is small, the PC side transmission data buffer 252 becomes full. Could be

【0404】前記S2954ないしS2956のステッ
プが最初に行われる場合には、ストップキー164が押
下されない限り判定はNOであり、S2957において
タイムアップフラグ298がセット状態にあるか否かが
判定され、S2958においてタイムアップしたか否か
が判定される。最初にS2957,2958のステップ
が実行される場合には、判定は共にNOであるため、実
行がS2951に戻される。S2950に戻されないの
は、ページエンドでなく、かつ、読取りが中断されてい
ないため、前述のように、読取画像データバッファ25
8には1ライン分の読取画像データが記憶されていると
考えられるからである。
When the steps of S2954 to S2956 are performed first, the determination is NO unless the stop key 164 is pressed, and it is determined in S2957 whether or not the time-up flag 298 is in the set state. It is determined whether or not the time is up. When the steps of S2957 and S2958 are executed first, the determination is NO, and the execution is returned to S2951. What is not returned to S2950 is the page end and the reading has not been interrupted.
This is because it is considered that one line of read image data is stored in 8.

【0405】以下、同様にしてS2951ないしS29
58の実行が繰り返される。S2954,2955にお
ける判定がYESとなった場合には、S2959におい
てページエンド処理が行われる。例えば、<DLE>デ
ータが送出符号化画像データと共にPC側送信データバ
ッファ252に格納されるのである。次に、S2960
においてタイマがリセットされ、S2914に戻され
る。また、S2956における判定がYESとなった場
合には、S2960においてタイマがリセットされた後
S2913に戻される。
[0405] Hereinafter, similarly from S2951 through S29
The execution of step 58 is repeated. If the determination in S2954, 2955 is YES, a page end process is performed in S2959. For example, the <DLE> data is stored in the PC-side transmission data buffer 252 together with the transmission encoded image data. Next, S2960
In, the timer is reset, and the flow returns to S2914. If the determination in S2956 is YES, the process returns to S2913 after the timer is reset in S2960.

【0406】本実施例においては、ストップキー164
が押下されたことが検出された場合にも、S2959に
おいてページエンド処理が行われるようにされている
が、ページエンド処理が行われることは不可欠ではな
い。しかし、ストップキー164が押下されても、それ
までに読み取られた画像データがパソコン4に送出され
る場合には、送出中の画像データの終了を表す<DLE
>データをPC側送信データバッファ252に格納して
おいた方が望ましい。
In this embodiment, the stop key 164
Is detected in step S2959, the page end processing is performed. However, it is not essential that the page end processing be performed. However, even if the stop key 164 is pressed, if the image data read so far is sent to the personal computer 4, it indicates the end of the image data being sent <DLE
> It is desirable to store data in the PC-side transmission data buffer 252.

【0407】また、S2954ないし2956における
判定がNOであっても、S2958においてタイムアッ
プとなった場合には、S2961においてタイマがリセ
ットされ、S2962において読取りが中断される。そ
して、割込信号に基づいて、S2963,2964にお
いて前述のように送出が開始されるとともに、タイムア
ップフラグがセットされる。
Even if the determination in S2954 to 2956 is NO, if the time is up in S2958, the timer is reset in S2961 and the reading is interrupted in S2962. Then, based on the interrupt signal, transmission is started as described above in S2963 and 2964, and a time-up flag is set.

【0408】ページエンド等が検出されなくても、タイ
ムアップが検出されると読取りが中断させられるのは、
連続読取時間がタイムアウト時間(ここでは90秒)を
経過すると、パソコン4との間の回線が切断されてしま
うからである。
Even if the page end or the like is not detected, the reading is interrupted when the time-up is detected.
If the continuous reading time exceeds the timeout time (90 seconds in this case), the line to the personal computer 4 is disconnected.

【0409】その後、S2950において、読取画像デ
ータバッファ258に読取画像データが記憶されている
か否かが判定される。記憶されている場合には、判定が
YESとされ、S2951,2952において、符号化
が行われる。送出と並行して符号化が行われる場合に
は、画像読取装置42による読取りが中断されているた
め、符号化が行われる前に、読取画像データバッファ2
58に読取画像データが記憶されているか否かが判定さ
れるようになっているのである。記憶されていない場合
には、判定がNOとなり、S2953以降が実行され
る。符号化が送出と並行して行われないことになる。
[0409] Thereafter, in S2950, it is determined whether or not the read image data is stored in the read image data buffer 258. If it is stored, the determination is YES and encoding is performed in S2951 and 2952. When the encoding is performed in parallel with the transmission, the reading by the image reading device 42 is interrupted.
It is determined whether or not the read image data is stored in 58. If not stored, the determination is NO and S2953 and subsequent steps are executed. The encoding will not take place in parallel with the transmission.

【0410】前述のように、送出が開始されれば、CP
U200の47番のクロック入力端子を介してクロック
がパラレル/シリアル変換回路240に供給される。そ
のため、CPU200は、他のプログラムの実行を行い
得る状態にある。
[0410] As described above, if the transmission is started, the CP
The clock is supplied to the parallel / serial conversion circuit 240 via the clock input terminal No. 47 of U200. Therefore, the CPU 200 is in a state where another program can be executed.

【0411】S2953において、送出すべき送出符号
化画像データをすべて送出したか否かが判定され、送出
すべき送出符号化画像データがあり、判定がNOの場合
には、S2954ないしS2956において同様の判定
が行われる。S2954ないしS2956の判定がすべ
てNOである場合には、タイムアップフラグ298がセ
ットされているため、S2957の判定がYESとな
り、S2950の実行に戻される。
In S2953, it is determined whether or not all of the transmission coded image data to be transmitted has been transmitted. If there is transmission coded image data to be transmitted, and if the determination is NO, the same processing is performed in S2954 to S2956. A determination is made. If the determinations in S2954 to S2956 are all NO, the time-up flag 298 is set, so the determination in S2957 is YES and the process returns to the execution of S2950.

【0412】上記のように、タイムアップが原因で読取
りが中断されて送出に切り換えられた場合にのみ、送出
と符号化とが並行して行われるようにされているのは、
ページエンドとなった場合には、読取画像データバッフ
ァ258には読取画像データが記憶されていないため、
符号化を行う必要がないからであり、また、PC側送信
データバッファ252の残存記憶容量が設定量以下の状
態で符号化を行えば、その符号化した読取画像データ
(送出符号化画像データ)を格納できない場合があるか
らである。
As described above, the transmission and the encoding are performed in parallel only when the reading is interrupted due to the time-out and the transmission is switched to the transmission.
When the page ends, the read image data is not stored in the read image data buffer 258.
This is because there is no need to perform encoding, and if encoding is performed with the remaining storage capacity of the PC-side transmission data buffer 252 being equal to or less than the set amount, the encoded read image data (transmitted encoded image data) May not be stored.

【0413】送出符号化画像データの送出が終了するま
で(読取画像データバッファ258に読取画像データが
記憶されている間)、送出と符号化とが並行して実行さ
れる。送出が終了すれば、S2953における判定がY
ESとなり、S2965ないしS2967において、タ
イムアップブラグ298がリセットされ、読取りが開始
され、タイマがスタートさせられる。そして、読取画像
データバッファ258に読取画像データが記憶されてい
れば、S2951,2952において符号化が読取りと
並行して行われる。
[0413] Until the transmission of the encoded image data to be transmitted is completed (while the scanned image data is stored in the scanned image data buffer 258), the transmission and the encoding are executed in parallel. If the transmission is completed, the determination in S2953 is Y
The state becomes ES, and in steps S2965 to S2967, the time-up plug 298 is reset, reading is started, and the timer is started. If the read image data is stored in the read image data buffer 258, the encoding is performed in S2951 and S2952 in parallel with the reading.

【0414】また、読取りと符号化とが並行して行われ
ている間に、S2958における判定がYESとなった
場合には、タイムアップフラグ298がセットされ、読
取りおよび符号化の並行処理と、送出および符号化の並
行処理とが時分割的に行われる。それに対して、読取り
と符号化とが並行して行われている間に、ページエンド
となる等によってS2954ないしS2956の判定が
YESとなった場合にはS2913に戻され、送出が開
始される。読取りおよび符号化の並行処理と、送出とが
時分割的に行われるのである。
If the determination in S2958 is YES while reading and encoding are being performed in parallel, the time-up flag 298 is set, and the parallel processing of reading and encoding is performed. The parallel processing of transmission and encoding is performed in a time-division manner. On the other hand, if the determination of S2954 to S2956 becomes YES due to the page end or the like while reading and encoding are performed in parallel, the process returns to S2913 and transmission is started. The parallel processing of reading and encoding and the transmission are performed in a time-division manner.

【0415】以上のように、本実施例によれば、ファク
シミリ装置2の画像読取装置42を利用してパソコン4
に原稿90の画像を入力することができる。そのため、
パソコン4に専用の画像読取装置が不要となる利点があ
る。
As described above, according to the present embodiment, the personal computer 4 is connected to the image reading device 42 of the facsimile device 2.
The image of the original 90 can be input to the. for that reason,
There is an advantage that the PC 4 does not need a dedicated image reading device.

【0416】また、読取りと送出とが時分割的に、すな
わち交互に択一的に行われるため、読取りと送出とを並
行して行うことができないという制限を有したファクシ
ミリ装置においても、PC側送信データバッファ252
の記憶容量を大きくする必要がなくなり、コストアップ
を回避することができる。
Also, in the facsimile apparatus which has a restriction that reading and sending cannot be performed in parallel because reading and sending are performed alternately in a time-division manner, that is, alternately, the PC side. Transmission data buffer 252
It is not necessary to increase the storage capacity of the device, and an increase in cost can be avoided.

【0417】さらに、一単位の原稿の情報が多い場合に
おいても使用者が原稿を分割する等の面倒な作業の必要
がなくなる利点もある。
Further, there is an advantage that even when there is a large amount of information of one unit of document, the user does not need to perform any troublesome work such as dividing the document.

【0418】なお、画像の読取りと画像データの送出と
を時分割的に行えば、最初の画像データの送出開始から
最後の画像データの送出終了までの時間が長くなり、画
像データ送信のためのケーブルの専有時間が長くなる。
したがって、時分割的な読取り,送出を行うことは、送
出に共同回線を使用するファクシミリ装置間におけるよ
り、専用ケーブルによって接続されているファクシミリ
装置2とパソコン4との間において行う方が有利であ
る。
If the image reading and the image data transmission are performed in a time-division manner, the time from the start of the transmission of the first image data to the end of the transmission of the last image data becomes longer, and the time required for the image data transmission is increased. Cable occupation time is extended.
Therefore, it is more advantageous to perform time-division reading and transmission between the facsimile apparatus 2 and the personal computer 4 connected by a dedicated cable than between facsimile apparatuses using a common line for transmission. .

【0419】しかし、ファクシミリ装置間においても、
読取画像データバッファ258の記憶容量を小さくし
得、原稿分割の必要性を少なくする等の利点は享受し
得、十分本発明を適用する意味がある。
However, even between facsimile machines,
Advantages such as a reduction in the storage capacity of the read image data buffer 258 and a reduction in the necessity of document division can be enjoyed, and it is significant to apply the present invention.

【0420】また、本実施例においては、読取りと送出
とが時分割的に行われるのに対し、符号化が読取りと送
出との両方と並行的に行われるため、符号化がいずれか
一方のみと並行的に行われる場合に比較して、読取り・
送出に要する時間を短縮することができる。符号化は符
号化画像データ処理プログラムの実行によりソフト的に
行われるため、ハード的に行われる読取りや送出に比較
して所要時間が長く、いずれか一方とのみ並行的に実行
されるようにした場合には、その一方と符号化との所要
時間の差だけ余分に読取り,送出に時間が必要となるの
であるが、読取りと送出との両方と並行的に行われるよ
うにすれば、その余分な時間を無くし得るのである。
In the present embodiment, reading and sending are performed in a time-division manner, while encoding is performed in parallel with both reading and sending, so that only one of the coding is performed. Compared to when performed in parallel with
The time required for sending can be reduced. Since the encoding is performed by software by executing the encoded image data processing program, the required time is longer than that of reading and sending performed by hardware, and only one of them is executed in parallel. In such a case, extra time is required for reading and sending by the difference between the time required for one of the encoding and the encoding. However, if the reading and sending are performed in parallel, the extra time is required. You can save time.

【0421】その上、本実施例においては、画像読取装
置42による連続読取時間がタイムアウト時間より短い
タイムアップ時間を越えると読取りが中断されるように
なっているため、連続読取時間がタイムアウト時間を越
えることによりパソコン4との間の回線が開放されてし
まうことが回避される。
In addition, in this embodiment, the reading is interrupted when the continuous reading time by the image reading device 42 exceeds the time-up time shorter than the time-out time. It is possible to avoid that the line with the personal computer 4 is opened by exceeding.

【0422】以上の説明から明らかなように、本実施例
においては、I/Oポート210がファクシミリ装置2
とパソコン4との接続部を構成し、相手装置114が他
のファクシミリデータ送信装置および他のファクシミリ
データ受信装置を構成している。
As is clear from the above description, in this embodiment, the I / O port 210 is connected to the facsimile
And the personal computer 4, and the partner device 114 constitutes another facsimile data transmitting device and another facsimile data receiving device.

【0423】ROM204のPCデータ送信プログラム
のS201〜S232を記憶する部分,CPU200の
それらステップを実行する部分が、モデム214および
NCU222と共にファクシミリデータ送信手段ないし
コンピュータデータ送信手段を構成し、ファクシミリ番
号が送信相手指定データであり、自己ファクシミリ番号
バッファ264が自己指定データ記憶手段の一種である
ファクシミリ番号記憶手段を構成している。
The portion of the ROM 204 for storing the S201 to S232 of the PC data transmission program and the portion for executing those steps of the CPU 200 constitute a facsimile data transmission means or a computer data transmission means together with the modem 214 and the NCU 222, and transmit the facsimile number. The self-designated facsimile number buffer 264 constitutes facsimile number storage means, which is a type of self-designated data storage means.

【0424】ROM204の送信プログラムのS73〜
S76を記憶する部分,CPU200のそれらステップ
を実行する部分が、パソコン4から送られて来るファク
シミリ番号と自己ファクシミリ番号バッファ264に格
納されたファクシミリ装置2のファクシミリ番号とが一
致するか否かにより記録あるいは不記録を選択する指定
データ一致性依存選択手段の一種であるファクシミリ番
号依存選択手段,ファクシミリ番号数字一致性依存選択
手段,短ファクシミリ番号一致性依存選択手段を構成し
ているROM204のPCデータ記録プログラムのS3
01〜S324を記憶する部分およびCPU200のそ
れらをステップを実行する部分が前記指定データ一致性
依存選択手段により記録が選択されたときに記録装置2
9に記録を行わせるデータ送信時記録制御手段を構成し
ている。
[0424] S73- of the transmission program in the ROM 204
The part for storing S76 and the part for executing those steps of the CPU 200 record whether or not the facsimile number sent from the personal computer 4 matches the facsimile number of the facsimile apparatus 2 stored in the own facsimile number buffer 264. Alternatively, PC data recording of the ROM 204 constituting a facsimile number-dependent selecting means, a facsimile number / numerical-matching dependent selecting means, and a short facsimile-number-matching dependent selecting means, which are a kind of designated data consistency dependent selecting means for selecting unrecorded S3 of the program
01 to S324 and a part of the CPU 200 for executing those steps when the recording is selected by the designated data consistency dependent selection means.
9 constitutes a recording control means at the time of data transmission for recording.

【0425】また、NCU222がファクシミリ装置2
と相手装置114との接続部を構成し、ROM204の
図37に示すPC受信プログラムのS851〜S85
7,S863,S867,S868,S875を記憶す
る部分およびCPU200のそれらステップを実行する
部分が、相手装置114から送信されて来たファクシミ
リデータをパソコン4に受信させるコンピュータ受信制
御手段を構成している。ROM204の図31に示す受
信プログラムのS502を記憶する部分が相手装置11
4から送信されて来た信号を選択的にコンピュータに受
信させる受信データ選択手段を構成している。
[0425] Also, the facsimile machine 2
And a connection unit for connecting with the partner device 114, and the S204 to S85 of the PC reception program shown in FIG.
7, S863, S867, S868, and S875, and a portion of the CPU 200 that execute those steps constitute a computer reception control unit that causes the personal computer 4 to receive the facsimile data transmitted from the partner device 114. . The part of the ROM 204 that stores S502 of the receiving program shown in FIG.
4 constitutes reception data selection means for selectively causing a computer to receive a signal transmitted from the computer.

【0426】ROM204の図32に示すFAX着信判
定プログラム中のS703,S753,S803を記憶
する部分およびCPU200のそれらステップを実行す
る部分が外部から送信されて来たデータがファクシミリ
データ信号であるか電話信号であるかを判定する信号判
定手段の一種である送信関連事象依拠判定手段の一つで
あるCNG信号依拠判定手段を構成し、ROM204の
S712を記憶する部分およびCPU200のそのステ
ップを実行する部分が信号判定手段の一種である送信関
連事象依拠判定手段の一つである疑似呼出終了依拠判定
手段を構成し、ROM204のS605を記憶する部分
およびCPU200のそのステップを実行する部分が信
号判定手段の一種である送信関連事象依拠判定手段の一
つであるファクシミリデータ信号受信指示依拠判定手段
を構成し、ROM204のS611を記憶する部分およ
びCPU200のそのステップを実行する部分が信号判
定手段の一種である送信関連事象依拠判定手段の一つで
ある設定回数呼出依拠判定手段を構成し、ROM204
のS766,S817を記憶する部分およびCPU20
0のそれらステップを実行する部分が信号判定手段の一
種である送信関連事象依拠判定手段の一つである無音状
態拠判定手段を構成している。
A portion for storing S703, S753, and S803 in the facsimile incoming call determination program shown in FIG. 32 of the ROM 204 and a portion for executing these steps of the CPU 200 determine whether the data transmitted from the outside is a facsimile data signal. A CNG signal dependence determination unit, which is one of transmission-related event dependence determination units, which is a type of signal determination unit that determines whether the signal is a signal, and stores S712 of the ROM 204 and a portion of the CPU 200 that executes the step. Constitutes a pseudo call termination dependence determining means which is one of transmission-related event dependence determining means which is a kind of signal determining means, and a portion of the ROM 204 for storing S605 and a portion of the CPU 200 for executing the step are the signal determining means. Facsimile, one of the transmission-related event dependency determination means A part for storing the S611 of the ROM 204 and a part for executing the step of the CPU 200 constitute a re-data signal reception instruction dependence determination means, and a set number of times call dependence is one of transmission-related event dependence determination means which is a kind of signal determination means. The ROM 204 constitutes a determination unit.
For storing S766 and S817 of the CPU 20
The part that executes these steps of 0 constitutes a silent state criterion determining means, which is one of the transmission-related event dependency determining means, which is a kind of signal determining means.

【0427】さらに、FAX側受信データバッファ25
4がファクシミリデータ記憶手段を構成し、ROM20
4の図26に示すFAXデータ受信時画像データ受信モ
デム割込処理プログラムのS371〜S378を記憶す
る部分およびCPU200のそれらステップを実行する
部分がコンピュータ受信不可時ファクシミリデータ格納
手段を構成し、記録装置29,記録実行指示手段の一種
である紙出力フラグ284,図31に示す受信プログラ
ムのS526を記憶する部分およびCPU200のその
ステップを実行する部分が代行受信時記録手段を構成
し、代行フラグ286,ROM204のS511,S5
25を記憶する部分およびCPU200のそれらステッ
プを実行する部分が記録不可時ファクシミリデータ格納
手段を構成し、ROM204の図38に示す代行受信プ
ログラムのS901〜S915を記憶する部分,図39
に示す紙出力プログラムのS950〜S967を記憶す
る部分およびCPU200のそれらをステップを実行す
る部分と共に代行受信手段を構成している。
Further, the FAX-side reception data buffer 25
4 constitutes a facsimile data storage means,
4, a portion for storing the image data receiving modem interrupt processing program at the time of FAX data reception shown in FIG. 26, which stores S371 to S378, and a portion for executing those steps of the CPU 200 constitute a facsimile data storage means when computer reception is not possible; 29, a paper output flag 284, which is one type of recording execution instructing means, a portion for storing S526 of the receiving program shown in FIG. 31, and a portion for executing the step of the CPU 200 constitute a proxy receiving time recording device. S511 and S5 of ROM 204
25 and a portion for executing these steps of the CPU 200 constitute a facsimile data storage means when recording is not possible, and a portion for storing S901 to S915 of the proxy reception program shown in FIG.
And a portion for storing the steps S950 to S967 of the paper output program shown in FIG.

【0428】ROM204の図31に示す受信プログラ
ムのS507,S508を記憶する部分およびCPU2
00のそれらをステップを記憶する部分がファクシミリ
データ受信開始時受信可否判定手段ないしコンピュータ
受信可否判定手段を構成し、ROM204の図37に示
すPC受信プログラムのS862,S863を記憶する
部分およびCPU200のそれらをステップを実行する
部分がファクシミリデータ送信中受信可否判定手段ない
しコンピュータ受信可否判定手段を構成し、ROM20
4の図36に示すDIS信号作成プログラムのS845
を記憶する部分およびCPU200のそのステップを実
行する部分がファクシミリ最高レベル代行受信手段を構
成している。
A portion of the ROM 204 for storing S507 and S508 of the reception program shown in FIG.
The parts storing the steps S002 and S863 of the PC reception program shown in FIG. The step executing step constitutes a facsimile data transmission reception possibility determination means or a computer reception possibility determination means.
S845 of the DIS signal creation program shown in FIG.
And the part of the CPU 200 that executes that step constitutes a facsimile highest level intercepting means.

【0429】ROM204の図26に示すFAXデータ
受信時画像データ受信モデム割込処理プログラムを記憶
する部分およびCPU200のそのプログラムを実行す
る部分が受信可否判定中ファクシミリデータ受信手段を
構成している。
A portion of the ROM 204 for storing the image data reception modem interrupt processing program at the time of FAX data reception and a portion of the CPU 200 for executing the program shown in FIG. 26 constitute a facsimile data receiving means during the reception feasibility determination.

【0430】ROM204の図40に示す代行受信デー
タ処理プログラムのS1008を記憶する部分およびC
PU200のそのステップを実行する部分が代行受信終
了後にパソコン4にファクシミリデータの受信を促す受
信催促手段を構成し、ROM204のS1020,S1
028を記憶する部分およびCPU200のそれらステ
ップを実行する部分が代行受信終了後のパソコン4が受
信可能なときにファクシミリデータを送信する受信可能
時ファクシミリデータ送信手段を構成し、ROM204
のS1013,S1015,S1005,S1006を
記憶する部分およびCPU200のそれらステップを実
行する部分が記録装置29が記録可能になったときに代
行受信されたファクシミリデータを記録させる記録可能
時記録制御手段を構成している。
The portion of the ROM 204 for storing S1008 of the proxy reception data processing program shown in FIG.
The part of the PU 200 that executes the step constitutes a reception prompting means for prompting the personal computer 4 to receive the facsimile data after the end of the substitute reception, and S1020, S1 of the ROM 204.
028, and a portion for executing these steps of the CPU 200 constitutes a facsimile data transmission means for transmitting facsimile data when the personal computer 4 can receive the facsimile data after the end of the proxy reception.
A part for storing S1013, S1015, S1005 and S1006 and a part for executing those steps of the CPU 200 constitute a recordable time recording control means for recording the facsimile data received by proxy when the recording device 29 becomes recordable. are doing.

【0431】また、ROM204の図40に示す代行受
信データ処理プログラムのS1019を記憶する部分お
よびCPU200のそのステップを実行する部分がデー
タ変更手段を構成し、ROM204のS1016を記憶
する部分およびCPU200のそのステップを実行する
部分が最高レベルデータ変更手段を構成している。
Also, the portion of ROM 204 that stores S1019 of the proxy reception data processing program shown in FIG. 40 and the portion of CPU 200 that executes that step constitute data changing means, and the portion that stores S1016 of ROM 204 and that of CPU 200 The part that executes the steps constitutes the highest level data changing means.

【0432】さらに、ROM204の図26に示すFA
Xデータ受信時画像データ受信モデム割込処理プログラ
ムを記憶する部分およびCPUのそのプログラムを実行
する部分が、相手装置114からのデータ送信タイミン
グでファクシミリデータをファクシミリデータ記憶手段
であるFAX側受信データバッファ254に格納するフ
ァクシミリデータ格納手段を構成し、ROM204の図
37に示すPC受信プログラムのS860を記憶する部
分およびCPU200のそのステップを実行する部分が
ファクシミリデータ格納時受信可否判定手段を構成し、
ROM204のS863を記憶する部分およびCPU2
00のそのステップを実行する部分がパソコン4がファ
クシミリデータを受信することが可能な時期にパソコン
4にファクシミリデータを送信するファクシミリデータ
送信手段を構成している。
Further, the FA shown in FIG.
A part for storing an image data receiving modem interrupt processing program at the time of X data reception and a part for executing the program of the CPU are used for transmitting facsimile data at the data transmission timing from the partner apparatus 114. The portion of the ROM 204 that stores S860 of the PC reception program shown in FIG. 37 and the portion that executes the step of the CPU 200 constitute the facsimile data storage means to be stored in the facsimile data storage means 254.
A part for storing S863 of the ROM 204 and the CPU 2
The portion that executes the step of 00 constitutes facsimile data transmitting means for transmitting facsimile data to the personal computer 4 when the personal computer 4 can receive the facsimile data.

【0433】ROM204の図37に示すPC受信プロ
グラムのS862を記憶する部分およびCPU200の
そのステップを実行する部分が、パソコン4がファクシ
ミリデータを受信することが不可能な状態が設定時間以
上継続した場合にファクシミリデータ送信手段によるフ
ァクシミリデータの送信を中止するデータ送信中止手段
を構成している。
When the portion of the ROM 204 for storing S862 of the PC reception program shown in FIG. 37 and the portion for executing the step of the CPU 200 are in a state where the personal computer 4 cannot receive facsimile data for a set time or more. And a data transmission stopping means for stopping transmission of facsimile data by the facsimile data transmitting means.

【0434】ROM204の図40に示す代行受信デー
タ処理プログラムのS1015を記憶する部分およびC
PU200のそれらステップを実行する部分が記録装置
29と共にデータ送信中止時記録手段を構成している。
The portion of the ROM 204 for storing S1015 of the proxy reception data processing program shown in FIG.
The part of the PU 200 that executes those steps constitutes a data transmission suspension recording means together with the recording device 29.

【0435】また、ROM204の図14に示す送信プ
ログラムのS71,S77〜S81を記憶する部分およ
びCPU200のそれらステップを実行する部分がパソ
コン4の指示に基づいて通話相手に電話をかける呼出手
段を構成し、ROM204の図24に示すPC・TEL
プログラムのS357,S359を記憶する部分および
CPU200のそのステップを実行する部分が通話状態
ファクシミリデータ送信手段を構成し、ROM204の
S356を記憶する部分およびCPU200のそのステ
ップを実行する部分が通話状態ファクシミリデータ受信
手段を構成し、ROM204のS360,S361を記
憶する部分およびCPU200のそれらステップを実行
する部分が通話時ファクシミリデータ送信指示拒絶手段
を構成し、ROM204の図14に示す送信プログラム
のS82を記憶する部分およびCPU200のそのステ
ップを実行する部分が呼出可否判定手段を構成し、RO
M204のS84を記憶する部分およびCPU200の
それらステップを実行する部分が呼出不可報知手段を構
成している。
A portion of the ROM 204 for storing S71 and S77 to S81 of the transmission program shown in FIG. 14 and a portion for executing these steps of the CPU 200 constitute a calling means for making a call to the other party based on an instruction from the personal computer 4. PC / TEL shown in FIG.
The portion of the program that stores S357 and S359 and the portion of CPU 200 that executes that step constitute the call status facsimile data transmission means, and the portion of ROM 204 that stores S356 and the portion of CPU 200 that execute that step are call status facsimile data. The portion that stores S360 and S361 of the ROM 204 and the portion that executes those steps of the CPU 200 constitute the receiving means, and constitutes the facsimile data transmission instruction rejection means during a call, and stores S82 of the transmission program shown in FIG. The part and the part of CPU 200 that execute that step constitute a call permission / inhibition determination means.
The part of M204 that stores S84 and the part of CPU 200 that executes those steps constitute a call refusal notification unit.

【0436】RAM202の読取画像データバッファ2
58が、読取画像データ記憶手段を構成し、PC側送信
データバッファ252が、送出符号化画像データ記憶手
段を含む送出画像データ記憶手段を構成している。ま
た、制御装置40の図44に示すフローチャートのS2
951,2952を実行する部分等が符号化手段を構成
し、シリアル/パラレル変換回路240,CPU200
等が送出符号化画像データ送出手段を含む送出手段を構
成している。さらに、制御装置40のS2914,29
17,2954ないし2958を実行する部分等が読取
送出制御手段を構成し、S2963,S2950ないし
2952を実行する部分等が送出符号化並行処理指示手
段を構成している。
The read image data buffer 2 of the RAM 202
58 constitutes a read image data storage means, and the PC side transmission data buffer 252 constitutes a transmission image data storage means including a transmission encoded image data storage means. In addition, S2 of the flowchart shown in FIG.
951, 2952 and the like constitute an encoding means, and the serial / parallel conversion circuit 240, the CPU 200
Constitute transmission means including transmission encoded image data transmission means. Further, S2914, 29 of the control device 40
17, 2954 to 2958, etc., constitute the reading and sending control means, and the portions, etc., which execute S2963, S2950 to 2952, etc., constitute the sending encoding parallel processing instruction means.

【0437】なお、上記実施例においてパソコン4がP
Cデータをファクシミリ装置2に送信させるとき、送信
相手はファクシミリ番号で指定されるようになっていた
が、ファクシミリ番号に限らず、短縮番号,識別番号,
送信相手の宛名,略称,通称等、送信相手を特定でき、
ファクシミリ番号と1対1に対応するデータにより指定
すればよい。この場合には、ファクシミリ装置を指定す
るデータを記憶する自己指定データ記憶手段は、送信相
手を指定するデータと同じ種類の指定データでファクシ
ミリ装置2を指定するデータを記憶するものとし、送信
相手を指定するデータがファクシミリ装置2を指定する
データであればファクシミリ装置2にファクシミリデー
タを記録させる。さらに、ファクシミリ装置に送信相手
指定データとファクシミリ番号とを対応付ける送信相手
−ファクシミリ番号対応記憶手段と、送信相手として自
身が指定されたのではないときには、指定された送信相
手と対応するファクシミリ番号を送信相手−ファクシミ
リ番号対応記憶手段から探して外部回線に送信するファ
クシミリ番号送信手段とを設ける。
In the above embodiment, the personal computer 4 is
When the C data is transmitted to the facsimile apparatus 2, the transmission destination is specified by the facsimile number. However, the transmission destination is not limited to the facsimile number, but the abbreviated number, the identification number,
You can specify the destination, such as the address, abbreviation, and common name of the destination,
What is necessary is just to specify by the data corresponding to a facsimile number and one-to-one. In this case, the self-designated data storage means for storing data specifying the facsimile apparatus stores data specifying the facsimile apparatus 2 with the same type of specified data as the data specifying the transmission destination. If the data to be specified is the data to specify the facsimile machine 2, the facsimile machine 2 records the facsimile data. Further, a transmission destination-facsimile number correspondence storage unit for associating transmission destination designation data and a facsimile number with the facsimile apparatus, and a facsimile number corresponding to the specified transmission destination when the transmission destination is not designated. Facsimile number transmitting means for searching from the other party and facsimile number correspondence storing means and transmitting to the external line.

【0438】また、上記実施例においては、電話中にパ
ソコン4からデータの送信を指示する発呼送信コマンド
が送信されて来たときには、送信を拒否するようにされ
ていたが、このとき、送信を拒否するためにパソコン4
へエラーコマンドを出力するとともに、ファクシミリ装
置2の操作パネル12に設けたランプを点灯あるいは点
滅させ、送信するデータがあることを通話者に報知する
ようにしてもよい。送信PCデータ有表示手段を設ける
のである。
In the above embodiment, when a call transmission command instructing data transmission is transmitted from the personal computer 4 during a telephone call, the transmission is rejected. PC 4 to refuse
An error command may be output to the facsimile machine 2 and a lamp provided on the operation panel 12 of the facsimile apparatus 2 may be turned on or blinked to notify the caller that there is data to be transmitted. The transmitting PC data display means is provided.

【0439】また、上記実施例においてはインタフェー
ス・ボックス6が接続されていなくても、ファクション
キー174の操作により出力モードの設定メニューが表
示器150に表示されるようになっていたが、インタフ
ェース・ボックス6が接続されていないときには、出力
モードの設定指示が表示器150に表示されないように
してもよい。インタフェース・ボックス6が接続されて
いない場合には、出力モードの種類に関係なく、ファク
シミリデータが記録装置29によって記録されるように
なっているため、出力モードを設定することは不要であ
る。そのため、例えば、ファクシミリ装置2においてフ
ァンクションキー174が押下されたとき、インタフェ
ース・ボックス6の接続の有無を判定するインタフェー
ス・ボックス接続判定手段を設け、接続されていなけれ
ば出力モードの設定指示が表示器150に表示されない
ようにすればよい。
In the above embodiment, even if the interface box 6 is not connected, the output mode setting menu is displayed on the display 150 by operating the function key 174. When the box 6 is not connected, the output mode setting instruction may not be displayed on the display 150. When the interface box 6 is not connected, the facsimile data is recorded by the recording device 29 irrespective of the type of output mode, so that setting the output mode is unnecessary. For this reason, for example, when the function key 174 is pressed in the facsimile apparatus 2, an interface box connection determining means for determining whether or not the interface box 6 is connected is provided. What is necessary is just to make it not be displayed on 150.

【0440】このようにすれば使用者が設定する機能の
種類が減り、機能設定操作が容易になる効果が得られ
る。
In this way, the types of functions set by the user are reduced, and an effect of facilitating the function setting operation can be obtained.

【0441】また、出力モードがPC・ONLYモード
に設定されていてもパソコン4へファクシミリデータが
送信されず、FAX側受信データバッファ254にファ
クシミリデータが一杯まで格納されて、更なるファクシ
ミリデータの受信が不可能になるという事態を回避する
ことができる。
Even if the output mode is set to the PC ONLY mode, facsimile data is not transmitted to the personal computer 4 and the facsimile data is stored in the facsimile reception data buffer 254 until the facsimile data is fully received. Can be avoided.

【0442】さらに、インタフェース・ボックス6が接
続されていなくても、接続時にファクシミリ装置2に設
定された出力モードはそのまま残されるため、再びイン
タフェース・ボックス6が接続されたとき、使用者が選
択したモードでファクシミリデータが出力される。
Further, even if the interface box 6 is not connected, the output mode set in the facsimile machine 2 at the time of connection is left as it is, so that when the interface box 6 is connected again, the user selects Facsimile data is output in mode.

【0443】さらに、上記実施例においては、パソコン
4の電源OFFは、パソコン4のファクシミリデータ記
憶バッファ328の容量が一杯であるか否か等と共にC
TS制御ラインの出力状態により示されるなっていた
が、パソコン4の電源OFFを単独で表示するパソコン
電源OFF表示手段を設けてもよい。このようにすれ
ば、例えば、電源OFFの場合には、インタフェース・
ボックス6が接続されていない場合と同様に、出力モー
ドの設定如何によらず、ファクシミリ装置2が受信した
ファクシミリデータを記録装置29に記録させたり、フ
ァクションキー174が操作されても出力モードの設定
が表示されないようにしたり、代行受信終了後、パソコ
ン4にファクシミリデータを送信する際、電源OFFで
あればリングコマンドを出力しないようにすることがで
きる。
In the above embodiment, the power of the personal computer 4 is turned off together with whether or not the capacity of the facsimile data storage buffer 328 of the personal computer 4 is full.
Although indicated by the output state of the TS control line, a personal computer power off display means for independently displaying the power off of the personal computer 4 may be provided. In this way, for example, when the power is off, the interface
As in the case where the box 6 is not connected, regardless of the setting of the output mode, even if the facsimile apparatus 2 records the facsimile data received by the facsimile apparatus 2 or operates the function key 174, the output mode is not changed. When the facsimile data is transmitted to the personal computer 4 after the proxy reception is completed, or when the facsimile data is transmitted, the ring command may not be output if the power is turned off.

【0444】また、上記実施例においては、ファクシミ
リ装置2が相手装置114から受信したファクシミリデ
ータのパソコン4への送信中にCTS制御ラインの出力
状態に基づいてパソコン4がファクシミリデータを受信
不可能であるか否かが判定されるようになっていたが、
更にインタフェース・ボックス6を接続するケーブルの
断・説を検出すれば、パソコン4によるファクシミリデ
ータの受信不可能の原因がインタフェース・ボックス6
の非接続であるかどうかがわかる。
Also, in the above embodiment, while the facsimile apparatus 2 is transmitting facsimile data received from the partner apparatus 114 to the personal computer 4, the personal computer 4 cannot receive facsimile data based on the output state of the CTS control line. It was decided whether or not there was,
Further, if the disconnection of the cable connecting the interface box 6 is detected, the cause of the inability of the personal computer 4 to receive the facsimile data is the interface box 6.
Is not connected.

【0445】さらに、上記実施例においては、パソコン
4がファクシミリデータを受信不可能であるか否かを判
定するとき、ATA信号の送信やCTS制御信号ライン
の出力がデータ送信を阻止する状態から許容する状態に
なることが3秒間待たれるようになっていたが、3秒よ
り長い時間待つようにしてもよい。
Furthermore, in the above embodiment, when the personal computer 4 determines whether or not facsimile data cannot be received, the transmission of the ATA signal and the output of the CTS control signal line are permitted from the state in which the data transmission is prevented. Although the waiting state has been waited for three seconds, the waiting state may be longer than three seconds.

【0446】また、上記実施例においては、パソコン4
においてファクシミリデータを受信するためのプログラ
ムは、ファクシミリデータの受信機能が選択されたとき
に実行されるようになっていたが、電源の投入によりフ
ァクシミリデータの受信プログラムの実行が開始される
パソコン4に接続されるファクシミリ装置に本発明を適
用することができる。
In the above embodiment, the personal computer 4
The program for receiving the facsimile data is executed when the facsimile data reception function is selected. However, when the power is turned on, the personal computer 4 starts executing the facsimile data reception program. The present invention can be applied to a connected facsimile machine.

【0447】さらに、他のファクシミリデータ送信装置
の伝送パラメータのレベルが当該ファクシミリ装置やコ
ンピュータより低く、ファクシミリデータが他のファク
シミリデータ送信装置の伝送パラメータの低いレベルで
送信される場合、代行受信したファクシミリデータを当
該ファクシミリ装置においてデータ変更手段により他の
ファクシミリデータ送信装置の伝送レベルより高いコン
ピュータの伝送レベルに変更してもよい。このようにす
れば、当該ファクシミリ装置からコンピュータへの画像
の再現性の高いファクシミリデータを短時間で送信する
ことができる。また、上記実施例においては、ページエ
ンドであること,PC側送信データバッファ252の残
存記憶容量が設定量以下であること,タイムアップにな
ったこと,ストップキー164が押下されたことの4つ
の条件のうちいずれか1つが満たされた場合に読取りが
中断されるようになっていたが、4つの条件のうち任意
の2つが満たされた場合に中断されるようにしたり、4
つの条件すべてが満たされる場合に発せられるようにし
てもよい。また、ストップキー164が押下された場合
には、別の処理で読取りが中断されるようにすることも
できる。
Further, when the transmission parameter level of the other facsimile data transmitting apparatus is lower than that of the facsimile apparatus or the computer and the facsimile data is transmitted at a lower transmission parameter level of the other facsimile data transmitting apparatus, the alternately received facsimile data is transmitted. The data may be changed by the data changing means in the facsimile apparatus to a transmission level of a computer higher than that of another facsimile data transmission apparatus. With this configuration, facsimile data with high image reproducibility can be transmitted from the facsimile apparatus to the computer in a short time. In the above-described embodiment, the four items, namely, the page end, the remaining storage capacity of the PC-side transmission data buffer 252 being equal to or less than the set amount, the time being up, and the stop key 164 being pressed are described. The reading is interrupted when any one of the conditions is satisfied. However, the reading is interrupted when any two of the four conditions are satisfied.
It may be issued when all three conditions are satisfied. When the stop key 164 is pressed, the reading can be interrupted by another process.

【0448】さらに、上記実施例においては、読取りを
中断して送出に切り換える条件に、PC側送信データバ
ッファ252の残存記憶容量が設定量以下であることを
含んでいたが、読取画像データバッファ258の残存記
憶容量が設定量以下であることを含むようにしてもよ
い。符号化に要する時間が2値化等読取りに要する時間
より長い場合には、画像読取装置42によって読み取ら
れた原稿の情報量が多くなるにつれて読取画像データバ
ッファ252に記憶される読取画像データが多くなり、
残存記憶容量が少なくなる。そのため、読取画像データ
バッファ258の残存記憶容量が設定量以下になった場
合に読取りを中断することは有効である。さらに、読取
画像データバッファ258の残存記憶容量が設定量以下
になった場合に読取りを中断し、送出と符号化とが並行
して行われるようにすることもできる。
Further, in the above embodiment, the condition for interrupting the reading and switching to the transmission includes that the remaining storage capacity of the PC-side transmission data buffer 252 is equal to or less than the set amount. May have the remaining storage capacity of less than or equal to the set amount. If the time required for encoding is longer than the time required for reading such as binarization, the read image data stored in the read image data buffer 252 increases as the information amount of the document read by the image reading device 42 increases. Become
Remaining storage capacity is reduced. Therefore, it is effective to interrupt reading when the remaining storage capacity of the read image data buffer 258 becomes equal to or less than the set amount. Further, when the remaining storage capacity of the read image data buffer 258 becomes equal to or less than the set amount, the reading may be interrupted, and the transmission and the encoding may be performed in parallel.

【0449】また、原稿終端センサ99によって原稿9
0の終端が検出されたことを読取りを中断するための条
件の1つとすることもできる。原稿90の画像読取装置
42による読取り自体も読取りに関連する処理である。
さらに、原稿90の終端が検出された場合に読取りを中
断して符号化と送出とが並行して行われるようにするこ
ともできる。
[0449] Also, the original 9 is detected by the original end sensor 99.
The detection of the end of 0 may be one of the conditions for interrupting the reading. Reading of the document 90 by the image reading device 42 is also a process related to reading.
Further, when the end of the document 90 is detected, the reading can be interrupted so that the encoding and the transmission are performed in parallel.

【0450】また、上記実施例においては、読取画像デ
ータが符号化されて送出画像データとされ、その後、パ
ラレル/シリアル変換されて送出されていたが、読取画
像データの符号化を行うことは必ずしも不可欠ではな
い。読取画像データの符号化を行うことなく、そのま
ま、パラレル/シリアル変換されて送出されるようにし
てもよい。その場合には、読取画像データと送出画像デ
ータとが同じとなり、読取画像データバッファ252と
PC送信データバッファ258とが同じとなる。このフ
ァクシミリ装置に本発明を適用すれば、これら記憶手段
の記憶容量を大きくする必要がなくなるため、その分コ
ストダウンを図ることができる。
Also, in the above embodiment, the read image data is encoded to be output image data, and then transmitted after being subjected to parallel / serial conversion. However, it is not always necessary to encode the read image data. Not essential. The read image data may be converted into parallel / serial data and transmitted without encoding the read image data. In that case, the read image data and the transmission image data are the same, and the read image data buffer 252 and the PC transmission data buffer 258 are the same. If the present invention is applied to this facsimile apparatus, it is not necessary to increase the storage capacity of these storage means, and the cost can be reduced accordingly.

【0451】ファクシミリ装置2からパソコン4へ送信
される画像データが符号化されていることが不可欠でな
いことは、パソコン4の指示に基づいて画像を読み取る
場合に限らず、パソコン4の指示に基づいてデータを他
の装置(ファクシミリ装置2を含む)へ送信する場合,
ファクシミリ装置2が他の装置から送信されて来るファ
クシミリデータをパソコン4に受信させる場合も同様で
ある。
It is not essential that the image data transmitted from the facsimile apparatus 2 to the personal computer 4 be encoded, not only when reading the image based on the instruction from the personal computer 4 but also based on the instruction from the personal computer 4. When sending data to another device (including facsimile device 2)
The same applies to the case where the facsimile apparatus 2 causes the personal computer 4 to receive facsimile data transmitted from another apparatus.

【0452】また、本発明は、符号化されないファクシ
ミリデータを受信し、送信するファクシミリ装置にも適
用することができる。
The present invention can also be applied to a facsimile apparatus that receives and transmits uncoded facsimile data.

【0453】さらに、読取りおよび符号化と送出とが択
一的に行われるファクシミリ装置だけでなく、読取り,
符号化,送出が並行して行われ得るファクシミリ装置に
も本発明を適用することができる。
Further, not only a facsimile apparatus in which reading and encoding and transmission are performed alternatively, but also reading,
The present invention is also applicable to a facsimile apparatus in which encoding and transmission can be performed in parallel.

【0454】読取り,符号化,送出が並行して行われ得
るファクシミリ装置において、読取りおよび符号化と送
出とが時分割的に行われ、かつ、送出と符号化とが並行
して行われるようにすれば、符号化に要する時間が読取
りに要する時間より長くても、読取画像データバッファ
258に格納される読取画像データの量が読取時間の経
過につれて増加することが回避されるため、読取画像デ
ータバッファ258の記憶容量を大きくする必要がなく
なり、コストアップを回避することができる。また、上
記実施例においてパソコン4は、表示器116を構成す
る液晶の1個の大きさがファクシミリ装置2の解像度が
スーパファインであるときの読取領域の大きさと同じと
されていたが、液晶の大きさの縦横の比率が、ファクシ
ミリ装置2の複数種類の解像度の各読取領域の縦横の比
率のいずれもとも異なるコンピュータに接続されて使用
されるファクシミリ装置にも本発明を適用することがで
きる。この場合には、ファクシミリデータをコンピュー
タの表示器に表示可能なデータにするために、例えばデ
ータ処理手段を設け、走査方向においてはドットデータ
数を増減させ、副走査方向においてはデータのライン数
を増減させる。このデータ処理手段はファクシミリ装置
とコンピュータとの少なくとも一方に設ければよいが、
ライン数およびドットデータ数が減少する場合には、デ
ータ送信側の装置にデータ処理手段を設け、増大する場
合にはデータ受信側の送信にデータ処理手段を設けるこ
とが送信時間を短くする上で望ましい。
In a facsimile apparatus in which reading, encoding, and transmission can be performed in parallel, reading, encoding, and transmission are performed in a time-division manner, and transmission and encoding are performed in parallel. Accordingly, even if the time required for encoding is longer than the time required for reading, the amount of read image data stored in the read image data buffer 258 is prevented from increasing with the elapse of the reading time. It is not necessary to increase the storage capacity of the buffer 258, so that an increase in cost can be avoided. Further, in the above-described embodiment, the personal computer 4 sets the size of one liquid crystal constituting the display 116 to be the same as the size of the reading area when the resolution of the facsimile apparatus 2 is superfine. The present invention can also be applied to a facsimile apparatus used by being connected to a computer having a different vertical / horizontal ratio of each of the read areas of a plurality of types of resolutions of the facsimile apparatus 2. In this case, in order to convert the facsimile data into data that can be displayed on a computer display, for example, a data processing unit is provided, and the number of dot data is increased or decreased in the scanning direction, and the number of data lines is reduced in the sub-scanning direction. Increase or decrease. This data processing means may be provided in at least one of the facsimile machine and the computer,
When the number of lines and the number of dot data decrease, a data processing unit is provided in the device on the data transmission side, and when the number increases, providing a data processing unit in the transmission on the data reception side is necessary to shorten the transmission time. desirable.

【0455】上記説明においては、相手装置114が記
録装置や画像読取装置を備えたファクシミリ装置とされ
ていたが、ファクシミリデータの受信機能および送信機
能を有するが、記録装置や画像読取装置は有さないファ
クシミリモデムが相手装置であっても差し支えない。
[0455] In the above description, the facsimile apparatus 114 is a facsimile apparatus having a recording apparatus and an image reading apparatus. However, it has a function of receiving and transmitting facsimile data, but does not have a recording apparatus or an image reading apparatus. No facsimile modem can be the partner device.

【0456】また、ファクシミリ装置2へファクシミリ
データを送信する送信相手は、ファクシミリ装置に限ら
ず、少なくともファクシミデータの送信機能を有するフ
ァクシミリデータ送信装置でもよい。
[0456] The destination of transmission of facsimile data to facsimile apparatus 2 is not limited to a facsimile apparatus, but may be a facsimile data transmission apparatus having at least a facsimile data transmission function.

【0457】また、代行受信時に出力モードを紙出力モ
ード時代行受信フラグ292,PC・ONLYモード時
代行受信フラグ294,PC優先モード時代行受信フラ
グ296のセットによって記憶することは不可欠ではな
く、代行受信データの処理時に、前述のように、ファン
クションキー174等の操作により設定されて記憶され
ている出力モードに従って処理を行うようにしてもよ
い。
It is not indispensable to store the output mode at the time of proxy reception by setting the paper output mode period reception flag 292, the PC ONLY mode period reception flag 294, and the PC priority mode period reception flag 296. When processing the received data, as described above, the processing may be performed in accordance with the output mode set and stored by operating the function key 174 or the like.

【0458】その他、いちいち例示することはしない
が、本発明は当業者の知識に基づいて種々の変更,改良
を施した態様で実施することができる。
Although not specifically exemplified, the present invention can be embodied with various modifications and improvements based on the knowledge of those skilled in the art.

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

【図1】本発明に共通の一実施例であるファクシミリ装
置、そのファクシミリ装置に接続されたパソコンおよび
それらを接続するインタフェース・ボックスを示す斜視
図である。
FIG. 1 is a perspective view showing a facsimile apparatus as an embodiment common to the present invention, a personal computer connected to the facsimile apparatus, and an interface box for connecting them.

【図2】上記ファクシミリ装置を示す正面断面図であ
る。
FIG. 2 is a front sectional view showing the facsimile apparatus.

【図3】上記ファクシミリ装置の操作パネルを示す平面
図である。
FIG. 3 is a plan view showing an operation panel of the facsimile apparatus.

【図4】上記ファクシミリ装置の制御装置の構成を示す
ブロック図である。
FIG. 4 is a block diagram showing a configuration of a control device of the facsimile machine.

【図5】上記制御装置の主体を成すコンピュータのRA
Mの構成を概念的に示す図である。
FIG. 5 is a diagram illustrating an RA of a computer which is a main body of the control device.
FIG. 3 is a diagram conceptually showing a configuration of M.

【図6】上記パソコンのキーボードを示す平面図であ
る。
FIG. 6 is a plan view showing a keyboard of the personal computer.

【図7】上記パソコンの制御装置の構成を示すブロック
図である。
FIG. 7 is a block diagram showing a configuration of a control device of the personal computer.

【図8】上記パソコンのRAMの構成を示すブロック図
である。
FIG. 8 is a block diagram showing a configuration of a RAM of the personal computer.

【図9】上記ファクシミリ装置のROMに格納されたア
イドル時コマンド受信P/S割込処理プログラムを示す
フローチャートである。
FIG. 9 is a flowchart showing an idle command reception P / S interrupt processing program stored in a ROM of the facsimile apparatus.

【図10】上記ファクシミリ装置のROMに格納された
アイドル時コマンド出力P/S割込処理プログラムを示
すフローチャートである。
FIG. 10 is a flowchart showing an idle command output P / S interrupt processing program stored in a ROM of the facsimile apparatus.

【図11】上記パソコンが有するデータをファクシミリ
装置により他のファクシミリ装置へ送信する際の画像デ
ータ,コマンドの送,受信を説明するシーケンスチャー
トである。
FIG. 11 is a sequence chart for explaining transmission and reception of image data and a command when the data of the personal computer is transmitted from the facsimile apparatus to another facsimile apparatus.

【図12】上記パソコンのROMに格納されたPCデー
タ送信指示プログラムを示すフローチャートである。
FIG. 12 is a flowchart showing a PC data transmission instruction program stored in a ROM of the personal computer.

【図13】上記パソコンのROMに格納されたPCデー
タ送信プログラムを示すフローチャートである。
FIG. 13 is a flowchart showing a PC data transmission program stored in a ROM of the personal computer.

【図14】上記ファクシミリ装置のROMに格納された
送信プログラムを示すフローチャートである。
FIG. 14 is a flowchart showing a transmission program stored in a ROM of the facsimile apparatus.

【図15】上記ファクシミリ装置のROMに格納された
データ送信時画像データ受信P/S割込処理プログラム
を示すフローチャートである。
FIG. 15 is a flowchart showing an image data reception P / S interruption processing program at the time of data transmission stored in the ROM of the facsimile apparatus.

【図16】上記ファクシミリ装置のROMに格納された
データ送信時コマンド受信P/S割込処理プログラムを
示すフローチャートである。
FIG. 16 is a flowchart showing a data transmission command reception P / S interruption processing program stored in a ROM of the facsimile apparatus.

【図17】上記ファクシミリ装置のROMに格納された
データ送信時画像データ送出モデム割込処理プログラム
を示すフローチャートである。
FIG. 17 is a flowchart showing an image data transmission modem interruption processing program at the time of data transmission stored in the ROM of the facsimile apparatus.

【図18】上記ファクシミリ装置のROMに格納された
データ送信時コマンド出力モデム割込処理プログラムを
示すフローチャートである。
FIG. 18 is a flowchart showing a data transmission command output modem interrupt processing program stored in the ROM of the facsimile apparatus.

【図19】上記ファクシミリ装置のROMに格納された
データ送信時コマンド受信モデム割込処理プログラムを
示すフローチャートである。
FIG. 19 is a flowchart showing a data transmission command reception modem interrupt processing program stored in the ROM of the facsimile apparatus.

【図20】上記ファクシミリ装置のROMに格納された
PCデータ送信プログラムを示すフローチャートであ
る。
FIG. 20 is a flowchart showing a PC data transmission program stored in a ROM of the facsimile apparatus.

【図21】上記パソコンが有する画像データを上記ファ
クシミリ装置により記録する際の画像データ,コマンド
の送,受信を説明するシーケンスチャートである。
FIG. 21 is a sequence chart illustrating transmission and reception of image data and commands when the image data of the personal computer is recorded by the facsimile apparatus.

【図22】上記ファクシミリ装置のROMに格納された
記録時画像データ受信P/S割込処理プログラムを示す
フローチャートである。
FIG. 22 is a flowchart showing a recording image data reception P / S interruption processing program stored in a ROM of the facsimile apparatus.

【図23】上記ファクシミリ装置のROMに格納された
PCデータ記録プログラムを示すフローチャートであ
る。
FIG. 23 is a flowchart showing a PC data recording program stored in a ROM of the facsimile apparatus.

【図24】上記ファクシミリ装置のROMに格納された
PC・TELプログラムを示すフローチャートである。
FIG. 24 is a flowchart showing a PC / TEL program stored in a ROM of the facsimile apparatus.

【図25】上記ファクシミリ装置が受信したファクシミ
リデータを上記パソコンに受信させる際の画像データ,
コマンドの送,受信を説明するシーケンスチャートであ
る。
FIG. 25 is a diagram showing image data when facsimile data received by the facsimile apparatus is received by the personal computer.
5 is a sequence chart illustrating transmission and reception of a command.

【図26】上記ファクシミリ装置のROMに格納された
FAXデータ受信時画像データ受信モデム割込処理プロ
グラムを示すフローチャートである。
FIG. 26 is a flowchart showing an image data reception modem interrupt processing program at the time of FAX data reception stored in the ROM of the facsimile apparatus.

【図27】上記ファクシミリ装置のROMに格納された
FAXデータ受信時コマンド受信モデム割込処理プログ
ラムを示すフローチャートである。
FIG. 27 is a flowchart showing a FAX data reception command reception modem interrupt processing program stored in the ROM of the facsimile apparatus.

【図28】上記ファクシミリ装置のROMに格納された
FAXデータ受信時コマンド出力モデム割込処理プログ
ラムを示すフローチャートである。
FIG. 28 is a flowchart showing a command output modem interruption processing program at the time of FAX data reception stored in the ROM of the facsimile apparatus.

【図29】上記ファクシミリ装置のROMに格納された
FAXデータ受信時画像データ送出P/S割込処理プロ
グラムを示すフローチャートである。
FIG. 29 is a flowchart showing a P / S interruption processing program for image data transmission at the time of facsimile data stored in the ROM of the facsimile apparatus.

【図30】上記ファクシミリ装置のROMに格納された
FAXデータ受信時データ受信P/S割込処理プログラ
ムを示すフローチャートである。
FIG. 30 is a flowchart showing a data reception P / S interruption processing program at the time of FAX data reception stored in the ROM of the facsimile apparatus.

【図31】上記ファクシミリ装置のROMに格納された
受信プログラムを示すフローチャートである。
FIG. 31 is a flowchart showing a receiving program stored in a ROM of the facsimile apparatus.

【図32】上記ファクシミリ装置のROMに格納された
FAX着信判定プログラムを示すフローチャートであ
る。
FIG. 32 is a flowchart showing a facsimile incoming call determination program stored in a ROM of the facsimile apparatus.

【図33】上記ファクシミリ装置のROMに格納された
F/Tモード時FAX着信判定プログラムを示すフロー
チャートである。
FIG. 33 is a flowchart showing a FAX reception determination program in F / T mode stored in the ROM of the facsimile apparatus.

【図34】上記ファクシミリ装置のROMに格納された
TADモード時FAX着信判定プログラムを示すフロー
チャートである。
FIG. 34 is a flowchart showing a TAD mode FAX incoming call determination program stored in the ROM of the facsimile apparatus.

【図35】上記ファクシミリ装置のROMに格納された
MCモード時FAX着信判定プログラムを示すフローチ
ャートである。
FIG. 35 is a flowchart showing a facsimile incoming call determination program in the MC mode stored in the ROM of the facsimile apparatus.

【図36】上記ファクシミリ装置のROMに格納された
DIS信号作成プログラムを示すフローチャートであ
る。
FIG. 36 is a flowchart showing a DIS signal creation program stored in a ROM of the facsimile apparatus.

【図37】上記ファクシミリ装置のROMに格納された
PC受信プログラムを示すフローチャートである。
FIG. 37 is a flowchart showing a PC reception program stored in a ROM of the facsimile apparatus.

【図38】上記ファクシミリ装置のROMに格納された
代行受信プログラムを示すフローチャートである。
FIG. 38 is a flowchart showing a proxy reception program stored in a ROM of the facsimile apparatus.

【図39】上記ファクシミリ装置のROMに格納された
紙出力プログラムを示すフローチャートである。
FIG. 39 is a flowchart showing a paper output program stored in a ROM of the facsimile apparatus.

【図40】上記ファクシミリ装置のROMに格納された
代行受信データ処理プログラムを示すフローチャートで
ある。
FIG. 40 is a flowchart showing an alternate reception data processing program stored in a ROM of the facsimile apparatus.

【図41】上記ファクシミリ装置とパソコンとの間にお
いて読取・送出が行われる場合のシーケンスチャートで
ある。
FIG. 41 is a sequence chart in a case where reading and sending are performed between the facsimile machine and a personal computer.

【図42】上記ファクシミリ装置のROMに格納された
読取・送出プログラムを示すフローチャートである。
FIG. 42 is a flowchart showing a reading / sending program stored in a ROM of the facsimile apparatus.

【図43】上記ファクシミリ装置のROMに格納された
読取・送出プログラムの一部を示すフローチャートであ
る。
FIG. 43 is a flowchart showing a part of a reading / sending program stored in a ROM of the facsimile apparatus.

【図44】上記ファクシミリ装置のROMに格納された
読取・送出プログラムの一部を示すフローチャートであ
る。
FIG. 44 is a flowchart showing a part of a reading / sending program stored in a ROM of the facsimile apparatus.

【符号の説明】[Explanation of symbols]

2 ファクシミリ装置 4 パソコン 11 受話器 20 記録紙センサ 29 記録装置 40 制御装置 42 画像読取装置 80 トナー残量検出装置 94 原稿台 98 原稿センサ 99 原稿終端センサ 114 他のファクシミリ装置(相手装置) 200 CPU 208 DMAC 210 I/Oポート 214 モデム 222 NCU 228 2値化回路 234 変調・復調機構 236 音声再生機構 240 パラレル/シリアル変換回路 252 PC側送信データバッファ 254 FAX側受信データバッファ 258 読取画像データバッファ 306 制御装置 2 Facsimile device 4 Personal computer 11 Receiver 20 Recording paper sensor 29 Recording device 40 Control device 42 Image reading device 80 Toner remaining amount detection device 94 Document table 98 Document sensor 99 Document end sensor 114 Other facsimile device (other device) 200 CPU 208 DMAC 210 I / O port 214 Modem 222 NCU 228 Binarization circuit 234 Modulation / demodulation mechanism 236 Audio reproduction mechanism 240 Parallel / serial conversion circuit 252 PC side transmission data buffer 254 FAX side reception data buffer 258 Read image data buffer 306 Control device

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 他のファクシミリデータ送信装置との接
続部およびコンピュータとの接続部を有するファクシミ
リ装置であって、 前記コンピュータがファクシミリデータを受信可能であ
るか否かを判定するファクシミリデータ受信可否判定手
段と、 前記ファクシミリデータ受信可否判定手段によりコンピ
ュータが受信不可能であると判定された場合に、ファク
シミリデータを記憶手段に記憶するモードと、ファクシ
ミリデータを記録用紙に記録するコンピュータ優先受信
モードとを選択するための選択手段とを含むことを特徴
とするファクシミリ装置。
1. A facsimile apparatus having a connection part to another facsimile data transmission apparatus and a connection part to a computer, wherein facsimile data reception determination is performed to determine whether the computer can receive facsimile data. Means, a mode for storing facsimile data in the storage means, and a computer priority reception mode for recording facsimile data on a recording sheet when the computer is determined to be unreceivable by the facsimile data reception availability determination means. A facsimile apparatus comprising: selecting means for selecting.
JP2000026997A 2000-01-01 2000-02-04 Facsimile equipment Pending JP2000201249A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000026997A JP2000201249A (en) 2000-01-01 2000-02-04 Facsimile equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000026997A JP2000201249A (en) 2000-01-01 2000-02-04 Facsimile equipment

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2000019987A Division JP2000188660A (en) 2000-01-01 2000-01-28 Facsimile terminal

Publications (1)

Publication Number Publication Date
JP2000201249A true JP2000201249A (en) 2000-07-18

Family

ID=18552647

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000026997A Pending JP2000201249A (en) 2000-01-01 2000-02-04 Facsimile equipment

Country Status (1)

Country Link
JP (1) JP2000201249A (en)

Similar Documents

Publication Publication Date Title
JP3119079B2 (en) Facsimile machine
US6323962B1 (en) Facsimile machine with facsimile data receiver and external computer
JP3060830B2 (en) Facsimile machine
JP3273097B2 (en) Facsimile machine
JP3060831B2 (en) Facsimile machine
JP3055398B2 (en) Facsimile machine
JP3060832B2 (en) Facsimile machine
JP4280377B2 (en) Image communication method and apparatus
JP3511245B2 (en) Facsimile machine
US5796493A (en) Facsimile machine
JP2000188660A (en) Facsimile terminal
JP2000201249A (en) Facsimile equipment
JPH07321991A (en) Facsimile equipment
JPH07322026A (en) Facsimile equipment
US5805679A (en) Communication device with automatic signal discrimination and method therefor
JPH10308872A (en) Image information processing unit
JP2003046699A (en) Reader, image forming device, control method of reader and control method of image forming device
JPH04172757A (en) Facsimile equipment
JP2002016784A (en) Facsimile terminal
JPH06164778A (en) Copying machine with facsimile function having automatic dialing function
JP3363618B2 (en) Facsimile machine
JPH07312663A (en) Facsimile equipment
JP2004247982A (en) Communication terminal
JPS60182865A (en) Facsimile equipment
JPH04172756A (en) Facsimile equipment

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040406

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040607

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20040721

A912 Removal of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20041112