JPS62188872A - Communication control system for fluid control valve - Google Patents

Communication control system for fluid control valve

Info

Publication number
JPS62188872A
JPS62188872A JP2919486A JP2919486A JPS62188872A JP S62188872 A JPS62188872 A JP S62188872A JP 2919486 A JP2919486 A JP 2919486A JP 2919486 A JP2919486 A JP 2919486A JP S62188872 A JPS62188872 A JP S62188872A
Authority
JP
Japan
Prior art keywords
control
data
bit
signal
terminal
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.)
Granted
Application number
JP2919486A
Other languages
Japanese (ja)
Other versions
JPH0340267B2 (en
Inventor
Takahiko Takeuchi
武内 宇彦
Fujio Baba
馬場 富士夫
Yasuo Shimomura
康雄 下村
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.)
Tokyo Keiki Inc
Original Assignee
Tokyo Keiki 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 Tokyo Keiki Co Ltd filed Critical Tokyo Keiki Co Ltd
Priority to JP2919486A priority Critical patent/JPS62188872A/en
Publication of JPS62188872A publication Critical patent/JPS62188872A/en
Publication of JPH0340267B2 publication Critical patent/JPH0340267B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Electrically Driven Valve-Operating Means (AREA)
  • Magnetically Actuated Valves (AREA)

Abstract

PURPOSE:To simplify a control processing by setting plural self addresses in accordance with control equipment and providing a multiple address judging means which outputs a control signal in accordance with the control command bit of received data when the self address has been judged from the received data. CONSTITUTION:A central unit is receiving plural control signals from external control device and the signal from a light receiving circuit 19 is output into a control circuit 21. When normal data receiving is confirmed by parity check, an operation signal 24 is output to a multiple address judging circuit 22. Then self addresses are compared, and control signal in accordance with the control command bit of received data is output. In this way the control processing of transmission and reception in the central unit can be simplified.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、光ファイバーリンクによりセントラルユニッ
トから複数の端末ユニットに制御信号を伝送して流体制
御弁を遠隔制御するようにした流体制御弁の通信制御シ
ステムに関する。
Detailed Description of the Invention (Industrial Application Field) The present invention relates to communication of a fluid control valve in which a control signal is transmitted from a central unit to a plurality of terminal units via an optical fiber link to remotely control a fluid control valve. Regarding control systems.

(従来技術) 従来、シーケンスコントローラ等により端末側に設けた
複数の流体制御弁を遠隔制御するシステムとしては、例
えば第7図のものが知られている。
(Prior Art) Conventionally, as a system for remotely controlling a plurality of fluid control valves provided on a terminal side using a sequence controller or the like, for example, the system shown in FIG. 7 is known.

第7図において、100はプログラマブルシーケンサ等
を用いた制御装置であり、制御装置100から端末10
2a、 102b、  ・・・、102nの電磁弁Vに
信号線を接続することで制御信号を供給するようにして
おり、更に端末102a〜102nには電磁弁■による
アクチュエータ、バルブ等の端末機器の作動状態を検出
するリミットスイッチLSが設けられており、制御装置
100に端末機器の動作状態を表示させるため各端末1
02a〜102nのリミットスイッチLSを制御装置’
100に信号線接続するようにしている。
In FIG. 7, 100 is a control device using a programmable sequencer or the like, and from the control device 100 to the terminal 10.
Control signals are supplied by connecting signal lines to the solenoid valves V of the solenoid valves 2a, 102b, . A limit switch LS for detecting the operating state is provided, and each terminal 1 is provided with a limit switch LS for detecting the operating state.
Control device for limit switches LS of 02a to 102n
The signal line is connected to 100.

更に端末102b〜102nは1台の電磁弁Vとリミッ
トスイッチLSを備えるものであるが、端末102aに
あっては、2台の電磁弁VとリミットスイッチLSを備
えており、このため端末102と制御装置100との間
では4本の信号線接続を必要としており、1つの端末に
設けられる電磁弁及びリミットスイッチの数に応じて信
号線の数も増加するようになる。
Further, the terminals 102b to 102n are equipped with one solenoid valve V and a limit switch LS, but the terminal 102a is equipped with two solenoid valves V and a limit switch LS, and therefore the terminal 102 and Four signal lines are required to be connected to the control device 100, and the number of signal lines increases depending on the number of solenoid valves and limit switches provided at one terminal.

(発明が解決しようとする問題点) しかしながら、このような従来の遠隔制御システムにあ
っては、制御装置100と端末102a〜102nの電
磁弁■及びリミットスイッチLSとのそれぞれの間を信
号線接続するようにしていたため、例えば通常シーケン
スコントローラは50〜100点の端末が接続できるこ
とから、リミットスイッチLSとの信号線接続を含める
と信号線の数が多くなり、システム設置時の信号線施設
作業が大変でコスト上昇を招いていた。
(Problems to be Solved by the Invention) However, in such a conventional remote control system, signal lines are connected between the control device 100 and the solenoid valves and limit switches LS of the terminals 102a to 102n, respectively. For example, since a sequence controller can usually connect 50 to 100 terminals, the number of signal lines increases when the signal line connection with the limit switch LS is included, and the signal line facility work when installing the system becomes difficult. This was difficult and caused an increase in costs.

この問題を解決するため本願発明者等にあっては、セン
トラルユニットに光ファイバー線路を介して複数の端末
ユニットをループ状に接続し、セントラルユニットから
端末アドレス及び制御命令を含む通信制御データを直列
光信号に変換して送信し、この送信データを端末ユニッ
トで受信して自己のアドレスを判別したときに受信デー
タの制御命令ビットに対応した制御信号を電磁弁等の制
御機器に出力するようにした通信制御システムを提案し
ている。
In order to solve this problem, the inventors connected a plurality of terminal units to the central unit in a loop via optical fiber lines, and transmitted communication control data including terminal addresses and control commands from the central unit to the central unit via serial optical fibers. It converts it into a signal and transmits it, and when the terminal unit receives this transmission data and determines its own address, it outputs a control signal corresponding to the control command bit of the received data to a control device such as a solenoid valve. We are proposing a communication control system.

ところが上記の通信制御システムにあっては、1台の電
磁弁を設けた端末装置とのあいだの通信制御を予定して
いるため、通信制御データの制御命令ビットに1ビツト
を割り当て、スタートビット、アドレスビット、制御命
令ビット、パリティビット、及びエンドビットで構成さ
れる通信制御データを例えば10ビツトに抑え、ビット
構成の単純化によりセンタ及び端末の通信制御CPUに
簡単なものを使用できるようにしている。
However, in the above communication control system, since communication control is planned between a terminal device equipped with one solenoid valve, one bit is assigned to the control command bit of the communication control data, and the start bit, The communication control data consisting of address bits, control command bits, parity bits, and end bits is suppressed to, for example, 10 bits, and by simplifying the bit configuration, a simple communication control CPU can be used in the center and terminals. There is.

ところが、端末装置によっては、1台の端末装置に複数
の電磁弁を設けてシーケンス制御を行なったり、例えば
通常の3位置切換弁のように2台の電磁ソレノイドをオ
ン、オフ制御する場合があり、例えば1台の端末装置が
2台の制御機器をもっていたすると、最低2ビツトの制
御命令が必要になる。このため1台の端末ユニットで管
轄する制御機器の数が増加すると、通信制御データに含
める制御ビット数を増加させなければならず、制御機器
の最大数を予定した制御ビット数を確保することから通
信制御データのビット数が増加し、通信制御用CPUと
して例えば16ビツトというように高価なものを準備し
なければならず、システムコストが大幅に上昇してしま
うという問題がめった。
However, depending on the terminal device, a single terminal device may be equipped with multiple solenoid valves to perform sequence control, or, for example, two electromagnetic solenoids may be turned on and off like a normal 3-position switching valve. For example, if one terminal device has two control devices, a control command of at least 2 bits is required. For this reason, as the number of control devices managed by one terminal unit increases, the number of control bits included in the communication control data must be increased, and it is necessary to secure the number of control bits for the maximum number of control devices. As the number of bits of communication control data increases, an expensive communication control CPU, such as a 16-bit CPU, must be prepared, resulting in a significant increase in system cost.

