JPS61176254A - Picture transmitter - Google Patents

Picture transmitter

Info

Publication number
JPS61176254A
JPS61176254A JP60017018A JP1701885A JPS61176254A JP S61176254 A JPS61176254 A JP S61176254A JP 60017018 A JP60017018 A JP 60017018A JP 1701885 A JP1701885 A JP 1701885A JP S61176254 A JPS61176254 A JP S61176254A
Authority
JP
Japan
Prior art keywords
data
code
mode
line
image
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
Application number
JP60017018A
Other languages
Japanese (ja)
Other versions
JPH0831933B2 (en
Inventor
Sadasuke Kurabayashi
倉林 定助
Masahiro Sakamoto
坂本 理博
Masatomo Takahashi
高橋 政共
Motoaki Yoshino
元章 吉野
Yasuhide Ueno
康秀 上野
Tsunehiro Watanabe
渡辺 経寛
Tsuneo Oto
大戸 庸生
Takeshi Ono
健 小野
Shigeo Miura
滋夫 三浦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP60017018A priority Critical patent/JPH0831933B2/en
Priority to GB08602220A priority patent/GB2172464B/en
Publication of JPS61176254A publication Critical patent/JPS61176254A/en
Priority to US07/243,231 priority patent/US4845569A/en
Publication of JPH0831933B2 publication Critical patent/JPH0831933B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Facsimiles In General (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

PURPOSE:To convert the number of dots of a line of picture signals stored CONSTITUTION:A reading part 1 writes the picture data equal to a line to an.

Description

【発明の詳細な説明】 く技術分野) 本発明は画像信号を送信する画像送信装置に関し、特に
画像信号を記憶する記憶手段を備えた画像送信装置に関
する。
DETAILED DESCRIPTION OF THE INVENTION (Technical Field) The present invention relates to an image transmitting device that transmits image signals, and more particularly to an image transmitting device equipped with a storage means for storing image signals.

〈従来技術) 従来、かかる画像送信装置として画像メモリ付きのファ
クシミリ装置が知られている。
<Prior Art> Conventionally, a facsimile machine with an image memory is known as such an image transmitting apparatus.

画像メモリは同一の画像データを種々の相手先に送信す
る場合や、送信の際、相手先とつながらなかった場合に
は原稿画像を装置に記憶させることができるので極めて
有用である。
The image memory is extremely useful when transmitting the same image data to various recipients, or when the recipient cannot be connected during transmission, because it allows the document image to be stored in the device.

しかしながら、複数の交信先の主走査記録サイズ或は主
走査記録密度が異なる場合、例えば84幅のデータを記
憶していて、相手がA4幅の記録紙しか持たない場合に
は、送信しても両端或は一端の画像が切れてしまったり
、或は全く交信が出来ないことがある。
However, if the main scanning recording sizes or main scanning recording densities of multiple communication destinations are different, for example, if 84-width data is stored and the other party only has A4-width recording paper, the data cannot be sent. Images at both ends or one end may be cut off, or communication may not be possible at all.

〈目 的〉 本発明は上述の如き問題点に鑑み、交信先に応じて記憶
手段内の画像信号の一ラインのドツト数を変換して出力
することが可能な画像送信装置の提供を目的としている
<Purpose> In view of the above-mentioned problems, the present invention aims to provide an image transmitting device capable of converting and outputting the number of dots in one line of an image signal in a storage means according to the communication destination. There is.

更に本発明は一ラインのドツト数を符号化され袈 た状態で実検することにより、変換処理の高速化を計っ
た画像送信装置の提供を目的と、している。
A further object of the present invention is to provide an image transmitting apparatus that can speed up the conversion process by actually inspecting the number of dots in one line in the encoded state.

〈実施例〉 以下、本発明を実現するファクシミリ装置の一実四例を
詳細に説明する。
<Embodiments> Hereinafter, four examples of facsimile machines that implement the present invention will be described in detail.

(機構系) 第1図にファクシミリ装置の断面口を示す。(mechanism) FIG. 1 shows a cross-sectional view of the facsimile machine.

図において41はCOD固体ラインイメージセンサ、4
2は結像レンズ、43はミラー、44は原稿照明用ラン
プ、4′5は原稿給紙ローラ、46は原稿排紙ローラ、
47は原稿給紙トレー、31は給、紙トレー上の原稿の
有無を検出する原稿検出センサである、。
In the figure, 41 is a COD solid-state line image sensor;
2 is an imaging lens, 43 is a mirror, 44 is a document illumination lamp, 4'5 is a document feed roller, 46 is a document discharge roller,
Reference numeral 47 denotes a document feed tray, and 31 a document detection sensor for detecting the presence or absence of a document on the feed and paper tray.

・又、34はロール紙収納カバー、35はロール紙、3
6は原稿及び記録紙の排紙トレー5.37はカッター、
38はロール紙排出ローラ、39はロール紙搬送口゛−
ラ、40は記録ヘッド、33はカバー34の開閉を検出
する島−ル鉦力□ バーセンサである。
・Also, 34 is a roll paper storage cover, 35 is a roll paper, 3
6 is a paper output tray for originals and recording paper. 37 is a cutter;
38 is a roll paper discharge roller, 39 is a roll paper transport port.
40 is a recording head, and 33 is an island bar sensor that detects whether the cover 34 is opened or closed.

図において原稿読取時には、原稿i紙トレー47、トの
原稿がローラ45.46.で搬送される。
In the figure, when reading a document, the document i paper tray 47 and the document g are placed on rollers 45, 46, 46, 45, 46, 45, 46, 45, 46, 45, 46, 45, 46, 45, 46, 45, 46, 45, 46, 45, 46, 46, 45, 46, 45, 46, 46, 45, 46, 45, 46, 45, 46, 45, 46, 45, 46, 45, 46, 46, 45, 46, 46, 45, 46, 46, 45, 46, 46, . transported by

読取位置Pでランプ44により原稿は照射され、その反
射光がミラー43、レンズ42を介してイメージセンサ
41上に結像され、イメージセンサ41は画像を電気信
号に変換する。
The document is illuminated by a lamp 44 at the reading position P, and the reflected light is imaged on the image sensor 41 via the mirror 43 and lens 42, and the image sensor 41 converts the image into an electrical signal.

一方記録時にはロール紙35がローラ39とヘッド40
に挟持されて搬送されると同時に感熱ロール紙35・上
にヘッド40により画像が形成される。モして一装置の
記録が終了するとカッタ37によりロール紙35はカッ
トされ、排紙トレー36上にローラ38により排出され
る。  。
On the other hand, during recording, the roll paper 35 is connected to the roller 39 and the head 40.
An image is formed on the thermal roll paper 35 by the head 40 at the same time as the heat-sensitive roll paper 35 is conveyed while being held therein. When one device finishes recording, the roll paper 35 is cut by a cutter 37 and discharged onto a paper discharge tray 36 by a roller 38. .

(基本ブロック) 第2図は(A)は本実施例のファクシミリ装置の基本制
御ブロック図である。図においてlは原稿画像を読取り
電気的画像信号に変換する読取部、3,5.7.はその
一つの態様として前記画像信号を一時貯えるバツ、ファ
とし、 て機能するランダムアクセスメモリ(以下RA
M)、9は画像信号を数ページ分貯える画像メモリとし
て゛機能するファーストインファーストアラ斗RAM 
(以下PIFORAM)、11はMPU23の動作プロ
グラムを格納したリードオンリーメモリ(以下ROM)
、13はMPUの動作に必要なフラグ、データ等を格納
するRAM、15は入力キー1表示器等を・有する操作
部、17は感熱紙−ヒにコピー画像、受信画像、管理デ
ータを記録する記録部、19は送信データを変調し、受
信データを復調するモデム、20は電話器、2・1は通
信回線22をモデム19或は電話器20に接続制御する
網制御ユニット(以下NCU)、25は原稿画像の他に
発信時刻、発信元の名称を画像データ゛として送信した
り、通信管理データを記録したりする為の文字フォント
を格納している文字発生器(以下CG)、23はシステ
ム全体をコントロールするMPUである。、MPU23
として本実施例では16bitのデータバス24と、最
大4メガバイトまでのメモリ空間を直接アクセスするこ
とが可能なインテル社製8086を用いている。
(Basic Block) FIG. 2A is a basic control block diagram of the facsimile apparatus of this embodiment. In the figure, l denotes a reading unit that reads an original image and converts it into an electrical image signal; 3, 5.7. One aspect of this is a random access memory (hereinafter referred to as RA) which functions as a buffer for temporarily storing the image signal.
M), 9 is a first-in-first array RAM that functions as an image memory for storing several pages of image signals.
(hereinafter referred to as PIFORAM), 11 is a read-only memory (hereinafter referred to as ROM) that stores the operating program of the MPU 23
, 13 is a RAM for storing flags, data, etc. necessary for the operation of the MPU, 15 is an operation unit having an input key 1 display, etc., and 17 is a thermal paper for recording copy images, received images, and management data. A recording unit 19 is a modem that modulates transmitted data and demodulates received data; 20 is a telephone; 2.1 is a network control unit (hereinafter referred to as NCU) that controls the connection of the communication line 22 to the modem 19 or the telephone 20; 25 is a character generator (hereinafter referred to as CG) that stores a character font for transmitting the original image as well as the transmission time and name of the sender as image data, and for recording communication management data; 23 is a system It is an MPU that controls the entire system. , MPU23
In this embodiment, a 16-bit data bus 24 and an Intel 8086 that can directly access a memory space of up to 4 megabytes are used.

このMPUを用いたことによるメリットは、16bit
のデータバスを有しているため、符号化された画像デー
タの取扱いが容易になった。例えばラン・レングスコー
ドで2048bitのデータを扱うためには12bit
のデータが必要で、8bitのMPUを用いるとアクセ
スを2回行わなければならないが、16bitならば1
回のアクセスで済んでしまう。
The advantage of using this MPU is that the 16-bit
data bus, it became easy to handle encoded image data. For example, to handle 2048 bits of data with a run length code, 12 bits are required.
data is required, and if you use an 8-bit MPU, you will have to access it twice, but if you use 16-bit data, you will have to access it twice.
You only need to access it once.

又、大容量のメモリ空間を直接アク″セスできるので、
システムのメモリを画像メモリとして用いて回報の機能
を持たせることが可能とだなった。従来の装置では外付
けのメモリユニット、又は装置内であってもMPUがバ
スを介して直接アクセス゛のできないようなメモリを用
いて画像メモリとして回報機能を持たせていたが回路の
複雑化、装置の大型化等の問題があった。
Also, since it is possible to directly access a large memory space,
It became possible to use the system's memory as an image memory and provide a notification function. Conventional devices use an external memory unit or a memory that cannot be directly accessed by the MPU via the bus even if it is inside the device to provide a relay function as an image memory, but this increases the complexity of the circuit and the device. There were problems such as the increase in size.

(MPUの機能) M’P U 23の基本機能には第2図(B)に示すよ
うな6種がある。以下、各機能について説明する。
(MPU Functions) There are six types of basic functions of the M'P U 23 as shown in FIG. 2(B). Each function will be explained below.

