JPH10161713A - Method for generating program - Google Patents

Method for generating program

Info

Publication number
JPH10161713A
JPH10161713A JP8321930A JP32193096A JPH10161713A JP H10161713 A JPH10161713 A JP H10161713A JP 8321930 A JP8321930 A JP 8321930A JP 32193096 A JP32193096 A JP 32193096A JP H10161713 A JPH10161713 A JP H10161713A
Authority
JP
Japan
Prior art keywords
condition
input
program
state
condition table
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP8321930A
Other languages
Japanese (ja)
Inventor
Terushige Hamada
輝茂 浜田
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP8321930A priority Critical patent/JPH10161713A/en
Publication of JPH10161713A publication Critical patent/JPH10161713A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To generate a high quality program even without the knowledge of ladder sequence by displaying a condition defining table for defining on a display screen and generating the program of a sequencer through the use of the condition table. SOLUTION: In the condition table 22 of the condition defining table 9 on a sequencer program generating screen, it is defined that a controlled system Y0011 is set to be an on-state in an input area when an input X0004 is on and the input X0005 is off, for example, in the input area of an element to be a condition for controlling the controlled system and is set to be an off-state in the input area 28 unless the condition is established. When an input/output signal name with five characters is inputted from a keyboard, an operation becomes the one for selecting a necessary item from the list of an element object so that an input is facilitated and also an input mistake is reduced. Moreover, the condition table is the general one so that the sequencer program is generated without the special knowledge of ladder sequence.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は電気機器を制御す
るためのプログラム式シーケンサのプログラム作成方法
に関するものである。
[0001] 1. Field of the Invention [0002] The present invention relates to a method of creating a program for a programmable sequencer for controlling electric equipment.

【0002】[0002]

【従来の技術】図5は例えば「三菱汎用シーケンサオペ
レーティングマニュアル」のP4〜P29に示されたシ
ーケンサプログラム作成画面である。図5において、6
はシーケンサのプログラム作成装置によるプログラム編
集画面である。このプログラム編集画面6の中の1,
2,3はシーケンサへの入力信号、4,5はシーケンサ
からの出力信号を示す。X0001,X0004,X0
005は入力信号の名称である。Y0001,Y001
1は出力信号の名称である。
2. Description of the Related Art FIG. 5 shows a sequencer program creation screen shown on pages P4 to P29 of the "Mitsubishi general-purpose sequencer operating manual". In FIG. 5, 6
Is a program edit screen by the program creating device of the sequencer. 1 in this program edit screen 6
Reference numerals 2 and 3 denote input signals to the sequencer, and reference numerals 4 and 5 denote output signals from the sequencer. X0001, X0004, X0
005 is the name of the input signal. Y0001, Y001
1 is the name of the output signal.

【0003】次に動作について説明する。図5におい
て、入力信号1がONの時、出力信号4をONとする。
また入力信号2がONでかつ入力信号3がOFFの時に
出力信号5がONとなることを示している。具体的な例
をあげれば、入力信号1を故障信号として、出力信号4
をランプ点灯用スイッチとすれば、シーケンサに入力さ
れている故障信号1がONとなると、ランプ点灯用スイ
ッチ4をONとしてシーケンサから出力して外部のラン
プを点灯させ故障発生を表示する。故障信号1がOFF
となるとランプ点灯用スイッチ4をOFFとしてランプ
を消灯する。このようなシーケンスの表現方法をラダー
シーケンスといい一般的に採用されている表現方法であ
る。このような従来のプログラム作成方法では画面の中
の1〜5の様な記号を画面に入力して、プログラムを作
成する。
Next, the operation will be described. In FIG. 5, when the input signal 1 is ON, the output signal 4 is turned ON.
It also shows that the output signal 5 is turned on when the input signal 2 is on and the input signal 3 is off. As a specific example, the input signal 1 is regarded as a failure signal and the output signal 4
Is a lamp lighting switch, when the failure signal 1 input to the sequencer is turned on, the lamp lighting switch 4 is turned on and output from the sequencer to turn on an external lamp to indicate occurrence of a failure. Failure signal 1 is OFF
Then, the lamp lighting switch 4 is turned off to turn off the lamp. Such a method of expressing a sequence is called a ladder sequence, and is a commonly used expression method. In such a conventional program creation method, a symbol such as 1 to 5 in the screen is input to the screen to create a program.

【0004】[0004]

【発明が解決しようとする課題】従来のプログラム作成
方法は、以上のようにしてプログラムを作成していたの
で、図5のようなラダーシーケンスといわれているプロ
グラムの記述方法を知らないとシーケンサのプログラム
を作成することができなかった。また入力や出力の記号
をキーボードから入力するため、作業効率が悪かった。
In the conventional program creation method, a program is created as described above. Therefore, if a program description method called a ladder sequence as shown in FIG. The program could not be created. In addition, since input and output symbols are input from a keyboard, work efficiency is poor.

【0005】この発明は上記のような課題を解決するた
めになされたものであり、グラフィカルユーザーインタ
ーフェースを可能とし、複雑な条件を定義して容易にシ
ーケンサのプログラムを作成でき、また、ラダーシーケ
ンスの知識がなくても品質の高いシーケンサのプログラ
ムを作成することができる、プログラム作成方法を得る
ことを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems, and enables a graphical user interface, allows easy creation of a sequencer program by defining complicated conditions, and enables a ladder sequence to be created. It is an object of the present invention to provide a program creating method capable of creating a high-quality sequencer program without any knowledge.

【0006】[0006]

【課題を解決するための手段】第1の発明に係るプログ
ラム作成方法は、どんな条件の時に制御対象をどの状態
に制御するかの定義付けを行なう条件定義表9を表示画
面に表示し、その条件表22を用いてシーケンサのプロ
グラムを作成することを特徴とするものである。
According to a first aspect of the present invention, there is provided a program creating method, comprising: displaying a condition definition table on a display screen for defining under what conditions a controlled object is controlled to which state; A sequencer program is created using the condition table 22.

【0007】第2の発明に係るプログラム作成方法にお
いては、条件定義表9は、制御対象を制御する条件とな
る要素を設定する入力エリア23,24と、この入力エ
リア23,24に設定された要素の状態を指定するため
の入力エリア25,26と、条件の成立時/不成立時の
制御対象の状態を指定するための入力エリア27,28
とを有することを特徴とするものである。
In the program creating method according to the second aspect of the invention, the condition definition table 9 includes input areas 23 and 24 for setting elements serving as conditions for controlling a control target, and the input areas 23 and 24 are set in the input areas 23 and 24. Input areas 25 and 26 for specifying the state of the element, and input areas 27 and 28 for specifying the state of the control target when the condition is satisfied / not satisfied
And characterized in that:

【0008】第3の発明に係るプログラム作成方法にお
いては、条件表44,54の各条件表内の各要素はOR
条件で結び、複数の条件表44,54の間をAND条件
で結ぶことを特徴とするものである。
In the program creating method according to the third invention, each element in each of the condition tables 44 and 54 is ORed.
The condition tables 44 and 54 are connected by an AND condition.

【0009】第4の発明に係るプログラム作成方法は、
条件表の各要素の状態を、切り替わった時の過渡状態も
状態として定義することを特徴とするものである。
According to a fourth aspect of the present invention, there is provided a program creating method comprising:
It is characterized in that the state of each element of the condition table is also defined as a transient state at the time of switching.

【0010】第5の発明に係るプログラム作成方法は、
複数の要素を条件表75の中に、縦横に配列し、横方向
に各要素の状態のAND条件を定義し、縦方向はAND
条件で結ばれた横方向の各行間をOR条件で定義するこ
とを特徴とするものである。
[0010] A program creation method according to a fifth invention is characterized in that:
A plurality of elements are arranged vertically and horizontally in the condition table 75, and an AND condition of the state of each element is defined in the horizontal direction.
It is characterized in that each line in the horizontal direction connected by a condition is defined by an OR condition.

【0011】[0011]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

実施の形態1.以下、この発明の実施の形態1を図に基
づいて説明する。図1は実施の形態1に係るプログラム
作成方法によるシーケンサプログラム作成画面を示す図
である。図1のシーケンサプログラム作成画面上の条件
定義表9において、21は制御対象の入力エリア、22
は条件表である。この条件表22は、どんな条件の時に
制御対象をどの状態に制御するかの定義付けを行なうも
のである。条件表22は、制御対象を制御する条件とな
る要素の入力エリア23,24と、入力エリア23,2
4の要素の状態を指定するための入力エリア25,26
と、条件が成立したときの制御対象の状態を指定するた
めの入力エリア27と、条件が不成立の時の制御対象の
状態を指定するための入力エリア28とを備えている。
図1の画面では入力X0004がONで入力X0005
がOFFの時、出力Y0011をONの状態とする設定
になっている。また、この条件が不成立の時は出力Y0
011をOFFとする事を定義している。10は同一制
御対象について複数の条件表があるときに、画面表示さ
れている条件表のNo.と条件表の全数を示す入力エリ
アである。11は表示される条件表のNo.を選択する
ためのボタンであり、現在表示されている条件表の次ペ
ージ、又は前ページを選択できるようになっている。1
3は条件表の呼出しボタン、12は条件表の登録ボタン
である。新規作成時は呼出しボタン13を押すと例えば
条件表22は空欄となり新規制御対象の制御条件の登録
準備ができる。次に制御対象21を選択し、その後は順
次条件登録を行う。1枚の条件表22が登録出来たとこ
ろで、登録ボタン12を押すと条件表22が登録され
る。もし引き続き同一制御対象の条件表を登録する場合
は、呼び出しボタン13を押し同様に登録を続ける。な
お、同一制御対象について新たに登録された条件表は、
その後、新たにその制御対象が呼び出された時点で入力
エリア10の同一制御対象の条件表No.(シリアルN
o./全数)の欄の最終No.として表示される。
Embodiment 1 FIG. Hereinafter, a first embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a diagram showing a sequencer program creation screen according to the program creation method according to the first embodiment. In the condition definition table 9 on the sequencer program creation screen of FIG. 1, reference numeral 21 denotes an input area to be controlled, 22
Is a condition table. The condition table 22 defines the condition under which the control target is controlled. The condition table 22 includes input areas 23 and 24 for elements serving as conditions for controlling the control target, and input areas 23 and 2.
Input areas 25 and 26 for designating the state of element 4
And an input area 27 for designating the state of the control target when the condition is satisfied, and an input area 28 for designating the state of the control target when the condition is not satisfied.
In the screen of FIG. 1, input X0004 is ON and input X0005
Is set to an ON state when the output Y0011 is OFF. When this condition is not satisfied, the output Y0
011 is set to OFF. Reference numeral 10 denotes a condition table No. displayed on the screen when there are a plurality of condition tables for the same control target. And an input area showing the total number of condition tables. No. 11 is the No. of the displayed condition table. Is a button for selecting the next page or the previous page of the currently displayed condition table. 1
Reference numeral 3 denotes a condition table call button, and reference numeral 12 denotes a condition table registration button. At the time of new creation, when the call button 13 is pressed, for example, the condition table 22 becomes blank, and preparation for registration of a control condition of a new control object can be performed. Next, the control target 21 is selected, and thereafter, the condition registration is sequentially performed. When one condition table 22 has been registered, when the registration button 12 is pressed, the condition table 22 is registered. If the condition table of the same control object is to be registered continuously, the call button 13 is pressed to continue the registration. The newly registered condition table for the same control target is as follows:
Thereafter, when the control target is newly called, the condition table No. of the same control target in the input area 10 is displayed. (Serial N
o. / Total number) column. Will be displayed as

【0012】なお、条件表の設定は入出力信号のリスト
及びシーケンス制御の仕様を記述したプログラム仕様書
を見ながらプログラム作成者が設定する。設定後は、条
件表の情報を元にあらかじめ開発されたソフトウェアに
よりシーケンスプログラムが自動生成されるようになっ
ている。また、この条件表は定義された各要素の状態を
すべてAND条件で結び、条件表の条件が真となる時を
条件成立時、偽となる時を条件不成立時として定義す
る。OR条件の定義は同一制御対象の定義表を複数枚作
成する方法で定義する。つまり、条件表の中では、定義
された各要素の状態のすべてをAND条件で結び、各条
件表の間ではOR条件で結ぶ。このように定義すること
により同一制御対象のAND,ORの操作条件を定義で
きる。また複雑な条件は制御対象として内部メモリを指
定する形で中間条件を定義する。この定義された中間条
件、すなわち内部メモリを条件表の要素としてさらに使
うことにより、さらに複雑な定義が可能となる。
The condition table is set by the program creator while looking at a list of input / output signals and a program specification describing the sequence control specifications. After the setting, the sequence program is automatically generated by software developed in advance based on the information in the condition table. In this condition table, all states of the defined elements are connected by an AND condition, and when the condition of the condition table is true, it is defined as when the condition is satisfied, and when it is false, it is defined as when the condition is not satisfied. The definition of the OR condition is defined by a method of creating a plurality of definition tables of the same control target. That is, in the condition table, all of the states of the defined elements are connected by an AND condition, and between the condition tables is connected by an OR condition. By defining in this manner, the operating conditions of AND and OR of the same control target can be defined. For complex conditions, an intermediate condition is defined by designating an internal memory as a control target. By further using this defined intermediate condition, that is, the internal memory as an element of the condition table, a more complicated definition becomes possible.

【0013】次に図1の画面の変化例を図2に示す。図
2において、31は制御対象21を指定するために、右
のリストボタン21aを押すとあらかじめ登録された制
御対象の一覧表が表示された状態である。この一覧表の
中から例えばマウスで制御対象21を選択して入力す
る。32は要素23を指定するために、右のリストボタ
ン23aをマウスで選択するとあらかじめ登録された制
御条件となる要素の一覧表が表示された状態である。こ
の一覧表の中からマウスで対象要素を選択して入力す
る。33は要素23の状態を指定するために、右のリス
トボタン25aをマウスで選択すると各要素の状態のリ
ストが出てきた状態であり、マウスで状態を選択して入
力する。34は右のリストボタン34aをマウスで選択
すると条件成立時に制御対象の状態を指定するためのリ
ストが表示された状態であり、マウスでこのリストの中
から制御対象の状態を選択して入力する。
Next, FIG. 2 shows an example of a change of the screen of FIG. In FIG. 2, reference numeral 31 denotes a state in which a list of control objects registered in advance is displayed when the right list button 21a is pressed to specify the control object 21. The control target 21 is selected and input from the list, for example, with a mouse. Reference numeral 32 denotes a state in which, when the right list button 23a is selected with a mouse in order to specify the element 23, a list of elements which are control conditions registered in advance is displayed. Select and enter the target element from this list with the mouse. Reference numeral 33 denotes a state in which when the right list button 25a is selected with the mouse to specify the state of the element 23, a state list of each element comes out. Reference numeral 34 denotes a state in which when the right list button 34a is selected with the mouse, a list for specifying the state of the control target is displayed when the condition is satisfied, and the state of the control target is selected from the list with the mouse and input. .

【0014】以上のように、本実施の形態1によれば、
条件表を使用したシーケンサプログラムの作成方法とな
り、入出力信号名(例X0001)をキーボードから5
文字入力する代わりに、要素対象のリストから必要項目
を選択するので入力が容易になり、また入力ミスが減
る。また、一般的な条件表であるため、ラダーシーケン
スの専門知識がなくてもシーケンサプログラムを作成で
きる。
As described above, according to the first embodiment,
It becomes a method of creating a sequencer program using a condition table, and input / output signal names (example X0001)
Instead of inputting characters, necessary items are selected from a list of element objects, so that input is facilitated and input errors are reduced. In addition, since the condition table is a general condition table, a sequencer program can be created without specialized knowledge of the ladder sequence.

【0015】実施の形態2.図1の実施の形態1では定
義対象をリストから選択する方法を示したが、本実施の
形態2においては入力信号を選択する替わりに直接キー
ボードから入力信号名称(例X0004)を入力する方
法でもよい。こうすることによりリストからの選択より
速く対象を入力できる場合がある。例えば、リスト中に
選択対象が多い場合には実施の形態1ではリスト表示を
スクロールして対象を見ることになり、時間がかかる
が、このような場合に本実施の形態2のように直接キー
ボードから対象を入力すれば、速く選択入力できる。
Embodiment 2 Although the first embodiment of FIG. 1 shows a method of selecting a definition target from a list, in the second embodiment, a method of directly inputting an input signal name (eg, X0004) from a keyboard instead of selecting an input signal is also used. Good. By doing so, the target may be input faster than selecting from the list. For example, when there are many selection targets in the list, in the first embodiment, the list display is scrolled to see the targets, and it takes time, but in such a case, the keyboard is directly used as in the second embodiment. If you input an object from, you can select and input quickly.

【0016】実施の形態3.図3は実施の形態3に係る
プログラム作成方法によるシーケンサプログラム作成画
面を示す図である。図3において、41,51はシーケ
ンサプログラム作成画面上の条件定義表である。条件定
義表41において、42は制御対象の入力エリア、43
は同一制御対象について複数の条件表があるときに画面
表示されている条件表のNo.と条件表の全数を示すエ
リア、44はどんな条件の時に制御対象をどの状態に制
御するかの定義付けを行なう条件表である。この条件表
44は、制御対象を制御する条件となる要素を設定する
入力エリア45,46と、この入力エリア45,46に
設定された要素の状態を指定するための入力エリア4
7,48と、条件の成立時の制御対象の状態を指定する
ための入力エリア49と、条件の不成立時の制御対象の
状態を指定するための入力エリア50とを有している。
シーケンサプログラム作成画面上の条件定義表51にお
いて、52は制御対象の入力エリア、53は同一制御対
象について複数の条件表があるときに画面表示されてい
る条件表のNo.と条件表の全数を示すエリア、54は
条件表である。この条件表54は、条件表44と同様
な、入力エリア55,56と入力エリア57,58と入
力エリア59と入力エリア60とを有している。また,
図3において、63は制御対象Y0011のONとなる
条件であり、条件表44,54に対応している。前述し
た図1の実施の形態1では条件表の各要素はAND条件
で結ばれるが、本実施の形態3では条件表の各要素はO
R条件で結ばれるようにして、条件表と条件表の間をA
ND条件で結ぶようにしている。このようにすることに
より、条件の定義がOR条件主体の定義の場合に同一条
件表のシート内で条件を定義できる場合が多くなり、条
件表のシート枚数を少なくでき、省力化が図れる。
Embodiment 3 FIG. 3 is a diagram showing a sequencer program creation screen according to the program creation method according to the third embodiment. In FIG. 3, reference numerals 41 and 51 denote condition definition tables on a sequencer program creation screen. In the condition definition table 41, reference numeral 42 denotes an input area to be controlled;
Is the No. of the condition table displayed on the screen when there are a plurality of condition tables for the same control target. And an area indicating the total number of condition tables, and 44 is a condition table for defining under what condition the control target is controlled to which state. The condition table 44 includes input areas 45 and 46 for setting elements serving as conditions for controlling a control target, and an input area 4 for designating the states of the elements set in the input areas 45 and 46.
7, 48, an input area 49 for designating the state of the control target when the condition is satisfied, and an input area 50 for designating the state of the control target when the condition is not satisfied.
In the condition definition table 51 on the sequencer program creation screen, reference numeral 52 denotes an input area of a control target, and reference numeral 53 denotes a condition table No. displayed on the screen when there are a plurality of condition tables for the same control target. And an area indicating the total number of condition tables, and 54 is a condition table. The condition table 54 has input areas 55 and 56, input areas 57 and 58, an input area 59, and an input area 60 similar to the condition table 44. Also,
In FIG. 3, reference numeral 63 denotes a condition for turning on the control target Y0011, which corresponds to the condition tables 44 and 54. In Embodiment 1 of FIG. 1 described above, each element of the condition table is connected by an AND condition. In Embodiment 3, however, each element of the condition table is O
The condition table is connected by the R condition so that A
The connection is made under the ND condition. By doing so, in the case where the definition of the condition is mainly the OR condition, the condition can be often defined in the sheets of the same condition table, the number of sheets in the condition table can be reduced, and labor can be saved.

【0017】実施の形態4.図1では条件表の各要素の
状態をON,OFFとしたが、ONからOFF、または
OFFからONへ状態が切り替わった時の過渡状態も状
態として定義できるようにする方法でもよい。例えば図
1において、入力エリア25にON/OFFなどを表示
すれば、ONからOFFに切り替わった時の過渡状態を
示すことになる。この方法では、より微妙なタイミング
での制御を定義できるようになる。
Embodiment 4 In FIG. 1, the states of the respective elements of the condition table are set to ON and OFF. However, a method may also be used in which a transient state when the state is switched from ON to OFF or from OFF to ON can be defined as a state. For example, in FIG. 1, displaying ON / OFF or the like in the input area 25 indicates a transient state when switching from ON to OFF. With this method, it is possible to define control at a more subtle timing.

【0018】実施の形態5.図4は実施の形態5に係る
プログラム作成方法によるシーケンサプログラム作成画
面を示す図である。図4において、71は条件定義表、
72は制御対象の入力エリアでこの場合Y0012が選
択されている。条件表75内の73はその制御対象Y0
012を制御するための条件を定義する入力エリアであ
り、各要素を定義している。74は制御対象Y0012
のONとなる条件であり、条件定義表71に対応したも
のである。実施の形態1では同一制御対象に対して、条
件表を複数枚定義する方法であるが、本実施の形態5で
は、表形式での定義にして横方向に各要素の状態のAN
D条件を定義して、縦方向はそのAND条件のOR条件
を定義する方法として条件表を1枚にまとめたものであ
る。したがって、本実施の形態5によれば、1つの制御
対象に対して同じ条件が多くなる場合に条件を定義する
ことが容易になる。
Embodiment 5 FIG. 4 is a diagram showing a sequencer program creation screen according to the program creation method according to the fifth embodiment. In FIG. 4, 71 is a condition definition table,
Reference numeral 72 denotes an input area to be controlled, in which Y0012 is selected in this case. 73 in the condition table 75 is the control target Y0
This is an input area for defining conditions for controlling 012, and defines each element. 74 is a control target Y0012
, And corresponds to the condition definition table 71. In the first embodiment, a plurality of condition tables are defined for the same control target. In the fifth embodiment, the table form is used to define the AN of the state of each element in the horizontal direction.
The D condition is defined, and the vertical direction is a method in which the OR condition of the AND condition is defined on a single condition table. Therefore, according to the fifth embodiment, it becomes easy to define a condition when the same condition increases for one control target.

【0019】[0019]

【発明の効果】以上のように第1の発明によれば、条件
表を用いてシーケンサのプログラムを作成するようにし
たので、グラフィカルユーザーインターフェースが可能
となり、これによりプログラム設計時間の短縮が図れ、
また、簡単な条件表の組み合わせで複雑な条件を定義し
て容易にシーケンサのプログラムを作成できるととも
に、ラダーシーケンスの知識がなくても品質の高いシー
ケンサのプログラムを容易に作成できるという効果が得
られる。
As described above, according to the first aspect of the present invention, a sequencer program is created using a condition table, so that a graphical user interface becomes possible, thereby shortening the program design time.
In addition, it is possible to easily create a sequencer program by defining a complex condition by combining a simple condition table and easily create a high-quality sequencer program without knowledge of the ladder sequence. .

【0020】第2の発明によれば、条件表は、制御対象
を制御する条件となる要素を設定する入力エリアと、こ
の入力エリアに設定された要素の状態を指定するための
入力エリアと、条件の成立時/不成立時の制御対象の状
態を指定するための入力エリアとを有して構成したの
で、第1の発明の効果を達成できる条件表を提供できる
という効果が得られる。
According to the second aspect, the condition table includes an input area for setting an element serving as a condition for controlling the controlled object, an input area for designating a state of the element set in the input area, An input area for designating the state of the control target when the condition is satisfied / unsatisfied is provided, so that it is possible to provide a condition table that can achieve the effects of the first invention.

【0021】第3の発明によれば、条件表の各要素はO
R条件で結び、条件表と条件表の間をAND条件で結ぶ
ようにしたので、条件の定義がOR条件主体の定義の場
合に、同一条件表のシート内で条件を定義できる場合が
多くなり、条件表のシート枚数を少なくでき、省力化を
図れるという効果が得られる。
According to the third invention, each element of the condition table is O
Since the condition table is connected by the R condition and the condition table is connected by the AND condition, when the condition definition is mainly defined by the OR condition, the condition can often be defined in the sheet of the same condition table. Thus, the number of sheets in the condition table can be reduced, and the effect of saving labor can be obtained.

【0022】第4の発明によれば、条件表の各要素の状
態を、切り替わった時の過渡状態も状態として定義する
ようにしたので、より微妙なタイミングでの制御を定義
できるようになるという効果が得られる。
According to the fourth invention, the state of each element of the condition table is defined as a state when a transition is made, so that control at more delicate timing can be defined. The effect is obtained.

【0023】第5の発明によれば、複数の条件表を表示
画面上に縦横に配列し、横方向に各要素の状態のAND
条件を定義し、縦方向はAND条件で結ばれた各要素の
OR条件を定義するようにしたので、1つの制御対象に
対して同じ条件が多くなる場合に条件を定義することが
容易になるという効果が得られる。
According to the fifth aspect, a plurality of condition tables are arranged vertically and horizontally on the display screen, and the AND of the state of each element in the horizontal direction is provided.
Since the condition is defined and the OR condition of each element connected by the AND condition is defined in the vertical direction, it becomes easy to define the condition when the same condition increases for one control target. The effect is obtained.

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

【図1】 この発明の実施の形態1に係るプログラム作
成方法によるシーケンサプログラム作成画面を示す図で
ある。
FIG. 1 is a diagram showing a sequencer program creation screen by a program creation method according to Embodiment 1 of the present invention.

【図2】 上記実施の形態1において画面の変化状態を
示す図である。
FIG. 2 is a diagram showing a change state of a screen in the first embodiment.

【図3】 この発明の実施の形態3に係るプログラム作
成方法によるシーケンサプログラム作成画面を示す図で
ある。
FIG. 3 is a diagram showing a sequencer program creation screen by a program creation method according to Embodiment 3 of the present invention.

【図4】 この発明の実施の形態5に係るプログラム作
成方法によるシーケンサプログラム作成画面を示す図で
ある。
FIG. 4 is a diagram showing a sequencer program creation screen by a program creation method according to Embodiment 5 of the present invention.

【図5】 従来のプログラム作成方法によるシーケンサ
プログラム作成画面を示す図である。
FIG. 5 is a diagram showing a sequencer program creation screen according to a conventional program creation method.

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

9,41,51,71 条件定義表、21,23,2
4,25,26,27,28,42,45〜50,5
2,55〜60,72,73 入力エリア、23a,2
5a,34a リストボタン、22,44,54 条件
表。
9, 41, 51, 71 Condition definition table 21, 23, 2
4,25,26,27,28,42,45-50,5
2, 55-60, 72, 73 input area, 23a, 2
5a, 34a List button, 22, 44, 54 Condition table.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 どんな条件の時に制御対象をどの状態に
制御するかの定義付けを行なう条件表を表示画面に表示
し、その条件表を用いてシーケンサのプログラムを作成
することを特徴とするプログラム作成方法。
1. A program for displaying, on a display screen, a condition table for defining under what conditions a control target is controlled to which state, and using the condition table to create a sequencer program How to make.
【請求項2】 条件表は、制御対象を制御する条件とな
る要素を設定する入力エリアと、この入力エリアに設定
された要素の状態を指定するための入力エリアと、条件
の成立時/不成立時の制御対象の状態を指定するための
入力エリアとを有することを特徴とする請求項第1項記
載のプログラム作成方法。
2. The condition table includes an input area for setting an element serving as a condition for controlling a control target, an input area for specifying a state of an element set in the input area, and when the condition is satisfied / not satisfied. 2. The program creating method according to claim 1, further comprising an input area for specifying a state of a control target at the time.
【請求項3】 条件表の各要素はOR条件で結び、条件
表と条件表の間をAND条件で結ぶことを特徴とする請
求項第1項又は第2項記載のプログラム作成方法。
3. The method according to claim 1, wherein each element of the condition table is connected by an OR condition, and the condition table and the condition table are connected by an AND condition.
【請求項4】 条件表の各要素の状態を、切り替わった
時の過渡状態も状態として定義することを特徴とする請
求項第1項又は第2項記載のプログラム作成方法。
4. The program creating method according to claim 1, wherein a state of each element of the condition table is defined as a state when a transition is made.
【請求項5】 複数の条件表を表示画面上に縦横に配列
し、横方向に各要素の状態のAND条件を定義し、縦方
向はAND条件で結ばれた各要素のOR条件を定義する
ことを特徴とする請求項第1項又は第2項記載のプログ
ラム作成方法。
5. A plurality of condition tables are arranged vertically and horizontally on a display screen, an AND condition of the state of each element is defined in a horizontal direction, and an OR condition of each element connected by the AND condition is defined in a vertical direction. 3. The method according to claim 1, wherein the program is created.
JP8321930A 1996-12-02 1996-12-02 Method for generating program Pending JPH10161713A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8321930A JPH10161713A (en) 1996-12-02 1996-12-02 Method for generating program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8321930A JPH10161713A (en) 1996-12-02 1996-12-02 Method for generating program

Publications (1)

Publication Number Publication Date
JPH10161713A true JPH10161713A (en) 1998-06-19

Family

ID=18138013

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8321930A Pending JPH10161713A (en) 1996-12-02 1996-12-02 Method for generating program

Country Status (1)

Country Link
JP (1) JPH10161713A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005128735A (en) * 2003-10-23 2005-05-19 Daikin Ind Ltd Specification preparation support device, specification preparation support system, specification preparation support program, specification preparation support method, server device and menu exhibition method
KR100922176B1 (en) * 2005-01-26 2009-10-19 비르트겐 게엠베하 Base element for Chisel Holder System
JP2010186355A (en) * 2009-02-13 2010-08-26 Hitachi Ltd Information control system and information control method
JP2014225284A (en) * 1999-10-18 2014-12-04 フィッシャー−ローズマウント システムズ,インコーポレイテッド Process control system and method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014225284A (en) * 1999-10-18 2014-12-04 フィッシャー−ローズマウント システムズ,インコーポレイテッド Process control system and method
JP2005128735A (en) * 2003-10-23 2005-05-19 Daikin Ind Ltd Specification preparation support device, specification preparation support system, specification preparation support program, specification preparation support method, server device and menu exhibition method
KR100922176B1 (en) * 2005-01-26 2009-10-19 비르트겐 게엠베하 Base element for Chisel Holder System
JP2010186355A (en) * 2009-02-13 2010-08-26 Hitachi Ltd Information control system and information control method

Similar Documents

Publication Publication Date Title
JP2006300818A (en) Signal generator, and method of displaying parameter edition screen layer
JPH10161713A (en) Method for generating program
KR950702718A (en) Intelligent Graphic Control Panel and Highlight Control
JP2001177846A (en) White balance adjustment method and its system, and image display device
JPS62128369A (en) Enlarged image displaying method
JPH04199371A (en) Picture display device
JPH05177511A (en) Numerical control device
JPH09167071A (en) Device and method for automatic editing of display menu
JPS5846426A (en) Code input equipment
JPH0983894A (en) Video signal display device
JPH0468473A (en) Display control method
JPH02294687A (en) Cursor controller
JPH0654442B2 (en) Programming device
JPH03282902A (en) Program maintenance tool for programmable controller
JPH07219948A (en) Document processor
JPH02297213A (en) Document preparation device
JPH02188787A (en) Cursor display controller
JPS6129907A (en) Programming device of programmable controller
JPS61273619A (en) Data input circuit
JPH02108106A (en) Numerical controller
JPH05265962A (en) Graph preparing equipment
JPH07325903A (en) Screen generation support system
JPH0690957B2 (en) Lighting control device
JPH0690959B2 (en) Lighting equipment
JPH02267639A (en) Remote display system for operation state