(問題点を解決するための手段) 本発明は、このような従来の問題点に鑑みてなされたも
ので、端末ユニット1台で管轄する端末装置に複数の制
御機器が設けられていても、セントラルユニットから1
ビツトの制御命令ビットをもつ通信制御データを端末ユ
ニットに送信して複数の制御機器を制御できるようにし
た経済性の高い流体制御弁の通信制御システムを提供す
ることを目的とする。
(Means for Solving the Problems) The present invention has been made in view of such conventional problems, and even if a plurality of control devices are provided in a terminal device controlled by one terminal unit, 1 from central unit
An object of the present invention is to provide a communication control system for a fluid control valve that is highly economical and is capable of controlling a plurality of control devices by transmitting communication control data having one control command bit to a terminal unit.

この目的を達成するため本発明にあっては、セントラル
ユニットに光ファイバー線路を介して流体制御弁と一体
又は近傍に設置された複数の端末ユニットをループ状に
接続して1本の光ファイバー線路でセントラルユニット
と複数の端末ユニットの必いだを接続する。
In order to achieve this object, the present invention connects a plurality of terminal units installed integrally with or near the fluid control valve to the central unit via an optical fiber line in a loop, and centrally connects the central unit with a single optical fiber line. Connect the unit and multiple terminal units.

このようなループ状の光フィバーリンクで複数の端末ユ
ニットを接続したセントラルユニットは、シーケンスコ
ントローラ等からの制御出力に基づいた制御命令(1ビ
ツト)及び端末アドレスを含む通信制御データを直列的
な光信号に変換して光ファイバー線路に送信し、一方、
端末ユニットにあっては、光ファイバー線路を介して得
られる光信号を受光データに変換すると共に該受光デー
タの受信終了検出に同期して受光データを直列的な光信
号に再度変換して後段の光ファイバー線路に送信し、受
光データから自己のアドレスを判別したときに受光デー
タの制御命令ビットに応じた制御信号を流体制御弁など
の制御11機器に出力する。
A central unit that connects multiple terminal units with such a loop-shaped optical fiber link transmits communication control data including control commands (1 bit) and terminal addresses based on control output from a sequence controller etc. in a serial optical fiber link. converted into a signal and sent to the optical fiber line, while
The terminal unit converts the optical signal obtained through the optical fiber line into received light data, and in synchronization with the detection of the end of reception of the received light data, converts the received light data again into a serial optical signal and transmits it to the subsequent optical fiber. When it determines its own address from the received light data, it outputs a control signal according to the control command bit of the received light data to the control 11 equipment such as a fluid control valve.

更に、複数の制御機器を備えた端末ユニットにあっては
、端末機器に応じた複数の自己アドレスを設定し、受信
データから自己アドレスのいずれかを判別したときには
、該判別アドレスに対応する制御機器に受信データの制
御命令ビットに応じた制御信号を出力する多重アドレス
判別手段を設けるようにしたものである。
Furthermore, in a terminal unit equipped with multiple control devices, multiple self-addresses are set according to the terminal devices, and when one of the self-addresses is determined from received data, the control device corresponding to the determined address is set. A multiple address determining means is provided for outputting a control signal according to the control command bit of the received data.

(作用) このような本発明の流体制御弁の通信制御システムによ
れば、複数の制御機器を管轄する端末ユニットには、端
末機器に応じた複数の自己アドレスの設定が行なわれて
いるため、通信制御データの制御命令ビットは増加せず
、アドレスデータを制御機器毎に作り出して送信するこ
とで、端末ユニットにおける多重アドレス判別手段によ
り制御機器ごとの通信制御データを判別して複数の制御
機器を通信制御することができる。
(Function) According to the fluid control valve communication control system of the present invention, the terminal unit that controls a plurality of control devices has a plurality of self-addresses set according to the terminal devices. By creating and transmitting address data for each control device without increasing the control command bits of the communication control data, the multiple address discrimination means in the terminal unit can discriminate the communication control data for each control device and use multiple control devices. Communication can be controlled.

(実施例) 第1図は本発明のシステム構成を示した説明図である。(Example) FIG. 1 is an explanatory diagram showing the system configuration of the present invention.

まず構成を説明すると、1はセントラルユニットであり
、シーケンスコントローラ等の外部制御装置2から複数
の制御信号を受けている。
First, the configuration will be described. Reference numeral 1 denotes a central unit, which receives a plurality of control signals from an external control device 2 such as a sequence controller.

第2図は第1図のセントラルユニット1の一実施例を示
したブロック図でおり、まずデータ送信手段として送信
制御回路6.クロック発撮器7゜並直変換器8及び発光
回路9を備える。
FIG. 2 is a block diagram showing an embodiment of the central unit 1 shown in FIG. 1. First, a transmission control circuit 6. The clock generator includes a 7° parallel-to-serial converter 8 and a light emitting circuit 9.

送信制御回路6に対してはシーケンスコントローラ等の
外部制御装置2から複数の制御信号10a〜1onか与
えられてあり、送信制御回路6としては例えばマイクロ
コンピュータのプログラム制御により実現され、クロッ
ク発娠器7からのクロックパルスに基づいたタイミング
制御で制御信号10a〜10nを順次読込み、制御信号
108〜10n毎に予め端末アドレスを定めていること
から、制御信号に応じた端末アドレス及び制御命令を含
む、例えば10ビツトの通信制御データを作成して並直
変換器8に出力する。送信制御回路6で作り出される通
信制御データは第4図に示すビット構成を持ち、スター
トビットS、6ビツトのアドレスビットAO−A5.制
御命令ビットとなるコントロールビットC,パリティチ
ェック用のパリティビットP、データの終了を示すエン
ドビットEから成る10ビツトのビット構成を持つ。
A plurality of control signals 10a to 1on are supplied to the transmission control circuit 6 from an external control device 2 such as a sequence controller, and the transmission control circuit 6 is realized by program control of a microcomputer, for example, and a clock generator. Since the control signals 10a to 10n are sequentially read by timing control based on the clock pulse from 7, and a terminal address is determined in advance for each control signal 108 to 10n, the terminal address and control command corresponding to the control signal are included. For example, 10-bit communication control data is created and output to the parallel-to-serial converter 8. The communication control data generated by the transmission control circuit 6 has the bit configuration shown in FIG. 4, including a start bit S, 6-bit address bits AO-A5 . It has a 10-bit bit configuration consisting of a control bit C serving as a control command bit, a parity bit P for parity checking, and an end bit E indicating the end of data.

ここでアドレスビットAO−A5は6ビツトであること
から、最大64点の端末機器のアドレス指定を行なうこ
とができる。また、コントロールビットCは通信制御の
対象となる端末機器が電磁弁や電磁ソレノイド等のオン
、オフ制御機器であることから、制御機器の作動で「1
」、制御機器の非作動でrOJとなるビット内容を持つ
Here, since address bits AO-A5 are 6 bits, addresses can be specified for a maximum of 64 terminal devices. In addition, since the terminal device subject to communication control is an on/off control device such as a solenoid valve or electromagnetic solenoid, control bit C is set to “1” when the control device is operated.
”, which has bit content that becomes rOJ when the control device is inactive.

聞び第2図を参照するに、送信制御回路6から並直変換
器8に与えられた10ビツトの通信制御データは、送信
制御回路6からの送信クロックに同期して直列データに
変換されて発光回路9に供給され、発光回路9はデータ
ビット「1」で発光素子を発光駆動し、データビット「
O」で発光素子の駆動を停止し、並直変換器8から直列
的に出力された通信制御データのビット状態を表わす光
信号として光ファイバー線路3に送出するようにしてい
る。
Referring to FIG. 2, the 10-bit communication control data given to the parallel to serial converter 8 from the transmission control circuit 6 is converted into serial data in synchronization with the transmission clock from the transmission control circuit 6. The light emitting circuit 9 drives the light emitting element to emit light with the data bit "1", and the data bit "1" drives the light emitting element to emit light.
At "O", the driving of the light emitting element is stopped, and an optical signal representing the bit state of the communication control data serially outputted from the parallel-to-serial converter 8 is sent to the optical fiber line 3.

一方、セントラルユニット1のデータ受信手段として受
光回路11.重亜変換器12及びデコード回路13が設
けられる。
On the other hand, as a data receiving means of the central unit 1, a light receiving circuit 11. A heavy duty converter 12 and a decoding circuit 13 are provided.

受光回路11には光ファイバー線路3に送出された通信
制御データの光信号がループ状に接続された複数の端末
ユニットを経由して所定の伝送送れ時間後に返送され、
この返送された受光信号を受光データに変換して順次デ
ータビットを重亜変換器12に入力し、重亜変換器12
は1端末分の通信制御データを受信するとスタートビッ
トSからエンドビットEで成る10ビツトの並列受信デ
ータをデコード回路13に出力する。
An optical signal of communication control data sent to the optical fiber line 3 is returned to the light receiving circuit 11 after a predetermined transmission time via a plurality of terminal units connected in a loop.
The returned light reception signal is converted into light reception data, and the data bits are sequentially input to the heavy-air converter 12.
When receiving communication control data for one terminal, it outputs 10-bit parallel received data consisting of start bit S to end bit E to decoding circuit 13.

この実施例にあっては後の説明で明らかにするように、
端末ユニットに於いてセントラルユニット1からの通信
制御データを受信して自己のアドレス判別を行なうと、
アドレス判別に対応する制t1機器による作動状態の検
出信号により通信制御データのコントロールビットCを
端末機器の作動状態を示すデータビットDに占換えて後
段の光ファイバー線路に送出するようにしているため、
並直変換器12より出力される並列受光データのコント
ロールビットCに対応するビットはデータビットDとし
て受信される。
In this example, as will be explained later,
When the terminal unit receives communication control data from the central unit 1 and determines its own address,
Because the control bit C of the communication control data is replaced with the data bit D indicating the operating state of the terminal device by the detection signal of the operating state by the control t1 device corresponding to address discrimination, and the data bit D is sent to the subsequent optical fiber line.
The bit corresponding to the control bit C of the parallel light reception data output from the parallel-to-serial converter 12 is received as the data bit D.

即ち、第5図に示すように、セントラルユニツト1に於
ける受信データはスタートビットS、アドレスビットA
O〜A5.パリティビットP及びエンドビットEについ
ては第4図の送信データと同じであるが、アドレスビッ
トに続くビットが端末機器の作動状態を示すデータビッ
トDに端末ユニットに於ける送信動作で書換えられてい
る。
That is, as shown in FIG. 5, the received data at the central unit 1 has a start bit S and an address bit A.
O~A5. Parity bit P and end bit E are the same as the transmission data in Figure 4, but the bit following the address bit is rewritten to data bit D, which indicates the operating status of the terminal equipment, by the transmission operation in the terminal unit. .

重亜変換器12からの受信データを受けたデコード回路
13は、アドレスビットAo〜A5から端末機器を判別
し、且つデータビットDから端末機器の作動状態を判別
し、端末機器毎に設けられた出力ラインに端末機器の作
動状態を示す検出信号’148〜14nを出力し、この
検出信号に基づいて例えばシーケンスコントローラ等の
外部制御装置2に於いて端末機器の作動状態を表示する
ことができる。
The decoding circuit 13 that receives the received data from the heavy weight converter 12 determines the terminal device from the address bits Ao to A5, and the operating state of the terminal device from the data bit D. Detection signals '148 to 14n indicating the operating state of the terminal device are output to the output line, and based on the detection signal, the operating state of the terminal device can be displayed on the external control device 2 such as a sequence controller.

再び第1図を参照するに、セントラルユニット1に対し
ては光ファイバー線路3を介して複数の端末ユニット4
a、4b、・・・4nがループ状に接続される。端末ユ
ニット4a〜4nのそれぞれには制御対象となるバルブ
ユニット5a、5b、・・・5nが設けられており、端
末ユニット4a〜4nはバルブユニット5a〜5nと一
体、若しくはその近傍に設置されるようになる。
Referring again to FIG. 1, a plurality of terminal units 4 are connected to the central unit 1 via an optical fiber line 3.
a, 4b, . . . 4n are connected in a loop. Each of the terminal units 4a to 4n is provided with valve units 5a, 5b, ... 5n to be controlled, and the terminal units 4a to 4n are installed integrally with the valve units 5a to 5n or in the vicinity thereof. It becomes like this.

尚、端末ユニット4a〜4nに対する電源供給は端末側
で個別に行なうこともできるが、光ファイバー線路3と
して電源供給線を一体に備えた複合ケーブルを使用する
ことでセントシルユニット1側から電源供給を行なって
も良い。
Note that power can be supplied to the terminal units 4a to 4n individually on the terminal side, but power can be supplied from the center unit 1 side by using a composite cable integrally equipped with a power supply line as the optical fiber line 3. You can do it.

端末ユニット4aに対応して設けられたバルブユニット
5aは一例として3位置切換弁15を有し、3位置切換
弁15にょる液圧の切換えで液圧シリンダ17を往復駆
動できるようにしている。
The valve unit 5a provided corresponding to the terminal unit 4a has, for example, a three-position switching valve 15, and the hydraulic cylinder 17 can be driven back and forth by switching the hydraulic pressure by the three-position switching valve 15.

この3位置切換弁15はスプール切換のため一対の電磁
ソレノイド16a、16bを持ち、端末ユニット4aか
ら見て電磁ソレノイド16a、16bが通信制御による
制御機器となる。また、液圧シリンダ17のピストンロ
ッドの2箇所には液圧シリンダ17の作動位置を検出す
るリミットスイッチ18a、18bが設けられており、
リミットスイッチ18a、18bのオン、オフにより液
圧シリンダ17の作動状態を検出している。
The three-position switching valve 15 has a pair of electromagnetic solenoids 16a and 16b for switching the spool, and when viewed from the terminal unit 4a, the electromagnetic solenoids 16a and 16b serve as control devices controlled by communication. Furthermore, limit switches 18a and 18b are provided at two locations on the piston rod of the hydraulic cylinder 17 to detect the operating position of the hydraulic cylinder 17.
The operating state of the hydraulic cylinder 17 is detected by turning on and off the limit switches 18a and 18b.

また、端末ユニット4bに対応したバルブユニット5b
には、−例として2台の3位置切換弁15a、’15b
が設けられ、3位置切換弁15a。
In addition, a valve unit 5b corresponding to the terminal unit 4b
- For example, two 3-position switching valves 15a, '15b
A three-position switching valve 15a is provided.

15bは位置圧切換により液圧シリンダ17a。15b is a hydraulic cylinder 17a with position pressure switching.

17bを往復作動し、更に液圧シリンダ17a。17b is reciprocated, and the hydraulic cylinder 17a.

”17bのピストンロッドにはシリンダ作動位置を検出
するための一対のリミットスイッチ18a。
A pair of limit switches 18a are provided on the piston rod 17b for detecting the cylinder operating position.

18b及び18C,18dが設けられており、3位置切
換弁15a、15bのそれぞれもスプール切換のため一
対の電磁ソレノイド16a、16b及び16c、’16
dを、備えている。そのため、端末ユニット4b側から
バルブユニット5bを見ると、4つの電磁ソレノイド1
63〜16dが制御機器として設けられることになる。
18b, 18C, and 18d are provided, and each of the three-position switching valves 15a, 15b is also provided with a pair of electromagnetic solenoids 16a, 16b, 16c, '16 for switching the spool.
It is equipped with d. Therefore, when looking at the valve unit 5b from the terminal unit 4b side, the four electromagnetic solenoids 1
63 to 16d will be provided as control devices.

このように端末ユニット4a〜4nで管轄するバルブユ
ニット5a〜5nには電磁ソレノイド等の複数の制御機
器が設けられることになる。そして、端末ユニット4a
〜4nからバルブユニット5a〜5nの複数の制御機器
に対しては、通信制御で受信向れた制御信号が与えられ
ており、更にリミットスイッチ等で検出されたバルブユ
ニットに於ける機器の作動状態を示す検出信号が端末ユ
ニット4a〜4nに入力されている。
In this way, the valve units 5a to 5n controlled by the terminal units 4a to 4n are provided with a plurality of control devices such as electromagnetic solenoids. And the terminal unit 4a
~4n to multiple control devices of valve units 5a to 5n are given control signals to be received by communication control, and furthermore, the operating status of the devices in the valve units detected by limit switches etc. A detection signal indicating this is input to the terminal units 4a to 4n.

第3図は第1図の実施例に於ける端末ユニット4aの一
実施例を示した回路ブロック図であり、バルブユニット
5a側には電磁ソレノイド16a。
FIG. 3 is a circuit block diagram showing an embodiment of the terminal unit 4a in the embodiment of FIG. 1, and an electromagnetic solenoid 16a is provided on the valve unit 5a side.

16bで成る2台の制御機器が設けられている場合を例
にとっている。
A case is taken as an example in which two control devices consisting of 16b are provided.

第3図に於いて、19は受光回路でおり、光ファイバー
線路3を介してセントラルユニット1より送信された通
信制御データの光信号を受光して受光データに変換し、
受光データをデータビット毎に重亜変換器20に直列的
に入力する。重亜変換器20は10ビツトで成る1端末
分の受信データを並列データに変換して制御回路21に
出力する。
In FIG. 3, 19 is a light receiving circuit, which receives an optical signal of communication control data transmitted from the central unit 1 via the optical fiber line 3 and converts it into received light data.
The received light data is serially input to the heavy-light converter 20 for each data bit. The parallel converter 20 converts 10-bit received data for one terminal into parallel data and outputs it to the control circuit 21.

制御回路21はマイクロコンピュータのプログラム制御
により実現され、クロック発振器29からのクロックパ
ルスに基づいたタイミング制御で受光制御及び送信制御
を行なう。
The control circuit 21 is realized by program control of a microcomputer, and performs light reception control and transmission control by timing control based on clock pulses from a clock oscillator 29.

即ち、制御回路21は受光回路19による通信制御デー
タの直列受信に伴って重亜変換器20から順次受光デー
タのビット出力が得られることから、最初のスタートビ
ットSの入力を受けて制御動作を開始し、アドレスビッ
トAO−A5、更にコントロール−Cに続くパリティビ
ットPの入力を受けると、受信ビットS−Cの加算結果
が予め定めた奇数または偶数になるか否かでパリティチ
ェックを行ない、このパリティチェックにより正常なデ
ータ受信を確認すると、多重アドレス判別回路22に対
し動作信号24を出力してアドレス判別を開始する。ま
た、制御回路21はデータ受信の終了を示すエンドビッ
トEが得られたときに、1端末分のデータ受信の終了を
検出し、直並変換器20の並列受光データ出力をラッチ
して並直変換器25に出力する。更に、制御回路21は
エンドビットEに基づくデータ受信の終了検出と同時に
、並直変換器25に送信クロックを順次出力し、並直変
換器25に制御回路21から並列的に入力された受光デ
ータを直列データに変換して発光回路26に供給し、発
光回路で再度光信号に変換して後段の光ファイバー線路
3に送出させる。
That is, the control circuit 21 receives the input of the first start bit S and performs the control operation, since the light receiving circuit 19 serially receives the communication control data and the light receiving data bit output is sequentially obtained from the heavy weight converter 20. When the address bit AO-A5 and the parity bit P following the control-C are input, a parity check is performed to see if the addition result of the received bits S-C is a predetermined odd or even number. When normal data reception is confirmed by this parity check, an operation signal 24 is output to the multiple address discrimination circuit 22 to start address discrimination. In addition, when the end bit E indicating the end of data reception is obtained, the control circuit 21 detects the end of data reception for one terminal, latches the parallel light reception data output of the serial to parallel converter 20, and converts the data from parallel to parallel. Output to converter 25. Further, the control circuit 21 sequentially outputs a transmission clock to the parallel-to-serial converter 25 at the same time as detecting the end of data reception based on the end bit E, and transmits the received light data input in parallel from the control circuit 21 to the parallel-to-serial converter 25. is converted into serial data and supplied to the light emitting circuit 26, which converts it again into an optical signal and sends it out to the optical fiber line 3 at the subsequent stage.

尚、1端末分のデータ受信の終了検出に基づく受光デー
タの送信開始と同時に、受光回路19には次の1端末分
のデータが受信されることから、受光データの送信開始
のタイミングで制御回路21は並直変換器20にリセッ
トをかけ、次のデータ受信に備えるようになる。
Note that at the same time as the transmission of the received light data starts based on the detection of the end of data reception for one terminal, the light receiving circuit 19 receives data for the next one terminal. 21 resets the parallel-to-serial converter 20 to prepare for the next data reception.

多重アドレス判別回路22には、端末ユニット4aが管
轄するバルブユニット5aに設けた2台の電磁ソレノイ
ド16a、’16bに対応した2つの自己アドレスが予
め設定されており、パリティチェックに基づいて制御回
路21から動作信号24を受けると、重亜変換器20よ
り入力しているアドレスビットAO〜A5と、予め設定
している2つの自己アドレスを比較し、例えば電磁ソレ
ノイド16aに対応した自己アドレスの受信を判別する
とHレベルとなる判別信号27aを出力し、一方、電磁
ソレノイド16bに対応する自己アドレスを判別すると
Hレベルとなる判別信号27bを出力する。この判別信
号27aまたは27bのHレベル状態は、制御回路21
が次の受光データに基づくパリティチェックで動作信号
24を出力するまで保持される。
Two self-addresses corresponding to the two electromagnetic solenoids 16a and '16b provided in the valve unit 5a under the jurisdiction of the terminal unit 4a are preset in the multiple address discrimination circuit 22, and the control circuit is configured based on the parity check. When the operation signal 24 is received from the electromagnetic solenoid 16a, the address bits AO to A5 inputted from the heavy weight converter 20 are compared with two preset self-addresses, and, for example, the self-address corresponding to the electromagnetic solenoid 16a is received. When it discriminates, it outputs a discrimination signal 27a that becomes H level, and on the other hand, when it discriminates the self address corresponding to the electromagnetic solenoid 16b, it outputs a discrimination signal 27b that becomes H level. The H level state of this discrimination signal 27a or 27b is determined by the control circuit 21.
is held until it outputs the operation signal 24 in a parity check based on the next received light data.

多重アドレス判別回路22からの判別信号27aは、ア
ンドゲート28aの一方に入力され、また判別信号27
bはアンドゲート28bの一方に入力される。アンドゲ
ート28a 、28bの他方の入力には、ラッチ回路2
9でラッチされた重亜変換器20のコントロールビット
Cのビット信号が与えられており、例えば判別信号27
aがHレベルになるとアンドゲート28aを許容状態と
してラッチ回路2つからのコントロールビットCのビッ
ト信号を駆動回路30aに出力し、コントロールビット
Cが「1」のとき電磁ソレノイド16aをオンし、また
rOJのとき電磁ソレノイド16aをオフする。
The discrimination signal 27a from the multiple address discrimination circuit 22 is input to one of the AND gates 28a, and the discrimination signal 27a is input to one side of the AND gate 28a.
b is input to one side of the AND gate 28b. The latch circuit 2 is connected to the other input of the AND gates 28a and 28b.
The bit signal of the control bit C of the heavy-weight converter 20 latched at 9 is given, for example, the discrimination signal 27
When a becomes H level, the AND gate 28a is set to the allowable state, and the bit signal of the control bit C from the two latch circuits is output to the drive circuit 30a, and when the control bit C is "1", the electromagnetic solenoid 16a is turned on, and At rOJ, the electromagnetic solenoid 16a is turned off.

アンドゲート28bについても同様に、判別信号27b
がHレベルとなることで許容状態となり、ラッチ回路2
9でラッチされたコントロールビットCのビット信号を
駆動回路30bに出力し、コントロールビットCに基づ
いて電磁ソレノイド16bをオン、オフする。
Similarly, for the AND gate 28b, the discrimination signal 27b
becomes the H level, it enters the permissible state, and the latch circuit 2
The bit signal of the control bit C latched at 9 is output to the drive circuit 30b, and the electromagnetic solenoid 16b is turned on and off based on the control bit C.

更に、第3図に示した端末ユニット4aの実施例にあっ
ては、受光データを後段の光ファイバー線路3に送信す
る際に、受光データのコントロールビットCを多重アド
レス判別回路22が2つの自己アドレスのいずれかを判
別したことを条件にリミットスイッチ18aまたは18
bで検出した端末機器、即ち液圧シリンダの作動状態を
示すコントロールビットCに書換えて送信する渫能を有
する。
Furthermore, in the embodiment of the terminal unit 4a shown in FIG. 3, when transmitting the received light data to the optical fiber line 3 at the subsequent stage, the multiplex address discrimination circuit 22 converts the control bit C of the received light data into two self-addresses. limit switch 18a or 18 on the condition that either of the
It has the ability to rewrite and transmit the control bit C indicating the operating state of the terminal device detected in step b, that is, the hydraulic cylinder.

即ち、バルブユニット5a側に設けたリミットスイッチ
18a、18bのオン、オフ検出信号は検出回路31a
、3’lbに与えられており、例えばリミットスイッチ
18a、18bのオンで検出回路31a、3’lbはH
レベル出力を生じ、オフでLレベル出力を生ずる。検出
回路31a、31bの検出出力はアンドゲート32a、
32bの一方に入力され、アンドゲート32aの他方に
は多重アドレス判別回路22からの判別信号27aが供
給され、アンドゲート32bの他方の入力には判別信号
27bが供給されている。
That is, the ON/OFF detection signals of the limit switches 18a and 18b provided on the valve unit 5a side are transmitted by the detection circuit 31a.
, 3'lb. For example, when the limit switches 18a, 18b are turned on, the detection circuits 31a, 3'lb go high.
It produces a level output, and produces an L level output when it is off. The detection outputs of the detection circuits 31a and 31b are the AND gates 32a,
32b, a discrimination signal 27a from the multiple address discrimination circuit 22 is supplied to the other of the AND gate 32a, and a discrimination signal 27b is supplied to the other input of the AND gate 32b.

即ち、リミットスイッチ18aは電磁ソレノイド16a
のオンによる作動状態を検出し、リミットスイッチ18
bは電磁ソレノイド16bのオンによる作動状態を検出
する対応関係をもつことから、電磁ソレノイド16aに
対応したアドレス判別信号27aがHレベルとなること
でアンドゲート32aは検出回路31aの検出信号を通
過させ、また電磁ソレノイド16bに対応したアドレス
判別信号27bがHレベルとなることでアンドゲート3
2bが検出回路31bの検出信号を通過させる。このア
ンドゲート32a 、32bの出力はオアゲート33で
とりまとめられ、データ書換回路34に供給される。
That is, the limit switch 18a is the electromagnetic solenoid 16a.
Detects the operating state by turning on the limit switch 18.
b has a correspondence relationship that detects the operating state when the electromagnetic solenoid 16b is turned on, so when the address discrimination signal 27a corresponding to the electromagnetic solenoid 16a becomes H level, the AND gate 32a allows the detection signal of the detection circuit 31a to pass. Also, when the address discrimination signal 27b corresponding to the electromagnetic solenoid 16b becomes H level, the AND gate 3 is activated.
2b allows the detection signal of the detection circuit 31b to pass through. The outputs of the AND gates 32a and 32b are combined by an OR gate 33 and supplied to a data rewriting circuit 34.

データ書換回路34は、アンドゲート35,36及びオ
アゲート37を有し、制御回路21でラッチされた受光
データのコントロールビットCのビット信号をアンドゲ
ート35の一方に入力し、アンドゲート36の一方には
オアゲート33でとりまとめられた検出回路31aまた
は31bの検出信号が与えられる。アンドゲート35の
他方の入力は反転入力とされており、アドレス判別信号
27a、27bをとりまとめたオアゲート38の出力を
受けており、アンドゲート36についても同様にオアゲ
ート38の出力を受けている。
The data rewriting circuit 34 has AND gates 35 and 36 and an OR gate 37, and inputs the bit signal of the control bit C of the light reception data latched by the control circuit 21 into one of the AND gates 35 and into one of the AND gates 36. is given the detection signal of the detection circuit 31a or 31b collected by the OR gate 33. The other input of the AND gate 35 is an inverted input, and receives the output of the OR gate 38 which compiles the address discrimination signals 27a and 27b, and the AND gate 36 similarly receives the output of the OR gate 38.

このためアンドゲート35は多重アドレス判別回路22
で設定された2つの受光アドレスのいずれのアドレス判
別も行なわれなかったとき、オアゲート38のLレベル
出力の反転入力で許容状態となり、制御回路21からの
コントロールビットCのビット信号を通してオアゲート
37を介して並直変換器25に受信したコントロールビ
ットCのビット信号をそのまま供給する。一方、多重ア
ドレス判別回路22で2つの自己アドレスのいずれか一
方が判別されるとオアゲート38の出力がHレベルとな
るため、アンドゲート35は禁止状態となり、逆にアン
ドゲート36が許容状態となってオアゲー1〜33から
得られているリミットスイッチ18aまたは18bの検
出信号をオアゲート37を介して並直変換器25に供給
し、受信データのコントロールビットCを端末機器の作
動状態を示すデータビットDに田換えて送信させるよう
になる。
Therefore, the AND gate 35 is connected to the multiple address discrimination circuit 22.
When neither of the two light-receiving addresses set in is identified, the inverted input of the L level output of the OR gate 38 enters the allowable state, and the bit signal of the control bit C from the control circuit 21 is passed through the OR gate 37. The received control bit C bit signal is supplied to the parallel-to-serial converter 25 as it is. On the other hand, when the multiple address discrimination circuit 22 discriminates one of the two self-addresses, the output of the OR gate 38 becomes H level, so the AND gate 35 becomes prohibited, and conversely, the AND gate 36 becomes enabled. The detection signal of the limit switch 18a or 18b obtained from the OR games 1 to 33 is supplied to the parallel-to-serial converter 25 via the OR gate 37, and the control bit C of the received data is converted to the data bit D indicating the operating state of the terminal device. It will now be sent instead.

尚、第3図の実施例に於ける多重アドレス判別回路22
、アドレス判別に基づいて電磁ソレノイドを駆動する回
路部、更に自己アドレスを判別したときにコントロール
ビットCをデータビットDに書換えるための回路は、図
示の論理回路によらず制御回路21と同様、マイクロコ
ンピュータによるプログラム制御で実現するようにして
も良い。
Incidentally, the multiple address discrimination circuit 22 in the embodiment of FIG.
, a circuit unit for driving an electromagnetic solenoid based on address discrimination, and a circuit for rewriting control bit C to data bit D when the self address is discriminated are similar to the control circuit 21, regardless of the logic circuit shown in the figure. It may also be realized by program control by a microcomputer.

次に上記の実施例の動作を説明する。Next, the operation of the above embodiment will be explained.

まず第2図に示したセントラルユニット1に於けるデー
タ送信制御は、送信制御回路6に対しシーケンスコント
ローラ等の外部制御装置2から第1図に示したバルブユ
ニット5a〜5nに於ける電磁ソレノイドを制御機器と
して1対1に対応した制御信号10a〜10nが入力し
ており、クロック発振器7からのクロックパルスに基づ
いた所定の送信タイミングで制御信号10a〜10nを
順次読込んで、第4図に示した10ビツトの通信制御デ
ータに於けるアドレスビットAO−A5及びコントロー
ルビットCのビット内容を決め、並直変換器8に対する
送信クロックの供給で直列データに変換し、発光回路9
より光信号として1IIJj次光ファイバー線路3に送
出する。
First, data transmission control in the central unit 1 shown in FIG. 2 is performed by transmitting electromagnetic solenoids in the valve units 5a to 5n shown in FIG. 1 from an external control device 2 such as a sequence controller to the transmission control circuit 6. Control signals 10a to 10n in one-to-one correspondence are input as a control device, and the control signals 10a to 10n are sequentially read at a predetermined transmission timing based on the clock pulse from the clock oscillator 7, as shown in FIG. The bit contents of address bits AO-A5 and control bit C in the 10-bit communication control data are determined and converted into serial data by supplying a transmission clock to the parallel-to-serial converter 8, and the light emitting circuit 9
The signal is then sent to the 1IIJj optical fiber line 3 as an optical signal.

一方、セントラルユニット1からの光信号による通信制
御データを受けた端末ユニットは、例えば第3図に示し
た端末ユニット4aを例にとると、受光回路19で直列
的に伝送されてくる光信号で成るデータビットを順次受
光データに変換して重亜変換器20に供給し、重亜変換
器20より最初のスタートビットSのビット信号が得ら
れると制御回路21は制御動作を開始し、9ビツト目の
パリティビットPが得られたタイミングでパリティチェ
ックを行ない、受信データにエラーがなければ多重アド
レス判別回路22に動作信号24を出力し、このとき重
亜変換器20より入力している受信アドレスビットAO
−A5と、予め設定している2つの受光アドレスとの比
較判別を行なわせる。
On the other hand, in the case of the terminal unit 4a shown in FIG. 3, the terminal unit that receives the communication control data in the form of an optical signal from the central unit 1 receives the optical signal serially transmitted by the light receiving circuit 19. The data bits are sequentially converted into light reception data and supplied to the heavy-light converter 20. When the first start bit S bit signal is obtained from the heavy-weight converter 20, the control circuit 21 starts the control operation and converts the 9-bit data into light reception data. A parity check is performed at the timing when the second parity bit P is obtained, and if there is no error in the received data, an operation signal 24 is output to the multiple address discrimination circuit 22, and at this time, the received address input from the multi-layer converter 20 is Bit AO
-A5 and two preset light reception addresses are compared and determined.

このとき受光データの端末アドレスがバルブユニット5
aに於ける電磁ソレノイド16aのアドレスであったと
すると、電磁ソレノイド16aに対応して予め設定した
受光アドレスの判別で多重アドレス判別回路22はHレ
ベルとなるアドレス判別信号27aを出力し、アンドゲ
ート28aを許容状態とすることで、ラッチ回路2つよ
り1qられているコントロールビットCのビット信号を
駆動回路30aに供給し、コントロールビットCが例え
ば「1」であったならば電磁ソレノイド16aをオンす
る。
At this time, the terminal address of the received light data is the valve unit 5.
If it is the address of the electromagnetic solenoid 16a at point a, the multiple address discrimination circuit 22 outputs an address discrimination signal 27a that becomes H level by discrimination of the light receiving address set in advance corresponding to the electromagnetic solenoid 16a, and the AND gate 28a By setting the bit signal to the allowable state, the bit signal of the control bit C which is 1q is supplied from the two latch circuits to the drive circuit 30a, and if the control bit C is, for example, "1", the electromagnetic solenoid 16a is turned on. .

一方、制御回路21は重亜変換器20のエンドビットE
のビット出力からデータ受信の終了を検出し、重亜変換
器20の並列受信データをラッチして並直変換器25に
出力し、同時に送信クロックを並直変換器25に供給し
て送信のための直列データへの変換を開始する。このた
め発光回路26は制御回路21によるデータ受信の終了
検出に同期して並直変換器25から送信クロックに同期
して順次出力されるデータビットを光信号に変換し、後
段の光ファイバー線路3に送出するようになる。
On the other hand, the control circuit 21 controls the end bit E of the heavy duty converter 20.
Detects the end of data reception from the bit output of Start converting to serial data. For this reason, the light emitting circuit 26 converts the data bits sequentially outputted from the parallel-to-serial converter 25 in synchronization with the transmission clock into an optical signal in synchronization with the detection of the end of data reception by the control circuit 21, and transmits the data bits to the optical fiber line 3 in the subsequent stage. It will start sending.

一方、多重アドレス判別回路22による自己アドレスの
判別でHレベルとなったアドレス判別信号27aを受け
てアンドゲート32aが許容状態となり、検出回路31
aからのリミットスイッチ18aによる検出信号をオア
ゲート33を介してデータ書換回路34に出力する。デ
ータ書換回路34に於けるアンドゲート36はオアゲー
1〜38を介して得られるHレベルとなるアドレス判別
信号27aにより許容状態にあり、このためオアゲート
33からのリミットスイッチ18aの検出信号はアンド
ゲート36を通過し、更にオアゲート37を介して並直
変換器25に供給されるようになり、受信データのコン
トロールビット・Cがリミットスイッチ18aのオン、
オフによる端末機器の作動状態を示すデータビットDに
書換えられ、発光回路26により光信号に変換されて後
段の光ファイバー線路3に送出されるようになる。
On the other hand, in response to the address discrimination signal 27a which has become H level due to the self-address discrimination by the multiple address discrimination circuit 22, the AND gate 32a enters the allowable state, and the detection circuit 31
A detection signal from limit switch 18a is output to data rewriting circuit 34 via OR gate 33. The AND gate 36 in the data rewriting circuit 34 is in the permissible state due to the address discrimination signal 27a which is at the H level obtained via the OR gates 1 to 38, and therefore the detection signal of the limit switch 18a from the OR gate 33 is transmitted to the AND gate 36. The control bit C of the received data turns on the limit switch 18a, and is further supplied to the parallel to serial converter 25 via the OR gate 37.
The data bit D is rewritten to indicate the operating state of the terminal device due to the off state, and is converted into an optical signal by the light emitting circuit 26 and sent to the optical fiber line 3 at the subsequent stage.

次に、電磁ソレノイド16bに対応したアドレスビット
をもつ受信データが受信された場合にも、受信データの
コントロールビットに応じて電磁ソレノイド16bがオ
ン、オフ制御されると共に、電磁ソレノイド16bに対
応したリミットスイッチ18bによるオン、オフ検出信
号で受信データのコントロールビットがデータビットに
書換えられて1麦段の光ファイバー線路3に送り出され
るようになる。
Next, even when received data having an address bit corresponding to the electromagnetic solenoid 16b is received, the electromagnetic solenoid 16b is controlled on and off according to the control bit of the received data, and the limit corresponding to the electromagnetic solenoid 16b is The control bits of the received data are rewritten into data bits by the on/off detection signal from the switch 18b, and then sent out to the first optical fiber line 3.

更に、多重アドレス判別回路22に設定された2つの自
己アドレス以外のアドレスビットをもつ受信データが受
信された場合には、アドレス判別信号27a、27bは
共にLレベルにあるため、電磁ソレノイド16a、’1
6bの制御は行なわれず、またデータ書換回路34のア
ンドゲート35がオアゲート38のLレベル出力の反転
入力で許容状態となって制御回路21でラッチされたコ
ントロールビットCのビット信号をそのまま並直変換器
25に供給し、アドレス判別を受けない受信データは何
ら変更されることなく発光回路26により再度直列的な
光信号に変換されて後段の光ファイバー線路3に送り出
されるようになる。
Furthermore, when received data having address bits other than the two self-addresses set in the multiple address discrimination circuit 22 is received, both the address discrimination signals 27a and 27b are at the L level, so that the electromagnetic solenoids 16a,' 1
6b is not controlled, and the AND gate 35 of the data rewrite circuit 34 is in an allowable state at the inverted input of the L level output of the OR gate 38, and the bit signal of the control bit C latched by the control circuit 21 is converted directly from parallel to serial. The received data that is not subjected to address discrimination is converted into a serial optical signal again by the light emitting circuit 26 without any modification, and is then sent to the optical fiber line 3 at the subsequent stage.

第6図は上記の実施例に於けるセントラルユニット及び
端末ユニットに於けるデータ送受信のタイミングチャー
トをセントラルユニット1に4台のI末ユニット4a〜
4dをループ状に接続した場合を例にとって示す。また
端末ユニット4aは第1図に示したように、2つの電磁
ソレノイド16a、’16bを制御機器としてもち、ま
た端末ユニット4bは4つの電磁ソレノイド16a〜1
6dを制御機器としてもった場合を示しており、更に端
末ユニット4c、4dについては電磁弁のように単一の
制御機器をもった場合を例にとっている。
FIG. 6 shows a timing chart of data transmission and reception in the central unit and terminal units in the above embodiment.
An example will be shown in which 4d are connected in a loop. Further, as shown in FIG. 1, the terminal unit 4a has two electromagnetic solenoids 16a and 16b as control devices, and the terminal unit 4b has four electromagnetic solenoids 16a to 16b.
6d as a control device, and the terminal units 4c and 4d are each provided with a single control device such as a solenoid valve.

このようなセントラルユニット1と4台の端末ユニット
4a〜4dとの間の通信制御は、セントラルユニット1
より端末ユニット4aの2つの電磁ソレノイド16a、
16bのアドレスを指定した通信制御データa’l、a
2を順次送信し、続いて端末ユニット4bの4つの電磁
ソレノイド16a〜16dを指定した通信制御データb
1〜b4を順次送信し、端末ユニット4C,4dについ
ては1台の制御機器をもつことから各アドレスを指定し
た通信制御データc、dを順次送信する。この通信制御
データa1〜dまでが1回の送信サイクルとなる。以下
、セントラルユニット1はこの送信サイクルを繰り返す
Communication control between the central unit 1 and the four terminal units 4a to 4d is performed by the central unit 1.
two electromagnetic solenoids 16a of the terminal unit 4a,
Communication control data a'l, a specifying the address of 16b
2 sequentially, and then communication control data b specifying the four electromagnetic solenoids 16a to 16d of the terminal unit 4b.
1 to b4 are sequentially transmitted, and since the terminal units 4C and 4d have one control device, communication control data c and d specifying each address are sequentially transmitted. The communication control data a1 to d constitute one transmission cycle. Thereafter, the central unit 1 repeats this transmission cycle.

一方、端末ユニット4a〜4dにあっては、まず端末ユ
ニット4aでセントラルユニット1の送信タイミングに
一致して最初のデータa1が受信され、データa1の受
信が終了すると受信データa1を次段の端末ユニット4
bに送信し、同時に次のデータa2の受信を開始する。
On the other hand, in the terminal units 4a to 4d, the terminal unit 4a first receives the first data a1 in accordance with the transmission timing of the central unit 1, and when the reception of the data a1 is completed, the received data a1 is transferred to the next stage terminal. unit 4
b, and at the same time starts receiving the next data a2.

このように端末ユニット4a〜4dへのデータ伝送は1
デ一タ分の時間遅れをもって次々とセントラルユニット
1からのデータの中継伝送を行なう。勿論、受信データ
から自己のアドレス判別が行なわれたときには、受信デ
ータのコントロールビットCは端末機器の作動状態を示
すデータビットDに書換られて送り出されるようになる
。このように端末ユニット4aからdに向けて順次中継
伝送されたデータは、端末数に応じたデータ伝送時間経
過後に再びセントラルユニット1で受信され、セントラ
ルユニット1に於いて受信データのデータビットを解読
して端末機器の作動状態を表示させるようになる。
In this way, data transmission to the terminal units 4a to 4d is carried out by 1
Data is relayed and transmitted from the central unit 1 one after another with a time delay of one data. Of course, when the own address is determined from the received data, the control bit C of the received data is rewritten to the data bit D indicating the operating state of the terminal device and then sent out. The data relayed sequentially from the terminal units 4a to 4d in this way is received again by the central unit 1 after a data transmission time corresponding to the number of terminals has elapsed, and the data bits of the received data are decoded in the central unit 1. The operating status of the terminal device will be displayed.

次に、伝送データのエラーチェックを説明すると次のよ
うになる。
Next, error checking of transmission data will be explained as follows.

第3図に示した端末ユニットに設けた制御回路21は受
信データのパリティビットPが得られたタイミングでパ
リティチェックを行なっており、このパリティチェック
の結果、データエラーが判別されたときには多重アドレ
ス判別回路22に対し動作信号24を出力することなく
受信終了の検出に同期して受信データをそのまま後段の
光ファイバー線路に送信する。このためエラーを生じた
データはいずれの端末ユニットでも端末機器の制御に使
用されることなく、そのままセントラルユニットに送り
返される。
The control circuit 21 provided in the terminal unit shown in FIG. 3 performs a parity check at the timing when the parity bit P of the received data is obtained, and if a data error is determined as a result of this parity check, multiple address determination is performed. The received data is transmitted as it is to the subsequent optical fiber line in synchronization with the detection of the end of reception without outputting the operation signal 24 to the circuit 22. Therefore, data in which an error has occurred is sent back to the central unit without being used by any of the terminal units to control the terminal equipment.

セントラルユニット1に於いては第2図に示したように
重亜変換器12から得られる並列受光データのパリティ
チェックをもってデータエラーを検出することができ、
このデータエラーが予め定めた一定時間継続したとき、
正常な通信制御ができないものとして警報動作やフェイ
ルセーフ動作を行なうようになる。
In the central unit 1, as shown in FIG. 2, data errors can be detected by checking the parity of the parallel light reception data obtained from the heavy-light converter 12.
When this data error continues for a predetermined period of time,
Assuming that normal communication control is not possible, an alarm or fail-safe operation will be performed.

また、他のデータエラーの検出方式として、第6図に示
したようにセントラルユニット1はデータ送信後、一定
の遅れ時間後に送信アドレス順で順次データを受信する
ことから、受信データのアドレスの順番をチェックし、
送信時の順番と異なる順番のアドレス受信でエラーを検
出し、このエラー検出が一定時間繰り返されたときデー
タエラーと判別して警報やフェイルセーフ作動を行なう
ことができる。
In addition, as another data error detection method, as shown in FIG. 6, the central unit 1 receives data sequentially in the order of the sending addresses after a certain delay time after transmitting the data. Check and
An error is detected when addresses are received in an order different from the order in which they were sent, and when this error detection is repeated for a certain period of time, it is determined that it is a data error and an alarm or fail-safe operation can be performed.

尚、第3図の端末ユニットは2台の制御機器を1台の端
末ユニットで管轄する場合を例にとるものでおったが、
本発明はこれに限定されず、端末ユニットで管轄する制
御機器の数に応じた自己アドレスを多重アドレス判別回
路22に設定して各自己アドレス毎に判別出力を出すこ
とで、任意の数の制御機器を1台の端末ユニットへの通
信制御により作動することができる。この点は受光アド
レスを判別したときに受光データのコントロールビット
Cを端末機器の作動状態を示すデータビットDに書換え
る回路部についても同様でおる。
Note that the terminal unit in Figure 3 was taken as an example where two control devices are controlled by one terminal unit.
The present invention is not limited to this, and by setting self-addresses corresponding to the number of control devices managed by the terminal unit in the multiple address discrimination circuit 22 and outputting a discrimination output for each self-address, an arbitrary number of control devices can be controlled. The device can be operated by communication control to one terminal unit. The same applies to the circuit section that rewrites the control bit C of the light reception data into the data bit D indicating the operating state of the terminal device when the light reception address is determined.

(発明の効果) 以上説明してきたように本発明によれば、セントラルユ
ニットに対し複数の端末ユニットを光ファイバー線路を
介してループ状に接続し、複数の制御機器を備えた端末
ユニットにあっては制御機器に応じた複数の自己アドレ
スを設定し、受信データから自己アドレスのいずれかを
判別したときには、この判別アドレスに対応する制御機
器に受信データの制御命令ビットに応じた制御信号を出
力する多重アドレス判別手段を設けるようにしたため、
セントラルユニットから送信される通信制御データの制
御命令ビットのビット数増加することなく、1台の端末
ユニットで管轄する制御機器の数を任意に増加させるこ
とができ、光ファイバー線路のループ接続による通信制
御に用いる伝送データのビット数を最小限にとどめるこ
とでセントラルユニット及び端末ユニットに於ける送信
及び受信の制御処理を簡単にし、例えば送受信制御にマ
イクロコンピュータを用いたときには、データビット数
を押えることができるためにコスト的に安価な素子を使
用することができ、1台の端末ユニットで管轄する制御
機器の数が増加しても経済性の高い通信制御システムを
実用することができる。
(Effects of the Invention) As described above, according to the present invention, a plurality of terminal units are connected to the central unit in a loop via an optical fiber line, and in a terminal unit equipped with a plurality of control devices, Multiple self-addresses are set according to the control device, and when one of the self-addresses is determined from the received data, a multiplex control signal is output to the control device corresponding to this determined address in accordance with the control command bit of the received data. Since we have provided a means of identifying addresses,
The number of control devices controlled by one terminal unit can be increased arbitrarily without increasing the number of control command bits in the communication control data sent from the central unit, and communication control by loop connection of optical fiber lines is possible. By minimizing the number of bits of transmission data used for transmission, the control processing of transmission and reception in the central unit and terminal units is simplified. For example, when a microcomputer is used for transmission and reception control, it is possible to reduce the number of data bits. Therefore, inexpensive elements can be used, and even if the number of control devices controlled by one terminal unit increases, a highly economical communication control system can be implemented.

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

