JPS581002Y2 - Communication control device - Google Patents
Communication control deviceInfo
- Publication number
- JPS581002Y2 JPS581002Y2 JP13484981U JP13484981U JPS581002Y2 JP S581002 Y2 JPS581002 Y2 JP S581002Y2 JP 13484981 U JP13484981 U JP 13484981U JP 13484981 U JP13484981 U JP 13484981U JP S581002 Y2 JPS581002 Y2 JP S581002Y2
- Authority
- JP
- Japan
- Prior art keywords
- communication
- communication speed
- counter
- control device
- communication control
- 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
Links
- 238000006243 chemical reaction Methods 0.000 claims description 4
- 230000005540 biological transmission Effects 0.000 description 6
- 230000010355 oscillation Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 3
- 230000000295 complement effect Effects 0.000 description 1
Landscapes
- Communication Control (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Description
【考案の詳細な説明】
本考案は、通信制御装置における通信回線と接続するた
めの通信速度タイミングを発生する通信制御装置に関す
る。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a communication control device that generates communication speed timing for connecting to a communication line in the communication control device.
通信回線を通じてデータ通信を行なう場合に、通信制御
装置は、その通信回線に予め決められた通信速度で、送
信データを通信回線に送出し、また通信回線からの受信
データを引き取らなければならない。When performing data communication over a communication line, a communication control device must send out transmission data to the communication line and receive received data from the communication line at a communication speed predetermined for the communication line.
通信速度タイミングは変復調装置から供給されることも
あり、また通信制御装置で発生させることもある。Communication speed timing may be provided by a modem or may be generated by a communication controller.
従来、通信制御装置では、発振器の出力を分周値が固定
されている分周回路で分周し、これから標準的な通信速
度タイミングを数種類用意しておき、ハードウェアジャ
ンパ配線あるいはプログラム指定により、このうちの一
つを選択し、所要の通信速度タイミングを得ていた。Conventionally, in communication control equipment, the output of an oscillator is divided by a frequency dividing circuit with a fixed frequency division value, several types of standard communication speed timings are prepared, and the timing is set by hardware jumper wiring or program specification. One of these was selected to obtain the required communication speed timing.
この装置では、あらかじめ用意されている通信速度以外
の速度が要求された場合、発振器の発振周波数あるいは
分周回路等・・−ドウエアの変更を要する欠点があった
。This device has the disadvantage that when a communication speed other than the predetermined communication speed is required, the oscillation frequency of the oscillator or the frequency dividing circuit, etc., must be changed.
この考案の目的は種々の通信速度の要求に対しても、ハ
ードウェアの変更を必要としない通信制御装置を提供す
るにある。The purpose of this invention is to provide a communication control device that does not require any hardware changes even in response to various communication speed requirements.
本考案によれば、要求される最高周波数またはこれより
も高い周波数の発振器の出力を分周回路にて分周する。According to the present invention, the output of the oscillator having the maximum required frequency or a higher frequency is divided by the frequency dividing circuit.
この分周回路の出力をタイミング出力とすると共に上記
分周回路を初期値に設定する。The output of this frequency dividing circuit is used as a timing output, and the frequency dividing circuit is set to an initial value.
この初期値は予めレジスタに記憶しておくが、プログラ
ムに記憶しておき、その値は任意に設定できる。This initial value is stored in a register in advance, but it can also be stored in a program and set as desired.
このようにしてその設定誤差範囲内で任意の通信速度タ
イミングがハードウェアの変更なしで得られ、融通性の
大きな通信制御装置が得られる。In this way, an arbitrary communication speed timing can be obtained within the setting error range without changing the hardware, and a highly flexible communication control device can be obtained.
次に図面を参照して説明する。Next, a description will be given with reference to the drawings.
第1図はこの考案による通信制御装置の一例を示し、送
信シフトレジスタ回路1は並列信号を直列信号に変換す
るものであり、送信バッファレジスタ回路2より転送さ
れた送信キャラクタを通信速度タイミング発生回路3よ
りの通信速度タイミングによりキャラクタ分解を行ない
、lビットずつ通信回線4aに送出する。FIG. 1 shows an example of a communication control device according to this invention, in which a transmission shift register circuit 1 converts parallel signals into serial signals, and a transmission character transferred from a transmission buffer register circuit 2 is transferred to a communication speed timing generation circuit. Characters are decomposed according to the communication speed timing from 3 and transmitted to the communication line 4a one bit at a time.
送信バッファレジスタ回路2は、送信シフトレジスタ回
路1と中央処理装置5との間に介在されたキャラクタ転
送用のバッファである。The transmission buffer register circuit 2 is a buffer for character transfer interposed between the transmission shift register circuit 1 and the central processing unit 5.
一方通信回線4bからの受信データは受信シフトレジス
タ回路6にて通信速度タイミング発生回路3よりの通信
速度タイ°ミングにより1ビツトずつ引取り、キャラク
タ組立を行ない、即ち直列並列変換を行ないキャラクタ
組立の完了したものは、中央処理装置5とのキャラクタ
転送用のバッファである受信バッファレジスタ回路Iに
転送する。On the other hand, the data received from the communication line 4b is received bit by bit by the reception shift register circuit 6 according to the communication speed timing from the communication speed timing generation circuit 3, and character assembly is performed, that is, serial-parallel conversion is performed to assemble the character. The completed data is transferred to the reception buffer register circuit I, which is a buffer for character transfer with the central processing unit 5.
通信速度タイミング発生回路3は、所要の通信速度タイ
ミングの発生を行ない、制御回路8は通信制御処理を行
ない、転送制御回路9はバッファレジスタ回路2及び7
と中央処理装置5との転送制御を行なう。The communication speed timing generation circuit 3 generates the required communication speed timing, the control circuit 8 performs communication control processing, and the transfer control circuit 9 controls the buffer register circuits 2 and 7.
and the central processing unit 5.
従来の通信制御装置に使われている通信速度タイミング
発生回路3は、第2図に示すように発振器A、分周回路
B及び1/2分周回路Cで構成される。A communication speed timing generation circuit 3 used in a conventional communication control device is composed of an oscillator A, a frequency dividing circuit B, and a 1/2 frequency dividing circuit C, as shown in FIG.
発振器Aよりの出力信号aは分周回路Bにより分周され
る。Output signal a from oscillator A is frequency-divided by frequency divider circuit B.
分周回路Bの適当な分局段から、標準的な通信速度タイ
ミングに対応する信号が取出される。From the appropriate division stage of frequency divider circuit B, a signal corresponding to standard communication speed timing is taken.
図ではこの信号を便宜上す、c)dの3種類とし、それ
ぞれ端子10a 、 10b 、10cに得られる。In the figure, for convenience, there are three types of signals, c) and d, which are obtained at terminals 10a, 10b, and 10c, respectively.
通信速度が決定されると、bye。dのうち対応する端
子をジャンパ配線eにより選択し、1/2分周回路Cに
人力し、その出力として所要の通信速度タイミング信号
fを得る。When the communication speed is determined, bye. A corresponding terminal among the terminals d is selected by a jumper wire e, and is manually inputted to a 1/2 frequency divider circuit C to obtain a required communication speed timing signal f as its output.
1/2分周回路Cはタイミングのデユティサイクルを5
0%にするためのものである。The 1/2 frequency divider circuit C has a timing duty cycle of 5.
This is to make it 0%.
この従来の通信速度タイミング発生回路ではタイミング
信号す。This conventional communication speed timing generation circuit uses a timing signal.
c、d以外の通信速度が要求されると、発振器Aを変更
してその出力信号aの周波数を変化させるか、あるいは
分周回路Bを変更して信号す、c)dの周波数を変化さ
せる必要があった。If a communication speed other than c or d is required, change the oscillator A to change the frequency of its output signal a, or change the frequency divider circuit B to change the frequency of the signals c) or d. There was a need.
このような変更は倒れも非常に不便なことであった。Such changes were also extremely inconvenient.
これに対しこの考案の通信制御装置に用いられる通信速
度タイミング発生回路は第3図に示すように、発振器A
、初期値がセット可能なnビットカウンタB、l/2分
周回路C1初期値セット制御回路D、初期値設定nビッ
トレジスタEにより構成される。On the other hand, the communication speed timing generation circuit used in the communication control device of this invention uses an oscillator A as shown in FIG.
, an n-bit counter B whose initial value can be set, a 1/2 frequency divider circuit C1 initial value set control circuit D, and an initial value setting n-bit register E.
通信速度が決定されると所要の分周カウント値の、カウ
ンタBの計数容量に対する補数に相当する初期カウント
値(xO〜XH−1)がストローブ信号eにより、レジ
スタEにセットする。When the communication speed is determined, an initial count value (xO to XH-1) corresponding to the complement of the required frequency division count value to the counting capacity of counter B is set in register E by strobe signal e.
また信号eのトリガにより制御回路りから初期値セット
信号dが発生し、この信号dによりレジスタEにセット
された初期カウント値XO〜Xn−1’ )d:カウン
タBにセットされる。In addition, an initial value set signal d is generated from the control circuit by the trigger of the signal e, and the initial count value XO to Xn-1' set in the register E by this signal d is set in the counter B.
カウンタBは、発振器Aの出力信号aをカウントし、オ
ーバーフローが生ずるとキャリ信号すを出力する。Counter B counts the output signal a of oscillator A, and outputs a carry signal when an overflow occurs.
キャリ信号すは1/2分周回路Cを通じて分周され、所
要の通信速度タイ□ングCとなる。The carry signal is frequency-divided through a 1/2 frequency divider circuit C to obtain the required communication speed timing C.
キャリ信号すは制御回路りにも供給され、制御回路りは
初期値セット信号dを再び発生し、カウンタBに初期カ
ウント値(XO〜xn−1>を再セットし、出力信号a
のカウントを縦続し、通信速度タイミングの発生を持続
させる。The carry signal is also supplied to the control circuit, which generates the initial value set signal d again, resets the initial count value (XO~xn-1>) in the counter B, and outputs the output signal a.
The count is cascaded, and the communication speed timing continues to occur.
レジスタEにセットする初期値XO〜X n−1を変え
ることにより、種々の通信速度タイ□ングが得られる。By changing the initial values XO to Xn-1 set in the register E, various communication speed timings can be obtained.
所要の通信速度タイミングを得るための初期値は、発振
器の発振周波数(出力信号aの周波数)及びカウンタB
、レジスタEのビット数nにより計算で求められる。The initial values for obtaining the required communication speed timing are the oscillation frequency of the oscillator (frequency of output signal a) and the counter B.
, the number of bits n of register E.
実現可能な通信速度の範囲は、発振器の発振周波数及び
カウンタBルジスタEのビット数により制限される。The range of achievable communication speeds is limited by the oscillation frequency of the oscillator and the number of bits of the counter B register E.
通信速度タイ□ングの誤差は、発振器Aの発振周波数及
び偏差、カウンタB、レジスタEのビット数及び所要の
通信速度より計算される。The error in communication speed timing is calculated from the oscillation frequency and deviation of oscillator A, the number of bits of counter B and register E, and the required communication speed.
以上述べたように発振器Aの発振周波数及びカウンタB
、レジスタEのビット数nを適切に設定することにより
、要求される任意の通信速度タイミングを、プログラム
による初期値の変更だけで得られ、ハードウェアの変更
は不要となり、その変更が頗る簡単になる。As mentioned above, the oscillation frequency of oscillator A and counter B
, by appropriately setting the number of bits n of register E, the desired communication speed timing can be obtained by simply changing the initial value using the program, eliminating the need to change the hardware and making the change extremely easy. Become.
従って通信速度タイミングの選択に融通性の高い通信制
御装置を得ることができる。Therefore, it is possible to obtain a communication control device that is highly flexible in selecting communication speed timing.
【図面の簡単な説明】
第1図はこの考案による通信制御装置の→りを示すブロ
ック線図、第2図は従来の通信制御装置に用いられてい
る通信速度タイミング発生回路を示すブロック線図、第
3図は本考案による通信制御装置に用いる通信速度タイ
□ング発生回路の実施例を示すブロック線図である。
A:発振器、B、:カウンタ。[Brief Description of the Drawings] Fig. 1 is a block diagram showing a communication control device according to the invention, and Fig. 2 is a block diagram showing a communication speed timing generation circuit used in a conventional communication control device. , FIG. 3 is a block diagram showing an embodiment of a communication speed timing generation circuit used in a communication control device according to the present invention. A: Oscillator, B: Counter.
Claims (1)
送データの直列並列変換を行う直列並列変換部と、前記
データ処理装置及び直列並列変換部の処理要求により動
作する通信制御部と、前記データ処理装置との情報転送
を行う転送制御部と、及び前記直列並列変換部に通信回
線との情報の通信速度(ピッ17秒)を供給する通信速
度タイミング発生部とを具備する通信制御装置において
、前記通信速度タイミング発生部は発振器と発振器の出
力を計数し初期値を設定することができるカウンタと、
任意の値を設定することができ前記カウンタに並列接続
されるレジスタと、前記カウンタの桁上げ出力により前
記レジスタに設定された値を初期値として前記カウンタ
に設定する手段と、カウンタの桁上出力を7分周する分
周回路を有し、この分周回路の出力により通信速度タイ
ミングを得ることを特徴とする通信制御装置。a serial-to-parallel conversion unit that performs serial-to-parallel conversion of transfer data to control data transfer between a communication line and a data processing device; a communication control unit that operates according to a processing request from the data processing device and the serial-to-parallel conversion unit; In the communication control device, the communication control device includes a transfer control unit that transfers information to and from the device, and a communication speed timing generation unit that supplies the serial-to-parallel converter with a communication speed (beep 17 seconds) of information with the communication line. The communication speed timing generator includes an oscillator and a counter that can count the output of the oscillator and set an initial value.
a register connected in parallel to the counter to which an arbitrary value can be set; means for setting the value set in the register by a carry output of the counter to the counter as an initial value; and a carry output of the counter. A communication control device comprising a frequency dividing circuit which divides the frequency by seven, and obtaining communication speed timing from the output of the frequency dividing circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP13484981U JPS581002Y2 (en) | 1981-09-09 | 1981-09-09 | Communication control device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP13484981U JPS581002Y2 (en) | 1981-09-09 | 1981-09-09 | Communication control device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS5778147U JPS5778147U (en) | 1982-05-14 |
JPS581002Y2 true JPS581002Y2 (en) | 1983-01-08 |
Family
ID=29495041
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP13484981U Expired JPS581002Y2 (en) | 1981-09-09 | 1981-09-09 | Communication control device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS581002Y2 (en) |
-
1981
- 1981-09-09 JP JP13484981U patent/JPS581002Y2/en not_active Expired
Also Published As
Publication number | Publication date |
---|---|
JPS5778147U (en) | 1982-05-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5361290A (en) | Clock generating circuit for use in single chip microcomputer | |
CN85109031A (en) | Frequency divider | |
JPS581002Y2 (en) | Communication control device | |
US5524087A (en) | Method of forming a signal wave from first and second waveform data | |
JP3649874B2 (en) | Frequency divider circuit | |
JPS5853229A (en) | Generating circuit of variable duty ratio pulse waveform | |
JPH07115362A (en) | Phase-adjustable and programmable frequency timing generator | |
JPS5811340U (en) | Arbitrary frequency generator | |
JP3003328B2 (en) | Clock signal circuit | |
JPH0637857A (en) | Serial data receiving circuit | |
SU871339A1 (en) | Pulse frequency divider | |
JP2536435Y2 (en) | Parity counting circuit | |
JP2613971B2 (en) | Serial transfer method | |
JPS62123844A (en) | Setting data transmission and monitoring method | |
JPS6379420A (en) | Odd number frequency divider | |
JPH03222539A (en) | Start bit detection circuit | |
JPS6128132B2 (en) | ||
JPH0126208B2 (en) | ||
JPS59122221A (en) | Pattern generator | |
JPH02202738A (en) | Serial data receiving circuit | |
JPH0851358A (en) | Counting circuit | |
JPH09181614A (en) | Parallel/serial conversion circuit | |
JPS601983B2 (en) | Frequency divider circuit | |
JPH0145774B2 (en) | ||
JPH0234040A (en) | Parallel/serial conversion circuit |