エンコード禮能 (ラン・レングス→MH,MRコード変換、その他)a
)ラン・レングス→MHコート変換 エンコードを行う際にはまず、読取部1へ1ライン読取
命令を出す。すると読取部lは読取った1ライン分の画
像データをラン・レングスコードに変換し、RAM3へ
と書込む、そしてMPU23はRAM3からラン・レン
ゲ艮コードを読出し、それを用いてROMII内のコー
ド変換テーブルをひいてきて、MHコードへ変換する。
Encoding function (run length → MH, MR code conversion, etc.)a
) When performing run length → MH coat conversion encoding, first, a one line read command is issued to the reading unit 1. Then, the reading unit 1 converts the read one line of image data into a run-length code and writes it into RAM3, and the MPU 23 reads the run-length code from RAM3 and uses it to convert the code in ROMII. Look up the table and convert it to MH code.

変換テーブルはROM1jllに展開され、ラン・レン
グスコードをアドレスとしてそのアドレスの示すランに
対応するMHコードデータが書込まれている。MHコー
ドデータに構成を第3図の示す。
The conversion table is developed in the ROM1jll, and the run length code is used as an address, and MH code data corresponding to the run indicated by the address is written. The structure of the MH code data is shown in FIG.

第3図(A)において、上位12bitに左づめでMH
コードが入る。またMHコードは可変長符号であるため
、下位4bitにそのMHコードのコード長情報を入れ
てコード長の認識を行わせている;上位12bitにM
Hコードを割り当てぞいるがMHココ−表には、最長1
3bitのコードが存在している。それに対処するため
に、コ□−ド長が13bitのコードに注目すると全て
のコードの先頭(MSB)は°“0°゛で始まっている
ことがわかる。・そこで、変換テーブル中のデータは先
頭の“0゛・を除いた12bitをMHコードとし、デ
ータ長“”13”の情報を付加している。そして、変換
テーブルをひいてデータ調が“13“である場合にはM
PUがコードの先頭に0゛°を付加するという方法を用
いている。
In Figure 3 (A), MH is placed left-justified in the upper 12 bits.
Enter the code. Also, since the MH code is a variable length code, the code length information of the MH code is stored in the lower 4 bits to recognize the code length;
Although the H code is assigned, the maximum 1 is in the MH Coco table.
A 3-bit code exists. To deal with this, if you look at codes with a code length of 13 bits, you will see that the beginning (MSB) of all codes starts with °"0°". -Therefore, the data in the conversion table is The 12 bits excluding "0゛・" are used as the MH code, and the information of the data length ""13" is added. Then, when the conversion table is drawn and the data tone is "13", it is the MH code.
A method is used in which the PU adds 0° to the beginning of the code.

このようにすべてのMHコードとそのコード長がすべて
16bitの中に収まるので、16bitのMPU (
マイクロ・プロセッシング・ユニット)での処理が容易
となり、高速にMHコードを探すことができる。
In this way, all MH codes and their code lengths fit within 16 bits, so a 16-bit MPU (
The MH code can be searched for at high speed.

b)ラン・レングス→MRコート変換 MRコードへの変・換はCCITTのT4勧告に示ネれ
ている基本フローを参考にMPU23で行っているが、
その基本フロー中殻も頻度が高く、また重要な項目とし
て“画素の白/黒反転の検出“がある。そこでその検出
を容易に行なえるように読取部がRAM3へ書込むデー
タをランレングス・コード化している。
b) Run length → MR code conversion Conversion to MR code is performed by MPU23 with reference to the basic flow shown in CCITT's T4 recommendation.
The core of the basic flow is also frequently used, and an important item is "detection of pixel white/black reversal." Therefore, the data that the reading section writes into the RAM 3 is converted into a run-length code so that the detection can be easily performed.

ランレングスやコードによるMRコードへあ変換する為
のプログラムフローを第3図(B)に示し、パラメータ
blの決定サブルーチンを第3図(C)に示す。
FIG. 3(B) shows a program flow for converting run lengths and codes into MR codes, and FIG. 3(C) shows a subroutine for determining the parameter bl.

第3図(B)においてまずパラメータaQ。In FIG. 3(B), first, the parameter aQ.

blをOに初期化し、対象ラインの次のランレングス舎
コードを読出すことにより、alを決定し、blを第3
図(C)のルーチンで決定した後、b2を参照ラインの
次のRLコードを呼び出して決めている。そしてT4勧
告のMR符号化ルーチンでMR符合が決められると同時
にパラメータaQの次の値が決まる。
Initialize bl to O, determine al by reading the next run length code of the target line, and set bl to the third
After determining by the routine shown in FIG. 3(C), b2 is determined by calling the next RL code of the reference line. Then, at the same time as the MR code is determined in the MR encoding routine of the T4 recommendation, the next value of the parameter aQ is determined.

第3図(C)ではパラメータb1がaQより右側の対象
ラインにおいて、aOとは色(白。
In FIG. 3(C), in the target line where parameter b1 is on the right side of aQ, aO is the color (white).

黒)の異なる最初の色の変化点であるという勧告の定義
に従い、決定される。
It is determined according to the definition of the Recommendation that the first color change point is different (black).

このようにMRコードへの変換がランレングス・コード
から行なわれるので生の画像データから変換するのに比
べて極めて高速かつ容易に行えるものである。
Since the conversion to the MR code is performed from the run-length code in this way, it is extremely faster and easier to perform than conversion from raw image data.

C)CGコード→MHコード変換 本装置では、読取部で読取った画像データとの他にキャ
ラクタ等の情報をMHコードに変換して画像データとし
て送信する機能を有しているが、その方法は、まずCG
コードで、CG25からCGコードに対応する生データ
をひいてきて、それをラン・レングスコードに変換し、
更にMHコードに変換して送信している。変換テーブル
出力をラン・レングスコードではなく、生データにした
のは、ラン・レングスでテーブルを作るとコード数が多
くなり、大きなCGテーブルが必要となってしまうので
、生データにしてCG25の容量の削減を図るためであ
る、また生データを用いることにより゛、G2モード等
ゆ・非圧縮モードでの伝送の場合復号化が要らなくなる
というメリットもある。
C) CG code → MH code conversion This device has the function of converting information such as characters in addition to the image data read by the reading unit into MH code and transmitting it as image data. , first CG
With the code, extract the raw data corresponding to the CG code from CG25, convert it to a run length code,
Furthermore, it is converted into an MH code and transmitted. The reason why the conversion table output is raw data instead of run length code is because if you create a table using run length, the number of codes will increase and a large CG table will be required. The purpose of this is to reduce the amount of data transmitted, and the use of raw data also has the advantage that decoding is not required when transmitting in uncompressed mode such as G2 mode.

d)EOLの取扱い G3モードの送受において画像データはライン同期の形
態を用いており、そのためのライン同期信号としてE 
OL (End OF Line) を設定している。
d) Handling of EOL When transmitting and receiving image data in G3 mode, line synchronization is used for image data, and EOL is used as a line synchronization signal for this purpose.
OL (End OF Line) is set.

EOLは連続する11ケの“0”プラスl(MRの場合
は更にl又は0がつく。)で構成されている。
EOL is composed of 11 consecutive "0"s plus l (in the case of MR, an additional l or 0 is added).

MPU23はlラインのエンド検出毎に、画像データに
このEOLを付加して送出を行うが、このEOLを付加
す゛る際に、送信ラインの電送時間の計算を行い、それ
が最小伝送時間未満であった場合には、フィルピットを
挿入して最小伝送時間になる様にしてからEOLを付加
している。実際の送信ではMHコードは一時FIFOR
AM9に蓄積され、MPUはそのRAM9からコードを
読出して送信を行っている。そして、最小伝送時間の計
算及びフィルビットの挿入は、11    ’ MPU23がRAM9からコードを読出し。
Each time the MPU 23 detects the end of a line, it adds this EOL to the image data and transmits it. When adding this EOL, it calculates the transmission time of the transmission line and determines if it is less than the minimum transmission time. In such cases, EOL is added after inserting fill pits to achieve the minimum transmission time. In actual transmission, the MH code is a temporary FIFO
The code is stored in AM9, and the MPU reads the code from RAM9 and transmits it. Then, to calculate the minimum transmission time and insert the fill bit, the MPU 23 reads the code from the RAM 9.

送信する際に行われている。そのため、RAM9から読
出しを行う時のライン終了信号EOL検出が重要な問題
となってくる。そこで本装置ではRAM9からの読出し
時のEO,L検出の簡単化及びEOL送出の簡単化のた
めに以下の様な方法を用いている。
This is done when sending. Therefore, detection of the line end signal EOL when reading from the RAM 9 becomes an important issue. Therefore, in this apparatus, the following method is used to simplify the detection of EO and L when reading from the RAM 9, and to simplify the transmission of the EOL.

まずEOL取扱いの基本思想として (1) E OLの付加はRAM9への書込時に行う。First, the basic philosophy of handling EOL is (1) E OL is added when writing to RAM9.

(2) RA M 9からの読出し時のEOL検出は2
バイト連続0で行う。
(2) EOL detection when reading from RAM 9 is 2
Perform with continuous 0 bytes.

(3) RA M 9からのデータの送出時には2バイ
ト連続の0のうち、2バイト目の0は送出しない。
(3) When sending data from RAM 9, the second byte of 0 out of 2 consecutive 0 bytes is not sent.

の3点がある。以下2つのケースに場合分けで説明をし
てみる。
There are three points. I will explain the following two cases separately.

ラインの最終データ中の“°l”が最終バイト中に存在
する場合、のRAM9内のデータ及びEOLの記憶形態
を第4図に示す。図において最終バイトA目のDTは画
像データである。パイ)AにはデータDTの後0をつめ
、パイ)B、Cはすべて0とし、Dバイト目にIXを挿
入する。ただし、バイトAに挿入した0の数により、D
バイト目のlxの前の0の数を下表の如く変更する。
FIG. 4 shows the storage format of data and EOL in the RAM 9 when "°l" in the final data of a line exists in the final byte. In the figure, the final byte A's DT is image data. Pi) A is filled with 0 after data DT, Pi) B and C are all set to 0, and IX is inserted at the D-th byte. However, depending on the number of 0s inserted into byte A, D
Change the number of 0s in front of byte lx as shown in the table below.

この様にメモリ中のEOLの0を1バイト分除いて送出
しても11個の0を確保できる。
In this way, even if one byte of 0 at EOL in the memory is removed and sent, 11 0s can be secured.

次に最終バイト中にラインの最終−夕空のl IIが存
在しない場合のRAMe内のデータ及びEOLの記憶形
態を第5図に示0図に示す様に最終パイ)Aに含まれる
データDTが全て0の時はパイ)Aの残りにすべて0挿
入し、次のバイトBにも0を挿入する。そしてバイトC
にはバイトに挿入した0の数nを1から引いた数の0を
挿入した後lxを入れる。
Next, Figure 5 shows the storage format of the data and EOL in RAMe when the last byte of the line does not exist. As shown in Figure 0, the data DT included in the final pie) A is If all 0's, insert all 0's into the rest of A, and insert 0's into the next byte B as well. And part-time job C
After inserting the number of 0s obtained by subtracting the number of 0s inserted into the byte from 1, lx is inserted.

のは存在しないので、Aバイト目に挿入される0の数で
4以下は考慮していない。
Since this does not exist, the number of 0s inserted into the A-th byte does not take into account 4 or less.

また、白ラインスキップ伝送を考えて、余白の判断基準
として、■ライン全て白データであった場合には2バイ
ト目の0を’ o t ”(ヘキサ表示)として区別し
ている。
Furthermore, in consideration of white line skip transmission, as a margin judgment criterion, if all lines are white data, 0 in the second byte is distinguished as 'o t' (hex display).

以上の様なフォーマットでPIFORAM9に書込むこ
とにより、RAM9からの読出し時のEOL検出は2バ
イト連続のO又は1バイトOと“Of”(ヘキサ)で容
易に行なえる。さらに読出したデータの送出を行う際に
、2バイト目のO(又は“01 ” )を削除すること
により簡単にEOLの送出を行うこともできる。
By writing to the PIFORAM 9 in the format described above, EOL detection during reading from the RAM 9 can be easily performed using two consecutive O bytes or one byte O and "Of" (hex). Furthermore, when transmitting read data, EOL can be easily transmitted by deleting O (or "01") in the second byte.

2バイト目のOの削除は行わなくてもEOLの送出は可
能であるが、削除することにより不必要なデータの送出
を行うことを防止して、伝送時間を短くできる。
Although it is possible to send EOL without deleting O in the second byte, by deleting it, unnecessary data can be prevented from being sent and the transmission time can be shortened.

デコード機能 (MH、MRコード→ランレングスコード)a)MHコ
ード→ランレングスコート変換エンコードの方法はF 
I FORAM9からMHコードを取り出してきて、M
H→ランレングス変換テーブルを用いて、デコーダを行
うのであるが、テーブルのひき方は先に説明したテンレ
ングス→MHコード変換方法とは多少異なっている。
Decoding function (MH, MR code → run length code) a) MH code → run length code conversion encoding method is F
I Take out the MH code from FORRAM9 and enter the M
The decoder is performed using an H→run length conversion table, but the method of drawing the table is somewhat different from the ten length→MH code conversion method described above.

第6図にMHコードからランレングスコードへの変換フ
ローを示し、第7図にテーブルを示す。第6図のフロー
から明らかな様にMHコードを1bjtづつサーチして
ゆき、0ならば現在のアドレスポインタの示すアドレス
のデータ、“1 ”ならばその次のアドレスのデータを
見る。そしてMSBが“1 ”ならばそのデータはラン
レングス、“′0パならばアドレスレボインタへそのデ
ータを書込み、次のサーチのために使う。つまり、MS
Bが“l”のデータ(8で始まるデータ)を見つけるま
では1bitづつMHコードをサーチしてゆくのである
。第7図にMHコード黒“’0000111”のサーチ
例を示す。図より前述のコードは“°黒12°°のラン
レングスコードであることがわかる。
FIG. 6 shows a conversion flow from an MH code to a run-length code, and FIG. 7 shows a table. As is clear from the flowchart in FIG. 6, the MH code is searched 1bjt by 1bjt, and if it is 0, the data at the address indicated by the current address pointer is looked at, and if it is "1", the data at the next address is looked at. If the MSB is "1", the data is the run length, and if the MSB is "'0", the data is written to the address revo pointer and used for the next search.
The MH code is searched bit by bit until it finds data where B is "l" (data starting with 8). FIG. 7 shows an example of a search for the MH code black "'0000111". From the figure, it can be seen that the aforementioned code is a "°black 12°" run length code.

そして変換テーブルは黒と白のコードで別のものにして
いる。その理由はMHコードが黒と白の異なるランレン
グスで同一のものが存在するためである。
And the conversion table is made up of different black and white codes. The reason for this is that the same MH code exists with different run lengths for black and white.

b)MRコード→ランレングス変換 変換テーブルを用いてMH→ランレングス変換と同様の
テーブルサーチ方法を行うのであるが、MSB=1のデ
ータはランレングスコードではなく、プログラムの飛び
先アドレスが書き込まれている。そしてその飛び先で、
そのMRコードに対応した処理を行い、ランレングスコ
ードを生成している。
b) MR code → run length conversion A table search method similar to MH → run length conversion is performed using a conversion table, but the data with MSB = 1 is written not as a run length code but as the program jump address. ing. And on that flight,
Processing corresponding to the MR code is performed to generate a run length code.

MRコード化は2次元圧縮による符号化方式のため、1
つのMRコードに対応するランレングスコードは存在し
ない。前ラインのデータをモトにMRコードを用いてラ
ンレングスコードを作らなければならないので、テーブ
ルにはブのテーブルサーチ例を示す。
MR encoding is an encoding method using two-dimensional compression, so 1
There is no run length code corresponding to one MR code. Since a run length code must be created using the MR code based on the data of the previous line, the table shows an example of a table search.

(最小伝送時間の計算及びiFuの挿入、削除)G3送
信峙に1ライン分のデータの後にEOLを付加して送出
しているが、この時送出した1947分のデータの伝送
時間を計算し、それが最小伝送時間未満であればFr1
lビツト(データO)を挿入し、最小伝送時間以上にし
てからEOLを付加している。
(Calculating the minimum transmission time and inserting and deleting iFu) EOL is added after one line of data in G3 transmission, and the transmission time of the 1947 minutes of data sent at this time was calculated, If it is less than the minimum transmission time, Fr1
1 bit (data O) is inserted, and EOL is added after the minimum transmission time has elapsed.

本装置では送出したデータが最小伝送時間具−Lか否か
の判断を、最小伝送時間と伝送レートから送出データの
バイト数に換算して、送出バイト数がこの換算バイト数
以上か否かにより行っている。
This device determines whether or not the transmitted data is within the minimum transmission time - L by converting the minimum transmission time and transmission rate into the number of bytes of the transmitted data, and then determining whether the number of transmitted bytes is equal to or greater than this converted number of bytes. Is going.

最小伝送時間内の伝送バイト数は 最小伝送時間をl Oms、 伝送レートを9800Bpsとすると、9600XIO
X10−3 = 12 、Cバイト〕 となる。
The number of bytes transmitted within the minimum transmission time is 9600XIO, assuming the minimum transmission time is l Oms and the transmission rate is 9800Bps.
X10-3 = 12, C bytes].

そしてFillビットはバイト単位で挿入している。The Fill bit is inserted in byte units.

本装置ではG3モードでの送信拳受信データ及びメモリ
蓄積されるデータは必ずFIFORAM9を介して転送
される。RAM9に画像データとしては無為信号である
Fillビットを記憶させるとRAM9を無駄使いする
ことになる。
In this device, the transmission reception data in the G3 mode and the data stored in the memory are always transferred via the FIFORAM 9. If the fill bit, which is an idle signal, is stored in the RAM 9 as image data, the RAM 9 will be wasted.

又、FiJljJllビットの数はメモリ送信を行う際
の相手機の能力により変化する為、メモリ蓄積時には考
えうる最大の最小伝送時間とデータスピードから算申し
た最大数のFillビットを挿入しなければならなくな
る。
Also, since the number of FiJljJll bits changes depending on the capabilities of the other device when performing memory transmission, the maximum number of Fill bits calculated from the maximum possible minimum transmission time and data speed must be inserted when storing memory. It disappears.

そこで本実施例ではG3モード送信時及びメモ12蓄積
時にノよF I FORAM9には全くF t、 fL
 fLビットを挿入せずに、送信時にPIFORAM9
から読出した後、FifL文ビットを挿入して送出して
いる。
Therefore, in this embodiment, when transmitting in G3 mode and storing memo 12, there are no F t, fL in FIFORAM 9.
PIFORAM 9 at the time of transmission without inserting the fL bit.
After reading from , FifL statement bits are inserted and sent.

また受信時には3バイト以上の0が連続した場合、3バ
イト目以降のOのバイトはRAM9へ書込まないという
方法を用いている。  、(ファイン→標準変換) 本実施例ではF I FORAM9にMHコードで蓄積
された画像データを送信する際にファイン→標準変換す
る機能を有している。ファインと標準を比較してみると
、主走査方向の線密度は8peu/mmと等しく、副走
査方向の線密度はファイン7.7文ine/mm、標準
3.851ine/mmとフ・アイソに対し標準はl/
2になっている。PI FORAM9に蓄積されたデー
タはEOLで1ラインの区切りがつけられているため、
ラインの判断は容易にできる。そこF本装置ではFjF
ORAM9のデータを送信する際に1ラインおきに送信
することによりファイン→標準(走査線密度)変換を行
なっている。
Further, during reception, a method is used in which if three or more bytes of 0 occur consecutively, the O bytes after the third byte are not written to the RAM 9. , (Fine→Standard Conversion) This embodiment has a function of fine→standard conversion when transmitting image data stored in the MH code to the FIFORAM 9. Comparing fine and standard, the line density in the main scanning direction is equal to 8 peu/mm, and the line density in the sub-scanning direction is 7.7 ine/mm for fine and 3.851 ine/mm for standard. On the other hand, the standard is l/
It is now 2. Since the data stored in PI FORRAM9 is separated by one line at EOL,
It is easy to judge the line. There FjF in this device
When transmitting the data in the ORAM 9, fine to standard (scanning line density) conversion is performed by transmitting every other line.

第8図(B)に走査線密度変換を行う場合と、行なわな
い場合のモデム19からデータ要求インタラブドを受け
た場合の処理フローチャートを示す。
FIG. 8(B) shows a processing flowchart when a data request interrupt is received from the modem 19 with and without scanning line density conversion.

まずインタラブドが入ると、PIFORAM真8 9ぞ)ら、現在の読出アドレスポインタのデータを呼び
出す。データがEOL7ない場合には、モデムへそのデ
ータを出力した後、ポイイタを+Iして、チー、夕、転
送を繰り返す。EOLが検出されると、先に述、べへ如
く、RAMQ内のEOLを送信用のEOL(CCITT
勧告)に変換し、その後、フィルビットの付加必要なら
ばフィルを付加し、EOL、フィルをモデムへ出力する
。そしてファイン→標準変換が必要か否か判断され、必
要ない場合はポインタを+、工して一ラインのデータ読
出を終了する。−力走査線密度の変換が必要な場合には
次のEOLまでアドレスポインタを渉進し、−ライン分
のデータを削除したのち、メインルーチンへ戻る。
First, when an interrupt is entered, the data of the current read address pointer is called from the PIFORAM. If the data is not EOL7, after outputting the data to the modem, turn the pointer +I, repeat the transfer. When the EOL is detected, as described above, the EOL in RAMQ is set to the EOL for transmission (CCITT
After that, add a fill bit and add a fill if necessary, and output the EOL and fill to the modem. Then, it is determined whether fine→standard conversion is necessary, and if it is not necessary, the pointer is moved to + and the reading of one line of data is completed. - If it is necessary to convert the power scanning line density, advance the address pointer to the next EOL, delete the data for the - line, and then return to the main routine.

(ラン・レングス→生データ変換) G2モードにおけるメモリ送信時にはFIFORAM9
に励Hコードで蓄積されたデータを生データで送信しな
ければならない。本装置ではそのデータ変換をソフトウ
ェアにより行っているが、MHコードから直接生データ
へ変換するのはかなり困雌である。そこで、先に述べた
デコード機・能4を利用し、MHコードを1度ライイレ
ンゲスコードに変換し、さらにそれを生データに変換す
るという方法を用いてプログラムの簡略化を図っている
(Run length → raw data conversion) When transmitting memory in G2 mode, FIFORAM9
The data stored in the excitation H code must be transmitted as raw data. In this device, the data conversion is performed by software, but it is quite difficult to convert directly from MH code to raw data. Therefore, we are trying to simplify the program by using the decoding function/function 4 mentioned earlier to convert the MH code into a Reirange code and then converting it into raw data. .

ランレングスコードから生データへの変換は例えば第8
図(C)に示す如く行っている。
For example, the conversion from run length code to raw data is
This is done as shown in Figure (C).

即ち、RLCコードを読出し、RLCが黒データならば
“1′°をラインメモリへ出力し、RI、CがOになる
まで繰り返す。RLCが自データならば“0パをライン
メモリへ出力し同様にRLCが0になるまで繰り返すこ
とによりRL−RAWの変換が行われる。  ・(ソフ
トウェアによるB4.→A、4縮小)本実施例では20
4・8bitの受光素子を有する読取部lを用いて読取
りを行っている。
That is, read the RLC code, and if RLC is black data, output "1'° to the line memory, and repeat until RI and C become O. If RLC is the own data, output "0" to the line memory, and do the same. RL-RAW conversion is performed by repeating this until RLC becomes 0.・(B4.→A, 4 reduction by software) In this example, 20
Reading is performed using a reading section l having a 4.8 bit light receiving element.

そのためg p e 51 / m rでB4巾の原稿
の送信を行うことが可能である。しかしく相手機がA4
巾の記録能力し、゛か持たない場合)B4のデータ(2
048bit)をA4のデータ(1728b i t)
へ変換して送信する必要性がある。通常の原稿送信の場
合にはその処理を読取部lで光学的又は電気的な手段を
用いて行っているが、メモリ送信を考えた場合、データ
の流れから考えても読取部1の縮小機能を利用すること
は不可能である。そこで本実施例ではソフトウェアによ
る縮小を行っている。
Therefore, it is possible to transmit a B4-width original using GPE51/MR. However, the other machine is A4
(If you have the ability to record the width or not) B4 data (2
048bit) to A4 data (1728bit)
It is necessary to convert and send it. In the case of normal document transmission, the processing is carried out in the reading section 1 using optical or electrical means, but when considering memory transmission, the reduction function of the reading section 1 is also considered from the data flow point of view. It is impossible to use. Therefore, in this embodiment, reduction is performed using software.

