JPH041544B2 - - Google Patents

Info

Publication number
JPH041544B2
JPH041544B2 JP56007845A JP784581A JPH041544B2 JP H041544 B2 JPH041544 B2 JP H041544B2 JP 56007845 A JP56007845 A JP 56007845A JP 784581 A JP784581 A JP 784581A JP H041544 B2 JPH041544 B2 JP H041544B2
Authority
JP
Japan
Prior art keywords
signal
signals
word format
serial
circuit
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
JP56007845A
Other languages
Japanese (ja)
Other versions
JPS57123750A (en
Inventor
Toshifumi Yamamoto
Hisanori Shiraishi
Ikuo Masuda
Yasuichiro Ogawa
Shigeo Shiono
Jinichi Sakurai
Takeo Yuminaka
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP56007845A priority Critical patent/JPS57123750A/en
Publication of JPS57123750A publication Critical patent/JPS57123750A/en
Publication of JPH041544B2 publication Critical patent/JPH041544B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks

Description

【発明の詳細な説明】[Detailed description of the invention]

本発明は、信号送受信装置に係り、特に制御装
置間、制御装置と計算機の入出力装置間の信号の
送受信に好適な信号送受信装置に関する。 コンベアの制御、工作機械の制御、上下水関係
の制御、あるいは、化学プラント制御などをはじ
めとして多くのプロセス制御ではその制御がます
ます複雑になつてきて、高速処理の中での高信頼
性が要求されるようになり、デイジタル計算機制
御が益々普及しつつある。 また、双方向性バスラインを利用してミニコン
ピユータと結合し、ミニコンピユータによつてプ
ロセスが制御されかつミニコンピユータと相互に
信号の送受信をおこなう場合も多い。このような
場合に双方向性データバスから受信した並列語形
式のデータを直列語形式に変換して周辺装置に伝
送し、周辺装置からの直列語形式のデータを並列
語形式に変換して該ミニコンへ信号を伝送する方
法がとられる場合がある。周辺装置との信号の伝
送を直列語形式でおこなうことは、並列語形式の
データ伝送をおこなう場合に比較して、設けられ
る伝送線路数が極端に減少するので有効な方法で
ある。 本発明はこのような信号伝送に好適な信号送受
信装置に関する。 従来はこの種の信号送受信装置はIC(Integ−
rated Circuit)を中心とするワイヤードロジツ
ク(Wired logic)で構成されていたが、通常の
規模の回路であつても使用するICの数は50〜60
個を要し、小型化をはかるうえで大きな問題があ
つた。また接続される装置の種類によつて、信号
伝送回路の構成を変えなければならず、ワイヤー
ドロジツク方式では広い範囲をカバーできないと
いう本質的な問題もある。 これらの問題点を解決するためになされた公知
抜術にマイクロコンピユータとその周辺LSI
(Large Scale Integrated Circuit)との組合せ
がある。それはU.S.Patent No.3975712
“Asynchronous Communication Interface
Adaptor”(Aug.17.1976)で、いわゆるACIAで
ある。これはマイクロコンピユータとバスライン
を介して接続される。この例では、FIG2に示さ
れるように導体109を介してモデムに接続され
る。そしてこのACIAは並列データを直列データ
に変換して伝送する伝送手段、直列データを受信
して並列データ形式に変換する手段そして送受信
を制御するインタフエイスバツフア手段とを備え
ている。しかしながら信号のビツトフオーマツト
は8bit固定方式であること、さらにACIAに接続
される制御装置の接続方式については何ら述べら
れていない。実際の制御においてはビツト構成も
8bitに固定されるものではなく、制御装置もいろ
いろな接続方式がある。しかしACIAはこれらへ
の対応でができず汎用性がないという欠点があ
る。さらにこれはその最も大きな制約であるが、
ACIAはあくまでもMPU(Micro Processing
Unit)とバスラインで結合してはじめて使用す
ることが出来るものである。しかし実際の応用分
野では必ずしもプロセツサーをもたない機器もあ
つて、それらとの信号の送受信を行なう場合も少
なくない。この点からACIAは、CPUと結合して
使用する場合に限られてしまう欠点がある。 本発明の目的はデイジタルデータ伝送におい
て、双方向性バスラインと直列語形式のデータの
伝送路との間にあつて信号の送受信をおこなう汎
用的な信号送受信装置を提供することにある。 本発明の他の目的は該信号送受信装置がCPU
に接続されているかどうかに関係なく、並列語形
式あるいは直列語形式のデータの送受信をおこな
うことができる信号送受信装置を提供することに
ある。 本発明の他の目的は該直列語形式データの伝送
路に接続される制御装置のマルチドロツプ接続方
式における接続数によつて何らの制約を受けるこ
となく信号の送受信をおこなうことが出来る信号
送受信装置を提供することにある。 本発明は上記の目的を達するために、該並列語
形式のデータを記憶する第1のバツフアメモリ
と、該メモリから読出された並列語形式のデータ
を直列語形式に変換して直列語形式の信号伝送路
へ送信する手段と、受信される直列語形式のデー
タを並列語形式に変換して記憶する第2のバツフ
アメモリと、該メモリからの読出し信号を双方向
性バスラインを介して送信せしめる送信手段とを
備えたことに特徴がある。 本発明は上記目的を達成するために、該第1の
バツフアメモリに記憶される語長が異なる場合に
も該バツフアメモリを有効利用をはかるために、
語長指定手段を設け、該指定された語長に応じて
該第1のバツフアメモリへ記憶させることに特徴
がある。 本発明は上記の目的を達成するために、直列語
形式データ伝送路に接続される制御装置が、本信
号送受信装置1個に対し1個か、あるいはN(≧
2、自然数)個なのかの指定手段を設け、該指定
に基づいて信号の送受信をおこなうことに特徴が
ある。 本発明は上記目的を達成するために、該双方向
バスラインを介してCPUが結合されている場合
の信号の送受信か、あるいはCPUをもたない受
動機器との結合において信号の送受信をおこなう
かの選択指定手段を設けて切替え、信号の送受信
をおこなうことに特徴がある。 本発明は該第1バツフアメモリへのデータの書
込みと該第1バツフアメモリからの読出しタイミ
ングの競合監視手段を設け、競合がないタイミン
グでデータの書込み読出しをおこなうことに特徴
がある。 はじめに本発明で対象にしている信号伝送装置
の概略について述べる。 第1図aは制御装置1a,1b間で信号の送受
信をおこなう場合のブロツク構成図である。制御
装置1a,1b間を信号伝送路STLで結合し各
各の制御装置間で信号の伝送をおこなう場合を示
している。第1図bは1個の制御装置1aと複数
の制御装置2(あるいは入出力装置、2a〜2
n)との間で信号の送受信がおこなわれる場合の
例を示している。このように信号の送受信は1対
1の制御装置間でおこなれるだけでなく、第1図
bに示されるように1対N方式、いわゆるマルチ
ドロツプ方式で接続される場合も少なくない。取
扱われる信号も、例えばリミツトスイツチからの
信号のようにON−OFF 1bitの信号の場合があ
つたり、8bitで構成される場合、あるいは16bit
の場合などがある。本発明はこれらの何れの場合
にも使用できる信号送信装置を提供することにあ
る。 第2図はマイクロコンピユータを用いる場合に
用いられる回路構成であつて、3はマイクロプロ
セツサ、4は信号伝送用LSI、5は入出力アダプ
タ、6はメモリ、7は変調回路、7aは伝送路で
ある。例えば前述のACIAはこのような回路構成
(前記USP.3975712の第2図)がとられる。しか
しながらCPUと結合している場合以外は使用す
ることができない。 本発明は第2図のマイクロプロセツサ3の機能
の一部と、メモリ6の機能の一部を信号伝送用
LSIに集約して高性能化をはかるとともに汎用性
をねらつたところに一つの特徴がある。第3図に
本発明の信号送受信装置8とその周辺回路との説
明のためのブロツク図を示す。記号の説明をまと
めて表1に示す。
The present invention relates to a signal transmitting and receiving device, and particularly to a signal transmitting and receiving device suitable for transmitting and receiving signals between control devices and between a control device and an input/output device of a computer. Many process controls, including conveyor control, machine tool control, water and sewage-related control, and chemical plant control, are becoming increasingly complex, and high reliability in high-speed processing is becoming increasingly important. Digital computer control is becoming more and more popular. In addition, in many cases, the device is connected to a minicomputer using a bidirectional bus line, processes are controlled by the minicomputer, and signals are exchanged with the minicomputer. In such a case, data in parallel word format received from the bidirectional data bus is converted to serial word format and transmitted to the peripheral device, and data in serial word format from the peripheral device is converted to parallel word format and transmitted to the corresponding device. A method of transmitting signals to a minicomputer may be used. Transmitting signals with peripheral devices in a serial word format is an effective method because the number of transmission lines provided is extremely reduced compared to the case where data transmission is performed in a parallel word format. The present invention relates to a signal transmitting/receiving device suitable for such signal transmission. Conventionally, this type of signal transmitter/receiver was an IC (Integ-
rated circuit), but even a normal-sized circuit uses 50 to 60 ICs.
This posed a major problem in miniaturizing the device. Furthermore, the configuration of the signal transmission circuit must be changed depending on the type of device to be connected, and there is an inherent problem that the wire logic method cannot cover a wide range. Microcomputers and their surrounding LSIs are known methods that have been used to solve these problems.
(Large Scale Integrated Circuit). It is US Patent No.3975712
“Asynchronous Communication Interface
Adapter” (Aug.17.1976), the so-called ACIA. It is connected to the microcomputer via a bus line. In this example, it is connected to the modem via conductor 109 as shown in FIG. 2. This ACIA is equipped with transmission means for converting parallel data into serial data and transmitting it, means for receiving serial data and converting it into parallel data format, and interface buffer means for controlling transmission and reception. The format is fixed at 8 bits, and there is no mention of the connection method for the control device connected to ACIA.In actual control, the bit configuration is also different.
It is not fixed to 8bit, and there are various connection methods for control devices. However, ACIA has the disadvantage of not being able to respond to these and is not versatile. Moreover, this is its biggest limitation,
ACIA is just an MPU (Micro Processing
It can only be used by connecting it with the unit) via a bus line. However, in actual application fields, there are devices that do not necessarily have a processor, and signals are often sent and received with them. From this point of view, ACIA has the disadvantage that it can only be used in conjunction with a CPU. SUMMARY OF THE INVENTION An object of the present invention is to provide a general-purpose signal transmitting/receiving device for transmitting and receiving signals between a bidirectional bus line and a serial data transmission path in digital data transmission. Another object of the present invention is that the signal transmitting/receiving device is
An object of the present invention is to provide a signal transmitting/receiving device capable of transmitting and receiving data in a parallel word format or a serial word format regardless of whether or not it is connected to a signal transmitting/receiving device. Another object of the present invention is to provide a signal transmitting and receiving device capable of transmitting and receiving signals without being subject to any restrictions due to the number of connections in the multi-drop connection method of control devices connected to the serial word data transmission line. It is about providing. In order to achieve the above object, the present invention includes a first buffer memory for storing data in parallel word format, and a signal in serial word format by converting the data in parallel word format read from the memory into serial word format. means for transmitting data to a transmission line; a second buffer memory for converting and storing received data in serial word format into parallel word format; and a transmitter for transmitting a read signal from the memory via a bidirectional bus line. It is characterized by having the means. In order to achieve the above object, the present invention makes effective use of the first buffer memory even when the word lengths stored in the first buffer memory are different.
The present invention is characterized in that word length designation means is provided and the word length is stored in the first buffer memory according to the designated word length. In order to achieve the above object, the present invention has one control device connected to the serial word format data transmission path for one signal transmitting/receiving device, or N (≧
2. A feature is that a means for specifying whether the number is a natural number is provided, and signals are transmitted and received based on the specification. In order to achieve the above object, the present invention transmits and receives signals when a CPU is connected via the bidirectional bus line, or when connected to a passive device that does not have a CPU. The feature is that a selection specifying means is provided for switching and transmitting and receiving signals. The present invention is characterized in that a conflict monitoring means is provided between the timing of writing data to the first buffer memory and the timing of reading data from the first buffer memory, and data is written and read at timings where there is no conflict. First, an outline of the signal transmission device targeted by the present invention will be described. FIG. 1a is a block configuration diagram when signals are transmitted and received between control devices 1a and 1b. A case is shown in which control devices 1a and 1b are connected by a signal transmission path STL and signals are transmitted between each control device. FIG. 1b shows one control device 1a and a plurality of control devices 2 (or input/output devices, 2a to 2).
An example is shown in which signals are transmitted and received between In this way, signals can not only be sent and received on a one-to-one basis between control devices, but also often connected in a one-to-N system, a so-called multi-drop system, as shown in FIG. 1B. The signals handled may be ON-OFF 1bit signals, such as signals from limit switches, or may be composed of 8bits, or 16bits.
There are cases such as. An object of the present invention is to provide a signal transmitting device that can be used in any of these cases. Figure 2 shows the circuit configuration used when using a microcomputer, where 3 is a microprocessor, 4 is a signal transmission LSI, 5 is an input/output adapter, 6 is a memory, 7 is a modulation circuit, and 7a is a transmission line. It is. For example, the above-mentioned ACIA has such a circuit configuration (see FIG. 2 of the above-mentioned USP.3975712). However, it cannot be used unless it is combined with a CPU. The present invention uses part of the functions of the microprocessor 3 and part of the functions of the memory 6 in FIG. 2 for signal transmission.
One of its characteristics is that it was integrated into an LSI to achieve high performance while also aiming for versatility. FIG. 3 shows a block diagram for explaining the signal transmitting/receiving device 8 of the present invention and its peripheral circuits. Table 1 summarizes the explanations of the symbols.

【表】【table】

【表】 信号送受信装置(LSI)8の一方は制御装置1
又は入出力装置2と接続される。この接続は伝送
すべきデータの書込み、又は伝送されたデータの
読出しを行うもので、アドレスADR、データ
DATA、読出しか書込みかを区別するR/W、
読出し・書込みのタイミングを与えるストローブ
信号STBなどから成る。これらにおいて信号の
伝送方法は接続されるものが能動回路か受動回路
かで異なり、能動回路の場合は外部制御モードで
信号送受信装置8に入出力され、受動回路の場合
は内部制御モードで入出力される。この区別を与
えるのがE/Iで外部制御であるか内部制御であ
るかを区別する。また、語長WLはデータDATA
のビツト数を与えるもので、制御装置1や入出力
装置2の種類に応じて指定する。 信号伝送装置8のもう一方に接続されるのはシ
リアルデータを扱う回路で、シリアル出力SO1,
SO2はバイポーラ変調された形でドライバ9に
加わり、絶縁トランス11a,11bを通して伝
送路Ta,Tbに接続される。一方、伝送路からの
入力は絶縁トランス11bとレシーバ10を通し
てシリアル入力SIとなる。ところでシリアル出力
はバイポーラ変調されるが、この内容は第4図に
示すとおりで、無変調のシリアル出力(第4図
b,i)が1になる毎にSO1(同図)とSO2
(同図)が交互に出力を発生する。この出力を
ドライバ9と、絶縁トランス11aを経て伝送路
Taに送出される。11a′と11b′は受信側のそ
れを示す。伝送路では無変調シリアル信号が1に
なる毎に正負交互のパルス信号が得られる。した
がつて、受信側では絶縁トランス11bの出力を
全波整流して増幅すれば無変調のシリアル出力が
得られる。これをルシーバ10として表わしてい
る。伝送モードTMは伝送路の接続形態を指定す
るのに用いる。この詳細を第5図に示す。第5図
aにおいて1:1接続では入出力を交叉させるだ
けでよいが、第5図bのように1:N接続ではバ
スTaB,TbB構成がとられる。 第6図は伝送路におけるデータのフオーマツト
を示したものである。第6図iは1対1接続の場
合を示す。1:1接続においてはシリアルデータ
は同期信号SYCに続いて、ブロツクアドレスA,
Aと4バイトのデータD,を反転2連送で転送
する。データの容量は256ビツトとしているため、
このようなブロツクが8つで1つのデータフレー
ムを構成するが、データはサイクリツクに連続し
て送出され、入力と出力を独立して非同期で動作
する。なお、ブロツクアドレスは実際には3ビツ
トで良いが回路を簡略化するために8ビツトのス
ペースを確保している。 なおはAの反転値、はDの反転値を示して
いる。Dは8ビツトのデータ、SYCは同期信号
で24ビツトで構成される(0,1,1,……1,
1,0)。 第6図は1対N接続で親局から子局への信号
の伝送の例を、は子局から親局への信号の伝送
の例を、第6図はFLAG信号の伝送の説明図で
ある。 一方、1:N接続においても、シリアルデータ
の構成は1:1と同一であるが、入力と出力の同
期を取つている点が異なる。すなわち、親局側は
連続してデータを送出するが、子局側はブロツク
アドレスが自分に固有のアドレスと一致した時に
のみデータを受取りながら、親局に対してデータ
を送出する。この場合も1:1接続と同じように
親局からのデータはサイクリツクに送出されるた
め、子局は1フレームに1回ずつ応答する。 第7図はこれらの動作を実現するための信号送
受信装置8のLSI化されたものの内部構成を示し
ている。まずその概要について述べる。第7図に
おいて外部から加わるアドレス情報ADR0〜7
は2つの書込み、読出しのバツフアメモリ12
a,12bのアドレスとして加えられる。
DATA0〜15はゲート回路13aを通してバ
ツフアメモリ12aに加えられる。ここで、ゲー
ト回路13a,13bは書込と読出しで方向が逆
になつているが、この一方のゲート信号として
R/Wが加わり、もう一方にはインバータ回路を
介してR/Wが加わるため、必ず一方のゲート回
路が開きデータの方向を制御する。STBは書込
み用のバツフアメモリ12aに加わり、書込みの
タイミングを与える。ところで、以上の4種の信
号の中でADR,R/W,STBにはゲート回路1
3c,d,eを通して、入出力スキヤナ15の出
力が接続される。入出力スキヤナ15は入出力を
順次自動的にアクセスするもので、ゲート回路1
3c,d,eが開くと、外部に向つて、上記の3
種の信号が出力される。これは、外部制御か内部
制御かによつて決めるべきものであり、E/Iに
よつて、ゲート回路13c,d,eのゲートを制
御する。一方、パツフアメモリ12aはWLによ
つて内部のデコーダを切換え、アクセスする語長
を変える。また、バツフアメモリ12aは入出力
のアドレス、データが各々独立しており、反対側
からも任意にアクセスできる。 WLにより語長を変えることについては同一出
願人による先願特願昭54−127958号に詳細に述べ
ているので、ここではその説明を省略する。 書込み側のバツフアメモリ12aの一方のアド
レスにはビツトカウンタ16aの上位2ビツトA
3,A4とブロツクカウンタ17の出力3ビツト
A5,A6,A7が加わり、5ビツトのアドレス
を形成する。 A5〜7はセレクタ18bにも接続され、一方
の入力ADR5〜7との間でE/Iによつて選択
される。この出力は別のセレクタ18cの入力と
なり、バツフアメモリ12aの出力D0〜7との
間で選択される。この出力はシフトレジスタ19
a,19bのパラレル入力となる。シフトレジス
タ19a,19bのシリアル出力はセレクタ18
aの入力となると共に、インバータ回路14,1
4′を通してシリアル入力となる。セレクタ18
aの一方の入力は同期信号発生回路20の出力で
あり、出力SDは変調回路21に加わり、バイポ
ーラ変調された出力SO1,SO2を発生する。一
方、外部から与えられる基準クロツクTCLKは1/
16分周回路22で分周されて送信クロツク
TCLK′となり、シフトレジスタ19a,19b、
ビツトカウンタ16a同期信号発生回路20、及
び変調回路21のクロツクとなる。一方、
TCLK′は送信タイミング回路23にも加えられ
る。送信タイミング回路23は送信モードTMの
情報も受けて送信に必要な一連のタイミング信号
を発生する。タイミング信号として供給されるの
は、シフトレジスタ19a,19bのロード入力
TT1、ブロツクカウンタ17のカウント入力
TT2、2種のセレクタ18a,bの選択入力
TT4および同期信号発生回路20のリセツト信
号TT5である。 なおこれらのタイミングを発生する送信タイミ
ング回路23はカウンタとデコーダで容易に構成
できる。 シリアル入力SIはシフトレジスタ19cに加わ
る。このパラレル出力はアドレスレジスタ29、
コンパレータ24、及び読出用のバツフアメモリ
12bのバツフアレジスタ12c,12dに加え
られる。一方、シリアル出力はインバータ回路1
4″を通した後入力SIと照合回路25で比較され
る。アドレスレジスタ29の出力は送信側のブロ
ツクカウンタ17に加わると共にビツトカウンタ
16bの出力とともにバツフアメモリ12bのア
ドレスとなる。また、コンパレータ24ではシフ
トレジスタの出力はADR5〜7と比較され、一
致するとブロツクアドレス一致指令BSを発する。
シリアル入力SIは一方ではクロツク再生回路26
に加わり受信用クロツクRCLKを発生する。ま
た、SIは同期信号検出回路27にも加わり、同期
検知信号SYを発生する。前記受信クロツク
RCLKはシフトレジスタ19b、同期信号検出回
路27のクロツクとして使われると共に、受信タ
イミング回路28に加わり、同期検知信号SY、
アドレス一致指令BS、伝送モードTMの各信号
と共に受信に必要なタイミング信号を発生する。
これらのタイミング信号は受信用バツフアメモリ
12bへの書込ストローブ信号RSTB、ビツトカ
ウンタ16bのクロツクRT1、リセツト信号
RT2、アドレスレジスタ29のセツト信号RT
3、照合回路25のタイミング信号RT4、送信
タイミング回路23への起動要求信号RT5の6
種類である。なお受信タイミング回路28もカウ
ンタとデコーダで構成することができる。 次に第7図に示した回路構成について、その動
作説明をおこなう。 まずこの送受信装置8を介して送信すべきデー
タを内部バツフアメモリ12aに書込む場合につ
いて説明する。信号E/Iによる指定によつて二
つの場合がある。すなわち外部制御モードEは外
部信号によつてバツフアメモリ12aに書込む場
合で、例えばマイクロプロセツサが接続されてい
るような場合がこのモードに相当する。 また内部制御モードIはマイクロプロセツサの
ような能動回路をもたない場合に、該信号送受信
装置によつて外部のデータをバツフアメモリ12
aに書込む場合である。 外部制御モードの場合のタイムチヤートを第8
図に示す。R/W、ADR0〜7の信号(第8図
a,b)が外部から与えられ、DATA0〜15
(第8図c)にはADR0〜7に対応した書込みデ
ータが入力される。この時入出力スキヤナ15の
出力信号は、E/I信号により選択開閉されるゲ
ート13c,13d,13eの作用でゲート信号
は出力されず、外部から加えられる信号と混触を
おこすことはない。この状態でストローブ信号
STB(第8図d)が与えられることによつて、デ
ータがバツフアレジスタ12aに書込まれる。な
おゲート13dの出力信号はフロート状態を示
す。 内部制御モードIの場合のタイムチヤートを第
9図に示す。入出力スキヤナ15は基準クロツク
BCLK(第9図a)に基づいて、信号13c(第9
図c)、信号13d(第9図b)、信号13e(第9
図d)を出力する。これらの信号はそれぞれ
ADR0〜7、R/W、STBの信号としてバツフ
アレジスタ12aに入力されるとともに、双方向
性端子(第7図、端子2重丸◎印)を経由して本
発明に係るLSI化信号送受信装置8の外部に出力
される。 DATA0〜15は本装置の外部に出力された
ADR0〜7、R/Wを外部で参照し、所定の信
号をバツフアメモリ12aに入力する。この結
果、バツフアメモリ12aには入出力スキヤナ1
5によつて生成されたアドレスA0〜A127に対応
するデータD0〜D127(第9図e)が書込まれる。
なお第9図aは基準となるクロツク信号BCLKを
示している。 次に語長の選択について述べる。データ語長は
1ビツトアクセス(ビツトモード)、8ビツトア
クセス(バイトモード)、16ビツトアクセス(ワ
ードモード)の3つの場合について、WLなる2
つの信号(WL0、WL1)によつて切替えられる。
一例を表2に示す。これは前述の先願の場合と同
じである。
[Table] One side of the signal transmitting/receiving device (LSI) 8 is the control device 1
Or connected to the input/output device 2. This connection is used to write data to be transmitted or read transmitted data, and includes address ADR, data
DATA, R/W to distinguish between reading and writing;
It consists of a strobe signal STB that provides timing for reading and writing. In these cases, the signal transmission method differs depending on whether the connected circuit is an active circuit or a passive circuit; in the case of an active circuit, the signal is input/output to the signal transmitting/receiving device 8 in external control mode, and in the case of a passive circuit, input/output is in internal control mode. be done. This distinction is given by E/I, which distinguishes between external control and internal control. Also, word length WL is data DATA
The number of bits is specified depending on the type of control device 1 and input/output device 2. Connected to the other side of the signal transmission device 8 is a circuit that handles serial data, with serial outputs SO1,
SO2 is added to the driver 9 in a bipolar modulated form and connected to the transmission lines Ta and Tb through isolation transformers 11a and 11b. On the other hand, the input from the transmission path passes through the isolation transformer 11b and the receiver 10 and becomes a serial input SI. By the way, the serial output is bipolar modulated, and the details are as shown in Figure 4. Every time the unmodulated serial output (b, i in Figure 4) becomes 1, SO1 (in the same figure) and SO2
(same figure) alternately generate outputs. This output is connected to the driver 9 and the transmission line via the isolation transformer 11a.
Sent to Ta. 11a' and 11b' indicate those on the receiving side. In the transmission path, pulse signals alternating between positive and negative are obtained every time the unmodulated serial signal becomes 1. Therefore, on the receiving side, by full-wave rectifying and amplifying the output of the isolation transformer 11b, an unmodulated serial output can be obtained. This is represented as a luciver 10. The transmission mode TM is used to specify the connection form of the transmission path. The details are shown in FIG. In the 1:1 connection in FIG. 5a, it is sufficient to simply cross the input and output, but in the 1:N connection as shown in FIG. 5b, a bus T aB and T bB configuration is adopted. FIG. 6 shows the format of data on the transmission line. FIG. 6i shows the case of one-to-one connection. In a 1:1 connection, serial data is sent to block addresses A, SYC, and
A and 4-byte data D are transferred in two consecutive inversions. Since the data capacity is 256 bits,
Eight such blocks constitute one data frame, but the data is sent out cyclically and continuously, and the input and output are operated independently and asynchronously. Although the block address may actually be 3 bits, an 8-bit space is reserved to simplify the circuit. Note that 1 indicates the inverted value of A, and 1 indicates the inverted value of D. D is 8-bit data and SYC is a synchronization signal consisting of 24 bits (0, 1, 1, ... 1,
1,0). Figure 6 shows an example of signal transmission from a master station to a slave station in a 1-to-N connection, Figure 6 shows an example of signal transmission from a slave station to a master station, and Figure 6 is an explanatory diagram of FLAG signal transmission. be. On the other hand, in the 1:N connection, the configuration of serial data is the same as in the 1:1 connection, but the difference is that the input and output are synchronized. That is, the master station transmits data continuously, but the slave station transmits data to the master station while receiving data only when the block address matches its own address. In this case, as in the case of 1:1 connection, data from the master station is sent out cyclically, so the slave station responds once per frame. FIG. 7 shows the internal configuration of the signal transmitting/receiving device 8 implemented as an LSI for realizing these operations. First, I will give an overview. Address information ADR0 to 7 added from the outside in Figure 7
has two write and read buffer memories 12
It is added as the address of a, 12b.
DATA0-15 are applied to buffer memory 12a through gate circuit 13a. Here, the directions of the gate circuits 13a and 13b are reversed for writing and reading, but R/W is applied as a gate signal to one of them, and R/W is applied to the other through the inverter circuit. , one gate circuit is always open to control the direction of data. STB joins the write buffer memory 12a and provides write timing. By the way, among the above four types of signals, gate circuit 1 is used for ADR, R/W, and STB.
The output of the input/output scanner 15 is connected through 3c, d, and e. The input/output scanner 15 automatically accesses input/output sequentially, and the gate circuit 1
When 3c, d, and e open, the above 3
A seed signal is output. This should be determined depending on whether the control is external or internal, and the gates of gate circuits 13c, d, and e are controlled by E/I. On the other hand, the buffer memory 12a switches its internal decoder using WL to change the word length to be accessed. Further, the buffer memory 12a has independent input and output addresses and data, and can be arbitrarily accessed from the opposite side. Changing the word length by WL is described in detail in the earlier Japanese Patent Application No. 127958/1983 filed by the same applicant, so the explanation thereof will be omitted here. The upper two bits A of the bit counter 16a are stored at one address of the buffer memory 12a on the writing side.
3, A4 and the output 3 bits A5, A6, A7 of the block counter 17 are added to form a 5-bit address. A5-7 are also connected to the selector 18b and are selected by E/I between them and one input ADR5-7. This output becomes an input to another selector 18c, and is selected between the outputs D0 to D7 of the buffer memory 12a. This output is the shift register 19
This is the parallel input for a and 19b. The serial output of shift registers 19a and 19b is sent to selector 18.
a, and the inverter circuit 14,1
It becomes a serial input through 4'. Selector 18
One input of a is the output of the synchronization signal generation circuit 20, and the output SD is applied to the modulation circuit 21 to generate bipolar modulated outputs SO1 and SO2. On the other hand, the reference clock TCLK given externally is 1/
The frequency is divided by the 16 frequency divider circuit 22 and the transmit clock is
TCLK' and shift registers 19a, 19b,
The bit counter 16a serves as a clock for the synchronization signal generation circuit 20 and the modulation circuit 21. on the other hand,
TCLK' is also applied to the transmit timing circuit 23. The transmission timing circuit 23 also receives information on the transmission mode TM and generates a series of timing signals necessary for transmission. The load inputs of shift registers 19a and 19b are supplied as timing signals.
TT1, block counter 17 count input
TT2, selection input for two types of selectors 18a and b
TT4 and a reset signal TT5 of the synchronization signal generation circuit 20. Note that the transmission timing circuit 23 that generates these timings can be easily configured with a counter and a decoder. Serial input SI is applied to shift register 19c. This parallel output is the address register 29,
It is added to the comparator 24 and the buffer registers 12c and 12d of the buffer memory 12b for reading. On the other hand, the serial output is from inverter circuit 1
After passing through the bit counter 16b, the output of the address register 29 is added to the block counter 17 on the transmitting side and becomes the address of the buffer memory 12b together with the output of the bit counter 16b. The output of the shift register is compared with ADR5-7, and if they match, a block address match command BS is issued.
The serial input SI is connected to the clock recovery circuit 26 on the one hand.
RCLK is added to generate the reception clock RCLK. SI also joins the synchronization signal detection circuit 27 to generate a synchronization detection signal SY. The receiving clock
RCLK is used as a clock for the shift register 19b and the synchronization signal detection circuit 27, and is also applied to the reception timing circuit 28 to generate synchronization detection signals SY,
It generates the timing signals necessary for reception along with the address match command BS and transmission mode TM signals.
These timing signals are the write strobe signal RSTB to the receiving buffer memory 12b, the clock RT1 of the bit counter 16b, and the reset signal.
RT2, address register 29 set signal RT
3. Timing signal RT4 of collation circuit 25, start request signal RT5 to transmission timing circuit 23, 6
It is a kind. Note that the reception timing circuit 28 can also be configured with a counter and a decoder. Next, the operation of the circuit configuration shown in FIG. 7 will be explained. First, a case will be described in which data to be transmitted via the transmitting/receiving device 8 is written into the internal buffer memory 12a. There are two cases depending on the designation by signal E/I. That is, the external control mode E is a case where data is written into the buffer memory 12a by an external signal, and corresponds to this mode, for example, when a microprocessor is connected. In addition, in internal control mode I, when there is no active circuit such as a microprocessor, external data is transferred to the buffer memory 12 by the signal transmitting/receiving device.
This is the case when writing to a. The time chart for external control mode is 8th.
As shown in the figure. R/W, ADR0-7 signals (Fig. 8 a, b) are given from outside, DATA0-15
(FIG. 8c), write data corresponding to ADR0-7 is input. At this time, the output signal of the input/output scanner 15 is not outputted as a gate signal due to the action of the gates 13c, 13d, and 13e, which are selectively opened and closed by the E/I signal, and does not cause any interference with signals applied from the outside. In this state, the strobe signal
By applying STB (FIG. 8d), data is written to the buffer register 12a. Note that the output signal of the gate 13d indicates a floating state. A time chart for internal control mode I is shown in FIG. The input/output scanner 15 is a reference clock.
Based on BCLK (Figure 9a), signal 13c (Figure 9a)
Figure c), signal 13d (Figure 9b), signal 13e (Figure 9
Figure d) is output. Each of these signals
The LSI signal transmission/reception according to the present invention is input to the buffer register 12a as ADR0-7, R/W, and STB signals, and is also transmitted via the bidirectional terminal (Fig. 7, terminal double circle ◎ mark). It is output to the outside of the device 8. DATA0 to 15 are output to the outside of this device.
ADR0-7 and R/W are referenced externally and a predetermined signal is input to the buffer memory 12a. As a result, the input/output scanner 1 is stored in the buffer memory 12a.
Data D0 to D127 (FIG. 9e) corresponding to addresses A0 to A127 generated by 5 are written.
Note that FIG. 9a shows the reference clock signal BCLK. Next, we will discuss the selection of word length. The data word length is WL = 2 for three cases: 1-bit access (bit mode), 8-bit access (byte mode), and 16-bit access (word mode).
Switched by two signals (WL0, WL1).
An example is shown in Table 2. This is the same as the case of the earlier application mentioned above.

【表】 ここで語長の選択に関連してデータ入出力端子
とアドレス入出力端子の共用化について述べる。 第10図は端子の共用の説明図である。記憶容
量を256ビツトの場合について示している。1ビ
ツトモードの場合は8bit(1×27=256)のアドレ
スを必要とし、8ビツトモードの場合は5bit(8
×24=256)のアドレスを必要とし、16ビツトモ
ードの場合は4bit(16×23=256)のアドレスを必
要とする。第10図で太枠内の1ビツトモードの
場合のADR0〜3(端子番号12〜15)と、8ビ
ツトモードの場合のADR3はDATA端子とアド
レス端子の共用部分である。そして同時に使用さ
れることはないからここで述べる共用も可能とな
る。もし共用しない場合は、1ビツトモードとし
て使用できるように、さらに4つの端子(第10
図では20〜23)が必要となる。したがつて共用化
によつて端子の節約、LSIチツプ寸法の縮小、
LSIパツケージの小型化などに大きな効果があ
る。 バツフアメモリ12aの内容は読出し用アドレ
スを指定することによつて読出すことができる。
このアドレスはビツトカウンタ16a、ブロツク
カウンタ17で指定する。このようにしてデータ
を読出しながら送信するが送信する信号は第6図
の信号フオーマツトによる。送信タイムチヤート
を第11図に示す。 すなわち基準クロツク信号TCLKは1/16分周回
路22で分周され、TCLK′が生成される。これ
を入力信号とする送信タイミング回路23により
タイミング信号TT1〜TT5が生成される(第
11図b〜f)。ビツトカウンタ16a、ブロツ
クカウンタ17はタイミング信号TT2を計数し
て、信号A3〜A7を得る(第11図g〜K)。
同期信号発生回路20はA3〜A7の信号を参照
して3バイト長をもつ同期パターン信号SYC(第
11図l)を生成するとともに、セレクタ18a
を制御し、同期信号(SYC)を変調回路21に
導く。 次にセレクタ18cは信号A3〜A7を参照
し、アドレスデータ送出期間だけセレクタ18b
の出力をシフトレジスタ19a,19bにセツト
する役割を果している。こうしてセツトされたア
ドレスデータはシフトレジスタ19a,19bに
よりシリアルデータに変換されて出力される。ア
ドレスデータに引続いてセレクタ18cによりデ
ータD0〜D15が選択され、シフトレジスタ1
9a,19bにセツトされる。このデータD0〜
D15をセツトするタイミングは次のようになつ
ている。すなわちビツトカウンタ16aの出力信
号A3,A4、ブロツクカウンタ出力信号A5〜
A7とタイミング信号により生成されたシフトレ
ジスタセツトタイミング信号DLOAD(第11図
o)はバツフアメモリ(RAM)12aの出力信
号をシフトレジスタ19a,19bにセツトする
とともにバツフアメモリ12aへの書込ストロー
ブ信号STBとの競合の有無も監視している。こ
のセツトタイミング信号DLOADとバツフアメモ
リ12aのストローブ信号が競合しなかつた場合
のタイムチヤートを第12図に、競合した場合の
タイムチヤートを第13図に示す。セツトタイミ
ング信号DLOAD信号とストローブ信号STBをそ
れぞれ第12図a、第13図aと第12図b、第
13図bに示した。第12図の場合は競合がな
い、すなわち両信号に重なりがない場合でシフト
レジスタにセツトされたデータはアドレスデータ
と同様の手順で送出される。一方第13図の場合
は信号DLOADとSTBが競合、すなわち重なりが
ある場合で、このような場合には第13図a点線
のようにDLOAD信号が延長され重なりがないタ
イミングでセツトされることになる。セツトされ
た後は前述のようにアドレスデータと同様に送出
される。 なお第13図cは第13図aにおける点線の部
分の信号を得るための回路であつて、第7図では
これを省略している。第13図cはタイミング発
生回路によるタイミング信号DLOAD′とストロ
ーブ信号STBの論理積をとる論理回路61とシ
ングルシヨツトフリツプフロツプ62と、論理和
回路63とから構成される。 STB信号とDLOAD′信号の競合が発生した場
合はシングルシヨツトフリツプフロツプが動作し
て点線で示す一定時間だけDLOAD信号が延長さ
れる。 アドレスはブロツクアドレスであつて、1対1
接続または1対N接続のときの親局の場合はブロ
ツクカウンタ17で指定するが、1対N接続のと
きの子局の場合はADR5〜7の入力をブロツク
指定用に用い、これをアドレスとして送出するよ
うに選択が行なわれる。また、シフトレジスタ1
9a,19bはデータがセツトされると、一回目
はシリアルデータを出力しながら、これを反転し
てシリアル入力とし、二回目に出力する。すなわ
ち、この操作によつて反転2連送が可能になる。
以上の同期信号、アドレスに引続いてデータが選
択され、4バイト分が反転二連送で送出される
が、この手順はアドレスの場合と同じである。4
バイト分のデータが送出された後は2バイトに相
当した時間、すなわち第11図nのタイムチヤー
トでEで示した時間を設け、ここで1サイクルが
終了する。ビツトカウンタ16a、ブロツクカウ
ンタ17は再び初期状態に戻り、同期信号SYC
から送信を開始する。以下基本クロツクが印加さ
れる限り、サイクリツクに送信する。 一方、受信したデータはクロツク再生回路26
に加えられ、伝送を行う相手方の送信クロツクと
一致したクロツクを作るとともに、同期信号検出
回路27でデータ列の中から同期信号を検出す
る。受信部の動作は、、同期信号の検出によつて
始まり、シリアルデータをシフトレジスタに入力
し、パラレル出力がアドレスまたはデータとなる
が、この前にシリアル出力を反転したものとシリ
アル入力を照合回路25で照合し、エラーの有無
を検出する。 シリアルデータは16ビツトすなわち2バイトで
もつて意味のあるデータとなるが、反転二連送照
合は1バイト毎に行なわれているので、並列出力
データは2バイト続けて受信した後にはじめて有
効になる。受信バツフアレジスタ12c,12d
はそれぞれ8ビツトの大きさをもつレジスタで、
2バイトにわたつておこなわれる反転二連送照合
の結果を16ビツト(2バイト)分まとめてバツフ
アメモリ12bに転送するタイミングRSTBまで
の間一時的に記憶しておくものである。これらの
受信タイムチヤートを第14図に示す。 並列信号の中で最初に表われるのはアドレス信
号で、アドレスレジスタ29に書込むとともに、
1対N接続方式の子局である場合にはADR5〜
7とコンパレータ24で比較して自局が選択され
ているか否かを判定する。もしエラーがなく、か
つ1対N接続方式で自局が子局として選択された
場合、1対1接続方式の場合または1対N接続方
式で自局が親局の場合は、引続いてシフトレジス
タ19cから与えられる出力をデータとしてバツ
フアメモリ12bに書込む。この時のアドレスレ
ジスタ29とビツトカウンタ16bによつて与え
られる。次に以上のようにして書込まれたバツフ
アメモリ12bの内容の読出しについて述べる。
外部制御Eの場合は第8図のタイムチヤートに示
したリードサイクルに示されているようにADR
0〜7、R/Wを外部から指定することにより、
DATA0〜15に当該アドレスのデータを出力
させて読取ることができる。 また内部制御モードの場合は書込みの場合と同
様に基準クロツク信号から生成されたゲート回路
13c,13d,13eの出力信号がそれぞれ
R/W、ADR0〜7、STB信号として与えら
れ、ADR0〜7で示されるアドレスデータを
DATA0〜15に出力する。同時にADR0〜
7、R/W、STBの信号も本装置の外部に出力
される。13fもゲート回路である。 次に伝送モードの切換方法について説明する。
伝送モードの切換は送信タイミング回路23と受
信タイミング回路28によつて制御される。最初
に1:1の場合、及び1:Nの親局の場合、第6
図に示すフオーマツトでデータを繰返し送出す
る。すなわち、1:1の場合は双方が全く独立し
てデータの送出を行い、1:Nでは親局が主導権
を持つ。一方、1:Nの子局においては、親局が
指定したものと同じブロツクアドレスを持つもの
のみがデータを送出する。すなわち、コンパレー
タ24がブロツクアドレス一致指令BSを発する
と、これが受信タイミング回路28に加わり、
TMが1:Nの子局を指定している場合はRT5
を発する。RT5はブロツクカウンタ17に入力
され、アドレスレジスタ29に記憶されていたア
ドレスをセツトするこれと同時にRT5は送信タ
イミング回路23に加わり送信動作を開始し、第
6図のフオーマツトのデータを送出する。すなわ
ち、1:Nの子局においては、受信したアドレス
がブロツクアドレスと一致した時に送信動作が起
動され、1ブロツクのデータの送出を終ると停止
する。このようにすることによつて、1:N接続
において、子局同士の出力の競合を防止してい
る。 次にシミユレーシヨンモードについて述べる。
外部制御モード(E/IでEを選択)の場合、バ
ツフアメモリ12aへの書込み、バツフアメモリ
12bからの読出しについてはすでに説明した。
ここではバツフアメモリ12bへのデータの書込
みをADR0〜7、DATA0〜15、STB信号を
用いて前記12aの場合と同様におこなう場合に
ついて述べる。すなわち受信する直列信号とは関
係なしにシミユレーシヨンデータを12bへ書込
む場合である。ADR信号とR/W信号によりど
のバツフアメモリへのアクセスであるか、書込み
か読出しかを指定する。さらに信号SIMをセレク
タ30に入力し、バツフアメモリ12bへの書込
みモードに切替える。さらにバツフアメモリ12
bのアドレスライン、書込ストローブ信号ライン
もセレクタ33,32により切替える。この切替
えによつて、シリアルデータを受信中であつて
も、この信号とは関係なく、バツフアメモリ12
bへの書込みをおこなうことができる。メモリ1
2a,12bにはシミユレーシヨンデータが書込
まれる。読出しについてはすでに述べた読出しの
動作と同様である。 次にFLAG動作について説明する。FLAGビツ
トの伝送はアドレス伝送バイト中の空きビツトを
使用しておこなう。第7図においてFLAG INな
る信号が印加されると、第6図で示した伝送フ
オーマツト中のFLAGビツトに“1”が立つてシ
リアル伝送される。一方このFLAGビツトに
“1”が立つているシリアルデータを受信した受
信回路はFLAGレジスタ31に“1”を書込み、
FLAGレジスタ31はFLAG OUTとして外部に
出力する。このように送信側でFLAG信号を印加
すると、これを受信した受信側ではこれを識別し
て外部へ出力することができる。FLAGの場合は
バツフアメモリ12a,12bを介さずに信号の
伝送ができるので、緊急なデータ伝送を要する場
合にしばしば利用される。 次に信号断絶の検出機能について述べる。送信
装置の故障、伝送線路の断線などの理由から信号
が途絶えた場合これを検知しなければいけない。
本送受信装置では、同期信号の受信が周期的にお
こなわれているかどうかで検知している。しかし
本装置のように1対N接続方式で使用する場合で
あつても、最大接続数Nまで接続しない場合もあ
るので、ここでは同期信号の途絶の検出を、少な
くとも一度は同期信号を受信した子局についてお
こなうことにした。第15図に示す実施例により
説明する。 はじめに1対1接続方式の場合について述べる
同期信号が同期信号検出回路27により検出され
ると信号SYが出力され、デコーダ40aに入力
される。デコーダ40aは1対1接続方式ではモ
ード切替信号TMによりデコード値が一義的に決
まり、レジスタ41aにのみ信号SYを導出する。
レジスタ41aはこのSY信号によりセツトされ、
その後はGR(General Reset)信号が外部から印
加されない限りセツトされた状態を保持する。こ
うしてレジスタ41aには、1度同期信号が検出
されたということが記憶される。信号SYはデコ
ーダ40bにも入力されており、伝送モードが1
対1接続方式の場合は前述と同様に計数器42a
にのみ出力信号が導出される。計数器42aは信
号SYが時間幅TSYERRの間に一度も検出されない
ときに出力信号SYERRを発生する。第16図の
例では信号SYの周期TSYINTに対してTSYERR
3TSYINT≒TSYERRに設定した場合なので3回以上連
続して同期信号が検出されない場合に限つて信号
断絶が検出される。 次に1対N(実施例ではN=4)接続方式の場
合について述べる。親局から子局に向けてアドレ
ス順にシリアル信号がサイクリツクに送信される
(第17図a)。#0〜#3の繰り返し伝送がおこ
なわれる。この信号を受信した各アドレス、すな
わち#0〜#3の4局からはシリアルデータ
(SI)が返信される(第17図b)。ただし、ここ
では子局#1については未接続の場合を仮定して
いる。同期信号検出信号SYは、第17図bに示
す子局からの返信信号を受信し、同期信号を検出
したものである。信号SYはデコーダ40aに入
力され、デコーダのアドレスAD5,6によりレ
ジスタ41a,41b,41c,41dに振り分
けられる。 子局#0からの返信信号から周期信号を検出し
た信号、すなわち第17図cの信号SY(時刻t1
おける信号)はレジスタ41aに入力され、レジ
スタ41aをセツトする。このレジスタ41aは
前述の1対1接続方式の場合と同様に外部から信
号GRが印加されない限りリセツトされることは
ない。時刻t2では子局#1が未接続のため、信号
SYが生成されないのでレジスタ41bはセツト
されない。続いて時刻t3,t4では子局#2、#3
の信号SYによりレジスタ41c,41dがセツ
トされる。こうして最初に一度でも同期信号が検
出された子局#0、#2、#3についてはレジス
タ41a,41c,41dがセツトされる。 一方、信号SYはデコーダ40bにより各アド
レス#0〜#3別に振り分けられ、計数器42
a,42b,42c,42dに印加される。各計
数器では、信号SYがTSYERRの間に一度も入力さ
れないことを検出し、出力する。第17図の例で
は子局#3の信号SYがt4からt16までの間に一度
も入力されなかつたので、t16で計数器42cが
出力信号を発生する。はじめから接続されていな
かつた子局#1についてはt10の時点で計数器4
2bが出力信号を発生する。 この結果、ANDゲート43a〜43dには最
初に一度同期信号を検知した子局の中で、その後
同期信号の検出が続けて3回検出されなかつた子
局#3について出力信号が発生する。すなわち、
ANDゲート43dが出力され、ORゲート44に
出力信号ALARMが発生する。この信号は未接
続子局を除いた他の子局の信号途絶信号となり、
一旦同期信号を受信した後の信号異常を検出する
ことができる。 第18図は本発明による信号伝送用半導体集積
回路を適用したシステムの構成例を示したもので
ある。 は一方の入力の状態を他方の出力に転送する
もので、動作モードは1:1で80a,80bと
も内部制御となる。 は制御装置の入出力の状態をそのまま遠方で
利用するもので、リモート入出力装置と呼ばれる
形である。この場合は制御装置側80aが1:1
の外部制御、入出力装置側80bが1:1の内部
制御となる。 はの入出力装置を分散配置したもので、分
散形入出力装置と呼ばれる形である。この場合は
制御装置側80aが1:Nの親局で外部制御とな
り、入出力制御側80bが1:Nの子局で内部制
御となる。 は制御装置間の信号伝送で80a,80b共
に1:1の外部制御で用いる。なお、以上のシス
テムにおいて、制御装置又は入出力装置の種類に
応じて語長を変えることも可能である。 は80aあるいは80bの基本構成を示して
いる。 また本実施例では信号伝送フオーマツトとして
反転二連送の場合について説明したが、これに限
られるものではない。バイトまたはワード単位で
エラー検出ができるBCH(Bose Chaubhuri
Hocquemghem)コードの場合であつてもよい。 以上説明したように本信号送受信装置は信号の
送信、受信における機能を集約化したものであつ
て、各種の制御装置各々に本装置を1個取付けれ
ば相互間の信号送受信を容易におこなうことがで
きるので、制御装置の簡略化、小形化がはかれる
効果がある。
[Table] Here, we will discuss sharing data input/output terminals and address input/output terminals in connection with word length selection. FIG. 10 is an explanatory diagram of common use of terminals. The figure shows the case where the storage capacity is 256 bits. In 1-bit mode, an address of 8 bits (1 x 2 7 = 256) is required, and in case of 8-bit mode, an address of 5 bits (8 bits) is required.
×2 4 = 256) addresses are required, and in the case of 16-bit mode, 4 bits (16 × 2 3 = 256) addresses are required. In FIG. 10, ADR0 to ADR3 (terminal numbers 12 to 15) in the 1-bit mode and ADR3 in the 8-bit mode are the common parts of the DATA terminal and the address terminal. Since they are not used simultaneously, the sharing described here is also possible. If not shared, four more terminals (10th
In the figure, 20 to 23) are required. Therefore, by sharing the terminals, the number of terminals can be saved, the LSI chip size can be reduced,
This has a great effect on miniaturizing LSI packages. The contents of buffer memory 12a can be read by specifying a read address.
This address is designated by the bit counter 16a and block counter 17. In this way, the data is transmitted while being read, and the transmitted signal is in the signal format shown in FIG. A transmission time chart is shown in FIG. That is, the reference clock signal TCLK is frequency-divided by the 1/16 frequency divider circuit 22 to generate TCLK'. The transmission timing circuit 23 which uses this as an input signal generates timing signals TT1 to TT5 (FIG. 11 b to f). The bit counter 16a and block counter 17 count the timing signal TT2 to obtain signals A3 to A7 (FIG. 11g to K).
The synchronization signal generation circuit 20 generates a synchronization pattern signal SYC (FIG. 11l) having a length of 3 bytes by referring to the signals A3 to A7, and also generates a synchronization pattern signal SYC (FIG. 11l)
and leads a synchronization signal (SYC) to the modulation circuit 21. Next, the selector 18c refers to the signals A3 to A7, and selector 18b selects only the address data sending period.
It plays a role of setting the output of 1 to the shift registers 19a and 19b. The address data thus set is converted into serial data by shift registers 19a and 19b and output. Following the address data, data D0 to D15 are selected by the selector 18c, and the shift register 1
9a and 19b. This data D0~
The timing for setting D15 is as follows. That is, the output signals A3 and A4 of the bit counter 16a, and the block counter output signals A5~
The shift register set timing signal DLOAD (FIG. 11o) generated by A7 and the timing signal sets the output signal of the buffer memory (RAM) 12a to the shift registers 19a and 19b, and also synchronizes with the write strobe signal STB to the buffer memory 12a. We also monitor whether there is any competition. FIG. 12 shows a time chart when this set timing signal DLOAD and the strobe signal of the buffer memory 12a do not conflict, and FIG. 13 shows a time chart when they conflict. The set timing signal DLOAD signal and the strobe signal STB are shown in FIGS. 12a, 13a, 12b, and 13b, respectively. In the case of FIG. 12, there is no conflict, that is, there is no overlap between the two signals, and the data set in the shift register is sent out in the same procedure as the address data. On the other hand, in the case of Figure 13, the signals DLOAD and STB conflict, that is, they overlap, and in such a case, the DLOAD signal is extended and set at a timing when there is no overlap, as shown by the dotted line in Figure 13a. Become. After being set, it is sent out in the same way as the address data as described above. Note that FIG. 13c is a circuit for obtaining the signal indicated by the dotted line in FIG. 13a, and is omitted in FIG. 7. FIG. 13c is composed of a logic circuit 61 which takes the logical product of the timing signal DLOAD' generated by the timing generation circuit and the strobe signal STB, a single-shot flip-flop 62, and an OR circuit 63. When a conflict occurs between the STB signal and the DLOAD' signal, the single-shot flip-flop operates and the DLOAD signal is extended for a certain period of time shown by the dotted line. The address is a block address, one to one
In the case of a master station in connection or 1-to-N connection, specify it using the block counter 17, but in the case of a slave station in 1-to-N connection, inputs of ADR5 to 7 are used for block specification, and this is used as the address. A selection is made to send. Also, shift register 1
When data is set, 9a and 19b output serial data the first time, invert it and use it as a serial input, and output it the second time. That is, this operation enables two consecutive reversal feedings.
Following the synchronization signal and address described above, data is selected and 4 bytes are sent out in two consecutive inversions, but this procedure is the same as for the address. 4
After the byte worth of data is sent out, a time period corresponding to 2 bytes, ie, the time indicated by E in the time chart of FIG. 11n, is provided, and one cycle ends here. The bit counter 16a and block counter 17 return to their initial states again, and the synchronizing signal SYC
Start sending from. As long as the basic clock is applied, it will be transmitted cyclically. On the other hand, the received data is transferred to the clock regeneration circuit 26.
The synchronization signal detection circuit 27 detects a synchronization signal from the data string. The operation of the receiving section starts with the detection of a synchronization signal, inputs the serial data to the shift register, and the parallel output becomes the address or data, but before this, a circuit compares the serial input with the inverted version of the serial output. 25 to detect the presence or absence of an error. Serial data is meaningful even if it consists of 16 bits, that is, 2 bytes, but since inversion double transmission verification is performed for each byte, parallel output data becomes valid only after 2 bytes are received in succession. Reception buffer registers 12c, 12d
are registers each having a size of 8 bits,
It is used to temporarily store the results of the two-byte inversion verification performed over two bytes until the timing RSTB at which 16 bits (two bytes) are collectively transferred to the buffer memory 12b. These reception time charts are shown in FIG. The first one to appear among the parallel signals is the address signal, which is written to the address register 29 and
If it is a slave station of 1-to-N connection method, ADR5 ~
7 and the comparator 24 to determine whether or not the local station is selected. If there is no error and the local station is selected as a slave station in the 1-to-N connection method, or if the local station is the master station in the 1-to-1 connection method or the 1-to-N connection method, the shift will continue. The output given from the register 19c is written into the buffer memory 12b as data. It is given by the address register 29 and bit counter 16b at this time. Next, reading out the contents of the buffer memory 12b written in the above manner will be described.
In the case of external control E, ADR is executed as shown in the read cycle shown in the time chart of Figure 8.
0 to 7, by specifying R/W from the outside,
It is possible to read data by outputting the data at the address to DATA0 to DATA15. In the case of internal control mode, the output signals of gate circuits 13c, 13d, and 13e generated from the reference clock signal are given as R/W, ADR0-7, and STB signals, respectively, as in the case of writing, and ADR0-7 are given as R/W, ADR0-7, and STB signals, respectively. the address data shown
Output to DATA0~15. At the same time ADR0~
7. R/W and STB signals are also output to the outside of this device. 13f is also a gate circuit. Next, a method of switching transmission modes will be explained.
Switching of the transmission mode is controlled by a transmission timing circuit 23 and a reception timing circuit 28. In the case of 1:1 first, and in the case of 1:N master station, the 6th
Data is repeatedly sent in the format shown in the figure. That is, in the case of 1:1, both parties transmit data completely independently, and in the case of 1:N, the master station has the initiative. On the other hand, among the 1:N slave stations, only those having the same block address as the one specified by the master station transmit data. That is, when the comparator 24 issues the block address matching command BS, this is applied to the reception timing circuit 28,
RT5 if TM specifies a 1:N slave station
emits. RT5 is input to the block counter 17 and sets the address stored in the address register 29. At the same time, RT5 joins the transmission timing circuit 23 to start the transmission operation and send out data in the format shown in FIG. That is, in a 1:N slave station, the transmission operation is activated when the received address matches the block address, and is stopped when the transmission of one block of data is completed. By doing this, output competition between slave stations is prevented in a 1:N connection. Next, we will discuss the simulation mode.
In the case of the external control mode (E is selected in E/I), writing to the buffer memory 12a and reading from the buffer memory 12b have already been described.
Here, a case will be described in which data is written to the buffer memory 12b using the ADR0-7, DATA0-15, and STB signals in the same manner as in the case of the buffer memory 12a. That is, this is a case where simulation data is written to 12b regardless of the received serial signal. The ADR signal and the R/W signal specify which buffer memory is to be accessed, and whether it is writing or reading. Furthermore, the signal SIM is input to the selector 30 to switch to the write mode to the buffer memory 12b. In addition, buffer memory 12
The address line and write strobe signal line of b are also switched by selectors 33 and 32. By this switching, even if serial data is being received, the buffer memory 12
It is possible to write to b. memory 1
Simulation data is written in 2a and 12b. The read operation is similar to the read operation described above. Next, the FLAG operation will be explained. FLAG bits are transmitted using empty bits in the address transmission byte. In FIG. 7, when the signal FLAG IN is applied, the FLAG bit in the transmission format shown in FIG. 6 is set to "1" and serial transmission is performed. On the other hand, the receiving circuit that receives the serial data whose FLAG bit is set to "1" writes "1" to the FLAG register 31, and
The FLAG register 31 outputs to the outside as FLAG OUT. When the FLAG signal is applied on the transmitting side in this way, the receiving side that receives it can identify it and output it to the outside. In the case of FLAG, signals can be transmitted without going through the buffer memories 12a and 12b, so it is often used when urgent data transmission is required. Next, we will discuss the signal disconnection detection function. It is necessary to detect when the signal is interrupted due to a failure of the transmitter, a disconnection of the transmission line, etc.
This transmitting/receiving device detects whether synchronization signals are received periodically. However, even when using a 1-to-N connection method like this device, the maximum number of connections N may not be reached. I decided to talk about the subsidiary stations. This will be explained using the embodiment shown in FIG. First, the case of the one-to-one connection method will be described. When a synchronizing signal is detected by the synchronizing signal detection circuit 27, a signal SY is outputted and inputted to the decoder 40a. In the one-to-one connection system, the decode value of the decoder 40a is uniquely determined by the mode switching signal TM, and the signal SY is derived only to the register 41a.
Register 41a is set by this SY signal,
After that, the set state is maintained unless a GR (General Reset) signal is applied from outside. In this way, it is stored in the register 41a that the synchronization signal has been detected once. The signal SY is also input to the decoder 40b, and the transmission mode is 1.
In the case of the one-to-one connection method, the counter 42a
An output signal is derived only when Counter 42a generates an output signal SYERR when signal SY is never detected during the time interval TSYERR . In the example shown in Figure 16, T SYERR is given by the period T SYINT of the signal SY.
Since it is set to 3T SYINT ≒ T SYERR , signal discontinuation is detected only when the synchronization signal is not detected three or more times in a row. Next, a case of a 1-to-N (N=4 in the embodiment) connection method will be described. Serial signals are cyclically transmitted from the master station to the slave stations in address order (FIG. 17a). Repeated transmissions of #0 to #3 are performed. Serial data (SI) is returned from each address that received this signal, that is, the four stations #0 to #3 (FIG. 17b). However, here it is assumed that slave station #1 is not connected. The synchronization signal detection signal SY is obtained by receiving the reply signal from the slave station shown in FIG. 17b and detecting the synchronization signal. The signal SY is input to the decoder 40a and distributed to the registers 41a, 41b, 41c, and 41d according to the decoder addresses AD5 and AD6. The signal obtained by detecting the periodic signal from the reply signal from slave station #0, that is, the signal SY in FIG. 17c (signal at time t1 ), is input to the register 41a, and the register 41a is set. This register 41a is not reset unless the signal GR is applied from outside, as in the case of the one-to-one connection method described above. At time t 2 , slave station #1 is not connected, so the signal is
Since SY is not generated, register 41b is not set. Subsequently, at times t 3 and t 4 , slave stations #2 and #3
The registers 41c and 41d are set by the signal SY. In this way, registers 41a, 41c, and 41d are set for slave stations #0, #2, and #3 for which a synchronization signal is detected at least once for the first time. On the other hand, the signal SY is distributed to each address #0 to #3 by the decoder 40b, and is distributed to each address #0 to #3 by the counter 42.
a, 42b, 42c, and 42d. Each counter detects that the signal SY is never input during T SYERR and outputs it. In the example of FIG. 17, the signal SY of slave station #3 was never input between t 4 and t 16 , so the counter 42c generates an output signal at t 16 . For slave station #1 that was not connected from the beginning, counter 4 is activated at t 10 .
2b generates an output signal. As a result, an output signal is generated in the AND gates 43a to 43d for slave station #3, which is among the slave stations that first detected a synchronization signal once, and for which a synchronization signal was not detected three times in a row. That is,
The AND gate 43d outputs, and the OR gate 44 generates an output signal ALARM. This signal becomes a signal interruption signal for other slave stations excluding the unconnected slave station,
Signal abnormalities can be detected once the synchronization signal is received. FIG. 18 shows an example of the configuration of a system to which the semiconductor integrated circuit for signal transmission according to the present invention is applied. transfers the state of one input to the output of the other, and the operating mode is 1:1 and both 80a and 80b are internally controlled. This is a type of device that uses the input/output status of a control device directly from a distance, and is called a remote input/output device. In this case, the control device side 80a is 1:1
external control, and 1:1 internal control on the input/output device side 80b. This type of input/output device is distributed in a distributed manner, and is called a distributed input/output device. In this case, the control device side 80a is a 1:N master station and performs external control, and the input/output control side 80b is a 1:N slave station and performs internal control. Both 80a and 80b are used for 1:1 external control in signal transmission between control devices. Note that in the above system, it is also possible to change the word length depending on the type of control device or input/output device. shows the basic configuration of 80a or 80b. Furthermore, in this embodiment, the signal transmission format is inverted double transmission, but the signal transmission format is not limited to this. BCH (Bose Chaubhuri
Hocquemghem) code may be used. As explained above, this signal transmitting/receiving device consolidates the functions for transmitting and receiving signals, and by attaching one device to each type of control device, it is possible to easily transmit and receive signals between them. This has the effect of simplifying and downsizing the control device.

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

第1図は信号伝送の概略を説明するためのブロ
ツク図で、第1図aは1対1の場合、第2図bは
1対Nの場合を示している。第2図はマイクロコ
ンピユータを用いた場合の周辺装置との結合の概
略を示す図である。第3図は本発明に係る信号送
受信装置を中心とする他の機器との結合状態の概
略を示す図である。第4図は直列語形式のデータ
の例の説明図である。第5図は直列語形式のデー
タ伝送をおこなう1対1接続の例(第5図a)、
1対N接続の例(第5図b)を示す。第6図〜
は第5図において1対1接続および1対N接続
における送信データフオーマツトの例を、第6図
はFLAG伝送モードの例を示している。第7図
は第3図における信号送受信装置のブロツク構成
図である。第8図a〜eは外部制御モードの場合
のタイムチヤートを示す。第9図a〜eは内部制
御モードの場合のタイムチヤートを示す。第10
図はアドレス端子とデータ端子の一部共用の説明
図である。第11図a〜oは信号送信装置からの
直列語形式信号の送信タイミングの説明図であ
る。第12図a,b、第13図a,b,cは第1
バツフアメモリへの書込みと第1バツフアメモリ
からの読出しタイミングの説明図である。第14
図a〜kは直列語形式信号の受信タイミングの説
明図である。第15図は同期信号の異常検出回路
を示す。第16図は第15図のタイムチヤートを
示す。第17図は1対4接続の場合の信号途絶検
出の説明のためのタイムチヤートである。第18
図は信号送受信装置の接続例を示す。 1,1a,1b,2,2a…2n……制御装
置、3……マイクロプロセツサ、4……信号伝送
用LSI、6……メモリ、7,21……変調回路、
7a,Ta,Tb,TaB,TbB……伝送路、8……信
号送受信装置、9……ドライバ、10……レシー
バ、11a,11b……絶縁トランス、12a,
12b……バツフアメモリ、15……入出力スキ
ヤナ、16a……ビツトカウンタ、17……ブロ
ツクカウンタ、19a,19b,19c……シフ
トレジスタ、20……同期信号発生回路、23…
…送信タイミング回路、27……同期信号検出回
路、26……クロツク再生回路、28……受信タ
イミング回路、25……照合回路、62……シン
グルシヨツトフリツプフロツプ、40a,40b
……デコーダ、41a,41b…,42a,42
b……レジスタ、80a,80b,80b1,80
b2……信号伝送用半導体集積回路。
FIG. 1 is a block diagram for explaining the outline of signal transmission. FIG. 1a shows a 1:1 case, and FIG. 2b shows a 1:N case. FIG. 2 is a diagram schematically showing connection with peripheral devices when a microcomputer is used. FIG. 3 is a diagram schematically showing how the signal transmitting/receiving device according to the present invention is coupled with other devices. FIG. 4 is an explanatory diagram of an example of data in serial word format. Figure 5 shows an example of a one-to-one connection for serial word format data transmission (Figure 5a),
An example of a 1-to-N connection (FIG. 5b) is shown. Figure 6~
FIG. 5 shows an example of a transmission data format in a 1-to-1 connection and a 1-to-N connection, and FIG. 6 shows an example of the FLAG transmission mode. FIG. 7 is a block diagram of the signal transmitting/receiving device in FIG. 3. 8a to 8e show time charts in the external control mode. FIGS. 9a to 9e show time charts in the internal control mode. 10th
The figure is an explanatory diagram of partially sharing address terminals and data terminals. FIGS. 11a to 11o are explanatory diagrams of the transmission timing of serial word format signals from the signal transmitting device. Figure 12 a, b, Figure 13 a, b, c are the first
FIG. 3 is an explanatory diagram of the timing of writing to a buffer memory and reading from a first buffer memory. 14th
Figures a to k are explanatory diagrams of the reception timing of serial word format signals. FIG. 15 shows a synchronization signal abnormality detection circuit. FIG. 16 shows the time chart of FIG. 15. FIG. 17 is a time chart for explaining signal interruption detection in the case of 1-to-4 connection. 18th
The figure shows an example of how signal transmitting and receiving devices are connected. 1, 1a, 1b, 2, 2a...2n...control device, 3...microprocessor, 4...signal transmission LSI, 6...memory, 7, 21...modulation circuit,
7a, Ta, Tb, T aB , T bB ...Transmission line, 8...Signal transmitting/receiving device, 9...Driver, 10...Receiver, 11a, 11b...Isolation transformer, 12a,
12b...Buffer memory, 15...I/O scanner, 16a...Bit counter, 17...Block counter, 19a, 19b, 19c...Shift register, 20...Synchronization signal generation circuit, 23...
...Transmission timing circuit, 27...Synchronization signal detection circuit, 26...Clock regeneration circuit, 28...Reception timing circuit, 25...Verification circuit, 62...Single shot flip-flop, 40a, 40b
...Decoder, 41a, 41b..., 42a, 42
b...Register, 80a, 80b, 80b 1 , 80
b 2 ...Semiconductor integrated circuit for signal transmission.

Claims (1)

【特許請求の範囲】 1 並列語形式の信号を伝送するバスラインと直
列語形式の信号を送受する装置の間で信号の送受
信をおこなうものであつて、以下の手段をLSIチ
ツプ上に構成してなることを特徴とする信号送受
信装置。 (イ) 入力される並列語形式の信号を記憶する第1
のメモリ、 (ロ) 前記第1のメモリに記憶されている並列語形
式の信号を読み出して直列語形式の信号に変換
し出力するシリアル信号送信回路、 (ハ) 入力される直列語形式の信号を並列語形式の
信号に変換するシリアル信号受信回路、 (ニ) 前記シリアル信号受信回路からの並列語形式
の信号を記憶する第2のメモリ、 (ホ) クロツク信号に基づいてリード/ライト制御
信号およびアドレス信号を出力して前記第1の
メモリおよび前記第2のメモリに対する並列語
形式の信号のサイクリツクな入出力を制御する
入出力スキヤナ回路、 (ヘ) 前記信号送受信装置と前記バスラインの信号
の入出力制御を外部制御モードによるか内部制
御モードによるか指定し、前記外部制御モード
が指定される場合は前記バスラインを介して送
られてくるリード/ライト制御信号およびアド
レス信号によつて前記第1のメモリおよび前記
第2のメモリに対する並列語形式の信号の入出
力を制御するように切り替える制御モード切替
回路。 2 並列語形式の信号を伝送するバスラインと直
列語形式の信号を送受する装置の間で信号の送受
信をおこなうものであつて、以下の手段をLSIチ
ツプ上に構成してなることを特徴とする信号送受
信装置。 (イ) 入力される並列語形式の信号を記憶する第1
のメモリ、 (ロ) 前記第1のメモリに記憶されている並列語形
式の信号を読み出して直列語形式の信号に変換
し出力するシリアル信号送信回路、 (ハ) 入力される直列語形式の信号を並列語形式の
信号に変換するシリアル信号受信回路、 (ニ) 前記シリアル信号受信回路からの並列語形式
の信号を記憶する第2のメモリ、 (ホ) クロツク信号に基づいてリード/ライト制御
信号およびアドレス信号を出力して前記第1の
メモリおよび前記第2のメモリに対する並列語
形式の信号のサイクリツクな入出力を制御する
入出力スキヤナ回路、 (ヘ) 前記第1のメモリおよび/または前記第2の
メモリをアクセスする語長を所定の値に設定す
る書き込み読み出し語長設定回路。 3 並列語形式の信号を伝送するバスラインと直
列語形式の信号を送受する複数の子局の間で信号
の送受信をおこなうものであつて、以下の手段を
LSIチツプ上に構成してなることを特徴とする信
号送受信装置。 (イ) 前記信号送受信装置を親局として、該親局と
直列語形式の信号の送信および/または受信を
おこなう前記子局の台数を指定する子局台数指
定回路、 (ロ) 入力される並列語形式の信号を記憶する第1
のメモリ、 (ハ) 前記第1のメモリに記憶されている並列語形
式の信号を読み出して直列語形式の信号に変換
し、前記子局台数指定回路で指定された台数に
応じて時分割に発生した送信タイミング信号に
同期して各子局に前記直列語形式に変換した信
号を順次送出するシリアル信号送信回路、 (ニ) 前記シリアル信号送信回路から送出した信号
に応答して前記子局台数指定回路で指定された
台数の子局から順次入力される直列語形式の信
号を並列語形式の信号に変換するシリアル信号
受信回路、 (ホ) 前記シリアル信号受信回路からの並列語形式
の信号を記憶する第2のメモリ、 (ヘ) クロツク信号に基づいてリード/ライト制御
信号およびアドレス信号を出力して前記第1の
メモリおよび前記第2のメモリに対する並列語
形式の信号のサイクリツクな入出力を制御する
入出力スキヤナ回路。
[Scope of Claims] 1. A device for transmitting and receiving signals between a bus line that transmits signals in parallel word format and a device that transmits and receives signals in serial word format, comprising the following means on an LSI chip. A signal transmitting/receiving device characterized by: (b) The first unit that stores the input parallel word format signal.
(b) a serial signal transmission circuit that reads the parallel word format signal stored in the first memory, converts it into a serial word format signal, and outputs the signal; (c) an input serial word format signal; a serial signal receiving circuit that converts the signal into a parallel word format signal; (d) a second memory that stores the parallel word format signal from the serial signal receiving circuit; and (e) a read/write control signal based on the clock signal. and an input/output scanner circuit that outputs an address signal to control cyclic input/output of parallel word format signals to the first memory and the second memory, (f) signals of the signal transmitting/receiving device and the bus line. Specifies whether the input/output control of the controller is to be performed in an external control mode or an internal control mode, and when the external control mode is designated, the input/output control of the controller is controlled by read/write control signals and address signals sent via the bus line. A control mode switching circuit that switches to control input/output of parallel word format signals to the first memory and the second memory. 2. A device for transmitting and receiving signals between a bus line that transmits signals in parallel word format and a device that transmits and receives signals in serial word format, and is characterized by comprising the following means on an LSI chip. A signal transmitting and receiving device. (b) The first unit that stores the input parallel word format signal.
(b) a serial signal transmission circuit that reads the parallel word format signal stored in the first memory, converts it into a serial word format signal, and outputs the signal; (c) an input serial word format signal; a serial signal receiving circuit that converts the signal into a parallel word format signal; (d) a second memory that stores the parallel word format signal from the serial signal receiving circuit; and (e) a read/write control signal based on the clock signal. and an input/output scanner circuit that outputs address signals to control cyclic input/output of parallel word format signals to and from the first memory and the second memory; (f) the first memory and/or the second memory; A write/read word length setting circuit sets the word length for accessing memory No. 2 to a predetermined value. 3 Signals are transmitted and received between a bus line that transmits signals in parallel word format and multiple slave stations that transmit and receive signals in serial word format, and the following means are used.
A signal transmitting/receiving device characterized by being configured on an LSI chip. (b) A number-of-slave station designation circuit that specifies the number of slave stations that transmit and/or receive signals in serial word format from the master station using the signal transmitting/receiving device as a master station; (b) Parallel input circuit; The first to memorize the word form signal
(c) reading the parallel word format signal stored in the first memory, converting it into a serial word format signal, and time-sharing the signal according to the number specified by the slave station number designation circuit; a serial signal transmitting circuit that sequentially transmits the signal converted into the serial word format to each slave station in synchronization with the generated transmission timing signal; a serial signal receiving circuit that converts serial word format signals sequentially input from a specified number of slave stations in a designated circuit into parallel word format signals; (e) storing parallel word format signals from the serial signal receiving circuit; (f) outputting a read/write control signal and an address signal based on a clock signal to control cyclic input/output of parallel word format signals to and from the first memory and the second memory; input/output scanner circuit.
JP56007845A 1981-01-23 1981-01-23 Signal transmitting and receiving device Granted JPS57123750A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56007845A JPS57123750A (en) 1981-01-23 1981-01-23 Signal transmitting and receiving device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56007845A JPS57123750A (en) 1981-01-23 1981-01-23 Signal transmitting and receiving device

Publications (2)

Publication Number Publication Date
JPS57123750A JPS57123750A (en) 1982-08-02
JPH041544B2 true JPH041544B2 (en) 1992-01-13

Family

ID=11676946

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56007845A Granted JPS57123750A (en) 1981-01-23 1981-01-23 Signal transmitting and receiving device

Country Status (1)

Country Link
JP (1) JPS57123750A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61212148A (en) * 1985-03-15 1986-09-20 Matsushita Electric Ind Co Ltd Input/output control device
JP5644570B2 (en) * 2011-02-16 2014-12-24 ミツミ電機株式会社 COMMUNICATION METHOD, COMMUNICATION SYSTEM AND DEVICE THEREOF

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS49130603A (en) * 1973-04-13 1974-12-14
JPS5060687A (en) * 1973-10-02 1975-05-24
JPS5289402A (en) * 1976-01-21 1977-07-27 Hitachi Ltd Data transmitting device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS49130603A (en) * 1973-04-13 1974-12-14
JPS5060687A (en) * 1973-10-02 1975-05-24
JPS5289402A (en) * 1976-01-21 1977-07-27 Hitachi Ltd Data transmitting device

Also Published As

Publication number Publication date
JPS57123750A (en) 1982-08-02

Similar Documents

Publication Publication Date Title
US4366478A (en) Signal transmitting and receiving apparatus
US4071887A (en) Synchronous serial data adaptor
US4999769A (en) System with plural clocks for bidirectional information exchange between DMA controller and I/O devices via DMA bus
US4106091A (en) Interrupt status indication logic for polled interrupt digital system
US4136400A (en) Micro-programmable data terminal
US7484028B2 (en) Burst-capable bus bridges for coupling devices to interface buses
US5717948A (en) Interface circuit associated with a processor to exchange digital data in series with a peripheral device
JPH0497472A (en) Semiconductor integrated circuit device
US5430844A (en) Communication control system for transmitting, from one data processing device to another, data along with an identification of the address at which the data is to be stored upon reception
JPH041544B2 (en)
US5170473A (en) Communication command control system between cpus
US5163049A (en) Method for assuring data-string-consistency independent of software
KR100266963B1 (en) Method and apparatus for reducing latency rime on an interface by overlapping transmitted packets
EP0983554B1 (en) Interfacing peripheral devices via a slave group interface device to a bus
JPS61166647A (en) Accessing for reading out information microprocessor and addressable memory
JP2558062B2 (en) An adapter for transferring variable-sized data blocks to other adapters over the system bus
KR100295683B1 (en) General call acknowledge apparatus and method for inter-integrated circuit
SU1807490A1 (en) Device for controlling digital communication channels
JPH10207834A (en) Serial input/output circuit
JP2849804B2 (en) Memory access interface circuit and memory access method
KR100962306B1 (en) Bidirectional data transmission apparatus and the method thereof for embedded system
KR920001859B1 (en) Time switch control memory device
KR950003970B1 (en) Pcm data connecting apparatus of digital switching system exchange
JP2576236B2 (en) Communication method of programmable controller
KR19980026617A (en) Serial data communication system