[go: up one dir, main page]

JPH07122816B2 - Sequence control method - Google Patents

Sequence control method

Info

Publication number
JPH07122816B2
JPH07122816B2 JP27672187A JP27672187A JPH07122816B2 JP H07122816 B2 JPH07122816 B2 JP H07122816B2 JP 27672187 A JP27672187 A JP 27672187A JP 27672187 A JP27672187 A JP 27672187A JP H07122816 B2 JPH07122816 B2 JP H07122816B2
Authority
JP
Japan
Prior art keywords
activation
activated
advancing
state
return
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
JP27672187A
Other languages
Japanese (ja)
Other versions
JPH01116806A (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.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor 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 Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP27672187A priority Critical patent/JPH07122816B2/en
Priority to US07/264,744 priority patent/US4951189A/en
Priority to EP88118149A priority patent/EP0314190B1/en
Priority to DE3853253T priority patent/DE3853253T2/en
Publication of JPH01116806A publication Critical patent/JPH01116806A/en
Publication of JPH07122816B2 publication Critical patent/JPH07122816B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、例えば工作機械等の動作を制御するシーケン
ス制御方法に係り、特に、動作変更及び故障時の復旧を
簡単に行なうことができるシーケンス制御方法に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a sequence control method for controlling the operation of, for example, a machine tool, and in particular, a sequence capable of easily changing operation and recovering from a failure. Regarding control method.

(従来の技術) 近年、生産業界等においては各種の生産機械を制御させ
るためにプログラム可能なシーケンス制御装置を用いる
ことが一般的になっている。
(Prior Art) In recent years, in the manufacturing industry and the like, it has become common to use a programmable sequence control device for controlling various production machines.

このようにシーケンス制御装置が普及したのは、ユーザ
ーがプログラムすることによって簡単に所望の回路を構
成することができ、また、改造等で機械の動きを変える
場合にもプログラムし直すだけで所望の動作をさせるこ
とが可能であり、かつ、安価であるという種々の特徴を
このシーケンス制御装置が有しているからであると考え
られる。
In this way, the spread of the sequence control device is that the user can easily configure a desired circuit by programming, and even when the movement of the machine is changed due to modification etc., the desired circuit can be simply reprogrammed. It is considered that this sequence control device has various characteristics that it can be operated and is inexpensive.

ところが、このような特徴を有しているシーケンス制御
装置であっても、通常では処理方式がリレーラダー式で
あるために、例えば、非常に大型の生産機械装置に使用
した場合には、この生産機械装置を制御するシーケンス
制御装置の有するプログラムが非常に膨大かつ複雑とな
り、修理や改造の必要が生じた際には、その修理や改造
には多大の時間が必要となる(ある部材が動かなくなっ
た場合には、その部材が動く条件をラダー図に基づいて
順次追っていくが、その条件が何十もあると、動かない
原因を探し当てるには多大の時間が必要となる。)とい
う欠点もある。これは、ラダー図を見ただけでは機械の
動きが把握できないことに起因しているからである。
However, even with a sequence control device having such characteristics, since the processing method is usually a relay ladder type, when it is used for a very large production machinery, for example, this production When the program of the sequence control device that controls the mechanical device becomes very huge and complicated, and when the need for repair or modification arises, a great amount of time is required for the repair or modification (some member does not move. However, if there are dozens of such conditions, it will take a lot of time to find the cause that does not move.) . This is because the movement of the machine cannot be grasped just by looking at the ladder diagram.

このようなリレーラダー式の欠点を解消するために、近
年では、処理方式がグラフセット式であるシーケンス制
御装置が使用されつつある。このグラフセット式のシー
ケンス制御装置は機械の動きに対応して処理行程を入力
することができるので、前記したような改造や修理を行
なう際には、このシーケンス制御装置に記憶させた処理
工程を出力させ、その出力させた処理工程を参照すれば
直に機械の動きがわかることになる。従って、リレーラ
ダー式のものに比較して改造や修理を簡単に行なうこと
ができることになる。
In order to eliminate such a drawback of the relay ladder type, in recent years, a sequence control device whose processing method is a graph set type is being used. Since this graph set type sequence control device can input the process stroke in response to the movement of the machine, the process steps stored in the sequence control device can be performed when the above-mentioned modification or repair is performed. It is possible to immediately know the movement of the machine by outputting the output and referring to the output processing step. Therefore, modification and repair can be easily performed as compared with the relay ladder type.

このような、グラフセット式のシーケンス制御装置を用
いて第7図に示すような動作をする機械の制御を行なわ
せるには、まず、第6図に示すようなタイミングチャー
トを描き、このタイミングチャートに対応させて第7図
に示すような順序で処理行程を入力する。
In order to control the machine that operates as shown in FIG. 7 by using such a graph set type sequence control device, first, draw a timing chart as shown in FIG. The process steps are input in the order shown in FIG.

つまり、まず、Y1をオンにしてリフターを上昇させ(ス
テップ1)、リフターが上昇限まで上昇して移行条件X1
がオンすると、Y1をオフにすると共にY3をオンし、同時
にY5をオンしてクランプ1及びクランプ2を出す(ステ
ップ2,3)。次に、移行条件X3,X5がオンし、移行条件A
ワークがオンすると、換言すればクランプ1及びクラン
プ2が前進限まで移動し、ワークがAワークであれば、
Y3,Y5が同時にオフしてY7をオンし(ステップ4)、A
ワークの加工が所定量行なわれて移行条件X7がオンにな
ると、Y7をオフするとともにY8をオンする(ステップ
5)。一方、移行条件X3,X5がオンし、移行条件Bワー
クがオンすると、換言すればクランプ1及びクランプ2
が前進限まで移動し、ワークがBワークであれば、Y3,Y
5が同時にオフしてY9をオンし(ステップ6)、Bワー
クの加工が所定量行なわれて移行条件X9がオンになる
と、Y9をオフするとともにY10をオンする(ステップ
7)。そして、AワークまたはBワークの加工が終了し
て移行条件X8及びX10がオンすると、Y8,Y10をオフにす
ると共にY4をオンし、同時にY6をオンしてクランプ1及
びクランプ2を戻す(ステップ8,9)。さらに、クラン
プ1及びクランプ2が戻って移行条件X4,X6がオンする
と、Y4及びY6をオフし、Y2をオンしてリフターを下降さ
せる(ステップ10)。リフターが下降限まで移動して移
行条件X2がオンすると、Y2をオフする(ステップ11)。
In other words, first turn on Y1 to raise the lifter (step 1), the lifter rises to the upper limit, and transition condition X1
When is turned on, Y1 is turned off and Y3 is turned on, and at the same time, Y5 is turned on and clamp 1 and clamp 2 are taken out (steps 2 and 3). Next, transition conditions X3 and X5 turn on, transition condition A
When the work is turned on, in other words, the clamp 1 and the clamp 2 move to the forward limit, and if the work is the A work,
Y3 and Y5 turn off at the same time and Y7 turns on (step 4), A
When the workpiece is processed by a predetermined amount and the transition condition X7 is turned on, Y7 is turned off and Y8 is turned on (step 5). On the other hand, when the transition conditions X3 and X5 turn on and the transition condition B work turns on, in other words, clamp 1 and clamp 2
Moves to the forward limit and the work is B work, Y3, Y
5 turns off at the same time and turns on Y9 (step 6). When the B workpiece is machined by a predetermined amount and the transition condition X9 turns on, Y9 is turned off and Y10 is turned on (step 7). Then, when the machining of the A workpiece or the B workpiece is completed and the transition conditions X8 and X10 are turned on, Y8 and Y10 are turned off and Y4 is turned on, and simultaneously Y6 is turned on and the clamp 1 and the clamp 2 are returned (step 8, 9). Further, when the clamp 1 and the clamp 2 return and the transition conditions X4 and X6 are turned on, Y4 and Y6 are turned off, Y2 is turned on and the lifter is lowered (step 10). When the lifter moves to the lower limit and transition condition X2 turns on, Y2 turns off (step 11).

このように、処理方式がグラフセット式のシーケンス制
御装置にあっては、第6図に示すようなタイミングチャ
ートに基づいて直接、処理工程を入力することが可能で
あるから、改造や修理を比較的簡単に行なうことができ
る。
As described above, in the case of the sequence control device whose processing method is the graph set method, the processing steps can be directly input based on the timing chart as shown in FIG. It can be done easily.

(発明が解決しようとする問題点) しかしながら、前記したような特徴を有するグラフセッ
ト式のシーケンス制御装置にあっては、機械を自動で制
御する場合のみを考えると確かに多くの利点があるが、
機械にトラブルが発生し、ある部材を手動で動かさなけ
ればならない場合を考えると、種々の欠点が生じてく
る。
(Problems to be Solved by the Invention) However, the graph set type sequence control device having the above-described characteristics certainly has many advantages when only the case of automatically controlling the machine is considered. ,
Considering the case where a trouble occurs in a machine and a certain member has to be manually moved, various drawbacks occur.

例えば、第7図に示したフローチャートにおいては、リ
フターが何かのトラブルによって上昇限まで上昇しない
場合には、ステップ1が永久に処理状態となってしま
う。この状態のままでは修理等ができないので、この処
理を強制的に中止させるステップが必要となる,つま
り、手動操作に切換えて手動操作によってこのリフター
を動かせるようにすることが必要となるが、このよう
に、トラブルを考慮して手動操作をも含めた処理工程を
フローチャートにすると、一工程毎にこの手動操作のフ
ローチャートを加える必要があることから、全体の動作
のフローチャートは非常に複雑なフローチャートになっ
てしまい、グラフセット式の利点が全く生かせなくなっ
てしまうという問題がある。
For example, in the flow chart shown in FIG. 7, if the lifter does not rise to the rising limit due to some trouble, step 1 will be in the processing state forever. Since repairs etc. are not possible in this state, it is necessary to take a step to forcibly stop this process, that is, it is necessary to switch to manual operation and move this lifter by manual operation. As described above, when considering the trouble and setting the process steps including the manual operation as a flowchart, it is necessary to add this manual operation flowchart for each step, so the overall operation flowchart becomes a very complicated flowchart. Therefore, there is a problem that the advantage of the graph set expression cannot be fully utilized.

また、上記したように手動操作によって機械の各構成部
分を動かせるようにしても、手動操作の調整後、再度自
動操作に切換える場合には自動時における処理位置は手
動操作に切換えた時点で停止したままとなっているの
で、手動操作の調整後、単に自動操作に切換えて起動さ
せることができないという問題もある。
Further, even if each component of the machine can be moved by manual operation as described above, when the manual operation is adjusted and then the automatic operation is switched again, the processing position during the automatic operation is stopped when the manual operation is switched. Since it is left as it is, there is also a problem that after the manual operation is adjusted, it is not possible to simply switch to the automatic operation and start the operation.

本発明は、このような従来のシーケンス制御方法の問題
を解消するためになされたものであり、このシーケンス
制御装置の動作変更、故障ないしトラブル発生時の復旧
を、制御されるシリンダ等の作動部材がその作動途中で
停止した場合における復旧をも含めて簡単に行なうこと
ができ、かつ、処理工程のプログラムが簡単であるシー
ケンス制御方法を提供することを目的とする。
The present invention has been made in order to solve the problems of the conventional sequence control method, and the operation member such as a cylinder is controlled to change the operation of the sequence control device and to recover from a failure or trouble. It is an object of the present invention to provide a sequence control method that can be easily performed including recovery in the case of a stop in the middle of its operation, and that has a simple processing step program.

(問題点を解決するための手段) 前記目的を達成するための本発明は、シリンダやモータ
等からなる作動部材を工程歩進方向に作動させる進行側
実行手段を進行側起動手段により起動させる一方、進行
側停止手段で停止させ、更に前記作動部材を工程歩進方
向とき逆方向に作動させる戻し側実行手段を戻し側起動
手段で起動させる一方、戻し側停止手段で停止させるよ
うにし、前記進行側実行手段と前記戻し側実行手段とに
より1つの工程が構成される複数の工程を順次作動させ
るようにしたシーケンス制御方法であって、前記進行側
起動手段と前記戻し側停止手段に接続された起動開始側
活性手段が、前の工程が終了したときに活性化されると
共に当該活性化状態の下で前記進行側起動手段がオンさ
れたときに前記進行側実行手段を起動させると共に半活
性の状態の下で前記進行側起動手段がオンされたときに
前記進行側実行手段を起動させる一方、不活性の状態の
下で前記戻し側停止手段がオンされると活性化状態とな
り、前記進行側停止手段と前記戻し側起動手段に接続さ
れた起動終了側活性化手段が、前記起動開始側活性手段
が活性状態の下で前記進行側起動手段がオンされると半
活性状態となり、かつ前記進行側実行手段の作動が終了
して前記進行側停止手段がオンされたときに活性化され
次工程の起動側活性手段を活性状態に設定させる一方、
半活性化ないし活性化された状態で前記戻し側起動手段
がオンされると前記戻し側実行手段を戻し方向に起動さ
せ、1つの工程における前記起動終了側活性化手段と次
の工程における前記起動開始側活性化手段の一方が活性
化されたときにのみ他方を活性化させるようにしてなる
シーケンス制御方法である。
(Means for Solving the Problems) The present invention for achieving the above-mentioned object is achieved by activating the advancing side executing means for actuating an actuating member, such as a cylinder or a motor, in the step step direction by the advancing side starting means. , The advance side stop means, and further, the return side execution means for operating the actuating member in the reverse direction when the process step direction is activated by the return side activation means, while the return side stop means stops the return side execution means. A sequence control method in which a plurality of steps, each of which constitutes one step, is sequentially operated by the side executing means and the returning side executing means, and is connected to the advancing side starting means and the returning side stopping means. The activation start side activation means is activated when the previous step is completed, and the progression side execution means is activated when the progression side activation means is turned on under the activated state. In addition to activating the advancing side executing means when the advancing side starting means is turned on under a semi-active state, it is activated when the return side stopping means is turned on under an inactive state. The activation end side activation means connected to the advancing side stop means and the return side activation means are in a semi-active state when the advancing side activation means is turned on while the activation start side activation means is in an active state. And, when the operation of the advancing side execution means is completed and the advancing side stop means is turned on, the activation side activation means of the next step is set to the active state,
When the return-side activation means is turned on in the semi-activated or activated state, the return-side execution means is activated in the return direction, and the activation end-side activation means in one step and the activation in the next step. This is a sequence control method in which only one of the starting side activation means is activated when the other is activated.

(作用) 次に、上述した本発明のシーケンス制御方法の作用につ
いて第1図を参照しつつ説明すると、以下の通りであ
る。
(Operation) Next, the operation of the above-described sequence control method of the present invention will be described with reference to FIG.

1つの工程をなす起動開始側活性手段がその前の工程を
なす起動終了側活性手段により活性化状態となり、進行
側起動手段がオンすると、前記起動開始側活性手段が不
活性化状態となるとともに起動側終了活性手段が半活性
の状態となる。そして、進行側実行手段によって作動部
材を行程歩進方向に所定の順序で作動させる。次に、進
行側停止手段がオンすると、起動終了側活性手段が半活
性の状態から活性化状態となり、同時に次工程の起動側
活性手段も活性化状態となる。この状態で戻し側起動手
段がオンすると、前記起動終了側活性手段が不活性化状
態となるとともに戻し側実行手段によって前記作動部材
を行程歩進方向とは逆方向に所定の順序で作動させるこ
とが可能になる。さらに、戻し側停止手段がオンする
と、起動開始側活性手段が活性化状態となるとともに前
行程の起動終了側活性手段が活性化状態となる。
When the activation starting side activating means forming one step is activated by the activation ending side activating means forming the preceding step and the advancing side starting means is turned on, the activation starting side activating means becomes inactive. The activation-side termination activation means is in a semi-activated state. Then, the advancing side executing means actuates the actuating members in the predetermined direction in the step direction. Next, when the advancing side stopping means is turned on, the activation ending side activating means is changed from the semi-active state to the activated state, and at the same time, the starting side activating means in the next step is also activated. When the return side activation means is turned on in this state, the activation end side activation means is inactivated, and the return side execution means activates the operating member in a predetermined order in a direction opposite to the step direction. Will be possible. Further, when the return side stop means is turned on, the activation start side activation means is activated and the activation end side activation means of the previous process is activated.

一方、起動終了側活性手段が半活性の状態の下で戻し側
起動手段がオンすると、戻し側実行手段が作動し、作動
部材は前記逆方向に所定の順序で作動することになる。
On the other hand, when the return-side activating means is turned on while the activation-end-side activating means is in the semi-active state, the return-side executing means is activated and the actuating members are actuated in a predetermined order in the reverse direction.

したがって、一工程毎に前記作動部材を行程歩進方向あ
るいは行程歩進方向とは逆方向に作動させることがで
き、手動操作から自動操作に切換えた場合であってもそ
のまま自動起動させることができ、かつ、処理行程のプ
ログラムも単純化されるので、改造作業や故障の復旧を
迅速に行なうことができることになる。
Therefore, the actuating member can be actuated for each step in the step direction or in the direction opposite to the step direction, and can be automatically started as it is even when the manual operation is switched to the automatic operation. Moreover, since the program of the processing step is also simplified, it is possible to quickly carry out the modification work and the restoration of the failure.

(実施例) 以下、本発明の実施例を図面に基づいて詳細に説明す
る。
(Example) Hereinafter, the Example of this invention is described in detail based on drawing.

第2図には本発明に係るシーケンス制御方法を具体化し
たシーケンス制御装置の概略構成図が示されている。
FIG. 2 shows a schematic configuration diagram of a sequence control device embodying the sequence control method according to the present invention.

同図に示すように、演算制御部及び記憶部を備えたCPU1
には、電源部2、入力部3及び出力部4がそれぞれ接続
されている。この入力部3には、リミットスイッチ,押
釦スイッチ,リレー接点などが接続されており、これら
の接点情報が入力される。そして、出力部4には、電磁
開閉器,電磁弁,ランプなどが接続され、CPU1の命令に
基づいてこれらの駆動機器が動作する。
As shown in the figure, the CPU 1 including an arithmetic control unit and a storage unit
The power supply unit 2, the input unit 3, and the output unit 4 are connected to the power supply unit 2, respectively. A limit switch, a push button switch, a relay contact, etc. are connected to the input section 3, and contact information of these is input. An electromagnetic switch, a solenoid valve, a lamp, etc. are connected to the output unit 4, and these drive devices operate based on the instruction of the CPU 1.

また、CPU1には、プログラムを入力するプログラムロー
ダ5が必要に応じて接続しうるようになっており、CPU1
に新規のプログラムを入力する場合や設計変更の際に
は、このプログラムローダ5によってプログラムの追加
や変更を行なうことになる。
In addition, a program loader 5 for inputting a program can be connected to the CPU 1 if necessary.
When a new program is input to or the design is changed, the program loader 5 adds or changes the program.

第3図には本発明に係るシーケンス制御方法によって第
5図及び第6図に示したような動作をする機械の処理方
法の概念図が示してある。
FIG. 3 is a conceptual diagram of a processing method of a machine that operates as shown in FIGS. 5 and 6 by the sequence control method according to the present invention.

この処理方法の概念図は同図に示すように構成され、同
図中、P0a、P1a、P2aは起動開始側活性手段としての状
態点を示し、P0b、P1b、P2bは起動終了側活性手段とし
ての状態点を示す。また、S0a、S1a、S2aは進行側起動
手段としての遷移条件を示し、S0b、S1b、S2bは進行側
停止手段としての遷移条件を示し、S0c、S1c、S2cは戻
し側起動手段としての遷移条件を示し、S0d、S1d、S2d
は戻し側停止手段としての遷移条件を示し、J0A、J1A、
J2Aは進行側実行手段としての実行命令群を示し、J0B、
J1B、J2Bは戻し側実行手段としての実行命令群を示して
いる。
The conceptual diagram of this processing method is configured as shown in the figure, in which P0a, P1a, P2a indicates the state point as the activation start side activation means, P0b, P1b, P2b as the activation end side activation means Indicates the state point of. Further, S0a, S1a, S2a indicates the transition condition as the advancing side starting means, S0b, S1b, S2b indicates the transition condition as the advancing side stopping means, S0c, S1c, S2c are the transition conditions as the returning side starting means. , S0d, S1d, S2d
Indicates the transition condition as the return side stop means, J0A, J1A,
J2A indicates a group of execution instructions as the execution side execution means, J0B,
J1B and J2B represent execution instruction groups as return side executing means.

前記作動部材が第5図におけるリフター用のシリンダで
あるならば、このシリンダは進行側実行手段からの信号
により工程歩進方向に作動することになり、更に戻し側
実行手段からの信号により上述の方向とは逆方向に作動
することになる。そして、この場合には進行側の起動手
段及び停止手段、並びに戻し側の起動手段及び停止手段
は、それぞれリミットスイッチにより構成されることに
なる。
If the actuating member is the lifter cylinder in FIG. 5, this cylinder is actuated in the step step direction by the signal from the advancing side executing means, and further by the signal from the returning side executing means. It will operate in the opposite direction. In this case, the advancing-side starting means and stopping means, and the returning-side starting means and stopping means are each constituted by a limit switch.

この概念図に示した各構成要素は、第4図に示した基本
動作を示すフローチャートに示されるように、次の様に
動作する。以下にこの動作を第3図を参照しつつ説明す
る。
Each component shown in this conceptual diagram operates as follows, as shown in the flowchart showing the basic operation shown in FIG. This operation will be described below with reference to FIG.

まず、第4図に示すようにシーケンス制御装置の動作を
総括制御するCPUにより、ある工程を構成する起動終了
側活性手段の状態点P0bが、この工程が終了することに
より活性化されると、次の工程を構成する起動開始側活
性手段の状態点P1aが活性状態となる(ステップ20)。
この状態は例えば第5図に示す装置をシーケンス制御す
る場合であれば、リフター用のシリンダを駆動するため
の進行側実行手段の作動により、このシリンダが前進限
となった状態を、例えばリミットスイッチつまり進行側
停止手段により検知した状態に相当する。
First, as shown in FIG. 4, when the state point P0b of the activation-end-side activating means constituting a certain process is activated by the CPU that collectively controls the operation of the sequence control device by the end of this process, The state point P1a of the activation means on the activation start side, which constitutes the next step, is activated (step 20).
In this state, for example, when the device shown in FIG. 5 is subjected to sequence control, the state where the cylinder is in the forward limit by the operation of the advancing side executing means for driving the lifter cylinder is set to, for example, the limit switch. That is, it corresponds to the state detected by the traveling-side stopping means.

次に、前述した次の工程を構成する進行側駆動手段の遷
移条件S1aが1となるか否かを判断する。つまり、実行
命令群J1Aを実行する条件が整っているかどうかを判断
する(ステップ21)。この遷移条件が1となる場合とし
ては、この工程が第5図に示すクランプ1のためのシリ
ンダを作動させる工程であれば、そのシリンダの作動を
開始させるための信号が入力された場合に相当する。こ
の判断の結果、遷移条件S1aが1でなければステップ22
及びステップ20の処理を繰返し、遷移条件S1aが1なら
ば、状態点P0b及びP1aを不活性化する(ステップ22、2
3)と共に、起動終了側活性手段の状態点P1bの遷移条件
を半活性の状態にして(ステップ24)、実行命令群J1A
を実行する(ステップ25)。これにより、例えば上述し
たクランプ1のためのシリンダが前進移動つまり工程歩
進方向に移動することになる。
Next, it is determined whether or not the transition condition S1a of the advancing side drive means that constitutes the next step described above becomes 1. That is, it is determined whether the conditions for executing the execution instruction group J1A are satisfied (step 21). The case where this transition condition is 1 corresponds to the case where the signal for starting the operation of the cylinder is input if this step is the step for operating the cylinder for the clamp 1 shown in FIG. To do. If the result of this determination is that transition condition S1a is not 1, step 22
If the transition condition S1a is 1, the state points P0b and P1a are deactivated (steps 22 and 2).
At the same time, the transition condition of the state point P1b of the activation means on the activation end side is set to the semi-active state (step 24), and the execution instruction group J1A
Is executed (step 25). As a result, for example, the cylinder for the clamp 1 described above moves forward, that is, moves in the process step direction.

次に、この工程を構成する進行側停止手段の遷移条件S1
bが1であるかどうかの判断をする。すなわち、実行命
令群J1Aの実行を終了する条件が整っているかどうかを
判断する(ステップ26)。この遷移条件S1bが1である
場合としては、例えば、クランプ1の前進限を検知する
リミットスイッチがオンとなった場合がある。この判断
の結果、遷移条件S1bが1となれば、この工程を構成す
る起動終了側活性手段の状態点P1bが活性状態となる
(ステップ27)。この起動終了側活性手段の状態点P1b
が活性状態となると、更に次の工程を構成する起動開始
側活性手段の状態点が活性状態となる。この工程として
は、例えば、第5図におけるクランプ2を駆動させるた
めの工程がある。この工程における動作は上述したクラ
ンプ1を作動させるための制御手順と同様となってい
る。
Next, the transition condition S1 of the advancing-side stopping means that constitutes this step
Determine whether b is 1. That is, it is determined whether or not the conditions for ending the execution of the execution instruction group J1A are satisfied (step 26). When the transition condition S1b is 1, for example, a limit switch that detects the forward limit of the clamp 1 may be turned on. As a result of this judgment, if the transition condition S1b becomes 1, the state point P1b of the activation means on the activation end side constituting this process becomes active (step 27). State point P1b of this activation end activation means
Is activated, the state point of the activation means on the activation start side, which constitutes the next step, is activated. As this step, for example, there is a step for driving the clamp 2 in FIG. The operation in this step is similar to the control procedure for operating the clamp 1 described above.

もし、前記ステップ26において遷移条件S1bが1となら
なかった場合には、これはクランプ1を前進移動させる
ためにこれの進行側実行手段によりシリンダの作動信号
が出されていても、クランプ1のための前記シリンダが
故障した場合に相当することになる。
If the transition condition S1b does not become 1 in the step 26, it means that the clamp 1 of the clamp 1 is operated even if the cylinder operating signal is issued by the advancing side executing means for moving the clamp 1 forward. Would be the case if the cylinder for failed.

この場合には、この工程を構成する起動終了側活性手段
がまだ半活性となった状態のままなので、この状態の下
で、戻し側起動手段の遷移条件S1cが1となると、つま
り例えば押し釦スイッチがオンされると(ステップ2
8)、前進側実行手段の実行命令群J1Aの実行を停止させ
ることになる。(ステップ29)。ただし、前記ステップ
28で遷移条件S1cが1とならなければ、実行命令群J1Aを
実行させ続けることになる。
In this case, the activation end side activation means constituting this process is still in the semi-activated state, and under this state, if the transition condition S1c of the return side activation means becomes 1, that is, for example, the push button. When the switch is turned on (step 2
8) The execution of the execution instruction group J1A of the forward side execution means is stopped. (Step 29). However, the above steps
If the transition condition S1c does not become 1 at 28, the execution instruction group J1A will continue to be executed.

実行命令群J1Aの実行を停止させると共に、シリンダ等
の作動部材を戻す方向に駆動するために、戻し側実行手
段の命令J1Bを実行させる(ステップ30)。これによ
り、シリンダ等の作動部材は戻し側実行手段からの信号
により、リミットスイッチ等からなる戻し側停止手段の
遷移条件S1dが1となるまで、戻し移動することにな
る。この遷移条件S1dが1となると(ステップ31)、こ
の工程を構成する起動開始側活性手段の状態点P1aが活
性化状態となり(ステップ32)、これと同時に、前の工
程の起動終了側活性手段の状態点P0bも活性化状態とな
る。
The execution of the execution instruction group J1A is stopped, and at the same time, the instruction J1B of the return side executing means is executed to drive the operating member such as the cylinder in the returning direction (step 30). As a result, the operating member such as the cylinder is moved back by the signal from the returning side executing means until the transition condition S1d of the returning side stopping means such as the limit switch becomes 1. When this transition condition S1d becomes 1 (step 31), the state point P1a of the activation means on the activation start side which constitutes this step is activated (step 32), and at the same time, the activation means on the activation end side of the previous step. The state point P0b of is also activated.

このように、本発明に係るシーケンス制御方法による概
念的な動作は第4図に示したフローチャートに示した通
りであるが、次に、本発明に係るシーケンス制御方法に
よるさらに詳細な動作を、第4A図から第4C図に示すフロ
ーチャートに基づいて説明する。
As described above, the conceptual operation of the sequence control method according to the present invention is as shown in the flowchart of FIG. 4. Next, a more detailed operation of the sequence control method of the present invention will be described. Description will be given based on the flowcharts shown in FIGS. 4A to 4C.

第4A図に示すように、まず、状態点P1aが活性であれ
ば、状態点P0bを活性化し(ステップ40,41)、状態点P1
aが活性であり、かつ、遷移条件S1aが1であれば(ステ
ップ42,43)、状態点P0bを不活性化すると共に状態点P1
aを不活性化し、状態点P1bを半活性化して遷移条件S1b
が1になるまで実行命令群J1Aを実行する(ステップ44
〜48)。そして、遷移条件S1bが1になると、状態点P1b
を活性化して処理を終了する(ステップ49)。
As shown in FIG. 4A, first, if the state point P1a is active, the state point P0b is activated (steps 40 and 41), and the state point P1 is activated.
If a is active and the transition condition S1a is 1 (steps 42 and 43), the state point P0b is deactivated and the state point P1 is deactivated.
Transition condition S1b by deactivating a and semi-activating state point P1b
The execution instruction group J1A is executed until becomes 1 (step 44).
~ 48). When the transition condition S1b becomes 1, the state point P1b
Is activated to end the process (step 49).

一方、状態点P1aが半活性の状態で遷移条件S1aが1とな
れば(ステップ50,51)、実行条件J1Bの実行を停止し、
前記したステップ44以降の処理を行なう(ステップ5
2)。尚、ステップ42において、状態点P1aが活性でない
とき、あるいは、ステップ51において遷移条件S1aが1
でないときには処理を終了する。
On the other hand, when the transition condition S1a becomes 1 while the state point P1a is in the semi-active state (steps 50, 51), execution of the execution condition J1B is stopped,
The processing after step 44 is executed (step 5).
2). In step 42, when the state point P1a is not active, or in step 51, the transition condition S1a is 1
If not, the process ends.

そして、第4B図に示すように、まず、状態点P1bが活性
であれば、状態点P2aを活性化し(ステップ60,61)、状
態点P1bが活性であり、かつ、遷移条件S1cが1であれば
(ステップ62,63)、状態点P2aを不活性化すると共に状
態点P1bを不活性化し、状態点P1aを半活性化して遷移条
件S1dが1になるまで実行命令群J1Bを実行する(ステッ
プ64〜68)。そして、遷移条件S1dが1になると、状態
点P1aを活性化して処理を終了する(ステップ69)。
Then, as shown in FIG. 4B, first, if the state point P1b is active, the state point P2a is activated (steps 60, 61), the state point P1b is active, and the transition condition S1c is 1 If so (steps 62 and 63), the state point P2a is deactivated, the state point P1b is deactivated, the state point P1a is semi-activated, and the execution instruction group J1B is executed until the transition condition S1d becomes 1 ( Steps 64-68). When the transition condition S1d becomes 1, the state point P1a is activated and the process ends (step 69).

