JP2000227803A - Method and system for controlling transmission in data link system of programmable controller - Google Patents

Method and system for controlling transmission in data link system of programmable controller

Info

Publication number
JP2000227803A
JP2000227803A JP10369512A JP36951298A JP2000227803A JP 2000227803 A JP2000227803 A JP 2000227803A JP 10369512 A JP10369512 A JP 10369512A JP 36951298 A JP36951298 A JP 36951298A JP 2000227803 A JP2000227803 A JP 2000227803A
Authority
JP
Japan
Prior art keywords
station
control information
parameter
slave station
slave
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
JP10369512A
Other languages
Japanese (ja)
Other versions
JP3761129B2 (en
Inventor
Hiroshi Nishiyuki
弘 西雪
Motohiro Kaga
元啓 加賀
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 JP36951298A priority Critical patent/JP3761129B2/en
Publication of JP2000227803A publication Critical patent/JP2000227803A/en
Application granted granted Critical
Publication of JP3761129B2 publication Critical patent/JP3761129B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Communication Control (AREA)
  • Programmable Controllers (AREA)

Abstract

PROBLEM TO BE SOLVED: To shorten time for preparation before starting the data communication of control information. SOLUTION: Before starting the cyclic data communication of the control information, parameter identification data to be changed for every time of parameter transmission are added into a message (e) of a parameter for determining the contents of data communication to be performed to a slave station by a master station, the message is simultaneously transmitted to all the slave stations and the parameter identification data are stored in the respective slave stations. When performing the actual cyclic data communication of the control information, the parameter identification data stored in the slave station are added into a response message (f) of control information to be transmitted from the slave station to the master station, the message is transmitted and the master station checks the parameter identification data in that response message. Thus, the normality/abnormality of the slave station is judged.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、プログラマブル
コントローラのデータリンクシステムの伝送制御方法お
よび伝送制御システムに関し、特に、親局と前記子局と
の間で制御情報をサイクリックにデータ交信するデータ
リンクシステムにおける伝送制御方法および伝送制御シ
ステムに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a transmission control method and a transmission control system for a data link system of a programmable controller, and more particularly to a data link for cyclically exchanging control information between a master station and the slave stations. The present invention relates to a transmission control method and a transmission control system in a system.

【0002】[0002]

【従来の技術】プログラマブルコントローラ(以下、P
Cと称する)のデータリンクシステムは、複数個のPC
が相互に連携を取って制御対象の機械システムの制御を
行なうために、PC内部の制御情報を伝送路によりデー
タ伝送可能に接続されているPC間で相互に情報のやり
とりを行う一つのデータ伝送システムである。
2. Description of the Related Art Programmable controllers (hereinafter referred to as P
C), a plurality of PCs
One data transmission that exchanges information between PCs that are connected to each other so that control information inside the PC can be transmitted via a transmission line in order to control the machine system to be controlled in cooperation with each other System.

【0003】図4は、一般的なPC・データリンクシス
テムの概略を示している。図4において、10はPCの
親局を、20はPCの子局を各々示している。親局1
0、子局20は、各々、同様のPCにより構成され、こ
れらは共通の伝送路30によって双方向に通信可能に接
続されている。一つのデータリンクシステムにおいて、
親局10は一つだけであり、これに対して複数個の子局
20が接続され、各子局20には1、2、3、...n
の各子局固有の局番が付けられている。
FIG. 4 shows an outline of a general PC / data link system. In FIG. 4, reference numeral 10 denotes a master station of the PC, and reference numeral 20 denotes a slave station of the PC. Master station 1
0 and the slave stations 20 are each constituted by a similar PC, and these are connected by a common transmission line 30 so as to be capable of bidirectional communication. In one data link system,
There is only one master station 10, and a plurality of slave stations 20 are connected to the master station 10, and each slave station 20 has 1, 2, 3,. . . n
Of each slave station.

【0004】つぎに、従来のPC・データリンクシステ
ムの動作について説明する。PC・データリンクシステ
ムにおけるデータ伝送はポーリング方式で行われるもの
であり、図5は、そのタイミングチャートである。
Next, the operation of the conventional PC / data link system will be described. Data transmission in the PC / data link system is performed by a polling method, and FIG. 5 is a timing chart thereof.

【0005】親局10は、制御情報のデータ交信を行な
う前に、親局10が子局20に対して行うデータ交信の
内容を決定するため、すなわち、どの様な制御情報を親
局10とやり取りするかを子局20に指示するため、親
局が前記子局に対して行うデータ交信の内容を決定する
ためのメッセージ(パラメータ伝文)aを各子局20に
対して送信する。メッセージaは、図6に示されている
ように、送信先の子局局番と、親局の制御情報を指定す
るパラメータと、送信先の子局局番の制御情報を指定す
るパラメータとにより構成されている。
The master station 10 determines the contents of data communication performed by the master station 10 with respect to the slave station 20 before data communication of control information, that is, what kind of control information is transmitted to the master station 10. A message (parameter message) a for determining the content of the data communication performed by the master station with respect to the slave station is transmitted to each slave station 20 in order to instruct the slave stations 20 to exchange. As shown in FIG. 6, the message a is composed of a destination station number of a transmission destination, a parameter designating control information of a parent station, and a parameter designating control information of a destination station number of a transmission destination. ing.

【0006】従来のPC・データリンクシステムにおい
ては、図5において、符号Pで示されているように、親
局10は、各子局20に対して最若番(局番順)の子局
から順に1局ずつ、メッセージaを送信する。
[0006] In the conventional PC / data link system, as shown by a symbol P in FIG. The message a is transmitted one station at a time.

【0007】メッセージa中の局番で指定された子局2
0は、親局10に対してメッセージa中のパラメータを
取り込んだ旨の応答メッセージ(応答伝文)bを返送す
る。応答メッセージbは、図7に示されているように、
メッセージaによる親局の制御情報を指定するパラメー
タと送信先の子局局番の制御情報を指定するパラメータ
に、応答を行う子局局番を加えた構成となっている。つ
まり、親局10からパラメータとして受信したデータを
そのまま親局に送り返すことで、応答メッセージとして
いる。
The slave station 2 specified by the station number in the message a
0 returns a response message (response message) b indicating that the parameters in the message a have been fetched to the master station 10. The response message b is, as shown in FIG.
The configuration is such that a parameter specifying the control information of the master station by the message a and a parameter specifying the control information of the slave station number of the transmission destination are added to the slave station number which makes a response. In other words, the data received as a parameter from the master station 10 is sent back to the master station as it is, thereby forming a response message.

【0008】親局10は、メッセージの中の送信先子局
局番で指定した子局20からの応答メッセージbを一定
時間待ち、一定時間内に応答があり、且つ子局20に送
信したメッセージaによる親局10の制御情報を指定す
るパラメータおよび送信先の子局局番の制御情報を指定
するパラメータと、子局20からの応答メッセージbに
おける親局の制御情報を指定するパラメータおよび送信
先の子局局番の制御情報を指定するパラメータとが一致
すれば、該当子局20は正常であると判断する。これに
対し、一定時間内に応答がない、あるいは応答メッセー
ジ内のデータが一致しなければ、該当子局20は異常と
判断する。
The master station 10 waits for a certain time a response message b from the slave station 20 designated by the destination slave station number in the message. For specifying the control information of the master station 10 and the parameter for specifying the control information of the slave station number of the transmission destination, the parameter for specifying the control information of the master station in the response message b from the slave station 20, and the child of the transmission destination If the parameter specifying the control information of the station number matches, the corresponding slave station 20 is determined to be normal. On the other hand, if there is no response within a certain period of time, or if the data in the response message does not match, the slave station 20 determines that there is an abnormality.

【0009】親局10は、上述のような正常/異常判定
を全ての子局20に対して順次行い、各子局20の状態
を把握した後に、正常と判断した子局に対してポーリン
グによる制御情報のサイクリックなデータ交信を開始す
る。この様子は図5において、符号Cで示されている。
The master station 10 performs the above-described normal / abnormal judgment for all the slave stations 20 in order, grasps the state of each slave station 20, and polls the slave station determined to be normal by polling. Start cyclic data communication of control information. This is indicated by reference numeral C in FIG.

【0010】親局10は、正常と判断した子局のうち最
若番の子局から順番にメッセージ(制御情報の送信伝
文)cを送信する。メッセージcは図8に示されている
ように、送信先の子局局番と、親局の制御情報とにより
構成されている。
The master station 10 transmits a message (control information transmission message) c in order from the youngest slave station among the slave stations determined to be normal. As shown in FIG. 8, the message c is composed of a slave station number of a transmission destination and control information of a master station.

【0011】メッセージcの中の送信先の子局局番で指
定された子局20はメッセージcの中の親局の制御情報
を取り込み、その後に応答としてメッセージ(制御情報
の応答伝文)dを親局10宛に送信する。メッセージd
は、図9に示されているように、応答を行う子局局番
と、応答を行う子局20の制御情報とにより構成されて
いる。
The slave station 20 designated by the slave station number of the transmission destination in the message c fetches the control information of the master station in the message c, and then sends a message (response message of the control information) d as a response. It is transmitted to the master station 10. Message d
As shown in FIG. 9, is composed of a slave station number that makes a response and control information of the slave station 20 that makes a response.

【0012】親局10は子局20からのメッセージdを
受信すると、メッセージdの中の応答を行う子局20の
制御情報を取り込み、順次、次の子局20に対して上述
のようなデータ交信の動作を行う。
When the master station 10 receives the message d from the slave station 20, the master station 10 fetches the control information of the slave station 20 which responds in the message d, and sequentially transmits the control data to the next slave station 20 as described above. Perform communication operation.

【0013】正常と判断した子局20のうち最老番の子
局20まで上述のようなデータ交信の動作が完了する
と、再び正常と判断した子局のうち、最若番の子局から
データ交信を繰り返し行い、これによって制御情報のサ
イクリックなデータ交信を実現している。
When the data communication operation as described above is completed up to the oldest slave station 20 among the slave stations 20 determined to be normal, the data is returned from the youngest slave station among the slave stations determined to be normal again. Communication is repeatedly performed, thereby realizing cyclic data communication of control information.

【0014】[0014]

【発明が解決しようとする課題】しかしながら、上述の
ようなデータ転送方式を用いたPC・データリンクシス
テムでは、親局10が送信したパラメータ伝文に対する
子局20からの応答伝文(応答メッセージb)を親局1
0がチェックすることで、接続している子局20が正常
か異常かを判断するため、親局10は、制御情報のデー
タ交信に先立って、各子局よりの制御情報のデータ交信
とは無関係の応答伝文を受信する時間を設ける必要があ
り、しかも、親局10は、各子局20と1局ずつパラメ
ータ送信を行って子局20が正常か異常かを判断してい
るため、制御情報のデータ交信を開始するまでに時間が
かかるという問題がある。
However, in the PC / data link system using the data transfer method as described above, a response message (response message b) from the slave station 20 to the parameter message transmitted by the master station 10 is sent. ) To parent station 1
By checking 0, it is determined whether the connected slave station 20 is normal or abnormal. Therefore, the master station 10 communicates with control information data communication from each slave station prior to control information data communication. It is necessary to provide time for receiving an irrelevant response message, and the master station 10 performs parameter transmission with each slave station 20 one by one to determine whether the slave station 20 is normal or abnormal. There is a problem that it takes time to start data communication of control information.