まず、RAM9にMHコードで蓄積されているデータを
デコード機能を用いてランレングスコードに変換した後
、■ラインの主走査方向に縮小処理を施し、再びMHコ
ード(G2の場合は生データ)へ変換し、モデムへ転送
する。
First, the data stored in RAM 9 as MH code is converted to run-length code using the decoding function, and then - reduction processing is performed in the line main scanning direction, and the data is converted to MH code (raw data in the case of G2) again. Convert and transfer to modem.

尚、副走査方向の縮小は先に述べた様に1ライン単位で
データを間引くことにより行っている。
Note that the reduction in the sub-scanning direction is performed by thinning out data line by line, as described above.

する。do.

B4の一主走査ラインのドツト数は2048ドツト、A
4は1728ドツトである。これを因数分解すると32
X26 : 27X26で32:27の比率になる。そ
こで84の2048ドツトのデータを32ドツトづつ6
4個のブロックに分ける。そして1ブロツク32ドツト
について、これから5ドツトを間引いて27ドツトに変
換すれば良い分けである。第8図(D’ )に1ブロツ
ク32ドツトを示す。この図の斜線を引いた6、13,
19.26.32番目の各ドツトを間引けば、主走査方
向にほぼ均等な密度で間引くことができる。
The number of dots in one main scanning line of B4 is 2048 dots, A
4 is 1728 dots. If you factor this out, it becomes 32
X26:27X26 gives a ratio of 32:27. So, the data of 84 2048 dots is 6 times 32 dots each.
Divide into 4 blocks. Then, for one block of 32 dots, it is sufficient to thin out 5 dots and convert it to 27 dots. One block of 32 dots is shown in FIG. 8(D'). 6, 13, with diagonal lines in this diagram
By thinning out the 19th, 26th, and 32nd dots, it is possible to thin out the dots at approximately uniform density in the main scanning direction.

第8図(E)にこの変換を行う為のフローチャートを示
す。フローチャートの説明を容易にする為に例えば第8
図(F)の如きデータ即ちランレングスコードで白8.
黒5.白15゜黒4という32ドツトコードを27ドツ
トに変換する例を説明する。
FIG. 8(E) shows a flowchart for performing this conversion. In order to facilitate the explanation of the flowchart, for example,
The data as shown in figure (F), ie the run length code, is white 8.
Black 5. An example of converting a 32-dot code of white 15 degrees and black 4 to 27 dots will be explained.

まずSPIで1ラインのトータルRLカウンタT’CN
T、32ドツトカウンタTRL、変換後のランレングス
コードSRLをOに設定し、32ドツト中の間引き数カ
ウンタMCを5に、間引きするアドレスを示すMAを6
に設定する。
First, the total RL counter T'CN of one line in SPI.
Set T, 32 dot counter TRL, and post-conversion run length code SRL to O, set the decimation number counter MC among 32 dots to 5, and set MA indicating the address to be decimated to 6.
Set to .

そしてSF3でRAM9から最初のRLコード白8を呼
び出す、そしてSF3でTCNT、TRLは共に8に設
定される。TRL=8はMA=6より大きいので白8の
データRLCは白7のデータRLCに変換される(SF
3)。
Then, in SF3, the first RL code white 8 is called from RAM9, and both TCNT and TRL are set to 8 in SF3. Since TRL=8 is larger than MA=6, White 8's data RLC is converted to White 7's data RLC (SF
3).

RLC=白7でSRLは0なので5PIOでMAが13
に、MCが4となり、再びSF3に戻る。今度はTRL
=8はMA=13より小さいので5P16に進み、SR
Lは白7にセットされ、TCNTは2048より小さい
ので、SF3に戻り次のRLC=黒5が呼び出され、T
CNT、TRLは共に13となる。TRLはMA=13
と等しいのでSF3でRLCは黒4となる。そしてSF
3で5RL=白7とRLC=黒4の色が異なるのでSF
3でラインメモリへ白7のデータが出力されると共にS
RLは0にリセットされる。更にMAは19にMCは3
にセットされ、再びSF3に戻り、SPI 6に進む。
RLC = white 7 and SRL is 0, so MA is 13 with 5 PIO
Then, MC becomes 4 and returns to SF3 again. This time TRL
=8 is smaller than MA=13, so proceed to 5P16 and SR
Since L is set to white 7 and TCNT is less than 2048, the next RLC = black 5 is called and T
CNT and TRL are both 13. TRL is MA=13
Since it is equal to SF3, RLC becomes black 4. and science fiction
In 3, the colors of 5RL = white 7 and RLC = black 4 are different, so it is SF
3, white 7 data is output to the line memory, and S
RL is reset to 0. Additionally, MA is 19 and MC is 3.
is set, returns to SF3 again, and proceeds to SPI 6.

今度はSRLにRLC=黒4がセットされる。そして次
のRLC−白15が呼び出され、TCNT、TRLは2
8にセットされる。
This time, RLC=black 4 is set in SRL. Then the next RLC-White 15 is called, TCNT, TRL is 2
Set to 8.

28はMA=19より大きいので、RLC=白15は白
14に変換され、SF3で5RL=黒4とRLC=白1
4の白が比較され、黒4のデータがラインメモリへ出力
され、SRLはOにリセットされる。
Since 28 is greater than MA=19, RLC=white 15 is converted to white 14, and in SF3 5RL=black 4 and RLC=white 1
White of 4 is compared, data of black 4 is output to the line memory, and SRL is reset to O.

そして、MAは26にMCは2にセットされる。ステッ
プspiでTRL=28はMA=26よりまだ大きいの
で、白14の≠−夕は更に白13に変換され、この時S
RLは0なので、SF3.SF3の判断及び出力を行わ
ずに、5p1o 、t x−$MAを32に、MCを1
にセットする。
Then, MA is set to 26 and MC is set to 2. In step spi, since TRL=28 is still larger than MA=26, White 14's ≠-Yu is further converted to White 13, and at this time S
Since RL is 0, SF3. Without determining and outputting SF3, set 5p1o, tx-$MA to 32, and MC to 1.
Set to .

再びSF3に戻り、今度はMA=32の方がTRL=2
8より大きいので、5P16でSRLに白13がセット
される。そして次のRLC=黒4を呼出したのちSF3
で白13が出力され、同様にしてその後熱3が出力され
る。
Return to SF3 again, this time MA=32 has TRL=2
Since it is larger than 8, white 13 is set in SRL at 5P16. Then, after calling the next RLC = black 4, SF3
Then, white 13 is output, and then heat 3 is output in the same way.

以上のように、第8図(F)の上段の白8゜黒5.白1
5.黒4のデータは下段の白7゜黒4.白13.黒3の
ランレングスコードにほぼ均等に変換されるのである。
As mentioned above, in the upper row of FIG. 8(F), white 8° and black 5. white 1
5. The data for Black 4 is at the bottom: White 7° Black 4. White 13. It is almost evenly converted to the black 3 run length code.

尚、ステップS13.S14,5p15は1ブロツク3
2ドツトの処理が終了した際のMC,MA及びTRLの
初期化を示し、特に5P15はランレングスコードがブ
ロック間にまたがる場合の調整機能も有している。又、
5P18はlラインの最後のランレングスコードのライ
ンメモリへの出力を示している。
Note that step S13. S14, 5p15 is 1 block 3
This shows the initialization of MC, MA, and TRL when 2-dot processing is completed. In particular, 5P15 also has an adjustment function when the run length code spans between blocks. or,
5P18 indicates the output of the last run length code of the l line to the line memory.

このようにしてランレングスコードのままで、主走査ド
ツト数の変換が可能となる。
In this way, it is possible to convert the number of main scanning dots while using the run length code.

(動作モード) 本実施例の画像データの送受及び転送に関する動作モー
ドは下表に示す様に非常に多くのモードがある。以下各
モードにおけるデータの流れ及び符号形態について図を
用いて説明を行う。
(Operating Modes) As shown in the table below, there are a large number of operating modes regarding the transmission, reception, and transfer of image data in this embodiment. The data flow and code format in each mode will be explained below using figures.

まず本装置が前記の14通りの動作モードM1〜M14
を決定する際に用いるMPU23の判断アルゴリズムの
フローチャートを第9図(a)〜(c)に示す。
First, this device operates in the 14 operation modes M1 to M14 described above.
9(a) to 9(c) are flowcharts of the determination algorithm of the MPU 23 used in determining.

本実施例では、第1θ図の操作パネル50上のスタート
・キー51、ワンタッチダイヤルキー54、短縮ダイヤ
ルキー53、メモリーキー52により起動がおこなわれ
る。
In this embodiment, activation is performed using the start key 51, one-touch dial key 54, speed dial key 53, and memory key 52 on the operation panel 50 shown in FIG.

更に第1図の原稿の有無を検出するセンサー31、電話
器のフックのON10 F F状態を検出するセンサー
32及びロール紙カバーセンサ33の出力により判断・
分岐がおこなわれる。
Furthermore, the judgment is made based on the outputs of the sensor 31 that detects the presence or absence of a document in FIG. 1, the sensor 32 that detects the ON10FF state of the telephone hook, and the roll paper cover sensor 33.
A branch is made.

さらにファクシミリ通信のメツセージ(画像データ)通
信に先立つ前手順信号の通信により相手機のモードがG
3モードかG2モードかを知ることができる。同時に相
手機が、MRの符号化機能をもっているかMHの符号化
機能だけしかもっていないかも知ることができる。
Furthermore, the mode of the other party is set to G due to the communication of pre-procedure signals prior to facsimile message (image data) communication.
You can know whether it is 3 mode or G2 mode. At the same time, it is also possible to know whether the other party's device has an MR encoding function or only an MH encoding function.

また、自機の画像メモリの使用状態、により、メツセー
ジ通信の際にPIFORAM9が使用できるか否かが判
定できる。RAM9にメモリ蓄積がされていれば、RA
M9の使用は不可であり、メモリ蓄積がされてなければ
、RAM9の使用は可である。
Also, depending on the usage status of the image memory of the device itself, it can be determined whether the PIFORAM 9 can be used during message communication. If memory is stored in RAM9, the RAM
M9 cannot be used, and RAM9 can be used if no memory is stored.

本フローにより決定された14通りの動作モードについ
てはMINM14の項番号が付記されている。
The 14 operation modes determined by this flow are labeled with MINM14 item numbers.

まず、スタートキーが押された場合には第9図(a)に
示す如く、受話器がオフフックか、オンフックかがチェ
ックされ、オンフックの場合には原稿が送信位置にあれ
ば原稿コピーモードM14に移行し、原稿がなくてロー
ル紙カバーが閉じている場合にはロール紙のカッターが
動作し、カバーが開いている場合にはロール紙を所定量
送る。
First, when the start key is pressed, as shown in FIG. 9(a), it is checked whether the handset is off-hook or on-hook, and if it is on-hook, if the document is at the transmission position, the mode shifts to document copy mode M14. However, if there is no document and the roll paper cover is closed, the roll paper cutter operates, and if the cover is open, the roll paper is fed by a predetermined amount.

−・方、オフフックの場合には原稿があれば送信モード
となり、相手機のモードとRAM9の使用の可否に応じ
てMl、N2.N3.N6へ移行する。又オフフックで
原稿が無ければ第9図(b)の受信モードの振り分□け
ルーチンヘ移行する。第9図(b)では相手機モードと
、RAM9の可否に応じてM7〜Mllが夫々選択され
る。
-, in the case of off-hook, if there is a document, it enters the transmission mode, and depending on the mode of the other party and the availability of RAM 9, Ml, N2. N3. Move to N6. If there is no document due to off-hook, the process moves to the receiving mode sorting routine shown in FIG. 9(b). In FIG. 9(b), M7 to Mll are selected depending on the partner machine mode and the availability of RAM9.

第9図(C)はメモリキー52が押された場合のモード
振り分はルーチンを示している。
FIG. 9(C) shows a routine for mode distribution when the memory key 52 is pressed.

メモリーキー52が押されるとソフトウェアのタイマー
が起動し、このタイマー中に原稿が読取部1に置かれる
と、メモリ蓄積モードM12に移行し、RAM9に原稿
の画像データが貯えられる。
When the memory key 52 is pressed, a software timer is started, and when a document is placed on the reading section 1 during this timer, the mode shifts to memory storage mode M12, and the image data of the document is stored in the RAM 9.

原稿が読取部lに置かれない場合でスタートキー51が
押されると、この時オンフッタならばRAMQ内の画像
データが記録部17で記録されるメモリーコピーモード
M13に移行する。
If the start key 51 is pressed when no document is placed on the reading section I, the mode shifts to a memory copy mode M13 in which the image data in the RAMQ is recorded in the recording section 17 if it is an on-footer.

又、この時オフフックならばメモリ送信モードへ移行す
る。ワンタッチキー54、短縮ダイヤルキー53が押さ
れた場合には、フックの状態に拘わらずメモリ送信モー
ドへ移行する。メモリ送信モードは相手機がG2又は0
3機であるかに応じて、03メモリ送信モ一ドM4.又
はG2メモリ送信モー1M5に振り分けられる。
Also, if it is off-hook at this time, it shifts to memory transmission mode. When the one-touch key 54 or speed dial key 53 is pressed, the mode shifts to memory transmission mode regardless of the hook state. Memory transmission mode is G2 or 0 when the other machine is G2 or 0.
03 memory transmission mode M4. Or it is assigned to G2 memory transmission mode 1M5.

又メモリ・キーが押下されて、原稿が読取部に置かれず
他に何のキー操作もない場合には表示器55(第10図
)にRAMQ内の画像データの蓄積量を表示し、ソフト
ウェアタイマのタイムオーバーを待ってスタンバイモー
ドに戻る。
Also, when the memory key is pressed and no original is placed in the reading section and no other key operations are performed, the amount of image data stored in RAMQ is displayed on the display 55 (Fig. 10), and the software timer is activated. waits for the timeout and returns to standby mode.

以下に各モードMl−M14に応じた画像データの流れ
を以下に説明する。
The flow of image data according to each mode M1-M14 will be explained below.

(モードMl) G3原稿送信、MH、RAM9使用可 モ一ドMlの画像データの流れを第11図を参照して説
明する。
(Mode Ml) The flow of image data in G3 original transmission, MH, and RAM9 available mode Ml will be described with reference to FIG.

読取部1はMPU23からの読取命令により、1ライン
分の画像データをランレングスコードRLに変換してR
AM3へ書込む。そしてMPU23はRAM3のデータ
をそのまま2木のラインバッファRAM5 、RAM7
へ1ラインづつ交互に転送して、その2本のラインバッ
ファから読出したランレングスコードRLをMHコード
にエンコードしてPIFORAM9へ書込む。そしてM
PU23はモデム19からのデータ要求インタラブドに
対し、FIFORAM9からMHコードを1バイトづつ
モデムへ転送する。又この時、■ライン毎に最小転送時
間の計算を行いフィルビットの挿入を行う。
In response to a reading command from the MPU 23, the reading unit 1 converts one line of image data into a run length code RL.
Write to AM3. Then, the MPU 23 transfers the data in RAM 3 to two tree line buffers RAM 5 and RAM 7.
The run length code RL read from the two line buffers is encoded into an MH code and written into the PIFORAM 9. And M
The PU 23 transfers the MH code one byte at a time from the FIFORAM 9 to the modem in response to the inter-data request from the modem 19. At this time, the minimum transfer time is calculated for each line and fill bits are inserted.

又、画像の先頭に付加する発信元、発信時刻等のキャラ
クタ情報はCG25から出力される生画像データ25を
生データ→MHコードへの変換機能を用いてPI FO
RAM9へ転送している。
In addition, character information such as the source and time of transmission to be added to the beginning of the image is converted to PI FO using the raw image data 25 output from the CG 25 using the raw data → MH code conversion function.
Transferring to RAM9.

図中の読取部1→RAM3とモデム19→NCU21の
場合を除いて他の全てのデータ転送はMPU23のバス
24を介して行われている。
All other data transfers are performed via the bus 24 of the MPU 23, except for the case of reading section 1→RAM 3 and modem 19→NCU 21 in the figure.

モデム19からのデータ要求インタラブドは、電送レー
トにより、インタラブド間隔が変わる。
The inter-interval of data requests from the modem 19 changes depending on the transmission rate.

データ転送はバイト単位で行われているので、9600
bpsの場合は8/9600=0.83XIO−3se
c毎にインタラブドが発生している。
Data transfer is done in bytes, so 9600
For bps, 8/9600=0.83XIO-3se
An interwoven occurs every c.

又、RAM3からRAM5 、RAM7へのデータ転送
が終了した時点でMPU23は、読取部に対し読取命令
を出力する。MPU23がエンコード処理ENC1及び
インタラブド処理をしている間に読取部lで原稿の読取
及び生データ→ランレングスデータ変換が行われる。
Furthermore, when the data transfer from RAM3 to RAM5 and RAM7 is completed, the MPU 23 outputs a reading command to the reading section. While the MPU 23 is performing the encoding process ENC1 and the interwoven process, the reading unit 1 performs reading of the original and converting raw data to run length data.

(モードM2) G3原稿送信、MR、RAM9使用可 第12図(A)に画像データの流れを示す。(Mode M2) G3 original transmission, MR, RAM9 available FIG. 12(A) shows the flow of image data.

データの流れはモードMlの場合とほぼ同様である。異
なる点はENC23−1の後のコードがMRコードにな
ることである。しかし、CG25からのデータはMHコ
ードでENC23−1から出力される。たとえば24X
16ドツトの文字を先頭に付加する場合は24ライン分
のデータはMHコードで送信される。
The data flow is almost the same as in mode M1. The difference is that the code after ENC23-1 is an MR code. However, the data from CG25 is output from ENC23-1 in MH code. For example 24X
When adding a 16-dot character to the beginning, 24 lines of data are transmitted using the MH code.

第12図(B)にCGデータをMHで、画像データはM
RでRAM9に貯える為のプログラムを示す。まずCG
データのライン数りを初期化し、先頭から各ラインのデ
ータを呼び出し、生データからランレングスコードード
へRLコードからMHコードへ変換し、各ライン毎にR
AM9へ貯える。
In Figure 12 (B), CG data is MH, image data is M
A program for storing data in RAM 9 in R is shown below. First, CG
Initialize the number of lines of data, call the data of each line from the beginning, convert the raw data to run length code, RL code to MH code, and R for each line.
Save to AM9.

そして24ラインについて終了すると今度はRAM5又
は7からRLコードの画データを読出し、第3図(B)
、(C)のMR符号化ルーチンに従い、各ラインをMR
コードに直し、RAM9に貯えるものである。
When the 24th line is completed, the image data of the RL code is read from RAM 5 or 7, as shown in FIG. 3(B).
, (C), each line is MR encoded according to the MR encoding routine of (C).
It is converted into a code and stored in the RAM 9.

(モードM3) G3原稿送信、MH、RAM9使用可 画像データの流れを第13図に示す。第11図のRAM
9が使用可能な場合と異なり、ラインバッファとして用
いていたRAM7をMHコードのバッファメモリとして
用いている。
(Mode M3) FIG. 13 shows the flow of G3 original transmission, MH, and RAM9 usable image data. RAM in Figure 11
Unlike the case where RAM 9 can be used, RAM 7, which was used as a line buffer, is used as a buffer memory for the MH code.

従ってラインバッファもRAM5.1本だけとなり、エ
ンコーダENC23−1も−ライン分のデータしか扱え
ないのでRAM9が使用不可な場合にはMR送信は行え
ない。
Therefore, there is only one line buffer in RAM5.1, and encoder ENC23-1 can only handle data for -line, so MR transmission cannot be performed if RAM9 is unavailable.

この理由はMR符号化をおこなうには、現符号化ライン
と、参照ラインの2ライン分のラインバッファが必要に
なるからである。
The reason for this is that MR encoding requires line buffers for two lines: the current encoded line and the reference line.

(モードM4) 63メモリ送信 M H−−−一第14図 (A)、 (b )’、 (
c )モードM4の場合の画像データの流れを第14図
(A)に示す。P I FORAM9にはファインモー
ド又は標準モード読み取った画像データがMHコードの
形で記憶されている。また、その画像データの各種情報
が第21図に示す如く、その頁の先頭にラベルとして記
憶されている。情報としてはその画像データの読取サイ
ズ(主走査ドツト数)SZ、ファインか標準か(走査線
密度)F/S、その頁のEOLの数PFN等がある。
(Mode M4) 63 Memory Transmission M H --- Figure 14 (A), (b)', (
c) The flow of image data in mode M4 is shown in FIG. 14(A). Image data read in fine mode or standard mode is stored in the PI FORRAM 9 in the form of MH code. Further, various information of the image data is stored as a label at the top of the page, as shown in FIG. The information includes the read size (number of main scanning dots) SZ of the image data, whether it is fine or standard (scanning line density) F/S, the number of EOLs PFN of the page, etc.

