JPH09219714A - Transmission control system - Google Patents

Transmission control system

Info

Publication number
JPH09219714A
JPH09219714A JP2379596A JP2379596A JPH09219714A JP H09219714 A JPH09219714 A JP H09219714A JP 2379596 A JP2379596 A JP 2379596A JP 2379596 A JP2379596 A JP 2379596A JP H09219714 A JPH09219714 A JP H09219714A
Authority
JP
Japan
Prior art keywords
transmission
data
station
input
control system
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
JP2379596A
Other languages
Japanese (ja)
Inventor
Michinobu Iwai
通信 岩井
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2379596A priority Critical patent/JPH09219714A/en
Publication of JPH09219714A publication Critical patent/JPH09219714A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To easily control the synchronization of a whole control system by eliminating a delay time in data transmission and the influence of its dispersion and guaranteeing the simultaneity of data without performing complicated processing such as interlock control, etc., through the use of programmable controllers with normal processing speed. SOLUTION: A transmitting station 2 operating as a master station transmits start data to a transmission path 1 at every fixed cycle and also processes the exchange of input/output data with the programmable controllers of the self station 4-0 to 4-n. The other transmitting stations 3-1 to 3-n receive start data and process the exchange of input/output data with the respective programmable controllers 4-0 to 4-n of the self station. The respective transmitting stations 2 and 3-1 to 3-n mutually process the exchange of input/output data within the transmission cycle, the respective programmable controllers 4-0 to 4-n execute the one-scanning of respective control programs after an input/output processing and the control operations of the whole programmable controllers 4-0 to 4-n are synchronizised.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、複数のプログラマ
ブルコントローラ(以下PCと略称)を用いて各種装置
の制御を行うシステムに用いられるデータ伝送方式に係
り、特に各種装置間において同期制御を行う場合のPC
間のデータ伝送を行う伝送制御システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transmission system used in a system for controlling various devices by using a plurality of programmable controllers (hereinafter abbreviated as PCs), and particularly in the case of performing synchronous control between various devices. PC
The present invention relates to a transmission control system for performing data transmission between devices.

【0002】[0002]

【従来の技術】PCは制御プログラムを高速で繰り返し
実行するスキャン実行方式により、入出力データを更新
して各種装置の制御を行うものであり、複数のPCを用
いて制御を行う各種の設備では、これらのPCやその他
の制御機器がそれぞれ伝送局を介して一つの伝送路に接
続され、互いに入出力データの交換を行なうように構成
される場合がある。この場合、下位レベルの機器は制御
対象の動作状態を示すデータを伝送し、このデータは動
作に直接係わるデータであり、複数の制御対象の動作タ
イミングが互いに関連する有機的な制御を行うとき、デ
ータ交換の高速応答性、同時性が必要になる。
2. Description of the Related Art A PC controls various devices by updating input / output data by a scan execution method in which a control program is repeatedly executed at high speed. In some cases, these PCs and other control devices are connected to one transmission line via a transmission station and exchange input / output data with each other. In this case, the lower-level device transmits data indicating the operation state of the controlled object, and this data is data directly related to the operation, and when performing the organic control in which the operation timings of the plurality of controlled objects are related to each other, High-speed response and simultaneity of data exchange are required.

【0003】各伝送局の制御サイクル(伝送サイクル)
と各PCの制御サイクルは独立し、非同期で動作してい
るので、送信局のPCの入出力データが受信局に受信さ
れるまでの最大遅れ時間が伝送サイクルの2倍となり、
送信局のPCから受信局のPCまでの最大伝送遅れ時間
は、伝送サイクルの2倍+受信側のPCの制御サイクル
となる。更に、PCの制御サイクルもその制御プログラ
ムの1スキャンの実行時間が変化するので、伝送遅れ時
間にばらつきが発生する。
Control cycle of each transmission station (transmission cycle)
Since the control cycle of each PC is independent and operates asynchronously, the maximum delay time until the input / output data of the PC of the transmitting station is received by the receiving station is twice the transmission cycle,
The maximum transmission delay time from the PC of the transmitting station to the PC of the receiving station is twice the transmission cycle + the control cycle of the PC on the receiving side. Further, the control cycle of the PC also changes the execution time of one scan of the control program, so that the transmission delay time varies.