【0015】この発明は、上述の如き問題点を解消する
ためになされたもので、制御情報のサイクリックなデー
タ交信を開始するに先立って必要な交信準備に要する時
間を従来のものより短縮でき、制御情報のデータ交信を
開始するまでの必要時間(準備時間)を短縮するプログ
ラマブルコントローラのデータリンクシステムの伝送制
御方法および伝送制御システムを得ることを目的として
いる。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems, and can reduce the time required for communication preparation required before starting cyclic data communication of control information as compared with the conventional system. It is another object of the present invention to provide a transmission control method and a transmission control system for a data link system of a programmable controller, which shortens a required time (preparation time) until data communication of control information is started.

【0016】[0016]

【課題を解決するための手段】上述の目的を達成するた
めに、この発明によるプログラマブルコントローラのデ
ータリンクシステムの伝送制御方法は、親局としての1
台のプログラマブルコントローラと、子局としての複数
台のプログラマブルコントローラが共通の伝送路を使用
して相互に接続され、前記親局と前記子局との間で制御
情報のサイクリックなデータ交信を行うプログラマブル
コントローラのデータリンクシステムの伝送制御方法に
おいて、制御情報のサイクリックなデータ交信を開始す
る前に、前記親局が前記子局に対して行うデータ交信の
内容を決定するためのパラメータの伝文中に、各回のパ
ラメータ送信毎に変更するパラメータ識別データを付加
して全ての子局に一斉送信し、各子局にパラメータ識別
データを記憶させ、制御情報の実際のサイクリックなデ
ータ交信を行う際に、前記子局から前記親局に対して送
信する制御情報の応答伝文中に、子局が記憶していたパ
ラメータ識別データを付加して送信し、親局がその応答
伝文中のパラメータ識別データをチェックすることによ
り、子局の正常/異常を判断するものである。
In order to achieve the above-mentioned object, a transmission control method for a data link system of a programmable controller according to the present invention is provided.
Programmable controllers and a plurality of programmable controllers as slave stations are connected to each other using a common transmission line, and perform cyclic data communication of control information between the master station and the slave station. In the transmission control method for a data link system of a programmable controller, before starting cyclic data communication of control information, a message of a parameter for determining contents of data communication performed by the master station with respect to the slave station may be transmitted. In addition, when parameter identification data to be changed for each parameter transmission is added, the data is transmitted to all the slave stations at the same time, the parameter identification data is stored in each slave station, and actual cyclic data communication of control information is performed. The parameter identification data stored in the slave station in the response message of the control information transmitted from the slave station to the master station. And adding the transmission, by the master station checks the parameter identification data in the response Den sentence, is to determine normality / abnormality of the slave station.

【0017】つぎの発明によるプログラマブルコントロ
ーラのデータリンクシステムの伝送制御システムは、親
局としての1台のプログラマブルコントローラと、子局
としての複数台のプログラマブルコントローラが共通の
伝送路を使用して相互に接続され、前記親局と前記子局
との間で制御情報のサイクリックなデータ交信を行うプ
ログラマブルコントローラのデータリンクシステムの伝
送制御方法において、制御情報のサイクリックなデータ
交信を開始する前に、前記親局が前記子局に対して行う
データ交信の内容を決定するためのパラメータの伝文中
に、各回のパラメータ送信毎に変更するパラメータ識別
データを付加して全ての子局に一斉送信し、各子局にパ
ラメータ識別データを記憶させ、制御情報の実際のサイ
クリックなデータ交信を行う際に、前記子局から前記親
局に対して送信する制御情報の応答伝文中に、子局が記
憶していたパラメータ識別データを付加して送信し、親
局がその応答伝文中のパラメータ識別データをチェック
することにより、子局の正常/異常を判断するものであ
る。
In the transmission control system for a data link system of a programmable controller according to the next invention, one programmable controller as a master station and a plurality of programmable controllers as slave stations mutually use a common transmission line. In the transmission control method of a data link system of a programmable controller that is connected and performs cyclic data communication of control information between the master station and the slave station, before starting cyclic data communication of control information, In the message of the parameter for determining the content of the data communication performed by the master station with respect to the slave station, parameter transmission data to be changed for each transmission of the parameter is added, and all the slave stations are simultaneously transmitted, Parameter identification data is stored in each slave station, and the actual cyclic data of control information is stored. When performing communication, the slave station adds the parameter identification data stored in the slave station to the response message of the control information transmitted from the slave station to the master station, and transmits the response message. The normal / abnormal state of the slave station is determined by checking the parameter identification data.

【0018】[0018]

【発明の実施の形態】以下に添付の図を参照して、この
発明にかかるプログラマブルコントローラのデータリン
クシステムの伝送制御方法および伝送制御システムの実
施の形態を詳細に説明する。この発明による伝送制御方
法が適用されるプログラマブルコントローラのデータリ
ンクシステムのPC接続構成は、図4に示されている従
来のものと同様で、共通の伝送路30に一つの親局10
と複数個の子局20とが双方向に通信可能に接続され
る。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing the configuration of a transmission control method for a data link system of a programmable controller according to an embodiment of the present invention; The PC connection configuration of the data link system of the programmable controller to which the transmission control method according to the present invention is applied is the same as that of the conventional one shown in FIG.
And a plurality of slave stations 20 are communicably connected to each other.

【0019】図1は、この発明によるPC・データリン
クシステムの伝送制御方法におけるデータ伝送手順を示
している。親局10は、子局20との制御情報のデータ
交信の前に、符号Aで示されているように、必ず一度、
親局10が子局20に対して行うデータ交信の内容を決
定するためのメッセージ(パラメータ伝文)eを全ての
子局20に一斉送信する。
FIG. 1 shows a data transmission procedure in a transmission control method for a PC / data link system according to the present invention. Prior to data communication of control information with the slave station 20, the master station 10 must be
A message (parameter message) e for determining the contents of data communication performed by the master station 10 with respect to the slave stations 20 is transmitted to all the slave stations 20 simultaneously.

【0020】メッセージeは、図2に示されているよう
に、各回のパラメータ送信毎に変更するパラメータ識別
データ(パラメータID)と、親局の制御情報を指定す
るパラメータと、各子局20の制御情報を指定するパラ
メータとにより構成されている。メッセージeを受信し
た各子局20はメッセージe中のパラメータIDとパラ
メータを取り込み、記憶する。この時、各子局20は親
局10に対する応答は行わない。
As shown in FIG. 2, the message e includes parameter identification data (parameter ID) changed for each parameter transmission, a parameter designating control information of the master station, And parameters for specifying control information. Each slave station 20 that has received the message e fetches and stores the parameter ID and the parameter in the message e. At this time, each slave station 20 does not make a response to the master station 10.

【0021】親局10は全子局20に対するメッセージ
eの送信完了後、ただちに最若番の子局20からポーリ
ングを行って各子局20との間に制御情報のサイクリッ
クなデータ交信を開始する。この様子は、従来のものと
同様に、図1にて符号Cで示されている。ここで、制御
情報のサイクリックなデータ交信のためのポーリングの
際に、親局10が使用する送信メッセージは図8に示さ
れている従来のものと同様のものでよいから、そのメッ
セージは、従来のものと同様に、メッセージcとする。
Immediately after the transmission of the message e to all the slave stations 20, the master station 10 performs polling from the youngest slave station 20 and starts cyclic data communication of control information with each slave station 20. I do. This state is indicated by reference numeral C in FIG. Here, when polling for cyclic data communication of control information, the transmission message used by master station 10 may be the same as the conventional message shown in FIG. A message c is used as in the conventional case.

【0022】子局20がメッセージcを受信すると、子
局20は親局10からのポーリングに制御情報の応答メ
ッセージ(応答伝文)fを返す。応答メッセージfは、
図3に示されているように、応答を行う子局局番と、応
答を行う子局が記憶しているパラメータIDと、応答を
行う子局20の制御情報とにより構成されている。これ
により、子局20は、実際の制御情報のデータ交信に際
して、制御情報の応答メッセージfに、自局が記憶して
いるパラメータIDを付加して親局10に送信する。
When the slave station 20 receives the message c, the slave station 20 returns a response message (response message) f of control information to the polling from the master station 10. The response message f is
As shown in FIG. 3, it is configured by a slave station number that makes a response, a parameter ID stored in the slave station that makes a response, and control information of the slave station 20 that makes a response. Thus, the slave station 20 adds the parameter ID stored in the own station to the response message f of the control information and transmits the response message f to the master station 10 at the time of the actual data communication of the control information.

【0023】親局10によるメッセージeの送信の際、
子局20が親局10からメッセージeを正常に受信でき
ていれば、子局20が応答メッセージfで返送するパラ
メータIDは親局10が持っているパラメータIDと一
致し、これに対し、子局20が親局10からメッセージ
eを正常に受信できていなければ、当然、パラメータI
Dも受信できていないので、親局が持っているパラメー
タIDとは食い違いが生じる。
When the master station 10 transmits the message e,
If the slave station 20 has successfully received the message e from the master station 10, the parameter ID returned by the slave station 20 in the response message f matches the parameter ID of the master station 10. If the station 20 has not normally received the message e from the master station 10, the parameter I
Since D has not been received, it differs from the parameter ID of the master station.

【0024】親局10が子局20からの応答メッセージ
fを受信すると、返送された伝文中のパラメータIDと
メッセージeに付加したパラメータIDとを比較照合
し、一致すれば子局20は正常と判断する。これに対
し、応答がないか、あるいはパラメータIDが一致しな
ければ、子局20は異常と判断する。
When the master station 10 receives the response message f from the slave station 20, the parameter ID in the returned message is compared with the parameter ID added to the message e, and if they match, the slave station 20 is determined to be normal. to decide. On the other hand, if there is no response or the parameter IDs do not match, the slave station 20 determines that there is an abnormality.

【0025】上述のような動作を局番順に最老番の子局
20に対してまで行う。最老番の子局20までりデータ
交信が完了すれば、再びメッセージeの一斉送信行う。
この時、メッセージe中のパラメータIDは前回のデー
タ伝送の際に使用したデータから変更したものを使用す
る。上述のように、制御情報のサイクリックなデータ交
信を1回終える度に、パラメータIDを変更するので、
子局20の異常は制御情報のサイクリックなデータ交信
1回の間に必ず検出することができる。
The above operation is performed in the order of the station numbers up to the oldest slave station 20. When the data communication is completed up to the oldest slave station 20, the broadcast of the message e is performed again.
At this time, the parameter ID in the message e is changed from the data used in the previous data transmission. As described above, the parameter ID is changed each time the cyclic data communication of the control information is completed once.
An abnormality in the slave station 20 can always be detected during one cycle of cyclic data communication of control information.

【0026】以上の各過程が繰り返し実行されること
で、子局20が正常に交信可能か否かを親局10が判断
することが可能な伝送制御を実現している。
By repeating the above-described steps, transmission control that allows the master station 10 to determine whether or not the slave station 20 can normally communicate is realized.

【0027】[0027]

【発明の効果】以上の説明から理解される如く、この発
明によるプログラマブルコントローラのデータリンクシ
ステムの伝送制御方法および伝送制御システムによれ
ば、制御情報のサイクリックなデータ交信を開始する前
に、親局が子局に対して行うデータ交信の内容を決定す
るためのパラメータの伝文中に、各回のパラメータ送信
毎に変更するパラメータ識別データを付加して全ての子
局に一斉送信し、各子局にパラメータ識別データを記憶
させ、実際の制御情報のサイクリックなデータ交信を行
う際に、子局から親局に対して送信する制御情報の応答
伝文中に、子局が記憶していたパラメータ識別データを
付加して送信し、親局がその応答伝文中のパラメータ識
別データをチェックすることにより、子局の正常/異常
を判断するから、制御情報のサイクリックなデータ交信
の前に子局の状態を確認するプロセスが必要がなくな
り、制御情報の実際のデータ交信と無関係なデータをや
り取りする必要がなくなる。
As can be understood from the above description, according to the transmission control method and the transmission control system of the data link system of the programmable controller according to the present invention, before starting the cyclic data communication of the control information, In the parameter message for determining the contents of data communication performed by the station to the slave stations, parameter identification data that changes each time a parameter is transmitted is added, and all stations are broadcast simultaneously. The parameter identification data stored in the slave station is stored in the response message of the control information transmitted from the slave station to the master station when cyclic data communication of the actual control information is performed. Since the master station checks the parameter identification data in the response message to determine whether the slave station is normal or abnormal, the data is transmitted. In front of the cyclic data communication of information eliminates the need for a process to check the status of the slave station, actual there is no need to exchange data communication and irrelevant data of the control information.

【0028】これにより、制御情報のサイクリックなデ
ータ交信を開始するに先立って必要な交信準備に要する
時間を従来のものより短縮でき、制御情報のデータ交信
を開始するまでの準備時間を短縮することができる。
This makes it possible to reduce the time required for communication preparation before starting cyclic data communication of control information as compared with the conventional one, and to shorten the preparation time before starting data communication of control information. be able to.

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

【図1】 この発明によるPC・データリンクシステム
の伝送制御方法におけるデータ伝送手順を示すタイミン
グチャートである。
FIG. 1 is a timing chart showing a data transmission procedure in a transmission control method of a PC / data link system according to the present invention.

【図2】 この発明によるPC・データリンクシステム
の伝送制御方法で使用されるメッセージ(パラメータ伝
文)の構成を示す説明図である。
FIG. 2 is an explanatory diagram showing a configuration of a message (parameter message) used in the transmission control method of the PC / data link system according to the present invention.

【図3】 この発明によるPC・データリンクシステム
の伝送制御方法で使用される制御情報用の応答メッセー
ジ(応答伝文)の構成を示す説明図である。
FIG. 3 is an explanatory diagram showing a configuration of a response message (response message) for control information used in the transmission control method of the PC / data link system according to the present invention.

【図4】 一般的なPC・データリンクシステムの概要
を示すシステム構成図である。
FIG. 4 is a system configuration diagram showing an outline of a general PC / data link system.

【図5】 従来のPC・データリンクシステムにおける
データ伝送手順を示すタイミングチャートである。
FIG. 5 is a timing chart showing a data transmission procedure in a conventional PC / data link system.

【図6】 従来のPC・データリンクシステムで使用さ
れているメッセージ(パラメータ伝文)の構成を示す説
明図である。
FIG. 6 is an explanatory diagram showing a configuration of a message (parameter message) used in a conventional PC / data link system.

【図7】 従来のPC・データリンクシステムで使用さ
れるパラメータ用の応答メッセージの構成を示す説明図
である。
FIG. 7 is an explanatory diagram showing a configuration of a response message for parameters used in a conventional PC / data link system.

【図8】 従来およびこの発明のPC・データリンクシ
ステムで共通して使用されている制御情報用の送信メッ
セージの構成を示す説明図である。
FIG. 8 is an explanatory diagram showing the configuration of a transmission message for control information commonly used in the conventional and PC / data link systems of the present invention.

【図9】 従来のPC・データリンクシステムで使用さ
れている制御情報用の応答メッセージの構成を示す説明
図である。
FIG. 9 is an explanatory diagram showing a configuration of a response message for control information used in a conventional PC / data link system.

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

10 親局、20 子局。 10 master stations, 20 slave stations.

