JPH064191A - Method and device for controlling external interface - Google Patents

Method and device for controlling external interface

Info

Publication number
JPH064191A
JPH064191A JP4163292A JP16329292A JPH064191A JP H064191 A JPH064191 A JP H064191A JP 4163292 A JP4163292 A JP 4163292A JP 16329292 A JP16329292 A JP 16329292A JP H064191 A JPH064191 A JP H064191A
Authority
JP
Japan
Prior art keywords
data
external
programmable logic
logic device
user programmable
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP4163292A
Other languages
Japanese (ja)
Inventor
Takeshi Ukegawa
川 猛 受
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 JP4163292A priority Critical patent/JPH064191A/en
Publication of JPH064191A publication Critical patent/JPH064191A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

PURPOSE:To correspond to the various kinds of external interfaces just by changing external memories by mounting the external memory prestored with program data corresponding to the respective interfaces to the main body of the device. CONSTITUTION:When one of the various kinds of IC memory cards 20 prepared beforehand is inserted from a port provided on the screen of an operation board 70 and mounted to a connector 30, an interface control function corresponding to the kind of the mounted IC memory card 20 is programmed at PLD as initialization immediately after turning a power source ON. When the memory card 20 is not mounted, the interface control function corresponding to IF program data 1 selected beforehand as an initial value on a ROM 60 is programmed at the PLD. Thus, by inserting the IC card 20 corresponding to the external interface, the various kinds of the interfaces can be corresponded.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、様々な電子機器に他の
装置を接続するための外部インタ−フェ−スの制御に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to controlling an external interface for connecting other devices to various electronic devices.

【0002】[0002]

【従来の技術】例えば最近のファクシミリ装置において
は、RS−232Cインタ−フェ−ス,SCSIインタ
−フェ−ス,プリンタインタ−フェ−ス等を備える様々
な装置、即ちパ−ソナルコンピュ−タ,大容量記憶装
置,入力装置,プリンタ等々を接続可能にすることが要
求されている。従って現在は、インタ−フェ−ス毎にそ
れ専用のインタ−フェ−ス回路とそれを制御する回路と
を組込んだボ−ドを全て用意しておき、ユ−ザが接続す
る装置に応じて、そのインタ−フェ−スに合うボ−ドを
装置本体に装着し対応している。
2. Description of the Related Art For example, in recent facsimile machines, various devices including an RS-232C interface, a SCSI interface, a printer interface, etc., namely, a personal computer, It is required to connect mass storage devices, input devices, printers, etc. Therefore, at present, for each interface, a board incorporating an interface circuit dedicated to the interface and a circuit for controlling the interface circuit is prepared, and the interface is connected to the device connected by the user. A board suitable for the interface is attached to the main body of the apparatus.

【0003】しかしながら、インタ−フェ−ス毎に独立
した様々な種類のボ−ドが必要になるので、それらを開
発するためのコストがかさむのは避けられず、また品種
が多くなるので、これらの製造,管理,在庫調整など、
いずれの点でも効率が悪い。本発明に関係のある従来技
術としては、例えば、特開平2−129745号公報,
及び特開平2−144650号公報が知られている。前
者の技術では、様々なプログラムをメモリにロ−ドする
ことによって、ハ−ドウェアが同一のコンピュ−タを種
類の異なる様々なシステムとして利用可能にしている。
また後者の技術では、ゲ−トアレイを用い、種類の異な
る2つの交信チャンネルでの素子間の交信の制御を行な
っている。
However, since various types of independent boards are required for each interface, it is inevitable that the cost for developing them will increase, and the number of varieties will increase. Manufacturing, management, inventory adjustment, etc.
In any case, the efficiency is poor. Examples of conventional techniques related to the present invention include Japanese Patent Laid-Open No. 2-129745.
Also, JP-A-2-144650 is known. In the former technique, various programs are loaded into a memory, so that the same hardware can use the same computer as various types of different systems.
In the latter technique, a gate array is used to control the communication between elements in two communication channels of different types.

【0004】[0004]

【発明が解決しようとする課題】特開平2−12974
5号公報の技術では、コンピュ−タのプログラムを交換
することによってコンピュ−タの動作をその機種に適合
するように変更することができる。しかし、互いに異な
ったハ−ドウェアを必要とする複数種類のインタ−フェ
−スに対応するためには、各々のインタ−フェ−スに適
合する別々のハ−ドウェア(インタ−フェ−ス制御装
置)を備える必要がある。コンピュ−タ単独のソフトウ
ェアによる制御では処理速度が非常に遅くなるので、高
速の外部インタ−フェ−スを制御するには専用のハ−ド
ウェアが不可欠である。
DISCLOSURE OF THE INVENTION Problems to be Solved by the Invention
In the technique of Japanese Patent Publication No. 5, the operation of the computer can be changed by exchanging the program of the computer to suit the model. However, in order to support a plurality of types of interfaces that require different hardware, separate hardware (interface control device) suitable for each interface is required. ) Must be provided. Since the processing speed is very slow when controlled by the software of the computer alone, dedicated hardware is indispensable for controlling the high-speed external interface.

【0005】また特開平2−144650号公報の技術
では、インタ−フェ−スの制御をゲ−トアレイを用いて
行なっており、そのハ−ドウェア構造を、マスクプログ
ラムによって決定できる。即ち、接続されるインタ−フ
ェ−スに応じてゲ−トアレイをカスタム化(その製品個
有のハ−ドウェア構成にする)し、種類の異なる複数の
インタ−フェ−スに適合させることができる。しかしな
がら、この種のゲ−トアレイは、一度マスクプログラム
を設定してしまえば、ハ−ドウェア構造を変更すること
はできないので、一担、インタ−フェ−ス用の制御ボ−
ドを設置した後で、種類の異なるインタ−フェ−スに切
換えたい場合には、インタ−フェ−ス制御のハ−ドウェ
ア全体を別のものと交換しなければならない。
In the technique disclosed in Japanese Patent Laid-Open No. 2-144650, the interface is controlled by using the gate array, and the hardware structure can be determined by the mask program. That is, the gate array can be customized (made into a hardware structure unique to the product) according to the interface to be connected, and can be adapted to a plurality of different types of interfaces. . However, in this type of gate array, the hardware structure cannot be changed once the mask program is set, so that the control array for the interface is used.
If you want to switch to a different type of interface after installing the hardware, you must replace the entire interface control hardware with another.

【0006】従って本発明は、種類の異なる様々なイン
タ−フェ−スを接続可能にするとともに、製品の開発コ
ストの上昇を抑え、品種を減らして製造,管理,在庫調
整などの点で効率を改善することを課題とする。
Therefore, the present invention enables connection of various interfaces of different types, suppresses an increase in product development cost, reduces the variety of products, and improves efficiency in terms of manufacturing, management, inventory adjustment, and the like. The challenge is to improve.

【0007】[0007]

【課題を解決するための手段】上記課題を解決するため
に、第1番の発明の外部インタ−フェ−スの制御方法で
は、装置本体に接続される複数種類の外部インタ−フェ
−スの制御方法において、装置本体が初期状態の時に、
脱着自在な外部メモリの装着の有無を識別し、該外部メ
モリが装着されていると、該外部メモリ上に記憶された
デ−タを読み込み、そのデ−タに基づいて装置本体上に
設置されたユ−ザプログラマブルロジックデバイスの構
成を設定し、その後、該ユ−ザプログラマブルロジック
デバイスを使用して接続された外部インタ−フェ−スを
制御する。
In order to solve the above problems, in the method of controlling an external interface according to the first aspect of the invention, a plurality of types of external interfaces connected to the apparatus body are connected. In the control method, when the device body is in the initial state,
Whether or not a removable external memory is attached is identified, and when the external memory is attached, the data stored in the external memory is read and installed on the main body of the device based on the data. The configuration of the user programmable logic device is set, and then the connected external interface is controlled using the user programmable logic device.

【0008】また第2番の発明の外部インタ−フェ−ス
の制御方法では、装置本体に接続される複数種類の外部
インタ−フェ−スの制御方法において、所定の指令があ
った時に、通信回線から入力されるデ−タを受信し、受
信したデ−タに基づいて装置本体上に設置されたユ−ザ
プログラマブルロジックデバイスの構成を設定し、その
後、該ユ−ザプログラマブルロジックデバイスを使用し
て接続された外部インタ−フェ−スを制御する。
In the method for controlling the external interface according to the second aspect of the invention, in the method for controlling a plurality of types of external interfaces connected to the apparatus main body, communication is performed when a predetermined command is given. Receives data input from the line, sets the configuration of the user programmable logic device installed on the apparatus main body based on the received data, and then uses the user programmable logic device And control the connected external interface.

【0009】また第3番の発明の外部インタ−フェ−ス
の制御方法では、装置本体に接続される複数種類の外部
インタ−フェ−スの制御方法において、各々の外部イン
タ−フェ−スに対応付けられた複数組のプログラム用デ
−タを予め装置本体上に保持しておき、所定の入力操作
に応答して、前記複数組のプログラム用デ−タのうちの
1組を選択し、選択されたデ−タに基づいて、装置本体
上に設置されたユ−ザプログラマブルロジックデバイス
の構成を設定し、その後、該ユ−ザプログラマブルロジ
ックデバイスを使用して接続された外部インタ−フェ−
スを制御する。また第4番の発明の外部インタ−フェ−
スの制御装置は、ユ−ザプログラマブルロジックデバイ
スが組込まれた外部インタ−フェ−ス制御手段(10);
所定のデ−タを保持する外部メモリ手段(20);該外部
メモリ手段を脱着自在に装置本体に保持する接続手段
(30);及び前記外部メモリ手段の装着の有無を識別
し、外部メモリ手段が装着されていると、それのデ−タ
を読込んで、そのデ−タを前記ユ−ザプログラマブルロ
ジックデバイスに設定する切換制御手段(40);を備え
る。
Further, according to the third aspect of the invention, there is provided a method for controlling an external interface, wherein the plurality of types of external interfaces are connected to the apparatus body. A plurality of sets of program data associated with each other are held in advance on the main body of the apparatus, and in response to a predetermined input operation, one of the plurality of sets of program data is selected, Based on the selected data, the configuration of the user programmable logic device installed on the main body of the apparatus is set, and thereafter, the external interface connected using the user programmable logic device is set.
Control. The external interface of the fourth invention
The interface control device is an external interface control means (10) incorporating a user programmable logic device;
External memory means (20) for holding predetermined data; Connection means for detachably holding the external memory means in the apparatus main body
(30); and the presence / absence of attachment of the external memory means are identified, and when the external memory means is attached, the data thereof is read and the data is set in the user programmable logic device. And a switching control means (40);

【0010】また第5番の発明の外部インタ−フェ−ス
の制御装置は、ユ−ザプログラマブルロジックデバイス
が組込まれた外部インタ−フェ−ス制御手段(10);
所定の通信回線からのデ−タを受信する通信手段(5
0);及び所定の指示があると、前記通信手段から入力
されるデ−タを読込み、該デ−タを前記ユ−ザプログラ
マブルロジックデバイスに設定する切換制御手段(4
0);を備える。
An external interface control device according to a fifth aspect of the present invention is an external interface control means (10) incorporating a user programmable logic device;
Communication means (5) for receiving data from a predetermined communication line
0); and a predetermined instruction, read the data input from the communication means and set the data in the user programmable logic device (4).
0);

【0011】また第6番の発明の外部インタ−フェ−ス
の制御装置は、ユ−ザプログラマブルロジックデバイス
が組込まれた外部インタ−フェ−ス制御手段(10);
複数種類の外部インタ−フェ−スの各々に対応付けられ
た複数組のプログラム用デ−タを予め保持する固定メモ
リ手段(60);選択指示を与える入力手段(70);
及び該入力手段から所定の選択指示があると、それに応
じて前記固定メモリ手段上の1組のプログラムデ−タを
選択し、選択されたデ−タを読込み、該デ−タを前記ユ
−ザプログラマブルロジックデバイスに設定する切換制
御手段(40);を備える。
An external interface control device according to a sixth aspect of the present invention is an external interface control means (10) incorporating a user programmable logic device;
Fixed memory means (60) for holding in advance a plurality of sets of program data associated with each of a plurality of types of external interfaces; input means (70) for giving a selection instruction;
Also, when a predetermined selection instruction is given from the input means, a set of program data on the fixed memory means is selected in response to the instruction, the selected data is read, and the selected data is read by the user. A switching control means (40) for setting the programmable logic device.

【0012】[0012]

【作用】本発明においては、外部インタ−フェ−スを制
御するために、ユ−ザがその構造をプログラム可能なロ
ジックデバイス(FPGA等)を利用している。従っ
て、プログラムの内容を変更すれば、ハ−ドウェアその
ものを交換することなしに、様々な種類のインタ−フェ
−スに適合した制御を実施しうる。
In the present invention, a logic device (FPGA or the like) whose structure can be programmed by the user is used to control the external interface. Therefore, if the contents of the program are changed, the control suitable for various kinds of interfaces can be carried out without exchanging the hardware itself.

【0013】第1番及び第4番の発明では、例えばIC
メモリカ−ドのような外部メモリ手段に、各々のインタ
−フェ−スに対応するプログラムデ−タを予め記憶させ
ておき、それを装置本体に装着することによって、イン
タ−フェ−スを制御するユ−ザプログラマブルロジック
デバイスの構造が、装着された外部メモリ手段上のデ−
タに従って設定される。つまりこの発明では、ICメモ
リカ−ド等を交換するだけで、様々な種類の外部インタ
−フェ−スに対応しうる。
In the first and fourth inventions, for example, an IC
The external memory means such as a memory card stores the program data corresponding to each interface in advance, and the interface is controlled by mounting it on the main body of the apparatus. The structure of the user programmable logic device is the data on the mounted external memory means.
It is set according to In other words, according to the present invention, various types of external interfaces can be supported only by exchanging the IC memory card or the like.

【0014】第2番及び第5番の発明では、例えばセン
タのコンピュ−タ上に全てのインタ−フェ−スの各々に
対応するプログラムデ−タを予め登録しておく。そして
外部インタ−フェ−スの制御装置は、必要に応じて、通
信によってセンタのコンピュ−タと接続し、適合するプ
ログラムデ−タを受信し、受信したデ−タによってユ−
ザプログラマブルロジックデバイスの構造を設定する。
In the second and fifth inventions, for example, program data corresponding to each of all the interfaces is registered in advance on the computer of the center. Then, the control device of the external interface is connected to the computer of the center by communication as necessary, receives the appropriate program data, and receives the user data according to the received data.
Set the structure of the programmable logic device.

【0015】第3番及び第6番の発明では、装置本体上
の固定メモリ手段に、全てのインタ−フェ−スの各々に
対応するプログラムデ−タを予め登録しておく。そし
て、例えばオペレ−タが所定のキ−操作を実施すると、
その入力指示によって選択された1組のプログラムデ−
タが固定メモリ手段から読み込まれ、そのデ−タによっ
てユ−ザプログラマブルロジックデバイスの構造が設定
される。
In the third and sixth aspects of the invention, the program data corresponding to each of all the interfaces is registered in advance in the fixed memory means on the apparatus main body. Then, for example, when the operator performs a predetermined key operation,
A set of program data selected by the input instruction
The data is read from the fixed memory means and the data sets the structure of the user programmable logic device.

【0016】構造をプログラム可能な集積回路として
は、標準化された分類に属するものとしてPLD(プロ
グラマブル・ロジック・デバイス)が存在し、ユ−ザの
設計に応じたハ−ドウェアとして提供されるカスタムI
Cに属するものとしてゲ−トアレイが存在する。PLD
は、PROM(プログラム可能な読出し専用メモリ)や
RAM(読み書きメモリ)を内蔵しており、それらに対
してユ−ザがデ−タを書込むことによってPLDの論理
構造が決定される。またゲ−トアレイの一部にも、RA
Mを搭載し、それに書込むデ−タによってIC内部の論
理構造を決定できるものが存在する。従ってこの明細書
中における「ユ−ザプログラマブルロジックデバイス」
は、いわゆるPLDと、RAMを搭載し、それに書込む
デ−タによってIC内部の論理構造を決定できるゲ−ト
アレイとの両者を含む。PLDについては、デ−タの消
去を電気的に行なえるもの、即ちEEPROMやスタテ
ィックRAMを搭載したものが望ましい。なお、初期の
PLDのように、バイポ−ラ・プロセスによって作成さ
れ、ユ−ザのプログラム書込みが1回のみに限定されて
いるものは、本発明では使用できない。
As an integrated circuit having a programmable structure, there is a PLD (Programmable Logic Device) that belongs to a standardized classification, and a custom I provided as hardware corresponding to a user's design.
There exists a gate array as belonging to C. PLD
Incorporates a PROM (programmable read-only memory) and a RAM (read / write memory), and the user writes data to them to determine the logical structure of the PLD. In addition, a part of the gate array has RA
There is one in which M is mounted and the logical structure inside the IC can be determined by the data written in it. Therefore, "user programmable logic device" in this specification
Includes both a so-called PLD and a gate array in which a RAM is mounted and the logical structure inside the IC can be determined by the data written in the RAM. The PLD is preferably one that can electrically erase data, that is, one that has an EEPROM or a static RAM. It is to be noted that, like the initial PLD, the one created by the bipolar process and the user's program writing is limited to only once cannot be used in the present invention.

【0017】[0017]

【実施例】一実施例の装置の構成を図1に示す。図1に
示す装置は、ファクシミリであり、基本的なファクシミ
リの機構については一般のファクシミリと同様の構成に
なっている。即ち、ファクシミリの主要制御機構が全て
集積されたファクシミリエンジン1に、原稿画像を読取
るためのイメ−ジスキャナ2と、出力画像を記録紙上に
ハ−ドコピ−するための記録ユニットが接続されてい
る。ファクシミリエンジン1は、システムバス5,モデ
ム50及びNCU55を介して電話回線4と接続され
る。
EXAMPLE FIG. 1 shows the configuration of the apparatus of one example. The apparatus shown in FIG. 1 is a facsimile, and the basic facsimile mechanism has the same configuration as a general facsimile. That is, an image scanner 2 for reading an original image and a recording unit for copying an output image on a recording paper are connected to a facsimile engine 1 in which all main control mechanisms of the facsimile are integrated. The facsimile engine 1 is connected to the telephone line 4 via the system bus 5, the modem 50 and the NCU 55.

【0018】システムバス5には、ファクシミリエンジ
ン1など装置全体を制御するためのマイクロプロセッサ
(MPU)40が接続され、その他に、読み出し専用メ
モリ(ROM)60,読み書きメモリ(RAM)80,
操作ボ−ド70,コネクタ30,インタ−フェ−ス制御
ユニット10などが接続されている。図4に示すよう
に、ROM60上には、MPUがファクシミリを制御す
るためのプログラムデ−タ(命令コ−ド群)と、3組の
IF(インタ−フェ−ス)プログラムデ−タが予め記憶
されている。
A microprocessor (MPU) 40 for controlling the entire apparatus such as the facsimile engine 1 is connected to the system bus 5, and a read only memory (ROM) 60, a read / write memory (RAM) 80,
The operation board 70, the connector 30, the interface control unit 10, etc. are connected. As shown in FIG. 4, on the ROM 60, program data (command code group) for the MPU to control the facsimile and three sets of IF (interface) program data are stored in advance. Remembered

【0019】コネクタ30は、ICメモリカ−ド20を
脱着しうる構造になっている。ICメモリカ−ド20を
コネクタ30に対して脱着すると、コネクタ30に接続
された所定の信号ラインの信号レベルが変化する。従っ
て、この変化を識別することによって、MPU40はI
Cメモリカ−ド20が装着されているか否かを判定しう
る。
The connector 30 has a structure in which the IC memory card 20 can be attached and detached. When the IC memory card 20 is attached to or detached from the connector 30, the signal level of a predetermined signal line connected to the connector 30 changes. Therefore, by identifying this change, MPU 40
It can be determined whether the C memory card 20 is mounted.

【0020】図1に示すファクシミリには、RS−23
2C,SCSI,及びプリンタIFの3種類の外部イン
タ−フェ−スを有する入出力装置を接続できるように構
成されている。それぞれのインタ−フェ−スの規格では
互いに異なる形状のコネクタが使用されるので、各々の
ケ−ブルを接続するために3種類のコネクタ12,13
及び14が設けられている。3つのコネクタ12,13
及び14は、互いに共通の信号バスラインに接続され、
双方向バッファ11を介して、インタ−フェ−ス制御ユ
ニット10と接続されている。
The facsimile shown in FIG. 1 has RS-23.
It is configured so that an input / output device having three types of external interfaces of 2C, SCSI, and printer IF can be connected. Since connectors of different shapes are used in the standard of each interface, three types of connectors 12, 13 are used to connect each cable.
And 14 are provided. Three connectors 12, 13
And 14 are connected to a common signal bus line,
It is connected to the interface control unit 10 via the bidirectional buffer 11.

【0021】インタ−フェ−ス制御ユニット10は、い
わゆるPLD(プログラマブル・ロジック・デバイス:
例えば株式会社リコ−製のEPL241)によって構成
されている。インタ−フェ−ス制御ユニット10を構成
するPLDは、CMOSプロセスによって製造してあ
り、その構造を制御する内部のPROMは、電気的デ−
タ消去によって何回でも繰り返しデ−タを書込む、即ち
プログラムすることができる。このPLDの1個の内部
には、多数の、入力ゲ−ト,出力ゲ−ト,マクロセル,
D型フリップフロップ,極性反転回路,パワ−オンリセ
ット回路,プレロ−ド回路,及び非同期クロック回路が
組込まれており、それらに付随するPROMの内容に応
じて、PLDのハ−ドウェア構成(機能)が設定され
る。
The interface control unit 10 is a so-called PLD (programmable logic device: PLD).
For example, it is configured by EPL241) manufactured by Rico Corporation. The PLD that constitutes the interface control unit 10 is manufactured by a CMOS process, and the internal PROM that controls the structure is an electrical data source.
By erasing data, the data can be written, that is, programmed repeatedly. Inside one PLD, a large number of input gates, output gates, macrocells,
A D-type flip-flop, a polarity inverting circuit, a power-on reset circuit, a preload circuit, and an asynchronous clock circuit are incorporated, and the hardware configuration (function) of the PLD according to the contents of the PROM accompanying them. Is set.

【0022】この実施例においては、インタ−フェ−ス
制御ユニット10を構成するPLDのPROMに対する
デ−タ書込み、即ちプログラミングは、PLD専用の書
込み器によって行なうのではなく、このファクシミリ上
において、その全体を制御するMPU40が必要に応じ
て実行し、必要に応じて書込んだ内容の更新も実行す
る。MPU40がPLDをプログラム可能にするため
に、PLDは、インタ−フェ−スコネクタ(12,1
3,14)側の全ての端子も、双方向バッファ11を介
して、システムバス5に接続可能になっている。つま
り、通常はPLDの一部の端子は、双方向バッファ11
を介してインタ−フェ−スコネクタ12,13及び14
に接続されるが、PLDをプログラムする時には、MP
Uが双方向バッファ11の状態を切換えて、PLDの全
ての端子をシステムバス5に接続する。
In this embodiment, the data writing, that is, the programming to the PROM of the PLD constituting the interface control unit 10 is not performed by the writer dedicated to the PLD, but is performed on this facsimile. The MPU 40, which controls the whole, executes it as necessary, and also updates the written contents as necessary. In order for the MPU 40 to make the PLD programmable, the PLD has an interface connector (12, 1).
All terminals on the (3, 14) side can also be connected to the system bus 5 via the bidirectional buffer 11. That is, normally, some terminals of the PLD are connected to the bidirectional buffer 11
Via the interface connectors 12, 13 and 14
, But when programming the PLD, the MP
U switches the state of the bidirectional buffer 11 and connects all terminals of the PLD to the system bus 5.

【0023】PLDをプログラムするためのデ−タは、
この例では、ROM60上にIFプログラムデ−タ1,
2及び3として存在する(図4参照)。またこのデ−タ
は、ICメモリカ−ド20上にも存在する。更に、図示
しないセンタのコンピュ−タ上にもそのデ−タが蓄積し
てある。IFプログラムデ−タ1は、RS−232C規
格のインタ−フェ−ス制御を実施するための機能を実現
するデ−タであり、IFプログラムデ−タ2は、SCS
I規格のインタ−フェ−ス制御を実施するための機能を
実現するデ−タであり、IFプログラムデ−タ3は、所
定のプリンタインタ−フェ−スのインタ−フェ−ス制御
を実施するための機能を実現するデ−タである。
The data for programming the PLD is:
In this example, the IF program data 1,
It exists as 2 and 3 (see FIG. 4). This data also exists on the IC memory card 20. Further, the data is also accumulated on the computer of the center (not shown). The IF program data 1 is data that realizes a function for performing interface control of the RS-232C standard, and the IF program data 2 is SCS.
The IF program data 3 is the data for realizing the function for implementing the interface control of the I standard, and the IF program data 3 implements the interface control of a predetermined printer interface. Data for realizing the functions for

【0024】即ち、IFプログラムデ−タ1,IFプロ
グラムデ−タ2及びIFプログラムデ−タ3を使用して
PLDをプログラムすることによって、それぞれ、RS
−232C規格のインタ−フェ−ス制御装置,SCSI
規格のインタ−フェ−ス制御装置,及びプリンタインタ
−フェ−ス制御装置として、インタ−フェ−ス制御ユニ
ット10を構成しうる。これらのデ−タによってプログ
ラムされたPLD、即ちインタ−フェ−ス制御ユニット
10は、予めそれ専用に構成された従来の制御装置の場
合と同様に、入力デ−タバッファレジスタ,出力デ−タ
バッファレジスタ,プロトコル制御回路,クロックパル
ス分周回路等々の機能がそのハ−ドウェアとして形成さ
れる。
That is, by programming the PLD using the IF program data 1, IF program data 2 and IF program data 3, respectively, RS
-232C standard interface controller, SCSI
The interface control unit 10 can be configured as a standard interface control device and a printer interface control device. The PLD, or interface control unit 10, programmed with these data is similar to that of a conventional controller previously dedicated to it, and it has input data buffer registers and output data. Functions such as a buffer register, a protocol control circuit, and a clock pulse frequency dividing circuit are formed as its hardware.

【0025】ファクシミリ全体を制御するMPU40の
処理の内容を図2に示す。図2を参照して説明する。電
源がオンすると、まず初期化を実行する。そして次のス
テップ102で、コネクタ30に接続された所定の信号
ラインの信号レベルを調べ、それによって、ICメモリ
カ−ド20の装着の有無を識別する。
FIG. 2 shows the contents of the processing of the MPU 40 which controls the entire facsimile. This will be described with reference to FIG. When the power is turned on, initialization is first executed. Then, in the next step 102, the signal level of a predetermined signal line connected to the connector 30 is checked to identify whether the IC memory card 20 is attached or not.

【0026】ICメモリカ−ド20が装着されている場
合には、ステップ103を実行する。即ち、PLDをプ
ログラムモ−ドに設定し、ICメモリカ−ド20上に存
在するデ−タを読み込んで、それをPLDにプログラム
デ−タとして書込む。またICメモリカ−ド20が装着
されていない場合には、ステップ104を実行する。即
ち、PLDをプログラムモ−ドに設定し、ROM60上
に存在するIFプログラムデ−タ1を読み込んで、それ
をPLDにプログラムデ−タとして書込む。
If the IC memory card 20 is mounted, step 103 is executed. That is, the PLD is set in the program mode, the data existing on the IC memory card 20 is read, and the PLD is written as the program data. If the IC memory card 20 is not attached, step 104 is executed. That is, the PLD is set in the program mode, the IF program data 1 existing on the ROM 60 is read, and it is written in the PLD as the program data.

【0027】上記処理の後、次のステップ105の待機
処理を繰り返し実行する。即ち、電話回線からの着信の
有無を検出するための処理,操作ボ−ド70上の各キ−
に対する読取り処理,操作ボ−ド70上の各種表示器に
対する表示制御処理などを実行する。
After the above processing, the standby processing of the next step 105 is repeatedly executed. That is, each key on the processing and operation board 70 for detecting the presence or absence of an incoming call from the telephone line.
And a display control process for various displays on the operation board 70.

【0028】一部分が図3に示されるように、操作ボ−
ド70上には、様々なキ−スイッチが設けられている。
これらのうち、IFプログラムキ−K1は、ROM60
上に存在する3種類のIFプログラムデ−タの1つをユ
−ザ(オペレ−タ)が選択するために設けられている。
即ち、IFプログラムキ−K1の押下に続いて、テンキ
−の1,2及び3を押下した場合、それぞれ、IFプロ
グラムデ−タ1,2及び3が選択される。この場合、図
2のステップ108を通って110に進む。ステップ1
10では、選択されたIFプログラムデ−タをROM6
0上から読み込み、それをPLDにプログラムデ−タと
して書込む。
As shown in part in FIG.
Various key switches are provided on the door 70.
Of these, the IF program key K1 is stored in the ROM 60.
It is provided for the user (operator) to select one of the three types of IF program data existing above.
That is, if the numeric keypads 1, 2 and 3 are pressed after the IF program key K1 is pressed, the IF program data 1, 2 and 3 are respectively selected. In this case, go to 110 through step 108 of FIG. Step 1
In 10, the selected IF program data is stored in the ROM 6
Read from 0 and write it to PLD as program data.

【0029】待機処理の結果、ステップ106で着信が
検出されると、ステップ107でプログラムモ−ドか否
かを識別する。図3に示すIFオンラインキ−K2を押
下することによって、プログラムモ−ドのオン/オフを
交互に切換えることができる。プログラムモ−ドがオン
の時には、電話回線4からNCU55及びモデム50を
介して入力される情報を、ステップ108でRAM80
上にストアする。そして通信が終了した後、ステップ1
12を実行する。即ち、RAM80上にストアされたデ
−タを読み込んで、それをPLDにプログラムデ−タと
して書込む。
As a result of the standby processing, when an incoming call is detected in step 106, it is determined in step 107 whether it is in the program mode or not. By depressing the IF online key K2 shown in FIG. 3, it is possible to alternately switch the program mode on / off. When the program mode is on, the information input from the telephone line 4 via the NCU 55 and the modem 50 is transferred to the RAM 80 in step 108.
Store on top. Then, after communication is completed, step 1
Execute 12. That is, the data stored in the RAM 80 is read and written in the PLD as program data.

【0030】つまりこの実施例では、予め数種類用意さ
れたICメモリカ−ド20の1つを操作ボ−ド70の側
面に設けられた挿入口71(図3参照)から差し込んで
コネクタ30に装着した場合には、電源オン直後の初期
設定として、装着されたICメモリカ−ド20の種類に
応じたインタ−フェ−ス制御機能がPLDにプログラム
され、メモリカ−ド20を装着しない時には、ROM6
0上の初期値として予め選択されたIFプログラムデ−
タ1に対応するインタ−フェ−ス制御機能がPLDにプ
ログラムされ、待機処理中にオペレ−タが選択操作を実
施した場合には、その操作によって選択されたIFプロ
グラムデ−タ(1,2又は3)によってPLDが異なる
状態で再びプログラムされ、またセンタのコンピュ−タ
からプログラムのためのデ−タが送られてきた場合に
も、そのデ−タによってPLDが異なる状態で再びプロ
グラムされる。
That is, in this embodiment, one of the IC memory cards 20 prepared in advance is inserted into the connector 30 by inserting it from the insertion port 71 (see FIG. 3) provided on the side surface of the operation board 70. In this case, the interface control function according to the type of the mounted IC memory card 20 is programmed in the PLD as an initial setting immediately after the power is turned on, and when the memory card 20 is not mounted, the ROM 6
IF program data preselected as an initial value on 0
When the interface control function corresponding to the data 1 is programmed in the PLD and the operator performs a selection operation during the standby process, the IF program data (1, 2 selected by the operation is selected. Or 3), the PLD is reprogrammed in a different state, and also when data for programming is sent from the computer of the center, the PLD is reprogrammed in a different state by the data. .

【0031】なお上記実施例では、予めROM上に配置
された複数種類のデ−タのオペレ−タによる選択,装着
するICメモリカ−ド20の種類の選択,及びオンライ
ンでセンタから送信するデ−タの選択のいずれでもPL
Dのプログラムを変更しうるように構成してあるが、こ
れらのうちいずれか1つの手段があれば、様々な種類の
外部インタ−フェ−スにPLDの構造を適合させうる。
In the above embodiment, the operator selects a plurality of types of data stored in the ROM in advance, the type of the IC memory card 20 to be mounted, and the data transmitted from the center online. PL for any of the
Although the D program can be modified, any one of these means can adapt the PLD structure to various kinds of external interfaces.

【0032】また上記実施例ではPLDと呼ばれる分類
に属する集積回路をユ−ザプログラマブルロジックデバ
イスとして用いたが、カスタムICであるゲ−トアレイ
であっても、例えばスタティックRAMを搭載し、その
デ−タの内容によってハ−ドウェア構造がユ−ザにおい
てプログラム可能なものであれば、PLDの代わりに用
いることができる。
In the above embodiment, the integrated circuit belonging to the classification called PLD is used as the user programmable logic device, but even the gate array which is a custom IC is equipped with, for example, a static RAM and its data is stored. If the hardware structure is user programmable depending on the contents of the data, it can be used instead of the PLD.

【0033】なお、PLDに、紫外線によってメモリの
内容を消去する構造のものを採用してもよいが、その場
合には、紫外線ランプを装置に搭載し、それをMPUに
よってオン/オフ制御可能にし、デ−タ書き替えの際に
ランプを点灯して消去を実施し、その後で新しいデ−タ
の書込みを実施する必要がある。
The PLD may have a structure in which the contents of the memory are erased by ultraviolet rays, but in that case, an ultraviolet lamp is mounted on the device, and the on / off control can be performed by the MPU. During data rewriting, it is necessary to turn on a lamp to erase the data, and then write new data.

【0034】また、本発明はファクシミリに限らず、様
々な装置の外部インタ−フェ−スを制御するために利用
しうる。
Further, the present invention is not limited to the facsimile, but can be used to control the external interface of various devices.

【0035】[0035]

【発明の効果】以上のとおり第1番及び第4番の発明で
は、ICメモリカ−ドのような外部メモリ手段に、各々
のインタ−フェ−スに対応するプログラムデ−タを予め
記憶させておき、それを装置本体に装着することによっ
て、インタ−フェ−スを制御するユ−ザプログラマブル
ロジックデバイスの構造が、装着された外部メモリ手段
上のデ−タに従って設定される。従って、ICメモリカ
−ド等を交換するだけで、様々な種類の外部インタ−フ
ェ−スに対応しうる。
As described above, in the first and fourth inventions, the program data corresponding to each interface is stored in advance in the external memory means such as the IC memory card. Then, by mounting it on the apparatus main body, the structure of the user programmable logic device for controlling the interface is set according to the data on the mounted external memory means. Therefore, various types of external interfaces can be supported only by replacing the IC memory card or the like.

【0036】第2番及び第5番の発明では、例えばセン
タのコンピュ−タ上に全てのインタ−フェ−スの各々に
対応するプログラムデ−タを予め登録しておき、外部イ
ンタ−フェ−スの制御装置を、通信によってセンタのコ
ンピュ−タと接続し、適合するプログラムデ−タを受信
し、受信したデ−タによってユ−ザプログラマブルロジ
ックデバイスの構造を設定し、様々な種類の外部インタ
−フェ−スに対応しうる。
In the second and fifth inventions, for example, the program data corresponding to each of all the interfaces is registered in advance on the computer of the center, and the external interface is used. The controller of the computer is connected to the computer of the center by communication, receives the appropriate program data, and sets the structure of the user programmable logic device by the received data, and various types of external devices The interface can be supported.

【0037】第3番及び第6番の発明では、装置本体上
の固定メモリ手段に、全てのインタ−フェ−スの各々に
対応するプログラムデ−タを予め登録しておき、例えば
オペレ−タが所定のキ−操作を実施すると、その入力指
示によって選択された1組のプログラムデ−タが固定メ
モリ手段から読み込まれ、そのデ−タによってユ−ザプ
ログラマブルロジックデバイスの構造が設定されるの
で、様々な種類の外部インタ−フェ−スに対応しうる。
In the third and sixth inventions, the program data corresponding to each of all the interfaces is registered in advance in the fixed memory means on the main body of the apparatus, for example, the operator. When a predetermined key operation is performed, a set of program data selected by the input instruction is read from the fixed memory means, and the data sets the structure of the user programmable logic device. , It can support various types of external interfaces.

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

【図1】 実施例の装置の構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing a configuration of an apparatus according to an embodiment.

【図2】 図1のMPUの動作を示すフロ−チャ−トで
ある。
FIG. 2 is a flowchart showing the operation of the MPU of FIG.

【図3】 図1の操作ボ−ドの外観の一部分を示す平面
図である。
FIG. 3 is a plan view showing a part of the appearance of the operation board of FIG.

【図4】 図1のROMの内容を示すメモリマップであ
る。
FIG. 4 is a memory map showing the contents of the ROM of FIG.

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

1:ファクシミリエンジン 2:イメ−ジスキャ
ナ 3:記録ユニット 4:電話回線 5:システムバス 10:インタ−フェ
−ス制御ユニット 11:双方向バッファ 12,13,14,
30:コネクタ 20:ICメモリカ−ド 40:マイクロプロ
セッサ(MPU) 50:モデム 55:NCU 60:ROM 70:操作ボ−ド 80:RAM
1: Facsimile engine 2: Image scanner 3: Recording unit 4: Telephone line 5: System bus 10: Interface control unit 11: Bidirectional buffer 12, 13, 14,
30: Connector 20: IC memory card 40: Microprocessor (MPU) 50: Modem 55: NCU 60: ROM 70: Operation board 80: RAM

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 装置本体に接続される複数種類の外部イ
ンタ−フェ−スの制御方法において、装置本体が初期状
態の時に、脱着自在な外部メモリの装着の有無を識別
し、該外部メモリが装着されていると、該外部メモリ上
に記憶されたデ−タを読み込み、そのデ−タに基づいて
装置本体上に設置されたユ−ザプログラマブルロジック
デバイスの構成を設定し、その後、該ユ−ザプログラマ
ブルロジックデバイスを使用して接続された外部インタ
−フェ−スを制御する、外部インタ−フェ−スの制御方
法。
1. A method of controlling a plurality of types of external interfaces connected to an apparatus body, wherein when the apparatus body is in an initial state, whether or not a removable external memory is attached is identified, and the external memory is When installed, it reads the data stored in the external memory, sets the configuration of the user programmable logic device installed on the main body of the device based on the data, and then sets the user programmable logic device. A method of controlling an external interface, which controls the external interface connected using the programmable logic device.
【請求項2】 装置本体に接続される複数種類の外部イ
ンタ−フェ−スの制御方法において、所定の指令があっ
た時に、通信回線から入力されるデ−タを受信し、受信
したデ−タに基づいて装置本体上に設置されたユ−ザプ
ログラマブルロジックデバイスの構成を設定し、その
後、該ユ−ザプログラマブルロジックデバイスを使用し
て接続された外部インタ−フェ−スを制御する、外部イ
ンタ−フェ−スの制御方法。
2. A method for controlling a plurality of types of external interfaces connected to a main body of an apparatus, wherein when a predetermined command is given, data input from a communication line is received and the received data is received. An external device that sets the configuration of a user programmable logic device installed on the apparatus main body based on the computer, and then controls an external interface connected using the user programmable logic device. Interface control method.
【請求項3】 装置本体に接続される複数種類の外部イ
ンタ−フェ−スの制御方法において、各々の外部インタ
−フェ−スに対応付けられた複数組のプログラム用デ−
タを予め装置本体上に保持しておき、所定の入力操作に
応答して、前記複数組のプログラム用デ−タのうちの1
組を選択し、選択されたデ−タに基づいて、装置本体上
に設置されたユ−ザプログラマブルロジックデバイスの
構成を設定し、その後、該ユ−ザプログラマブルロジッ
クデバイスを使用して接続された外部インタ−フェ−ス
を制御する、外部インタ−フェ−スの制御方法。
3. A method for controlling a plurality of types of external interfaces connected to the apparatus body, wherein a plurality of sets of program data associated with each external interface are provided.
Data is held in advance on the main body of the apparatus, and in response to a predetermined input operation, one of the plurality of sets of program data is set.
A set is selected, the configuration of the user programmable logic device installed on the main body of the apparatus is set based on the selected data, and then connected using the user programmable logic device. A method for controlling an external interface for controlling the external interface.
【請求項4】 ユ−ザプログラマブルロジックデバイス
が組込まれた外部インタ−フェ−ス制御手段;所定のデ
−タを保持する外部メモリ手段;該外部メモリ手段を脱
着自在に装置本体に保持する接続手段;及び前記外部メ
モリ手段の装着の有無を識別し、外部メモリ手段が装着
されていると、それのデ−タを読込んで、そのデ−タを
前記ユ−ザプログラマブルロジックデバイスに設定する
切換制御手段;を備える、外部インタ−フェ−スの制御
装置。
4. An external interface control means incorporating a user programmable logic device; an external memory means for holding predetermined data; a connection for removably holding the external memory means in the apparatus main body. Switching means for identifying whether or not the external memory means is mounted, and reading the data of the external memory means when the external memory means is mounted, and setting the data in the user programmable logic device. A control device for the external interface, comprising a control means.
【請求項5】 ユ−ザプログラマブルロジックデバイス
が組込まれた外部インタ−フェ−ス制御手段;所定の通
信回線からのデ−タを受信する通信手段;及び所定の指
示があると、前記通信手段から入力されるデ−タを読込
み、該デ−タを前記ユ−ザプログラマブルロジックデバ
イスに設定する切換制御手段;を備える、外部インタ−
フェ−スの制御装置。
5. An external interface control means in which a user programmable logic device is incorporated; a communication means for receiving data from a predetermined communication line; and a communication means when a predetermined instruction is given. An external interface for reading the data input from the switch and setting the data in the user programmable logic device.
Face control device.
【請求項6】 ユ−ザプログラマブルロジックデバイス
が組込まれた外部インタ−フェ−ス制御手段;複数種類
の外部インタ−フェ−スの各々に対応付けられた複数組
のプログラム用デ−タを予め保持する固定メモリ手段;
選択指示を与える入力手段;及び該入力手段から所定の
選択指示があると、それに応じて前記固定メモリ手段上
の1組のプログラムデ−タを選択し、選択されたデ−タ
を読込み、該デ−タを前記ユ−ザプログラマブルロジッ
クデバイスに設定する切換制御手段;を備える、外部イ
ンタ−フェ−スの制御装置。
6. An external interface control means incorporating a user programmable logic device; a plurality of sets of program data associated with each of a plurality of types of external interfaces in advance. Fixed memory means for holding;
Input means for giving a selection instruction; and, when a predetermined selection instruction is given from the input means, a set of program data on the fixed memory means is selected in response thereto, and the selected data is read. A control device for an external interface, comprising switching control means for setting data in the user programmable logic device.
JP4163292A 1992-06-23 1992-06-23 Method and device for controlling external interface Pending JPH064191A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4163292A JPH064191A (en) 1992-06-23 1992-06-23 Method and device for controlling external interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4163292A JPH064191A (en) 1992-06-23 1992-06-23 Method and device for controlling external interface

Publications (1)

Publication Number Publication Date
JPH064191A true JPH064191A (en) 1994-01-14

Family

ID=15771057

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4163292A Pending JPH064191A (en) 1992-06-23 1992-06-23 Method and device for controlling external interface

Country Status (1)

Country Link
JP (1) JPH064191A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7500025B2 (en) 2004-03-25 2009-03-03 Kabushiki Kaisha Toshiba Electronic apparatus and method of controlling a memory unit connected to the same
US10949634B2 (en) 2005-06-03 2021-03-16 Hand Held Products, Inc. Apparatus having hybrid monochrome and color image sensor array
US11317050B2 (en) 2005-03-11 2022-04-26 Hand Held Products, Inc. Image reader comprising CMOS based image sensor array
US12020111B2 (en) 2022-10-28 2024-06-25 Hand Held Products, Inc. Apparatus having hybrid monochrome and color image sensor array

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8028102B2 (en) 2004-03-25 2011-09-27 Kabushiki Kaisha Toshiba Electronic apparatus and method of controlling a memory unit connected to the same
US7500025B2 (en) 2004-03-25 2009-03-03 Kabushiki Kaisha Toshiba Electronic apparatus and method of controlling a memory unit connected to the same
US11323650B2 (en) 2005-03-11 2022-05-03 Hand Held Products, Inc. Image reader comprising CMOS based image sensor array
US11968464B2 (en) 2005-03-11 2024-04-23 Hand Held Products, Inc. Image reader comprising CMOS based image sensor array
US11863897B2 (en) 2005-03-11 2024-01-02 Hand Held Products, Inc. Image reader comprising CMOS based image sensor array
US11317050B2 (en) 2005-03-11 2022-04-26 Hand Held Products, Inc. Image reader comprising CMOS based image sensor array
US11323649B2 (en) 2005-03-11 2022-05-03 Hand Held Products, Inc. Image reader comprising CMOS based image sensor array
US11238252B2 (en) 2005-06-03 2022-02-01 Hand Held Products, Inc. Apparatus having hybrid monochrome and color image sensor array
US11604933B2 (en) 2005-06-03 2023-03-14 Hand Held Products, Inc. Apparatus having hybrid monochrome and color image sensor array
US11625550B2 (en) 2005-06-03 2023-04-11 Hand Held Products, Inc. Apparatus having hybrid monochrome and color image sensor array
US11238251B2 (en) 2005-06-03 2022-02-01 Hand Held Products, Inc. Apparatus having hybrid monochrome and color image sensor array
US10949634B2 (en) 2005-06-03 2021-03-16 Hand Held Products, Inc. Apparatus having hybrid monochrome and color image sensor array
US12001913B2 (en) 2005-06-03 2024-06-04 Hand Held Products, Inc. Apparatus having hybrid monochrome and color image sensor array
US12001914B2 (en) 2005-06-03 2024-06-04 Hand Held Products, Inc. Apparatus having hybrid monochrome and color image sensor array
US12020111B2 (en) 2022-10-28 2024-06-25 Hand Held Products, Inc. Apparatus having hybrid monochrome and color image sensor array

Similar Documents

Publication Publication Date Title
EP0496535B1 (en) Automatic device configuration for dockable computers
US6237091B1 (en) Method of updating firmware without affecting initialization information
JPH05327582A (en) Program memory rewrite system for portable telephone set
JPH0764770A (en) Microcontroller apparatus provided with remotely writable eprom and writing method
US5469554A (en) Detecting the presence of a device on a computer system bus by altering the bus termination
GB2214338A (en) Printer with automatic memory initializing function
JPH0559457B2 (en)
JPH064191A (en) Method and device for controlling external interface
JPS60232978A (en) Printer
JPH0939212A (en) Controller for printing machine
US7287098B2 (en) Control method and electronic device enabling recognition of functions installed in the electronic device
US5630167A (en) Electronic apparatus having a plurality of connectors each connecting one of a plurality of kinds of cards
JPH0567028A (en) Information processor
US6178003B1 (en) Method of and apparatus for transmitting printer control file to printer
US5987534A (en) Radio selective paging receiver provided with an I/O memory card which can be easily upgraded to include new attributes
JP4042940B2 (en) Microcontroller with on-chip programming function
JPH02294757A (en) Input/output apparatus
JPH05324305A (en) Program change method
JPH08167013A (en) Ic card
JPH07193860A (en) Portable terminal equipment having program memory
KR960009050Y1 (en) Circuit for selecting floppy disk driver of computer
JP2792491B2 (en) Emulation device
KR960001245B1 (en) Firmware programming apparatus using general purpose circuit
JPH11175345A (en) Programmable controller
JPH0363777A (en) Microcomputer device