Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0750403B2 - Sequence control method - Google Patents
[go: Go Back, main page]

JPH0750403B2 - Sequence control method - Google Patents

Sequence control method

Info

Publication number
JPH0750403B2
JPH0750403B2 JP2379388A JP2379388A JPH0750403B2 JP H0750403 B2 JPH0750403 B2 JP H0750403B2 JP 2379388 A JP2379388 A JP 2379388A JP 2379388 A JP2379388 A JP 2379388A JP H0750403 B2 JPH0750403 B2 JP H0750403B2
Authority
JP
Japan
Prior art keywords
activated
activation
advancing
execution
turned
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
JP2379388A
Other languages
Japanese (ja)
Other versions
JPH01200407A (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 JP2379388A priority Critical patent/JPH0750403B2/en
Priority to GB8902595A priority patent/GB2215489B/en
Priority to US07/306,580 priority patent/US4972310A/en
Publication of JPH01200407A publication Critical patent/JPH01200407A/en
Publication of JPH0750403B2 publication Critical patent/JPH0750403B2/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.

このような、グラフセット式のシーケンス制御装置を用
いて第5図に示すような動作をする機械の制御を行なわ
せるには、まず、第6図に示すようなタイミングチャー
トを描き、このタイミングチャートに対応させて第7図
に示すような順序で処理行程を入力する。
In order to control the machine that operates as shown in FIG. 5 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 graph set type sequence control device, the processing process 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 have a step to forcibly stop this process, that is, it is necessary to switch to the manual first operation and move the lifter manually. In this way, when considering the trouble and making the process steps including the manual operation into a flowchart, it is necessary to add this manual operation flowchart for each step, so the overall operation flowchart is a very complicated flowchart. There is a problem that the advantage of the graph set expression cannot be fully utilized.

また、上記したように手動操作によって機械の各構造部
分を動かせるようにしても、手動操作の調整後、再度自
動操作に切換える場合には自動時における処理位置は手
動操作に切換えた時点で停止したままとなっているの
で、手動操作の調整後、単に自動操作に切換えて起動さ
せることができないという問題もある。
Further, even if each structural part of the machine can be moved by the manual operation as described above, when the manual operation is adjusted and then the automatic operation is switched again, the processing position in 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 device, and it is possible to easily change the operation of the sequence control device and to recover from a failure, and It is an object to provide a sequence control method whose program is simple.

(問題点を解決するための手段) 前記目的を達成するための本発明は、シリンダやモータ
等からなる作動部材を工程歩進方向に作動させる進行側
実行手段を進行側起動手段に接続された実行条件認識手
段により起動させる一方、進行側停止手段で停止させ、
更に前記作動部材を行程歩進方向とは逆方向に作動させ
る戻し側実行手段を、戻し側起動手段に接続された前記
実行条件認識手段で起動させる一方、戻し側停止手段で
停止させるようにし、前記進行側実行手段と前記戻し側
実行手段とにより1つの行程が構成される複数の行程を
順次作動させるようにしたシーケンス制御方法であっ
て、前記進行側起動手段と前記戻し側停止手段に接続さ
れた起動開始側活性手段が前の行程が終了したときに活
性化されるとともに当該活性化状態の下で前記進行側起
動手段がオンし、かつ、前記実行条件認識手段によって
実行条件が整っていると判断されたときに前記進行側実
行手段を起動させる一方、不活性状態の下で前記戻し側
停止手段がオンされると活性状態となり、前記進行側停
止手段と前記戻し側起動手段に接続された起動終了側活
性手段が前記進行側停止手段がオンされたときに活性化
され次工程の起動側活性手段を活性状態に設定する一
方、活性化された状態で前記戻し側起動手段がオンし、
かつ、前記実行条件認識手段によって実行条件が整って
いると判断されると前記戻し側実行手段を起動させ、1
つの行程における前記起動終了側活性手段と次の行程に
おける前記起動開始側活性手段とを、一方が活性化状態
になると他方も活性化状態になるようにしたことを特徴
とするものである。
(Means for Solving Problems) In the present invention for achieving the above object, the advancing side executing means for actuating an operating member including a cylinder, a motor and the like in a step step direction is connected to the advancing side starting means. While it is started by the execution condition recognition means, it is stopped by the advancing side stop means,
Further, the return side executing means for operating the operating member in the direction opposite to the step direction is activated by the execution condition recognizing means connected to the return side activating means, while being stopped by the return side stopping means, A sequence control method for sequentially operating a plurality of strokes, which constitutes one stroke by the advancing side executing means and the returning side executing means, wherein the advancing side starting means and the returning side stopping means are connected. The activated starting side activation means is activated when the previous stroke is completed, the advancing side activation means is turned on under the activated state, and the execution condition is satisfied by the execution condition recognition means. When it is judged that the advancing side executing means is activated, when the return side stopping means is turned on in the inactive state, the advancing side executing means is activated and the advancing side stopping means and the return side stopping means are activated. The activation end side activating means connected to the moving means is activated when the advancing side stopping means is turned on to set the activation side activating means of the next step to the active state, while the return side is activated in the activated state. The activation means is turned on,
Further, when the execution condition recognition means determines that the execution condition is satisfied, the return side execution means is activated.
It is characterized in that the activation end side activation means in one stroke and the activation start side activation means in the next stroke are activated when one of them is activated.

(作用) シーケンス制御装置をこのような方法で動作させると次
のように動作する。この動作を第1図に基づいて説明す
る。
(Operation) When the sequence control device is operated by such a method, it operates as follows. This operation will be described with reference to FIG.

起動開始側活性手段が活性化状態となり、進行側起動手
段がオンすると、前記起動開始側活性手段が不活性化状
態となり、また、実行条件認識手段によって実行条件が
整ったと判断された場合には、進行側実行手段によって
作動部材を行程歩進方向に所定の順序で作動させる。次
に、進行側停止手段がオンすると、起動終了側活性手段
が活性化状態となり、同時に次工程の起動側活性手段も
活性化状態となる。この状態で戻し側起動手段がオンす
ると、前記起動終了側活性手段が不活性化状態となり、
前記実行条件認識手段によって実行条件が整ったと判断
された場合には、戻し側実行手段によって前記作動部材
を行程歩進方向とは逆方向に所定の順序で作動させるこ
とが可能になる。さらに、戻し側停止手段がオンする
と、起動側活性手段が活性化状態となるとともに前行程
の起動終了側活性手段が活性化状態となる。
When the activation starting side activating means is activated and the advancing side activating means is turned on, the activation starting side activating means is deactivated, and when the execution condition recognizing means determines that the execution condition is satisfied. The operating member is operated in a predetermined order in the step direction by the advancing side executing means. Next, when the advancing side stopping means is turned on, the activation ending side activating means is activated, and at the same time, the starting side activating means of 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 in an inactivated state,
When the execution condition recognition means determines that the execution condition is satisfied, the return side execution means can operate the operation member in a predetermined order in a direction opposite to the step direction. Further, when the return side stop means is turned on, the activation side activation means is activated and the activation end side activation means of the previous process is activated.

したがって、一工程毎に前記作動部材を行程歩進方向あ
るいは行程歩進方向とは逆方向に作動させることができ
るばかりではなく、その作動もインチングのような間欠
作動をさせることができ、また、手動操作から自動操作
に切換えた場合であってもそのまま自動起動させること
ができ、かつ、処理行程のプログラムも単純化されるの
で、改造作業や故障の復旧を迅速に行なうことができる
ことになる。
Therefore, not only can the actuation member be actuated in the step direction or the direction opposite to the step direction in each step, but the operation can also be an intermittent operation such as inching. Even when the manual operation is switched to the automatic operation, it can be automatically started as it is, and the program of the processing process is simplified, so that the remodeling work and the restoration of the failure can be quickly performed.

(実施例) 以下、本発明の実施例を図面に基づいて詳細に説明す
る。
(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 using 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 system of a machine that operates as shown in FIGS. 5 and 6 by a sequence control device using the sequence control method according to the present invention.

この処理方式の概念図は、同図に示すように構成され、
同図中、P0′,P1,P3,P10は起動開始側活性手段としての
状態点を示し、P0,P2,P4,P20は起動終了側活性手段とし
ての状態点を示し、S1′,S1,S5,S10は進行側起動手段と
しての遷移条件を示し、S2′,S2,S6,S20は進行側停止手
段としての遷移条件を示し、S3′,S3,S7,S30は戻し側起
動手段としての遷移条件を示し、S4′,S4,S8,S40は戻し
側停止手段としての遷移条件を示し、J1′,J1,J3,J10は
進行側実行手段としての実行命令群を示し、J2′,J2,J
4,J20は戻し側実行手段としての実行命令群を示し、H
1′,H2′,H1,H2,H3,H4,H10,H20は実行条件認識手段とし
ての実行条件をそれぞれ示している。
The conceptual diagram of this processing method is configured as shown in FIG.
In the figure, P0 ', P1, P3, P10 indicate the state points as the activation start side activation means, P0, P2, P4, P20 indicate the state points as the activation end side activation means, and S1', S1, S5 and S10 show transition conditions as the advancing side starting means, S2 ', S2, S6 and S20 show transition conditions as the advancing side stopping means, and S3', S3, S7 and S30 show the returning side starting means. Transition conditions, S4 ', S4, S8, S40 show transition conditions as return side stopping means, J1', J1, J3, J10 show execution instruction groups as progress side executing means, J2 ', J2 , J
4, J20 indicates a group of execution instructions as return side execution means, and H
1 ', H2', H1, H2, H3, H4, H10 and H20 respectively indicate execution conditions as execution condition recognition means.

この概念図に示した各構成要素の内の1つの構成要素
は、第4図に示した基本動作を示すフローチャトに基づ
いて次の様に動作する。以下にこの動作を第3図に基づ
いて説明する。
One of the constituent elements shown in this conceptual diagram operates as follows based on the flow chart showing the basic operation shown in FIG. This operation will be described below with reference to FIG.

まず、シーケンス制御装置の動作を総括制御するCPUに
より、状態点P1が活性であると判断されている場合に
は、(ステップ20)、状態点P1が活性であれば状態点P0
を活性化する(ステップ21)。そして、状態点P1が活性
であるかどうかの判断をし、活性でなければ、処理を終
了し(ステップ22)、活性であれば、遷移条件S1が1で
あるかどうかの判断をする。つまり、実行命令群J1を実
行する準備が整っているかどうかを判断する(ステップ
23)。この判断の結果、遷移条件S1が1でなければステ
ップ22及びステップ23の処理を繰返し、遷移条件S1が1
ならば、状態点P0及びP1を不活性化して次のステップに
進む。(ステップ24,25)。次に、実行条件H1が1であ
るかどうかの判断をする。つまり、実行命令群J1を実行
する条件が整っているかどうかの判断をする(ステップ
26)。この判断の結果、実行条件H1が1であれば次のス
テップに進んで実行命令群J1を実行し(ステップ27)、
実行条件H1が1でなければ実行命令群J1を実行せずにス
テップ28を処理を行なう。したがって実行命令群J1は、
遷移条件S1が1であり、なおかつ実行条件H1が1である
場合にのみ実行されることになる。次に遷移条件S2が1
であるかどうかの判断をする。すなわち、実行命令群J1
の実行を終了する条件が整っているかどうかを判断する
(ステップ28)。この判断の結果、遷移条件S2が1でな
ければステップ26からステップ28の処理を繰返して、実
行条件H1が1である場合には実行命令群J1の実行を続行
し、遷移条件S2が1ならば、状態点P2を活性化し(ステ
ップ29)、処理を終了する。
First, when the CPU that controls the operation of the sequence control device determines that the state point P1 is active (step 20), if the state point P1 is active, the state point P0 is activated.
Is activated (step 21). Then, it is determined whether or not the state point P1 is active. If it is not active, the process is terminated (step 22). If it is active, it is determined whether the transition condition S1 is 1. That is, it is determined whether the execution instruction group J1 is ready to be executed (step
twenty three). As a result of this judgment, if the transition condition S1 is not 1, the processing of steps 22 and 23 is repeated until the transition condition S1 is 1
If so, the state points P0 and P1 are deactivated and the process proceeds to the next step. (Steps 24, 25). Next, it is determined whether the execution condition H1 is 1. That is, it is determined whether the conditions for executing the execution instruction group J1 are satisfied (step
26). As a result of this judgment, if the execution condition H1 is 1, the process proceeds to the next step to execute the execution instruction group J1 (step 27),
If the execution condition H1 is not 1, the step 28 is executed without executing the execution instruction group J1. Therefore, the execution instruction group J1 is
It is executed only when the transition condition S1 is 1 and the execution condition H1 is 1. Next, transition condition S2 is 1
To determine if. That is, the execution instruction group J1
It is determined whether the conditions for ending the execution of are satisfied (step 28). As a result of this judgment, if the transition condition S2 is not 1, the processes of steps 26 to 28 are repeated. If the execution condition H1 is 1, execution of the execution instruction group J1 is continued, and if the transition condition S2 is 1, If so, the state point P2 is activated (step 29), and the process ends.

このように、第3図に示した概念図の構成要素の内の1
つは以上のように動作し、また同図における他の構成要
素もこれと全く同様の動作を行なうので、これらの構成
要素全体についての動作説明は省略することとする。
Thus, one of the components of the conceptual diagram shown in FIG. 3 is
1 operates as described above, and the other constituent elements in the figure also operate in exactly the same manner, so that the description of the operation of these constituent elements as a whole will be omitted.

そして、前記した各構成要素のそれぞれは概念的には以
上のように動作することになるが、この動作を第5図及
び第6図に示した実際の機械の構成部材の動作として説
明すると以下のようになる。これを、第5図に示したク
ランプ1及びクランプ2の動作を例として説明する。
Then, each of the above-mentioned respective constituent elements conceptually operates as described above, and this operation will be described as the operation of the actual constituent members of the machine shown in FIGS. 5 and 6. become that way. This will be described by taking the operation of the clamp 1 and the clamp 2 shown in FIG. 5 as an example.

まず、リフターが上昇して上昇限に達し、遷移条件S3′
が成立していない、つまり、リフターを上昇限から下降
限に手動で移行させる条件が整っていないことを条件と
して状態点P1が活性となると、同時に状態点P10が活性
となり、遷移条件S1及び実行条件H1の条件が整っていれ
ば実行命令群J1の実行をしてクランプ1を出し、同様に
遷移条件S10及び実行条件H10の条件が整っていれば実行
命令群J10の実行をしてクランプ2を出す。そして次
に、遷移条件S2,S20がそれぞれ1であるかどうかの判断
をする。すなわち、実行命令群J1,J10の実行を終了する
条件が整っているかどうか,換言すればクランプ1,2が
それぞれ出限に移行したがどうかを判断する。この判断
の結果、遷移条件S2,S20がそれぞれ1でなければ実行命
令群J1,J10の実行を続行し、換言すればクランプ1,2を
出限まで移行させ、遷移条件S2,S20が1ならば、つま
り、クランプ1,2が出限まで移行したら、状態点P2,P20
をそれぞれ活性化して処理を終了する。そして、遷移条
件S3,S30がそれぞれ活性となっているかどうかの判断,
つまり、手動操作を行なうためのスチッチ等がオン状態
となっており、実行命令群J2の実行をする条件,すなわ
ち、クランプ1,2の出限から戻し限に移行させる準備が
整っているかどうかを判断する。そして、この状態で実
行条件が成立,具体的には手動でクランプ1あるいはク
ランプ2を出限から戻し限に移行させる押釦スイッチが
オンされている状態にある場合には、実行条件H2が成立
していることを条件としてクランプ1が、また、実行条
件H20が成立していることを条件としてクランプ2がそ
れぞれ出限から戻し限に移行する。すなわち、クランプ
1,2を出限から戻し限に移行させるための押釦スイッチ
がオンされている場合にのみ、このクランプ1,2が動作
することになる。次に、遷移条件S4,S40が1であるかど
うかの判断,すなわち、実行命令群J2,J20の実行を終了
する条件が整っているかどうかの判断をし、条件が整っ
ていれば状態点P0′を活性化して処理を終了する。
First, the lifter rises and reaches the upper limit, and the transition condition S3 ′
Is not established, that is, when the state point P1 is activated under the condition that the condition for manually shifting the lifter from the ascending limit to the descending limit is not established, at the same time, the state point P10 is activated, and the transition condition S1 and execution are executed. If the condition H1 is satisfied, the execution instruction group J1 is executed and the clamp 1 is issued. Similarly, if the transition condition S10 and the execution condition H10 are satisfied, the execution instruction group J10 is executed and the clamp 2 is executed. Give out. Then, next, it is determined whether or not the transition conditions S2 and S20 are 1 respectively. That is, it is determined whether or not the conditions for ending the execution of the execution instruction groups J1 and J10 are satisfied, in other words, whether or not the clamps 1 and 2 have moved to the output limit. As a result of this judgment, if the transition conditions S2 and S20 are not 1 respectively, the execution instruction groups J1 and J10 are continued to be executed, in other words, the clamps 1 and 2 are moved to the limit, and if the transition conditions S2 and S20 are 1. In other words, if clamps 1 and 2 have reached the limit, state points P2 and P20
Are activated respectively and the process is terminated. Then, it is determined whether the transition conditions S3 and S30 are active,
In other words, the switch for manual operation is in the ON state, and the condition for executing the execution instruction group J2, that is, whether the clamps 1 and 2 are ready to shift from the output limit to the return limit to decide. Then, when the execution condition is satisfied in this state, specifically, when the push button switch for manually shifting the clamp 1 or the clamp 2 from the output limit to the return limit is turned on, the execution condition H2 is satisfied. The clamp 1 shifts from the output limit to the return limit on the condition that the execution condition H20 is satisfied. Ie clamp
The clamps 1 and 2 operate only when the push button switch for shifting the outputs 1 and 2 from the output limit to the return limit is turned on. Next, it is determined whether or not the transition conditions S4 and S40 are 1, that is, whether or not the conditions for ending the execution of the execution instruction groups J2 and J20 are satisfied. If the conditions are satisfied, the state point P0 ′ Is activated and the process ends.

このように、一工程毎に、自動で実行できる実行命令群
と手動操作が選択された際に実行できる実行命令群とを
共に設けているので、自動動作時に何らかの原因で機械
が停止した場合であっても、この停止原因を除去するた
めに手動操作に切換えて、操作者がその機械の構成部品
を任意に動かすことができることになる。そして、その
停止原因の除去後、手動操作から自動操作に切換えた場
合であっても、機械はその位置からそのまま自動起動さ
せることができることになる。
In this way, the execution instruction group that can be automatically executed and the execution instruction group that can be executed when manual operation is selected are provided for each process, so that when the machine stops for some reason during automatic operation. Even so, the operator can arbitrarily move the components of the machine by switching to the manual operation to eliminate the cause of the stop. After removing the cause of the stop, even if the manual operation is switched to the automatic operation, the machine can be automatically started from that position.

なお、本実施例においては、戻し側実行命令群の処理内
容は、進行側実行命令群の処理内容とは逆の動作のもの
を例示したが、この処理内容は進行側実行命令群の処理
内容と同一のものと逆のものを並存させたものであって
も適用可能である。
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.

(発明の効果) 以上の説明により明らかなように、本発明によれば、シ
リンダやモータ等からなる作動部材を工程歩進方向に作
動させる進行側実行手段を進行側起動手段に接続された
実行条件認識手段により起動させる一方、進行側停止手
段で停止させ、更に前記作動部材を行程歩進方向とは逆
方向に作動させる戻し側実行手段を、戻し側起動手段に
接続された前記実行条件認識手段で起動させる一方、戻
し側停止手段で停止させるようにし、前記進行側実行手
段と前記戻し側実行手段とにより1つの行程が構成され
る複数の行程を順次作動させるようにしたシーケンス制
御方法であって、前記進行側起動手段と前記戻し側停止
手段に接続された起動開始側活性手段が前の行程が終了
したときに活性化されるとともに当該活性化状態の下で
前記進行側起動手段がオンし、かつ、前記実行条件認識
手段によって実行条件が整っていると判断されたときに
前記進行側実行手段を起動させる一方、不活性状態の下
で前記戻し側停止手段がオンされると活性状態となり、
前記進行側停止手段と前記戻し側起動手段に接続された
起動終了側活性手段が前記進行側停止手段がオンされた
ときに活性化され次工程の起動側活性手段を活性状態に
設定する一方、活性化された状態で前記戻し側起動手段
がオンし、かつ、前記実行条件認識手段によって実行条
件が整っていると判断されると前記戻し側実行手段を起
動させ、1つの行程における前記起動終了側活性手段と
次の行程における前記起動開始側活性手段とを、一方が
活性化状態になると他方も活性化状態になるようにした
ので、一工程毎に前記作動部材を行程歩進方向あるいは
行程歩進方向とは逆方向に作動させることができ、また
その作動も間欠動作させることができ、手動操作から自
動操作に切換えた場合であってもそのまま自動起動させ
ることができる。さらには、処理行程のプログラムが一
工程毎に1つのブロックとして表わすことが可能になる
ので、改造作業や故障の復旧作業時のプログラム入力処
理が単純化され、これらの作業を迅速に行なうことがで
きることになる。
(Effects of the Invention) As is apparent from the above description, according to the present invention, the execution side execution means for operating the operation member including the cylinder, the motor, and the like in the step step direction is connected to the execution side start means. The return side executing means, which is activated by the condition recognizing means, is stopped by the advancing side stopping means, and further operates the operating member in a direction opposite to the step direction, is connected to the return side activating means. By means of a sequence control method, the return side stop means is used to stop the start-up means and the return side stop means to sequentially operate a plurality of strokes, each stroke constituting one stroke. The activation start side activation means connected to the advancing side activation means and the return side stop means is activated when the previous stroke is completed, and is activated under the activated state. The advancing side activating means is turned on, and the advancing side executing means is activated when the execution condition recognizing means determines that the execution condition is satisfied, while the return side stopping means is activated under an inactive state. When is turned on, it becomes active,
While the starting end activating means connected to the advancing side stopping means and the returning side starting means is activated when the advancing side stopping means is turned on, while setting the starting side activating means in the next step to the active state, When the return side activating means is turned on in the activated state, and the execution condition recognizing means determines that the execution condition is satisfied, the return side executing means is activated and the activation end in one stroke. The side activating means and the activation starting side activating means in the next stroke are arranged so that when one of them is in the activated state, the other is also in the activated state. The operation can be performed in the direction opposite to the stepping direction, and the operation can be performed intermittently. Even when the manual operation is switched to the automatic operation, the automatic operation can be automatically performed. 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図は、本発明に係るシーケンス制御方法を用いたシ
ーケンス制御装置の概略構成図、 第3図は、本発明に係るシーケンス制御方法の処理方式
を示す概念図、 第4図は、本発明に係るシーケンス制御方法を示すフロ
ーチャート、 第5図及び第6図は、単純な動作をする機械の動作説明
に供する図、 第7図は、グラフセット方式のシーケンス制御装置によ
り、機械を第5図及び第6図に示したような動作させる
場合のフローチャート。 1……CPU、2……電源部、 3……入力部、4……出力部、 5……プログラムローダ。
FIG. 1 is a block diagram of a sequence control device using the sequence control method according to the present invention, FIG. 2 is a schematic configuration diagram of a sequence control device using the sequence control method according to the present invention, and FIG. FIG. 4 is a conceptual diagram showing a processing method of a sequence control method according to the present invention, FIG. 4 is a flow chart showing a sequence control method according to the present invention, and FIGS. 5 and 6 are for explaining the operation of a machine that performs simple operations. FIG. 7 to be provided, FIG. 7 is a flow chart in the case of operating the machine as shown in FIGS. 5 and 6 by the sequence control device of the graph set method. 1 ... CPU, 2 ... power supply section, 3 ... input section, 4 ... output section, 5 ... program loader.

フロントページの続き (72)発明者 川上 隆行 神奈川県横浜市神奈川区宝町2番地 日産 自動車株式会社内 (72)発明者 伊藤 隆敏 神奈川県横浜市神奈川区宝町2番地 日産 自動車株式会社内 (72)発明者 清水 圭 神奈川県横浜市神奈川区宝町2番地 日産 自動車株式会社内 (56)参考文献 特開 昭61−180307(JP,A) 特開 昭61−233804(JP,A) 特開 昭62−131304(JP,A)Front page continuation (72) Inventor Takayuki Kawakami 2 Takara-cho, Kanagawa-ku, Yokohama, Kanagawa Nissan Motor Co., Ltd. (72) Inventor Takatoshi Ito 2 Takara-cho, Kanagawa-ku, Yokohama, Kanagawa (72) Invention Kei Shimizu 2 Takaracho, Kanagawa-ku, Yokohama, Kanagawa Prefecture Nissan Motor Co., Ltd. (56) References JP 61-180307 (JP, A) JP 61-233804 (JP, A) JP 62-131304 (JP, A)

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 and an executing condition recognizing means connected to an advancing side starting means, while stopping by an advancing side stopping means. A return side executing means for operating the operating member in a direction opposite to the step direction,
The execution condition recognition means connected to the return side activation means is activated, while the return side stop means is caused to stop.
A sequence control method in which a plurality of strokes, each of which constitutes one stroke, is sequentially operated by the advancing-side executing means and the returning-side executing means, wherein the advancing-side starting means and the returning-side stopping means are connected. The activated starting side activation means is activated when the previous stroke is completed, the advancing side activation means is turned on under the activated state, and the execution condition is satisfied by the execution condition recognition means. When the return side stop means is turned on under an inactive state, the active side execution means is activated when it is determined that the advancing side execution means is activated, and the advancing side stop means and the return side activation means are connected. The activation side activating means is activated when the advancing side stopping means is turned on to set the activation side activating means in the next step to the active state, while the return side activation means is activated in the activated state. Is turned on, and when the execution condition recognition means determines that the execution condition is satisfied, the return side execution means is activated, and the activation end side activation means in one stroke and the activation start in the next stroke. A sequence control method in which one of the side activation means is brought into an activated state when the other is brought into an activated state.
JP2379388A 1988-02-05 1988-02-05 Sequence control method Expired - Lifetime JPH0750403B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2379388A JPH0750403B2 (en) 1988-02-05 1988-02-05 Sequence control method
GB8902595A GB2215489B (en) 1988-02-05 1989-02-06 Sequence control method
US07/306,580 US4972310A (en) 1988-02-05 1989-02-06 Sequence control system and its method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2379388A JPH0750403B2 (en) 1988-02-05 1988-02-05 Sequence control method

Publications (2)

Publication Number Publication Date
JPH01200407A JPH01200407A (en) 1989-08-11
JPH0750403B2 true JPH0750403B2 (en) 1995-05-31

Family

ID=12120202

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2379388A Expired - Lifetime JPH0750403B2 (en) 1988-02-05 1988-02-05 Sequence control method

Country Status (1)

Country Link
JP (1) JPH0750403B2 (en)

Also Published As

Publication number Publication date
JPH01200407A (en) 1989-08-11

Similar Documents

Publication Publication Date Title
JP3665008B2 (en) Synchronization control method and synchronization control apparatus
JP3839295B2 (en) Equipment monitoring device
JP2004326618A (en) Numerical control equipment for machine tools
JP2526709B2 (en) Programmable controller and method of executing SFC program of programmable controller
JPH0622839B2 (en) Manual operation method of machine controlled by numerical controller
JPH0750403B2 (en) Sequence control method
JPH07122815B2 (en) Sequence control method
KR20220062544A (en) Control program generating device, control program generating method, program
US4972310A (en) Sequence control system and its method
CN108349081A (en) Method and computer program for the mistake for correcting effector system
JPH07122817B2 (en) Sequence control method
JP4807511B2 (en) PLC
JPH07122816B2 (en) Sequence control method
WO2000067083A1 (en) Method of programming motion controller
JP2648768B2 (en) Switching method between sequence control operation mode and other operation modes
JP6549378B2 (en) Programmable controller monitoring device
JP5830976B2 (en) Operating device
JP3700529B2 (en) Sequence controller
JP3460747B2 (en) Numerical control unit
KR100254187B1 (en) Machining stop unit with remote adjust panel
JP2000276211A (en) Programmable controller
JP3628096B2 (en) Machine tool positioning apparatus and method
JP4208600B2 (en) NC machine tool
JPH02186406A (en) Multi-ladder control system for sequencer
JP2005085095A (en) Numerical control device, numerical control device parameter setting method, and numerical control program