JPH03282906A - Programmable controller for distributed control system - Google Patents

Programmable controller for distributed control system

Info

Publication number
JPH03282906A
JPH03282906A JP8428290A JP8428290A JPH03282906A JP H03282906 A JPH03282906 A JP H03282906A JP 8428290 A JP8428290 A JP 8428290A JP 8428290 A JP8428290 A JP 8428290A JP H03282906 A JPH03282906 A JP H03282906A
Authority
JP
Japan
Prior art keywords
time
maximum value
data link
data
refresh cycle
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
JP8428290A
Other languages
Japanese (ja)
Inventor
Kazuyoshi Nakajima
一義 中島
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.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
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 Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP8428290A priority Critical patent/JPH03282906A/en
Publication of JPH03282906A publication Critical patent/JPH03282906A/en
Pending legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)

Abstract

PURPOSE:To always accurately recognize the maximum value of data link refresh cycle time by detecting the cycle time between plural programmable controllers(PCs), storing data relating to the maximum value of the cycle time, transferring the stored contents to a display means, and displaying the transferred contents. CONSTITUTION:Plural PCs are connected to a link signal line through a communication IF 35 and initialized at first. Then, whether a communication cycle has been completed or not is discriminated, and at time time of completing the cycle, whether the completion is the initial time or not is discriminated. When the discrimination is NO, a timer module 34 calculates the refresh cycle time (Rt) of a data link from a time difference between current time and the preceding communication cycle completion. Then whether the current value of the Rt is larger than the maximum value of the Rt stored in an internal RAM 32 or not is discriminated, and when the current value is larger, the maximum value data in the RAM 32 are updated. Then the current time is stored in the RAM 32 as the preceding communication cycle completion time and displayed on the screen of a CRT 54. Consequently, the maximum value of the data link Rt can be always accurately recognized without executing calculation or measurement.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、分散制御システム用プログラマブルコントロ
ーラに関し、特に複数個のプログラマブルコントローラ
間にて制御データのやり取りが非同期状態にて行われる
型式の分散制御システム用/7プログラマブルコントロ
ーラに関するものである。
Detailed Description of the Invention (Field of Industrial Application) The present invention relates to a programmable controller for a distributed control system, and particularly to a type of distributed control in which control data is exchanged asynchronously between a plurality of programmable controllers. This relates to a system/7 programmable controller.

(従来の技術) 各対象機械毎にプログラマブルコントローラが設けられ
、各機械間のインタロック、フィードバック、制御指令
等の制御データをリンクシステムにより各プログラマブ
ルコントローラ間にて所定の通信サイクルをもって繰返
し送信し合う分散制御システムは既によく知られている
(Prior art) A programmable controller is provided for each target machine, and control data such as interlocks, feedback, and control commands between each machine are repeatedly transmitted between each programmable controller at a predetermined communication cycle using a link system. Distributed control systems are already well known.

上述の如き分散制御システムに於ては、対象機械毎に設
けられたプログラマブルコントローラの本体作動サイク
ルと通信サイクル(リンクサイクル)とは非同期である
場合が多く、このためプログラマブルコントローラ間の
通信による制御デー夕のリフレッシュサイクル、即ちデ
ータリンクリフレッシュサイクルは通信命令のタイミン
グによって変化する。
In the above-mentioned distributed control system, the main body operation cycle and communication cycle (link cycle) of the programmable controller provided for each target machine are often asynchronous, so control data is transmitted through communication between programmable controllers. The evening refresh cycle, ie, the data link refresh cycle, changes depending on the timing of communication commands.

(発明が解決しようとする課題) プログラマブルコントローラ間の通信による制御データ
のリフレッシュサイクルの最大サイクルタイムは各プロ
グラマブルコントローラの本体サイクルタイムと通信サ
イクルタイム等より計算により求められるが、しかしこ
れはあくまでも計算上のデータであり、このためこれは
実際値とは異なる場合がある。またネットワークのトラ
フィック環境により実際のデータリンクリフレ・ソシュ
サイクルタイムが変化するため、これに応じて計算式が
異なり、このことを考慮すると、サイクルタイムの最大
値の計算式は複雑なものになり、これはユーザによって
理解され難く、また実際のユーザシステムに於ても測定
に手間が掛るという問題がある。
(Problem to be solved by the invention) The maximum cycle time of the refresh cycle of control data through communication between programmable controllers can be calculated from the main body cycle time and communication cycle time of each programmable controller, but this is only a calculation. This data may therefore differ from the actual value. In addition, the actual data link reflex cycle time changes depending on the network traffic environment, so the calculation formula differs accordingly. Taking this into consideration, the calculation formula for the maximum cycle time becomes complicated. , which is difficult for users to understand, and also requires time and effort to measure in actual user systems.

本発明は、上述の如き問題点に鑑み、実測により実際の
データリンクリフレッシュサイクルタイムをユーザ等に
対して表示することができる分散制御システム用プログ
ラマブルコントローラを提供することを目的としている
SUMMARY OF THE INVENTION In view of the above-mentioned problems, an object of the present invention is to provide a programmable controller for a distributed control system that can display the actual data link refresh cycle time to the user based on actual measurements.

(課題を解決するための手段) 上述の如き目的は、本発明によれば、複数個のプログラ
マブルコントローラ間にて制御データを所定の通信サイ
クルをもって繰返し送信し合う分散制御システム用プロ
グラマブルコントローラに於て、複数個のプログラマブ
ルコントローラ間に於けるデータリンクのための通信の
毎に時間計測を行ってデータリンクリフレッシュサイク
ルタイムを検出するタイマ手段と、前記タイマ手段によ
り検出されるデータリンクリフレッシュサイクルタイム
の最大値に関するデータを格納する記憶手段と、前記記
憶手段に格納されたデータリンクリフレッシュサイクル
タイムの最大値に関するデータを表示手段に転送する制
御手段とを有していることを特徴とする分散制御システ
ム用プログラマブルコントローラによって達成される。
(Means for Solving the Problems) According to the present invention, the above object is to provide a programmable controller for a distributed control system in which control data is repeatedly transmitted between a plurality of programmable controllers in a predetermined communication cycle. , a timer means for detecting a data link refresh cycle time by measuring time for each communication for a data link between a plurality of programmable controllers, and a maximum data link refresh cycle time detected by the timer means. For a distributed control system, comprising a storage means for storing data regarding the value, and a control means for transferring data regarding the maximum value of the data link refresh cycle time stored in the storage means to the display means. Achieved by a programmable controller.

(作用) 上述の如き構成によれば、タイマ手段によってデータリ
ンクリフレッシュサイクルタイムが検出され、これの最
大値に関するデータが記憶装置に格納され、記憶装置に
格納されたデータリンクリフレッシュサイクルタイムの
最大値に関するデータは制御手段によってCRTの如き
表示手段へ転送され、データリンクリフレッシュサイク
ルタイムの最大値に関するデータが画面表示されるよう
になる。
(Function) According to the above configuration, the data link refresh cycle time is detected by the timer means, data regarding the maximum value thereof is stored in the storage device, and the maximum value of the data link refresh cycle time stored in the storage device is detected. The data regarding the maximum value of the data link refresh cycle time is transferred by the control means to a display means such as a CRT, so that the data regarding the maximum value of the data link refresh cycle time is displayed on the screen.

(実施例) 以下に添付の図を参照して本発明を実施例について詳細
に説明する。
(Example) The present invention will be described in detail below with reference to the accompanying drawings.

第1図はプログラマブルコントローラの分散制御システ
ムを示しており、この分散制御システムに於ては、図示
されていない各対象機械毎に設けられた複数個のプログ
ラマブルコントローラ10がデータリンクのためのリン
ク信号線12によって互いに接続されている。
FIG. 1 shows a distributed control system of programmable controllers. In this distributed control system, a plurality of programmable controllers 10 provided for each target machine (not shown) send link signals for data links. They are connected to each other by lines 12.

第2図はプログラマブルコントローラ10の基本的構成
を示しており、プログラマブルコントローラ10は、演
算ユニット(本体ユニット)20と、通信ユニット30
と、対象機械に対する入出カニニット40とを有してい
る。
FIG. 2 shows the basic configuration of the programmable controller 10, and the programmable controller 10 includes an arithmetic unit (main unit) 20 and a communication unit 30.
and an input/output crab knit 40 for the target machine.

演算ユニット20は、マイクロプロセッサにより構成さ
れたCPU21と、内部RAM22と、システムプログ
ラムを格納したシステムROM23と、入出力データを
格納する入出力RAM24と、送受信データを格納する
共有RAM25とを有している。
The arithmetic unit 20 includes a CPU 21 configured by a microprocessor, an internal RAM 22, a system ROM 23 storing a system program, an input/output RAM 24 storing input/output data, and a shared RAM 25 storing transmitted/received data. There is.

通信ユニット30は、CPU31と、内部RAM32と
、通信用のシステムプログラムを格納したシステムプロ
グラムROM3Bと、時間計測を行うタイマモジュール
34と、通信インターフェイス回路35とを有している
The communication unit 30 includes a CPU 31, an internal RAM 32, a system program ROM 3B storing a system program for communication, a timer module 34 for measuring time, and a communication interface circuit 35.

プログラマブルコントローラ10にはこれのパスライン
14に端末装置50が接続されるようになっており、端
末装置50はキーボード52と表示手段としてのCRT
54とを有している。
A terminal device 50 is connected to the path line 14 of the programmable controller 10, and the terminal device 50 has a keyboard 52 and a CRT as a display means.
54.

通信ユニット30のシステムROM33に格納されたシ
ステムプログラムはデータリンクリフレッシュサイクル
タイム計測プログラムを含んでおり、このプログラムに
従ってタイマモジュール34は複数個のプログラマブル
コントローラ10間に於けるデータリンクのための通信
の毎に時間計測を行ってデータリンクリフレッシュサイ
クルタイムを検出するタイマ手段として機能し、内部R
AM32はタイマモジュール34により検出されるデー
タリンクリフレッシュサイクルタイムの最大値に関する
データを格納し、またCPU31は内部RAM32に格
納されたデータリンクリフレッシュサイクルタイムの最
大値に関するデータを端末装置50のキーボード52よ
りのユーザ指令等に基いてCRT54へ転送する制御を
行うようになっている。
The system program stored in the system ROM 33 of the communication unit 30 includes a data link refresh cycle time measurement program, and according to this program, the timer module 34 measures the data link refresh cycle time for each communication between the plurality of programmable controllers 10. The internal R
The AM 32 stores data regarding the maximum value of the data link refresh cycle time detected by the timer module 34, and the CPU 31 stores data regarding the maximum value of the data link refresh cycle time stored in the internal RAM 32 from the keyboard 52 of the terminal device 50. Transfer to the CRT 54 is controlled based on user commands and the like.

これによりデータリンクリフレッシュサイクルタイムの
最大値に関するデータがCRT54に画面表示される。
As a result, data regarding the maximum value of the data link refresh cycle time is displayed on the screen on the CRT 54.

また内部RAM32は、データリンクリフレッシュサイ
クルタイムの最大値に関するデータ以外に、現在のリフ
レッシュサイクルタイムに関するデータを格納し、この
データも最大値に関するデータと同時にCRT54に画
面表示されるようになっていてもよい。
Furthermore, the internal RAM 32 stores data related to the current refresh cycle time in addition to data related to the maximum value of the data link refresh cycle time, and even if this data is displayed on the CRT 54 at the same time as the data related to the maximum value. good.

第3図は本発明によるプログラマブルコントローラに於
けるデータリンクリフレッシュサイクルタイムの計測ル
ーチンを示している。
FIG. 3 shows a data link refresh cycle time measurement routine in a programmable controller according to the present invention.

このルーチンに於ては、先ずステップ10にて発生時間
のクリアが行われ、次にステップ12にてリフレッシュ
サイクルタイムのクリアが行われる。このステップ10
とステップ12は謂ゆるイニシャライズ処理ステップで
ある。
In this routine, first, in step 10, the generation time is cleared, and then in step 12, the refresh cycle time is cleared. This step 10
Step 12 is a so-called initialization processing step.

ステップ14に於ては、通信サイクルが完了したか否か
の判別が行われ、通信サイクルが完了すれば次にステッ
プ16が実行される。
In step 14, it is determined whether the communication cycle is completed or not, and if the communication cycle is completed, step 16 is executed next.

ステップ16に於ては、通信サイクルの完了が初回であ
るか否かの判別が行われる。初回である場合にはステッ
プ24ヘジヤンプし、そうでない場合はステップ18へ
進む。
In step 16, it is determined whether the communication cycle is completed for the first time. If it is the first time, jump to step 24, otherwise proceed to step 18.

ステップ18に於ては、タイマモジュール34により計
測される現在の時刻と前回の通信サイクル完了時の時間
との差よりデータリンクのリフレッシュサイクルタイム
を算出することが行われる。
In step 18, the refresh cycle time of the data link is calculated from the difference between the current time measured by the timer module 34 and the time when the previous communication cycle was completed.

ステップ18の次はステップ20へ進む。After step 18, the process proceeds to step 20.

ステップ20に於ては、ステップ18にて算出されたリ
フレッシュサイクルタイム、即ち現在値が既に内部RA
M32に記憶されているリフレッシュサイクルタイムの
最大値より大きいか否かの判別が行われる。現在値が今
までの最大値より大きい場合にはステップ22へ進み、
そうでない場合にはステップ24ヘジヤンプする。
In step 20, the refresh cycle time calculated in step 18, that is, the current value is already within the internal RA.
It is determined whether the refresh cycle time is greater than the maximum value stored in M32. If the current value is greater than the maximum value so far, proceed to step 22;
If not, jump to step 24.

ステップ22に於ては、内部RAM32に格納されてい
るリフレッシュサイクルタイムの最大値に関するデータ
を現在値に更新することが行われる。
In step 22, data regarding the maximum refresh cycle time stored in the internal RAM 32 is updated to the current value.

ステップ24に於ては、現在の時刻、即ち今回の通信サ
イクル完了時の時刻を前回の通信サイクル完了時の時刻
として内部RAM32に格納することが行われる。
In step 24, the current time, that is, the time when the current communication cycle was completed, is stored in the internal RAM 32 as the time when the previous communication cycle was completed.

第4図は内部RAM32に於けるメモリマツプのリフレ
ッシュサイクルタイム計測用データエリアを示している
。第4図から明らかな如く、内部RAM32は、リフレ
ッシュサイクルの現在値を格納する領域と、リフレッシ
ュサイクルタイムの最大値を格納する領域と、前回の時
刻を格納する領域とを備えている。
FIG. 4 shows the data area for measuring the refresh cycle time of the memory map in the internal RAM 32. As is clear from FIG. 4, the internal RAM 32 includes an area for storing the current value of the refresh cycle, an area for storing the maximum value of the refresh cycle time, and an area for storing the previous time.

第5図はプログラマブルコントローラのサービスサイク
ルと通信サイクルとが非同期である場合に生じ得るデー
タリンクのリフレッシュサイクルの一例を示している。
FIG. 5 shows an example of a data link refresh cycle that may occur when the service cycle and communication cycle of the programmable controller are asynchronous.

第5図からも明らかな如く、リフレッシュサイクルは本
体サービスサイクルと通信サイクルとの違い等による要
因によってその時々によって変化するが、これの最大リ
フレッシュサイクルタイムは必要に応じて端末装置50
のCRT54に画面表示されるから、ユーザは、必要に
応じて随時、分散制御システム固有のデータリンクリフ
レッシュサイクルタイムの最大値を適確に認識できるよ
うになり、これは、生産、加工、組立システム等に於け
るタクトタイム等の設定に有効に利用されるようになる
As is clear from FIG. 5, the refresh cycle changes from time to time due to factors such as the difference between the main body service cycle and the communication cycle, but the maximum refresh cycle time is determined by the terminal device 50 as necessary.
The user can accurately recognize the maximum value of the data link refresh cycle time specific to the distributed control system at any time as needed. It will be effectively used for setting takt time etc.

(発明の効果) 以上の説明から明らかな如く、本発明による分散制御シ
ステム用プログラマブルコントローラに於ては、データ
リンクリフレッシュサイクルタイムが実測され、これが
表示手段によってユーザ等に対して明確に表示されるか
ら、ユーザは面倒な計算や測定を行うことなくデータリ
ンクリフレッシュサイクルタイムの最大値を常に適確に
認識し得るようになる。
(Effects of the Invention) As is clear from the above explanation, in the programmable controller for a distributed control system according to the present invention, the data link refresh cycle time is actually measured, and this is clearly displayed to the user etc. by the display means. Therefore, the user can always accurately recognize the maximum value of the data link refresh cycle time without performing troublesome calculations or measurements.

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

第1図はプログラマブルコントローラの分散制御システ
ムの一例を示す概念図、第2図は本発明による分散制御
システム用プログラマブルコントローラの一実施例を示
すブロック線図、第3図は本発明による分散制御システ
ム用プログラマブルコントローラに於けるリフレッシュ
サイクルタイム計測ルーチンを示すフローチャート、第
4図はリフレッシュサイクルタイム計測に用いられる内
部RAMのデータエリアを示すメモリマツプ図、第5図
はプログラマブルコントローラの本体サービスサイクル
と通信サイクルとリフレッシュサイクルとの一例を示す
タイムチャートである。 10・・・プログラマブルコントローラ12・・・リン
ク信号線 20・・・演算ユニット 30・・・通信ユニット 40・・・入出カニニット 50・・・端末装置 54・・・CRT
FIG. 1 is a conceptual diagram showing an example of a distributed control system for a programmable controller, FIG. 2 is a block diagram showing an example of a programmable controller for a distributed control system according to the present invention, and FIG. 3 is a distributed control system according to the present invention. 4 is a memory map diagram showing the data area of the internal RAM used for measuring the refresh cycle time, and FIG. 5 is a flowchart showing the refresh cycle time measurement routine in the programmable controller. 3 is a time chart showing an example of a refresh cycle. 10...Programmable controller 12...Link signal line 20...Arithmetic unit 30...Communication unit 40...Input/output crab unit 50...Terminal device 54...CRT

Claims (1)

【特許請求の範囲】 1、複数個のプログラマブルコントローラ間にて制御デ
ータを所定の通信サイクルをもって繰返し送信し合う分
散制御システム用プログラマブルコントローラに於て、 複数個のプログラマブルコントローラ間に於けるデータ
リンクのための通信の毎に時間計測を行ってデータリン
クリフレッシュサイクルタイムを検出するタイマ手段と
、 前記タイマ手段により検出されるデータリンクリフレッ
シュサイクルタイムの最大値に関するデータを格納する
記憶手段と、 前記記憶手段に格納されたデータリンクリフレッシュサ
イクルタイムの最大値に関するデータを表示手段に転送
する制御手段と、 を有していることを特徴とする分散制御システム用プロ
グラマブルコントローラ。
[Claims] 1. In a programmable controller for a distributed control system in which control data is repeatedly transmitted between a plurality of programmable controllers in a predetermined communication cycle, a data link between the plurality of programmable controllers is provided. a timer means for detecting a data link refresh cycle time by measuring time for each communication; a storage means for storing data regarding a maximum value of the data link refresh cycle time detected by the timer means; and the storage means. A programmable controller for a distributed control system, comprising: control means for transferring data regarding the maximum value of a data link refresh cycle time stored in the display means to a display means;
JP8428290A 1990-03-30 1990-03-30 Programmable controller for distributed control system Pending JPH03282906A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8428290A JPH03282906A (en) 1990-03-30 1990-03-30 Programmable controller for distributed control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8428290A JPH03282906A (en) 1990-03-30 1990-03-30 Programmable controller for distributed control system

Publications (1)

Publication Number Publication Date
JPH03282906A true JPH03282906A (en) 1991-12-13

Family

ID=13826105

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8428290A Pending JPH03282906A (en) 1990-03-30 1990-03-30 Programmable controller for distributed control system

Country Status (1)

Country Link
JP (1) JPH03282906A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012524354A (en) * 2009-04-20 2012-10-11 ピルツ ゲーエムベーハー アンド コー.カーゲー Safety controller for controlling an automation system and method for generating a user program
WO2013146308A1 (en) * 2012-03-30 2013-10-03 オムロン株式会社 Control unit and method for displaying update time in control unit

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012524354A (en) * 2009-04-20 2012-10-11 ピルツ ゲーエムベーハー アンド コー.カーゲー Safety controller for controlling an automation system and method for generating a user program
US9188964B2 (en) 2009-04-20 2015-11-17 Pilz Gmbh & Co. Kg Safety controller for controlling an automated installation and method for generating a user program for a safety controller
WO2013146308A1 (en) * 2012-03-30 2013-10-03 オムロン株式会社 Control unit and method for displaying update time in control unit
JP2013210768A (en) * 2012-03-30 2013-10-10 Omron Corp Control device and update time display method of the same
CN103959183A (en) * 2012-03-30 2014-07-30 欧姆龙株式会社 Control unit and method for displaying update time in control unit

Similar Documents

Publication Publication Date Title
US20040141526A1 (en) Fast frequency adjustment method for synchronizing network clocks
US5889669A (en) Programmable controller allowing an external peripheral device to monitor an internal operation state of a CPU unit
CN110146215A (en) A kind of baroceptor with temperature-compensating Yu parameter tuning measure
CN109905257A (en) The determination method and apparatus of bandwidth transmission capability
JPH03282906A (en) Programmable controller for distributed control system
JPH09134213A (en) Plant state visualization system
US20190165996A1 (en) Method for operating a real -time-capable simulation network having multiple network nodes for computing a simulation model, also computer program product relating thereto, and computer-readable storage medium
CN112781641A (en) Wireless calibration device and method for sensor
US12009914B2 (en) Control system, communication control method of control system, and control device
CN111033400B (en) Control device, control method, and storage medium for control program
EP3521946B1 (en) Control apparatus and control method
JP2843327B2 (en) Process control equipment
JP2963676B2 (en) Programmable controller
JPH10320017A (en) Field communication system
JPH0225196A (en) Remote monitor
JPH0566708U (en) Input pulse measuring device of programmable control device
JP2598352B2 (en) measuring device
JP2817383B2 (en) Two-wire transmitter
JPH079469Y2 (en) Communication control circuit
JP2015064262A (en) Measurement system and measurement method
JPH01112404A (en) Programmable controller
JP2002290347A (en) Communication simulator and method
JPH11103307A (en) Transmission system with trigger function and method for measuring time interval of its input output signal
JPS63284604A (en) Programmable controller
JPH05233022A (en) Input/output responsing time confirming method for programmable controller