JP3402343B2 - Sequence controller - Google Patents

Sequence controller

Info

Publication number
JP3402343B2
JP3402343B2 JP30468294A JP30468294A JP3402343B2 JP 3402343 B2 JP3402343 B2 JP 3402343B2 JP 30468294 A JP30468294 A JP 30468294A JP 30468294 A JP30468294 A JP 30468294A JP 3402343 B2 JP3402343 B2 JP 3402343B2
Authority
JP
Japan
Prior art keywords
program
control
memory
control program
control device
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 - Fee Related
Application number
JP30468294A
Other languages
Japanese (ja)
Other versions
JPH08161177A (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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric 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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP30468294A priority Critical patent/JP3402343B2/en
Publication of JPH08161177A publication Critical patent/JPH08161177A/en
Application granted granted Critical
Publication of JP3402343B2 publication Critical patent/JP3402343B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Description

【発明の詳細な説明】 【0001】 【産業上の利用分野】本発明は、プロセスに設置してあ
るセンサやアクチュエータ、その他各種電気機器からの
信号を入力し、プラントをシーケンス制御するシーケン
ス制御装置に関し、更に詳しくは、プラントを制御する
制御装置と、この制御装置に通信バスを介して接続さ
れ、制御装置が扱う各種プログラムを管理するプログラ
ム管理装置とを備えた装置において、同時に生産する銘
柄の種類が増大しても、制御装置側でのメモリ容量の規
模を抑えることができるようにしたシーケンス制御装置
に関する。 【0002】 【従来の技術】従来より、CRT表示装置を用いて、プ
ラントの制御運転や監視を行うための分散形制御システ
ムや、プログラマブル・ロジック・コントローラ(PL
C)等を組み合わせて構成されるシーケンス制御装置が
ある。このような制御装置は、メモリにあらかじめ格納
されている制御プログラムやシーケンス制御情報に基づ
き実際にプラント等を制御し、上位の監視装置等におい
ては、CRT等の画面にプラントの制御・運転に必要な
各種の情報を表示したり、プラントに異常が発生した場
合にそのことを警報表示して、オペレータにその異常に
対して適切な指示や処理が行えるような構成となってい
る。 【0003】このような制御システムにおいて、多品種
少量生産用のバッチプラント等を制御運転する場合、バ
ッチシーケンス制御の実行は、生産銘柄に応じて、それ
ぞれ異なった装置あるいは設備(例えば、計量釜,反応
釜,混合釜等)を順次経由して行われることとなり、プ
ラントを制御するアルゴリズム(制御プログラム)も変
更する必要が発生する。 【0004】従って、分散配置される各制御装置には、
そのメモリ内にあらかじめ生産する可能性のある全ての
銘柄に対応できるようにするため、各種銘柄用の制御ア
ルゴリズムを実現する制御プログラムを格納しておく必
要がある。しかしながら、生産する可能性のある銘柄の
種類が増大してくると、メモリの容量を増やさなくては
ならず、制御装置のシステム規模が大きくなるという問
題点が発生する。 【0005】この様な点を解決するために、制御運転を
開始するに先立って、該当する銘柄の制御プログラムだ
けを上位の計算機システムあるいは監視装置側からダウ
ンロードする手法を採ることも考えられるが、この場合
でも同時に生産する銘柄の数が増大したり、複雑な制御
手順を実行しようとすると、制御プログラムのダウンロ
ード回数が増えて、通信バスを長時間専用することとな
り、本来の制御運転に支障を来す恐れがあり、同時に制
御運転する銘柄数を抑えなくてはならない不具合いが発
生する。 【0006】 【発明が解決しようとする課題】ここにおいて、本発明
は、制御装置側のメモリ容量を増大させることなく、同
時に生産する銘柄の数の増大や、複雑な制御手順を実行
する場合のシーケンス制御に対応できる装置を提供する
ことを目的とする。 【0007】 【課題を解決するための手段】この様な目的を達成する
本発明は、プラントを制御する制御装置と、この制御装
置に通信回線を介して接続され制御装置が扱う各種プロ
グラムを管理するプログラム管理装置とを備えたシーケ
ンス制御装置であって、前記プログラム管理装置に、プ
ラントを制御するための制御プログラムを複数の工程毎
に圧縮するプログラム圧縮手段と、制御プログラムをプ
ログラム圧縮手段により圧縮した形態で前記制御装置側
にダウンロードするプログラムダウンロード手段とを設
け、制御装置に、プログラム管理装置側からダウンロー
ドされた制御プログラムを圧縮された形態で記憶するメ
モリと、メモリに記憶されている制御プログラムを、実
行する工程を単位とし、実行する工程を担当するプログ
ラムを読みだし元の形態に解凍するプログラム解凍手段
と、プログラム解凍手段により解凍された制御プログラ
ムに基づき該当のプラントを制御する制御手段とを設け
たことを特徴とするシーケンス制御装置である。 【0008】 【作用】制御装置内に設けられるメモリには、指定され
た銘柄生産用の制御プログラムが、プログラム管理装置
側からデータ圧縮された形態でダウンロードされ、格納
される。制御プログラムは複数の工程で構成されるが、
制御プログラム実行時には、実行する工程毎に圧縮され
た制御プログラムを元の形態に変換する。制御装置は、
元の形態に変換された制御プログラムに従ってプラント
の制御を行う。 【0009】 【実施例】以下、図面を用いて本発明の実施例を詳細に
説明する。図1は、本発明の一実施例を示す構成ブロッ
ク図である。図において、PMは制御プログラムやシー
ケンス制御のための各種データを作成するためのプログ
ラム作成手段を含むプログラム管理装置、OPは監視装
置(オペレータステーション)である。これらはいずれ
も通信バスBSに接続されていると共に、それぞれマン
マシンインターフェース機能であるCRTのような表示
手段や、キーボード、マウス等のポインティングデバイ
スを備えている。FCはプラントを制御するための制御
装置で、必要に応じて複数台が分散配置され、それぞれ
が通信バスBSを介してプログラム管理装置PMや、監
視装置OPにつながっている。 【0010】なお、ここでは、プログラム管理装置PM
と、監視装置OPとを別々に構成したものであるが、監
視装置OP内にプログラム管理装置PMの機能を備える
ような構成でもよい。プログラム管理装置PMにおい
て、11はプログラム作成手段で、プラント制御のため
の制御プログラムを作成する機能を持つ。ここでは、制
御装置FCにより制御されるプラントPLTを構成して
いる装置(例えば仕込み釜,反応釜などの装置)と装置
の間(系列)の制御手順を、例えば、シーケンシャル・
ファンクション・チャート(Sequential Function Char
t;SFC)言語を用いて記述し、また、個々の工程
(手順)の中の一つ一つの実行単位を、例えば、問題向
きあるいは手続形言語のシーケンス言語SEBOL(Se
quence and Batch Oriented Language),シーケン
ステーブル,ロジックチャート等により記述することで
作成される。 【0011】ここで、SFC言語は、国際規格IEC
(SC65A/WG6)で規格化が行われた工程管理シ
ーケンスを記述するロジックで、工程管理シーケンスの
実行順序と並列処理を視覚的に、かつ明確に表現するこ
とができるという特徴を有している。12は制御プログ
ラム作成手段11で作成された制御プログラムを格納す
る第1のメモリ、13はこのメモリ12から読みだした
制御プログラムを、複数の工程毎に圧縮するプログラム
圧縮手段である。ここでの圧縮は、通常のデータを圧縮
する際に用いられるような技術が適用可能であって、例
えば、オブジェクトコードの形となっている制御プログ
ラムを、全体の容量が1/3に圧縮されるような機能を
持っている。 【0012】14は制御プログラムをプログラム圧縮手
段により圧縮した形態で、制御装置FC側にダウンロー
ドするプログラムダウンロード手段である。制御装置F
Cにおいて、21はプログラム管理装置PM側からダウ
ンロードされた制御プログラムを圧縮された形態で記憶
する第2のメモリ、22は第2のメモリ21に記憶され
ている制御プログラムを、実行する工程を単位に読みだ
し元の形態に解凍するプログラム解凍手段、23はプロ
グラム解凍手段22により解凍されて元の形態となつた
制御プログラムを格納する第3のメモリである。 【0013】ここで、第2のメモリ21と第3のメモリ
23とは別々のブロックで示しているが、同じメモリを
用い、領域を分けて使用するものでもよい。24はプラ
ントを制御する制御手段で、第3のメモリ23に格納さ
れているプログラム解凍手段により解凍された制御プロ
グラムに基づき該当のプラントを制御する。この制御手
段24は、実際には例えば機能ブロックと呼ばれる多数
の制御手段から構成されている。各機能ブロックは、プ
ラントPLTに設置してある各種センサSNからの信号
を入力し、バルブやポンプ等のアクチュエータACTを
シーケンス制御する機能を有している。これらの各機能
ブロックの中には、例えば、SFCにより記述されたS
FCブロック、工程歩進形シーケンス制御の詳細記述に
適したシーケンス言語SEBOLで記述されたSEBO
Lブロック、パターン化された監視シーケンスや工程歩
進形シーケンスに適したシーケンステーブルブロック、
入力信号と出力信号の関係を論理素子を使って記述した
ロジックチャートブロック等があり、これらの機能ブロ
ックを適宜組み合わせて効率よくプラントPLTをシー
ケンス制御できるようになっている。 【0014】プログラム管理装置PM、監視装置OP、
制御装置FCが、通信バスBSに接続される部分には、
通信インターフェースとして機能する通信手段10がそ
れぞれ設けられていて、通信バスBSを介して各制御装
置FC側とプログラム管理装置PM、監視装置OPとの
間でデータの授受や、制御プログラムのダウンロード等
が、一定の通信規約に従って行えるようになっている。
また、監視装置OPにおいては、自身が担当する各制御
装置FC側が扱っている各種のデータを収集し、監視装
置側でこれらのデータを監視することを可能としてい
る。 【0015】図2は、プログラム管理装置PMにおい
て、プログラム作成手段により作成された、ある銘柄を
生産するための制御プログラムの全体構成を示す概念図
である。ここでは、複数の装置を経由して製品が作られ
るバッチプラントにおいて、指定された装置での実行手
順をSFC言語で表しており、実行手順が、仕込み→加
熱→添加→攪拌(添加と攪拌は並列処理)…というよう
に進行するように制御するものである。ここで、枠で囲
まれた数値「1,2…」は、ステップ番号(工程番号)
を示していて、本発明においては、制御装置FC側で
は、この工程を一つの単位とし、実行する工程を担当す
る制御プログラムだけが、プログラム解凍手段22によ
り解凍されるように構成してある。 【0016】図3〜図5は、各工程を実現するための制
御プログラムの一例を示す概念図である。図3の例は、
工程内の実行手順を、工程歩進シーケンス制御用に適し
たシーケンス言語SEBOLで記述したものである。図
4は、工程内の実行手順を、パターン化された監視シー
ケンス工程歩進形の制御用に適したシーケンステーブル
で記述したものである。このシーケンステーブルは、条
件入力信号と操作出力信号との関係をYes,Noのパ
ターンのテーブルで記述したものとなっている。 【0017】図5は、工程内の実行手順を、プラント機
器の例えばインターロックシーケンスや監視シーケンス
制御用に適したロジックチャートで記述したものであ
る。このロジックチャートは、入力信号と出力信号との
関係を論理素子を使用して記述したものとなっている。
プログラム管理装置PM内のプログラム作成手段は、こ
れらの各工程を実行するための制御プログラムを多数組
み合わせて、複数の工程からなるあるひとつの銘柄を生
産するための制御プログラムを作成する。そして、各制
御装置FC側は、工程の進行に従ってこれらの制御プロ
グラムを実行し、バルブの開閉や電磁弁等のオン,オフ
等の実際のシーケンス制御を行うことになる。 【0018】このように構成した装置の動作を次に説明
する。プログラム管理装置PMにおいて、制御プログラ
ム作成手段11により作成された制御プログラムは、第
1のメモリ12に格納されている。プログラム管理装置
PMは、ある銘柄の製品を製造するに先立って、オペレ
ータ等の指示に基づき、第1のメモリ12に格納されて
いる該当の銘柄生産用制御プログラムを読みだし、これ
をプログラム圧縮手段13にて各工程毎にデータ圧縮
し、ダウンロード手段14、通信バスBSを介して圧縮
されたデータをそのままの形態で、制御装置FC側にダ
ウンロードする。 【0019】制御装置FCにおいて、第2のメモリ21
は、各通信手段10、通信バスBSを介してプログラム
管理装置PM側から送られた制御プログラム(この制御
プログラムは複数の工程を実施するように構成されてい
る)を、圧縮されたデータの形態で記憶する。制御装置
FCは、プラントPLTを制御するに際して、工程の進
行と共に、第2のメモリ21に記憶されている制御プロ
グラムを工程毎に解凍し、実行可能の形態に変換してそ
れを第3のメモリ23に格納する。制御手段24は、第
3のメモリに格納された制御プログラムに従って、該当
する工程の制御を実行する。 【0020】一つの工程が終了すると、プログラム解凍
手段22は、第2のメモリ21から次の工程の制御プロ
グラムを読みだし、それを実行可能の形態に変換(解
凍)して、第3のメモリ23に格納する。制御手段24
は、引続き、第3のメモリに新に格納された制御プログ
ラムに従って、次の工程の制御を実行することを最後の
工程まで繰り返す。 【0021】この様に、制御装置FC内のプログラム解
凍手段22は、制御手段24が実際に制御を実行する工
程に対応する制御プログラム部分のみを、第2のメモリ
21に記憶されている制御プログラムから読みだして解
凍し、第3のメモリ23に格納する。従って、制御装置
FCにおいて、制御プログラムを格納する第2のメモリ
の容量(サイズ)は、データ圧縮率に応じた分だけ用意
すればよく、また、第3のメモリの容量は、一つの工程
のみを担当する制御プログラムを格納できる容量でよ
い。 【0022】図6は、第1のメモリ12、第2のメモリ
21、第3のメモリ23にそれぞれ格納されるプログラ
ムの様子を概念的に示す図である。プログラム管理装置
PM内の第1のメモリ12には、(a)に示すように複
数の銘柄生産用制御プログラムP1,P2…が格納され
ている。これらの複数の銘柄生産用制御プログラムは、
制御プログラム作成手段11で作成されたものの外に、
他のシステムで作成されたり、使用されたものであって
もよい。 【0023】ある銘柄の製品を生産するに先立って、第
1のメモリ11から該当の銘柄を指定すると、その銘柄
生産用制御プログラムが読みだされ、プログラム圧縮手
段13により圧縮され、(b)に示すような圧縮データ
となりこれが通信バスBSを介して制御装置FC側に送
られる。この結果、制御装置FCの第2のメモリ21に
は、(c)に示すように指定された銘柄の制御プログラ
ムが圧縮データの形態で格納される。制御装置FCのプ
ログラム解凍手段22は、制御プログラムの実行時に第
2のメモリ21から実行する工程毎にその工程を担当す
る制御プログラムだけを解凍し、それを(d)に示すよ
うに格納する。 【0024】従って、制御装置FCに設けられる第2の
メモリ21、第3のメモリ23の容量は、ある銘柄生産
用制御プログラムをそのまま格納するのに比べて、以下
のように少なくすることができる。即ち、プログラム圧
縮手段13によるデータ圧縮率を1/3とすれば、第2
のメモリ容量は、一つの銘柄生産用制御プログラムを格
納する容量1に対して、1/3となり、第3のメモリに
格納する制御プログラムは、一つの銘柄を担当する制御
プログラムが、例えば6工程(各工程はほぼ同じ容量と
する)で構成されているものとすれば、一つの銘柄生産
用制御プログラムを格納する容量1に対して、1/6と
なり、合計すると(1/3)+(1/6)=1/2の容
量となる。 【0025】ここでは、一つの銘柄生産用制御プログラ
ムが、6工程で構成されているものとしたが、更に多数
の工程で構成される制御プログラムの場合には、更に少
ない容量でよくなり、制御装置側でのメモリを効率よく
使用することができる。 【0026】 【発明の効果】以上詳細に説明したように、本発明によ
れば、分散配置される制御装置側において実行される制
御プログラムに関して、メモリ容量の規模を増大させる
ことなく、多品種の銘柄生産や、複雑な工程を経て実行
されるような制御を行わせることができる。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a sequence controller for inputting signals from sensors, actuators, and other various electric devices installed in a process, and controlling the sequence of a plant. More specifically, in a device having a control device for controlling a plant and a program management device connected to the control device via a communication bus and managing various programs handled by the control device, brands that are produced simultaneously. The present invention relates to a sequence control device capable of suppressing the size of the memory capacity on the control device side even if the number of types increases. 2. Description of the Related Art Conventionally, a distributed control system for controlling and monitoring a plant using a CRT display device, a programmable logic controller (PL), and the like.
There is a sequence control device configured by combining C) and the like. Such a control device actually controls a plant or the like based on a control program or sequence control information stored in a memory in advance, and a higher-level monitoring device or the like displays a screen such as a CRT on the screen of a CRT or the like to control and operate the plant. The system is configured to display various kinds of information and to display an alarm when an abnormality occurs in the plant, so that an operator can perform an appropriate instruction or process for the abnormality. In such a control system, when controlling a batch plant or the like for low-volume production of various kinds in a controlled manner, the execution of the batch sequence control is performed by different devices or equipment (for example, a measuring pot, (A reaction kettle, a mixing kettle, etc.) in that order, and the algorithm (control program) for controlling the plant also needs to be changed. [0004] Therefore, each of the distributed control devices includes:
In order to be able to cope with all brands that may be produced in advance in the memory, it is necessary to store control programs for realizing control algorithms for various brands. However, as the types of brands that can be produced increase, the capacity of the memory must be increased, which causes a problem that the system scale of the control device increases. In order to solve such a problem, it is conceivable to adopt a method of downloading only a control program of a relevant brand from a higher-level computer system or a monitoring apparatus before starting the control operation. Even in this case, if the number of brands to be produced simultaneously increases or if a complicated control procedure is executed, the number of downloads of the control program will increase, and the communication bus will be dedicated for a long time, which will hinder the original control operation. And the number of brands to be controlled and controlled must be reduced at the same time. [0006] Here, the present invention relates to a case where the number of brands to be simultaneously produced is increased or a complicated control procedure is executed without increasing the memory capacity of the control device. It is an object of the present invention to provide a device that can handle sequence control. SUMMARY OF THE INVENTION The present invention for achieving the above object manages a control device for controlling a plant and various programs which are connected to the control device via a communication line and are handled by the control device. A sequence control device comprising: a program compression device for compressing a control program for controlling a plant for each of a plurality of processes; and a program compression device for compressing the control program by the program compression device. A memory for storing a control program downloaded from the program management device in a compressed form, and a control program stored in the memory. The real
The program in charge of the process to be executed in units of the process to be executed
A sequence control device comprising: a program decompressing unit for reading out a ram and decompressing it to an original form; and a control unit for controlling a corresponding plant based on a control program decompressed by the program decompressing unit. The control program for the specified brand production is downloaded from the program management device in a compressed form and stored in the memory provided in the control device. The control program consists of multiple steps,
At the time of execution of the control program, the control program compressed for each step to be executed is converted into the original form. The control device is
The plant is controlled according to the control program converted into the original form. Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a configuration block diagram showing one embodiment of the present invention. In the figure, PM is a program management device including program creation means for creating a control program and various data for sequence control, and OP is a monitoring device (operator station). Each of them is connected to the communication bus BS and includes a display means such as a CRT, which is a man-machine interface function, and a pointing device such as a keyboard and a mouse. The FC is a control device for controlling the plant. A plurality of FCs are distributed and arranged as required, and each is connected to the program management device PM and the monitoring device OP via the communication bus BS. Here, the program management device PM
Although the monitoring device OP and the monitoring device OP are separately configured, a configuration in which the function of the program management device PM is provided in the monitoring device OP may be employed. In the program management device PM, reference numeral 11 denotes a program creating means having a function of creating a control program for plant control. Here, a control procedure between (a series of) devices (for example, devices such as a charging kettle and a reaction kettle) constituting a plant PLT controlled by the control device FC is described, for example, by a sequential method.
Function chart (Sequential Function Char)
t; SFC) language, and each execution unit in each process (procedure) is described, for example, in a problem-oriented or procedural language sequence language SEBOL (Sequence).
Queue and Batch Oriented Language), sequence table, logic chart, etc. Here, the SFC language is based on the international standard IEC.
This logic describes the process management sequence standardized in (SC65A / WG6), and has the characteristic that the execution order and parallel processing of the process management sequence can be visually and clearly expressed. . Reference numeral 12 denotes a first memory for storing the control program created by the control program creation means 11, and reference numeral 13 denotes a program compression means for compressing the control program read from the memory 12 for each of a plurality of steps. For the compression here, a technique used when compressing normal data can be applied. For example, a control program in the form of object code is compressed so that the total capacity is reduced to 1/3. It has such a function. Reference numeral 14 denotes a program download means for downloading the control program to the control device FC in a form compressed by the program compression means. Control device F
In C, reference numeral 21 denotes a second memory for storing a control program downloaded from the program management device PM in a compressed form, and reference numeral 22 denotes a step of executing the control program stored in the second memory 21. A program decompressing means 23 for decompressing the program into the original form, and a third memory 23 for storing the control program decompressed by the program decompressing means 22 to the original form. Here, the second memory 21 and the third memory 23 are shown as separate blocks, but the same memory may be used and the area may be divided and used. Reference numeral 24 denotes control means for controlling the plant, which controls the corresponding plant based on the control program decompressed by the program decompression means stored in the third memory 23. The control means 24 is actually composed of a large number of control means called, for example, function blocks. Each functional block has a function of inputting signals from various sensors SN installed in the plant PLT and performing sequence control of an actuator ACT such as a valve or a pump. Some of these functional blocks include, for example, SFC described by SFC.
SEBO described in the sequence language SEBOL suitable for detailed description of FC block, step-by-step sequence control
L block, a sequence table block suitable for a patterned monitoring sequence or a process step sequence,
There is a logic chart block or the like in which the relationship between an input signal and an output signal is described using a logic element, and these functional blocks are appropriately combined so that the sequence of the plant PLT can be efficiently controlled. The program management device PM, the monitoring device OP,
The part where the control device FC is connected to the communication bus BS includes:
Communication means 10 each functioning as a communication interface are provided, and exchange of data, download of a control program, and the like between each control device FC and the program management device PM and the monitoring device OP via the communication bus BS are provided. , According to a certain communication protocol.
Further, the monitoring device OP collects various data handled by each control device FC which is in charge of the monitoring device OP, and enables the monitoring device to monitor these data. FIG. 2 is a conceptual diagram showing the overall configuration of a control program for producing a certain brand, created by the program creating means in the program management device PM. Here, in a batch plant in which a product is made via a plurality of devices, the execution procedure on the designated device is expressed in SFC language, and the execution procedure is as follows: charging → heating → addition → stirring (addition and stirring (Parallel processing)... Here, numerical values “1, 2,...” Surrounded by a frame are step numbers (process numbers).
In the present invention, the control device FC is configured such that this step is one unit, and only the control program responsible for the step to be executed is decompressed by the program decompression means 22. FIGS. 3 to 5 are conceptual diagrams showing an example of a control program for realizing each step. The example in FIG.
An execution procedure in a process is described in a sequence language SEBOL suitable for process step sequence control. FIG. 4 shows an execution procedure in a process described in a sequence table suitable for controlling a patterned monitoring sequence process step-by-step. In this sequence table, the relationship between the condition input signal and the operation output signal is described in a Yes / No pattern table. FIG. 5 describes an execution procedure in a process in a logic chart suitable for controlling, for example, an interlock sequence and a monitoring sequence of plant equipment. This logic chart describes the relationship between an input signal and an output signal using a logic element.
The program creation means in the program management device PM combines a number of control programs for executing each of these steps, and creates a control program for producing a certain brand consisting of a plurality of steps. Then, each control device FC executes these control programs in accordance with the progress of the process, and performs actual sequence control such as opening and closing of valves and ON / OFF of solenoid valves and the like. The operation of the apparatus having the above-mentioned configuration will be described below. In the program management device PM, the control program created by the control program creation means 11 is stored in the first memory 12. Prior to manufacturing a certain brand of product, the program management device PM reads out the relevant brand production control program stored in the first memory 12 based on an instruction from an operator or the like, and reads this program compression means. At 13, data is compressed for each step, and the compressed data is downloaded to the control device FC as it is via the download means 14 and the communication bus BS. In the control device FC, the second memory 21
Means that a control program sent from the program management device PM via each communication means 10 and the communication bus BS (the control program is configured to execute a plurality of steps) is converted into a compressed data format. Remember. When controlling the plant PLT, the control device FC decompresses the control program stored in the second memory 21 for each process as the process progresses, converts the control program into an executable form, and converts it into the third memory. 23. The control unit 24 controls the corresponding process according to the control program stored in the third memory. When one step is completed, the program decompression means 22 reads the control program of the next step from the second memory 21, converts it into an executable form (decompresses), and converts the control program into an executable form. 23. Control means 24
Then, according to the control program newly stored in the third memory, the control of the next step is repeated until the last step. As described above, the program decompression means 22 in the control device FC stores only the control program portion corresponding to the step in which the control means 24 actually executes the control in the control program stored in the second memory 21. And decompresses it and stores it in the third memory 23. Therefore, in the control device FC, the capacity (size) of the second memory for storing the control program may be prepared in an amount corresponding to the data compression ratio, and the capacity of the third memory is only one process. The capacity may be sufficient to store the control program responsible for the operation. FIG. 6 is a diagram conceptually showing the states of programs stored in the first memory 12, the second memory 21, and the third memory 23, respectively. The first memory 12 in the program management device PM stores a plurality of brand production control programs P1, P2,... As shown in FIG. These multiple brand production control programs are:
In addition to the one created by the control program creation means 11,
It may be created or used by another system. Prior to the production of a certain brand of product, when the relevant brand is designated from the first memory 11, the brand production control program is read out, compressed by the program compression means 13, and the program shown in FIG. The data becomes compressed data as shown and is sent to the control device FC via the communication bus BS. As a result, the control program of the designated brand is stored in the form of compressed data in the second memory 21 of the control device FC as shown in (c). The program decompression means 22 of the control device FC decompresses only the control program in charge of each step executed from the second memory 21 at the time of execution of the control program, and stores it as shown in (d). Therefore, the capacities of the second memory 21 and the third memory 23 provided in the control device FC can be reduced as follows as compared with the case where a certain brand production control program is stored as it is. . That is, if the data compression ratio by the program compression means 13 is 1 /, the second
Is 1/3 of the capacity 1 for storing one brand production control program, and the control program stored in the third memory is such that the control program in charge of one brand has, for example, six processes. (Each process is assumed to have substantially the same capacity), and it is 1/6 of the capacity 1 for storing one brand production control program, and the total is (1/3) + ( 1/6) = 1 /. Here, one brand production control program is composed of six steps. However, in the case of a control program composed of a larger number of steps, a smaller capacity is sufficient, and The memory on the device side can be used efficiently. As described in detail above, according to the present invention, a variety of control programs executed on the distributed control device side can be implemented without increasing the memory capacity. Controls such as brand production and control performed through complicated processes can be performed.

【図面の簡単な説明】 【図1】本発明の一実施例を示す構成ブロック図であ
る。 【図2】プログラム管理装置PMにおいて、プログラム
作成手段により作成された、ある銘柄を生産するための
制御プログラムの全体構成を示す概念図である。 【図3】各工程を実現するための各制御プログラムの一
例を示す概念図である。 【図4】各工程を実現するための各制御プログラムの一
例を示す概念図である。 【図5】各工程を実現するための各制御プログラムの一
例を示す概念図である。 【図6】第1のメモリ12、第2のメモリ21、第3の
メモリ23にそれぞれ格納されるプログラムの様子を概
念的に示す図である。 【符号の説明】 PM プログラム管理装置 OP 監視装置(オペレータステーション) FC 制御装置 BS 通信バス PLT プラント SN センサ AC アクチュエータ 11 制御プログラム作成手段 12 第1のメモリ 13 プログラム圧縮手段 14 ダウンロード手段 10 通信手段 21 第2のメモリ 22 プログラム解凍手段 23 第3のメモリ 24 制御手段
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a configuration block diagram showing one embodiment of the present invention. FIG. 2 is a conceptual diagram showing an overall configuration of a control program for producing a certain brand, created by a program creating means in the program management device PM. FIG. 3 is a conceptual diagram showing an example of each control program for realizing each step. FIG. 4 is a conceptual diagram showing an example of each control program for realizing each step. FIG. 5 is a conceptual diagram showing an example of each control program for realizing each step. 6 is a diagram conceptually showing a state of a program stored in each of a first memory 12, a second memory 21, and a third memory 23. FIG. [Description of Signs] PM Program management device OP Monitoring device (operator station) FC control device BS Communication bus PLT Plant SN Sensor AC actuator 11 Control program creation unit 12 First memory 13 Program compression unit 14 Download unit 10 Communication unit 21 Second memory 22 Program decompression means 23 Third memory 24 Control means

Claims (1)

(57)【特許請求の範囲】 【請求項1】プラントを制御する制御装置と、この制御
装置に通信回線を介して接続され制御装置が扱う各種プ
ログラムを管理するプログラム管理装置とを備えたシー
ケンス制御装置であって、 前記プログラム管理装置に、 プラントを制御するための制御プログラムを複数の工程
毎に圧縮するプログラム圧縮手段と、 制御プログラムをプログラム圧縮手段により圧縮した形
態で前記制御装置側にダウンロードするプログラムダウ
ンロード手段とを設け、 制御装置に、 プログラム管理装置側からダウンロードされた制御プロ
グラムを圧縮された形態で記憶するメモリと、 メモリに記憶されている制御プログラムを、実行する工
程を単位とし、実行する工程を担当するプログラムを
みだし元の形態に解凍するプログラム解凍手段と、 プログラム解凍手段により解凍された制御プログラムに
基づき該当のプラントを制御する制御手段とを設けたこ
とを特徴とするシーケンス制御装置。
(1) A sequence comprising: a control device for controlling a plant; and a program management device connected to the control device via a communication line and managing various programs handled by the control device. A control device, wherein the program management device includes: a program compression unit configured to compress a control program for controlling a plant for each of a plurality of processes; and a control program downloaded to the control device in a form compressed by the program compression unit. And a memory for storing the control program downloaded from the program management device in a compressed form, and a program for executing the control program stored in the memory.
A program decompression means for reading out a program in charge of a process to be executed in units of processes and decompressing the program in an original form, and a control means for controlling a corresponding plant based on a control program decompressed by the program decompression means. A sequence control device comprising:
JP30468294A 1994-12-08 1994-12-08 Sequence controller Expired - Fee Related JP3402343B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30468294A JP3402343B2 (en) 1994-12-08 1994-12-08 Sequence controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30468294A JP3402343B2 (en) 1994-12-08 1994-12-08 Sequence controller

Publications (2)

Publication Number Publication Date
JPH08161177A JPH08161177A (en) 1996-06-21
JP3402343B2 true JP3402343B2 (en) 2003-05-06

Family

ID=17935960

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30468294A Expired - Fee Related JP3402343B2 (en) 1994-12-08 1994-12-08 Sequence controller

Country Status (1)

Country Link
JP (1) JP3402343B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016146081A (en) * 2015-02-09 2016-08-12 東芝三菱電機産業システム株式会社 Sequence controller

Also Published As

Publication number Publication date
JPH08161177A (en) 1996-06-21

Similar Documents

Publication Publication Date Title
US5818736A (en) System and method for simulating signal flow through a logic block pattern of a real time process control system
US7272458B2 (en) Control system setting device
US5644487A (en) Monitoring and control system and method
JP5155510B2 (en) Process control system and control routine execution method
US20080140230A1 (en) Autogeneration of code via human-machine interfaces (hmi) and self-building hmi
US20190049908A1 (en) Weakly-typed dataflow infrastructure with standalone, configurable connections
US6334075B1 (en) Data processor providing interactive user configuration of data acquisition device storage format
JP3402343B2 (en) Sequence controller
WO1990002366A1 (en) System for diagnosing cnc
JPH10301763A (en) Program preparation supporting device for digital controller
JP3412667B2 (en) Scheduling method of fieldbus system
JPH11134010A (en) Program executing method of programmable controller
JP3999477B2 (en) Control program creation system, apparatus, method, recording medium, and program
JP2003036103A (en) Process control system
GB2319866A (en) Data processor has descriptive format setting program
JP2021015386A (en) Production system
JPH08221103A (en) Batch plant controller
JPH0876834A (en) Batch plant monitor device
Infelise Data Acquisition With PLCs
JPH11282660A (en) Automatic programming device for process controller and information recording medium
JP2854645B2 (en) Fault diagnosis device
JPH0777930A (en) System definition generating device
JPH01193954A (en) Terminal program changing system
JPH0266601A (en) Batch controller
JPH06180704A (en) Control device for production line

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080229

Year of fee payment: 5

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080229

Year of fee payment: 5

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090228

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees