Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0467825B2 - - Google Patents
[go: Go Back, main page]

JPH0467825B2 - - Google Patents

Info

Publication number
JPH0467825B2
JPH0467825B2 JP62148489A JP14848987A JPH0467825B2 JP H0467825 B2 JPH0467825 B2 JP H0467825B2 JP 62148489 A JP62148489 A JP 62148489A JP 14848987 A JP14848987 A JP 14848987A JP H0467825 B2 JPH0467825 B2 JP H0467825B2
Authority
JP
Japan
Prior art keywords
data
transmission line
bit
communication
bits
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
JP62148489A
Other languages
Japanese (ja)
Other versions
JPS63312752A (en
Inventor
Tsutomu Shinomya
Takami Katsumoto
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.)
Victor Company of Japan Ltd
Original Assignee
Victor Company of Japan 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 Victor Company of Japan Ltd filed Critical Victor Company of Japan Ltd
Priority to JP62148489A priority Critical patent/JPS63312752A/en
Publication of JPS63312752A publication Critical patent/JPS63312752A/en
Publication of JPH0467825B2 publication Critical patent/JPH0467825B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は調歩同期方式によるデータ通信が行わ
れるべき端末装置に接続されている伝送回線へ接
続して使用される付属機器のデータ通信を可能に
する条件の自動設定方式に関する。
[Detailed Description of the Invention] (Industrial Application Field) The present invention enables data communication of attached equipment used by connecting to a transmission line connected to a terminal device that is to perform data communication using the start-stop synchronization method. Concerning the automatic setting method of conditions for

(従来の技術) データの処理及び伝送を行うデータ通信システ
ムが、近年になつて各種の用途に広く使用される
ようになつたが、前記したデータ通信システムに
おけるデータ伝送系では、信号形態(信号方式、
符号形態)や伝送速度、同期のとり方、ビツト
長、パリテイチエツク方式の種別、その他の必要
な事項について、送受の機器間でそれぞれ一定の
約束事(通信規約)が定められていて、データの
伝送は前記の通信規約に従つて行われるようにな
されているのであり、例えば、伝送回線自体に同
期の要素がなく、また、比較的に低い伝送速度で
のデータ伝送が許容されるような場合には、伝送
の対象にされるデータの前後に、それぞれ1ビツ
ト長のスタートビツトとストツプビツトを付加し
てデータ伝送を行うようにした調歩同期方式によ
るデータ伝送が従来から多用されていることは周
知のとおりである。
(Prior Art) Data communication systems that process and transmit data have come to be widely used for various purposes in recent years. method,
Certain conventions (communication regulations) are established between sending and receiving devices regarding data transmission (coding format), transmission speed, synchronization method, bit length, type of parity check method, and other necessary matters. This is done in accordance with the communication rules mentioned above.For example, in cases where there is no synchronization element in the transmission line itself and data transmission at a relatively low transmission rate is permitted. It is well known that a start-stop synchronization method has been widely used for data transmission, in which a start bit and a stop bit of 1 bit length are added before and after the data to be transmitted. That's right.

(発明が解決しようとする問題点) さて、データ通信におけるデータ伝送は、前述
のようにそれぞれ予め定められた通信規約に従つ
て行われているから、ある特定な通信規約に従つ
てデータ伝送が行われているデータの伝送回線に
対して、他の機器や装置または回路を付属または
付加しようとする場合には、データの伝送回線に
対して付加されるべき前記の機器や装置または回
路等も、当然のことながら前記した予め定められ
た通信規約に従つて動作するようになされなけれ
ばならない。
(Problem to be Solved by the Invention) Now, data transmission in data communication is performed according to predetermined communication rules as described above, so data transmission is performed according to a certain communication rule. If you plan to attach or add other equipment, devices, or circuits to the data transmission line that is currently being used, the aforementioned equipment, devices, or circuits that should be added to the data transmission line must also be included. Of course, it must be made to operate in accordance with the predetermined communication rules mentioned above.

前記のようにある特定な通信規約に従つたデー
タ伝送を行つているデータの伝送回線に対して、
他の機器や装置または回路を付属または付加して
使用するようにした装置の従来例の一つとして
は、伝送回線中で伝送されているデータの状態を
デイスプレイ上に表示させうるようにした付加装
置を挙げることができるが、前記した従来例の付
加装置を、予め定められた通信規約に従つたデー
タ伝送を行つているデータ伝送回線に接続して動
作させるようにするのには、その付加装置に前記
した通信規約に従つた動作を行わせうるように、
その付加装置の動作要件の設定を人手によつて付
加装置に一々入力することが必要とされていたの
で前記した従来例の付加装置は取扱い煩雑なもの
になつていた。
For data transmission lines that transmit data according to a specific communication protocol as mentioned above,
One of the conventional examples of devices that are attached or used with other devices, devices, or circuits is a device that can display the status of data being transmitted on a transmission line on a display. However, in order to operate the conventional additional device described above by connecting it to a data transmission line that transmits data according to a predetermined communication protocol, it is necessary to add the additional device. In order to enable the device to operate in accordance with the communication rules described above,
Since it was necessary to manually enter the settings for the operating requirements of the additional device into the additional device one by one, the above-mentioned conventional additional device was complicated to handle.

(問題点を解決するための手段) 本発明は、調歩同期方式によるデータ通信が行
われるべき端末装置に接続されている伝送回線へ
接続して使用される付属機器のデータ通信を可能
にする条件の自動設定方式であつて、前記の付属
機器が接続されている伝送回線に、スタートビツ
トに続くデータとして最小桁のビツトが“1”で
あるような第1のデータを伝送し、次いで、第2
のデータとして前記した第1のデータにおける
“1”のビツトの個数が奇数の場合には“1”の
ビツトの個数が偶数であり、また、第1のデータ
における“1”のビツトの個数が偶数の場合には
“1”のビツトの個数が奇数であるようなデータ
をスタートビツトに続けて伝送する手段と、前記
した付属機器において、前記した伝送回線に伝送
された第1のデータに先行して伝送されたスター
トビツトの時間長を計測して、ボーレートとデー
タ読出しのためのサンプリングのタイミングを決
定する手段と、前記した伝送回線に伝送された第
1のデータと第2のデータとに対するパリテイビ
ツトの付加の態様によつて、伝送回線を含んで構
成されているデータ通信系で採用されているパリ
テイチエツク方式の種別を決定する手段と、予め
用意された複数のビツトパターンと、前記した第
1のデータを含む第1の情報信号及び第2のデー
タを含む第2の情報信号におけるビツトパターン
とを比較して、伝送回線を含んで構成されている
データ通信系で採用されている通信規約を推定す
る手段と、前記の推定された通信規約に従つて付
属機器が動作を行うことができるように付属機器
における動作条件を設定する手段とを備えてなる
付属機器のデータ通信を可能にする条件の自動設
定方式を提供して従来の問題点を解決したもので
ある。
(Means for Solving the Problems) The present invention provides conditions for enabling data communication of an accessory device used by being connected to a transmission line connected to a terminal device on which data communication using an asynchronous method is to be performed. In this automatic setting method, the first data whose least significant bit is "1" is transmitted as data following the start bit to the transmission line to which the accessory equipment is connected, and then the first data is transmitted as the data following the start bit. 2
If the number of "1" bits in the first data is an odd number, the number of "1" bits is an even number, and the number of "1" bits in the first data is an even number. means for transmitting data in which the number of "1" bits is an odd number in the case of an even number, following the start bit; means for determining the baud rate and sampling timing for data readout by measuring the time length of the start bit transmitted through the transmission line; A means for determining the type of parity check method adopted in a data communication system including a transmission line, depending on the manner of adding parity bits, a plurality of pre-prepared bit patterns, and the above-mentioned method. The bit patterns in the first information signal containing the first data and the second information signal containing the second data are compared to determine the communication adopted in a data communication system including a transmission line. Enables data communication of an accessory device, comprising means for estimating a protocol and means for setting operating conditions in the accessory device so that the accessory device can operate in accordance with the estimated communication protocol. This method solves the conventional problems by providing an automatic setting method for the conditions.

(実施例) 以下、添付図面を参照しながら調歩同期方式に
よるデータ通信が行われるべき端末装置に接続さ
れている伝送回線へ接続して使用される付属機器
のデータ通信を可能にする条件の自動設定方式の
具体的な内容について詳細に説明する。
(Example) Below, with reference to the attached drawings, automatic conditions for enabling data communication of accessory equipment used by connecting to a transmission line connected to a terminal device to which data communication using the asynchronous method is to be performed will be explained. The specific contents of the setting method will be explained in detail.

第1図は本発明の付属機器のデータ通信を可能
にする条件の自動設定方式の一実施例の概略構成
を示すブロツク図であり、また、第2図は付属機
器のデータ通信を可能にする条件の自動設定時に
使用される信号の構成例図、第3図は付属機器の
一例構成を示すブロツク図である。
FIG. 1 is a block diagram showing a schematic configuration of an embodiment of a method for automatically setting conditions that enables data communication of accessory devices according to the present invention, and FIG. FIG. 3 is a block diagram showing an example of the structure of the attached equipment.

第1図において、HCは例えばホストコンピユ
ータ、TAは例えば端末装置であり、Tはデータ
の伝送回線であり、前記したホストコンピユータ
HCと、端末装置TAと、データの伝送回線Tと
は、ある特定な通信規約に従つて構成されている
データ通信系を構成している。
In FIG. 1, HC is, for example, a host computer, TA is, for example, a terminal device, and T is a data transmission line.
The HC, the terminal device TA, and the data transmission line T constitute a data communication system configured according to a specific communication protocol.

第1図に示されているホストコンピユータHC
と端末装置TAとの間の伝送回線T中に符号
ADAによつて示されているブロツクは、データ
通信系に接続して使用される付属機器ADAを表
わしているが、以下の説明において、この付属機
器ADAとしては、ある特定な通信規約に従つて
前記したホストコンピユータHCと、端末装置
TAと、データの伝送回線Tとによつて構成され
ているデータ通信系におけるデータ伝送回線Tで
伝送されているすべての情報信号を、前記したホ
ストコンピユータHCと端末装置TA間のデータ
伝送に関して適用されている通信規約に従つた動
作を行つて記録したり、また、その記録された情
報信号を再生して伝送回線Tに出力できるような
機能を備えて構成されているものであり、その一
例構成を第3図に示す。
The host computer HC shown in Figure 1
and the terminal equipment TA on the transmission line T.
The block indicated by ADA represents an accessory device ADA that is used by connecting to a data communication system, but in the following explanation, this accessory device ADA is defined as a The above-mentioned host computer HC and terminal device
All information signals transmitted on the data transmission line T in the data communication system constituted by the TA and the data transmission line T are applied to the data transmission between the host computer HC and the terminal device TA described above. It is configured with functions that allow it to perform operations and record data in accordance with established communication regulations, and to reproduce the recorded information signal and output it to the transmission line T. The configuration is shown in Figure 3.

第3図において1は端末装置TAとのインター
フエース、2はホストコンピユータHCとのイン
ターフエース、3は通信用の大規模集積回路、4
は中央演算処理装置、5は情報信号記憶装置(例
えばフロツピーデイスクのような磁気記録媒体を
用いて記録再生を行なう磁気記録再生装置)、6
は入力ポート、7はリードオンリーメモリ
(ROM)、8はランダムアクセスメモリ
(RAM)、9〜11はデータバスである。
In Fig. 3, 1 is an interface with the terminal device TA, 2 is an interface with the host computer HC, 3 is a large-scale integrated circuit for communication, and 4 is an interface with the host computer HC.
5 is a central processing unit, 5 is an information signal storage device (for example, a magnetic recording and reproducing device that performs recording and reproduction using a magnetic recording medium such as a floppy disk), 6
7 is a read-only memory (ROM), 8 is a random access memory (RAM), and 9 to 11 are data buses.

付属機器ADAは、それをある特定な通信規約
に従つてホストコピユータHCと、端末装置TA
との間のデータ伝送回線Tに接続することによ
り、前記した伝送回線Tで伝送されているすべて
の情報信号を情報信号記憶装置5の磁気記録媒体
に記録できるから、前記した情報信号が記録され
た記録済磁気記録媒体からの情報信号を再生して
情報信号記憶装置5より、前記した付属機器
ADAから送出された情報信号を、ホストコンピ
ユータHCから送出された情報信号の代用として
用いることができ、また、ホストコンピユータ
HCでは前記した付属機器ADAから送出された情
報信号を、端末装置TABから送出された情報信
号の代用として用いることができるのであり、前
記のような機能を備えている付属機器ADAは、
それを多くの用途で有効に使用できるのである。
The attached device ADA communicates it with the host copier HC and the terminal device TA according to certain communication protocols.
By connecting to the data transmission line T between the The information signal from the recorded magnetic recording medium is reproduced from the information signal storage device 5 to the above-mentioned accessory equipment.
The information signal sent from the ADA can be used as a substitute for the information signal sent from the host computer HC.
In the HC, the information signal sent from the accessory device ADA described above can be used as a substitute for the information signal sent from the terminal device TAB, and the accessory device ADA equipped with the above-mentioned functions is
It can be used effectively for many purposes.

さて、前記のような付属機器ADAが前記のよ
うに、ある特定な通信規約に従つてホストコンピ
ユータHCと、端末装置TAと、データの伝送回
線Tとによつて構成されているデータ通信系にお
けるデータ伝送回線Tで伝送されているすべての
情報信号を記録したり、また、その記録された情
報信号を再生して伝送回線Tに出力して、その情
報信号によりホストコンピユータHCや端末装置
TAを動作させうるような付属機器ADAとして
は、前記したホストコンピユータHCと端末装置
TA間のデータ伝送に関して適用されている特定
な通信規約に従つた動作を行いうるようになされ
る必要があるが、ホストコンピユータHCと端末
装置TA間のデータ伝送に関して適用されている
通信規約は種々雑多である。
Now, as mentioned above, the accessory device ADA is used in a data communication system consisting of a host computer HC, a terminal device TA, and a data transmission line T according to a certain communication protocol. All information signals being transmitted on the data transmission line T can be recorded, or the recorded information signals can be reproduced and output to the transmission line T, and the information signals can be used to control the host computer HC or terminal device.
The attached equipment ADA that can operate TA includes the above-mentioned host computer HC and terminal device.
It is necessary to be able to operate in accordance with the specific communication protocol applied to data transmission between TAs, but there are various communication protocols applied to data transmission between the host computer HC and terminal device TA. Miscellaneous.

そして、付属機器ADAとしては前記した種々
雑多な多くの通信規約の内の何れのものが適用さ
れている伝送回線Tに対しても簡単に接続使用で
きるように、データ伝送が行われている伝送回線
Tに付属機器ADAが接続されるときには、その
付属機器ADAの動作態様が伝送回線Tにおける
データ伝送に適用されている特定な通信規約に対
応したものに自動的に設定されるようなものであ
ることが望まれる。
The attached equipment ADA is designed to be used for data transmission so that it can be easily connected to the transmission line T to which any of the miscellaneous communication regulations mentioned above are applied. When an accessory device ADA is connected to line T, the operation mode of the accessory device ADA is automatically set to correspond to the specific communication protocol applied to data transmission on transmission line T. Something is desired.

そのために、本発明では調歩同期方式によるデ
ータ通信が行われるべき端末装置TAに接続され
ている伝送回線Tへ接続して使用される付属機器
ADAのデータ通信を可能にする条件の自動設定
方式として、付属機器ADAが接続されている伝
送回線Tに、スタートビツトに続くデータとして
最小桁のビツトが“1”であるような第1のデー
タを伝送し、次いで、第2のデータとして前記し
た第1のデータにおける“1”とビツトの個数が
奇数の場合には“1”のビツトの個数が偶数であ
り、また、第1のデータにおける“1”のビツト
の個数が偶数の場合には“1”のビツトの個数が
奇数であるようなデータをスタートビツトに続け
て伝送する手段と、前記した付属機器ADAにお
いて、前記した伝送回線Tに伝送された第1のデ
ータに先行して伝送されたスタートビツトの時間
長を計測して、ボーレートとデータ読出しのため
のサンプリングのタイミングを決定する手段と、
前記した伝送回線Tに伝送された第1のデータと
第2のデータとに対するパリテイビツトの付加の
態様によつて、伝送回線Tを含んで構成されてい
るデータ通信系で採用されているパリテイチエツ
ク方式の種別を決定する手段と、予め用意された
複数のビツトパターンと、前記した第1のデータ
を含む第1の情報信号と、第2のデータを含む第
2の情報信号におけるビツトパターンとを比較し
て、伝送回線Tを含んで構成されているデータ通
信系で採用されている通信規約を推定する手段
と、前記の推定された通信規約に従つて付属機器
ADAが動作を行うことができるように付属機器
ADAにおける動作条件を設定する手段とを備え
てなる付属機器のデータ通信を可能にする条件の
自動設定方式を提供して前記の問題点を解決した
のである。
For this purpose, in the present invention, an accessory device used by connecting to a transmission line T connected to a terminal device TA on which data communication based on the start-stop synchronization method is to be performed.
As an automatic setting method for the conditions that enable ADA data communication, the first data whose smallest digit bit is "1" as the data following the start bit is sent to the transmission line T to which the attached device ADA is connected. Then, if the number of "1" bits in the first data described above is an odd number, the number of "1" bits is an even number, and the number of "1" bits in the first data is an even number. When the number of "1" bits is an even number, a means for transmitting data in which the number of "1" bits is an odd number is provided following the start bit, and the above-mentioned transmission line T means for determining the baud rate and sampling timing for data readout by measuring the time length of a start bit transmitted prior to the first data transmitted to the first data;
The parity check employed in the data communication system including the transmission line T depends on the manner in which parity bits are added to the first data and second data transmitted over the transmission line T. means for determining the type of system; a plurality of bit patterns prepared in advance; and bit patterns in the first information signal including the first data and the second information signal including the second data. By comparison, means for estimating the communication protocol adopted in the data communication system including the transmission line T, and the attached equipment according to the estimated communication protocol.
Attached equipment to allow ADA to perform operations
The above-mentioned problems have been solved by providing a method for automatically setting conditions that enables data communication of attached equipment, which is equipped with a means for setting operating conditions in ADA.

さて、データ伝送が行われている伝送回線Tに
付属機器ADAが接続されたときに、その付属機
器ADAによつて良好な信号処理が行われるため
には、付属機器ADAが接続されている伝送回線
Tで伝送されているデータに適用されている特定
な通信規約の内容を確めて、付属機器ADAにお
ける信号処理が、前記した伝送回線Tで伝送され
ているデータに適用されている特定な通信規約の
内容と同一な内容に従つて行われることが必要で
あることは既述のとおりである。
Now, when an accessory device ADA is connected to the transmission line T where data is being transmitted, in order for the accessory device ADA to perform good signal processing, it is necessary to Check the content of the specific communication protocol applied to the data being transmitted over the transmission line T, and confirm that the signal processing in the attached device ADA As mentioned above, it is necessary to follow the same content as the communication agreement.

そして、前記のように同一にすべき通信規約の
内容は、データ通信が調歩同期方式によつて行わ
れることを前提とすると、スタートビツトと、ス
トツプビツトと、ボーレートと、データ読出しの
ためのサンプリングパルスの周期と、パリテイチ
エツク方式の種別と、ビツト長などである。
As mentioned above, the content of the communication protocol that should be the same is the start bit, stop bit, baud rate, and sampling pulse for data readout, assuming that data communication is performed using the start-stop synchronization method. These include the cycle of the parity check, the type of parity check method, and the bit length.

すなわち、調歩同期方式によつて行われている
データ通信に際して採用されている通信規約に従
つて、スタートビツトの時間長、ストツプビツト
のビツト数、ボーレート、データ読出しのための
サンプリングパルスの周期等の値が、それぞれ異
なつていたり、また、データ長に関しても、7ビ
ツトのデータ長が採用されていたり、あるいは8
ビツトのデータ長が採用されていたりする他、採
用されているパリテイチエツク方式についてみて
も、奇数パリテイ方式、偶数パリテイ方式、その
他、というように異なつているが、本発明方式で
は、調歩同期方式によるデータ通信が行われてい
る端末装置に接続されている伝送回線に接続して
使用される付属機器において、前記したスタート
ビツトの時間長、ストツプビツトの時間長、ボー
レート、データ読出しのためのサンプリングパル
スの周期等の値、データ長や、採用されているパ
リテイチエツク方式等を検知し、それに基づいて
付属機器が接続されるべき伝送回線Tを含んで構
成されているデータ通信系で採用されている通信
規約を推定することができるように、調歩同期方
式により特定な条件に合つている符号形態を有す
る2つのキヤラクタを付属機器ADAに与え、調
歩同期方式で伝送される符号の構成上の特徴や、
前記した特定な条件に合うような符号形態を有す
る2つのキヤラクタのパターンなどに基づいて付
属機器が接続されるべき伝送回線Tを含んで構成
されているデータ通信系で採用されている通信規
約を推定することができるようにしているのであ
る。
In other words, in accordance with the communication protocol adopted for data communication performed by the start-stop synchronization method, values such as the start bit time length, the number of stop bits, the baud rate, and the cycle of sampling pulses for data reading are determined. However, the data length is different, and the data length is 7 bits or 8 bits.
In addition to the data length of bits adopted, there are also different parity check methods adopted, such as odd parity method, even parity method, and others, but in the method of the present invention, In accessory equipment that is connected to a transmission line connected to a terminal device on which data communication is being performed, the above-mentioned start bit time length, stop bit time length, baud rate, and sampling pulse for data reading are It is used in a data communication system that includes a transmission line T to which attached equipment is connected based on the values of the period, data length, and parity check method employed. In order to be able to estimate the communication protocol that is transmitted using the asynchronous method, two characters having a code form that meets specific conditions are provided to the attached device ADA using the asynchronous method, and the structural characteristics of the code transmitted using the asynchronous method are provided. or,
The communication rules adopted in the data communication system including the transmission line T to which the attached equipment is connected are based on the pattern of two characters having a code form that meets the specific conditions mentioned above. This allows for estimation.

前記の点について図を参照して詳述すると次の
とおりである。まず、調歩同期方式で伝送される
情報信号の符号形態は、伝送されるべき1つずつ
のキヤラクタ(データ)毎に、まず1ビツト長の
スタートビツトbstが設けられており、前記した
スタートビツトbstに所定のビツト数のデータ
(7ビツトのデータ、あるいは8ビツトのデータ)
が続き、次いで、必要に応じて置かれるパリテイ
ビツトbpが続き、それに所定の時間長のストツプ
ビツトbspが続くというような時間軸上での構成
形態(第2図参照)を有するものになされてい
る。
The above points will be explained in detail with reference to the drawings as follows. First, in the code form of the information signal transmitted using the asynchronous method, a 1-bit long start bit b st is provided for each character (data) to be transmitted. b Specified number of bits of data in st (7-bit data or 8-bit data)
is followed by a parity bit b p placed as necessary, followed by a stop bit b sp of a predetermined length of time (see Figure 2). There is.

そして本発明方式では、調歩同期方式で伝送さ
れるべき前記したような情報信号の符号形態に従
つた構成を有しており、第2図に例示されている
ような特定な構成形態とされていて、データ通信
系で採用されている通信規約に従つて構成されて
いる第1、第2の情報信号が、付属機器ADAを
使用して行なわれるデータ通信の開始に先立つて
付属機器ADAに与えられるように時間軸上で直
列的に電送回線Tに送出し、付属機器ADAが前
記の第1、第2の情報信号によつてデータ通信系
で採用されている通信規約を推定し、付属機器
ADAの動作条件をデータ通信が可能となるよう
に自動設定するのである。
The system of the present invention has a configuration that follows the code format of the information signal as described above to be transmitted in the asynchronous system, and has a specific configuration as illustrated in FIG. 2. The first and second information signals configured in accordance with the communication protocol adopted in the data communication system are provided to the accessory device ADA prior to the start of data communication performed using the accessory device ADA. The attached device ADA estimates the communication protocol adopted in the data communication system based on the first and second information signals, and the attached device
It automatically sets the operating conditions of ADA to enable data communication.

ところで、前記した第1、第2の各情報信号の
構成態様は、第2図に例示されているところから
明らかなように、それぞれ次のとおりである。第
1の情報信号は、スタートビツトbstに続くデー
タとして最小桁のビツト(LSB)が“1”であ
るような第1のデータを含んで構成されているも
のであり、また、第2の情報信号は、前記した第
1のデータにおける“1”のビツトの個数が奇数
の場合には“1”のビツトの個数が偶数であり、
また、第1のデータにおける“1”のビツトの個
数が偶数の場合には“1”のビツトの個数が奇数
であるようなデータがスタートビツトbstに引続
いて現われるような第2のデータを含んで構成さ
れているものである。
By the way, as is clear from the example shown in FIG. 2, the configurations of the first and second information signals described above are as follows. The first information signal is configured to include first data whose least significant bit (LSB) is "1" as data following the start bit bst , and the first information signal includes first data whose least significant bit (LSB) is "1". In the information signal, when the number of "1" bits in the first data is an odd number, the number of "1" bits is an even number,
Furthermore, when the number of "1" bits in the first data is an even number, the second data such that data with an odd number of "1" bits appears following the start bit b st It is composed of:

前記のような条件に合う第1、第2のデータの
例としては、16進数でODで示される記号「CR」
(復帰)が第1のデータ、16進数でOAで示され
る記号「LF」(改行)が第2のデータとして挙げ
られる。第1、第2のデータとして、前述の例の
「CR」、「LF」を用いることは望ましい選択例で
あり、第2図中に示されている第1、第2のデー
タとしても、第1、第2のデータとして「CR」、
「LF」が使用されている場合を示している。
An example of the first and second data that meet the above conditions is the symbol "CR" indicated by OD in hexadecimal.
(Return) is the first data, and the symbol "LF" (line feed), which is indicated by OA in hexadecimal, is the second data. It is a desirable selection example to use "CR" and "LF" in the above example as the first and second data, and as the first and second data shown in FIG. 1. “CR” as the second data,
Indicates when "LF" is used.

前記のように、データ通信系で採用されている
通信規約に従つて構成されている第2図に例示さ
れている構成態様の第1、第2の情報信号が、付
属機器を使用して行なわれるデータ通信の開始に
先立つて、例えば端末装置TA側(ホストコンピ
ユータHC側であつてもよい)から伝送回線Tを
介して付属機器ADAにおけるインターフエース
1(第3図)に与えられると、前記の第1、第2
の情報信号器は入力ポート6とデータバス9とを
介して中央演算処理装置4に供給される。
As mentioned above, the first and second information signals of the configuration illustrated in FIG. Prior to the start of data communication, for example, when the terminal device TA side (which may be the host computer HC side) sends the data to the interface 1 (FIG. 3) in the attached device ADA via the transmission line T, the above-mentioned 1st and 2nd
The information signals are supplied to the central processing unit 4 via an input port 6 and a data bus 9.

中央演算処理装置4では、それに供給された第
1、第2の情報信号に基づいて、端末装置TAか
ら伝送回線Tに送出されたデータが、どのような
通信規約に従つて伝送されたものであるかを推定
して、その推定結果を通信用の大規模集積回路3
(例えば、マツチプル・プルトコル・シリアル・
コントローラ)に与えて、通信用の大規模集積回
路3を、前記の推定された通信規約に適合する動
作条件に初期化する。
Based on the first and second information signals supplied to the central processing unit 4, the central processing unit 4 determines under what communication protocol the data sent from the terminal device TA to the transmission line T. Large-scale integrated circuit for communication 3
(For example, Matuchipuru, Plutocol, Serial, etc.
controller) to initialize the large-scale integrated circuit 3 for communication to operating conditions compatible with the estimated communication protocol.

ここで、まず、伝送回線Tを介して付属装置
ADAに供給された第1、第2の情報信号に基づ
いて、端末装置TA(またはホストコンピユータ
HC)から伝送回線Tに送出されたデータが、ど
のような通信規約に従つて伝送されたものである
かの推定が、中央演算処理装置4で行なうことが
できるのかという点の根拠について述べる。第
1、第2の情報信号とが時間軸上に順次に配列さ
れた場合に、前記した第1、第2の2つの情報信
号における時間軸上での信号レベルの変化の状態
に着目すると次の事項が明らかにされる。
Here, first, the attached device is connected via the transmission line T.
Based on the first and second information signals supplied to the ADA, the terminal device TA (or host computer
The reason why the central processing unit 4 can estimate what kind of communication protocol the data sent from the HC) to the transmission line T is transmitted will be described below. When the first and second information signals are arranged sequentially on the time axis, focusing on the state of change in the signal level of the first and second information signals on the time axis, we can see the following: The following matters will be clarified.

第2図を参照して、第1の情報信号におけるス
タートビツトbstの前縁の時間位置t1において、
信号のレベルがハイレベルの状態からローレベル
の状態に変化し、次いで、時刻t2で第1のデータ
におけるLSBの1の状態が検出されるが、前記
した時刻t1から時刻t2までの時間長τbは、この第
1、第2の情報信号の伝送に適用されている通信
規約で定められている1ビツト長を示している。
Referring to FIG. 2, at the time position t1 of the leading edge of the start bit b st in the first information signal,
The signal level changes from a high level state to a low level state, and then, at time t2, a state of 1 in the LSB in the first data is detected, but the time length τb from time t1 to time t2 described above indicates the 1-bit length defined in the communication protocol applied to the transmission of the first and second information signals.

したがつて、この時間長τbが判かれば第1、
第2の2つの情報信号の伝送に際して適用されて
いる通信規約におけるボーレートが直ちに明らか
にされるとともに、前記した時刻t1、2と時間長
τbとの情報に基づいて、第1、第2のデータに
おける順次の各ビツトの略々中央部分の時間位置
に順次のパルスが存在している如きデータ読取り
のためのサンプリングパルスを発生させることも
容易にできることは明らかである。
Therefore, if this time length τb is known, the first
The baud rate in the communication protocol applied to the transmission of the second two information signals is immediately revealed, and the first and second data are It is clear that it is also readily possible to generate sampling pulses for reading data such that the successive pulses are located approximately in time at the midpoint of each successive bit in .

またスタートビツトbstに続くデータとして最
小桁のビツト(LSB)が“1”であるような第
1のデータを含む第1の情報信号と、前記した第
1のデータにおける“1”のビツトの個数が奇数
の場合には“1”のビツトの個数が偶数であり、
また第1のデータにおける“1”のビツトの個数
が偶数の場合には“1”のビツトの個数が奇数で
あるようなデータがスタートビツトbstに引続い
て現われるような第2のデータを含む第2の情報
信号とにおけるパリテイビツトの状態を検出する
ことにより、この第1、第2の情報信号の伝送に
適用されている通信規約で定められているパリテ
イチエツクの方式が奇数パリテイ方式か、偶数パ
リテイ方式か、あるいはその他のパリテイ方式
か、もしくはノン・パリテイ方式であるのかが判
断できる。
Furthermore, as data following the start bit bst , there is a first information signal including first data whose least significant bit (LSB) is "1", and a first information signal containing first data whose least significant bit (LSB) is "1", and If the number is odd, the number of “1” bits is even,
Furthermore, if the number of "1" bits in the first data is an even number, the second data such that data with an odd number of "1" bits appears following the start bit bst is By detecting the state of the parity bit in the second information signal, it can be determined whether the parity check method specified in the communication protocol applied to the transmission of the first and second information signals is the odd parity method. , it can be determined whether it is an even parity method, another parity method, or a non-parity method.

そして、前記した第1、第2の情報信号は、そ
れらにおける第1、第2のデータとして、それぞ
れ所定の符号形態のものが選択使用されたとして
も、第1、第2のデータのビツト長や、パリテイ
ビツトの有無やそのビツト長などは、複数種類の
ものから選択して設定し、前記した第1、第2の
情報信号を構成しうるものであるから、付属機器
が接続されるべき伝送回線Tを含んで構成されて
いるデータ通信系で採用されている通信規約に従
つて前記した第1、第2の情報信号のビツトパタ
ーンとしては、所定数の複数種類のビツトパター
ンのものが存在しうることになる。
Furthermore, even if predetermined code formats are selected and used as the first and second data in the first and second information signals, the bit lengths of the first and second data are The presence/absence of parity bits, the bit length, etc. can be selected from multiple types and configured to configure the first and second information signals described above. According to the communication protocol adopted in the data communication system including the line T, the bit patterns of the first and second information signals described above include a predetermined number of different types of bit patterns. It will be possible.

それで、第1、第2の情報信号について、前記
した所定数の複数種類のビツトパターンをROM
7に予め用意しておいて、その予め用意しておい
た複数のビツトパターンと、前記した第1、第2
の情報信号のビツトパターンとを比較すれば、付
属機器ADAが接続されている伝送回線Tを含ん
で構成されているデータ通信系で採用されている
通信規約を推定することができることになる。
Therefore, for the first and second information signals, the predetermined number of bit patterns described above are stored in the ROM.
7 is prepared in advance, and the plurality of bit patterns prepared in advance and the first and second bit patterns described above are used.
By comparing the bit pattern of the information signal, it is possible to estimate the communication protocol adopted in the data communication system including the transmission line T to which the attached device ADA is connected.

それで、前記のようにして推定された通信規約
に従つて付属機器ADAが動作を行うことができ
るように、付属機器ADAに備えられている通信
用の大規模集積回路(例えば、マルチプル・プロ
トコル・シリアル・コントローラ)3を、前記の
ようにして推定された通信規約に適合する動作条
件に初期化することにより、付属機器ADAはそ
れが接続されている伝送回線Tを含んで構成され
ているデータ通信系で採用されている通信規約に
従つて動作できるようになる。
Therefore, in order to enable the attached device ADA to operate according to the communication protocol estimated as described above, the attached device ADA is equipped with a large-scale integrated circuit for communication (e.g., multiple protocol By initializing the serial controller (serial controller) 3 to operating conditions that conform to the communication protocol estimated as described above, the attached device ADA receives the data configured including the transmission line T to which it is connected. It becomes possible to operate according to the communication rules adopted in the communication system.

さて、端末装置TA(またはホストコンピユー
タHC)から伝送回線Tに送出されたデータが、
どのような通信規約に従つて伝送されたものであ
るかの推定を、前記した第1、第2の2つの情報
信号における時間軸上での信号レベルの変化の状
態に着目することにより、中央演算処理装置4で
行なうことができるという根拠は、以上のとおり
であり、中央演算処理装置4では、それに供給さ
れた第1、第2の情報信号をメモリ(RAM)に
格納した後に、メモリから読出した第1、第2の
情報信号について、前記した第1、第2の2つの
情報信号における時間軸上での信号レベルの変化
の状態を調べて、伝送回線Tに送出されたデータ
が、どのような通信規約に従つて伝送されたもの
であるのかの推定を行なうための信号処理を実行
する。
Now, the data sent from the terminal device TA (or host computer HC) to the transmission line T is
By focusing on the state of change in signal level on the time axis of the first and second information signals, it is possible to estimate the communication protocol according to which the data was transmitted. The reason why the processing can be performed by the processing unit 4 is as described above.The central processing unit 4 stores the first and second information signals supplied thereto in the memory (RAM), and then stores them from the memory. Regarding the read first and second information signals, the state of change in signal level on the time axis in the above-mentioned first and second information signals is checked to determine whether the data sent to the transmission line T is Signal processing is performed to estimate what kind of communication protocol is being transmitted.

例えば、前記した第1の情報信号におけるスタ
ートビツトbstの時間長τbの計測は、中央演算処
理装置4おいて、スタートビツトbstの信号レベ
ルがハイレベルの状態からローレベルの状態に変
化した時点から、第1のデータにおける最小桁の
ビツトによつて信号のレベルがローレベルの状態
からハイレベルの状態に変化した時点までのプロ
グラムの空回わりの回数を中央演算処理装置4内
に設けられているレジスタで計数し、その計数値
にステツプ数を乗算することによつて算出でき
る。
For example, the time length τb of the start bit b st in the first information signal described above is measured when the signal level of the start bit b st changes from a high level state to a low level state in the central processing unit 4. The number of idle runs of the program is set in the central processing unit 4 from the time when the signal level changes from a low level state to a high level state according to the least significant bit in the first data. It can be calculated by counting in the register provided and multiplying the counted value by the number of steps.

そして、前記した第1の情報信号におけるスタ
ートビツトbstの時間長τbは、既述のように第1、
第2の情報信号の伝送に適用されている通信規約
で定められている1ビツト長を示しているから、
前記の時間長τbによつて中央演算処理装置4で
は、直ちに第1、第2の2つの情報信号の伝送に
際して適用されている通信規約におけるボーレー
トを決定でき、また、中央演算処理装置4では前
記した時刻t1、t5と時間長τbとの情報に基づい
て、第1、第2のデータにおける順次の各ビツト
の略さ中央部分の時間位置に順次のパルスが存在
している如きデータ読取りのためのサンプリング
パルスを発生させるためのデータを設定できる。
Then, the time length τb of the start bit b st in the first information signal is as described above,
Since it indicates the 1-bit length stipulated in the communication protocol applied to the transmission of the second information signal,
Based on the time length τb, the central processing unit 4 can immediately determine the baud rate in the communication protocol applied to the transmission of the first and second information signals. Based on the information of times t1 and t5 and time length τb, it is possible to read data in which sequential pulses exist at the time positions of the abbreviations in the center of each successive bit in the first and second data. Data for generating sampling pulses can be set.

また、中央演算処理装置4では、スタートビツ
トbstに続くデータとして最小桁のビツト(LSB)
が“1”であるような第1のデータを含む第1の
情報信号と、前記した第1のデータにおける
“1”のビツトの個数が奇数の場合には“1”の
ビツトの個数が偶数であり、また、第1のデータ
における“1”のビツトの個数が偶数の場合には
“1”のビツトの個数が奇数であるようなデータ
がスタートビツトbstに引続いて現われるような
第2のデータを含む第2の情報信号とにおけるパ
リテイビツトの状態を検出することにより、この
第1、第2の情報信号の伝送に適用されている通
信規約で定められているパリテイチエツクの方式
が奇数パリテイ方式か、偶数パリテイ方式か、あ
るいはその他のパリテイ方式か、もしくはノン・
パリテイ方式であるのかを判断して、その結果の
データを得ることができる。
In addition, the central processing unit 4 uses the least significant bit (LSB) as data following the start bit b st.
If the first information signal includes the first data such that is "1" and the number of "1" bits in the first data is an odd number, the number of "1" bits is an even number. In addition, if the number of "1" bits in the first data is an even number, the first data such that the number of "1" bits is an odd number appears following the start bit bst . By detecting the state of the parity bit in the second information signal containing the second data, the parity check method specified in the communication regulations applied to the transmission of the first and second information signals can be detected. Odd parity method, even parity method, other parity method, or non-parity method.
It is possible to determine whether it is a parity method or not and obtain the resulting data.

前記した第1、第2の2つの情報信号における
時間軸上での信号レベルの変化の状態に着目して
中央演算処理装置4において行われた演算処理に
より得た各種のデータによつて得られたビツトパ
ターンは、前記した第1、第2の2つの情報信号
の伝送に際して適用された通信規約に従う第1、
第2のビツトパターンを示している。
It is obtained from various data obtained through arithmetic processing performed in the central processing unit 4, focusing on the state of change in signal level on the time axis in the above-mentioned first and second information signals. The bit patterns are the first and second bit patterns that comply with the communication regulations applied when transmitting the first and second information signals.
A second bit pattern is shown.

ところで、第1、第2の情報信号について複数
種類のビツトパターンが予めROM7に格納され
ているから、前記したROM7に格納されている
各ビツトパターンと、中央演算処理装置4の演算
処理によつて得られた各種のデータにより得られ
たビツトパターンとを中央演算処理装置4におい
て比較することにより、付属機器ADAが接続さ
れている伝送回線Tを含んで構成されているデー
タ通信系で採用されている通信規約が推定でき
る。
By the way, since a plurality of types of bit patterns for the first and second information signals are stored in the ROM 7 in advance, each bit pattern stored in the ROM 7 and the arithmetic processing of the central processing unit 4 are By comparing the bit patterns obtained from the various data obtained in the central processing unit 4, it is possible to determine whether the bit pattern is adopted in the data communication system including the transmission line T to which the attached device ADA is connected. It is possible to estimate the communication agreement.

そして、中央演算処理装置4は、前記の推定さ
れた通信規約に従つて大規模集積回路3が動作で
きるようにするために、通信用の大規模集積回路
3に対しデータバス9を介して、前記の推定され
た通信規約に適合する動作条件に初期化するため
のデータを与える。
Then, in order to enable the large-scale integrated circuit 3 to operate according to the estimated communication protocol, the central processing unit 4 transmits the following information to the large-scale integrated circuit 3 for communication via the data bus 9. Data is provided for initializing the operating conditions to conform to the estimated communication protocol.

それにより、付属機器ADAにおける通信用の
大規模集積回路3は情報記憶装置5と共働して、
ホストコンピユータHCと端末機器TAの間で採
用されている通信規約に従つたシリアルデータが
ホストコンピユータHCから付属機器ADAに供給
された場合には、それをバス10とインターフエ
ース1とを介して伝送回線Tにより端末機器TA
に伝送し、またホストコンピユータHCと端末機
器TAの間で採用されている通信規約に従つたシ
リアルデータが端末機器TAから付属機器ADA
に与えられた場合には、それをバス11とインタ
ーフエース2とを介して伝送回線Tによりホスト
コンピユータHCに伝送するような動作を行なう
ことができる。
Thereby, the large-scale integrated circuit 3 for communication in the attached device ADA cooperates with the information storage device 5,
When serial data is supplied from the host computer HC to the attached device ADA in accordance with the communication protocol adopted between the host computer HC and the terminal device TA, it is transmitted via the bus 10 and the interface 1. Terminal equipment TA via line T
Serial data is transmitted from the terminal device TA to the attached device ADA in accordance with the communication protocol adopted between the host computer HC and the terminal device TA.
, it can be transmitted to the host computer HC via the bus 11 and the interface 2 over the transmission line T.

(発明の効果) 以上、詳細に説明したところから明らかなよう
に、本発明では調歩同期方式によるデータ通信が
行われるべき端末装置TAに接続されている伝送
回線Tへ接続して使用される付属機器ADAのデ
ータ通信を可能にする条件の自動設定方式とし
て、付属機器ADAが接続されている伝送回線T
に、スタートビツトに続くデータとして最小桁の
ビツトが“1”であるような第1のデータを伝送
し、次いで、第2のデータとして前記した第1の
データにおける“1”のビツトの個数が奇数の場
合には“1”のビツトの個数が偶数であり、ま
た、第1のデータにおける“1”のビツトの個数
が偶数の場合には“1”のビツトの個数が奇数で
あるようなデータをスタートビツトに続けて伝送
する手段と、前記した付属機器ADAにおいて、
前記した伝送回線Tに伝送された第1のデータに
先行して伝送されたスタートビツトの時間長を計
測して、ボーレートとデータ読出しのためのサン
プリングのタイミングを決定する手段と、前記し
た伝送回線Tに伝送された第1のデータと第2の
データとに対するパリテイビツトの付加の態様に
よつて、伝送回線Tを含んで構成されているデー
タ通信系で採用されているパリテイチエツク方式
の種別を決定する手段と、予め用意された複数の
ビツトパターンと、前記した第1のデータを含む
第1の情報信号と、第2のデータを含む第2の情
報信号におけるビツトパターンとを比較して、伝
送回線Tを含んで構成されているデータ通信系で
採用されている通信規約を推定する手段と、前記
の推定された通信規約に従つて付属機器ADAが
動作を行うことができるように付属機器ADAに
おける動作条件を設定する手段とを備えることに
より、ホストコンピユータHCと端末装置TA間
のデータ伝送に関して適用されている通信規約は
種々雑多であつても、単に付属機器ADAを接続
すべき伝送回線Tに対して予め定められた第1、
第2の情報信号を伝送して、それが付属機器
ADAに供給されるようにするだけで、付属機器
ADAの動作態様が伝送回線Tにおけるデータ伝
送に適用されている特定な通信規約に対応したも
のに自動的に設定されるので、本発明方式によれ
ば従来の問題点はすべて良好に解決できる。
(Effects of the Invention) As is clear from the above detailed explanation, the present invention provides an accessory that is used by being connected to the transmission line T connected to the terminal device TA on which data communication based on the start-stop synchronization method is to be performed. The transmission line T to which the attached device ADA is connected is used as an automatic setting method for the conditions that enable data communication of the device ADA.
First, as data following the start bit, the first data in which the least significant bit is "1" is transmitted, and then as the second data, the number of "1" bits in the first data is transmitted. If the number is odd, the number of "1" bits is an even number, and if the number of "1" bits in the first data is even, the number of "1" bits is an odd number. In the means for transmitting data following the start bit and the above-mentioned accessory device ADA,
means for measuring the time length of a start bit transmitted prior to the first data transmitted to the transmission line T to determine the baud rate and sampling timing for data readout; Depending on the manner in which parity bits are added to the first data and second data transmitted to T, the type of parity check method adopted in the data communication system including the transmission line T can be determined. Comparing means for determining, a plurality of bit patterns prepared in advance, and bit patterns in the first information signal including the first data and the second information signal including the second data, A means for estimating the communication protocol adopted in the data communication system including the transmission line T, and an accessory device for enabling the attached device ADA to operate in accordance with the estimated communication protocol. By providing a means for setting operating conditions for ADA, even if there are various communication rules applied to data transmission between the host computer HC and the terminal device TA, it is possible to simply set the transmission line to which the attached device ADA should be connected. the first predetermined for T;
Transmits a second information signal to the attached device
Just allow the ADA to be supplied with the attached equipment
Since the operating mode of the ADA is automatically set to correspond to the specific communication protocol applied to data transmission on the transmission line T, the method of the present invention can satisfactorily solve all the problems of the conventional method.

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

第1図は本発明の付属機器のデータ通信を可能
にする条件の自動設定方式の一実施例の概略構成
を示すブロツク図、第2図は付属機器のデータ通
信を可能にする条件の自動設定時に使用される信
号の構成例図、第3図は付属機器の一例構成を示
すブロツク図である。 HC……ホストコンピユータ、TA……端末装
置、T……データの伝送回線、ADA……付属機
器、1……端末装置TAとのインターフエース、
2……ホストコンピユータHCとのインターフエ
ース、3……通信用の大規模集積回路、4……中
央演算処理装置、5……情報信号記憶装置(例え
ばフロツピーデイスクのような磁気記録媒体を用
いて記録再生を行なう磁気記録再生装置)、6…
…入力ポート、7……リードオンリーメモリ
(ROM)、8……ランダムアクセスメモリ
(RAM)、9〜11……データバス。
Fig. 1 is a block diagram showing a schematic configuration of an embodiment of a method for automatically setting conditions that enable data communication of attached devices according to the present invention, and Fig. 2 shows an automatic setting of conditions that enable data communication of attached devices. FIG. 3 is a block diagram showing an example of the structure of the attached equipment. HC...host computer, TA...terminal device, T...data transmission line, ADA...attached equipment, 1...interface with terminal device TA,
2...Interface with host computer HC, 3...Large-scale integrated circuit for communication, 4...Central processing unit, 5...Information signal storage device (for example, using a magnetic recording medium such as a floppy disk) magnetic recording/reproducing device), 6...
...Input port, 7... Read only memory (ROM), 8... Random access memory (RAM), 9 to 11... Data bus.

Claims (1)

【特許請求の範囲】[Claims] 1 調歩同期方式によるデータ通信が行われるべ
き端末装置に接続されている伝送回線へ接続して
使用される付属機器のデータ通信を可能にする条
件の自動設定方式であつて、前記の付属機器が接
続されている伝送回線に、スタートビツトに続く
データとして最小桁のビツトが“1”であるよう
な第1のデータを伝送し、次いで、第2のデータ
として前記した第1のデータにおける“1”のビ
ツトの個数が奇数の場合には“1”のビツトの個
数が偶数であり、また、第1のデータにおける
“1”のビツトの個数が偶数の場合には“1”の
ビツトの個数が奇数であるようなデータをスター
トビツトに続けて伝送する手段と、前記した付属
機器において、前記した伝送回線に伝送された第
1のデータに先行して伝送されたスタートビツト
の時間長を計測して、ボーレートとデータ読出し
のためのサンプリングのタイミングを決定する手
段と、前記した伝送回線に伝送された第1のデー
タと第2のデータとに対するパリテイビツトの付
加の態様によつて、伝送回線を含んで構成されて
いるデータ通信系で採用されているパリテイチエ
ツク方式の種別を決定する手段と、予め用意され
た複数のビツトパターンと、前記した第1のデー
タを含む第1の情報信号及び第2のデータを含む
第2の情報信号におけるビツトパターンとを比較
して、伝送回線を含んで構成されているデータ通
信系で採用されている通信規約を推定する手段
と、前記の推定された通信規約に従つて付属機器
が動作を行うことができるように付属機器におけ
る動作条件を設定する手段とを備えてなる付属機
器のデータ通信を可能にする条件の自動設定方
式。
1. A method for automatically setting conditions to enable data communication of an accessory device used by connecting to a transmission line connected to a terminal device to which data communication is to be performed using the start-stop synchronization method, where the accessory device is The first data whose least significant bit is "1" is transmitted as the data following the start bit to the connected transmission line, and then the "1" in the first data described above is transmitted as the second data. ” is an odd number, the number of “1” bits is an even number, and if the number of “1” bits in the first data is even, the number of “1” bits is an even number. means for transmitting data whose number is an odd number following a start bit, and the above-mentioned accessory device, measuring the length of time of the start bit transmitted prior to the first data transmitted to the above-mentioned transmission line. The transmission line is controlled by means for determining the baud rate and sampling timing for data readout, and by adding parity bits to the first data and second data transmitted to the transmission line. means for determining the type of parity check adopted in the data communication system, a plurality of bit patterns prepared in advance, a first information signal including the first data; means for estimating a communication protocol adopted in a data communication system including a transmission line by comparing bit patterns in a second information signal including second data; An automatic setting method of conditions for enabling data communication of an accessory device, comprising means for setting operating conditions in the accessory device so that the accessory device can operate in accordance with communication regulations.
JP62148489A 1987-06-15 1987-06-15 Automatic setting system for conditions to enable data communication of auxiliary equipment Granted JPS63312752A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62148489A JPS63312752A (en) 1987-06-15 1987-06-15 Automatic setting system for conditions to enable data communication of auxiliary equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62148489A JPS63312752A (en) 1987-06-15 1987-06-15 Automatic setting system for conditions to enable data communication of auxiliary equipment

Publications (2)

Publication Number Publication Date
JPS63312752A JPS63312752A (en) 1988-12-21
JPH0467825B2 true JPH0467825B2 (en) 1992-10-29

Family

ID=15453898

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62148489A Granted JPS63312752A (en) 1987-06-15 1987-06-15 Automatic setting system for conditions to enable data communication of auxiliary equipment

Country Status (1)

Country Link
JP (1) JPS63312752A (en)

Also Published As

Publication number Publication date
JPS63312752A (en) 1988-12-21

Similar Documents

Publication Publication Date Title
US4750176A (en) Single-channel communication bus system and station for use in such system
US4858038A (en) System of disk device selector circuits for disk controller
US5434862A (en) Multistation communication bus system, and a master station and a slave station for use in such system
JPH0467825B2 (en)
JPS581447B2 (en) Data transmission control method between central device and multiple peripheral devices
EP0669738A2 (en) System and method for automatically detecting speed, parity, and character length
CA1123962A (en) Computer communication network adapter
JP2958601B2 (en) Data communication method
JPS59122256A (en) Interrupting method
JPS63313355A (en) Recording and reproducing method for content of data communication
US4351008A (en) Modulator for use in an interface between a digital signal processing apparatus and an audio tape deck
US5563905A (en) Network communication system having time-sliced protocol
JPH0122300Y2 (en)
JP2709720B2 (en) Line connection method between the numerical controller and its peripheral devices
JPS60140960A (en) Data transmission system
JPS604353A (en) Communication control equipment
JPS6142466B2 (en)
KR100225043B1 (en) Multiple serial communication method and serial communication device using interrupt
JPH0974373A (en) Data communication device
SU1193655A1 (en) Serial code-to-parallel code converter
JPS60218151A (en) Interface converter
JP2765042B2 (en) Modem
JPH04328928A (en) Polling system in data transmitter
JPH0312502B2 (en)
JPS6352828B2 (en)