一方、状態点P1bが半活性の状態で遷移条件S1cが1とな
れば(ステップ70,71)、実行条件J1Aの実行を停止し、
前記したステップ64以降の処理を行なう(ステップ7
2)。尚、ステップ62において、状態点P1bが活性でない
とき、あるいは、ステップ71において遷移条件S1cが1
でないときには処理を終了する。
On the other hand, when the transition point S1c becomes 1 while the state point P1b is in the semi-active state (steps 70, 71), execution of the execution condition J1A is stopped,
The processing from step 64 onwards is performed (step 7
2). In step 62, when the state point P1b is not active, or in step 71, the transition condition S1c is 1
If not, the process ends.

また、第4C図に示すように、まず、状態点P2aが活性で
あれば、状態点P1bを活性化し(ステップ80,81)、状態
点P2aが活性であり、かつ、遷移条件S2aが1であれば
(ステップ82,83)、状態点P1bを不活性化すると共に状
態点P2aを不活性化し、状態点P2bを半活性化して遷移条
件S2bが1になるまで実行命令群J2Aを実行する(ステッ
プ84〜88)。そして、遷移条件S2bが1になると、状態
点P2bを活性化して処理を終了する(ステップ89)。
Further, as shown in FIG. 4C, first, if the state point P2a is active, the state point P1b is activated (steps 80 and 81), the state point P2a is active, and the transition condition S2a is 1 If there is (steps 82 and 83), the state point P1b is deactivated, the state point P2a is deactivated, the state point P2b is half activated, and the execution instruction group J2A is executed until the transition condition S2b becomes 1 ( Steps 84-88). When the transition condition S2b becomes 1, the state point P2b is activated and the process ends (step 89).

