JPS62283761A - data receiving device - Google Patents
data receiving deviceInfo
- Publication number
- JPS62283761A JPS62283761A JP61126885A JP12688586A JPS62283761A JP S62283761 A JPS62283761 A JP S62283761A JP 61126885 A JP61126885 A JP 61126885A JP 12688586 A JP12688586 A JP 12688586A JP S62283761 A JPS62283761 A JP S62283761A
- Authority
- JP
- Japan
- Prior art keywords
- signal
- tonal
- received
- binary
- signal 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.)
- Granted
Links
Landscapes
- Facsimiles In General (AREA)
- Facsimile Transmission Control (AREA)
- Communication Control (AREA)
Abstract
Description
【発明の詳細な説明】
3、発明の詳細な説明
[産業上の利用分野]
本発明は、バイナリ信号およびトーナル信号を受信する
機能を備えたデータ受信装置に関するものである。Detailed Description of the Invention 3. Detailed Description of the Invention [Field of Industrial Application] The present invention relates to a data receiving device having a function of receiving binary signals and tonal signals.
[従来の技術]
この種のデータ受信装置として、従来からファクシミリ
装置が広く知られている。これらファクシミリ装置のう
ちG2およびG3aflを併せ持つファクシミリ装置は
、前手順において1通信相手方から送出されるバイナリ
信号あるいはトーナル信号のいずれかを受信する必要が
ある。[Prior Art] Facsimile machines have been widely known as this type of data receiving device. Among these facsimile machines, a facsimile machine having both G2 and G3 afl needs to receive either a binary signal or a tonal signal sent from one communication partner in the pre-procedure.
すなわち、従来のファクシミリ装置が送信状態にあると
き、Dis (Digital Identifica
tionS igna L :デジタル識別信号)など
のバイナリ信号あるいはGI(Group Ident
ificationニゲループ識別)などのトーナル信
号を最初に受信する。That is, when a conventional facsimile machine is in a transmitting state, Dis (Digital Identifica
Binary signals such as tion Signa L: Digital identification signal or GI (Group Ident signal)
First, a tonal signal such as a loop identification (identification) is received.
そして、バイナリ信号を受信した時には当該バイナリ信
号に基づいた手順に従い、CCIT′T勧告G3伝送動
作を行う、ここで、バイナリ信号rQJは1850Hz
、「1」は1850Hzによって表される。When a binary signal is received, CCIT'T Recommendation G3 transmission operation is performed according to the procedure based on the binary signal.Here, the binary signal rQJ is 1850Hz.
, "1" is represented by 1850Hz.
一方、トーナル信号のうちGII信号には1.5秒間継
続する1850Hzの信号、CI2信号には1.5秒間
継続する1850Hzの信号が用いられる。On the other hand, among the tonal signals, a 1850 Hz signal that continues for 1.5 seconds is used for the GII signal, and a 1850 Hz signal that continues for 1.5 seconds is used for the CI2 signal.
しかしながら、従来のファクシミリ装置では。However, with traditional facsimile machines.
トーナル信号あるいはバイナリ信号のいずれかを受信す
る時、トーナル信号あるいはバイナリ信号の受信を中断
することは行っていなかった。When receiving either a tonal signal or a binary signal, the reception of the tonal or binary signal was not interrupted.
その結果、送信機側における最初の命令受信動作等にお
いて、受信機側から送出されるバイナリ信号の初期識別
信号(NSF信号/C9I信号/DI!J信号)をトー
ナル信号のグループ識別信号(DI信号)と誤認してし
まうということがあった。As a result, in the first command receiving operation on the transmitter side, the initial identification signal (NSF signal/C9I signal/DI!J signal) of the binary signal sent from the receiver side is used as the group identification signal (DI signal) of the tonal signal. ) was sometimes mistaken.
従って、NSF/CSI/DIS信号などの受信を開始
するタイミングによっては、バイナリ信号を受信してい
るにも拘らず、トーナル信号を受信したものと誤認して
しまうということが有り得た。また、無信号区間におい
てノイズ等が生じた場合にはこれをトーナル信号受信と
誤認してしまうことも有り得た。Therefore, depending on the timing at which reception of NSF/CSI/DIS signals and the like is started, it is possible that a binary signal may be mistakenly recognized as being received as a tonal signal. Further, if noise or the like occurs in a no-signal section, it may be mistaken for reception of a tonal signal.
[発明が解決しようとする問題点]
このように従来のデータ受信装置ではバイナリ信号とト
ーナル信号を誤って識別してしまい、通信制御に支障を
きたすことがみられた。[Problems to be Solved by the Invention] As described above, it has been observed that the conventional data receiving device incorrectly discriminates between a binary signal and a tonal signal, causing trouble in communication control.
よって本発明の目的は、上述の点に鑑み、いかなる伝送
条件下にあっても、バイナリ信号とトーナル信号とを適
確に識別し得るよう構成したデータ受信装置を提供する
ことにある。SUMMARY OF THE INVENTION In view of the above-mentioned points, an object of the present invention is to provide a data receiving apparatus configured to accurately discriminate between a binary signal and a tonal signal under any transmission conditions.
[問題点を解決するための手段]
かかる目的を達成するために、本発明では、バイナリ信
号およびトーナル信号を受信する機濠を備えたデータ受
信装置において、所定の条件の下にトーナル信号の受信
を中断し、バイナリ信号の受信を行う制御手段を具備す
る。[Means for Solving the Problems] In order to achieve the above object, the present invention provides a method for receiving tonal signals under predetermined conditions in a data receiving device equipped with a moat for receiving binary signals and tonal signals. control means for interrupting the operation and receiving the binary signal.
[作 用]
ある所定の条件の下にトーナル信号の受信を中断し、そ
の後にバイナリ信号を受信することにより、両者を誤っ
て識別しないよう動作させる。[Operation] By interrupting the reception of the tonal signal under a certain predetermined condition and then receiving the binary signal, the system operates to prevent erroneously identifying the two.
[実施例]
第1図は本発明を適用したファクシミリ装置つ全体構成
図である0本装置は、所定の条件の下にトーナル信号の
受信を中断し、バイナリ信号の受信を行う制御手段Aを
具備する0例えば2本装置に含まれる制御手段Aは所定
のフラグパターンを少なくともn個検出したとき、トー
ナル信号の受信を中断し、バイナリ信号の受信のみを行
うよう制御を行う、あるいは、この制御手段Aは信号断
状態を検出した時、トーナル信号の受信を中断し、バイ
ナリ信号の受信のみを行うよう制御することも可渣であ
る。[Embodiment] Fig. 1 is an overall configuration diagram of a facsimile apparatus to which the present invention is applied. For example, when the control means A included in the apparatus detects at least n predetermined flag patterns, the control means A interrupts the reception of the tonal signal and performs control to only receive the binary signal, or performs this control. When the means A detects a signal cut-off state, it is also possible to control the apparatus so that the reception of the tonal signal is interrupted and only the reception of the binary signal is performed.
第2図は、本発明を適用したファクシミリ装置の一実施
例を示すブロック図である。FIG. 2 is a block diagram showing an embodiment of a facsimile apparatus to which the present invention is applied.
第2図において、2は、網制御装置NCU (Nat−
work Control Unit )であり、電話
網をデータ通信等に使用するため、その回線の端末に接
続して電話交換網の接続制御を行ったり、データ通信路
への切替えを行う等の機能を果たす。また、信号線2a
は電話回線である。このNC112は、信号線38aの
信号を人力し、この信号レベルが「0」であれば、電話
回線を電話機側(すなわち、信号線2aを信号線2b)
に接続する。また、信号線38aの信号を入力し、この
信号レベルが「1」であれば、電話回線をファクシミリ
装置側(すなわち、信号線2aを信号線2c)に接続す
る。通常の状態では、電話回線は電話機側に接続されて
いる。In FIG. 2, 2 is a network control unit NCU (Nat-
Since the telephone network is used for data communication, etc., it connects to the terminal of the line and performs functions such as controlling the connection of the telephone switching network and switching to a data communication path. In addition, the signal line 2a
is a telephone line. This NC 112 manually outputs a signal on the signal line 38a, and if this signal level is "0", the telephone line is connected to the telephone side (that is, the signal line 2a is connected to the signal line 2b).
Connect to. Further, a signal on the signal line 38a is input, and if 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 2c). Under normal conditions, the telephone line is connected to the telephone side.
4は、電話機である。4 is a telephone.
6は、送信系の信号と受信系の信号を分離するハイブリ
ッド回路である。すなわち、信号線18aの送信信号は
、信号線2CおよびNCu2を介して、電話回線に送出
される。また、相手側から送られてきた信号は、NCU
2および信号線2Cを通り、信号線6aに出力される。6 is a hybrid circuit that separates a transmission system signal and a reception system signal. That is, the transmission signal on the signal line 18a is sent out to the telephone line via the signal line 2C and NCu2. Also, the signals sent from the other party are sent to the NCU.
2 and signal line 2C, and is output to signal line 6a.
8は読取回路であり、主走査方向1ライン分の画信号を
送信すべき原稿より順次読み取り、白および黒の2値を
表す信号列を作成する。この読取回路8は、COD ’
(電荷結合素子)等の撮像素子と光学系とにより構成す
る。また、白および黒に2値化された信号列は、信号線
8aに出力される。Reference numeral 8 denotes a reading circuit which sequentially reads image signals for one line in the main scanning direction from the original to be transmitted, and creates a signal string representing binary values of white and black. This reading circuit 8 is COD'
It consists of an imaging device such as a charge-coupled device (charge coupled device) and an optical system. Further, the signal string that has been binarized into white and black is output to the signal line 8a.
10は、符号化回路である。この符号化回路10は、信
号線8aに出力されている2値化された信号を入力し、
符号化(MW (モディファイド ハフマン)符号化あ
るいはMR(モディファイド リード)符号化)し、さ
らに符号化したデータを信号線10aに出力する。10 is an encoding circuit. This encoding circuit 10 inputs the binarized signal output to the signal line 8a,
The data is encoded (MW (Modified Huffman) encoding or MR (Modified Read) encoding), and the encoded data is output to the signal line 10a.
12は、公知のCにITT勧告V27ter (差動位
相変調)あるいはv29(直交変a)に基づいた変調を
行う変調器である。この変調器12は、信号線10aの
信号を人力して変調を行い、変調データを信号線12a
に出力する。Reference numeral 12 denotes a modulator that modulates the known C based on ITT recommendation V27ter (differential phase modulation) or V29 (orthogonal modulation a). This modulator 12 manually modulates the signal on the signal line 10a, and transmits the modulated data to the signal line 12a.
Output to.
14は、パラレル−シリアル(P/S)変換回路である
。このパラレル−シリアル変換回路14は、2つのバッ
ファ(バッファ「0」およびバッファ「1」)を有して
いる。最初の時点では、2つのバッファとも空であるの
で、信号線14aにバイトパックのクロックを発生する
。そして、制御回路38からバイトデータが書きこまれ
ると、このデータはバッファ「0」に格納される。バッ
ファ「O」に格納されたデータは他のバッファ(バッフ
ァ「1」)が空であるので、バッファ1に移される。す
ると、バッファ「0」は空となるので、信号線14aに
バイトパックのクロックを発生する。そして、制御回路
38からバイトデータが書きこまれると、このデータは
バッファ「0」に才各納される。制御回路38から送出
されたバイトデータは、信号線38bを介して、このバ
ッファに書きこまれる。このP/S変換回路14は、バ
ッファ「1」に格納されたバイトデータをパラレル−シ
リアル変換し、信号線16aにクロックが送出される毎
に、シリアルデータを信号線14bに出力する。8ビツ
トのシリアルデータが信号線144)に出力されると、
バッファ「1」は空となるので、バッファ「0」に格納
されているバイトデータを、バッファ「1」に穆す。そ
して、信号線14aにバイトパックのクロックを発生す
る。制御回路38から信号線38bを介してバイトデー
タが書きこまれると、このデータはバッファ「O」に格
納される。14 is a parallel-serial (P/S) conversion circuit. This parallel-serial conversion circuit 14 has two buffers (buffer "0" and buffer "1"). At the beginning, both buffers are empty, so a byte pack clock is generated on the signal line 14a. Then, when byte data is written from the control circuit 38, this data is stored in buffer "0". The data stored in buffer "O" is moved to buffer 1 since the other buffer (buffer "1") is empty. Then, since the buffer "0" becomes empty, a byte pack clock is generated on the signal line 14a. Then, when byte data is written from the control circuit 38, this data is stored in buffer "0". Byte data sent from the control circuit 38 is written into this buffer via the signal line 38b. This P/S conversion circuit 14 performs parallel-to-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 8-bit serial data is output to the signal line 144),
Since buffer "1" becomes empty, the byte data stored in buffer "0" is transferred to buffer "1". Then, a byte pack clock is generated on the signal line 14a. When byte data is written from the control circuit 38 via the signal line 38b, this data is stored in the buffer "O".
信号9i1:18bには、信号線14aにバイトパック
のクロックが送出される毎に、手順信号がバイトパック
されて送出される。Each time the byte pack clock is sent to the signal line 14a, the procedure signal is byte packed and sent to the signal 9i1:18b.
・16は、公知のC(:ITT勧告V21に基づいた変
調を行う変調器である。この変調器16は、データの送
出タイミングを表すクロックを信号線1δaに出力する
。また変調器16は、信号線14b上のシリアル手順信
号を入力して変調を行い、変調データを信号線16bに
出力する。・16 is a modulator that performs modulation based on the well-known C(:ITT recommendation V21). This modulator 16 outputs a clock representing the data transmission timing to the signal line 1δa. The serial procedure signal on the signal line 14b is input and modulated, and the modulated data is output to the signal line 16b.
17は、GI2信号送出回路である。この回路17は、
信号線38cにパルスが発生した時、信号線17aにG
I2信号を送出する。そして、GI2信号の送出が終了
した時、信号線17bにパルスを発生す18は、加算回
路である。この加算回路18・は、信号線12a、信号
線16b、信号線17aの信号を入力し、加算した結果
を信号線18aに出力する。17 is a GI2 signal sending circuit. This circuit 17 is
When a pulse is generated on the signal line 38c, a G signal is applied to the signal line 17a.
Sends I2 signal. Further, when the transmission of the GI2 signal is completed, 18 which generates a pulse on the signal line 17b is an adder circuit. This adder circuit 18 inputs the signals of the signal line 12a, the signal line 16b, and the signal line 17a, and outputs the added result to the signal line 18a.
20は、公知の(:CITT勧告V27ter (差動
位相変調)あるいは、v29(直交変調)に基づいた復
調を行う復調器である。復調器20は、信号線6aの信
号を入力して復調を行い、復調データを信号線20aに
出力する。20 is a demodulator that performs demodulation based on the well-known CITT recommendation V27ter (differential phase modulation) or V29 (quadrature modulation).The demodulator 20 inputs the signal on the signal line 6a and performs demodulation. and outputs the demodulated data to the signal line 20a.
22は、信号線20aに出力されている復調データを人
力し、復号化(M)I(モディファイド ハ フマン)
復号化あるいはMR(モディファイド リード)復号化
したデータを信号線22aに出力する回路である。22 manually decodes the demodulated data output to the signal line 20a and decodes it (M)I (Modified Huffman).
This circuit outputs decoded or MR (modified read) decoded data to the signal line 22a.
24は、信号線22aに出力された復号化データを人力
し、白および黒の信号を1ライン毎に記録する記録回路
である。24 is a recording circuit that manually inputs the decoded data output to the signal line 22a and records white and black signals line by line.
26は、公知の(:CITT勧告V21に基づいた復調
を行う復調器である。この復調器26は、信号線6aの
信号を入力し、V21復調を行い、復調データを信具埠
り1+ h 1.−中力すス 畳イ霊1.たデー々のタ
イミングクロツタは、信号線26aに出力される。Reference numeral 26 denotes a demodulator that performs demodulation based on the well-known CITT recommendation V21. 1.-The timing clock for each day is output to the signal line 26a.
28は、シリアル−パラレル(S/P)変換回路である
。信号線26aにクロックが8回送出されると8ビツト
のデータがそろう(このデータは、信号線28bに出力
されている信号である)ので、この8ビツトのデータが
そろった時、シリアル−パラレル変換回路28は、信号
線28aにクロックを発生し、バイトデータを信号線2
8bに出力する。28 is a serial-parallel (S/P) conversion circuit. When the clock is sent to the signal line 26a eight times, 8 bits of data are collected (this data is the signal output to the signal line 28b), so when the 8 bits of data are collected, the serial-parallel The conversion circuit 28 generates a clock on the signal line 28a and transfers the byte data to the signal line 28a.
Output to 8b.
30は、信号線6aの信号を入力し、増幅する増幅器で
ある。増幅された信号は、信号線30aに出力される。30 is an amplifier that inputs and amplifies the signal of the signal line 6a. The amplified signal is output to the signal line 30a.
すなわち、相手側ファクシミリ装置から送出された信号
は、本ファクシミリ装置に到着する間に、伝送媒体であ
る電話回線により減衰されるため、この増幅器30によ
り増幅を行う。That is, since the signal sent from the other party's facsimile machine is attenuated by the telephone line, which is the transmission medium, before reaching the facsimile machine, the signal is amplified by the amplifier 30.
32は、信号線30aの信号を人力し、ある基準電圧に
対して2値化を行う2値化回路である。2値化された信
号は、信号線32aに出力される。32 is a binarization circuit that manually inputs the signal of the signal line 30a and binarizes it with respect to a certain reference voltage. The binarized signal is output to the signal line 32a.
34は、信号線32aの信号を入力し、信号の1周期の
時間を測定するトーナルカウンタである。この1周期の
時間により、受信pた信号の周波数を認識し得る。この
トーナルカウンタは、相手側ファクシミリ装置が回線に
送出する信号の周波数を認識するために用いるもの。34 is a tonal counter which inputs the signal of the signal line 32a and measures the time of one cycle of the signal. This one cycle time allows the frequency of the received signal to be recognized. This tonal counter is used to recognize the frequency of the signal sent to the line by the other party's facsimile machine.
第3図は、信号線6a上の信号および信号線32a上の
2値化した信号を示す波形図である。ここで、2値化し
た信号はさらに分周され、1周期Tの時間が測定され、
もってその周波数が決定される。1周期Tの測定法とし
ては、ある一定のクロック(本実施例においては、77
.78kHz)を用いて求めることができる。この場合
、例えば、2100Hzの信号は37クロツク分に相当
している。すなわち、1周期分のクロック数が35ない
し39までのいずれかであるときには、その信号の周波
数が2100Hzであると判断する。ここで、35クロ
ツクは2222H2に、39クロツクは1994Hzに
相当する。このように、1994Hzないし2222H
zの信号を検出した時、1周期2100Hzの信号を検
出したものとする。FIG. 3 is a waveform diagram showing the signal on the signal line 6a and the binarized signal on the signal line 32a. Here, the binarized signal is further frequency-divided, the time of one period T is measured,
The frequency is then determined. As a method of measuring one period T, a certain clock (in this example, 77
.. 78kHz). In this case, for example, a 2100 Hz signal corresponds to 37 clocks. That is, when the number of clocks for one period is between 35 and 39, it is determined that the frequency of the signal is 2100 Hz. Here, 35 clocks correspond to 2222H2, and 39 clocks correspond to 1994Hz. In this way, 1994Hz to 2222H
When a signal of z is detected, it is assumed that a signal with one period of 2100 Hz is detected.
そして、ある一定時間以内に、1周期の時間が2100
Hzである(クロック数が35から39である)と複数
回検出されたとき、210011zの信号を検出したも
のと判断する。Then, within a certain period of time, the time of one cycle is 2100.
Hz (the number of clocks is 35 to 39) is detected multiple times, it is determined that a signal of 210011z has been detected.
トーナルカウンタ回路34は、1周期の測定が終了した
時、信号線34aにパルスを発生すると共に、信号線3
4bには何りロック分であったかのデータを出力する。When one period of measurement is completed, the tonal counter circuit 34 generates a pulse on the signal line 34a and also outputs a pulse on the signal line 34a.
4b outputs data indicating how many locks there are.
36は、信号有無検出回路であり、信号線6aの信号を
入力し、−43dBm以上の信号が検出された時には信
号線36aに信号レベル「1」の信号を出力し、また−
48dBm以下の信号が検出された時には、信号線36
aに信号レベル「0」の信号を出力する。また、信号線
6aの信号が、−48dBmを越え−43dBm未満で
ある時には、信号線36aには信号。36 is a signal presence/absence detection circuit which inputs the signal of the signal line 6a, and outputs a signal of signal level "1" to the signal line 36a when a signal of -43 dBm or more is detected, and -
When a signal of 48 dBm or less is detected, signal line 36
A signal with signal level "0" is output to a. Further, when the signal on the signal line 6a is more than -48 dBm and less than -43 dBm, there is no signal on the signal line 36a.
レベル「0」あるいは信号レベル「1」のa号が出力さ
れる。No. a of level "0" or signal level "1" is output.
38は、以下に述べる制御を行う制御回路である。ここ
では、相手側ファクシミリ装置から送出される信号の態
様として、2つの場合を考える。38 is a control circuit that performs the control described below. Here, two cases will be considered as aspects of the signal sent from the other party's facsimile machine.
以下に、制御■および制御■の2つに分けて説明する。Below, the explanation will be divided into two parts: control (1) and control (2).
制御■:本ソファクシミリ装置画像受信側である時、ま
ず、初期識別信号を送出した後、相手側ファクシミリ装
置から送出される信号の受信を行うが、この場合の信号
を受信するための制御である。Control ■: When this sofa fax machine is on the image receiving side, it first sends an initial identification signal and then receives the signal sent from the other party's facsimile machine. be.
制御■:木ファクシミリ装置が画像送信側である時、ま
ず、相手側ファクシミリ装置から送出される初期識別信
号の受信を行うが、この場合の信号を受信するための制
御である。Control (2): When the facsimile machine is the image transmitting side, it first receives the initial identification signal sent from the other party's facsimile machine, and this is the control for receiving the signal in this case.
上述した制御■について、第4図に示すフローチャート
を参照して以下に説明していく。The above-mentioned control (2) will be explained below with reference to the flowchart shown in FIG.
第4図において、ステップ550は、画像受信時の処理
を示している。In FIG. 4, step 550 shows processing when receiving an image.
ステップS52においては、タイマーT1に35秒をセ
ットする。In step S52, the timer T1 is set to 35 seconds.
ステップS54においては(GI2.グループ識別)・
NSF 、非標準装置・ C51,被呼局識別・[+1
5.デジタル識別信号を送出する。ここで、GI2信号
は、1回目は送出せず、2回目から送出する。In step S54, (GI2. Group identification)
NSF, non-standard equipment/C51, called station identification/[+1
5. Sends out a digital identification signal. Here, the GI2 signal is not sent the first time, but is sent from the second time.
ステップS56においては、タイマーT4に3秒あるい
は、4.5秒をセットする。ここで、自励受信の場合は
、タイマーT4に3秒をセットし、手動受信の場合は、
タイマーT4に4.5秒をセットする。In step S56, the timer T4 is set to 3 seconds or 4.5 seconds. Here, in the case of self-excited reception, set the timer T4 to 3 seconds, and in the case of manual reception,
Set timer T4 to 4.5 seconds.
ステップ558においては、CCITT勧告V2勧告式
21リ信号を受信したか否かが判断される。In step 558, it is determined whether a CCITT Recommendation V2 Recommendation Type 21 signal has been received.
CCITT勧告V2勧告式21リ−信号を受信した場合
は、ステップ560に進む。CCITT勧告V2勧告式
21リ−信号を受信していない時には、ステップS62
に進む。If the CCITT Recommendation V2 Recommendation Type 21 Lee signal is received, the process proceeds to step 560. When the CCITT Recommendation V2 Recommendation 21 Lee signal is not received, step S62
Proceed to.
ステップS6Gは、G3モードのバイナリ手順に移行す
ることを表している。Step S6G represents transition to the G3 mode binary procedure.
ステップS62においては、GC2信号あるいは、PI
S (手順中断)信号を検出したか否かが判断される。In step S62, the GC2 signal or the PI
It is determined whether the S (procedure interruption) signal is detected.
GC2信号あるいは、PIS信号を検出するときには、
ステップS64に進む。GC2信号あるいは、PIS信
号を検出していないときには、ステップ566 に進む
。When detecting GC2 signal or PIS signal,
The process advances to step S64. If no GC2 signal or PIS signal is detected, the process advances to step 566.
ステップS64は、トーナル手順に移行することを表し
ている。本実施例によるファクシミリ装置は、C1l:
77丁勧告G2.G3.機能を存する場合を想定してい
るので、トーナル信号としては、GC2信号およびPI
S信号の受信を行う。ここで、GC2信号を受信した時
は、G2モードでの伝送を行い、PIS信号を受信した
時は、電話モードへ進む。Step S64 represents transition to a tonal procedure. The facsimile machine according to this embodiment is C1l:
77-gun Recommendation G2. G3. Since it is assumed that the function exists, the GC2 signal and the PI
Receives the S signal. Here, when the GC2 signal is received, transmission is performed in the G2 mode, and when the PIS signal is received, the process proceeds to the telephone mode.
ステップ56Bにおいては、タイマーT4がタイムオー
バーしたか否かが判断される。タイマーT4がタイムオ
ーバーすると、ステップ568に進む。タイマーT4が
タイムオーバーしていないときには、ステップ558に
進む。In step 56B, it is determined whether timer T4 has timed out. When timer T4 times out, the process proceeds to step 568. If the timer T4 has not timed out, the process advances to step 558.
ステップ568においては、タイマーT1がタイムオー
バーしたかが判断される。タイマーTIがタイムオーバ
ーすると、ステップ570に進む。タイマーT1がタイ
ムオーバーしていないときには、ステップS54に進む
。In step 568, it is determined whether timer T1 has timed out. When the timer TI times out, the process proceeds to step 570. If the timer T1 has not timed out, the process advances to step S54.
ステップ570においては、 DCN(切断コマンド)
信号の送出を行う。In step 570, the DCN (disconnect command)
Sends signals.
ステップ572は、回線切断を表している。Step 572 represents line disconnection.
第4図に示した概略フローチャートにおいては、本実施
例特有の機能は示されていない。In the schematic flowchart shown in FIG. 4, functions unique to this embodiment are not shown.
次に、本実施例による制御手順の詳細を第5図(1)〜
(5)を参照して説明する。Next, the details of the control procedure according to this embodiment are shown in FIG.
This will be explained 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 machine. Specifically, a signal of signal level "1" is output to the signal line 38a.
ステップS84においては、5IGTRC(SIGNA
L TRNC0NTR0L )フラグに「0」をセット
する。In step S84, 5IGTRC(SIGNA
LTRNC0NTR0L) Set the flag to "0".
ステップ58Bにおいては2秒間時機する。Step 58B waits for 2 seconds.
ステップ588においては、自動受信であるか否かが判
断される。自動受信である時は、ステップS90に進む
。手動受信である時は、ステップS94に進む。In step 588, it is determined whether or not the reception is automatic. If it is automatic reception, the process advances to step S90. If it is manual reception, the process advances to step S94.
ステップS90においては、CHD(被呼局識別)信号
を送出する。In step S90, a CHD (called station identification) signal is sent.
ステップS92においては、T4SAVに3秒をセット
する。In step S92, T4SAV is set to 3 seconds.
ステップ594においては、TJSAVに4.5秒をセ
ットする。In step 594, TJSAV is set to 4.5 seconds.
ステップ596においては、タイマーT1に35秒をセ
ットする。In step 596, timer T1 is set to 35 seconds.
ステップ598においては、フラグ5IGTRCが「O
」であるか否かが判断される。ここでは、初期識別信号
を送出する時、1回目のみGI2信号を送出しない制御
を行っている。フラグ5IGTRCが「0」である時は
、ステップ5102に進む。また、フラグ5IGTRC
が「0」でない時は、ステップ10Gに進む。In step 598, flag 5IGTRC is set to “O
” is determined. Here, when transmitting the initial identification signal, control is performed such that the GI2 signal is not transmitted only the first time. When flag 5IGTRC is "0", the process advances to step 5102. Also, flag 5 IGTRC
is not "0", the process advances to step 10G.
ステップ5100においては、GI2信号を送圧する。In step 5100, the GI2 signal is sent.
具体的には信号線38cにパルスを発生し、GI2信号
の送出を開始し、信号線17bにパルスが発生するのを
待機する。信号線17bにパルスが発生した時、ステッ
プ5104に進む。Specifically, it generates a pulse on the signal line 38c, starts sending out the GI2 signal, and waits for a pulse to be generated on the signal line 17b. When a pulse is generated on the signal line 17b, the process advances to step 5104.
ステップ5102においては、フラグ5IGTRCに1
をセットする。In step 5102, flag 5IGTRC is set to 1.
Set.
ステップ5IQ4においては、NSF −C5I −
0l5信号を送出する。具体的には信号線14aにパル
スが発生する毎にバイトデータを信号線38bに送出す
ることにより、NSF −CSI −[11S信号
を送出する、最後のフラグは1つとする。In step 5IQ4, NSF -C5I -
Sends 0l5 signal. Specifically, by sending byte data to the signal line 38b every time a pulse is generated on the signal line 14a, the NSF-CSI-[11S signal is sent, and the last flag is one.
ステップ5106においては、T4SAVに格納した時
間をタイマーT4にセットする。In step 5106, the time stored in T4SAV is set in timer T4.
ステップ5108においては、受信したデータを格納す
るエリアBIR(OにOOHをセットする。In step 5108, OOH is set in the area BIR(O) in which the received data is stored.
ステップ5110においては、受信したデータを格納す
るエリアBIRCIにOOHをセットする。In step 5110, OOH is set in the area BIRCI in which the received data is stored.
ステップ5112においては、エコータイマーECII
TIMに600m5をセットする。In step 5112, the echo timer ECII
Set 600m5 to TIM.
ステップ5114においては、2バイト連続した7EH
(01111110B)パターンを検出した時に「1」
にセットされるフラグFLGIDTを「O」にセットす
る。In step 5114, two consecutive bytes of 7EH
(01111110B) “1” when a pattern is detected
The flag FLGIDT, which is set to ``O'', is set to ``O''.
ステップ5116においては、フラグFLGDETに「
0」をセットする。In step 5116, the flag FLGDET is set to “
0”.
ステップ5118においては、1つのフレームを受信し
ている時のバイト数をカウントするカウンタCNTBY
Tに「0」をセットする。In step 5118, a counter CNTBY is used to count the number of bytes when receiving one frame.
Set "0" to T.
ステップ5120においては、1周期の信号の周波数を
解析した時、2100Hzであったと判断されることが
788回あった場合には、GC2信号を検出したものと
判断する。この788回をカウントするのに使用するカ
ウンタCNT210に788をセットする。2周期に1
回、周波数の解析を行うことが可能であるので、788
回は、合計788 X −x 2=0.75秒の21Q
QHzを検出することに対応する。In step 5120, when the frequency of one cycle of the signal is analyzed and it is determined that it is 2100 Hz 788 times, it is determined that the GC2 signal has been detected. 788 is set in the counter CNT210 used to count these 788 times. 1 every 2 cycles
It is possible to analyze the frequency 788 times.
The total number of times is 788 X - x 2 = 0.75 seconds 21Q
This corresponds to detecting QHz.
ステップ5122においては、1周期の信号の周波数を
解析した時、462H1であったと判断されることが2
31回あった場合、PIS信号を検圧したものと判断す
る。この231回をカウントするのに使用するカウンタ
CNT462に231をセットする。2周期に1回、周
波数の解析を行うことが可能であるので、231回は、
合計231 x −x 2 = 1.00秒の462H
zを検出することに対応する。In step 5122, when the frequency of one period of the signal is analyzed, it is determined that it is 462H1.
If there are 31 times, it is determined that the PIS signal has been detected. The counter CNT462 used to count these 231 times is set to 231. Since it is possible to analyze the frequency once every two periods, 231 times is
Total 231 x - x 2 = 462H for 1.00 seconds
Corresponds to detecting z.
ステップ5124においては、300b/Sのバイトク
ロックが発・生じたか否かが判断される。具体的には、
信号線28aにクロックが発生したか否かが判断される
。300b/sのバイトクロツタが発生すると(すなわ
ち、信号線28aにクロックが発生すると)、ステップ
5160に進むゆ300bへのバイトクロツタが発生し
ていないとき(すなわち、信号線28aにクロックが発
生していないとき)には、ステップ5126に進む。In step 5124, it is determined whether a 300 b/s byte clock has occurred. in particular,
It is determined whether a clock is generated on the signal line 28a. If a byte clock of 300 b/s occurs (that is, when a clock is generated on the signal line 28a), the process proceeds to step 5160. ), the process proceeds to step 5126.
ステップ5126においては、FLGf1)Tが「0」
であるか、すなわち、2バイトの連続したフラグパター
ン(7EH)を検出しているか否かが判断される。FL
GIDTが「0」のとき、すなわち、2バイトの連続し
たフラグパターン(7E1)を検出していないときは、
ステップ5128に進む。FLGIDTが「1」のとき
、すなわち、2バイトの連続したフラグパターン(7E
旧を検出しているときは、ステップ5150に進み、ト
ーナル信号の解析は行わない。In step 5126, FLGf1)T is "0"
In other words, it is determined whether or not a continuous 2-byte flag pattern (7EH) is detected. FL
When GIDT is "0", that is, when a continuous 2-byte flag pattern (7E1) is not detected,
Proceed to step 5128. When FLGIDT is “1”, that is, a 2-byte continuous flag pattern (7E
If the old signal is detected, the process advances to step 5150 and no analysis of the tonal signal is performed.
ステップ3128においては、SE+)(Signal
EnergyDetect)が1であるか否か、すな
わち、信号線36aが信号レベル「1」であるか否かが
判断される。SEDが1である時、すなわち、信号線3
8aが信号レベル「1」である時は、ステップ!!13
0に進み、トーナル信号の解析へ進む。SEDが「O」
である時、すなわち、信号線35aが信号レベル「O」
である時は、ステップ5150に進み、トーナル信号の
解析は行わない。In step 3128, SE+)(Signal
It is determined whether EnergyDetect) is 1, that is, whether the signal level of the signal line 36a is "1". When SED is 1, that is, signal line 3
When signal level 8a is "1", step! ! 13
0 and proceed to the analysis of the tonal signal. SED is “O”
In other words, when the signal line 35a is at the signal level "O"
If so, the process advances to step 5150 and no analysis of the tonal signal is performed.
上記のステップ5126および5128は、本実施例特
有の部分を表している。Steps 5126 and 5128 above represent parts unique to this embodiment.
ステップ5130においては、トーナル信号の1周冊の
解析が終了したか否か、すなわち、信号線34aにパル
スが発生したか否かが判断される。In step 5130, it is determined whether or not the analysis of one cycle of the tonal signal has been completed, that is, whether or not a pulse has been generated on the signal line 34a.
トーナル信号の1周期の解析が終了した場合、すなわち
、信号線34aにパルスが発生した場合には、ステップ
5132に進む。また、トーナル信号の1周期の解析が
終了していない場合、すなわち、信号線34aにパルス
が発生していない場合には、ステップ5150に進む。When the analysis of one period of the tonal signal is completed, that is, when a pulse is generated on the signal line 34a, the process advances to step 5132. Further, if the analysis of one period of the tonal signal has not been completed, that is, if no pulse is generated on the signal line 34a, the process advances to step 5150.
ステップ5132においては、トーナルデータ(すなわ
ち、信号線34bの信号)を人力する。In step 5132, the tonal data (ie, the signal on the signal line 34b) is input manually.
ステップ5134においては、今、受信した1周期の信
号が2100Hzであるか否かが判断される。今、受信
した1周期の信号が2100 Hzである時は、ステッ
プ5136に進む。今、受信した1周期の信号が210
011zでない時は、ステップ5142に進む。In step 5134, it is determined whether the currently received one-cycle signal is 2100 Hz. If the received one-cycle signal is now 2100 Hz, the process advances to step 5136. The signal of one period received now is 210
If it is not 011z, the process advances to step 5142.
ステップ5136においては、カウンタCNT210の
値を1だけデクリメントする。In step 5136, the value of counter CNT210 is decremented by one.
ステップ5138においては、カウンタCNT210の
値が負であるか否か、すなわち、GC2信号を検出した
か否かが判断される。カウンタCNT210の値が負で
ある時、すなわち、GC2信号を検出した時は、ステッ
プ5140に進む。カウンタGNT210の値が正また
は零である時、すなわち、GC2信号を検出していない
時は、ステップ5150に進む。In step 5138, it is determined whether the value of counter CNT210 is negative, that is, whether the GC2 signal has been detected. When the value of counter CNT210 is negative, that is, when the GC2 signal is detected, the process advances to step 5140. When the value of counter GNT210 is positive or zero, that is, when the GC2 signal is not detected, the process advances to step 5150.
ステップ5140は、GC2信号受信と判断し、G2の
受信モードへ移行することを表している。Step 5140 indicates that it is determined that the GC2 signal has been received and that the mode is shifted to the G2 reception mode.
ステップ5142においては、今、受信した1周期の信
号が462H2であるか否かが判断される。今、受信し
た1周期の信号が462Hzである時は、ステップ51
44に進む。今、受信した1周期の信号が462tlz
でない時は、ステップ5150に進む。In step 5142, it is determined whether the currently received one-cycle signal is 462H2. If the received one-cycle signal is 462Hz, step 51
Proceed to step 44. The signal of one period received now is 462 tlz
If not, proceed to step 5150.
ステップ5144においては、カウンタCNT462の
値を1だけデクリメントする。In step 5144, the value of counter CNT462 is decremented by one.
ステップ5146においては、カウンタCNT462の
値が負であるか否か、すなわち、PIS信号を検出した
か否かが判断される。カウンタCNT462の値が負で
ある時、すなわち、PIS信号を検出した時は、ステッ
プ5148に進む。カウンタCNT462の値が正また
は零である時、すなわち、I’lS信号を検出していな
い時は、ステップ5150に進む。In step 5146, it is determined whether the value of counter CNT462 is negative, that is, whether the PIS signal has been detected. When the value of counter CNT462 is negative, that is, when the PIS signal is detected, the process advances to step 5148. When the value of counter CNT462 is positive or zero, that is, when the I'lS signal is not detected, the process proceeds to step 5150.
ステップ5148は、PIS信号受信と判断し、電話モ
ードへ移行することを表している。Step 5148 represents determining that a PIS signal has been received and transitioning to telephone mode.
ステップ5150においては、タイマーT1がタイムオ
ーバーしたか否かが判断される。タイマーT1がタイム
オーバーすると、ステップ5154に進む。タイマーT
1がタイムオーバーしていないときには、ステップ51
52に進む。In step 5150, it is determined whether timer T1 has timed out. When the timer T1 times out, the process advances to step 5154. Timer T
1 has not timed out, step 51
Proceed to step 52.
ステップ5152においては、タイマーT4がタイムオ
ーバーしたか否かが判断される。タイマーT4がタイム
オーバーすると、ステップ598に進む。タイマーT4
がタイムオーバーしていないときには、ステップ512
4に進む。In step 5152, it is determined whether timer T4 has timed out. When the timer T4 times out, the process proceeds to step 598. Timer T4
has not timed out, step 512
Proceed to step 4.
ステップ5154においては、DCN(切断コマンド)
信号を送出する。具体的には、信号線14aにパルスが
発生する毎にバイトデータを信号線38bに送出するこ
とにより、DCN信号を送出する。最後のフラグは1つ
とする。In step 5154, the DCN (disconnect command)
Send a signal. Specifically, the DCN signal is sent by sending byte data to the signal line 38b every time a pulse is generated on the signal line 14a. The last flag is one.
ステップ5156においては、電話回線を電話機側に接
続する。具体的には、信号線38aに信号レベル「1」
の信号を出力する。In step 5156, the telephone line is connected to the telephone side. Specifically, the signal level "1" is applied to the signal line 38a.
Outputs the signal.
ステップ3158は、オフ状態を表している。Step 3158 represents an off state.
ステップ5160においては、エコータイマーEC)I
TIMがタイムオーバーしたか否か、すなわち、(GI
2) ・NSF −(:5I−0I5信号の送出後、
60Gmsが経過したか否かが判断される。エコータイ
マーECIITIMがタイムオーバーした場合、すなわ
ち、(GI2) ・NSF −CSI −0I5信
号の送出後、Boomsが経過している場合は、ステッ
プ5162に進み、バイナリ信号の受信を行う。他方、
エコータイマーEC)ITIMがタイムオーバーしてい
ない場合、すなわち、(GI2) ・N5F−C5I
・DIS信号の送出後、600m5が経過していない
場合は、ステップ5126に進み、トーナル信号の受信
を行う。これは、自機が信号を送出し、相手機から送出
される・信号の受信を行う際、トーナル信号の受信は直
ちに開始し、バイナリ−信号の受信は、ある一定時間経
過後に開始することを示している。これは、本実施例特
有の部分である。これにより、600m5以下のエコー
に対しては、誤動作は全く生しなくなる。In step 5160, the echo timer EC)I
Whether TIM has timed out or not, i.e. (GI
2) ・NSF - (: After sending the 5I-0I5 signal,
It is determined whether 60 Gms has elapsed. If the echo timer ECIITIM times out, that is, if Booms has elapsed after sending the (GI2) - NSF-CSI-0I5 signal, the process proceeds to step 5162 and a binary signal is received. On the other hand,
Echo timer EC) If ITIM has not timed out, that is, (GI2) ・N5F-C5I
- If 600 m5 has not elapsed since the DIS signal was sent, the process advances to step 5126 and a tonal signal is received. This means that when your own aircraft sends a signal and receives signals sent from the other machine, reception of tonal signals begins immediately, and reception of binary signals begins after a certain period of time has elapsed. It shows. This is a part unique to this embodiment. As a result, no malfunction will occur for echoes of 600 m5 or less.
ステップ51B2においては、受信したバイナリデータ
(すなわち、信号線28bのデータ)を、メモリBIR
C2に格納する。In step 51B2, the received binary data (that is, the data on the signal line 28b) is transferred to the memory BIR.
Store in C2.
ステップ5164においては、受信したバイナリデータ
(8ビツト)カウントするためのカウンタIITTCτ
1に8をセットする。In step 5164, a counter IITTCτ for counting the received binary data (8 bits) is set.
Set 8 to 1.
ステップ5166においては、メモリo+ncoの値が
7CI+(すなわち、フラグパターン)であるか否かが
判断される。メモリB[RCOの値が7EH(すなわち
、フラグパターン)である時は、ステップ5168に進
む。メモリBIRCOの値がや7EH(すなわち、フラ
グパターン)でない時は、ステップ5174に進む。In step 5166, it is determined whether the value of memory o+nco is 7CI+ (ie, flag pattern). When the value of memory B[RCO is 7EH (ie, flag pattern), the process advances to step 5168. If the value of the memory BIRCO is not 7EH (ie, flag pattern), the process advances to step 5174.
ステップ5168においては、フラグFLGIDTが0
であるか否かが判断される。フラグFLGIDTが0の
時、すなわち、2バイトの連続した7EI((フラグパ
ターン)を検出していない時は、ステップ5170に進
む。フラグFLGIDTが0でない時、すなわち、2バ
イトの連続した7EH(フラグパターン)を検出してい
る時は、ステップ5180に進む。In step 5168, the flag FLGIDT is set to 0.
It is determined whether or not. When the flag FLGIDT is 0, that is, when the 2-byte consecutive 7EI ((flag pattern) is not detected, the process advances to step 5170. When the flag FLGIDT is not 0, that is, when the 2-byte consecutive 7EI((flag pattern) pattern) is being detected, the process advances to step 5180.
ステップ5170においては、メモリBIIICIの値
が7εH(すなわち、フラグパターン)であるか否かが
判断される。メモリBIRCIの値が7Ell(すなわ
ち、フラグパターン)である時は、ステップ5172に
進む。メモリBIRCIの値が7EH(すなわち、フラ
グパターン)でない時は、ステップ5174に進む。In step 5170, it is determined whether the value of memory BIIICI is 7εH (ie, flag pattern). When the value of memory BIRCI is 7Ell (ie, flag pattern), the process advances to step 5172. If the value of memory BIRCI is not 7EH (ie, flag pattern), the process advances to step 5174.
ステップ5172においては、2バイトの連続した7E
l+(フラグ)パターンを検出したので、フラグFLG
IDTに「1」をセットする。In step 5172, two consecutive bytes of 7E
Since l+ (flag) pattern was detected, flag FLG
Set IDT to "1".
ステップ5174においては、カウンタBITCTIが
「0」であるか否か、すなわち、ステップ5162で人
力したバイトデータのチェックがすべて完了したか否か
が判断される。カウンタBITCTIが「O」の時、す
なわち、ステップ5162で入力したバイトデータのチ
ェックがすべて完了した時は、ステップ5184に進む
。他方、カウンタBITCTlがr□、でない時、すな
わち、ステップ5162で人力したバイトデータのチェ
ックがすべて完了していない時は、5176に進む。In step 5174, it is determined whether the counter BITCTI is "0", that is, whether all byte data checks manually performed in step 5162 have been completed. When the counter BITCTI is "O", that is, when all the byte data input in step 5162 have been checked, the process advances to step 5184. On the other hand, if the counter BITCTl is not r□, that is, if all the byte data manually checked in step 5162 has not been completed, the process advances to 5176.
ステップ5176においては、メモリ[l[RC2,B
IRCI 。In step 5176, memory [l[RC2,B
IRCI.
BIRCOのデータを1ビツトずつ右へ8動する。この
様子は、第6図に図示されている。Move the BIRCO data 8 bits to the right. This situation is illustrated in FIG.
ステップ5178においては、カウンタBITCTIの
値を1だけ減じる。In step 5178, the value of counter BITCTI is decremented by one.
ステップ5taoにおいては、メモリBIRC1の値が
7EI+(すなわち、フラグパターン)であるか否かが
判断される。メモリBIIICIの値が7EH(すなわ
ち、フラグパターン)である時は、フラグパターンが連
続しているものと判断し、ステップ5174に進む。メ
モリ[1111(:1の値が7E)I(すなわち、フラ
グパターン)でない時は、プリアンプルの送出が終了し
たものと判断し、ステップ5182に進む。In step 5tao, it is determined whether the value of the memory BIRC1 is 7EI+ (ie, a flag pattern). When the value of the memory BIIICI is 7EH (ie, flag pattern), it is determined that the flag pattern is continuous, and the process advances to step 5174. If the value of memory [1111(:1) is not 7E)I (ie, flag pattern), it is determined that the transmission of the preamble has been completed, and the process proceeds to step 5182.
ステップ5182においては、プリアンプルの最後のフ
ラグを検出したことを表わすフラグFLGDETに「1
」をセットする。In step 5182, the flag FLGDET indicating that the last flag of the preamble has been detected is set to "1".
”.
ステップ5184においては、フラグFLGDETが「
0」であるか否か、すなわち、プリアンプルの最後のフ
ラグを検出しているか否かが判断される。フラグF1.
GDETが「0」である時、すなわち、プリアンプルの
最後のフラグを検出していない時は、ステップ512B
に進む。他方、フラグFLGDETが「1」である時、
すなわち、プリアンプルの最後のフラグを検出している
時は、ステップ5186に進む。In step 5184, the flag FLGDET is set to “
0'', that is, whether or not the last flag of the preamble has been detected. Flag F1.
When GDET is "0", that is, when the last flag of the preamble has not been detected, step 512B
Proceed to. On the other hand, when the flag FLGDET is "1",
That is, when the last flag of the preamble is detected, the process advances to step 5186.
ステップ518Bに進む場合は、2バイト以上の連続し
たフラグパターンを検出し、その後、フラグパターン以
外のパターンを検出した場合である。The process proceeds to step 518B when a continuous flag pattern of 2 or more bytes is detected, and then a pattern other than the flag pattern is detected.
ここで、自機が送出するバイナリ信号の最終部分のフラ
グは1つである。このため、自機の送出したバイナリ信
号の最終部分のフラグを検出して、ステップ5186に
進むことはない。Here, the final part of the binary signal sent by the machine itself has one flag. Therefore, the flag of the final part of the binary signal sent by the own machine is not detected and the process does not proceed to step 5186.
フ卆d−f々HIAIご執いでL÷ バ、/ −)−I
I I霊魯の否?’4を行う。すなわち、300b/s
のバイトクロック(信号線28aのバイトクロック)が
発生する毎に、バイトデータを入力し、0デリートおよ
びFC5を演算しながら、バイトデータをメモリに書き
込む。Ha D -F Your HIAI L ÷ Ba, / -) --I
I I Rei Lu's no? ' Do 4. That is, 300b/s
Each time a byte clock (byte clock of signal line 28a) is generated, byte data is input, and the byte data is written into the memory while calculating 0 delete and FC5.
受信したバイト数は、カウンタCNT[lYTに示され
る。ここで、バイナ 信号の受信中にタイマーTlがタ
イムオーバーした時は、DCN(切断コマンド)信号を
送出し、その後、電話回線を電話機側へ接続し、OFF
となる。また、最終部分のフラグを検出した時は、ステ
ップ5188に進む。バイナリ信号を受信中に、200
ms連続してCD(キャリアディテクト)が「0」で
あることを検出した場合は、ステップ5108に進む。The number of bytes received is shown in counter CNT[lYT. Here, when the timer Tl times out while receiving a binary signal, a DCN (disconnection command) signal is sent, and then the telephone line is connected to the telephone side and turned off.
becomes. Further, when the flag of the final portion is detected, the process advances to step 5188. 200 while receiving binary signal
If it is detected that CD (carrier detect) is "0" continuously for ms, the process advances to step 5108.
更に、1フレームのバイト数([:NTOYT)が12
8を越えた場合も、ステップ5108に進む。これは、
本実施例特有の機能である。ここでは、カウンタBIT
CTI等の制御も行う。Furthermore, the number of bytes in one frame ([:NTOYT) is 12
If the number exceeds 8, the process also proceeds to step 5108. this is,
This is a function unique to this embodiment. Here, the counter BIT
It also controls CTI, etc.
ステップ5188においては、いま、受信したフレーム
のバイト数(CNTBYT)が5未満であるか否かが判
断される。いま、受信したフレームのバイト数が5未満
の時は、ステップ5108に進む。またいま、受信した
フレームのバイト数が5以上の時は、ステップ5190
に進む。ここで、正しくバイナリ信号を受信した時のバ
イト数は少なくとも5バイト(アドレス、制御、ファク
シミリ制御、ファクシミリ情報フィールド、フレームチ
ェックシーケンス2バイト)である。In step 5188, it is determined whether the number of bytes (CNTBYT) of the currently received frame is less than five. If the number of bytes in the received frame is less than 5, the process advances to step 5108. Also, if the number of bytes of the received frame is 5 or more, step 5190
Proceed to. Here, the number of bytes when correctly receiving the binary signal is at least 5 bytes (address, control, facsimile control, facsimile information field, frame check sequence 2 bytes).
ステップ5190においては、フレームチェックシーケ
ンスが正しいか否かが判断される。フレームチェックシ
ーケンスが正しい時は、ステップ5192に進む。フレ
ームチェックシーケンスが誤っている時は、ステップ5
108に進む。In step 5190, it is determined whether the frame check sequence is correct. If the frame check sequence is correct, proceed to step 5192. If the frame check sequence is incorrect, step 5
Proceed to step 108.
ステップ5192においては、受信したバイナリ信号の
ファクシミリ情報フィールドの解析を行う。In step 5192, the facsimile information field of the received binary signal is analyzed.
ステップ5194においては、いま受信したバイナリ−
データがCRP(コマンド再送要求)信号であるかが判
断される。いま受信したバイナリデータがCRP信号で
ある時は、ステップ5210に進む。また、いま受信し
たバイナリデータがCRP信号でない時は、ステップ5
196に進む。In step 5194, the binary code just received is
It is determined whether the data is a CRP (command retransmission request) signal. If the binary data just received is a CRP signal, the process advances to step 5210. Also, if the binary data just received is not a CRP signal, step 5
Proceed to 196.
ステップ5196においては、いま受信したフレームが
ラストフレームであるか否かが判断される。In step 5196, it is determined whether the currently received frame is the last frame.
今、受信したフレームがラストフレームである時は、ス
テップ5198に進む。また、いま受信したフレームが
ラストフレームでない時は、ステップ5206に進む。If the currently received frame is the last frame, the process advances to step 5198. Further, if the currently received frame is not the last frame, the process advances to step 5206.
ステップ5198においては、いま受信したバイナリ信
号は、直前に送出したバイナリ信号と同じであるか否か
が判断される。いま受イz シたバイナリ信号が、直前
に送出したバイナリ信号と同じである場合は、ステップ
5200に進む。また、いま受信したバイナリ信号が直
前に送出したバイナリ信号と違う場合は、ステップ52
12に進む。In step 5198, it is determined whether the currently received binary signal is the same as the previously sent binary signal. If the binary signal just received is the same as the binary signal sent out immediately before, the process advances to step 5200. Further, if the binary signal just received is different from the binary signal sent immediately before, step 52
Proceed to step 12.
ステップ5200においては、いま受信したバイナリ信
号は、Dis(デジタル識別信号)信号であるかが判断
される。また、いま受信したバイナリ信号がD■S信号
である時は、ステップ5202に進む。また、いま受信
したバイナリ信号がDTS信号でない時は、エコーと判
断し、ステップ5108に進む。In step 5200, it is determined whether the binary signal just received is a Dis (digital identification signal) signal. Further, if the binary signal just received is a D■S signal, the process advances to step 5202. Furthermore, if the binary signal just received is not a DTS signal, it is determined to be an echo and the process proceeds to step 5108.
ステップ5202においては、自動着信であるか否かが
判断される。自動着信でない時は、ステップ5204に
進む。自動着信である時は、DISグループの信号を検
出しても意味のない信号であるので、ステップ5108
に進む。In step 5202, it is determined whether or not the call is automatically received. If the call is not automatically received, the process advances to step 5204. When the call is automatically received, detecting the DIS group signal is meaningless, so step 5108
Proceed to.
ステップ5204においては、直前に送出したバイナリ
信号と、いま受信したバイナリ信号のPIF(ファクシ
ミリ情報フィールド)が同じであるか否かが判断される
。直前に送出したバイナリ信号と、いま受信したバイナ
リ信号のPIFが違う場合は、ステップ5212に進む
。また直前に送出したバイナリ−信号と、いま受信した
バイナリ信号のPIFが同じ場合は、エコーと判断し、
ステップ5108に進む。In step 5204, it is determined whether the PIF (facsimile information field) of the binary signal sent just before and the binary signal just received are the same. If the PIF of the binary signal sent just before and the binary signal just received are different, the process advances to step 5212. Also, if the PIF of the binary signal sent just before and the binary signal just received are the same, it is judged as an echo,
Proceed to step 5108.
ステップ519Bないし、ステップ5204は、エコー
に対する対策である。これは、本実施例特有の機能であ
る。Steps 519B to 5204 are measures against echo. This is a feature unique to this embodiment.
ステップ5206においては、フラグFLGDETに「
O」をセットする。In step 5206, the flag FLGDET is set to “
Set "O".
ステップ5208においては、フラグCNTBYTに「
0」をセットする。In step 5208, the flag CNTBYT is set to “
0”.
ステップ5210においては、後述するステ・ンブ52
12ないしステップ5240km示すV21信号ノCD
=0を確認した後、ステップ598に進む。In step 5210, a step 52, which will be described later,
V21 signal CD showing 12 to 5240km steps
After confirming that =0, the process advances to step 598.
ステップ5212においては、タイマーT2に10秒を
セットする。In step 5212, timer T2 is set to 10 seconds.
ステップ5214においては、メモリBIRCOが7E
H(フラグパターン)であるか否かが判断される。メモ
リB [RCOが7EH(フラグパターン)である時は
、ステップ5216に進む。また、メモリ[1IItC
Oが7EI+(フラグパターン)でない時は、ステップ
5218に進む。In step 5214, memory BIRCO is 7E
It is determined whether the pattern is H (flag pattern). Memory B [When RCO is 7EH (flag pattern), proceed to step 5216. Also, memory [1IItC
If O is not 7EI+ (flag pattern), the process advances to step 5218.
ステップ5216においては、メモリ[1tllCIか
7E11(フラグパターン)であるか否がか判断される
。メモリB[RClが7EH(フラグパターン)である
時は、フラグ信号が連続しているものと判断し、ステッ
プ5218に進む。また、メモリBIRCI h)7E
H(フラグパターン)でない(メモリBIIICOは7
E11(フラグパターン)である時は、クローズドフラ
グを検出したものと判断し、ステップ5236に進む。In step 5216, it is determined whether the memory is [1tllCI or 7E11 (flag pattern). When memory B[RC1 is 7EH (flag pattern), it is determined that the flag signals are continuous, and the process advances to step 5218. Also, memory BIRCI h) 7E
Not H (flag pattern) (Memory BIIICO is 7
If it is E11 (flag pattern), it is determined that a closed flag has been detected, and the process proceeds to step 5236.
ステップ5218においては、カウンタBITCTIが
「O」であるか否かが判断される。カウンタ81TCT
1が「0」である時は、ステップ5224に進む。また
、カウンタBITCTIが「0」でない時は、ステップ
5220に進む。In step 5218, it is determined whether the counter BITCTI is "O". Counter 81TCT
If 1 is "0", the process advances to step 5224. Further, when the counter BITCTI is not "0", the process advances to step 5220.
ステップ5220においては、メモリ811’([:2
.BIRCI。In step 5220, the memory 811'([:2
.. BIRCI.
Bin(Oのデータを1ビツトずつ右へ8動する。Move the data in Bin(O 8 bits to the right.
ステップ5222においては、カウンタBITCτlの
値を1だけ減じる。In step 5222, the value of counter BITCτl is decreased by 1.
ステップ5224においては、タイマーT2がタイムオ
ーバーしたか否かが判断される。タイマーT2がタイム
オーバーした時は、ステップ5232に進む。In step 5224, it is determined whether timer T2 has timed out. When timer T2 times out, the process advances to step 5232.
他方、タイマーT2がタイムオーバーしていない時は、
ステップ3226に進む。On the other hand, when timer T2 has not timed out,
Proceed to step 3226.
ステップ522Bにおいては、300b/sのバイトク
ロックが発生したか否か、すなわち、信号lR2Baに
クロックが発生したか否かが判断される。In step 522B, it is determined whether a 300 b/s byte clock has been generated, that is, whether a clock has been generated on the signal lR2Ba.
300b/Sのバイトクロツタが発生した時、すなわち
、信号線28aにクロックが発生した時は、ステップ5
228に進む。また、300b/Sのバイトクロックが
発生していない時、すなわち、信号線28aにクロック
が発生していない時は、ステップ5224に進む。When a byte clock of 300b/s occurs, that is, when a clock is generated on the signal line 28a, step 5 is executed.
Proceed to 228. 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 advances to step 5224.
ステップ5228においては、受信したバイナリデータ
(信号線28bに出力されているデータ)をメモリBI
llC2に格納する。In step 5228, the received binary data (data output to the signal line 28b) is transferred to the memory BI.
Store in llC2.
ステップ5230においては、カウンタ8ITCTlに
8をセットする。In step 5230, a counter 8ITCTl is set to 8.
ステップ5232においては、電話回線を電話機側に接
続する。具体的には、信号線38aに信号レベルr O
Jの信号を出力する。In step 5232, the telephone line is connected to the telephone set. Specifically, the signal level r O is applied to the signal line 38a.
Outputs the J signal.
ステップ5234は、エラーを表している。Step 5234 represents an error.
ステップ5236においては、タイマーT2に1秒をセ
ットする。In step 5236, timer T2 is set to 1 second.
ステップ5238においては、200m5間連続してS
ED(Signal Energy Detect)が
「0」であることを検出したか否かが判断される。この
SEDが「0」であるか「1」であるかは、信号線36
aの信号を人力して判断する。200m5間連続してS
EDが「0」であることを検出した時は、ステップ52
42に進む。また、20OfflS間連続してSEDが
「O」であることを検出していない時は、ステップ52
40に進む。In step 5238, the S
It is determined whether ED (Signal Energy Detect) is detected to be "0". Whether this SED is “0” or “1” is determined by the signal line 36.
The signal of a is judged manually. S continuously for 200m5
When it is detected that ED is "0", step 52
Proceed to step 42. Further, if it is not detected that SED is "O" continuously for 20OfflS, step 52
Proceed to 40.
ステップ5240においては、タイマーT2がタイムオ
ーバーしたか否かが判断される。タイマーT2がタイム
オーバした時は、ステップ5242に進む。他方、タイ
マーT2がタイムオーバーしていない時は、ステップ5
238に進む。In step 5240, it is determined whether timer T2 has timed out. When timer T2 times out, the process advances to step 5242. On the other hand, if timer T2 has not timed out, step 5
Proceed to 238.
ステップ5212ないしステップ5240は、本実施例
特有の機能を示している。Steps 5212 to 5240 indicate functions unique to this embodiment.
ステップ5242は、300bへのバイナリ信号の受信
が終了し、受信した信号に基ついて次の動作へ進むこと
を表している。Step 5242 represents that the reception of the binary signal to 300b is completed and the process proceeds to the next operation based on the received signal.
上述した第5図において、300b/sのバイトクロツ
タが発生した時(ステップ5L24で判断する)は、3
00b/sの解析へ向かう。そして、300b/Sの解
析において、バイナリ信号の受信と判断されない時は、
ステップ512Bに進む。In FIG. 5 mentioned above, when a bite crotch of 300 b/s occurs (determined in step 5L24), 3
00b/s analysis. When the 300b/S analysis does not determine that a binary signal is being received,
Proceed to step 512B.
更に、トーナル信号の1周期の解析が終了した時(ステ
ップ5130で判断)は、トーナル信号の解析へ進む。Furthermore, when the analysis of one cycle of the tonal signal is completed (determined in step 5130), the process proceeds to the analysis of the tonal signal.
そして、トーナル信号の解析において、トーナル信号の
受信と判断されない時は、ステップ5124に進む。In the analysis of the tonal signal, if it is determined that no tonal signal has been received, the process advances to step 5124.
このように、トーナル信号とバイナリ信号を同時に受信
する必要がある時、受信したすべての信号を見落すこと
なく、常にトーナル信号およびバイナリ信号の受信を行
うことが可能になる。これは、本実施例特有の機能であ
る。In this way, when it is necessary to receive tonal and binary signals simultaneously, it is possible to always receive tonal and binary signals without overlooking all the received signals. This is a feature unique to this embodiment.
次に、既述の制御■について、第7図に示すフローチャ
ートを参照して説明する。Next, the above-mentioned control (2) will be explained with reference to the flowchart shown in FIG.
第7図において、ステップ5250は、画像送信側の処
理を表している。In FIG. 7, step 5250 represents processing on the image sending side.
ステップ5252においては、タイマーTIに35秒を
セットする。In step 5252, timer TI is set to 35 seconds.
ステップ5254においては、CCTTT勧告V21の
バイナリ信号を受信したか否かが判断される。In step 5254, it is determined whether a binary signal of CCTTT Recommendation V21 has been received.
[:(:ITT勧告V21のバイナリ信号を受信した場
合は、ステップ5256に進む。また、CCITT勧告
V2勧告式21リ信号を受信していない場合には、ステ
ップ5258に進む。[:(: If the binary signal of ITT Recommendation V21 is received, the process proceeds to step 5256. If the CCITT recommendation V2 recommendation type 21 signal is not received, the process proceeds to step 5258.
ステップ5256は、G3モードのバイナリ手順に移行
することを表している。Step 5256 represents transition to G3 mode binary procedure.
ステップ5258においては、GI2信号を検出したか
否かが判断される。GI2信号を検出したときには、ス
テップ5260に進む。他方、GI2信号を検出してい
ないときには、ステップ5262に進む。In step 5258, it is determined whether the GI2 signal is detected. When the GI2 signal is detected, the process advances to step 5260. On the other hand, if the GI2 signal is not detected, the process advances to step 5262.
ステップ5260は、トーナル手順に移行することを表
している。本実施例によるファクシミリ装置は、C(:
ITT勧告G2.G3機能を有する場合を想定している
ので、トーナル信号としては、GI2信号の受信を行う
必要がある。Step 5260 represents transition to a tonal procedure. The facsimile machine according to this embodiment is C(:
ITT Recommendation G2. Since it is assumed that the device has the G3 function, it is necessary to receive the GI2 signal as the tonal signal.
ステップ5262においては、タイマーT1がタイムオ
ーバーしたか否かが判断される。タイマーTIがタイム
オーバーしたときには、ステップ5264に進む。また
、タイマーTlがタイムオーバーしていないときには、
ステップ5254に進む。In step 5262, it is determined whether timer T1 has timed out. When the timer TI times out, the process advances to step 5264. Also, when the timer Tl has not timed out,
Proceed to step 5254.
ステップ5264は、回線切断を表している。Step 5264 represents line disconnection.
上述した第7図示の概略フローチャートにおいては、本
実施例特有の機能は示されていない。そコテ、第8図(
1)〜(4)に示す詳細なフローチャートを参照して、
本実施例の制御手順を述べる。In the above-described schematic flowchart shown in FIG. 7, functions unique to this embodiment are not shown. So, Figure 8 (
Referring to the detailed flowcharts shown in 1) to (4),
The control procedure of this embodiment will be described.
第8図において、ステップ5270は、画像送信側の処
理を表している。In FIG. 8, step 5270 represents processing on the image sending side.
ステップ5272においていは、電話回線をファクシミ
リ装置側に接続する。具体的には、信号線38aに信号
レベル「1」の信号を出力する。In step 5272, the telephone line is connected to the facsimile machine. Specifically, a signal of signal level "1" is output to the signal line 38a.
ステップ5274においては、タイマーTlに35秒を
セットする。In step 5274, the timer Tl is set to 35 seconds.
ステップ5276においては、GI2信号を何回検出し
たかをカウントするためのカウンタGI2DETに「0
」をセットする。In step 5276, the counter GI2DET for counting how many times the GI2 signal is detected is set to "0".
”.
ステップ5278においては、受信したデータを格納す
るエリアBIIlGOにOOHをセットする。In step 5278, OOH is set in area BII1GO for storing the received data.
ステップ5280においては、受信したデータを格納す
るエリアBInCIに0011をセットする。In step 5280, 0011 is set in area BInCI for storing the received data.
ステップ5282においては、2バイト連続した7EH
<フラグパターン)を検出した時「1」にセットされる
フラグFLGIDTに「0」をセットする。In step 5282, two consecutive bytes of 7EH
The flag FLGIDT, which is set to ``1'' when a <flag pattern) is detected, is set to ``0''.
ステップ5284においては、フラグFLGDETに「
0」をセットする。In step 5284, the flag FLGDET is set to “
0”.
ステップ5285においては、1つのフレームを受信し
ている時のバイト数をカウントするためのカウンタCN
TBYTに「0」をセットする。In step 5285, a counter CN is used to count the number of bytes when receiving one frame.
Set TBYT to “0”.
ステップ5288においては、1周期の信号の周波数を
解析した際、1850H1であったと判断されることが
463回あった場合には、1つのGI2信号を検出した
ものと判断する。In step 5288, when the frequency of one period of the signal is analyzed, if it is determined that it is 1850H1 463 times, it is determined that one GI2 signal has been detected.
この463回をカウントするのに使用するカウンタ(:
NT1115に463をセットする。2周期に1回、周
波数の解析を行うことが可能であるので、この463回
は、合計463 x −x 2 = 0 、5秒の18
50)12を検出することに対応する。The counter used to count these 463 times (:
Set 463 in NT1115. Since it is possible to analyze the frequency once every two periods, these 463 times are a total of 463 x - x 2 = 0, 18 of 5 seconds.
50) corresponds to detecting 12.
ステップ5290においては、300b/sのバイトク
ロックが発生したか否かが判断される。具体的には、信
号線28aにクロックが発生したか否かが判断される。In step 5290, it is determined whether a 300 b/s byte clock has occurred. Specifically, it is determined whether a clock is generated on the signal line 28a.
300b/sのバイトクロックが発生すると、すなわち
、信号線28aにクロックが発生すると、ステップ53
32に進む。他方、300b/sのバイトクロックが発
生していないとき、すなわち、信号線28aにクロック
が発生していないときには、ステップ5292に進む。When a byte clock of 300 b/s is generated, that is, when a clock is generated on the signal line 28a, step 53
Proceed to step 32. On the other hand, when a 300 b/s byte clock is not generated, that is, when no clock is generated on the signal line 28a, the process advances to step 5292.
ステップ5292においては、FLGIDTが「0」で
あるか否か、すなわち、2バイトの連続したフラグパタ
ーン(7EH) が検出されているか否かが判断される
。FLGIDTが「Ojの時、すなわち、2バイトの連
続したフラグパターン(7EH)を検出していない時は
、ステップ5294に進む。またFL[DTが「1)の
時、すなわち、2バイトの連続したフラグパターン(7
E)I)を検出している時は、ステップ5306に進み
、トーナル信号の解析は行わない。In step 5292, it is determined whether FLGIDT is "0", that is, whether a continuous 2-byte flag pattern (7EH) has been detected. When FLGIDT is "Oj", that is, when a 2-byte consecutive flag pattern (7EH) is not detected, the process advances to step 5294. Also, when FLGIDT is "1", that is, when a 2-byte consecutive flag pattern (7EH) is not detected, the process proceeds to step 5294. Flag pattern (7
E) When I) is detected, the process advances to step 5306 and no analysis of the tonal signal is performed.
ステップ5294においては、SED(Signal
EnergyDetect)が「1」であるか否か、す
なわち、信号線36aが信号レベル「1」であるか否か
が判断される。このSEDが「1」である時、すなわち
、信号線36aが信号レベル「1」である時は、ステッ
プS 2’ 96に進み、トーナル信号の解析へ進む。In step 5294, SED (Signal
It is determined whether or not EnergyDetect) is "1", that is, whether the signal level of the signal line 36a is "1". When this SED is "1", that is, when the signal line 36a is at the signal level "1", the process advances to step S2' 96 to analyze the tonal signal.
他方、SEDがrOJである時、すなわち、信号線36
aが信号レベル「0」である時は、ステップ5306に
進み、トーナル信号の解析は行わない。On the other hand, when SED is rOJ, i.e. signal line 36
When a is the signal level "0", the process advances to step 5306 and no tonal signal analysis is performed.
上記のステップ5292および5294は、木実施特有
の機能である。Steps 5292 and 5294 above are features specific to tree implementations.
ステップ5296においては、トーナル信号の1周期の
解析が終了したか否か、すなわち、信号線34a にパ
ルスが発生したか否かが判断される。In step 5296, it is determined whether the analysis of one period of the tonal signal has been completed, that is, whether a pulse has occurred on the signal line 34a.
トーナル信号の1周期の解析が終了すると、すなわち、
信号線34のパルスが発生すると、ステップ5298に
進む。他方、トーナル信号の1周期の、解析が終了して
いないとき、すなわち、信号線34aにパルスが発生し
ていないときには、ステップ5306に進む。When the analysis of one period of the tonal signal is completed, that is,
When a pulse on signal line 34 occurs, the process proceeds to step 5298. On the other hand, if the analysis of one period of the tonal signal has not been completed, that is, if no pulse is generated on the signal line 34a, the process advances to step 5306.
ステップ5298においては、トーナルデータ(すなわ
ち、信号線34bの信号)を入力する。In step 5298, tonal data (ie, the signal on signal line 34b) is input.
ステップ5300においては、いま受信した1周期の信
号が1850H2であるか否かが判断される。いま受信
した1周期の信号が1850Hzである時は、ステップ
5302に進む。いま受信した1周期の信号が1850
Hzでない時は、ステップ5306に進む。In step 5300, it is determined whether the one-cycle signal just received is 1850H2. If the currently received one-cycle signal is 1850 Hz, the process advances to step 5302. The signal of one period just received is 1850
If it is not Hz, the process advances to step 5306.
ステップ5302においては、カウンタCNT185の
値が負であるか否か、すなわち、1850)1zの信号
を合計0.5秒以上検出したか否かが判断される。カウ
ンタCNT185の値が負である時、すなわち、185
0)1zの信号を合計0.5秒以上にわたって検出した
時は、ステップ5306に進む。またカウンタ(:NT
185の値が正または平である時、すなわち、1850
Hzの信号を合計0.5秒以上検出していない時は、ス
テップ5304に進む。In step 5302, it is determined whether the value of the counter CNT185 is negative, that is, whether the signal of 1850)1z has been detected for a total of 0.5 seconds or more. When the value of counter CNT185 is negative, that is, 185
0) When the 1z signal is detected for a total of 0.5 seconds or more, the process advances to step 5306. Also, the counter (:NT
When the value of 185 is positive or flat, i.e. 1850
If no Hz signal has been detected for a total of 0.5 seconds or more, the process advances to step 5304.
ステップ5304においては、カウンタCNT185の
値を1だけデクリメントする。In step 5304, the value of counter CNT185 is decremented by one.
ステップ5306においては、200m5以上の連続し
た5ED=Oを検出したか否かが判断される。ここでは
、バックグランドノイズ等があった場合も、信号のラン
ダム性をチェックし、信号断を判断する。In step 5306, it is determined whether or not consecutive 5ED=O of 200 m5 or more have been detected. Here, even if there is background noise, the randomness of the signal is checked to determine if the signal is disconnected.
200m5以上の連続した信号断を検出した場合は、ス
テップ5308に進む。また200m5以上の連続した
信号断を検出していない場合は、ステップ5326に進
む。If a continuous signal disconnection of 200 m5 or more is detected, the process advances to step 5308. Further, if a continuous signal disconnection of 200 m5 or more is not detected, the process advances to step 5326.
ステップ5308においては、カウンタCNT185の
値が負であるか否か、すなわち、1850)1zの信号
を合計0.5秒以上検出したか否かが判断される。カウ
ンタCNT185の値が負である時、すなわち1115
0Hzの信号を合計0.5秒以上検出した時は、ステッ
プS:]lOに進む。カウンタ(:NT185の値が正
または;である時、すなわち、1850H2の信号を合
計0.5秒以上検出していない時は、ステップ5320
に進む。In step 5308, it is determined whether the value of the counter CNT185 is negative, that is, whether the signal of 1850)1z has been detected for a total of 0.5 seconds or more. When the value of counter CNT185 is negative, that is, 1115
When a 0 Hz signal is detected for a total of 0.5 seconds or more, the process proceeds to step S:]IO. When the value of the counter (:NT185 is positive or ;, that is, when the 1850H2 signal is not detected for a total of 0.5 seconds or more, step 5320
Proceed to.
ステップ5310においては、信号断を検出し、かつ、
1850112の信号を合計して0.5秒以上検出して
いるので、GI2CNTを1だけインクリメントする。In step 5310, a signal disconnection is detected, and
Since the total number of signals of 1850112 has been detected for more than 0.5 seconds, GI2CNT is incremented by 1.
ステップ5312ニおイテは、FLGIDTが「o」で
あるか否かが判断される。ここで、FLGIDTが「o
」である時は、ステップ5314に進む。他方、FLG
IDTが「0」でない時は、ステップs3°18に進む
。In step 5312, it is determined whether FLGIDT is "o". Here, FLGIDT is “o
”, the process advances to step 5314. On the other hand, FLG
If IDT is not "0", the process advances to step s3°18.
ステップ5314においては、カウンタGI2DETが
2未満であるか否か、すなわち、GI2信号を2回未満
受信したか否かが判断される。カウンタGI2DETが
2未満である場合、すなわち、GI2信号を2回未満受
信した場合は、ステップ5320に進む。In step 5314, it is determined whether the counter GI2DET is less than 2, that is, whether the GI2 signal has been received less than twice. If the counter GI2DET is less than 2, that is, if the GI2 signal has been received less than twice, the process proceeds to step 5320.
また、カウンタGT2DETが2以上である場合すなわ
ち、GI2信号を2回以上受信した場合は、ステップ5
316に進む。Further, if the counter GT2DET is 2 or more, that is, if the GI2 signal is received twice or more, step 5
Proceed to 316.
ステップ5316においては、相手機が、62機である
と判断し、G2モードの伝送へ進む。In step 5316, it is determined that the other device is 62, and the process proceeds to G2 mode transmission.
ステップ5318においては、カウンタGI2DETが
3未満であるか否か、すなわち、GI2信号を3回未満
受信したか否かが判断される。カウンタGI2DETが
3未満である場合、すなわち、GI2信号を3回未満受
信した場合は、ステップ5320に進む。他方、カウン
タGI2DETが3以上である場合、すなわち、GI2
信号を3回、受信した場合は、ステップ5316に進む
。In step 5318, it is determined whether the counter GI2DET is less than 3, that is, whether the GI2 signal has been received less than three times. If the counter GI2DET is less than 3, that is, if the GI2 signal has been received less than three times, the process proceeds to step 5320. On the other hand, if the counter GI2DET is 3 or more, that is, GI2
If the signal has been received three times, proceed to step 5316.
ステップ5300ないしステップ5318は、本実施例
特有の機能である。Steps 5300 to 5318 are functions unique to this embodiment.
ステップ5320ニおイテは、FLGIDTl、: r
OJ ヲセットする。Step 5320 is FLGIDTl: r
Set OJ.
ステップ5322t、:おイテハ、F、LGDET&:
r OJをセットする。Step 5322t: Oiteha, F, LGDET&:
r Set OJ.
ステップ5324においては、カウンタCNT185に
r4B3 Jをセットする。In step 5324, counter CNT185 is set to r4B3J.
ステップ5326においては、タイマーT1がタイムオ
ーバーしたか否かが判断される。タイマーTlがタイム
オーバーしたときには、ステップ5328に進む。また
、タイマーT1がタイムオーバーしていないときには、
ステップ5290に進む。In step 5326, it is determined whether timer T1 has timed out. When the timer Tl times out, the process advances to step 5328. Also, when timer T1 has not timed out,
Proceed to step 5290.
ステップ5328においては、電話回線を電話機側に接
続する。具体的には、信号線38aに信号レベル「0」
の信号を出力する。In step 5328, the telephone line is connected to the telephone side. Specifically, the signal level "0" is applied to the signal line 38a.
Outputs the signal.
ステップ5330は、エラーを表している。Step 5330 represents an error.
ステップ5332ないしステップ5362は、第5図(
3) 、 (4)に示したステップ5162ないしステ
ップ5192に相当する。Steps 5332 to 5362 are shown in FIG.
3) corresponds to steps 5162 to 5192 shown in (4).
上述したステップ5356およびステップ5358の判
断は、本実施例特有の機能である。The determinations in step 5356 and step 5358 described above are functions unique to this embodiment.
ステップ5364においては、いま受信したフレームが
ラストフレームであるか否かが判断される。In step 5364, it is determined whether the frame just received is the last frame.
いま、受信したフレームがラストフレームである時は、
ステップ5366に進む。また、いま受信したフレーム
がラストフレームでない時は、ステップ5370に進む
。If the received frame is the last frame,
Proceed to step 5366. Further, if the currently received frame is not the last frame, the process advances to step 5370.
ステップ5366は、第5図(5)に示したステップ5
212ないしステップ5240に述べたキャリア断の検
出を行っている。これは、本実施例特有の効果である。Step 5366 is step 5 shown in FIG. 5(5).
Detection of carrier disconnection as described in steps 212 to 5240 is performed. This is an effect unique to this embodiment.
ステップ5368は、300b/Sのバイナリ−信号の
受信が終了し、受信した信号に基づいて次の動作へ進む
ことを表している。Step 5368 indicates that the reception of the 300b/S binary signal is completed and the process proceeds to the next operation based on the received signal.
ステップ5370においては、FLG[lETにr□、
をセットする。In step 5370, FLG[lET r□,
Set.
ステップ5372においては、(:NTBYTに「0」
をセットする。In step 5372, (:NTBYT is set to "0")
Set.
上述した第8図においては、300b/sのバイトクロ
ックが発生した時(ステップ5290で判断する) 、
300b/sの解析へ向かう。そして、300b/s
の解析において、バイナリ信号の受信と判断されない時
は、ステップ5292に進む。In FIG. 8 described above, when a 300 b/s byte clock is generated (determined in step 5290),
Heading to the analysis of 300b/s. And 300b/s
In the analysis, if it is not determined that a binary signal has been received, the process proceeds to step 5292.
更に、トーナル信号の1周期の解析が終了した時(ステ
ップ5296で判断する)は、トーナル信号の解析へ進
む。そして、トーナル信号の解析において、−トーナル
信号の受信と判断されない時は、ステップ5290に進
む。Furthermore, when the analysis of one cycle of the tonal signal is completed (determined in step 5296), the process proceeds to the analysis of the tonal signal. Then, in the analysis of the tonal signal, if it is not determined that a tonal signal has been received, the process advances to step 5290.
このように、トーナル信号とバイナリ信号を同時に受信
する必要がある時、受信したすべての信号を見落すこと
なく、常にトーナル信号およびバイナリ信号の受信を行
うことが可能になる。これは、本実施例特有の機能であ
る。In this way, when it is necessary to receive tonal and binary signals simultaneously, it is possible to always receive tonal and binary signals without overlooking all the received signals. This is a feature unique to this embodiment.
なお、これまで述べた実施例においては、G2.G3機
能を有するファクシミリ装置について説明したが、その
他の通信装置においても本発明を適用し得ることは勿論
である。Note that in the embodiments described so far, G2. Although the facsimile device having the G3 function has been described, it goes without saying that the present invention can be applied to other communication devices.
(以下、余白)
[発明の効果]
以上述べたとおり本発明によれば、トーナル信号とバイ
ナリ信号とを誤りなく識別する構成としであるので、通
信機器相互間において適正な通信制御を行うことが可能
となる。(Hereinafter, blank space) [Effects of the Invention] As described above, according to the present invention, since the configuration is such that tonal signals and binary signals can be identified without error, it is possible to perform appropriate communication control between communication devices. It becomes possible.
また1本発明によれば、例えばV21信号の受信中にエ
ラー等が発生し、いま受信しているバイナリ信号を受信
することができない状態に至ったとしても、これをトー
ナル信号の検出と誤認することがなくなる。Furthermore, according to the present invention, even if an error occurs during reception of the V21 signal, for example, and it becomes impossible to receive the binary signal currently being received, this is mistakenly recognized as detection of a tonal signal. Things will go away.
更に、本発明の7実施例によれば、無信号区間において
はトーナル信号の受信制御を中断することができるので
、無信号区間のノイズ等により。Furthermore, according to the seventh embodiment of the present invention, it is possible to interrupt tonal signal reception control during a no-signal period, so that noise or the like during the no-signal period can be interrupted.
トーナル信号の検出と誤認することもなくな一′ 一7′ /−′ 一′There is no possibility of misidentifying it as tonal signal detection. 17' /-′ one'
第1図は本発明に係るファクシミリ装置の全体構成図、
第2図は本発明を適用したファクシミリ装置の一実施例
を示すブロック図、
第3図はトーナルカウンタを説明するための図、
第4図は画像受信側として制御回路38が実行すべき制
御手順を示す流れ図。
第5図(1)〜第5図(5)は画ff受信側として制御
回路38が実行すべき詳細なIJIQ1手順を示す流れ
図、
第6図は受信したバイナリデータを格納する時の動作を
示す図。
第7図は画像送信′側として1v制御回路38が実行す
べき制御手順を示す流れ図、
第8図(1)〜第8図(4)は画像送信側として制御回
路38が実行すべき詳細な制御手順を示す流れ図である
。
2・・・NC:Ll 。
4・・パ1[晶機。
6・・・へイブリット回路、
8・・・読取回路、
LO・・・符号化回路。
+2・−・V27 te r アルイはV29変A’l
A、14・・・パラレル/シリアル変換回路、16・・
・V21変調器。
17・・・CI2信号送i1j回路回
路8・・・加算回路。
20・−・V27 te rあるいはV29復調器、2
2・・・復壮化回路、
24・・・記録回路、
26・・・V21復調器、
28・・・ンリアル/′パラレル変換回路。
30・・・PI幅回路、
32・−・21t1化回路。
34・・−1・−ナルカウンタ回路、
36・・・信号有黒検出回路、
38・・・制御回路。
第3図
第6図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. The figure is a flowchart showing the control procedure to be executed by the control circuit 38 on the image receiving side. 5(1) to 5(5) are flowcharts showing detailed IJIQ1 procedures to be executed by the control circuit 38 as the image ff receiving side, and FIG. 6 shows the operation when storing received binary data. figure. FIG. 7 is a flowchart showing the control procedure to be executed by the 1v control circuit 38 as the image transmitting side, and FIGS. It is a flow chart showing a control procedure. 2...NC:Ll. 4...Pa1 [Shikiki. 6...Hybrid circuit, 8...Reading circuit, LO...Encoding circuit. +2・-・V27 te r Arui is V29 strange A'l
A, 14... Parallel/serial conversion circuit, 16...
・V21 modulator. 17...CI2 signal sending i1j circuit circuit 8...Addition circuit. 20 -- V27 ter or V29 demodulator, 2
2... Reconstruction circuit, 24... Recording circuit, 26... V21 demodulator, 28... Real/'parallel conversion circuit. 30...PI width circuit, 32...21t1 conversion circuit. 34...-1-null counter circuit, 36... Signal black detection circuit, 38... Control circuit. Figure 3 Figure 6
Claims (1)
備えたデータ受信装置において、所定の条件の下にトー
ナル信号の受信を中断し、バイナリ信号の受信を行う制
御手段を具備したことを特徴とするデータ受信装置。 2)前記制御手段は、所定のフラグパターンを少なくと
もn個検出したとき、トーナル信号の受信を中断し、バ
イナリ信号の受信のみを行うようにしたことを特徴とす
る特許請求の範囲第1項記載のデータ受信装置。 3)前記制御手段は、信号断状態を検出した時、トーナ
ル信号の受信を中断し、バイナリ信号の受信のみを行う
ようにしたことを特徴とする特許請求の範囲第1項記載
のデータ受信装置。[Scope of Claims] 1) A data receiving device having a function of receiving binary signals and tonal signals, comprising a control means for interrupting reception of tonal signals and receiving binary signals under predetermined conditions. A data receiving device characterized by: 2) When the control means detects at least n predetermined flag patterns, the control means interrupts the reception of the tonal signal and only receives the binary signal. data receiving device. 3) The data receiving device according to claim 1, wherein the control means interrupts reception of tonal signals and only receives binary signals when detecting a signal-off state. .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61126885A JPH0815294B2 (en) | 1986-05-31 | 1986-05-31 | Data receiving device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61126885A JPH0815294B2 (en) | 1986-05-31 | 1986-05-31 | Data receiving device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS62283761A true JPS62283761A (en) | 1987-12-09 |
| JPH0815294B2 JPH0815294B2 (en) | 1996-02-14 |
Family
ID=14946255
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP61126885A Expired - Fee Related JPH0815294B2 (en) | 1986-05-31 | 1986-05-31 | Data receiving device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0815294B2 (en) |
-
1986
- 1986-05-31 JP JP61126885A patent/JPH0815294B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0815294B2 (en) | 1996-02-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4729033A (en) | Data communication apparatus | |
| US5172246A (en) | Image communication method and apparatus | |
| US5748334A (en) | Facsimile apparatus capable of performing a standard procedure and a non-standard procedure | |
| JPS62283761A (en) | data receiving device | |
| JPS62283751A (en) | Data signal receiver | |
| JPS62283750A (en) | Binary signal receiver | |
| JPH01141431A (en) | facsimile machine | |
| JPS62283771A (en) | Data sink | |
| US5729355A (en) | Facsimile machine having a phase/amplitude fluctuation detector | |
| JPS62283770A (en) | Data sink | |
| JPS62283748A (en) | Communication device | |
| JP2525359B2 (en) | Data communication device | |
| JP2641883B2 (en) | Image communication device | |
| JPS62181569A (en) | Data communication equipment | |
| JPS62181568A (en) | Data communication equipment | |
| US6476937B1 (en) | Facsimile apparatus having communicating function of nonstandard procedure and communicating function of standard procedure | |
| JP2602229B2 (en) | Image receiving device | |
| JPS61224774A (en) | facsimile machine | |
| JPH0697777B2 (en) | Communication device | |
| JPH06205182A (en) | Fax machine | |
| CA2034215C (en) | Method of controlling transmission of facsimile | |
| JP3157857B2 (en) | Facsimile machine | |
| JP2594392B2 (en) | High-speed signal receiver | |
| JPH07118728B2 (en) | Fax machine | |
| JPH01321775A (en) | Facsimile communication method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |