JPH06101783B2 - Data receiving device - Google Patents
Data receiving deviceInfo
- Publication number
- JPH06101783B2 JPH06101783B2 JP61126886A JP12688686A JPH06101783B2 JP H06101783 B2 JPH06101783 B2 JP H06101783B2 JP 61126886 A JP61126886 A JP 61126886A JP 12688686 A JP12688686 A JP 12688686A JP H06101783 B2 JPH06101783 B2 JP H06101783B2
- Authority
- JP
- Japan
- Prior art keywords
- signal
- process proceeds
- received
- signal line
- line
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Landscapes
- Communication Control (AREA)
- Facsimile Transmission Control (AREA)
Description
【発明の詳細な説明】 [産業上の利用分野] 本発明は、バイナリ信号を受信する機能を備えたデータ
受信装置に関するものである。Description: TECHNICAL FIELD The present invention relates to a data receiving device having a function of receiving a binary signal.
[従来の技術] この種のデータ受信装置として、従来からファクシミリ
装置が広く知られている。[Prior Art] As a data receiving apparatus of this type, a facsimile apparatus has been widely known.
従来、ファクシミリの前手順において、エコーの影響で
通信ができないことがあった。Conventionally, in the pre-procedure of facsimile, communication may not be possible due to the influence of echo.
この様子を第14図に示す。第14図において、受信側は原
稿なしの情報を含むDIS信号を送信するが、このDIS信号
のエコーを、相手機が送信したDIS信号であると誤認し
て、自機にも相手機にも原稿がないと判断して通信を切
る様子が示されている。This is shown in FIG. In Fig. 14, the receiving side sends a DIS signal containing the information that there is no document, but the echo of this DIS signal is mistakenly recognized as the DIS signal sent by the other device, and it is sent to both the own device and the other device. It is shown that the communication is cut off when it is judged that there is no manuscript.
[発明が解決しようとする問題点] このように従来は、自機が出した信号のエコーを相手装
置が出した信号と誤認して、通信を終了してしまうこと
があった。[Problems to be Solved by the Invention] As described above, in the related art, the echo of the signal emitted by the own device may be mistakenly recognized as the signal emitted by the partner device and the communication may be terminated.
よって、本発明の目的は、自機が出した信号のエコーを
相手装置が出した信号と誤認して、通信を終了してしま
うことを防止できるデータ受信装置を提供することにあ
る。Therefore, an object of the present invention is to provide a data receiving apparatus that can prevent the communication from being ended by erroneously recognizing the echo of the signal output by the own apparatus as the signal output by the partner apparatus.
[問題点を解決するための手段] かかる目的を達成するために、本発明では、手動受信モ
ードと自動受信モードを有し、自己が送信した手順信号
と同一で内容が異なる手順信号を受信する場合があるデ
ータ受信装置において、自己が送信した手順信号と受信
した手順信号とを比較して、前記自己が送信した手順信
号の内容と前記受信した手順信号の内容が同一であれ
ば、前記受信した手順信号をエコーであると判定する判
定手段を含む通信手順信号と、手動受信モードか自動受
信モードかを検出する検出手段と、前記検出手段で手動
受信モードであることが検出された場合は、前記判定手
段にエコーか否かの判定を行わせ、他方、前記検出手段
で自動受信モードであることが検出された場合は、前記
判定手段にエコーか否かの判定を行わせない手段とを備
える。[Means for Solving the Problems] In order to achieve such an object, the present invention has a manual reception mode and an automatic reception mode, and receives a procedure signal which is the same as the procedure signal transmitted by itself but different in content. In some cases, the data receiving device compares the procedure signal transmitted by itself with the procedure signal received, and if the content of the procedure signal transmitted by itself and the content of the procedure signal received are the same, the reception is performed. In the case where the communication procedure signal including the determination means for determining the procedure signal as an echo, the detection means for detecting the manual reception mode or the automatic reception mode, and the manual reception mode are detected by the detection means, If the detection means detects that the reception mode is the automatic reception mode, on the other hand, the determination means does not determine whether the reception is an echo. Equipped with the means.
[作用] 本発明の上記構成によれば、前記検出手段で自動受信モ
ードであることが検出された場合は、前記判定手段にエ
コーか否かの判定を行わせ、他方、前記検出手段で自動
受信モードであることが検出された場合は、前記判定手
段にエコーか否かの判定を行わせないので、自機が出し
た信号のエコーを相手装置が出した信号と誤認して、通
信を終了してしまうことを防止することが可能となる。[Operation] According to the above configuration of the present invention, when the detection means detects that the reception mode is the automatic reception mode, the determination means determines whether or not an echo occurs, while the detection means automatically detects the echo. If the reception mode is detected, the determination means is not allowed to determine whether or not it is an echo, so the echo of the signal output by the own device is mistakenly recognized as the signal output by the other device, and communication is performed. It is possible to prevent the end.
[実施例] 以下、実施例に基づいて本発明を詳細に説明する。[Examples] Hereinafter, the present invention will be described in detail based on Examples.
(実施例1) 本実施例では、まず自機が送信したDIS信号と受信したD
IS信号とを比較し、内容が一致すれば自機が送信したDI
S信号のエコーであると判定し、さらに、このエコー判
定を行う条件を定めることで、常にエコー判定するもの
に比べて無駄な処理を行わないようにしている。(Embodiment 1) In the present embodiment, first, the DIS signal transmitted by the own device and the D signal received
Compared with the IS signal, if the contents match, the DI sent by the device itself
By determining that the echo is an S signal and further determining the condition for performing this echo determination, useless processing is always performed as compared with the echo determination.
まず、第12図および第13図を参照して、ファクシミリ通
信の手順を示す。First, the procedure of facsimile communication will be described with reference to FIGS. 12 and 13.
第12図は、被呼側で自動受信する場合である。自動受信
の場合、受信側のファクシミリ装置は、自機が被呼側で
あることが認識できる。自機が被呼側の場合、相手側か
ら受信すべき信号は、DCSまたはDTCであるので、DISを
受信してもエコー判定する必要はない。FIG. 12 shows a case where the called party automatically receives the call. In the case of automatic reception, the facsimile machine on the receiving side can recognize that it is the called side. When the own device is the called side, the signal to be received from the other side is DCS or DTC, so there is no need for echo judgment even if DIS is received.
第13図は、発呼側で手動受信する場合である。手動受信
の場合、受信側のファクシミリ装置は、自機が発呼側で
あるのか、被呼側であるのか認識できない。自機が発呼
側か判らない場合は、自機が被呼側かもしれないので、
DISを送信する一方、自機が発呼側かもしれないのでDIS
を受信する必要がある。従って、この場合には、自機が
送信したDISのエコーを、相手機のものと誤認する可能
性がある。よって、この場合には、エコー判定を行う必
要がある(以上が本発明の前提である)。FIG. 13 shows a case where the call is manually received by the calling side. In the case of manual reception, the facsimile machine on the receiving side cannot recognize whether it is the calling side or the called side. If you don't know if your machine is the calling party, you may be the called party,
While sending DIS, DIS may be the calling side, so DIS
Need to receive. Therefore, in this case, the echo of the DIS transmitted by the own device may be mistakenly recognized as that of the other device. Therefore, in this case, it is necessary to make an echo determination (the above is the premise of the present invention).
これらのことから、本発明では、自動受信であればエコ
ー判定をせず、手動受信であればエコー判定を行うもの
とする。From these things, in the present invention, it is assumed that the echo judgment is not made in the case of automatic reception, and the echo judgment is made in the case of manual reception.
第9図は、本発明を適用したファクシミリ装置の一実施
例を示すブロック図である。FIG. 9 is a block diagram showing an embodiment of a facsimile apparatus to which the present invention is applied.
第9図において、2は、網制御装置NCU(Network Contr
o1 Unit)であり、電話網をデータ通信等に使用するた
め、その回線の端末に接続して電話交換網の接続制御を
行ったり、データ通信路への切り替えを行う等の機能を
果たす。また、信号線2aは電話回線である。このNCU2
は、信号線38aの信号を入力し、この信号レベルが
「0」であれば、電話回線を電話機側(すなわち、信号
線2aを信号線2b)に接続する。また、信号線38aの信号
を入力し、この信号レベルが「1」であれば、電話回線
をファクシミリ装置側(すなわち、信号線2aを信号線2
c)に接続する。通常の状態では、電話回線は電話機側
に接続されている。In FIG. 9, 2 is a network control unit NCU (Network Contr
O1 Unit), which uses the telephone network for data communication, etc., performs the functions of controlling the connection of the telephone switching network by connecting to the terminal of the line and switching to the data communication path. The signal line 2a is a telephone line. This NCU2
Inputs the signal on the signal line 38a, and if the signal level is "0", connects the telephone line to the telephone side (that is, the signal line 2a to the signal line 2b). If the signal on the signal line 38a is input and the signal level is "1", the telephone line is connected to the facsimile machine side (that is, the signal line 2a is connected to the signal line 2
Connect to c). In a normal state, the telephone line is connected to the telephone side.
4は、電話機である。Reference numeral 4 is a telephone.
6は、送信系の信号と受信系の信号を分離するハイブリ
ッド回路である。すなわち、信号線18aの送信信号は、
信号線2cおよびNCU2を介して、電話回線に送出される。
また、相手側から送られてきた信号は、NCU2および信号
線2cを通り、信号線6aに出力される。Reference numeral 6 is a hybrid circuit for separating a transmission system signal and a reception system signal. That is, the transmission signal of the signal line 18a,
It is sent to the telephone line via the signal line 2c and NCU2.
Further, the signal sent from the other party passes through the NCU 2 and the signal line 2c and is output to the signal line 6a.
8は読取回路であり、主走査方向1ライン分の画信号を
送信すべき原稿より順次読み取り、白および黒の2値を
表す信号列を作成する。この読取回路8は、CCD(電荷
結合素子)等の撮像素子と光学系とにより構成する。ま
た、白および黒に2値化された信号列は、信号線8aに出
力される。Reference numeral 8 denotes a reading circuit, which sequentially reads an image signal for one line in the main scanning direction from a document to be transmitted, and creates a signal string representing binary values of white and black. The reading circuit 8 is composed of an image pickup device such as a CCD (charge coupled device) and an optical system. Further, the signal string binarized into white and black is output to the signal line 8a.
10は、符号化回路である。この符号化回路10は、信号線
8aに出力されている2値化された信号を入力し、符号化
(MH(モディファイド ハフマン)符号化あるいはMR
(モディファイド リード)符号化)し、さらに符号化
したデータを信号線10aに出力する。Reference numeral 10 is an encoding circuit. This encoding circuit 10 is a signal line
Input the binary signal output to 8a, and code (MH (Modified Huffman) coding or MR
(Modified read) encoding), and the encoded data is output to the signal line 10a.
12は、公知のCCITT勧告V27ter(差動位相変調)あるい
はV29(直交変調)に基づいた変調を行う変調器であ
る。この変調器12は、信号線10aの信号を入力して変調
を行い、変調データを信号線12aに出力する。Reference numeral 12 is a modulator that performs modulation based on the well-known CCITT recommendation V27ter (differential phase modulation) or V29 (quadrature modulation). The modulator 12 receives the signal on the signal line 10a, modulates the signal, and outputs the modulated data to the signal line 12a.
16は、公知のCCITT勧告V21に基づいた変調を行う変調器
である。この変調器16は、信号線38b上の手順信号を入
力して変調を行い、変調データを信号線16bに出力す
る。Reference numeral 16 is a modulator that performs modulation based on the well-known CCITT recommendation V21. The modulator 16 receives the procedure signal on the signal line 38b, modulates the procedure signal, and outputs the modulated data to the signal line 16b.
17は、GI2信号送出回路である。この回路17は、信号線3
8cにパルスが発生した時、信号線17aにGI2信号を送出す
る。Reference numeral 17 is a GI2 signal transmission circuit. This circuit 17 uses signal line 3
When a pulse is generated on 8c, the GI2 signal is sent to the signal line 17a.
18は、加算回路である。この加算回路18は、信号線12a,
信号線16b,信号線17aの信号を入力し、加算した結果を
信号線18aに出力する。18 is an adder circuit. This adder circuit 18 includes a signal line 12a,
The signals of the signal line 16b and the signal line 17a are input and the addition result is output to the signal line 18a.
20は、公知のCCITT勧告V27ter(差動位相変調)あるい
は、V29(直交変調)に基づいた復調を行う復調器であ
る。復調器20は、信号線6aの信号を入力して復調を行
い、復調データを信号線20aに出力する。Reference numeral 20 denotes a demodulator that performs demodulation based on the well-known CCITT recommendation V27ter (differential phase modulation) or V29 (quadrature modulation). The demodulator 20 receives the signal on the signal line 6a, demodulates it, and outputs the demodulated data to the signal line 20a.
22は、信号線20aに出力されている復調データを入力
し、復号化(MH(モディファイド ハフマン)復号化あ
るいはMR(モディファイド リード)復号化したデータ
を信号線22aに出力する回路である。Reference numeral 22 is a circuit that inputs the demodulated data output to the signal line 20a and outputs the decoded (MH (Modified Huffman) decoded or MR (Modified Read) decoded data to the signal line 22a.
24は、信号線22aに出力された復号化データを入力し、
白および黒の信号を1ライン毎に記録する記録回路であ
る。24 inputs the decoded data output to the signal line 22a,
A recording circuit that records white and black signals line by line.
26は、公知のCCITT勧告V21に基づいた復調を行う復調器
である。この復調器26は、信号線6aの信号を入力し、V2
1復調を行い、復調データを信号線26bに出力する。A demodulator 26 performs demodulation based on the well-known CCITT recommendation V21. This demodulator 26 inputs the signal of the signal line 6a and outputs V2
1 Demodulate and output demodulated data to the signal line 26b.
34は、信号線6aの信号を入力し、信号の1周期の時間を
測定するトーナルカウンタである。この1周期の時間に
より、受信した信号の周波数を認識し得る。このトーナ
ルカウンタは、相手側ファクシミリ装置が回線に送出す
る信号の周波数を認識するために用いる。Reference numeral 34 is a tonal counter for inputting the signal on the signal line 6a and measuring the time of one cycle of the signal. The frequency of the received signal can be recognized from the time of this one cycle. This tonal counter is used to recognize the frequency of the signal transmitted to the line by the facsimile machine on the other side.
38は、以下に述べる制御を行う制御回路である。38 is a control circuit for performing the control described below.
第10図において、ステップS50は、画像受信時の処理を
示している。In FIG. 10, step S50 shows processing at the time of image reception.
ステップS52においては、タイマーT1に35秒をセットす
る。In step S52, the timer T1 is set to 35 seconds.
ステップS54においては、(GI2;グループ識別)・NSF;
非標準装置・CSI;被呼局識別・DIS;デジタル識別信号を
送出する。ここでGI2信号は、1回目は送出せず、2回
目から送出する。In step S54, (GI2; group identification) NSF;
Non-standard equipment-CSI; Called station identification-DIS: Digital identification signal is sent. Here, the GI2 signal is not transmitted the first time but transmitted from the second time.
ステップS56においては、タイマーT4に3秒あるいは、
4.5秒をセットする。ここで、自動受信の場合は、タイ
マーT4に3秒をセットし、手動受信の場合は、タイマー
T4に4.5秒をセットする。In step S56, the timer T4 has 3 seconds or
Set 4.5 seconds. Here, in case of automatic reception, set timer T4 to 3 seconds, and in case of manual reception, timer
Set T4 to 4.5 seconds.
ステップS58においては、CCITT勧告V21のバイナリ信号
を受信したか否かが判断される。CCITT勧告V21のバイナ
リー信号を受信した場合は、ステップS60に進む。CCITT
勧告V21のバイナリー信号を受信していない時には、ス
テップS62に進む。In step S58, it is determined whether the CCITT recommendation V21 binary signal has been received. When the CCITT recommendation V21 binary signal is received, the process proceeds to step S60. CCITT
If the binary signal of Recommendation V21 is not received, the process proceeds to step S62.
ステップS60は、G3モードのバイナリ手順に移行するこ
とを表している。Step S60 represents shifting to the binary procedure in the G3 mode.
ステップS62においては、GC2信号あるいは、PIS(手順
中断)信号を検出したか否かが判断される。GC2信号あ
るいは、PIS信号を検出するときには、ステップS64に進
む。GC2信号あるいは、PIS信号を検出していないときに
は、ステップS66に進む。In step S62, it is determined whether the GC2 signal or the PIS (procedure interruption) signal is detected. When the GC2 signal or PIS signal is detected, the process proceeds to step S64. When the GC2 signal or the PIS signal is not detected, the process proceeds to step S66.
ステップS64は、トーナル手順に移行することを表して
いる。本実施例によるファクシミリ装置は、CCITT勧告G
2,G3機能を有する場合を想定しているので、トーナル信
号としては、GC2信号およびPIS信号の受信を行う。ここ
で、GC2信号を受信した時は、G2モードでの伝送を行
い、PIS信号を受信した時は、電話モードへ進む。Step S64 represents shifting to the tonal procedure. The facsimile apparatus according to this embodiment is CCITT Recommendation G
Since it is assumed to have the functions of 2 and G3, the GC2 signal and the PIS signal are received as the tonal signal. Here, when the GC2 signal is received, transmission in the G2 mode is performed, and when the PIS signal is received, the process proceeds to the telephone mode.
ステップS66においては、タイマーT4がタイムオーバー
したか否かが判断される。タイマーT4がタイムオーバー
すると、ステップS68に進む。タイマーT4がタイムオー
バしていないときには、ステップS58に進む。In step S66, it is determined whether or not the timer T4 has timed out. When the timer T4 times out, the process proceeds to step S68. When the timer T4 has not timed out, the process proceeds to step S58.
ステップS68においては、タイマーT1がタイムオーバー
したか否かが判断される。タイマーT1がタイムオーバー
すると、ステップS70に進む。タイマーT1がタイムオー
バーしていないときには、ステップS54に進む。ステッ
プS70においては、DCN(切断コマンド)信号の送出を行
う。In step S68, it is determined whether or not the timer T1 has timed out. When the timer T1 times out, the process proceeds to step S70. When the timer T1 has not timed out, the process proceeds to step S54. In step S70, a DCN (disconnect command) signal is transmitted.
ステップS72は、回線切断を表している。Step S72 represents line disconnection.
第10図に示した概略フローチャートにおいては、本実施
例特有の機能は示されていない。In the schematic flow chart shown in FIG. 10, the function peculiar to this embodiment is not shown.
次に、本実施例による制御手順の詳細を第11図(1)〜
(5)を参照して説明する。Next, details of the control procedure according to the present embodiment will be described with reference to FIG.
This will be described with reference to (5).
第11図において、ステップS80は、画像受信側の処理を
表している。In FIG. 11, step S80 represents processing on the image receiving side.
ステップS82においては、電話回線をファクシミリ装置
側に接続する。具体的には、信号線38aに信号レベル
「1」の信号を出力する。In step S82, the telephone line is connected to the facsimile device side. Specifically, the signal of the signal level "1" is output to the signal line 38a.
ステップS84においては、SIGTRC(SIGNAL TRN CONTRO
L)フラグに「0」をセットする。In step S84, SIGTRC (SIGNAL TRN CONTRO
L) Set "0" to the flag.
ステップS86においては2秒間待機する。In step S86, it waits for 2 seconds.
ステップS88においては、自動受信であるか否かが判断
される。自動受信である時は、ステップS90に進む。手
動受信である時は、ステップS94に進む。In step S88, it is determined whether or not the automatic reception is performed. If it is automatic reception, the process proceeds to step S90. If it is manual reception, the process proceeds to step S94.
ステップS90においては、CED(被呼局識別)信号を送出
する。In step S90, a CED (callee identification) signal is transmitted.
ステップS92においては、T4SAVに3秒をセットする。In step S92, T4SAV is set to 3 seconds.
ステップS94においては、T4SAVに4.5秒をセットする。In step S94, T4SAV is set to 4.5 seconds.
ステップS96においては、タイマーT1に35秒をセットす
る。In step S96, the timer T1 is set to 35 seconds.
ステップS98においては、フラグSIGTRCが「0」である
か否かが判断される。ここでは、初期識別信号を送出す
る時、1回目のみGI2信号を送出しない制御を行ってい
る。フラグSIGTRCが「0」である時は、ステップS102に
進む。また、フラグSIGTRCが「0」でない時は、ステッ
プS100に進む。In step S98, it is determined whether the flag SIGTRC is "0". Here, when the initial identification signal is transmitted, the GI2 signal is not transmitted for the first time. When the flag SIGTRC is "0", the process proceeds to step S102. If the flag SIGTRC is not "0", the process proceeds to step S100.
ステップS100においては、GI2信号を送出する。具体的
には信号線38cにパルスを発生する。In step S100, the GI2 signal is transmitted. Specifically, a pulse is generated on the signal line 38c.
ステップS102においては、フラグSIGTRCに1をセットす
る。In step S102, 1 is set in the flag SIGTRC.
ステップS104においては、NSF・CSI・DIS信号を送出す
る。具体的にはデータを信号線38bに送出することによ
り、NSF・CSI・DIS信号を送出する。In step S104, NSF / CSI / DIS signals are transmitted. Specifically, the NSF / CSI / DIS signals are transmitted by transmitting the data to the signal line 38b.
ステップS106においてはT4SAVに格納した時間をタイマ
ーT4にセットする。In step S106, the time stored in T4SAV is set in timer T4.
ステップS124においては、300b/sのバイナリー信号を受
信したか否かが判断される。300b/sのバイナリー信号を
受信するとステップS1861に進む。300b/sのバイナリー
信号を受信していないときには、ステップS134に進む。In step S124, it is determined whether a 300b / s binary signal has been received. When the 300b / s binary signal is received, the process proceeds to step S1861. If the binary signal of 300b / s is not received, the process proceeds to step S134.
ステップS134においては、今、受信した1周期の信号が
2100Hzであるか否かが判断される。今、受信した1周期
の信号が2100Hzである時は、ステップS140に進む。今、
受信した1周期の信号が2100Hzでない時は、ステップS1
42に進む。In step S134, the received signal of one cycle is
It is determined whether or not it is 2100 Hz. Now, when the received signal of one cycle is 2100 Hz, the process proceeds to step S140. now,
If the received signal of one cycle is not 2100Hz, step S1
Proceed to 42.
ステップS140は、GC2信号受信と判断し、G2の受信モー
ドへ移行することを表している。Step S140 represents that it is determined that the GC2 signal has been received and the mode is shifted to the G2 reception mode.
ステップS142においては、今、受信した1周期の信号が
462Hzであるか否かが判断される。今、受信した1周期
の信号が462Hzである時はステップS148に進む。今、受
信した1周期の信号が462Hzでない時は、ステップS150
に進む。In step S142, the received signal of one cycle is
It is determined whether or not it is 462 Hz. If the received signal of one cycle is 462 Hz, the process proceeds to step S148. If the received signal of one cycle is not 462 Hz, step S150
Proceed to.
ステップS148は、PIS信号受信と判断し、電話モードへ
移行することを表している。In step S148, it is determined that the PIS signal has been received and the mode is switched to the telephone mode.
ステップS150においては、タイマーT1がタイムオーバー
したか否かが判断される。タイマーT1がタイムオーバー
すると、ステップS154に進む。タイマーT1がタイムオー
バーしていないときには、ステップS152に進む。In step S150, it is determined whether the timer T1 has timed out. When the timer T1 times out, the process proceeds to step S154. When the timer T1 has not timed out, the process proceeds to step S152.
ステップS152においては、タイマーT4がタイムオーバー
したか否かが判断される。タイマーT4がタイムオーバー
すると、ステップS98に進む。タイマーT4がタイムオー
バーしていないときには、ステップS124に進む。In step S152, it is determined whether the timer T4 has timed out. When the timer T4 times out, the process proceeds to step S98. When the timer T4 has not timed out, the process proceeds to step S124.
ステップS154においては、DCN(切断コマンド)信号を
送出する。具体的には、データを信号線38bに送出する
ことにより、DCN信号を送出する。In step S154, a DCN (disconnect command) signal is transmitted. Specifically, the DCN signal is transmitted by transmitting the data to the signal line 38b.
ステップS156においては、電話回線を電話機側に接続す
る。具体的には、信号線38aに信号レベル「1」の信号
を出力する。In step S156, the telephone line is connected to the telephone side. Specifically, the signal of the signal level "1" is output to the signal line 38a.
ステップS158は、オフ状態を表している。Step S158 represents the off state.
ステップS1861においては、バイナリ信号の受信を行
う。すなわち、300b/sのバイナリーデータを入力し、そ
のデータをメモリに書き込む。In step S1861, a binary signal is received. That is, 300b / s binary data is input and the data is written in the memory.
ステップS192においては、受信したバイナリ信号のファ
クシミリ情報フィールドの解析を行う。In step S192, the facsimile information field of the received binary signal is analyzed.
ステップS194においては、いま受信したバイナリデータ
がCRP(コマンド再送要求)信号であるかが判断され
る。いま受信したバイナリデータがCRP信号である時
は、ステップS98に進む。また、いま受信したバイナリ
ーデータがCRP信号でない時は、ステップS196に進む。In step S194, it is determined whether the received binary data is a CRP (command resend request) signal. When the received binary data is the CRP signal, the process proceeds to step S98. If the received binary data is not the CRP signal, the process proceeds to step S196.
ステップS196においては、いま受信したフレームがラス
トフレームであるか否かが判断される。いま、受信した
フレームがラストフレームである時は、ステップS198に
進む。また、いま受信したフレームがラストフレームで
ない時は、ステップS1861に進む。In step S196, it is determined whether or not the received frame is the last frame. If the received frame is the last frame, the process proceeds to step S198. If the frame just received is not the last frame, the process proceeds to step S1861.
ステップS198においては、いま受信したバイナリ信号
は、直前に送出したバイナリ信号と同じであるか否かが
判断される。いま受信したバイナリ信号が、直前に送出
したバイナリ信号と同じである場合は、ステップS200に
進む。また、いま受信したバイナリ信号が直前に送出し
たバイナリ信号と違う場合は、ステップS242に進む。In step S198, it is determined whether or not the received binary signal is the same as the previously transmitted binary signal. When the received binary signal is the same as the binary signal transmitted immediately before, the process proceeds to step S200. If the received binary signal is different from the previously transmitted binary signal, the process proceeds to step S242.
ステップS200においては、いま受信したバイナリ信号
は、DIS(デジタル識別信号)信号であるか否かが判断
される。また、いま受信したバイナリ信号がDIS信号で
ある時は、ステップS202に進む。また、いま受信したバ
イナリ信号がDIS信号でない時は、エコーと判断し、ス
テップS124に進む。In step S200, it is determined whether or not the received binary signal is a DIS (digital identification signal) signal. If the received binary signal is the DIS signal, the process proceeds to step S202. If the received binary signal is not a DIS signal, it is determined to be an echo and the process proceeds to step S124.
ステップS202においては、自動着信であるか否かが判断
される(本発明の検出手段に相当する)。自動着信でな
い時は、ステップS204に進む(本発明の手動受信モード
であることが検出された場合は、前記判定手段にエコー
か否かの判定を行わせることに相当する)。自動着信で
ある時は、DISグループの信号を検出しても意味のない
信号であるので、ステップS108に進む(本発明の自動受
信モードであることが検出された場合は、前記判定手段
にエコーか否かの判定を行わせないことに相当する)。In step S202, it is determined whether or not it is an automatic incoming call (corresponding to the detecting means of the present invention). If the incoming call is not an automatic incoming call, the process proceeds to step S204 (corresponding to the determination means determining whether the echo is an echo when the manual reception mode of the present invention is detected). If it is an automatic incoming call, it is meaningless even if the signal of the DIS group is detected, so the process proceeds to step S108 (if it is detected that the automatic reception mode of the present invention is detected, echo to the judging means). It is equivalent to not making a decision whether or not).
ステップS204においては、直前に送出したバイナリ信号
と、いま受信したバイナリ信号のFIF(ファクシミリ情
報フィールド)が同じであるか否かが判断される(本発
明の通信手順手段に相当する)。直前に送出したバイナ
リ信号と、いま受信したバイナリ信号のFIFが違う場合
は、ステップS242に進む。また直前に送出したバイナリ
ー信号と、いま受信したバイナリ信号のFIFが同じ場合
は、エコーと判断し、ステップS124に進む。In step S204, it is determined whether or not the FIF (facsimile information field) of the binary signal transmitted immediately before and the binary signal just received are the same (corresponding to the communication procedure means of the present invention). If the FIF of the binary signal transmitted immediately before is different from that of the binary signal just received, the process proceeds to step S242. Further, if the FIF of the binary signal transmitted immediately before is the same as the FIF of the binary signal just received, it is determined to be an echo and the process proceeds to step S124.
ステップS198ないしステップS204は、エコーに対する対
策である。これは、本実施例特有の機能である。Steps S198 to S204 are measures against echo. This is a function peculiar to this embodiment.
ステップS242は、300b/sのバイナリ信号の受信が終了
し、受信した信号に基づいて次の動作へ進むことを表し
ている。Step S242 represents that the reception of the binary signal of 300b / s is completed and the next operation is performed based on the received signal.
なお、これまで述べた実施例においては、G3機能を有す
るファクシミリ装置について説明したが、その他の通信
装置においても本発明を適用し得ることは勿論である。In the embodiments described so far, the facsimile apparatus having the G3 function has been described, but it goes without saying that the present invention can be applied to other communication apparatuses.
(実施例2) 上記実施例をより詳しく説明したものを以下に述べる。(Example 2) What described the said Example in more detail is described below.
第1図は本発明に係るデータ受信装置の全体構成図であ
り、バイナリ信号およびトーナル信号を受信する機能を
備えたデータ受信装置において、前記バイナリ信号およ
び前記トーナル信号の周波数に基づいて決定される所定
のサンプリング周期により、前記バイナリ信号および前
記トーナル信号を逐次読み込む記憶手段Aと、前記記憶
手段の記憶内容に基づき、受信した信号が前記バイナリ
信号であるか前記トーナル信号であるかを判別する判定
手段Bとを具備する。FIG. 1 is an overall configuration diagram of a data receiving apparatus according to the present invention, which is determined based on the frequencies of the binary signal and the tonal signal in the data receiving apparatus having a function of receiving the binary signal and the tonal signal. A storage unit A that sequentially reads the binary signal and the tonal signal at a predetermined sampling cycle, and a determination that determines whether the received signal is the binary signal or the tonal signal, based on the storage content of the storage unit. Means B and.
第2図は、本発明を適用したファクシミリ装置の一実施
例を示すブロック図である。FIG. 2 is a block diagram showing an embodiment of a facsimile apparatus to which the present invention is applied.
第2図において、2は、網制御装置NCU(Network Contr
o1 Unit)であり、電話網をデータ通信等に使用するた
め、その回線の端末に接続して電話交換網の接続制御を
行ったり、データ通信路への切替えを行う等の機能を果
たす。また、信号線2aは電話回線である。このNCU2は、
信号線38aの信号を入力し、この信号レベルが「0」で
あれば、電話回線を電話機側(すなわち、信号線2aを信
号線2b)に接続する。また、信号線38aの信号を入力
し、この信号レベルが「1」であれば、電話回線をファ
クシミリ装置側(すなわち、信号線2aを信号線2c)に接
続する。通常の状態では、電話回線は電話機側に接続さ
れている。In FIG. 2, 2 is a network control unit NCU (Network Contr
o1 Unit), which uses the telephone network for data communication, etc., performs the functions of controlling the connection of the telephone switching network by connecting to the terminal of the line and switching to the data communication path. The signal line 2a is a telephone line. This NCU2 is
When the signal on the signal line 38a is input and the signal level is "0", the telephone line is connected to the telephone side (that is, the signal line 2a is the signal line 2b). If the signal on the signal line 38a is input and the signal level is "1", the telephone line is connected to the facsimile machine side (that is, the signal line 2a to the signal line 2c). In a normal state, the telephone line is connected to the telephone side.
4は、電話機である。Reference numeral 4 is a telephone.
6は、送信系の信号と受信系の信号を分離するハイブリ
ッド回路である。すなわち、信号線18aの送信信号は、
信号線2cおよびNCU2を介して、電話回線に送出される。
また、相手側から送られてきた信号は、NCU2および信号
線2cを通り、信号線6aに出力される。Reference numeral 6 is a hybrid circuit for separating a transmission system signal and a reception system signal. That is, the transmission signal of the signal line 18a,
It is sent to the telephone line via the signal line 2c and NCU2.
Further, the signal sent from the other party passes through the NCU 2 and the signal line 2c and is output to the signal line 6a.
8は読取回路であり、主走査方向1ライン分の画信号を
送信すべき原稿より順次読み取り、白および黒の2値を
表す信号列を作成する。この読取回路8は、CCD(電荷
結合素子)等の撮像素子と光学系とにより構成する。ま
た、白および黒に2値化された信号列は、信号線8aに出
力される。Reference numeral 8 denotes a reading circuit, which sequentially reads an image signal for one line in the main scanning direction from a document to be transmitted, and creates a signal string representing binary values of white and black. The reading circuit 8 is composed of an image pickup device such as a CCD (charge coupled device) and an optical system. Further, the signal string binarized into white and black is output to the signal line 8a.
10は、符号化回路である。この符号化回路で10は、信号
線8aに出力されている2値化された信号を入力し、符号
化(MH(モディファイド ハフマン)符号化あるいはMR
(モディファイド リード)符号化)し、さらに符号化
したデータを信号線10aに出力する。Reference numeral 10 is an encoding circuit. The encoding circuit 10 receives the binarized signal output to the signal line 8a and encodes it (MH (Modified Huffman) encoding or MR
(Modified read) encoding), and the encoded data is output to the signal line 10a.
12は、公知のCCITT勧告V27ter(差動位相変調)あるい
はV29(直交変調)に基づいた変調を行う変調器であ
る。この変調器12は、信号線10aの信号を入力して変調
を行い、変調データを信号線12aに出力する。Reference numeral 12 is a modulator that performs modulation based on the well-known CCITT recommendation V27ter (differential phase modulation) or V29 (quadrature modulation). The modulator 12 receives the signal on the signal line 10a, modulates the signal, and outputs the modulated data to the signal line 12a.
14は、パラレル−シリアル(P/S)変換回路である。こ
のパラレル−シリアル変換回路14は、2つのバッファ
(バッファ「0」およびバッファ「1」)を有してい
る。最初の時点では、2つのバッファとも空であるの
で、信号線14aにバイトバックのクロックを発生する。
そして、制御回路38からバイトデータが書きこまれる
と、このデータはバッファ「0」に格納される。バッフ
ァ「0」に格納されたデータは他のバッファ(バッファ
「1」)が空であるので、バッファ1に移される。する
と、バッファ「0」は空となるので、信号線14aにバイ
トバックのクロックを発生する。そして、制御回路38か
らバイトデータが書きこまれると、このデータはバッフ
ァ「0」に格納される。制御回路38から送出されたバイ
トデータは、信号線38bを介して、このバッファに書き
こまれる。このP/S変換回路14は、バッファ「1」に格
納されたバイトデータをパラレル−シリアル変換し、信
号線16aにクロックが送出される毎に、シリアルデータ
を信号線14bに出力する。8ビットのシリアルデータが
信号線14bに出力されると、バッファ「1」は空となる
ので、バッファ「0」に格納されているバイトデータ
を、バッファ「1」に移す。そして、信号線14aにバイ
トパツクのクロックを発生する。制御回路38から信号線
38bを介してバイトデータが書きこまれると、このデー
タはバッファ「0」に格納される。信号線38bには、信
号線14aにバイトパックのクロックが送出される毎に、
手順信号がバイトパックされて送出される。Reference numeral 14 is a parallel-serial (P / S) conversion circuit. The parallel-serial conversion circuit 14 has two buffers (buffer “0” and buffer “1”). At the initial point of time, since both buffers are empty, a byte-back clock is generated on the signal line 14a.
When the byte data is written from the control circuit 38, this data is stored in the buffer "0". The data stored in the buffer “0” is moved to the buffer 1 because the other buffer (buffer “1”) is empty. Then, the buffer "0" becomes empty, and a byte-back clock is generated on the signal line 14a. When the byte data is written from the control circuit 38, this data is stored in the buffer "0". The byte data sent from the control circuit 38 is written into this buffer via the signal line 38b. The P / S conversion circuit 14 performs parallel-serial conversion on the byte data stored in the buffer "1", and outputs serial data to the signal line 14b every time a clock is sent to the signal line 16a. When the 8-bit serial data is output to the signal line 14b, the buffer "1" becomes empty, so the byte data stored in the buffer "0" is transferred to the buffer "1". Then, a byte pack clock is generated on the signal line 14a. Signal line from control circuit 38
When byte data is written via 38b, this data is stored in the buffer "0". The signal line 38b, every time the byte pack clock is sent to the signal line 14a,
The procedure signal is byte-packed and transmitted.
16は、公知のCCITT勧告V21に基づいた変調を行う変調器
である。この変調器16は、データの送出タイミングを表
すクロックを信号線16aに出力する。また、変調器16
は、信号線14b上のシリアル手順信号を入力して変調を
行い、変調データを信号線16bに出力する。Reference numeral 16 is a modulator that performs modulation based on the well-known CCITT recommendation V21. The modulator 16 outputs a clock indicating the data transmission timing to the signal line 16a. Also, modulator 16
Receives the serial procedure signal on the signal line 14b, modulates the signal, and outputs the modulated data to the signal line 16b.
17は、G12信号送出回路である。この回路17は、信号線3
8cにパルスが発生した時、信号線17aにG12信号を送出す
る。そして、G12信号の送出が終了した時、信号線17bに
パルスを発生する。17 is a G12 signal transmission circuit. This circuit 17 uses signal line 3
When a pulse is generated on 8c, the G12 signal is sent to the signal line 17a. Then, when the transmission of the G12 signal is completed, a pulse is generated on the signal line 17b.
18は、加算回路である。この加算回路18は、信号線12a,
信号線16b,信号線17aの信号を入力し、加算した結果を
信号線18aに出力する。18 is an adder circuit. This adder circuit 18 includes a signal line 12a,
The signals of the signal line 16b and the signal line 17a are input and the addition result is output to the signal line 18a.
20は、公知のCCITT勧告V27ter(差動位相変調)あるい
は、V29(直交変調)に基づいた復調を行う復調器であ
る。復調器20は、信号線6aの信号を入力して復調を行
い、復調データを信号線20aに出力する。Reference numeral 20 denotes a demodulator that performs demodulation based on the well-known CCITT recommendation V27ter (differential phase modulation) or V29 (quadrature modulation). The demodulator 20 receives the signal on the signal line 6a, demodulates it, and outputs the demodulated data to the signal line 20a.
22は、信号線20aに出力されている復調データを入力
し、復号化(MH(モディファイド ハフマン)復号化あ
るいはMR(モディファイド リード)復号化したデータ
を信号線22aに出力する回路である。Reference numeral 22 is a circuit that inputs the demodulated data output to the signal line 20a and outputs the decoded (MH (Modified Huffman) decoded or MR (Modified Read) decoded data to the signal line 22a.
24は、信号線22aに出力された復号化データを入力し、
白および黒の信号を1ライン毎に記録する記録回路であ
る。24 inputs the decoded data output to the signal line 22a,
A recording circuit that records white and black signals line by line.
26は、公知のCCITT勧告V21に基づいた復調を行う復調器
である。この復調器26は、信号線6aの信号を入力し、V2
1復調を行い、復調データを信号線26bに出力する。受信
したデータのタイミングクロックは、信号線26aに出力
される。A demodulator 26 performs demodulation based on the well-known CCITT recommendation V21. This demodulator 26 inputs the signal of the signal line 6a and outputs V2
1 Demodulate and output demodulated data to the signal line 26b. The timing clock of the received data is output to the signal line 26a.
28は、シリアル−パラレル(S/P)変換回路である。信
号線26aにクロックが8回送出されると8ビットのデー
タがそろう(このデータは、信号線26bに出力されてい
る信号である)ので、この8ビットのデータがそろった
時、シリアル−パラレル変換回路28は、信号線28aにク
ロックを発生し、バイトデータを信号線28bに出力す
る。28 is a serial-parallel (S / P) conversion circuit. When the clock is sent to the signal line 26a eight times, 8-bit data is obtained (this data is the signal output to the signal line 26b). Therefore, when the 8-bit data is obtained, serial-parallel The conversion circuit 28 generates a clock on the signal line 28a and outputs byte data to the signal line 28b.
30は、信号線6aの信号を入力し、増幅する増幅器であ
る。増幅された信号は、信号線30aに出力される。すな
わち、相手側ファクシミリ装置から送出された信号は、
本ファクシミリ装置に到着する間に、伝送媒体である電
話回線により減衰されるため、この増幅器30により増幅
を行う。Reference numeral 30 is an amplifier for inputting and amplifying the signal of the signal line 6a. The amplified signal is output to the signal line 30a. That is, the signal sent from the facsimile machine on the other side is
While arriving at the present facsimile machine, since it is attenuated by the telephone line which is a transmission medium, the amplifier 30 amplifies the data.
32は、信号線30aの信号を入力し、ある基準電圧に対し
て2値化を行う2値化回路である。2値化された信号
は、信号線32aに出力される。Reference numeral 32 is a binarization circuit which inputs the signal of the signal line 30a and binarizes a certain reference voltage. The binarized signal is output to the signal line 32a.
34は、信号線32aの信号を入力し、信号の1周期の時間
を測定するトーナルカウンタである。この1周期の時間
により、受信した信号の周波数を認識し得る。このトー
ナルカウンタは、相手側ファクシミリ装置が回線に送出
する信号の周波数を認識するために用いるもの。Reference numeral 34 is a tonal counter which inputs the signal of the signal line 32a and measures the time of one cycle of the signal. The frequency of the received signal can be recognized from the time of this one cycle. This tonal counter is used by the facsimile machine on the other side to recognize the frequency of the signal sent to the line.
第3図は、信号線6a上の信号および信号線32a上の2値
化した信号を示す波形図である。ここで、2値化した信
号はさらに分周され、1周期Tの時間が測定され、もっ
てその周波数が決定される。1周期Tの測定法として
は、ある一定のクロック(本実施例においては、77.76k
Hz)を用いて求めるもとができる。この場合、例えば、
2100Hzの信号は37クロック分に相当している。すなわ
ち、1周期分のクロック数が35ないし39までのいずれか
であるときには、その信号の周波数が2100Hzであると判
断する。ここで、35クロックは2222Hzに、39クロックは
1994Hzに相当する。このように、1994Hzないし2222Hzの
信号を検出した時、1周期2100Hzの信号を検出したもの
とする。FIG. 3 is a waveform diagram showing a signal on the signal line 6a and a binarized signal on the signal line 32a. Here, the binarized signal is further divided, the time of one cycle T is measured, and the frequency thereof is determined. As a method of measuring one period T, a certain fixed clock (77.76k in this embodiment) is used.
Hz) can be used to find the source. In this case, for example,
The 2100 Hz signal corresponds to 37 clocks. That is, when the number of clocks for one cycle is any of 35 to 39, it is determined that the frequency of the signal is 2100 Hz. Here, 35 clock is 2222Hz, 39 clock is
Corresponds to 1994Hz. Thus, it is assumed that when a signal of 1994 Hz to 2222 Hz is detected, a signal of 2100 Hz for one cycle is detected.
そして、ある一定時間以内に、1周期の時間が2100Hzで
ある(クロック数が35から39である)と複数回検出され
たとき、2100Hzの信号を検出したものと判断する。Then, when it is detected a plurality of times that the time of one cycle is 2100 Hz (the number of clocks is 35 to 39) within a certain fixed time, it is determined that the signal of 2100 Hz is detected.
トーナルカウンタ回路34は、1周期の測定が終了した
時、信号線34aにパルスを発生すると共に、信号線34bに
は何クロック分であったかのデータを出力する。The tonal counter circuit 34 generates a pulse on the signal line 34a and outputs data on the signal line 34b indicating the number of clocks when one cycle of measurement is completed.
36は、信号有無検出回路であり、信号線6aの信号を入力
し、−43dBm以上の信号が検出された時には信号線36aに
信号レベル「1」の信号を出力し、また−48dBm以下の
信号が検出された時には、信号線36aに信号レベル
「0」の信号を出力する。また、信号線6aの信号が、−
48dBmを越え−43dBm未満である時には、信号線36aには
信号レベル「0」あるいは信号レベル「1」の信号が出
力される。Reference numeral 36 is a signal presence / absence detection circuit, which inputs the signal of the signal line 6a, outputs a signal of signal level "1" to the signal line 36a when a signal of -43 dBm or more is detected, and a signal of -48 dBm or less When is detected, a signal of signal level "0" is output to the signal line 36a. In addition, the signal on the signal line 6a is −
When the value is more than 48 dBm and less than -43 dBm, the signal of the signal level "0" or the signal level "1" is output to the signal line 36a.
38は、以下に述べる制御を行う制御回路である。ここで
は、相手側ファクシミリ装置から送出される信号の態様
として、2つの場合を考える。以下に、制御および制
御の2つに分けて説明する。38 is a control circuit for performing the control described below. Here, two cases are considered as modes of the signal transmitted from the facsimile apparatus on the other side. Below, control and control will be described separately.
制御:本ファクシミリ装置が画像受信側である時、ま
ず、初期識別信号を送出した後、相手側ファクシミリ装
置から送出される信号の受信を行うが、この場合の信号
を受信するための制御である。Control: When the present facsimile apparatus is the image receiving side, first, the initial identification signal is transmitted, and then the signal transmitted from the facsimile apparatus on the other side is received. This control is for receiving the signal in this case. .
制御:本ファクシミリ装置が画像送信側である時、ま
ず、相手側ファクシミリ装置から送出される初期識別信
号の受信を行うが、この場合の信号を受信するための制
御である。Control: When the present facsimile device is the image transmitting side, first, the initial identification signal sent from the facsimile device on the other side is received. This control is for receiving the signal in this case.
上述した制御について、第4図に示すフローチャート
を参照して以下に説明していく。The control described above will be described below with reference to the flowchart shown in FIG.
第4図において、ステップS50は、画像受信時の処理を
示している。In FIG. 4, step S50 shows the processing at the time of image reception.
ステップS52においては、タイマーT1に35秒をセットす
る。In step S52, the timer T1 is set to 35 seconds.
ステップS54においては(GI2;グループ識別)・NSF;非
標準装置・CSI;被呼局識別・DIS;デジタル識別信号を送
出する。ここで、GI2信号は、1回目は送出せず、2回
目から送出する。In step S54, (GI2; group identification), NSF, non-standard device, CSI, called station identification, DIS, digital identification signal is transmitted. Here, the GI2 signal is not transmitted the first time, but is transmitted from the second time.
ステップS56においては、タイマーT4に3秒あるいは、
4.5秒をセットする。ここで、自動受信の場合は、タイ
マーT4に3秒をセットし、手動受信の場合は、タイマー
T4に4.5秒をセットする。In step S56, the timer T4 has 3 seconds or
Set 4.5 seconds. Here, in case of automatic reception, set timer T4 to 3 seconds, and in case of manual reception, timer
Set T4 to 4.5 seconds.
ステップS58においては、CCITT勧告V21のバイナリ信号
を受信したか否かが判断される。CCITT勧告V21のバイナ
リー信号を受信した場合は、ステップS60に進む。CCITT
勧告V21のバイナリー信号を受信していない時には、ス
テップS62に進む。In step S58, it is determined whether the CCITT recommendation V21 binary signal has been received. When the CCITT recommendation V21 binary signal is received, the process proceeds to step S60. CCITT
If the binary signal of Recommendation V21 is not received, the process proceeds to step S62.
ステップS60は、G3モードのバイナリ手順に移行するこ
とを表している。Step S60 represents shifting to the binary procedure in the G3 mode.
ステップS62においては、GC2信号あるいは、PIS(手順
中断)信号を検出したか否かが判断される。GC2信号あ
るいは、PIS信号を検出するときには、ステップS64に進
む。GC2信号あるいは、PIS信号を検出していないときに
は、ステップS66に進む。In step S62, it is determined whether the GC2 signal or the PIS (procedure interruption) signal is detected. When the GC2 signal or PIS signal is detected, the process proceeds to step S64. When the GC2 signal or the PIS signal is not detected, the process proceeds to step S66.
ステップS64は、トーナル手順に移行することを表して
いる。本実施例によるファクシミリ装置は、CCITT勧告G
2,G3機能を有する場合を想定しているので、トーナル信
号としては、GC2信号およびPIS信号の受信を行う。ここ
で、GC2信号を受信した時は、G2モードでの伝送を行
い、PIS信号を受信した時は、電話モードへ進む。Step S64 represents shifting to the tonal procedure. The facsimile apparatus according to this embodiment is CCITT Recommendation G
Since it is assumed to have the functions of 2 and G3, the GC2 signal and the PIS signal are received as the tonal signal. Here, when the GC2 signal is received, transmission in the G2 mode is performed, and when the PIS signal is received, the process proceeds to the telephone mode.
ステップS66においては、タイマーT4がタイムオーバー
したか否かが判断される。タイマーT4がタイムオーバー
すると、ステップS68に進む。タイマーT4がタイムオー
バーしていないときには、ステップS58に進む。In step S66, it is determined whether or not the timer T4 has timed out. When the timer T4 times out, the process proceeds to step S68. When the timer T4 has not timed out, the process proceeds to step S58.
ステップS68においては、タイマーT1がタイムオーバー
したかが判断される。タイマーT1がタイムオーバーする
と、ステップS70に進む。タイマーT1がタイムオーバー
していないときには、ステップS54に進む。In step S68, it is determined whether the timer T1 has timed out. When the timer T1 times out, the process proceeds to step S70. When the timer T1 has not timed out, the process proceeds to step S54.
ステップS70においては、DCN(切断コマンド)信号の送
出を行う。In step S70, a DCN (disconnect command) signal is transmitted.
ステップS72は、回線切断を表している。Step S72 represents line disconnection.
第4図に示した概略フローチャートにおいては、本実施
例特有の機能は示されていない。In the schematic flow chart shown in FIG. 4, the function peculiar to this embodiment is not shown.
次に、本実施例による制御手順の詳細を第5図(1)〜
(5)を参照して説明する。Next, details of the control procedure according to the present embodiment will be described with reference to FIG.
This will be described with reference to (5).
第5図において、ステップS80は、画像受信側の処理を
表している。In FIG. 5, step S80 represents processing on the image receiving side.
ステップS82においては、電話回線をファクシミリ装置
側に接続する。具体的には、信号線38aに信号レベル
「1」の信号を出力する。In step S82, the telephone line is connected to the facsimile device side. Specifically, the signal of the signal level "1" is output to the signal line 38a.
ステップS84においては、SIGTRC(SIGNAL TRN CONTRO
L)フラグに「0」をセットする。In step S84, SIGTRC (SIGNAL TRN CONTRO
L) Set "0" to the flag.
ステップS86においては2秒間待機する。In step S86, it waits for 2 seconds.
ステップS88においては、自動受信であるか否かが判断
される。自動受信である時は、ステップS90に進む。手
動受信である時は、ステップS94に進む。In step S88, it is determined whether or not the automatic reception is performed. If it is automatic reception, the process proceeds to step S90. If it is manual reception, the process proceeds to step S94.
ステップS90においては、CED(被呼局識別)信号を送出
する。In step S90, a CED (callee identification) signal is transmitted.
ステップS92においては、T4SAVに3秒をセットする。In step S92, T4SAV is set to 3 seconds.
ステップS94においては、T4SAVに4.5秒をセットする。In step S94, T4SAV is set to 4.5 seconds.
ステップS96においては、タイマーT1に35秒をセットす
る。In step S96, the timer T1 is set to 35 seconds.
ステップS98においては、フラグSIGTRCが「0」である
か否かが判断される。ここでは、初期識別信号を送出す
る時、1回目のみGI2信号を送出しない制御を行ってい
る。フラグSIGTRCが「0」である時は、ステップS102に
進む。また、フラグSIGTRCが「0」でない時は、ステッ
プ100に進む。In step S98, it is determined whether the flag SIGTRC is "0". Here, when the initial identification signal is transmitted, the GI2 signal is not transmitted for the first time. When the flag SIGTRC is "0", the process proceeds to step S102. If the flag SIGTRC is not "0", the process proceeds to step 100.
ステップS100においては、GI2信号を送出する。具体的
には信号線38cにパルスを発生し、GI2信号の送出を開始
し、信号線17bにパルスが発生するのを待機する。信号
線17bにパルスが発生した時、ステップS104に進む。In step S100, the GI2 signal is transmitted. Specifically, a pulse is generated on the signal line 38c, the transmission of the GI2 signal is started, and the generation of a pulse on the signal line 17b is awaited. When a pulse is generated on the signal line 17b, the process proceeds to step S104.
ステップS102においては、フラグSIGTRCに1をセットす
る。In step S102, 1 is set in the flag SIGTRC.
ステップS104においては、NSF・CSI・DIS信号を送出す
る。具体的には信号線14aにパルスが発生する毎にバイ
トデータを信号線38bに送出することにより、NSF・CSI
・DIS信号を送出する。最後のフラグは1つとする。In step S104, NSF / CSI / DIS signals are transmitted. Specifically, by sending byte data to the signal line 38b every time a pulse is generated on the signal line 14a, the NSF / CSI
・ Send DIS signal. There is only one last flag.
ステップS106においては、T4SAVに格納した時間をタイ
マーT4にセットする。In step S106, the time stored in T4SAV is set in timer T4.
ステップS108においては、受信したデータを格納するエ
リアBIRCOにOOHをセットする。In step S108, OOH is set in the area BIRCO storing the received data.
ステップS110においては、受信したデータを格納するエ
リアBIRC1にOOHをセットする。In step S110, OOH is set in the area BIRC1 storing the received data.
ステップS112においては、エコータイマーECHTIMに600m
sをセットする。In step S112, the echo timer ECHTIM is set to 600 m.
Set s.
ステップS114においては、2バイト連続した7EH(0111
1110B)パターンを検出した時に「1」にセットされ
るフラグFLGIDTを「0」にセットする。In step S114, 7 bytes of consecutive 7 bytes (0111
1110B) The flag FLGIDT, which is set to "1" when the pattern is detected, is set to "0".
ステップS116においては、フラグFLGDETに「0」をセッ
トする。In step S116, "0" is set in the flag FLGDET.
ステップS118においては、1つのフレームを受信してい
る時のバイト数をカウントするカウンタCNTBYTに「0」
をセットする。In step S118, the counter CNTBYT that counts the number of bytes when receiving one frame is "0".
Set.
ステップS120においては、1周期の信号の周波数を解析
した時、2100Hzであったと判断されることが788回あっ
た場合には、GC2信号を検出したものと判断する。この7
88回をカウントするのに使用するカウンタCNT210に788
をセットする。2周期に1回、周波数の解析を行うこと
が可能であるので、788回は、 の2100Hzを検出することに対応する。In step S120, when the frequency of the signal of one cycle is analyzed and it is determined that the frequency is 2100 Hz 788 times, it is determined that the GC2 signal is detected. This 7
788 to counter CNT210 used to count 88 times
Set. Since it is possible to analyze the frequency once every two cycles, 788 times Corresponding to detecting 2100Hz.
ステップS122においては、1周期の信号の周波数を解析
した時、462Hzであったと判断されることが231回あった
場合、PIS信号を検出したものと判断する。この231回を
カウントするのに使用するカウンタCNT462に231をセッ
トする。2周期に1回、周波数の解析を行うことが可能
であるので、231回は、 の462Hzを検出することに対応する。In step S122, when the frequency of the signal of one cycle is analyzed and it is determined that the frequency is 462 Hz 231 times, it is determined that the PIS signal is detected. 231 is set to the counter CNT462 used to count the 231 times. Since it is possible to analyze the frequency once every two cycles, 231 times Corresponding to detecting 462Hz.
ステップS124においては、300b/sのバイトロックが発生
したか否かが判断される。具体的には、信号線28aにク
ロックが発生したか否かが判断される。300b/sのバイト
ロックが発生すると(すなわち、信号線28aにクロック
が発生すると)、ステップS160に進む。300b/sのバイト
ロックが発生していないとき(すなわち、信号線28aに
クロックが発生していないとき)には、ステップS126に
進む。In step S124, it is determined whether or not a byte lock of 300b / s has occurred. Specifically, it is determined whether or not a clock is generated on the signal line 28a. When a byte lock of 300b / s occurs (that is, a clock occurs on the signal line 28a), the process proceeds to step S160. When the byte lock of 300b / s is not generated (that is, when the clock is not generated in the signal line 28a), the process proceeds to step S126.
ステップS126においては、FLGIDTが「0」であるか、す
なわち、2バイトの連続したフラグパターン(7EH)を
検出しているか否かが判断される。FLGIDTが「0」のと
き、すなわち、2バイトの連続したフラグパターン(7E
H)を検出していないときは、ステップS128に進む。FLG
IDTが「1」のとき、すなわち、2バイトの連続したフ
ラグパターン(7EH)を検出しているときは、ステップS
150に進み、トーナル信号の解析は行わない。In step S126, it is determined whether FLGIDT is "0", that is, whether a 2-byte continuous flag pattern (7EH) is detected. When FLGIDT is "0", that is, a 2-byte continuous flag pattern (7E
H) is not detected, the process proceeds to step S128. FLG
When IDT is "1", that is, when a 2-byte consecutive flag pattern (7EH) is detected, step S
Proceed to 150 and do not analyze the tonal signal.
ステップS128においては、SED(Signal Energy Detec
t)が1であるか否か、すなわち、信号線36aが信号レベ
ル「1」であるか否かが判断される。SEDが1である
時、すなわち、信号線36aが信号レベル「1」である時
は、ステップS130に進み、トーナル信号の解析へ進む。
SEDが0である時、すなわち、信号線36aが信号レベル
「0」である時は、ステップS150に進み、トーナル信号
の解析は行わない。In step S128, SED (Signal Energy Detec
It is determined whether or not t) is 1, that is, whether or not the signal line 36a is at the signal level "1". When SED is 1, that is, when the signal line 36a is at the signal level "1", the process proceeds to step S130 and the tonal signal analysis is performed.
When SED is 0, that is, when the signal level of the signal line 36a is "0", the process proceeds to step S150, and the tonal signal is not analyzed.
上記のステップS126およびS128は、本実施例特有の部分
を表している。The above steps S126 and S128 represent the parts peculiar to this embodiment.
ステップS130においては、トーナル信号の1周期の解析
が終了したか否か、すなわち、信号線34aにパルスが発
生したか否かが判断される。トーナル信号の1周期の解
析が終了した場合、すなわち、信号線34aにパルスが発
生した場合には、ステップS132に進む。また、トーナル
信号の1周期の解析が終了していない場合、すなわち、
信号線34aにパルスが発生していない場合には、ステッ
プS150に進む。In step S130, it is determined whether the analysis of one cycle of the tonal signal is completed, that is, whether a pulse is generated on the signal line 34a. When the analysis of one cycle of the tonal signal is completed, that is, when a pulse is generated on the signal line 34a, the process proceeds to step S132. When the analysis of one cycle of the tonal signal is not completed, that is,
If no pulse is generated on the signal line 34a, the process proceeds to step S150.
ステップS132においては、トーナルデータ(すなわち、
信号線34bの信号)を入力する。In step S132, the tonal data (ie,
Signal on the signal line 34b).
ステップS134においては、今、受信した1周期の信号が
2100Hzであるか否かが判断される。今、受信した1周期
の信号が2100Hzである時は、ステップS136に進む。今、
受信した1周期の信号が2100Hzでない時は、ステップS1
42に進む。In step S134, the received signal of one cycle is
It is determined whether or not it is 2100 Hz. If the received signal of one cycle is 2100 Hz, the process proceeds to step S136. now,
If the received signal of one cycle is not 2100Hz, step S1
Proceed to 42.
ステップS136においては、カウンタCNT210の値を1だけ
デクリメントする。In step S136, the value of the counter CNT210 is decremented by 1.
ステップS138においては、カウンタCNT210の値が負であ
るか否か、すなわち、GC2信号を検出したか否かが判断
される。カウンタCNT210の値が負である時、すなわち、
GC2信号を検出した時は、ステップS140に進む。カウン
タCNT210の値が正または零である時、すなわち、GC2信
号を検出していない時は、ステップS150に進む。In step S138, it is determined whether the value of the counter CNT210 is negative, that is, whether the GC2 signal is detected. When the value of the counter CNT210 is negative, that is,
When the GC2 signal is detected, the process proceeds to step S140. When the value of the counter CNT210 is positive or zero, that is, when the GC2 signal is not detected, the process proceeds to step S150.
ステップS140は、GC2信号受信と判断し、G2の受信モー
ドへ移行することを表している。Step S140 represents that it is determined that the GC2 signal has been received and the mode is shifted to the G2 reception mode.
ステップS142においては、今、受信した1周期の信号が
462Hzであるか否かが判断される。今、受信した1周期
の信号が462Hzである時は、ステップS144に進む。今、
受信した1周期の信号が462Hzでない時は、ステップS15
0に進む。In step S142, the received signal of one cycle is
It is determined whether or not it is 462 Hz. If the received signal of one cycle is 462 Hz, the process proceeds to step S144. now,
If the received signal of one cycle is not 462 Hz, step S15
Go to 0.
ステップS144においては、カウンタCNT462の値を1だけ
デクリメントする。In step S144, the value of the counter CNT462 is decremented by 1.
ステップS146においては、カウンタCNT462の値が負であ
るか否か、すなわち、PIS信号を検出したか否かが判断
される。カウンタCNT462の値が負である時、すなわち、
PIS信号を検出した時は、ステップS148に進む。カウン
タCNT462の値が正または零である時、すなわち、PIS信
号を検出していない時は、ステップS150に進む。In step S146, it is determined whether the value of the counter CNT462 is negative, that is, whether the PIS signal is detected. When the value of the counter CNT462 is negative, that is,
When the PIS signal is detected, the process proceeds to step S148. When the value of the counter CNT462 is positive or zero, that is, when the PIS signal is not detected, the process proceeds to step S150.
ステップS148は、PIS信号受信と判断し、電話モードへ
移行することを表している。In step S148, it is determined that the PIS signal has been received and the mode is switched to the telephone mode.
ステップS150においては、タイマーT1がタイムオーバー
したか否かが判断される。タイマーT1がタイムオーバー
すると、ステップS154に進む。タイマーT1がタイムオー
バーしていないときには、ステップS152に進む。In step S150, it is determined whether the timer T1 has timed out. When the timer T1 times out, the process proceeds to step S154. When the timer T1 has not timed out, the process proceeds to step S152.
ステップS152においては、タイマーT4がタイムオーバー
したか否かが判断される。タイマーT4がタイムオーバー
すると、ステップS98に進む。タイマーT4がタイムオー
バーしていないときには、ステップS124に進む。In step S152, it is determined whether the timer T4 has timed out. When the timer T4 times out, the process proceeds to step S98. When the timer T4 has not timed out, the process proceeds to step S124.
ステップS154においては、DCN(切断コマンド)信号を
送出する。具体的には、信号線14aにパルスが発生する
毎にバイトデータを信号線38bに送出することにより、D
CN信号を送出する。最後のフラグは1つとする。In step S154, a DCN (disconnect command) signal is transmitted. Specifically, by sending byte data to the signal line 38b every time a pulse is generated on the signal line 14a, D
Send CN signal. There is only one last flag.
ステップS156においては、電話回線を電話機側に接続す
る。具体的には、信号線38aに信号レベル「1」の信号
を出力する。In step S156, the telephone line is connected to the telephone side. Specifically, the signal of the signal level "1" is output to the signal line 38a.
ステップS158は、オフ状態を表している。Step S158 represents the off state.
ステップS160においては、エコータイマーECHTIMがタイ
ムオーバーしたか否か、すなわち、(GI2)・NSF・CSI
・DIS信号の送出後、600msが経過したか否かが判断され
る。エコータイマーECHTIMがタイムオーバーした場合、
すなわち、(GI2)・NSF・CSI・DIS信号の送出後、600m
sが経過している場合は、ステップS162に進み、バイナ
リ信号の受信を行う。他方、エコータイマーECHTIMがタ
イムオーバーしていない場合、すなわち、(GI2)・NSF
・CSI・DIS信号の送出後、600msが経過していない場合
は、ステップS126に進み、トーナル信号の受信を行う。
これは、自機が信号を送出し、相手機から送出される信
号の受信を行う際、トーナル信号の受信は直ちに開始
し、バイナリー信号は、ある一定時間経過後に開始する
ことを示している。これは、本実施例特有の部分であ
る。これにより、600ms以下のエコーに対しては、誤動
作は全く生じなくなる。At step S160, whether or not the echo timer ECHTIM has timed out, that is, (GI2) .NSF.CSI
・ It is judged whether or not 600ms has elapsed after the DIS signal was sent. When the echo timer ECHTIM times out,
That is, 600m after sending (GI2) / NSF / CSI / DIS signals
If s has elapsed, the process proceeds to step S162, and a binary signal is received. On the other hand, if the echo timer ECHTIM has not expired, that is, (GI2) · NSF
-If 600 ms has not elapsed after transmitting the CSI / DIS signal, the process proceeds to step S126, and the tonal signal is received.
This means that when the device itself sends a signal and receives the signal sent from the other device, the reception of the tonal signal starts immediately and the binary signal starts after a certain period of time elapses. This is a part peculiar to this embodiment. As a result, no malfunction occurs for echoes of 600 ms or less.
ステップS162においては、受信したバイナリデータ(す
なわち、信号線28bのデータ)を、メモリBIRC2に格納す
る。In step S162, the received binary data (that is, the data on the signal line 28b) is stored in the memory BIRC2.
ステップS164においては、受信したバイナリデータ(8
ビット)カウントするためのカウンタBITCT1に8をセッ
トする。In step S164, the received binary data (8
(Bit) Set 8 to the counter BITCT1 for counting.
ステップS166においては、メモリBIRC0の値が7EH(すな
わち、フラグパターン)であるか否かが判断される。メ
モリBIRC0の値が7EH(すなわち、フラグパターン)であ
る時は、ステップSS168に進む。メモリBIRC0の値がや7E
H(すなわち、フラグパターン)でない時は、ステップS
174に進む。In step S166, it is determined whether the value of the memory BIRC0 is 7EH (that is, the flag pattern). When the value of the memory BIRC0 is 7EH (that is, the flag pattern), the process proceeds to step SS168. The value of memory BIRC0 is 7E
If not H (that is, flag pattern), step S
Proceed to 174.
ステップS168においては、フラグFLGIDTが0であるか否
かが判断される。フラグFLGIDTが0の時、すなわち、2
バイトの連続した7EH(フラグパターン)を検出してい
ない時は、ステップS170に進む。フラグFLGIDTが0でな
い時、すなわち、2バイトの連続した7EH(フラグパタ
ーン)を検出している時は、ステップS180に進む。In step S168, it is determined whether the flag FLGIDT is 0 or not. When the flag FLGIDT is 0, that is, 2
When 7EH (flag pattern) in which bytes are consecutive is not detected, the process proceeds to step S170. When the flag FLGIDT is not 0, that is, when 2 bytes of continuous 7EH (flag pattern) are detected, the process proceeds to step S180.
ステップS170においては、メモリBIRC1の値が7EH(すな
わち、フラグパターン)であるか否かが判断される。メ
モリBIRC1の値が7EH(すなわち、フラグパターン)であ
る時は、ステップS172に進む。メモリBIRC1の値が7EH
(すなわち、フラグパターン)でない時は、ステップS1
74に進む。In step S170, it is determined whether the value of the memory BIRC1 is 7EH (that is, the flag pattern). When the value of the memory BIRC1 is 7EH (that is, the flag pattern), the process proceeds to step S172. Value of memory BIRC1 is 7EH
If not (that is, flag pattern), step S1
Proceed to 74.
ステップS172においては、2バイトの連続した7EH(フ
ラグ)パターンを検出したので、フラグFLGIDTに「1」
をセットする。In step S172, a continuous 7EH (flag) pattern of 2 bytes is detected, so the flag FLGIDT is set to "1".
Set.
ステップS174においては、カウンタBITCT1が「0」であ
るか否か、すなわち、ステップS162で入力したバイトデ
ータのチェックがすべて完了したか否かが判断される。
カウンタBITCT1が「0」の時、すなわち、ステップS162
で入力したバイトデータのチェックがすべて完了した時
は、ステップS184に進む。他方、カウンタBITCT1が
「0」でない時、すなわち、ステップS162で入力したバ
イトデータのチェックがすべて完了していない時は、ス
テップS176に進む。In step S174, it is determined whether or not the counter BITCT1 is "0", that is, whether or not all the byte data input in step S162 have been checked.
When the counter BITCT1 is "0", that is, step S162
When all the byte data input in step S4 have been checked, the process proceeds to step S184. On the other hand, when the counter BITCT1 is not "0", that is, when the byte data input in step S162 are not all checked, the process proceeds to step S176.
ステップS176においては、メモリBIRC2,BIRC1,BIRC0の
データを1ビットずつ右へ移動する。この様子は、第6
図に図示されている。In step S176, the data in the memories BIRC2, BIRC1, BIRC0 are moved right by one bit. This is the sixth
It is illustrated in the figure.
ステップS178においては、カウンタBITCT1の値を1だけ
減じる。In step S178, the value of the counter BITCT1 is decremented by 1.
ステップS180においては、メモリBIRC1の値が7EH(すな
わち、フラグパターン)であるか否かが判断される。メ
モリBIRC1の値が7EH(すなわち、フラグパターン)であ
る時は、フラグパターンが連続しているものと判断し、
ステップS174に進む、メモリBIRC1の値が7EH(すなわ
ち、フラグパターン)でない時は、プリアンブルの送出
が終了したものと判断し、ステップS182に進む。In step S180, it is determined whether the value of the memory BIRC1 is 7EH (that is, the flag pattern). When the value of the memory BIRC1 is 7EH (that is, the flag pattern), it is determined that the flag patterns are continuous,
When the value of the memory BIRC1 is not 7EH (that is, the flag pattern), the process proceeds to step S174, it is determined that the transmission of the preamble is completed, and the process proceeds to step S182.
ステップS182においては、プリアンブルの最後のフラグ
を検出したことを表わすフラグFLGDETに「1」をセット
する。In step S182, "1" is set to flag FLGDET indicating that the last flag of the preamble has been detected.
ステップS184においては、フラグFLGDETが「0」である
か否か、すなわち、プリアンブルの最後のフラグを検出
しているか否かが判断される。フラグFLGDETが「0」で
ある時、すなわち、プリアンブルの最後のフラグを検出
していない時は、ステップS126に進む。他方、フラグFL
GDETが「1」である時、すなわち、プリアンブルの最後
のフラグを検出している時は、ステップS186に進む。In step S184, it is determined whether the flag FLGDET is "0", that is, whether the last flag of the preamble is detected. When the flag FLGDET is "0", that is, when the last flag of the preamble is not detected, the process proceeds to step S126. On the other hand, flag FL
When GDET is "1", that is, when the last flag of the preamble is detected, the process proceeds to step S186.
ステップS186に進む場合は、2バイト以上の連続したフ
ラグパターンを検出し、その後、フラグパターン以外の
パターンを検出した場合である。ここで、自機が送出す
るバイナリ信号の最終部分のフラグは1つである。この
ため、自機の送出したバイナリ信号の最終部分のフラグ
を検出して、ステップS186に進むことはない。The case of proceeding to step S186 is a case where a continuous flag pattern of 2 bytes or more is detected and then a pattern other than the flag pattern is detected. Here, there is one flag in the final part of the binary signal transmitted by the device itself. Therefore, the flag of the final part of the binary signal transmitted by the device itself is not detected and the process does not proceed to step S186.
ステップS186においては、バイナリ信号の受信を行う。
すなわち、300b/sのバイトクロック(信号線28aのバイ
トクロック)が発生する毎に、バイトデータを入力し、
0デリートおよびFCSを演算しながら、バイトデータを
メモリに書き込む。受信したバイト数は、カウンタCNTB
YTに示される。ここで、バイナ信号の受信中にタイマー
T1がタイムオーバーした時は、DCN(切断コマンド)信
号を送出し、その後、電話回線を電話機側へ接続し、OF
Fとなる。また、最終部分のフラグを検出した時は、ス
テップS188に進む。バイナリ信号を受信中に、200ms連
続してCD(キャリアディテクト)が「0」であることを
検出した場合は、ステップS108に進む。更に、1フレー
ムのバイト数(CNTBYT)が128を越えた場合も、ステッ
プS108に進む。これは、本実施例特有の機能である。こ
こでは、カウンタBITCT1等の制御も行う。In step S186, the binary signal is received.
That is, each time a byte clock of 300b / s (byte clock of the signal line 28a) is generated, byte data is input,
Write byte data to the memory while calculating 0 delete and FCS. The number of bytes received is counter CNTB
Shown in YT. Where the timer while receiving the binar signal
When T1 times out, it sends a DCN (disconnect command) signal, then connects the telephone line to the telephone side, and then OF
It becomes F. When the flag of the final portion is detected, the process proceeds to step S188. When it is detected that the CD (carrier detect) is “0” for 200 ms continuously while receiving the binary signal, the process proceeds to step S108. Further, even when the number of bytes (CNTBYT) of one frame exceeds 128, the process proceeds to step S108. This is a function peculiar to this embodiment. Here, the control of the counter BITCT1 etc. is also performed.
ステップS188においては、いま、受信したフレームのバ
イト数(CNTBYT)が5未満であるか否かが判断される。
いま、受信したフレームのバイト数が5未満の時は、ス
テップS108に進む。またいま、受信したフレームのバイ
ト数が5以上の時は、ステップS190に進む。ここで、正
しくバイナリ信号を受信した時のバイト数は少なくとも
5バイト(アドレス,制御,ファクシミリ制御,ファク
シミリ情報フィールド,フレームチェックシーケンス2
バイト)である。In step S188, it is determined whether or not the number of bytes (CNTBYT) of the received frame is less than 5.
If the number of bytes of the received frame is less than 5, the process proceeds to step S108. If the number of bytes of the received frame is 5 or more, the process proceeds to step S190. Here, the number of bytes when a binary signal is correctly received is at least 5 bytes (address, control, facsimile control, facsimile information field, frame check sequence 2
Byte).
ステップS190においては、フレームチェックシーケンス
が正しいか否かが判断される。フレームチェックシーケ
ンスが正しい時は、ステップS192に進む。フレームチェ
ックシーケンスが誤っている時は、ステップS108に進
む。In step S190, it is determined whether the frame check sequence is correct. When the frame check sequence is correct, the process proceeds to step S192. If the frame check sequence is incorrect, the process proceeds to step S108.
ステップS192においては、受信したバイナリ信号のファ
クシミリ情報フィールドの解析を行う。In step S192, the facsimile information field of the received binary signal is analyzed.
ステップS194においては、いま受信したバイナリーデー
タがCRP(コマンド再送要求)信号であるかが判断され
る。いま受信したバイナリデータがCRP信号である時
は、ステップS210に進む。また、いま受信したバイナリ
データがCRP信号でない時は、ステップS196に進む。In step S194, it is determined whether the received binary data is a CRP (command resend request) signal. When the received binary data is the CRP signal, the process proceeds to step S210. If the received binary data is not the CRP signal, the process proceeds to step S196.
ステップS196においては、いま受信したフレームがラス
トフレームであるか否かが判断される。今、受信したフ
レームがラストフレームである時は、ステップS198に進
む。また、いま受信したフレームがラストフレームでな
い時は、ステップS206に進む。In step S196, it is determined whether or not the received frame is the last frame. If the received frame is the last frame, the process proceeds to step S198. If the frame just received is not the last frame, the process proceeds to step S206.
ステップS198においては、いま受信したバイナリ信号
は、直前に送出したバイナリ信号と同じであるか否かが
判断される。いま受信したバイナリ信号が、直前に送出
したバイナリ信号と同じである場合は、ステップS200に
進む。また、いま受信したバイナリ信号が直前に送出し
たバイナリ信号と違う場合は、ステップS212に進む。In step S198, it is determined whether or not the received binary signal is the same as the previously transmitted binary signal. When the received binary signal is the same as the binary signal transmitted immediately before, the process proceeds to step S200. If the received binary signal is different from the previously transmitted binary signal, the process proceeds to step S212.
ステップS200においては、いま受信したバイナリ信号
は、DIS(デジタル識別信号)信号であるかが判断され
る。また、いま受信したバイナリ信号がDIS信号である
時は、ステップS202に進む。また、いま受信したバイナ
リ信号がDIS信号でない時は、エコーと判断し、ステッ
プS108に進む。In step S200, it is determined whether the received binary signal is a DIS (digital identification signal) signal. If the received binary signal is the DIS signal, the process proceeds to step S202. If the received binary signal is not the DIS signal, it is determined to be an echo and the process proceeds to step S108.
ステップS202においては、自動着信であるか否かが判断
される。自動着信でない時は、ステップS204に進む。自
動着信である時は、DISグループの信号を検出しても意
味のない信号であるので、ステップS108に進む。In step S202, it is determined whether or not it is an automatic incoming call. If it is not an automatic incoming call, the process proceeds to step S204. When the incoming call is an automatic incoming call, it is meaningless even if the signal of the DIS group is detected, so the process proceeds to step S108.
ステップS204においては、直前に送出したバイナリ信号
と、いま受信したバイナリ信号のFIF(ファクシミリ情
報フィールド)が同じであるか否かが判断される。直前
に送出したバイナリ信号と、いま受信したバイナリ信号
のFIFが違う場合は、ステップS212に進む。また直前に
送出したバイナリー信号と、いま受信したバイナリ信号
のFIFが同じ場合は、エコーと判断し、ステップS108に
進む。In step S204, it is determined whether the binary signal transmitted immediately before and the FIF (facsimile information field) of the binary signal just received are the same. If the FIF of the binary signal transmitted immediately before is different from that of the binary signal just received, the process proceeds to step S212. Further, if the FIF of the binary signal transmitted immediately before is the same as the FIF of the binary signal just received, it is determined to be an echo and the process proceeds to step S108.
ステップS198ないし、ステップS204は、エコーに対する
対策である。これは、本実施例特有の機能である。Steps S198 to S204 are measures against echo. This is a function peculiar to this embodiment.
ステップS206においては、フラグFLGDETに「0」をセッ
トする。In step S206, "0" is set in the flag FLGDET.
ステップS208においては、フラグCNTBYTに「0」をセッ
トする。In step S208, "0" is set in the flag CNTBYT.
ステップS210においては、後述するステップS212ないし
ステップS240に示すV21信号のCD=0を確認した後、ス
テップS98に進む。In step S210, after confirming that CD = 0 of the V21 signal shown in steps S212 to S240 described later, the process proceeds to step S98.
ステップS212においては、タイマーT2に10秒をセットす
る。In step S212, timer T2 is set to 10 seconds.
ステップS214においては、メモリBIRC0が7EH(フラグパ
ターン)であるか否かが判断される。メモリBIRC0が7EH
(フラグパターン)である時は、ステップS216に進む。
また、メモリBIRC0が7EH(フラグパターン)でない時
は、ステップS218に進む。In step S214, it is determined whether or not the memory BIRC0 is 7EH (flag pattern). Memory BIRC0 is 7EH
If it is (flag pattern), the process proceeds to step S216.
If the memory BIRC0 is not 7EH (flag pattern), the process proceeds to step S218.
ステップS216においては、メモリBIRC1が7EH(フラグパ
ターン)であるか否かが判断される。メモリBIRC1が7EH
(フラグパターン)である時は、フラグ信号が連続して
いるものと判断し、ステップS218に進む。また、メモリ
BIRC1が7EH(フラグパターン)でない(メモリBIRC0は7
EH(フラグパターン)である時は、クローズドフラグを
検出したものと判断し、ステップS236に進む。In step S216, it is determined whether or not the memory BIRC1 is 7EH (flag pattern). Memory BIRC1 is 7EH
If it is (flag pattern), it is determined that the flag signals are continuous, and the process proceeds to step S218. Also memory
BIRC1 is not 7EH (flag pattern) (memory BIRC0 is 7
If it is EH (flag pattern), it is determined that the closed flag is detected, and the process proceeds to step S236.
ステップS218においては、カウンタBITCT1が「0」であ
るか否かが判断される。カウンタBITCT1が「0」である
時は、ステップS224に進む。また、カウンタBITCT1が
「0」でない時は、ステップS220に進む。In step S218, it is determined whether the counter BITCT1 is "0". When the counter BITCT1 is "0", the process proceeds to step S224. If the counter BITCT1 is not "0", the process proceeds to step S220.
ステップS220においては、メモリBIRC2,BIRC1,BIRC0の
データを1ビットずつ右へ移動する。In step S220, the data in the memories BIRC2, BIRC1, BIRC0 are moved right by one bit.
ステップS222においては、カウンタBITCT1の値を1だけ
減じる。In step S222, the value of the counter BITCT1 is decremented by 1.
ステップS224においては、タイマーT2がタイムオーバー
したか否かが判断される。タイマーT2がタイムオーバー
した時は、ステップS232に進む。他方、タイマーT2がタ
イムオーバーしていない時は、ステップS226に進む。In step S224, it is determined whether the timer T2 has timed out. When the timer T2 times out, the process proceeds to step S232. On the other hand, when the timer T2 has not timed out, the process proceeds to step S226.
ステップS226においては、300b/sのバイトクロックが発
生したか否か、すなわち、信号線28aにクロックが発生
したか否かが判断される。300b/sのバイトクロックが発
生した時、すなわち、信号線28aにクロックが発生した
時は、ステップS228に進む。また、300b/sのバイトクロ
ックが発生していない時、すなわち、信号線28aにクロ
ックが発生していない時は、ステップS224に進む。In step S226, it is determined whether or not a byte clock of 300b / s has occurred, that is, whether or not a clock has occurred on the signal line 28a. When the byte clock of 300b / s is generated, that is, when the clock is generated on the signal line 28a, the process proceeds to step S228. Further, when the byte clock of 300b / s is not generated, that is, when the clock is not generated on the signal line 28a, the process proceeds to step S224.
ステップS228においては、受信したバイナリデータ(信
号線28bに出力されているデータ)をメモリBIRC2に格納
する。In step S228, the received binary data (data output to the signal line 28b) is stored in the memory BIRC2.
ステップS230においては、カウンタBITCT1に8をセット
する。In step S230, the counter BITCT1 is set to 8.
ステップS232においては、電話回線を電話機側に接続す
る。具体的には、信号線38aに信号レベル「0」の信号
を出力する。In step S232, the telephone line is connected to the telephone side. Specifically, the signal of the signal level "0" is output to the signal line 38a.
ステップS234は、エラーを表している。Step S234 represents an error.
ステップS236においては、タイマーT2に1秒をセツトす
る。In step S236, the timer T2 is set to 1 second.
ステップS238においては、200ms間連続してSED(Signal
Energy Detect)が「0」であることを検出したか否か
が判断される。このSEDが「0」であるか「1」である
かは、信号線36aの信号を入力して判断する。200ms間連
続してSEDが「0」であることを検出した時は、ステッ
プS242に進む。また、200ms間連続してSEDが「0」であ
ることを検出していない時は、ステップS240に進む。In step S238, SED (Signal
It is determined whether or not it has been detected that "Energy Detect" is "0". Whether the SED is "0" or "1" is determined by inputting the signal on the signal line 36a. When it is detected that SED is “0” continuously for 200 ms, the process proceeds to step S242. If it is not detected that SED is “0” continuously for 200 ms, the process proceeds to step S240.
ステップS240においては、タイマーT2がタイムオーバー
したか否かが判断される。タイマーT2がタイムオーバし
た時は、ステップS242に進む。他方、タイマーT2がタイ
ムオーバーしていない時は、ステップS238に進む。In step S240, it is determined whether the timer T2 has timed out. When the timer T2 times out, the process proceeds to step S242. On the other hand, when the timer T2 has not timed out, the process proceeds to step S238.
ステップS212ないしステップS240は、本実施例特有の機
能を示している。Steps S212 to S240 indicate functions unique to this embodiment.
ステップS242は、300b/sのバイナリ信号の受信が終了
し、受信した信号に基づいて次の動作へ進むことを表し
ている。Step S242 represents that the reception of the binary signal of 300b / s is completed and the next operation is performed based on the received signal.
上述した第5図において、300b/sのバイトクロックが発
生した時(ステップS124で判断する)は、300b/sの解析
へ向かう。そして、300b/sの解析において、バイナリ信
号の受信と判断されない時は、ステップS126に進む。In FIG. 5 described above, when the byte clock of 300b / s is generated (determined in step S124), the analysis of 300b / s is started. Then, in the analysis of 300 b / s, when it is not determined that the binary signal is received, the process proceeds to step S126.
更に、トーナル信号の1周期の解析が終了した時(ステ
ップS130で判断)は、トーナル信号の解析へ進む。そし
て、トーナル信号の解析において、トーナル信号の受信
と判断されない時は、ステップS124に進む。Further, when the analysis of one cycle of the tonal signal is completed (determined in step S130), the process proceeds to the analysis of the tonal signal. Then, in the analysis of the tonal signal, when it is not determined that the tonal signal is received, the process proceeds to step S124.
このように、トーナル信号とバイナリ信号を同時に受信
する必要がある時、受信したすべての信号を見落すこと
なく、常にトーナル信号およびバイナリ信号の受信を行
うことが可能になる。これは、本実施例特有の機能であ
る。In this way, when it is necessary to receive the tonal signal and the binary signal at the same time, it is possible to always receive the tonal signal and the binary signal without overlooking all the received signals. This is a function peculiar to this embodiment.
次に、既述の制御について、第7図に示すフローチャ
ートを参照して説明する。Next, the above-mentioned control will be described with reference to the flowchart shown in FIG.
第7図において、ステップS250は、画像送信側の処理を
表している。In FIG. 7, step S250 represents processing on the image transmission side.
ステップS252においては、タイマーT1に35秒をセットす
る。In step S252, the timer T1 is set to 35 seconds.
ステップS254においては、CCITT勧告V21のバイナリ信号
を受信したか否かが判断される。CCITT勧告V21のバイナ
リ信号を受信した場合は、ステップS256に進む。また、
CCITT勧告V21のバイナリ信号を受信していない場合に
は、ステップS258に進む。In step S254, it is determined whether the CCITT recommendation V21 binary signal is received. If the CCITT recommendation V21 binary signal is received, the process proceeds to step S256. Also,
If the CCITT recommendation V21 binary signal is not received, the process proceeds to step S258.
ステップS256は、G3モードのバイナリ手順に移行するこ
とを表している。Step S256 represents shifting to the G3 mode binary procedure.
ステップS258においては、GI2信号を検出したか否かが
判断される。GI2信号を検出するときには、ステップS64
260に進む。他方、GI2信号を検出していないときには、
ステップS262に進む。In step S258, it is determined whether or not the GI2 signal is detected. When detecting the GI2 signal, step S64
Continue to 260. On the other hand, when the GI2 signal is not detected,
Proceed to step S262.
ステップS260は、トーナル手順に移行することを表して
いる。本実施例によるファクシミリ装置は、CCITT勧告G
2,G3機能を有する場合を想定しているので、トーナル信
号としては、GI2信号の受信を行う必要がある。Step S260 represents shifting to the tonal procedure. The facsimile apparatus according to this embodiment is CCITT Recommendation G
Since it is assumed to have the functions of 2 and G3, it is necessary to receive the GI2 signal as the tonal signal.
ステップS262においては、タイマーT1がタイムオーバー
したか否かが判断される。タイマーT1がタイムオーバー
したときには、ステップS264に進む。また、タイマーT1
がタイムオーバーしていないときには、ステップS254に
進む。In step S262, it is determined whether the timer T1 has timed out. When the timer T1 times out, the process proceeds to step S264. Also, timer T1
When is not over, the process proceeds to step S254.
ステップS264は、回線切断を表している。Step S264 represents line disconnection.
上述した第7図示の概略フローチャートにおいては、本
実施例特有の機能は示されていない。そこで、第8図
(1)〜(4)に示す詳細なフローチャートを参照し
て、本実施例の制御手順を述べる。In the schematic flow chart shown in FIG. 7 described above, the function peculiar to this embodiment is not shown. Therefore, the control procedure of this embodiment will be described with reference to the detailed flowcharts shown in FIGS. 8 (1) to 8 (4).
第8図において、ステップS270は、画像送信側の処理を
表している。In FIG. 8, step S270 represents processing on the image transmission side.
ステップS272においては、電話回線をファクシミリ装置
側に接続する。具体的には、信号線38aに信号レベル
「1」の信号を出力する。In step S272, the telephone line is connected to the facsimile device side. Specifically, the signal of the signal level "1" is output to the signal line 38a.
ステップS274においては、タイマーT1に35秒をセットす
る。In step S274, the timer T1 is set to 35 seconds.
ステップS276においては、GI2信号を何回検出したかを
カウントするためのカウンタGI2DETに「0」をセットす
る。In step S276, "0" is set in the counter GI2DET for counting how many times the GI2 signal is detected.
ステップS278においては、受信したデータを格納するエ
リアBIRC0にOOHをセットする。In step S278, OOH is set in area BIRC0 storing the received data.
ステップS280においては、受信したデータを格納するエ
リアBIRC1にOOHをセットする。In step S280, OOH is set in area BIRC1 storing the received data.
ステップS282においては、2バイト連続した7EH(フラ
グパターン)を検出した時「1」にセットされるフラグ
FLGIDTに「0」をセットする。In step S282, a flag that is set to "1" when 7 bytes of consecutive 7 bytes (flag pattern) are detected
Set "0" to FLGIDT.
ステップS284においては、フラグFLGDETに「0」をセッ
トする。In step S284, "0" is set in the flag FLGDET.
ステップS286においては、1つのフレームを受信してい
る時のバイト数をカウントするためのカウンタCNTBYTに
「0」をセットする。In step S286, the counter CNTBYT for counting the number of bytes when receiving one frame is set to "0".
ステップS288においては、1周期の信号の周波数を解析
した際、1850Hzであったと判断されることが463回あっ
た場合には、1つのGI2信号を検出したものと判断す
る。In step S288, when the frequency of the signal of one cycle is analyzed and it is determined that the frequency is 1850 Hz, it is determined that one GI2 signal is detected if it is 463 times.
この463回をカウントするのに使用するカウンタCNT185
に463をセットする。2周期に1回、周波数の解析を行
うことが可能であるので、この463回は、 の1850Hzを検出することに対応する。Counter CNT185 used to count this 463 times
Set 463 to. Since it is possible to analyze the frequency once every two cycles, this 463 times is Corresponding to detecting 1850Hz.
ステップS290においては、300b/sのバイトロックが発生
したか否かが判断される。具体的には、信号線28aにク
ロックが発生したか否かが判断される。300b/sのバイト
ロックが発生すると、すなわち、信号線28aにクロック
が発生すると、ステップS232に進む。他方、300b/sのバ
イトロックが発生していないとき、すなわち、信号線28
aにクロックが発生していないときには、ステップS292
に進む。In step S290, it is determined whether or not a byte lock of 300b / s has occurred. Specifically, it is determined whether or not a clock is generated on the signal line 28a. When the byte lock of 300b / s is generated, that is, when the clock is generated on the signal line 28a, the process proceeds to step S232. On the other hand, when the 300b / s byte lock is not occurring, that is, the signal line 28
If no clock is generated in a, step S292
Proceed to.
ステップS292においては、FLGIDTが「0」であるか否
か、すなわち、2バイトの連続したフラグパターン(7E
H)が検出されているか否かが判断される。FLGIDTが
「0」の時、すなわち、2バイトの連続したフラグパタ
ーン(7EH)を検出していない時は、ステップS294に進
む。FLGIDTが「1」の時、すなわち、2バイトの連続し
たフラグパターン(7EH)を検出している時は、ステッ
プS306に進み、トーナル信号の解析は行わない。In step S292, whether or not FLGIDT is "0", that is, a 2-byte continuous flag pattern (7E
H) is detected. When FLGIDT is "0", that is, when the 2-byte continuous flag pattern (7EH) is not detected, the process proceeds to step S294. When FLGIDT is "1", that is, when a 2-byte continuous flag pattern (7EH) is detected, the process proceeds to step S306, and the tonal signal is not analyzed.
ステップS294においては、SED(Signal Energy Detec
t)が1であるか否か、すなわち、信号線36aが信号レベ
ル「1」であるか否かが判断される。SEDが1である
時、すなわち、信号線36aが信号レベル「1」である時
は、ステップS296に進み、トーナル信号の解析へ進む。
他方、SEDが「0」である時、すなわち、信号線36aが信
号レベル「0」である時は、ステップS306に進み、トー
ナル信号の解析は行わない。In step S294, SED (Signal Energy Detec
It is determined whether or not t) is 1, that is, whether or not the signal line 36a is at the signal level "1". When SED is 1, that is, when the signal level of the signal line 36a is "1", the process proceeds to step S296 and the tonal signal is analyzed.
On the other hand, when SED is "0", that is, when the signal line 36a has a signal level "0", the process proceeds to step S306, and the tonal signal is not analyzed.
上記のステップS292およびステップS294は、本実施特有
の機能である。The above steps S292 and S294 are functions peculiar to this embodiment.
ステップS296においては、トーナル信号の1周期の解析
が終了したか否か、すなわち、信号線34aにパルスが発
生したか否かが判断される。トーナル信号の1周期の解
析が終了すると、すなわち、信号線34のパルスが発生す
ると、ステップS298に進む。他方、トーナル信号の1周
期の解析が終了していないとき、すなわち、信号線34a
にパルスが発生していないときには、ステップS306に進
む。In step S296, it is determined whether the analysis of one cycle of the tonal signal is completed, that is, whether a pulse is generated in the signal line 34a. When the analysis of one cycle of the tonal signal is completed, that is, when the pulse of the signal line 34 is generated, the process proceeds to step S298. On the other hand, when the analysis of one cycle of the tonal signal is not completed, that is, the signal line 34a
If no pulse is generated at step S306, the process proceeds to step S306.
ステップS298においては、トーナルデータ(すなわち、
信号線34bの信号)を入力する。In step S298, the tonal data (ie,
Signal on the signal line 34b).
ステップS300においては、いま受信した1周期の信号が
1850Hzであるか否かが判断される。いま受信した1周期
の信号が1850Hzである時は、ステップS302に進む。いま
受信した1周期の信号が1850Hzでない時は、ステップS3
06に進む。In step S300, the signal of one cycle just received is
It is determined whether or not it is 1850 Hz. If the received signal of one cycle is 1850 Hz, the process proceeds to step S302. If the received signal of one cycle is not 1850Hz, step S3
Go to 06.
ステップS306においては、カウンタCNT185の値が負であ
るか否か、すなわち、1850Hzの信号を合計0.5秒以上検
出したか否かが判断される。カウンタCNT185の値が負で
ある時、すなわち、1850Hzの信号を合計0.5秒以上わた
って検出した時は、ステップS306に進む。カウンタCNT1
85の値が正または零である時、すなわち、1850Hzの信号
を合計0.5秒以上検出していない時は、ステップS304に
進む。In step S306, it is determined whether or not the value of the counter CNT185 is negative, that is, whether or not a signal of 1850 Hz is detected for a total of 0.5 seconds or more. When the value of the counter CNT185 is negative, that is, when the signal of 1850 Hz is detected for 0.5 seconds or more in total, the process proceeds to step S306. Counter CNT1
When the value of 85 is positive or zero, that is, when the signal of 1850 Hz is not detected for 0.5 seconds or more in total, the process proceeds to step S304.
ステップS304においては、カウンタCNT185の値を1だけ
デクリメントする。In step S304, the value of counter CNT185 is decremented by 1.
ステップS306においては、200ms以上の連続したSED=0
を検出したか否かが判断される。ここでは、バックグラ
ンドノイズ等があった場合も、信号のランダム性をチェ
ックし、信号断を判断する。In step S306, continuous SED of 200 ms or more = 0
Is detected. Here, even if there is background noise or the like, the randomness of the signal is checked to determine the signal disconnection.
200ms以上の連続した信号断を検出した場合は、ステッ
プS308に進む。また200ms以上の連続した信号断を検出
していない場合は、ステップS326に進む。If continuous signal loss of 200 ms or more is detected, the process proceeds to step S308. If no continuous signal loss of 200 ms or more is detected, the process proceeds to step S326.
ステップS308においては、カウンタCNT185の値が負であ
るか否か、すなわち、1850Hzの信号を合計0.5秒以上検
出したか否かが判断される。カウンタCNT185の値が負で
ある時、すなわち1850Hzの信号を合計0.5秒以上検出し
た時は、ステップS310に進む。カウンタCNT185の値が正
または零である時、すなわち、1850Hzの信号を合計0.5
秒以上検出していない時は、ステップS320に進む。In step S308, it is determined whether or not the value of the counter CNT185 is negative, that is, whether or not a signal of 1850 Hz is detected for a total of 0.5 seconds or more. When the value of the counter CNT185 is negative, that is, when the signal of 1850 Hz is detected for a total of 0.5 seconds or more, the process proceeds to step S310. When the value of the counter CNT185 is positive or zero, that is, the signal of 1850Hz is added to 0.5.
If not detected for more than a second, the process proceeds to step S320.
ステップS310においては、信号断を検出し、かつ、1850
Hzの信号を合計して0.5秒以上検出しているので、GI2CN
Tを1だけインクリメントする。In step S310, signal loss is detected, and 1850
Since the total of Hz signals is detected for 0.5 seconds or more, GI2CN
Increment T by 1.
ステップS312においては、FLGIDTが「0」であるか否か
が判断される。ここで、FLGIDTが「0」である時は、ス
テップS314に進む。他方、FLGIDTが「0」でない時は、
ステップS318に進む。In step S312, it is determined whether FLGIDT is "0". Here, when FLGIDT is "0", the process proceeds to step S314. On the other hand, when FLGIDT is not "0",
Proceed to step S318.
ステップS314においては、カウンタGI2DETが2未満であ
るか否か、すなわち、GI2信号を2回未満受信したか否
かが判断される。カウンタGI2DETが2未満である場合、
すなわち、GI2信号を2回未満受信した場合は、ステッ
プS320に進む。また、カウンタGI2DETが2以上である場
合すなわち、GI2信号を2回以上受信した場合は、ステ
ップS316に進む。In step S314, it is determined whether the counter GI2DET is less than 2, that is, whether the GI2 signal is received less than twice. If the counter GI2DET is less than 2,
That is, if the GI2 signal is received less than twice, the process proceeds to step S320. If the counter GI2DET is 2 or more, that is, if the GI2 signal is received twice or more, the process proceeds to step S316.
ステップS316においては、相手機が、G2機であると判断
し、G2モードの伝送へ進む。In step S316, the partner machine determines that it is a G2 machine, and proceeds to G2 mode transmission.
ステップS318においては、カウンタGI2DETが3未満であ
るか否か、すなわち、GI2信号を3回未満受信したか否
かが判断される。カウンタGI2DETが3未満である場合、
すなわち、GI2信号を3回未満受信した場合は、ステッ
プS320に進む。他方、カウンタGI2DETが3以上である場
合、すなわち、GI2信号を3回、受信した場合は、ステ
ップS316に進む。In step S318, it is determined whether the counter GI2DET is less than 3, that is, whether the GI2 signal is received less than 3 times. If the counter GI2DET is less than 3,
That is, if the GI2 signal is received less than three times, the process proceeds to step S320. On the other hand, when the counter GI2DET is 3 or more, that is, when the GI2 signal is received three times, the process proceeds to step S316.
ステップS300ないしステップS318は、本実施例特有の機
能である。Steps S300 to S318 are functions unique to this embodiment.
ステップS320においては、FLGIDTに「0」をセットす
る。In step S320, "0" is set in FLGIDT.
ステップS322においては、FLGIDTに「0」をセットす
る。In step S322, FLGIDT is set to "0".
ステップS324においては、カウンタCNT185に「463」を
セットする。In step S324, "463" is set in the counter CNT185.
ステップS326においては、タイマーT1がタイムオーバー
したか否かが判断される。タイマーT1がタイムオーバー
したときには、ステップS328に進む。また、タイマーT1
がタイムオーバーしていないときには、ステップS290に
進む。In step S326, it is determined whether the timer T1 has timed out. When the timer T1 times out, the process proceeds to step S328. Also, timer T1
When is not over, the process proceeds to step S290.
ステップS328においては、電話回線を電話機側に接続す
る。具体的には、信号線38aに信号レベルが「0」の信
号を出力する。In step S328, the telephone line is connected to the telephone side. Specifically, the signal having a signal level of "0" is output to the signal line 38a.
ステップS330は、エラーを表している。Step S330 represents an error.
ステップS332ないしステップS362は、第5図(3),
(4)に示したステップS162ないしステップS192に相当
する。Steps S332 to S362 are shown in FIG.
This corresponds to steps S162 to S192 shown in (4).
上述したステップS356およびステップS358の判断は、本
実施例特有の機能である。The determinations in steps S356 and S358 described above are functions unique to this embodiment.
ステップS364においては、いま受信したフレームがラス
トフレームであるか否かが判断される。いま、受信した
フレームがラストフレームである時は、ステップS366に
進む。また、いま受信したフレームがラストフレームで
ない時は、ステップS370に進む。In step S364, it is determined whether or not the received frame is the last frame. If the received frame is the last frame, the process proceeds to step S366. If the frame just received is not the last frame, the process proceeds to step S370.
ステップS366は、第5図(5)に示したステップS212な
いしステップS240に述べたキャリア断の検出を行ってい
る。これは、本実施例特有の効果である。In step S366, the carrier disconnection described in steps S212 to S240 shown in FIG. 5 (5) is detected. This is an effect peculiar to this embodiment.
ステップS368は、300b/sのバイナリー信号の受信が終了
し、受信した信号に基づいて次の動作へ進むことを表し
ている。Step S368 represents that the reception of the 300b / s binary signal is completed and the next operation is performed based on the received signal.
ステップS370においては、FLGDETに「0」をセットす
る。In step S370, FLGDET is set to "0".
ステップS372においては、CNTBYTに「0」をセットす
る。In step S372, CNTBYT is set to "0".
上述した第8図においては、300b/sのバイトクロックが
発生した時(ステップS290で判断する)、300b/sの解析
へ向かう。そして、300b/sの解析において、バイナリ信
号の受信と判断されない時は、ステップS292に進む。In FIG. 8 described above, when the byte clock of 300b / s is generated (determined in step S290), the analysis of 300b / s is started. Then, in the analysis of 300 b / s, when it is not determined that the binary signal is received, the process proceeds to step S292.
更に、トーナル信号の1周期の解析が終了した時(ステ
ップS296で判断する)は、トーナル信号の解析へ進む。
そして、トーナル信号の解析において、トーナル信号の
受信と判断されない時は、ステップS290に進む。Further, when the analysis of one cycle of the tonal signal is completed (determined in step S296), the process proceeds to the analysis of the tonal signal.
Then, in the analysis of the tonal signal, when it is not determined that the tonal signal is received, the process proceeds to step S290.
このように、トーナル信号とバイナリ信号を同時に受信
する必要がある時、受信したすべての信号を見落すこと
なく、常にトーナル信号およびバイナリ信号の受信を行
うことが可能になる。これは、本実施例特有の機能であ
る。In this way, when it is necessary to receive the tonal signal and the binary signal at the same time, it is possible to always receive the tonal signal and the binary signal without overlooking all the received signals. This is a function peculiar to this embodiment.
なお、これまで述べた実施例においては、G2,G3機能を
有するファクシミリ装置について説明したが、その他の
通信装置においても本発明を適用し得ることは勿論であ
る。In the above-described embodiments, the facsimile device having the G2 and G3 functions has been described, but it goes without saying that the present invention can be applied to other communication devices.
[発明の効果] 以上述べた通り、本発明によれば、自己が送信した手順
信号と受信した手順信号とを比較して、自己が送信した
手順信号の内容と、受信した手順信号の内容が同一であ
れば、受信した信号をエコーであると判定する判定手段
と、手動受信モードか自動受信モードかを検出する検出
手段と、手動受信モードであることが検出されれば、前
記判定手段にエコーか否かの判定を行わせ、自動受信モ
ードであることが検出されれば、前記判定手段にエコー
か否かの判定を行わせない手段を備えたので、自機が送
信したエコーを相手装置が出した信号と誤認して通信を
終了してしまうことがなくなると共に、常にエコー判定
するものに比べ、無駄な判定処理を削除できる。EFFECTS OF THE INVENTION As described above, according to the present invention, the procedure signal transmitted by itself is compared with the procedure signal received, and the content of the procedure signal transmitted by itself and the content of the procedure signal received are compared. If they are the same, the determining means for determining the received signal as an echo, the detecting means for detecting the manual receiving mode or the automatic receiving mode, and the detecting means for detecting the manual receiving mode are If it is judged whether it is an echo and if it is detected that it is in the automatic reception mode, the judgment means is provided with means for not judging whether it is an echo. The communication is not terminated by erroneously recognizing the signal output from the device, and useless determination processing can be deleted as compared with the case where the echo determination is always performed.
第1図は本発明に係るファクシミリ装置の全体構成図、 第2図は本発明を適用したファクシミリ装置の一実施例
を示すブロック図、 第3図はトーナルカウンタを説明するための図、 第4図は画像受信側として制御回路38が実行すべき制御
手順を示す流れ図、 第5図(1)〜第5図(5)は画像受信側として制御回
路38が実行すべき詳細な制御手順を示す流れ図、 第6図は受信したバイナリデータを格納する時の動作を
示す図、 第7図は画像送信側として制御回路38が実行すべき制御
手順を示す流れ図、 第8図(1)〜第8図(4)は画像送信側として制御回
路38が実行すべき詳細な制御手順を示す流れ図、 第9図は本発明を適用したファクシミリ装置の一実施例
を示すブロック図、 第10図は画像受信側として制御回路38が実行すべき制御
手順を示す流れ図、 第11図(1)〜第11図(5)は画像受信側として制御回
路38が実行すべき詳細な制御手順を示す流れ図、 第12図は自動受信の手順を示す図、 第13図は手動受信の手順を示す図、 第14図は従来例を示す図である。 2……NCU、 4……電話機、 6……ハイブリッド回路、 8……読取回路、 10……符号化回路、 12……V27terあるいはV29変調器、 14……パラレル/シリアル変換回路、 16……V21変調器、 17……GI2信号送出回路、 18……加算回路、 20……V27terあるいはV29復調器、 22……復号化回路、 24……記録回路、 26……V21復調器、 28……シリアル/パラレル変換回路、 30……増幅回路、 32……2値化回路、 34……トーナルカウンタ回路、 36……信号有無検出回路、 38……制御回路。FIG. 1 is an overall configuration diagram of a facsimile device according to the present invention, FIG. 2 is a block diagram showing an embodiment of a facsimile device to which the present invention is applied, FIG. 3 is a diagram for explaining a tonal counter, and FIG. FIG. 5 is a flowchart showing a control procedure to be executed by the control circuit 38 on the image receiving side, and FIGS. 5 (1) to 5 (5) show detailed control procedures to be executed by the control circuit 38 on the image receiving side. 6 is a flow chart, FIG. 6 is a flow chart showing an operation when storing the received binary data, FIG. 7 is a flow chart showing a control procedure to be executed by the control circuit 38 on the image transmitting side, and FIGS. FIG. (4) is a flow chart showing a detailed control procedure to be executed by the control circuit 38 on the image transmitting side, FIG. 9 is a block diagram showing an embodiment of a facsimile apparatus to which the present invention is applied, and FIG. 10 is image receiving. Control hand that the control circuit 38 should perform as a side 11 (1) to 11 (5) are flow charts showing detailed control procedures to be executed by the control circuit 38 on the image receiving side, and FIG. 12 is a diagram showing automatic reception procedures. FIG. 13 is a diagram showing a manual reception procedure, and FIG. 14 is a diagram showing a conventional example. 2 ... NCU, 4 ... phone, 6 ... hybrid circuit, 8 ... reading circuit, 10 ... encoding circuit, 12 ... V27ter or V29 modulator, 14 ... parallel / serial conversion circuit, 16 ... V21 modulator, 17 ... GI2 signal sending circuit, 18 ... adding circuit, 20 ... V27ter or V29 demodulator, 22 ... decoding circuit, 24 ... recording circuit, 26 ... V21 demodulator, 28 ... Serial / parallel conversion circuit, 30 ... Amplification circuit, 32 ... Binarization circuit, 34 ... Tonal counter circuit, 36 ... Signal presence / absence detection circuit, 38 ... Control circuit.
Claims (1)
自己が送信した手順信号と同一で内容が異なる手順信号
を受信する場合があるデータ受信装置において、 自己が送信した手順信号と受信した手順信号とを比較し
て、前記自己が送信した手順信号の内容と前記受信した
手順信号の内容が同一であれば、前記受信した手順信号
をエコーであると判定する判定手段を含む通信手順信号
と、 手動受信モードか自動受信モードかを検出する検出手段
と、 前記検出手段で手動受信モードであることが検出された
場合は、前記判定手段にエコーか否かの判定を行わせ、
他方、前記検出手段で自動受信モードであることが検出
された場合は、前記判定手段にエコーか否かの判定を行
わせない手段と を備えたことを特徴とするデータ受信装置。1. A manual reception mode and an automatic reception mode are provided,
In a data receiving apparatus that may receive a procedure signal that is the same as the procedure signal transmitted by itself but has different contents, the procedure signal transmitted by itself is compared with the procedure signal received by the procedure receiver, and the procedure signal transmitted by the self is compared. If the content and the content of the received procedure signal are the same, a communication procedure signal including a determination means for determining the received procedure signal as an echo, and a detection means for detecting a manual reception mode or an automatic reception mode. When the detection means detects that the mode is the manual reception mode, the determination means is caused to determine whether or not an echo is generated,
On the other hand, the data receiving device, further comprising: a unit that does not cause the determining unit to determine whether the echo is an echo when the detecting unit detects that the automatic receiving mode is set.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61126886A JPH06101783B2 (en) | 1986-05-31 | 1986-05-31 | Data receiving device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61126886A JPH06101783B2 (en) | 1986-05-31 | 1986-05-31 | Data receiving device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS62283770A JPS62283770A (en) | 1987-12-09 |
| JPH06101783B2 true JPH06101783B2 (en) | 1994-12-12 |
Family
ID=14946281
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP61126886A Expired - Fee Related JPH06101783B2 (en) | 1986-05-31 | 1986-05-31 | Data receiving device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH06101783B2 (en) |
-
1986
- 1986-05-31 JP JP61126886A patent/JPH06101783B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPS62283770A (en) | 1987-12-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5717744A (en) | Data communicating apparatus having user notification capability and method | |
| EP0674424A2 (en) | Communication apparatus | |
| US5748334A (en) | Facsimile apparatus capable of performing a standard procedure and a non-standard procedure | |
| JPH0690345A (en) | Facsimile device and error detection method thereof | |
| JPH06101783B2 (en) | Data receiving device | |
| JPH0771120B2 (en) | Communication device | |
| JPH0771123B2 (en) | Binary signal receiver | |
| JP3491943B2 (en) | Facsimile machine | |
| JPH0815294B2 (en) | Data receiving device | |
| JPH06101784B2 (en) | Data communication device | |
| JP2525359B2 (en) | Data communication device | |
| JP2510505B2 (en) | Data communication device | |
| JP2713884B2 (en) | Data communication device | |
| JP2749821B2 (en) | Facsimile machine | |
| JPH0671246B2 (en) | Fax machine | |
| JP2602229B2 (en) | Image receiving device | |
| JP2754012B2 (en) | Facsimile communication method | |
| JP3535568B2 (en) | Facsimile machine | |
| JP2840250B2 (en) | Facsimile machine | |
| JP2568167B2 (en) | Facsimile machine | |
| JP2637481B2 (en) | Data communication device | |
| JPH0622157A (en) | Facsimile equipment | |
| JP2641883B2 (en) | Image communication device | |
| JP3604730B2 (en) | Facsimile machine | |
| JP2966962B2 (en) | Facsimile machine |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |