JPS63120537A - Rs232c interface terminal controller - Google Patents

Rs232c interface terminal controller

Info

Publication number
JPS63120537A
JPS63120537A JP61266219A JP26621986A JPS63120537A JP S63120537 A JPS63120537 A JP S63120537A JP 61266219 A JP61266219 A JP 61266219A JP 26621986 A JP26621986 A JP 26621986A JP S63120537 A JPS63120537 A JP S63120537A
Authority
JP
Japan
Prior art keywords
baud rate
terminal
rs232c interface
circuit
rs232c
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP61266219A
Other languages
Japanese (ja)
Inventor
Hitoshi Kikuchi
均 菊地
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 JP61266219A priority Critical patent/JPS63120537A/en
Publication of JPS63120537A publication Critical patent/JPS63120537A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To automatically match the baud rate of the equipment to that at a terminal equipment by detecting the baud rate by a baud rate detection means, using a control means based on the result of detection so as to control the baud rate of an RS232C interface circuit. CONSTITUTION:The terminal equipment 1 has the RS232C interface circuit and it is connected to an RS232C interface terminal controller 6 via interface lines 2, 5, MODEMs 3, 4 and a communication line (l). The RS232C interface terminal controller 6 consists of a microprocessor 7, a 2nd RS232C interface circuit 8, a changeover circuit 9, a test circuit 10. The baud rate of the terminal equipment connected to the RS232C interface terminal controller 6 is detected by the baud rate detection means (test circuit 10) and the baud rate of the 2nd RS232C interface circuit 8 is controlled by a control means. Thus, the baud rate of the RS232C interface terminal controller 6 is matched automatically with the baud rate of the terminal equipment.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はRS232Cインタフェース回路を有する端末
を制御するRS232Cインタフェース端末制御装置の
改良に関し、特に接続される端末のボーレイトに応じて
自動的にボーレイトを切替えることができるRS232
Cインタフェース端末制御装置に関する。
Detailed Description of the Invention [Field of Industrial Application] The present invention relates to an improvement of an RS232C interface terminal control device that controls a terminal having an RS232C interface circuit, and in particular, to an improvement of an RS232C interface terminal control device that controls a terminal having an RS232C interface circuit. RS232 switchable
The present invention relates to a C interface terminal control device.

〔従来の技術〕[Conventional technology]

RS232Cインタフェース回路を有する端末を制御す
るRS232Cインタフェース端末制御装置に於いては
、接続される端末のボーレイトに合わせてそれ自身のボ
ーレイトを切替える必要があり、従来、ボーレイトの切
替えは手動操作により行なわれていた。
In an RS232C interface terminal control device that controls a terminal having an RS232C interface circuit, it is necessary to switch its own baud rate to match the baud rate of the connected terminal, and conventionally, switching the baud rate has not been done manually. Ta.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述したように、従来のRS232Cインタフェース端
末制御装置は接続される端末のボーレイトに合わせて手
動でボーレイトを変更しているため、操作ミスが発生す
る惧れがあると共に、RS232Cイン久フエース端末
制御装置と端末とが離れて設置されている場合、ボーレ
イトの設定に時間がかかる問題もあった。
As mentioned above, the conventional RS232C interface terminal control device manually changes the baud rate according to the baud rate of the connected terminal, so there is a risk of operational errors and the RS232C interface terminal control device There was also the problem that it took a long time to set the baud rate if the device and terminal were installed far apart.

本発明は前述の如き問題点を解決したものであり、その
目的はRS232Cインタフェース端末制御装置のボー
レイトを接続される端末のボーレイトに自動的に合わせ
ることができるようにすることにある。
The present invention solves the above-mentioned problems, and its purpose is to automatically match the baud rate of an RS232C interface terminal control device to the baud rate of a connected terminal.

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

本発明は前述の如き問題点を解決するため、第1のRS
232Cインタフェース回路を有する端末を制御する第
2のRS232Cインタフェース回路を有するRS23
2Cインタフェース端末制御装置に於いて、前記端末の
ボーレイトを検出するボーレイト検出手段と、 該ボーレイト検出手段で検出されたボーレイトに基づい
て前記第2のRS232Cインタフェース回路のボーレ
イトを制御する制御手段とを設けたものである。
In order to solve the above-mentioned problems, the present invention provides a first RS
RS23 having a second RS232C interface circuit controlling a terminal having a 232C interface circuit;
The 2C interface terminal control device includes: baud rate detection means for detecting the baud rate of the terminal; and control means for controlling the baud rate of the second RS232C interface circuit based on the baud rate detected by the baud rate detection means. It is something that

〔作 用〕[For production]

RS232Cインタフェース端末制御装置に接続される
端末のボーレイトはボーレイト検出手段によって検出さ
れ、第2のRS232Cインタフェース回路のボーレイ
トは制御手段によって制御されるものであるから、RS
232Cインタフェース端末制御装置のボーレイトを自
動的に端末のボーレイトと一致さぜることができる。
The baud rate of the terminal connected to the RS232C interface terminal control device is detected by the baud rate detection means, and the baud rate of the second RS232C interface circuit is controlled by the control means.
The baud rate of the H.232C interface terminal controller can be automatically matched with the baud rate of the terminal.

〔実施例〕〔Example〕

次に本発明の実施例について図面を参照して説明する。 Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the invention.

端末1はRS232Cインタフェース回路を有しており
、インタフェース線2,5、モデム3,4及び通信路β
を介してRS232Cインタフェース端末制御装置6に
接続されている。RS232Cインタフェース端末制御
装置6はマイクロプロセッサ7と、RS232Cインタ
フェース回路8と、切替回路9と、試験回路10とから
構成されている。
Terminal 1 has an RS232C interface circuit, and includes interface lines 2 and 5, modems 3 and 4, and communication path β.
It is connected to the RS232C interface terminal control device 6 via the RS232C interface terminal control device 6. The RS232C interface terminal control device 6 includes a microprocessor 7, an RS232C interface circuit 8, a switching circuit 9, and a test circuit 10.

また、第2図は試験回路10の構成例を示すブロック図
であり、タイミング回路11と、送信部12と、受信部
13と、第1の特定パターンがセントされているレジス
タ14と、第2の特定パターンがセットされているレジ
スタ15と、ボーレイトがセットされるレジスタ16と
、所定時間の計測を行なうタイマ17と、比較器18と
から構成されている。
FIG. 2 is a block diagram showing a configuration example of the test circuit 10, which includes a timing circuit 11, a transmitting section 12, a receiving section 13, a register 14 in which the first specific pattern is sent, and a second It is comprised of a register 15 in which a specific pattern is set, a register 16 in which a baud rate is set, a timer 17 for measuring a predetermined time, and a comparator 18.

マイクロプロセッサ7は端末1がI?5232Cインタ
フェース端末6に接続されると、第3図のフローチャー
トに示すように、先ず、切替信号aにより切替回路9を
制御して試験回路10とモデム4とを接続しくステップ
S1)、次いで試験回路10にボーレイト検出指示を加
える(ステップS2)。このボーレイト検出指示は試験
回路10内のタイミング回路11に加えられ、タイミン
グ回路11はボーレイト検出指示が加えられると、送信
部12及び受信部13がボーレイトを第1のボーレイト
で動作するようなタイミングクロックをそれらに供給す
ると共にレジスタ16に第1のボーレイトの値をセット
してタイマ17を起動する。
Microprocessor 7 is terminal 1 I? When connected to the 5232C interface terminal 6, as shown in the flow chart in FIG. A baud rate detection instruction is added to 10 (step S2). This baud rate detection instruction is applied to a timing circuit 11 in the test circuit 10, and when the baud rate detection instruction is applied, the timing circuit 11 sets a timing clock so that the transmitter 12 and the receiver 13 operate at the first baud rate. is supplied to them, the value of the first baud rate is set in the register 16, and the timer 17 is activated.

送信部12は起動がかけられると、レジスタ14にセッ
トされている第1の特定パターンをタイミング回路11
からのタイミンククロックに従って第1のボーレイトで
送出し、受信部13は第1のボーレイトでの受信動作を
開始する。送信部12から第1のボーレイトで送出され
た第」の特定パターンは切替回路9、インタフェース線
2,5、モデム3゜4及び通信路lを介して端末1に加
えられる。
When activated, the transmitter 12 transmits the first specific pattern set in the register 14 to the timing circuit 11.
The receiving unit 13 starts a receiving operation at the first baud rate according to the timing clock from the first baud rate. The 1st specific pattern transmitted from the transmitter 12 at the first baud rate is applied to the terminal 1 via the switching circuit 9, the interface lines 2 and 5, the modem 3-4, and the communication path l.

端末1には所定のボーレイトで動作するRS232Cイ
ンタフェース回路が備えられており、RS232cイン
タフェース端末制御装置6から送出された第1の特定パ
ターンの信号はその所定のボーレイトで受信識別動作が
行なわれる。従って、端末1が備えているRS232C
インタフェース回路のボーレイトが第1のボーレイトで
あれば、端末1は第1の特定パターンを受信したことを
認識でき、ボーレイトが不一致であればそのような認識
を行なえない。
The terminal 1 is equipped with an RS232C interface circuit that operates at a predetermined baud rate, and a reception identification operation is performed on the first specific pattern signal sent from the RS232c interface terminal control device 6 at the predetermined baud rate. Therefore, the RS232C provided in terminal 1
If the baud rate of the interface circuit is the first baud rate, the terminal 1 can recognize that it has received the first specific pattern, and if the baud rates do not match, such recognition cannot be performed.

端末1は第1の特定パターンを受信識別した場合のみ、
受信応答として第2の特定パターンを所定のボーレイト
で送信するように構成されており、従って、上記の場合
、端末1のボーレイトが第1のボーレイトである時のみ
端末1から第1のボーレイトで第2の特定パターンが送
出され、端末1のボーレイトが第1のボーレイトでなけ
れば端末1からは第2の特定パターンは送出されない。
Only when terminal 1 receives and identifies the first specific pattern,
The device is configured to transmit a second specific pattern at a predetermined baud rate as a reception response, and therefore, in the above case, only when the baud rate of terminal 1 is the first baud rate, the second specific pattern is transmitted from terminal 1 at the first baud rate. If the baud rate of terminal 1 is not the first baud rate, terminal 1 will not transmit the second specific pattern.

比較器18はタイマ17による所定時間の計測が行なわ
れている間、レジスタ15にセントされている第2の特
定パターンと受信部13の出力とを比較し、比較結果が
一致した場合のみ、その出力信号Cを“1″とするもの
である。今、端末1のボーレイトが第1のボーレイトで
あったとすると、前述したように、端末1から第1のボ
ーレイトで第2の特定パターンが送られてくるので、比
較器18の出力信号Cは“1”となり、端末1のボーレ
イトが第1のボーレイト以外であれば第2の特定パター
ンは送られてこないので、比較器18の出力信号Cは“
0”となる。このため、レジスタ16にセットされてい
るボーレイトと端末1のボーレイトとが等しい場合のみ
比較器18の出力信号Cが“1”となる。
The comparator 18 compares the second specific pattern stored in the register 15 with the output of the receiving section 13 while the timer 17 is measuring a predetermined time, and only when the comparison results match, the comparator 18 compares the second specific pattern stored in the register 15 with the output of the receiving section 13. This sets the output signal C to "1". Now, if the baud rate of terminal 1 is the first baud rate, as mentioned above, since the second specific pattern is sent from terminal 1 at the first baud rate, the output signal C of the comparator 18 is "1", and if the baud rate of terminal 1 is other than the first baud rate, the second specific pattern will not be sent, so the output signal C of comparator 18 will be "
Therefore, the output signal C of the comparator 18 becomes "1" only when the baud rate set in the register 16 and the baud rate of the terminal 1 are equal.

タイミング回路11はタイマ17による所定時間の計測
が終了する前に比較器18の出力信号Cが“1”になっ
たことを検出した場合は、その動作を終了し、タイマ1
7による所定時間の計測が終了しても信号Cが1”とな
ったことを検出できなかった場合は、ボーレイトを第2
のボーレイトに変更して前述したと同様の動作を行なう
。以下、タイミング回路11は比較器J8の出力信号C
が“1”となるまで、ボーレイトを順次変更して前述し
たと同様の動作を行なう。
If the timing circuit 11 detects that the output signal C of the comparator 18 becomes "1" before the timer 17 finishes measuring the predetermined time, the timing circuit 11 ends its operation and starts the timer 1.
If it is not possible to detect that the signal C has become 1" even after the measurement of the predetermined time in step 7 is completed, the baud rate is changed to the second
baud rate and perform the same operation as described above. Hereinafter, the timing circuit 11 uses the output signal C of the comparator J8.
The same operation as described above is performed by sequentially changing the baud rate until the value becomes "1".

マイクロプロセッサ7は比較器18の出力信号Cが“1
”になったことを検出すると(ステップS3)、切替信
号aにより切替回路9を制御してモデム4とI?523
2Cインタフェース回路8とを接続しくステップS4)
、次いで、レジスタ16にセットされているボーレイト
を読込み(ステップ35)、次いで、制御信号すにより
RS232Cインタフェース回路8のボーレイトをステ
ップS5で読込んだボーレイトに切替える(ステップ3
6)。ここで、比較器18の出力信号Cは前述したよう
に、レジスタ16にセントされているボーレイトとRS
232Cインタフェース端末制御装置6に接続された端
末1のボーレイトとが等しい場合のみ“1”となるもの
であるから、上述した処理を行なうことにより、RS2
32Cインタフェース端末制御装置6のボーレイトを端
末1のボーレイトに自動的に合わせることができる。
The microprocessor 7 determines that the output signal C of the comparator 18 is "1".
” (step S3), the switching circuit 9 is controlled by the switching signal a to switch between the modem 4 and the I?523.
Step S4)
Next, the baud rate set in the register 16 is read (step 35), and then the baud rate of the RS232C interface circuit 8 is switched to the baud rate read in step S5 by the control signal (step 3).
6). Here, as described above, the output signal C of the comparator 18 is the baud rate and RS sent to the register 16.
Since the baud rate of the terminal 1 connected to the RS232C interface terminal control device 6 is "1" only when the baud rate is equal to the baud rate of the terminal 1 connected to the RS232C interface terminal control device 6,
The baud rate of the 32C interface terminal control device 6 can be automatically matched to the baud rate of the terminal 1.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明は、端末のボーレイトを試
験回路10等のボーレイト検出手段で検出し、検出結果
に基づいてマイクロプロセッサ7等の制御手段でRS2
32Cインタフェース回路のボーレイトを制御するもの
であるから、RS232Cインタフェース端末制御装置
のボーレイトを自動的に端末のボーレイトに合わせるこ
とができる効果がある。
As explained above, the present invention detects the baud rate of the terminal by the baud rate detection means such as the test circuit 10, and based on the detection result, the baud rate of the terminal is detected by the control means such as the microprocessor 7.
Since the baud rate of the RS232C interface circuit is controlled, the baud rate of the RS232C interface terminal control device can be automatically matched to the baud rate of the terminal.

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

