JPH0573116A - Program controller - Google Patents

Program controller

Info

Publication number
JPH0573116A
JPH0573116A JP26267891A JP26267891A JPH0573116A JP H0573116 A JPH0573116 A JP H0573116A JP 26267891 A JP26267891 A JP 26267891A JP 26267891 A JP26267891 A JP 26267891A JP H0573116 A JPH0573116 A JP H0573116A
Authority
JP
Japan
Prior art keywords
program
input
time
order
setting order
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
JP26267891A
Other languages
Japanese (ja)
Inventor
Mitsufumi Miyata
三史 宮田
Yoshiaki Matsui
義明 松井
Takakazu Matsuyama
敬和 松山
Hidekazu Sumita
英和 住田
Yoshinori Yasui
芳則 安井
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.)
Fuji Electric Co Ltd
Hitachi Ltd
Aichi Electric Co Ltd
Original Assignee
Fuji Electric Co Ltd
Hitachi Ltd
Aichi Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Electric Co Ltd, Hitachi Ltd, Aichi Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP26267891A priority Critical patent/JPH0573116A/en
Publication of JPH0573116A publication Critical patent/JPH0573116A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To solve a trouble for managing a program attending on the elimination of a program step or labor and time for carrying-down the following step in the case of adding the step. CONSTITUTION:In eliminating the step, the presence of a step to be erased is judged (S1) and in the case of the presence of such a step, the step number is selected (S2). Then, in the setting order (time) input of the step, step eliminating data regardless of the time (such as numerical value 99, for example,) is inputted (S3) and matching is completed (S4). In the case of adding the step, prescribed time and control contents are inputted to the step inputting the step erase data and afterwards, the steps are rearranged in the time order as necessary to be executed.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はプログラム制御装置に関
し、詳しくは、予め入力された設定順序(例えば時刻
順)のステップに従い、被制御対象に対して所定の制御
を行うためのプログラム制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a program control device, and more particularly to a program control device for performing a predetermined control on an object to be controlled according to a step of a preset order (e.g., time order) input in advance. ..

【0002】[0002]

【従来の技術】図4はこの種のプログラム制御装置と被
制御対象との関係を示す基本的な構成図である。図にお
いて、1はプログラム制御装置、2はこの制御装置1に
設けられた設定値入力部、3は被制御対象である。ここ
で、プログラム制御装置1は予め入力された設定順序、
例えば時刻順のプログラムステップ(設定枠)ごとに、
被制御対象3に対し所定の制御を行うものであり、設定
値入力部2はプログラムのステップ番号やその実行時
刻、制御内容等を設定し、入力するためのものである。
2. Description of the Related Art FIG. 4 is a basic block diagram showing the relationship between a program control device of this type and a controlled object. In the figure, 1 is a program control device, 2 is a set value input unit provided in the control device 1, and 3 is a controlled object. Here, the program control device 1 uses the preset order of input,
For example, for each program step (setting frame) in time order,
The set value input unit 2 is for performing a predetermined control on the controlled object 3, and for setting and inputting a step number of the program, its execution time, control contents, and the like.

【0003】次に、プログラム制御装置1による制御例
を、図5に示すプログラムを参照しつつ以下に説明す
る。この図において、プログラム中のステップは予め所
定数Nが用意されており、これら全ステップに対して設
定値入力部2により設定が行われる。各ステップは、実
行するべき制御の内容を設定順序としての時刻順に対応
させたもので、ステップ1では時刻1:00から制御A
を、ステップ2では時刻5:00から制御Bを、ステッ
プ3では時刻8:00から制御Dを、……というように
被制御対象3に対する制御が行われる。
Next, an example of control by the program control device 1 will be described below with reference to the program shown in FIG. In this figure, a predetermined number N of steps in the program are prepared in advance, and the setting value input unit 2 sets all of these steps. Each step corresponds to the contents of the control to be executed in the order of time as a setting order. In step 1, the control A starts from time 1:00.
In step 2, the control B is performed from time 5:00, in step 3, the control D is performed from time 8:00, and so on.

【0004】[0004]

【発明が解決しようとする課題】ここで、図5に示すプ
ログラムにつき説明する。まず、時刻順の途中のステッ
プ、例えばステップ2を削除したい場合、安易な方法と
しては、ステップ2における時刻5:00からの制御内
容をBからAに変更すればよい。これにより、実質的に
ステップ1による制御Aがステップ3の時刻8:00ま
で続くことになり、それまでのステップ2による制御B
を削除したのと同一の結果になる。しかるに、これによ
ると以後、不必要なステップ2が存在することになり、
プログラム管理が難しくなるという問題がある。
The program shown in FIG. 5 will be described below. First, if it is desired to delete a step in the middle of the time sequence, for example, step 2, an easy method is to change the control content from time 5:00 in step 2 from B to A. As a result, the control A according to step 1 is substantially continued until the time 8:00 in step 3, and the control B according to step 2 until then is continued.
Has the same result as deleting. However, according to this, there is an unnecessary step 2 thereafter,
There is a problem that program management becomes difficult.

【0005】次に、時刻順の途中に別のステップを挿入
する場合を考えてみる。例えば、時刻3:00から制御
Cを行うステップを挿入する場合を想定すると、時刻の
前後からいってこのステップを新たなステップ2とし、
従前のステップ2〜Nを順に繰り下げる必要が生じる。
このようにステップを繰り下げる作業はオペレータの操
作によらなくてはならず、その処理は極めて煩雑であっ
た。
Next, consider the case where another step is inserted in the middle of the time sequence. For example, assuming a case where a step of performing control C from time 3:00 is inserted, this step is called a new step 2 from before and after the time,
It is necessary to carry out the previous steps 2 to N in order.
In this way, the work of moving down the steps must be performed by the operation of the operator, and the processing is extremely complicated.

【0006】本発明は上記問題点を解決するためになさ
れたもので、その目的とするところは、プログラム管理
の困難さや煩雑な作業を解消し、ステップの削除や追加
が容易に行えるようにしたプログラム制御装置を提供す
ることにある。
The present invention has been made to solve the above problems, and its purpose is to eliminate the difficulty and complicated work of program management, and to make it easy to delete or add steps. To provide a program control device.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するた
め、第1の発明は、設定順序に応じたプログラムステッ
プごとに制御を順次行なうプログラム制御装置におい
て、削除するステップの設定順序入力に、この設定順序
とは関係のないステップ削除データを入力する手段と、
ステップ削除データが入力されているステップを含むす
べてのステップを必要に応じ自動的に並べ替えると共
に、ステップ削除データが入力されているステップを除
く他のステップを設定順序に従って実行する手段とを備
えたものである。
In order to achieve the above object, the first aspect of the present invention uses a program control device for sequentially performing control for each program step according to the setting order, in which the setting order of the steps to be deleted is input. A means for inputting step deletion data unrelated to the setting order,
All steps including the step in which the step deletion data is input are automatically rearranged as necessary, and means for executing other steps except the step in which the step deletion data is input in the set order is provided. It is a thing.

【0008】第2の発明は、設定順序とは関係のないス
テップ削除データが設定順序入力に入力されているステ
ップを検索する手段と、ステップ削除データが入力され
ているステップを追加するべきステップとして所定の設
定順序及び制御内容を入力する手段と、すべてのステッ
プを必要に応じ自動的に並べ替えると共に設定順序に従
って実行する手段とを備えたものである。
A second aspect of the present invention provides means for retrieving a step in which step deletion data unrelated to the setting order is input to the setting order input, and steps for adding the step in which the step deletion data is input. It is provided with means for inputting a predetermined setting order and control contents, and means for automatically rearranging all steps as necessary and executing them according to the setting order.

【0009】[0009]

【作用】第1の発明によれば、削除するべきステップの
設定順序入力に、この設定順序(例えば時刻順)とは関
係のない数値やコード等のステップ削除データを入力す
る。プログラム制御装置はすべてのステップの設定順序
を参照し、その中で上記ステップ削除データが入力され
ているステップを例えば最終ステップの後に退避させ、
これ以外のステップを自動的に順次繰り上げると共に、
設定順序に従って対応する制御内容を実行する。
According to the first aspect of the present invention, step deletion data such as numerical values and codes which are not related to the setting order (for example, time order) is input to the setting order input of steps to be deleted. The program control device refers to the setting order of all steps, and saves the step in which the step deletion data is input, for example, after the final step,
While automatically advancing the steps other than this,
The corresponding control contents are executed according to the setting order.

【0010】第2の発明によれば、まず設定順序入力に
上記ステップ削除データが入力されているステップを検
索し、このステップを新たに追加するべきステップとし
て所定の設定順序及び制御内容を入力する。プログラム
制御装置は、このステップを含むすべてのステップにつ
いて、設定順序どおりになるように必要に応じてステッ
プの並び替えを行なったうえ、設定順序に従ってすべて
のステップにつき対応する制御内容を実行する。
According to the second aspect of the invention, first, a step in which the step deletion data is input in the setting order input is searched, and a predetermined setting order and control contents are input as a step to be newly added. .. The program control device rearranges all the steps including this step as necessary so as to be in the set order, and then executes the control content corresponding to all the steps according to the set order.

【0011】[0011]

【実施例】以下、図に沿って第1の発明の実施例を説明
する。図1はこの実施例においてプログラム中のあるス
テップを削除する場合の処理内容を示すフローチャート
である。まず、当初のプログラムのステップが前述した
図5のとおりであり、前記同様にこのうちステップ2を
削除する場合を考える。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the first invention will be described below with reference to the drawings. FIG. 1 is a flowchart showing the processing contents when a certain step in the program is deleted in this embodiment. First, consider a case in which the initial program steps are as shown in FIG. 5 and step 2 is deleted in the same manner as described above.

【0012】本実施例では、始めに削除したいステップ
の有無を判断する(図1のS1)、削除したいステップ
がある場合(S1 YES)には、オペレータがステッ
プ番号を選択する(S2)。この例ではステップ番号と
して2を選択する。なお、削除するステップがない場合
(S1 NO)には、そのまま処理を終了する。
In this embodiment, first, it is determined whether or not there is a step to be deleted (S1 in FIG. 1), and if there is a step to be deleted (S1 YES), the operator selects a step number (S2). In this example, 2 is selected as the step number. If there is no step to be deleted (NO in S1), the process is ended as it is.

【0013】削除するステップ番号として2を選択した
後、図2に示すごとくステップ2の設定順序入力すなわ
ち時刻入力に、時刻とは関係のないデータ、例えば数値
「99」をステップ削除データとして入力する(S
3)。このステップ削除データは、時刻とは無関係のも
のであれば任意の数値またはコードでよい。なお、ここ
で「データ」とは数値及びコードを含むものである。こ
のステップ削除データの入力により整定作業が完了する
(S4)。
After selecting 2 as the step number to be deleted, as shown in FIG. 2, data not related to the time, for example, the numerical value "99" is input as the step deletion data in the setting order input, that is, the time input in step 2. (S
3). This step deletion data may be any numerical value or code as long as it has nothing to do with time. It should be noted that the "data" used herein includes numerical values and codes. The input of the step deletion data completes the settling operation (S4).

【0014】オペレータにより従前のステップ2の設定
順序が時刻とは無関係なステップ削除データ「99」に
変更されると、プログラム制御装置ではこのステップを
削除するべきものとして判断し、対応する制御内容を無
視する。また、このステップを最終ステップ(従前のス
テップN)の後に退避させると共に、従前のステップ3
以後の各ステップを新たにステップ2以後のものとして
認識し、図2のステップ1に続けてステップ2(従前の
ステップ3)、ステップ3(同ステップ4)、……と自
動的に並び替えて順次実行する。
When the operator changes the previous setting sequence of step 2 to the step deletion data "99" irrelevant to the time, the program control device judges that this step should be deleted, and sets the corresponding control content. ignore. Also, this step is evacuated after the final step (previous step N), and the previous step 3
Each subsequent step is newly recognized as a step after step 2, and after step 1 in FIG. 2, step 2 (previous step 3), step 3 (step 4), and so on are automatically rearranged. Execute sequentially.

【0015】次に、図3は第2の発明の実施例におい
て、あるステップをプログラム中に追加する場合の処理
内容を示すフローチャートである。ステップの追加は、
上述した処理によりステップが削除されているプログラ
ムを前提として、設定順序入力にステップ削除データで
ある数値「99」が入力されているステップに、追加し
たい任意の時刻及び制御内容を入力することにより実行
される。
Next, FIG. 3 is a flowchart showing the processing contents when a certain step is added to the program in the embodiment of the second invention. Add steps
Executed by entering the desired time and control content to be added to the step in which the numerical value "99" that is the step deletion data is input in the setting order input, based on the program in which the step is deleted by the above processing To be done.

【0016】すなわち図3において、プログラム中にス
テップを追加するか否かを判断し(S11)、追加する
場合(S11 YES)には、ステップ削除データ「9
9」が入力されているステップを選択する(S12)。
そして、設定したい任意の時刻(例えば5:00)及び
制御内容(例えばB)を入力する(S13)。これによ
り整定作業が完了する(S14)。
That is, in FIG. 3, it is judged whether or not a step is added to the program (S11), and when it is added (S11 YES), the step deletion data "9" is added.
The step in which "9" is input is selected (S12).
Then, an arbitrary time (for example, 5:00) and a control content (for example, B) to be set are input (S13). This completes the settling operation (S14).

【0017】このステップの追加処理により、全ステッ
プが必ずしも時刻順に並ばない可能性があり、各ステッ
プの実行時に順序を判定する処理が必要になる。しかる
に、ステップの追加が行なわれた際に、プログラム制御
装置自身がプログラムの各ステップの設定順序(時刻)
を自動的に読み出して各ステップを時刻順に並べ替える
処理を行なうことにより、各ステップの実行時に順序を
判定する処理が不要になり、プログラム管理も容易にな
る。
Due to the additional processing of this step, there is a possibility that all the steps are not necessarily arranged in the order of time, and the processing for determining the order is required when each step is executed. However, when a step is added, the program control device itself sets the order of the steps of the program (time).
By automatically reading and re-arranging each step in order of time, the process of determining the order when executing each step becomes unnecessary, and program management becomes easy.

【0018】なお、本発明は、例えば負荷時タップ切換
変圧器(LRT)をディジタル的に制御するLR制御盤
等に適用されるものであるが、これ以外にも各種のプロ
グラム制御装置に適用することが可能である。
The present invention is applied to, for example, an LR control panel that digitally controls a load tap switching transformer (LRT), but is also applied to various program control devices. It is possible.

【0019】[0019]

【発明の効果】以上のように第1の発明によれば、削除
したいステップの設定順序入力にこのステップとは関係
のないステップ削除データを入力するだけで所望のステ
ップが削除されるため、従来のように不要なステップが
残ることによりプログラム管理が煩雑になるといった不
都合がない。また、第2の発明によれば、ステップ削除
データを有するステップに所定の設定順序及び制御内容
を入力するだけでステップの追加を行なうことができ、
その後、ステップを設定順序に従って自動的に並べ替え
ることでオペレータの手間を解消することができる。更
に、設定順序にとらわれることなくステップの削除及び
追加が可能であるから、操作性が向上すると共に処理速
度が向上する等の効果がある。
As described above, according to the first aspect of the invention, the desired step is deleted by simply inputting step deletion data unrelated to this step to the setting order input of the step to be deleted. As described above, there is no inconvenience that program management becomes complicated due to remaining unnecessary steps. Further, according to the second invention, it is possible to add a step only by inputting a predetermined setting order and control content to the step having the step deletion data,
After that, the steps can be automatically rearranged according to the set order to eliminate the trouble of the operator. Furthermore, since steps can be deleted and added without being restricted by the setting order, operability is improved and processing speed is improved.

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

【図1】第1の発明の一実施例を示すフローチャートで
ある。
FIG. 1 is a flowchart showing an embodiment of the first invention.

【図2】図1の実施例において削除するステップの説明
図である。
FIG. 2 is an explanatory diagram of steps to be deleted in the embodiment of FIG.

【図3】第2の発明の一実施例を示すフローチャートで
ある。
FIG. 3 is a flowchart showing an embodiment of the second invention.

【図4】プログラム制御装置と被制御対象との関係を示
す基本的な構成図である。
FIG. 4 is a basic configuration diagram showing a relationship between a program control device and a controlled object.

【図5】プログラムのステップの説明図である。FIG. 5 is an explanatory diagram of steps of a program.

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

1 プログラム制御装置 2 設定値入力部 3 被制御対象 1 Program control device 2 Set value input section 3 Controlled object

フロントページの続き (72)発明者 松井 義明 茨城県日立市国分町1丁目1番1号 株式 会社日立製作所国分工場内 (72)発明者 松山 敬和 茨城県日立市国分町1丁目1番1号 株式 会社日立製作所国分工場内 (72)発明者 住田 英和 愛知県春日井市愛知町1番地 愛知電機株 式会社内 (72)発明者 安井 芳則 愛知県春日井市愛知町1番地 愛知電機株 式会社内Front page continuation (72) Inventor Yoshiaki Matsui 1-1-1, Kokubuncho, Hitachi City, Ibaraki Hitachi Kokubun Factory, Ltd. (72) Inventor Keikazu Matsuyama 1-1-1, Kokubuncho, Hitachi City, Ibaraki Prefecture Stock company Hitachi Kokubun factory (72) Inventor Hidekazu Sumita 1 Aichi-cho, Aichi-cho, Kasugai-shi, Aichi Prefecture In-house (72) Inventor Yoshinori Yasui 1-ichi, Aichi-cho, Kasugai-shi, Aichi

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 設定順序に応じたプログラムステップご
とに制御を順次行なうプログラム制御装置において、 削除するステップの設定順序入力に、この設定順序とは
関係のないステップ削除データを入力する手段と、 ステップ削除データが入力されているステップを含むす
べてのステップを必要に応じ自動的に並べ替えると共
に、ステップ削除データが入力されているステップを除
く他のステップを設定順序に従って実行する手段と、を
備えたことを特徴とするプログラム制御装置。
1. A program control device for sequentially performing control for each program step according to a setting order, a means for inputting step deletion data unrelated to the setting order to a setting order input of a step to be deleted, and a step. All steps including the step in which the deleted data is input are automatically rearranged as necessary, and a step for executing other steps except the step in which the deleted data is input in the set order is provided. A program control device characterized by the above.
【請求項2】 設定順序に応じたプログラムステップご
とに制御を順次行なうプログラム制御装置において、 設定順序とは関係のないステップ削除データが設定順序
入力に入力されているステップを検索する手段と、 ステップ削除データが入力されているステップを追加す
るべきステップとして所定の設定順序及び制御内容を入
力する手段と、 すべてのステップを必要に応じ自動的に並べ替えると共
に設定順序に従って実行する手段と、を備えたことを特
徴とするプログラム制御装置。
2. A program control device for sequentially performing control for each program step according to a setting order, means for searching a step in which step deletion data irrelevant to the setting order is input to the setting order input, and a step. A means for inputting a predetermined setting order and control contents as a step to which a step in which deletion data is input is added, and a means for automatically rearranging all steps as necessary and executing them according to the setting order A program control device characterized by the above.
JP26267891A 1991-09-13 1991-09-13 Program controller Pending JPH0573116A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26267891A JPH0573116A (en) 1991-09-13 1991-09-13 Program controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26267891A JPH0573116A (en) 1991-09-13 1991-09-13 Program controller

Publications (1)

Publication Number Publication Date
JPH0573116A true JPH0573116A (en) 1993-03-26

Family

ID=17379074

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26267891A Pending JPH0573116A (en) 1991-09-13 1991-09-13 Program controller

Country Status (1)

Country Link
JP (1) JPH0573116A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015072479A (en) * 2006-09-29 2015-04-16 リアルディー インコーポレイテッドRealD Inc. Polarization conversion systems for stereoscopic projection, projection systems, and stereoscopic projection method
US9625745B2 (en) 2013-11-15 2017-04-18 Reald Inc. High dynamic range, high contrast projection systems
US9740016B2 (en) 2007-05-09 2017-08-22 Reald Inc. Polarization conversion system and method for projecting polarization encoded imagery

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015072479A (en) * 2006-09-29 2015-04-16 リアルディー インコーポレイテッドRealD Inc. Polarization conversion systems for stereoscopic projection, projection systems, and stereoscopic projection method
US9594298B2 (en) 2006-09-29 2017-03-14 Reald Inc. Polarization conversion systems for stereoscopic projection
US9927691B2 (en) 2006-09-29 2018-03-27 Reald Inc. Polarization conversion systems for stereoscopic projection
US11143948B2 (en) 2006-09-29 2021-10-12 Reald Inc. Polarization conversion systems for stereoscopic projection
US9740016B2 (en) 2007-05-09 2017-08-22 Reald Inc. Polarization conversion system and method for projecting polarization encoded imagery
US10203511B2 (en) 2007-05-09 2019-02-12 Reald Inc. Polarization conversion system and method for projecting polarization encoded imagery
US10739611B2 (en) 2007-05-09 2020-08-11 Reald Inc. 3D projection system
US9625745B2 (en) 2013-11-15 2017-04-18 Reald Inc. High dynamic range, high contrast projection systems

Similar Documents

Publication Publication Date Title
US7515993B2 (en) Robot control apparatus
JPH08137804A (en) Information processor
JPH0573116A (en) Program controller
JP2859214B2 (en) Simplified function selection menu method
JPH05181510A (en) Picture display method for programming device in programmable controller
JPH0221320A (en) Information processor having help function including editing function
JPH0778008A (en) Program device for programmable controller
JPH0475127A (en) Picture input method
JP3011050B2 (en) Pointing confirmation method
JPH0916611A (en) Method and device for controlling data base
JPH08137923A (en) Design data managing system for cad system
JPH0628026B2 (en) Input management method in multi-window
JPH06168090A (en) Window diplay device and menu electing method
JPH0562781B2 (en)
JPH0750480B2 (en) Text data editing device
JP3001597B2 (en) Software production support equipment
JPH04115332A (en) File managing device
JPH05274203A (en) Data processor
JPH05181858A (en) Method and device for editing
JPH0628286A (en) Method and device for controlling communication
JPH0764783A (en) Source code correcting method
JPH07334340A (en) Multiwindow display method
JPH05324633A (en) Word processor
JPH03241450A (en) Time sharing system
JPH04165531A (en) Processing system for actuation line of language processing system program

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19990727