JPH0690641B2 - Control method of switching data in loop control system - Google Patents

Control method of switching data in loop control system

Info

Publication number
JPH0690641B2
JPH0690641B2 JP61171753A JP17175386A JPH0690641B2 JP H0690641 B2 JPH0690641 B2 JP H0690641B2 JP 61171753 A JP61171753 A JP 61171753A JP 17175386 A JP17175386 A JP 17175386A JP H0690641 B2 JPH0690641 B2 JP H0690641B2
Authority
JP
Japan
Prior art keywords
data
destination
switching
control system
loop control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP61171753A
Other languages
Japanese (ja)
Other versions
JPS6329803A (en
Inventor
康 森岡
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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric Co Ltd
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 Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP61171753A priority Critical patent/JPH0690641B2/en
Publication of JPS6329803A publication Critical patent/JPS6329803A/en
Publication of JPH0690641B2 publication Critical patent/JPH0690641B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、シーケンス制御装置によってループ制御系に
おける設定値のリモート/ローカル切替え等を行なうた
めの切替データの制御方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a switching data control method for performing remote / local switching of set values in a loop control system by a sequence control device.

(従来の技術およびその問題点) 従来、この種の切替データの制御方法としては、シーケ
ンス制御装置とループ制御系との間に共通メモリを介在
させ、かかる共通メモリにシーケンス制御装置にて書き
込んだ設定値等の切替データをループ制御系が読み取っ
て実行する方法が提案されている。この方法において、
シーケンス制御のステップが移行して新たな切替データ
を共通メモリに書き込んでいる際、ループ制御系からの
切替データの参照を停止するためにセマフォ等によるデ
ータの読み書きの管理が必要となる。
(Prior art and its problems) Conventionally, as a method of controlling this kind of switching data, a common memory is interposed between a sequence control device and a loop control system, and the sequence control device writes the common memory. A method has been proposed in which a loop control system reads and executes switching data such as set values. In this way,
When the sequence control step shifts and new switching data is written in the common memory, it is necessary to manage the reading and writing of data by a semaphore in order to stop the reference of the switching data from the loop control system.

また、ループ制御系が複数の調節計等によって構成され
ている場合において、全調節計が一巡する実行途中でデ
ータが切り替わったような場合には、その一巡での制御
は、切替え前および切替え後の異なった設定値に従って
制御されるという問題を生じていた。
In addition, when the loop control system is composed of multiple controllers, etc., if the data is switched during the execution of all the controllers in one cycle, the control in that cycle is performed before and after switching. There was a problem of being controlled according to different setting values of.

本発明は上記の問題点を解決するべく提案されたもの
で、その目的とするところは、ループ制御系の実行が一
巡する間にシーケンス制御装置からデータの切替えが行
なわれた場合にも、かかる切替えデータを一時待機させ
て従前のデータによるループ制御系の実行を完了させ、
ループ制御系での設定値等の統一を可能にした切替デー
タの制御方法を提供することにある。
The present invention has been proposed to solve the above problems, and an object of the present invention is to solve the problem even when data is switched from the sequence control device while the loop control system makes one round. Hold the switching data temporarily and complete the execution of the loop control system with the previous data,
An object of the present invention is to provide a switching data control method that enables unification of set values and the like in a loop control system.

(問題点を解決するための手段) 上記目的を達成するため、本発明は、ループ制御に用い
られるデータを、シーケンス制御装置によるステップの
移行に伴ってメモリを介して切り替える方法を前提と
し、また、主な構成要素として、調節計のリモート/ロ
ーカル切替等の切替データが格納され、かつ行先データ
に応じて選択される第1および第2の共通メモリと、ル
ープ制御系の実行によって行先データが切り替わる行先
テーブルと、シーケンス制御装置によるステップの移行
に伴って来先データが切り替わる来先テーブルとを備え
ている。
(Means for Solving the Problems) In order to achieve the above object, the present invention is premised on a method of switching data used for loop control through a memory in accordance with transition of steps by a sequence control device, and , The main constituent elements are the first and second common memories that store switching data such as remote / local switching of the controller and are selected according to the destination data, and the destination data is stored by executing the loop control system. It includes a destination table to be switched and a destination table to which the destination data is switched as the sequence control device shifts the step.

そして、ループ制御系は、その実行を開始する際に参照
した来先データに対応する一方の共通メモリ内の切替デ
ータに従って実行を一巡させると同時に、行先テーブル
内の行先データを他方の共通メモリ内の切替データに対
応する行先データに切り替えることを特徴とする。
Then, the loop control system cycles the execution in accordance with the switching data in the one common memory corresponding to the destination data referred to when the execution is started, and at the same time, sets the destination data in the destination table in the other common memory. It is characterized by switching to the destination data corresponding to the switching data of.

(作用) 本発明では、シーケンス制御装置のステップの移行によ
り一方の共通メモリに切替データが格納され、同時に来
先テーブルの来先データが前記共通メモリに対応するデ
ータに切り替わる。ループ制御系では、実行の際に来先
テーブルを参照して来先データに対応する前記共通メモ
リ内の切替データを受け取り、これに従って一巡の実行
を行なう。また、同時に行先テーブル内の行先データを
他方の共通メモリに対応するデータに切り替える。
(Operation) In the present invention, the switching data is stored in the one common memory by the shift of the step of the sequence control device, and at the same time, the destination data in the destination table is switched to the data corresponding to the common memory. At the time of execution, the loop control system refers to the destination table, receives the switching data in the common memory corresponding to the destination data, and executes the loop in accordance with this. At the same time, the destination data in the destination table is switched to the data corresponding to the other common memory.

ループ制御系が一巡する間にシーケンス制御装置から別
の切替データが送られると、この切替データは行先テー
ブル内の行先データに従って他方の共通メモリに格納さ
れ、また、来先データが切り替わる。この共通メモリを
来先とする来先データは、ループ制御系が一巡する間は
参照されないため、ループ制御系は同一の切替データに
基づいて実行し、一巡が終了した段階で新たな来先デー
タに基づいて別の切替データを受け取ることとなる。
When another piece of switching data is sent from the sequence control device during one loop of the loop control system, this switching data is stored in the other common memory according to the destination data in the destination table, and the destination data is switched. Since the destination data whose destination is this common memory is not referred to while the loop control system makes one cycle, the loop control system executes based on the same switching data, and when the loop completes, new destination data is created. Another switching data will be received based on.

(実施例) 以下、図に沿って本発明の一実施例を説明する。第1図
は本発明が適用される制御システムを示すもので、この
実施例ではシーケンス制御装置としてのステップ式シー
ケンサ1とループ制御系を構成する複数の調節系7,8…
とが共通メモリ部2を介して結合されており、調節系7,
8の設定値のリモート/ローカル切替(以下、「R/L切
替」という)を、共通メモリ部2を介してステップ式シ
ーケンサ1からの切替データにより行なうようになって
いる。
(Example) An example of the present invention will be described below with reference to the drawings. FIG. 1 shows a control system to which the present invention is applied. In this embodiment, a step sequencer 1 as a sequence control device and a plurality of adjusting systems 7, 8 constituting a loop control system ...
And are connected via the common memory unit 2, and the adjustment system 7,
Remote / local switching of the set value of 8 (hereinafter referred to as “R / L switching”) is performed by switching data from the step-type sequencer 1 via the common memory unit 2.

まず、図においてステップ式シーケンサ1は、R/L切替
の2種類の切替データ「R/L」および「R/L」を有し
ており、シーケンス制御の各ステップ「S1」,「S2」,
…の移行に伴ってこれらの切替データを交互に選択する
ようになっている。また、2は共通メモリ部であり、こ
の共通メモリ部2は切替データ「R/L」,「R/L」を
格納する第1および第2の共通メモリ3,4と、ステップ
式シーケンサ1から共通メモリ3,4を行先として切替デ
ータを書き込むための行先テーブル5と、後述する調節
計7,8から共通メモリ3,4を来先として切替データを読み
取るための来先テーブル6とを備えている。
First, in the figure, the step sequencer 1 has two types of switching data “R / L” and “R / L” for R / L switching, and each step “S 1 ”, “S 2 ” of sequence control ],
The switching data are alternately selected with the transition of ... Further, 2 is a common memory unit, and the common memory unit 2 includes the first and second common memories 3 and 4 for storing the switching data “R / L” and “R / L”, and the step sequencer 1. A destination table 5 for writing the switching data with the common memories 3 and 4 as destinations, and a destination table 6 for reading the switching data from the controllers 7 and 8 with the common memories 3 and 4 as destinations are provided. There is.

更に、プロセスにおけるループ制御系を構成する調節計
7,8は例えば調節弁9の開閉を調節するもので、一例と
して調節計7は、R/L切替部10内の切替スイッチ11をリ
モート側(図中「R」)またはローカル側(図中
「L」)に切り替えることで、遠隔からもしくはその場
で弁開閉量の設定値を個別に調節できるようになってい
る。なお、12,13はそれぞれ調節スイッチを示す。
Furthermore, the controller that constitutes the loop control system in the process
Reference numerals 7 and 8 are for adjusting the opening and closing of the control valve 9, and as an example, the controller 7 sets the changeover switch 11 in the R / L changeover unit 10 to the remote side (“R” in the figure) or the local side (in the figure). By switching to "L"), the set value of the valve opening / closing amount can be adjusted individually or remotely. Note that reference numerals 12 and 13 denote adjustment switches, respectively.

次に、この動作を第2図を参照しつつ説明する。まず、
ステップ式シーケンサ1は、ステップS1にて行先テーブ
ル5を介して第1の共通メモリ3に例えば切替データ
「R/L」を格納し、同時に、来先テーブル6の来先デ
ータ「0」に切り替える。いま、この来先データ「0」
が第1の共通メモリ3に対応するものとする。なお、図
においてt1は1ステップの実行時間である。
Next, this operation will be described with reference to FIG. First,
The step type sequencer 1 stores, for example, the switching data “R / L” in the first common memory 3 via the destination table 5 in step S 1, and at the same time stores the destination data “0” in the destination table 6. Switch. Now this destination data is "0"
Corresponds to the first common memory 3. In the figure, t 1 is the execution time of one step.

