JPH0547143B2 - - Google Patents

Info

Publication number
JPH0547143B2
JPH0547143B2 JP61086039A JP8603986A JPH0547143B2 JP H0547143 B2 JPH0547143 B2 JP H0547143B2 JP 61086039 A JP61086039 A JP 61086039A JP 8603986 A JP8603986 A JP 8603986A JP H0547143 B2 JPH0547143 B2 JP H0547143B2
Authority
JP
Japan
Prior art keywords
station
slave
message
master station
communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP61086039A
Other languages
Japanese (ja)
Other versions
JPS62243442A (en
Inventor
Motohiro Kaga
Masato Hashimoto
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP61086039A priority Critical patent/JPS62243442A/en
Publication of JPS62243442A publication Critical patent/JPS62243442A/en
Publication of JPH0547143B2 publication Critical patent/JPH0547143B2/ja
Granted legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/7072Electromobility specific charging systems or methods for batteries, ultracapacitors, supercapacitors or double-layer capacitors

Landscapes

  • Small-Scale Networks (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、ループ状に接続された複数台のプ
ログラマブルコントローラで構成されたデータ伝
送システムにおける伝送制御方式に関するもので
ある。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to a transmission control method in a data transmission system composed of a plurality of programmable controllers connected in a loop.

〔従来の技術〕[Conventional technology]

第4図は従来のデータ伝送システムにおける伝
送制御方式を説明するための概略構成図であり、
図において11はプログラマコントローラよりな
る親局、12は同様にプログラマブルコントロー
ラよりなり、伝送路13によつて前記親局11に
ループ状に接続された子局であり、各子局12に
はメツセージの伝送方向に従つて、1、2、3…
m、…nの局番が付けられている。また、14は
親局11からのメツセージの流れを示す線、15
は局番mの子局12からのメツセージの流れを示
す線である。
FIG. 4 is a schematic configuration diagram for explaining a transmission control method in a conventional data transmission system.
In the figure, reference numeral 11 indicates a master station consisting of a programmer controller, and reference numeral 12 indicates a slave station which also consists of a programmable controller and is connected to the master station 11 in a loop through a transmission path 13. Each slave station 12 receives messages. According to the transmission direction, 1, 2, 3...
Station numbers m, . . . n are assigned. Further, 14 is a line indicating the flow of messages from the master station 11, and 15 is a line indicating the flow of messages from the master station 11.
is a line showing the flow of messages from the slave station 12 with station number m.

次に動作について説明する。このデータ伝送シ
ステムの伝送制御方式において、データ伝送はポ
ーリング方式で行なわれるものであり、第5図は
そのメツセージの送信タイミングを示すタイムチ
ヤートである。第5図に示すように、データの伝
送は、まず、親局11のメツセージの送信からは
じまる。親局11からのメツセージは第4図の線
14で示される通り、伝送路13によつて局番1
の子局12に送られ、ここで受信、中継されて局
番2の子局12へ送られる。以下同様に受信、中
継されて、最後の局番nの子局12より親局11
に戻され、ここで消滅する。この親局11のメツ
セージのフオーマツトは例えば第6図に示す如く
構成されている。同図において、16は開始フラ
グ、17は送信先の局番、18は送信データ、1
9はフレームチエツクシーケンス、20は終了フ
ラグである。各子局12はこの送信先の局番17
によつてそのメツセージが自局宛のものかどうか
判断する。親局11よりのメツセージにより指定
された子局12は受信したデータを処理して、そ
れに応じてメツセージを伝送路13へ送出する。
Next, the operation will be explained. In the transmission control method of this data transmission system, data transmission is performed by a polling method, and FIG. 5 is a time chart showing the message transmission timing. As shown in FIG. 5, data transmission begins with the master station 11 sending a message. As shown by line 14 in FIG.
It is sent to the slave station 12 with station number 2, where it is received, relayed, and sent to the slave station 12 with station number 2. Thereafter, it is received and relayed in the same way, and from the slave station 12 of the last station number n to the master station 11.
It is returned to , and disappears here. The message format of the master station 11 is structured as shown in FIG. 6, for example. In the figure, 16 is a start flag, 17 is a transmission destination station number, 18 is transmission data, 1
9 is a frame check sequence, and 20 is an end flag. Each slave station 12 has the station number 17 of this transmission destination.
determine whether the message is addressed to its own station. The slave station 12 designated by the message from the master station 11 processes the received data and sends the message to the transmission path 13 accordingly.

この親局11と各子局12との交信は局番1の
子局12から局番nの子局12まで順番にサイク
リツクに行なわれる。その様子は第5図にCで示
されている。このサイクリツクな交信中に子局1
2から送信されるメツセージは、第4図に線15
で示す如く、その子局12より老番の子局12で
のみ受信、中継されて、親局11に達して受信さ
れると消滅する。このサイクリツクな交信は、最
老番である局番nの子局12との交信が終ると、
第5図に示すように、最若番の局番1の子局12
から再び繰返されるものであり、これによつてデ
ータ伝送を実現している。
Communication between the master station 11 and each slave station 12 is performed cyclically in order from the slave station 12 with station number 1 to the slave station 12 with station number n. This situation is shown by C in FIG. During this cyclic communication, slave station 1
The message sent from 2 is shown on line 15 in Figure 4.
As shown, the signal is received and relayed only by the child stations 12 with older numbers than the child station 12, and disappears when it reaches the master station 11 and is received. This cyclic communication ends when communication with the slave station 12 with station number n, which is the oldest number, is completed.
As shown in FIG. 5, the slave station 12 with the lowest station number 1
This process is repeated again from the beginning, thereby realizing data transmission.

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

従来のプログラマブルコントローラによるデー
タ伝送システムの伝送制御方式は上記のように構
成されているので、子局は、自局より老番の子局
に対しては直接データを伝送することが可能であ
つても、自局より若番の子局に対しては直接デー
タを伝送することができず、子局相互のデータ伝
送の効率が悪くなるという問題点があつた。
Since the transmission control method of a conventional data transmission system using a programmable controller is configured as described above, a slave station can directly transmit data to a slave station with an older number than its own station. However, there was a problem in that data could not be directly transmitted to a slave station with a lower number than the own station, and the efficiency of data transmission between the slave stations deteriorated.

この発明は上記のような問題点を解消するため
になされたもので、子局相互間でのデータ伝送効
率の良い伝送制御方式を得ることを目的とする。
The present invention has been made to solve the above-mentioned problems, and an object of the present invention is to obtain a transmission control system with high data transmission efficiency between slave stations.

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

この発明に係る伝送制御方式は、子局相互の交
信が必要になつた場合には、送信側の子局よりの
要求によつて親局がサイクリツクな交信の区切り
の部分に子局相互の交信のための時間帯を設定し
て、この時間帯においては、親局も最老番の子局
から送られてくるメツセージを最若番の子局へ中
継するものである。
In the transmission control system according to the present invention, when communication between slave stations becomes necessary, the master station performs communication between the slave stations at the break point of cyclic communication in response to a request from the slave station on the transmitting side. During this time period, the master station also relays messages sent from the oldest numbered slave station to the youngest numbered slave station.

〔作用〕[Effect]

この発明における伝送制御方式は、子局相互の
交信のための時間帯を設定して、この時間帯にお
いては、親局も受信したメツセージを次の子局へ
中継することにより、メツセージが親局で消滅し
ないようにし、子局のメツセージも他の全ての局
で受信することを可能にする。
The transmission control method of the present invention sets a time period for mutual communication between slave stations, and during this time period, messages received by the master station are relayed to the next slave station. Messages from slave stations can be received by all other stations.

〔実施例〕〔Example〕

以下、この発明の一実施例を図面について説明
する。第1図において、11は親局、12は子
局、13は伝送路、14,15はサイクリツクな
交信における親局11あるいは子局12からのメ
ツセージの流れを示す線で、これらは第4図に示
されている従来の対応するものと同様のものであ
り、21は子局相互の交信のためのメツセージの
流れを示す線である。
An embodiment of the present invention will be described below with reference to the drawings. In FIG. 1, 11 is a master station, 12 is a slave station, 13 is a transmission line, and 14 and 15 are lines showing the flow of messages from the master station 11 or slave station 12 in cyclic communication. 21 is a line showing the flow of messages for communication between slave stations.

次に動作について説明する。第2図はこの伝送
制御方式におけるメツセージの送信タイミングを
示すタイムチヤートである。同図にCで示される
サイクリツクな交信期間においては従来の場合と
同様に処理が進行する。このとき子局12から親
局11へ送られるメツセージには、子局11相互
の交信の要求を表示する特定ビツト22が含まれ
ている。第3図はこの子局12から親局11へ送
られるメツセージの一例を示すフオーマツト構成
図である。
Next, the operation will be explained. FIG. 2 is a time chart showing message transmission timing in this transmission control system. During the cyclic communication period indicated by C in the figure, processing proceeds in the same manner as in the conventional case. At this time, the message sent from the slave station 12 to the master station 11 includes a specific bit 22 indicating a request for communication between the slave stations 11. FIG. 3 is a format diagram showing an example of a message sent from the slave station 12 to the master station 11.

前述のサイクリツクな交信において、親局11
からのメツセージで指定された子局12が、他の
子局12へ直接データを送る必要性が生じた場
合、親局11へ向けて送信するメツセージの特定
ビツト22をセツトする。親局11はこのセツト
された特定ビツト22を検出すると、サイクリツ
クな交信における最後の子局との交信を終えた
後、次のサイクリツクな交信に入る前に、第2図
にTで示す子局相互で交信するための時間帯を設
定し、前述の特定ビツト22をセツトしたメツセ
ージを送つて来た子局12にメツセージを送信さ
せる。この時、前記子局12より送信されるメツ
セージには、そのメツセージがどの子局12へ宛
てたものであるかを示す送信先の局番等の情報が
含まれている。
In the above-mentioned cyclic communication, the master station 11
When the slave station 12 specified by the message from the master station 12 needs to send data directly to another slave station 12, it sets the specific bit 22 of the message to be sent to the master station 11. When the master station 11 detects this set specific bit 22, after completing the communication with the last slave station in the cyclic communication, and before starting the next cyclic communication, the master station 11 sends the slave station indicated by T in FIG. A time slot for mutual communication is set, and the slave station 12 that sent the message with the aforementioned specific bit 22 set is caused to transmit the message. At this time, the message transmitted from the slave station 12 includes information such as the destination station number indicating which slave station 12 the message is addressed to.

この子局12より送出されたメツセージは、第
1図の線21で示すように、最老番である局番n
の子局12から親局11へ達して受信されても消
滅することなく、親局11より最若番である局番
1の子局12へ中継され、全ての子局12で受
信、中継されて、送信した子局12まで戻り消滅
する。この間に前記メツセージで指定された子局
12は受信したデータの処理を行なう。第2図に
Tで示す子局相互で交信するための時間帯におけ
る前述の過程全てが終了すると、親局11はメツ
セージの送信を再開してサイクリツクな交信の過
程に戻る。以上の各過程を繰返して実行し、子局
相互の直接的な交信を含むデータ伝送を実現して
いる。
As shown by line 21 in FIG. 1, the message sent from this slave station 12 is transmitted to
Even if it reaches the master station 11 from the slave station 12 and is received, it is not deleted, but is relayed from the master station 11 to the slave station 12 with the lowest station number 1, and is received and relayed by all the slave stations 12. , returns to the transmitting slave station 12 and disappears. During this time, the slave station 12 designated by the message processes the received data. When all of the above-mentioned processes in the time period for mutual communication between slave stations indicated by T in FIG. 2 are completed, the master station 11 resumes message transmission and returns to the process of cyclic communication. The above steps are repeated to realize data transmission including direct communication between slave stations.

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

以上のように、この発明によれば子局相互の交
信のための時間帯を設定して、この時間帯におい
ては親局もメツセージを次の子局へ中継するよう
に構成したので、メツセージが親局で受信された
時点で消滅するようなことがなくなり、子局のメ
ツセージでも他の全ての局で受信することが可能
となるため、子局相互間でのデータ伝送効率が良
い、プログラマブルコントローラで構成されたデ
ータ伝送システムの伝送制御方式が得られるとい
う効果がある。
As described above, according to the present invention, a time period is set for mutual communication between slave stations, and the master station is configured to relay messages to the next slave station during this time period, so that the message is not transmitted. A programmable controller that improves the efficiency of data transmission between slave stations because messages from a slave station are no longer deleted when they are received by the master station and can be received by all other stations. This has the effect of providing a transmission control method for a data transmission system configured with the following.

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

第1図はこの発明の一実施例によるデータ伝送
システムにおける伝送制御方式を説明するための
概略構成図、第2図はそのメツセージの送信タイ
ミングを示すタイムチヤート、第3図はそのメツ
セージの一例を示すフオーマツト構成図、第4図
は従来のデータ伝送システムにおける伝送制御方
式を説明するための概略構成図、第5図はそのメ
ツセージの送信タイミングを示すタイムチヤー
ト、第6図はそのメツセージの一例を示すフオー
マツト構成図である。 11は親局、12は子局、13は伝送路、22
は子局相互の交信を要求する特定の情報(特定ビ
ツト)、Cはサイクリツクな交信の期間、Tは子
局相互の交信のための時間帯。
Fig. 1 is a schematic configuration diagram for explaining a transmission control method in a data transmission system according to an embodiment of the present invention, Fig. 2 is a time chart showing the transmission timing of the message, and Fig. 3 is an example of the message. 4 is a schematic configuration diagram for explaining the transmission control method in a conventional data transmission system, FIG. 5 is a time chart showing the transmission timing of the message, and FIG. 6 is an example of the message. FIG. 11 is a master station, 12 is a slave station, 13 is a transmission path, 22
is specific information (specific bit) requesting communication between the slave stations, C is the period of cyclic communication, and T is the time period for communication between the slave stations.

Claims (1)

【特許請求の範囲】[Claims] 1 親局としての1台のプログラマブルコントロ
ーラと子局としての複数台のプログラマブルコン
トローラがループ状に接続され、前記親局と子局
間でサイクリツクな交信をする際、メツセージが
このループ状に接続されている前記親局と子局と
の間を所定の方向に順次受信中継され、該メツセ
ージが前記親局に到達した時点で前記サイクリツ
クな交信が終了する伝送制御方式において、前記
親局からのメツセージで指定された子局が、他の
子局へ直接データを送る必要が生じた場合、メツ
セージを送信した子局に該メツセージが戻つてく
るまで該メツセージが消滅しないようにすべく、
前記指定された子局がメツセージ内に子局相互の
交信を要求する特定の情報を設定して送信し、該
メツセージを受信した前記親局は、前記サイクリ
ツクな交信が終了した後、次のサイクリツクな交
信を始めるまでの間に子局相互の交信のための時
間帯を設定し、この設定時間においては、前記親
局は送られてくるメツセージを次の子局へ中継す
ることを特徴とする伝送制御方式。
1 One programmable controller as a master station and a plurality of programmable controllers as slave stations are connected in a loop, and when cyclic communication is performed between the master station and slave stations, messages are connected in this loop. In a transmission control method, a message from the master station is sequentially received and relayed in a predetermined direction between the master station and the slave station, and the cyclic communication ends when the message reaches the master station. When the specified slave station needs to send data directly to another slave station, in order to prevent the message from disappearing until the message is returned to the slave station that sent the message,
The specified slave station sets and transmits specific information requesting communication between the slave stations in a message, and the master station that receives the message starts the next cyclic communication after the cyclic communication is completed. The main station is characterized in that a time period for mutual communication between the slave stations is set before the start of communication, and during this set time, the master station relays messages sent to the next slave station. Transmission control method.
JP61086039A 1986-04-16 1986-04-16 Transmission control system Granted JPS62243442A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61086039A JPS62243442A (en) 1986-04-16 1986-04-16 Transmission control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61086039A JPS62243442A (en) 1986-04-16 1986-04-16 Transmission control system

Publications (2)

Publication Number Publication Date
JPS62243442A JPS62243442A (en) 1987-10-23
JPH0547143B2 true JPH0547143B2 (en) 1993-07-15

Family

ID=13875531

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61086039A Granted JPS62243442A (en) 1986-04-16 1986-04-16 Transmission control system

Country Status (1)

Country Link
JP (1) JPS62243442A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2531244B2 (en) * 1988-07-04 1996-09-04 株式会社明電舎 Information transmission device

Also Published As

Publication number Publication date
JPS62243442A (en) 1987-10-23

Similar Documents

Publication Publication Date Title
EP0268664B1 (en) A method of coupling a data transmitter unit to a signal line and an apparatus for performing the invention
JPH0547143B2 (en)
JP2835137B2 (en) Response system in wireless broadcast system
JP3761129B2 (en) Transmission control method and transmission control system for data link system of programmable controller
JPS586636A (en) Data transmission system of remote monitoring controller
JPH0343657B2 (en)
JP2772263B2 (en) Broadcast data transfer method
JPH01220544A (en) Cyclic transmission system
JPH0234500B2 (en)
JPS6358498B2 (en)
JP2000004246A (en) Supervisory and control method for communication equipment
JPH0523647U (en) Broadcast communication device
JPS58204656A (en) Data transmitting system
JP3015963U (en) LCR data download system
JP2001016233A (en) Data communication method
JPH0244179B2 (en)
JPH07131467A (en) Polling resending device
JPH03143047A (en) Communication control system
JPH02217039A (en) Poling/selecting control procedure system
JPS6332317B2 (en)
JPH04318724A (en) Transmission control system
JPS6013235B2 (en) Method and device for controlling multiple telemeter systems using a single radio frequency
JPH0482440A (en) Multiplex link data transfer system
JPH0793751B2 (en) Data processing control method
JPH10215268A (en) Data transmission system

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term