JPH0775363B2 - Data transmission method - Google Patents

Data transmission method

Info

Publication number
JPH0775363B2
JPH0775363B2 JP61262405A JP26240586A JPH0775363B2 JP H0775363 B2 JPH0775363 B2 JP H0775363B2 JP 61262405 A JP61262405 A JP 61262405A JP 26240586 A JP26240586 A JP 26240586A JP H0775363 B2 JPH0775363 B2 JP H0775363B2
Authority
JP
Japan
Prior art keywords
character
terminal
parity
communication speed
central processing
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
JP61262405A
Other languages
Japanese (ja)
Other versions
JPS63116539A (en
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP61262405A priority Critical patent/JPH0775363B2/en
Publication of JPS63116539A publication Critical patent/JPS63116539A/en
Publication of JPH0775363B2 publication Critical patent/JPH0775363B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)
  • Communication Control (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、中央処理装置に一台の非同期無手順端末が接
続されている構成で、装置間のデータ通信を開始させる
通信制御起動手段に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial field of use] The present invention relates to a communication control starting means for starting data communication between devices in a configuration in which one asynchronous non-procedural terminal is connected to a central processing unit. .

〔概要〕〔Overview〕

本発明は、通信速度とパリティ形態が不特定である非同
期無手順端末と中央処理装置との間の通信を実現する通
信起動手段において、 端末からの2種類のキャラクタに基づいて中央処理装置
の送受手段およびパリティ検定手段を設定することによ
り、 端末での通信速度およびパリティ形態の設定変更を行わ
ずに通信が実行できるようにしたものである。
According to the present invention, in a communication starting means for realizing communication between an asynchronous non-procedural terminal having an unspecified communication speed and parity form and a central processing unit, transmission / reception of the central processing unit based on two kinds of characters from the terminal. By setting the means and the parity verification means, the communication can be executed without changing the setting of the communication speed and the parity mode at the terminal.

〔従来の技術〕[Conventional technology]

中央処理装置と非同期無手順端末との間でデータ通信を
行う場合に、従来は、あらかじめ中央処理装置の送・受
信部に設定されている通信速度およびパリティと同一の
通信速度およびパリティを有する端末を使用するか、端
末で、端末の通信速度およびパリティを中央処理装置の
送・受信部の通信速度およびパリティに設定してから使
用していた。
When performing data communication between a central processing unit and an asynchronous non-procedural terminal, conventionally, a terminal having the same communication speed and parity as the communication speed and parity set in advance in the sending / receiving unit of the central processing unit. , Or the terminal was used after setting the communication speed and parity of the terminal to the communication speed and parity of the sending / receiving unit of the central processing unit.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

このような従来例の方法では、中央処理装置に非同期無
手順端末を接続する場合および接続されている端末を異
なる端末に変更する場合に、その都度端末の通信速度お
よびパリティを中央処理装置の送・受信部に設定されて
いる通信速度およびパリティと同一に設定し直さなくて
はならず不便であり、さらにこの設定をなし得ない端末
は使用できない欠点があった。
In such a conventional method, when the asynchronous non-procedure terminal is connected to the central processing unit and when the connected terminal is changed to a different terminal, the communication speed and parity of the terminal are sent to the central processing unit each time. -It is inconvenient that the communication speed and parity set in the receiving section must be set again, and there is a drawback that terminals that cannot make this setting cannot be used.

本発明は、このような欠点を除去するもので、不特定の
通信速度とパリティを有する非同期無手順端末と中央処
理装置とのデータ通信を端末からの簡単なデータの送信
により実現できる起動手段を有するデータ伝送方式を提
供することを目的とする。
The present invention eliminates such drawbacks, and provides a starting means capable of realizing data communication between an asynchronous non-procedure terminal having an unspecified communication speed and parity and a central processing unit by simple data transmission from the terminal. An object of the present invention is to provide a data transmission method having the above.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、所定のパリティビットが付加されたデータを
所定の通信速度で授受する非同期無手順端末と、この通
信速度でデータを授受する送受手段および上記パリティ
ビットを検定するパリティ検定手段を有する中央処理装
置とを備えたデータ伝送方式において、上記端末は、自
装置から送出するデータの通信速度に対応する第一のキ
ャラクタおよびこの通信データに付加されるパリティビ
ットの形態に対応する第二のキャラクタを生成する手段
を備え、上記中央処理装置は、到来した第一のキャラク
タに基づいて上記送受手段の通信速度を設定し、また、
到来した第二のキャラクタに基づいて上記パリティ検出
手段のパリティ検定基準を設定する制御手段を備えたこ
とを特徴とする。
The present invention has a non-synchronous non-procedural terminal for transmitting and receiving data to which a predetermined parity bit is added at a predetermined communication speed, a transmission and reception means for transmitting and receiving data at this communication speed, and a parity verification means for testing the parity bit. In the data transmission system including a processing device, the terminal has a first character corresponding to a communication speed of data transmitted from the device and a second character corresponding to a form of a parity bit added to the communication data. Is provided, the central processing unit sets the communication speed of the transmitting and receiving means based on the first character that has arrived, and
It is characterized by further comprising control means for setting the parity verification standard of the parity detection means based on the second character that has arrived.

〔作用〕[Action]

中央処理装置の電源が投入されると、第一のキャラクタ
が端末から送信される。この第一のキャラクタに基づい
て通信速度が設定される。ひきつづき、データのパリテ
ィ形態でマーク、スペース、偶数、奇数のいずれかを示
す第二のキャラクタが端末から送信され、中央処理装置
のパリティ検定手段のパリティ検定基準を設定する。
When the power of the central processing unit is turned on, the first character is transmitted from the terminal. The communication speed is set based on the first character. Subsequently, the second character indicating the mark, space, even number, or odd number in the parity form of the data is transmitted from the terminal, and the parity verification standard of the parity verification means of the central processing unit is set.

この設定が終了すると、中央処理装置と端末との間の通
信が開始される。
When this setting is completed, communication between the central processing unit and the terminal is started.

〔実施例〕〔Example〕

以下、本発明の一実施例を図に基づいて説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第1図はこの実施例の構成を示すブロック構成図であ
る。
FIG. 1 is a block diagram showing the configuration of this embodiment.

この実施例方式では、非同期無手順の端末1は中央処理
装置2に接続され、中央処理装置2は、端末1から送信
された非同期データを受信する受信部3と、端末1に対
して中央処理装置2からの応答を送信する送信部4と、
通信速度とパリティとを決定するキャラクタを記憶する
メモリ部6と、端末1の通信速度およびパリティの決定
を行う制御部5とを備える。
In this embodiment, the asynchronous non-procedure terminal 1 is connected to the central processing unit 2, and the central processing unit 2 receives the asynchronous data transmitted from the terminal 1 and the central processing for the terminal 1. A transmitter 4 for transmitting a response from the device 2,
The memory unit 6 stores a character for determining the communication speed and the parity, and the control unit 5 for determining the communication speed and the parity of the terminal 1.

次に、第1図および第2図に基づいて、端末1からのデ
ータ送信による中央処理装置2の通信速度およびパリテ
ィを決定する動作を説明する。
Next, the operation of determining the communication speed and parity of the central processing unit 2 by the data transmission from the terminal 1 will be described based on FIGS. 1 and 2.

中央処理装置2の電源が投入されると、制御部5は中央
処理装置2が設定し得る通信速度のうち最も低い速度で
データを受信するように受信部3に指示し、一方、端末
1は第一のキャラクタを送信する。この第一のキャラク
タは端末1の通信速度がいかなるものであっても、中央
処理装置2の受信部3が最も低い速度の非同期データと
して識別できるキャラクタであり、あらかじめ定められ
ている。受信部3で受信した第一のキャラクタを受け取
った制御部5は、あらかじめメモリ部6に記憶している
各通信速度で送信された第一のキャラクタを最も低い速
度で受信した場合に識別されるべきキャラクタと比較
し、端末1の通信速度を仮に決定する。このときに、パ
リティはまだ検出されていないので、パリティビットを
無視して比較する。制御部5は仮に決定された通信速度
を受信部3に指示し、受信部3は仮に決定された通信速
度で次のキャラクタを受信を待つ。
When the power of the central processing unit 2 is turned on, the control unit 5 instructs the receiving unit 3 to receive the data at the lowest communication speed that the central processing unit 2 can set, while the terminal 1 Send the first character. The first character is a character that can be identified by the receiving unit 3 of the central processing unit 2 as asynchronous data having the lowest speed, regardless of the communication speed of the terminal 1, and is predetermined. The control unit 5 having received the first character received by the receiving unit 3 is identified when the first character transmitted at each communication speed stored in the memory unit 6 in advance is received at the lowest speed. The communication speed of the terminal 1 is provisionally determined by comparison with the power character. At this time, since the parity has not been detected yet, the parity bit is ignored and the comparison is performed. The control unit 5 instructs the reception unit 3 to the provisionally determined communication speed, and the reception unit 3 waits for reception of the next character at the provisionally determined communication speed.

端末1から第一のキャラクタを再度受信した受信部3は
これを制御部5に渡し、ここでメモリ部6に記憶されて
いる第一のキャラクタと比較し、このキャラクタがあら
かじめ定められた第一のキャラクタであることを確認す
る。第一のキャラクタであると認められたなら、仮に決
定された通信速度を端末1の通信速度であると決定し、
受信部3および送信部4に通信速度を指示し、受信した
キャラクタをメモリ部6に記憶する。
Receiving the first character from the terminal 1 again, the receiving unit 3 transfers this to the control unit 5 and compares it with the first character stored in the memory unit 6 to determine whether this character is a predetermined first character. Confirm that the character is. If the character is recognized as the first character, the tentatively determined communication speed is determined to be the communication speed of the terminal 1,
The communication speed is instructed to the receiving unit 3 and the transmitting unit 4, and the received character is stored in the memory unit 6.

一方、第一のキャラクタではないと判断されると、仮に
定めた通信速度が誤りであったかまたは端末1から送信
されたデータが第一のキャラクタではなかったかのいず
れかであるので、受信部3を最も低い通信速度に設定
し、操作の最初からやり直して端末1および中央処理装
置2の誤動作を防ぐ。
On the other hand, if it is determined that the received character is not the first character, it means that either the tentatively set communication speed is incorrect or the data transmitted from the terminal 1 is not the first character. The communication speed is set to a low value, and the operation is restarted from the beginning to prevent malfunction of the terminal 1 and the central processing unit 2.

次に、端末1から送信された第二のキャラクタに基づき
端末1で設定されているデータのパリティがマーク、ス
ペース、偶数、奇数のいずれであるかを制御部5が識別
する。この第二のキャラクタはメモリ部6にあらかじめ
記憶されている第一のキャラクタと比較して4通りのパ
リティから該当パリティを判断し得るキャラクタであ
り、あらかじめ定められている。第二のキャラクタを受
信部3から受け取った制御部5は、このキャラクタがあ
らかじめ定められた第二のキャラクタであることを確認
し、第一および第二のキャラクタと2つのキャラクタの
パリティビットからパリティを識別する。
Next, based on the second character transmitted from the terminal 1, the control unit 5 identifies whether the parity of the data set in the terminal 1 is mark, space, even number, or odd number. The second character is a character that can be compared with the first character stored in advance in the memory unit 6 to determine the parity from four types of parity, and is predetermined. The control unit 5, which has received the second character from the reception unit 3, confirms that this character is the predetermined second character, and determines the parity from the parity bits of the first and second characters and the two characters. Identify.

一方、第二のキャラクタがあらかじめ定められたキャラ
クタでない場合は、通信速度の誤りまたは端末1から送
信されたデータが第二のキャラクタではなかった場合で
あるので、受信部3を最も低い通信速度に設定し、操作
の最初からやり直して端末1および中央処理装置2の誤
動作を防ぐ。
On the other hand, when the second character is not the predetermined character, it means that the communication speed is incorrect or the data transmitted from the terminal 1 is not the second character. Settings are made and operations are restarted from the beginning to prevent malfunction of the terminal 1 and the central processing unit 2.

制御部5は端末1から送信されたキャラクタに基づき通
信速度とパリティを決定したなら端末1に対し応答を返
す。端末1は、この応答を受信しなかった場合には、第
一のキャラクタから再度送信する。これにより誤動作を
防止することができる。
When the control unit 5 determines the communication speed and parity based on the character transmitted from the terminal 1, it returns a response to the terminal 1. When the terminal 1 does not receive this response, the terminal 1 transmits again from the first character. As a result, malfunction can be prevented.

〔発明の効果〕 本発明は、以上説明したように、中央処理装置に不特定
の通信速度とパリティを有する非同期無手順端末を接続
した場合でも、端末から2種類のキャラクタを数回送信
すれば中央処理装置と非同期無手順端末間のデータ通信
が開始できる効果がある。
[Effects of the Invention] As described above, according to the present invention, even when an asynchronous non-procedural terminal having an unspecified communication speed and parity is connected to the central processing unit, if two kinds of characters are transmitted from the terminal several times. There is an effect that data communication between the central processing unit and the asynchronous non-procedural terminal can be started.

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

第1図は本発明実施例の構成を示すブロック構成図。 第2図は本発明の動作手順を示すフローチャート。 1……端末、2……中央処理装置、3……受信部、4…
…送信部、5……制御部、6……メモリ部。
FIG. 1 is a block diagram showing the configuration of the embodiment of the present invention. FIG. 2 is a flowchart showing the operation procedure of the present invention. 1 ... Terminal, 2 ... Central processing unit, 3 ... Reception unit, 4 ...
... Sending section, 5 ... Control section, 6 ... Memory section.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】所定のパリティビットが付加されたデータ
を所定の通信速度で授受する非同期無手順端末と、 この通信速度でデータを授受する送受手段および上記パ
リティビットを検定するパリティ検出手段を有する中央
処理装置と を備えたデータ伝送方式において、 上記端末は、自装置から送出するデータの通信速度に対
応する第一のキャラクタおよびこの通信データに付加さ
れるパリティビットの形態に対応する第二のキャラクタ
を生成する手段を備え、 上記中央処理装置は、到来した第一のキャラクタに基づ
いて上記送受手段の通信速度を設定し、また、到来した
第二のキャラクタに基づいて上記パリティ検出手段のパ
リティ検定基準を設定する制御手段を備えたことを特徴
とするデータ伝送方式。
1. An asynchronous non-procedure terminal for transmitting / receiving data to which a predetermined parity bit is added at a predetermined communication speed, a transmission / reception means for transmitting / receiving data at this communication speed, and a parity detection means for testing the parity bit. In the data transmission system including the central processing unit, the terminal is the second character corresponding to the first character corresponding to the communication speed of the data transmitted from the own device and the form of the parity bit added to this communication data. The central processing unit sets the communication speed of the transmission / reception means based on the incoming first character, and the parity of the parity detection means based on the incoming second character. A data transmission method comprising a control means for setting a verification standard.
JP61262405A 1986-11-04 1986-11-04 Data transmission method Expired - Lifetime JPH0775363B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61262405A JPH0775363B2 (en) 1986-11-04 1986-11-04 Data transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61262405A JPH0775363B2 (en) 1986-11-04 1986-11-04 Data transmission method

Publications (2)

Publication Number Publication Date
JPS63116539A JPS63116539A (en) 1988-05-20
JPH0775363B2 true JPH0775363B2 (en) 1995-08-09

Family

ID=17375321

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61262405A Expired - Lifetime JPH0775363B2 (en) 1986-11-04 1986-11-04 Data transmission method

Country Status (1)

Country Link
JP (1) JPH0775363B2 (en)

Also Published As

Publication number Publication date
JPS63116539A (en) 1988-05-20

Similar Documents

Publication Publication Date Title
EP0074864B1 (en) System and method for name-lookup in a local area network data communication system
US4410889A (en) System and method for synchronizing variable-length messages in a local area network data communication system
EP0427502B1 (en) Programmable logic controllers
EP0472814B1 (en) Channel paths in a computer I/O system
US4759015A (en) Ring network system for transmission of multicast information
US4199662A (en) Hybrid control of time division multiplexing
US5276813A (en) Acquiring addresses in an input/output system
KR940017437A (en) Transmission method, reception method, communication method and two-way bus system
US4654653A (en) Digital data communication apparatus
US6393020B1 (en) Gated multi-drop communication system
JPS61100046A (en) Loop transmission method
JPH0775363B2 (en) Data transmission method
JP3201666B2 (en) Interface conversion circuit for half-duplex serial transmission
CN116684389B (en) Address automatic allocation method and host, slave and communication equipment with same
JPS6245255A (en) Data reception system
JPS6281852A (en) Communication terminal equipment
JPS5812460A (en) Automatic transmission form matching device
JPH1084384A (en) Load test equipment in packet data communication
JPS59161956A (en) Transmission controller
JPS61276442A (en) Starting system for modulator-demodulator
JP3067160B2 (en) Communication control device
JPH0234518B2 (en)
JPS54108504A (en) Data transmission system on start-stop system
JP2941266B1 (en) Encoder data output method for bus communication type encoder device
JPH04278742A (en) Method of detecting error in reception data