これにより、ループ制御系はその一巡の実行を開始する
際に来先テーブル6を参照し、各調節計7,8は来先デー
タ「0」に対応する共通メモリ3に格納された切替デー
タ「R/L」を受け取ってR/L切替部10内の切替スイッチ
11を動作させ、R/L切替えを行なう。同時に、ループ制
御系は行先テーブル5の行先データを「1」に切り替え
る。この行先データ「1」は第2の共通メモリ4に対応
するものとする。
As a result, the loop control system refers to the destination table 6 when starting the execution of the loop, and each controller 7, 8 has the switching data “0” stored in the common memory 3 corresponding to the destination data “0”. "R / L" is received and the changeover switch in the R / L changeover unit 10
Operate 11 to switch R / L. At the same time, the loop control system switches the destination data of the destination table 5 to "1". This destination data “1” corresponds to the second common memory 4.

次に、ループ制御系を構成する全調節計の実行が一巡す
る時間t2の途中で、図示する如くステップ式シーケンサ
1のステップが移行してS2となった場合、このステップ
S2における切替データ、例えば「R/L」は行先テーブ
ル5の行先データ「1」に従って第2の共通メモリ4に
格納される。一方、ループ制御系が実行開始の際に参照
した来先テーブル6の来先データは「0」であるから、
時間t2の間はすべての調節計7,8…が第1の共通メモリ
3の切替データ「R/L」に従って動作する。
Next, when the step of the step-type sequencer 1 shifts to S 2 as shown in the figure in the middle of the time t 2 during which the execution of all controllers constituting the loop control system completes one cycle, this step
The switching data in S 2 , for example “R / L”, is stored in the second common memory 4 according to the destination data “1” in the destination table 5. On the other hand, the destination data of the destination table 6 referred to by the loop control system when the execution is started is “0”,
During the time t 2 , all the controllers 7, 8 ... Operate according to the switching data “R / L” of the first common memory 3.

