JPH01120994A - Method and equipment for monitoring sensor output - Google Patents

Method and equipment for monitoring sensor output

Info

Publication number
JPH01120994A
JPH01120994A JP62278965A JP27896587A JPH01120994A JP H01120994 A JPH01120994 A JP H01120994A JP 62278965 A JP62278965 A JP 62278965A JP 27896587 A JP27896587 A JP 27896587A JP H01120994 A JPH01120994 A JP H01120994A
Authority
JP
Japan
Prior art keywords
sensor output
signal
sensor
ldu
output
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
JP62278965A
Other languages
Japanese (ja)
Inventor
Masaki Nakayama
中山 誠己
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.)
Komatsu Ltd
Original Assignee
Komatsu 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 Komatsu Ltd filed Critical Komatsu Ltd
Priority to JP62278965A priority Critical patent/JPH01120994A/en
Publication of JPH01120994A publication Critical patent/JPH01120994A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve a sensor output fetch speed to a CDU and to reduce the number of wires by arranging a peripheral processing unit LDU to each of plural sensors and connecting the LDUs in series in a ring form via the central processing unit CDU corresponding to a controller. CONSTITUTION:An identification code ID to specify its own LDU is assigned to a CDU 30 in LDUs 41-4n. Then in the LDUs 41-4n, if a sensor 22 is turned off to on for example, the output of the sensor 22 is fetched in a first-in first-out(FIFO) buffer 403 immediately together with the ID code assigned to the LDU 42. A transmission circuit 406 applies required processing such as modulation to the inputted signal and transfers the result to the LDU 43 of the next stage via a communication medium 50. The CDU 30 decomposes the fetched signal into an ID code and a sensor output and gives the converted address and the sensor output to a machine controller 10.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、各種産業機械やNC機械、無人搬送車、ロ
ボット等において数多く用いられる各種はンサのセンサ
出力を、制御用コントローラにて集中モニタするに好適
なセンサ出力モニタ方法および装置に関する。
[Detailed Description of the Invention] [Industrial Application Field] This invention is a system for centrally monitoring sensor outputs of various sensors used in various industrial machines, NC machines, automatic guided vehicles, robots, etc. using a controller. The present invention relates to a method and apparatus for monitoring sensor output suitable for the purpose of monitoring sensor output.

r従来の技術〕 上記のようなセンサ出力を集中モニタするにあたり、従
来は、上記の制御用コントローラ(多くはプログラマブ
ルシーケンサが用いられる)にセンサ数に見合うだけの
入力端子を設けて、これら端子に各センサを直接に接続
するようにしていた。このため、配線が非常に多くなり
、それに伴う配線作業やメンテナンスの面での困難、ま
た取り扱いの上での不便等も避は得ないものとなってい
た。
rPrior art] In order to centrally monitor the sensor outputs as described above, conventionally, the above-mentioned controller (often a programmable sequencer is used) is provided with input terminals corresponding to the number of sensors, and these terminals are connected to each other. Each sensor was connected directly. As a result, the number of wires increases significantly, which inevitably leads to difficulties in wiring work and maintenance, as well as inconvenience in handling.

そこで最近は、上記複数のセンサの各々に対応してこれ
を間接管理する周辺処理装置を設けるとともに、上記制
御用コントローラに対応して設けた中央!1IIL理装
置を介してこれら周辺処理装置を環状に直列接続するよ
うにして、上記配線の省線化を図ろうとする試みもなさ
れている。第7図に、こうしたセンサ出力モニタ装置の
全体の構成を示ず。
Therefore, recently, peripheral processing devices have been installed to indirectly manage each of the plurality of sensors, and a central processing device has been installed to correspond to the control controller. Attempts have also been made to connect these peripheral processing devices in series in a ring via an IIL processing device to reduce the amount of wiring. FIG. 7 does not show the overall configuration of such a sensor output monitoring device.

すなわちこの第7図において、10は、上記制御用コン
トローラとして対象Ia械を統括的に制御するマシンコ
ントローラ、21〜2nは、同機械内の各部に配された
上記のセンサ、30は、マシンコントローラ10に配さ
れてこれらセンサ21〜2nのセンサ出力を集中モニタ
する上記の中央処理装置(以下CDUという)、41〜
4nは、上記複数のセンサ21〜2n各々に対応して配
されてその各センサ出力を上記CDU3Oとの間で中継
処理する上記の周辺処1!I!装置(以下LDUという
)であり、上述の如くこのセンサ出力モニタ%fPlで
は2上記CDU3OとLDU41〜4nとが、同第7図
に示される態様で環状に直列接続される。なお、50は
、これらCDU3OおよびLDU41〜4nの間に介在
する通信媒体であり、これらCDU3OおよびLDU4
1〜4nの間における通信が光リンクを介した光通信に
て行なわれる場合には、該通信媒体として光フアイバケ
ーブルが用いられ、同通信が電気通信にて行なわれる場
合には、該通信媒体としてメタルケーブル(ツイストペ
アケーブルや同軸ケーブル等々)が用いられる。
That is, in this FIG. 7, 10 is a machine controller that centrally controls the target Ia machine as the control controller, 21 to 2n are the above sensors arranged in each part of the machine, and 30 is a machine controller. The above-mentioned central processing unit (hereinafter referred to as CDU), which is arranged in 10 and centrally monitors the sensor outputs of these sensors 21 to 2n;
4n is the peripheral section 1! which is arranged corresponding to each of the plurality of sensors 21 to 2n and relays the output of each sensor to and from the CDU 3O. I! As described above, in this sensor output monitor %fPl, the two CDUs 3O and LDUs 41 to 4n are connected in series in a ring shape as shown in FIG. 7. Note that 50 is a communication medium interposed between these CDU3O and LDU41 to 4n, and 50 is a communication medium interposed between these CDU3O and LDU4n.
When the communication between 1 and 4n is carried out by optical communication via an optical link, an optical fiber cable is used as the communication medium, and when the communication is carried out by telecommunication, the communication medium is Metal cables (twisted pair cables, coaxial cables, etc.) are used as such.

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

この第7図に示したような構成を採用することにより、
CDUと各センサ(正確には各しDU)との接続は、各
々その入力線と出力線との2木の信号線(上記環状接続
により実質的には各1本となる)のみによって達成され
るようにはなるものの、こうした装置では通常、全LD
Uを一定周期で循環しつつ各センサのセンサ出力を順に
取り込むよう動作することから、1ループ当たりのセン
サ数に比例してこのセンサ出力取り込み周期が長くなっ
てしまうといった問題も新たに生じる。すなわち、信号
伝送速度の面で問題が残る。
By adopting the configuration shown in Fig. 7,
The connection between the CDU and each sensor (more precisely, each DU) is achieved through only two signal lines (substantially one each due to the above-mentioned circular connection), each consisting of an input line and an output line. However, these devices typically
Since the sensor output of each sensor is sequentially captured while circulating U at a constant cycle, a new problem arises in that the sensor output capture cycle becomes longer in proportion to the number of sensors per loop. That is, a problem remains in terms of signal transmission speed.

例えば、第7図に示したg置のように、ngのLDUが
環状に直列接続されている場合に、k(1≦に≦n)番
目のLDIJを「kとし、このLkからCDLJへ信号
が伝送されるまでの時間をtk、またサンプリング周期
(循環周期)を王とすると、しkに対応したセンサから
センサ出力があってこれがCDUに取り込まれるまでの
時間は、これをτとして、 tk≦τ≦T+tk        ・・・(1)とな
る。寸なわち、信号の循環中に上記センサのセンサ出力
タイミングが偶然合えば、最短の時間tkにて取り込ま
れることも有り得るが、通常はこれから時間Tまでの間
でなにがしかの遅れが生じ、最悪の場合には時間Tの遅
れが生じる。この周期時間■は、上述の如く1ループ当
たりのセンサ数に比例して長くなるものであり、センサ
数が多い場合にはこうした時間遅れ(伝送遅れ)も無視
できないものとなる。
For example, when ng LDUs are connected in series in a ring as shown in the g position shown in FIG. Let tk be the time it takes for tk to be transmitted, and let tk be the sampling period (circulation period), then the time it takes for the sensor output from the sensor corresponding to k to be taken into the CDU is tk. ≦τ≦T+tk ... (1).In other words, if the sensor output timing of the above sensor happens to match during the signal circulation, it is possible that the signal will be captured at the shortest time tk, but normally it will take some time from now. There will be some delay until T, and in the worst case, a delay of time T will occur.As mentioned above, this period time becomes longer in proportion to the number of sensors per loop, and When the number of signals is large, this time delay (transmission delay) cannot be ignored.

この発明は、複数のセンサの各々に対応してLDUを配
するとともに、これらLDUをコントローラに対応して
配した1つのCDUを介して環状に直列接続するように
した上記の配線数の削減できる構成を前提として、更に
この信号伝送速度すなわちコントローラ(CDU)に対
するセンサ出力取り込み速度の改善を図ることのできる
センサ出力モニタ方法および装置を提供することを目的
とする。
This invention can reduce the number of wires described above by arranging an LDU corresponding to each of a plurality of sensors, and connecting these LDUs in series in a ring through one CDU arranged corresponding to a controller. Based on this configuration, it is an object of the present invention to provide a sensor output monitoring method and apparatus that can further improve the signal transmission speed, that is, the sensor output acquisition speed to the controller (CDU).

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

この発明では、いずれかのセンサから−Hセンサ出力が
あった場合、電気的な意味においてもできるだけ早くこ
れをコントローラ(CDLI)に取り込まねばならない
ものの、ここで対象とするセンサ(各種産業機械やNC
機械、無人搬送車、ロボット等に用いられているとする
)は、償械の動きに連動するものや、異常発生時に作動
するものが殆どであって、電気的に高速に状態変化(例
えばオン−オフ)を繰り返すようなものではないこと、
すなわちこれらセンサの出力を常にモニタする必要はな
いことに着目して、前記各LDUに各々を特定するため
の識別コードを割り当て、いずれかのけンサからセンサ
出力が生じたときのみ、その対応するLDLJの識別コ
ードおよび当該センサ出力を前記CDUへ非同期にて転
送するようにする。
In this invention, when there is a -H sensor output from any sensor, it must be taken into the controller (CDLI) as soon as possible in an electrical sense.
Most of the devices (used in machines, automated guided vehicles, robots, etc.) are linked to the movement of the machine or are activated when an abnormality occurs, and their states change electrically at high speed (for example, when the device is turned on). - It is not something that repeats (off),
In other words, focusing on the fact that it is not necessary to constantly monitor the outputs of these sensors, an identification code for identifying each LDU is assigned to each LDU, and only when a sensor output is generated from one of the sensors, the corresponding one is detected. The identification code of the LDLJ and the sensor output are asynchronously transferred to the CDU.

〔作用〕[Effect]

上記のようなセンサは、複数のものが同時に状態変化す
る確率は極めて少ない。また、は械的には同時とみられ
る場合であっても、電気的にはミリ秒〈1IIS)単位
でバラツキが生じる。しかも上述したように、同一のセ
ンサがミリ秒単位で状態変化を繰り返すようなこともま
ず有り得ない。したがって、上記のようにいずれかのセ
ンサからセンサ出力が生じたときのみ、これをCDUに
転送するようにすることで、これらセンサ出力の集中モ
ニタは十分に可能である。この転送されたセンサ出力が
いずれのセンサから生じたものであるかは、これと共に
転送される上記識別コードの照合によって自ずと明らか
になる。
The probability that a plurality of sensors as described above change their states at the same time is extremely low. Further, even if it appears to be mechanically simultaneous, electrically there is variation in milliseconds (1IIS). Moreover, as mentioned above, it is highly unlikely that the same sensor would repeatedly change state on a millisecond basis. Therefore, by transferring sensor output to the CDU only when a sensor output is generated from one of the sensors as described above, it is possible to centrally monitor these sensor outputs. It becomes clear from which sensor the transferred sensor output is generated by checking the identification code transferred together with the identification code.

こうしたモニタ方法によれば、前述したような周期時間
によるセンサ出力の伝送遅れは皆無となり、この生じた
センサ出力は、はとんどの場合が、CDUと該当するL
DUとの直列接続距離によって定まる最短の時間にてC
DUに取り込まれることとなる。なお、こうしたセンサ
出力のCDUへの転送途上に生じたセンサ出力について
は、これをこの更に該当するLDU内で所定に順位付け
して次段へ転送するようにすることで、これらセンサ出
力相互が衝突するようなことも回避される。
According to such a monitoring method, there is no transmission delay in sensor output due to the periodic time as described above, and in most cases, the sensor output is transmitted between the CDU and the corresponding L.
C in the shortest time determined by the series connection distance with DU
It will be incorporated into DU. Furthermore, regarding the sensor outputs generated during the transfer of such sensor outputs to the CDU, these sensor outputs can be further ranked in a predetermined manner within the corresponding LDU and transferred to the next stage. Collisions are also avoided.

〔実施例〕〔Example〕

第1図に、この発明にかかるセンサ出力モニタ装置の一
実施例を示す。
FIG. 1 shows an embodiment of a sensor output monitoring device according to the present invention.

ただし第1図は、センサ出力モニタ装置として先の第7
図に示した構成のものを前提として、その各LDU41
〜4nの内部構成例を示したものである。勿論、これら
LDU41〜4nは基本的に全て同一の構成を有する。
However, Fig. 1 shows the sensor output monitoring device shown in
Assuming the configuration shown in the figure, each LDU 41
This shows an example of the internal configuration of ~4n. Of course, all of these LDUs 41 to 4n have basically the same configuration.

