JP3494215B2 - Program control unit - Google Patents
Program control unitInfo
- Publication number
- JP3494215B2 JP3494215B2 JP2000189181A JP2000189181A JP3494215B2 JP 3494215 B2 JP3494215 B2 JP 3494215B2 JP 2000189181 A JP2000189181 A JP 2000189181A JP 2000189181 A JP2000189181 A JP 2000189181A JP 3494215 B2 JP3494215 B2 JP 3494215B2
- Authority
- JP
- Japan
- Prior art keywords
- processing
- output
- process information
- transition
- pattern
- 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
Links
Landscapes
- Programmable Controllers (AREA)
Description
【0001】[0001]
【発明の属する技術分野】本発明は、工程歩進形処理装
置における各工程の稼働状態を明確に捉えながらその稼
働形態を的確に制御することができ、シーケンサ等に対
するプログラミングに好適なプログラム制御装置に関す
る。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a program control device suitable for programming a sequencer or the like, which can precisely control the operating state of each step in a step-by-step processing apparatus while clearly grasping the operating state. Regarding
【0002】[0002]
【関連する背景技術】各種の生産工場や発電所、水処理
場においては、工程歩進形の処理装置が多用されてい
る。例えば水処理設備における純水製造装置も工程歩進
形の処理装置であり、採水処理においては「停止」,
「循環」,「採水」,「沈静」等からなる処理工程を順に
実行する如く構成される。ちなみに上記各処理工程は、
一連した処理を自動化し易いように、また処理装置の動
作形態をそれぞれ明確に把握し得るように区分けされて
管理される。そしてシーケンサを用いる等して各工程区
分毎にその処理動作が制御される。2. Related Background Art In various production plants, power plants, and water treatment plants, step-by-step type treatment devices are frequently used. For example, the deionized water production equipment in water treatment equipment is also a step-by-step type treatment equipment, and in water sampling treatment, "stop",
It is configured to sequentially execute processing steps such as “circulation”, “water sampling”, and “calming”. By the way, the above processing steps are
The processes are divided and managed so that a series of processes can be easily automated and the operation mode of the processing device can be clearly understood. Then, the processing operation is controlled for each process division by using a sequencer or the like.
【0003】ところで上述した工程歩進形処理装置の制
御装置(例えばシーケンサによる処理手順)を構築する
場合、一般的にはその前準備として、例えば図6に示す
ようなプログラムチャートを用いて工程歩進規則と、各
工程における装置の稼働内容を記述している。そしてプ
ログラムチャートに記述した内容の正当性を机上にて確
認した後、その制御装置であるシーケンサに対してプロ
グラミングするようにしている。By the way, in the case of constructing a control device (for example, a processing procedure by a sequencer) of the above-mentioned process step type processing device, generally, as a pre-preparation, for example, a process chart using a program chart as shown in FIG. 6 is used. It describes the rules of progression and the operation contents of the device in each process. Then, after confirming the validity of the contents described in the program chart on the desk, programming is performed for the sequencer which is the control device.
【0004】[0004]
【発明が解決しようとする課題】しかしながらシーケン
サにおいては、その工程歩進規則と処理装置に対する制
御出力の内容とを、いわゆるラダー図等の専用のソフト
ウェア言語を用いて記述するので専門的な技術を必要と
する上、そのプログラミングに相当な時間と労力とが必
要となる。しかも処理装置を改造したり、その処理形態
を変更するような場合には、プログラミング編集ツール
を用いてシーケンサによる制御の形態を修正することが
必要である。この為、設計変更に迅速に対処することが
困難である等の不具合がある。However, in the sequencer, since the process step rule and the contents of the control output to the processing device are described by using a dedicated software language such as a so-called ladder diagram, a specialized technique is required. Besides, it requires a considerable amount of time and effort to program it. In addition, when the processing device is modified or the processing form is changed, it is necessary to modify the form of control by the sequencer using a programming editing tool. Therefore, there is a problem that it is difficult to promptly deal with the design change.
【0005】これに対して特公平1−19170号公報
には、プログラムチャートの内容をそのままの形態で入
力することにより、シーケンサに対するプログラムを実
行する手法が開示されている。しかしながらこの手法に
あっては、シーケンサの出力端子毎にその制御出力のパ
ターンを記述する必要があるので、その制御対象が大規
模なシステムを構成するような場合には相当の困難を伴
うことが否めない。しかもプログラムチャート自体が煩
雑であり、その内容の理解を困難化する要因となってい
る。On the other hand, Japanese Patent Publication No. 1-19170 discloses a method of executing a program for a sequencer by inputting the contents of the program chart as it is. However, in this method, it is necessary to describe the pattern of the control output for each output terminal of the sequencer, which may cause considerable difficulty when the controlled object constitutes a large-scale system. can not deny. Moreover, the program chart itself is complicated, which makes it difficult to understand its contents.
【0006】本発明はこのような事情を考慮してなされ
たもので、その目的は、シーケンサ用のソフトウェア言
語によるプログラム記述量を減らすと共に、その制御内
容の編集の容易化を図ることができ、工程歩進形処理装
置の制御に用いるに好適な取り扱い性に優れたプログラ
ム制御装置を提供することにある。The present invention has been made in consideration of such circumstances, and an object thereof is to reduce the amount of program description in a software language for a sequencer and to facilitate the editing of its control contents. It is an object of the present invention to provide a program control device having excellent handleability, which is suitable for use in controlling a step process type processing device.
【0007】[0007]
【課題を解決するための手段】上述した目的を達成する
べく本発明に係るプログラム制御装置は、複数の処理工
程を順に実行する工程歩進形処理装置の動作を制御する
シーケンサ等をプログラムするに好適なものであって、
前記各処理工程における1つまたは複数の機器の稼働形
態、具体的には工程歩進形処理装置を構成する開閉弁や
ポンプ等の機器(補機)に対してシーケンサから出力す
べき制御信号を予めパターン化して各処理工程毎に記憶
した出力パターンテーブルと、前記各処理工程毎に、次
に実行すべき処理工程を特定する工程移行先の情報とそ
の工程移行条件(次の処理工程に遷移する上での機器の
稼働状態を特定する条件)をそれぞれ記憶した遷移条件
テーブルと、前記各処理工程を特定する工程情報(工程
番号等)を記憶する工程情報メモリとを備える。In order to achieve the above-mentioned object, a program control apparatus according to the present invention is used for programming a sequencer or the like for controlling the operation of a step step type processing apparatus that sequentially executes a plurality of processing steps. Suitable one,
A control signal to be output from the sequencer to the operating mode of one or more devices in each of the processing steps, specifically, to the devices (auxiliaries) such as the open / close valves and pumps that configure the step-step processing device. An output pattern table that has been patterned in advance and stored for each processing step, information on the step transfer destination that specifies the processing step to be executed next for each processing step, and the step transfer conditions (transition to the next processing step) A transition condition table storing conditions for identifying the operating state of the equipment), and a process information memory storing process information (process number, etc.) identifying each processing process.
【0008】 そして工程遷移プロセスにおいては、外
部から与えられる情報を前記各機器の稼働状態に応じた
データ列からなる入力パターンに変換する入力プロセス
と、上記工程情報メモリに記憶された工程情報に従って
前記遷移条件テーブルから該当する処理工程の工程移行
先と工程移行条件とを求めると共に、該当する処理工程
における1つまたは複数の機器の稼働状態を示す前記入
力パターンと上記工程移行条件とを照合し、その照合結
果に応じて前記工程情報メモリに記憶する工程情報を更
新し、一方、パターン出力プロセスにおいては、前記工
程情報メモリに記憶された工程情報に従って前記出力パ
ターンテーブルから該当する処理工程の出力パターンを
求め、更に出力プロセスにおいては上記パターン出力プ
ロセスから求められる出力パターンに従って前記工程歩
進形処理装置に対する出力信号(制御出力)を生成する
ようにしたことを特徴としている。[0008] Then, in the step transition process, the outer
The information given by the department depends on the operating status of each device.
Input process to convert to input pattern consisting of data string
According to the process information stored in the process information memory, the process transition destination and the process transition condition of the corresponding process process are obtained from the transition condition table, and the operating state of one or more devices in the corresponding process process is determined. the match input <br/> force pattern and the step transition condition, updates the process information stored in the process information memory in accordance with the comparison result, whereas, in the pattern output process, the process information memory shown The output pattern of the corresponding processing step is obtained from the output pattern table according to the step information stored in the step pattern, and in the output process, the output signal (control output ) Is generated.
【0009】 好ましくは本発明に係るプログラム制御
装置は、請求項1に記載するように前記出力パターンテ
ーブルおよび前記遷移条件テーブルについては、所定の
操作機器を介してその内容を編集可能に設けることが好
ましい。尚、請求項3に記載するように前記工程情報メ
モリには、最初の処理工程を特定する工程情報が初期設
定される。即ち、本発明に係るプログラム制御装置は、
予め各処理工程における1つまたは複数の機器の稼働形
態(シーケンサから出力すべき制御信号)をパターン化
して記憶した出力パターンテーブルから、工程情報メモ
リに記憶された処理工程を特定する工程情報に従って当
該処理工程において出力すべき制御信号を求める。一
方、前記工程情報メモリに記憶された工程情報に従っ
て、予め処理工程毎にその次に実行すべき処理工程とそ
の工程移行条件とを記述した遷移条件テーブルを参照し
て、その処理工程における工程歩進形処理装置の稼働状
態とに応じて次に実行すべき処理工程をその移行先とし
て求めて前記工程情報メモリを書き換えることで、前述
した出力パターンテーブルから次の処理工程において出
力すべき制御信号を求めるようにしたことを特徴として
いる。[0009] Preferably the program control device according to the present invention, for the pre-SL output pattern table and the transition condition table as described in claim 1, providing editable its contents via a predetermined operating device Is preferred. As described in claim 3 , the process information memory is initially set with process information for specifying the first processing process. That is, the program control device according to the present invention is
According to the process information for specifying the process step stored in the process information memory from the output pattern table in which the operating mode (control signal to be output from the sequencer) of one or more devices in each process step is patterned and stored in advance. A control signal to be output in the processing step is obtained. On the other hand, according to the process information stored in the process information memory, a transition condition table that describes in advance a processing process to be executed next for each processing process and its process transition condition is referred to, and the process steps in the processing process are referred to. A control signal to be output in the next process step from the output pattern table described above by rewriting the process information memory by obtaining the process step to be executed next as the transfer destination according to the operating state of the progressive processing apparatus. It is characterized by having to seek.
【0010】[0010]
【発明の実施の形態】以下、図面を参照して本発明の一
実施形態に係るプログラム制御装置について説明する。
図1はこの実施形態に係るプログラム制御装置の概略構
成図で、1はプログラム制御装置による制御対象として
の工程歩進形処理装置である。この工程歩進形処理装置
1は、例えば「排泥ポンプ」,「消泡剤注入ポンプ」,
「バイオ循環ポンプ」,「汚泥排出弁」,「硫酸注入
弁」,「苛性ソーダ注入弁」,「オゾン発生器」,「バイ
オ運転」等の制御対象機器(補機)を備えた水処理装置
からなる。そしてこの水処理装置(工程歩進形処理装
置)1は、例えば「準備」,「受入」,「反応」,「PH
調整」,「PHCH」,「消泡注入」,「消泡」,「排出」
等の一連の処理工程を順に実行する如く構成される。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A program control device according to an embodiment of the present invention will be described below with reference to the drawings.
FIG. 1 is a schematic configuration diagram of a program control device according to this embodiment, and 1 is a step process type processing device as a control target by the program control device. This process step type processing apparatus 1 is, for example, a "sludge pump", a "defoaming agent injection pump",
From a water treatment device equipped with control target equipment (auxiliary equipment) such as "bio circulation pump", "sludge discharge valve", "sulfuric acid injection valve", "caustic soda injection valve", "ozone generator", "bio operation" Become. This water treatment device (process stepwise treatment device) 1 is, for example, “preparation”, “reception”, “reaction”, “PH”.
"Adjustment", "PHCH", "Defoaming injection", "Defoaming", "Discharging"
It is configured to sequentially execute a series of processing steps such as.
【0011】 しかして上述した水処理装置(工程歩進
形処理装置)1の作動を制御するプログラム制御装置
は、概略的にはその本体である制御ユニット2と、パー
ソナルコンピュータ(PC)等からなる編集部3、およ
びタッチ操作パネル等の入出力部4を備えて構成され
る。制御ユニット2は、図2にその構成を示すように前
記水処理装置1において歩進的に順に実行される複数の
処理工程をそれぞれ特定する工程番号(工程情報)を記
憶する工程番号メモリ21を備えると共に、各処理工程
における前記水処理装置1の稼働形態、具体的には水処
理装置1の前述した制御対象機器に対してそれぞれ出力
すべき複数の制御信号を予めパターン化して記述した出
力パターンテーブル22を備える。更に制御ユニット2
は、各処理工程の次に実行するべき処理工程を特定する
工程移行先の情報と、その移行条件とを記述した遷移条
件テーブル23を備える。この遷移条件テーブル23に
記述される工程移行条件は、その処理工程における前記
水処理装置1の稼働状態、具体的には水処理装置1の前
述した制御対象機器の作動状態をそれぞれ示す複数の状
態信号(センシング信号)を予めパターン化する等して
与えられる。[0011] Thus a program control equipment which controls the operation of the above-described water treatment device (step progression type processing apparatus) 1
Is configured to include a control unit 2 which is its main body, an editing unit 3 including a personal computer (PC) and an input / output unit 4 such as a touch operation panel. The control unit 2 has a process number memory 21 for storing process numbers (process information) for specifying a plurality of treatment processes which are sequentially executed in the water treatment device 1 as shown in FIG. An operation pattern of the water treatment apparatus 1 in each treatment step, specifically, an output pattern in which a plurality of control signals to be output to the above-described controlled equipment of the water treatment apparatus 1 are patterned and described in advance. A table 22 is provided. Further control unit 2
Includes a transition condition table 23 in which information of a process transfer destination that specifies a processing process to be executed next to each processing process and its transfer condition are described. The process transition conditions described in the transition condition table 23 are a plurality of states that respectively indicate the operating state of the water treatment device 1 in the treatment process, specifically, the operating state of the control target equipment of the water treatment device 1 described above. The signal (sensing signal) is given by patterning it in advance.
【0012】このようなデータ用メモリ(工程番号メモ
リ21,出力パターンテーブル22,遷移条件テーブル2
3)に加えて、前記制御ユニット2は所定の処理機能を
実行するプログラムを記述したプログラムメモリを備え
る。このプログラムにより実行される処理機能は、前記
工程番号メモリ21に記憶された工程番号に従って前記
出力パターンテーブル22から該当する処理工程の出力
パターンを求めるパターン出力プロセス24と、この出
力パターンに従って前記水処理装置1の1つまたは複数
の制御対象機器に対して出力すべき複数の制御信号を生
成する出力プロセス25を有する。Such a data memory (process number memory 21, output pattern table 22, transition condition table 2)
In addition to 3), the control unit 2 includes a program memory in which a program for executing a predetermined processing function is described. The processing function executed by this program is a pattern output process 24 for obtaining the output pattern of the corresponding processing step from the output pattern table 22 according to the step number stored in the step number memory 21, and the water treatment according to this output pattern. It has an output process 25 for generating a plurality of control signals to be output to one or more controlled devices of the device 1.
【0013】 また上記プログラムにより実行される別
の処理機能は、前記工程番号メモリ21に記憶された工
程番号に従って前記工程遷移テーブル23から前述した
工程移行先の情報とその移行条件を求め、水処理装置1
における制御対象機器の作動状態をそれぞれ示す複数の
状態信号(センシング信号)と上記移行条件とを照合し
て該水処理装置1における処理工程を次に進めるか否か
を判定する工程遷移プロセス26からなる。そしてこの
工程遷移プロセス26においては、次の処理工程に移行
する条件が整ったとき、上記工程移行先の情報にて前記
工程番号メモリ21に記憶された内容を書き換えること
で、その処理工程を次に進めるものとなっている。Another processing function executed by the above program is to obtain the above-mentioned process transfer destination information and its transfer condition from the process transition table 23 in accordance with the process number stored in the process number memory 21, and perform the water treatment. Device 1
From the process transition process 26 that determines whether or not to advance the treatment process in the water treatment device 1 by collating a plurality of state signals (sensing signals) each indicating the operating state of the control target device with the above transition condition. Become. Then, in the process transition process 26, when the condition to move to the next processing process is satisfied, the contents stored in the process number memory 21 are rewritten with the information of the process transfer destination, so that the next processing process is performed. It is supposed to proceed to.
【0014】 尚、前記工程遷移プロセス26に与える
制御対象機器の作動状態状態信号(センシング信号)に
ついては、外部入力プロセス27を用いて前述した遷移
条件テーブル23にパターン化して記述された状態信号
(センシング信号)の入力パターンに変換して取り込む
ことが望ましい。また前述した出力パターンテーブル2
2および遷移条件テーブル23に記述する出力パターン
や入力パターンについては、編集プロセス28を起動す
ることで入出力部(タッチ操作パネル)4から与えられ
た情報に従って適宜変更(修正)し得るように構成する
ことが望ましい。As for the operation state signal (sensing signal) of the controlled device given to the process transition process 26, the state signal (patterned and described in the transition condition table 23 described above using the external input process 27 ( It is desirable to convert it into an input pattern of the sensing signal and capture it. Also, the output pattern table 2 described above
The output pattern and an input pattern that describes the 2 and transition condition table 23, Re et supplied from the input-output unit (touch operation panel) 4 by starting the editing process 28
It is desirable to configure to be able to appropriately modify (modification) according to the information.
【0015】 ここで上述した制御ユニット2において
実行される歩進形の処理工程に対するプログラム制御の
処理手順について説明する。前記工程番号メモリ21に
は、先ず歩進形の処理工程において最初に実行すべき処
理工程を特定する工程番号、具体的には「待機」モード
を指定する工程番号が初期設定される。すると図3に工
程遷移プロセス26の概略的な処理手順を示すように、
該工程遷移プロセス26においては先ず工程番号メモリ
21から、そこに記憶されている工程番号「01;待
機」を読み出す[ステップS1]。そしてこの工程番号
に従って遷移条件テーブル23を検索し、該工程番号に
より特定される項目に予め記述されている工程移行先
(この処理工程の次に実行すべき処理工程を特定する情
報;次の工程番号)Tを求めると共に、その処理工程に
移行するための工程移行条件を求める[ステップS
2]。この工程移行条件は、該水処理装置(工程歩進形
処理装置)1における制御対象機器が、当該処理工程に
おいて取り得るべく状態を特定するもので、制御対象機
器の状態を特定する信号状態Dと、〈AND〉や〈O
R〉等の論理式によって示される移行条件式Jとからな
る。尚、上記信号状態Dや後述する制御対象機器の実際
の入力状態DNは、そのオン/オフ状態を示す[1/
0]のデータ、または[1/0]のデータ列(パター
ン)として与えられる。A program control processing procedure for the stepwise processing steps executed in the control unit 2 will be described. The step number memory 21 is initially set with a step number that specifies the processing step to be executed first in the stepwise processing step, specifically, a step number that specifies the "standby" mode. Then, as shown in FIG. 3 as a schematic processing procedure of the process transition process 26,
In the process transition process 26 , first, the process number "01;standby" stored therein is read from the process number memory 21 [step S1]. Then, the transition condition table 23 is searched according to this process number, and the process migration destination described in advance in the item specified by the process number (information specifying the processing process to be executed next to this processing process; the next process) No.) T and process transition conditions for transition to the processing process [step S
2]. This process transition condition specifies the state that the controlled object device in the water treatment device (process stepwise treatment device) 1 can take in the treatment process, and the signal state D that specifies the state of the controlled device. And <AND> and <O
R> and other transitional conditional expressions J represented by logical expressions. The signal state D and the actual input state DN of the control target device described later indicate its on / off state [1 /
It is given as data of 0] or a data string (pattern) of [1/0].
【0016】 ちなみに移行条件式Jが〈AND〉の場
合には、水処理装置(工程歩進形処理装置)1から求め
られる制御対象機器の複数の状態のそれぞれが上記信号
状態Dであることを以て、その移行条件が特定されるこ
とになる。また移行条件式Jが〈OR〉の場合には、水
処理装置(工程歩進形処理装置)1から求められる制御
対象機器の複数の状態のいずれかが、上記信号状態Dを
満たすことによってその移行条件が特定される。By the way, when the transitional conditional expression J is <AND>, it means that each of the plurality of states of the control target equipment obtained from the water treatment device (process stepwise treatment device) 1 is the signal state D. , The transition condition will be specified. When the transition condition expression J is <OR>, one of the plurality of states of the control target device obtained from the water treatment device (process stepwise treatment device) 1 satisfies the signal state D, and Transition conditions are specified.
【0017】 そこで工程遷移プロセス26において
は、次に上記条件式が〈AND〉であるか否かを判定し
[ステップS3]、〈AND〉である場合には水処理装
置(工程歩進形処理装置)1から、そのときの制御対象
機器の複数の入力状態DNを求める。そしてこれらの入
力状態DNと信号状態Dとをそれぞれ〈AND〉処理
し、更にこの〈AND〉処理結果DN1を上記状態Dか
ら差し引くことで工程移行条件Dが成立しているか否か
を判断するためのデータDN2を求めている[ステップ
S4]。そして上記データDN2が〈0〉であるか否か
(DN2=0?)を判定することで、その工程移行条件
が成立しているか否かを判定するものとなっている[ス
テップS5]。Therefore, in the process transition process 26, it is next determined whether or not the conditional expression is <AND> [step S3], and if it is <AND>, the water treatment device (process stepwise process) is performed. From the device 1), a plurality of input states DN of the controlled device at that time are obtained. And these input <br/> force state DN and the signal state D respectively <the AND> process, further the <the AND> processing result step transition condition D to DN1 by subtracting the state D or <br/> et al Data DN2 for determining whether or not is satisfied is obtained [step S4]. Then, by determining whether or not the data DN2 is <0> (DN2 = 0?), It is determined whether or not the process transition condition is satisfied [step S5].
【0018】 また逆に上記条件式が〈AND〉でない
場合には、工程遷移プロセス26においては水処理装置
(工程歩進形処理装置)1から求められる制御対象機器
の入力状態DNと信号状態Dとの一致を求め〈XNO
R〉、この〈XNOR〉処理結果DN1をそのまま工程
移行条件が成立しているか否かを判断するためのデータ
DN2とする[ステップS6]。そして上記データDN
2(=DN1)が〈0〉でないか否か(DN2≠0?)
を判定することで、その工程移行条件が成立しているか
否かを判定するものとなっている[ステップS7]。On the contrary, when the conditional expression is not <AND>, in the process transition process 26, the input state DN and the signal state D of the control target device obtained from the water treatment device (process stepwise treatment device) 1 are obtained. <XNO
R> , this < XNOR > processing result DN1 is directly used as data DN2 for determining whether or not the process transition condition is satisfied [step S6]. And the above data DN
Whether 2 (= DN1) is not <0> (DN2 ≠ 0?)
By determining the above, it is determined whether or not the process transition condition is satisfied [step S7].
【0019】そして上述した如く工程移行条件が成立し
たことが判定された場合には、前述した如く求められた
工程移行先Tを用いて前述した工程番号メモリ21の内
容を書き換えて[ステップS8]、その処理を終了す
る。尚、上記工程移行条件が成立しなかった場合には、
水処理装置(工程歩進形処理装置)1がその処理工程を
実行していない、或いは次の工程に移行すべく稼働状態
に至っていないと判定されて、工程番号メモリ21の内
容を書き換えることなくその処理を終了する。そして再
度、前記工程番号メモリ21からの工程番号の読み出し
からの処理を繰り返し実行する。When it is determined that the process transition condition is satisfied as described above, the content of the process number memory 21 is rewritten using the process transition destination T obtained as described above [step S8]. , The process ends. If the above process transition condition is not satisfied,
It is determined that the water treatment device (process stepwise treatment device) 1 is not executing the treatment process or has not reached the operating state to move to the next process, and the contents of the process number memory 21 are not rewritten. The process ends. Then, the process from the reading of the process number from the process number memory 21 is repeated again.
【0020】一方、パターン出力プロセス24は、図4
にその概略的な処理手順を示すように前記工程番号メモ
リ21から工程番号を読み出す[ステップS11]。そ
してその工程番号に従って出力パターンテーブル22を
検索し、該出力パターンテーブル22から該当する出力
パターンを読み出す[ステップS12]。この出力パタ
ーンは前述したように、その処理工程において前記水処
理装置(工程歩進形処理装置)1における制御対象機器
の稼働形態をそれぞれ特定する情報からなる。このよう
な出力パターンに基づいて、前記水処理装置1に対して
与えるべく出力信号(制御信号)を生成し、前述した出
力プロセス25を介して出力する[ステップS13]。On the other hand, the pattern output process 24 is as shown in FIG.
Then, the process number is read from the process number memory 21 as shown in the schematic processing procedure [step S11]. Then, the output pattern table 22 is searched according to the process number, and the corresponding output pattern is read from the output pattern table 22 [step S12]. As described above, this output pattern is made up of information that specifies the operating mode of each device to be controlled in the water treatment device (process stepwise treatment device) 1 in the treatment process. Based on such an output pattern, an output signal (control signal) is generated to be given to the water treatment device 1, and is output through the above-mentioned output process 25 [step S13].
【0021】即ち、パターン出力プロセス24において
は、予め出力パターンテーブル22に記述された各処理
工程毎のパターン化された稼働形態の情報を、工程番号
メモリ21に書き込まれた工程番号に従って選択的に読
み出している。そしてこの稼働形態の情報に従って水処
理装置1に与えるべき制御信号を生成することで、その
処理工程において作動させるべく制御対象機器のオン/
オフを制御するものとなっている。That is, in the pattern output process 24, the information of the patterned operating mode for each processing step described in the output pattern table 22 in advance is selectively selected according to the process number written in the process number memory 21. It is reading. Then, by generating a control signal to be given to the water treatment device 1 in accordance with the information on the operating mode, the control target device is turned on / off to operate in the treatment process.
It is supposed to control off.
【0022】 かくして上述した如く構成されたプログ
ラム制御装置によれば、水処理装置(工程歩進形処理装
置)1において歩進的に実行される複数の処理工程での
稼働形態(どの機器を起動し、また停止させるかの情
報)が予め出力パターンテーブル22にプログラミング
されており、工程番号メモリ21に書き込んだ工程番号
に従って上記出力パターンテーブル22からその工程に
必要な制御信号を得る上の出力パターンを求めるので、
水処理装置(工程歩進形処理装置)1の作動を確実に制
御することができる。しかも工程番号に従って遷移条件
テーブル23を検索して次工程への遷移条件を求め、現
在の処理工程における稼働状態がその工程遷移条件を満
たすか否かを判定しながら上記工程番号をその移行先の
工程へと進めて工程番号メモリ21の内容を書き換える
ので、複数の処理工程を順次歩進的に確実に実行するこ
とができる。Thus, according to the program control device configured as described above, the operation mode (which device is started up in a plurality of treatment processes stepwise executed in the water treatment device (process stepwise treatment device) 1) Information on whether or not to stop) is programmed in the output pattern table 22 in advance, and an output pattern for obtaining a control signal required for the process from the output pattern table 22 according to the process number written in the process number memory 21. So that
It is possible to reliably control the operation of the water treatment device (process step type treatment device) 1. Moreover, the transition condition according to the process number
The table 23 is searched to find the transition condition to the next process , and while advancing the process number to the process of the transfer destination while judging whether or not the operating state of the current processing process satisfies the process transition condition, Since the contents of the number memory 21 are rewritten, a plurality of processing steps can be sequentially and surely executed step by step.
【0023】また上述した構成であれば、各処理工程に
おける水処理装置(工程歩進形処理装置)1に対する制
御の形態を、前述したように[1/0]のデータ列(パ
ターン)として記述するだけでよいので、そのプログラ
ム記述量が少なくて良い。特に従来より汎用的に用いら
れているラダー方式のプログラム記述形態に比較して、
そのデータ量を大幅に削減することができる。しかもそ
の修正についても出力パターン中の該当個所を[1/
0]のデータとして変更するだけで良いので、その処理
が容易である。Further, with the above-mentioned configuration, the control mode for the water treatment device (process stepwise treatment device) 1 in each treatment process is described as a data string (pattern) of [1/0] as described above. Since it is only necessary to do so, the program description amount can be small. In particular, compared to the ladder type program description form that has been widely used in the past,
The amount of data can be significantly reduced. Moreover, regarding the correction, the corresponding part in the output pattern is [1 /
0], it is only necessary to change the data, and the processing is easy.
【0024】更には水処理装置(工程歩進形処理装置)
1から得られる状態信号(センシング信号)について
も、外部入力プロセス27を介して[1/0]のデータ
列(パターン)として変換して取り扱うことで、その処
理の容易化を図り得る等の利点が奏せられる。尚、状態
信号や制御信号のパターン化については、例えば図6に
示すプログラムチャート上における各機器に対応した項
目を、例えばその作動状態において[1]、停止(非作
動)状態において[0]なるデータ(情報)を与え、こ
れらの[1/0]データをその列方向に並ぶデータ列と
してパターン化するようにすれば良い。Further, a water treatment device (process step type treatment device)
The status signal (sensing signal) obtained from 1 is also converted into a data string (pattern) of [1/0] through the external input process 27 and handled, thereby facilitating the processing. Is played. Regarding the patterning of the status signal and the control signal, for example, the item corresponding to each device on the program chart shown in FIG. 6 becomes [1] in the operating state and [0] in the stopped (non-operating) state. Data (information) may be given and these [1/0] data may be patterned as a data string arranged in the column direction.
【0025】 また前記出力パターンテーブル22や遷
移条件テーブル23に記述する内容(出力パターンや工
程遷移条件)については、所定の編集プログラムを備え
た編集部3を用いて工程の設定とその遷移条件の設定を
行い、また各工程における稼働の形態(各種制御弁の開
閉や機器の起動/停止)に応じて出力パターンの設定を
行うようにすれば良い。特に図6に示すように、横軸に
工程番号を並べ、縦軸に機器の名称とその管理番号を並
べたプログラムチャートを用い、各処理工程において作
動させるべき機器を特定する情報としてその交点にポイ
ンタを付していくようにすれば、このプログラムチャー
トの記述をそのままに出力パターンテーブル22や遷移
条件テーブル23に記述する内容とすることが可能とな
るので、シーケンサ等の制御ユニット2に対するプログ
ラミング自体の容易化を図ることが可能となる等の効果
が奏せられる。Further, the output pattern table 22 and transition
Regarding the contents (output patterns and process transition conditions) described in the transfer condition table 23, the process is set and its transition conditions are set by using the editing unit 3 having a predetermined editing program, and the operation of each process is performed. The output pattern may be set according to the form (opening / closing of various control valves and starting / stopping of equipment). In particular, as shown in FIG. 6, using a program chart in which process numbers are arranged on the abscissa and device names and their control numbers are arranged on the ordinate, the intersections are used as information for specifying the devices to be operated in each processing step. if so go denoted by the pointer, as the output pattern table 22 and transitions the description of the program chart
Since the contents can be described in the condition table 23, it is possible to achieve the effect that the programming itself for the control unit 2 such as a sequencer can be facilitated.
【0026】 またこのようにしてプログラミングを行
う場合に、装置の稼働を管理するに際しては、前述した
入出力部4を構成するタッチ操作パネル上に、例えば図
5に示すような画面を表示することが望ましい。この表
示画面について簡単に説明すると、Aは現在実行中の処
理工程の名称を示しており、Bは次に実行すべき処理工
程の名称を示している。またCは装置の稼働状態を示す
もので、稼働中には「RUN」、停止中には「STO
P」なる表示がなされる。またDは実行ステップ(処理
工程)の変更に用いられるソフトスイッチであり、Eは
ステップ情報をモニタするためのソフトスイッチ、Dは
装置における現在のIN/OUTの状態をモニタするた
めのソフトスイッチである。Further, in the case of performing programming in this way, when managing the operation of the apparatus, for example, a screen as shown in FIG. 5 is displayed on the touch operation panel constituting the input / output unit 4 described above. Is desirable. Briefly described the display screen, A is shows the name of the currently executing process, B denotes the name of the process to be executed next. In addition, C indicates the operating state of the device, "RUN" during operation, "STO" during stop.
The display "P" is made. D is a soft switch used to change the execution step (processing step), E is a soft switch for monitoring step information, and D is a soft switch for monitoring the current IN / OUT state of the device. is there.
【0027】 このような入出力部4における表示画面
を用いながら、その稼働状態を管理するように構成する
ことにより、そのマン・マシン・インターフェース性の
向上を図ることが可能となり、取り扱い性の良好なプロ
グラム制御装置を実現することが可能となる。尚、本発
明は上述した実施形態に限定されるものではない。例え
ば工程歩進形処理装置としては水処理装置に限られない
ことは言うまでもない。また管理すべき処理工程の数
は、その仕様に応じて定めればよいものである。また編
集部3については、制御ユニット2に対して選択的に接
続可能なものとし、制御内容の設定や変更時にのみ制御
ユニット2に連結するようにしても良い。その他、本発
明はその要旨を逸脱しない範囲で種々変形して実施する
ことができる。By using the display screen of the input / output unit 4 as described above to manage the operating state of the input / output unit 4, it is possible to improve the man-machine interface property and to improve the handleability. It is possible to realize a different program control device. The present invention is not limited to the above embodiment. For example, it goes without saying that the step process type treatment apparatus is not limited to the water treatment apparatus. The number of processing steps to be managed may be set according to the specifications. The editing unit 3 may be selectively connectable to the control unit 2, and may be connected to the control unit 2 only when setting or changing the control content. In addition, the present invention can be variously modified and implemented without departing from the scope of the invention.
【0028】[0028]
【発明の効果】以上説明したように本発明によれば、複
数の処理工程の稼働形態を特定する情報をパターン化し
て記憶した出力パターンテーブルと、複数の処理工程の
遷移条件を記述した工程遷移テーブルとを備え、処理工
程を特定する工程情報に従って処理工程を順次歩進的に
進めながら、各処理工程において必要な制御信号を出力
パターンテーブルから求めるので、歩進形処理装置の動
作を確実に制御することができる。しかもそのプログラ
ミングのみならず、処理内容の変更や修正を容易に行う
ことができる等の効果が奏せられる。As described above, according to the present invention, the output pattern table in which the information for specifying the operating mode of the plurality of processing steps is patterned and stored, and the process transition in which the transition conditions of the plurality of processing steps are described. With a table, the control signals necessary for each processing step are obtained from the output pattern table while the processing steps are sequentially advanced according to the process information for specifying the processing step, so that the operation of the stepwise processing apparatus can be ensured. Can be controlled. Moreover, not only the programming but also the effect that the processing content can be easily changed or modified can be obtained.
【図1】本発明の一実施形態に係るプログラム制御装置
の概略構成図。FIG. 1 is a schematic configuration diagram of a program control device according to an embodiment of the present invention.
【図2】図1に示すプログラム制御装置における制御ユ
ニットの機能を示す構成図。FIG. 2 is a configuration diagram showing functions of a control unit in the program control device shown in FIG.
【図3】工程遷移プロセスの概略的な処理手順を示す
図。FIG. 3 is a diagram showing a schematic processing procedure of a process transition process.
【図4】パターン出力プロセスの概略的な処理手順を示
す図。FIG. 4 is a diagram showing a schematic processing procedure of a pattern output process.
【図5】入出力部における表示画面の例を示す図。FIG. 5 is a diagram showing an example of a display screen in the input / output unit.
【図6】歩進形処理装置における工程歩進規則と各工程
における装置の稼働内容を記述するためのプログラムチ
ャートの例を示す図。FIG. 6 is a diagram showing an example of a program chart for describing process step rules in the stepwise processing apparatus and operation contents of the apparatus in each step.
1 工程歩進形処理装置(水処理装置) 2 制御ユニット 3 編集部 4 入出力部(タッチパネル) 21 工程番号メモリ 22 出力パターンテーブル 23 遷移条件テーブル 24 パターン出力プロセス 25 出力プロセス 26 工程遷移プロセス 27 外部入力プロセス 28 編集プロセス 1-step stepwise treatment equipment (water treatment equipment) 2 control unit 3 editorial department 4 Input / output section (touch panel) 21 Process number memory 22 Output pattern table 23 Transition condition table 24 pattern output process 25 Output process 26 Process transition process 27 External input process 28 Editing process
───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G05B 19/05 ─────────────────────────────────────────────────── ─── Continuation of the front page (58) Fields surveyed (Int.Cl. 7 , DB name) G05B 19/05
Claims (3)
形処理装置の動作を制御するプログラム制御装置であっ
て、 前記各処理工程における1つまたは複数の機器の稼働形
態をパターン化して各処理工程毎に記憶した出力パター
ンテーブルと、 前記各処理工程毎に、次に実行すべき処理工程を特定す
る工程移行先およびその工程移行条件をそれぞれ記憶し
た遷移条件テーブルと、 前記各処理工程を特定する工程情報を記憶する工程情報
メモリと、外部から与えられる情報を前記各機器の作動状態に応じ
たデータ列からなる入力パターンに変換する入力プロセ
スと、 前記 工程情報メモリに記憶された工程情報に従って前記
遷移条件テーブルから該当する処理工程の工程移行先と
工程移行条件とを求めると共に、該当する処理工程にお
ける1つまたは複数の機器の稼働状態を示す前記入力パ
ターンと上記工程移行条件とを照合し、その照合結果に
応じて前記工程情報メモリに記憶する工程情報を更新す
る工程遷移プロセスと、 前記工程情報メモリに記憶された工程情報に従って前記
出力パターンテーブルから該当する処理工程の出力パタ
ーンを求めるパターン出力プロセスと、 このパターン出力プロセスから求められる出力パターン
に従って前記工程歩進形処理装置に対する出力信号を生
成する出力プロセスと、 を具備したことを特徴とするプログラム制御装置。1. A program control apparatus for controlling the operation of a step-progressive type processing apparatus that sequentially executes a plurality of processing steps, wherein the operating mode of one or a plurality of devices in each of the processing steps is patterned and An output pattern table stored for each processing step, a transition condition table storing a step transfer destination that specifies the processing step to be executed next for each processing step, and the step transfer conditions, and each processing step A process information memory for storing process information to be specified, and information provided from the outside according to the operating state of each device.
Input process that converts to an input pattern consisting of
Graphics and, together with the finding and a step transition destinations and step shift condition processing steps corresponding from the transition condition table according to process information stored in the process information memory, the one or more devices in the corresponding processing step Health the collating an input pattern and the step transition conditions shown, the according to the a step transition process of updating process information stored in the process information memory, process information stored in the process information memory in response to the comparison result A pattern output process for obtaining an output pattern of a corresponding process step from the output pattern table; and an output process for generating an output signal to the step step type processing device according to the output pattern obtained from the pattern output process. Characterized program control device.
移条件テーブルは、所定の操作機器を介してその内容を
編集可能に設けられることを特徴とする請求項1に記載
のプログラム制御装置。2. The program control device according to claim 1, wherein the output pattern table and the transition condition table are provided such that their contents can be edited via a predetermined operation device.
を特定する工程情報が初期設定されるものである請求項
1に記載のプログラム制御装置。3. The program control device according to claim 1, wherein the process information memory is initially set with process information for specifying a first processing process.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2000189181A JP3494215B2 (en) | 2000-06-23 | 2000-06-23 | Program control unit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2000189181A JP3494215B2 (en) | 2000-06-23 | 2000-06-23 | Program control unit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2002006909A JP2002006909A (en) | 2002-01-11 |
| JP3494215B2 true JP3494215B2 (en) | 2004-02-09 |
Family
ID=18688843
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2000189181A Expired - Fee Related JP3494215B2 (en) | 2000-06-23 | 2000-06-23 | Program control unit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3494215B2 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7269468B2 (en) * | 2003-09-05 | 2007-09-11 | Fisher-Rosemount Systems, Inc. | State machine function block with a user modifiable output configuration database |
| US7730415B2 (en) * | 2003-09-05 | 2010-06-01 | Fisher-Rosemount Systems, Inc. | State machine function block with a user modifiable state transition configuration database |
| JP2009266079A (en) * | 2008-04-28 | 2009-11-12 | Toshiba Mitsubishi-Electric Industrial System Corp | Sequence control device |
-
2000
- 2000-06-23 JP JP2000189181A patent/JP3494215B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2002006909A (en) | 2002-01-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5504902A (en) | Multi-language generation of control program for an industrial controller | |
| CN100407081C (en) | CNC device | |
| JP3494215B2 (en) | Program control unit | |
| JPH01147627A (en) | Question answering device | |
| CN1151419C (en) | CPU System Reset Method Containing Field Programmable Gate Array | |
| JPH03223901A (en) | Semiconductor manufacturing equipment | |
| CN102214249A (en) | Method and system for managing integrated circuit design process | |
| Melcher et al. | Controller synthesis for the “production cell” case study | |
| JPH02220102A (en) | Sequence program editing system | |
| JPH0410081B2 (en) | ||
| JP3795473B2 (en) | Editor device and recording medium recording editor program | |
| JP2875135B2 (en) | Program device for programmable controller | |
| JP2001005517A (en) | Control program monitoring method and device | |
| EP0474725B1 (en) | Process control | |
| JP2518157B2 (en) | Method and device for generating revision history of program | |
| KR100423742B1 (en) | Exclusive control system by sequential function chart | |
| JPH09160611A (en) | Programmable controller | |
| JP4551665B2 (en) | Diagram language programming method | |
| JPH0651808A (en) | Programmable controller | |
| JPH03161803A (en) | Process controller | |
| JPH0228757A (en) | document creation device | |
| JPH04145501A (en) | Method for generating sequence program | |
| JPH0261715A (en) | Command interpreter with memory function | |
| JPH0695710A (en) | Method for changing sequence program of programmable controller | |
| JPH0651692A (en) | Plant simulating device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| TRDD | Decision of grant or rejection written | ||
| R150 | Certificate of patent or registration of utility model |
Ref document number: 3494215 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20071121 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081121 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081121 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091121 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101121 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101121 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111121 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111121 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121121 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121121 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131121 Year of fee payment: 10 |
|
| LAPS | Cancellation because of no payment of annual fees |