しかして、時間t2が経過して次の一巡の実行に移った場
合、先の時間t2内に何度かステップが移行して最終のス
テップSn−1が切替データ「R/L」に対応するもの
であったとする。この場合、次の一巡の実行に移った時
点では図示するように来先テーブル6の来先データが
「1」であるため、ループ制御系では第2の共通メモリ
4から切替データ「R/L」を受け取ってR/L切替部10内
の切替スイッチ11を動作させ、R/L切替えを行なうと共
に行先テーブル5のデータを「0」に切り替える。
Then, when the time t 2 elapses and the next round of execution is started, the steps move several times within the previous time t 2 and the final step S n-1 is the switching data “R / L”. It corresponds to. In this case, since the destination data in the destination table 6 is "1" as shown in the figure at the time when the next round of execution is started, the loop control system transfers the switching data "R / L" from the second common memory 4. Is received, the changeover switch 11 in the R / L changeover unit 10 is operated to perform R / L changeover, and the data in the destination table 5 is changed to "0".

以下、同様にして、ループ制御系は一巡の実行が開始す
る時点での来先テーブル6の来先データのみを参照し、
その期間は同一の切替データに基づいて実行するため、
当該期間内においてステップ式シーケンサ1から切替デ
ータが更新されたとしても、それとは無関係にすべての
調節計7,8を同一の切替データに従って動作させるもの
である。
Hereinafter, similarly, the loop control system refers only to the destination data of the destination table 6 at the time when the execution of one round is started,
Since it is executed based on the same switching data during that period,
Even if the switching data is updated from the step type sequencer 1 within the period, all the controllers 7 and 8 are operated according to the same switching data regardless of the update.

(発明の効果) 以上のように本発明によれば、切替データが格納され、
かつ行先データに応じて選択される前記メモリとしての
第1および第2の共通メモリと、ループ制御系の実行に
よって行先データが切り替わる行先テーブルと、シーケ
ンス制御装置によるステップの移行に伴って来先データ
が切り替わる来先テーブルとを備え、ループ制御系は、
その実行を開始する際に参照した来先データに対応する
一方の共通メモリ内の切替データに従って実行を一巡さ
せると同時に、行先テーブル内の行先データを他方の共
通メモリ内の切替データに対応する行先データに切り替
えるようにしたため、ループ制御系が一巡する間はすべ
ての調節計等を同一のデータに基づいて制御することが
できる。
As described above, according to the present invention, switching data is stored,
And the first and second common memories as the memories selected according to the destination data, the destination table in which the destination data is switched by the execution of the loop control system, and the destination data accompanying the step transition by the sequence control device. And the destination table for switching the loop control system,
The execution is cycled according to the switching data in one common memory corresponding to the destination data referenced when the execution is started, and at the same time, the destination data in the destination table is changed to the destination corresponding to the switching data in the other common memory. Since the data is switched to the data, all the controllers and the like can be controlled based on the same data while the loop control system makes one cycle.

従って、一巡する途中での設定値等の変更が生じ得ず、
一層正確なループ制御を行なうことができる。
Therefore, the setting value etc. cannot be changed during one round,
More accurate loop control can be performed.

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