【0004】また、送信局が複数のデータを同一グルー
プのデータとして他局に伝送する場合、新旧データが混
在しないようにしてデータの同時性を保証するため、P
Cが伝送局のインターフェース部にデータを書き込む
際、データ処理部がデータを読み取れないようにインタ
ーロックを設け、更に、受信局ではデータ処理部がイン
ターフェース部にデータを書き込む際、PCがインター
フェース部に読み込みできないようにインターロックを
設けていた。これにより、データの同時性を保証しての
データの授受には伝送サイクルの3倍+受信側のPCの
制御サイクルの2倍の遅れ時間が発生する可能性があっ
た。従って、各種装置の動作を同期させる場合、より高
速の制御サイクルで動作するPCや伝送装置を用いて伝
送遅れ時間を短縮し、そのばらつきを低減していた。
When the transmitting station transmits a plurality of data as data of the same group to another station, the data simultaneity is ensured by ensuring that old and new data are not mixed.
When C writes data to the interface section of the transmission station, an interlock is provided to prevent the data processing section from reading the data. Further, at the receiving station, when the data processing section writes data to the interface section, the PC changes to the interface section. An interlock was provided to prevent reading. As a result, there is a possibility that a delay time of 3 times the transmission cycle + twice the control cycle of the PC on the receiving side may occur in the data transmission / reception while guaranteeing the data simultaneity. Therefore, when the operations of various devices are synchronized, the transmission delay time is shortened by using a PC or a transmission device that operates in a faster control cycle, and its variation is reduced.

【0005】[0005]

【発明が解決しようとする課題】PCと伝送局の制御サ
イクルが非同期の場合、従来のシステムでは、上述した
ように、伝送遅れ時間のばらつきが制御の誤差範囲に収
まるように、より高速動作するPCや伝送装置を用い、
また、データの同時性を保証するため、PCと伝送局間
のデータ授受を担うインターフェース部にインターロッ
ク制御を設ける必要があり複雑な制御になる等の問題が
あった。
When the control cycles of the PC and the transmission station are asynchronous, the conventional system operates at a higher speed so that the variation of the transmission delay time falls within the control error range as described above. Using a PC or transmission device,
Further, in order to guarantee the simultaneity of data, it is necessary to provide an interlock control in an interface section that transfers and receives data between the PC and the transmission station, which causes a problem such as complicated control.

【0006】本発明は、上記の問題を解決するためにな
されたもので、その目的とするところは、通常の処理速
度のPCを用い、インターロック制御等の複雑な処理を
行うことなく、データ伝送の遅れ時間及びそのばらつき
の影響を無くし、同時性を保証して全体の制御システム
を容易に同期制御することのできる伝送制御システムを
提供することにある。
The present invention has been made in order to solve the above problems, and an object of the present invention is to use a PC having a normal processing speed and to perform data processing without performing complicated processing such as interlock control. An object of the present invention is to provide a transmission control system which eliminates the influence of transmission delay time and its variation, guarantees simultaneity, and can easily perform synchronous control of the entire control system.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するため
に、本発明の伝送制御システムは、複数の伝送局が伝送
路を介して接続され、各伝送局は、プログラマブルコン
トローラとの間でデータの授受を行なうインターフェー
ス部と、他の伝送局との間でデータの授受を行なう送受
信部と、送受信データの処理を行なうデータ処理部と、
前記送受信部の制御を行なうメディアアクセス制御部と
を備え、親局として動作する伝送局は一定周期毎に起動
データを伝送路に送出すると共に自局のプログラマブル
コントローラとの間で入出力データを授受する処理を行
い、他の伝送局は前記起動データを受信するとそれぞれ
自局のプログラマブルコントローラとの間で入出力デー
タを授受する処理を行い、各伝送局は前記伝送周期内に
互いに入出力データの授受を行い、各プログラマブルコ
ントローラは入出力処理後にそれぞれの制御プログラム
を1スキャン実行し、全てのプログラマブルコントロー
ラの制御動作を同期させる。(請求項1) 更に、親局として動作する伝送局は、一定周期毎に送出
される前記起動データの送信タイミングを決定するタイ
マと、該伝送局に接続されたプログラマブルコントロー
ラから前記タイマの設定を変更して前記一定周期を変更
する手段を備え、伝送周期の変更を可能とする。(請求
項2) 更に、親局として動作する伝送局は、前記伝送周期毎に
インクリメントされるカウンタを備え、前記カウンタの
値を前記起動データに付加して伝送し、各プログラマブ
ルコントローラは前記カウンタの値に基づいてプログラ
ム制御を行い、工程の開始、歩進を制御し、それぞれの
制御対象の動作タイミングを制御し同期させる。(請求
項3) 更に、親局として動作する伝送局は、該親局に接続され
るプログラマブルコントローラからの指令により、前記
カウンタを所定カウント値にプリセットする手段を備
え、他の伝送局に接続されたプログラマブルコントロー
ラは前記所定カウント値に基づいてプログラム制御を行
い、工程の開始、歩進を制御し、制御動作を同期させ
る。(請求項4) 更に、各伝送局は、前記起動データに基づいてインター
フェース部を介して自局のプログラマブルコントローラ
に割り込み入力し、前記入出力処理を行う。(請求項
5) 更に、各伝送局は、自局のプログラマブルコントローラ
との間で入出力処理を行った後、最新の入力データで送
信データフレームを作成し、前記伝送周期内に互いに送
信データフレームの授受を行う。(請求項6) 更に、各伝送局は、自局のプログラマブルコントローラ
との間で入出力処理を行う場合、最新の受信データを出
力データとする。(請求項7)
In order to achieve the above object, a transmission control system according to the present invention has a plurality of transmission stations connected via a transmission line, and each transmission station communicates data with a programmable controller. An interface unit for exchanging data, a transmission / reception unit for exchanging data with other transmission stations, a data processing unit for processing transmission / reception data,
A transmission station that operates as a master station is provided with a media access control unit that controls the transmission / reception unit, sends start data to a transmission path at regular intervals, and exchanges input / output data with its own programmable controller. When the other transmission stations receive the activation data, they perform the processing of exchanging input / output data with the programmable controller of their own station. After exchange, each programmable controller executes one scan of each control program after input / output processing, and synchronizes the control operation of all programmable controllers. (Claim 1) Further, the transmission station operating as a master station sets a timer for determining a transmission timing of the activation data transmitted at regular intervals and a setting of the timer from a programmable controller connected to the transmission station. A unit for changing the fixed period is provided, and the transmission period can be changed. (Claim 2) Furthermore, the transmission station that operates as a master station includes a counter that is incremented for each transmission cycle, adds the value of the counter to the start data, and transmits the data. Program control is performed based on the value to control the start and step of the process, and control and synchronize the operation timing of each controlled object. (Claim 3) Further, the transmission station operating as a master station is provided with means for presetting the counter to a predetermined count value in response to a command from a programmable controller connected to the master station, and is connected to another transmission station. The programmable controller performs program control based on the predetermined count value, controls the start and step of the process, and synchronizes the control operation. (Claim 4) Further, each transmission station performs interrupt input to the programmable controller of its own station via the interface section based on the start data, and performs the input / output processing. (Claim 5) Further, each transmission station performs input / output processing with its own programmable controller, then creates a transmission data frame with the latest input data, and mutually transmits the transmission data frame within the transmission cycle. Give and receive. (Claim 6) Further, when each transmission station performs input / output processing with its own programmable controller, the latest reception data is used as output data. (Claim 7)

【0008】[0008]

【発明の実施の形態】本発明による伝送制御システムの
概要を図1に示す。この伝送制御システムは、伝送制御
を担う伝送局(親局)2と複数の伝送局(子局)3(-1
…-n)が伝送路1に接続され、親局2と各子局3にはそ
れぞれ図示しない制御対象の制御を行うPC4(-0、-1
…-n)が接続され、それぞれ制御対象の配置に基づいて
分散して配設される。親局2に接続されたPC4-0には
ローダ5が接続される。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An outline of a transmission control system according to the present invention is shown in FIG. This transmission control system includes a transmission station (master station) 2 and a plurality of transmission stations (slave stations) 3 (-1
...- n) is connected to the transmission line 1, and the PC 4 (-0, -1) that controls the control target not shown in the master station 2 and each slave station 3, respectively.
...- n) are connected and are arranged in a distributed manner based on the arrangement of the controlled objects. A loader 5 is connected to the PC 4-0 connected to the master station 2.

【0009】図2は、伝送局2、3のハードウエアを示
したもので、本発明の要部構成を示す実施例である。図
2に示すように、親局2と各子局3には、自局に接続さ
れるPC4との間でデータの授受を行うインターフェー
ス部(以下I/Fと略称)6、自局の制御動作を司るデ
ータ処理部7、送信権の受け渡し処理や回線制御を行な
うメディアアクセス制御部(以下MACと略称)8、伝
送路1との間でデータフレームの授受を行う送受信部9
を備え、I/F6は割り込み回路16とデュアルポート
メモリ13を有し、データ処理部7はメモリ14とCP
U15を有し、PC4はCPU15から割り込み回路1
6を介して入力される割り込み指令によりデュアルポー
トメモリ13を介して入出力データの授受を行なう。
FIG. 2 shows the hardware of the transmission stations 2 and 3 and is an embodiment showing the configuration of the main part of the present invention. As shown in FIG. 2, the master station 2 and each slave station 3 have an interface unit (hereinafter abbreviated as I / F) 6 for exchanging data with a PC 4 connected to the master station 2, and control of the own station. A data processing unit 7 that controls the operation, a media access control unit (hereinafter abbreviated as MAC) 8 that performs a transmission right passing process and a line control, and a transmission / reception unit 9 that exchanges a data frame with the transmission path 1.
The I / F 6 has an interrupt circuit 16 and a dual port memory 13, and the data processing unit 7 has a memory 14 and a CP.
U4, PC4 from CPU15 interrupt circuit 1
Input / output data is transmitted / received via the dual port memory 13 according to an interrupt command input via 6.

【0010】親局2は、更に、一定周期T0 毎に起動信
号St を生成するタイマ10が内部バス12に接続され
ている。上記構成における伝送制御システムの動作例を
図3のタイミングチャートに示す。親局2のCPU15
は、タイマ10にて生成される一定周期T0 毎の起動信
号St を受けると、メモリ14に格納されている起動デ
ータを読み出してMAC8に転送し、送受信部9を経て
伝送路1に起動伝送として送出(同報送信)すると共
に、割り込み回路16に起動信号St を送り、PC4(-
0)はこれを受けると入出力処理を行う。すなわち、PC
4(-0)は起動信号St による割り込み入力を受けると、
デュアルポートメモリ13との間で入出力データの授受
を行ない、CPU15は更新されたデュアルポートメモ
リ13の最新データをメモリ14に格納する。
The master station 2 is further connected to an internal bus 12 with a timer 10 for generating an activation signal St at a constant cycle T0. An example of the operation of the transmission control system having the above configuration is shown in the timing chart of FIG. CPU 15 of master station 2
When receiving the activation signal St generated at the constant period T0 generated by the timer 10, the device reads the activation data stored in the memory 14 and transfers it to the MAC 8, and transmits it to the transmission line 1 via the transmission / reception unit 9 as activation transmission. At the same time as sending (broadcast sending), a start signal St is sent to the interrupt circuit 16, and PC4 (-
Upon receiving this, 0) performs input / output processing. That is, PC
4 (-0) receives the interrupt input by the start signal St,
Input / output data is exchanged with the dual port memory 13, and the CPU 15 stores the updated latest data of the dual port memory 13 in the memory 14.

【0011】一方、各子局3(-1…-n)は、親局2から
送信された起動データをそれぞれ送受信部9で受信し、
MAC8を経てデータ処理部7に転送し、CPU15で
起動データと判定すると、割り込み回路16に起動信号
を送り、PC4(-1…-n)に入力を行い、PC4(-1…
-n)はそれぞれ前述と同様にして入出力処理を行い、各
子局3(-1…-n)のメモリ14にそれぞれ最新データを
格納する。
On the other hand, each slave station 3 (-1 ...- n) receives the activation data transmitted from the master station 2 at the transmitting / receiving unit 9,
When the data is transferred to the data processing unit 7 via the MAC 8 and the CPU 15 determines that it is activation data, it transmits an activation signal to the interrupt circuit 16 and inputs it to the PC 4 (-1 ...
-n) performs the input / output processing in the same manner as described above, and stores the latest data in the memory 14 of each slave station 3 (-1 ...- n).

【0012】入出力処理を完了した全てのPC4(-0、
-1…-n)は、それぞれ内部に格納しているユーザプログ
ラム(制御プログラム)を1スキャンだけ実行し、次の
起動信号まで待状態となる。また、入出力処理を完了し
た全ての伝送局2、3のデータ処理部7は予め設定され
ている送信すべきエリアの最新データをメモリ14から
読み出し、送信データフレームを作成する。
All PCs 4 (-0,
-1 ...- n) executes the user program (control program) stored therein for one scan only, and waits until the next start signal. Further, the data processing units 7 of all the transmission stations 2 and 3 that have completed the input / output processing read the latest data of the preset area to be transmitted from the memory 14 and create a transmission data frame.

【0013】親局2は入出力処理に続いて送信データフ
レームをMAC8、送受信回路9を経て伝送路1に送出
(同報送信)し、各子局3(-1…-n)は送受信部9でこ
れを受信し、MAC8で受信したデータフレームを解釈
してデータ処理部7に送り、メモリ14に親局から送信
された最新データを格納する。親局2は送信データフレ
ームの送信を終了すると送信権を子局3へ委譲して受信
状態となる。
Following the input / output processing, the master station 2 sends a transmission data frame to the transmission path 1 via the MAC 8 and the transmission / reception circuit 9 (broadcast transmission), and each slave station 3 (-1 ...- n) transmits / receives data. This is received at 9, the data frame received at the MAC 8 is interpreted and sent to the data processing unit 7, and the latest data transmitted from the master station is stored in the memory 14. When the master station 2 finishes transmitting the transmission data frame, the master station 2 transfers the transmission right to the slave station 3 and enters the reception state.

【0014】送信権を獲得した子局3は、メモリ14に
格納された自局の送出すべき最新データをMAC8、送
受信回路9を経て伝送路1に送出(同報送信)し、親局
2と他の子局3はこの送信データをそれぞれ受信してメ
モリ14に格納する。送信を終了した子局3は受信状態
となり送信権を順次他の子局3へ委譲し、全ての子局3
に送信権が行き渡ると親局2に戻され、送信権が一巡し
て1サイクルの伝送が終了する。親局2は一定周期T0
後の起動信号St により再び起動伝送を行い、前述の動
作が繰り返され、各伝送局は伝送周期内に互いに入出力
データの授受を行い、各PCは伝送周期に同期して制御
プログラムのスキャン実行を行う。図3は親局2から子
局3-1へ送信権が委譲され子局3-nで送信権が一巡する
例を示したものである。(請求項1、5〜7) また、親局2は、メモリ14にローダ5又はPC4の制
御プログラムにて変更可能な特定データエリアを設け、
入出力処理時にインターフェース部6を介してデータ処
理部7に特定データエリアのデータを送り、CPU15
が該データに基づいてタイマ10の設定値を変更するこ
とによって、起動信号St の周期T0 を変更する機能を
有し、全ての伝送局が入出力データの授受を行うのに必
要な最小伝送周期以上の範囲において、伝送周期T0 を
自在に変更することを可能とする。これにより、全体の
制御システムの処理速度を所定の処理速度以下の範囲に
おいて自由に変更することが可能となる。(請求項2) また、親局2は、一定周期T0 毎にインクリメントされ
所定値を越えると0クリアして再び計数を開始しリング
カウンタとして動作するカウンタ11が内部バス12に
接続され、カウンタ11の現在値をCPU15が読み取
り、起動伝送時にメモリ14に格納されている起動デー
タにカウンタ11の現在値を付加して起動伝送を行な
い、各子局3では、受信したカウンタ11の現在値をメ
モリ14に格納し、入出力処理時に、デュアルポートメ
モリ13を介してPC4に送り、PC4は、カウンタ1
1の現在値に基づいて制御プログラムが動作し、工程の
開始、歩進を制御して、制御動作を同期させる。(請求
項3) また、親局2は、メモリ14にローダ5又はPC4の制
御プログラムにて変更可能な特定データエリアを設け、
入出力処理時にインターフェース部6を介してデータ処
理部7に特定データエリアのデータを送り、CPU15
が該データに基づいてカウンタ11の値を所定のカウン
ト値に変更することによって、親局2に接続されたPC
4-0の制御プログラムによって各PC4(-1…-n)の所
定の制御を開始させ、工程の開始、歩進を制御して、制
御動作を同期させる。(請求項4) なお、このカウンタ11の現在値は伝送周期毎にインク
リメントされるので、同期制御や伝送確認データとして
使用することができる。
The slave station 3 which has acquired the transmission right transmits the latest data stored in the memory 14 to be transmitted by itself to the transmission line 1 via the MAC 8 and the transmission / reception circuit 9 (broadcast transmission), and the master station 2 And other slave stations 3 respectively receive the transmission data and store it in the memory 14. The slave station 3 that has completed the transmission becomes the receiving state and sequentially transfers the transmission right to the other slave stations 3, and all slave stations 3
When the transmission right is distributed to the master station 2, it is returned to the master station 2 and the transmission right makes a round, and the transmission of one cycle is completed. The master station 2 has a fixed period T0
After that, the start signal is transmitted again by the start signal St, the above-mentioned operation is repeated, each transmission station exchanges input / output data with each other within the transmission cycle, and each PC executes the scan of the control program in synchronization with the transmission cycle. I do. FIG. 3 shows an example in which the transmission right is transferred from the parent station 2 to the child station 3-1 and the transmission right goes around in the child station 3-n. (Claims 1 to 5) Further, the master station 2 provides the memory 14 with a specific data area that can be changed by the control program of the loader 5 or the PC 4,
During input / output processing, the data in the specific data area is sent to the data processing section 7 via the interface section 6, and the CPU 15
Has a function of changing the period T0 of the start signal St by changing the set value of the timer 10 based on the data, and the minimum transmission period required for all transmission stations to exchange input / output data. In the above range, the transmission cycle T0 can be freely changed. As a result, the processing speed of the entire control system can be freely changed within the range of a predetermined processing speed or less. (Claim 2) Further, the master station 2 is incremented every fixed period T0, and when it exceeds a predetermined value, it is cleared to 0 and starts counting again, and the counter 11 which operates as a ring counter is connected to the internal bus 12. The CPU 15 reads the current value of the counter 11 and adds the current value of the counter 11 to the start data stored in the memory 14 at the time of start transmission to perform start transmission. At each slave station 3, the received current value of the counter 11 is stored in the memory. 14 and sends it to the PC 4 via the dual port memory 13 at the time of input / output processing.
The control program operates based on the current value of 1 to control the start and step of the process and synchronize the control operation. (Claim 3) Further, the master station 2 provides the memory 14 with a specific data area that can be changed by the control program of the loader 5 or the PC 4.
During input / output processing, the data in the specific data area is sent to the data processing section 7 via the interface section 6, and the CPU 15
By changing the value of the counter 11 to a predetermined count value based on the data, the PC connected to the master station 2
A predetermined control of each PC 4 (-1 ...- n) is started by the control program 4-0, the start of the process and the step are controlled, and the control operation is synchronized. (Claim 4) Since the present value of the counter 11 is incremented every transmission cycle, it can be used as synchronization control or transmission confirmation data.

【0015】[0015]

【発明の効果】本発明の伝送制御システムによれば、通
常の処理速度のPCを用い、インターロック制御等の複
雑な処理を行うことなく、データの伝送遅れ時間による
ばらつきの影響を無くし、データの同時性を保証して全
体の制御システムの制御動作を容易に同期させることの
できる伝送制御システムを提供することができる。
According to the transmission control system of the present invention, a PC having a normal processing speed is used, without performing complicated processing such as interlock control and eliminating the influence of variations due to the transmission delay time of data. It is possible to provide a transmission control system which can guarantee the simultaneity of the above and easily synchronize the control operation of the entire control system.

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

【図1】本発明による伝送制御システムの一実施例を示
す構成図。
FIG. 1 is a configuration diagram showing an embodiment of a transmission control system according to the present invention.

【図2】上記実施例における伝送局の構成図。FIG. 2 is a configuration diagram of a transmission station in the above embodiment.

【図3】上記実施例の作用を説明するためのタイミング
図。
FIG. 3 is a timing chart for explaining the operation of the above embodiment.

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

1…伝送路 2…伝送局(親
局) 3…伝送局(子局) 4…プログラマ
ブルコントローラ 5…ローダ 6…インターフ
ェース部 7…データ処理部 8…メディアア
クセス制御部 9…送受信回路 10…タイマ 11…カウンタ 12…バス 13…デュアルポートメモリ 14…メモリ 15…CPU 16…割り込み
回路
1 ... Transmission path 2 ... Transmission station (parent station) 3 ... Transmission station (slave station) 4 ... Programmable controller 5 ... Loader 6 ... Interface unit 7 ... Data processing unit 8 ... Media access control unit 9 ... Transmission / reception circuit 10 ... Timer 11 ... Counter 12 ... Bus 13 ... Dual port memory 14 ... Memory 15 ... CPU 16 ... Interrupt circuit

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】複数の伝送局が伝送路を介して接続され、
各伝送局は、プログラマブルコントローラとの間でデー
タの授受を行なうインターフェース部と、他の伝送局と
の間でデータの授受を行なう送受信部と、送受信データ
の処理を行なうデータ処理部と、前記送受信部の制御を
行なうメディアアクセス制御部とを備え、親局として動
作する伝送局は一定周期毎に起動データを伝送路に送出
すると共に自局のプログラマブルコントローラとの間で
入出力データを授受する処理を行い、他の伝送局は前記
起動データを受信するとそれぞれ自局のプログラマブル
コントローラとの間で入出力データを授受する処理を行
い、各伝送局は伝送周期内に互いに入出力データの授受
を行い、各プログラマブルコントローラは入出力処理後
にそれぞれの制御プログラムを1スキャン実行し、各プ
ログラマブルコントローラの制御動作を同期させること
を特徴とする伝送制御システム。
1. A plurality of transmission stations are connected via a transmission line,
Each transmission station has an interface section for exchanging data with the programmable controller, a transmission / reception section for exchanging data with other transmission stations, a data processing section for processing transmission / reception data, and the transmission / reception section. The transmission station, which has a media access control unit that controls the control unit, sends the startup data to the transmission path at regular intervals and exchanges input / output data with its own programmable controller. When the other transmission stations receive the activation data, they perform the process of exchanging input / output data with the programmable controller of their own station, and each transmission station exchanges the input / output data with each other within the transmission cycle. , Each programmable controller executes one scan of each control program after input / output processing, Transmission control system characterized by synchronizing the control operation of the roller.
【請求項2】請求項1に記載の伝送制御システムにおい
て、親局として動作する伝送局は、一定周期毎に送出さ
れる前記起動データの送信タイミングを決定するタイマ
と、該伝送局に接続されたプログラマブルコントローラ
から前記タイマの設定を変更して前記一定周期を変更す
る手段を備え、伝送周期の変更を可能とすることを特徴
とする伝送制御システム。
2. The transmission control system according to claim 1, wherein the transmission station that operates as a master station is connected to the transmission station and a timer that determines the transmission timing of the activation data transmitted at regular intervals. A transmission control system, comprising means for changing the setting of the timer from the programmable controller to change the fixed cycle, and enabling the change of the transmission cycle.
【請求項3】請求項1に記載の伝送制御システムにおい
て、親局として動作する伝送局は、前記伝送周期毎にイ
ンクリメンされるカウンタを備え、前記カウンタの値を
前記起動データに付加して伝送し、各プログラマブルコ
ントローラは前記カウンタの値に基づいてプログラム制
御を行い、工程の開始、歩進を制御し、制御動作を同期
させることを特徴とする伝送制御システム。
3. The transmission control system according to claim 1, wherein the transmission station that operates as a master station includes a counter that is incremented every transmission cycle, and the value of the counter is added to the start-up data for transmission. Then, each programmable controller performs program control based on the value of the counter, controls the start and step of the process, and synchronizes the control operation.
【請求項4】請求項3に記載の伝送制御システムにおい
て、親局として動作する伝送局は、該伝送局に接続され
たプログラマブルコントローラからの指令により、前記
カウンタを所定カウント値にプリセットする手段を備
え、他の伝送局に接続されたプログラマブルコントロー
ラは前記所定カウント値に基づいてプログラム制御を行
い、工程の開始、歩進を制御し、制御動作を同期させる
ことを特徴とする伝送制御システム。
4. The transmission control system according to claim 3, wherein the transmission station operating as a master station has means for presetting the counter to a predetermined count value in response to a command from a programmable controller connected to the transmission station. A transmission control system comprising: a programmable controller connected to another transmission station, performing program control based on the predetermined count value, controlling the start and step of a process, and synchronizing the control operation.
【請求項5】請求項1に記載の伝送制御システムにおい
て、各伝送局は、前記起動データに基づいてインターフ
ェース部を介して自局のプログラマブルコントローラに
割り込み入力し、前記入出力処理を行うことを特徴とし
た伝送制御システム。
5. The transmission control system according to claim 1, wherein each transmission station performs interrupt input to a programmable controller of its own station via an interface section based on the start data to perform the input / output processing. Characterized transmission control system.
【請求項6】請求項5に記載の伝送制御システムにおい
て、各伝送局は、自局のプログラマブルコントローラと
の間で入出力処理を行った後、最新の入力データで送信
データフレームを作成し、前記伝送周期内に互いに送信
データフレームの授受を行うことを特徴とする伝送制御
システム。
6. The transmission control system according to claim 5, wherein each transmission station performs input / output processing with its own programmable controller and then creates a transmission data frame with the latest input data. A transmission control system, wherein transmission data frames are exchanged with each other within the transmission cycle.
【請求項7】請求項6に記載の伝送制御システムにおい
て、各伝送局は、自局のプログラマブルコントローラと
の間で入出力処理を行うとき、最新の受信データを出力
データとすることを特徴とする伝送制御システム。
7. The transmission control system according to claim 6, wherein each transmission station uses the latest received data as output data when performing input / output processing with its own programmable controller. Transmission control system.
JP2379596A 1996-02-09 1996-02-09 Transmission control system Pending JPH09219714A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2379596A JPH09219714A (en) 1996-02-09 1996-02-09 Transmission control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2379596A JPH09219714A (en) 1996-02-09 1996-02-09 Transmission control system

