JPS6329803A - Switching data control system in loop control system - Google Patents

Switching data control system in loop control system

Info

Publication number
JPS6329803A
JPS6329803A JP17175386A JP17175386A JPS6329803A JP S6329803 A JPS6329803 A JP S6329803A JP 17175386 A JP17175386 A JP 17175386A JP 17175386 A JP17175386 A JP 17175386A JP S6329803 A JPS6329803 A JP S6329803A
Authority
JP
Japan
Prior art keywords
data
control system
switching
loop control
common memory
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
JP17175386A
Other languages
Japanese (ja)
Other versions
JPH0690641B2 (en
Inventor
Yasushi Morioka
森岡 康
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
Fuji Facom Corp
Original Assignee
Fuji Electric Co Ltd
Fuji Facom 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 Fuji Electric Co Ltd, Fuji Facom Corp 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

Landscapes

  • Feedback Control In General (AREA)

Abstract

PURPOSE:To control all controllers or the like based on the same data during one circulation of a loop control system by forming two command memory, and even if new switching data are updated from a sequence control device on the way of execution in the loop control system, waiting the data in one common memory. CONSTITUTION:A step type sequencer 1 stores switching data 'R/L1', e.g., in a 1st common memory 3 through a terminating table 5 and switches originating data in an originating table 6 to '0'. The originating data '0' are allowed to correspond to the 1st common memory 3. At the time of starting the circular execution, the loop control system refers the originating table 6 and respective controllers 7, 8 receive the switching data 'R/L1' stored in the common memory 3 corresponding to the originating data '0' and drive a change-over switch 11 in an R/L switching part 10 to execute R/L switching. Simultaneously, the loop control system switches the terminating data in the terminating table 5 to '1'. The terminating data '1' are allowed to correspond to a 2nd common memory 4.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、シーケンス制御装置によってループ制御系に
おける設定値のリモート/ローカル切替え等を行なうた
めの切替データの制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) 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 control method for this type of switching data, a common memory is interposed between the sequence control device and the loop control system, and data is written into the common memory by the sequence control device. A method has been proposed in which a loop control system reads and executes switching data such as setting values. In this method,
When the sequence control step shifts and new switching data is written to the common memory, it is necessary to manage reading and writing of data using a semaphore or the like in order to stop referring to the switching data from the loop control system.

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

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

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

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

(作用) 本発明では、シーケンス制御装置のステップの移行によ
り一方の共通メモリに切替データが格納され、同時に来
先テーブルの来先データが前記共通メモリに対応するデ
ータに切り替わる。ループ制御系では、実行の際に来先
テーブルを参照して来先データに対応する前記共通メモ
リ内の切替データを受は取り、これに従って一巡の実行
を行なう、また、同時に行先データを他方の共通メモリ
に対応するデータに切り替える。
(Function) In the present invention, switching data is stored in one of the common memories by the step transition 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. In the loop control system, during execution, the destination table is referred to, the switching data in the common memory corresponding to the destination data is received, and one round of execution is performed according to this, and the destination data is simultaneously transferred to the other side. Switch to data corresponding to common memory.

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

(実施例) 以下、図に沿って本発明の一実施例を説明する。(Example) An embodiment of the present invention will be described below with reference to the drawings.

第1図は本発明が適用される制御システムを示すもので
、この実施例ではシーケンス制御装置としてのステップ
式シーケンサ1とループ制御系を構成する複数の調節計
7.訃・・とが共通メモリ部2を介して結合されており
、調節計7,8の設定値のリモート/ローカル切替(以
下、rR/L切替」という)を、共通メモリ部2を介し
てステップ式シーケンサ1からの切替データにより行な
うようになっている。
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 controllers 7 constituting a loop control system. ... are connected via the common memory section 2, and remote/local switching (hereinafter referred to as "rR/L switching") of the setting values of the controllers 7 and 8 can be performed in steps via the common memory section 2. This is done using switching data from the equation sequencer 1.

まず、図においてステップ式シーケンサ1は。First, in the figure, the step sequencer 1 is shown.

R/L切替の2種類の切替データrR/L■」およびr
R/L■」を有しており、シーケンス制御の各ステップ
’SxJ+ rsz」、・・・の移行に伴ってこれらの
切替データを交互に選択するようになっている。
Two types of switching data for R/L switching: rR/L■' and r
R/L■'', and these switching data are alternately selected as the sequence control shifts to each step 'SxJ+rsz', .

