JPH05102984A - Loop shape i/o data transmission equipment - Google Patents

Loop shape i/o data transmission equipment

Info

Publication number
JPH05102984A
JPH05102984A JP3261792A JP26179291A JPH05102984A JP H05102984 A JPH05102984 A JP H05102984A JP 3261792 A JP3261792 A JP 3261792A JP 26179291 A JP26179291 A JP 26179291A JP H05102984 A JPH05102984 A JP H05102984A
Authority
JP
Japan
Prior art keywords
signal
information
address
data
detection 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.)
Pending
Application number
JP3261792A
Other languages
Japanese (ja)
Inventor
Shinya Kominami
真也 小南
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP3261792A priority Critical patent/JPH05102984A/en
Publication of JPH05102984A publication Critical patent/JPH05102984A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To perform data transmission without re-registering information for the address and specification data of every slave station when they are registered in advance or the change of the address and the change and deletion of specification are performed by automatically recognizing the connecting state of the slave station. CONSTITUTION:This device is composed of a command coincidence detection memory circuit 14 which comprises a transmission signal of synchronous information, address information, and data information and command information to issue an instruction so as to check the information with respect to the slave station, and also, generates a signal in accordance with the command information, and a byte change-over switch circuit 11 which substitues input data 1 for the information with respect to the slave station by the signal outputted from the command coincidence detection memory circuit 14. Thereby, the purpose can be attained since each slave station transmits respective address and the information with respect to the connecting state of the slave station to a master station.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は自動機械等に用いられる
ループ状I/Oデータ伝送装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a loop I / O data transmission device used in an automatic machine or the like.

【0002】[0002]

【従来の技術】近年はマイクロプロセッサの利用により
自動機械が高機能化されつつあり、それに伴ってセンサ
やアクチュエータの数が数百〜数千にも及ぶものがめず
らしくなくなってきている。
2. Description of the Related Art In recent years, the use of microprocessors has improved the functionality of automatic machines, and along with this, the number of sensors and actuators reaching hundreds to thousands has become uncommon.

【0003】それに伴い、センサ及びアクチュエータと
それらを制御するコントローラとの間で信号伝送を行う
ための配線量が多くなり、その結果、信頼性の低下や配
線工数の増大化を招いたり、トラブルが生じた際の対応
が困難であるなどの問題が生じてきた。
As a result, the amount of wiring for transmitting signals between the sensors and actuators and the controller that controls them increases, resulting in a decrease in reliability and an increase in wiring man-hours, and troubles. Problems have arisen, such as difficulty in responding when they occur.

【0004】このような問題を解消するため、本発明者
は先に出願した特願昭61−165830号において、
各センサ・アクチュエータのすぐ近くにリモートI/O
と呼ばれる制御ユニットを配置し、その間を光ファイバ
等を用いた伝送路にて接続したループ状データ伝送装置
を提案した。
In order to solve such a problem, the present inventor has proposed in Japanese Patent Application No. 61-165830 filed previously.
Remote I / O near each sensor / actuator
We proposed a loop-shaped data transmission device in which a control unit called a "control unit" was placed and the units were connected by a transmission line using an optical fiber.

【0005】図10はそのループ状データ伝送装置の概
略構成図である。図において、1はセンサ、2はアクチ
ュエータ、3は入力ユニット、4は出力ユニットであ
り、3と4を以後子局と呼ぶことにする。5はこれら子
局すべてを制御するコントローラであり、子局に対し親
局と呼ぶ。6は光ファイバである。
FIG. 10 is a schematic configuration diagram of the loop data transmission device. In the figure, 1 is a sensor, 2 is an actuator, 3 is an input unit, 4 is an output unit, and 3 and 4 are hereinafter referred to as slave stations. A controller 5 controls all of these slave stations, and is called a master station for the slave stations. 6 is an optical fiber.

【0006】図11は各子局の構成を示した構成図であ
る。図において、7は同期キャリアタイミング信号発生
回路で、受信信号aの伝送速度に同期したキャリアタイ
ミング信号bを発生させるものである。8はアドレス一
致検出回路で、受信中の信号aのアドレス情報と設定ア
ドレスとが一致したことを検出し、記憶するものであ
る。9は同期キャリアタイミング信号発生回路7から出
力されたキャリアタイミング信号bをクロック入力とし
て並列入力データlを直列信号cに変換する並列・直列
変換器である。10は受信信号aを並列・直列変換器9
から出力される直列信号cと同一タイミングになるまで
遅らせる直列信号遅延回路である。11は送信切り換え
スイッチであり普通はi側と接続している。受信を開始
しアドレス情報が通過した時点でアドレス一致検出信号
dが出ていれば送信切り換えスイッチ11はh側に接続
し、以後送信信号を直列信号cに切り換える。又、アド
レス一致信号dが出ていなければ切り換えは行わず、信
号遅延回路10を通って遅延された受信信号aをそのま
ま再送信するものである。12は受信信号a中のデータ
情報を直列・並列変換する直列・並列変換器である。1
3はアドレス一致時に出力ラッチを行う出力ラッチ回路
である。
FIG. 11 is a block diagram showing the configuration of each slave station. In the figure, reference numeral 7 is a synchronous carrier timing signal generating circuit, which generates a carrier timing signal b synchronized with the transmission speed of the received signal a. Reference numeral 8 denotes an address coincidence detection circuit which detects and stores that the address information of the signal a being received coincides with the set address. Reference numeral 9 denotes a parallel-serial converter that converts the parallel input data 1 into a serial signal c using the carrier timing signal b output from the synchronous carrier timing signal generation circuit 7 as a clock input. Reference numeral 10 is a parallel-serial converter 9 for converting the received signal a.
The serial signal delay circuit delays the serial signal c output from the same until the same timing. Reference numeral 11 denotes a transmission changeover switch, which is normally connected to the i side. If the address match detection signal d is output at the time when the reception is started and the address information passes, the transmission changeover switch 11 is connected to the h side, and thereafter the transmission signal is changed over to the serial signal c. If the address coincidence signal d is not output, the switching is not performed, and the reception signal a delayed through the signal delay circuit 10 is retransmitted as it is. Reference numeral 12 is a serial / parallel converter for converting serial / parallel conversion of the data information in the received signal a. 1
An output latch circuit 3 latches the output when the addresses match.

【0007】図12はこのループ状データ伝送装置の伝
送フォーマットを示したものである。伝送フォーマット
は同期キャリアタイミング信号bを発生させるための同
期情報と、アクセスする子局を区別するためのアドレス
情報と、データ情報から成り立っている。
FIG. 12 shows a transmission format of this loop data transmission device. The transmission format consists of synchronization information for generating the synchronization carrier timing signal b, address information for distinguishing the slave station to be accessed, and data information.

【0008】以上のように構成されたループ状データ伝
送装置について、図11を参照して、以下その動作を説
明する。
The operation of the loop-shaped data transmission device configured as described above will be described below with reference to FIG.

【0009】図において、信号aを受信すると、同期キ
ャリアタイミング信号発生回路7が受信信号aの伝送速
度に同期したキャリアタイミング信号bを発生させる。
In the figure, when the signal a is received, the synchronous carrier timing signal generation circuit 7 generates the carrier timing signal b which is synchronized with the transmission speed of the received signal a.

【0010】ここで、受信中の信号aのアドレス情報と
設定アドレスが一致していれば、アドレス一致検出回路
8よりアドレス一致信号dを出力し送信切り換えスイッ
チ11はi側からh側に切り換えられる。以後、送信信
号gは並列・直列変換器により直列信号に変換された入
力データcに置き換えられる。尚、送信切り換えの際、
受信信号aは直列信号cと同一タイミングになるように
並列・直列変換器9のクロック入力信号と同一のキャリ
ア信号bを直列信号遅延回路10のクロック入力に加え
て遅らせているため、送信切り換えによる波形の乱れは
極めて少ない。
Here, if the address information of the signal a being received and the set address match, the address match detection circuit 8 outputs the address match signal d and the transmission changeover switch 11 is changed over from the i side to the h side. .. After that, the transmission signal g is replaced with the input data c converted into a serial signal by the parallel / serial converter. In addition, when switching transmission,
Since the received signal a is delayed by adding the carrier signal b, which is the same as the clock input signal of the parallel / serial converter 9, to the clock input of the serial signal delay circuit 10 so that the received signal a has the same timing as the serial signal c, transmission switching is performed. Waveform distortion is extremely small.

【0011】一方、受信信号aのデータ情報の並列出力
は次のように行われる。受信信号aとキャリアタイミン
グ信号bはそれぞれ直列・並列変換器12のシリアル入
力,クロック入力であり、これらの直列データ情報は並
列データに変換される。そして、アドレスが一致してい
る場合は出力ラッチ回路13で並列に変換されたデータ
をラッチし、ラッチした並列信号を出力データkとして
得ることができる。
On the other hand, the parallel output of the data information of the received signal a is performed as follows. The received signal a and the carrier timing signal b are the serial input and clock input of the serial / parallel converter 12, respectively, and these serial data information are converted into parallel data. When the addresses match, the data converted in parallel by the output latch circuit 13 can be latched, and the latched parallel signal can be obtained as the output data k.

【0012】次にアドレスが一致しなかった場合につい
て説明する。アドレスが一致しなかった場合は送信切り
換えスイッチ11はi側のままである。受信信号aは直
列信号遅延回路のデータ入力であり、又クロック入力と
してキャリアタイミング信号bが入力されているので直
列信号遅延回路10の出力信号iは受信信号aと全く同
じである。この時は並列データは入力も出力もされない
ことになる。
Next, the case where the addresses do not match will be described. When the addresses do not match, the transmission changeover switch 11 remains on the i side. Since the received signal a is the data input of the serial signal delay circuit and the carrier timing signal b is input as the clock input, the output signal i of the serial signal delay circuit 10 is exactly the same as the received signal a. At this time, the parallel data is neither input nor output.

【0013】[0013]

【発明が解決しようとする課題】上記従来のループ状デ
ータ伝送装置においては、予め各子局のアドレスと種別
データを登録しておき、これらのデータ情報を元にして
親局から子局へデータを伝送するため、自動機械等の設
備の作成段階において、適切な仕様にするために試行を
繰り返す際、子局のアドレス変更,種別変更及び削除を
行うためにはこれらの情報を人手により再登録しなけれ
ばならず、更に各子局における各ビットの入出力の接続
状態を把握するためにも上記同様の手続きを行わなけれ
ばならないという問題点を有していた。
In the above-mentioned conventional loop data transmission apparatus, the address and type data of each slave station are registered in advance, and data is transmitted from the master station to the slave station based on these data information. In order to transmit the information, in the process of creating equipment such as automatic machines, when trials are repeated to obtain appropriate specifications, these information are manually re-registered in order to change the address, change the type and delete the slave station. In addition, there is a problem that the same procedure as described above has to be performed in order to grasp the connection state of input / output of each bit in each slave station.

【0014】本願発明は上記従来の問題点を解決するも
ので、各子局のアドレス及び種別データを予め登録した
り、そのアドレス変更,種別変更及び削除の際にこれら
の情報を再登録することなく、子局の接続状態を自動的
に把握し、データ伝送が行えるループ状I/Oデータ伝
送装置の提供を目的とする。
The present invention solves the above-mentioned problems of the prior art by pre-registering the address and type data of each slave station, or re-registering these information when the address is changed, the type is changed, or deleted. It is an object of the present invention to provide a loop I / O data transmission device capable of automatically grasping the connection state of a slave station and transmitting data.

【0015】[0015]

【課題を解決するための手段】上記目的を達成するため
に本発明のループ状データ伝送装置は、伝送信号を同期
情報,アドレス情報,データ情報の他に、子局に関する
情報を調べるよう命令するコマンド情報とから構成し、
かつコマンド情報に応じた信号を発生するコマンド一致
検出回路と、前記コマンド一致検出回路から出力される
信号により、子局に関する情報を入力データと置き換え
るバイト切り換えスイッチ回路を備えたものである。
In order to achieve the above object, a loop data transmission apparatus of the present invention commands a transmission signal to check not only synchronization information, address information and data information but also information about a slave station. It consists of command information and
Further, it is provided with a command match detection circuit for generating a signal according to the command information and a byte changeover switch circuit for replacing the information about the slave station with the input data by the signal output from the command match detection circuit.

【0016】具体的に子局に関する情報としては、8bi
t入力モジュールといった種別と、各子局における各ビ
ットに入出力装置が接続しているか否かといった各ビッ
トの入出力の接続状態である。
[0016] Specifically, as information regarding the slave station, 8bi
The type of t input module and the input / output connection status of each bit such as whether or not the input / output device is connected to each bit in each slave station.

【0017】[0017]

【作用】このような構成により、コマンド情報を親局か
ら送信するだけで、各子局はそれぞれのアドレスとその
接続状態に関する情報を親局へ送信してくるため、この
情報を予め登録したり、変更及び削除の際の再登録をす
る必要がなく、子局に関する情報を容易に、かつ迅速に
把握することができる。
With such a configuration, each slave station transmits information about its address and its connection state to the master station only by transmitting command information from the master station, and this information can be registered in advance. In addition, it is not necessary to re-register when changing or deleting, and information about the slave station can be easily and quickly grasped.

【0018】[0018]

【実施例】以下に本発明の一実施例におけるループ状デ
ータ伝送装置を図面を参照して説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A loop data transmission device according to an embodiment of the present invention will be described below with reference to the drawings.

【0019】図1は同実施例のループ状データ伝送装置
の子局の構成を示したブロック図である。
FIG. 1 is a block diagram showing the configuration of a slave station of the loop data transmission apparatus of the embodiment.

【0020】図において、7は同期キャリアタイミング
信号発生回路で、受信信号aの伝送速度に同期したキャ
リアタイミング信号bを発生させるものである。8はア
ドレス一致検出回路で、受信中の信号のアドレス情報と
設定アドレスが一致したことを検出し記憶するものであ
る。9は同期キャリアタイミング信号発生回路7から出
力されたキャリアタイミング信号bをクロック入力とし
て並列入力データを直列信号cに変換する並列・直列変
換器である。10は受信信号aを並列・直列変換器9か
ら出力される直列信号cと同一タイミングになるまで遅
らせる直列信号遅延回路である。11は送信切り換えス
イッチであり普段はi側と接続している。受信を開始し
アドレス情報が通過した時点でアドレス一致検出信号d
が出ていれば送信切り換えスイッチ11はh側に接続
し、以後送信信号を直列信号cに切り換える。又、アド
レス一致記憶信号dが出ていなければ切り換えは行わ
ず、信号遅延回路10を通って遅延された受信信号をそ
のまま再送信するものである。12は受信信号中のデー
タ情報を直列・並列変換する直列・並列変換器である。
13はアドレス一致時に出力ラッチを行う出力ラッチ回
路である。
In the figure, reference numeral 7 is a synchronous carrier timing signal generating circuit for generating a carrier timing signal b synchronized with the transmission speed of the received signal a. An address coincidence detection circuit 8 detects and stores that the address information of the signal being received coincides with the set address. Reference numeral 9 denotes a parallel-serial converter that converts the parallel input data into a serial signal c by using the carrier timing signal b output from the synchronous carrier timing signal generation circuit 7 as a clock input. A serial signal delay circuit 10 delays the received signal a until the same timing as the serial signal c output from the parallel / serial converter 9. Reference numeral 11 denotes a transmission changeover switch, which is normally connected to the i side. Address match detection signal d when reception is started and address information passes
If the signal is output, the transmission changeover switch 11 is connected to the h side, and thereafter the transmission signal is changed over to the serial signal c. If the address coincidence storage signal d is not output, the switching is not performed, and the reception signal delayed through the signal delay circuit 10 is retransmitted as it is. Reference numeral 12 is a serial / parallel converter for converting serial / parallel data information in the received signal.
An output latch circuit 13 latches the output when the addresses match.

【0021】以上の構成は従来例と同様のものであり、
異なる点を以下に述べる。図2は本実施例における伝送
信号の伝送フォーマット図である。伝送フォーマットは
同期キャリア信号を発生させるための同期情報と、アク
セスする子局を区別するためのアドレス情報と、子局の
接続情報を得るために発するコマンド情報と、データ情
報から成り立っている。
The above construction is similar to that of the conventional example,
The different points are described below. FIG. 2 is a transmission format diagram of a transmission signal in this embodiment. The transmission format is composed of synchronization information for generating a synchronization carrier signal, address information for distinguishing a slave station to be accessed, command information issued for obtaining connection information of the slave station, and data information.

【0022】また、図1において、14は前記コマンド
情報に応じて信号を発するコマンド一致検出回路であ
り、15は子局である入出力ユニットの種別をコード化
しているエンコーダである。16は前記コマンド一致検
出回路から出力される信号により、子局の接続状態の情
報を入力データlと置き換えるバイト切り換えスイッチ
回路である。25は子局の各ビットごとの入出力の接続
を検出し、接続情報に関するデータmを出力するビット
接続検出回路である。
Further, in FIG. 1, reference numeral 14 is a command coincidence detecting circuit which issues a signal in accordance with the command information, and 15 is an encoder which codes the type of the input / output unit which is a slave station. Reference numeral 16 is a byte changeover switch circuit which replaces the information on the connection state of the slave station with the input data 1 by the signal output from the command coincidence detection circuit. Reference numeral 25 is a bit connection detection circuit that detects the input / output connection for each bit of the slave station and outputs the data m relating to the connection information.

【0023】以上のように構成されたループ状データ伝
送装置の動作を図面を参照して説明する。
The operation of the loop-shaped data transmission device configured as above will be described with reference to the drawings.

【0024】図において、信号aを受信すると、同期キ
ャリアタイミング信号発生回路7より受信信号aの伝送
速度に同期したキャリアタイミング信号bが発生する。
In the figure, when the signal a is received, the carrier timing signal b which is synchronized with the transmission speed of the received signal a is generated from the synchronous carrier timing signal generation circuit 7.

【0025】受信中の信号のアドレス情報と設定アドレ
スが一致していれば、アドレス一致検出回路8よりアド
レス一致記憶信号dを出力し送信切り換えスイッチ11
はi側からh側に切り換えられる。以後、送信信号gは
並列・直列変換器により直列信号に変換された入力デー
タcに置き換えられる。
If the address information of the signal being received and the set address match, the address match detection circuit 8 outputs the address match storage signal d and the transmission changeover switch 11
Is switched from the i side to the h side. After that, the transmission signal g is replaced with the input data c converted into a serial signal by the parallel / serial converter.

【0026】ここで、受信中のコマンド情報が「0」で
あると、上記のように送信信号gは入力データcである
が、コマンド情報が「1」であれば、コマンド一致検出
記憶回路14よりコマンド一致検出信号jが出力され、
バイト切り換えスイッチ回路16によって入力データl
の代わりに、エンコーダ15を通じて出力される種別コ
ードが並列・直列変換器9により直列信号に変換された
入力データcに置き換えられる。従って、親局には各子
局のアドレスと種別データが送信されてくることにな
る。
Here, if the command information being received is "0", the transmission signal g is the input data c as described above, but if the command information is "1", the command match detection storage circuit 14 The command match detection signal j is output from
Input data 1 by the byte changeover switch circuit 16
Instead of, the type code output through the encoder 15 is replaced with the input data c converted into a serial signal by the parallel / serial converter 9. Therefore, the address and type data of each slave station are transmitted to the master station.

【0027】今、本実施例の具体的構成として図3のよ
うなループ状データ伝送装置を想定する。あらかじめ、
子局の種別コードは図4のように設定してある。
Now, a loop data transmission apparatus as shown in FIG. 3 is assumed as a concrete configuration of this embodiment. in advance,
The type code of the slave station is set as shown in FIG.

【0028】この図3の場合、子局17はアドレス0,
種別3、子局18はアドレス2,種別3、子局19はア
ドレス8,種別2、子局20はアドレスC,種別7、子
局21はアドレス9,種別3といったデータがデータバ
ッファ23に格納されていく。この格納された情報を元
にCPU24において、図5に示すような入出力マップ
を生成する。入出力マップ生成後、親局22は伝送信号
中のコマンド情報を「0」に戻し、各入出力モジュール
に適した制御をCPU3により行う。
In the case of FIG. 3, the slave station 17 has the address 0,
Data such as type 3, slave station 18 has address 2 and type 3, slave station 19 has address 8, type 2, slave station 20 has address C, type 7, slave station 21 has address 9 and type 3 is stored in the data buffer 23. Will be done. Based on the stored information, the CPU 24 generates an input / output map as shown in FIG. After the input / output map is generated, the master station 22 returns the command information in the transmission signal to "0", and the CPU 3 performs the control suitable for each input / output module.

【0029】次に、受信中のコマンド情報が「2」であ
るとき、コマンド一致検出回路14よりコマンド一致検
出信号j′が出力され、バイト切り換えスイッチ回路1
6によって、入力データlの代わりに、子局の各ビット
ごとの入出力の接続を検出するビット接続検出回路25
により得られた接続情報データmが並列・直列変換器9
により直列信号に変換された入力データcに置き換えら
れる。従って、各子局の各ビットごとの接続情報が親局
に送信されてくる(このビット接続情報の検出に関して
は後で詳述する。)。
Next, when the command information being received is "2", the command match detection signal j'is output from the command match detection circuit 14, and the byte changeover switch circuit 1
6, the bit connection detection circuit 25 for detecting the input / output connection for each bit of the slave station instead of the input data l.
The connection information data m obtained by
Is replaced by the input data c converted into a serial signal by. Therefore, the connection information for each bit of each slave station is transmitted to the master station (the detection of this bit connection information will be described in detail later).

【0030】一方、受信信号aのデータ情報の並列出力
は次のようになされる。すなわち、受信信号aとキャリ
ア信号bはそれぞれ直列・並列変換器12のシリアル入
力,クロック入力であり、直列データ情報が並列データ
に変換される。アドレスが一致している場合は出力ラッ
チ回路13で並列に変換されたデータとラッチし、ラッ
チした並列信号を出力データkとして得ることができ
る。
On the other hand, the parallel output of the data information of the received signal a is performed as follows. That is, the received signal a and the carrier signal b are the serial input and the clock input of the serial / parallel converter 12, respectively, and the serial data information is converted into parallel data. If the addresses match, the output latch circuit 13 latches the data converted in parallel, and the latched parallel signal can be obtained as the output data k.

【0031】次にアドレスが一致しなかった場合は従来
例と同様で、送信切り換えスイッチ回路11はi側のま
まである。受信信号aは直列信号遅延回路10のデータ
入力であり、又クロック入力としてキャリアタイミング
信号bが入力されているので、直列信号遅延回路10の
出力は受信信号aと全く同一である。又、この時は並列
データの入力も出力もされないことになる。
Next, when the addresses do not match, as in the conventional example, the transmission changeover switch circuit 11 remains on the i side. Since the received signal a is the data input of the serial signal delay circuit 10 and the carrier timing signal b is input as the clock input, the output of the serial signal delay circuit 10 is exactly the same as the received signal a. At this time, neither parallel data is input nor output.

【0032】以下に上述したビット接続検出回路25の
具体的構成を説明する。図6にその第1の実施例を示
す。本実施例は子局に取り付けられたDi入力モジュー
ルの各ビットごとにコネクタ26を設け、これらコネク
タ26にワイヤ27が接続されるとONになるスイッチ
機構28を設けたものであり、これら各ビットに対応し
たスイッチ機構28をゲート回路29に入力しておき、
コマンド情報が「2」になったとき、コマンド一致検出
回路14からの信号j′により、バイト切り換えスイッ
チ回路16が動作する。
The specific configuration of the bit connection detection circuit 25 described above will be described below. FIG. 6 shows the first embodiment. In this embodiment, a connector 26 is provided for each bit of the Di input module attached to the slave station, and a switch mechanism 28 that is turned on when a wire 27 is connected to these connectors 26 is provided. The switch mechanism 28 corresponding to is input to the gate circuit 29 in advance,
When the command information becomes "2", the byte changeover switch circuit 16 operates by the signal j'from the command coincidence detection circuit 14.

【0033】次に図7にビット接続検出回路25の第2
の実施例を示す。図において、30は子局に取り付けら
れたDo出力モジュールの電源供給回路、31は駆動電
流を電圧に変換する電流・電圧変換アンプ、32は駆動
電流の基準値を発生させる基準値アンプ、33は前記電
流・電圧変換アンプ31の出力と前記基準値アンプ32
の出力とを比較し、駆動電流が基準値を上回った時、O
Nになる比較アンプである。
Next, FIG. 7 shows a second circuit of the bit connection detection circuit 25.
An example of is shown. In the figure, 30 is a power supply circuit of a Do output module attached to a slave station, 31 is a current / voltage conversion amplifier that converts a driving current into a voltage, 32 is a reference value amplifier that generates a reference value of the driving current, and 33 is The output of the current / voltage conversion amplifier 31 and the reference value amplifier 32
When the drive current exceeds the reference value, O
It is a comparison amplifier which becomes N.

【0034】34は各ビットごとに順次出力をONにし
ていくシーケンス回路、35はこのシーケンス回路34
に同期して、前記比較アンプ33のON・OFF出力を
各ビットごとに記憶していくラッチ回路、36はラッチ
回路35の出力をコントロールするゲート回路である。
Reference numeral 34 is a sequence circuit for sequentially turning on the output for each bit, and 35 is this sequence circuit 34.
A latch circuit for storing the ON / OFF output of the comparison amplifier 33 for each bit in synchronism with the above, and a gate circuit 36 for controlling the output of the latch circuit 35.

【0035】上記構成よりなるビット接続検出回路の動
作を以下に説明する。コマンド情報が「2」になった
時、シーケンス回路34は各ビットごとに順次出力をO
Nにしていく。例えば、図8に示すように、4bit目,
6bit目と7bit目にDo出力が接続されている時は、こ
れらのbitの出力をONにしたときのみ、電源供給回路
30からの駆動電流は変化し、比較アンプ33の出力は
ONとなる(図9)。従って、ラッチ回路35では4bi
t目,6bit目,7bit目のみが「1」であるデータをラ
ッチする。
The operation of the bit connection detection circuit having the above configuration will be described below. When the command information becomes “2”, the sequence circuit 34 sequentially outputs the output for each bit.
Set to N. For example, as shown in FIG.
When the Do output is connected to the 6th bit and the 7th bit, the drive current from the power supply circuit 30 changes and the output of the comparison amplifier 33 turns on only when the output of these bits is turned on ( (Figure 9). Therefore, in the latch circuit 35, 4bi
Latch data in which only the tth, 6th, and 7th bits are "1".

【0036】尚、シーケンス回路34においてONにし
ていく際、突入電流を検知できる程度の短い時間だけ流
せば、Do出力先を動作させることなく、ビット接続情
報を検出できる。
When the sequence circuit 34 is turned on, the bit connection information can be detected without operating the Do output destination if the rush current is allowed to flow for a short time.

【0037】上記ビット接続検出回路25より得たビッ
ト接続情報は親局に伝送され、データバッファ23に格
納されていく。これらの情報を元にCPU24は、入出
力マップへビットごとの接続情報を加える。入出力マッ
プ生成後、親局はコマンド情報のビットを「0」に戻
し、各入出力へのコントロールをCPU24で行う。
The bit connection information obtained from the bit connection detection circuit 25 is transmitted to the master station and stored in the data buffer 23. Based on these pieces of information, the CPU 24 adds bit-by-bit connection information to the input / output map. After generating the input / output map, the master station returns the bit of the command information to "0", and the CPU 24 controls each input / output.

【0038】[0038]

【発明の効果】以上のように、本発明のループ状I/O
データ伝送装置は、親局から伝送される伝送信号中のコ
マンド情報を用いた要求により、個々の子局が子局のア
ドレスと種別データ、又は各ビットごとの接続情報を送
信してくるよう構成したことにより、これらの情報を予
め登録したり、変更の際に再登録する必要がなく、親局
にて各子局の入出力情報を把握することができる。
As described above, the loop I / O of the present invention is provided.
The data transmission device is configured such that each slave station transmits the slave station address and type data, or connection information for each bit, in response to a request using command information in the transmission signal transmitted from the master station. By doing so, it is not necessary to pre-register these pieces of information or re-register when changing, and the master station can grasp the input / output information of each slave station.

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

【図1】本発明の一実施例におけるループ状I/Oデー
タ伝送装置の子局の構成を示すブロック図
FIG. 1 is a block diagram showing a configuration of a slave station of a loop I / O data transmission apparatus according to an embodiment of the present invention.

【図2】同実施例の伝送信号の伝送フォーマット図FIG. 2 is a transmission format diagram of a transmission signal of the embodiment.

【図3】同実施例のループ状I/Oデータ伝送装置の全
体構成を示すブロック図
FIG. 3 is a block diagram showing the overall configuration of a loop I / O data transmission device of the same embodiment.

【図4】同実施例の子局モジュールの種別設定例を示す
FIG. 4 is a diagram showing a type setting example of a slave station module of the same embodiment.

【図5】同実施例の子局の入出力マップを示す図FIG. 5 is a diagram showing an input / output map of a slave station of the embodiment.

【図6】ビット接続検出回路の第1実施例の構成図FIG. 6 is a configuration diagram of a first embodiment of a bit connection detection circuit.

【図7】ビット接続検出回路の第2実施例の構成図FIG. 7 is a configuration diagram of a second embodiment of a bit connection detection circuit.

【図8】ビットの接続状態を示す図FIG. 8 is a diagram showing a bit connection state.

【図9】図8の際の比較出力アンプの出力図FIG. 9 is an output diagram of the comparison output amplifier in the case of FIG.

【図10】従来のループ状データ伝送装置の概略構成図FIG. 10 is a schematic configuration diagram of a conventional loop data transmission device.

【図11】従来のループ状データ伝送装置の子局の構成
FIG. 11 is a block diagram of a slave station of a conventional loop data transmission device.

【図12】従来のループ状データ伝送装置の伝送信号の
フォーマット図
FIG. 12 is a format diagram of a transmission signal of a conventional loop data transmission device.

【符号の説明】[Explanation of symbols]

7 同期キャリアタイミング信号発生回路 8 アドレス一致検出回路 9 並列・直列変換器 11 送信切り換えスイッチ回路 14 コマンド一致検出回路 16 バイト切り換えスイッチ回路 25 ビット接続検出回路 a 受信信号 b キャリアタイミング信号 d アドレス一致検出信号 j,j′ コマンド一致検出信号 7 Synchronous carrier timing signal generation circuit 8 Address match detection circuit 9 Parallel / serial converter 11 Transmission changeover switch circuit 14 Command match detection circuit 16 byte changeover switch circuit 25 bit connection detection circuit a Received signal b Carrier timing signal d Address match detection signal j, j'command match detection signal

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】入力ユニット及び出力ユニットである複数
の子局と、これら子局を伝送信号を介して制御する親局
とをループ状に接続して構成し、 前記親局から伝送する伝送信号は同期情報と、アドレス
情報と、子局についての情報を調べる命令に関するコマ
ンド情報と、制御のためのデータ情報とからなり、 前記子局が、前記アドレス情報とあらかじめ設定したア
ドレスとが一致したかどうかを検出、一致したときアド
レス一致信号を出力するアドレス一致検出回路と、 前記コマンド情報に応じた信号を出力するコマンド一致
検出回路と、 前記コマンド一致検出回路より出力された信号に応じて
前記子局の種別に関するデータ及びその子局に接続され
ている装置からの入力データのうちから選択切り換えし
て、出力するバイト切り換えスイッチ回路と、 前記伝送信号の伝送速度に同期したキャリアタイミング
信号を発生させる同期キャリアタイミング信号発生回路
と、 前記キャリアタイミング信号発生回路から出力されたキ
ャリアタイミング信号を取り込みタイミングとして、前
記バイト切り換えスイッチ回路より出力された並列信号
を直列信号に変換する並列・直列変換器と、 前記アドレス一致検出回路より出力されるアドレス一致
信号により伝送信号の内のデータ情報を前記並列・直列
変換器により変換された直列信号と置き換える送信切り
換えスイッチ回路とを備えたことを特徴とするループ状
I/Oデータ伝送装置。
1. A transmission signal transmitted from the master station, which comprises a plurality of slave stations, which are an input unit and an output unit, and a master station which controls these slave stations via a transmission signal, connected in a loop. Consists of synchronization information, address information, command information relating to an instruction for checking information about the slave station, and data information for control, and whether the slave station has the same address information as the preset address. An address match detection circuit that outputs an address match signal when it detects and matches, a command match detection circuit that outputs a signal according to the command information, and the child according to the signal output from the command match detection circuit. A byte switching switch that selectively outputs from the data related to the station type and the input data from the device connected to the slave station and outputs it. Switch circuit, a synchronous carrier timing signal generating circuit for generating a carrier timing signal synchronized with the transmission speed of the transmission signal, and the byte switching switch as a timing for taking in the carrier timing signal output from the carrier timing signal generating circuit. A parallel / serial converter that converts a parallel signal output from the circuit into a serial signal, and data information in the transmission signal that is converted by the parallel / serial converter by the address match signal output from the address match detection circuit. And a transmission changeover switch circuit for replacing the serial signal.
【請求項2】入力ユニット及び出力ユニットである複数
の子局と、これら子局を伝送信号を介して制御する親局
とをループ状に接続して構成し、 前記親局から伝送する伝送信号は同期情報とアドレス情
報と子局についての情報を調べる命令に関するコマンド
情報と制御のためのデータ情報とからなり、かつ、 前記子局が、前記アドレス情報とあらかじめ設定したア
ドレスとが一致したかどうかを検出、一致したときアド
レス一致信号を出力するアドレス一致検出回路と、 前記子局のビットごとの入出力の接続を検出し、そのビ
ット接続に関するデータを出力するビット接続検出回路
と、 前記コマンド情報に応じた信号を出力するコマンド一致
検出回路と、 前記コマンド一致検出回路より出力された信号に応じて
前記ビット接続検出回路より出力されたビット接続に関
するデータ及び子局に接続された装置からの入力データ
のうちから選択切り換えして、出力するバイト切り換え
スイッチ回路と、 前記伝送信号の伝送速度に同期したキャリアタイミング
信号を発生させる同期キャリアタイミング信号発生回路
と、 前記キャリアタイミング信号発生回路から出力されたキ
ャリアタイミング信号を取り込みタイミングとして、前
記バイト切り換えスイッチ回路より出力された並列信号
を直列信号に変換する並列・直列変換器と、 前記アドレス一致検出回路より出力されるアドレス一致
信号により伝送信号の内のデータ情報を前記並列・直列
変換器により変換された直列信号と置き換える送信切り
換えスイッチ回路とを備えたことを特徴とするループ状
I/Oデータ伝送装置。
2. A transmission signal transmitted from the master station by connecting a plurality of slave stations, which are an input unit and an output unit, and a master station, which controls these slave stations via a transmission signal, in a loop shape. Is composed of synchronization information, address information, command information related to an instruction for checking information about the slave station, and data information for control, and whether or not the slave station matches the address information with a preset address. , An address match detection circuit that outputs an address match signal when they match, a bit connection detection circuit that detects the bit-by-bit input / output connection of the slave station and outputs data related to the bit connection, and the command information A command match detection circuit that outputs a signal corresponding to the command connection detection circuit, and a bit connection detection circuit that responds to the signal output from the command match detection circuit. A byte switching switch circuit for selectively switching between output data relating to bit connection and input data from a device connected to a slave station, and generating a carrier timing signal synchronized with the transmission speed of the transmission signal. A synchronous carrier timing signal generation circuit, and a parallel / serial converter that converts a parallel signal output from the byte changeover switch circuit into a serial signal, using the carrier timing signal output from the carrier timing signal generation circuit as a capture timing, A loop shape comprising a transmission changeover switch circuit for replacing the data information in the transmission signal with the serial signal converted by the parallel / serial converter by the address match signal output from the address match detection circuit. I / O data transmission device.
【請求項3】入力ユニット及び出力ユニットである複数
の子局と、これら子局を伝送信号を介して制御する親局
とをループ状に接続して構成し、 前記親局から伝送する伝送信号は同期情報とアドレス情
報と子局についての情報を調べる命令に関するコマンド
情報と制御のためのデータ情報とからなり、かつ、 前記子局が、前記アドレス情報とあらかじめ設定したア
ドレスとが一致したかどうかを検出、一致したときアド
レス一致信号を出力するアドレス一致検出回路と、 前記子局のビットごとの入出力の接続を検出し、そのビ
ット接続に関するデータを出力するビット接続検出回路
と、 前記コマンド情報に応じた信号を出力するコマンド一致
検出回路と、 前記コマンド一致検出回路より出力された信号に応じ
て、 前記子局の種別に関するデータ、前記ビット接続検出回
路より出力されたビット接続に関するデータ及び子局に
接続された装置からの入力データのうちから選択切り換
えして、出力するバイト切り換えスイッチ回路と、 前記伝送信号の伝送速度に同期したキャリアタイミング
信号を発生させる同期キャリアタイミング信号発生回路
と、 前記キャリアタイミング信号発生回路から出力されたキ
ャリアタイミング信号を取り込みタイミングとして、前
記バイト切り換えスイッチ回路より出力された並列信号
を直列信号に変換する並列・直列変換器と、 前記アドレス一致検出回路より出力されるアドレス一致
信号により伝送信号の内のデータ情報を前記並列・直列
変換器により変換された直列信号と置き換える送信切り
換えスイッチ回路とを備えたことを特徴とするループ状
I/Oデータ伝送装置。
3. A transmission signal transmitted from the master station by connecting a plurality of slave stations, which are an input unit and an output unit, and a master station, which controls these slave stations via a transmission signal, in a loop shape. Is composed of synchronization information, address information, command information related to an instruction for checking information about the slave station, and data information for control, and whether or not the slave station matches the address information with a preset address. , An address match detection circuit that outputs an address match signal when they match, a bit connection detection circuit that detects the bit-by-bit input / output connection of the slave station and outputs data related to the bit connection, and the command information And a command match detection circuit that outputs a signal according to the command match detection circuit according to the signal output from the command match detection circuit. Data, a byte connection switch circuit for selectively outputting the bit connection data output from the bit connection detection circuit and input data from a device connected to the slave station, and a transmission speed of the transmission signal. A synchronous carrier timing signal generating circuit for generating a carrier timing signal synchronized with the carrier timing signal generating circuit, and a carrier timing signal output from the carrier timing signal generating circuit as a fetch timing, and a parallel signal output from the byte changeover switch circuit into a serial signal. A parallel / serial converter for conversion, and a transmission changeover switch circuit for replacing the data information in the transmission signal with the serial signal converted by the parallel / serial converter by the address match signal output from the address match detection circuit. Lou equipped with Jo I / O data transmission device.
JP3261792A 1991-10-09 1991-10-09 Loop shape i/o data transmission equipment Pending JPH05102984A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3261792A JPH05102984A (en) 1991-10-09 1991-10-09 Loop shape i/o data transmission equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3261792A JPH05102984A (en) 1991-10-09 1991-10-09 Loop shape i/o data transmission equipment

Publications (1)

Publication Number Publication Date
JPH05102984A true JPH05102984A (en) 1993-04-23

Family

ID=17366778

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3261792A Pending JPH05102984A (en) 1991-10-09 1991-10-09 Loop shape i/o data transmission equipment

Country Status (1)

Country Link
JP (1) JPH05102984A (en)

Similar Documents

Publication Publication Date Title
KR100245968B1 (en) Matrics switcher device
JPS6113305A (en) Input/output unit for industrial controller
ITTO980564A1 (en) COMMUNICATION CONTROL EQUIPMENT
JPH05102984A (en) Loop shape i/o data transmission equipment
JP4980292B2 (en) Numerical control system that communicates with multiple amplifiers at different communication cycles
US6069926A (en) Communication control system and apparatus
JPH02179046A (en) Signal encoding system
JPS605644A (en) Multiplex communication system
JPH01141442A (en) Loop-shaped optical transmitter
JPH082056B2 (en) Data transmission equipment
KR930010275B1 (en) Loop type optical data transfer apparatus and distributed relay for the same
JPH088579B2 (en) Series controller
JP2570936B2 (en) Digital data transfer device
JP2626501B2 (en) Information transfer device
JP2000316295A (en) Serial communication system and image forming device
JPH088581B2 (en) Multiple data link
JP2005078432A (en) Control system
KR100192523B1 (en) Facsimile and message transmission method
JPH0638220B2 (en) Electronic computer automatic input device
JPH0218076A (en) Image forming device
JPS6129069Y2 (en)
JPH06296292A (en) Wiring saving transmission equipment
WO1989004571A1 (en) Series controller
JPS62234446A (en) Data reception
JPS5953743B2 (en) Communication control device