Publications (1)

Publication Number Publication Date
JPH09219714A true JPH09219714A (en) 1997-08-19

Family

ID=12120267

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2379596A Pending JPH09219714A (en) 1996-02-09 1996-02-09 Transmission control system

Country Status (1)

Country Link
JP (1) JPH09219714A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7606174B2 (en) 2003-05-20 2009-10-20 Yamaha Corporation Signal transmission apparatus
WO2009147714A1 (en) * 2008-06-02 2009-12-10 三菱電機株式会社 Data communication system and data communication device
JP2010212938A (en) * 2009-03-10 2010-09-24 Mitsubishi Electric Corp Ring type network system
JP2011123688A (en) * 2009-12-11 2011-06-23 Fuji Electric Systems Co Ltd Synchronizing programmable controller and synchronizing programmable controller system
WO2012053403A1 (en) * 2010-10-20 2012-04-26 株式会社日立製作所 Data transmission method and control system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7606174B2 (en) 2003-05-20 2009-10-20 Yamaha Corporation Signal transmission apparatus
US8228802B2 (en) 2003-05-20 2012-07-24 Yamaha Corporation Signal transmission apparatus
WO2009147714A1 (en) * 2008-06-02 2009-12-10 三菱電機株式会社 Data communication system and data communication device
US8452843B2 (en) 2008-06-02 2013-05-28 Mitsubishi Electric Corporation Data communication system and data communication device
TWI483583B (en) * 2008-06-02 2015-05-01 Mitsubishi Electric Corp Data communication system and data communication device
JP2010212938A (en) * 2009-03-10 2010-09-24 Mitsubishi Electric Corp Ring type network system
JP2011123688A (en) * 2009-12-11 2011-06-23 Fuji Electric Systems Co Ltd Synchronizing programmable controller and synchronizing programmable controller system
WO2012053403A1 (en) * 2010-10-20 2012-04-26 株式会社日立製作所 Data transmission method and control system
JP2012088953A (en) * 2010-10-20 2012-05-10 Hitachi Ltd Data transmission method and control system
CN103168279A (en) * 2010-10-20 2013-06-19 株式会社日立制作所 Data transmission method and control system

Similar Documents

Publication Publication Date Title
EP3076251B1 (en) Information processing apparatus, information processing program, and information processing method
US4797884A (en) Redundant device control unit
JP5080448B2 (en) Method and apparatus for synchronizing two bus systems and configuration comprising two bus systems
CN106603367A (en) CAN bus communication method for time synchronization
US9319237B2 (en) Method and device for controlling a bus system and a corresponding bus system
JP2016110458A (en) Programmable logic controller, basic unit, control method and program
JPWO2020059139A1 (en) Communication devices, communication systems, communication methods and communication programs
JP2001027904A (en) Numerical control system
JPH09219714A (en) Transmission control system
JP2003036101A (en) Redundant controller
EP3582445A1 (en) Control device and communication device
JP2010287959A (en) Synchronous communication system, communication device, and synchronous communication method
JP2003029809A (en) Cpu unit and programmable controller
JP2005229322A (en) Master slave synchronous communication system
JPH0876822A (en) Drive control command device and synchronization control system and method for plural drive control command devices
JPH07191727A (en) Synchronizing system for distributed control system
JPH11338518A (en) I/o device, input and output method, and control system using i/o device
JP2707961B2 (en) Duplex system
JPH11338523A (en) Input and output control system of programmable controller
JP2541315B2 (en) Method of synchronizing the delivery of raw materials from vending machines
JPH086615A (en) Data linking method
JPH11275126A (en) Communication controller
JPH11259105A (en) Externally synchronizable programmable controller device
KR100244682B1 (en) Synchronizing device of system for controlling multiple motor of robot
JP3997410B2 (en) Communications system