そこで、相手機の記録紙のサイズが、読取サイズSZよ
り小さい場合、前述した主走査ドツト数変換を行なう必
要が有、又、ファインモードでRAM9に記憶している
にも拘らず、相手機が標準モードしか持たない場合には
前述した走査線密度変換を行う必要がある。
Therefore, if the size of the recording paper of the other machine is smaller than the reading size SZ, it is necessary to perform the main scanning dot number conversion described above, and even if the recording paper size of the other machine is stored in RAM 9 in fine mode, If only the standard mode is available, it is necessary to perform the scanning line density conversion described above.

第14図(B)はその振り分はルーチンを示すものであ
る。第14図(B)においてまずEOLのカウンタEO
Cを0にセットし、前手順にて相手機の記録紙サイズA
SZをセンスする。そしてラベルSZと比較し、ASZ
がSZよりも大きいか、等しければ、モードM4−1又
はM4−2を選択する。この場合は主走査ドツト数の変
換を要さない。
FIG. 14(B) shows the distribution routine. In FIG. 14(B), first the EOL counter EO
Set C to 0 and set the recording paper size A of the other machine in the previous step.
Sense SZ. And compared with label SZ, ASZ
is greater than or equal to SZ, select mode M4-1 or M4-2. In this case, there is no need to convert the number of main scanning dots.

又、ASZがSZよりも小さい場合にはモードM4−3
 、M4−4が選択される。この場合は主走査ドツト数
の変換を要する。
Also, if ASZ is smaller than SZ, mode M4-3
, M4-4 are selected. In this case, it is necessary to convert the number of main scanning dots.

そして、相手機にファインの記録モードが無く、RAM
9にファインモードで記憶されている場合には更に副走
査線密度の変換を要し、モードM4−2)又はM4−4
が選択される。
And, the other machine does not have a fine recording mode, and the RAM
If the fine mode is stored in the mode M4-2) or M4-4, it is necessary to further convert the sub-scanning line density.
is selected.

即ち、M4−1は主走査ドツト数変換、副走査密度変換
を共に必要としない。M4−2は副走査密度変換だけを
必要とし、M4−3は主走査ドツト数変換だけを必要と
する。又、M4−4は両変換共に必要である。
That is, M4-1 does not require either main scanning dot number conversion or sub-scanning density conversion. M4-2 requires only sub-scanning density conversion, and M4-3 requires only main-scanning dot number conversion. Also, M4-4 is necessary for both conversions.

各モードのデータの流れについて詳細な説明は後述する
が、lラインの送信が終了すると。
A detailed explanation of the data flow in each mode will be given later, but once the transmission of the l line is completed.

モードM4−1.4−3ではEOLカウンタEO−Cを
+1し、M4−2.4−4ではEOCを+2する。そし
てEOCがRAM9内のその頁のEOL数を示すPFN
と一致した頁エンドサブルーチンへ移行する。
In mode M4-1.4-3, EOL counter EO-C is incremented by +1, and in mode M4-2.4-4, EOC is incremented by +2. and PFN where EOC indicates the EOL number of that page in RAM9
Shifts to the page end subroutine that matches.

頁エンドサブルーチンは第14図(C)に示され、RA
MQ内に一連の頁と共に記憶されたグループの最終頁を
示すラベルGEを見て、その頁がグループの最終頁なら
ば、相手機へ送信の終りを示すEOPを出力し、送信を
おわる。
The page end subroutine is shown in FIG.
The label GE indicating the final page of the group stored together with a series of pages in the MQ is checked, and if the page is the final page of the group, an EOP indicating the end of transmission is output to the other party's machine, and the transmission ends.

一方、グループの最終頁でなければ次ページSZ、F/
Sを読出し、F/S; SZが前頁と同じならば、同一
モードで次頁も送ることを示すMPS信号を出力する。
On the other hand, if it is not the last page of the group, the next page SZ, F/
Read S, F/S; If SZ is the same as the previous page, output an MPS signal indicating that the next page will also be sent in the same mode.

違う場合には前手順をもう一度始めから行うことを示す
ROM信号を相手機に送るのである。
If not, a ROM signal is sent to the other machine indicating that the previous procedure should be repeated from the beginning.

以下にM4−1−M4−4の各モードの画像データの流
れを説明する。
The flow of image data in each mode of M4-1 to M4-4 will be explained below.

(M4−1) 主走査ドツト、副走査線密度変換なし RAMe内の画像データはFi文fL23−3でフィル
ビットを付加され、モデム19を介してNCU21から
送出される。又、CG25の出力生データはENC23
−1でMHコード化され直接Fillへ転送されない。
(M4-1) Main scanning dots, no sub-scanning line density conversion The image data in RAMe is added with a fill bit by the Fi statement fL23-3, and sent from the NCU 21 via the modem 19. Also, the output raw data of CG25 is ENC23.
-1 and is MH encoded and not directly transferred to Fill.

(M4−2)  副走査線密度変換有 MPU23はRAM9のMH出力をMHコードのままで
F/523−4でファインから標準への変換、即ち一ラ
インおきのデータの削除し、RAM3,5,7へ出力す
る。RAM3.5 。
(M4-2) MPU 23 with sub-scanning line density conversion converts the MH output of RAM 9 from fine to standard using F/523-4 while keeping the MH code, that is, deletes every other line of data, and Output to 7. RAM3.5.

7内のMHのデータはFixx23−3でフィルビット
を付加され、モデム19に転送される。
The MH data in MH 7 is added with a fill bit by Fixx 23-3 and transferred to modem 19.

又、CG2’5の出力生データもENC23−1及びR
AM3.5.7を介してFi文す23−3へ出力される
Also, the output raw data of CG2'5 is also ENC23-1 and R.
It is output to the Fi station 23-3 via AM3.5.7.

(M4−3)  主走査ドツト数変換有MPU23はR
AM9よりMHの画像データを抜き出し、DEC23−
2でランレングスコードRLに変換し、RLの状態でB
4→A4の変換を行う。そしてENC23−1で再びM
Hコードに戻しFiFoメモリとして用いられるRAM
3.5.7へ出力する。その後FiM見23−3でフィ
ルビットを付加され、モデム19に転送される。CG2
5の出力生データもENC23−1でMHコードに直さ
れた後RAM3.5.7を介してFi旦交23−3へ転
送される。
(M4-3) MPU23 with main scanning dot number conversion is R
Extract the image data of MH from AM9 and transfer it to DEC23-
2 to convert to run length code RL, and in RL state B
Perform the conversion from 4 to A4. Then M again with ENC23-1
RAM returned to H code and used as FiFo memory
Output to 3.5.7. Thereafter, a fill bit is added to the signal by the FiM controller 23-3, and the signal is transferred to the modem 19. CG2
The output raw data of No. 5 is also converted into MH code by the ENC 23-1 and then transferred to the Fi data exchanger 23-3 via the RAM 3.5.7.

(M4−4)  両変換有 MPU23はFI FORAM9内のMHのデータをM
HのままF/S変換し、更にDEC23−2ランレング
スコードRLに直した後、B 4/A 4変換し、変換
されたランレングスコードRLをENC23−1でMH
コードに戻し、RAM3.5.7へ転送する。CG25
の出力も同様にENC23−1,RAM3.5 。
(M4-4) The MPU 23 with both conversion converts the MH data in the FIFORAM 9 into M
After F/S conversion with H as it is, and further converting it to DEC23-2 run length code RL, converting to B 4/A 4, and converting the converted run length code RL to MH with ENC23-1.
Return to code and transfer to RAM3.5.7. CG25
Similarly, the output is ENC23-1, RAM3.5.

7を介してFi文文に転送される。7 to the Fi statement.

(モードM5)’ G2メモリ送信−−−一第゛15図
MPU23はF I FORAM9からMHコードをぬ
き出しランレングスコードRLにデコードし、さらに生
データRAWへ変換してlラインずつ交互にRAM5.
7へ転送する。そして順次RAM5.7から生データを
ぬき出し、モデム19へ転送する。また、ファインから
標準へのモード変換を行う場合にはRAM9とDEC2
3−2の間でF/523−4を、縮小を行う場合には2
つのDEC23−2の間でB4/A423−5変換を施
す。
(Mode M5)' G2 memory transmission --- Figure 15 The MPU 23 extracts the MH code from the FIFORAM 9, decodes it into a run-length code RL, converts it to raw data RAW, and alternately sends it l line by line to the RAM 5.
Transfer to 7. Then, raw data is sequentially extracted from the RAM 5.7 and transferred to the modem 19. In addition, when performing mode conversion from fine to standard, RAM9 and DEC2
F/523-4 between 3-2, 2 when reducing
B4/A423-5 conversion is performed between two DEC23-2s.

CG25の出力データは生データRAWの形でRAM5
.7を介してモデム19へ転送される。ただし、その際
CG25のデータは、走査線を間引かないで、副走査方
向7.7fiine/mmで送出することにより、文字
サイズを03モードに較べてタテに2倍している。これ
は、G2はアナログ伝送のため、伝送による画質の劣化
が大きのいで、G2モードでも発信元情報が確実に読み
取れるようにするために行っているのである。
The output data of CG25 is stored in RAM5 in the form of raw data RAW.
.. 7 to the modem 19. However, in this case, the CG25 data is transmitted at 7.7 fine/mm in the sub-scanning direction without thinning out the scanning lines, so that the character size is doubled vertically compared to the 03 mode. This is done to ensure that the sender information can be read even in G2 mode, since G2 is an analog transmission and the image quality deteriorates significantly due to transmission.

(モードM6)  G2原稿送信−−−一第16図デー
タの転送は全て生データの形態で行われる。読取部lは
MPU23からの読取命令により、1ライン分の画像デ
ータを生データでRAM3へ書込む。そしてMPU23
はRAM3のデータをそのまま2本のラインバッファR
AM5、RAM7へ1ラインづつ交互に転送する。そし
てモデムからのデータ要求インタラブドに対し、生デー
タを1バイトずつRAM5又はRAM7からモデム19
へ転送する。
(Mode M6) G2 Original Transmission --- Figure 16 All data is transferred in the form of raw data. The reading unit 1 writes one line of image data as raw data to the RAM 3 in response to a reading command from the MPU 23. And MPU23
transfers the data in RAM3 to two line buffers R.
One line at a time is alternately transferred to AM5 and RAM7. Then, in response to data requests from the modem, the raw data is transferred one byte at a time from RAM5 or RAM7 to the modem 19.
Transfer to.

また、画像の先頭に付加する発信元記録等のキ′ヤラク
タ情報は、(:G25から生データのままRAM5.7
へ転送している。
In addition, character information such as source record added to the beginning of the image is stored in the RAM 5.7 as raw data from (:G25).
is being forwarded to.

また、G2モードの場合RAM5 、RAM7には、同
期信号を含めて、1728bitの画像データが書き込
まれる。この同期信号に対応する画信号はMPU23が
作成している。
Furthermore, in the case of G2 mode, 1728-bit image data including a synchronization signal is written into RAM5 and RAM7. The MPU 23 creates an image signal corresponding to this synchronization signal.

(モードM7 、M8) G3受信MRモード、 RAM9使用可(不可)−一一一第17図MPU23は
MRコードを回線より、NCU21、モデム19を介し
て受取ると、まずフィルビットの削除を行い、RAM9
にデータがない場合RAM9へ、RAM9にデータがあ
る場合RAM3へMRコードのまま転送する。そしてR
AM9又は3より順次MRコードをぬき出し、ラインレ
ングスコードRLヘデコードした後1ラインずつ交互に
RAM5 、RAM7へ転送する。また同時にそのラン
レングスコードRLは記録部17へ転送され、記録が行
われる。
(Modes M7, M8) G3 reception MR mode, RAM9 usable (unavailable) - 111 Figure 17 When the MPU 23 receives the MR code from the line via the NCU 21 and modem 19, it first deletes the fill bit, RAM9
If there is no data in RAM9, it is transferred to RAM9, and if there is data in RAM9, it is transferred to RAM3 as is. and R
The MR code is sequentially extracted from AM9 or AM3, decoded into line length code RL, and then transferred line by line to RAM5 and RAM7 alternately. At the same time, the run length code RL is transferred to the recording section 17 and recorded.

デコードしたランレングスコードRLQRAM5 、R
AM7へ転送し、蓄えておくのは、MRコード化する際
の前ライン情報として使用するためである。
Decoded run length code RLQRAM5, R
The reason why it is transferred to AM7 and stored is to use it as front line information when converting into MR code.

(モードM9.MIO) G3受信MHコード RAM9使用可(不可)−一一一第18図MPU23は
MHコードを、回線よりNCU21、モデム19を介し
て受取ると、まずフィルビットの削除を行い、RAM9
が使用可ならばRAM9へ、不可ならばRAM3.5.
7へMHコードのまま転送する。そしてRAM9又は3
,5.7より順次MHコードをぬき出し、ラインレング
スコードRLへ変換し、記録部17へ転送して記録する
(Mode M9.MIO) G3 received MH code RAM 9 usable (unavailable) - 111 Figure 18 When the MPU 23 receives the MH code from the line via the NCU 21 and modem 19, it first deletes the fill bit and then stores it in the RAM 9.
If available, go to RAM9, otherwise go to RAM3.5.
Transfer to 7 as MH code. and RAM9 or 3
, 5.7, the MH codes are sequentially extracted, converted into line length codes RL, and transferred to the recording section 17 to be recorded.

(モデムMll)  G2受信−一一一第19図02モ
ードでは非圧縮生データが送られてくるので、MPU2
3は生データを回線よりNCU21、モデム19を介し
て受取ると、lラインづつ交互にラインバッファRAM
5 。
(Modem Mll) G2 reception-111 Figure 19 In 02 mode, uncompressed raw data is sent, so MPU2
3 receives the raw data from the line via the NCU 21 and the modem 19, and then alternately stores the raw data one line at a time in the line buffer RAM.
5.

RAM7へ転送する。そして、RAM5 、RAM7よ
り順次生データをぬきとり、記録部17へ転送し、記録
する。
Transfer to RAM7. Then, raw data is sequentially extracted from the RAM 5 and RAM 7, transferred to the recording section 17, and recorded.

また、RAM5 、RAM7にはモデム19で復調され
たlライン分の画信号1728bitが書き込まれる。
Further, a 1728-bit image signal for 1 line demodulated by the modem 19 is written into the RAM5 and RAM7.

この中には同期信号を復調して得られた画信号も含まれ
ているので、MPU23は記録部17へ転送する際は前
記同期信号に対応した画信号を除いて伝送している。
Since this includes the image signal obtained by demodulating the synchronization signal, the MPU 23 removes the image signal corresponding to the synchronization signal when transferring it to the recording section 17.

(モードM12) メモリ蓄積−一一一第20図FIF
ORAM9にMHコードで蓄積するまではモードMlと
ほぼ同様で、異なる点はCG25からのデータが無い点
と、RAM9へ転送する際にRAM13からページの先
頭にファイル管理用のラベルLBを付加することである
(Mode M12) Memory storage - 111 Figure 20 FIF
It is almost the same as mode Ml until it is stored in ORAM9 with the MH code, and the difference is that there is no data from CG25, and that a label LB for file management is added to the top of the page from RAM13 when transferring to RAM9. It is.

ここでラベルについて説明しておく。Let me explain about labels here.

ラベルは第21図に示す様に24byteで゛構成され
ている。1〜3バイト目にはそのラベルのついたデータ
が最終ページであることを示すLPMと次ページの先頭
アドレスがどこにあるかを示すNPAがある。4バイト
目にはページ毎の情報が入る。4バイト目のMSHには
データをページ単位だけでなくグループ単位に分けた場
合そのグループの最終ページか否かの情報GEが入る。
The label consists of 24 bytes as shown in FIG. 21. The 1st to 3rd bytes contain an LPM indicating that the data with that label is the final page, and an NPA indicating where the start address of the next page is. The fourth byte contains information for each page. When data is divided not only in page units but also in group units, information GE indicating whether or not this is the last page of the group is entered in the fourth byte MSH.

F/Sには、走査線密度が標準(0,85本/ m m
 )か、ファイン(7本/mm)かのデータが入る。
For F/S, the scanning line density is standard (0.85 lines/mm
) or fine (7 lines/mm).

MDにはRAM9内のデータがMH、MR。In the MD, the data in RAM9 is MH and MR.

RL、RAW又はASCIIコードの内どの形態で記憶
されているかの情報が入る。SZにはRAMQ内のデー
タが読取幅A4かB4かA3かの情報が入る。
Information on whether the data is stored in RL, RAW, or ASCII code is entered. SZ contains information as to whether the data in RAMQ has a reading width of A4, B4, or A3.

5バイト目はGPCで、データをグルレープ分けした場
合のグループ内でのページ番号を示す。6〜9バイト目
にはページの総ライン数PLNが、lO〜14バイト目
にはメモリ蓄積を行った時の時刻が入り、lOバイト目
には「分J、11バイト目は1時」、12バイト目は1
日」、13バイト目は「月」、14バイト目はr年」が
記憶される。更に第15〜24バイト目には、そのペー
ジの2アイル名PFNがコードで、それぞれ入る。
The fifth byte is GPC, which indicates the page number within the group when the data is divided into groups. The 6th to 9th bytes contain the total number of lines PLN for the page, the 10th to 14th bytes contain the time when memory storage was performed, the 10th byte contains "minute J," the 11th byte contains 1 o'clock, 12th byte is 1
The 13th byte is the month, and the 14th byte is the year. Furthermore, the 2-isle name PFN of the page is entered as a code in the 15th to 24th bytes.

そして、メモリ送信、メモリコピ一時にはこのラベル内
の情報をもとにモードの決定。
Then, the mode for memory transmission and memory copying is determined based on the information in this label.

情報の付加等を行うのであるが、時刻データに関してメ
モリコピ一時はラベル内の情報−よりメモリ蓄積時の時
刻をヘッダとして印字し、メモリ送信時はラベルLB内
の情報を無視して送信時刻を送出する。時刻指定送信を
おこなつた場合、受信画像上に印字された時刻はRAM
9に蓄積された時刻でなく、実際に送信がおこなわれた
時刻になる様に考慮したものである。
Information is added, etc. Regarding time data, when memory copying is performed, the time at the time of memory storage is printed as a header based on the information in the label, and when sending from memory, the information in the label LB is ignored and the sending time is sent. do. When time-specified transmission is performed, the time printed on the received image is stored in RAM.
This is done so that the actual time of transmission is used instead of the time stored in 9.

また、一度RAM9に蓄積された画像データ及びラベル
LBは、オペレータのマニュアル操作及び自動でクリア
される。自動クリアのフローは第22図の様になってい
る。
Furthermore, the image data and label LB once stored in the RAM 9 are cleared manually or automatically by the operator. The automatic clearing flow is shown in FIG. 22.

尚、メモリクリアはメモリコピー後には行われない。Note that memory clearing is not performed after memory copying.

(モードM13)メモリコピ一一−−一第23図(A)
MPU23はDRAM9よりMI(コードを順次ぬきと
り、ランレングスコードに変換して記録部17へ転送し
記録を行う。また、ヘッダ情報はMPUを介して文字コ
ードから生データへ変換し、記録部17へ転送し、記録
する。
(Mode M13) Memory copy 11--1 Figure 23 (A)
The MPU 23 sequentially extracts MI (codes) from the DRAM 9, converts them into run-length codes, transfers them to the recording unit 17, and records them.Furthermore, the header information is converted from character codes to raw data via the MPU, and is transferred to the recording unit 17. Transfer to and record.

ヘッダ中の時刻は、RAM9に記憶されたファイル管理
用ラベルLB中にあるメモリ蓄積の行われた時刻がCG
25により画像に変換され記録部17で記録される。
The time in the header is the time when memory storage was performed in the file management label LB stored in RAM9.
25 into an image and recorded in the recording section 17.

第23図(B)に時刻管理サブルーチンを示す。まず送
信モードの場合には、MPU23が管理する時計27(
第1図)の日付及び時刻データをCG25へ出力し、送
信時刻を画像と共に送信する。又同時に通信管理用RA
M13・\送信先の置NOと共に時刻を記憶させる。
FIG. 23(B) shows the time management subroutine. First, in the case of transmission mode, the clock 27 (
The date and time data shown in FIG. 1) are output to the CG 25, and the transmission time is transmitted together with the image. At the same time, RA for communication management
M13: Store the time and the destination number.

又、メモリコピ一時にはラベル内の日付時刻データTD
をCG25へ出力する。メモリ蓄積時には前記時計の日
付時刻データをRAM9ヘデータTDとして出力する。
Also, during memory copying, the date and time data TD in the label
is output to CG25. At the time of memory storage, the date and time data of the clock is output to the RAM 9 as data TD.

又、受信時には前記時計27のデータを前記RAM13
へ相手先の置NOと共に記憶させる。尚、原稿コピーモ
ードの場合には時刻データは何ら関与しない。
Also, at the time of reception, the data of the clock 27 is transferred to the RAM 13.
to be stored together with the destination number. Note that in the case of original copy mode, time data is not involved at all.

(モードM14) 原稿コビ一一−−一第24図読取部
lはMPU23からの読取命令を受取るlライフ分のデ
ータを生データRAWの形でRAM3へ書込む。そして
MPU23はRAM3から順次生データをぬき出し、記
録部17へ転送し記録する。CG25の出力データは生
データの形で記録部17へ転送され記録される。
(Mode M14) The reading unit 1 receives a reading command from the MPU 23 and writes data for 1 life in the form of raw data RAW to the RAM 3. Then, the MPU 23 sequentially extracts raw data from the RAM 3, transfers it to the recording section 17, and records it. The output data of the CG 25 is transferred to the recording section 17 in the form of raw data and is recorded.

(効 果〉 以上説明した如く本発明の画像送信装置は、画像信号を
記憶する記憶手段、前記記憶手段内の画像信号の一ライ
ンのドツト数を変換するドツト数変換手段、前記変換手
段の出力又は前記記憶手段内の画像信号を選択的に送信
する送信手段より成るものである。
(Effects) As explained above, the image transmitting device of the present invention includes a storage means for storing an image signal, a dot number conversion means for converting the number of dots in one line of the image signal in the storage means, and an output of the conversion means. Alternatively, it comprises a transmitting means for selectively transmitting the image signals in the storage means.

かかる構成により、記憶手段内に貯えられたデータにつ
いても交信相手に応じた一ラインのドツト数を送信する
ことが可能となり、交信性が向上すると共に、記憶手段
内に記憶するデータに制限がなくなる。
With this configuration, it becomes possible to transmit the number of dots per line depending on the communication partner for the data stored in the storage means, improving communication efficiency and eliminating restrictions on the data stored in the storage means. .

更に本発明はドツト数変換手段が圧縮符号を元の生の画
像信号に戻すことなくドツト数を変換しているので、ド
ツト数変換に要する時間を短縮できるものである。
Further, in the present invention, since the dot number converting means converts the dot number without converting the compressed code back to the original raw image signal, the time required for dot number conversion can be shortened.

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

第1図は本実施例のファクシミリ装置の断面図、第2図
(A)は本実施例のファクシミリ装置の基本制御ブロッ
ク図、第2図(B)は第2図(A)のMPU23の基本
機能を示す図、第3図(A)は第2図(A)のROMI
I内のMHコードデータの構成を示す図、第3図(B)
、(C)はランレングスコードからMRコードへの変換
フローチャート図、第4図、第5図はRAMQ内のEO
Lの構成を示す図、第6図はMHコードからランレング
スコードへの変換フローチャート図、第7図はMHコー
ドをランレングスコードへ変換する場合のサーチ例を示
す図、第8図(A)はMRコードをランレングスコード
へ変換する場合のサーチ例を示す図、第8図(B)はモ
デム19からデータ要求インタラブドを受けた場合のM
PU 23の処理フローチャートを示す図、第8図(C
)はランレングスコードから生データへの変換フローチ
ャート図、第8図(D)、(E)。 CF)はB4からA4へのドツト数の変換の説明図、第
9図(a)、、、、(、b)、、(C)はMPU23の
14通りの動作モードを決定する為のフローチャアト図
、第10図は操作部50、の平面図、警11図はモード
Mlの画像データの流れを示す図、1第12図(A)は
モードM2の画像データの流れを示す図、第12図(B
)はCGデデーを¥H,+−ド1、画像データは¥Rコ
ードでRAM9に貯える為のフローチャート図、第13
図はモードM3の画像データの流れを示す図、第14図
(A)はモー下M4、の画像データの流れを示す図1.
第14図(B)はモードM4を相手機に応じて更にモー
ドM4−1〜¥4−4&::振り分けるフローチャート
図、第14図(C)は頁エンド、す、ブルーオンを示す
図、第15.図はモードM5の画像データの流れを示す
図、第16図はモードM6の画像データの流れを示す図
、第17図はモニド¥、7.M8の画像、データ1の流
れを示す図、第18図はモードM9.M、1.0の画像
データの流れを示す図、第19図はモードM、11の画
!データの流れを示す図、第202図はモード、M12
の画像デーF?。 りの流れを示す図、第21図はRAM9への画像データ
の蓄積時にページの先頭に付、けられるファイル管理用
ラベルの構成を示す図、第22図はRAM9内の画像デ
ータを自動クリアするフローチャート図、第23図(A
)はモードM13の画像データの流れを示す図、第23
図(B)は時刻管理サブルーチンを示す図、第24図は
モードM14の画像データの流れを示す図である。 図において、lは読取部、3,5.7はRAM、9は画
像メモリとして使用されるFIFORAM、23はMP
U、25はCGを夫々示す、。 寿q図(b) 第0図(C) rンシ        M<ダ 第230(△) 第24曽
FIG. 1 is a sectional view of the facsimile device of this embodiment, FIG. 2(A) is a basic control block diagram of the facsimile device of this embodiment, and FIG. 2(B) is the basics of the MPU 23 of FIG. 2(A). A diagram showing the functions, Figure 3 (A) is the ROMI of Figure 2 (A)
A diagram showing the structure of MH code data in I, Figure 3 (B)
, (C) is a flowchart of conversion from run-length code to MR code, and Figures 4 and 5 are EO in RAMQ.
FIG. 6 is a flowchart of conversion from MH code to run-length code, FIG. 7 is a diagram showing a search example when converting MH code to run-length code, and FIG. 8 (A) 8(B) is a diagram showing an example of a search when converting an MR code into a run-length code, and FIG.
A diagram showing a processing flowchart of the PU 23, FIG.
) are flowcharts of conversion from run-length code to raw data, FIGS. 8(D) and (E). CF) is an explanatory diagram of the conversion of the number of dots from B4 to A4, and FIGS. 10 is a plan view of the operation unit 50, FIG. 11 is a diagram showing the flow of image data in mode M1, FIG. 12 (A) is a diagram showing the flow of image data in mode M2, and FIG. Figure (B
) is a flowchart diagram for storing CG data in ¥H, +- code 1 and image data in RAM 9 as ¥R code, No. 13
The figure shows the flow of image data in mode M3, and FIG. 14(A) shows the flow of image data in mode M4.
Figure 14 (B) is a flowchart that further distributes mode M4 to modes M4-1 to ¥4-4 &:: according to the partner machine, Figure 14 (C) is a diagram showing page end, blue on, and 15. The figure shows the flow of image data in mode M5, FIG. 16 shows the flow of image data in mode M6, and FIG. 17 shows the flow of image data in mode M6. FIG. 18 is a diagram showing the flow of M8 image and data 1 in mode M9. A diagram showing the flow of image data in M, 1.0, Figure 19 is an image in mode M, 11! A diagram showing the flow of data, Figure 202 is the mode, M12
Image day F? . Figure 21 is a diagram showing the configuration of a file management label that is added to the top of a page when image data is stored in RAM9, and Figure 22 is a diagram showing the automatic clearing of image data in RAM9. Flowchart diagram, Figure 23 (A
) is a diagram showing the flow of image data in mode M13.
FIG. 24B is a diagram showing the time management subroutine, and FIG. 24 is a diagram showing the flow of image data in mode M14. In the figure, l is a reading unit, 3, 5.7 is a RAM, 9 is a FIFORAM used as an image memory, and 23 is an MP
U and 25 indicate CG, respectively. 230th (△) 24th

Claims (2)

【特許請求の範囲】[Claims] (1)画像信号を記憶する記憶手段、前記記憶手段内の
画像信号の一ラインのドット数を変換するドット数変換
手段、前記変換手段の出力又は前記記憶手段内の画像信
号を選択的に送信する送信手段より成ることを特徴とす
る画像送信装置。
(1) A storage means for storing an image signal, a dot number conversion means for converting the number of dots in one line of the image signal in the storage means, and selectively transmitting the output of the conversion means or the image signal in the storage means An image transmitting device comprising a transmitting means.
(2)特許請求の範囲第1項において、前記記憶手段は
圧縮符号化された画像信号を記憶し、前記ドット数の変
換手段は圧縮符号を元の画像信号に戻すことなくドット
数を変換することを特徴とする画像送信装置。
(2) In claim 1, the storage means stores a compression-encoded image signal, and the dot number conversion means converts the number of dots without returning the compression code to the original image signal. An image transmitting device characterized by:
JP60017018A 1985-01-31 1985-01-31 Image transmitter Expired - Lifetime JPH0831933B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP60017018A JPH0831933B2 (en) 1985-01-31 1985-01-31 Image transmitter
GB08602220A GB2172464B (en) 1985-01-31 1986-01-30 Image transmission apparatus
US07/243,231 US4845569A (en) 1985-01-31 1988-09-07 Image transmission or encoding apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60017018A JPH0831933B2 (en) 1985-01-31 1985-01-31 Image transmitter

Publications (2)

Publication Number Publication Date
JPS61176254A true JPS61176254A (en) 1986-08-07
JPH0831933B2 JPH0831933B2 (en) 1996-03-27

Family

ID=11932252

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60017018A Expired - Lifetime JPH0831933B2 (en) 1985-01-31 1985-01-31 Image transmitter

Country Status (1)

Country Link
JP (1) JPH0831933B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5001078A (en) * 1985-04-16 1991-03-19 Kabushiki Kaisha Toshiba Method of making semiconductor memory device
JPH05249232A (en) * 1992-03-05 1993-09-28 Fujitsu Ten Ltd Millimeter-wave radar equipment
JPH05249233A (en) * 1992-03-09 1993-09-28 Fujitsu Ten Ltd Millimeter-wave radar equipment
JPH05256938A (en) * 1992-03-11 1993-10-08 Fujitsu Ten Ltd Distance/speed measuring apparatus by millimetric wave radar

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5648756A (en) * 1979-09-28 1981-05-02 Ricoh Co Ltd Facsimile equipment
JPS58138162A (en) * 1982-02-12 1983-08-16 Hitachi Ltd Facsimile storage converting system
JPS59188272A (en) * 1983-04-09 1984-10-25 Ricoh Co Ltd Facsimile equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5648756A (en) * 1979-09-28 1981-05-02 Ricoh Co Ltd Facsimile equipment
JPS58138162A (en) * 1982-02-12 1983-08-16 Hitachi Ltd Facsimile storage converting system
JPS59188272A (en) * 1983-04-09 1984-10-25 Ricoh Co Ltd Facsimile equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5001078A (en) * 1985-04-16 1991-03-19 Kabushiki Kaisha Toshiba Method of making semiconductor memory device
JPH05249232A (en) * 1992-03-05 1993-09-28 Fujitsu Ten Ltd Millimeter-wave radar equipment
JPH05249233A (en) * 1992-03-09 1993-09-28 Fujitsu Ten Ltd Millimeter-wave radar equipment
JPH05256938A (en) * 1992-03-11 1993-10-08 Fujitsu Ten Ltd Distance/speed measuring apparatus by millimetric wave radar

Also Published As

Publication number Publication date
JPH0831933B2 (en) 1996-03-27

Similar Documents

Publication Publication Date Title
US4845569A (en) Image transmission or encoding apparatus
US4772955A (en) Data communication apparatus
JPS61176254A (en) Picture transmitter
JPS61176255A (en) Picture transmitter
JPS61176270A (en) Picture transmitter
JPS61176250A (en) Picture transmitter
JPS61176249A (en) Picture transmitter
JPS61176252A (en) Picture transmitter
JPS61176269A (en) Picture transmitter
JPS61176268A (en) Picture transmitter
JPS61176292A (en) Method for storing variable length code
JPS61176251A (en) Picture transmitter
JPS61176285A (en) Picture transmitter
JPS61179676A (en) Coding method
JP3263212B2 (en) Image transmission method, image recording method, image transmission device, and image recording device
JPS61176267A (en) Picture transmitter
JP2745447B2 (en) Facsimile communication method
JP3712504B2 (en) Facsimile machine
JPH05153414A (en) Picture transmission system
JP2662407B2 (en) Image processing method
JP3062340B2 (en) Facsimile machine
JP3592061B2 (en) Image communication system and processing method thereof
JPH01161968A (en) Control system for facsimile equipment
JPH05103173A (en) Facsimile equipment and outputting method for facsimile reception image
JP2000341495A (en) Image output method and medium recorded with control program therefor

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term