またこの実施例においては、センサ21〜2nとして、
リミットスイッチや近接スイッチ、押しボタンスイッチ
、圧力スイッチ、バイメタルなど、1ビツトの信号を論
理値111 I+または“0”として出力するいわゆる
オン−オフセンサを想定している。
Further, in this embodiment, as the sensors 21 to 2n,
A so-called on-off sensor such as a limit switch, a proximity switch, a push button switch, a pressure switch, a bimetal switch, etc. that outputs a 1-bit signal as a logical value 111 I+ or "0" is assumed.

さてこの第1図に示すように、これらIDU41〜4n
は各々、CDU3Oに自LDUを特定せしめるべく予め
割り付けられた所定ビットからなる識別コード(以下I
Qコードという)をパラレル発生するIDコード発生回
路(各LDU41〜4nはこれから発生される10コー
ドの内容のみが異なる)401と、対応するセンサから
センサ出力があったことすなわち状態変化したことを条
件に開となってこのセンサ出力(+12埋“1″または
′O″の1ビット信号)を上記発生されたIDコードに
付加してパラレル出力する第1ゲートバツフアー402
と、この出力されたセンサ出力おにびIDコードのパラ
レル信号を先入れ先出しにて一時貯蔵するFIFOバッ
フ1403と、このバッファ403への一時貯蔵の後出
力された上記パラレル信号をシリアル信号に変換するP
/S(パラレル/シリアル)変換回路404と、この変
換されたシリアル信号および後述する受信復調シリアル
信号を論理和出力するオア回路(オアゲート)405と
、この出力されたシリアル信号を所要に変調してこれを
次段LDU若しくはCDLI30へ送出する送信回路4
06と、前段のしDUから信号の伝送があるときこれを
受信してかつ所要のシリアル信号に復調する受信回路4
07と、この受信回路407に前段LDUからの信号伝
送があったとき、上記FIFOバッファ403に貯蔵中
の信号が無ければ該受信復調シリアル信号を出力路R1
へ出力し、同FIFOバッファ403に貯蔵中の信号が
有れば該受信復調シリアル信号を出力路R2へ切換出力
する切換回路408と、この切換回路408の出力路R
2を介して出力される受(H復調シリアル信号をパラレ
ル信号に変換するS/P (シリアル/パラレル)変換
回路409と、このS/P変換回路409が信号変換中
であることを条件に間となってこの変換された受信復調
パラレル信号を上記FIFOバッファ403ヘパラレル
出力する第2ゲートバツフア410とをそれぞれ具えて
構成される。
Now, as shown in FIG. 1, these IDUs 41 to 4n
are each an identification code (hereinafter referred to as an I
The condition is that there is a sensor output from the ID code generation circuit 401 (each LDU 41 to 4n differs only in the content of the 10 codes that will be generated from now on) and the corresponding sensor, that is, that the state has changed. A first gate buffer 402 opens to add this sensor output (a 1-bit signal of +12 "1" or 'O') to the generated ID code and outputs it in parallel.
, a FIFO buffer 1403 that temporarily stores the parallel signal of the sensor output and ID code that has been output, on a first-in, first-out basis;
/S (parallel/serial) conversion circuit 404, an OR circuit (OR gate) 405 that ORs the converted serial signal and a received demodulated serial signal (described later), and modulates the output serial signal as required. Transmission circuit 4 that sends this to the next stage LDU or CDLI 30
06, and a receiving circuit 4 that receives a signal when it is transmitted from the preceding DU and demodulates it into a required serial signal.
07, when this receiving circuit 407 receives a signal transmission from the previous LDU, if there is no signal stored in the FIFO buffer 403, the received demodulated serial signal is sent to the output path R1.
and if there is a signal stored in the FIFO buffer 403, the received demodulated serial signal is switched to the output path R2, and the output path R of this switching circuit 408 is connected.
2, and an S/P (serial/parallel) conversion circuit 409 that converts an H demodulated serial signal into a parallel signal, and a and a second gate buffer 410 that outputs the converted received demodulated parallel signal to the FIFO buffer 403 in parallel.

ここで、上記送信回路406は、各LDLI間の信号授
受が光ファイバを介して光通信にて行なわれる場合には
、変調回路(マンチェスター変調回路あるいはCMI変
調回路等)および電気−光変換器等を有した構成となり
、同信号授受がメタルケーブルを介した電気通信にて行
なわれる場合には、変調回路やドライバ回路等を有した
構成となる。
Here, in the case where signal transmission and reception between each LDLI is performed by optical communication via an optical fiber, the transmission circuit 406 includes a modulation circuit (Manchester modulation circuit or CMI modulation circuit, etc.), an electrical-to-optical converter, etc. If the same signal transmission and reception is performed by electrical communication via a metal cable, the configuration will include a modulation circuit, a driver circuit, etc.

他方、上記受信回路407も、各LDU間の信号授受が
、上記光通信にて行なわれる場合には、光−電気変換器
および復調回路(マンチェスター復調回路あるいはCM
I復調回路等)等を有した1菌成となり、上記電気通信
にて行なわれる場合には、インピーダンスマツチング回
路や受信アンプ、復調回路等を有した構成となる。
On the other hand, the receiving circuit 407 also includes an optical-to-electrical converter and a demodulating circuit (Manchester demodulating circuit or CM
In the case of the above-mentioned telecommunications, the configuration includes an impedance matching circuit, a receiving amplifier, a demodulation circuit, etc.

こうしたLDtJ41〜4nにおいて、例えは°いま、
センサ22がオフからオン(若しくはオンからオフ)へ
状態変化したとすると、LDU40の第1ゲートバツフ
ア402が開となって、このセンサ22の出力はLDU
42にvjり付けられたIDコードと共に直ちにそのF
IFOバッフ1403に取り込まれる。
In these LDtJ41-4n, for example,
Assuming that the sensor 22 changes state from off to on (or from on to off), the first gate buffer 402 of the LDU 40 is opened and the output of this sensor 22 is transferred to the LDU.
42 with the ID code attached to vj immediately.
The data is taken into the IFO buffer 1403.

このFIFOバッファ403に取り込まれた信A(ID
コードとセンサ出力とのパラレル信号)は、この出力に
伴なってP/S変換回路404によりシリアル信号に変
換され、オア回路405を介して送信回路406に入力
される。
The signal A (ID
The parallel signal of the code and the sensor output) is converted into a serial signal by the P/S conversion circuit 404 along with this output, and is input to the transmission circuit 406 via the OR circuit 405.

送信回路406では、この入力された信号(IDコード
とセンサ出力とのシリアル信号)に変調等の所要の51
!LL![!を施した蛋、これを通信媒体(光ファイバ
ケーブル若しくはメタルケーブル)50を介して次段の
LDU43へ転送づる。
In the transmitting circuit 406, the input signal (serial signal of ID code and sensor output) is subjected to necessary 51 modulation, etc.
! LL! [! The processed data is transferred to the next stage LDU 43 via a communication medium (optical fiber cable or metal cable) 50.

こうしてLDU42から信号の伝送があると、LDU4
3では、該伝送信号をその受信回路407に受入してこ
れに復調等の所要の処理を施しつつ、この受信復調信号
(LDU42の10コードとセンサ22の出力とのシリ
アル信号)を切換回路408へ送る。
When a signal is transmitted from LDU42 in this way, LDU4
3, the transmission signal is received by the receiving circuit 407 and subjected to necessary processing such as demodulation, and the received demodulated signal (a serial signal of the 10 codes of the LDU 42 and the output of the sensor 22) is transferred to the switching circuit 408. send to

該切換回路40B (Ll)IJ43)では、自しDU
43のFIFOバッフ1403に貯蔵中の信号が無けれ
ば、上記送られた受信復調信号を出力路R1へ出力する
。これにより同受信復調信号は、直接にオア回路405
を介して送信回路406に入力されることとなる。
In the switching circuit 40B (Ll)IJ43), the switching circuit 40B (Ll)IJ43)
If there is no signal stored in the FIFO buffer 1403 of 43, the received demodulated signal sent above is output to the output path R1. As a result, the received demodulated signal is directly sent to the OR circuit 405.
The signal is input to the transmitting circuit 406 via.

送信回路406では、上記同様この入力されたイを号(
LDU42のIDコードとセンサ22の出力とのシリア
ル信号)に変調等の所要の処理を施した後、これを通信
媒体50を介して更に次段のLDU (LDU44)へ
と転送する。
In the transmitting circuit 406, as described above, this input A is sent as the number (
After performing necessary processing such as modulation on the serial signal of the ID code of the LDU 42 and the output of the sensor 22, it is further transferred to the next stage LDU (LDU 44) via the communication medium 50.

また、上記LDU42からLDU43への信号転送の途
上において、センサ23ち状態変化してこのけンサ出力
がLDU43のIDコードと共に同LDU43のFIF
Oバッファ403に貯蔵されている場合には、上記切換
回路408 (LDU43)は、上記送られた受信復調
信号(LDU42の10コードとセンサ22の出力との
シリアル信号)を出力路R2へ出力する。この場合同受
信復調信号は、S/P変換回路409を通じてパラレル
信号に変換された後、第2ゲートバツフア410を介り
、i’FIFoバッファ403(LDU43)に取り込
まれることとなる。
Also, during the signal transfer from the LDU 42 to the LDU 43, the state of the sensor 23 changes and the sensor output is transferred to the FIF of the LDU 43 along with the ID code of the LDU 43.
When stored in the O buffer 403, the switching circuit 408 (LDU43) outputs the sent received demodulated signal (a serial signal of the 10 codes of the LDU 42 and the output of the sensor 22) to the output path R2. . In this case, the received demodulated signal is converted into a parallel signal through the S/P conversion circuit 409 and then taken into the i'FIFo buffer 403 (LDU 43) via the second gate buffer 410.

したがってこの場合には、LDU43のFIFOバッフ
ァ403に2先に貯蔵されているLDU43のIDコー
ドとセンサ23の出力とのパラレル信号がまず、P/S
変換され、同内容のシリアル信号として、オア回路40
5および送信回路406を介して次段のLDU (LD
U44)へ転送され、その後引き続き、同F I ’F
 Oバッファ403に次に貯蔵されたLDU42のID
コードとセンサ22の出力とのパラレル信号が、同様に
P/S変換され、同内容のシリアル信号として、オア回
路405および送信回路406を介して次段のLDU 
(LDU44)へ転送される。
Therefore, in this case, the parallel signal of the ID code of the LDU 43 stored in the FIFO buffer 403 of the LDU 43 and the output of the sensor 23 is first
The OR circuit 40 converts the signal into a serial signal with the same content.
5 and the transmission circuit 406 to the next stage LDU (LD
Transferred to U44), and then continued to the same F I 'F
ID of LDU 42 stored next in O buffer 403
The parallel signal of the code and the output of the sensor 22 is similarly P/S converted and sent as a serial signal with the same content to the next stage LDU via the OR circuit 405 and the transmission circuit 406.
(LDU44).

LDU44以降のLDUにおいても、上記同様の処理を
繰り返し実行するものであり、こうして順次転送された
信号(信号列)が最後にCDU3Oへ取り込まれる。
The same process as described above is repeated in the LDUs after the LDU 44, and the signals (signal string) sequentially transferred in this way are finally taken into the CDU 3O.

CDU3Oでは、この取り込んだ信号を各々10コード
とセンサ出力とに分解するとともに、IDコードについ
てはこれをマシンコントローラ10に予め割り付けられ
た接点アドレスに変換し、この変換したアドレスと上記
センサ出力とをマシンコントローラ10に引き渡す。
The CDU3O decomposes each of these captured signals into 10 codes and a sensor output, converts the ID code into a contact address assigned in advance to the machine controller 10, and then converts this converted address and the sensor output. It is handed over to the machine controller 10.

ここで、こうした実施例によるセンサ出力モニタ方法お
よびモニタ装置について考察してみるに、前述した如く
、ここで対象とするようなセンサ21〜2nは、 0 複数のものが同時に状態変化する確率は極めて少な
い。
Now, when considering the sensor output monitoring method and monitoring device according to these embodiments, as mentioned above, the sensors 21 to 2n targeted here are few.

o1jJ械的には同時とみられる複数センサの状態変化
も、電気的にはミリ秒(ms)単位でバラツキが生じて
いる。
o1jJ Even though the state changes of multiple sensors appear to be mechanically simultaneous, electrically there are variations in millisecond (ms) units.

O同一のセンサがミリ秒単位で状態変化を繰り返すこと
はまず無い。
O The same sensor rarely changes state repeatedly in milliseconds.

等々の状況下におかれていることから、いずれのLDU
であれ、実際には、上記FIFOバッファ403内に2
つ以上の信号(IDコードとセンサ出力とのパラレル信
号)が一時貯蔵されることは稀である。したがって、あ
るLDUから出力転送された信号がCDU3Oへ到達す
るまでに、これがその途上のいずれかのL D、UのF
IFOバッファ403に一時貯蔵される確率は極めて少
なく、仮に1回あったとしても、これがCDLI30に
取り込まれるまでの時間では、 tk≦τく2tk       ・・・(2)ただし、
tk:に番目のLDUからCDU3Oへの信号伝送時間 となる。
Due to the current situation, both LDUs
However, in reality, there are 2 in the FIFO buffer 403.
It is rare that more than two signals (parallel signals of ID code and sensor output) are stored temporarily. Therefore, by the time the output-transferred signal from a certain LDU reaches CDU3O, it has passed through the F of any L D or U on the way.
The probability that it will be temporarily stored in the IFO buffer 403 is extremely low, and even if it happens once, the time it takes for it to be taken into the CDLI 30 is tk≦τ×2tk (2) However,
tk: is the signal transmission time from the th LDU to the CDU 3O.

因みに、先の(1)式の関係を有する従来のセンサ出力
モニタ方法では、上記時間τが時間tbから時間(T+
t、)までの間で一様にばらつきを生じることとなるが
、この(2)式の関係となる該実施例によるモニタ方法
では、同時間τがτ−1k          ・・・
(3)となるか、あるいは τ=α+tkく2tk    ・・・(4)ただし、α
:FIFOバッファ403における一時貯蔵遅れ となるかのいずれかであり、しかも実際には、上記(3
)式の関係が維持される場合がほとんどである。
Incidentally, in the conventional sensor output monitoring method having the relationship expressed by equation (1) above, the above time τ varies from time tb to time (T+
However, in the monitoring method according to this embodiment, which has the relationship of equation (2), the same time τ is τ-1k...
(3) Or τ = α + tk × 2tk ... (4) However, α
: Either there will be a temporary storage delay in the FIFO buffer 403, and in reality, the above (3)
) is maintained in most cases.

このように、この実施例によれば、CDU30(マシン
コントローラ10)に対するセンサ出力取り込み速度が
大幅に改善されることとなる。しかも、同取り込み速度
についてのばらつきはほとんど無く、いかなる場合も安
定した速度関係を保って、各センサ出力のCDU3Oに
対する集中取り込みが実現される。
In this way, according to this embodiment, the speed at which the sensor output is taken in to the CDU 30 (machine controller 10) is significantly improved. In addition, there is almost no variation in the speed of taking in the data, and a stable speed relationship is maintained in any case, and the concentrated taking of each sensor output to the CDU 3O is realized.

第2図に、第1図に示したLDUについての更に具体的
な構成例を参考までに示す。
FIG. 2 shows a more specific configuration example of the LDU shown in FIG. 1 for reference.

この第2図に示す構成例においては、上記実施例装置が
、通信媒体50として光ファイバケーブルを用い、光通
信にて上述した信号(IDコードとセンサ出力とのシリ
アル信号)の転送を行なうことを想定している。
In the configuration example shown in FIG. 2, the above-mentioned embodiment device uses an optical fiber cable as the communication medium 50 to transfer the above-mentioned signals (serial signals of ID code and sensor output) through optical communication. is assumed.

すなわち、各LDU41〜4nは、同第2図に示すよう
に、その送信回路406として、光送信回路406aお
よび電気−光変換器406bからなる送信回路を採用し
、またその受信回路407として、光−電気変換器40
7aおよび光受信回路407bからなる受信回路を採用
している。上記光送信回路406aは、オア回路(ノア
ゲート)405を介して受入される前記シリアル信号(
通常のN RZ : non return zero
符号からなるビット列)をマンチェスター変調あるいは
CMI変調(CMI符号化)する回路であり、また上記
光受信回路407bは、光−電気変換器407aにて電
気信号に変換されるシリアル信号(マンチェスター変調
あるいはCMI変調されているビット列)を復調してこ
れをNRZ符号からなるビット列に戻す回路である。特
にこの光受信回路407bからは、そのDiN端子を通
じて、受信信号の受信開始で立ち上がり、同信号の受信
終了で立ち下がるDin信号が出力される。
That is, as shown in FIG. 2, each of the LDUs 41 to 4n employs a transmitting circuit consisting of an optical transmitting circuit 406a and an electro-optical converter 406b as its transmitting circuit 406, and an optical transmitting circuit as its receiving circuit 407. - Electrical converter 40
A receiving circuit consisting of an optical receiving circuit 7a and an optical receiving circuit 407b is employed. The optical transmission circuit 406a receives the serial signal (
Normal NRZ: non return zero
The optical receiving circuit 407b is a circuit that performs Manchester modulation or CMI modulation (CMI encoding) of a bit string consisting of a code, and the optical receiving circuit 407b converts a serial signal (Manchester modulation or CMI encoding) into an electrical signal by an optical-electrical converter 407a. This is a circuit that demodulates a modulated bit string and returns it to a bit string consisting of an NRZ code. In particular, the optical receiving circuit 407b outputs a Din signal through its DiN terminal, which rises when the reception of the received signal starts and falls when the reception of the same signal ends.

またこの第2図に示tLDU41〜4nにおいて、ID
コード発生回路401は、7ビツトのDSWすなわちデ
イツプスイッチ(ジャンパーも可)からなっており、こ
のオン−オフの組み合わせに応じて最大27=128通
りのアドレス空間を設定することができるようになって
いる。すなわちこの例においては、最大で、「0」から
N27Jまでの128個のLDUを用いたセンサ出力モ
ニタ装置を構成することが可能である。
In addition, in tLDU41 to 4n shown in FIG.
The code generation circuit 401 consists of a 7-bit DSW, that is, a dip switch (a jumper is also possible), and a maximum of 27=128 address spaces can be set according to the on-off combinations. ing. That is, in this example, it is possible to configure a sensor output monitoring device using a maximum of 128 LDUs from "0" to N27J.

勿論、こうしたIDコードのビット数は実情に応じて任
意に定めることができるものである。
Of course, the number of bits of such an ID code can be arbitrarily determined depending on the actual situation.

FIFOバッフ1403としては、第1ゲートバツフア
402あるいは第2ゲートバツフ1410の間に応じて
、上記7ビツトからなる10コードと1ビツトからなる
センサ出力(回倒ではリミットスイッチLSの出力)と
の合計8ビツトからなるパラレル信号を先入れ先出しに
て一時貯蔵する1バイト単位のバッファを採用している
。そしてこのFIFOバッファ4o3は、端子WRに加
わる信号(以下これをWR信号という)の立ち上がりタ
イミングに応じて上記8ビツト(1バイト)のパラレル
信号を受入し、端子RDに加わる信号(以下これをRD
信号という)の立ち上がりでこの受入したパラレル信号
を先入れ先出しの順に排出するよう動作する。また、こ
のFIFOバッフ1403が空、すなわち該バッファ4
03に貯蔵中の信号が無いときには、同バッフ1403
がらその端子EMPを通じて出力されるE M P信号
(信号■)の論理レベルが’1”(高レベル)となり、
逆に、同バッフ14o3のバッファ容量を1としたとき
に(J−1>まで受入信号が詰まったときには、同バッ
ファ403がらその端子FLLを通じて出力されるFL
L信号(信号■)の論理レベルが1″となる。こうして
信号■(FLL4¥5号)の論理レベルが111 I+
となった場合、この時点でのセンサ出力およびIDコー
ドの第1ゲートバツフF402がらの出力は、アンド回
路AD1およびAD2を通じて同信号■の論理レベルが
、“’O”(低レベル)となるまで一時的に保留される
The FIFO buffer 1403 has a total of 8 bits, including the 10 codes made up of the above 7 bits and the sensor output made up of 1 bit (the output of the limit switch LS in case of rotation), depending on the time between the first gate buffer 402 or the second gate buffer 1410. A 1-byte buffer is used to temporarily store the parallel signals consisting of 1 byte on a first-in, first-out basis. The FIFO buffer 4o3 receives the 8-bit (1 byte) parallel signal according to the rise timing of the signal applied to the terminal WR (hereinafter referred to as WR signal), and receives the 8-bit (1 byte) parallel signal applied to the terminal RD (hereinafter referred to as RD signal).
It operates to discharge the received parallel signals in a first-in, first-out order at the rising edge of a signal (referred to as a signal). Also, this FIFO buffer 1403 is empty, that is, the buffer 4
When there is no signal being stored in the buffer 1403
However, the logic level of the EMP signal (signal ■) output through the terminal EMP becomes '1' (high level),
Conversely, when the buffer capacity of the buffer 14o3 is 1, when the reception signal is full up to (J-1>), the buffer 403 outputs FL through its terminal FLL.
The logic level of the L signal (signal ■) becomes 1''.Thus, the logic level of the signal ■ (FLL4\5) becomes 111 I+
In this case, the sensor output and the output from the first gate buffer F402 of the ID code at this point are temporarily held through AND circuits AD1 and AD2 until the logic level of the same signal becomes "'O" (low level). will be put on hold.

こうしたFIFOバッフ1403の動作にまつわる上記
各信号の関係をタイミングチャートとして第3図(a)
〜(d)に示した。なおこの第3図において、時間αは
、先の(4)式でいうFfFOバッファ403における
一時貯蔵遅れ、すなわち同FIFOバッファ403に入
力信号がインプットされてからこれが出力側にシフトア
ウトされるまでの時間を示す。また、特に第3図(a)
および(d)に示す0.1,2.・・・(J−2>、(
j!−1)、1等の畔は、同FIFOバッファ403に
おtする各時点での信号貯蔵数を表わす。1が同バッフ
1403のバッファ容量を示すことは上述した通りであ
る。
The relationship between the above-mentioned signals related to the operation of the FIFO buffer 1403 is shown in FIG. 3(a) as a timing chart.
- Shown in (d). In FIG. 3, the time α is the temporary storage delay in the FfFO buffer 403 in equation (4), that is, the time from when the input signal is input to the FIFO buffer 403 until it is shifted out to the output side. Show time. In addition, especially Fig. 3(a)
and 0.1, 2 as shown in (d). ...(J-2>, (
j! -1), 1st grade represents the number of signals stored in the FIFO buffer 403 at each time point. As described above, 1 indicates the buffer capacity of the buffer 1403.

また、第2図に示すP/S変換回路404およびS/P
変換回路409は、それぞれ端子STに加わる信号(以
下これをST信号という)の立ち上がりタイミングで各
変換動作を開始する。これらの変換は、各々端子CLK
に加えられるクロツり信号■(これは発振回路411か
ら発振出力される)のレートにて行なわれる。また、各
々端子BSYから出力されるBSY信号(P/S変換回
路404においてはこれが信号◎となり、S/P変換回
路409においてはこれが信号■となる)は、各変換動
作の開始に同期して立ち上がり(論理レベルパ1”とな
り)、各変換動作の終了に同期して立ち下がる(論理レ
ベル゛′O″となる)。
In addition, the P/S conversion circuit 404 and the S/P shown in FIG.
The conversion circuit 409 starts each conversion operation at the rising timing of a signal applied to a terminal ST (hereinafter referred to as an ST signal). These conversions are performed on each terminal CLK
This is performed at the rate of the clock signal (which is oscillated and outputted from the oscillation circuit 411) applied to the clock signal. In addition, the BSY signal output from each terminal BSY (in the P/S conversion circuit 404, this becomes a signal ◎, and in the S/P conversion circuit 409, this becomes a signal ■) is synchronized with the start of each conversion operation. It rises (becomes logic level 1'') and falls (becomes logic level ``O'') in synchronization with the end of each conversion operation.

こうしたP/S変換回路404の動作態様を第4図(a
) 〜(e)に、S/P変換回路409の動作態様を第
5図(a)〜(13)にそれぞれ示す。なお、上述した
光送信回路406aおよび光受信回路407bによる各
対象信号の送受信レートも、上記のクロック信号■によ
って与えられるものである。
The operating mode of such a P/S conversion circuit 404 is shown in FIG.
) to (e), and the operation mode of the S/P conversion circuit 409 is shown in FIGS. 5(a) to (13), respectively. Note that the transmission and reception rate of each target signal by the optical transmitting circuit 406a and the optical receiving circuit 407b described above is also given by the clock signal (2).

切換回路408は、この例の場合、同第2図に示すよう
な論理回路によって構成される。すなわちこの例の場合
、同図からも明らかなように、前述した受信復調信号の
出力路R1またはR2への切換制御は、オア回路ORを
通じて生成される信号@の論理レベルに応じて行なわれ
る。この信号@の論理レベルが0″であれば出力路R1
が選択され、同論理レベルが# 1 $1であれば出力
路R2が選択されることとなる。因みに、この信号@の
論理レベルが0″となるのは、 o  FIFOバッファ403に貯蔵中の信号が無いこ
と(信号■が論理11011 >。
In this example, the switching circuit 408 is constituted by a logic circuit as shown in FIG. That is, in the case of this example, as is clear from the figure, the above-mentioned switching control of the received demodulated signal to the output path R1 or R2 is performed according to the logic level of the signal @ generated through the OR circuit OR. If the logic level of this signal @ is 0'', the output path R1
is selected, and if the same logic level is #1 $1, the output path R2 will be selected. Incidentally, the reason why the logic level of this signal @ is 0'' is because o There is no signal being stored in the FIFO buffer 403 (signal ■ is logic 11011>).

o  P/S変換回路404が変換動作を行なっていな
いこと(信号◎が論理゛0″)。
o The P/S conversion circuit 404 is not performing a conversion operation (signal ◎ is logic ``0'').

o  S/P変挽回路409が変換動作を行なっていな
いこと(信号■、■が論理“’O”)。
o The S/P conversion circuit 409 is not performing a conversion operation (signals ■ and ■ are logic "'O").

が少なくとも満足されるときであり、逆に同信号@の論
理レベルが“1″となるのは、 o’FIFoバッファ403内に貯蔵中の信号が存在す
ること(信号■が論理11111 )。
is satisfied at least, and conversely, the logic level of the signal @ is "1" because there is a signal being stored in the o'FIFo buffer 403 (signal ■ is logic 11111).

o  P/S変挽回路404が変換動作中であること(
信号◎論理゛1”)。
o The P/S conversion circuit 404 is in conversion operation (
Signal ◎Logic゛1”).

0 第1ゲートバツフア402が閉にあってかつS/P
変挽回路409が変換動作中若しくは変換動作終了直後
であること(信号■、■が論理“’1”)。
0 When the first gate buffer 402 is closed and S/P
The conversion circuit 409 is in the middle of a conversion operation or has just finished a conversion operation (signals (2) and (2) are logic "'1").

が少なくとも満足されるときである。is satisfied at least.

こうした各信号の関係については、センサ出力(信号■
)および光受信回路407bから出力される前記DiN
信号がそれぞれ第6図[a)および(b)に示す態様で
生じたことを仮定して、同第6図(C)〜(lに一括し
て示した。なお、第1ゲートバツフア402のゲート制
御信号■(第6図(C)参照)と第2ゲートバツフア4
10のゲート制御信号■(第6図((1)参照)とは、
それぞれ自段センサ出力と受信復調信号との上記FIF
Oバッファ403への転送のための排他制御を行なって
いる。
Regarding the relationship between these signals, please refer to the sensor output (signal ■
) and the DiN output from the optical receiving circuit 407b.
Assuming that the signals are generated in the manner shown in FIGS. 6A and 6B, they are collectively shown in FIGS. 6C to 6L. Control signal ■ (see Figure 6 (C)) and second gate buffer 4
The gate control signal 10 (see Fig. 6 (1)) is
The above FIF of the self-stage sensor output and the received demodulated signal, respectively.
Exclusive control for transfer to the O buffer 403 is performed.

以上のように、前述した実施例装置は、この第2図に示
した態様をもって良好に実現される。
As described above, the apparatus of the embodiment described above can be satisfactorily realized with the aspect shown in FIG.

なお、この第2図に示した具体構成例も含めて、先の第
1図に示した実施例装置では、第1および第2ゲートバ
ツフア402および410やFIFOバッファ403を
用いであるLDUにおける自段センサ出力と受信復調信
号(前段以前のセンサ出力)とを順位付けるようにした
が、要は、これら2者の信号の衝突が避けられる構成で
ありさえすればよく、こうした実施例の構成に限定され
るものではない。もつとも、先の(3)式の関係が必ず
満足されるような系であれば、特にこうした配慮を施す
必要もなくなる。
In addition, in the embodiment device shown in FIG. 1, including the specific configuration example shown in FIG. Although the sensor output and the received demodulated signal (sensor output from the previous stage) are ranked, the point is that the configuration is sufficient as long as it can avoid collision of these two signals, and the configuration is limited to the configuration of this embodiment. It is not something that will be done. However, if the system is such that the relationship in equation (3) above is definitely satisfied, there is no need to take such consideration.

また、同実施例装置では、センサ21〜2nとして前述
のようなオン−オフセンサを想定し、この1ピッ1−か
らなるセンサ出力を転送処理する構成について例示した
が、複数ビットからなるセンサデータを出力する他の態
様のセンサについても、この発明は同様に適用すること
ができる。
In addition, in the same embodiment device, the sensors 21 to 2n are assumed to be on-off sensors as described above, and a configuration is illustrated in which the sensor output consisting of 1 pin 1- is transferred, but sensor data consisting of multiple bits is The present invention can be similarly applied to other types of output sensors.

また更に、同実施例装置においては、各LDU内での信
号処理をパラレル信号によって行なう構成としたが、上
記FIFOバッファ403に相当でるバッフ1手段とし
てシリアル信号を一時貯蔵するタイプのもの(例えば多
段レジスタ等)を用いれば、上述した全ての信号処理を
シリアル信号によって行なうことも可能である。
Furthermore, in the device of the same embodiment, signal processing within each LDU is performed using parallel signals; It is also possible to perform all of the above-mentioned signal processing using serial signals.

ところで、こうした実施例装置の構成によれば、第7図
に示した如<CDtJ30を介して各LDU41〜4n
を環状に直列接続するとはいえ、センサ出力モニタ動作
に際しては原則的にCDU3OとLDU41との接続は
不要である。しかし、こうした系においては、CDU3
Oから試験信号を発して各LDU41〜4nの動作チエ
ツクを行なったりすることもあり、こうした意味におい
て上記環状の接続であることが有用となる。
By the way, according to the configuration of the embodiment device, as shown in FIG.
Although they are connected in series in a ring, the connection between the CDU 3O and the LDU 41 is not required in principle for sensor output monitoring operation. However, in such systems, CDU3
The operation of each LDU 41 to 4n may be checked by issuing a test signal from O, and in this sense, the above-mentioned annular connection is useful.

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

以上説明したように、この発明によれば、■ 非常に簡
素な信号線配線構造をもって、合理的かつ高能率なセン
サモニタが実現される。
As explained above, according to the present invention, (1) A rational and highly efficient sensor monitor is realized with a very simple signal line wiring structure.

■ またこのため、センサ数が非常に多い機械について
も、配線のためのスペースを削減でき、ひいてはぼ械自
体の小型化を図ることも可能となる。
■For this reason, even in machines with a large number of sensors, the space required for wiring can be reduced, and it is also possible to downsize the machine itself.

といった前提とする構成本来の効果に加えて、■ 各セ
ンサ出力のコントローラへの取り込み速度が大幅に改善
される。
In addition to the inherent effects of the premised configuration, (1) The speed at which each sensor output is input to the controller is greatly improved.

■ あるセンサ出力の発生がらこれがコントローラへ取
り込まれるまでの時間ばらつきも抑制される。
■ Variations in the time from the generation of a certain sensor output until it is taken into the controller are also suppressed.

■ 各LDIJのアドレス(IDコード)付けを任意に
行なうことができる(その接続配置に応じてアドレスを
順序付ける必要がない)ことがら、センサの追加、削除
、あるいは入れ替え等に際しても、信号伝送系に対する
配慮は不要となり、機械の改造等も容易となる。
■ Since each LDIJ can be assigned an address (ID code) arbitrarily (there is no need to order the addresses according to their connection arrangement), the signal transmission system There is no need to take any consideration to this, and it becomes easy to modify the machine.

等々の多くの優れた効果を得ることができる。You can obtain many excellent effects such as.

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

第1図はこの発明にかがるセンサ出力モータ装置の一実
施例について各LDUの構成を示すブロック図、第2図
は第1図に示したLDUの構成を更に具体的に例示した
ブロック図、第3図〜第6図はそれぞれ第2図に示した
しDU各部の動作例を示す一タイミングチャート、第7
図はこの発明が適用されるセンサ出力モニタ装置につい
てその構成の概要を示すブロック図である。 10・・・マシンコントローラ、21〜2n・・・セン
サ、3O−CDLI、41〜4n・LDU、50−・・
通信媒体、401・・・IDコード発生回路、402゜
410・・・ゲートバッファ、403・・・FIFOバ
ッフ1.404・・・P/S変換回路、405・・・オ
ア回路、406・・・送信回路、407・・・受信回路
、408・・・切換回路、409・・・S/P変換回路
。 第4図
FIG. 1 is a block diagram showing the configuration of each LDU in an embodiment of the sensor output motor device according to the present invention, and FIG. 2 is a block diagram illustrating the configuration of the LDU shown in FIG. 1 in more detail. , FIGS. 3 to 6 are a timing chart showing an example of the operation of each part of the DU shown in FIG. 2, and FIG.
The figure is a block diagram showing an outline of the configuration of a sensor output monitoring device to which the present invention is applied. 10... Machine controller, 21-2n... Sensor, 3O-CDLI, 41-4n LDU, 50-...
Communication medium, 401... ID code generation circuit, 402° 410... Gate buffer, 403... FIFO buffer 1.404... P/S conversion circuit, 405... OR circuit, 406... Transmission circuit, 407...Reception circuit, 408...Switching circuit, 409...S/P conversion circuit. Figure 4

Claims (3)

【特許請求の範囲】[Claims] (1)複数のセンサのセンサ出力を1つの中央処理装置
に転送してこれを集中モニタするにあたり、前記複数の
センサの各々に対応して、各対応するセンサ出力を中継
処理する周辺処理装置を設けるとともに、前記中央処理
装置を介してこれら周辺処理装置を環状に直列接続し、
各センサ出力をこれら環状直列接続した周辺処理装置を
介して順に中央処理装置へ転送するようにしたセンサ出
力モニタ方法において、 前記各周辺処理装置に各々を特定するための識別コード
を割り当て、いずれかのセンサからセンサ出力が生じた
ときのみ、その対応する周辺処理装置の識別コードおよ
び当該センサ出力を前記中央処理装置へ非同期にて転送
するようにしたことを特徴とするセンサ出力モニタ方法
(1) When transferring the sensor outputs of multiple sensors to one central processing unit and centrally monitoring them, a peripheral processing unit that relays and processes each corresponding sensor output is provided for each of the multiple sensors. and connecting these peripheral processing devices in series in an annular manner via the central processing device,
In a sensor output monitoring method in which each sensor output is sequentially transferred to a central processing unit via peripheral processing units connected in series in a ring, an identification code is assigned to each of the peripheral processing units to identify each one; A sensor output monitoring method characterized in that only when a sensor output is generated from the sensor, the identification code of the corresponding peripheral processing device and the sensor output are asynchronously transferred to the central processing unit.
(2)前記転送の途上に生じたセンサ出力については、
これを該当する周辺処理装置内で所定に順位付けして次
段へ転送する特許請求の範囲第(1)項記載のセンサ出
力モニタ方法。
(2) Regarding the sensor output generated during the transfer,
The sensor output monitoring method according to claim 1, wherein the sensor output is ranked in a predetermined order within the relevant peripheral processing device and transferred to the next stage.
(3)複数のセンサのセンサ出力を1つの中央処理装置
に転送してこれを集中モニタするにあたり、各々信号の
送信手段および受信手段を有してセンサ出力を中継処理
する周辺処理装置を前記複数のセンサの各々に対応して
設け、前記中央処理装置を介してこれら周辺処理装置を
環状に直列接続したセンサ出力モニタ装置において、 前記周辺処理装置の各々に、 前記中央処理装置に自周辺処理装置を特定せしめるべく
予め割り付けられた識別コードを発生する識別コード発
生手段と、 対応するセンサからセンサ出力があったことを条件に開
となって該センサ出力と前記発生された識別コードとを
所定の形態で併せ出力するゲート手段と、 この出力されたセンサ出力および識別コードを一時貯蔵
しつつこれを前記送信手段へ出力するバッファ手段と、 前記受信手段に前段周辺処理装置からの信号伝送があっ
たとき、前記バッファ手段に貯蔵中の信号が無ければ該
伝送信号を前記送信手段へ出力し、前記バッファ手段に
貯蔵中の信号が有れば同伝送信号を前記バッファ手段へ
出力する切換手段とを具えたことを特徴とするセンサ出
力モニタ装置。
(3) When transmitting the sensor outputs of a plurality of sensors to one central processing unit and centrally monitoring the same, the plurality of peripheral processing units each have a signal transmitting means and a receiving means and relay processing of the sensor outputs. In the sensor output monitor device, which is provided corresponding to each of the sensors, and in which these peripheral processing devices are connected in series in a ring shape via the central processing device, each of the peripheral processing devices has its own peripheral processing device connected to the central processing device. an identification code generation means for generating an identification code assigned in advance to identify the sensor; a buffer means for temporarily storing the output sensor output and the identification code and outputting them to the transmitting means; and a signal transmission from the preceding peripheral processing device to the receiving means. switching means for outputting the transmission signal to the transmission means if there is no signal stored in the buffer means, and outputting the transmission signal to the buffer means if there is a signal stored in the buffer means; A sensor output monitoring device characterized by:
JP62278965A 1987-11-04 1987-11-04 Method and equipment for monitoring sensor output Pending JPH01120994A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62278965A JPH01120994A (en) 1987-11-04 1987-11-04 Method and equipment for monitoring sensor output

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62278965A JPH01120994A (en) 1987-11-04 1987-11-04 Method and equipment for monitoring sensor output

Publications (1)

Publication Number Publication Date
JPH01120994A true JPH01120994A (en) 1989-05-12

Family

ID=17604536

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62278965A Pending JPH01120994A (en) 1987-11-04 1987-11-04 Method and equipment for monitoring sensor output

Country Status (1)

Country Link
JP (1) JPH01120994A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015219916A (en) * 2014-05-16 2015-12-07 イーエム・ミクロエレクトロニク−マリン・エス アー Operating fifo memory

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015219916A (en) * 2014-05-16 2015-12-07 イーエム・ミクロエレクトロニク−マリン・エス アー Operating fifo memory

Similar Documents

Publication Publication Date Title
US4843539A (en) Information transfer system for transferring binary information
US4750150A (en) I/O scanner for an industrial control
US4577317A (en) Method for extending a parallel data bus
CA1228168A (en) I/o scanner for an industrial control
EP0332199B1 (en) Transmission line switching system
EP0253381B1 (en) Data transfer apparatus
US5163056A (en) Apparatus for carrying out serial control
US4967409A (en) Network system of programmable controllers
JPH01120994A (en) Method and equipment for monitoring sensor output
JPH04286239A (en) Communication equipment
JPS59126351A (en) Remote supervisory and controlling system
US5398240A (en) Multiplex transmission apparatus and multiplex transmission method
EP1324521B1 (en) Data communication apparatus with distributed traffic protection switching system
JPS63263996A (en) Multiple data link
JP2905495B2 (en) Load control system
EP0390920B1 (en) Series controller
JPH03237597A (en) Sensor identification system
US5912629A (en) Subscriber interface control method
JPH0338135A (en) Loop optical transmission system
KR0182643B1 (en) Uni global bus compatible apparatus
KR100192523B1 (en) Facsimile and message transmission method
JP2677231B2 (en) Loop bus exchange method
US20040225615A1 (en) Method and data processing system for transmitting data via a data transmission unit
JPS6121650A (en) Data terminal connection control system of automatic exchange
JPH1094076A (en) Remote supervisory and controlling system