図は本発明の一実施例を示すもので、第1図は本発明が
適用される制御システムの概略的な構成図、第2図は動
作を示すタイミングチャートである。 1……ステップ式シーケンサ 2……共通メモリ部、3,4……共通メモリ 5……行先テーブル、6……来先テーブル 7,8……調節計、10……R/L切替部
FIG. 1 shows an embodiment of the present invention. FIG. 1 is a schematic configuration diagram of a control system to which the present invention is applied, and FIG. 2 is a timing chart showing the operation. 1 …… Step type sequencer 2 …… Common memory section, 3,4 …… Common memory 5 …… Destination table, 6 …… Destination table 7,8 …… Controller, 10 …… R / L switching section

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】ループ制御に用いられるデータを、シーケ
ンス制御装置によるステップの移行に伴ってメモリを介
して切り替える方法において、 切替データが格納され、かつ行先データに応じて選択さ
れる前記メモリとしての第1および第2の共通メモリ
と、ループ制御系の実行によって行先データが切り替わ
る行先テーブルと、シーケンス制御装置によるステップ
の移行に伴って来先データが切り替わる来先テーブルと
を備え、 ループ制御系は、その実行を開始する際に参照した来先
データに対応する一方の共通メモリ内の切替データに従
って実行を一巡させると同時に、行先テーブル内の行先
データを地方の共通メモリ内の切替データに対応する行
先データに切り替えることを特徴としたループ制御系に
おける切替データの制御方法。
1. A method of switching data used for loop control through a memory as a step shifts by a sequence controller, wherein the switching data is stored and the memory is selected according to destination data. The loop control system includes first and second common memories, a destination table whose destination data is switched by execution of the loop control system, and a destination table whose destination data is switched as the sequence controller shifts steps. , The destination data in the destination table corresponds to the switching data in the local common memory at the same time as the execution is cycled according to the switching data in the one common memory corresponding to the destination data referenced when the execution is started. A switching data control method in a loop control system, characterized by switching to destination data.
JP61171753A 1986-07-23 1986-07-23 Control method of switching data in loop control system Expired - Lifetime JPH0690641B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61171753A JPH0690641B2 (en) 1986-07-23 1986-07-23 Control method of switching data in loop control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61171753A JPH0690641B2 (en) 1986-07-23 1986-07-23 Control method of switching data in loop control system

Publications (2)

Publication Number Publication Date
JPS6329803A JPS6329803A (en) 1988-02-08
JPH0690641B2 true JPH0690641B2 (en) 1994-11-14

Family

ID=15929051

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61171753A Expired - Lifetime JPH0690641B2 (en) 1986-07-23 1986-07-23 Control method of switching data in loop control system

Country Status (1)

Country Link
JP (1) JPH0690641B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58144272A (en) * 1982-02-19 1983-08-27 Sony Corp Digital signal processor
JPS58159148A (en) * 1982-03-18 1983-09-21 Toshiba Corp Program loader
JPS6071963U (en) * 1983-10-15 1985-05-21 株式会社明電舎 Condition change detection circuit

Also Published As

Publication number Publication date
JPS6329803A (en) 1988-02-08

Similar Documents

Publication Publication Date Title
JPH0690641B2 (en) Control method of switching data in loop control system
US6831654B2 (en) Data processing system
US5754874A (en) Digital signal processor with selective sound operation
JP2564054B2 (en) Register file
JP2504147B2 (en) Program controller
JP2736060B2 (en) Automatic sequence controller
JPH03106196A (en) Decentralized controller and its program test method
JPH0635799A (en) Memory area designating system
JPH03102278A (en) Method of controlling nmr device in real time
JPH02215085A (en) Dimming device
JPH0365747A (en) Dma transfer system
JP2896207B2 (en) A / D converter
JPH08185203A (en) Simulation method for control system
JPS63132304A (en) Sequence controller
JPS6321225B2 (en)
JPS62168246A (en) Memory writing control system
JPH0614355A (en) Uninterrupted file updating system
JPS59195271A (en) Memory for crt display
JPH01226065A (en) Microprocessor system
JPH11108510A (en) Operating device
JPS62262104A (en) Parallel operation controlling system for programmable controller
JPS6279945A (en) Feed speed correction controller
JPH0414395A (en) Remote control system
JPH0950396A (en) Control system for 2 port access of single port ram
JPH03123300A (en) Initialization circuit for time switch data memory