第1図は本発明の実施例のブロック図、第2図は試験回
路10の構成例を示すブロック図及び、 第3図はマイクロプロセッサ7の処理内容の一部を示す
フローチャートである。 図に於いて、1・・・端末、2,5・・・インタフェー
ス線、3.4・・・モデム、6・・・RS232Cイン
クフエース端末制御装置、7・・・マイクロプロセ・7
す、8・・・RS232Cインタフェース回路、9・・
・切替回路、1o・・・試験回路、11・・・タイミン
グ回路、12・・・送信部、13・・・受信部、14〜
16・・・レジスタ、17・・・タイマ、18・・・比
較器。
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a block diagram showing an example of the configuration of the test circuit 10, and FIG. 3 is a flow chart showing part of the processing contents of the microprocessor 7. In the figure, 1... terminal, 2, 5... interface line, 3.4... modem, 6... RS232C inkface terminal control device, 7... microprocessor 7
8...RS232C interface circuit, 9...
- Switching circuit, 1o... Test circuit, 11... Timing circuit, 12... Transmitting section, 13... Receiving section, 14-
16...Register, 17...Timer, 18...Comparator.

Claims (1)

【特許請求の範囲】 第1のRS232Cインタフェース回路を有する端末を
制御する第2のRS232Cインタフェース回路を有す
るRS232Cインタフェース端末制御装置に於いて、
前記端末のボーレイトを検出するボーレイト検出手段と
、 該ボーレイト検出手段で検出されたボーレイトに基づい
て前記第2のRS232Cインタフェース回路のボーレ
イトを制御する制御手段とを備えたことを特徴とするR
S232Cインタフェース端末制御装置。
[Claims] In an RS232C interface terminal control device having a second RS232C interface circuit that controls a terminal having the first RS232C interface circuit,
baud rate detection means for detecting the baud rate of the terminal; and control means for controlling the baud rate of the second RS232C interface circuit based on the baud rate detected by the baud rate detection means.
S232C interface terminal control device.
JP61266219A 1986-11-08 1986-11-08 Rs232c interface terminal controller Pending JPS63120537A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61266219A JPS63120537A (en) 1986-11-08 1986-11-08 Rs232c interface terminal controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61266219A JPS63120537A (en) 1986-11-08 1986-11-08 Rs232c interface terminal controller

Publications (1)

Publication Number Publication Date
JPS63120537A true JPS63120537A (en) 1988-05-24

Family

ID=17427914

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61266219A Pending JPS63120537A (en) 1986-11-08 1986-11-08 Rs232c interface terminal controller

Country Status (1)

Country Link
JP (1) JPS63120537A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5434891A (en) * 1991-05-31 1995-07-18 U.S. Philips Corporation Data transfer arrangement permitting variable rate data transfer between a modem and a synchronous terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5434891A (en) * 1991-05-31 1995-07-18 U.S. Philips Corporation Data transfer arrangement permitting variable rate data transfer between a modem and a synchronous terminal

Similar Documents

Publication Publication Date Title
JPS62159947A (en) Communication terminal equipment
JPS63120537A (en) Rs232c interface terminal controller
US4831375A (en) Two-wire communication apparatus
JP2821162B2 (en) Data line termination equipment
JP2741985B2 (en) Line quality measurement / transmission method and its implementation device
US6944693B2 (en) Method for centrally setting data rate in a data transmission facility and a device for centrally setting data rates
JP3516152B2 (en) Synchronization establishing device
JP2001086579A (en) Two-wire type communication system
JPH036165A (en) Carrier detection level setting system
JPH0618681A (en) Transmitter-receiver system, transmitter and receiver
JPH0916882A (en) Two-wire signal reception equipment
JP3277391B2 (en) Data transmission / reception method and apparatus
JP2623816B2 (en) Signal transmission method
JPS6037876A (en) Control signal detecting system in facsimile
JPS6218851A (en) Communication terminal equipment
KR900006066B1 (en) Method for recognizing the baud rate at modem
JP2554940B2 (en) Data communication system
JPH0235592A (en) Self-fire alarm system
JPH03245640A (en) Data speed control system for modem
JPH07170299A (en) Modem
JPH04240948A (en) Network controller
JPH02100425A (en) Training pattern start detecting system
JPS61177845A (en) Data terminal device
JPH04306951A (en) Data transmitter-receiver
JPH0630157A (en) Frequency detection system for telephone line