JPH0946366A - Data communication method - Google Patents
Data communication methodInfo
- Publication number
- JPH0946366A JPH0946366A JP7189917A JP18991795A JPH0946366A JP H0946366 A JPH0946366 A JP H0946366A JP 7189917 A JP7189917 A JP 7189917A JP 18991795 A JP18991795 A JP 18991795A JP H0946366 A JPH0946366 A JP H0946366A
- Authority
- JP
- Japan
- Prior art keywords
- node
- loop
- nodes
- master unit
- master
- 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
Links
Landscapes
- Small-Scale Networks (AREA)
Abstract
(57)【要約】
【課題】 マスタユニットを増加することなく、回線断
でもマスタユニットと子局側の各ノードとの通信を確保
する。
【解決手段】 子局側のノードを2つのグループ2
0-1、…、20-4と20-5、…、20-8に分けて、グル
ープ毎にループ接続して2つのループ21-1、21-2と
する一方、2つのノード12、13を有する1個のマス
タユニット10を備え、ノード12にループ21-1、2
1-2の一方の端のノード20-1、20-5を接続し、ルー
プ13にループ21-1、21-2の他方の端のノード20
-1、20-5を接続、つまりマルチドロップ的に接続す
る。いずれかのループで回線断が生じた場合、ノード1
2、13を交互に起動・停止する。このとき、断線のあ
るループでは、一方向と逆方向からの通信が行われる。
(57) [Abstract] [PROBLEMS] To secure communication between the master unit and each node on the slave station side even when the line is disconnected without increasing the master unit. SOLUTION: A node on the side of a slave station has two groups 2
0 -1 , ..., 20 -4 and 20 -5 , ..., 20 -8 are divided into two loops 21 -1 , 21 -2 for each group, while two nodes 12, 13 are provided. With one master unit 10 having a loop 21 -1 , 2,
1 one node of the edge 20 -1 -2, connect the 20 -5, the loop 21 -1, 21 -2 other node end 20 to the loop 13
-1 , 20 -5 are connected, that is, they are connected in a multi-drop manner. If the circuit breaks in any loop, node 1
Start and stop 2 and 13 alternately. At this time, in the loop with the disconnection, communication is performed from one direction and the opposite direction.
Description
【0001】[0001]
【発明の属する技術分野】この発明は、親局と子局とし
ての複数のノードとの間のデータ通信方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data communication method between a master station and a plurality of nodes as slave stations.
【0002】[0002]
【従来の技術】親局(マスタユニット)と、子局として
の複数のノードとの間の通信方法の1つとして、非ルー
プのネットワークを使用する通信方法がある。この非ル
ープ接続のネットワークは、図2に示すように、マスタ
CPU11と、1個のノード12を備えるマスタユニッ
ト10と、子局としてのノード20が複数個ずつ縦続接
続されて、それぞれの縦続接続がマスタユニット10の
ノード12にマルチドロップ的に接続されたものがあ
る。図2でノード20-1とノード20-2、ノード20-4
とノード20-3、ノード20-5とノード20-6、ノード
20-8とノード20 -7が、それぞれ縦続接続されてい
る。各ノード20-1、…、20-8の内部回路接続は、図
5に示す通りである。2. Description of the Related Art As a master station and a slave station
One of the communication methods between multiple nodes in
There is a communication method that uses a network. This non-le
As shown in Fig. 2, the master connection network is a master
A master unit including a CPU 11 and one node 12
10 and multiple nodes 20 as slave stations are connected in cascade.
Each of the cascade connections of the master unit 10
There is a multi-drop connection to node 12.
You. Node 20 in FIG.-1And node 20-2, Node 20-Four
And node 20-3, Node 20-FiveAnd node 20-6,node
20-8And node 20 -7Are connected in cascade.
You. Each node 20-1, ..., 20-8Internal circuit connection of the figure
As shown in FIG.
【0003】また、従来の親局と複数の子局(ノード)
間の通信方法の他の例として、複数のノードをループ接
続したネットワークを使用する通信方法がある。このル
ープ接続のネットワークは、図3に示すように、マスタ
ユニット10に、2個のノード12、13を備え、この
ノード12、13を両端として、ノード20-1、…、2
0-8を縦続して、ループ状に接続するものである。この
ネットワークによる通信では、ループのどこかで断線を
生じてもノード12とノード13から通信方向を変える
ことによって、マスタユニット10は、全ノード2
0-1、…、20-8と通信することができる。A conventional master station and a plurality of slave stations (nodes)
As another example of the communication method between the nodes, there is a communication method using a network in which a plurality of nodes are connected in a loop. As shown in FIG. 3, the network of this loop connection is provided with two nodes 12 and 13 in the master unit 10, and the nodes 20 -1 , ..., 2 with the nodes 12 and 13 as both ends.
0-8 are cascaded and connected in a loop. In the communication by this network, even if a disconnection occurs somewhere in the loop, by changing the communication direction from the node 12 and the node 13, the master unit 10 becomes
It is possible to communicate with 0 -1 , ..., 20 -8 .
【0004】図4は、図3のネットワークにおいて、1
ループ当りのノード数を減らし、2個(複数)のマスタ
ユニット10-1、10-2を備えている。ここでは、マス
タユニット11-1のノード12-1、13-1に、ノード2
0-1、20-2、…、20-4を縦続してループ接続したそ
の両端が接続され、マスタユニット11-2のノード12
-2、13-2にも同様に、ノード20-5、20-6、…、2
0-8がループ接続され、その両端が接続されている。FIG. 4 is a block diagram of the network of FIG.
The number of nodes per loop is reduced, and two (plural) master units 10 -1 , 10 -2 are provided. In this example, the nodes 12 -1 , 13 -1 of the master unit 11 -1 are connected to the node 2
0 -1 , 20 -2 , ..., 20 -4 are cascaded in a loop and both ends thereof are connected, and the node 12 of the master unit 11 -2 is connected.
-2 , 13 -2 , similarly, nodes 20 -5 , 20 -6 , ..., 2
0-8 is connected in a loop and both ends thereof are connected.
【0005】[0005]
【発明が解決しようとする課題】上記した従来の通信方
法のうち、図2のように、非ループ接続のネットワーク
を使用する方法では、回線が断線した場合、末端側のノ
ードとの通信を全く行うことができない。また、図3に
示すように、全ノードをループ接続してマスタユニット
に接続するネットワークを使用する方法では、一箇所で
回線が断しても、ループ内の伝送方向を交互とすること
により、全ノードと通信できるが、2箇所以上断する
と、その断箇所の間のノードは全く通信不能となる。さ
らに、図4に示すネットワークでは、1ループ当りのノ
ード数を少なくしているので、回線の断線の危険を分散
させている。Among the conventional communication methods described above, in the method using a non-loop connection network as shown in FIG. 2, when the line is broken, communication with the node on the end side is completely eliminated. I can't do it. Further, as shown in FIG. 3, in the method of using a network in which all nodes are connected in a loop and connected to the master unit, even if the line is disconnected at one place, the transmission directions in the loop are alternated, All nodes can communicate with each other, but if there are two or more disconnections, the nodes between the disconnections cannot communicate at all. Furthermore, in the network shown in FIG. 4, since the number of nodes per loop is reduced, the risk of line disconnection is distributed.
【0006】しかし、この通信方法は、ループが増加す
る分、マスタユニットが必要となり、コストアップをま
ねくおそれがある。この発明は上記問題点に着目してな
されたものであって、マスタユニットは増加させること
なく、それでいて回線に断線が生じても、マスタユニッ
トと子局側の各ノードとの通信を確保し得るデータ通信
方法を提供することを目的としている。However, this communication method requires a master unit because of the increased number of loops, which may increase the cost. The present invention has been made in view of the above problems, and it is possible to secure communication between the master unit and each node on the slave station side without increasing the master unit, and even if the line is disconnected. It is intended to provide a data communication method.
【0007】[0007]
【課題を解決するための手段】この発明のデータ通信方
法は、親局と、子局としての複数のノードとのデータ通
信方法であって、親局に2個のノードを設け、子局側は
複数のノードを1ループとする複数のループをマルチド
ロップ的に親局に接続し、前記親局の一方のノードの接
続端は、前記各ループの一端のノードに接続し、前記親
局の他方のノードの接続端は、前記各ループの他方端の
ノードに接続し、常時は、親局のいずれかのノードと子
局側の各ノードとで通信を行い、ループで回線断が生じ
たときに、前記親局の2個のノードを交互に選択して子
局側の各ノードと通信を行うようにしている。A data communication method of the present invention is a data communication method between a master station and a plurality of nodes as slave stations, wherein the master station is provided with two nodes and the slave station side Is connected to the master station in a multi-drop manner with a plurality of loops having a plurality of nodes as one loop, and a connection end of one node of the master station is connected to a node at one end of each of the loops. The connection end of the other node is connected to the node at the other end of each loop, and at any time, one node of the master station and each node on the slave station side communicate with each other, and a line disconnection occurs in the loop. At this time, two nodes of the master station are alternately selected to communicate with each node on the slave station side.
【0008】[0008]
【発明の実施の形態】以下、実施の形態により、この発
明をさらに詳細に説明する。図1は、この発明の実施の
形態例を示すネットワークのブロック図である。このネ
ットワークは、上位CPU1と、マスタユニット10
と、子局としての複数個のノード20-1、20-2、…、
20-8を備えている。もっとも、通信ネットワークとし
てのこれら基本構成は、図2、図3、図4に示すものと
同様である。このネットワークの特徴は、先ず、マスタ
ユニット10は1個であり、かつ、マスタユニット10
に2つのノード12、13を備えていること。子局とし
てのノードは、ノード20 -1、…、20-4とノード20
-5、…、20-8の2つのグループに分けられ、各グルー
プ毎に縦続接続されている。つまり、ループ接続されて
いること。ノード12の送信出力端と受信入力端に接続
される回線14-1、14-2と、ノード13の送信出力端
と受信入力端に接続される回線14-3、14-4を備える
こと。2つのループの一端のノード20-1とノード20
-5の受信入力端R1が、回線14-1を介してノード12
の送信出力端Tに、ノード20-1とノード20-5の送信
出力端T1が、回線14-2を介してノード12の受信入
力端Rに、それぞれ接続されていること。また、2つの
ループの他端のノード20-4とノード20-8の受信入力
端R2が、回線14-3を介してノード13の送信出力端
Tに接続され、ノード20-4、ノード20-8の送信出力
端T2が、回線14-4を介してノード13の受信入力端
に接続されていることである。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
The light will be described in more detail. FIG. 1 shows the implementation of the present invention.
It is a block diagram of the network which shows a form example. This one
Network, the master CPU 10 and the master unit 10
And a plurality of nodes 20 as slave stations-1, 20-2, ...
20-8It has. However, as a communication network
These basic configurations are as shown in FIGS. 2, 3 and 4.
The same is true. The feature of this network is that the master
The number of units 10 is one, and the master unit 10
Must have two nodes 12 and 13. As a child station
All nodes are node 20 -1, ..., 20-FourAnd node 20
-Five, ..., 20-8Are divided into two groups, each glue
Are connected in cascade. That is, looped
That you are. Connect to the transmission output end and the reception input end of the node 12
Line 14-1, 14-2And the transmission output end of the node 13
And line 14 connected to the receiving input end-3, 14-FourEquipped with
thing. Node 20 at one end of the two loops-1And node 20
-FiveThe receiving input terminal R1 of the-1Through node 12
At the transmission output end T of the node 20-1And node 20-FiveSend of
The output terminal T1 is the line 14-2Reception of node 12 via
Must be connected to each force end R. Also two
Node 20 at the other end of the loop-FourAnd node 20-8Receive input of
End R2 is line 14-3Output terminal of the node 13 via
Connected to T, node 20-Four, Node 20-8Transmission output of
End T2 is line 14-FourThrough the receiving input terminal of the node 13
Is connected to.
【0009】子局側の各ノード20-1、…、20-8の内
部回路は、図5に示した通りであり、左回りで送られて
来るデータは、受信入力端R1より、自身のCPUへ取
り込まれ、あるいは送信出力端T2を経て、左回りで次
のノードに出力される。右回りで送られて来たデータ
は、受信入力端R2より、自身のCPUに取り込むか、
送信出力端T1より右回りで、次のノードに出力する。The internal circuit of each node 20 -1 , ..., 20 -8 on the slave station side is as shown in FIG. 5, and the data transmitted in the counterclockwise direction is transmitted from the reception input terminal R1 to its own node. It is taken in by the CPU or output to the next node in the counterclockwise direction via the transmission output end T2. The data sent in the clockwise direction is taken into the own CPU from the receiving input terminal R2,
The signal is output in the clockwise direction from the transmission output terminal T1 and is output to the next node.
【0010】この実施の形態のネットワークにおいて、
通常時は、ノード12とノード13を同時に使用せず、
いずれか一方、例えば、ノード12(12-1、12-2)
を動作させる。例えば、マスタユニット10のノード1
2、ノード20-1、ノード20-2、ノード20-3、ノー
ド20-4、マスタユニット10のループでデータ伝送が
行われる。In the network of this embodiment,
Normally, do not use node 12 and node 13 at the same time,
Either one, for example, node 12 (12 -1 , 12 -2 )
To work. For example, the node 1 of the master unit 10
2, node 20 -1, node 20 -2, node 20 -3, node 20 -4, the loop data transmission the master unit 10 is conducted.
【0011】もし、図1に示すノード20-6とノード2
0-7間で、回線の断線を生じた場合を想定する。この場
合、通常時の通信では、ノード12からの伝送の場合、
ノード20-7、ノード20-8が通信不能となる。この通
信不能となったノード番号から断線線域を知る。断線確
認後、ノード12とノード13は交互に起動・停止を行
う。これによって、例えばループ21-2に着目すると、
ノード12→ノード20-5→ノード20-6のルートの通
信と、ノード13→ノード20-8→ノード20 -7のルー
トの通信が行われる。これによって、断線にも関わら
ず、全ノード20 -1、…、20-8のデータをマスタCP
U11に集合できる。If the node 20 shown in FIG.-6And node 2
0-7Assume that a line break occurs between the two. This place
In the normal communication, in the case of transmission from the node 12,
Node 20-7, Node 20-8Will be unable to communicate. This one
Know the broken line area from the node number that cannot be trusted. Probability of disconnection
After that, node 12 and node 13 are started and stopped alternately.
U. Thereby, for example, the loop 21-2Focusing on
Node 12 → node 20-Five→ node 20-6Through the route
Shin, node 13 → node 20-8→ node 20 -7The roux
Communication is performed. With this, even if the wire breaks
No, all nodes 20 -1, ..., 20-8Data of master CP
You can meet at U11.
【0012】このネットワークにおいて、ループ内で2
箇所以上の断線があると、やはり、その間の通信は不能
となるが、このネットワークでは1ループ当りのノード
数を少なくし、複数のループ構成とし、これらループの
ノードをマスタユニット10に対し、マルチドロップ的
に接続しているので、1ループ当りに発生する2箇所以
上の確率が低くなり、全ノードを集合するための安定性
が確保される。2 in the loop in this network
If there are disconnections in more than one place, communication between them will also be impossible. However, in this network, the number of nodes per loop is reduced to form a plurality of loops. Since the connections are made in a drop manner, the probability of two or more locations occurring per loop is reduced, and stability for assembling all nodes is secured.
【0013】[0013]
【発明の効果】この発明によれば、マスタユニットに2
つのノードを備える一方、子局側のノードは、複数のグ
ループに分けて、グループ毎にループ接続し、ループの
一端と他端をマスタユニットの2つのノードの一方と他
方に接続し、かつ各ループはマルチドロップ的に接続す
るので、ループ毎のノード数が少なく、断線が2箇所以
上発生する確率が低くなり、安定な通信が可能であり、
それでいてマスタユニットも1台であるので、設置、構
築が容易であり、かつ経済的である。According to the present invention, the master unit has two units.
On the other hand, the node on the slave station side is divided into a plurality of groups and loop-connected for each group, and one end and the other end of the loop are connected to one and the other of the two nodes of the master unit, and Since the loops are connected in a multi-drop manner, the number of nodes for each loop is small, the probability of disconnection at two or more locations is low, and stable communication is possible.
Still, since there is only one master unit, it is easy to install and construct, and it is economical.
【図1】この発明の実施の一形態を示すネットワークの
ブロック図である。FIG. 1 is a block diagram of a network showing an embodiment of the present invention.
【図2】従来のネットワークの一例を示すブロック図で
ある。FIG. 2 is a block diagram showing an example of a conventional network.
【図3】従来の他のネットワーク例を示すブロック図で
ある。FIG. 3 is a block diagram showing another conventional network example.
【図4】従来のさらに他のネットワーク例を示すブロッ
ク図である。FIG. 4 is a block diagram showing still another conventional network example.
【図5】図1、図2、図3、図4の子局側ノードの内部
接続を示す回路図である。5 is a circuit diagram showing an internal connection of a slave station side node in FIGS. 1, 2, 3, and 4. FIG.
10 マスタユニット 12、13 マスタユニットのノード 20-1、…、20-8 子局としてのノード 21-1、20-2 ループ10 master unit 12, 13 node of master unit 20 -1 , ..., 20 -8 node as slave station 21 -1 , 20 -2 loop
Claims (1)
ータ通信方法であって、 親局に2個のノードを設け、子局側は複数のノードを1
ループとする複数のループをマルチドロップ的に親局に
接続し、前記親局の一方のノードの接続端は、前記各ル
ープの一端のノードに接続し、前記親局の他方のノード
の接続端は、前記各ループの他方端のノードに接続し、
常時は、親局のいずれかのノードと子局側の各ノードと
で通信を行い、ループで回線断が生じたときに、前記親
局の2個のノードを交互に選択して子局側の各ノードと
通信を行うようにしたことを特徴とするデータ通信方
法。1. A data communication method between a master station and a plurality of nodes as slave stations, wherein the master station is provided with two nodes, and the slave station side has a plurality of nodes.
A plurality of loops and loops are connected to the master station in a multi-drop manner, a connection end of one node of the master station is connected to a node at one end of each loop, and a connection end of the other node of the master station. Is connected to the node at the other end of each loop,
At any time, one of the nodes of the master station communicates with each node of the slave station side, and when the line is disconnected in a loop, the two nodes of the master station are alternately selected and the slave station side is selected. A data communication method, characterized in that communication is performed with each node.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7189917A JPH0946366A (en) | 1995-07-26 | 1995-07-26 | Data communication method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7189917A JPH0946366A (en) | 1995-07-26 | 1995-07-26 | Data communication method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0946366A true JPH0946366A (en) | 1997-02-14 |
Family
ID=16249379
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP7189917A Pending JPH0946366A (en) | 1995-07-26 | 1995-07-26 | Data communication method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0946366A (en) |
-
1995
- 1995-07-26 JP JP7189917A patent/JPH0946366A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5235592A (en) | Dynamic switch protocols on a shared medium network | |
| US5018139A (en) | Communication network between user equipment | |
| JPH0638600B2 (en) | Local area network system | |
| JP2003517804A (en) | Four-fiber ring optical cross-connect system using 4 × 4 switch matrix | |
| JPH06237256A (en) | FDDI station bypass device | |
| JPH11507487A (en) | System and method for resolving substantially simultaneous two-way requests for spare capacity | |
| US20040047360A1 (en) | Networked computer system and method using dual bi-directional communication rings | |
| JPH04278739A (en) | Module system active optical fiber coupler unit and its system | |
| JPS58206257A (en) | Loop multiplex transmitting system | |
| US4530089A (en) | Telecommunications digital switchblock utilizing control switch state maps | |
| CN1753336B (en) | Method of improving ring network combination of business restore ability and business protection method | |
| JP2582598B2 (en) | Node device of irregular communication network | |
| Pung et al. | Fibre-optic local-area network with arbitrary topology | |
| EP0166193B1 (en) | Switch configured communication network | |
| JPH0125464B2 (en) | ||
| JPS6245246A (en) | Communication control equipment | |
| Pritty et al. | A new class of high speed LAN access protocols based on the principle of timed packet release | |
| JPH0548633A (en) | Loop type network | |
| JPS589978B2 (en) | Computer network configuration method | |
| JPS60169252A (en) | Network managing system | |
| JP2750314B2 (en) | Non-buffered switching equipment | |
| JP3212365B2 (en) | Inviting Multiplexing Stations in Networks | |
| RU2200344C2 (en) | Method for delaying message block transmission to computer network data bus | |
| JPS62248334A (en) | Constructing method for looped network | |
| JPH0529178B2 (en) |