一方、状態点P2aが半活性の状態で遷移条件S2aが1とな
れば(ステップ90,91)、実行条件J2Bの実行を停止し、
前記したステップ84以降の処理を行なう(ステップ9
2)。尚、ステップ82において、状態点P2aが活性でない
とき、あるいは、ステップ51において遷移条件S2aが1
でないときには処理を終了する。
On the other hand, if the transition point S2a becomes 1 while the state point P2a is in the semi-active state (steps 90, 91), execution of the execution condition J2B is stopped,
The processing after step 84 described above is performed (step 9).
2). Incidentally, in step 82, when the state point P2a is not active, or in step 51, the transition condition S2a is 1
If not, the process ends.

したがって、第3図において、2番目の工程を構成する
シリンダ等の作動部材の故障の修理が完了した後に、再
度遷移条件S1aが1となれば、この工程の作動部材、例
えばシリンダが前述と同様に、工程歩進方向に移動する
ことになる。また、この状態で遷移条件S0cを1とすれ
ば、前の工程における作動部材を戻し方向に移動させる
ことができ、このようにして順次第1番目の制御工程ま
で戻すことができる。そして、戻した状態から再度工程
歩進方向にそれぞれの作動部材を順次所定の順序で作動
させることが可能となる。
Therefore, in FIG. 3, if the transition condition S1a becomes 1 again after the repair of the failure of the operating member such as the cylinder constituting the second step is completed, the operating member of this step, for example, the cylinder is the same as described above. First, the process moves in the step direction. Further, if the transition condition S0c is set to 1 in this state, the actuating member in the previous step can be moved in the returning direction, and in this manner, the first control step can be sequentially returned. Then, from the returned state, the respective operating members can be sequentially operated again in a predetermined order in the step step direction.

したがって、種々の装置の作動を制御するために本発明
のシーケンス制御方法を適用すると、種々の装置を構成
するシリンダやモータ等の作動部材の1つが作動途中で
トラブルの発生により停止した場合には、その発生部材
を逆方向に戻せば、その状態から再度制御装置を作動さ
せることが可能となる。従来のシーケンス制御では、全
体の装置を構成する一部の作動部材にトラブルが発生し
た場合には、手動用の制御に切換えて、その装置を構成
する全ての作動部材を元位置に戻し、最初から装置を作
動させるようにする必要があったが、トラブルないし故
障した作動部材のみを調整して元位置に戻せば、その状
態から再度装置を起動させることが可能となった。
Therefore, when the sequence control method of the present invention is applied to control the operation of various devices, when one of the operating members such as the cylinders and motors forming the various devices is stopped due to occurrence of trouble during operation, By returning the generating member in the opposite direction, it becomes possible to operate the control device again from that state. In the conventional sequence control, when trouble occurs in some of the operating members that make up the entire device, switch to manual control and return all the operating members that make up the device to their original positions. It was necessary to operate the device from the above, but by adjusting only the troubled or broken operating member and returning it to the original position, it became possible to restart the device from that state.

なお、本実施例においては、戻し側実行命令群の処理内
容は、進行側実行命令群の処理内容とは逆の動作のもの
を例示したが、この処理内容は進行側実行命令群の処理
内容と同一のものと逆のものを並存させたものであって
も適用可能である。
In the present embodiment, the processing content of the return-side execution instruction group is the reverse of the processing content of the advancing-side execution instruction group, but this processing content is the processing content of the advancing-side execution instruction group. It is applicable even if the same as or opposite to the above is coexisted.

(発明の効果) 以上の説明により明らかなように、本発明によれば、シ
リンダやモータ等からなる複数の作動部材を所定の順序
で作動させるようにし、進行側起動手段と戻し側停止手
段に接続された起動開始側活性手段が、前の工程が終了
したときに活性化されると共に当該活性化状態の下で前
記進行側起動手段がオンされたときに進行側実行手段を
起動させると共に半活性の状態の下で前記進行側起動手
段がオンされたときに前記進行側実行手段を起動させる
一方、不活性の状態の下で前記戻し側停止手段がオンさ
れると活性化状態となり、進行側停止手段と戻し側起動
手段に接続された起動終了側活性化手段が、前記起動開
始側活性手段が活性状態の下で前記進行側起動手段がオ
ンされると半活性状態となり、かつ前記進行側実行手段
の作動が終了して前記進行側停止手段がオンされたとき
に活性化され次工程の起動側活性手段を活性状態に設定
させる一方、半活性化ないし活性化された状態で前記戻
し側起動手段がオンされると前記戻し側実行手段を戻し
方向に起動させるようにしたので、前記複数の工程を所
定の順序で作動させることができる。
(Effects of the Invention) As is apparent from the above description, according to the present invention, a plurality of actuating members including cylinders and motors are actuated in a predetermined order, and the advancing side starting means and the returning side stopping means are provided. The connected activation starting side activating means is activated when the previous step is completed, and activates the advancing side executing means when the advancing side starting means is turned on under the activated state. When the advancing side starting means is turned on under an active state, the advancing side executing means is activated, while when the return side stop means is turned on under an inactive state, the advancing side executing means is activated. The activation end side activation means connected to the side stop means and the return side activation means becomes a semi-active state when the advancing side activation means is turned on while the activation start side activation means is in an active state, and Side execution means When the operation is completed and the advancing side stop means is turned on, the activation side activation means of the next process is set to the activated state, while the return side activation means is activated in the semi-activated or activated state. When turned on, the return side executing means is activated in the return direction, so that the plurality of steps can be operated in a predetermined order.

そして、1つの工程が完了した後に、手動に切換えて1
つ或いはそれ以上の前の工程の状態に戻しても、戻す際
には起動終了側活性手段と起動開始側活性手段とを順次
活性化させるので、その戻した状態から、自動に切換え
るだけで、再度装置を起動させることができる。
Then, after one process is completed, switch to manual
Even when returning to the state of one or more previous steps, since the activation end side activation means and the activation start side activation means are activated sequentially when returning, by simply switching from the returned state to the automatic state, The device can be activated again.

また、同様に、1つの工程を構成するシリンダ等の作動
部材にトラブルが発生しても、その工程を構成する起動
終了側活性手段が半活性となっている状態の下で、手動
に切換えて戻し側実行手段を作動させれば、その工程を
再起動し得る状態に設定することができ、トラブル除去
後に自動に切換えてそのままの位置が再度装置をシーケ
ンス制御することが可能となる。
Similarly, even if a trouble occurs in an operating member such as a cylinder that constitutes one process, it can be manually switched under the condition that the activation-end side activating means constituting the process is semi-activated. By operating the return-side executing means, the process can be set to a state in which it can be restarted, and after the trouble is eliminated, it is possible to automatically control the sequence and re-sequence the device.

更には、処理工程のプログラムが一工程毎に1つのブロ
ックとして表わすことが可能になるので、改造作業や故
障の復旧作業時のプログラム入力処理が単純化され、こ
れらの作業を迅速に行なうことができることになる。
Furthermore, since the program of the processing process can be represented as one block for each process, the program input process at the time of remodeling work or failure recovery work is simplified, and these works can be performed quickly. You can do it.

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

第1図は本発明に係るシーケンス制御方法を具体化した
シーケンス制御装置のブロック図、 第2図は第1図に示したシーケンス制御装置の概略構成
図、 第3図は本発明に係るシーケンス制御方法の処理手順を
示す概念図、 第4図は本発明に係るシーケンス制御方法の動作の一例
を示すフローチャート、 第4A図から第4C図は、本発明に係るシーケンス制御方法
の動作の一例を示す詳細なフローチャート、 第5図及び第6図は単純な動作を行なう機械の動作説明
図、 第7図はグラフセット方式のシーケンス制御装置によ
り、機械を第5図及び第6図に示したような動作させる
場合のフローチャート。 1……CPU、2……電源部、3……入力部、4……出力
部、5……プログラムローダ。
FIG. 1 is a block diagram of a sequence control device embodying a sequence control method according to the present invention, FIG. 2 is a schematic configuration diagram of the sequence control device shown in FIG. 1, and FIG. 3 is a sequence control according to the present invention. FIG. 4 is a conceptual diagram showing the processing procedure of the method, FIG. 4 is a flow chart showing an example of the operation of the sequence control method according to the present invention, and FIGS. 4A to 4C are an example of the operation of the sequence control method according to the present invention. A detailed flowchart, FIGS. 5 and 6 are explanatory views of the operation of a machine that performs a simple operation, and FIG. 7 is a graph set-type sequence control device for controlling the machine as shown in FIGS. 5 and 6. The flowchart when operating. 1 ... CPU, 2 ... power supply section, 3 ... input section, 4 ... output section, 5 ... program loader.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 川上 隆行 神奈川県横浜市神奈川区宝町2番地 日産 自動車株式会社内 (72)発明者 伊藤 隆敏 神奈川県横浜市神奈川区宝町2番地 日産 自動車株式会社内 (72)発明者 清水 圭 神奈川県横浜市神奈川区宝町2番地 日産 自動車株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Takayuki Kawakami 2 Takara-cho, Kanagawa-ku, Yokohama, Kanagawa Nissan Motor Co., Ltd. (72) Takatoshi Ito 2 Takara-cho, Kanagawa-ku, Yokohama, Kanagawa Nissan Motor Co., Ltd. ( 72) Inventor Kei Shimizu 2 Takaracho, Kanagawa-ku, Yokohama-shi, Kanagawa Nissan Motor Co., Ltd.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】シリンダやモータ等からなる作動部材を工
程歩進方向に作動させる進行側実行手段を進行側起動手
段により起動させる一方、進行側停止手段で停止させ、
更に前記作動部材を工程歩進方向とき逆方向に作動させ
る戻し側実行手段を戻し側起動手段で起動させる一方、
戻し側停止手段で停止させるようにし、前記進行側実行
手段と前記戻し側実行手段とにより1つの工程が構成さ
れる複数の工程を順次作動させるようにしたシーケンス
制御方法であって、 前記進行側起動手段と前記戻し側停止手段に接続された
起動開始側活性手段が、前の工程が終了したときに活性
化されると共に当該活性化状態の下で前記進行側起動手
段がオンされたときに前記進行側実行手段を起動させる
と共に半活性の状態の下で前記進行側起動手段がオンさ
れたときに前記進行側実行手段を起動させる一方、不活
性の状態の下で前記戻し側停止手段がオンされると活性
化状態となり、 前記進行側停止手段と前記戻し側起動手段に接続された
起動終了側活性化手段が、前記起動開始側活性手段が活
性状態の下で前記進行側起動手段がオンされると半活性
状態となり、かつ前記進行側実行手段の作動が終了して
前記進行側停止手段がオンされたときに活性化され次工
程の起動側活性手段を活性状態に設定させる一方、半活
性化ないし活性化された状態で前記戻し側起動手段がオ
ンされると前記戻し側実行手段を戻し方向に起動させ、 1つの工程における前記起動終了側活性化手段と次の工
程における前記起動開始側活性化手段の一方が活性化さ
れたときにのみ他方を活性化させるようにしてなるシー
ケンス制御方法。
1. An advancing side executing means for actuating an operating member composed of a cylinder, a motor and the like in a step step direction is activated by an advancing side starting means, and stopped by an advancing side stopping means,
Further, while the return side execution means for activating the operation member in the opposite direction when the process step direction is activated by the return side activation means,
A sequence control method in which a return-side stopping means is used to stop, and a plurality of steps, each of which constitutes one step, is sequentially operated by the advancing-side executing means and the returning-side executing means. When the activation start side activation means connected to the activation means and the return side stop means is activated when the previous step is completed and the advancing side activation means is turned on under the activated state. While activating the advancing side executing means and activating the advancing side executing means when the advancing side starting means is turned on under a semi-active state, the return side stop means is activated under an inactive state. When it is turned on, it is in an activated state, and the activation end side activation means connected to the advancing side stop means and the return side activation means is the activation side activation means when the activation start side activation means is in the activated state. When activated, it is activated when the advancing side executing means is finished and the advancing side stopping means is turned on to set the starting side activating means of the next step to the active state. When the return side activation means is turned on in the semi-activated or activated state, the return side execution means is activated in the return direction, and the activation end side activation means in one step and the activation in the next step A sequence control method in which only one of the initiation side activation means is activated when the other is activated.
JP27672187A 1987-10-03 1987-10-30 Sequence control method Expired - Lifetime JPH07122816B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP27672187A JPH07122816B2 (en) 1987-10-30 1987-10-30 Sequence control method
US07/264,744 US4951189A (en) 1987-10-03 1988-10-31 Sequence control system and method
EP88118149A EP0314190B1 (en) 1987-10-30 1988-10-31 Sequence control system and its method
DE3853253T DE3853253T2 (en) 1987-10-30 1988-10-31 Sequence control method and system.

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27672187A JPH07122816B2 (en) 1987-10-30 1987-10-30 Sequence control method

Publications (2)

Publication Number Publication Date
JPH01116806A JPH01116806A (en) 1989-05-09
JPH07122816B2 true JPH07122816B2 (en) 1995-12-25

Family

ID=17573408

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27672187A Expired - Lifetime JPH07122816B2 (en) 1987-10-03 1987-10-30 Sequence control method

Country Status (1)

Country Link
JP (1) JPH07122816B2 (en)

Also Published As

Publication number Publication date
JPH01116806A (en) 1989-05-09

Similar Documents

Publication Publication Date Title
JP3665008B2 (en) Synchronization control method and synchronization control apparatus
JP2003122427A (en) Facility monitor device
JPH07122816B2 (en) Sequence control method
EP0314190B1 (en) Sequence control system and its method
EP0571157B1 (en) Method and apparatus for controlling a manufacturing system
JPH07122817B2 (en) Sequence control method
JPH07122815B2 (en) Sequence control method
JPH01200407A (en) Sequence control method
JPH01222877A (en) Method for controlling brake of industrial robot
JPH01318621A (en) Work automatizing method for construction equipment and its apparatus
WO2000067083A1 (en) Method of programming motion controller
JP2008097079A (en) PLC
JP3775060B2 (en) Programmable operation panel
JP3700529B2 (en) Sequence controller
JP2000276211A (en) Programmable controller
JP3628096B2 (en) Machine tool positioning apparatus and method
KR0176554B1 (en) Automated Facility System Control Method Using Positioning Unit
KR100254187B1 (en) Machining stop unit with remote adjust panel
KR950009791Y1 (en) Tool change position control device
KR100206126B1 (en) How to prevent malfunction of control system
KR100426877B1 (en) Power Control Method of Excavator
JPH11134010A (en) Program execution method in programmable controller
SU1416941A1 (en) Pneumatic logic control device
JPH07120168B2 (en) Control method of PC device
JPH03234417A (en) Wire electric discharge machining method