JPS6314546B2 - - Google Patents

Info

Publication number
JPS6314546B2
JPS6314546B2 JP54091690A JP9169079A JPS6314546B2 JP S6314546 B2 JPS6314546 B2 JP S6314546B2 JP 54091690 A JP54091690 A JP 54091690A JP 9169079 A JP9169079 A JP 9169079A JP S6314546 B2 JPS6314546 B2 JP S6314546B2
Authority
JP
Japan
Prior art keywords
data
output
input
parallel
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP54091690A
Other languages
Japanese (ja)
Other versions
JPS5616358A (en
Inventor
Juichi Saito
Juji Koseki
Shingo Yamaguchi
Mutsuo Ogawa
Shigeru Katsuragi
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP9169079A priority Critical patent/JPS5616358A/en
Publication of JPS5616358A publication Critical patent/JPS5616358A/en
Publication of JPS6314546B2 publication Critical patent/JPS6314546B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Facsimiles In General (AREA)
  • Facsimile Image Signal Circuits (AREA)

Description

【発明の詳細な説明】[Detailed description of the invention]

本発明はフアクシミリ装置に係り、特にマイク
ロコンピユータを用いたフアクシミリ装置に関す
る。 最近のマイクロコンピユータは集積回路技術の
進歩により、その発達はめざましく、小型な割に
大きな記憶容量を持ち、高度の演算処理の可能な
ものが非常に安価に得られるようになつた。 このため、マイクロコンピユータはあらゆる分
野に浸透し、フアクシミリ装置においても従来専
用のハードウエアで構成されていた部分がマイク
ロコンピユータで置き換えられるようになつた。 しかし、マイクロコンピユータは、現在のとこ
ろその演算処理速度に限界があり、高速処理を行
うハードウエア部分には取つて代ることの出来な
い難点があつた。 一方、フアクシミリ装置における符号化処理に
はビツト毎の処理が必要となるため高い処理速度
が要求される。 従つて、これ迄開発されて来たマイクロコンピ
ユータを用いたフアクシミリ装置においては、い
ずれも高速処理が必要な部分は専用のハードウエ
アで構成し、マイクロコンピユータは専らそのハ
ードウエアの補助的手段として用いられているに
過ぎず、マイクロコンピユータの持つ機能を充分
に活用する迄には至らなかつた。 例えば、第1図a,bはマイクロコンピユータ
を用いた従来のフアクシミリ装置のブロツク構成
図を示したものであるが、データは専用のハード
ウエアで処理するように構成し、そのときマイク
ロコンピユータは各インタフエース回路を介して
それらのハードウエアをシーケンス制御するため
に用いられているに過ぎなかつた。 従つて、送信側と受信側で共通に使用できるも
のは共通にしてフアクシミリ装置を構成したとし
ても、シフトレジスタあるいはランダムアクセス
メモリ等のメモリ、カウンタ、多数のゲート回路
及びタイミング制御用のフリツプフロツプ等から
成るバツフア装置が必要となる。 プロトコルを行う際、HDLCのフオーマツトを
作成したり、受信時そのフオーマツトのデータを
解読したりするためのデイレー回路、フラグ、誤
りチエツクコードの発生器及び検出器、多数のカ
ウンタ、フリツプフロツプ、シフトレジスタ、ゲ
ート回路等から成る通信制御装置が必要となる。 送信時、ランレングスを計数するためのカウン
タ、ランの切れ目を発見するための変化点検出用
フリツプフロツプ及び排他的論理和回路、ランレ
ンブスに応じた符号化コードを選択するためのリ
ードオンリメモリ、リードオンリメモリからの出
力を一時的貯え回線レートとの速度調整を行うた
めのFIFO(フアーストイン・フアーストアウト)
バツフアメモリ、符号化コードをFIFOバツフア
メモリに転送するためのカウンタ、圧縮率が高い
場合の最小伝送時間補正用のFILL(補充)ビツト
発生用カウンタ及びそのとき必要なクロツクを制
御するための多数のフリツプフロツプ及びゲート
回路から成るコーダ装置が必要となる。 受信時、通信制御装置から入力する受信画デー
タの速度変換を行うためのFIFOバツフアメモリ、
受信画データからEOL(同期)コード、FILLビ
ツト等を取り除くため、それらを検出する検出用
回路、符号化コードを取り出すためのシフトレジ
スタやビツトカウンタ、その符号化コードに応じ
たランレングスバイナリ数値を選択するためのリ
ードオンリメモリ、そのランレングスバイナリ数
値に応じたビツト数のランレングスを次段バツフ
ア装置に転送するためのランレングスカウンタ、
1ライン分のビツト数を計数して誤り検出を行う
ための累計カウンタ、そのとき必要なクロツクを
制御するための多数のフリツプフロツプ、ゲート
回路から成るデコーダ装置が必要となる。 このように、従来のフアクシミリ装置において
は、システムコントローラ等の極く限られた部分
をマイクロコンピユータに置き換えているに過ぎ
ず、装置の大半はランダムロジツク・ハードワイ
ヤードに頼らざるを得なかつたため、依然、装置
が大型且つ高価になる欠点があつた。 本発明は上記の点に鑑みなされたものであつ
て、フアクシミリ装置におけるスキヤナ、プロツ
タ、モデム等必要最少限のハードウエアのみ残
し、その他のハードウエアは一切マイクロコンピ
ユータで置き換えることにより、小型且つ安価な
フアクシミリ装置を提供することを目的とする。 この目的を達成するために本発明は、シリアル
画素データを所定ビツト毎のパラレル画素データ
に変換する画情報入力部と、シリアル符号化デー
タを所定ビツト毎のパラレル符号化データ相互に
変換することのできる送受信情報入出力部とを設
け、マイクロコンピユータが所定ビツト単位で符
号化および/あるいは復号化処理を行い得るよう
に構成したことを特徴とする。 以下、本発明の実施例について説明するが、そ
の前に、本実施例における特徴点を列挙してお
く。即ち、その特徴点は下記の通りである。 (1) 読取装置による書画情報の読取後、ランレン
グスの計数から符号化、データの伝送フオーマ
ツト形成に至るまでをマイクロコンピユータで
行うようにした点。 (2) 受信データをバスを介してマイクロコンピユ
ータに転送し、その後の受信データの復号から
画素データへの変換、記録装置へのデータの転
送に至るまでをマイクロコンピユータで行うよ
うにした点。 (3) 読取装置における原稿照明用光源の点滅、原
稿走査機構の駆動停止、モデムおよび/または
網制御装置の起動、停止をマイクロコンピユー
タで行うようにした点。 (4) 相手装置とのハンドシエークのためのプロト
コル、自己装置のモード設定をマイクロコンピ
ユータで行うようにした点。 (5) 相手装置への自己装置の具備する機能の通知
および/または相手装置のモード設定をマイク
ロコンピユータで行うようにした点。 (6) 受信した書画データの誤り検出、誤りを発生
したラインの書画情報の処置をマイクロコンピ
ユータで行うようにした点。 (7) 記録装置における記録紙の搬送装置の駆動、
停止、記録タイミングの制御をマイクロコンピ
ユータで行うようにした点。 (8) 操作部における表示ランプの点滅、操作信号
の受入れをマイクロコンピユータで行うように
した点。 (9) マイクロコンピユータで以上の動作を行う際
の使用時間をうまく割り振ることにより1台の
コンピユータでも上記全ての動作を行えるよう
にした点。 (10) 読取装置からのデータ転送に際して、イメー
ジセンサの画像積分時間よりも短時間にデータ
転送を終了するようにし、マイクロコンピユー
タの最高速度に追従できるようにした点。 (11) 画信号の前処理を複数ビツト同時に行うよう
にした点。 (12) 画信号の符号化を短時間で行うため、複数ビ
ツトの一括変化点検出を先ず始めに行うように
した点。 (13) 続いて上記変化点が検出されたとき、1ビ
ツトずつの検出に切り換えるようにした点。 (14) 操作時、操作スイツチのチヤタリングを防
止して操作信号を確実にマイクロコンピユータ
に取り込むようにした点である。 尚、本実施例における、インタフエース、マイ
クロプロセツシングユニツト、リードオンリメモ
リ、ランダムアクセスメモリとしては、インテル
社の8212、8085、8316、8101A4等を用いて構成
しているが無論これに限定する必要のないことは
言う迄もない。 以下、本発明の実施例を第2図以下の図面を参
照して詳細に説明する。 第2図は本発明によるフアクシミリ装置全体の
システムブロツク構成図を示したもので、は送
信時原稿を読み取り画信号を出力する原稿読取
部、はその画信号をマイクロコンピユータで符
号化処理するとき、高速化処理を可能にするた
め、原稿読取部から出力されたシリアル画素デ
ータを8ビツト毎のパラレル画素データに変換し
てマイクロコンピユータに入力する画情報入力部
である。は受信時マイクロコンピユータで復号
化された画信号を受信画記録部へ出力する受信画
出力部、は原稿のコピーを得る受信画記録部で
ある。 マイクロコンピユータ(以下、これをμ−
COMと云う)はマイクロプロセツシングユニツ
ト部、タイミング発生部、制御プログラム記
憶部、情報記憶部から成り、画情報の符号
化、復号化、各部の制御等後述する仕事を行う。
は送信時μ−COMで符号化された8ビツト毎
のパラレルデータをシリアル変換してモデムに出
力する一方、受信時モデムから入力する符号化さ
れたシリアルデータを8ビツト毎のパラレルデー
タに変換してμ−COMに入力する送受信情報入
出力部である。この送受信情報入出力部は画デ
ータの入出力の他プロトコル等を行う際、必要な
データの入出力を行うことは勿論である。 およびXIは制御信号入力部および出力部であ
り、原稿読取部、受信画記録部、モデム、網
制御部、操作表示部からの信号をμ−COMに入
力する一方、μ−COMから所定の制御信号を各
部に出力する部分である。 本実施例のフアクシミリ装置は概略以上のよう
に構成されているものであるが次に、上述各部の
具体的構成および作用を第3図以下の図面を参照
して順次説明していく。尚、モデム、網制御部、
操作表示部は従来公知のものを用いれば良く、ま
た、本発明に直接関係がないので、その詳細は省
略する。また、以下の説明においては、原則とし
て、バス、信号線は大文字で、また、そこに現わ
れる信号は小文字で表わす。 原稿読取部(第3図参照) 第3図の1点鎖線部分が原稿読取部で、PM
は原稿の副走査送りを行うためのパルスモータ、
RはそのパルスモータPMにより駆動される原稿
搬送ローラ、L1は原稿検出用光源、L2は原稿照
明用光源SL1,SL2は原稿検出器である。 オペレータが、手動或は原稿給紙装置により、
原稿を矢印方向から原稿受付口に挿入すると、原
稿検出器SL1が作動する。 μ−COMは定期的に検出器SL1の状態を監視
しているのでSL1が作動すると、後述する制御
信号出力部XIを介して、点灯指令を原稿照明用光
源駆動回路に出力して光源L2を点灯すると共に、
パルスモータ駆動回路に駆動信号を出力してパル
スモータPMを回転させる。 パルスモータPMが回転すると、搬送ローラR
が廻り出し、原稿を矢印方向に搬送する。 原稿先端が検出器SL2位置に達すると検出器
SL2は、後述する制御信号入力部を介して、
それをμ−COMに知らせる。 μ−COMは、そこでパルスモータPMを一旦
停止させたのち、以后読み取り走査時における副
走査送りに切り換える。 原稿画像はコンタクトガラスCG、ミラーM、
レンズlを介してイメージセンサIS上に結像され
る。イメージセンサISには、μ−COMの制御の
下に画情報入力部からエレメントクロツクelck
及び行同期パルスssが入力し、そのクロツクに同
期して出力するビデオ信号は増幅器A、2値化回
路Bを経て1ビツトずつシリアルに画情報入力部
に入力する。 画情報入力部(第4図a,b参照) 画情報入力部は第4図aの1点鎖線部分に示
すように、カウンタCT1、シフトレジスタSR
1、トライステートバツフアTBから構成され、
2値化回路Bから出力されるシリアル画素データ
を8ビツト毎のパラレル画素データに変換し、後
述するデータバスD0〜D7上に出力する。 一般にシリアル画素データをパラレルに変換す
る場合、シフトレジスタを2本用い、その一方に
シリアル画素データを入力中、他方からパラレル
画素データを取り出す方法もあるが、本実施例で
はμ−COMがパラレル画素データを処理する時
間内に次の画素データをシフトレジスタ内に満す
ようにクロツク速度を設定しているため、図示の
ようにシフトレジスタは1本だけで構成してい
る。 カウンタCT1はμ−COMから出力される後述
するリードストローブrsoが入力したとき、続い
てエレメントクロツクelckを8個出力するため、
プリセツト可能な同期式の4ビツトバイナリカウ
ンタで構成されている。 カウンタCT1は、そのL端子に論理「1」が
入力しているときはCP端子に入力するクロツク
clkの立上りでカウントアツプする。また、L端
子入力が論理「0」のときはα、β・γ、δ端子
に入力される論理に出力端子Q〓,Q〓,Q〓,Q〓が
セツトされる。またR端子に「0」が入力する
と、クロツクclk入力とは非同期でリセツトされ
る。 C0端子からはQ〓〜Q〓出力が全て「1」、即ち、
16進数Fとなつたとき「1」が出力される。 C0出力及び〓出力はNORゲートを介してカウ
ンタCT1のL端子に入力する。従つて、カウン
タCT1の値が0〜7及び16値数Fとなつたとき、
L端子入力は「0」となる。またセツト端子α、
βには常に「0」、γ端子にはQc出力、δ端子に
は出力が入力する。従つて、カウンタCT1の
値が4〜7又は16進数C〜Fの時、γ端子入力は
「1」、δ端子入力は「0」、カウンタCT1の値が
0〜3又は8〜13の時、γ端子入力は「0」、δ
端子入力は「1」となる。これらのことから結局
カウンタCT1の値が4〜7及びFの時は4に、
また、カウンタCTの値が0〜3の時は8に夫々
CP端子に入力する次のクロツクclkの立上りでセ
ツトされる。 このカウンタCT1のQ〓出力は、ANDゲート
に入力し、エレメントクロツクelckおよびシフト
クロツクsfckの発生、停止を制御する。 シフトレジスタSR1は8ビツトのシリアル入
力パラレル出力シフトレジスタで構成されてい
る。 トライステートバツフアTBはリードストロー
ブrs0がアクテイブな期間シフトレジスタSRにシ
フトインされたデータ8ビツトをマイクロコンピ
ユータの夫々8本のデータバスD0〜D7上に出力
する。 次に、その動作を第4図bのタイムチヤートを
参照して説明する。 μ−COMからリードストローブrso(負パルス)
が出力されると、このパルスは後述する信号線
rsoを介して画情報入力部のトライステートバ
ツフアTBのG端子に入力し、シフトレジスタSR
1の内容をパラレルに8本のデータバスD0〜D7
上に出力する。同時にカウンタCT1のR端子に
も入力し、リードストローブrsoの立下りでカウ
ンタCT1をリセツトする。 データバス上に出力されたパラレル画素データ
はμ−COMのアキユームレータ内に取り込まれ
る。 ところで、このときのリードストローブrsoの
発生タイミングは自由であり、そのパルス幅も任
意でよい。また、クロツクclkの周期は、μ−
COMがリードストローブrsoを出力することによ
り画素データを取り込んでから、次の画素データ
を取り込むためにリードストローブrsoを出力す
る間に、少なくとも9クロツク発生しないとシフ
トレジスタSR1内に8ビツトの画素データが満
されないので正常な動作が行われなくなるが、そ
の間9クロツク以上発生すれば、その周期は任意
で良い。 カウンタCT1がリセツトされることにより、
そのQ〓〜Q〓出力は「0000」となる。 この結果、L入力は「0」、α〜δ入力は
「0001」となり、次にクロツクclkがカウンタCT
1に入力したとき、その立下りでQ〓〜Q〓出力は
「0001」即ち8にセツトされる。 カウンタCT1が8にセツトされ、Q〓出力が
「1」となつてANDゲートが開かれると、AND
ゲートからクロツクが出力される。このクロツク
がエレメントクロツクelckとしてイメージセンサ
ISに入力する。これと同時にシフトクロツクsfck
としてシフトレジスタSR1にも入力する。 イメージセンサISは、例えば、CCDで構成さ
れ、エレメントクロツクelckの入力に同期して、
ビデオ信号をシリアルに出力する。このビデオ信
号は、前述した通り増幅器A、2値化回路Bを経
て、画素データとしてシフトレジスタSR1に加
わり、そこに入力するシフトクロツクsfckに同期
して1ビツトずつ入力する。 Q〓出力が「1」となつたことにより、L入力
が「1」となり、以后カウンタCT1はクロツク
clkに同期してその値を1つずつインクリメント
していく。 更にクロツクclkが7個入力して、カウンタCT
1の値がF即ち「1111」となつたとき、C0出力
が「1」で、L入力は再び「0」となる。また、
このときα〜δ入力は「0010」となる。従つて、
次のクロツクCLKが入力すると、その立下りで、
カウンタCT1は4にセツトされANDゲートを閉
じる。 この間、ANDゲートからは合計8個のクロツ
クが出力され、このクロツクに基づいて、シフト
レジスタSR1には8ビツトのシリアル画素デー
タd0〜d7が入力されたことになる。 以后、カウンタCT1はクロツクclkの入力に同
期して4のセツトを繰り返す。また、シフトレジ
スタSR1は8ビツトのデータd0〜d7を保持する。 次に再びμ−COMからリードストローブws0
が出力されると、シフトレジスタSR1に保持さ
れていたデータは8本のデータバスD0〜D7上に
出力されると共に、カウンタCT1はリセツトさ
れ、再び上記一連の動作を繰り返す。 このようにして、μ−COMは主走査1ライン
分の画素データを取り込んで行く。例えばB4サ
イズの原稿から1ライン2048ビツト分の画素デー
タを取り込む場合、8ビツトずつ256回上記動作
を繰り返す。 μ−COMは取り込んだ画素データを1ライン
分ずつ後述する符号化を行つたのち、送受信情報
入出力部、モデム、網制御部を介して相手側装
置にデータを伝送する訳であるが、これらの動作
説明を行う前に、相手側装置から送られてきたデ
ータをμ−COMで復号化したのち、その受信画
を記録するための受信画出力部、受信画記録部
について説明しておく。 尚、本実施例では感熱記録方式を採用している
ため、受信画出力部及び受信画記録部の構成
も、それに適した回路構成になつているが、若干
の変更を加えるだけで種々の記録方式に適用可能
であり、その基本構成は、感熱記録方式だけに限
定されるものでないことは言う迄もない。 受信画出力部(第5図a,b参照) 受信画出力部は、第5図aに示すように、33
ビツトシフトレジスタSFR1〜SFR8、ナンド
ゲートNAND1〜NAND8、電源スイツチング
トランジスタTr1〜Tr8、モノマルチM、反転
回路Nが図のように結線されて構成されている。 各シフトレジスタSFR1〜SFR8の入力端子
INにはデータバスD0〜D8が接続されており、ま
た各シフトレジスタSFR1〜SFR8の出力端子
O1は、各ナンドゲートNAND1〜NAND8に、
出力端子O2〜O7は、後述する受信画記録部の
サーマルエレメントの信号入力線B1〜B256
に接続されている。 各電源スイツチングトランジスタTr1〜Tr8
の各出力端子は後述するサーマルエレメントの各
セグメント選択入力線EG1〜EG8に接続されて
いる。 次にその動作を第5図bのタイムチヤートを参
照して説明する。 受信時、マイクロコンピユータは受信データの
後述する復号化処理を行い、復号化された画素デ
ータを8ビツトずつパラレルにデータバスD0
D7上に出力する。またこのときμ−COMは各8
ビツトパラレルデータに同期してライトストロー
ブws0を信号線WS0上に出力する。 各8ビツト毎のデータはライトストローブws0
によつて各シフトレジスタSR1〜SR8に順次入
力し、書き込まれて行く。 このようにして、各シフトレジスタSFR1〜
SFR8に32ビツト分のデータ転送が完了したと
き、即ち、合計256ビツト分の画素データが受信
画出力部に転送されたときμ−COMはデータ
の転送をひとまず停止して最後にサーマルエレメ
ントの各セグメントを選択するデータをライトス
トローブws0と共に出力する。 これがデータバスD0〜D7を介して各シフトレ
ジスタSR1〜SR8の33ビツト目にシフトインさ
れる。 このセグメント選択データは各256ビツトの画
素データ毎に付加され、その結果、後述するよう
にシフトレジスタSR1〜SR8内の画素データが
更新される毎に、シフトレジスタSFR1〜SFR
8のO1出力を順番に1にしていく。 マイクロコンピユータから所定のデータが出力
され、これが受信画出力部のシフトレジスタ
SFR1〜SFR8に記憶されると続いてμ−COM
からはリードストローブrs2が出力され、これが
受信画出力部のモノマルチMに入力する。 この結果、モノマルチMからは所定時間τだけ
パワーイネーブルが発生し、ゲートNAND1〜
NAND8に入力する。一方このときゲート
NAND1〜NAND8にはシフトレジスタSFR1
〜SFR8の出力端子O1〜O8から信号線G1〜G8
介してセグメント選択データが入力しているの
で、所定のゲート、例えば1ラインの最初のセグ
メントを記録する場合には、ゲートNAND1の
出力が「0」となり、トランジスタTr1がオン
して受信画記録部のサーマルエレメントSEの
信号線EG1を電源に接続する。 受信画記録部(第6図a,b参照) 受信画記録部は第6図aに示すように感熱記
録紙の副走査送りを行うパルスモータPM、パル
スモータPMにより駆動され、記録紙を搬送する
搬送ローラR、押えローラRO、サーマルエレメ
ントSE、記録紙ロールPR、記録紙検出器SPか
ら構成されている。 サーマルエレメントSEは、第6図bに示すよ
うに、B4サイズの記録紙に記録するため、1ラ
イン分2048ビツトの発熱抵抗素子R1〜R204
8が配列されてなる。各素子は256ビツトずつ8
つのセグメン分割され、各セグメントの各素子の
一端は共通に各セグメント選択信号EG1〜EG8
に接続されている。また、各素子の他端側は各セ
グメントにおける配列順に共通のサーマルエレメ
ント入力線B1〜B256に接続されている。
尚、各素子に接続されている、ダイオードDは電
流の廻り込みを防止するために設けられているも
のである。 次にその動作を説明する。 前述したように、μ−COMから出力された最
初の1セグメント256ビツトの画素データとセグ
メント選択データが第5図aの受信画出力部に
入力し、更にライトストローグws2が入力する
と、受信画出力部から、セグメント選択信号線
EG1を介して電源電圧が、また信号線B1〜B
256を介して、画信号がサーマルエレメント
SEの各発熱抵抗素子R1〜R256に印加する。
この結果、感熱記録紙上には、最初のセグメント
の画信号が記録される。この記録時間は前述した
ようにモノマルチMの出力持続時間τにより決定
される。 1セグメント分の記録が終ると、μ−COMか
らは次のセグメントの画素データ及びセグメント
選択データが出力され、これが受信画出力部に
入力する。更にライトストローブws2が入力する
と、上述同様にして今度は発熱抵抗素子R257
〜R512が駆動され、2番目のセグメントの画
信号が記録される。 このような動作を8回繰り返すことにより、1
ライン分2048ビツトの画信号が記録紙上に記録さ
れる。 この間、μ−COMからは制御信号出力部XIに
後述するパルスモータ駆動データが出力され、そ
れに基づいて、パルスモータPMが回転し、記録
の副走査が行われる。 また、μ−COMは定期的に検出器SPの状態を
チエツクし、もし記録紙がなくなつた場合にはし
かるべき処置を取る。 先にも述べた通り、本実施例におけるμ−
COMはマイクロプロセツシングユニツト部、
タイミング発生部、制御プログラム記憶部、
情報記憶部から構成されている。以下、これら
の構成を順に説明していく。 マイクロプロセツシングユニツト部(第7図参
照) マイクロプロセツシングユニツト部(以下これ
をCPUと云う)は、第7図に示すように、本実
施例ではインテル社の8085CPUを用いて構成し
ている。 この8085CPUには、アドレス及びデータを出
力するための16個の端子があり、その16個の端子
上に、第1のタイミングでは上位8ビツト、下位
8ビツト計16ビツトのアドレス信号a0〜a15、ま
た、第2のタイミングでは上位8ビツトのアドレ
ス信号a8〜a15及び8ビツトのデータ信号d0〜d7
が出力されるように構成されている。従つて、第
2のタイミングで8ビツトのデータ信号d0〜d7
出力されたとき、上位、下位16ビツトのアドレス
信号a0〜a7を出力するため、第1のタイミングで
出力された下位8ビツトのアドレス信号a0〜a7
ラツチしておく必要がある。このため、ラツチ回
路RCH1を設け、下位8ビツトのアドレス信号
a0〜a7およびタイミング的にずれて8ビツトのデ
ータ信号d0〜d7が出力される8085CPU8個の出力
端子を、そのラツチ回路RCH1に接続している。 即ち、8085CPUからは、第1のタイミングで
アドレス信号a0〜a7が出力されるとき、それと同
期してale信号も出力される。従つて、そのale信
号をラツチストローブとして、ラツチ回路RCH
1に入力することにより、上記下位8ビツトのア
ドレス信号a0〜a7のラツチを行う。 ところで、8085CPUに信号を入出力するため
の端子の数は極く限られている。しかし、フアク
シミリ装置の構成を簡単にし、しかも装置を都合
良く作動させるためには、もつと多くの信号線を
cpuとメモリ、入出力装置間に設け、より多くの
信号を入出力する必要がある。 このため、本実施例ではデコーダDCD1〜
DCD3を設け、その信号線の数を増している。 即ち、デコーダDCD1には、上位アドレスの
14ビツト目から16ビツト目(a13〜a15)の3ビツ
トを入力することにより8本、デコーダDCD2
には、下位アドレスの5ビツト目から8ビツト目
(a4〜a7)の4ビツトを入力することにより16本、
デコーダDCD3には下位アドレスの2ビツト目
から4ビツト目(a1〜a3)の3ビツト入力するこ
とにより8本信号線を増している。しかし、本実
施例の場合、それらの信号線を全部使用する必要
もないので、デコーダDCD1ではそのうちの2
本、デコーダDCD2ではそのうちの6本のみを
使用している。 8085CPUからは、アドレス信号、データ信号
等をCPU内に取り込む入力モードのとき信号
が、また出力モードのとき信号が出力されるの
で、これらの信号をゲートGを介してデコーダ
DCD1およびDCD2に入力するように構成して
いる。また8085CPUからはデータバス上にメモ
リデータを出力するか、入出力装置のデータを出
力するかを弁別するio/信号も出力されるの
で、この信号もデコーダDCD1(のNOT端子)
およびDCD2に入力している。 この結果、データバス上にメモリデータを出力
する際には、デコーダDCD1が選択されて、そ
のときそこに入力するアドレス信号a13〜a15に応
じたメモセレクト信号線MS4あるいはMS0の
いずれかに信号ms4あるいはms0が出力される。
また、データバス上に入出力装置のデータを出力
する際には、デコーダDCD2が選択されて、そ
のときそこに入力するアドレス信号a4〜a7に応じ
たIOセレクト線IOS0〜IOS4およびIOS7のい
ずれかに信号ios0〜ios4あるいはios7が出力され
る。このうちIOセレクト線IOS4に信号ios4が出
力されたときは、更にデコーダDCD3が選択さ
れ、そのとき、そこに入力するアドレス信号a1
a3に応じて信号線RS0〜RS2および信号線WS
0〜WS4のいずれかにリードストローブ信号rs0
〜rs2あるいはライトストローブ信号ws0〜ws4
出力される。 また、8085CPUには、信号線INTが接続され、
後述する各割込信号inta〜intdを受け付けるよう
になつている。 本実施例のCPUは以上のように構成されて
おり、従つて、そこには8本の上位アドレスバス
A8〜A15、データバスD0〜D7、ライトストロー
ブ信号線WS、8本の下位アドレスバスA0〜A7
2本のメモリセレクト信号線MS4,MS0、5
本のIOセレクト信号線IOS7,IOS0〜IOS3、
3本のリードストローブ信号線RS0〜RS2、5
本のライトストローブ信号線WS0〜WS4およ
び割込要求信号線INTが接続されている。勿論
これはあくまでも本発明の一実施例に過ぎず、使
用するマイクロプロセツサが異なれば、その回路
構成も自ずと異なつて来ることは言う迄もない。 上記各信号線のうち、例えばリードストローブ
信号線RS0は既に説明した第4図aの画情報入
力部に、ライトストローブ信号線WS0,WS
2は第5図aの受信画出力部に接続されてお
り、また、その他のバス、信号線も以下に説明す
る各部に接続される。 タイミング信号発生部(第8図参照) タイミング信号発生部は、第8図に示すよう
に、水晶発振回路と、そこから得られるクロツク
を分周して出力する分周回路とから構成され、前
述した第4図aの画情報入力部に入力するクロ
ツクclk、行同期信号ss、後述するタイミング信
号s1〜s4等を発生する。 制御プログラム記憶部(第9図参照) 制御プログラム記憶部は前述した動作及び後述
する動作を行わせるための動作手順および後述す
るコード変換テーブルが記憶されている部分で、
第9図に示すように、4Kバイトのリードオン
リ・メモリ(以下ROMと云う)2個を用いて構
成される。 このROMには、13本のアドレスバスA0〜A12
メモリセレクト信号線MS0およびデータバスD0
〜D7が接続されている。 従つて、前述したように、CPUから信号線MS
0上にメモリセレクト信号ms0が出力されたと
き、データバスD0〜D7にメモリデータの出力が
可能となり、CPUから出力されるアドレスバス
A12上のアドレス信号a12によつてROMあるい
はROMが選択され、且つ、アドレスバスA0
A11上のアドレス信号12ビツトa0〜a11によつて所
定のアドレス内のメモリデータ8ビツトd0〜d7
データバスD0〜D7上に出力される。 情報記憶部(第10図参照) 情報記憶部はCPUが所定のプログラムを実行
する際、実行中に必要となるデータを一時記憶す
る部分で、1K×4ビツトのランダム・アクセ
ス・メモリ(以下RAMと云う)2個を用いて構
成される。 このRAMには10本のアドレスバスA0〜A9、メ
モリセレクト信号線MS4、ライトストローブ信
号線WSおよびデータバスD0〜D7が接続されてい
る。更に、データバスは4本ずつ分割されてデー
タバスD0〜D3はRAMに、データバスD4〜D7
はRAMに接続されている。 従つて、CPUから出力される信号線MS4上の
メモリセレクト信号ms4によつてRAMが選択さ
れ、CPUから出力される信号線WS上のライトス
トローブ信号wsに応じて書き込みあるいは読み
出し状態にされ、且つ、バスA0〜A9上のアドレ
ス信号10ビツトa0〜a9によつてRAMおよび
RAM内の所定のアドレスが選択され、そこに
バスD0〜D7上のデータd0〜d7が4ビツトずつ分
割されて入力、あるいは、そこから4ビツトずつ
データバスD0〜D7に出力される。 送受信情報入出力部(第11図a〜c参照) 送受信情報入出力部は、送信時、μ−COMか
ら出力される8ビツト毎の符号化パラレルデータ
あるいはプロトコルに際し相手装置に送出するた
め、μ−COMから出力される8ビツト毎のパラ
レルデータをシリアルにモデムに出力する一方、
受信時、相手装置から送られてくるシリアルデー
タをμ−COMに入力するため8ビツト毎のパラ
レルデータに変換して出力する部分で、ラツチ回
路RCH2〜RCH4、シフトレジスタSR2、8
進カウンタCT2、フリツプフロツプFF、ゲート
回路GT2〜GT6から構成されている。 ラツチ回路RCH2には、8本のデータバスD0
〜D7およびライトストローブ信号線WS1が接続
されており、CPUから信号線WS1上にライトス
トローブが出力されたとき、データバスD0〜D7
上のデータd0〜d7をラツチし、シフトレジスタ
SR2の8個の入力端子P0〜P7に出力する。 シフトレジスタSR2には、モデムから出力さ
れる受信データrxdを受け入れるための信号線
RXD、モデムから出力される転送クロツクclkm
を受け入れるための信号線CLKMおよびゲート
GT3から出力されるパラレルロード信号p1を入
力する信号線が接続されている。また、そのパラ
レルデータ出力端子Q7からはモデムに、送信デ
ータtxdを出力するための信号線TXDが接続され
ており、送信時パラレルロード信号p1が入力さ
れたとき、転送クロツクclkmの立上りでラツチ
回路RCH2のデータd0〜d7をシフトレジスタSR
2内に取り込むと同時に、転送クロツクに同期し
てQ7端子からモデムに、シリアルにそのデータ
を出力する。 ラツチ回路RCH3は、トライステート出力付
ラツチ回路で構成されており、そこにはリードス
トローブ信号線RS1、データバスD0〜D7および
ゲートGT2から出力されるラツチストローブrcを
入力する信号線が接続されており、受信時、ラツ
チストローブrcが入力したときその立上りでシフ
トレジスタSR2に入力した8ビツトのデータd0
〜d7をラツチ回路RCH3に取り込み、リードス
トローブrs1が入力したとき、そのデータd0〜d7
をデータバスD0〜D7上に出力する。 ラツチ回路RCH4はライトストローブws2の入
力に応じて、そのときCPUからデータバスD0
D1上に出力される信号d0,d1をセツトし、夫夫
ゲートGT3,GT4に出力する。 カウンタCT2は転送クロツクclkmを8個計数
する毎にキヤリcをゲートGT2,GT3および
フリツプフロツプFFに出力する。フリツプフロ
ツプFFはカウンタCT2がキヤリCを発生したと
き、次の転送クロツクclkmの立上りでセツトさ
れ、後述する割込要求信号intcあるいはintgを発
生させるための信号を発生する。ゲートGT4は
ラツチ回路RCH4が割込許可信号iを発生して
いるとき、信号rの発生に基づき、割込要求intc
あるいはintgをCPUに出力する。 CPUには1本の信号線INTを介して他の入出
力装置からも割込要求信号が入力するので、それ
らの割込要因と区別するためにゲートGT6が設
けられている。即ち、CPUは周期的にリードス
トローブrs2を発生し、信号rをデータバスD0
らCPUに取り込むことにより、そのとき発生す
る割込要求が、送受信情報入出力部からの割込
要求であることを弁別している。従つて、各割込
要求に対して各信号線を用意した場合にはこのゲ
ートGT6は不要となる。 次に、その動作を送信モードおよび受信モード
の場合について夫々第11図bおよび第11図c
のタイムチヤートを参照して説明する。 〔送信モード〕 送信時、第11図bに示すように、CPUから
データバスD0,D1上に出力される信号d0,d1
ライトストローブws2により、ラツチ回路RCH4
にラツチされる。この結果、ラツチ回路RCH4
からは送信モード信号tx/=論理「1」およ
び割込許可信号i=論理「1」が出力される。 カウンタCT2は転送クロツクclkmを8個計数
し、その値が7になつたとき、キヤリcを発生す
る。 このキヤリcの発生により、フリツプフロツプ
FFは次の転送クロツクclkmの立上りでセツトさ
れ、信号rをアンドゲートGT4に出力する。従
つて、ゲートGT4からCPUには割り込要求intc
が出力される。またこのキヤリcは、ゲートGT
3からパラレルロード信号p1としてシフトレジ
スタSR2に入力する。 シフトレジスタSR2はパラレルロード信号p
1の入力により、次の転送クロツクclkmの立上
りでラツチ回路RCH2のデータd0〜d7を取り込
む。このデータd0〜d7は転送クロツクclkmによ
り、シフトされ、Q7端子からシリアルに1ビツ
トずつモデムに出力される。 CPUはゲートGT4から出力される割込要求信
号intcを受け付けると、次の8ビツトのデータd0
〜d7をデータD0〜D7上に出力すると共に信号線
WS1上にライトストローブws1を出力する。 この結果、ラツチ回路RCH2はライトストロ
ーブws1の立上りでデータd0〜d7をラツチする。
これを同時に、フリツプフロツプFFはリセツト
される。 転送クロツクclkmが8個入力したとき、シフ
トレジスタSR2内のデータd0〜d7は、全てモデ
ムに出力されると共に、再びカウンタCT2から
のキヤリcによりパラレルロード信号p1が発生
し、ラツチ回路RCH2のデータをシフトレジス
タSR2に取り込むと同時に、前述同様1ビツト
ずつモデムに出力する。 このようにして送受信情報入出力部は、
CPUから出力される8ビツト毎のパラレルデー
タをシリアルデータに変換して連続的にモデムに
出力する。 ところでCPUは割込要求信号intcを受け入れて
から、カウンタCT2が次のキヤリcを出力する
までに、データバスD0〜D7上に8ビツトのデー
タおよびライトストローブws1を出力すれば良い
訳であるが、もし、CPUの処理速度が非常に速
く、割込要求信号intcを受け入れてから転送クロ
ツクclkm1ビツト以内にデータd0〜d7、およびラ
イトストローブws1を出力することができれば、
ラツチ回路RCH2を省略することができる。従
つて、この例は転送クロツクclkmが極めて速い
場合あるいはCRUの処理速度が非常に遅い場合
に有効である。 〔受信モード〕 受信時には、第11図cに示すように、CPU
から出力される信号d0,d1およびライトストロー
ブws2により、ラツチ回路RCH4は受信モード信
号tx/=論理「0」および割込許可信号i=
論理「1」を出力する。 カウンタCT2は前述同様転送クロツクclkmを
8個計数し、計数値が7になつたときキヤリcを
出力する。 このキヤリcはゲートGT2およびフリツプフ
ロツプFFに入力する。 従つて、ゲートGT2からは、図示タイミング
で、ラツチストローブrcが発生し、その立上り
で、そのときシフトレジスタSR2にシフトイン
されたデータをラツチ回路RCH3にラツチする。 シフトレジスタSR2には転送クロツクclkmに
同期して常時モデムからデータが連続的に1ビツ
トずつ入力している。 従つて、シフトレジスタSR2内のデータがラ
ツチ回路RCH3にラツチされた後、シフトレジ
スタSR2には転送クロツクclkmに同期して次の
データd0〜d7が順次シフトインされる。 シフトレジスタSR2にデータd7がシフトイン
され、その出力端子Q0〜Q7にデータd0〜d7が現
われるタイミングで、カウンタCT2からキヤリ
cが出力する。これによりゲートGT2はラツチ
ストローブ信号rcを発生し、そのデータd0〜d7
ラツチ回路RCH3にラツチする。また、このと
きフリツプフロツプFFがセツトされ、割込要求
信号intgをCPUに出力する。 CPUはこの割込要求信号intgを受けて、再びリ
ードストローブrs1を出力し、ラツチ回路RCH3
から出力されるデータd0〜d7を取り込む。 このようにして、送受信情報入出力部では、
モデムから出力されるシリアルデータを8ビツト
毎のパラレルデータに変換してCPUに出力する。 このとき発生するリードストローブrs1も送信
モードにおけるライトストローブws1と同様、次
のラツチストローブrcが発生するまでの期間内で
あればどこで発生しても良い。 以上は、2個のラツチ回路RH2およびRH3
を設けて、送受信情報入出力部を構成した例に
ついて示したが、このラツチ回路RH2および
RH3は必ずしも設けなくとも良い。 即ち、データバスD0〜D7を直接シフトレジス
タSR2のP0〜P7端子およびQ0〜Q7端子に接続
し、且つ、送信モードにおいては割込要求信号
intcを受け付けてから転送クロツクclkm1ビツト
以内にデータd0〜d7およびライトストローブws1
を出力し、受信モードにおいては割込要求信号
intgを受け付けてから転送クロツクclkm1ビツト
以内にハードストローブを出してデータd0〜d7
取り込むようにCPUを構成する。 このように構成すれば、ラツチ回路RH2およ
びRH3を介することなく、CPUから直接シフト
レジスタにデータd0〜d7の受授が行われ、前述同
様にして、CPUから出力される8ビツト毎のパ
ラレル符号化データはシフトレジスタSR2でシ
リアルに変換されて1ビツトずつモデムに出力さ
れ、また、モデムより1ビツトずつ入力するシリ
アル符号化データはシフトレジスタSR2で8ビ
ツト毎のパラレルに変換されてCPU内に取り込
むことができる。 制御信号入力部(第12図参照) 制御信号入力部は、原稿読取部、受信画記録
部、モデム、網制御部、操作表示部等の入出力
装置から出力される検出信号あるいは状態信号等
の信号をCPUに取り込む部分で、マルチプレク
サMLPで構成されており、CPUとはデータバス
D0,D1、アドレスバスA0,A1、信号線IOS7を
介して接続されている。 CPUからは定期的に入出力セレクト信号ios7
よびアドレス信号a0,a1が出力され、それらの信
号に基づいて選択されるマルチプレクサMLP端
子に入力している信号をデータバスD0あるいは
D1上に出力する。 制御信号出力部XI(第13図参照) 制御信号出力部は、原稿読取部あるいは受信
画記録部の副走査用パルスモータに相励磁信号
を出力するためのラツチ回路RCH5,RCH6
と、原稿読取部、受信画記録部、モデム、網
制御部、操作表示部等の入出力装置に操作信号あ
るいは表示信号等を出力するためのアドレサブル
ラツチ回路ARCHとから構成されており、CPU
とはアドレスバスA0〜A4,A6、信号線WS3
WS4,IOSOを介して接続されている。 CPUからライトストローブ信号ws3が出力され
たとき、ラツチ回路RCH5はアドレスバス上の
信号a0,a2,a4,a6をラツチし、その信号を原稿
読取部に出力して後述するようにパルスモータ
の相励磁を行う。また、CPUからライトストロ
ーブ信号ws4が出力されたときは、ラツチ回路
RCH6がそのときアドレスバス上に出力されて
いる信号a0,a2,a4,a6をラツチし、受信画記録
部のパルスモータの相励磁を行う。 CPUから入出力セレクト信号ios0が出力された
とき、アドレサブルラツチARCHはアドレスバ
スA0上の信号a0をラツチし、アドレスバス上の
信号a1〜a3に基づいて選択される出力端子から所
定の入出力装置にそのラツチ信号a0を出力する。 本実施例のフアクシミリ装置は大略以上のよう
に構成され、送信モードにおいては第14図の包
括動作フローで示す処理が、また、受信モードに
おいては第15図の包括動作フローで示す処理が
CPUにより実行される。 次に、その処理の詳細を送信モードおよび受信
モードの場合について以下説明する。 送信モード CPUが第14図に示した処理を実行するため
には、以下に述べる仕事A〜Eの時間割振りを考
慮する必要がある。このため、CPUは各割込要
求に応じて各仕事A〜Eを時分割で実行してい
る。 即ち、送信時CPUには、前述した送受信情報
入出力部から発生する割込要求信号intcの他に
タイミング信号発生部から発生する同期信号s1
による割込要求信号inta、同期信号s2による割込
要求信号intb、同期信号s3による割込要求信号
intdが信号線INTを介して入力する。その割込要
求信号inta〜intdに応じて仕事A〜Dを行うとき
の優先順位はA>B>C>Dの順であり、常時は
仕事Eを実行している。 以下、CPUが行う仕事A〜Eの概略を第16
図の画データ処理経路図を参照して説明する。 〔仕事A〕 intaによる割込要求がかかると、CPUは仕事A
を実行する。 その仕事内容は、情報記憶部RAMの後述す
る画データを記憶するラインバツフアエリア
(LBFエリア)Iあるいはが空状態であること
を表わすメモリ空フラグMEFあるいはがワ
ーキングエリア(WKエリア)にセツトされてい
れば、そのフラグMEFあるいはをリセツト
すると共にデータ取込フラグDRFあるいは
をセツトする。また、メモリ空フラグMEFあ
るいはがリセツトされていればデータ取込フラ
グDRFIあるいはをリセツトすることである。 このデータ取込フラグDRFあるいはは以
下に述べる仕事B、Dを行う際に参照される。 〔仕事B〕 intbによる割込要求がかかると、CPUは、上記
データ取込フラグDRFあるいはがセツトさ
れていた場合にのみ、その割込要求を受け付け、
原稿読取部の副走査用パルスモータを1ステツ
プ進める仕事Bを実行する。 但し、副走査線密度によつて、その仕事を行う
タイミングが多少異なり、副走査線密度7.7本/
mmの場合は、フラグDRFがセツトされていると
き、intbの1つ置きに割込要求を受け付け、1ラ
イン8ステツプの副走査を行う。副走査線密度
3.85本/mmの場合は、フラグDRFがセツトされて
いるとき、intbの発生毎に割込要求を受け付け、
1ライン16ステツプの副走査を行う。 その仕事内容の詳細については後述する。 次に、仕事Cについて説明する前に、先に仕事
DおよびEについて説明する。 〔仕事D〕 intdによる割込要求がかかると、CPUは仕事D
を実行する。 その仕事の内容は第16図に示すように、デー
タ取込フラグあるいはがセツトされている場
合に、原稿読取部で読み取られた画データを画
情報入力部から8ビツト単位でCPUを経由し
て情報記憶部RAMのラインバツフアエリア
LBFエリアあるいはに貯えることである。
但し、以上は副走査線密度7.7本/mmの場合であ
つて、副走査線密度3.85本/mmの場合はCPUは
intd′による割込要求も受け付け、intdによる割込
みによつて1ライン分のデータを取り込んだの
ち、intd′によつて更に1ライン分のデータを取
り込み、前ラインとの論理処理を行つてラインバ
ツフアエリア(LBFエリア)あるいはに貯
える。 データの取込終了後はメモリ・フル・フラグ
MFFあるいはをセツトする。 〔仕事E〕 これは通常CPUが実行している仕事で、上記
メモリ・フル・フラグMFFあるいはがセツ
トされていれば、それをリセツトし、第16図に
示すようにラインバツフアエリア(LBFエリア)
から仕事Dによつて貯えられたビツトを8データ
単位で取り込み、コード化したのち情報記憶部
の後に説明するFIFOエリアに貯える。1ライン
分のコード化処理が終了したときメモリ空フラグ
あるいはをセツトする。 〔仕事C〕 intcによる割込要求がかかると、CPUは仕事C
を実行する。 その仕事内容はFIFOエリアに貯えられたコー
ド化データ8ビツトずつ順次送受信情報入出力部
に出力することである。 第17図は、副走査線密度3.85本/mmの場合に
おける各仕事A〜Eのタイムチヤートの一例を示
したもので、CPUがラインバツフアエリア
(LBFエリア)から8ビツトずつデータを取り込
み、コード化を行う仕事Eを実行している間に同
期信号s1およびs3に基づく割込要求intaおよび
intbがかかると、先ずデータ取込フラグDRF
あるいはをセツトあるいはリセツトする仕事A
を実行し、そのあと原稿副走査用パルスモータを
1ステツプ進める仕事Bを実行し、仕事A、B完
了後再び仕事Eに戻る。その間、送受信情報入出
力部ではコード化データをシリアルにモデムに
出力しており前述したように8ビツトのデータを
モデムに出力する毎に割込要求信号intcを発生す
る。 この割込要求信号intcがCPUに入力すると
CPUは仕事Eを中断してFIFOエリアのコード化
8ビツトデータを送受信情報入出力部にセツトす
る仕事Cを実行し、再び仕事Eに戻る。 同期信号s2に基づく割込要求信号intdがかかる
と、原稿読取部で読み取つた画データを8ビツ
トずつラインバツフアエリア(LBFエリア)に
貯える仕事Dを実行し、1ライン分の画データを
全てラインバツフアエリア(LBFエリア)に貯
えるまで仕事Eを中断する。 勿論、この間もコード化データを送受信情報入
出力部に出力する仕事Cは絶えまなく実行され
ており、従つて、モデムにはデータが途切れるこ
となく出力される。 即ち、FIFOエリア容量はコード化処理スピー
ド、スキヤナスピード、モデムレイトにより決ま
り、データをモデムに途切れることなく送出する
ため最小伝送時間を維持するに必要なビツト数以
上にとつてあり、本実施例の場合多少の余有をも
たせて256ビツトにしている。 仕事Dがひと先ず完了すると、CPUは再び仕
事Eに戻る。次に同期信号s2bに基づく割込要求
intdがかかると、原稿読取部で読み取つた画デ
ータをラインバツフアエリア(LBFエリア)に
貯える際、先に貯えた画データも同時にとり出
し、その論理和を取りラインバツフアエリア
(LBFエリア)に貯えている仕事Dを行う。 次に、以上に説明した仕事の更に詳細な動作手
順を第18図以下に説明する。 第18図aは、原稿読取部の副走査用パルス
モータを1ステツプ進める仕事Bの処理手順を示
したものである。 この仕事Bは前述した通り、ラインバツフアエ
リア(LBFエリア)にデータの取り込みが可能
になつたとき、一定周期で発生する同期信号s2
基づいて行われる。 CPUが割込要求信号intbを受け付けるとそれま
で実行していた仕事DあるいはEを中断し、それ
までにCPU内の各カウンタ、レジスタ等に入つ
ていたデータをRAMのワーキングエリア(WK
エリア)に退避させる。 次に、パルスモータ励磁パータンをワーキング
エリア(WKエリア)からCPU内にもつてきてセ
ツトする。 本実施例の場合、パルスモータの相励磁は1−
2相励磁方式を採用しており、前述第13図の制
御信号出力部XIで説明した通り、アドレス信号
a0,a2,a4,a6をパルスモータの相励磁信号とし
て用いている。 従つて、システムスタート時にはパルスモータ
相励磁パターン、例えば「11100000」をワーキン
グエリア(WKエリア)にセツトしておき、この
仕事Bを実行する毎にそのパターンをCPU内に
取り込み、1ビツト循環したのち、アドレスバス
A0,A2,A4,A6を介して制御信号出力部XIに出
力すると共にそのパターンを再びワーキングエリ
ア(WKエリア)に戻す。 この結果、第18図bに示すように、仕事Bを
実行する毎に、パルスモータ相励磁パターンは1
ビツトずつ循環し、その出力a0,a2,a4,a6は第
18図cに示す如く変化し、パルスモータを1ス
テツプずつ駆動することができる。 この仕事Bを実行したあとは再び以前に行つて
いた仕事に戻る。 第19図aは仕事Dにおける原稿読取部で読
み取つた画データを画情報入力部から情報記憶
部のラインバツフアエリア(LBFエリア)に
転送するためのフローで、前述した2ラインOR
処理を行わない場合のフローチヤートである。 本実施例においてはB4サイズを対象としたの
で、1ライン2048ビツトの画素データを取り扱う
場について説明しているが、1ラインのビツト数
はこれに限定されるものではない。 2048ビツトは8ビツト/バイトなので256バイ
トで表現できる。 ラインバツフアエリア(LBFエリア)として
は、第10図で説明した1K×4ビツト2個即ち
1K×8ビツトのRAMの16384番地から16896番地
までを使用する。即ち、これをヘキサデシマルコ
ードで表現して、第19図bに示すように、ライ
ンバツフア(以下これをLBFと云う)エリア
は4000番から40FF番地、LBFエリアは4100番
地から41FF番地までを使用する。 また、FIFOエリアとしては、RAMの4200番
地から42FF番地、ワーキングエリア(以下これ
をWKエリアと云う)としては、RAMの4300番
地から43FF番地までを割当てている。 WKエリア内には各種フラグ、書込、読出時の
アドレス等がストアされ、以下のフローチヤート
を説明するに当つては、その各種初期設定が既に
なされ、WKエリアにストアされているものとし
て説明する。 第19図aのプログラムがCPUにより実行さ
れると、CPUはLBFエリアあるいはにデー
タの入力が可能か否かWKエリア内にストアされ
ているフラグを調べ、LBFエリアの1つが空に
なつてデータ入力が可能な場合には、WKエリア
内にストアされている、LBFエリアにデータを
書き込むべきアドレスをCPU内のアドレスレジ
スタADRにセツトする。 次に画情報入力部より8ビツト毎のデータを
CPUからLBFエリアのそのアドレスに転送し、
アドレスレジスタADRに1を加える。この動作
を1ラインにつき256回行うと、16ビツトのアド
レスレジスタの下位8ビツトが0になる。つまり
このときLBFエリアには1ライン分の画データ
が記憶されたことによるので、そのLBFエリア
がフル(満杯)になつたことを示すメモリフルフ
ラグMFFをWKエリアにセツトする。 副走線密度7.7本/ラインの場合は、以上のよ
うにして1ライン分の画データを所定のLBFエ
リア内に格納する。 副走査線密度3.85本/ラインの場合は第20図
a,bのプログラムに基づいて2ライン分の画デ
ータの論理和を取り1ライン分の画データとして
所定のLBFエリアに格納する。 即ち、奇数ラインの画データの場合は第20図
aのフローチヤートで示すように、前述第19図
aの場合と全く同様にして、1ライン分の画デー
タを、例えばLBFエリアに格納する。 次に、偶数ラインの画データを8ビツトずつ取
り込むときに、第20図bのフローチヤートで示
すように、先にLBFエリアに格納した奇数ラ
インの画データも8ビツトずつ取り出し、CPU
内で論理和を取り改めてLBFエリア内に入力
していくことにより、OR処理した1ライン分の
画データをLBFエリアに格納する。 次に、このようにして、LBFエリア内に格納
された画データを取り出し、ランレングスコード
化して、FIFOエリアに貯える仕事Eのフローを
第21図乃至第25図を参照して説明する。 本実施例では、ランレングスコード化をモデフ
アインドホフマン方式(Modified Huffman
Coding Method)により行つている。勿論他の
コード化方式を採用しても良いことは言う迄もな
い。 モデフアイドホフマン方式の場合には、そのコ
ードはランレングスに応じてメイクアツプコード
とターミネーシヨンコードに分かれている。 即ち、ターミネーシヨンコードは下記表1に示
すように0〜63迄のランレングスに応じたコード
であり、メイクアツプコードは表2に示すように
64の整数倍のランレングスに応じたコードであ
る。また、同期コードEOLは表3に示すように
11個の「0」と最後に「1」が付加されたコード
である。
The present invention relates to a facsimile device, and more particularly to a facsimile device using a microcomputer. Recent advances in integrated circuit technology have led to remarkable progress in microcomputers, and microcomputers that are small, have large storage capacities, and are capable of high-level arithmetic processing can now be obtained at very low prices. For this reason, microcomputers have permeated every field, and microcomputers have come to replace parts of facsimile machines that were conventionally made up of dedicated hardware. However, microcomputers currently have a limit to their arithmetic processing speed, and the hardware section that performs high-speed processing has the disadvantage that it cannot be replaced. On the other hand, since encoding processing in a facsimile device requires processing for each bit, a high processing speed is required. Therefore, in all of the facsimile machines that have been developed so far that use microcomputers, the parts that require high-speed processing are constructed with dedicated hardware, and the microcomputer is used exclusively as an auxiliary means for that hardware. However, the functions of microcomputers could not be fully utilized. For example, Figures 1a and 1b show block diagrams of conventional facsimile machines that use microcomputers. It was only used to sequence the hardware through an interface circuit. Therefore, even if a facsimile device is constructed using common items that can be used on both the transmitting and receiving sides, there are many components such as memory such as shift registers or random access memory, counters, many gate circuits, and flip-flops for timing control. A buffer device consisting of the following is required. When carrying out the protocol, delay circuits, flags, error check code generators and detectors, numerous counters, flip-flops, shift registers, A communication control device consisting of a gate circuit, etc. is required. At the time of transmission, a counter for counting run length, a flip-flop and exclusive OR circuit for detecting change points to detect run breaks, read-only memory for selecting an encoding code according to the run length, and read-only memory for selecting an encoding code according to the run length. FIFO (first-in, first-out) for temporarily storing output from memory and adjusting speed with line rate
Buffer memory, a counter for transferring the encoded code to the FIFO buffer memory, a counter for generating FILL bits for correcting the minimum transmission time when the compression rate is high, and a large number of flip-flops for controlling the clocks required at that time. A coder device consisting of a gate circuit is required. FIFO buffer memory for speed conversion of received image data input from the communication control device during reception;
To remove EOL (synchronization) codes, FILL bits, etc. from received image data, a detection circuit to detect them, a shift register and bit counter to extract the encoded code, and a run length binary value corresponding to the encoded code are installed. Read-only memory for selection, run length counter for transferring the number of bits of run length according to the run length binary value to the next stage buffer device,
A decoder device consisting of a cumulative counter for counting the number of bits for one line and detecting errors, a large number of flip-flops for controlling the necessary clocks, and a gate circuit is required. In this way, in conventional facsimile devices, only a very limited part such as the system controller is replaced with a microcomputer, and the majority of the device has to rely on random logic and hard wiring. However, the disadvantage is that the device is large and expensive. The present invention has been made in view of the above points, and it is possible to reduce the size and cost by leaving only the minimum necessary hardware such as a scanner, plotter, and modem in a facsimile device and replacing all other hardware with a microcomputer. The purpose is to provide facsimile equipment. In order to achieve this object, the present invention includes an image information input section that converts serial pixel data into parallel pixel data for each predetermined bit, and an image information input section that converts serial encoded data into parallel encoded data for each predetermined bit. The present invention is characterized in that it is provided with a transmitting/receiving information input/output section capable of transmitting and receiving information, and is configured so that a microcomputer can perform encoding and/or decoding processing in units of predetermined bits. An example of the present invention will be described below, but before that, the characteristic points of this example will be listed. That is, its characteristic points are as follows. (1) After the reading device reads the calligraphic information, a microcomputer performs everything from counting the run length to encoding and forming the data transmission format. (2) The received data is transferred to the microcomputer via the bus, and the subsequent steps from decoding the received data to converting it to pixel data and transferring the data to the recording device are performed by the microcomputer. (3) A microcomputer is used to blink the document illumination light source in the reading device, stop the document scanning mechanism, and start and stop the modem and/or network control device. (4) The protocol for handshaking with the other device and the mode setting of the own device are now performed by a microcomputer. (5) The microcomputer is used to notify the other device of its own functions and/or to set the mode of the other device. (6) A microcomputer is used to detect errors in the received calligraphy data and to process the calligraphy information of the line where the error occurred. (7) Driving the recording paper conveyance device in the recording device;
The point is that the stop and recording timing are controlled by a microcomputer. (8) A microcomputer is used to blink the display lamp on the operation unit and accept operation signals. (9) All of the above operations can be performed with a single computer by allocating the time used to perform the above operations on the microcomputer. (10) When transferring data from the reading device, the data transfer is completed in a shorter time than the image integration time of the image sensor, making it possible to follow the maximum speed of the microcomputer. (11) The preprocessing of the image signal is performed on multiple bits at the same time. (12) In order to encode the image signal in a short time, the first step is to detect the change point of multiple bits at once. (13) When the above change point is subsequently detected, the detection is switched to one bit at a time. (14) During operation, chattering of the operating switch is prevented and the operating signal is reliably input to the microcomputer. In this embodiment, the interface, microprocessing unit, read-only memory, and random access memory are configured using Intel's 8212, 8085, 8316, 8101A4, etc., but the invention is of course limited to these. Needless to say, it is unnecessary. Hereinafter, embodiments of the present invention will be described in detail with reference to FIG. 2 and the subsequent drawings. FIG. 2 shows a system block diagram of the entire facsimile apparatus according to the present invention, in which is a document reading section that reads a document during transmission and outputs an image signal, and a microcomputer that encodes the image signal. In order to enable high-speed processing, this is an image information input section that converts the serial pixel data output from the document reading section into parallel pixel data of every 8 bits and inputs it to the microcomputer. 1 is a received image output section that outputs an image signal decoded by a microcomputer at the time of reception to a received image recording section, and 1 is a received image recording section that obtains a copy of an original. Microcomputer (hereinafter referred to as μ-
The COM) consists of a microprocessing unit section, a timing generation section, a control program storage section, and an information storage section, and performs tasks such as encoding and decoding image information and controlling each section, which will be described later.
When transmitting, it serially converts the parallel data encoded by μ-COM every 8 bits and outputs it to the modem, while when receiving it converts the encoded serial data input from the modem to parallel data every 8 bits. This is an input/output unit for transmitting and receiving information that is input to μ-COM. Of course, this transmission/reception information input/output section inputs and outputs necessary data when performing protocols and the like in addition to inputting and outputting image data. and XI are control signal input and output sections, which input signals from the original reading section, received image recording section, modem, network control section, and operation display section to μ-COM, while also inputting signals from the μ-COM to predetermined control signals. This is the part that outputs signals to each part. The facsimile apparatus of this embodiment is roughly constructed as described above, and next, the specific construction and operation of each of the above-mentioned parts will be explained in sequence with reference to FIG. 3 and subsequent drawings. In addition, modem, network control section,
As the operation display section, a conventionally known one may be used, and since it is not directly related to the present invention, its details will be omitted. Furthermore, in the following explanation, buses and signal lines are generally expressed in uppercase letters, and signals appearing there are expressed in lowercase letters. Original reading section (see Figure 3) The one-dot chain line in Figure 3 is the original reading section, and the PM
is a pulse motor for sub-scanning the document,
R is a document conveyance roller driven by the pulse motor PM, L1 is a light source for document detection, L2 is a light source for document illumination, and SL1 and SL2 are document detectors. The operator manually or with the document feeder,
When a document is inserted into the document receiving slot in the direction of the arrow, the document detector SL1 is activated. μ-COM regularly monitors the status of detector SL1, so when SL1 is activated, it outputs a lighting command to the document illumination light source drive circuit via the control signal output section XI, which will be described later, and lights the light source L2. Along with lighting up the
A drive signal is output to the pulse motor drive circuit to rotate the pulse motor PM. When the pulse motor PM rotates, the transport roller R
starts rotating and transports the original in the direction of the arrow. When the leading edge of the document reaches the detector SL2 position, the detector
SL2, via a control signal input section to be described later,
Inform μ-COM of this. The μ-COM temporarily stops the pulse motor PM and then switches to sub-scanning feed during the reading scan. The original image is contact glass CG, mirror M,
An image is formed on the image sensor IS via the lens l. The image sensor IS receives an element clock elck from the image information input section under the control of μ-COM.
and a row synchronizing pulse ss are input, and the video signal outputted in synchronization with the clock is serially input one bit at a time to the image information input section via an amplifier A and a binarization circuit B. Image information input section (see Fig. 4 a, b) The image information input section includes a counter CT1 and a shift register SR, as shown in the dashed line in Fig. 4 a.
1. Consists of tri-state buffer TB,
The serial pixel data output from the binarization circuit B is converted into parallel pixel data of every 8 bits, and is output onto data buses D0 to D7 , which will be described later. Generally, when converting serial pixel data into parallel data, there is a method of using two shift registers and taking out the parallel pixel data from the other while inputting the serial pixel data to one of them, but in this example, μ-COM converts the parallel pixel data. Since the clock speed is set so that the shift register is filled with the next pixel data within the data processing time, only one shift register is used as shown. Counter CT1 outputs eight element clocks elck when the read strobe rso, which will be described later and is output from μ-COM, is input, so
It consists of a synchronous 4-bit binary counter that can be preset. When the logic "1" is input to the L terminal of the counter CT1, the clock input to the CP terminal is
Counts up at the rising edge of clk. Further, when the L terminal input is logic "0", the output terminals Q〓, Q〓, Q〓, Q〓 are set to the logic input to the α, β, γ, and δ terminals. Furthermore, when "0" is input to the R terminal, it is reset asynchronously with the clock clk input. From the C0 terminal, all Q〓~Q〓 outputs are “1”, that is,
When the hexadecimal number F is reached, "1" is output. The C 0 output and the 〓 output are input to the L terminal of the counter CT1 via a NOR gate. Therefore, when the value of counter CT1 becomes 0 to 7 and 16 value number F,
The L terminal input becomes "0". Also, set terminal α,
β is always 0, Qc output is input to the γ terminal, and output is input to the δ terminal. Therefore, when the value of counter CT1 is 4 to 7 or hexadecimal number C to F, the γ terminal input is "1", the δ terminal input is "0", and when the value of counter CT1 is 0 to 3 or 8 to 13 , γ terminal input is “0”, δ
The terminal input becomes "1". From these things, when the value of counter CT1 is 4 to 7 and F, it becomes 4,
In addition, when the value of counter CT is 0 to 3, it is set to 8 respectively.
It is set at the rising edge of the next clock clk input to the CP pin. The Q〓 output of the counter CT1 is input to an AND gate to control generation and stop of the element clock elck and shift clock sfck. Shift register SR1 consists of an 8-bit serial input/parallel output shift register. The tristate buffer TB outputs the 8 bits of data shifted into the shift register SR onto each of the 8 data buses D 0 to D 7 of the microcomputer while the read strobe rs 0 is active. Next, the operation will be explained with reference to the time chart of FIG. 4b. Read strobe rso (negative pulse) from μ-COM
is output, this pulse is transmitted to the signal line described later.
Input to the G terminal of the tri-state buffer TB in the image information input section via rso, and shift register SR.
1 contents in parallel to 8 data buses D 0 to D 7
Output on top. At the same time, it is also input to the R terminal of the counter CT1, and the counter CT1 is reset at the fall of the read strobe rso. The parallel pixel data output on the data bus is taken into the μ-COM accumulator. Incidentally, the timing at which the read strobe rso is generated at this time is arbitrary, and its pulse width may also be arbitrary. Also, the period of the clock clk is μ−
If at least 9 clocks do not occur after COM captures pixel data by outputting read strobe rso and then outputs read strobe rso to capture the next pixel data, 8-bit pixel data will be stored in shift register SR1. However, as long as 9 clocks or more are generated during this period, the period may be arbitrary. By resetting counter CT1,
The output of Q〓~Q〓 is "0000". As a result, the L input becomes "0", the α to δ inputs become "0001", and then the clock clk becomes the counter CT.
When inputted to 1, the Q〓 to Q〓 outputs are set to ``0001'', that is, 8 at the falling edge. When the counter CT1 is set to 8 and the Q〓 output becomes "1" and the AND gate is opened, the AND gate is opened.
A clock is output from the gate. This clock serves as the element clock ELCK and is used as an image sensor.
Enter into IS. At the same time, shift clock sfck
It is also input to shift register SR1. The image sensor IS is composed of, for example, a CCD, and is synchronized with the input of the element clock elck.
Outputs video signals serially. As described above, this video signal passes through the amplifier A and the binarization circuit B, and is added as pixel data to the shift register SR1, where it is input one bit at a time in synchronization with the input shift clock sfck. Since the Q〓 output becomes "1", the L input becomes "1", and after that the counter CT1 is clocked.
The value is incremented one by one in synchronization with clk. Furthermore, 7 clocks clk are input, and the counter CT
When the value of 1 becomes F, that is, "1111", the C0 output becomes "1" and the L input becomes "0" again. Also,
At this time, the α to δ inputs become “0010”. Therefore,
When the next clock CLK is input, at its falling edge,
Counter CT1 is set to 4 and the AND gate is closed. During this time, a total of 8 clocks are output from the AND gate, and based on these clocks, 8-bit serial pixel data d0 to d7 are input to the shift register SR1. Thereafter, the counter CT1 repeats setting 4 in synchronization with the input of the clock clk. Further, the shift register SR1 holds 8-bit data d0 to d7 . Next, read strobe ws 0 from μ-COM again.
When this is output, the data held in the shift register SR1 is output onto the eight data buses D0 to D7 , the counter CT1 is reset, and the above series of operations is repeated again. In this way, the μ-COM takes in pixel data for one main scanning line. For example, when capturing pixel data for one line of 2048 bits from a B4 size original, the above operation is repeated 256 times for each 8 bit. μ-COM encodes the captured pixel data line by line as described below, and then transmits the data to the other party's device via the transmission/reception information input/output unit, modem, and network control unit. Before explaining the operation, we will explain the received image output section and the received image recording section for recording the received image after data sent from the other party's device is decoded by μ-COM. Since this embodiment employs a thermal recording method, the received image output section and received image recording section have circuit configurations suitable for this purpose. It goes without saying that the basic configuration is not limited to only heat-sensitive recording methods. Received image output unit (see Figure 5 a, b) The received image output unit has 33
Bit shift registers SFR1 to SFR8, NAND gates NAND1 to NAND8, power switching transistors Tr1 to Tr8, monomulti M, and inverting circuit N are connected as shown in the figure. Input terminal of each shift register SFR1 to SFR8
Data buses D 0 to D 8 are connected to IN, and the output terminals of each shift register SFR1 to SFR8
O 1 is for each NAND gate NAND1 to NAND8,
Output terminals O 2 to O 7 are signal input lines B1 to B256 of the thermal element of the received image recording section, which will be described later.
It is connected to the. Each power switching transistor Tr1 to Tr8
Each output terminal is connected to each segment selection input line EG1 to EG8 of the thermal element described later. Next, the operation will be explained with reference to the time chart of FIG. 5b. At the time of reception, the microcomputer performs decoding processing on the received data, which will be described later, and sends the decoded pixel data 8 bits at a time in parallel to the data bus D 0 -
Output on D7 . Also, at this time, μ-COM is 8 each.
Write strobe WS0 is output on signal line WS0 in synchronization with bit parallel data. Each 8-bit data is a write strobe ws 0
The data is sequentially input to each shift register SR1 to SR8 and written. In this way, each shift register SFR1~
When the data transfer of 32 bits to the SFR8 is completed, that is, when a total of 256 bits of pixel data has been transferred to the received image output section, μ-COM temporarily stops the data transfer and finally transfers the data to each thermal element. Outputs segment selection data along with write strobe ws 0 . This is shifted into the 33rd bit of each shift register SR1-SR8 via data buses D0 - D7 . This segment selection data is added to each 256-bit pixel data, and as a result, each time the pixel data in shift registers SR1 to SR8 is updated, shift registers SFR1 to SFR
Set the O 1 output of 8 to 1 in order. Predetermined data is output from the microcomputer, and this is sent to the shift register of the reception image output section.
When stored in SFR1 to SFR8, μ-COM
A read strobe RS2 is outputted from the unit, and this is input to the monomulti M of the received image output section. As a result, a power enable is generated from the monomulti M for a predetermined time τ, and gates NAND1 to
Input to NAND8. On the other hand, at this time the gate
Shift register SFR1 for NAND1 to NAND8
~Since segment selection data is input from the output terminals O1 to O8 of SFR8 via signal lines G1 to G8 , when recording a predetermined gate, for example, the first segment of one line, the gate The output of NAND1 becomes "0", transistor Tr1 is turned on, and signal line EG1 of thermal element SE of the received image recording section is connected to the power supply. Received image recording unit (see Figures 6a and b) The received image recording unit is driven by a pulse motor PM that feeds the thermal recording paper in the sub-scanning direction, as shown in Figure 6a, and a pulse motor PM that conveys the recording paper. It consists of a transport roller R, a presser roller RO, a thermal element SE, a recording paper roll PR, and a recording paper detector SP. As shown in Figure 6b, the thermal element SE has heating resistive elements R1 to R204 of 2048 bits for one line in order to record on B4 size recording paper.
8 are arranged. Each element has 256 bits and 8
It is divided into two segments, and one end of each element of each segment is connected to each segment selection signal EG1 to EG8.
It is connected to the. Further, the other end side of each element is connected to common thermal element input lines B1 to B256 in the order of arrangement in each segment.
Note that the diode D connected to each element is provided to prevent current from flowing around. Next, its operation will be explained. As mentioned above, when the first 1 segment 256-bit pixel data and segment selection data outputted from μ-COM are input to the received image output section in FIG . From the image output section, connect the segment selection signal line
The power supply voltage is supplied via EG1, and the signal lines B1 to B
256, the image signal is sent to the thermal element.
It is applied to each heating resistance element R1 to R256 of SE.
As a result, the image signal of the first segment is recorded on the thermal recording paper. This recording time is determined by the output duration τ of the monomulti M as described above. When the recording of one segment is completed, the pixel data and segment selection data of the next segment are output from μ-COM, and these are input to the received image output section. Furthermore, when the light strobe ws 2 is input, the heating resistor element R257 is activated in the same way as above.
~R512 is driven, and the image signal of the second segment is recorded. By repeating this action 8 times, 1
An image signal of 2048 bits per line is recorded on the recording paper. During this time, pulse motor drive data, which will be described later, is output from μ-COM to the control signal output section XI, and based on this, the pulse motor PM rotates to perform sub-scanning for recording. In addition, μ-COM periodically checks the status of the detector SP and takes appropriate measures if the recording paper runs out. As mentioned earlier, μ− in this example
COM is the microprocessing unit section,
Timing generation section, control program storage section,
It consists of an information storage section. Below, these configurations will be explained in order. Microprocessing unit section (see Fig. 7) The microprocessing unit section (hereinafter referred to as the CPU) is configured using Intel's 8085 CPU in this embodiment, as shown in Fig. 7. There is. This 8085CPU has 16 terminals for outputting addresses and data, and on the 16 terminals, at the first timing, a total of 16 bits of address signals a 0 to a are generated, including the upper 8 bits and the lower 8 bits. 15 , and at the second timing, the upper 8 bits of address signals a 8 to a 15 and the 8 bits of data signals d 0 to d 7
is configured so that it is output. Therefore, when the 8-bit data signals d0 to d7 are output at the second timing, the upper and lower 16-bit address signals a0 to a7 are output. It is necessary to latch the lower 8 bits of address signals a0 to a7 . For this reason, a latch circuit RCH1 is provided, and the lower 8 bits of the address signal
The eight output terminals of the 8085 CPU, which output 8-bit data signals d0 to d7 with timing shifts, are connected to the latch circuit RCH1. That is, when the 8085CPU outputs the address signals a 0 to a 7 at the first timing, the ale signal is also output in synchronization with this. Therefore, using the ale signal as a latch strobe, the latch circuit RCH
1, the lower 8 bits of address signals a0 to a7 are latched. By the way, the number of terminals for inputting and outputting signals to the 8085 CPU is extremely limited. However, in order to simplify the configuration of a facsimile device and operate it conveniently, it is necessary to use many signal lines.
It is necessary to provide more signals between the CPU, memory, and input/output devices. Therefore, in this embodiment, the decoders DCD1 to
DCD3 is installed to increase the number of signal lines. That is, decoder DCD1 has the upper address
By inputting the 3 bits from the 14th bit to the 16th bit (a 13 to a 15 ), 8 decoder DCD2
By inputting the 4 bits from the 5th bit to the 8th bit (a 4 to a 7 ) of the lower address, 16 lines can be created.
The number of signal lines is increased to eight by inputting three bits from the second bit to the fourth bit ( a1 to a3 ) of the lower address to the decoder DCD3. However, in the case of this embodiment, since there is no need to use all of these signal lines, the decoder DCD1 uses only two of them.
The present decoder DCD2 uses only six of them. The 8085CPU outputs signals when it is in the input mode to capture address signals, data signals, etc. into the CPU, and outputs signals when it is in the output mode, so these signals are sent to the decoder via gate G.
It is configured to be input to DCD1 and DCD2. The 8085CPU also outputs the io/signal that determines whether to output memory data on the data bus or data from the input/output device, so this signal is also connected to the NOT terminal of decoder DCD1 (NOT terminal).
and is input to DCD2. As a result, when outputting memory data onto the data bus, the decoder DCD1 is selected and the memory select signal line MS4 or MS0 is selected according to the address signals a13 to a15 input thereto. The signal ms 4 or ms 0 is output.
Also, when outputting the data of the input/output device onto the data bus, the decoder DCD2 is selected and the IO select lines IOS0 to IOS4 and IOS7 are activated according to the address signals a4 to a7 input there at that time. Signals iOS 0 to iOS 4 or iOS 7 are output to either. Of these, when the signal ios 4 is output to the IO select line IOS4, the decoder DCD3 is further selected, and at that time, the address signal a 1 to input there
a Signal lines RS0 to RS2 and signal lines WS according to 3
Read strobe signal rs to any of 0 to WS4 0
~ rs2 or write strobe signals ws0 ~ ws4 are output. In addition, the signal line INT is connected to the 8085CPU,
Each interrupt signal inta to intd, which will be described later, is accepted. The CPU of this embodiment is configured as described above, and therefore has eight upper address buses.
A8 to A15 , data buses D0 to D7 , write strobe signal lines WS, eight lower address buses A0 to A7 ,
Two memory select signal lines MS4, MS0, 5
Main IO select signal line IOS7, IOS0 ~ IOS3,
Three lead strobe signal lines RS0 to RS2, 5
The write strobe signal lines WS0 to WS4 and the interrupt request signal line INT are connected. Of course, this is just one embodiment of the present invention, and it goes without saying that if the microprocessor used is different, the circuit configuration will also be different. Among the above signal lines, for example, the read strobe signal line RS0 is connected to the write strobe signal lines WS0 and WS to the image information input section of FIG.
2 is connected to the received image output section of FIG. 5a, and other buses and signal lines are also connected to each section described below. Timing Signal Generation Unit (See Figure 8) The timing signal generation unit, as shown in Figure 8, is composed of a crystal oscillation circuit and a frequency division circuit that divides and outputs the clock obtained from the crystal oscillation circuit. It generates a clock clk, a row synchronization signal ss, timing signals s 1 to s 4 to be described later, etc., which are input to the image information input section of FIG. 4a. Control program storage section (see Figure 9) The control program storage section is a section in which the operation procedures for performing the operations described above and the operations described later, and the code conversion table described below are stored.
As shown in FIG. 9, it is configured using two 4K byte read-only memories (hereinafter referred to as ROM). This ROM has 13 address buses A0 to A12 ,
Memory select signal line MS0 and data bus D 0
~ D7 is connected. Therefore, as mentioned above, the signal line MS from the CPU
When the memory select signal ms0 is output on the data bus D0 to D7, memory data can be output to the data bus D0 to D7 , and the address bus output from the CPU
ROM or ROM is selected by the address signal a12 on A12 , and the address bus A0 ~
8 bits of memory data d0 to d7 within a predetermined address are output onto data buses D0 to D7 by the 12 bits of address signal a0 to a11 on A11 . Information storage unit (see Figure 10) The information storage unit is a part that temporarily stores data required during execution when the CPU executes a predetermined program, and is a 1K x 4-bit random access memory (hereinafter referred to as RAM). It is constructed using two pieces. Ten address buses A0 to A9 , a memory select signal line MS4, a write strobe signal line WS, and data buses D0 to D7 are connected to this RAM. Furthermore, the data bus is divided into four lines, data buses D 0 to D 3 are used for RAM, and data buses D 4 to D 7 are used for RAM.
is connected to RAM. Therefore, the RAM is selected by the memory select signal ms4 on the signal line MS4 outputted from the CPU, and put into a write or read state according to the write strobe signal ws outputted from the CPU on the signal line WS, In addition , the RAM and
A predetermined address in the RAM is selected, and the data d 0 - d 7 on buses D 0 - D 7 are divided into 4-bit units and input thereto, or from there, 4-bit units are sent to data buses D 0 - D 7. Output. Transmission/reception information input/output section (see Figures 11 a to c) The transmission/reception information input/output section transmits encoded parallel data every 8 bits or protocol output from μ-COM to the other device during transmission. - While outputting the parallel data of every 8 bits output from COM to the modem serially,
During reception, this is the part that converts the serial data sent from the other device into parallel data of 8 bits and outputs it in order to input it to μ-COM, and uses latch circuits RCH2 to RCH4 and shift registers SR2 and SR8.
It consists of a forward counter CT2, a flip-flop FF, and gate circuits GT2 to GT6. The latch circuit RCH2 has eight data buses D 0
~ D7 and write strobe signal line WS1 are connected, and when a write strobe is output from the CPU onto signal line WS1, data bus D0 ~ D7
Latch the above data d 0 to d 7 and shift register
Output to eight input terminals P 0 to P 7 of SR2. Shift register SR2 has a signal line for receiving received data RXD output from the modem.
RXD, transfer clock clkm output from modem
Signal line CLKM and gate to accept
A signal line for inputting the parallel load signal p1 output from GT 3 is connected. In addition, a signal line TXD for outputting transmission data txd is connected to the modem from the parallel data output terminal Q7 , and when the parallel load signal p1 is input during transmission, it is latched at the rising edge of the transfer clock clkm. Shift the data d 0 to d 7 of circuit RCH2 to shift register SR
At the same time, the data is serially output from the Q7 terminal to the modem in synchronization with the transfer clock. The latch circuit RCH3 is composed of a latch circuit with a tri-state output, and includes a read strobe signal line RS1, data buses D0 to D7 , and a signal line for inputting the latch strobe rc output from the gate GT2 . During reception, when the latch strobe rc is input, the 8-bit data d 0 input to the shift register SR2 at the rising edge of the latch strobe rc is connected.
~d 7 is taken into the latch circuit RCH3, and when read strobe rs 1 is input, the data d 0 ~ d 7
is output on data buses D0 to D7 . The latch circuit RCH4 responds to the input of the write strobe ws 2 , and then outputs data from the CPU to the data bus D 0 ,
Signals d 0 and d 1 output on D 1 are set and output to husband gates GT 3 and GT 4 . Counter CT2 outputs a signal c to gates GT2, GT3 and flip-flop FF every time it counts eight transfer clocks clkm. Flip-flop FF is set at the next rising edge of transfer clock clkm when counter CT2 generates carry C, and generates a signal for generating interrupt request signal intc or intg, which will be described later. When the latch circuit RCH4 is generating the interrupt enable signal i, the gate GT4 issues an interrupt request intc based on the generation of the signal r.
Or output intg to CPU. Since interrupt request signals are also input to the CPU from other input/output devices via one signal line INT, a gate GT6 is provided to distinguish them from those interrupt causes. That is, the CPU periodically generates a read strobe rs2 and takes in the signal r from the data bus D0 to the CPU, so that the interrupt request generated at that time is an interrupt request from the transmission/reception information input/output section. Discriminating between things. Therefore, if each signal line is prepared for each interrupt request, this gate GT6 becomes unnecessary. Next, the operation is shown in FIGS. 11b and 11c for the transmission mode and reception mode, respectively.
This will be explained with reference to the time chart. [Transmission mode] During transmission, as shown in FIG. 11b, the signals d 0 and d 1 output from the CPU onto the data buses D 0 and D 1 are sent to the latch circuit RCH4 by the write strobe ws 2 .
is latched to. As a result, the latch circuit RCH4
A transmission mode signal tx/=logic "1" and an interrupt permission signal i=logic "1" are output from. Counter CT2 counts 8 transfer clocks clkm, and when the value reaches 7, generates a signal c. Due to the occurrence of this carrier c, the flip-flop
FF is set at the next rise of transfer clock clkm and outputs signal r to AND gate GT4. Therefore, an interrupt request intc is sent from gate GT4 to the CPU.
is output. Also, this Kyari c is Gate GT
3 to the shift register SR2 as a parallel load signal p1. Shift register SR2 receives parallel load signal p
1 input, the data d 0 to d 7 of the latch circuit RCH2 are taken in at the next rising edge of the transfer clock clkm. This data d0 to d7 is shifted by the transfer clock clkm and serially outputted bit by bit from the Q7 terminal to the modem. When the CPU receives the interrupt request signal intc output from gate GT4, the next 8-bit data d 0
Output ~d 7 on data D 0 ~ D 7 and connect signal line
Output light strobe ws 1 on WS1. As a result, the latch circuit RCH2 latches the data d0 to d7 at the rising edge of the write strobe ws1 .
At the same time, the flip-flop FF is reset. When 8 transfer clocks clkm are input, all data d 0 to d 7 in shift register SR2 are output to the modem, and parallel load signal p1 is generated again by the signal c from counter CT2, and latch circuit RCH2 is output. The data is taken into the shift register SR2, and at the same time, it is outputted to the modem one bit at a time, as described above. In this way, the transmission/reception information input/output section
Converts 8-bit parallel data output from the CPU into serial data and continuously outputs it to the modem. By the way, the CPU only has to output 8-bit data and the write strobe ws1 on the data buses D0 to D7 after accepting the interrupt request signal intc and before the counter CT2 outputs the next signal c. However, if the processing speed of the CPU is very fast and it is possible to output data d 0 to d 7 and write strobe ws 1 within 1 bit of the transfer clock clkm after accepting the interrupt request signal intc, then
The latch circuit RCH2 can be omitted. Therefore, this example is effective when the transfer clock clkm is extremely fast or when the CRU processing speed is extremely slow. [Reception mode] During reception, as shown in Figure 11c, the CPU
The latch circuit RCH4 outputs the reception mode signal tx/=logic “0” and the interrupt enable signal i=by the signals d 0 and d 1 and the write strobe ws 2 output from the
Outputs logic "1". The counter CT2 counts eight transfer clocks clkm as described above, and outputs a signal c when the count reaches seven. This carrier c is input to gate GT2 and flip-flop FF. Therefore, the latch strobe rc is generated from the gate GT2 at the timing shown in the figure, and at its rising edge, the data shifted into the shift register SR2 at that time is latched into the latch circuit RCH3. Data is continuously input one bit at a time from the modem to the shift register SR2 in synchronization with the transfer clock clkm. Therefore, after the data in the shift register SR2 is latched into the latch circuit RCH3, the next data d0 to d7 are sequentially shifted into the shift register SR2 in synchronization with the transfer clock clkm. Data d7 is shifted into the shift register SR2, and at the timing when data d0 to d7 appear at its output terminals Q0 to Q7 , a signal c is output from the counter CT2. As a result, the gate GT2 generates the latch strobe signal rc, and latches the data d0 to d7 in the latch circuit RCH3. Also, at this time, flip-flop FF is set and outputs an interrupt request signal intg to the CPU. The CPU receives this interrupt request signal intg, outputs the read strobe rs 1 again, and outputs the latch circuit RCH3.
Take in data d 0 to d 7 output from . In this way, in the transmission/reception information input/output section,
It converts the serial data output from the modem into parallel data of every 8 bits and outputs it to the CPU. Like the write strobe ws 1 in the transmission mode, the read strobe rs 1 generated at this time may be generated anywhere within the period until the next latch strobe rc is generated. The above describes two latch circuits RH2 and RH3.
An example was shown in which the transmitting/receiving information input/output unit was configured by providing the latch circuit RH2 and
RH3 does not necessarily need to be provided. That is, the data buses D 0 to D 7 are directly connected to the P 0 to P 7 terminals and Q 0 to Q 7 terminals of the shift register SR2, and in the transmission mode, the interrupt request signal is
Data d 0 to d 7 and write strobe ws 1 are transferred within 1 bit of clock clkm after accepting intc.
and outputs an interrupt request signal in receive mode.
The CPU is configured to issue a hard strobe within 1 bit of the transfer clock clkm after receiving intg and capture data d0 to d7 . With this configuration, data d 0 to d 7 can be directly received from the CPU to the shift register without going through the latch circuits RH2 and RH3, and in the same manner as described above, every 8 bits output from the CPU are Parallel encoded data is converted to serial data by shift register SR2 and outputted to the modem bit by bit, and serial encoded data inputted from the modem bit by bit is converted to parallel data by shift register SR2 every 8 bits and sent to the CPU. can be taken inside. Control signal input unit (see Figure 12) The control signal input unit receives detection signals or status signals output from input/output devices such as the original reading unit, received image recording unit, modem, network control unit, and operation display unit. This is the part that takes signals into the CPU, and consists of a multiplexer MLP, and the CPU is a data bus.
They are connected via D 0 , D 1 , address buses A 0 , A 1 , and signal line IOS7. The CPU periodically outputs an input/output select signal iOS 7 and address signals a 0 and a 1 , and the signal input to the multiplexer MLP terminal selected based on these signals is routed to the data bus D 0 or
Output on D1 . Control Signal Output Section
and an addressable latch circuit ARCH for outputting operation signals or display signals to input/output devices such as a document reading section, a received image recording section, a modem, a network control section, and an operation display section.
What are address buses A 0 to A 4 , A 6 , signal lines WS 3 ,
WS 4 , connected via IOSO. When the write strobe signal ws 3 is output from the CPU, the latch circuit RCH 5 latches the signals a 0 , a 2 , a 4 , and a 6 on the address bus, and outputs the signals to the document reading section as described below. Perform phase excitation of the pulse motor. Also, when the write strobe signal ws 4 is output from the CPU, the latch circuit
The RCH 6 latches the signals a 0 , a 2 , a 4 , and a 6 output on the address bus at that time, and phase-excites the pulse motor of the received image recording section. When the input/output select signal ios 0 is output from the CPU, the addressable latch ARCH latches the signal a 0 on the address bus A 0 and selects the output terminal based on the signals a 1 to a 3 on the address bus. outputs the latch signal a0 to a predetermined input/output device. The facsimile apparatus of this embodiment is roughly configured as described above, and in the transmission mode, the process shown in the comprehensive operation flow in FIG. 14 is carried out, and in the reception mode, the process shown in the comprehensive operation flow in FIG. 15 is carried out.
Executed by CPU. Next, details of the processing will be explained below for the cases of transmission mode and reception mode. Transmission Mode In order for the CPU to execute the processing shown in FIG. 14, it is necessary to consider the time allocation for tasks A to E described below. Therefore, the CPU executes each of the tasks A to E in a time-sharing manner in response to each interrupt request. That is, at the time of transmission, the CPU receives the synchronization signal s 1 generated from the timing signal generation section in addition to the interrupt request signal intc generated from the above-mentioned transmission/reception information input/output section.
Interrupt request signal inta by synchronous signal s2 , interrupt request signal intb by synchronous signal s3 , interrupt request signal by synchronous signal s3
intd inputs via signal line INT. The priority order when performing tasks A to D in response to the interrupt request signals inta to intd is A>B>C>D, and work E is normally executed. Below is an outline of the tasks A to E performed by the CPU.
This will be explained with reference to the image data processing path diagram in the figure. [Work A] When an interrupt request is made by inta, the CPU performs work A.
Execute. Its job is to set a memory empty flag MEF or MEF in the working area (WK area) to indicate that the line buffer area (LBF area) I or the information storage RAM that stores image data (described later) is empty. If so, reset the flag MEF or set the data acquisition flag DRF. Furthermore, if the memory empty flag MEF or MEF has been reset, the data retrieval flag DRFI or MEF is reset. This data acquisition flag DRF is referred to when performing tasks B and D described below. [Task B] When an interrupt request is made by intb, the CPU accepts the interrupt request only if the data import flag DRF or the above is set.
Work B is executed to advance the sub-scanning pulse motor of the document reading section by one step. However, depending on the sub-scanning line density, the timing to perform the work differs slightly, and the sub-scanning line density is 7.7 lines/
In the case of mm, when the flag DRF is set, interrupt requests are accepted every other intb, and sub-scanning of 8 steps per line is performed. Sub-scanning line density
In the case of 3.85 lines/mm, when the flag DRF is set, an interrupt request is accepted every time intb occurs,
Performs sub-scanning of 1 line and 16 steps. The details of the work will be described later. Next, before explaining job C, jobs D and E will be explained first. [Work D] When an interrupt request is made by intd, the CPU performs work D.
Execute. As shown in Figure 16, when the data import flag is set, the image data read by the document reading section is sent from the image information input section via the CPU in 8-bit units. Information storage RAM line buffer area
It is best to store in the LBF area or.
However, the above is for the case where the sub-scanning line density is 7.7 lines/mm, and when the sub-scanning line density is 3.85 lines/mm, the CPU is
An interrupt request by intd' is also accepted, and after one line of data is fetched by the interrupt by intd, another line of data is fetched by intd', and logical processing with the previous line is performed to complete the line. Store in Hua area (LBF area) or. Memory full flag after data acquisition is complete
Set MFF or [Job E] This is a job normally executed by the CPU. If the memory full flag MFF or MFF is set, it is reset and the line buffer area (LBF area) is set as shown in Figure 16. )
The bits stored by job D are fetched in units of 8 data, encoded, and then stored in the FIFO area, which will be explained later in the information storage section. When the encoding process for one line is completed, the memory empty flag is set. [Work C] When an interrupt request is made by intc, the CPU performs work C.
Execute. Its job is to sequentially output 8 bits of coded data stored in the FIFO area to the transmission/reception information input/output section. Figure 17 shows an example of a time chart for each job A to E when the sub-scanning line density is 3.85 lines/mm. Interrupt requests inta and based on synchronization signals s 1 and s 3 while performing the task E of encoding
When intb is applied, first the data import flag DRF is
A job that sets or resets
After that, job B is executed in which the document sub-scanning pulse motor is advanced by one step, and after jobs A and B are completed, the process returns to job E. Meanwhile, the transmission/reception information input/output section outputs coded data serially to the modem, and as described above, generates an interrupt request signal intc every time 8-bit data is output to the modem. When this interrupt request signal intc is input to the CPU
The CPU interrupts work E and executes work C, which sets the coded 8-bit data in the FIFO area to the transmitting/receiving information input/output section, and returns to work E again. When the interrupt request signal intd based on the synchronization signal s2 is applied, job D is executed to store the image data read by the original reading unit in the line buffer area (LBF area) in 8-bit units, and the image data for one line is stored. Work E is suspended until everything is stored in the line buffer area (LBF area). Of course, during this time, job C of outputting coded data to the transmitting/receiving information input/output section is being executed continuously, and therefore data is output to the modem without interruption. In other words, the FIFO area capacity is determined by the encoding processing speed, scanner speed, and modem rate, and is set to exceed the number of bits necessary to maintain the minimum transmission time in order to send data to the modem without interruption. In this case, it is set to 256 bits with some margin. Once work D is completed, the CPU returns to work E again. Next, interrupt request based on synchronization signal s 2b
When intd is applied, when the image data read by the original reading unit is stored in the line buffer area (LBF area), the previously stored image data is also taken out at the same time, and the logical sum is calculated and stored in the line buffer area (LBF area). Do work D that you have saved up. Next, a more detailed operational procedure for the above-described work will be explained with reference to FIG. 18 and subsequent figures. FIG. 18a shows the processing procedure for job B in which the sub-scanning pulse motor of the document reading section is advanced by one step. As described above, this work B is performed based on the synchronization signal s2 that is generated at regular intervals when data can be taken into the line buffer area (LBF area). When the CPU receives the interrupt request signal intb, it interrupts the work D or E that was being executed up to that point, and transfers the data that had been stored in each counter, register, etc. in the CPU to the RAM working area (WK).
area). Next, bring the pulse motor excitation pattern from the working area (WK area) into the CPU and set it. In the case of this embodiment, the phase excitation of the pulse motor is 1-
A two-phase excitation system is adopted, and as explained in the control signal output section XI in Fig. 13 above, the address signal
A 0 , a 2 , a 4 , and a 6 are used as phase excitation signals for the pulse motor. Therefore, when the system is started, a pulse motor phase excitation pattern, for example "11100000", is set in the working area (WK area), and each time this job B is executed, that pattern is imported into the CPU, and after 1 bit circulation, it is , address bus
The pattern is outputted to the control signal output unit XI via A 0 , A 2 , A 4 , and A 6 and returned to the working area (WK area). As a result, as shown in FIG. 18b, each time work B is executed, the pulse motor phase excitation pattern is changed to 1.
The bits are circulated, and the outputs a 0 , a 2 , a 4 , and a 6 change as shown in FIG. 18c, and the pulse motor can be driven one step at a time. After performing this job B, return to the previous job. FIG. 19a shows the flow for transferring the image data read by the original reading unit in job D from the image information input unit to the line buffer area (LBF area) of the information storage unit, and is the flow for transferring the image data read by the document reading unit in job D.
This is a flowchart when no processing is performed. In this embodiment, since the target is B4 size, the case where pixel data of 2048 bits per line is handled will be described, but the number of bits per line is not limited to this. 2048 bits is 8 bits/byte, so it can be expressed in 256 bytes. The line buffer area (LBF area) consists of two 1K x 4 bits as explained in Figure 10, i.e.
Uses 1K x 8-bit RAM from addresses 16384 to 16896. That is, this is expressed in hexadecimal code, and as shown in Figure 19b, the line buffer (hereinafter referred to as LBF) area uses addresses 4000 to 40FF, and the LBF area uses addresses 4100 to 41FF. . Further, the FIFO area is allocated from RAM address 4200 to 42FF, and the working area (hereinafter referred to as WK area) is allocated from RAM address 4300 to 43FF. Various flags, write and read addresses, etc. are stored in the WK area, and in explaining the flowchart below, it is assumed that the various initial settings have already been made and are stored in the WK area. do. When the program in Figure 19a is executed by the CPU, the CPU checks the flag stored in the WK area to see if it is possible to input data to the LBF area or If input is possible, the address stored in the WK area at which data should be written to the LBF area is set in the address register ADR in the CPU. Next, input data every 8 bits from the image information input section.
Transfer from CPU to that address in LBF area,
Add 1 to address register ADR. When this operation is performed 256 times per line, the lower 8 bits of the 16-bit address register become 0. In other words, since one line of image data has been stored in the LBF area at this time, a memory full flag MFF indicating that the LBF area is full is set in the WK area. When the sub-travel line density is 7.7 lines/line, image data for one line is stored in a predetermined LBF area as described above. In the case of a sub-scanning line density of 3.85 lines/line, the logical sum of two lines of image data is obtained based on the programs shown in FIGS. 20a and 20b, and the result is stored in a predetermined LBF area as one line of image data. That is, in the case of odd-numbered line image data, as shown in the flowchart of FIG. 20a, one line of image data is stored, for example, in the LBF area, in exactly the same manner as in the case of FIG. 19a. Next, when the image data of the even numbered lines is taken in 8 bits at a time, the image data of the odd numbered lines previously stored in the LBF area are also taken out 8 bits at a time, as shown in the flowchart of Fig. 20b, and the CPU
By redoing the logical sum within and inputting it into the LBF area, one line of OR-processed image data is stored in the LBF area. Next, the flow of work E in which image data stored in the LBF area is taken out, run-length coded, and stored in the FIFO area will be described with reference to FIGS. 21 to 25. In this example, run length encoding is performed using the Modified Huffman method.
Coding Method). Of course, it goes without saying that other encoding methods may be used. In the case of the modified Hoffman system, the code is divided into a make-up code and a termination code depending on the run length. That is, the termination code is a code according to the run length from 0 to 63 as shown in Table 1 below, and the make-up code is as shown in Table 2.
This code corresponds to a run length that is an integer multiple of 64. In addition, the synchronization code EOL is as shown in Table 3.
It is a code with 11 "0"s and a "1" added at the end.

【表】【table】

Claims (1)

【特許請求の範囲】[Claims] 1 送信時原稿を読み取りシリアル画素データを
出力する原稿読取部と、この原稿読取部から出力
される前記シリアル画素データを所定ビツト毎の
パラレル画素データに変換する画情報入力部と、
受信時、復号化された受信画画素データにより駆
動され、記録紙上に所定の画情報を記録する受信
画記録部と、送信時、前記画情報入力部からの前
記所定ビツト毎のパラレル画素データを前記所定
ビツト毎の符号化データに変換して出力する一
方、受信時入力する所定ビツト毎のパラレル符号
化データを前記受信画素データに変換して前記受
信画出力部に出力するマイクロコンピユータと、
送信時このマイクロコンピユータから出力される
所定ビツト毎のパラレル符号化データを伝送速度
に応じて、ビツト毎のシリアル符号化データに変
換して出力する一方、受信時相手側装置から伝送
速度に応じて入力するシリアル符号化データを所
定ビツト毎のパラレル符号化データに変換して前
記マイクロコンピユータに入力する送受信情報入
出力部とを備えると共に、その送受信情報入出力
部は、送信時に前記マイクロコンピユータから出
力される所定ビツトのパラレル符号化データをラ
ツチしパラレルに出力する第1のラツチ回路と、
送信時にはこの第1のラツチ回路から出力される
所定ビツトの符号化データをパラレルに取り込
み、これを伝送クロツクに同期して1ビツトずつ
シリアルに出力する一方、受信時には伝送クロツ
クに同期して1ビツトずつシリアルに入力する符
号化データを順次貯え、所定ビツトに達したとき
これをパラレルに出力するシフトレジスタと、受
信時にこのシフトレジスタからパラレルに出力さ
れる所定ビツトの符号化データをラツチし、これ
をパラレルに前記マイクロコンピユータに出力す
る第2のラツチ回路とを備えることを特徴とする
フアクシミリ装置。
1. A document reading section that reads a document during transmission and outputs serial pixel data; an image information input section that converts the serial pixel data output from the document reading section into parallel pixel data for each predetermined bit;
At the time of reception, a reception image recording section is driven by decoded received pixel data and records predetermined image information on recording paper, and at the time of transmission, parallel pixel data for each of the predetermined bits from the image information input section is recorded. a microcomputer that converts and outputs encoded data for each predetermined bit, and converts parallel encoded data for each predetermined bit that is input during reception into the received pixel data and outputs the same to the received image output section;
At the time of transmission, the parallel encoded data of each predetermined bit output from this microcomputer is converted into serial encoded data of each bit according to the transmission speed and output, while at the time of reception, the data is transmitted from the other party's device according to the transmission speed. The transmitting/receiving information input/output section converts input serial encoded data into parallel encoded data for each predetermined bit and inputs the converted data to the microcomputer, and the transmitting/receiving information input/output section converts input serial encoded data into parallel encoded data for each predetermined bit and inputs the converted data into parallel encoded data for each predetermined bit. a first latch circuit that latches predetermined bits of parallel encoded data and outputs it in parallel;
When transmitting, a predetermined bit of coded data output from this first latch circuit is captured in parallel and output serially one bit at a time in synchronization with the transmission clock, while during reception, it is output one bit in synchronization with the transmission clock. A shift register that sequentially stores encoded data that is input serially and outputs it in parallel when it reaches a predetermined bit, and a shift register that latches the encoded data of a predetermined bit that is output in parallel from this shift register at the time of reception. and a second latch circuit for outputting in parallel to the microcomputer.
JP9169079A 1979-07-20 1979-07-20 Facsimile device Granted JPS5616358A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9169079A JPS5616358A (en) 1979-07-20 1979-07-20 Facsimile device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9169079A JPS5616358A (en) 1979-07-20 1979-07-20 Facsimile device