フロントページの続き Fターム(参考) 5H220 BB03 BB20 CC07 CC09 CX01 CX09 EE06 HH01 HH04 JJ38 JJ60 LL03 LL04 5K032 AA01 BA08 CC01 CC10 CD03 DA01 EA03 EA05 EA07 5K034 AA03 BB01 BB07 CC06 DD02 EE05 HH10 HH11 HH12 MM39 NN26 TT02 Continued on the front page F term (reference) 5H220 BB03 BB20 CC07 CC09 CX01 CX09 EE06 HH01 HH04 JJ38 JJ60 LL03 LL04 5K032 AA01 BA08 CC01 CC10 CD03 DA01 EA03 EA05 EA07 5K034 AA03 BB01 BB07 H06H12 NN05 H06H

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 親局としての1台のプログラマブルコン
トローラと、子局としての複数台のプログラマブルコン
トローラが共通の伝送路を使用して相互に接続され、前
記親局と前記子局との間で制御情報のサイクリックなデ
ータ交信を行うプログラマブルコントローラのデータリ
ンクシステムの伝送制御方法において、 制御情報のサイクリックなデータ交信を開始する前に、
前記親局が前記子局に対して行うデータ交信の内容を決
定するためのパラメータの伝文中に、各回のパラメータ
送信毎に変更するパラメータ識別データを付加して全て
の子局に一斉送信し、各子局にパラメータ識別データを
記憶させ、実際の制御情報のサイクリックなデータ交信
を行う際に、前記子局から前記親局に対して送信する制
御情報の応答伝文中に、子局が記憶していたパラメータ
識別データを付加して送信し、親局がその応答伝文中の
パラメータ識別データをチェックすることにより、子局
の正常/異常を判断することを特徴とするプログラマブ
ルコントローラのデータリンクシステムの伝送制御方
法。
1. A single programmable controller as a master station and a plurality of programmable controllers as slave stations are connected to each other using a common transmission line, and a communication between the master station and the slave station is performed. In the transmission control method of the data link system of the programmable controller that performs the cyclic data communication of the control information, before starting the cyclic data communication of the control information,
In the message of the parameter for determining the content of the data communication performed by the master station with respect to the slave station, parameter transmission data to be changed for each transmission of the parameter is added, and all the slave stations are simultaneously transmitted, When the parameter identification data is stored in each slave station, and the cyclic data communication of the actual control information is performed, the slave station stores the response information of the control information transmitted from the slave station to the master station. A data link system for a programmable controller, characterized in that the parameter identification data is added and transmitted, and the master station checks the parameter identification data in the response message to determine whether the slave station is normal or abnormal. Transmission control method.
【請求項2】 親局としての1台のプログラマブルコン
トローラと、子局としての複数台のプログラマブルコン
トローラが共通の伝送路を使用して相互に接続され、前
記親局と前記子局との間で制御情報のサイクリックなデ
ータ交信を行うプログラマブルコントローラのデータリ
ンクシステムの伝送制御システムにおいて、 制御情報のサイクリックなデータ交信を開始する前に、
前記親局が前記子局に対して行うデータ交信の内容を決
定するためのパラメータの伝文中に、各回のパラメータ
送信毎に変更するパラメータ識別データを付加して全て
の子局に一斉送信し、各子局にパラメータ識別データを
記憶させ、実際の制御情報のサイクリックなデータ交信
を行う際に、前記子局から前記親局に対して送信する制
御情報の応答伝文中に、子局が記憶していたパラメータ
識別データを付加して送信し、親局がその応答伝文中の
パラメータ識別データをチェックすることにより、子局
の正常/異常を判断することを特徴とするプログラマブ
ルコントローラのデータリンクシステムの伝送制御シス
テム。
2. A single programmable controller as a master station and a plurality of programmable controllers as slave stations are connected to each other using a common transmission line. In a transmission control system of a data link system of a programmable controller that performs cyclic data communication of control information, before starting cyclic data communication of control information,
In the message of the parameter for determining the content of the data communication performed by the master station with respect to the slave station, parameter transmission data to be changed for each transmission of the parameter is added, and all the slave stations are simultaneously transmitted, When the parameter identification data is stored in each slave station, and the cyclic data communication of the actual control information is performed, the slave station stores the response information of the control information transmitted from the slave station to the master station. A data link system for a programmable controller, characterized in that the parameter identification data is added and transmitted, and the master station checks the parameter identification data in the response message to determine whether the slave station is normal or abnormal. Transmission control system.
JP36951298A 1998-12-25 1998-12-25 Transmission control method and transmission control system for data link system of programmable controller Expired - Fee Related JP3761129B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP36951298A JP3761129B2 (en) 1998-12-25 1998-12-25 Transmission control method and transmission control system for data link system of programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP36951298A JP3761129B2 (en) 1998-12-25 1998-12-25 Transmission control method and transmission control system for data link system of programmable controller