また、2は共通メモリ部であり、この共有メモリ部2は
切替データrR/L■J、rR/L■」を格納する第1
および第2の共通メモリ3,4と、ステップ式シーケン
サ1から共通メモリ3,4を行先として切替データを書
き込むための行先テーブル5と、後述する調節計7,8
から共通メモリ3゜4を来先として切替データを読み取
るための来先テーブル6とを備えている。
Further, 2 is a common memory section, and this shared memory section 2 is a first memory section that stores switching data rR/L■J, rR/L■.
and second common memories 3 and 4, a destination table 5 for writing switching data from the step sequencer 1 to the common memories 3 and 4, and controllers 7 and 8, which will be described later.
A destination table 6 is provided for reading switching data from the common memory 3.4 as a destination.

更に、プロセスにおけるループ制御系を構成する調節計
7,8は例えば調節弁9の開閉を調節するもので、−例
として調節計7は、R/L切替切替部内0内替スイッチ
11をリモート側(図中「R」)またはローカル側(図
中「L」)に切り替えることで、遠隔からもしくはその
場で弁開閉量の設定値を個別に調節できるようになって
いる。なお、12.13はそれぞれ調節スイッチを示す
Furthermore, the controllers 7 and 8 that constitute the loop control system in the process are for controlling the opening and closing of the control valve 9, for example. By switching to the local side ("R" in the figure) or the local side ("L" in the figure), it is possible to individually adjust the set value of the valve opening/closing amount remotely or on the spot. Note that 12 and 13 each indicate an adjustment switch.

次に、この動作を第2図を参照しつつ説明する。Next, this operation will be explained with reference to FIG.

まず、ステップ式シーケンサ1は、ステップS1にて行
先テーブル5を介して第1の共通メモリ3しこ例えば切
替データrR/L■」を格納し、同時に、来先テーブル
6の未完データをrOJに切り替える。
First, in step S1, the step sequencer 1 stores, for example, switching data rR/L in the first common memory 3 via the destination table 5, and at the same time, the unfinished data in the destination table 6 is stored in rOJ. Switch.

いま、この未完データrOJが第1の共通メモリ3に対
応するものとする。なお、図においてtiは1ステツプ
の実行時間である。
Now, it is assumed that this incomplete data rOJ corresponds to the first common memory 3. In the figure, ti is the execution time of one step.

これにより、ループ制御系はその一巡の実行を開始する
際に来先テーブル6を参照し、各調節計7.8は未完デ
ータ「0」に対応する共通メモリ3に格納された切替デ
ータrR/L■」を受は取ってR/L切替切替部内0内
替スイッチ11を動作させ、R/L切替えを行なう。同
時に、ループ制御系は行先テーブル5の行先データを「
1」に切り替える。
As a result, the loop control system refers to the destination table 6 when starting one round of execution, and each controller 7.8 uses the switching data rR/R/R stored in the common memory 3 corresponding to the unfinished data "0". The receiver picks up "L■" and operates the 0 internal switching switch 11 in the R/L switching section to perform R/L switching. At the same time, the loop control system updates the destination data in the destination table 5 with "
1".

この行先データ「1」は第2の共通メモリ4に対応する
ものとする。
It is assumed that this destination data "1" corresponds to the second common memory 4.

次に、ループ制御系を構成する全調節計の実行が一巡す
る時間t2の途中で、図示する如くステップ式シーケン
サ1のステップが移行してS2となった場合、このステ
ップS2における切替データ、例えばrR/L■」は行
先テーブル5の行先データ「1」に従って第2の共通メ
モリ4に格納される。一方、ループ制御系が実行開始の
際に参照した来先テーブル6の未完データはrOJであ
るから、時間t2の間はすべての調節計7,8・・・が
第1の共通メモリ3の切替データrR/L■」に従って
動作する。
Next, when the step of the step sequencer 1 shifts to S2 as shown in the figure during the time t2 when all the controllers constituting the loop control system complete one cycle of execution, the switching data in this step S2, e.g. rR/L■'' is stored in the second common memory 4 according to the destination data ``1'' of the destination table 5. On the other hand, since the unfinished data in the destination table 6 referred to by the loop control system when starting execution is rOJ, all the controllers 7, 8, etc. switch from the first common memory 3 during time t2. It operates according to the data rR/L■.

しかして、時間t2が経過して次の一巡の実行に移った
場合、先の時間t2内に何度かステップが移行して最終
のステップSn−□が切替データ「R/L■」に対応す
るものであったとする。この場合、次の一巡の実行に移
った時点では図示するように来先テーブル6の未完デー
タが「1」であるため、ループ制御系では第2の共通メ
モリ4から切替データrR/L■」を受は取ってR/L
切替切替部内0内替スイッチ11を動作させ、R/L切
替えを行なうと共に行先テーブル5のデータを「0」に
切す替える。
When time t2 has elapsed and the execution of the next round is started, steps are transferred several times within the previous time t2, and the final step Sn-□ corresponds to the switching data "R/L■" Suppose that it was something to do. In this case, when the execution of the next round starts, the unfinished data in the destination table 6 is "1" as shown in the figure, so the loop control system transfers the switching data rR/L from the second common memory 4. R/L
The 0 internal switching switch 11 in the switching section is operated to perform R/L switching and to switch the data in the destination table 5 to "0".

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

(発明の効果) 以上のように本発明によれば、共通メモリを:つ設け、
ループ制御系の実行途中においては新ブな切替データが
シーケンス制御装置から更新さ副てもこのデータを一方
の共通メモリ内に待機さ」るようにしたため、ループ制
御系が一巡する間1すべでの調節計等を同一のデータに
基づいて制くすることができる。
(Effects of the Invention) As described above, according to the present invention, a common memory is provided;
During execution of the loop control system, even if new switching data is updated from the sequence control device, this data is kept on standby in one common memory. controllers, etc. can be controlled based on the same data.

従って、−巡する途中での設定値等の変更がでじ得す、
−層正確なループ制御を行なうことが−きる。
Therefore, it is possible to change the setting values etc. during the cycle.
- It is possible to perform layer-accurate loop control.

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

テ   図は本発明の一実施例を示すもので、第1図は
j  本発明が適用される制御システムの概略的な構成
(図、第2図は動作を示すタイミングチャートである。 3  1・・・ステップ式シーケンサ 5  2・・・共通メモリ部    3,4・・・共通
メモリ5・・・行先テーブル    6・・・来先テー
ブル7.8・・・調節計     10・・・R/L切
替部と        特許出願人   富士電機株式
会社−1J(外1名) 士 ま 卸
Figure 1 shows an embodiment of the present invention. Figure 1 shows a schematic configuration of a control system to which the present invention is applied, and Figure 2 is a timing chart showing the operation. ...Step type sequencer 5 2...Common memory section 3, 4...Common memory 5...Destination table 6...Destination table 7.8...Controller 10...R/L switching Department and patent applicant Fuji Electric Co., Ltd.-1J (1 other person) Shima Wholesale

Claims (1)

【特許請求の範囲】 ループ制御に用いられるデータを、シーケンス制御装置
によるステップの移行に伴ってメモリを介して切り替え
る方式において、 切替データが格納され、かつ行先データに応じて選択さ
れる前記メモリとしての第1および第2の共通メモリと
、ループ制御系の実行によって行先データが切り替わる
行先テーブルと、シーケンス制御装置によるステップの
移行に伴って来先データが切り替わる来先テーブルとを
備え、 ループ制御系は、その実行を開始する際に参照した来先
データに対応する一方の共通メモリ内の切替データに従
って実行を一巡させると同時に、行先テーブル内の行先
データを他方の共通メモリ内の切替データに対応する行
先データに切り替えることを特徴としたループ制御系に
おける切替データの制御方式。
[Claims] In a method of switching data used for loop control via a memory in accordance with transition of steps by a sequence control device, the memory in which switching data is stored and selected according to destination data is provided. A loop control system comprising: first and second common memories, a destination table in which destination data is switched by execution of a loop control system, and a destination table in which destination data is switched in accordance with step transition by a sequence control device; executes one cycle according to the switching data in one common memory that corresponds to the destination data referenced when starting the execution, and at the same time corresponds the destination data in the destination table to the switching data in the other common memory. A control method for switching data 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 true JPS6329803A (en) 1988-02-08
JPH0690641B2 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)

Citations (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

Patent Citations (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
JPH0690641B2 (en) 1994-11-14

Similar Documents

Publication Publication Date Title
CA2016191A1 (en) Method for control data base updating of a redundant processor in a process control system
JP2000090057A (en) Group object and control system
JPS6329803A (en) Switching data control system in loop control system
JP2002251291A (en) Control method, control program, memory cell and controller for technical process inside vehicle
JPH0364239A (en) Guest room state control system
JP2736060B2 (en) Automatic sequence controller
JPH07210521A (en) Real time simulation system
JPH0635799A (en) Memory area designating system
JPS60197050A (en) Schedule operating system of automatic machine by centralized monitoring system
JPS62195962A (en) Initial program load system for remote station
JP2587966B2 (en) Multicolor weft insertion control device for fluid jet loom
JPS62121505A (en) Link system for programmable controller
JPH03207628A (en) Method and apparatus for editing sequence program of injection molding machine
JPH05268332A (en) Remote file updating system
JPS60100206A (en) Centralized control system
JPH0314877Y2 (en)
JPH09200210A (en) Address setting method
JPS6437654A (en) Inter-processor communication memory
JPH08257253A (en) Stage setting controller
JPH0556149A (en) File update method in exchange system
JPS6019398Y2 (en) information transmission device
JPS6349806A (en) Control method for position arrival signal
JPH03106196A (en) Decentralized controller and its program test method
JPS5827223A (en) Direct memory access system
JPS59127111A (en) Load decentralizing system of multi-loop controller