JPH03268004A - Process controller - Google Patents
Process controllerInfo
- Publication number
- JPH03268004A JPH03268004A JP6718290A JP6718290A JPH03268004A JP H03268004 A JPH03268004 A JP H03268004A JP 6718290 A JP6718290 A JP 6718290A JP 6718290 A JP6718290 A JP 6718290A JP H03268004 A JPH03268004 A JP H03268004A
- Authority
- JP
- Japan
- Prior art keywords
- rom
- reception flag
- control
- process control
- ram
- 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
Links
Landscapes
- Stored Programmes (AREA)
- Control By Computers (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
[発明の目的]
(産業上の利用分野)
この発明は、プロセス制御プログラム情報をROMに持
つ組み込み型マイクロコンピュータを用いてプロセス制
御を行うプロセス制御装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Industrial Application Field) The present invention relates to a process control device that performs process control using a built-in microcomputer having process control program information in a ROM.
(従来の技術)
従来、プロセス制御のプログラム情報及び制御パラメー
タは一般にROMに格納して制御装置に実装している。(Prior Art) Conventionally, process control program information and control parameters are generally stored in a ROM and installed in a control device.
そして、プロセス制御プログラムの変更を行う必要が生
じた場合には、このROMを交換するようにしていた。When it becomes necessary to change the process control program, this ROM is replaced.
(発明が解決しようとする課題)
しかしながら、このような従来のプロセス制御装置では
、開発における試験段階でプログラムを変更する場合、
1)プログラムの修正、
2)ROMの作成、
3)ROMの交換、
4)確認試験、
の手順を踏んで行う必要があった。そして従来、これら
の各段階において、2)のROM作成、3)のROM交
換にとられる時間が多く、作業効率が悪いという問題点
があった。特に、3)のROM交換については、通常、
装置に対する基板の挿抜、基板に対するROM−I C
の挿抜作業により基板に与える機械的疲労により基板を
損なったり、誤って他のハードウェアを損傷することが
少なくない問題点があった。さらには作業環境が悪い場
合には交換作業にかかる時間も多くなり、プログラム変
更が大変手間の掛かるものとなるという問題点があった
。(Problems to be Solved by the Invention) However, in such conventional process control devices, when changing a program during the test stage of development, there are three steps: 1) modifying the program, 2) creating a ROM, 3) replacing the ROM, 4) Confirmation test: It was necessary to perform the following steps. Conventionally, in each of these steps, a lot of time is required for 2) ROM creation and 3) ROM replacement, resulting in poor work efficiency. In particular, regarding ROM replacement in 3), normally,
Inserting and removing the board from the device, ROM-I C from the board
There have been many problems in that the mechanical fatigue exerted on the board during insertion and removal operations can damage the board or accidentally damage other hardware. Furthermore, if the working environment is poor, the replacement work will take a lot of time, making changing the program very time-consuming.
この発明はこのような従来の問題点に鑑みなされたもの
で、ROM交換の必要な機会を少なくでき、また作業環
境のよい場所でプログラム変更が容易に行えるプロセス
制御装置を提供することを目的とする。The present invention was made in view of the above-mentioned conventional problems, and an object of the present invention is to provide a process control device that can reduce the need for ROM replacement and also allows easy program changes in a place with a good working environment. do.
[発明の構成]
(課題を解決するための手段)
この発明のプロセス制御装置は、プログラム情報と制御
パラメータを格納するROMと、シリアル伝送手段と、
このシリアル伝送手段を通じて入力された制御パラメー
タを書き込むRAMと、前記ROMを交換した時に受信
フラグを無とし、前記シリアル伝送手段からのプログラ
ム情報を前記RAMに書き込んだ時に受信フラグを有と
する受信フラグ生成手段と、この受信フラグ生成手段が
受信フラグを無としている場合には前記ROMの格納し
ているプログラム情報及び制御パラメータに基づいてプ
ロセス制御を実行し、前記受信フラグを有としている場
合には前記RAMの格納している制御パラメータに基づ
いてプロセス制御を実行する制御手段とを備えたもので
ある。[Structure of the Invention] (Means for Solving the Problems) A process control device of the present invention includes a ROM that stores program information and control parameters, a serial transmission means,
A RAM into which control parameters inputted through the serial transmission means are written, and a reception flag which sets the reception flag to zero when the ROM is replaced and has a reception flag when the program information from the serial transmission means is written to the RAM. generating means, and when the reception flag generation means has no reception flag, executes process control based on the program information and control parameters stored in the ROM, and when the reception flag is present, the reception flag generation means executes process control based on the program information and control parameters stored in the ROM; and control means for executing process control based on control parameters stored in the RAM.
(作用)
この発明のプロセス制御装置では、プロセス制御プログ
ラムは受信データを処理する受信プログラムと制御プロ
グラムとに分け、制御プログラムはあらかしめ調整要素
の出てきそうな制御パラメータをROMとRAMとの両
方に持てるように作成する。(Function) In the process control device of the present invention, the process control program is divided into a reception program that processes received data and a control program, and the control program stores control parameters that are likely to cause adjustment elements in both the ROM and RAM. Create it so that it can last.
制御プログラムは、制御パラメータの受信の有無を示す
受信フラグを持ち、初期状態やROM交換直後には制御
パラメータ未受信として受信フラグを無としておく。そ
して受信プログラムは、シリアル伝送手段を通して新た
な制御パラメータを受信したなら受信フラグを有にし、
受信したパラメータをRAMに格納する。The control program has a reception flag that indicates whether or not a control parameter has been received, and in the initial state or immediately after ROM replacement, the reception flag is set to zero to indicate that the control parameter has not been received. Then, when the receiving program receives a new control parameter through the serial transmission means, it sets the receiving flag to
Store the received parameters in RAM.
そこで、制御手段がプロセス制御を行う際には、受信フ
ラグが無の場合にはROMの制御パラメータに基づいて
プロセス制御を行い、受信フラグが有の場合にはRAM
の制御パラメータに基づいてプロセスを行うようにし、
プロセス制御の継続により新たなプロセス制御パラメー
タが必要になってもシリアル伝送手段を介してRAMに
書き込むことにより制御プログラムを変更することがで
き、逐一 ROMを交換して新たな制御に対応しなけれ
ばならなくなる機会を削減することができる。Therefore, when the control means performs process control, if the reception flag is absent, the process control is performed based on the control parameters of the ROM, and when the reception flag is present, the process control is performed based on the control parameters of the RAM.
The process is based on the control parameters of
Even if new process control parameters become necessary due to continued process control, the control program can be changed by writing to RAM via serial transmission means, and the ROM must be replaced one by one to accommodate new control. You can reduce the chances of this happening.
(実施例) 以下、この発明の実施例を図に基づいて詳説する。(Example) Hereinafter, embodiments of the present invention will be explained in detail based on the drawings.
第1図はこの発明の一実施例を示しており、プロセス制
御行う制御装置1はROM2とバッテリバックアップ機
能付きのRAM3とを備えており、ROM2側に受信プ
ログラムと制御プログラムとを格納し、RAMB側にも
制御プログラムに使用する制御パラメータを格納するこ
とができるようになっている。FIG. 1 shows an embodiment of the present invention, in which a control device 1 that performs process control is equipped with a ROM 2 and a RAM 3 with a battery backup function. Control parameters used in the control program can also be stored on the side.
また4は、初期状態の時に受信フラグを無とし、外部の
シリアル伝送手段5からの制御パラメータの書き込み入
力があった時に受信フラグを有とする受信フラグ生成部
であり、通常はRAM3の一部がこれに当てられること
になるが、説明の便宜上、別個の物として描いである。Reference numeral 4 denotes a reception flag generation unit which sets the reception flag to nothing in the initial state and sets the reception flag to existence when there is a write input of control parameters from the external serial transmission means 5, and is usually a part of the RAM 3. will be applied to this, but for convenience of explanation, it is depicted as a separate thing.
5は大田カインターフェース(IloIF)であり、プ
ロセス制御信号の入出力、表示データ信号の入出力、制
御パラメータの書き込み入力等、データの入出力全般を
制御するインターフェースである。Reference numeral 5 denotes an IloIF, which is an interface that controls overall data input/output, such as input/output of process control signals, input/output of display data signals, and writing/input of control parameters.
そして6はマイクロプロセッサ(CP U)であり、プ
ロセス制御演算処理を行う。A microprocessor (CPU) 6 performs process control arithmetic processing.
このプロセス制御装置1に対して、外部のシリアル伝送
手段としてキー人力装置7が伝送路8により接続されて
いる。また制御対象としてのプロセス機器9が接続され
ている。A key manual device 7 is connected to the process control device 1 by a transmission line 8 as an external serial transmission means. Further, process equipment 9 as a control target is connected.
次に、上記のプロセス制御装置の動作について説明する
。Next, the operation of the above process control device will be explained.
第2図のフローチャートに示すように、プロセス制御装
置1は受信プログラムAと制御プログラムBとを実行す
る。As shown in the flowchart of FIG. 2, the process control device 1 executes a reception program A and a control program B.
そして、初期状態やROM交換直後の初期状態では、受
信フラグ生成部4の受信フラグは制御パラメータ未受信
状態であって無となっており(ステップS1)、プロセ
ス制御プログラムBはROM2の格納する制御パラメー
タに基づき実行される(ステップS2)。In the initial state or in the initial state immediately after ROM replacement, the reception flag of the reception flag generation unit 4 is in the control parameter unreceived state and is null (step S1), and the process control program B is the control stored in the ROM 2. It is executed based on the parameters (step S2).
プログラムの変更を行う場合には、オペレータが変更す
る制御パラメータをキー人力装置7より入力すると、受
信プログラムAが実行される。そして変更パラメータを
受信すれば、受信フラグを有とし、受信した変更パラメ
ータをRAM3に書き込む(ステップ813〜515)
。When changing the program, when the operator inputs the control parameters to be changed from the key manual device 7, the received program A is executed. If the changed parameters are received, the reception flag is set to "Yes" and the received changed parameters are written into the RAM 3 (steps 813 to 515).
.
このようにして、制御パラメータがRAM3に書き込ま
れると、制御プログラムBが輪では、ステップS1にお
ける受信フラグが無から有に変更されるので、以後、プ
ロセス制御装置1はプロセス制御をRAM3の格納され
ている制御パラメータに基づいて実行するようになる(
ステップS3)制御パラメータが十分確立されれば、R
AM3に書き込まれた内容を書き込んだROMを作成し
、これをプロセス制御装置1のROM2に実装するので
あるが、このROM2の交換により、受信プログラムA
におけるステップS11がYESとなり、受信フラグ生
成部4の受信フラグを無にセットし、初期状態とする(
ステップ512)。In this way, when the control parameters are written into the RAM 3, the reception flag in step S1 is changed from "no" to "yes" when the control program B is executed. will be executed based on the control parameters (
Step S3) Once the control parameters are well established, R
A ROM is created in which the contents written in AM3 are written, and this is installed in ROM2 of the process control device 1. By exchanging this ROM2, the receiving program A
Step S11 becomes YES, and the reception flag of the reception flag generation unit 4 is set to nothing, making it an initial state (
Step 512).
したがって、以後、新たにRAM3に制御パラメータが
書き込まれるまでは再びROM2に格納されている制御
パラメータに基づいてプロセス制御が実行されることに
なる(ステップSl、S2)この様にして、プロセス制
御のパラメータが変更になるたびにROMを新たなもの
に交換してプロセス制御を実行するのではなく、制御パ
ラメータがある程度確立されるまではRAMに制御パラ
メータを書き込んでいき、このRAMに書き込まれた制
御パラメータに基づいてプロセス制御を行うようにする
ことにより、ROMの交換回数を削減することができて
交換作業時に基板や他のハードウェアを損傷する危険性
を少なくすることができるのである。またROMの交換
作−業も大変手間取るものであるが、シリアル伝送手段
より制御パラメータの入力が容易にできるようにしてい
るので、プログラム変更も簡単にできる。Therefore, from now on, process control will be executed again based on the control parameters stored in ROM2 until new control parameters are written to RAM3 (steps Sl, S2). Instead of replacing the ROM with a new one every time a parameter changes and executing process control, the control parameters are written to RAM until the control parameters are established to a certain extent, and the control written to this RAM is By controlling the process based on parameters, the number of ROM replacements can be reduced, and the risk of damaging the board or other hardware during replacement can be reduced. Also, replacing the ROM is very time consuming, but since the control parameters can be easily input using the serial transmission means, program changes can be made easily.
第3図はこの発明の他の実施例を示しており、同一のプ
ロセス制御装置1を複数台並列に用いてプロセス制御を
行う系の場合、各々のプロセス制御装置1にこの発明を
適用し、シリアル伝送路8を介してシリアル伝送手段と
してキー人力装置7に各プロセス制御装置1を接続した
ものである。FIG. 3 shows another embodiment of the present invention. In the case of a system in which process control is performed using a plurality of the same process control devices 1 in parallel, the present invention is applied to each process control device 1, Each process control device 1 is connected to a key human power device 7 as a serial transmission means via a serial transmission line 8.
このような構成のシステムにすることにより、1つのキ
ー人力装置7により変更データを入力することにより各
プロセス制御装置1のROMを逐一交換すること無く、
各々のプロセス制御装置1の制御パラメータを個別に独
立して、あるいは−律に変更することができるようにな
る。By adopting a system with such a configuration, by inputting change data using one key manual device 7, the ROM of each process control device 1 can be replaced one by one.
The control parameters of each process control device 1 can be changed individually or regularly.
[発明の効果]
以上のようにこの発明によれば、プロセス制御に必要な
制御パラメータをROMと共にRAMにも格納できるよ
うにし、シリアル伝送手段によりRAMに制御パラメー
タの書き込みを行い、受信フラグを有とすることにより
RAMに格納された変更後の制御パラメータに基づいて
プロセス制御できるようにしているため、プログラムの
変更があればいつもROMを交換するという必要がなく
、従来に比べてROMの交換回数を少なくすることがで
き、基板やハードウェアの損傷の危険性を格段に小さく
でき、またROM交換作業に要求されている作業時間を
削減できる。[Effects of the Invention] As described above, according to the present invention, the control parameters necessary for process control can be stored in the RAM as well as the ROM, the control parameters are written in the RAM by the serial transmission means, and the reception flag is set. By doing this, the process can be controlled based on the changed control parameters stored in the RAM, so there is no need to replace the ROM every time there is a change in the program, and the number of ROM replacements is reduced compared to conventional methods. The risk of damage to the board and hardware can be significantly reduced, and the work time required for ROM replacement work can be reduced.
第1図はこの発明の一実施例のブロック図、第2図は上
記実施例の動作を示すフローチャート、第3図はこの発
明の他の実施例のブロック図である。
1・・・プロセス制御装置 2・・・ROM3・・・R
AM 4・・・受信フラグ生成部5・・・
入出力インターフェースFIG. 1 is a block diagram of one embodiment of the present invention, FIG. 2 is a flowchart showing the operation of the above embodiment, and FIG. 3 is a block diagram of another embodiment of the invention. 1... Process control device 2... ROM3...R
AM 4... Reception flag generation unit 5...
input/output interface
Claims (1)
タを書き込むRAMと、 前記ROMを交換した時に受信フラグを無とし、前記シ
リアル伝送手段からのプログラム情報を前記RAMに書
き込んだ時に受信フラグを有とする受信フラグ生成手段
と、 この受信フラグ生成手段が受信フラグを無としている場
合には前記ROMの格納しているプログラム情報及び制
御パラメータに基づいてプロセス制御を実行し、前記受
信フラグを有としている場合には前記RAMの格納して
いる制御パラメータに基づいてプロセス制御を実行する
制御手段とを備えて成るプロセス制御装置。[Scope of Claims] A ROM for storing program information and control parameters, a serial transmission means, a RAM for writing control parameters inputted through the serial transmission means, a reception flag set to zero when the ROM is replaced, and a reception flag generation means that sets a reception flag when program information from the serial transmission means is written into the RAM; and program information stored in the ROM when the reception flag generation means sets the reception flag to null. and a control unit that executes process control based on the control parameter, and executes process control based on the control parameter stored in the RAM when the reception flag is set.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6718290A JPH03268004A (en) | 1990-03-19 | 1990-03-19 | Process controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6718290A JPH03268004A (en) | 1990-03-19 | 1990-03-19 | Process controller |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH03268004A true JPH03268004A (en) | 1991-11-28 |
Family
ID=13337500
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP6718290A Pending JPH03268004A (en) | 1990-03-19 | 1990-03-19 | Process controller |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH03268004A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2002093017A1 (en) * | 2001-05-15 | 2002-11-21 | Shin Caterpillar Mitsubishi Ltd. | Fluid pressure circuit control system |
-
1990
- 1990-03-19 JP JP6718290A patent/JPH03268004A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2002093017A1 (en) * | 2001-05-15 | 2002-11-21 | Shin Caterpillar Mitsubishi Ltd. | Fluid pressure circuit control system |
| US6810663B2 (en) | 2001-05-15 | 2004-11-02 | Shin Caterpillar Mitsubishi Ltd. | Fluid pressure circuit control system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH037972B2 (en) | ||
| JP6730355B2 (en) | Integrated simulation system with improved operability | |
| JPH103307A (en) | Numerical controller | |
| JPH03268004A (en) | Process controller | |
| JPH04112304A (en) | I/o module check system | |
| JPS63126032A (en) | Program updating control system | |
| JPS62249259A (en) | Computer system | |
| JP2005135137A (en) | Virtual computer system | |
| JP3452708B2 (en) | Programmable controller | |
| JP2597408B2 (en) | Controller check system | |
| JPH028334B2 (en) | ||
| JPH0777930A (en) | System definition creation device | |
| JPH04326843A (en) | Actively loadable/unloadable device and method for the same | |
| JPH07200037A (en) | Production control equipment | |
| JP2727717B2 (en) | Programmable controller system | |
| JPH0683592A (en) | System parameter revision system | |
| JPS61168010A (en) | numerical control device | |
| JPS59106017A (en) | Testing of input/output controller | |
| JPH0478921A (en) | Floppy disk piece number checking system | |
| JPH09265309A (en) | Robot control device | |
| JPH0225198A (en) | Decentralized monitor system | |
| JPH05233349A (en) | Program module automatic test tool | |
| JPS61239319A (en) | Spool message controlling system | |
| JPH0766304B2 (en) | Programmable controller system | |
| JPH10105214A (en) | Download system for programmable display device |