JPH05258195A - Supervisory and controlling system and its sequence processing system - Google Patents

Supervisory and controlling system and its sequence processing system

Info

Publication number
JPH05258195A
JPH05258195A JP4055625A JP5562592A JPH05258195A JP H05258195 A JPH05258195 A JP H05258195A JP 4055625 A JP4055625 A JP 4055625A JP 5562592 A JP5562592 A JP 5562592A JP H05258195 A JPH05258195 A JP H05258195A
Authority
JP
Japan
Prior art keywords
sequence
processing
change request
change
processing program
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
JP4055625A
Other languages
Japanese (ja)
Other versions
JP3017352B2 (en
Inventor
Satomi Hatakeyama
里深 畠山
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP4055625A priority Critical patent/JP3017352B2/en
Publication of JPH05258195A publication Critical patent/JPH05258195A/en
Application granted granted Critical
Publication of JP3017352B2 publication Critical patent/JP3017352B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Alarm Systems (AREA)

Abstract

PURPOSE:To easily change a sequence processing program concerning the supervisory and controlling system and its sequence processing system of an equipment in a building, etc., which are provided with plural parts processing programs being made into the parts so as to execute the parts processing programs in accordance with a sequence table where the execution order of the parts processing programs are described. CONSTITUTION:A change request processing means 4 and a change request table 3 are provided. A control processing means 5 normally executes the parts processing programs in accordance with the sequence table 2 where the execution order of the plural parts processing programs 1 being made into the parts are described so as to execute supervisory-control by the execution. When the change request processing means 4 writes the change indication of sequence processing procedure in the change request table 3, the control processing means 5 refers to the change request table 3 so as to execute the parts processing programs.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はビルの設備等をリアルタ
イムで監視制御する監視制御システム及びそのシーケン
ス処理方式に関し、特に部品化された複数の部品処理プ
ログラムを具備し、部品処理プログラムの実行順序を記
載したシーケンステーブルに従い部品処理プログラムを
実行する監視制御システム及びそのシーケンス処理方式
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a supervisory control system for monitoring and controlling building facilities in real time and its sequence processing method, and in particular, it is equipped with a plurality of component processing programs and the order of execution of the component processing programs. The present invention relates to a supervisory control system that executes a component processing program according to the sequence table described above and a sequence processing method thereof.

【0002】近年、ビルが大型化し、またインテリジェ
ント化し、それに伴い、ビル設備も大型化、高性能化し
ている。そうしたビルにおいては電力設備、空調設備、
防災設備等のビル設備を常時、監視制御するシステムが
整備されているが、この監視制御システムによる監視機
能の強化や監視システムの高性能化が要請されている。
In recent years, buildings have become larger and more intelligent, and accompanying this, building facilities have become larger and have higher performance. In such buildings, power equipment, air conditioning equipment,
A system for constantly monitoring and controlling building facilities such as disaster prevention facilities is in place, but there is a demand for strengthening the monitoring function and improving the performance of the monitoring system by this monitoring and control system.

【0003】[0003]

【従来の技術】以前、電力設備、空調設備、防災設備等
のビル設備の監視制御システムはコンピュータを用いな
いシーケンス制御のハードウェアで構成されていた。そ
の後、コンピュータを用いた監視制御システムが現れ、
ソフトウェアによるビル設備の監視制御が行われるよう
になった。
2. Description of the Related Art Previously, a supervisory control system for building equipment such as electric power equipment, air conditioning equipment, disaster prevention equipment, etc. was composed of sequence control hardware without using a computer. After that, a supervisory control system using a computer appeared,
Building equipment is now monitored and controlled by software.

【0004】そうしたソフトウェアによる監視制御シス
テムでは、監視制御の一連の処理手順が記載されたシー
ケンス処理プログラムが予め用意され、このシーケンス
処理プログラムに従い監視制御が実行されていた。
In such a supervisory control system using software, a sequence processing program in which a series of supervisory control processing procedures is described is prepared in advance, and the supervisory control is executed in accordance with the sequence processing program.

【0005】[0005]

【発明が解決しようとする課題】しかし、シーケンス処
理プログラムの実行途中で、シーケンス処理の変更が必
要になった場合に、従来の監視制御システムでは、シー
ケンス処理プログラムを作り変えない限り、変更要求に
応じられなかった。
However, if the sequence processing needs to be changed during the execution of the sequence processing program, the conventional supervisory control system requests the change unless the sequence processing program is recreated. I couldn't respond.

【0006】また、シーケンス処理プログラムの作り変
えを短時間に行うことは困難であり、作り変え自体も容
易な作業でなかった。たとえ、作り変えを行なったとし
ても、シーケンス処理プログラムの汎用性が失われてし
まい、元の処理ができなくなってしまうという問題があ
った。
Further, it is difficult to remake the sequence processing program in a short time, and the remaking itself has not been an easy task. Even if it is remade, there is a problem that the versatility of the sequence processing program is lost and the original processing cannot be performed.

【0007】本発明はこのような点に鑑みてなされたも
のであり、シーケンス処理プログラムを容易に変更でき
る監視制御システム及びそのシーケンス処理方式を提供
することを目的とする。
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a supervisory control system and a sequence processing method thereof which can easily change a sequence processing program.

【0008】[0008]

【課題を解決するための手段】図1は、上記目的を達成
するために提案された本発明の原理を説明する図であ
る。
FIG. 1 is a diagram for explaining the principle of the present invention proposed to achieve the above object.

【0009】本発明の監視制御システムは、部品化され
た複数の部品処理プログラム1と、部品処理プログラム
1の実行順序が記載されたシーケンステーブル2と、変
更依頼テーブル3と、変更依頼テーブル3にシーケンス
処理手順の変更指示を書き込む変更依頼処理手段4と、
変更依頼処理手段4が書き込こんだ変更依頼テーブル3
を参照し、シーケンステーブル2に従い部品処理プログ
ラムを実行する管理処理手段5とから構成される。
The supervisory control system of the present invention includes a plurality of component processing programs 1 which are componentized, a sequence table 2 in which the execution order of the component processing programs 1 is described, a change request table 3 and a change request table 3. Change request processing means 4 for writing a change instruction of the sequence processing procedure,
Change request table 3 written by the change request processing means 4
And the management processing means 5 for executing the component processing program according to the sequence table 2.

【0010】また、本発明の監視制御システムのシーケ
ンス処理方式は、シーケンス処理手順の変更指示を変更
依頼テーブル3に書き込む変更依頼処理手段4と、変更
依頼処理手段4によって変更指示が書き込まれた変更依
頼テーブル3を参照し、部品処理プログラムを実行する
管理処理手段5とを有する。
Further, in the sequence processing method of the supervisory control system of the present invention, the change request processing means 4 for writing the change instruction of the sequence processing procedure in the change request table 3 and the change in which the change instruction is written by the change request processing means 4 It has a management processing means 5 for executing the component processing program by referring to the request table 3.

【0011】[0011]

【作用】通常、管理処理手段5は、部品化された複数の
部品処理プログラム1の実行順序が記載されたシーケン
ステーブル2に従い部品処理プログラムを実行し、これ
により監視制御を行う。
Normally, the management processing means 5 executes the component processing program according to the sequence table 2 in which the execution order of the plurality of component processing programs 1 is described, and thereby the monitoring control is performed.

【0012】変更依頼処理手段4によって、変更依頼テ
ーブル3にシーケンス処理手順の変更指示が書き込まれ
たときには、管理処理手段5は、変更依頼テーブル3を
参照して、部品処理プログラムを実行する。
When the change request processing unit 4 writes a change instruction of the sequence processing procedure in the change request table 3, the management processing unit 5 refers to the change request table 3 and executes the component processing program.

【0013】このようにすることにより、シーケンス処
理プログラムを容易に変更することが可能となる。
By doing so, it becomes possible to easily change the sequence processing program.

【0014】[0014]

【実施例】以下、本発明の一実施例を図面に基づいて説
明する。図2は本発明の一実施例の装置が含まれるビル
管理システムの概要を示すブロック図である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 2 is a block diagram showing an outline of a building management system including a device according to an embodiment of the present invention.

【0015】TS(Terminal Station)21〜23は、
ビル内の電力設備、空調設備および防災設備にそれぞれ
対応し、各設備の監視および制御を行う。TSC(Term
inalStation Controller)24は、TS21〜23を統
括する制御装置であり、パーソナルコンピュータまたは
ミニコンピュータから成る。MCS(Main Control Sta
tion) 25はデータの蓄積やシステム全体の管理を行
う。MMS(Man-Machine Station)26はオペレータに
対する入出力装置である。TS21〜23とTSC24
とはバス27で接続され、TSC24とMCS25、M
MS26とはバス28で接続される。
TSs (Terminal Stations) 21 to 23 are
It corresponds to the power equipment, air conditioning equipment, and disaster prevention equipment in the building, and monitors and controls each equipment. TSC (Term
The inalStation Controller) 24 is a control device that controls the TSs 21 to 23, and is composed of a personal computer or a mini computer. MCS (Main Control Sta
tion) 25 stores data and manages the entire system. An MMS (Man-Machine Station) 26 is an input / output device for an operator. TS21-23 and TSC24
Are connected by a bus 27, TSC24 and MCS25, M
It is connected to the MS 26 by a bus 28.

【0016】例えば、電力設備の監視および制御を行う
TS21では、複数の変電所から供給される電力を監視
し、停電が生じたとき等に、消費電力等に応じ、供給ル
ートを切り換えたり、自家発電機の操作を行なったりす
る。こうした監視および制御動作はTSC24に備えら
れた処理プログラムにより実行されが、そうした処理プ
ログラムは、予め部品化された複数の部品処理プログラ
ムとして保管され、かつ、複数の部品処理プログラムの
実行順序がシーケンステーブルに記載されている。した
がって、TSC24ではシーケンステーブルに記載され
た実行順序に従って複数の部品処理プログラムを実行す
る。シーケンステーブルとして、部品処理プログラムの
異なる実行順序が記載された複数のテーブルが用意され
る。
For example, the TS21 for monitoring and controlling electric power equipment monitors electric power supplied from a plurality of substations, and when a power failure occurs, the supply route is switched according to the power consumption or the like, or the home is used. Operate the generator. Such monitoring and control operations are executed by a processing program provided in the TSC 24. Such a processing program is stored as a plurality of component processing programs that are divided into parts in advance, and the execution order of the plurality of component processing programs is a sequence table. It is described in. Therefore, the TSC 24 executes a plurality of component processing programs according to the execution order described in the sequence table. As the sequence table, a plurality of tables in which different execution orders of the component processing programs are described are prepared.

【0017】図3は、上記TSC24の内部構成を示す
ブロック図である。部品処理プログラム31は、監視お
よび制御処理が最小ブロックに予め部品化された複数の
部品処理プログラムからなり、各部品処理プログラムに
部品処理プログラム識別番号(プログラムID)が付与
されている。シーケンステーブル(TBL2)32は、
監視および制御動作に従って複数の部品処理プログラム
31の実行順序が予め記載されたテーブルであり、部品
処理プログラムの異なる実行順序が記載された複数のテ
ーブルからなる。各シーケンステーブルにシーケンステ
ーブル識別番号(テーブルID)が付与されている。
FIG. 3 is a block diagram showing the internal structure of the TSC 24. The component processing program 31 is composed of a plurality of component processing programs in which monitoring and control processing is preliminarily divided into minimum blocks, and a component processing program identification number (program ID) is given to each component processing program. The sequence table (TBL2) 32 is
The table is a table in which the execution order of a plurality of component processing programs 31 is described in advance according to the monitoring and control operations, and is composed of a plurality of tables in which different execution orders of the component processing programs are described. A sequence table identification number (table ID) is assigned to each sequence table.

【0018】図4は、複数のシーケンステーブルの内の
1つのシーケンステーブルの内容を示す図である。すな
わち、シーケンステーブルはシーケンス処理単位毎に
「シーケンス項番」が付され、各シーケンス処理単位
は、部品処理プログラムID部41と、次処理項番部4
2と、変更次処理項番部43と、変更シーケンステーブ
ルID部44とから構成される(シーケンス項番1のシ
ーケンス処理単位のみを付番して説明するが、他のシー
ケンス処理単位も同様である)。部品処理プログラムI
D部41には部品処理プログラムのプログラムIDが記
載される。次処理項番部42の各項は、部品処理プログ
ラムID部41に記載された部品処理プログラムの実行
の結果得られる復帰情報1〜mにそれぞれ対応して設定
され、次処理項番部42の各項には、部品処理プログラ
ムの実行後、次に実行すべき部品処理プログラムを含む
シーケンス項番が記載される。変更次処理項番部43に
は、後述の変更依頼テーブル37においてシーケンス変
更時の変更先シーケンス項番の指定がないときに(N=
0)、変更先となるシーケンス項番が記載される。変更
シーケンステーブルID部44には、後述の変更依頼テ
ーブル37においてシーケンス変更時の変更先シーケン
ステーブルの指定がないときに(M=0)、変更先とな
るシーケンステーブルのテーブルIDが記載される。
FIG. 4 is a diagram showing the contents of one of the plurality of sequence tables. That is, the sequence table is provided with a “sequence item number” for each sequence processing unit, and each sequence processing unit has a component processing program ID unit 41 and a next processing item number unit 4
2, the changed next process item number unit 43, and the changed sequence table ID unit 44 (only the sequence process unit of the sequence item number 1 will be described, but other sequence process units are also the same. is there). Parts processing program I
The program ID of the component processing program is written in the D section 41. Each item of the next processing item number portion 42 is set corresponding to each of the return information 1 to m obtained as a result of the execution of the component processing program described in the component processing program ID portion 41. A sequence item number including a component processing program to be executed next after the component processing program is executed is described in each item. In the change next process item number section 43, when the change destination sequence item number at the time of sequence change is not specified in the change request table 37 described later (N =
0), the sequence item number to be changed is described. The change sequence table ID portion 44 describes the table ID of the change destination sequence table when the change destination table 37, which will be described later, does not specify the change destination sequence table (M = 0).

【0019】図3に戻って、テーブルIDポインタ(以
下、「ポインタ(D1)」と呼ぶ)33は、次に実行さ
れるべきシーケンステーブルのテーブルIDが書き込ま
れる記憶部であり、次処理ポインタ(以下、「ポインタ
(D2)」と呼ぶ)34は、次に実行されるべき部品処
理プログラムを含むシーケンス項番が書き込まれる記憶
部である。管理処理手段35は、ポインタ(D1)33
で指定されたシーケンステーブルに従い、ポインタ(D
2)34で指定されたシーケンス項番の部品処理プログ
ラムを部品処理プログラム31から読み出し、このプロ
グラムに従い、監視および制御処理を実行する。また、
この実行後、復帰情報に従い、実行したシーケンステー
ブルから次処理項番を得、これをポインタ(D2)34
に書き込む。以上を繰り返すことにより、ポインタ(D
1)33で指定されたシーケンステーブルに従ったシー
ケンス処理が実行される。
Returning to FIG. 3, the table ID pointer (hereinafter referred to as "pointer (D1)") 33 is a storage unit in which the table ID of the sequence table to be executed next is written, and the next processing pointer ( Hereinafter, the "pointer (D2)" 34 is a storage unit in which a sequence item number including a component processing program to be executed next is written. The management processing means 35 uses the pointer (D1) 33.
According to the sequence table specified by, the pointer (D
2) The component processing program of the sequence item number designated in 34 is read from the component processing program 31, and the monitoring and control processing is executed according to this program. Also,
After this execution, according to the return information, the next processing item number is obtained from the executed sequence table, and this is pointed to by the pointer (D2) 34.
Write in. By repeating the above, the pointer (D
1) The sequence process according to the sequence table designated in 33 is executed.

【0020】ところで、変更依頼処理手段36は、MM
S26を経由してオペレータからシーケンス処理の変更
依頼を受け、その依頼内容を変更依頼テーブル(TBL
1)37に書き込む手段である。
The change request processing means 36 uses the MM
A sequence process change request is received from the operator via S26, and the request content is changed to a change request table (TBL
1) Means for writing to 37.

【0021】図5は、この変更依頼テーブル(TBL
1)37の内部構成を示す図である。すなわち、変更依
頼テーブル(TBL1)37は5つの記憶部51〜55
からなり、記憶部51には変更依頼の有無を示す変更依
頼フラグF1(「0」が依頼なし、「1」が依頼あり)
が書き込まれ、記憶部52〜55には、変更依頼がある
場合の変更内容が書き込まれる。
FIG. 5 shows the change request table (TBL
1) A diagram showing the internal configuration of 37. That is, the change request table (TBL1) 37 includes five storage units 51 to 55.
The storage unit 51 includes a change request flag F1 indicating whether or not there is a change request (“0” indicates no request, “1” indicates request).
Is written, and the contents of change when there is a change request are written in the storage units 52 to 55.

【0022】記憶部52には、シーケンステーブルを変
更する依頼であるか否かを示すシーケンステーブル変更
フラグF2が書き込まれる。フラグF2が「0」なら
ば、シーケンステーブルの変更依頼がないことを示し、
「1」ならば依頼があることを示す。記憶部53には、
同一シーケンステーブル内において部品処理プログラム
(実際にはシーケンス項番)を変更する依頼であるか否
かを示す同一シーケンス内変更フラグF3が書き込まれ
る。フラグF3が「0」ならば、部品処理プログラムの
変更依頼がないことを示し、「1」ならば依頼があるこ
とを示す。
A sequence table change flag F2 indicating whether or not the request is to change the sequence table is written in the storage unit 52. If the flag F2 is "0", it means that there is no request for changing the sequence table.
"1" indicates that there is a request. In the storage unit 53,
An in-sequential change flag F3 indicating whether or not the request is to change the component processing program (actually, the sequence item number) in the same sequence table is written. If the flag F3 is "0", it means that there is no request for changing the component processing program, and if it is "1", it means that there is a request.

【0023】記憶部54には、フラグF3が「1」であ
るときに、次に実行されるべき部品処理プログラム(実
際にはシーケンス項番)を指定する変更先シーケンス項
番Nが書き込まれ、記憶部55には、フラグF2が
「1」であるときに、次に実行されるべきシーケンステ
ーブルを指定する変更シーケンステーブル識別番号(I
D)Mが書き込まれる。なお、シーケンス処理変更の
際、変更して次に実行されるべき部品処理プログラムを
任意の部品処理プログラムとはせず、特定な部品処理プ
ログラムにするときには変更先シーケンス項番Nを
「0」とし、また、シーケンス変更の際、変更して次に
実行されるべきシーケンステーブルを任意のものとはせ
ず、所定の特定なシーケンステーブルにするときには変
更シーケンステーブル識別番号(ID)Mを「0」とす
る。
When the flag F3 is "1", the change destination sequence item number N designating the component processing program (actually, the sequence item number) to be executed next is written in the storage unit 54, In the storage unit 55, when the flag F2 is "1", the changed sequence table identification number (I
D) M is written. When changing the sequence processing, the component processing program to be changed and executed next is not set as an arbitrary component processing program, but when it is set as a specific component processing program, the changed sequence item number N is set to "0". In addition, when changing a sequence, the changed sequence table identification number (ID) M is set to "0" when the sequence table to be changed and executed next is not arbitrary but a predetermined specific sequence table. And

【0024】変更依頼テーブル(TBL1)37の設定
に際し、シーケンス処理の流れを中断して特定の処理を
強制的に実行したいときには、変更依頼処理手段36
は、フラグF3を「1」に設定するとともに、変更先シ
ーケンス項番Nを「0」に設定する。シーケンス処理の
流れを目的に応じて任意のシーケンス処理に変更したい
ときには(例えば、環境条件が変わったために割り込み
により緊急に別の処理を行うとき)、フラグF3を
「1」に設定するとともに、変更先シーケンス項番N
に、その任意のシーケンス処理に相当する処理プログラ
ムを有するシーケンス項番を書き込む。また、使用する
シーケンステーブルを特定のシーケンステーブルに強制
的に変えたいときには(例えば、シーケンス処理を中断
する必要が発生したが、異常発生を防ぐための中断の復
元処理を特定のシーケンステーブルで行なっておかねば
ならないとき)、フラグF2を「1」に設定するととも
に、変更シーケンステーブル識別番号(ID)Mを
「0」に設定する。使用するシーケンステーブルを目的
に応じて任意のシーケンス処理に変更したいときには
(例えば、現在使用中のシーケンステーブルとは全く異
なる処理を行う必要が生じたとき)、フラグF2を
「1」に設定するとともに、変更シーケンステーブル識
別番号(ID)Mに、その任意のシーケンス処理が記載
されたシーケンステーブルの識別番号(ID)を書き込
む。以上のいずれかの設定および書き込みを終了した
後、変更依頼処理手段36は、フラグF1を「1」に設
定する。
At the time of setting the change request table (TBL1) 37, when it is desired to interrupt the sequence process flow and forcibly execute a specific process, the change request processing means 36
Sets the flag F3 to "1" and sets the changed sequence item number N to "0". When it is desired to change the sequence process flow to an arbitrary sequence process according to the purpose (for example, when another process is urgently performed by interruption due to a change in environmental conditions), the flag F3 is set to "1" and changed. Previous sequence item number N
A sequence item number having a processing program corresponding to the arbitrary sequence processing is written in the. Also, when you want to forcibly change the sequence table to be used to a specific sequence table (for example, it is necessary to interrupt the sequence processing, but you must perform the interrupt restoration processing to prevent an abnormal occurrence in the specific sequence table). (When it must be said), the flag F2 is set to "1" and the change sequence table identification number (ID) M is set to "0". When it is desired to change the sequence table to be used to an arbitrary sequence process according to the purpose (for example, when it is necessary to perform a completely different process from the sequence table currently in use), the flag F2 is set to "1" and In the changed sequence table identification number (ID) M, the identification number (ID) of the sequence table in which the arbitrary sequence process is described is written. After completing any of the above settings and writing, the change request processing unit 36 sets the flag F1 to "1".

【0025】図3に戻って、管理処理手段35は、変更
依頼テーブル(TBL1)37を参照し、変更依頼があ
るときは、変更先シーケンス項番Nまたは変更シーケン
ステーブル識別番号(ID)Mを、ポインタ(D2)3
4またはポインタ(D1)33にそれぞれ書き込み、こ
の書き込まれた変更先シーケンス項番Nや変更シーケン
ステーブル識別番号(ID)Mに基づいて、監視および
制御処理を実行する。この管理処理手段35の作動の詳
細を、図6および図7を参照して次に説明する。
Returning to FIG. 3, the management processing means 35 refers to the change request table (TBL1) 37, and when there is a change request, the change destination sequence item number N or the change sequence table identification number (ID) M. , Pointer (D2) 3
4 or the pointer (D1) 33, and the monitoring and control process is executed based on the changed sequence item number N and the changed sequence table identification number (ID) M that have been written. Details of the operation of the management processing means 35 will be described below with reference to FIGS. 6 and 7.

【0026】図6は、管理処理手段35で実行されるシ
ーケンス処理の手順を示すフローチャートである。図中
Sに続く数字はステップ番号を表す。 〔S1〕ポインタ(D1)33およびポインタ(D2)
34にそれぞれ書き込まれたテーブルIDおよびシーケ
ンス項番で指定される部品処理プログラムIDを記憶子
Xに書き込む。 〔S2〕ステップS1で書き込まれた記憶子Xが「0」
であるか否かを判別する。すなわち、部品処理プログラ
ムIDが「0」であれば、シーケンス処理は完了したも
のとみなし、処理を終了する。一方、部品処理プログラ
ムIDが「0」でなければ、ステップS3へ進む。 〔S3〕Xで示される部品処理プログラムを部品処理プ
ログラム31から読み出し、このプログラムに従い、監
視および制御処理を実行する。 〔S4〕この実行の結果得られる復帰情報に対応する次
処理項番を、対応のシーケンステーブルから得てポイン
タ(D2)34に書き込む。
FIG. 6 is a flowchart showing the sequence processing procedure executed by the management processing means 35. The numbers following S in the figure represent step numbers. [S1] Pointer (D1) 33 and pointer (D2)
The table processing ID and the component processing program ID designated by the sequence item number written in 34 are written in the memory X. [S2] The memory X written in step S1 is "0".
Or not. That is, if the component processing program ID is “0”, it is considered that the sequence processing has been completed, and the processing ends. On the other hand, if the component processing program ID is not "0", the process proceeds to step S3. [S3] The component processing program indicated by X is read from the component processing program 31, and the monitoring and control processing is executed according to this program. [S4] The next processing item number corresponding to the return information obtained as a result of this execution is obtained from the corresponding sequence table and written in the pointer (D2) 34.

【0027】〔S5〕変更依頼テーブル(TBL1)3
7を参照し、変更依頼フラグF1が「1」であるか否か
を判別する。「1」であればステップS6へ進み、一
方、「0」であればステップS1へ戻って、ステップS
4で書き込まれた次処理項番に基づいてステップS1を
実行する。 〔S6〕シーケンス変更の処理を実行する。詳細は図7
を用いて後述する。 〔S7〕変更依頼テーブル(TBL1)37の内容をク
リアしてステップS1に戻る。
[S5] Change request table (TBL1) 3
7, it is determined whether the change request flag F1 is "1". If "1", the process proceeds to step S6, while if "0", the process returns to step S1 and step S6.
Step S1 is executed based on the next processing item number written in 4. [S6] A sequence changing process is executed. Figure 7 for details
Will be described later. [S7] The contents of the change request table (TBL1) 37 are cleared and the process returns to step S1.

【0028】図7は、図6のステップS6で実行される
シーケンス変更処理の詳細内容を示すフローチャートで
ある。 〔S61〕同一シーケンス内変更フラグF3が「1」で
あるか否かを判別する。「1」であればステップS62
へ進み、一方、「0」であれば、部品処理プログラムの
変更依頼はないので、ステップS65へ進む。 〔S62〕変更依頼テーブル(TBL1)37の記憶部
54に書かれた変更先シーケンス項番Nが「0」である
か否かを判別する。「0」であれば、変更先について特
に指定がないのでステップS64へ進む。「0」でない
データがあるときにはステップS63へ進む。 〔S63〕変更先シーケンス項番Nをポインタ(D2)
34に書き込む。この後に実行される図6のステップS
1〜S3ではこの変更先シーケンス項番Nがポインタ
(D2)34の値として用いられる。 〔S64〕図6のステップS3で実行した部品処理プロ
グラムを含むシーケンス項番に記載された変更次処理項
番(図4のシーケンス項番1ならば変更次処理項番4
3)をポインタ(D2)34に書き込む。この後に実行
される図6のステップS1〜S3ではこの変更次処理項
番がポインタ(D2)34の値として用いられる。
FIG. 7 is a flow chart showing the detailed contents of the sequence changing process executed in step S6 of FIG. [S61] It is determined whether or not the in-sequential sequence change flag F3 is "1". If "1", step S62
On the other hand, if the value is "0", there is no request for changing the component processing program, and the process proceeds to step S65. [S62] It is determined whether or not the change destination sequence item number N written in the storage unit 54 of the change request table (TBL1) 37 is "0". If it is "0", there is no particular designation of the change destination, so the flow proceeds to step S64. When there is data that is not "0", the process proceeds to step S63. [S63] Pointer to the destination sequence item number N (D2)
Write to 34. Step S of FIG. 6 executed after this
In 1 to S3, this changed sequence item number N is used as the value of the pointer (D2) 34. [S64] Change next processing item number described in the sequence item number including the component processing program executed in step S3 of FIG. 6 (if the sequence item number 1 in FIG.
3) is written in the pointer (D2) 34. In the subsequent steps S1 to S3 of FIG. 6, the changed next processing item number is used as the value of the pointer (D2) 34.

【0029】〔S65〕シーケンステーブル変更フラグ
F2が「1」であるか否かを判別する。「1」であれば
ステップS66へ進み、一方、「0」であれば、シーケ
ンステーブルの変更依頼はないので、図6のステップS
7へ進む。 〔S66〕変更依頼テーブル(TBL1)37の記憶部
55に書かれた変更シーケンステーブル識別番号(I
D)Mが「0」であるか否かを判別する。「0」であれ
ば、変更先について特に指定がないのでステップS68
へ進む。「0」でないデータがあるときにはステップS
67へ進む。 〔S67〕変更シーケンステーブル識別番号(ID)M
をポインタ(D1)33に書き込む。この後に実行され
る図6のステップS1〜S3ではこの変更シーケンステ
ーブル識別番号(ID)Mがポインタ(D1)33の値
として用いられる。 〔S68〕図6のステップS3で実行した部品処理プロ
グラムを含むシーケンス項番に記載された変更シーケン
ステーブルID(図4のシーケンス項番1ならば変更シ
ーケンステーブルID44)をポインタ(D1)33に
書き込む。この後に実行される図6のステップS1〜S
3ではこの変更シーケンステーブルIDがポインタ(D
1)33の値として用いられる。
[S65] It is determined whether the sequence table change flag F2 is "1". If it is "1", the process proceeds to step S66, while if it is "0", there is no request to change the sequence table.
Proceed to 7. [S66] Change sequence table identification number (I) written in the storage unit 55 of the change request table (TBL1) 37.
D) Determine whether M is "0". If it is "0", there is no particular designation of the change destination, so step S68.
Go to. If there is data that is not "0", step S
Proceed to 67. [S67] Change sequence table identification number (ID) M
Is written in the pointer (D1) 33. This changed sequence table identification number (ID) M is used as the value of the pointer (D1) 33 in steps S1 to S3 of FIG. [S68] The change sequence table ID described in the sequence item number including the component processing program executed in step S3 of FIG. 6 (or the change sequence table ID 44 if the sequence item number 1 of FIG. .. After this, steps S1 to S of FIG. 6 are executed.
In 3, the change sequence table ID is the pointer (D
1) Used as the value of 33.

【0030】以下に、実際の具体的数値を用いた実施例
を示して説明する。図8はテーブルID=1のシーケン
ステーブルであり、図9は図8のシーケンステーブルを
フローチャート化した図である。この例によれば、まず
シーケンス項番1のプログラムIDで示される部品処理
プログラムP21を実行する。その処理の結果、復帰情
報R1が戻ってきたとすると、次処理項番は「2」とな
る。したがって、つぎにシーケンス項番2の部品処理プ
ログラムP22を実行する。この実行のあとは次処理項
番は「3」となるから、つぎはシーケンス項番3の部品
処理プログラムP25が実行される。この実行のあとは
次処理項番は「6」となるから、つぎはシーケンス項番
6の部品処理プログラムP28が実行される。この実行
のあとは次処理項番は「0」となるから、これでシーケ
ンス処理が終了する。もし、部品処理プログラムP21
の実行の結果、復帰情報R2が戻ってくれば、シーケン
ス項番4へ、復帰情報R3が戻ってくれば、シーケンス
項番7へ進む。
An embodiment using actual concrete numerical values will be shown and described below. 8 is a sequence table of table ID = 1, and FIG. 9 is a flowchart of the sequence table of FIG. According to this example, first, the component processing program P21 indicated by the program ID of sequence item number 1 is executed. Assuming that the return information R1 is returned as a result of the processing, the next processing item number is “2”. Therefore, next, the component processing program P22 of sequence item number 2 is executed. After this execution, the next processing item number becomes "3", so the component processing program P25 of the sequence item number 3 is executed next. After this execution, the next processing item number becomes "6", so the component processing program P28 of the sequence item number 6 is executed next. After this execution, the next processing item number becomes "0", so that the sequence processing ends. If the parts processing program P21
If the return information R2 is returned as a result of execution of, the process proceeds to the sequence item number 4, and if the return information R3 is returned, the process proceeds to the sequence item number 7.

【0031】図10は変更依頼テーブル37の具体的な
数値例を示す図である。このような変更依頼が、部品処
理プログラムP25を実行中に、変更依頼処理手段36
から変更依頼テーブル37に書き込まれたとする。こう
した変更依頼によるシーケンス処理の変更動作を図11
を参照して説明する。
FIG. 10 is a diagram showing a specific numerical example of the change request table 37. While such a change request is executing the parts processing program P25, the change request processing means 36
Is written in the change request table 37 from. FIG. 11 shows the change operation of the sequence processing by such a change request.
Will be described.

【0032】図11はシーケンス処理の具体的な変更動
作を示すタイムチャートである。(A)は変更がなく、
本来のシーケンス処理が行われた場合に実行される各部
品処理プログラムの実行期間を示し、(B)はシーケン
ス処理の変更が行われた場合に実行される各部品処理プ
ログラムの実行期間を示す。(C)は各部品処理プログ
ラムの実行開始タイミングを示し、(D)はポインタ
(D2)34に書き込まれているシーケンス項番に対応
する部品処理プログラムのプログラムIDを示し、
(E)は管理処理手段35が変更依頼テーブル37を参
照するタイミングを示す。(F)は変更依頼テーブル3
7の変更依頼フラグF1が「1」になっている期間と、
変更先シーケンス項番Nに対応する部品処理プログラム
のプログラムIDとを示す。
FIG. 11 is a time chart showing a concrete change operation of the sequence processing. (A) is unchanged,
The execution period of each component processing program executed when the original sequence process is performed is shown, and (B) shows the execution period of each component processing program executed when the sequence process is changed. (C) shows the execution start timing of each component processing program, (D) shows the program ID of the component processing program corresponding to the sequence item number written in the pointer (D2) 34,
(E) shows the timing when the management processing means 35 refers to the change request table 37. (F) is change request table 3
The period in which the change request flag F1 of 7 is "1",
The program ID of the component processing program corresponding to the change destination sequence item number N is shown.

【0033】図11において、管理処理手段35は部品
処理プログラムを終了後、次の部品処理プログラムを実
行する前に(図6のステップS4の実行後)毎回、変更
依頼テーブル37を参照する。タイミング101の参照
時には、変更依頼テーブル37が図10で示すようにな
っている。すなわち、変更依頼フラグF1が「1」にな
っており、かつ同一シーケンス内変更フラグF3が
「1」になっているので、ポインタ(D2)34に書か
れているシーケンス項番6を、変更依頼テーブル37の
変更先シーケンス項番Nに書かれているシーケンス項番
7に書き換える(対応する部品処理プログラムのプログ
ラムIDで表すならば、P28をP24に書き換え
る)。その後は、テーブルID=1のシーケンステーブ
ルに従い、部品処理プログラムP24、P27が実行さ
れる。以上のシーケンス処理の変更経過は、図9におい
て破線91によって示される。なお、図10の変更依頼
テーブル37の変更先シーケンス項番Nに書かれている
シーケンス項番が、もし「0」であった場合には、シー
ケンス項番3の変更次処理項番1に従い、部品処理プロ
グラムP21が実行されることになる。
In FIG. 11, the management processing means 35 refers to the change request table 37 each time after the component processing program is finished and before the next component processing program is executed (after the execution of step S4 in FIG. 6). When referring to the timing 101, the change request table 37 is as shown in FIG. That is, since the change request flag F1 is "1" and the in-sequential change flag F3 is "1", the sequence item number 6 written in the pointer (D2) 34 is requested to be changed. It is rewritten to the sequence item number 7 written in the change destination sequence item number N of the table 37 (if it is represented by the program ID of the corresponding component processing program, P28 is rewritten to P24). After that, the component processing programs P24 and P27 are executed according to the sequence table of the table ID = 1. The change process of the above sequence processing is shown by a broken line 91 in FIG. If the sequence item number written in the change destination sequence item number N of the change request table 37 in FIG. 10 is “0”, according to the change next process item number 1 of the sequence item number 3, The parts processing program P21 will be executed.

【0034】上記の実施例では、シーケンステーブル2
が複数備えられている場合で説明したが、シーケンステ
ーブル2が1つだけの場合でもシーケンス処理の変更は
可能である。
In the above embodiment, the sequence table 2
Although the case where a plurality of sequence tables are provided has been described, the sequence processing can be changed even when the sequence table 2 is only one.

【0035】[0035]

【発明の効果】以上説明したように本発明では、変更依
頼処理手段によって、変更依頼テーブルにシーケンス処
理手順の変更指示が書き込まれたときには、管理処理手
段は、変更依頼テーブルを参照して、部品処理プログラ
ムを実行する。このため、シーケンス処理が動作中にシ
ーケンス処理プログラムを容易に変更することが可能と
なる。このようにシーケンス処理が容易に変更できるこ
とにより、シーケンス処理の柔軟性が増加し、処理プロ
グラムの開発の容易化、ターンアラウンドの高速化が可
能となる。また、資産として持っている部品処理プログ
ラムを全く変更することなく、シーケンス処理の変更を
することができ、処理プログラムの開発の効率化を図れ
る。
As described above, according to the present invention, when the change request processing unit writes a change instruction of the sequence processing procedure in the change request table, the management processing unit refers to the change request table and Execute the processing program. Therefore, the sequence processing program can be easily changed while the sequence processing is operating. Since the sequence processing can be easily changed in this way, the flexibility of the sequence processing is increased, the development of the processing program is facilitated, and the turnaround speed is increased. Further, the sequence processing can be changed without changing the component processing program held as an asset, and the efficiency of the development of the processing program can be improved.

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

【図1】本発明の原理を説明する図である。FIG. 1 is a diagram illustrating the principle of the present invention.

【図2】本発明の一実施例の装置が含まれるビル管理シ
ステムの概要を示すブロック図である。
FIG. 2 is a block diagram showing an outline of a building management system including a device according to an embodiment of the present invention.

【図3】TSCの内部構成を示すブロック図である。FIG. 3 is a block diagram showing an internal configuration of a TSC.

【図4】シーケンステーブルの内容を示す図である。FIG. 4 is a diagram showing the contents of a sequence table.

【図5】変更依頼テーブルの内部構成を示す図である。FIG. 5 is a diagram showing an internal structure of a change request table.

【図6】管理処理手段で実行されるシーケンス処理の手
順を示すフローチャートである。
FIG. 6 is a flowchart showing a procedure of sequence processing executed by a management processing means.

【図7】図6のステップS6で実行されるシーケンス変
更処理の詳細内容を示すフローチャートである。
FIG. 7 is a flowchart showing detailed contents of sequence changing processing executed in step S6 of FIG.

【図8】テーブルID=1のシーケンステーブルであ
る。
FIG. 8 is a sequence table of table ID = 1.

【図9】図8のシーケンステーブルをフローチャートと
して示した図である。
9 is a diagram showing the sequence table of FIG. 8 as a flowchart.

【図10】変更依頼テーブルの具体的な数値例を示す図
である。
FIG. 10 is a diagram showing a specific numerical example of a change request table.

【図11】シーケンス処理の具体的な変更動作を示すタ
イムチャートである。
FIG. 11 is a time chart showing a specific change operation of sequence processing.

【符号の説明】[Explanation of symbols]

1 部品処理プログラム 2 シーケンステーブル 3 変更依頼テーブル 4 変更依頼処理手段 5 管理処理手段 1 parts processing program 2 sequence table 3 change request table 4 change request processing means 5 management processing means

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 部品化された複数の部品処理プログラム
(1)を具備し、前記部品処理プログラム(1)の実行
順序を記載したシーケンステーブル(2)に従い部品処
理プログラムを実行する監視制御システムのシーケンス
処理方式において、 シーケンス処理手順の変更指示を変更依頼テーブル
(3)に書き込む変更依頼処理手段(4)と、 前記変更依頼処理手段(4)によって変更指示が書き込
まれた変更依頼テーブル(3)を参照し、部品処理プロ
グラムを実行する管理処理手段(5)と、 を有することを特徴とする監視制御システムのシーケン
ス処理方式。
1. A supervisory control system comprising a plurality of component processing programs (1) which are componentized, and which executes a component processing program according to a sequence table (2) in which an execution order of the component processing program (1) is described. In the sequence processing method, a change request processing unit (4) for writing a change instruction of a sequence processing procedure in a change request table (3), and a change request table (3) in which the change instruction is written by the change request processing unit (4). And a management processing means (5) for executing a component processing program, and a sequence processing method of a supervisory control system.
【請求項2】 前記管理処理手段(5)は、前記変更依
頼テーブル(3)に書き込まれた変更指示に従い、前記
シーケンステーブル(2)に予め記載された変更時に実
行されるべき部品処理プログラム名を読み出し、前記プ
ログラム名に対応する部品処理プログラムを実行するこ
とを特徴とする請求項1記載の監視制御システムのシー
ケンス処理方式。
2. The component processing program name to be executed by the management processing means (5) according to a change instruction written in the change request table (3), which is previously described in the sequence table (2). 2. The sequence processing method of the supervisory control system according to claim 1, wherein the component processing program corresponding to the program name is read out.
【請求項3】 前記変更依頼処理手段(4)は、前記変
更依頼テーブル(3)に変更先部品処理プログラム名を
書き込み、前記管理処理手段(5)は、前記変更依頼テ
ーブル(3)に書き込まれた変更先部品処理プログラム
名に対応する部品処理プログラムを実行することを特徴
とする請求項1記載の監視制御システムのシーケンス処
理方式。
3. The change request processing means (4) writes a change destination part processing program name in the change request table (3), and the management processing means (5) writes in the change request table (3). 2. The sequence processing method of the supervisory control system according to claim 1, wherein a component processing program corresponding to the changed target component processing program name is executed.
【請求項4】 前記シーケンステーブル(2)には、今
回実行した部品処理プログラムの次に実行されるべき次
回部品処理プログラム名が記載されることを特徴とする
請求項1記載の監視制御システムのシーケンス処理方
式。
4. The supervisory control system according to claim 1, wherein the sequence table (2) contains a name of a next component processing program to be executed next to the component processing program executed this time. Sequence processing method.
【請求項5】 前記シーケンステーブル(2)は、前記
部品処理プログラム(1)の異なる実行順序がそれぞれ
記載された複数のシーケンステーブルから成り、前記変
更依頼処理手段(4)は、前記変更依頼テーブル(3)
に変更先シーケンステーブル名を書き込み、前記管理処
理手段(5)は、前記変更依頼テーブル(3)に書き込
まれた変更先シーケンステーブル名に対応するシーケン
ステーブルに記載された部品処理プログラムの実行順序
に従い、部品処理プログラムを実行することを特徴とす
る請求項1記載の監視制御システムのシーケンス処理方
式。
5. The sequence table (2) comprises a plurality of sequence tables in which different execution orders of the component processing program (1) are described, and the change request processing means (4) includes the change request table. (3)
The change destination sequence table name is written in the, and the management processing means (5) follows the execution sequence of the component processing programs described in the sequence table corresponding to the change destination sequence table name written in the change request table (3). The sequence processing method of the supervisory control system according to claim 1, wherein the component processing program is executed.
【請求項6】 シーケンス処理が行われる監視制御シス
テムにおいて、 部品化された複数の部品処理プログラム(1)と、 前記部品処理プログラム(1)の実行順序が記載された
シーケンステーブル(2)と、 変更依頼テーブル(3)と、 前記変更依頼テーブル(3)にシーケンス処理手順の変
更指示を書き込む変更依頼処理手段(4)と、 前記変更依頼処理手段(4)が書き込んだ変更依頼テー
ブル(3)を参照し、前記シーケンステーブル(2)に
従い部品処理プログラムを実行する管理処理手段(5)
と、 を有することを特徴とする監視制御システム。
6. In a supervisory control system for performing sequence processing, a plurality of component processing programs (1) which are made into components, and a sequence table (2) in which an execution order of the component processing programs (1) is described, A change request table (3), a change request processing unit (4) for writing a change instruction of a sequence processing procedure to the change request table (3), and a change request table (3) written by the change request processing unit (4). And a management processing means (5) for executing the component processing program according to the sequence table (2).
And a monitor and control system.
【請求項7】 前記監視制御システムは、MCS(メイ
ン・コントロール・ステーション)、MMS(マン・マ
シーン・ステーション)およびTSC(ターミナル・ス
テーション・コントローラ)を含むビル管理システムの
内の前記TSCであることを特徴とする請求項6記載の
監視制御システム。
7. The supervisory control system is the TSC of a building management system including an MCS (main control station), an MMS (man machine station) and a TSC (terminal station controller). 7. The supervisory control system according to claim 6.
【請求項8】 前記監視制御システムは、ビル内の少な
くとも電力設備、空調設備および防災設備の内の一つを
監視することを特徴とする請求項6記載の監視制御シス
テム。
8. The supervisory control system according to claim 6, wherein the supervisory control system monitors at least one of a power facility, an air conditioning facility and a disaster prevention facility in the building.
JP4055625A 1992-03-13 1992-03-13 Supervisory control system and its sequence processing method Expired - Fee Related JP3017352B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4055625A JP3017352B2 (en) 1992-03-13 1992-03-13 Supervisory control system and its sequence processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4055625A JP3017352B2 (en) 1992-03-13 1992-03-13 Supervisory control system and its sequence processing method

Publications (2)

Publication Number Publication Date
JPH05258195A true JPH05258195A (en) 1993-10-08
JP3017352B2 JP3017352B2 (en) 2000-03-06

Family

ID=13003965

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4055625A Expired - Fee Related JP3017352B2 (en) 1992-03-13 1992-03-13 Supervisory control system and its sequence processing method

Country Status (1)

Country Link
JP (1) JP3017352B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07121363A (en) * 1993-10-28 1995-05-12 Nec Corp Program execution system by data base drive

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW381996B (en) 1997-10-21 2000-02-11 Delta Tooling Co Ltd Cushion and seat having a net-shaped skin

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07121363A (en) * 1993-10-28 1995-05-12 Nec Corp Program execution system by data base drive

Also Published As

Publication number Publication date
JP3017352B2 (en) 2000-03-06

Similar Documents

Publication Publication Date Title
US5974346A (en) Method for controlling technical processes
EP0171435B1 (en) Numerical control method
US4825352A (en) Process control system and method thereof
JPS6134605A (en) Controlling system of programmable controller
JPH05258195A (en) Supervisory and controlling system and its sequence processing system
JPH0766286B2 (en) Processing method of NC device
US20040138774A1 (en) Numerical controller
US4907190A (en) Computer control system and method for effecting sequence controls and servo-controls
JP2003153442A (en) Monitor and control system and program for electric power distribution equipment
EP0256149B1 (en) Computer system
JPS58182709A (en) Robot control method with program editing and transfer function
JPH056213A (en) Method and device for controlling industrial robot
JP3341064B2 (en) Control program creation device
JPH0331909A (en) System for executing nc data
WO1990007739A1 (en) Control method for robot
JP2513142B2 (en) Program simulator device
JPH06337796A (en) Priority access controller
JPH07168881A (en) Work control system
JPH07163052A (en) Support system for power maintenance operation procedure table
JPS6210740A (en) Interruption processing control system
CA1259417A (en) Computer systems suitable for effecting sequence controls and servo-controls
JPH0410799A (en) Monitor and control method
JPH0619518A (en) Program calling system
JPH1195825A (en) Method for executing numerical control program
JPH02306302A (en) Computer simulation device by multi-task

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19991214

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

Free format text: PAYMENT UNTIL: 20071224

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20081224

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20091224

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20091224

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20101224

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees