JPS60163104A - Programmable controller with reverse sequence operating function - Google Patents
Programmable controller with reverse sequence operating functionInfo
- Publication number
- JPS60163104A JPS60163104A JP59016014A JP1601484A JPS60163104A JP S60163104 A JPS60163104 A JP S60163104A JP 59016014 A JP59016014 A JP 59016014A JP 1601484 A JP1601484 A JP 1601484A JP S60163104 A JPS60163104 A JP S60163104A
- Authority
- JP
- Japan
- Prior art keywords
- reverse
- instruction
- executed
- forward direction
- stored
- 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
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/05—Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
- G05B19/058—Safety, monitoring
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/10—Plc systems
- G05B2219/13—Plc programming
- G05B2219/13064—Execute reverse sequence
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/10—Plc systems
- G05B2219/13—Plc programming
- G05B2219/13142—Debugging, tracing
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Retry When Errors Occur (AREA)
- Safety Devices In Control Systems (AREA)
- Programmable Controllers (AREA)
Abstract
Description
【発明の詳細な説明】
[発明の技術分野]
本発明は逆順動作機能をもったプログラマブルコントロ
ーラに関するものである。DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a programmable controller with a reverse order operation function.
[発明の技術的背景とその問題点]
プロセスをシーケンス制御する場合に、シーケンスの作
成変更が容易で柔軟性のあるプログラマブルコントロー
ラ(以下PLOと呼ぶ)が一般に使用されるが、プロセ
スに異常が発生した場合に、シーケンスを逆順にたどっ
てプロセスを異常発生前の状態に戻すことがある。[Technical background of the invention and its problems] When controlling a process in sequence, a programmable controller (hereinafter referred to as PLO), which is flexible and easy to create and change sequences, is generally used, but when an abnormality occurs in the process. In some cases, the sequence may be reversed to return the process to the state it was in before the error occurred.
従来は操作を手動に切換え、オペレータがプロセスを逆
順に操作して異常発生前の状態に戻しているが、シーケ
ンスが複雑になると正確に逆順をたどるのは困難である
などの欠点がある。Conventionally, the operation is switched to manual and the operator reverses the process to return to the state before the abnormality occurred, but this has drawbacks such as the difficulty of accurately retracing the sequence when the sequence becomes complex.
[発明の目的]
本発明は、オペレータに負担をか(プることなしにPI
Gのシーケンス出力ステップを正確に逆順にたどる逆順
動作機能つきプログラマブルコントローラを提供するこ
とを目的としている。[Object of the Invention] The present invention provides a method for implementing PI without imposing a burden on the operator.
It is an object of the present invention to provide a programmable controller with a reverse operation function that accurately follows G sequence output steps in reverse order.
[発明の概要コ
本発明は正方向動作命令と一対一に対応する逆方向動作
命令を記憶する逆方向動作命令テーブルと、プログラム
に従って正順動作する正方向動作命令の実行順序を記憶
する正方向動作実行順序記録テーブルを備え、逆順動作
指令に応じて上記正方向動作実行順序記録テーブルに記
憶された正方向動作の順序と逆順に正方向動作に対応す
る逆方向動作を上記逆方向動作命令テーブルから選択し
、これによってオペレータに負担をかけることなく正方
向動作と逆順の方向動作を自動的に実行する逆順動作機
能つきのプログラマブルコントローラである。[Summary of the Invention] The present invention provides a reverse direction operation instruction table that stores reverse direction operation instructions in one-to-one correspondence with forward direction operation instructions, and a forward direction operation instruction table that stores the execution order of the forward direction operation instructions that operate in the forward direction according to a program. A motion execution order recording table is provided, and in response to a reverse motion command, the reverse motion corresponding to the forward motion is executed in the reverse order of the forward motion stored in the forward motion execution order recording table. This is a programmable controller with a reverse operation function that automatically executes forward and reverse operations without placing any burden on the operator.
[発明の実施例] 本発明の一実施例を第1図に示す。[Embodiments of the invention] An embodiment of the present invention is shown in FIG.
第1図Aは正順動作を示すフローチャート、第1図Bは
逆順動作を示すフローチャートである。FIG. 1A is a flowchart showing the forward operation, and FIG. 1B is a flowchart showing the reverse operation.
また第2図は第1図Aのシーケンスプログラムを実行し
た時の正方向動作命令の実行順序記録テーブルであり、
第3図は正方向動作と一対一で対応する方向動作命令を
記憶するテーブルを示している。Further, FIG. 2 is an execution order record table of forward motion commands when the sequence program of FIG. 1A is executed,
FIG. 3 shows a table that stores direction movement commands that correspond one-to-one to forward movement.
第1図Aにおいて、先ずステップ1aで正方向動作命令
1が実行されると共にステップ1bで第2図の正方向動
作実行順序記録テーブルに1が記憶される。In FIG. 1A, first, in step 1a, forward direction motion command 1 is executed, and in step 1b, 1 is stored in the forward direction motion execution order record table of FIG.
次にステップ2a、2bによって正方向動作命令2が実
行されると共に正方向動作実行順序記録テーブルに2が
記憶される。Next, in steps 2a and 2b, forward direction operation command 2 is executed and 2 is stored in the forward direction operation execution order record table.
次のステップ3では、判断命令1によって動作条件の判
断を行い、その結果ステップ4a、4bはバイパスされ
て次のステップ5a、5bに入り、正方向動作命令4が
実行されると共に正方向動作実行順序記録テーブルに4
が記憶される。In the next step 3, the operation condition is determined by the judgment instruction 1, and as a result, steps 4a and 4b are bypassed and the next step 5a and 5b is entered, where the forward direction operation instruction 4 is executed and the forward direction operation is executed. 4 in the order record table
is memorized.
次のステップ6では、判断命令2によって動作条件の判
断を行い、その結果ステップ7a、7bはバイパスされ
ずに正方向動作命令5が実行されると共に正方向動作実
行順序記録テーブルに5が記憶される。In the next step 6, the operating condition is determined by the judgment instruction 2, and as a result, steps 7a and 7b are not bypassed, and the forward direction operation instruction 5 is executed, and 5 is stored in the forward direction operation execution order record table. Ru.
次にステップ8a、8bのプログラムによって正方向動
作命令6が実行されると共に正方向動作実行順序記録テ
ーブルに6が記憶される。Next, forward direction operation command 6 is executed by the programs of steps 8a and 8b, and 6 is stored in the forward direction operation execution order record table.
この状態で異常が発生すると、第2図の正方向動作実行
記録テーブルには、逆順にたどると6 。If an abnormality occurs in this state, 6 will appear in the forward motion execution record table in FIG. 2 if traced in reverse order.
5.4,2.1と記憶されているので、この順序で第3
図の逆方向動作命令テーブルから対応する命令を選択し
、第1図Bに示すようにシーケンスが逆順に実行される
。5.4, 2.1, so the third
A corresponding command is selected from the reverse motion command table shown in the figure, and the sequence is executed in reverse order as shown in FIG. 1B.
第2図の場合はN=5であり、I=5.4.3.2.1
に対応する正方向動作6,5,4,2 。In the case of Figure 2, N=5 and I=5.4.3.2.1
Forward motion corresponding to 6, 5, 4, 2.
1に対応づる逆方向動作命令が順次実行される。The reverse direction operation commands corresponding to 1 are executed sequentially.
各逆方向動作命令を実行する場合に、何らかの補助命令
を実行する必要があれば、各逆方向動作命令にこれらの
補助命令を組合わせて実行することも可能である。If it is necessary to execute some auxiliary instructions when executing each reverse direction operation instruction, it is also possible to execute these auxiliary instructions in combination with each reverse direction operation instruction.
[発明の効果コ
以上説明したように本発明によれば正方向動作命令の実
行順序を記憶しておき、逆順動作が必要な場合には記憶
されている内容を逆順にたどって記憶されている内容に
対応する逆方向動作命令を選択し実行するので複雑なシ
ーケンスでもオペレータに負担をかけること4【り正確
に逆順に動作させることができる。[Effects of the Invention] As explained above, according to the present invention, the order of execution of forward motion commands is stored, and when a reverse motion is required, the stored contents are traced back and stored in reverse order. Since a reverse direction operation command corresponding to the content is selected and executed, even a complicated sequence does not place a burden on the operator, and the operation can be performed accurately in the reverse order.
また第1図のシーケンスプログラムと第3図の逆方向動
作命令テーブルは互に独立しているので、逆方向動作を
容易に変更できるなどのすぐれた効果がある。Furthermore, since the sequence program shown in FIG. 1 and the reverse direction operation command table shown in FIG. 3 are independent from each other, there are excellent effects such as the ability to easily change the reverse direction operation.
第1図A、Bは本発明の一実施例を示すフローチャート
、第2図および第3図はそれぞれ本発明に用いられる正
方向動作実行順序記録テーブルおよび逆方向動作命令テ
ーブルの一例である。
代理人ブ[理士則 近 :ぶ イ/i(+xか1名)第
1 図
(f3) (β)
第 2 図 第 3 図1A and 1B are flowcharts showing one embodiment of the present invention, and FIGS. 2 and 3 are examples of a forward direction operation execution order record table and a reverse direction operation command table, respectively, used in the present invention. Agent bu [Science rules near: bu i/i (+x or 1 person) Fig. 1 (f3) (β) Fig. 2 Fig. 3
Claims (1)
憶する逆方向動作命令テーブルと、プログラムに従って
正順動作する正方向動作命令の実行順序を記憶lる正方
向動作実行順序記録テーブルを備え、逆順動作指令に応
じて上記正方向動作実行順序記録テーブルに記憶された
正方向動作の順序と逆順に正方向動作に対応する逆方向
動作を上記逆方向動作命令テーブルから選択して実行す
ることを特徴とする逆順動作機能つきプログラマブルコ
ントローラ。 ′It includes a reverse direction motion command table that stores reverse direction motion commands in one-to-one correspondence with forward direction motion commands, and a forward direction motion execution order record table that stores the execution order of forward direction motion commands that operate in the forward direction according to a program. , selecting and executing a reverse direction operation corresponding to the forward direction operation from the above-mentioned reverse direction operation command table in the reverse order of the forward direction operation stored in the forward direction operation execution order recording table in response to the reverse direction operation command; A programmable controller with a reverse order operation function. ′
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59016014A JPS60163104A (en) | 1984-02-02 | 1984-02-02 | Programmable controller with reverse sequence operating function |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59016014A JPS60163104A (en) | 1984-02-02 | 1984-02-02 | Programmable controller with reverse sequence operating function |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS60163104A true JPS60163104A (en) | 1985-08-26 |
Family
ID=11904713
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP59016014A Pending JPS60163104A (en) | 1984-02-02 | 1984-02-02 | Programmable controller with reverse sequence operating function |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS60163104A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0458132A2 (en) * | 1990-05-08 | 1991-11-27 | Mitsubishi Denki Kabushiki Kaisha | Sequential function chart (SFC) controller for controlling a machine in reverse operation |
-
1984
- 1984-02-02 JP JP59016014A patent/JPS60163104A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0458132A2 (en) * | 1990-05-08 | 1991-11-27 | Mitsubishi Denki Kabushiki Kaisha | Sequential function chart (SFC) controller for controlling a machine in reverse operation |
JPH0414110A (en) * | 1990-05-08 | 1992-01-20 | Mitsubishi Electric Corp | Programmable controller and its sfc program executing method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5608619A (en) | Robot control system | |
JPS60163104A (en) | Programmable controller with reverse sequence operating function | |
JP3210309B2 (en) | Numerical control unit | |
JPH0563749U (en) | Numerical control device with processing time calculation function | |
JP2865220B2 (en) | Numerical control information creation device | |
JP3283055B2 (en) | Program editing device | |
JPH06119021A (en) | Operation system for controller | |
JPS59200307A (en) | Robot controller | |
JPH02284847A (en) | Turret turn control system and device thereof in numerically controlled lathe | |
JP2562315B2 (en) | Robot controller | |
JPS62204310A (en) | Editing system for working program | |
JPS6277610A (en) | Robot controller equipped with step-back function | |
JPS62165208A (en) | Robot operation teaching device | |
JPS6051955A (en) | Numerical control device | |
JPS59142615A (en) | Controller for robot | |
JPS6129909A (en) | Numerical controller | |
JPH0277904A (en) | Nc data origination method | |
JPS6249516A (en) | Numerical controller | |
JPS62290907A (en) | Numerical controller | |
JPH05127735A (en) | Control method for industrial robot | |
JPH09305344A (en) | Method for controlling screen display | |
JPS63250705A (en) | Numerical controller | |
JPS6249509A (en) | Numerical controller | |
JPH03218540A (en) | Control system when program translation error occurs | |
JPS60205608A (en) | Controller of electron beam working machine |