Publications (2)

Publication Number Publication Date
JP2000227803A true JP2000227803A (en) 2000-08-15
JP3761129B2 JP3761129B2 (en) 2006-03-29

Family

ID=18494613

Family Applications (1)

Application Number Title Priority Date Filing Date
JP36951298A Expired - Fee Related JP3761129B2 (en) 1998-12-25 1998-12-25 Transmission control method and transmission control system for data link system of programmable controller

Country Status (1)

Country Link
JP (1) JP3761129B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009110546A (en) * 2002-03-06 2009-05-21 Fisher Rosemount Syst Inc Appendable system and device for data acquisition, analysis and control
CN102354175A (en) * 2011-08-01 2012-02-15 李遇浦 Remote I/O (input/output) control system of Modbus fieldbus DI-16-route monitor
JP2016019058A (en) * 2014-07-04 2016-02-01 株式会社日立製作所 Control system, power conversion device, and controlling method
JP2019179436A (en) * 2018-03-30 2019-10-17 パナソニック デバイスSunx株式会社 Multi-controller system and controller unit
CN112769666A (en) * 2019-10-21 2021-05-07 中电智能科技有限公司 PLC inter-station communication method

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009110546A (en) * 2002-03-06 2009-05-21 Fisher Rosemount Syst Inc Appendable system and device for data acquisition, analysis and control
US7848906B2 (en) 2002-03-06 2010-12-07 Fisher-Rosemount Systems, Inc. Appendable system and devices for data acquisition, analysis and control
US8538732B2 (en) 2002-03-06 2013-09-17 Fisher-Rosemount Systems, Inc. Appendable system and devices for data acquisition, analysis and control
CN102354175A (en) * 2011-08-01 2012-02-15 李遇浦 Remote I/O (input/output) control system of Modbus fieldbus DI-16-route monitor
CN102354175B (en) * 2011-08-01 2014-10-15 李遇浦 Remote I/O (input/output) control system of Modbus fieldbus DI-16-route monitor
JP2016019058A (en) * 2014-07-04 2016-02-01 株式会社日立製作所 Control system, power conversion device, and controlling method
JP2019179436A (en) * 2018-03-30 2019-10-17 パナソニック デバイスSunx株式会社 Multi-controller system and controller unit
JP7083268B2 (en) 2018-03-30 2022-06-10 パナソニック デバイスSunx株式会社 Multi-controller system
CN112769666A (en) * 2019-10-21 2021-05-07 中电智能科技有限公司 PLC inter-station communication method

Also Published As

Publication number Publication date
JP3761129B2 (en) 2006-03-29

Similar Documents

Publication Publication Date Title
KR100239973B1 (en) Method of structuring messages for exchanging data and/or for synchronizing processes in a data processing system
US6021356A (en) Control system using programmable logic controller
US6449289B1 (en) Multi-processor bus protocol system
US10250434B2 (en) Electronic control apparatus
JP2000227803A (en) Method and system for controlling transmission in data link system of programmable controller
JP2000049891A (en) Programmable logic controller and communication condition setting method and communication condition setting device therefor
JPH086614A (en) Programmable controller
JP6762546B1 (en) Serial communication method and serial communication system
CN107968718A (en) A kind of method, apparatus and equipment for confirming standby usage state
JP2005229322A (en) Master slave synchronous communication system
JP3380957B2 (en) Redundant communication controller
JPH06324723A (en) Programmable controller
JPS59161956A (en) Transmission controller
JP2000134277A (en) Method and system for automatically identifying communication link
JPH0570170B2 (en)
JPH07177180A (en) Test system for inter-network connection device
JP2000287275A (en) Communication method for hot water feeding machine
JP2709602B2 (en) Link system for programmable controller
JP2640487B2 (en) Programmable controller system
JPH086615A (en) Data linking method
JPH09212216A (en) Remote i/o system for plc
JP2000029507A (en) I/o transmission method
JPH02288442A (en) Plural protocol controller
JPH02278995A (en) Data processing control system
JPS61108239A (en) Method for transferring right of communication master station

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050825

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050830

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051027

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060105

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060106

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100120

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100120

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110120

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees