JP3025870U - Peripheral device connector - Google Patents

Peripheral device connector

Info

Publication number
JP3025870U
JP3025870U JP1995010212U JP1021295U JP3025870U JP 3025870 U JP3025870 U JP 3025870U JP 1995010212 U JP1995010212 U JP 1995010212U JP 1021295 U JP1021295 U JP 1021295U JP 3025870 U JP3025870 U JP 3025870U
Authority
JP
Japan
Prior art keywords
pin
connector
peripheral device
data
pins
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 - Lifetime
Application number
JP1995010212U
Other languages
Japanese (ja)
Inventor
直樹 新妻
泰久 川瀬
昌弘 小泉
元 池部
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.)
Sega Corp
Original Assignee
Sega Corp
Sega Games 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 Sega Corp, Sega Games Co Ltd filed Critical Sega Corp
Priority to JP1995010212U priority Critical patent/JP3025870U/en
Application granted granted Critical
Publication of JP3025870U publication Critical patent/JP3025870U/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)

Abstract

(57)【要約】 【課題】 周辺機器の通信方式を処理装置で判断するた
めに必要な情報を処理装置に効率良く、かつ迅速に与え
ることができるピン配列を有するプラグを備え、常に周
辺機器に固有の通信方式で処理装置と周辺機器との間に
おいて円滑な通信を行うことができるようにした周辺機
器用コネクタを提供する。 【解決手段】 処理装置に周辺機器を接続するために使
用されるコネクタである。このコネクタは処理装置のソ
ケットコネクタに着脱自在に接続されるプラグコネクタ
を有する。このプラグコネクタはソケットの9個のピン
にそれぞれ接触する1列に配列された9個のコネクタピ
ンを有し、1番ピンには電源電位が、9番ピンには接地
電位がそれぞれ処理装置から供給され、4番ピン及び5
番ピンには処理装置から制御信号が供給され、2番ピ
ン、3番ピン、7番ピン及び8番ピンの少なくとも一つ
を通して周辺機器の通信方式に応じたデータ信号が処理
装置に供給される。
(57) Abstract: A peripheral device is always provided with a plug having a pin array that can efficiently and quickly provide the processing device with information necessary for determining the communication system of the peripheral device by the processing device. There is provided a peripheral device connector capable of smoothly communicating between a processing device and a peripheral device by a communication system unique to the above. A connector used to connect a peripheral device to a processing device. This connector has a plug connector that is detachably connected to a socket connector of the processing apparatus. This plug connector has 9 connector pins arranged in a row that are in contact with the 9 pins of the socket respectively, and pin 1 is the power supply potential and pin 9 is the ground potential from the processor. Supplied, pin 4 and 5
A control signal is supplied to the No. pin from the processing device, and a data signal corresponding to the communication system of the peripheral device is supplied to the processing device through at least one of the second pin, the third pin, the seventh pin and the eighth pin. .

Description

【考案の詳細な説明】[Detailed description of the device]

【0001】[0001]

【考案が属する技術分野】[Technical field to which the device belongs]

本考案は、画像処理等の処理装置に周辺機器を接続するためのコネクタに関す るものである。 The present invention relates to a connector for connecting a peripheral device to a processing device such as an image processing device.

【0002】[0002]

【従来の技術】[Prior art]

一般に、画像処理装置は、時間の経過に伴って変化する映像をテレビジョン受 像機(以下、「モニタ」という。)等のディスプレイ上に表示する装置として知 られており、その代表的なものの一つとして、ゲーム機が知られている。 Generally, an image processing apparatus is known as an apparatus for displaying an image that changes with the passage of time on a display such as a television receiver (hereinafter, referred to as “monitor”), and a typical one of them is shown. As one, a game machine is known.

【0003】 このゲーム機は、基本的な構成要素として、主に画像処理等を実行するととも に、周辺機器の制御等の各種処理を実行するゲ−ム機本体(ゲーム装置)と、ゲ −ム機本体に電気的に接続された周辺機器としての操作盤とから構成される。周 辺機器はペリフェラルとも呼ばれる。This game machine has, as basic components, a game machine main body (game device) that mainly executes image processing and the like, and also executes various processing such as control of peripheral devices, and a game machine. It is composed of an operation panel as a peripheral device electrically connected to the main body of the machine. Peripheral devices are also called peripherals.

【0004】 モニタを接続したゲ−ム機本体を動作させると、ゲーム展開の画像をモニタの スクリーンに表示し、かつゲーム展開に相応しい音響をモニタのスピーカから再 生して、所望のゲームを行うことができる。When the game machine main body to which a monitor is connected is operated, an image of the game development is displayed on the screen of the monitor, and a sound suitable for the game development is reproduced from the speaker of the monitor to play the desired game. be able to.

【0005】 この種のゲーム機では、多種多様のゲーム内容を実現する必要があることから 、各種の周辺機器がゲ−ム機本体に接続される。周辺機器はゲ−ム機本体に所望 のデータを入力したり、あるいはゲ−ム機本体からのデータを受け取ってこれを 表示するなどの機能を担うデバイスである。In this type of game machine, since it is necessary to realize a wide variety of game contents, various peripheral devices are connected to the game machine body. Peripheral devices are devices that perform functions such as inputting desired data to the main body of the game machine or receiving and displaying data from the main body of the game machine.

【0006】 周辺機器とゲ−ム機本体との間には種々のインターフェースが設けられている が、周辺機器の種類や機種毎にゲ−ム機本体と周辺機器との間の通信方式が異な ることがあるため、ゲ−ム機本体は周辺機器の種類や機種に関する情報(周辺機 器識別データ)を得ておく必要がある。Various interfaces are provided between the peripheral device and the main body of the game machine, but the communication method between the main body of the game machine and the peripheral device is different depending on the type and model of the peripheral device. Therefore, it is necessary for the main body of the game machine to obtain information (peripheral equipment identification data) regarding the type and model of peripheral equipment.

【0007】 ゲ−ム機本体がこれに接続されている周辺機器の種類や機種を認識する従来法 として、ゲ−ム機本体より論理“1”の機器セレクト信号を周辺機器に与えたと きに当該周辺機器のデータ用信号線から得られる論理値と、ゲ−ム機本体から論 理“0”の機器セレクト信号を周辺機器に与えたときに当該周辺機器のデータ用 信号線から得られる論理値とを基にして周辺機器の種類や機種を判別するという 方法が提案されている(例えば特開平2−62618号公報参照)。As a conventional method in which the main body of the game machine recognizes the type and model of the peripheral device connected to the main body of the game machine, when a device select signal of logic “1” is given to the peripheral device from the main body of the game machine. The logic value obtained from the data signal line of the peripheral device and the logic value obtained from the data signal line of the peripheral device when the device select signal of logic "0" is given from the game machine body to the peripheral device. A method has been proposed in which the type and model of the peripheral device is determined based on the value (see, for example, Japanese Patent Laid-Open No. 2-62618).

【0008】[0008]

【考案が解決しようとする課題】[Problems to be solved by the device]

しかしながら、上述した従来の判別方法にあっては、データ用信号線から得ら れる論理値に応じて周辺機器の種類や機種のみを判別するだけであって、周辺機 器の通信方式自体を判定することまでは考慮していないから、周辺機器との間の データの伝送あるいは周辺機器の制御を、周辺機器に最適な通信方式で行うこと ができないこともあるという問題があった。 However, in the above-mentioned conventional determination method, only the type and model of the peripheral device is determined according to the logical value obtained from the data signal line, and the communication method itself of the peripheral device is determined. However, there is a problem in that it may not be possible to perform data transmission with the peripheral device or control of the peripheral device by a communication method optimal for the peripheral device.

【0009】 そこで、本考案は、このような問題を解決するために、周辺機器の通信方式を 処理装置で判断するために必要な情報を処理装置に効率良く、かつ迅速に与える ことができるピン配列を有するプラグを備え、常に周辺機器に固有の通信方式で 処理装置と周辺機器との間において円滑な通信を行うことができるようにした周 辺機器用コネクタを提供することを目的とする。Therefore, in order to solve such a problem, the present invention provides a pin capable of efficiently and promptly providing the processing device with information necessary for the processing device to determine the communication method of the peripheral device. It is an object of the present invention to provide a peripheral device connector that includes a plug having an array and is capable of performing smooth communication between a processing device and a peripheral device by a communication method unique to the peripheral device.

【0010】[0010]

【課題を解決するための手段】[Means for Solving the Problems]

このような目的を達成するために、請求項1記載の考案は、処理装置に周辺機 器を接続するためのコネクタであって、このコネクタは処理装置のソケットコネ クタに着脱自在に接続されるプラグコネクタを有し、このプラグコネクタは前記 ソケットの9個のピンにそれぞれ接触する1列に配列された9個のコネクタピン を有し、このコネクタピンの内の1番ピンには電源電位が、9番ピンには接地電 位がそれぞれ処理装置から供給され、4番ピン及び5番ピンには処理装置から制 御信号が供給され、2番ピン、3番ピン、7番ピン及び8番ピンの少なくとも一 つを通して周辺機器の通信方式に応じたデータ信号が処理装置に供給される如く 構成されたことを特徴とする。 In order to achieve such an object, a device according to claim 1 is a connector for connecting a peripheral device to a processing device, the connector being detachably connected to a socket connector of the processing device. There is a plug connector, and this plug connector has nine connector pins arranged in a row that respectively come into contact with the nine pins of the socket. Of these connector pins, the first pin has a power supply potential. The ground potential is supplied to the 9th and 9th pins from the processor, the control signal is supplied to the 4th and 5th pins from the processor, and the 2nd pin, 3rd pin, 7th pin and 8th pin are supplied. The data signal according to the communication system of the peripheral device is supplied to the processing device through at least one of the pins.

【0011】 請求項2記載の周辺機器用コネクタは、6番ピンを通して制御信号を、2番ピ ン、3番ピン、7番ピン及び8番ピンを通して3線ハンドシェイク通信方式のデ ータ信号を発生する周辺機器に接続して使用されることを特徴とする。According to a second aspect of the present invention, in the peripheral device connector, the control signal is transmitted through the 6th pin, and the data signal of the 3-wire handshake communication system is transmitted through the 2nd pin, the 3rd pin, the 7th pin and the 8th pin. It is characterized in that it is used by connecting to a peripheral device that generates.

【0012】 請求項3記載の周辺機器用コネクタは、6番ピンが5番ピンと同電位に接続さ れている状態において、2番ピン、3番ピン、7番ピン及び8番ピンを通してク ロックドパラレル通信方式のデータを発生する周辺機器に接続して使用されるこ とを特徴とする。According to a third aspect of the present invention, in the peripheral device connector, the pin 6 is connected to the pin 5 at the same potential as the pin 5, and the clock is passed through the pin 2, the pin 3, the pin 7 and the pin 8. It is characterized in that it is used by connecting to a peripheral device that generates data in the deparallel communication system.

【0013】 請求項4記載の周辺機器用コネクタは、2番ピンが1番ピンと同電位に接続さ れ、6番ピン乃至8番ピンが9番ピンと同電位に接続されている状態において、 3番ピンを通してクロックドシリアルル通信方式のデータを発生する周辺機器に 接続して使用されることを特徴とする請求項1記載の周辺に接続して使用される ことを特徴とする。According to a fourth aspect of the present invention, in the peripheral device connector, the second pin is connected to the same potential as the first pin, and the sixth pin to the eighth pin are connected to the same potential as the ninth pin. It is used by connecting to a peripheral device which generates data of the clocked serial communication system through the pin No. 2, and is used by being connected to the peripheral device according to claim 1.

【0014】 さらに、請求項5記載の周辺機器用コネクタは、4番ピン及び5番ピンを通し て2ビットのデータセレクト信号を必要とする周辺機器に接続して使用されるこ とを特徴とする。Further, the peripheral device connector according to claim 5 is used by connecting to a peripheral device which requires a 2-bit data select signal through pins 4 and 5. To do.

【0015】 さらに、請求項6記載の周辺機器コネクタは、処理装置のソケットコネクタに 着脱自在に接続されるプラグコネクタを有し、このプラグコネクタは前記ソケッ トの9個のピンにそれぞれ接触する1列に配列された9個のコネクタピンを有し 、このコネクタピンの内の1番ピンには電源電位が、9番ピンには接地電位がそ れぞれ処理装置から供給され、2番ピンが1番ピンに同電位に接続され、6番ピ ン乃至8番ピンが9番ピンと同電位に接続されており、1番ピンあるいは2番ピ ンのいずれかに1本のケーブルが、6番ピン乃至9番ピンのいずれかに1本のケ ーブルが、そして3番ピン乃至5番ピンにそれぞれケーブルが接続されており、 4番ピン及び5番ピンを通して制御信号が伝送され、3番ピンを通してクロック ドシリアル通信方式のデータが周辺機器から処理装置に供給される如く構成され たピン配列のコネクタプラグを有することを特徴とする。Further, the peripheral device connector according to claim 6 has a plug connector which is detachably connected to a socket connector of the processing device, and the plug connector contacts the nine pins of the socket, respectively. It has 9 connector pins arranged in rows. Of these connector pins, the power supply potential is supplied to pin 1 and the ground potential is supplied to pin 9 from the processor, respectively, and pin 2 is supplied. Is connected to pin 1 at the same potential, pins 6 to 8 are connected to pin 9 at the same potential, and one cable for either pin 1 or pin 6 One cable is connected to any of Pins 9 to 9, and a cable is connected to Pins 3 to 5, respectively, and control signals are transmitted through Pins 4 and 5 and Pin 3 is used. Clocked through pins It is characterized by having a connector plug having a pin array configured so that data of a serial communication system is supplied from a peripheral device to a processing device.

【0016】 各種の周辺器機に採用されている通信方式には、3線ハンドシェイク通信方式 、クロックドパラレル通信方式、クロックドシリアル通信方式などがある。また 、後述のように、4番ピンと5番ピンを通して2ビットのデータセレクト信号を 必要とするTH,TRセレクション通信方式がある。Communication methods adopted in various peripheral devices include a three-wire handshake communication method, a clocked parallel communication method, and a clocked serial communication method. Further, as will be described later, there is a TH / TR selection communication system that requires a 2-bit data select signal through pins 4 and 5.

【0017】 3線ハンドシェイク通信方式を採用する周辺機器にあっては、周辺機器選択用 の機器セレクト信号線、データ要求用のデータリクエスト信号線、周辺機器から の応答を表す周辺機器応答信号線、パラレルデータ伝送用の複数のデータ信号線 を必要とするので、周辺機器のプラグコネクタのピンの全てを独立して使用する 必要がある。TH,TRセレクション通信方式を採用する周辺機器にあっては、 2本のデータセレクト用信号線を必要とし、3線ハンドシェイク通信方式と同様 なプラグコネクタのピン配列構造を備える。In the peripheral device adopting the 3-wire handshake communication system, a device select signal line for selecting a peripheral device, a data request signal line for requesting data, and a peripheral device response signal line for indicating a response from the peripheral device. Since multiple data signal lines for parallel data transmission are required, it is necessary to use all the pins of the peripheral device plug connector independently. Peripheral devices that use the TH and TR selection communication methods require two data selection signal lines and have the same pin arrangement structure of the plug connector as the three-wire handshake communication method.

【0018】 クロックドパラレル通信方式を採用する周辺機器にあっては、上述した複数の 信号線のうちのデータリクエスト信号線および周辺機器応答信号線を短絡して使 用することができる。さらに、クロックドシリアル通信方式を採用する周辺機器 にあっては、周辺機器セレクト信号線、データリクエスト信号(例えば、クロッ ク信号)線、シリアルデータ伝送用の1本のデータ信号線のみでよい。In the peripheral device adopting the clocked parallel communication system, the data request signal line and the peripheral device response signal line of the plurality of signal lines described above can be used by being short-circuited. Further, in the peripheral equipment adopting the clocked serial communication system, only the peripheral equipment select signal line, the data request signal (for example, clock signal) line, and one data signal line for serial data transmission are required.

【0019】 すなわち、処理装置と周辺機器とを接続するめのコネクタのプラグにおいて使 用されるピンの数及び位置は通信方式に拠り変わるので、本考案はこのことに着 目したものである。That is, the present invention is directed to this because the number and position of the pins used in the plug of the connector for connecting the processing device and the peripheral device depend on the communication system.

【0020】 本考案は、処理装置とその周辺機器との間の通信に必要な周辺機器用コネクタ のプラグにおけるピン数及び位置と、その論理値との関係を定め、通信方式を判 定するのに必要な論理値を処理装置側に効率良く伝送できるように周辺機器用コ ネクタのプラグのコネクタピンを配列した。すなわち、周辺機器用コネクタのプ ラグのコネクタピンを請求項1記載のように配列した。The present invention determines the communication method by determining the relationship between the number of pins and the position in the plug of the peripheral device connector required for communication between the processing device and its peripheral device and its logical value. The connector pins of the peripheral device connector plugs are arranged so that the required logic values can be efficiently transmitted to the processor. That is, the connector pins of the plug of the peripheral device connector are arranged as described in claim 1.

【0021】 そして、この周辺機器用コネクタが、3線ハンドシェーク通信方式、クロック ドパラレル通信方式、クロックドシリアル通信方式、そしてTH・TRセレクシ ョン通信方式の各方式のデータを発生する周辺機器にそれぞれ接続されることに より、処理装置本体が周辺機器の通信方式を迅速に判断できるようにし、そして 、周辺機器に固有の通信方式の基で、周辺機器との間において円滑な通信が行な われるようにした。[0021] The peripheral device connector is used as a peripheral device that generates data for each of the three-wire handshake communication system, the clocked parallel communication system, the clocked serial communication system, and the TH / TR selection communication system. By being connected, the processing device itself can quickly determine the communication method of the peripheral device, and smooth communication with the peripheral device is performed based on the communication method unique to the peripheral device. I did it.

【0022】[0022]

【考案の実施の形態】[Embodiment of device]

以下、本考案の一実施例を図面に基づいて説明する。図1は本考案が適用され るゲーム機1の外観図である。ゲーム機1は処理装置本体2と、周辺機器として の2つの操作盤3a,3bとを備えている。処理装置2は周辺機器を接続するた めのコネクタポート4a,4bを備える。処理装置のコネクタポートにソケット コネクタ4as,4bsを設けてある。このソケットコネクタ4as,4bsに は、一端が周辺機器に接続されたケーブル5a,5bの他端に設けてあるプラグ コネクタ4ap,4bpがそれぞれ着脱できるようになっている。 An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is an external view of a game machine 1 to which the present invention is applied. The game machine 1 includes a processing device body 2 and two operation panels 3a and 3b as peripheral devices. The processing device 2 has connector ports 4a and 4b for connecting peripheral devices. Socket connectors 4as and 4bs are provided at the connector ports of the processing apparatus. Plug connectors 4ap and 4bp provided at the other ends of the cables 5a and 5b, one ends of which are connected to peripheral devices, can be attached to and detached from the socket connectors 4as and 4bs, respectively.

【0023】 プラグコネクタ4ap,4bpにはケーブル5a,5bを介して操作盤3a, 3bがそれぞれ接続されている。ソケットコネクタ4as,4bsにプラグコネ クタ4ap,4bpをそれぞれ挿入すると、操作盤3a,3bはケーブル5a, 5bを介して処理装置本体2の内部回路に接続される。Operation panels 3a and 3b are connected to the plug connectors 4ap and 4bp via cables 5a and 5b, respectively. When the plug connectors 4ap and 4bp are inserted into the socket connectors 4as and 4bs, respectively, the operation panels 3a and 3b are connected to the internal circuit of the processing apparatus main body 2 via the cables 5a and 5b.

【0024】 処理装置本体2には、図示しないが、ビデオ出力端子と、音響出力端子とが設 けられている。ビデオ出力端子とテレビジョン受像機(モニタ)6のビデオ入力 端子7aはケーブル8aにより相互に接続されている。音響出力端子とモニタ6 の音響入力端子7bはケーブル8bにより相互に接続されている。Although not shown, the processing device main body 2 is provided with a video output terminal and an audio output terminal. The video output terminal and the video input terminal 7a of the television receiver (monitor) 6 are connected to each other by a cable 8a. The sound output terminal and the sound input terminal 7b of the monitor 6 are connected to each other by a cable 8b.

【0025】 また、処理装置本体2には、CD−ROMドライブ9が設けられている。この CD−ROMドライブ9の図示後方には、ROMカセット等(図示せず)を挿入 するカートリッジ接続部10が設けられている。A CD-ROM drive 9 is provided in the processing device body 2. A cartridge connecting portion 10 into which a ROM cassette or the like (not shown) is inserted is provided behind the CD-ROM drive 9 in the drawing.

【0026】 処理装置本体2は、画像処理及び音響処理のほか、周辺機器の制御など、各種 処理を実行する。操作盤3a,3bは、操作信号を処理装置本体2に与える。さ らに、処理装置本体2で形成した映像信号及び音響信号は、ケーブル8a及びケ ーブル8bを介してモニタ6にそれぞれ与えられる。The processing device main body 2 executes various processes such as control of peripheral devices in addition to image processing and sound processing. The operation panels 3a and 3b provide operation signals to the processing device body 2. Furthermore, the video signal and the audio signal formed by the processing device main body 2 are given to the monitor 6 via the cable 8a and the cable 8b, respectively.

【0027】 図2は、ゲーム機1の処理装置本体2の構成例を示すブロック図である。同図 において処理装置本体2は、大別して、処理ブロック11、ビデオブロック12 、音響ブロック13、及び補助ブロック14を備えている。また、カートリッジ 接続部10にはカートリッジインターフェース(カートリッジI/F)15が設 けられており、補助ブロック14にはコンパクトディスクインターフェース(C DI/F)16が設けられている。FIG. 2 is a block diagram showing a configuration example of the processing device main body 2 of the game machine 1. In the figure, the processing apparatus main body 2 is roughly divided into a processing block 11, a video block 12, an audio block 13, and an auxiliary block 14. A cartridge interface (cartridge I / F) 15 is provided in the cartridge connecting section 10, and a compact disc interface (CD I / F) 16 is provided in the auxiliary block 14.

【0028】 処理ブロック11は、メイン処理装置(CPU)21、RAM22、ROM2 3、システムコントロールユニット24、及びサブCPU25を備える。メイン CPU21には、バスライン26を介してRAM22、ROM23、システムコ ントロールユニット24、及びサブCPU25が接続されている。The processing block 11 includes a main processing unit (CPU) 21, a RAM 22, a ROM 23, a system control unit 24, and a sub CPU 25. A RAM 22, a ROM 23, a system control unit 24, and a sub CPU 25 are connected to the main CPU 21 via a bus line 26.

【0029】 またメインCPU21には、バスライン26、システムコントロールユニット 24、及びバスライン17を介してビデオブロック12、音響ブロック13、カ ートリッジI/F15、及びCDI/F16が接続されている。補助ブロック1 4のCDI/F16には、CD−ROMドライブ9が接続されている。The main CPU 21 is also connected to the video block 12, the sound block 13, the cartridge I / F 15, and the CD I / F 16 via a bus line 26, a system control unit 24, and a bus line 17. A CD-ROM drive 9 is connected to the CD I / F 16 of the auxiliary block 14.

【0030】 メインCPU21は、このシステム全体のコントロールを担うもので、デジタ ルシグナルプロセッサ(DSP)と同等の演算器を備えており、演算能力の向上 を図っている。The main CPU 21 is responsible for the control of the entire system, is equipped with an arithmetic unit equivalent to a digital signal processor (DSP), and improves the arithmetic capacity.

【0031】 RAM22は全体で例えば32Mビットの領域を持ち、メインCPU21に例 えば16Mビットの領域を割当てている。RAM22の他の領域はビデオブロッ ク12及び音響ブロック13用に割当られている。ROM23にはハードウエア のイニシャルプログラム、ROMカセット及びCD−ROM用のイニシャルプロ グラムが記憶されている。The RAM 22 has a 32 Mbit area as a whole, and a 16 Mbit area is allocated to the main CPU 21, for example. The other area of the RAM 22 is allocated for the video block 12 and the sound block 13. The ROM 23 stores an initial program for hardware, a ROM cassette, and an initial program for a CD-ROM.

【0032】 システムコントロールユニット24は、メインCPU21のコ・プロセッサの 役割を担っており、ビデオブロック12、音響ブロック13及び補助ブロック1 4と、メインCPU21との間のインターフェース機能を円滑に実行する。The system control unit 24 plays a role of a co-processor of the main CPU 21, and smoothly executes an interface function between the main CPU 21 and the video block 12, the audio block 13, and the auxiliary block 14.

【0033】 サブCPU25は、パワーオン時やリセットボタンの押下時に、システム全体 をリセットし、かつ周辺機器(ここでは操作盤3a(3b)、ケーブル5a(5 b)、及びプラグコネクタ4ap(4bp)からなる。)のデータ収集を行なう とともに、周辺機器の制御を行なう。また、サブCPU25はシステム全体のク ロック周波数の変更を行なうことができる。The sub CPU 25 resets the entire system when the power is turned on or the reset button is pressed, and the peripheral devices (here, the operation panel 3a (3b), the cable 5a (5b), and the plug connector 4ap (4bp)) are reset. Data collection) and control of peripheral devices. Further, the sub CPU 25 can change the clock frequency of the entire system.

【0034】 さらに、サブCPU25には接続切換手段40が設けられている。この接続切 換手段40は、コネクタポート4a,4bのソケットコネクタ4as,4bsに 接続された例えば操作盤3a,3bのような周辺機器を、当該サブCPU25側 のCPUコア31か又はメインCPU21かに接続する切換えを行う。Further, the sub CPU 25 is provided with a connection switching means 40. This connection switching means 40 connects peripheral equipment such as operation panels 3a and 3b connected to the socket connectors 4as and 4bs of the connector ports 4a and 4b to the CPU core 31 or the main CPU 21 of the sub CPU 25 side. Switch to connect.

【0035】 ビデオブロック12は、メインCPU21からシステムコントロールユニット 24を介して与えられる映像制御信号を基に映像信号を形成し、これをケーブル 8aを介してモニタ6に与える。これにより、モニタ6のディスプレイ上に画像 が表示される。The video block 12 forms a video signal based on a video control signal supplied from the main CPU 21 via the system control unit 24, and supplies the video signal to the monitor 6 via the cable 8a. As a result, the image is displayed on the display of the monitor 6.

【0036】 音響ブロック13は、メインCPU21からシステムコントロールユニット2 4を介して与えられる音響制御信号を基にデジタル音響信号を形成し、これをデ ジタルアナログ(DA)変換器でアナログ音響信号に変換し、ケーブル8bを介 してモニタ6に与える。これにより、モニタ6の音声再生部から音響が再生され る。The sound block 13 forms a digital sound signal based on a sound control signal given from the main CPU 21 via the system control unit 24, and converts the digital sound signal into an analog sound signal by a digital analog (DA) converter. Then, it is given to the monitor 6 via the cable 8b. As a result, the sound is reproduced from the sound reproducing section of the monitor 6.

【0037】 次に、サブCPU25の構成について図3を参照して説明する。図3は周辺機 器管理制御用としてのサブCPU25の全体構成を示す。同図において、サブC PU25はバスライン26を介してメインCPU21に接続されている。サブC PU25は、CPUコア31、ROM32、RAM33、レジスタテーブル34 、レジスタ群35、マルチプレクサ36、及びI/Oインターフェイス37を備 えている。Next, the configuration of the sub CPU 25 will be described with reference to FIG. FIG. 3 shows the overall configuration of the sub CPU 25 for peripheral device management control. In the figure, the sub CPU 25 is connected to the main CPU 21 via a bus line 26. The sub CPU 25 includes a CPU core 31, a ROM 32, a RAM 33, a register table 34, a register group 35, a multiplexer 36, and an I / O interface 37.

【0038】 なお、具体的には、レジスタ群35、マルチプレクサ36及びI/Oインター フェイス37は夫々2チャンネル分の回路で構成されているが、図3では1チャ ンネル分のみを表示して説明する。Note that, specifically, the register group 35, the multiplexer 36, and the I / O interface 37 are each composed of a circuit for two channels, but in FIG. 3, only one channel is displayed and described. To do.

【0039】 CPUコア31は、例えば、4ビットCPUで構成することができる。CPU コア31はROM32に接続されており、CPUコア31に必要なプログラムが ROM32から供給されるようになっている。CPUコア31には、バスライン 38を介して、RAM33、レジスタテーブル34及びレジスタ群35が接続さ れている。なお、レジスタ群35は、マルチプレクサ36を介してI/Oインタ ーフェイス37に接続されている。このレジスタ群35とマルチプレクサ36と で、前述した接続切換手段40が構成されている。The CPU core 31 can be composed of, for example, a 4-bit CPU. The CPU core 31 is connected to the ROM 32, and the programs required for the CPU core 31 are supplied from the ROM 32. A RAM 33, a register table 34, and a register group 35 are connected to the CPU core 31 via a bus line 38. The register group 35 is connected to the I / O interface 37 via the multiplexer 36. The register group 35 and the multiplexer 36 constitute the connection switching means 40 described above.

【0040】 レジスタ群35は、大別して、メインCPU用レジスタ群351、サブCPU 用レジスタ群352、I/Oセレクションレジスタ(I/Oスイッチ)353と から構成されている。The register group 35 is roughly divided into a main CPU register group 351, a sub CPU register group 352, and an I / O selection register (I / O switch) 353.

【0041】 メインCPU用レジスタ群351の一方の端子は、バスライン39、及びバス ライン26を介してメインCPU21に接続されるとともに、もう一方の端子は マルチプレクサ36の一方の端子に接続されている。One terminal of the main CPU register group 351 is connected to the main CPU 21 via the bus line 39 and the bus line 26, and the other terminal is connected to one terminal of the multiplexer 36. .

【0042】 サブCPU用レジスタ群352の一方の端子は、バスライン38を介してCP Uコア31に接続されるとともに、もう一方の端子はマルチプレクサ36の他方 の端子に接続されている。One terminal of the sub CPU register group 352 is connected to the CPU core 31 via the bus line 38, and the other terminal is connected to the other terminal of the multiplexer 36.

【0043】 マルチプレクサ36の共通端子は、I/Oインターフェイスに接続されている 。ペリフェラルポート、即ちコネクタポート4a,4bにおいて、周辺機器接続 用のソケットコネクタ4as,4bsはそれぞれ9本の線を介してI/Oインタ ーフェイス37に接続されている。マルチプレクサ36は、レジスタ群35のI /Oセレクションレジスタ353の設定に応じて、例えば操作盤3a,3bのよ うな周辺機器を、レジスタ群352、及びバスライン38を介してCPUコア3 1に接続させ、あるいは、レジスタ群351、バスライン39、及びバスライン 26を介してメインCPU21に接続させる。The common terminal of the multiplexer 36 is connected to the I / O interface. In the peripheral ports, that is, the connector ports 4a and 4b, the socket connectors 4as and 4bs for connecting peripheral devices are connected to the I / O interface 37 via nine lines, respectively. The multiplexer 36 connects peripheral devices such as the operation panels 3a and 3b to the CPU core 31 via the register group 352 and the bus line 38 in accordance with the setting of the I / O selection register 353 of the register group 35. Alternatively, it is connected to the main CPU 21 via the register group 351, the bus line 39, and the bus line 26.

【0044】 また、CPUコア31がマルチプレクサ36を介して周辺機器に接続されてい るときに、CPUコア31は「ペリフェラルID−1」+「ペリフェラルID− 2」+「データサイズ」+「データ」の順序で周辺機器と通信を行いながら、そ れらのID(識別データ)で通信方式を判定し、その後、データの収集、伝送、 交換等を行えるようになっている。この実施例では、「ペリフェラルID−1」 は4ビットのデータからなり、周辺機器の種類に応じた通信方式を表すデータで ある。When the CPU core 31 is connected to the peripheral device via the multiplexer 36, the CPU core 31 has “peripheral ID-1” + “peripheral ID-2” + “data size” + “data”. While communicating with peripheral devices in this order, the ID (identification data) is used to determine the communication method, and then data collection, transmission, and exchange can be performed. In this embodiment, the "peripheral ID-1" is composed of 4-bit data, and is data representing a communication method according to the type of peripheral device.

【0045】 また、「ペリフェラルID−2」も4ビットのデータからなり、一種の周辺機 器の機種を表すデータであって、信号の形態(アナログ量か、デジタル量か等) に着目した機種を表すデータである。また、「データサイズ」は周辺機器データ の総バイト数を表すものであり、後述する図では(DSIZE0〜DSIZE3 )で表され ている。「データ」は、データサイズの値で示される総バイト数の周辺機器から のデータである。CPUコア31は、本実施例では4ビット機器であることから 、データの総バイト数に対して4ビット毎にデータを取り込むことになる。The “peripheral ID-2” also consists of 4-bit data, which is data representing a type of peripheral device, and is a model focused on the signal form (analog amount, digital amount, etc.). Is data representing. The "data size" represents the total number of bytes of peripheral device data, and is represented by (DSIZE 0 to DSIZE 3 ) in the later-described figures. “Data” is the data from the peripheral device with the total number of bytes indicated by the data size value. Since the CPU core 31 is a 4-bit device in the present embodiment, it takes in data every 4 bits with respect to the total number of bytes of data.

【0046】 図4に、ソケットコネクタ4as,4bsを有する周辺機器接続用のコネクタ ポート4a,4bのブロック構成を、図5(1)〜(3)に周辺機器のプラグコ ネクタ4ap,4bpの構成を各々示す。FIG. 4 shows a block configuration of the connector ports 4a and 4b for connecting peripheral devices having the socket connectors 4as and 4bs, and FIGS. 5A to 5C show configurations of the plug connectors 4ap and 4bp of the peripheral devices. Each is shown.

【0047】 図4には、2チャンネルのコネクタポート4a,4bが示されており、各コネ クタポートのソケットコネクタ4as,4bsのそれぞれに9本のピン(ピン番 号1〜9)が設けられ、各ピンが9本の線により個別にI/Oインターフェイス 37に電気的に接続している。但し、図4に示すように、1番ピンはVccに接 続され、9番ピンは接地電位に接続されている。FIG. 4 shows two-channel connector ports 4a and 4b. Nine pins (pin numbers 1 to 9) are provided on each socket connector 4as and 4bs of each connector port. Each pin is individually electrically connected to the I / O interface 37 by nine wires. However, as shown in FIG. 4, the first pin is connected to Vcc and the ninth pin is connected to the ground potential.

【0048】 ソケットコネクタ4as,4bsのそれぞれの1〜9番ピンは電気的に独立し ている。プラグコネクタ4ap,4bp(図5(1)〜(3)参照)のそれぞれ もピン番号1〜9の9本のピンを有し、各ソケットコネクタ4as(4bs)に 挿入されたとき、双方の対向するピン同士が互いに接触し、電気的に導通する。 プラグコネクタ4ap,4bpは夫々、前述したようにケーブル5a,5bを介 して操作パネル3a,3bに接続される。Pins 1 to 9 of each of the socket connectors 4as and 4bs are electrically independent. Each of the plug connectors 4ap and 4bp (see FIGS. 5 (1) to 5 (3)) also has nine pins of pin numbers 1 to 9, and when they are inserted into the socket connectors 4as (4bs), they face each other. The pins that make contact with each other are electrically connected. The plug connectors 4ap and 4bp are connected to the operation panels 3a and 3b via the cables 5a and 5b, respectively, as described above.

【0049】 1〜9番ピンに割り当てられた信号名及びその機能をまとめて表1に示す。Table 1 summarizes the signal names assigned to pins 1 to 9 and their functions.

【0050】[0050]

【表1】 [Table 1]

【0051】 同表及び図4、5に示すように、コネクタポート4a,4bのそれぞれにおい て、4〜6番ピンは主に制御信号の送受に割り当てられている。4番ピンは第1 の制御用ピンで、処理装置本体2から周辺機器(例えば操作パネル3a,3b) に機器セレクト信号THを送信するのに使われる。5番ピンは第2の制御用ピン であり、処理装置本体2から周辺機器にデ−タリクエスト信号TRを送信するの に使われる。6番ピンは第3の制御用ピンであり、周辺機器から処理装置本体2 に周辺機器応答信号TLを送信するのに使われる。As shown in the table and FIGS. 4 and 5, in each of the connector ports 4a and 4b, the 4th to 6th pins are mainly assigned to transmission and reception of control signals. The 4th pin is the first control pin and is used for transmitting the device select signal TH from the processing device main body 2 to the peripheral devices (for example, the operation panels 3a and 3b). The fifth pin is a second control pin and is used for transmitting the data request signal TR from the processing device main body 2 to the peripheral device. Pin 6 is a third control pin and is used to transmit a peripheral device response signal TL from the peripheral device to the processing apparatus main body 2.

【0052】 2,3,7及び8番ピンは主にデ−タ信号用に割り当てられている。2番ピン (第1のデ−タ用ピン)はビットデ−タDを、3番ピン(第2のデ−タ用ピン) はビットデ−タUを、7番ピン(第3のデ−タ用ピン)はビットデ−タRを、8 番ピン(第4のデ−タ用ピン)はビットデ−タLをそれぞれ送信するように割り 当てられている。信号Rはデ−タの第3ビットを、Lは第2ビットを、Dは第1 ビットを、及びUは第0ビットをそれぞれ表す。これらデ−タR,L,D,Uの 信号線は、周辺機器の種類に応じて、データの入出力の方向を自由に設定するこ とができる。Pins 2, 3, 7 and 8 are mainly allocated for data signals. The second pin (first data pin) is the bit data D, the third pin (second data pin) is the bit data U, and the seventh pin (third data is the third data). The pin for data) is assigned to transmit the bit data R, and the pin 8 (pin for fourth data) is assigned to transmit the bit data L, respectively. The signal R represents the third bit of data, L represents the second bit, D represents the first bit, and U represents the zeroth bit. The signal lines of these data R, L, D, and U can freely set the input / output direction of data according to the type of peripheral device.

【0053】 2〜8番ピンはそれぞれ抵抗411を介して電源Vccに接続されており、こ れにより信号TH,TR,TL,R,L,D,Uは電源Vccのレベルまでプル アップされている。Pins 2 to 8 are connected to the power supply Vcc via the resistor 411, respectively, so that the signals TH, TR, TL, R, L, D, and U are pulled up to the level of the power supply Vcc. There is.

【0054】 プラグコネクタ4ap,4bpがソケットコネクタ4as,4bpに接続され ていないときには、2〜8番ピンの電圧レベルは電源Vccの電圧値(論理値“ 1”)に等しくなる。これにより、信号線(例えばデータR,L,D,Uの線) がすべて論理値“1”の状態にある場合、ソケットコネクタ4as,4bsに周 辺機器が接続されていない状態であるとサブCPU25は判断することができる 。When the plug connectors 4ap and 4bp are not connected to the socket connectors 4as and 4bp, the voltage levels of the 2nd to 8th pins become equal to the voltage value (logic value “1”) of the power supply Vcc. As a result, when all the signal lines (for example, the lines of data R, L, D, U) are in the logical value "1", it is determined that the peripheral devices are not connected to the socket connectors 4as, 4bs. The CPU 25 can judge.

【0055】 5番及び6番ピンは上述したように主に処理装置本体2と周辺機器との間の制 御信号伝送用のものであるが、周辺機器が後述するクロックド(クロック同期式 )パラレル通信方式又はクロックドシリアル通信方式を採用する場合、デ−タ信 号を送信するために使うこともできる。Pins 5 and 6 are mainly for transmitting control signals between the processing apparatus main body 2 and the peripheral devices as described above, but the peripheral devices are clocked (clock synchronous type) described later. When a parallel communication system or a clocked serial communication system is adopted, it can also be used for transmitting a data signal.

【0056】 1番ピンは電源電圧Vcc(電圧値:+5V)に割り当てられ、9番ピンは接 地電位GND(電圧値=零)に割り当てられている。Pin 1 is assigned to the power supply voltage Vcc (voltage value: + 5V), and Pin 9 is assigned to the ground potential GND (voltage value = 0).

【0057】 これに対して周辺機器側のプラグコネクタ4ap,4bpは、図5(1)ない し図5(3)のいずれかに示すピン構成になっている。これらの図は周辺機器が 採用する通信方式に最適なピン配列を示しており、同図(1)はTH/TRセレ クション通信方式および3線ハンドシェイク通信方式等のピン配列を、同図(2 )はクロックドパラレル通信方式におけるピン配列を、同図(3)はクロックド シリアル通信方式におけるピン配列をそれぞれ示すものである。On the other hand, the plug connectors 4ap and 4bp on the peripheral device side have the pin configuration shown in either FIG. 5 (1) or FIG. 5 (3). These figures show the pin arrangements most suitable for the communication method adopted by the peripheral equipment. Figure 1 (1) shows the pin arrangements for the TH / TR selection communication method and the 3-wire handshake communication method. 2) shows the pin arrangement in the clocked parallel communication system, and FIG. 3C shows the pin arrangement in the clocked serial communication system.

【0058】 このような様々なピン配列を採用する理由は、コントロールPAD、マウス、 キーボード、モデム、記憶装置など、周辺機器の種類は豊富で、周辺機器が異な ると、その通信方式も異なることが多いからである。典型的な通信方式としては 、TH/TRセレクション方式、3線ハンドシェイク方式、クロックドパラレル 方式、及びクロックドシリアル方式が挙げられる。The reason for adopting such various pin arrangements is that there are a wide variety of peripheral devices such as control PADs, mice, keyboards, modems, storage devices, etc. Different peripheral devices have different communication systems. Because there are many. Typical communication methods include TH / TR selection method, 3-wire handshake method, clocked parallel method, and clocked serial method.

【0059】 この内、TH/TRセレクション方式及び3線ハンドシェイク方式を採用する 周辺機器では、コネクタポート4a(4b)において、各ピン全てを電気的に独 立して使用する必要がある。このため、図5(1)に示すように、プラグコネク タ4ap(4bp)の全ての1〜9番ピンは互いに短絡されておらず、電気的に 独立している。Among these, in the peripheral device adopting the TH / TR selection method and the 3-wire handshake method, it is necessary to electrically use all the pins in the connector port 4a (4b) independently. Therefore, as shown in FIG. 5 (1), all the pins 1 to 9 of the plug connector 4ap (4bp) are not short-circuited with each other and are electrically independent.

【0060】 これに対し、クロックドパラレル方式を採用する周辺機器にあっては、データ リクエスト信号TR用の5番ピンおよび周辺機器応答信号TL用の6番ピンは図 5(2)に示すように短絡して使用している。この短絡に拠り、5番ピンに送出 された論理値の制御信号(デ−タリクエスト信号TR)は常に6番ピンから同一 論理値の制御信号(周辺機器応答信号TL)として瞬時に戻るので、処理装置本 体2はデータリクエスト信号TR=周辺機器応答信号TLの信号状態を認識し、 通信方式がクロックドパラレル方式であると判定できる。処理装置本体2から操 作盤3a,3bへの機器セレクト信号線THを所定論理値に設定し、またデータ リクエスト信号線TRにクロックを与えると、周辺機器応答信号TL(=TR) が瞬時に得られるので、処理装置本体2では直ちにデータ読込みに対応できる一 方、操作盤3a,3bからはクロックに同期して直ちにデータR,L,D,Uが データ信号線を介して処理装置本体2側に出力される。On the other hand, in the peripheral device adopting the clocked parallel system, the pin 5 for the data request signal TR and the pin 6 for the peripheral device response signal TL are as shown in FIG. 5 (2). It is used by short-circuiting to. Due to this short circuit, the control signal (data request signal TR) of the logical value sent to the 5th pin always returns instantaneously as the control signal (peripheral device response signal TL) of the same logical value from the 6th pin. The processing device main body 2 recognizes the signal state of the data request signal TR = peripheral device response signal TL and can determine that the communication system is the clocked parallel system. When the device select signal line TH from the processing device main body 2 to the operation boards 3a, 3b is set to a predetermined logical value and a clock is given to the data request signal line TR, the peripheral device response signal TL (= TR) is instantly sent. Since the data can be obtained immediately in the processing device main body 2, the data R, L, D and U can be immediately received from the operation panels 3a and 3b in synchronization with the clock via the data signal line. Is output to the side.

【0061】 なお、このクロックドパラレル方式の周辺機器に対しては、処理装置本体2が 周辺機器応答信号TLを監視することで、周辺機器の未接続等を判断している。 処理装置本体2からデータリクエスト信号TRを送出すると、上述した5番ピン 及び6番ピンの短絡に因り、デ−タリクエスト信号TRと同一論理値の周辺機器 応答信号TLが瞬時に戻る。したがって、データリクエスト信号TRを送出して から一定期間経過しても、同一論理値の周辺機器応答信号TLが戻らない場合、 処理装置本体2は周辺機器が接続されていないなどの判断を下すことができる。With respect to this clocked parallel type peripheral device, the processing device main body 2 monitors the peripheral device response signal TL to determine whether the peripheral device is not connected or the like. When the data request signal TR is transmitted from the processing apparatus main body 2, the peripheral device response signal TL having the same logical value as the data request signal TR is instantly returned due to the short circuit of the pin 5 and the pin 6 described above. Therefore, if the peripheral device response signal TL having the same logical value does not return even after a lapse of a certain period from the transmission of the data request signal TR, the processing device main body 2 judges that the peripheral device is not connected. You can

【0062】 また、クロックドシリアル方式を採用する周辺機器の場合には、図5(3)に 示すように、データを伝送するために必要な信号線(U)は基本的に1本で済み 、しかも制御信号線も機器セレクト信号THとクロックを伝送するデータリクエ スト信号TRの2本の線でよい。また、この通信方式を判定するには、データR =L=“0”、D=“1”、U=“0”の論理値が必要となる。このため、プラ グコネクタ4ap,4bpの各ピン配列では、データUを伝送するための1個の 3番ピン、機器セレクト信号TH用の4番ピン、及びデータリクエスト信号TR 用の5番ピンをそれぞれ独立して確保するとともに、残りの使用しない信号線用 ピン及び制御線用ピンを電源Vccの1番ピンや接地電位GNDの9番ピンに短 絡している。詳しくは図5(3)に示す如く、2番ピンを電源Vccの1番ピン に短絡し、6〜8番ピンを接地電位GNDの9番ピンに短絡して、常にTL=R =L=“0”、D=“1”の状態に設定している。これにより、クロックドシリ アル通信方式を表す論理値がコネクタポート4a,4bのピンに得られ、これら が処理装置本体2に伝達される。Further, in the case of a peripheral device adopting the clocked serial system, as shown in FIG. 5C, basically only one signal line (U) is required to transmit data. Moreover, the control signal line may be two lines of the device select signal TH and the data request signal TR for transmitting the clock. Further, in order to judge this communication method, logical values of data R = L = “0”, D = “1”, U = “0” are required. Therefore, in each pin arrangement of the plug connectors 4ap and 4bp, there is one pin 3 for transmitting the data U, pin 4 for the device select signal TH, and pin 5 for the data request signal TR. The pins are independently secured and the remaining unused signal line pins and control line pins are short-circuited to the pin 1 of the power supply Vcc and the pin 9 of the ground potential GND. More specifically, as shown in FIG. 5C, the second pin is short-circuited to the first pin of the power supply Vcc, and the sixth to eighth pins are short-circuited to the ninth pin of the ground potential GND, and TL = R = L = always. The state is set to "0" and D = "1". As a result, logical values representing the clocked serial communication system are obtained at the pins of the connector ports 4a and 4b, and these are transmitted to the processing device main body 2.

【0063】 このように各種の通信方式に応じてコネクタポート4a,4bで必要なピンの 数、位置(換言すれば信号線の数、種類)に一定の条件が成立するので、これを 満足させるべく上述した通信方式毎のプラグコネクタのピン配列を形成している 。つまり、制御信号及びデータの伝送に要するプラグコネクタのピン数及びピン 位置とその信号線上の論理値との関係を通信方式毎に予め定め、通信方式を判定 するのに必要な論理値を処理装置本体2に効果的に伝送できるようなプラグコネ クタのピン配列としている。これにより、処理装置本体2では、コネクタポート 4a,4bのピン、すなわち所定の信号線に表れる論理値を使用し、その論理値 がどのような値になっているかを判断することで通信方式を判定できる。As described above, certain conditions are satisfied for the number and position of pins (in other words, the number and type of signal lines) required for the connector ports 4a and 4b according to various communication systems, and this is satisfied. Therefore, the pin array of the plug connector for each communication method described above is formed. That is, the relationship between the number of pins and the pin positions of the plug connector required for the transmission of control signals and data and the logical value on the signal line is predetermined for each communication method, and the logical value necessary for determining the communication method is set in the processing device. The plug connector has a pin arrangement that enables effective transmission to the main body 2. As a result, the processing device main body 2 uses the logical value appearing on the pins of the connector ports 4a and 4b, that is, a predetermined signal line, and determines the communication method by determining what the logical value is. You can judge.

【0064】 上述した図5(2)及び(3)に示すピン短絡構造は、プラグコネクタ4ap (または4bp)内のピンとケーブル5a(または5b)との接続部において短 絡線でショートさせるか、プラグコネクタ4ap(または4bp)内に設けたプ リント基板上でショートさせるようにすれば良い。この場合には、プラグコネク タ4ap(または4bp)と周辺機器とを結ぶケーブル5a(または5b)の線 数が少なくて済む。この線数減少の利点は、周辺機器の通信方式がクロックドシ リアル方式のときに特に顕著になり、制御線及びデータ線は全部で3本で済む。The above-described pin short circuit structure shown in FIGS. 5 (2) and 5 (3) is short-circuited by a short wire at the connection portion between the pin in the plug connector 4ap (or 4bp) and the cable 5a (or 5b). It suffices to short-circuit the printed circuit board provided in the plug connector 4ap (or 4bp). In this case, the number of wires of the cable 5a (or 5b) connecting the plug connector 4ap (or 4bp) and the peripheral device can be reduced. The advantage of the reduction in the number of lines becomes particularly remarkable when the communication system of the peripheral device is the clocked serial system, and the total of three control lines and data lines is sufficient.

【0065】 また、上記ピン短絡は周辺機器内部においてケーブル5a(または5b)の接 続部を短絡線でショートさせるか、または所定のショート配線をしたプリント基 板等を用いるようにしてもよい。この場合には、ケーブル5a(または5b)の 線数を減少させることができないが、短絡構造をプラグ内に設ける場合に比べて プラグの形状を小さくすることができる。Further, for the pin short circuit, the connection part of the cable 5a (or 5b) may be short-circuited by a short-circuit wire inside the peripheral device, or a printed board or the like having a predetermined short-circuit wiring may be used. In this case, the number of wires of the cable 5a (or 5b) cannot be reduced, but the shape of the plug can be made smaller than in the case where the short-circuit structure is provided in the plug.

【0066】 特に、図5(3)に示したクロックドシリアル方式のプラグコネクタのピン配 列が周辺機器内部で実現されている場合、ケーブル5a(または5b)の線数を 減少させることはできないが、信号伝送に関与しない線が電源ライン及び接地電 極に短絡されるので、ノイズ等の影響を軽減させることができる。Particularly, when the pin arrangement of the clocked serial type plug connector shown in FIG. 5C is realized inside the peripheral device, the number of wires of the cable 5a (or 5b) cannot be reduced. However, since the wire not involved in signal transmission is short-circuited to the power supply line and the ground electrode, it is possible to reduce the influence of noise and the like.

【0067】 次に、周辺機器の通信方式を判定する機能を含む処理装置本体2の動作につい て図3〜図13及び表2〜表5を参照して説明する。Next, the operation of the processing device body 2 including the function of determining the communication system of the peripheral device will be described with reference to FIGS. 3 to 13 and Tables 2 to 5.

【0068】 図6に示すように、サブCPU25はその動作を開始すると、機器セレクト信 号TH=“1”、データリクエスト信号TR=“1”を出力する(ステップS1 01)。次いで、周辺機器からのデータR,L,D,Uの論理値をサブCPU2 5のCPUコア31が取込み、RAM33の所定の領域に格納する(S102) 。次いで、CPUコア31は、再び、機器セレクト信号TH=“0”、データリ クエスト信号TR=“1”を出力する(S103)。再び、データR,L,D, Uの論理値をCPUコア31を取込み、RAM33の所定の領域に格納する(S 104;図11の期間T10及び図12の期間T20参照)。As shown in FIG. 6, when the sub CPU 25 starts its operation, it outputs a device selection signal TH = "1" and a data request signal TR = "1" (step S101). Next, the CPU core 31 of the sub CPU 25 takes in the logical values of the data R, L, D, and U from the peripheral device and stores them in a predetermined area of the RAM 33 (S102). Next, the CPU core 31 outputs the device select signal TH = "0" and the data request signal TR = "1" again (S103). Again, the logical values of the data R, L, D, U are fetched into the CPU core 31 and stored in a predetermined area of the RAM 33 (S 104; see period T10 in FIG. 11 and period T20 in FIG. 12).

【0069】 次に、CPU31はペリフェラルID−1を演算をする(S105)。このペ リフェラルID−1は、次の数式1を用いて演算することができる。Next, the CPU 31 calculates the peripheral ID-1 (S105). This peripheral ID-1 can be calculated using the following formula 1.

【0070】 〔数1〕 〔ID−1〕={(TH=1 の時のR )または(TH=1 の時のL )}×8h +{(TH=1 の時のD )または(TH=1 の時のU )}×4h +{(TH=0 の時のR )または(TH=0 の時のL )}×2h +{(TH=0 の時のD )または(TH=0 の時のU )}×1h ここで、hは16進数のサフィックスを表す。[Equation 1] [ID-1] = {(R when TH = 1) or (L when TH = 1)} × 8h + {(D when TH = 1) or (TH = 1) U)} × 4h + {(R when TH = 0) or (L when TH = 0)} × 2h + {(D when TH = 0) or (TH = 0 U)} × 1h where h is a hexadecimal suffix.

【0071】 このようにして演算された演算結果〔ID−1〕を基に、CPUコア31はペ リフェラルID−1を判定する(S106〜S110)。表2は周辺機器の種類 とペリフェラルID−1との対応関係を示す。The CPU core 31 determines the peripheral ID-1 based on the calculation result [ID-1] calculated in this way (S106 to S110). Table 2 shows the correspondence between peripheral device types and peripheral ID-1.

【0072】[0072]

【表2】 [Table 2]

【0073】 このペリフェラルID−1の判定手順を詳述すると、先ず、CPUコア31は 、演算結果〔ID−1〕が例えばBhであるか否かを判断する。演算結果〔ID −1〕が例えばBhであると判定されたときには(S106;YES)、表2か らも分かるように周辺機器は標準コントロールPADであると判定されることか ら、CPUコア31は標準コントロールPADアクセスサプルーチンの処理に移 行する(S111)。The procedure for determining the peripheral ID-1 will be described in detail. First, the CPU core 31 determines whether or not the calculation result [ID-1] is, for example, Bh. When it is determined that the calculation result [ID -1] is, for example, Bh (S106; YES), the peripheral device is determined to be the standard control PAD, as can be seen from Table 2, the CPU core 31 Moves to the processing of the standard control PAD access sub routine (S111).

【0074】 しかし、CPUコア31が演算結果〔ID−1〕の結果がBhでないと判定し たときには(S106;NO)、CPUコア31は次に演算結果〔ID−1〕が 例えば5hか否かを判定する(S107)。However, when the CPU core 31 determines that the result of the operation result [ID-1] is not Bh (S106; NO), the CPU core 31 next determines whether the operation result [ID-1] is, for example, 5h. It is determined (S107).

【0075】 そこで、CPUコア31は演算結果〔ID−1〕が5hであると判定したきに は(S107;YES、表2参照)、図7のペリフェラル#1アクセスサブルー チンにその処理を移行する(S112)。Therefore, when the CPU core 31 determines that the calculation result [ID-1] is 5h (S107; YES, see Table 2), the processing is transferred to the peripheral # 1 access subroutine in FIG. (S112).

【0076】 これに対し、演算結果〔ID−1〕が5hでないと判定されたときには(S1 07;NO)、サブCPU25は次いで、演算結果〔ID−1〕が例えば7hか 否かを判定する。演算結果〔ID−1〕が7hであると判定されたときには(S 108;YES、表2参照)、サブCPU25はその処理をアダプタアクセスル ーチンに移行する(図6のS113)。On the other hand, when it is determined that the calculation result [ID-1] is not 5h (S107; NO), the sub CPU 25 then determines whether the calculation result [ID-1] is, for example, 7h. . When it is determined that the calculation result [ID-1] is 7h (S108; YES, see Table 2), the sub CPU 25 shifts the processing to the adapter access routine (S113 in FIG. 6).

【0077】 これに対し、演算結果〔ID−1〕が7hでないと判定されたときには(S1 08;NO)、サブCPU25は、演算結果〔ID−1〕が例えば3hか否かを 判定する(S109)。ここで、演算結果〔ID−1〕が3hであると判定され たときには(S109;YES、表2参照)、サブCPU25はその処理をマウ スアクセスサブルーチンに移行する(S114)。On the other hand, when it is determined that the calculation result [ID-1] is not 7h (S108; NO), the sub CPU 25 determines whether the calculation result [ID-1] is, for example, 3h ( S109). When it is determined that the calculation result [ID-1] is 3h (S109; YES, see Table 2), the sub CPU 25 shifts the processing to the mouse access subroutine (S114).

【0078】 これに対し、演算結果〔ID−1〕が3hでないときには(S109;NO) 、演算結果〔ID−1〕がDhか否かが判定される(S110)。演算結果〔I D−1〕がDhと判定されたときには(S110;YES、表2参照)、3/6 ボタンアクセスルーチンの処理に移行される(S115)。なお、演算結果〔I D−1〕の値が例えばFhならば未接続、また例えば前記以外の値であるときに は、未知として処理する(S116、表2参照)。On the other hand, when the calculation result [ID-1] is not 3h (S109; NO), it is determined whether the calculation result [ID-1] is Dh (S110). When it is determined that the operation result [ID-1] is Dh (S110; YES, see Table 2), the process proceeds to the process of the 3/6 button access routine (S115). If the value of the operation result [ID-1] is, for example, Fh, it is not connected, and if it is a value other than the above, it is treated as unknown (S116, see Table 2).

【0079】 次に、ペリフェラル#1アクセスサブルーチンを、図7および表3を参照して 説明する。表3は周辺機器用の通信方式の判定に用いるビット配列を示す。Next, the peripheral # 1 access subroutine will be described with reference to FIG. 7 and Table 3. Table 3 shows a bit array used for determining the communication method for the peripheral device.

【0080】[0080]

【表3】 [Table 3]

【0081】 このアクセスサブルーチンの処理に移行したCPUコア31は、先ず、前に取 得しておいた、データD,Uの論理値に基づいて通信方式等を判定する(S20 1〜S203)。CPUコア31は、データD,Uの論理値が例えば“D=0” ,“U=1”のときには(S201;YES)、周辺機器の通信方式が3線ハン ドシェイク方式であると判定し(表3参照)、3線ハンドシェイクタイプアクセ スサブルーチンに移行する(S204)。The CPU core 31 that has proceeded to the processing of this access subroutine first determines the communication method and the like based on the logical values of the data D and U that were acquired previously (S201 to S203). When the logical values of the data D and U are, for example, “D = 0” and “U = 1” (S201; YES), the CPU core 31 determines that the communication method of the peripheral device is the 3-wire handshake method ( (See Table 3) The procedure moves to the 3-line handshake type access subroutine (S204).

【0082】 これに対し、データD,Uの論理値が“D=0”,“U=1”でないときには (S201;NO)、CPUコア31は、今度は例えば“D=1”,“U=0” であるか否かを判定する(S202)。ここで、“D=1”,“U=0”である と判定すると(S202;YES、表3参照)、CPUコア31はその処理をク ロックドシリアル通信方式のアクセスサブルーチンに移行する(S205)。On the other hand, when the logical values of the data D and U are not “D = 0” and “U = 1” (S201; NO), the CPU core 31 now selects, for example, “D = 1” and “U”. It is determined whether or not = 0 ”(S202). Here, when it is determined that “D = 1” and “U = 0” (S202; YES, see Table 3), the CPU core 31 shifts the processing to the access subroutine of the clocked serial communication method (S205). ).

【0083】 さらに、“D=1”,“U=0”でないときには(S202;NO)、CPU コア31は、データD,Uの論理値がさらに“D=1”,“U=1”であるか否 かを判定する(S203)。CPUコア31は“D=1”,“U=1”であると 判定すると(S203;YES、表3参照)、その処理をクロックドパラレル通 信方式のアクセスサブルーチンに移行させる(S206)。Furthermore, when “D = 1” and “U = 0” are not satisfied (S202; NO), the CPU core 31 determines that the logical values of the data D and U are “D = 1” and “U = 1”. It is determined whether there is any (S203). When the CPU core 31 determines that "D = 1" and "U = 1" (S203; YES, see Table 3), the CPU core 31 shifts the processing to the access subroutine of the clocked parallel communication method (S206).

【0084】 なお、かかるS201〜S203の判定を実行しても肯定的な判断結果が得ら れないときには(すなわち、S201でNO、S202でNO、S203でNO )、CPUコア31は、周辺機器が接続されていないと判定して(S207)、 当該サブルーチンの処理を終了する。If a positive determination result is not obtained even after performing the determinations in S201 to S203 (that is, NO in S201, NO in S202, NO in S203), the CPU core 31 determines that the peripheral device Is determined not to be connected (S207), and the processing of this subroutine ends.

【0085】 次に、図7に示すサブルーチンから分岐した各処理(S204,S205,S 206)について詳述する。まず、図8に示す3線ハンドシェイク通信方式のア クセスサブルーチンについて図11に示すタイミングチャートを参照して説明す る。なお、図11において、横軸には時刻tを、縦軸には各信号の状態を示して いる。Next, each process (S204, S205, S206) branched from the subroutine shown in FIG. 7 will be described in detail. First, the access subroutine of the 3-wire handshake communication system shown in FIG. 8 will be described with reference to the timing chart shown in FIG. In FIG. 11, the horizontal axis represents time t and the vertical axis represents the state of each signal.

【0086】 図11の期間T11において、CPUコア31は、ペリフェラルID−2を取 り込む(S301)。期間T11おけるタイミングでデータR,L,D,Uの論理 値(ID0,ID1 ,ID2 ,ID3 )がCPUコア31に取り込まれると、そ の論理値(ID0 ,ID1 ,ID2 ,ID3 )が「0h〜Fh」の何れに合致し ているかが判断される(表4の「ID」の欄参照)。In the period T11 of FIG. 11, the CPU core 31 takes in the peripheral ID-2 (S301). When the logical values (ID 0 , ID 1 , ID 2 , ID 3 ) of the data R, L, D, U are taken into the CPU core 31 at the timing in the period T11, the logical values (ID 0 , ID 1 , ID 2 , ID 3 ) is matched with “0h to Fh” (see “ID” column in Table 4).

【0087】[0087]

【表4】 [Table 4]

【0088】 つまり、CPUコア31は、取り込んだペリフェラルID−2の値を表4に照 らして各デバイスを決定する。例えば、CPUコア31は、ペリフェラルID− 2が0hならばデジタルデバイス、1hならばアナログデバイス、2hならばポ インティングデバイス、3hならばキーボード、などと判断する。In other words, the CPU core 31 determines each device by referring to Table 4 with the value of the peripheral ID-2 taken in. For example, the CPU core 31 determines that if the peripheral ID-2 is 0h, it is a digital device, 1h is an analog device, 2h is a pointing device, and 3h is a keyboard.

【0089】 この判定が終了すると、CPUコア31は、期間T12においてデータサイズ (図では、DSIZE0〜DSIZE3で表示)を取込む(S302)。Upon completion of this determination, the CPU core 31 takes in the data size (displayed as DSIZE 0 to DSIZE 3 in the figure) in the period T12 (S302).

【0090】 データサイズが判明すると、CPUコア31は、図11の期間T13以降におい てデータを取り込む(S303)。そして、CPUコア31はデータがデータサ イズに達したか否かを判断し、達していなければ(S304;NO)、CPUコ ア31は再びデータを取り込む(S303)。CPUコア31はデータがデータ サイズに達したときに(S304;YES)、サブルーチンを終了する。When the data size is known, the CPU core 31 takes in the data after the period T13 in FIG. 11 (S303). Then, the CPU core 31 determines whether or not the data has reached the data size, and if the data has not reached the data size (S304; NO), the CPU core 31 fetches the data again (S303). When the data reaches the data size (S304; YES), the CPU core 31 ends the subroutine.

【0091】 次に、図9に示すクロックドパラレル通信方式のアクセスサブルーチンについ て図12に示すタイミングチャートを参照して説明する。同図において、横軸に は時刻tを、縦軸には各信号の状態を示している。クロックドパラレル通信方式 についても、同図のタイミングチャートで示す如く、図11のタイミングチャー トとほぼ同一内容である。相違する点は、データリクエスト信号TRと周辺機器 応答信号TLがピン短絡に因り同一タイミングで動作する点である。Next, the access subroutine of the clocked parallel communication system shown in FIG. 9 will be described with reference to the timing chart shown in FIG. In the figure, the horizontal axis represents time t, and the vertical axis represents the state of each signal. The clocked parallel communication system has almost the same contents as the timing chart of FIG. 11, as shown in the timing chart of FIG. The difference is that the data request signal TR and the peripheral device response signal TL operate at the same timing due to a pin short circuit.

【0092】 前述した図7に示すペリフェラル#1アクセスサブルーチンにおいて、データ D,Uの論値値が例えば“D=1”、“U=0”であると判定されると(S20 2)、クロックドパラレル通信方式のアクセスサブルーチンが開始される(S2 05)。In the peripheral # 1 access subroutine shown in FIG. 7 described above, when it is determined that the logical values of the data D and U are, for example, “D = 1” and “U = 0” (S202), the clock The access subroutine of the parallel method is started (S205).

【0093】 先ず、CPUコア31は、図12の期間T21において、ペリフェラルID−2 を取り込む(図9、S401)。すなわち、期間T21おけるタイミングでデータ R,L,D,Uの論理値(ID0 ,ID1 ,ID2 ,ID3 )がCPUコア31 に取り込まれると、その論理値(ID0 ,ID1 ,ID2 ,ID3 )が「0h〜 Fh」の何れに合致しているが判断される(表4の「ID」の欄)。そして、C PUコア31は、取り込んだペリフェラルID−2の値を表4に照らして各デバ イスを決定する。例えば、ペリフェラルID−2が0hならばデジタルデバイス 、1hならばアナログデバイス、2hならばポインテングデバイス、3hならば キーボード、などと判断される。First, the CPU core 31 takes in the peripheral ID-2 in the period T21 of FIG. 12 (FIG. 9, S401). That is, when the logical values (ID 0 , ID 1 , ID 2 , ID 3 ) of the data R, L, D, U are taken into the CPU core 31 at the timing in the period T21, the logical values (ID 0 , ID 1 , It is determined that ID 2 and ID 3 ) match any of “0h to Fh” (column “ID” in Table 4). Then, the CPU core 31 determines each device by referring to the value of the taken peripheral ID-2 in Table 4. For example, if the peripheral ID-2 is 0h, it is determined to be a digital device, 1h is an analog device, 2h is a pointing device, and 3h is a keyboard.

【0094】 この判定が終了すると、CPUコア31は、期間T22においてデータサイズ (図では、DSIZE0〜DSIZE3で表示)を取込む(S402)。When this determination is completed, the CPU core 31 takes in the data size (displayed as DSIZE 0 to DSIZE 3 in the figure) in the period T22 (S402).

【0095】 このデータサイズが判明すると、CPUコア31は、図12の期間T23以降に おいてデータを取り込む(S403)。そして、CPUコア31はデータがデー タサイズに達したか否かを判断して、それが達していなければ(S404;NO )、CPUコア31は再びデータを取り込む(S403)。CPUコア31はデ ータがデータサイズに達した判断したとき(S404;YES)、サブルーチン を終了する。When the data size is known, the CPU core 31 fetches the data after the period T23 in FIG. 12 (S403). Then, the CPU core 31 determines whether the data has reached the data size, and if it has not reached the data size (S404; NO), the CPU core 31 fetches the data again (S403). When the CPU core 31 determines that the data has reached the data size (S404; YES), it ends the subroutine.

【0096】 次に、クロックドシリアル通信方式における「ペリフェラルID−2」の判定 処理(図6のS112)について図10、図13及び表5を参照して説明する。 なお、図13はクロックドシリアル通信方式における信号の状態を示すタイミン グチャートであり、縦軸には各信号TH,TR,Uの論理値が、横軸には時間t がそれぞれとられている。Next, the “peripheral ID-2” determination process (S112 in FIG. 6) in the clocked serial communication system will be described with reference to FIGS. Note that FIG. 13 is a timing chart showing the state of signals in the clocked serial communication system, in which the ordinate represents the logical value of each signal TH, TR, U and the abscissa represents the time t 2.

【0097】 この通信方式では、図13に示すように、CPUコア31から周辺機器に与え られた機器セレクト信号THが“0”で、かつデータリクエスト信号TRがオン ・オフしているときに、データUの線上に周辺機器からデータが得られる。その ようにして得られたデータは、例えば表5に示す値になる。In this communication system, as shown in FIG. 13, when the device select signal TH given to the peripheral device from the CPU core 31 is “0” and the data request signal TR is on / off, Data is obtained from the peripheral device on the line of the data U. The data thus obtained have the values shown in Table 5, for example.

【0098】[0098]

【表5】 [Table 5]

【0099】 表5において、機器セレクト信号THが“0”で、データリクエスト信号TR がオン・オフ(矢印が上下して示されている)している場合であって、信号TL ,R,Lが全部“0”で、かつ信号Dが“1”であるときに、信号Uの線に時間 tに沿って各種の信号が得られる。表5では、「TR」欄が矢印(データリクエ スト信号TRが論理“0”“1”を繰り返していることを表している。)のとき に、SMD3…SMD0,ID3…ID0 ,DSIZE3 …DSIZE0 ,…DAT A等が得られることになる(図10、S501)。この信号Uの線から得られた データのうち、データID3…ID0 の論理値を基に表5に照らしてID−2を 決定している。In Table 5, when the device select signal TH is “0” and the data request signal TR 1 is on / off (indicated by arrows pointing up and down), the signals TL, R, L Are all "0" and the signal D is "1", various signals are obtained on the line of the signal U along the time t. In Table 5, when the "TR" column arrow (data requests signal TR is representative that the repeated logic "0""1".) , SMD 3 ... SMD 0, ID 3 ... ID 0 , DSIZE 3 ... DSIZE 0 , ... DATA A etc. are obtained (FIG. 10, S501). Among the data obtained from the line of the signal U, and determines the ID-2 based on the logical value of the data ID 3 ... ID 0 in light of Table 5.

【0100】 この判定が終了すると、CPUコア31は、データサイズ(表5では、DSI
ZE 〜DSIZEで表示)を取込む(S502)。このデータサイズが判明する
と、サブ CPU25のCPUコア31は、図13の所定の期間以降においてデータを取り 込む(S503)。そして、CPUコア31は取り込んだデータサイズにデータ が達したか否かを判断し、それに達していなければ(S504;NO)、CPU コア31は再びデータを取り込む(S503)。CPUコア31はデータがデー タサイズに達したと判断したときに(S404;YES)、サブルーチンを終了 する。
Upon completion of this determination, the CPU core 31 determines the data size (in Table 5, DSI
(Displayed as ZE 0 to DSIZE 3 ) (S502). When this data size is known, the CPU core 31 of the sub CPU 25 takes in the data after the predetermined period of FIG. 13 (S503). Then, the CPU core 31 determines whether or not the data has reached the fetched data size, and if not (S504; NO), the CPU core 31 fetches the data again (S503). When the CPU core 31 determines that the data has reached the data size (S404; YES), it ends the subroutine.

【0101】 このようにしてCPUコア31は、周辺機器と信号の交換を行い、ペリフェラ ルID−1、ID−2、データサイズ(DSIZE)の情報から、その後に続く データ(DATA)等を取り込む。In this way, the CPU core 31 exchanges signals with peripheral devices, and fetches data (DATA) and the like that follow from the information of peripheral ID-1, ID-2, and data size (DSIZE). .

【0102】 周辺機器からCPUコア31にデータが取り込まれると、CPUコア31は、 メインCPU21とレジスタテーブル34を介してデータの交換を行う。When data is taken into the CPU core 31 from the peripheral device, the CPU core 31 exchanges data with the main CPU 21 via the register table 34.

【0103】 本実施例では、前述したようなプラグコネクタ4ap,4bpのピン配列を実 施したので、周辺機器の種類や通信方式が異なる場合でも、処理装置本体2のソ ケットコネクタ4as,4bsにプラグコネクタ4ap,4bpを挿入した後で 、処理装置本体2のサブCPU25が「ペリフェラルID−1」、「ペリフェラ ルID−2」、「データサイズ」、「データ」の順序で通信をしながら、通信方 式を自動判定することができる。また本実施例は前記のようなピン配列であるの で、周辺機器や通信方式の違いがあるのにも拘らず、ペリフェラルIDの伝送や データ伝送を最適な状態で行なわせることができる。In this embodiment, since the pin arrangements of the plug connectors 4ap and 4bp as described above are implemented, the socket connectors 4as and 4bs of the processing apparatus main body 2 can be connected to the socket connectors 4as and 4bs of the processing apparatus main body 2 even when the types of peripheral devices and the communication systems are different. After inserting the plug connectors 4ap and 4bp, the sub CPU 25 of the processing apparatus main body 2 communicates in the order of "peripheral ID-1", "peripheral ID-2", "data size", and "data". The communication method can be automatically determined. Further, since the present embodiment has the pin arrangement as described above, it is possible to perform the transmission of the peripheral ID and the data transmission in the optimum state despite the difference in the peripheral device and the communication method.

【0104】 なお、この実施例では、サブCPU25による周辺機器の制御を例にとり説明 したが、仮にメインCPU21が周辺機器に直接接続されているときには、メイ ンCPU21が前記処理を全て実行するようにしても良い。In this embodiment, the peripheral CPU is controlled by the sub CPU 25 as an example. However, if the main CPU 21 is directly connected to the peripheral, the main CPU 21 executes all the above processes. May be.

【0105】 また、クロックドパラレル通信方式の場合には制御信号TR=TLであり、ま た、クロックドシリアル通信方式にあっては特定のピン(信号D,TL,R,L のピン)の信号値に基づき通信方式を判定してもよい。Further, in the case of the clocked parallel communication system, the control signal TR = TL, and in the case of the clocked serial communication system, a specific pin (pin of signals D, TL, R, L) The communication method may be determined based on the signal value.

【0106】 また3線ハンドシェイク通信方式では、制御信号TR≠TLとなることがある 点を利用して、この通信方式を判定するようにしても良い。Further, in the three-wire handshake communication system, the communication system may be determined by utilizing the fact that the control signal TR ≠ TL.

【0107】[0107]

【考案の効果】[Effect of device]

以上のように、本考案に係わる周辺機器用コネクタによれば、処理装置とその 周辺機器との間の通信に必要なプラグコネクタのコネクタピン数及び位置とその 論理値との関係を定め、周辺機器の通信方式を判定するのに必要な論理値を処理 装置側に効率良く伝送できるように周辺機器用コネクタのプラグコネクタのコネ クタピンが配列されているので、処理装置で周辺機器との通信方式を迅速に判断 でき、常に周辺機器に固有の通信方式で周辺機器との間の円滑な通信を行うこと ができる。 As described above, according to the peripheral device connector of the present invention, the relationship between the number and position of the connector pins of the plug connector necessary for communication between the processing device and the peripheral device and its logical value is determined, Since the connector pins of the plug connector of the peripheral device are arranged so that the logical value required to judge the communication system of the device can be efficiently transmitted to the processing device side, the communication system with the peripheral device in the processing device Therefore, it is possible to quickly make a quick decision, and always be able to perform smooth communication with a peripheral device using a communication method unique to the peripheral device.

【0108】 つまり、処理装置と周辺機器との間で信号やデータを最適状態で転送でき、ま た、処理装置は周辺機器の制御を最適に行うことができる。また、周辺機器の通 信モードが3線ハンドシェイク方式か、TH/TRセレクション方式か、クロッ クドパラレル方式か、又はクロックドシリアル方式かに応じて、かかる方式に応 じたプラグコネクタのコネクタピン配列を採用しているので、処理装置のソケッ トコネクタのピン配列は常に標準のもの(全てのピンが電気的に独立した配列) でよく、周辺機器が変わってもソケットコネクタをその都度交換する必要も無く 、汎用性を持たすことができる。That is, signals and data can be optimally transferred between the processing device and the peripheral device, and the processing device can optimally control the peripheral device. In addition, depending on whether the communication mode of the peripheral device is the 3-wire handshake method, TH / TR selection method, clocked parallel method, or clocked serial method, the connector pin arrangement of the plug connector corresponding to that method Since the socket connector of the processor is always standard (the pins are electrically independent), it is necessary to replace the socket connector each time the peripheral device changes. It is possible to have versatility.

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

【図1】本考案を適用した一実施例に係るゲ−ム機の外
観を示す斜視図である。
FIG. 1 is a perspective view showing an appearance of a game machine according to an embodiment to which the present invention is applied.

【図2】同実施例の処理装置本体の構成例を示すブロッ
ク図である。
FIG. 2 is a block diagram showing a configuration example of a processing apparatus main body of the same embodiment.

【図3】メインCPUとサブCPUとの接続状態を示す
ブロック図である。
FIG. 3 is a block diagram showing a connection state between a main CPU and a sub CPU.

【図4】コネクタポートにおけるソケットコネクタの周
辺回路図である。
FIG. 4 is a peripheral circuit diagram of a socket connector at a connector port.

【図5】(1)〜(3)は周辺機器の通信方式別のプラ
グコネクタのピン配列を示す説明図である。
5 (1) to (3) are explanatory diagrams showing pin arrangements of plug connectors according to communication systems of peripheral devices.

【図6】同実施例の動作を説明するフローチャートであ
る。
FIG. 6 is a flowchart illustrating the operation of the embodiment.

【図7】ペリフェラルアクセスサブルーチンを示すフロ
ーチャートである。
FIG. 7 is a flowchart showing a peripheral access subroutine.

【図8】3線ハンドシェイク通信方式のアクセスサブル
ーチンを示すフローチャートである。
FIG. 8 is a flowchart showing an access subroutine of a three-line handshake communication system.

【図9】クロックドパラレル通信方式のアクセスサブル
ーチンを示すフローチャートである。
FIG. 9 is a flowchart showing an access subroutine of a clocked parallel communication system.

【図10】クロックドシリアル通信方式のアクセスサブ
ルーチンを示すフローチャートである。
FIG. 10 is a flowchart showing an access subroutine of a clocked serial communication system.

【図11】3線ハンドシェイク通信方式の動作を示すタ
イミングチャートである。
FIG. 11 is a timing chart showing the operation of the three-wire handshake communication system.

【図12】クロックドパラレル通信方式の動作を示すタ
イミングチャートである。
FIG. 12 is a timing chart showing the operation of the clocked parallel communication system.

【図13】クロックドシリアル通信方式の動作を示すタ
イミングチャートである。
FIG. 13 is a timing chart showing the operation of the clocked serial communication system.

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

1 ゲーム機 2 処理装置本体 3a,3b 操作盤(周辺機器) 4a,4b コネクタポート 4as,4bs ソケットコネクタ 4ap,4bp プラグコネクタ 5a,5b ケーブル 21 メインCPU 25 サブCPU 31 CPUコア 37 I/Oインターフェイス 1 Game Machine 2 Processing Device Main Body 3a, 3b Operation Panel (Peripheral Equipment) 4a, 4b Connector Port 4as, 4bs Socket Connector 4ap, 4bp Plug Connector 5a, 5b Cable 21 Main CPU 25 Sub CPU 31 CPU Core 37 I / O Interface

───────────────────────────────────────────────────── フロントページの続き (72)考案者 池部 元 東京都多摩市諏訪2丁目5番1号 株式会 社 シー・エス・ケイ総合研究所内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Creator Gen Ikebe 2-5-1 Suwa, Tama-shi, Tokyo Inside the CSK Research Institute, Inc.

Claims (6)

【実用新案登録請求の範囲】[Scope of utility model registration request] 【請求項1】 処理装置に周辺機器を接続するためのコ
ネクタであって、このコネクタは処理装置のソケットコ
ネクタに着脱自在に接続されるプラグコネクタを有し、
このプラグコネクタは前記ソケットの9個のピンにそれ
ぞれ接触する1列に配列された9個のコネクタピンを有
し、このコネクタピンの内の1番ピンには電源電位が、
9番ピンには接地電位がそれぞれ処理装置から供給さ
れ、4番ピン及び5番ピンには処理装置から制御信号が
供給され、2番ピン、3番ピン、7番ピン及び8番ピン
の少なくとも一つを通して周辺機器の通信方式に応じた
データ信号が処理装置に供給される如く構成されたこと
を特徴とする周辺機器用コネクタ。
1. A connector for connecting a peripheral device to a processing device, the connector having a plug connector detachably connected to a socket connector of the processing device,
This plug connector has nine connector pins arranged in a row that respectively come into contact with the nine pins of the socket, and the pin 1 of the connector pins has a power supply potential.
The ground potential is supplied from the processor to the 9th pin, the control signal is supplied from the processor to the 4th and 5th pins, and at least the 2nd pin, the 3rd pin, the 7th pin and the 8th pin. A peripheral device connector characterized in that a data signal according to a communication system of the peripheral device is supplied to the processing device through one.
【請求項2】 6番ピンを通して制御信号を、2番ピ
ン、3番ピン、7番ピン及び8番ピンを通して3線ハン
ドシェイク通信方式のデータ信号を発生する周辺機器に
接続して使用されることを特徴とする請求項1記載の周
辺機器用コネクタ。
2. A control signal is connected through a 6th pin to a peripheral device which generates a data signal of a 3-wire handshake communication system through a 2nd pin, a 3rd pin, a 7th pin and a 8th pin for use. The peripheral device connector according to claim 1, wherein the connector is a peripheral device connector.
【請求項3】 6番ピンが5番ピンと同電位に接続され
ている状態において、2番ピン、3番ピン、7番ピン及
び8番ピンを通してクロックドパラレル通信方式のデー
タを発生する周辺機器に接続して使用されることを特徴
とする請求項1記載の周辺機器用コネクタ。
3. A peripheral device for generating data in the clocked parallel communication system through pins 2, 3, 7, and 8 when pin 6 is connected to the same potential as pin 5. The connector for peripheral equipment according to claim 1, wherein the connector is used by connecting to the.
【請求項4】 2番ピンが1番ピンと同電位に接続さ
れ、6番ピン乃至8番ピンが9番ピンと同電位に接続さ
れている状態において、3番ピンを通してクロックドシ
リアル通信方式のデータを発生する周辺機器に接続して
使用されることを特徴とする請求項1記載の周辺に接続
して使用されることを特徴とする請求項1記載の周辺機
器用コネクタ。
4. The data of the clocked serial communication system through the third pin in the state where the second pin is connected to the same potential as the first pin and the sixth pin to the eighth pin are connected to the same potential as the ninth pin. The peripheral device connector according to claim 1, wherein the peripheral device connector is used by connecting to a peripheral device that generates a noise.
【請求項5】 4番ピン及び5番ピンを通して2ビット
のデータセレクト信号を必要とする周辺機器に接続して
使用されることを特徴とする周辺機器用コネクタ。
5. A peripheral device connector, which is used by connecting to a peripheral device requiring a 2-bit data select signal through pins 4 and 5.
【請求項6】 処理装置に周辺機器を接続するためのコ
ネクタであって、このコネクタは処理装置のソケットコ
ネクタに着脱自在に接続されるプラグコネクタを有し、
このプラグコネクタは前記ソケットの9個のピンにそれ
ぞれ接触する1列に配列された9個のコネクタピンを有
し、このコネクタピンの内の1番ピンには電源電位が、
9番ピンには接地電位がそれぞれ処理装置から供給さ
れ、2番ピンが1番ピンに同電位に接続され、6番ピン
乃至8番ピンが9番ピンと同電位に接続されており、1
番ピンあるいは2番ピンのいずれかに1本のケーブル
が、6番ピン乃至9番ピンのいずれかに1本のケーブル
が、そして3番ピン乃至5番ピンにそれぞれケーブルが
接続されており、4番ピン及び5番ピンを通して制御信
号が伝送され、3番ピンを通してクロックドシリアル通
信方式のデータが周辺機器から処理装置に供給される如
く構成されたピン配列のコネクタプラグを有することを
特徴とする周辺機器用コネクタ。
6. A connector for connecting peripheral equipment to a processing device, the connector having a plug connector detachably connected to a socket connector of the processing device,
This plug connector has nine connector pins arranged in a row that respectively come into contact with the nine pins of the socket, and the pin 1 of the connector pins has a power supply potential.
The ground potential is supplied to the 9th pin from the processing device, the 2nd pin is connected to the 1st pin at the same potential, and the 6th to 8th pins are connected to the 9th pin and the same potential.
One cable is connected to either pin # 2 or pin # 2, one cable is connected to any of pins # 6 to # 9, and a cable is connected to pins # 3 to # 5, respectively. A control signal is transmitted through pins 4 and 5, and clocked serial communication system data is supplied from a peripheral device to a processing device through a pin 3. Peripheral device connector.
JP1995010212U 1995-09-27 1995-09-27 Peripheral device connector Expired - Lifetime JP3025870U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1995010212U JP3025870U (en) 1995-09-27 1995-09-27 Peripheral device connector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1995010212U JP3025870U (en) 1995-09-27 1995-09-27 Peripheral device connector

Publications (1)

Publication Number Publication Date
JP3025870U true JP3025870U (en) 1996-06-25

Family

ID=43161051

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1995010212U Expired - Lifetime JP3025870U (en) 1995-09-27 1995-09-27 Peripheral device connector

Country Status (1)

Country Link
JP (1) JP3025870U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015204166A (en) * 2014-04-11 2015-11-16 ソニー株式会社 Peripheral device, host device, and processing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015204166A (en) * 2014-04-11 2015-11-16 ソニー株式会社 Peripheral device, host device, and processing method
US10198392B2 (en) 2014-04-11 2019-02-05 Sony Corporation Peripheral device, host device, and processing method

Similar Documents

Publication Publication Date Title
US5630170A (en) System and method for determining peripheral's communication mode over row of pins disposed in a socket connector
AU695704B2 (en) Improvement in communication between data processing apparatus and peripheral device thereof
AU2007240183B2 (en) Apparatus for managing multiple computers with a cartridge connector
US6654840B1 (en) Connection cable identification mechanism
KR100460432B1 (en) A system for monitoring connection pattern of data ports
EP0579505B1 (en) Video graphics apparatus
JP2008524672A (en) Multiple graphics adapter connection system
US4525802A (en) Portable electronic testing apparatus
US6009529A (en) Method of realizing DPMS function of display device using USB
JP3022283U (en) Peripheral equipment for game devices
JP3025870U (en) Peripheral device connector
JPH11288352A (en) Keyboard device
US4409669A (en) Signal processing device
US6122687A (en) Multimedia computer system having multimedia bus
EP0716392B1 (en) Communication between data processing apparatus and peripheral device thereof
EP0852356A1 (en) Game device, peripheral device and relay device
CN214068355U (en) Wireless digital oral cavity observer split device
JP2005136980A (en) Information processor and connection cable used therefor
CN217279553U (en) Module upgrading circuit and module upgrading device
JP3073902U (en) Digital projection display device
KR100277665B1 (en) Device Bay Controller with Isquare Square Line
JPS6128453Y2 (en)
KR19990081159A (en) Unified Communication Interface Unit
JPS61265163A (en) Game apparatus
JPH0744292A (en) Man-machine interface device