Publications (2)

Publication Number Publication Date
JPS5616358A JPS5616358A (en) 1981-02-17
JPS6314546B2 true JPS6314546B2 (en) 1988-03-31

Family

ID=14033493

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9169079A Granted JPS5616358A (en) 1979-07-20 1979-07-20 Facsimile device

Country Status (1)

Country Link
JP (1) JPS5616358A (en)

Also Published As

Publication number Publication date
JPS5616358A (en) 1981-02-17

Similar Documents

Publication Publication Date Title
JPS6346628B2 (en)
KR940001666B1 (en) Improved scsi-apparatus of personal computer
JP4065503B2 (en) Image processing apparatus, image input / output apparatus, scaling process method, and memory control method
US5097410A (en) Multimode data system for transferring control and data information in an i/o subsystem
US20040193821A1 (en) Providing an arrangement of memory devices to enable high-speed data access
EP0055369B1 (en) Electronic document distribution terminal
JPH0145656B2 (en)
JP2862242B2 (en) Image reading device
US4736365A (en) Method and apparatus for controlling access to an asynchronous communication network
US7254283B1 (en) Image processor processing image data in parallel with a plurality of processors
JPS6314549B2 (en)
JPS6314545B2 (en)
JPS6314550B2 (en)
JPS6314547B2 (en)
JPS6314546B2 (en)
JPS6314548B2 (en)
JP2907451B2 (en) Direct memory access method and apparatus
JPH03293867A (en) Facsimile equipment
JP3011157B2 (en) Image reading method and apparatus
JPS6333350B2 (en)
JP2567428B2 (en) Data transfer rate converter
JPS58114565A (en) Facsimile device
JPS6341269B2 (en)
JPH09305527A (en) Dma controller
JP2511697B2 (en) Data receiver