JPS63239506A - Measuring control system - Google Patents

Measuring control system

Info

Publication number
JPS63239506A
JPS63239506A JP7343187A JP7343187A JPS63239506A JP S63239506 A JPS63239506 A JP S63239506A JP 7343187 A JP7343187 A JP 7343187A JP 7343187 A JP7343187 A JP 7343187A JP S63239506 A JPS63239506 A JP S63239506A
Authority
JP
Japan
Prior art keywords
program
memory
controller
maintenance device
cpu
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
JP7343187A
Other languages
Japanese (ja)
Inventor
Kazuhiko Ishii
一彦 石井
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP7343187A priority Critical patent/JPS63239506A/en
Publication of JPS63239506A publication Critical patent/JPS63239506A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control By Computers (AREA)
  • Selective Calling Equipment (AREA)

Abstract

PURPOSE:To attain the remodeling of a program with an on-line without executing the erroneous action of a system by changing an access area while a controller performs the control program execution and executing the control program for remodeling with a bumpless. CONSTITUTION:The system is composed of a system memory 12b corresponding to the work area of an area for a system in a controller 1, a sharing memory 13 (A, B) and two port memories and assigned to the same address space on a memory map in a maintenance device 3. When an application program stored into a memory 13B is executed by a CPU 11, a remodeling program A can be stored into a memory 13A in the on-line condition. The loaded program A is activated by a switching circuit 38 or a change-over switch 16, the activation is loaded to a system program by an interruption signal and the execution is switched to the program A. Thus, the remodeling program A is loaded and execution can be shifted during the on-line of the controller 1.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、計測制御システムに係り、特に、コントロー
ラのプログラムをオンラインで改造する装置に関するも
のである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a measurement control system, and particularly to a device for modifying a controller program online.

〔従来の技術〕[Conventional technology]

従来の計測制御システムにおいては、特開昭60−13
9041号に記載のように、プラント内のプロセスの制
御および自コントローラ内の自己診断を実行し、その診
断結゛果を電送するCPUを含むコントローラと、この
自己診断データを取り込んで収集するCPUを含むデー
タ収集装置とがオンラインでリンクされていた。
In the conventional measurement control system,
As described in No. 9041, a controller including a CPU that controls processes within a plant, performs self-diagnosis within its own controller, and transmits the diagnosis results electronically, and a CPU that captures and collects this self-diagnosis data. Data collection devices including were linked online.

また、コントローラとデータ収集装置とは、各各界用の
メモリを有し、コントローラのROMには、プロセス制
御のプログラムと自己診断プログラムが格納され、RA
M内のデータで演算がなされる。
In addition, the controller and the data collection device have memories for various fields, and the ROM of the controller stores a process control program and a self-diagnosis program, and the RA
An operation is performed on the data in M.

データ収集装置では、コントローラからの自己診断デー
タを受信し、RAMに格納するとともに、表示部に表示
する。このデータ収集と表示を実行するプログラムはR
OMに格納されている。
The data collection device receives self-diagnosis data from the controller, stores it in the RAM, and displays it on the display unit. The program that performs this data collection and display is R
Stored in OM.

したがって、データ収集装置のCPUは、コントローラ
のメモリにはアクセスできず、コントローラのCPUか
ら送られた自己診断データを収集しているだけである。
Therefore, the CPU of the data collection device cannot access the memory of the controller, and only collects self-diagnosis data sent from the CPU of the controller.

また、コントローラのCP[+は、本来の目的であるプ
ロセス制御と自己診断およびデータ送出との2つのタス
クを時分割で実行している。
Further, the controller CP[+ executes two tasks in a time-sharing manner: process control, which is its original purpose, and self-diagnosis and data transmission.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記従来技術は、コントローラをオンライン制御状態で
プログラム改造することについての配慮がなく、コント
ローラ本来のタスクであるプロセス制御演算とは独立し
て、他のCPUからメモリにアクセスし、指定エリアの
プログラムを実行にしたがって一プログラムを改造する
たびに1例えばプログラムを入れたフロッピディスクを
持って、プラントの現場まで出掛けなければならず、時
間的にも費用的にも膨大な無駄が生じていた。
The above-mentioned conventional technology does not take into consideration the program modification of the controller while it is under online control, and the memory is accessed from another CPU and the program in the specified area is executed independently of the controller's original task of process control calculation. Each time a program is modified for execution, it is necessary to travel to the plant site with, for example, a floppy disk containing the program, resulting in a huge waste of time and money.

特に、プログラムを郵便等で送っただけでは、プラント
が正常に制御されるかどうかを、プログラム作成者等が
確認できないため、手直しがうまく行かず、どうしても
出張せざるを得ない状況にあった。゛ 本発明の目的は、コントローラのプログラムをオンライ
ンで遠隔的に改造できる計測制御システムを提供するこ
とである。
In particular, if the program was simply sent by mail, the program creator could not check whether the plant would be controlled normally, so modifications were not successful, and the program had to be made on-site.゛An object of the present invention is to provide a measurement control system in which a controller program can be remotely modified online.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、上記目的を達成するために、プラントからデ
ータを収集しそのデータに基づいてプラントを制御する
CPUを含むコントローラと、遠隔保守装置と通信しな
がらコントローラを保守するCPUを含む保守装置とか
らなる計測制御システムにおいて、コントローラに、2
つのCPUから共通にアクセス可能なワーク用メモリと
、2つのCPUから共通にアクセス可能なプログラム格
納用メモリと、前記プログラム格納用メモリ内のプログ
ラムを実行しているオンライン状態でプログラム格納用
メモリに保守装置側から送られる他のプログラムを格納
する手段と、格納されたプログラムの実行を切換る手段
とを備え、保守装置に。
In order to achieve the above object, the present invention provides a controller including a CPU that collects data from a plant and controls the plant based on the data, and a maintenance device including a CPU that maintains the controller while communicating with a remote maintenance device. In a measurement control system consisting of a controller, 2
A work memory that can be accessed in common from two CPUs, a program storage memory that can be accessed in common from two CPUs, and a program storage memory that is maintained online while the program in the program storage memory is being executed. A maintenance device comprising means for storing other programs sent from the device and means for switching execution of the stored programs.

遠隔保守装置または自らの指示によりコントローラに前
記他のプログラムを送り込む手段と、プログラムの切換
を指示する手段とを備えた計測制御システムを提案する
ものである。
The present invention proposes a measurement control system that includes means for sending the other program to the controller according to instructions from a remote maintenance device or the controller itself, and means for instructing program switching.

前記プログラム格納用メモリは、ハードウェア的に完全
に分離した少なくとも2つのメモリで構成することもで
きる。
The program storage memory can also be configured with at least two memories that are completely separated in terms of hardware.

また、前記保守装置は、現在実行中のプログラムの演算
結果と新しいプログラムの演算結果とを比較する手段を
備えても良い。
Further, the maintenance device may include means for comparing the calculation results of the currently running program and the calculation results of the new program.

すなわち、本発明は、コントローラ内のメモリを2ボー
トメモリとし、コントローラ内CPUと保守装置のCP
Uとの両方から、メモリマツプ上の共有部に割り当てら
れたエリアをアクセスできるようにし、2つのプログラ
ムを格納する各々専用のエリアを設け、これら2つのプ
ログラムのいずれか一方を指定して、CPUの実行を切
換えるようにしたものである。
That is, in the present invention, the memory in the controller is a two-board memory, and the CPU in the controller and the CPU in the maintenance device are connected to each other.
The area allocated to the shared part on the memory map can be accessed from both U and U, and dedicated areas for each of the two programs are provided, and one of these two programs can be specified to control the CPU. This allows execution to be switched.

〔作用〕[Effect]

コントローラが、2ポートメモリである共有メモリAに
格納されたプログラムAを実行中に、改造用のプログラ
ムBを専用の共有メモリBにローディングする。コント
ローラのCPUに取り込まれたプログラム切換指令でプ
ログラムBに実行が移される。プログラムA用とB用の
専用のエリアを確保し、CPUにとっては、機械的にメ
モリを切換えることなく、メモリのアクセスエリアを移
すだけで、切換指令の割込みによってプログラムの実行
を切換えるので、バンプレスにオンラインでプログラム
の改造が可能となる。
The controller loads program B for modification into dedicated shared memory B while executing program A stored in shared memory A, which is a two-port memory. Execution is transferred to program B according to the program switching command taken into the CPU of the controller. Dedicated areas are reserved for programs A and B, and the CPU can switch program execution without mechanically switching the memory by simply moving the memory access area and switching program execution by interrupting the switching command. It becomes possible to modify the program online.

〔実施例〕〔Example〕

次に、図面を参照して、本発明の詳細な説明する。 Next, the present invention will be described in detail with reference to the drawings.

第1図は、遠隔保守装置との間で通信しながら、プログ
ラムをオンラインに切換えるためのシステム構成の全体
を示す系統図である。図において、1はコントローラ、
3はその保守装置、8は通信制御装置、85は通信回線
、8aは遠隔保守装置3a側の通信制御装置、4aはフ
ロッピディスク駆動装22 (FDD) 、5aは表示
器[(CRT)、6aはキーボード、7aはプリンタで
あ゛る。遠隔保守装置3aは、後述のように、コントロ
ーラ3内のメモリにアクセスできる。
FIG. 1 is a system diagram showing the entire system configuration for switching a program online while communicating with a remote maintenance device. In the figure, 1 is a controller;
3 is the maintenance device, 8 is a communication control device, 85 is a communication line, 8a is a communication control device on the side of the remote maintenance device 3a, 4a is a floppy disk drive 22 (FDD), 5a is a display [(CRT), 6a is a is a keyboard, and 7a is a printer. The remote maintenance device 3a can access the memory within the controller 3, as will be described later.

第2図は、コントローラ1と保守装置3の詳細な構成を
示すブロック図である。図において、コントローラ1は
、CPUIIと、システムメモリ12a、12bと、共
有メモリ13と、入力回路15と、切換スイッチ16と
、出力回路17と、表示器18と、内部バス20と、保
守バス21と、保守装置インターフェース19とからな
る。
FIG. 2 is a block diagram showing the detailed configuration of the controller 1 and maintenance device 3. As shown in FIG. In the figure, the controller 1 includes a CPU II, system memories 12a and 12b, a shared memory 13, an input circuit 15, a changeover switch 16, an output circuit 17, a display 18, an internal bus 20, and a maintenance bus 21. and a maintenance device interface 19.

システムメモリ12aには、コントローラ1を管理する
システムプログラムが格納されている。
A system program for managing the controller 1 is stored in the system memory 12a.

これは、内部バス20の方からはアクセスできるが、保
守バス21の方からはアクセスできない。
This can be accessed from the internal bus 20, but not from the maintenance bus 21.

システムメモリ12bは、2ポートメモリとして。The system memory 12b is a 2-port memory.

内部バス20と保守バス21の両方からアクセスされ、
入力データや出力データ等が格納されるワーク用である
Accessed from both the internal bus 20 and the maintenance bus 21,
This is for work that stores input data, output data, etc.

共有メモリ13は、2ポートメモリとして内部バス20
と保守バス21の両方からアクセスされ、システムの制
御を実行するアプリケーションプログラムが格納される
。メモリ容量は、少なくとも2つのアプリケーションプ
ログラムが入るように確保しである。
The shared memory 13 is connected to the internal bus 20 as a 2-port memory.
and the maintenance bus 21, and stores an application program for controlling the system. Memory capacity is secured to accommodate at least two application programs.

CPUI 1は、システムメモリ12aに格納されたシ
ステムプログラムの管理の下、共有メモリ13に格納さ
れたプログラムのうちいずれか一方を選択し、実行する
The CPU 1 selects and executes one of the programs stored in the shared memory 13 under the control of the system program stored in the system memory 12a.

入力回路15は、切換スイッチ16または後述の切換回
路38からの信号を取り込み、CPU11に割込みをか
け、前記プログラムのいずれを実行すべきかを指示する
ものである。出力回路17は、上記割込みによりいずれ
が選択され実行状態にあるかを検出し、表示器18に表
示させる。
The input circuit 15 takes in a signal from the changeover switch 16 or a changeover circuit 38 (described later), interrupts the CPU 11, and instructs which of the programs to execute. The output circuit 17 detects which one is selected and is in the execution state by the above-mentioned interrupt, and displays it on the display 18.

保守インターフェース19は、コントローラ1内の保守
バス21と保守装置3内の保守装置内部バス37を接続
するためのバッファである。
The maintenance interface 19 is a buffer for connecting the maintenance bus 21 in the controller 1 and the maintenance device internal bus 37 in the maintenance device 3.

次に、保守装置3は、CPU31と、メモリ32と、F
DD33と、CRTインターフェース34と、キーボー
ドインターフェース35と、プリンタインターフェース
36と、保守装置内部バス37と、切換回路38と、通
信制御装置インターフェース39とからなる。
Next, the maintenance device 3 includes the CPU 31, the memory 32, and the F
It consists of a DD 33, a CRT interface 34, a keyboard interface 35, a printer interface 36, a maintenance device internal bus 37, a switching circuit 38, and a communication control device interface 39.

CPU31は、メモリ32内のプログラムにより、メモ
リ32.各インターフェースとコントローラおよび通信
制御装置との間で、プログラムやデータのアクセスを行
う。
The CPU 31 uses the program in the memory 32 to execute the program in the memory 32 . Programs and data are accessed between each interface and the controller and communication control device.

ここで、第2図と第4図により第2図実施例の動作を説
明する。第4図は、保守装置3とコントローラ1内のメ
モリマツプを示す図である。
Here, the operation of the embodiment shown in FIG. 2 will be explained with reference to FIGS. 2 and 4. FIG. 4 is a diagram showing a memory map within the maintenance device 3 and the controller 1.

保守装置3のシステム用エリアとコントローラ1のシス
テム用エリアは、各々独自に確保され、互いにアクセス
はできない。
The system area of the maintenance device 3 and the system area of the controller 1 are each independently secured and cannot be accessed from each other.

保守装置3内のシステム用エリアには、CPU31に実
行させるプログラムが格納されているが、そのほかにワ
ーク用エリアも含んでいる。
The system area in the maintenance device 3 stores programs to be executed by the CPU 31, but also includes a work area.

コントローラ1内システムメモリ用エリアには、CPU
IIを管理するシステムプログラムが格納されており、
ワーク用エリアもある。
The system memory area in controller 1 contains the CPU
The system program that manages II is stored,
There is also a work area.

また、コントローラ内メモリマツプ上には、CPUll
−に実行させるアプリケーションプログラムA、Bを格
納する共有メモリ用エリアA、 Bがある。
Also, on the memory map in the controller, CPUll
- There are shared memory areas A and B that store application programs A and B to be executed.

コントローラ1内システム用エリアのワークエリアに対
応するシステムメモリ12bと、共有メモリ13 (A
、B)は、2ポートメモリで構成され、保守装置内メモ
リマツプ上の同一アドレス空間に割り当てられる。
A system memory 12b corresponding to the work area of the system area in the controller 1 and a shared memory 13 (A
, B) are composed of two-port memories and are allocated to the same address space on the maintenance equipment internal memory map.

プログラムAをコントローラ1内の共有メモリ13にロ
ードするときは、保守袋[3に接続されたFDD4にプ
ログラムAを記憶したフロッピをセットして、キーボー
ド6から起動する。キーボード6では、セットしたプロ
グラムAのコントローラ1内のメモリマツプ上のローデ
ィングエリアをAとして入力する。
When loading program A into the shared memory 13 in the controller 1, set the floppy disk containing program A in the FDD 4 connected to the maintenance bag [3] and start it from the keyboard 6. Using the keyboard 6, input the loading area of the set program A on the memory map in the controller 1 as A.

保守装置3のCPU31は、セットされたフロッピに記
憶されたプログラムをキーボード6で指定したメモリエ
リア上の絶対アドレスにアドレス変換の上、保守装置内
部バス37、保守装置インターフェース19、保守バス
21を介して、−共有メモリ13のAにロードする。
The CPU 31 of the maintenance device 3 converts the program stored in the set floppy disk into an absolute address in the memory area specified by the keyboard 6, and then sends the program via the maintenance device internal bus 37, the maintenance device interface 19, and the maintenance bus 21. - Load it into A of the shared memory 13.

この時、共有メモリ13のBに格納されたアプリケーシ
ョンプログラムをCPUIIが実行しているとすると、
このオンライン状態のままで、上記ローディングができ
る。
At this time, if the CPU II is running the application program stored in B of the shared memory 13,
You can perform the above loading while remaining online.

プログラムBを共有メモリ13の已にロードするときも
同様である。
The same holds true when loading program B onto the shared memory 13.

キーボード6のメモリセットエリア指定に基づいて、セ
ットプログラムをアドレス変換の上にロードするため、
セットプログラムは共有メモリA。
Based on the memory set area designation of the keyboard 6, the set program is loaded on top of the address conversion.
The set program is shared memory A.

Bの絶対アドレスを意識しなくとも良い。There is no need to be aware of the absolute address of B.

コントローラ1の共通メモリ13のAにロードされた上
記プログラムAを起動するには、切換回路38からの信
号により、Aに切換える。コントローラ1のそばにオペ
レータがいる場合は、切換スイッチ16によることもで
きる。
To start the program A loaded into A of the common memory 13 of the controller 1, the program is switched to A by a signal from the switching circuit 38. If there is an operator near the controller 1, the changeover switch 16 can also be used.

この割込み信号により、第5図に示すように、システム
メモリに格納されたシステムプログラムに起動がかかり
、共有メモリ13のAに割り当てられたプログラムAに
実行が切換えられる。この切換に際しては1機械的なメ
モリの切り替えでなく、CPUからみれば、アクセスエ
リアが移っただけであるので、処理の連続性が保たれる
As shown in FIG. 5, this interrupt signal activates the system program stored in the system memory, and execution is switched to program A assigned to A in the shared memory 13. This switching is not a mechanical memory switching, but from the CPU's perspective, the access area is simply moved, so that continuity of processing is maintained.

このように、改造用プログラムをコントローラ1のオン
ライン中に、指定のメモリエリアにロードし、起動する
方法をまとめると、第6図に示す通りである。
The method of loading the modification program into a designated memory area and starting it while the controller 1 is online is summarized as shown in FIG. 6.

また、改造用プログラムAをコントローラ1内の共有メ
モリ13のAにロードするに際し、システムメモリ12
b内のワークデータおよび、35に在。
In addition, when loading the modification program A into the shared memory 13 A in the controller 1, the system memory 12
Work data in b and 35.

共有メモリ13のBに格納されて実行中のプログラムB
の実行結果を、保守装置3または遠隔保守装置3aに接
続されたCRT5やプリンタ7を通してモニタできる。
Program B stored in B of the shared memory 13 and being executed
The execution results can be monitored through the CRT 5 or printer 7 connected to the maintenance device 3 or remote maintenance device 3a.

次に、オンラインでコントローラ1のプログラムを改造
するに際し、現在実行中のプログラムと改造用プログラ
ムの実行演算結果を比較し、確認した後に、改造用プロ
グラムに起動をかける方法を説明する。
Next, when modifying the program of the controller 1 online, a method of starting the modification program after comparing and confirming the execution calculation results of the program currently being executed and the modification program will be explained.

コントローラ1に、プロセス状態信号を入力し、PID
演算後、プロセス制御信号を出力する閉ループ制御を実
行する場合を例にとり、動作を説明する。
Input the process status signal to controller 1, and
The operation will be explained by taking as an example a case where closed loop control is executed in which a process control signal is output after calculation.

第7図に示すように、コントローラ1内のワークエリア
として、システムメモリ12b上に、プロセス状態信号
の入力データと演算結果の出方データが格納されている
As shown in FIG. 7, input data of process status signals and output data of calculation results are stored on the system memory 12b as a work area in the controller 1.

このシステムメモリ12bは、コントローラ1と保守装
置13内に共有メモリエリアとして割当てられており、
CPUI 1とCPU31の両方がらアクセスされる。
This system memory 12b is allocated as a shared memory area within the controller 1 and the maintenance device 13,
It is accessed by both CPU 1 and CPU 31.

例えば、現在、共有メモリ13のAに格納されたプログ
ラムAが実行されていて、改造プログラムBが共有メモ
リ13のBに格納されたとする。
For example, assume that program A stored in A of the shared memory 13 is currently being executed, and modified program B is stored in B of the shared memory 13.

保守装置3では、共有メモリエリア上の入力データによ
り、共有メモリ已に格納されたプログラムBに演算実行
させる。この演算結果は、共有でな喝システム用エリア
内に格納され、現在実行中のプログラムAの演算結果が
格納された共有メモリエリア上の出力データと比較され
る。
The maintenance device 3 causes the program B stored in the shared memory area to perform calculations based on the input data on the shared memory area. This calculation result is stored in a shared system area and compared with the output data on the shared memory area in which the calculation result of the program A currently being executed is stored.

この結果、改造プログラムBの実行結果が正常と判断さ
れれば、切換回路38または切換スイッチ16によるプ
ログラムの切換が可能となる。
As a result, if the execution result of the modified program B is determined to be normal, the program can be switched by the switching circuit 38 or the changeover switch 16.

プログラムAと改造用プログラムBの各出力データおよ
び出力データの比較結果は、保守装置3または遠隔保守
装置3aに接続されたCRT5とプリンタ7に出力され
る。
Each output data of the program A and the modification program B and the comparison result of the output data are output to the CRT 5 and printer 7 connected to the maintenance device 3 or the remote maintenance device 3a.

なお、改造用プログラムの共有メモリ13へのローディ
ングは、保守装置3と遠隔保守袋gl 3 aのいずれ
からでもでき、FDD4または4aとキーボード6また
は6aを用いて行う。
The modification program can be loaded into the shared memory 13 from either the maintenance device 3 or the remote maintenance bag GL3a, and is carried out using the FDD 4 or 4a and the keyboard 6 or 6a.

第3図は、共有メモリを13および14の2つに分け、
並設した例である。どちらかのメモリのプログラムが実
行されているときも、他のメモリが全く空いているので
、メモ゛り容量の残量や切換時間等を気にせずに、改造
プログラムをロードできる利点がある。
Figure 3 shows that the shared memory is divided into two parts, 13 and 14.
This is an example of parallel installation. Even when a program in either memory is being executed, the other memory is completely empty, so there is an advantage that a modified program can be loaded without worrying about remaining memory capacity or switching time.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、以下の効果が得られる。 According to the present invention, the following effects can be obtained.

(1)コントローラが、制御プログラム実行中に。(1) The controller is executing a control program.

機械的方法によらず、アクセスエリアを変えるだけで、
バンプレスで改造用の制御プログラムに実行を切換るこ
とができ、システムを誤動作させずにオンラインでプロ
グラムを改造可能であり、稼動率を上げられる。
By simply changing the access area, without relying on mechanical methods,
Execution can be switched to the control program for modification without bumping, and the program can be modified online without causing system malfunction, increasing operating efficiency.

(2)オンライン状態でのプログラム改造に際し、現在
実行中のプログラムによる演算結果と、改造用プログラ
ムによる演算結果とを比較し、改造用プログラムを実行
しても問題がないかを判断できるから、改造用プログラ
ムの信頼性が高くなる。
(2) When modifying a program in an online state, you can compare the calculation results of the currently running program with the calculation results of the modification program and determine whether there is any problem with running the modification program. The reliability of the program becomes higher.

(3)通信回線を介しての遠隔操作により、オンライン
状態でプログラム改造ができ、改造が迅速となり1作業
者の出張等の時間および費用が大幅に削減される。
(3) By remote control via a communication line, programs can be modified online, and modifications can be made quickly, greatly reducing the time and cost of one worker's business trips.

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

第1図は本発明による計測制御システムの一実施例の全
体構成を示す系統図、第2図は第1図実施例のコントロ
ーラと保守装置の詳細な構成を示すブロック図、第3図
は同じく共有メモリ2つ並設した構成を示すブロック図
、第4図はコントローラと保守装置内のメモリマツプを
示す図、第5図はプログラム実行の切換えを説明する図
、第6図は本発明によるオンラインプログラム改造方法
を示す図、第7図は新旧プログラムの演算結果を比較す
るためのメモリマツプを示す図である。 1・・・コントローラ、3・・・保守装置、4・・・フ
ロッピディスク駆動装置(FDD)、5・・・表示装置
(CRT)6・・・キーボード、7・・・プリンタ、8
・・・通信制御装置、11・・・CPU、12・・・シ
ステムメモリ、13゜14・・・共有メモリ、15・・
・入力回路、16・・・切換スイッチ、17・・・出力
回路、18・・・表示器%19・・・保守装置インター
フェイス、20・・・内部バス。 21・・・保守バス、31・・・CPU、32・・・メ
モリ。 33・・・FDDインターフェイス、34・・・CRT
インターフェイス、35・・・キーボードインターフェ
イス、36・・・プリンタインターフェイス、37・・
・内部バス、38・・・切換回路、39・・・通信制御
装置インターフェイス、85・・・通信回線。
Figure 1 is a system diagram showing the overall configuration of an embodiment of the measurement control system according to the present invention, Figure 2 is a block diagram showing the detailed configuration of the controller and maintenance device of the embodiment in Figure 1, and Figure 3 is the same. A block diagram showing a configuration in which two shared memories are arranged in parallel, FIG. 4 is a diagram showing a memory map in the controller and maintenance equipment, FIG. 5 is a diagram explaining switching of program execution, and FIG. 6 is an online program according to the present invention. FIG. 7, which is a diagram showing the modification method, is a diagram showing a memory map for comparing the calculation results of the old and new programs. DESCRIPTION OF SYMBOLS 1... Controller, 3... Maintenance device, 4... Floppy disk drive device (FDD), 5... Display device (CRT) 6... Keyboard, 7... Printer, 8
...Communication control device, 11...CPU, 12...System memory, 13°14...Shared memory, 15...
- Input circuit, 16... Selector switch, 17... Output circuit, 18... Display %19... Maintenance device interface, 20... Internal bus. 21...Maintenance bus, 31...CPU, 32...Memory. 33...FDD interface, 34...CRT
Interface, 35... Keyboard interface, 36... Printer interface, 37...
- Internal bus, 38... switching circuit, 39... communication control device interface, 85... communication line.

Claims (1)

【特許請求の範囲】 1、プラントからデータを収集しそのデータに基づいて
前記プラントを制御するCPUを含むコントローラと、
遠隔保守装置と通信しながら前記コントローラを保守す
るCPUを含む保守装置とからなる計測制御システムに
おいて、 前記コントローラが、前記2つのCPUから共通にアク
セス可能なワーク用メモリと、前記2つのCPUから共
通にアクセス可能なプログラム格納用メモリと、前記プ
ログラム格納用メモリ内のプログラムを実行しているオ
ンライン状態で前記プログラム格納用メモリに前記保守
装置側から送られる他のプログラムを格納する手段と、
前記格納されたプログラムの実行を切換る手段とを備え
、 前記保守装置が、前記遠隔保守装置または自らの指示に
より前記コントローラに前記他のプログラムを送り込む
手段と、前記プログラムの切換を指示する手段とを備え
た ことを特徴とする計測制御システム。 2、特許請求の範囲第1項において、 前記プログラム格納用メモリが、少なくとも2つのメモ
リからなることを特徴とする計測制御システム。 3、特許請求の範囲第1項または第2項において、前記
保守装置が、現在実行中のプログラムの演算結果と新し
いプログラムの演算結果とを比較する手段を備えたこと
を特徴とする計測制御システム。
[Claims] 1. A controller including a CPU that collects data from a plant and controls the plant based on the data;
A measurement control system comprising: a maintenance device including a CPU that maintains the controller while communicating with a remote maintenance device; a program storage memory accessible to the program storage memory; and means for storing another program sent from the maintenance device side in the program storage memory while the program in the program storage memory is being executed in an online state;
means for switching execution of the stored program; means for the maintenance device to send the other program to the controller according to instructions from the remote maintenance device or itself; and means for instructing switching of the program; A measurement control system characterized by comprising: 2. The measurement control system according to claim 1, wherein the program storage memory comprises at least two memories. 3. The measurement control system according to claim 1 or 2, wherein the maintenance device includes means for comparing the calculation results of the currently running program with the calculation results of the new program. .
JP7343187A 1987-03-27 1987-03-27 Measuring control system Pending JPS63239506A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7343187A JPS63239506A (en) 1987-03-27 1987-03-27 Measuring control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7343187A JPS63239506A (en) 1987-03-27 1987-03-27 Measuring control system

Publications (1)

Publication Number Publication Date
JPS63239506A true JPS63239506A (en) 1988-10-05

Family

ID=13518050

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7343187A Pending JPS63239506A (en) 1987-03-27 1987-03-27 Measuring control system

Country Status (1)

Country Link
JP (1) JPS63239506A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010100999A1 (en) * 2009-03-02 2010-09-10 新東工業株式会社 Remote support system and remote support method in metal-casting facility

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5475259A (en) * 1977-11-29 1979-06-15 Fujitsu Ltd On-line process system
JPS5833709A (en) * 1981-08-24 1983-02-28 Nippon Steel Corp On-line changing method for numeric control model
JPS5930108A (en) * 1982-08-09 1984-02-17 Toyota Motor Corp Controlling method of general purpose operating box
JPS5979310A (en) * 1982-10-28 1984-05-08 Mitsubishi Electric Corp Plant controlling device
JPS60148584A (en) * 1984-01-13 1985-08-05 三菱電機株式会社 Stitch data fabrication apparatus for sewing machine
JPS60186948A (en) * 1984-03-06 1985-09-24 Amada Co Ltd Memory map structure containing external switch means
JPS61188652A (en) * 1985-02-18 1986-08-22 Mitsubishi Electric Corp Communication processor
JPS61202205A (en) * 1985-03-05 1986-09-08 Toyoda Mach Works Ltd Transfer device for numerically controlled data
JPS61296407A (en) * 1985-06-25 1986-12-27 Mitsubishi Electric Corp Multiprocessor type numerical controller

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5475259A (en) * 1977-11-29 1979-06-15 Fujitsu Ltd On-line process system
JPS5833709A (en) * 1981-08-24 1983-02-28 Nippon Steel Corp On-line changing method for numeric control model
JPS5930108A (en) * 1982-08-09 1984-02-17 Toyota Motor Corp Controlling method of general purpose operating box
JPS5979310A (en) * 1982-10-28 1984-05-08 Mitsubishi Electric Corp Plant controlling device
JPS60148584A (en) * 1984-01-13 1985-08-05 三菱電機株式会社 Stitch data fabrication apparatus for sewing machine
JPS60186948A (en) * 1984-03-06 1985-09-24 Amada Co Ltd Memory map structure containing external switch means
JPS61188652A (en) * 1985-02-18 1986-08-22 Mitsubishi Electric Corp Communication processor
JPS61202205A (en) * 1985-03-05 1986-09-08 Toyoda Mach Works Ltd Transfer device for numerically controlled data
JPS61296407A (en) * 1985-06-25 1986-12-27 Mitsubishi Electric Corp Multiprocessor type numerical controller

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010100999A1 (en) * 2009-03-02 2010-09-10 新東工業株式会社 Remote support system and remote support method in metal-casting facility
JP4871412B2 (en) * 2009-03-02 2012-02-08 新東工業株式会社 Remote support system and remote support method in foundry
US8798783B2 (en) 2009-03-02 2014-08-05 Sintokogio, Ltd. System and a method for remote assistance in a foundry

Similar Documents

Publication Publication Date Title
JP2834122B2 (en) Control device
JPH0259901A (en) Fault diagnosing system
JPS63239506A (en) Measuring control system
JPH07160370A (en) Service interruption controller
JP2748153B2 (en) Industrial robot controller
JP2668134B2 (en) Method and apparatus for monitoring and controlling power system
JPH0439684B2 (en)
JPS583249B2 (en) buffer device
JPH0568085A (en) Station data setting system for automatic exchange
JPS5941214B2 (en) Condition monitoring method
JP2746331B2 (en) Plant monitoring system
JPH0650001Y2 (en) Redundant digital controller
JP2558841B2 (en) Elevator control equipment
JPH0253137A (en) Change system for on-line program
JPH0277943A (en) System recovering method
JP2645175B2 (en) Plant control system
JPH0656584B2 (en) Operating state monitoring device in a split processing system using multiple computers
JP3054472B2 (en) Fault handling method in multitask system
JP3348177B2 (en) Programmable controller
JPS59225402A (en) Automatic control method
JPS61160144A (en) Emulation system
JPH02156339A (en) Controlling complex computer system
JPS58178404A (en) External arithmetic unit of sequence controller
JPS6116341A (en) Diagnostic controller
JPS63298462A (en) Terminal control system