JP3575913B2 - Programmable controller - Google Patents

Programmable controller Download PDF

Info

Publication number
JP3575913B2
JP3575913B2 JP9853096A JP9853096A JP3575913B2 JP 3575913 B2 JP3575913 B2 JP 3575913B2 JP 9853096 A JP9853096 A JP 9853096A JP 9853096 A JP9853096 A JP 9853096A JP 3575913 B2 JP3575913 B2 JP 3575913B2
Authority
JP
Japan
Prior art keywords
flow sheet
control
programmable controller
creating
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.)
Expired - Lifetime
Application number
JP9853096A
Other languages
Japanese (ja)
Other versions
JPH09288569A (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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP9853096A priority Critical patent/JP3575913B2/en
Publication of JPH09288569A publication Critical patent/JPH09288569A/en
Application granted granted Critical
Publication of JP3575913B2 publication Critical patent/JP3575913B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Programmable Controllers (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、複数の機器の制御を予め決定した順序で行うプログラマブルコントローラに関する。
【0002】
【従来の技術】
従来より、例えば、図7のフローシートに示すような制御を実行しようとすると、先ず、フローシートを作成し、次いで作成したフローシートを参照しながらフローチャートを作成した後、図8に示すようなラダー図を作成している。
【0003】
また、近年、プログラムの作成にはプログラミングコンソールと呼ばれるものやグラフィックプログラミングコンソールと呼ばれるツールが開発されており、プログラミングコンソールではプログラムを1行打ち込む毎にその1行分が表示され、グラフィックプログラミングコンソールではCRTまたは大形の液晶パネルにラダー図の全体が表示される。
【0004】
なお、フローシートとは、制御条件や制御対象の機器の状態を矢印(動作方向を示す)や絵(例えばポンプ)などを用いて表したものであり、これによって的確にかつ容易に制御対象の機器の動作を記述することができる。
【0005】
図7のフローシートは、ポンプ1によって下槽2から上槽3へ水4を汲み上げる装置の動作を記述したものであり、制御条件は次のようになっている。
【0006】
▲1▼上槽3の水位が”L”以下(33W2L )でポンプ1は運転し、同水位が”H”以上(33W2H )で停止する。
【0007】
▲2▼下槽2の水位が”LL”以下(33W1LL)および異常(30X )でポンプ1は非常停止する。
【0008】
ポンプ1を駆動するモータ5はコンタクタ(88)6の入/切によって制御され、過電流や地絡等の異常が生じたときにコンタクタ(88)6が開状態になるように制御される。
【0009】
【発明が解決しようとする課題】
ところで、上述した従来のプログラマブルコントローラにあっては、プログラム作成段階が複雑であり、また図8(a)、(b)に示すようにプログラム作成者によって作成されるラダー図もまちまちであった(同じ動作を達成するために何種類もの組合わせがあり、プログラムも複数できる)。このため、作業時間が多くかかってしまったり、プログラムのデバックなどのメンテナンスに支障をきたすという問題点があった。
【0010】
本発明は上記事情に鑑みてなされたものであり、短時間でかつ作業者の経験の違いによることなく共通した内容のプログラムを作成することができるプログラマブルコントローラを提供することを目的としている。
【0011】
【課題を解決するための手段】
上記の目的を達成するために、請求項1の発明は、プラントの動作を記述したフローシートを構成する各種部品の絵柄とその絵柄に相当する制御条件を対として部品毎に記憶する記憶手段と、ユーザーからの指示に基づいて前記記憶手段に記憶されている各部品の絵柄を選択して並べるとともにこれらを接続してフローシートを作成するフローシート作成手段と、このフローシート作成手段により各部品の絵柄が接続されることにより、各部品の絵柄に相当する制御条件同士を接続して制御対象機器を動作させるための命令語を作成する制御プログラム作成手段と、前記フローシート作成手段によるフローシート作成状況を表示する表示手段と、を備えるものである。
【0012】
この構成によれば、CADによる製図と同様に個々の絵柄を並べてフローシートを作成するだけで制御対象機器の動作を記述する制御プログラムが得られる。したがって、短時間でかつ作業者の経験の違いによることなく共通した内容のプログラムを作成することができる。
【0013】
【発明の実施の形態】
以下、図面を参照して本発明の実施の形態について説明する。
【0014】
<プログラマブルコントローラの構成>
図1は本発明に係るプログラマブルコントローラの実施の形態の構成を示すブロック図である。
【0015】
この実施の形態のプログラマブルコントローラ20は、プログラミングツール21にてフローシートを作成する操作を行うことで演算処理部23にてそのフローシートに基づく命令語も同時に作成できるようになっている。ハードディスク装置等で構成された記憶部24には、例えば図2に示すような個々の部品の絵柄とその絵柄に相当する規則とが対になって部品毎に登録されており、プログラミングツール21にて個々の絵柄を並べて接続することにより、この図面作成の背後で制御対象機器を動作させる制御プログラム(複数の命令語からなる)が自動的に作成される。自動作成された制御プログラムは記憶部24のデータ領域に書き込まれる。プログラミングツール21の操作は通常のCADによる製図のようにCRT22の画面を見ながら行う。
【0016】
プログラムコントローラ20は、上記プログラミングツール21、演算処理部23および記憶部24の他に、制御対象機器を動作させるための各種情報を入力する入力部25と、装置各部の制御を行う制御部26と、制御対象機器へ制御信号を出力する出力部27とを有して構成されている。この場合、制御部26には、この制御部26を制御するためのプログラムが書き込まれたROM28および制御部26の動作において使用されるRAM29を有している。また、演算処理部23は、制御部26からのタイミング信号により記憶部24に記憶された入力データや出力データを用いて制御プログラムに従った制御信号を出力部27へ出力する。入力部25に供給される情報は、例えば図7のフローシートで示される制御では、上槽3の水位が”L”以下になったときに出力される信号や下槽2の水位が”LL”以下になったときに出力される信号などである。
【0017】
上記記憶部24には上述したように図7に示すフローシートの各エレメントと同等のプログラムエレメントが絵柄とその絵柄に相当する規則がペアとなって部品毎に記憶されている。この場合、各絵柄とその規則は次のようになっている。
(イ)水位”LL”以下の時に制御対象機器(ポンプ4)停止。
点線の矢印(…> )は停止を示す。
(ロ)水位”L”以下から”H”まで制御対象機器運転。
実線の矢印(−> )は運転を示す。
(ハ)制御対象機器を示す。
A→、→Bは制御される物体の流れを示す。
C…>*は、Cという条件の元で制御対象機器が停止
(ニ)制御対象機器Dに対して保護検知
【0018】
これら部品の絵柄を並べて接続することにより、図3に示すフローシートが作成されるとともに、その背後で規則同士が接続されて自動的に制御プログラムが完成する。この場合、部品の絵柄を並べて接続するための操作は上述の如くプログラミングツール21にて行う。
【0019】
作成されたフローシートに基づくポンプ1の動作は次のようになる。
ステップaにおいて、故障の条件が成立していなく、またステップbにおいて”LL”以下の条件が成立していなく、さらにステップcにおいて”L”以下の条件が成立しているときは、ポンプ1は運転状態になる。これに対して、ステップa、bの条件が共に不成立で、ステップcの条件が成立しているときは、ポンプ1は停止状態になる。
【0020】
上記記憶部24は記憶手段に対応し、プログラミングツール21はフローシート作成手段に対応する。また、CRT22は表示手段に対応し、演算処理部23は制御プログラム作成手段に対応する。
【0021】
<プログラマブルコントローラ20の動作>
《プログラミングツール21の動作》
図4はプログラミングツール21の動作を示すフローチャートである。
【0022】
まず、フローシートの作成を開始する操作が有ると(ステップS10YES )、プログラミングツール21のCRT22上にはフローシートを作成するための画面が表示される(ステップS12)。次いで、部品を接続する操作があるか否かが判定される(ステップS14)。この場合、プログラミングツール21の動作を開始させた時点では、部品を選択する操作が行われていないので、次のステップS16において、部品を選択する操作があるか否かが判定される。この判定において、部品を選択する操作があると判断されるとステップS18に進み、選択された部品を記憶部24から読み出してその絵柄が表示される。これに対して部品を選択する操作がないと判断するとステップS14に戻る。
【0023】
部品を選択する操作があって、該当する部品が記憶部24から読み出されてその絵柄が表示されると、次に、制御プログラム作成処理を終了する操作が有るか否かが判定される(ステップS20)。この判定において、制御プログラム作成処理を終了する操作があると判断された場合には、演算処理部23に対して制御プログラム作成終了が指示され(ステップS22)、さらにステップS24で初期化および初期画面が表示された後、処理はステップS10に戻る。これに対して制御プログラム作成処理を終了する操作がないと判断された場合には、ステップS14に戻る。
【0024】
一方、ステップS14の判定において、部品を接続する操作が有ると判断された場合には、選択された部品が2つ以上であるか否かが判定される(ステップS26)。この場合、選択された部品が1つしかないと接続ができないので、1つの場合を除外する意味でこのステップ26の処理が実行される。
【0025】
選択された部品が2つ以下であると判断されると、ステップS10に戻って初めから処理が開始される。一方、選択された部品が2つ以上であると判断されるとステップS28に進み、接続操作された部品同士が接続される。次いで、演算処理部23に対して命令語の作成が指示される(ステップS30)。この処理を行った後、ステップS10に戻る。
【0026】
このようにプログラミングツール21は、ユーザーが部品を選択する操作を行うと、その部品の絵柄をCRT22上に表示する。また、ユーザーが部品同士を接続する操作を行うと、CRT22上でそれらの部品同士を接続する。
【0027】
《演算処理部23の動作》
図5は演算処理部23の動作を示すフローチャートである。
まず、命令語の作成の指示があるか否かが判定される(ステップS50)。この判定において、命令語の作成の指示があると判断されると、次に、ステップS52に進み、制御プログラム作成指示に従って記憶部24から制御条件が読み込まれる(ステップS52)。そして、読み込まれた制御条件に基づいて制御プログラムの命令語が作成され(ステップS54)、次いでその作成された命令語が記憶部24に記憶される。この処理を行った後、ステップS50に戻る。以後、命令語を作成する指示が有る毎に制御条件に基づいて命令語が作成され、制御プログラムが完成されて行く。
【0028】
一方、上記ステップS50の判定において、命令語の作成指示が無いと判断されると、次に、制御プログラムの作成終了の指示が有るか否かが判定される(ステップS58)。この判定において、制御プログラムの作成終了の指示があると判断すると、レジスタ等の初期化を行った後(ステップS60)、処理を終了する。これに対して、制御プログラム作成終了の指示が無いと判断するとステップS60に進み、処理を中止させる操作が有るか否かを判定する。この判定において、処理を中止する操作があると判断されると処理が終了し、処理を中止する操作がないと判断するとステップS64に進む。ステップS64に進むと、制御部26より制御出力指示が有るか否かを判定する。この判定において、制御出力指示が有ると判断すると、ステップS66に進み、記憶部24に記憶されたデータを用いて制御プログラムに従った制御信号を出力部27に供給する。これにより、制御信号が制御対象機器に供給される。
【0029】
このように、この実施の形態では、プラントの動作を記述したフローシートを構成する各種部品の絵柄とその絵柄に相当する制御条件を対として部品毎に登録しておき、プログラミングツール21のCRT22の画面を見ながら、登録した各部品の絵柄を適宜選択して並べ、さらにそれらを接続する操作を行うことで、各絵柄に相当する制御条件同士が接続されて命令語が完成する。フローシートで表したプラントが完成するまで絵柄を並べて接続して行くと、そのプラント制御の仕様に直結した制御プログラムが完成する。
【0030】
したがって、CADによる製図と同様に個々の絵柄を並べてフローシートを作成するだけで制御対象機器の動作を記述する制御プログラムが得られることから、短時間でかつ作業者の経験の違いによることなく共通した内容のプログラムを作成することができる。
【0031】
なお、プラントの制御内容によってはフローシートでは表現できない場合がある。また、このような場合、フローシートをモディファイしたシーケンスブロックも同様に表現するのが難しい。しかし、本発明の実施の形態のフローシートにコメント(特記仕様)処理を加えることにより、制御仕様に合った形でプログラムを完成させることが可能である。例えば、図7に示すフローシートで表したプラントに次のような追加条件が加えられた場合、図6に示すように、フローシートエリア40とは別に特殊条件エリア41を設けることにより、通常の処理と同様に特殊条件も処理する。
【0032】
追加条件:ポンプを制御する際、手動/自動のモード切り換えの後、制御を行
う。 自動のときは、上槽、下槽の水位によりポンプを制御する。 手動のときは、上槽、下槽の水位に依らずポンプの制御を可能とす
る。
【0033】
フローシートをモディファイしたシーケンスブロックを用いることにより、プラントの動作仕様が決定すれば本コントローラ内のソフトウェアの設計を容易に行うことができる。
【0034】
【発明の効果】
以上説明したように、請求項1記載のプログラマブルコントローラによれば、プラントの動作を記述したフローシートを構成する各種部品の絵柄とその絵柄に相当する制御条件を対として部品毎に登録しておき、その登録した各部品の絵柄を並べてフローシートを作成することにより、制御対象機器の動作を記述する制御プログラムが得られるようにしたので、短時間でかつ作業者の経験の違いによることなく共通した内容のプログラムを作成することができる。
【図面の簡単な説明】
【図1】本発明に係るプログラマブルコントローラの実施の形態の構成を示すブロック図である。
【図2】同実施の形態のプログラマブルコントローラに用いられる絵柄とその絵柄に相当する規則の一例を示す図である。
【図3】同実施の形態のプログラマブルコントローラにより作成されたフローシートの一例を示す図である。
【図4】同実施の形態のプログラマブルコントローラの動作を示すフローチャートである。
【図5】同実施の形態のプログラマブルコントローラの動作を示すフローチャートである。
【図6】同実施の形態のプログラマブルコントローラの他の実施の形態を説明するための図である。
【図7】従来より用いられているフローシートの一例を示す図である。
【図8】図7のフローシートのラダー図である。
【符号の説明】
20 プログラマブルコントローラ
21 プログラミングツール
22 CRT
23 演算処理部
24 記憶部
26 制御部
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a programmable controller that controls a plurality of devices in a predetermined order.
[0002]
[Prior art]
Conventionally, for example, in order to execute the control as shown in the flow sheet of FIG. 7, first, a flow sheet is created, and then a flowchart is created with reference to the created flow sheet, and then, as shown in FIG. Creating a ladder diagram.
[0003]
In recent years, a program called a programming console or a tool called a graphic programming console has been developed for creating a program. The programming console displays one line each time the program is input, and the graphic programming console displays a CRT. Alternatively, the entire ladder diagram is displayed on a large liquid crystal panel.
[0004]
The flow sheet indicates the control conditions and the state of the device to be controlled using arrows (indicating the operation direction) and pictures (for example, pumps), and thereby allows the control target to be accurately and easily controlled. The operation of the device can be described.
[0005]
The flow sheet of FIG. 7 describes the operation of the device for pumping water 4 from the lower tank 2 to the upper tank 3 by the pump 1, and the control conditions are as follows.
[0006]
(1) The pump 1 operates when the water level of the upper tank 3 is lower than "L" (33W2L), and stops when the water level is higher than "H" (33W2H).
[0007]
(2) When the water level in the lower tank 2 is equal to or lower than "LL" (33W1LL) or abnormal (30X), the pump 1 is stopped emergency.
[0008]
The motor 5 for driving the pump 1 is controlled by turning on / off the contactor (88) 6, and is controlled so that the contactor (88) 6 is opened when an abnormality such as an overcurrent or a ground fault occurs.
[0009]
[Problems to be solved by the invention]
By the way, in the above-mentioned conventional programmable controller, the program creation stage is complicated, and the ladder diagram created by the program creator as shown in FIGS. 8A and 8B is also different ( There are many different combinations to achieve the same behavior, and there can be multiple programs). For this reason, there have been problems that a long working time is required and maintenance such as debugging of a program is hindered.
[0010]
The present invention has been made in view of the above circumstances, and it is an object of the present invention to provide a programmable controller that can create a program having common contents in a short time and without depending on the experience of an operator.
[0011]
[Means for Solving the Problems]
In order to achieve the above object, the invention according to claim 1 is a storage means for storing a pattern of various parts constituting a flow sheet describing operation of a plant and control conditions corresponding to the pattern as a pair for each part; A flow sheet creating means for selecting and arranging the pictures of the respective parts stored in the storage means based on an instruction from the user and connecting them to create a flow sheet; A control program creating means for connecting control conditions corresponding to the picture of each part to create a command word for operating the controlled device, and a flow sheet by the flow sheet creating means Display means for displaying the creation status.
[0012]
According to this configuration, a control program that describes the operation of the control target device can be obtained only by creating a flow sheet by arranging individual patterns as in the case of drawing by CAD. Therefore, it is possible to create a program with common contents in a short time and without depending on the difference in the experience of the operator.
[0013]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0014]
<Configuration of programmable controller>
FIG. 1 is a block diagram showing a configuration of an embodiment of a programmable controller according to the present invention.
[0015]
In the programmable controller 20 of this embodiment, by performing an operation of creating a flow sheet by the programming tool 21, the arithmetic processing unit 23 can simultaneously create a command word based on the flow sheet. In the storage unit 24 constituted by a hard disk device or the like, for example, a pattern of each part and a rule corresponding to the pattern as shown in FIG. By arranging and connecting individual pictures, a control program (comprising a plurality of command words) for operating the controlled device behind the drawing is automatically created. The automatically created control program is written in the data area of the storage unit 24. The operation of the programming tool 21 is performed while viewing the screen of the CRT 22 as in the case of drawing by ordinary CAD.
[0016]
The program controller 20 includes, in addition to the programming tool 21, the arithmetic processing unit 23, and the storage unit 24, an input unit 25 for inputting various kinds of information for operating the controlled device, and a control unit 26 for controlling each unit of the apparatus. And an output unit 27 that outputs a control signal to a device to be controlled. In this case, the control unit 26 includes a ROM 28 in which a program for controlling the control unit 26 is written, and a RAM 29 used in the operation of the control unit 26. Further, the arithmetic processing unit 23 outputs a control signal according to a control program to the output unit 27 using input data and output data stored in the storage unit 24 according to a timing signal from the control unit 26. The information supplied to the input unit 25 includes, for example, a signal output when the water level of the upper tank 3 becomes “L” or less and the water level of the lower tank 2 becomes “LL” in the control shown in the flow sheet of FIG. "A signal output when the value becomes equal to or less than".
[0017]
As described above, the storage unit 24 stores a program element equivalent to each element of the flow sheet shown in FIG. 7 as a pair of a pattern and a rule corresponding to the pattern, for each part. In this case, each pattern and its rules are as follows.
(A) When the water level is equal to or lower than "LL", the controlled device (pump 4) stops.
A dotted arrow (...>) indicates a stop.
(B) Control target equipment operation from water level “L” or lower to “H”.
The solid arrow (->) indicates operation.
(C) The device to be controlled is shown.
A →, → B indicate the flow of the controlled object.
C ...> * indicates that the device to be controlled is stopped under the condition of C. (d) Protection is detected for the device D to be controlled.
By arranging and connecting the patterns of these parts, the flow sheet shown in FIG. 3 is created, and the rules are connected behind the flow sheet to automatically complete the control program. In this case, the operation for arranging and connecting the pictures of the parts is performed by the programming tool 21 as described above.
[0019]
The operation of the pump 1 based on the created flow sheet is as follows.
If the condition of the failure is not satisfied in step a, the condition of "LL" or less is not satisfied in step b, and the condition of "L" or less is satisfied in step c, the pump 1 It is in operation. On the other hand, when the conditions of steps a and b are not satisfied and the condition of step c is satisfied, the pump 1 is stopped.
[0020]
The storage unit 24 corresponds to a storage unit, and the programming tool 21 corresponds to a flow sheet creation unit. The CRT 22 corresponds to a display unit, and the arithmetic processing unit 23 corresponds to a control program creating unit.
[0021]
<Operation of programmable controller 20>
<< Operation of programming tool 21 >>
FIG. 4 is a flowchart showing the operation of the programming tool 21.
[0022]
First, when there is an operation for starting the creation of a flow sheet (YES in step S10), a screen for creating a flow sheet is displayed on the CRT 22 of the programming tool 21 (step S12). Next, it is determined whether or not there is an operation for connecting parts (step S14). In this case, since the operation of selecting the component has not been performed at the time when the operation of the programming tool 21 is started, it is determined in the next step S16 whether or not the operation of selecting the component has been performed. In this determination, when it is determined that there is an operation for selecting a part, the process proceeds to step S18, where the selected part is read from the storage unit 24 and its pattern is displayed. On the other hand, if it is determined that there is no operation for selecting a component, the process returns to step S14.
[0023]
When there is an operation of selecting a part and the corresponding part is read from the storage unit 24 and its pattern is displayed, it is next determined whether or not there is an operation to end the control program creation process ( Step S20). In this determination, when it is determined that there is an operation for ending the control program creation processing, an end of the control program creation is instructed to the arithmetic processing unit 23 (step S22), and further, in step S24, initialization and an initial screen Is displayed, the process returns to step S10. On the other hand, if it is determined that there is no operation to end the control program creation processing, the process returns to step S14.
[0024]
On the other hand, if it is determined in step S14 that there is an operation to connect components, it is determined whether or not two or more selected components are present (step S26). In this case, the connection cannot be established if there is only one selected component, so the process of step 26 is executed in a sense excluding one case.
[0025]
If it is determined that the number of selected components is two or less, the process returns to step S10, and processing is started from the beginning. On the other hand, if it is determined that the number of selected components is two or more, the process proceeds to step S28, and the connected components are connected. Next, instruction processing is instructed to the arithmetic processing unit 23 (step S30). After performing this process, the process returns to step S10.
[0026]
As described above, when the user performs an operation of selecting a part, the programming tool 21 displays a picture of the part on the CRT 22. When the user performs an operation of connecting the components, the components are connected on the CRT 22.
[0027]
<< Operation of Operation Processing Unit 23 >>
FIG. 5 is a flowchart showing the operation of the arithmetic processing unit 23.
First, it is determined whether there is an instruction to create a command word (step S50). If it is determined in this determination that there is an instruction to create a command word, the process proceeds to step S52, where control conditions are read from the storage unit 24 according to the control program creation instruction (step S52). Then, a command word of the control program is created based on the read control conditions (step S54), and the created command word is stored in the storage unit 24. After performing this process, the process returns to step S50. Thereafter, each time there is an instruction to create a command, a command is created based on the control condition, and the control program is completed.
[0028]
On the other hand, if it is determined in step S50 that there is no instruction to create a command word, then it is determined whether there is an instruction to end creation of the control program (step S58). In this determination, when it is determined that there is an instruction to end the creation of the control program, the registers and the like are initialized (step S60), and the process is terminated. On the other hand, when it is determined that there is no instruction to end the control program creation, the process proceeds to step S60, and it is determined whether or not there is an operation for stopping the process. In this determination, when it is determined that there is an operation to stop the process, the process ends, and when it is determined that there is no operation to stop the process, the process proceeds to step S64. In step S64, it is determined whether or not there is a control output instruction from the control unit 26. In this determination, when it is determined that there is a control output instruction, the process proceeds to step S66, and a control signal according to a control program is supplied to the output unit 27 using the data stored in the storage unit 24. Thereby, the control signal is supplied to the control target device.
[0029]
As described above, in this embodiment, the patterns of the various parts constituting the flow sheet describing the operation of the plant and the control conditions corresponding to the patterns are registered as pairs for each part, and the CRT 22 of the programming tool 21 is registered. By looking at the screen, selecting and arranging the pictures of the registered parts as appropriate, and performing an operation of connecting them, the control conditions corresponding to the pictures are connected to complete the command. If the pictures are arranged and connected until the plant represented by the flow sheet is completed, a control program directly connected to the plant control specifications is completed.
[0030]
Therefore, a control program that describes the operation of the controlled device can be obtained simply by creating a flow sheet by arranging the individual patterns as in the case of drafting by CAD. A program with the contents described above can be created.
[0031]
It should be noted that depending on the control content of the plant, there are cases where it cannot be expressed in the flow sheet. In such a case, it is difficult to similarly express a sequence block obtained by modifying the flow sheet. However, by adding a comment (special specification) process to the flow sheet according to the embodiment of the present invention, it is possible to complete the program in a form conforming to the control specification. For example, when the following additional conditions are added to the plant represented by the flow sheet shown in FIG. 7, the special condition area 41 is provided separately from the flow sheet area 40 as shown in FIG. Special conditions are also processed in the same way as the processing.
[0032]
Additional condition: When controlling the pump, control is performed after manual / automatic mode switching. When automatic, the pump is controlled according to the water level in the upper and lower tanks. When manual, the pump can be controlled regardless of the water level in the upper and lower tanks.
[0033]
By using the sequence block modified from the flow sheet, the software in the controller can be easily designed if the operation specifications of the plant are determined.
[0034]
【The invention's effect】
As described above, according to the programmable controller of the first aspect, the patterns of various parts constituting the flow sheet describing the operation of the plant and the control conditions corresponding to the patterns are registered as pairs for each part. By creating a flow sheet by arranging the patterns of the registered parts, a control program that describes the operation of the controlled device can be obtained. A program with the contents described above can be created.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of an embodiment of a programmable controller according to the present invention.
FIG. 2 is a diagram showing an example of a pattern used in the programmable controller according to the embodiment and rules corresponding to the pattern.
FIG. 3 is a diagram showing an example of a flow sheet created by the programmable controller of the embodiment.
FIG. 4 is a flowchart showing an operation of the programmable controller of the embodiment.
FIG. 5 is a flowchart showing an operation of the programmable controller of the embodiment.
FIG. 6 is a diagram for explaining another embodiment of the programmable controller of the embodiment.
FIG. 7 is a diagram showing an example of a flow sheet conventionally used.
FIG. 8 is a ladder diagram of the flow sheet of FIG. 7;
[Explanation of symbols]
Reference Signs List 20 Programmable controller 21 Programming tool 22 CRT
23 arithmetic processing unit 24 storage unit 26 control unit

Claims (1)

プラントの動作を記述したフローシートを構成する各種部品の絵柄とその絵柄に相当する制御条件とを対として部品毎に記憶する記憶手段と、
ユーザーからの指示に基づいて前記記憶手段に記憶されている各部品の絵柄を選択して並べるとともにこれらを接続してフローシートを作成するフローシート作成手段と、
このフローシート作成手段によって各部品の絵柄が接続されることにより、各部品の絵柄に相当する制御条件同士を接続して制御対象機器を動作させるための命令語を作成する制御プログラム作成手段と、
を備えたことを特徴とするプログラマブルコントローラ。
Storage means for storing, for each part, a pattern of various parts constituting the flow sheet describing the operation of the plant and a control condition corresponding to the pattern,
Flow sheet creation means for creating a flow sheet by selecting and arranging the patterns of the respective parts stored in the storage means based on an instruction from the user and connecting them, and
By connecting the pictures of the parts by the flow sheet creating means, a control program creating means for creating a command for operating the control target device by connecting control conditions corresponding to the pictures of the parts,
A programmable controller comprising:
JP9853096A 1996-04-19 1996-04-19 Programmable controller Expired - Lifetime JP3575913B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9853096A JP3575913B2 (en) 1996-04-19 1996-04-19 Programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9853096A JP3575913B2 (en) 1996-04-19 1996-04-19 Programmable controller

Publications (2)

Publication Number Publication Date
JPH09288569A JPH09288569A (en) 1997-11-04
JP3575913B2 true JP3575913B2 (en) 2004-10-13

Family

ID=14222241

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9853096A Expired - Lifetime JP3575913B2 (en) 1996-04-19 1996-04-19 Programmable controller

Country Status (1)

Country Link
JP (1) JP3575913B2 (en)

Also Published As

Publication number Publication date
JPH09288569A (en) 1997-11-04

Similar Documents

Publication Publication Date Title
JP3461400B2 (en) Sequence control program creation device
JP3575913B2 (en) Programmable controller
US8214802B1 (en) Providing visual preview of intermediate steps of software configuration
JP5566473B2 (en) System design equipment
JP2671793B2 (en) Program generator usage specification simulation method and apparatus
JP2000163259A (en) Simulator and control logic construction tool
JP5377377B2 (en) Design support device
JPS58178408A (en) Programmable controller having simulating function
JP2010139753A (en) Plant simulator and plant simulator operating method
JP3291115B2 (en) Driving training simulator device and initial state setting method thereof
JPH08263244A (en) Display device
JP5008520B2 (en) How to display data entry status in the display screen
JP3410806B2 (en) Plant simulator
JP2911667B2 (en) Programming device for programmable controller
JP2541698B2 (en) Central control panel of the plant
JP2653409B2 (en) Programmable controller program development equipment
WO2023228309A1 (en) Help screen creation assistance device
JP3530358B2 (en) Numerical control device with parameter display function
JPH04148304A (en) Setting method for modal g code
JP2003202906A (en) Output pause setting device for programmable controller, computer program for making computer function as output pause setting device, and recording medium with the program recorded thereon
JP2700887B2 (en) Numerical control unit
JPH0651816A (en) Programmable controller
JPH09106312A (en) Updating method for data for process control
Barrett The new gremlins of refurbishing complex step manufacturing tools for user-defined computerized automation
JPH08286873A (en) Definition information setting system

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040113

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040622

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040706

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

Free format text: PAYMENT UNTIL: 20080716

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090716

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090716

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100716

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110716

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120716

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130716

Year of fee payment: 9

EXPY Cancellation because of completion of term