第1図は本発明のシステム構成の一実施例を示した説明
図、第2図は第1図のセン1〜ラルユニツトの一実施例
を示したブロック図、第3図は第1図の端末ユニットの
一実施例を示した回路ブロック図、第4図はセントラル
ユニットによる通信データのピッ1〜@成の説明図、第
5図は端末返送データのビット構成の説明図、第6図は
セントラルユニットと端末ユニツ1〜との通信制御のタ
イミングチャート、第7図は従来例を示したブロック図
である。 1:セントラルユニット 2:外部制御装置 3:光ファイバー線路 4a〜4n:端末ユニット 5a〜50:バルブユニット 6:送信制御回路 7.29:クロック発振器 8.25:並直変換器 9.26:発光回路 ”11.’19:受光回路 12.25:重亜変換器 13:デコード回路 15:3位置切換弁 16a〜16d :電磁ソレノイド 17:液圧シリンダ 188〜18d :リミットスイッチ 21:制御回路 22:多重アドレス判別回路 24:動作信号 27a、27b ニアドレス判別信号 28a、28b、32a、32b、35.36 :アン
ドゲート、30a、30b:駆動回路 31a、31b :検出回路 33.37,38ニオアゲート
FIG. 1 is an explanatory diagram showing an embodiment of the system configuration of the present invention, FIG. 2 is a block diagram showing an embodiment of the center 1 to central unit in FIG. 1, and FIG. 3 is a terminal diagram of the terminal in FIG. 1. A circuit block diagram showing one embodiment of the unit, Fig. 4 is an explanatory diagram of the communication data from the central unit to the bit configuration, Fig. 5 is an explanatory diagram of the bit configuration of terminal return data, and Fig. 6 is an explanatory diagram of the bit configuration of communication data by the central unit. FIG. 7 is a timing chart of communication control between the unit and the terminal units 1 to 1, and is a block diagram showing a conventional example. 1: Central unit 2: External control device 3: Optical fiber lines 4a to 4n: Terminal units 5a to 50: Valve unit 6: Transmission control circuit 7.29: Clock oscillator 8.25: Parallel to serial converter 9.26: Light emitting circuit 11.'19: Light receiving circuit 12.25: Heavy duty converter 13: Decoding circuit 15: 3-position switching valves 16a to 16d: Electromagnetic solenoid 17: Hydraulic cylinders 188 to 18d: Limit switch 21: Control circuit 22: Multiplexing Address discrimination circuit 24: Operation signal 27a, 27b Near address discrimination signal 28a, 28b, 32a, 32b, 35.36: AND gate, 30a, 30b: Drive circuit 31a, 31b: Detection circuit 33.37, 38 near gate

Claims (1)

【特許請求の範囲】[Claims] (1)セントラルユニットに光ファイバー線路を介して
流体制御弁と一体又は近傍に設置された複数の端末ユニ
ットをループ状に接続し、 前記セントラルユニットに、シーケンスコントローラ等
からの制御出力に基づいた制御命令及び端末アドレスを
含む制御データを直列的な光信号に変化して前記光ファ
イバー線路に繰り返し送出するデータ送信手段を設け、 一方、前記端末ユニットのぞれぞれには、前記光ファイ
バー線路を介して得られる光信号の受光データに変換す
ると共に該受光データの受信終了検出に同期して受光デ
ータを直列的な光信号に変換して後段の光ファイバー線
路に出力し、更に前記受光データから自己のアドレスを
判別したときに該受光データの制御命令ビットに対応し
た制御信号を流体制御弁側に出力する制御手段を設けた
流体制御弁の通信制御システムに於いて、 前記端末ユニットと一体又は近傍に異なる制御信号によ
り作動される複数の制御機器を設け、前記端末ユニット
に前記制御機器に対応した複数の自己アドレスを設定し
、受光データから自己アドレスのいずれかを判別したと
きに該判別アドレスに対応する制御機器に受信データの
制御命令ビットに応じた制御信号を出力する多重アドレ
ス判別手段を設けたことを特徴とする流体制御弁の通信
制御システム。
(1) A plurality of terminal units installed integrally with or near the fluid control valve are connected in a loop to the central unit via an optical fiber line, and the central unit is given control commands based on control output from a sequence controller, etc. and a data transmitting means for converting control data including a terminal address into a serial optical signal and repeatedly transmitting the serial optical signal to the optical fiber line; At the same time, in synchronization with the detection of the end of reception of the received light data, the received light data is converted into a serial optical signal and outputted to the subsequent optical fiber line, and furthermore, the self address is determined from the received light data. In a communication control system for a fluid control valve, which is provided with a control means that outputs a control signal corresponding to the control command bit of the received light data to the fluid control valve side when it is determined, a different control unit is provided integrally with or in the vicinity of the terminal unit. A plurality of control devices operated by a signal are provided, a plurality of self-addresses corresponding to the control devices are set in the terminal unit, and when one of the self-addresses is determined from received light data, control corresponding to the determined address is provided. 1. A communication control system for a fluid control valve, characterized in that a device is provided with multiple address discrimination means for outputting a control signal according to a control command bit of received data.
JP2919486A 1986-02-13 1986-02-13 Communication control system for fluid control valve Granted JPS62188872A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2919486A JPS62188872A (en) 1986-02-13 1986-02-13 Communication control system for fluid control valve

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2919486A JPS62188872A (en) 1986-02-13 1986-02-13 Communication control system for fluid control valve

Publications (2)

Publication Number Publication Date
JPS62188872A true JPS62188872A (en) 1987-08-18
JPH0340267B2 JPH0340267B2 (en) 1991-06-18

Family

ID=12269387

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2919486A Granted JPS62188872A (en) 1986-02-13 1986-02-13 Communication control system for fluid control valve

Country Status (1)

Country Link
JP (1) JPS62188872A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998025062A1 (en) * 1996-12-01 1998-06-11 Fujikin Inc. Fluid control valve and fluid supply/exhaust system
KR101499928B1 (en) * 2012-08-20 2015-03-06 에스엠씨 가부시키 가이샤 Solenoid valve control device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5917076A (en) * 1982-07-20 1984-01-28 Ckd Corp Control method of machine
JPS6057074A (en) * 1983-09-06 1985-04-02 Shoketsu Kinzoku Kogyo Co Ltd Solenoid valve control system
JPS60143281A (en) * 1983-12-29 1985-07-29 Shoketsu Kinzoku Kogyo Co Ltd Solenoid valve manifold

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5917076A (en) * 1982-07-20 1984-01-28 Ckd Corp Control method of machine
JPS6057074A (en) * 1983-09-06 1985-04-02 Shoketsu Kinzoku Kogyo Co Ltd Solenoid valve control system
JPS60143281A (en) * 1983-12-29 1985-07-29 Shoketsu Kinzoku Kogyo Co Ltd Solenoid valve manifold

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998025062A1 (en) * 1996-12-01 1998-06-11 Fujikin Inc. Fluid control valve and fluid supply/exhaust system
US6193212B1 (en) 1996-12-01 2001-02-27 Tadahiro Ohmi Fluid control valve and fluid supply/exhaust system
KR101499928B1 (en) * 2012-08-20 2015-03-06 에스엠씨 가부시키 가이샤 Solenoid valve control device

Also Published As

Publication number Publication date
JPH0340267B2 (en) 1991-06-18

Similar Documents

Publication Publication Date Title
JPS62185431A (en) Communication control system for fluid control valve
US4739183A (en) Local area network for vehicle
US6636782B2 (en) Method of driving and controlling a solenoid-operated valve
JPH10507602A (en) Fiber optic interface system
JPS61264835A (en) Optical fiber data link system
US5847659A (en) Electronic wiring system using automatic cyclic, communication means
US5701115A (en) Field programmable module personalities
JPS62188872A (en) Communication control system for fluid control valve
JP3445668B2 (en) Communications system
JPH01288133A (en) Signal transmission equipment
KR900006021B1 (en) Signal transmission system
JPS62185432A (en) Communication control system for fluid control valve
JPH0787576A (en) Remote control method for equipment
JPH0114473B2 (en)
JP2597702B2 (en) Alarm receiver
KR20000023284A (en) An arrangement for individually controlling an actuator of a high-safety industrial installation
JPH02138082A (en) Signal transmission system for elevator
JPH088581B2 (en) Multiple data link
JPS63280977A (en) Electromagnetic valve controller
JP2002195440A (en) Drive control method for solenoid valve
EP0452036B1 (en) Multi-point control systems
JPH04320B2 (en)
GB2293472A (en) Fire alarms
JPH0445318Y2 (en)
JPS62165082A (en) Fluid control valve communication control system