JPH01200407A - Sequence control method - Google Patents

Sequence control method

Info

Publication number
JPH01200407A
JPH01200407A JP2379388A JP2379388A JPH01200407A JP H01200407 A JPH01200407 A JP H01200407A JP 2379388 A JP2379388 A JP 2379388A JP 2379388 A JP2379388 A JP 2379388A JP H01200407 A JPH01200407 A JP H01200407A
Authority
JP
Japan
Prior art keywords
execution
activated
return
turned
advancing
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.)
Granted
Application number
JP2379388A
Other languages
Japanese (ja)
Other versions
JPH0750403B2 (en
Inventor
Katsuyuki Onodera
小野寺 勝幸
Wataru Kubota
窪田 弥
Tatsuo Naito
内藤 辰男
Takayuki Kawakami
隆行 川上
Takatoshi Ito
伊藤 隆敏
Kei Shimizu
圭 清水
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)

Abstract

PURPOSE:To simplify the working change of a system controller and also recovery of the troubles of the controller and to obtain a simple process program by adding a start side activating means, a progress side start means, a return side stop means, an execution condition recognizing means, etc., to a sequence control system. CONSTITUTION:A progress side executing means which actuates an action member consisting of a cylinder, a motor, etc., in the process progress direction is started by an execution condition recognizing means connected to a progress side start means and then stopped by a progress side stop means. Then a return side executing means which sets the action member in the direction opposite to the process progress direction is started by the execution condition recognizing means connected to a return side stop means and stopped by the return side stop means. Both the progress side execution means and the return side execution means actuate successively plural processes forming one process. Then a start side activating means connected to the progress side start means and the return side stop means is activated when the preceding process is over. At the same time, the progress side start means is turned on and the execution condition recognizing means recognizes the execution conditions.

Description

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

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

このようにシーケンス制御装置が普及したのは、ユーザ
ーがプログラムすることによって簡単に所望の回路を構
成することができ、また、改造等で機械の動きを変える
場合にもプログラムし直すだけで所望の動作をさせるこ
とが可能であり、かつ、安価であるという種々の特徴を
このシーケンス制御装置が有しているからであると考え
られる。
Sequence control devices have become popular in this way because they allow users to easily configure desired circuits by programming, and when changing the behavior of a machine due to modification, etc., the desired circuit can be configured simply by reprogramming. This is believed to be because this sequence control device has various features such as being able to operate and being inexpensive.

ところが、このような特徴を有しているシーケンス制御
装置であっても、通常では処理方式がリレーラダー式で
あるために、例えば、非常に大型の生産機械装置に使用
した場合には、この生産機械装置を制御するシーケンス
制御装置の有するプログラムが非常に膨大かつ複雑とな
り、修理や改造の必要が生じた際には、その修理や改造
には多大の時間が必要となる(ある部材が動かなくなっ
た場合には、その部材が動く条件をラダー図に基づいて
順次追っていくが、その条件が何十もあると、動かない
原因を探し当てるには多大の時間が必要となる。〉とい
う欠点もある。これは、ラダー図を見ただけでは機械の
動きが把握できないことに起因しているからである。
However, even if a sequence control device has these characteristics, the processing method is normally a relay ladder type, so if it is used in a very large production machine, for example, this production The programs held by sequence control devices that control mechanical devices have become extremely large and complex, and when the need for repair or modification arises, it takes a great deal of time to do so. In such cases, the conditions under which the component moves are sequentially followed based on a ladder diagram, but if there are dozens of conditions, it takes a lot of time to find the reason why the component does not move. This is because it is not possible to understand the movement of the machine just by looking at the ladder diagram.

このようなリレーラグ−式の欠点を解消するために、近
年では、処理方式がグラフセラt・式であるシーケンス
制御装置が使用されつつある。このグラフセット式のシ
ーケンス制御装置は機械の動きに対応して処理行程を入
力することができるので、前記したような改造や修理を
行なう際には、このシーケンス制御装置に記憶させた処
理工程を出力させ、その出力させた処理工程を参照すれ
ば直に機械の動きがわかることになる。従って、リレー
ラダー式のものに比較して改造や修理を簡単に行なうこ
とができることになる。
In order to eliminate such drawbacks of the relay-lag type, in recent years, sequence control devices whose processing method is the Graph Sera T-type have been used. This graph set type sequence control device allows processing steps to be input in response to the movements of the machine, so when performing the above-mentioned modifications or repairs, the processing steps stored in this sequence control device can be input. If you output the information and refer to the output processing steps, you can immediately understand the machine's movements. Therefore, remodeling and repair can be performed more easily than the relay-ladder type.

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

つまり、まず、Ylをオンにしてリフターを上昇させ(
ステップ1)、リフターが上昇限まで上昇して移行条件
x1がオンすると、Ylをオフにすると共にY3をオン
し、同時にY5をオンしてクランプ1及びクランプ2を
出す(ステップ2゜3)。次に、移行条件X3.X5が
オンし、移行条件Aワークがオンすると、換言すればク
ランプl及びクランプ2が前進限まで移動し、ワークが
Aワークであれば、Y3.Y5が同時にオフしてYlを
オンしくステップ4)、Aワークの加工が所定1行なわ
れて移行条件X7がオンになると、Ylをオフするとと
もにY8をオンする(ステップ5)。一方、移行条件X
3.X5がオンし、移行条件Bワークがオンすると、換
言すればクランプ1及びクランプ2が前進限まで移動し
、ワークがBワークであれば、Y3.Y5が同時にオフ
してY9をオンしくステップ6)、Bワークの加工が所
定1行なわれて移行条件X9がオンになると、Y9をオ
フするとともにYIOをオンする(ステップ7)。そし
て、AワークまたはBワークの加工が終了して移行条件
X8及びXIOがオンすると、Y8.YIOをオフにす
ると共にY4をオンし、同時にY6をオンしてクランプ
l及びクランプ2を戻す(ステップ8.9)。さらに、
クランプ1及びクランプ2が戻って移行条件X4.X6
がオンすると、Y4及び¥6をオフし、Y2をオンして
リフターを下降させる(ステップ10〉。
In other words, first turn on Yl and raise the lifter (
In step 1), when the lifter rises to the upper limit and transition condition x1 is turned on, Yl is turned off and Y3 is turned on, and at the same time Y5 is turned on to bring out clamp 1 and clamp 2 (steps 2 and 3). Next, transition condition X3. When X5 is turned on and transition condition A workpiece is turned on, in other words, clamp 1 and clamp 2 move to the forward limit, and if the workpiece is A workpiece, then Y3. At the same time, Y5 is turned off and Yl is turned on (step 4), and when the A workpiece has been processed once and transition condition X7 is turned on, Yl is turned off and Y8 is turned on (step 5). On the other hand, transition condition
3. When X5 is turned on and transition condition B workpiece is turned on, in other words, clamp 1 and clamp 2 move to the forward limit, and if the workpiece is B workpiece, Y3. At the same time, Y5 is turned off and Y9 is turned on (step 6), and when the B workpiece is processed once and the transition condition X9 is turned on, Y9 is turned off and YIO is turned on (step 7). Then, when the machining of workpiece A or workpiece B is completed and transition conditions X8 and XIO are turned on, Y8. Turn off YIO and turn on Y4, and at the same time turn on Y6 to return clamp 1 and clamp 2 (step 8.9). moreover,
Clamp 1 and Clamp 2 return to transition condition X4. X6
When turned on, Y4 and ¥6 are turned off, Y2 is turned on, and the lifter is lowered (step 10).

リフターが下降限まで移動して移行条件X2がオンする
と、Y2をオフする(ステップ11)。
When the lifter moves to the lower limit and transition condition X2 is turned on, Y2 is turned off (step 11).

このように、処理方式がグラフセット式のシーケンス制
御装置にあっては、第6図に示すようなタイミングチャ
ートに基づいて直接、処理行程を入力することが可能で
あるから、改造や修理を比較的簡単に行なうことができ
る。
In this way, with a sequence control device whose processing method is a graph set type, it is possible to input the processing steps directly based on the timing chart shown in Figure 6, so it is possible to compare modifications and repairs. It can be done fairly easily.

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

例えば、第7図に示したフローチャートにおいては、リ
フターが何かのトラブルによって上昇限まで上昇しない
場合には、ステップ1が永久に処理状態となってしまう
。この状態のままでは修理等ができないので、この処理
を強制的に中止させるステップが必要となる。つまり、
手動操作に切換えて手動操作によってこのリフターを動
かせるようにすることが必要となるが、このように、ト
ラブルを考慮して手動操作をも含めた処理工程をフロー
チャートにすると、−工程毎にこの手動操作のフローチ
ャートを加える必要があることから、全体の動作のフロ
ーチャートは非常に複雑なフローチャートになってしま
い、グラフセット式の利点が全く生かせなくなってしま
うという問題がある。
For example, in the flowchart shown in FIG. 7, if the lifter does not rise to its upper limit due to some trouble, step 1 will remain in the processing state forever. Since repairs cannot be performed in this state, it is necessary to take a step to forcibly stop this process. In other words,
It is necessary to switch to manual operation so that this lifter can be moved by manual operation, but if you make a flow chart of the processing steps including manual operation in consideration of troubles, - This manual operation is performed for each process. Since it is necessary to add a flowchart of operations, the flowchart of the entire operation becomes a very complicated flowchart, and there is a problem in that the advantages of the graph set type cannot be utilized at all.

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

本発明は、このような従来のシーケンス制御装置の問題
を解消するなめになされたものであり、このシーケンス
制御装置の動作変更及び故障時の復旧を簡単に行なうこ
とができ、かつ、処理工程のプログラムが簡単であるシ
ーケンス制御方法を提供することを目的とする。
The present invention has been made 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 restore it in the event of a failure, and to improve the processing process. The purpose is to provide a sequence control method that is easy to program.

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

(作用) シーケンス制御装置をこのような方法で動作させると次
のように動作する。この動作を第1図に基づいて説明す
る。、 起動開始側活性手段が活性化状態となり、進行側起動手
段がオンすると、前記起動開始側活性手段が不活性化状
態となり、また、実行条件認識手段によって実行条件が
整ったと判断された場合には、進行側実行手段によって
作動部材を行程歩進方向に所定の順序で作動させる。次
に、進行側停止手段がオンすると、起動終了側活性手段
が活性化状態となり、同時に次工程の起動側活性手段も
活性化状態となる。この状態で戻し側起動手段がオンす
ると、前記起動終了側活性手段が不活性化状態となり、
前記実行条件認識手段によって実行条件が整ったと判断
された場合には、戻し側実行手段によって前記作動部材
を行程歩進方向とは逆方向に所定の順序で作動させるこ
とが可能になる。
(Operation) When the sequence control device is operated in this manner, it operates as follows. This operation will be explained based on FIG. , When the activation start side activation means becomes activated and the progress side activation means is turned on, the activation start side activation means becomes inactivated, and when the execution condition recognition means determines that the execution conditions are set, The actuating member is actuated in a predetermined order in the stroke advancing direction by the advancing side execution means. Next, when the proceeding side stopping means is turned on, the starting end side activating means becomes activated, and at the same time, the starting side activating means of the next step also becomes activated. When the return side activation means is turned on in this state, the activation end side activation means becomes inactivated,
When the execution condition recognition means determines that the execution conditions are met, the return side execution means enables the actuating members to be actuated in a predetermined order in a direction opposite to the stroke advancing direction.

さらに、戻し側停止手段がオンすると、起動側活性手段
が活性化状態となるとともに前行程の起動終了側活性手
段が活性化状態となる。
Furthermore, when the return-side stop means is turned on, the start-side activation means becomes activated, and the start-end activation means of the previous stroke becomes activated.

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

(実施例) 以下、本発明の実施例を図面に基づいて詳細に説明する
(Example) Hereinafter, an example of the present invention will be described in detail based on the drawings.

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

同図に示すように、演算制御部及び記憶部を備えたCP
UIには、電源部2、入力部3及び出力部4がそれぞれ
接続されている。この入力部3には、リミットスイッチ
、押釦スイッチ、リレー接点などが接続されており、こ
れらの接点情報が入力される。そして、出力部4には、
電磁開閉器。
As shown in the figure, a CP equipped with an arithmetic control section and a storage section
A power supply section 2, an input section 3, and an output section 4 are respectively connected to the UI. A limit switch, a push button switch, a relay contact, etc. are connected to this input section 3, and information on these contacts is input. Then, in the output section 4,
electromagnetic switch.

電磁弁、ランプなどが接続され、CPUIの命令に基つ
いてこれらの駆動機器が動作する。
Solenoid valves, lamps, etc. are connected, and these driving devices operate based on instructions from the CPU.

また、CP[Jlには、プログラムを入力するプログラ
ムローダ5が必要に応じて接続しうるようになっており
、CP[Jlに新規のプログラムを入力する場合や設計
変更の際には、このプログラムローダ5によってプログ
ラムの追加や変更を行なうことになる。
In addition, a program loader 5 for inputting programs can be connected to CP[Jl as needed, and when inputting a new program to CP[Jl or changing the design, this program The loader 5 adds or changes programs.

第3図には、本発明に係るシーケンス制御方法を用いた
シーケンス制御装置によって第5図及び第6図に示した
ような動作をする機械の処理方式の概念図が示しである
FIG. 3 shows 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 a sequence control method according to the present invention.

この処理方式の概念図は、同図に示すように構成され、
同図中、PO’、PI、P3.PIOは起動開始側活性
手段としての状態点を示し、PO,P2.P4.P2O
は起動終了側活性手段としての状態点を示し、S1°、
Sl、35,310は進行側起動手段としての遷移条件
を示し、S2°、 32.36.320は進行側停止手
段としての遷移条件を示し、33’ 、 S3.37.
330は戻し側起動手段としての遷移条件を示し、S4
°、 34.38. S40は戻し側停止手段としての
遷移条件を示し、Jlo、 Jl、 J3゜JIOは進
行側実行手段としての実行命令群を示し、J2°、 J
2. J4. J20は戻し側実行手段としての実行命
令群を示し、旧’、H2°、旧、 H2,I−t3. 
H4,旧0. [20は実行条件認識手段としての実行
条件をそれぞれ示している。
A conceptual diagram of this processing method is configured as shown in the figure.
In the figure, PO', PI, P3. PIO indicates a state point as activation means on the activation start side, and PO, P2 . P4. P2O
indicates the state point of activation end side activation means, S1°,
Sl, 35, 310 indicates a transition condition for the proceeding side starting means, S2°, 32.36.320 indicates a transition condition for the proceeding side stopping means, 33', S3.37.
330 indicates a transition condition as a return side activation means, and S4
°, 34.38. S40 indicates a transition condition as a return side stop means, Jlo, Jl, J3° JIO indicates a group of execution instructions as a forward side execution means, J2°, J
2. J4. J20 indicates a group of execution instructions as the return side execution means, old', H2°, old, H2, I-t3.
H4, old 0. [20 indicates the execution conditions as the execution condition recognition means.

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

まず、シーケンス制御装置の動作を総括制御するCPU
により、状態点P1が活性であると判断されている場合
には、(ステップ20)、状態点P1が活性であれば状
態点POを活性化する(ステップ21)。そして、状態
点P1が活性であるかどうかの判断をし、活性でなけれ
ば、処理を終了しくステップ22)、活性であれば、遷
移条件S1が1であるかどうかの判断をする。つまり、
実行命令群J1を実行する準備が整っているかどうかを
判断する(ステップ23)。この判断の結果、遷移条件
S1が1でなければステップ22及びステップ23の処
理を繰返し、遷移条件S1が1ならば、状態点PO及び
Plを不活性化して次のステップに進む。
First, a CPU that generally controls the operation of the sequence control device.
If the state point P1 is determined to be active (step 20), if the state point P1 is active, the state point PO is activated (step 21). Then, it is determined whether the state point P1 is active or not. 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. In other words,
It is determined whether preparations are complete to execute the execution instruction group J1 (step 23). As a result of this determination, if the transition condition S1 is not 1, the processes of steps 22 and 23 are repeated, and if the transition condition S1 is 1, the state points PO and Pl are inactivated and the process proceeds to the next step.

(ステップ24.25>。次に、実行条件111が1で
あるかどうかの判断をする。つまり、実行命令群J1を
実行する条件が整っているかどうかの判断をする(ステ
ップ26)。この判断の結果、実行条件H1が1であれ
ば次のステップに進んで実行命令郡月を実行しくステッ
プ27)、実行条件旧が1でなければ実行命令群J1を
実行せずにステップ28の処理を行なう。したがって実
行命令群J1は、遷移条件S1が1であり、なおかつ実
行条件旧が1である場合にのみ実行されることになる。
(Steps 24 and 25>. Next, it is determined whether the execution condition 111 is 1. In other words, it is determined whether the conditions for executing the execution instruction group J1 are met (step 26). This determination As a result, if the execution condition H1 is 1, proceed to the next step and execute the execution command group (step 27), and if the execution condition old is not 1, execute the process of step 28 without executing the execution command group J1. Let's do it. Therefore, the execution instruction group J1 is executed only when the transition condition S1 is 1 and the execution condition old is 1.

次に遷移条件S2が1であるかどうかの判断をする。す
なわち、実行命令群J1の実行を終了する条件が整って
いるかどうかを判断する(ステップ28)。この判断の
結果、遷移条件S2が1でなければステップ26からス
テップ28の処理を繰返して、実行条件111が1であ
る場合には実行命令群J1の実行を続行し、遷移条件S
2が1ならば、状態点P2を活性化しくステップ29〉
、処理を終了する。
Next, it is determined whether the transition condition S2 is 1 or not. That is, it is determined whether the conditions for terminating the execution of the execution instruction group J1 are met (step 28). As a result of this judgment, if the transition condition S2 is not 1, the processes from step 26 to step 28 are repeated, and if the execution condition 111 is 1, execution of the execution instruction group J1 is continued, and the transition condition S2 is
If 2 is 1, activate state point P2 (step 29)
, ends the process.

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

そして、前記した各構成要素のそれぞれは概念的には以
上のように動作することになるが、この動作を第5図及
び第6図に示した実際の機械の構成部材の動作として説
明すると以下のようになる。
Each of the above-mentioned components conceptually operates as described above, but this operation is explained as the operation of the actual machine components shown in FIGS. 5 and 6 as follows. become that way.

これを、第5図に示したクランプ1及びクランプ2の動
作を例として説明する。
This will be explained using the operations of clamp 1 and clamp 2 shown in FIG. 5 as an example.

まず、リフターが上昇して上昇限に達し、遷移条件33
’が成立していない、つまり、リフターを上昇限から下
降限に手動で移行させる条件が整っていないことを条件
として状態点P1が活性となると、同時に状態点PIO
が活性となり、遷移条件S1及び実行条件間の条件が整
っていれば実行命令群J1の実行をしてクランプ1を出
し、同様に遷移条件S10及び実行条件間Oの条件が整
っていれば実行命令群JIOの実行をしてクランプ2を
出す。そして次に、遷移条件32.320がそれぞれ1
であるかどうかの判断をする。すなわち、実行命令群J
1、JIOの実行を終了する条件が整っているがどうが
First, the lifter rises and reaches the upper limit, and transition condition 33
' is not established, that is, the conditions for manually shifting the lifter from the upper limit to the lower limit are not met, and when state point P1 becomes active, at the same time state point PIO
becomes active, and if the conditions between the transition condition S1 and the execution condition are met, execute the execution instruction group J1 and issue clamp 1, and similarly, if the conditions between the transition condition S10 and the execution condition O are satisfied, the execution instruction group J1 is executed. Execute command group JIO and issue clamp 2. Then, transition conditions 32 and 320 are each 1
Decide whether or not. In other words, the execution instruction group J
1. The conditions for terminating JIO execution are in place, but what do you think?

換言すればクランプ1.2がそれぞれ出限に移行したか
どうかを判断する。この判断の結果、遷移条件S2.S
20がそれぞhlでなければ実行命令群J1、JIOの
実行を続行し、換言すればクランプ1.2を出限まで移
行させ、遷移条件32,320が1ならば、つまり、ク
ランプ1.2が出限まで移行したら、状態点P2.P2
0をそれぞれ活性化して処理を終了する。そして、遷移
条件33.330がそれぞれ活性となっているかどうか
の判断、つまり、手動操作を行なうためのスイッチ等が
オン、f憇となっており、実行命令群J2の実行をする
条件、すなわち、クランプ1,2を出限から戻し限に移
行させる準備が整っているかどうかを判断する。そして
、この状態で実行条件が成立、具体的には手動でクラン
プ1あるいはクランプ2を出限から戻し限に移行させる
押釦スイッチがオンされている状態にある場合には、実
行条件H2が成立していることを条件としてクランプ1
が、また、実行条件H20が成立していることを条件と
してクランプ2がそれぞれ出限から戻し限に移行する。
In other words, it is determined whether clamps 1 and 2 have reached their respective limits. As a result of this determination, transition condition S2. S
If 20 is not hl, the execution of the execution command group J1 and JIO is continued, in other words, clamp 1.2 is shifted to the limit, and if transition conditions 32 and 320 are 1, that is, clamp 1.2 moves to the limit, state point P2. P2
0 is activated and the process ends. Then, it is determined whether or not the transition conditions 33 and 330 are active, that is, the switches for manual operation are on and off, and the conditions for executing the execution command group J2 are as follows: It is determined whether the clamps 1 and 2 are ready to be moved from the extension limit to the return limit. Then, in this state, the execution condition is met. Specifically, if the push button switch that manually moves clamp 1 or clamp 2 from the extension limit to the return limit is turned on, the execution condition H2 is met. Clamp 1 provided that
However, on condition that the execution condition H20 is satisfied, the clamps 2 each shift from the extension limit to the return limit.

すなわち、クランプ1゜2を出限から戻し限に移行させ
るための押釦スイッチがオンされている場合にのみ、こ
のクランプ1.2が動作することになる。次に、遷移条
件34、340が1であるかどうかの判断、すなわち、
実行命令群J2. J20の実行を終了する条件が整っ
ているかどうかの判断をし、条件が整っていれば状態点
PO゛を活性化して処理を終了する。
That is, the clamp 1.2 operates only when the push button switch for moving the clamp 1.2 from the extension limit to the return limit is turned on. Next, it is determined whether the transition conditions 34 and 340 are 1, that is,
Execution command group J2. It is determined whether the conditions for terminating the execution of J20 are met, and if the conditions are met, the state point PO' is activated and the process is terminated.

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

なお、本実施例においては、戻し側実行命令群の処理内
容は、進行側実行命令群の処理内容とは逆の動作のもの
を例示したが、この処理内容は進行側実行命令群の処理
内容と同一のものと逆のものを並存させたものであって
も適用可能である。
Note that in this embodiment, the processing content of the return-side execution instruction group is the opposite of the processing content of the proceeding-side execution instruction group, but this processing content is different from the processing content of the proceeding-side execution instruction group. It is also applicable even if the same and opposite coexist.

(発明の効果) 以上の説明により明らかなように、本発明によれば、シ
リンダやモータ等からなる作動部材を工程歩進方向に作
動させる進行側実行手段を進行側起動手段に接続された
実行条件認識手段により起動させる一方、進行側停止手
段で停止させ、更に前記作動部材を行程歩進方向とは逆
方向に作動させる戻し側実行手段を、戻し側起動手段に
接続さhを前記実行条件認識手段で起動させる一方、戻
し側停止手段で停止させるようにし、前記進行側実行手
段と前記戻し側実行手段とにより1つの行程が構成され
る複数の行程を順次作動させるようにしたシーケンス制
御方法であって、前記進行側起動手段と前記戻し側停止
手段に接続された起動開始側活性手段が前の行程が終了
したときに活性化されるとともに当該活性化状態の下で
前記進行側起動手段がオンし、かつ、前記実行条件認識
手段によって実行条件が整っていると判断されたときに
前記進行側実行手段を起動させる一方、不活性状態の下
で前記戻し側停止手段がオンされると活性状態となり、
前記進行側停止手段と前記戻し側起動手段に接続された
起動終了側活性手段が前記進行側停止手段がオンされた
ときに活性化され次工程の起動側活性手段を活性状態に
設定する一方、活性化された状態で前記戻し側起動手段
がオンし、かつ、前記実行条件認識手段によって実行条
件が整っていると判断されると前記戻し側実行手段を起
動させ、1つの行程における前記起動終了側活性手段と
次の行程における前記起動開始側活性手段とを、一方が
活性化状態になると他方も活性化状態になるようにした
ので、−工程毎に前記作動部材を行程歩進方向あるいは
行程歩進方向とは逆方向に作動させることができ、また
その作動も間欠動作させることができ、手動操作から自
動操作に切換えな場合であってもそのまま自動起動させ
ることができる。さらには、処理行程のプログラムが一
工程毎に1つのブロックとして表わすことが可能になる
ので、改造作業や故障の復旧作業時のプログラム入力処
理が単純化され、これらの作業を迅速に行なうことがで
きることになる。
(Effects of the Invention) As is clear from the above explanation, according to the present invention, the advancing side execution means for operating the actuating member consisting of a cylinder, a motor, etc. in the process step direction is connected to the advancing side starting means. A return-side execution means is connected to the return-side activation means and is activated by the condition recognition means, stopped by the advance-side stop means, and further operates the actuating member in a direction opposite to the stroke advancing direction. A sequence control method, in which the recognition means starts the process, the return side stop means stops the process, and the advance side execution means and the return side execution means sequentially operate a plurality of processes, each of which constitutes one process. The starting side activating means connected to the advancing side activating means and the returning side stopping means is activated when the previous stroke is completed, and in the activated state, the starting side activating means is connected to the advancing side activating means and the returning side stopping means. is turned on and the execution condition recognition means determines that the execution conditions are met, the proceeding execution means is activated, while the return side stopping means is turned on in an inactive state. becomes active,
A start-end activation means connected to the advance-side stop means and the return-side start means is activated when the advance-side stop means is turned on, and sets the start-side activation means for the next step to an active state; When the return-side starting means is turned on in the activated state, and the execution condition recognition means determines that the execution conditions are met, the return-side execution means is started, and the activation ends in one process. The side activation means and the activation start side activation means for the next stroke are configured such that when one becomes activated, the other also becomes activated, so that the actuating member is moved in the stroke advancing direction or stroke for each step. It can be operated in the opposite direction to the walking direction, and can be operated intermittently, and even when switching from manual operation to automatic operation, it can be automatically started as is. Furthermore, since the processing program can be expressed as one block for each process, the program input process during modification work or failure recovery work is simplified, and these tasks can be performed quickly. It will be possible.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は、本発明に係るシーケンス制御方法を用いたシ
ーケンス制御装置のブロック図、第2図は、本発明に係
るシーケンス制御方法を用いたシーケンス制御装置の概
略構成図、第3図は、本発明に係るシーケンス制御方法
の処理方式を示す概念図、 第4図は、本発明に係るシーケンス制御方法を示すフロ
ーチャー1・、 第5図及び第6図は、単純な動作をする機械の動作説明
に供する図、 第7図は、グラフセット方式のシーケンス制御装置によ
り、機械を第5図及び第6図に示したような動作させる
場合のフローチャート。 1・・・CPU、  2・・・電源部、3・・・入力部
、  4・・・出力部、5・・・プログラムローダ。 特許出願人     日産自動車株式会社代理人 弁理
士   八 1)幹 雄(ばか1名)第1図 第2図 第4図
FIG. 1 is a block diagram of a sequence control device using a sequence control method according to the present invention, FIG. 2 is a schematic configuration diagram of a sequence control device using a sequence control method according to the present invention, and FIG. 4 is a conceptual diagram showing the processing method of the sequence control method according to the present invention. FIG. 4 is a flowchart 1 showing the sequence control method according to the present invention. FIGS. FIG. 7 is a flowchart for operating the machine as shown in FIGS. 5 and 6 using a graph set type sequence control device. 1...CPU, 2...Power supply section, 3...Input section, 4...Output section, 5...Program loader. Patent applicant Nissan Motor Co., Ltd. agent Patent attorney 8 1) Mikio (one idiot) Figure 1 Figure 2 Figure 4

Claims (1)

【特許請求の範囲】  シリンダやモータ等からなる作動部材を工程歩進方向
に作動させる進行側実行手段を進行側起動手段に接続さ
れた実行条件認識手段により起動させる一方、進行側停
止手段で停止させ、更に前記作動部材を行程歩進方向と
は逆方向に作動させる戻し側実行手段を、戻し側起動手
段に接続された前記実行条件認識手段で起動させる一方
、戻し側停止手段で停止させるようにし、前記進行側実
行手段と前記戻し側実行手段とにより1つの行程が構成
される複数の行程を順次作動させるようにしたシーケン
ス制御方法であって、 前記進行側起動手段と前記戻し側停止手段に接続された
起動開始側活性手段が前の行程が終了したときに活性化
されるとともに当該活性化状態の下で前記進行側起動手
段がオンし、かつ、前記実行条件認識手段によって実行
条件が整つていると判断されたときに前記進行側実行手
段を起動させる一方、不活性状態の下で前記戻し側停止
手段がオンされると活性状態となり、 前記進行側停止手段と前記戻し側起動手段に接続された
起動終了側活性手段が前記進行側停止手段がオンされた
ときに活性化され次工程の起動側活性手段を活性状態に
設定する一方、活性化された状態で前記戻し側起動手段
がオンし、かつ、前記実行条件認識手段によって実行条
件が整っていると判断されると前記戻し側実行手段を起
動させ、1つの行程における前記起動終了側活性手段と
次の行程における前記起動開始側活性手段とを、一方が
活性化状態になると他方も活性化状態になるようにして
なるシーケンス制御方法。
[Claims] The advancing side execution means for operating the actuating member consisting of a cylinder, motor, etc. in the process step direction is started by the execution condition recognition means connected to the advancing side starting means, and stopped by the advancing side stopping means. Further, the return-side execution means for operating the actuating member in a direction opposite to the stroke advancing direction is activated by the execution condition recognition means connected to the return-side activation means, and is stopped by the return-side stop means. and sequentially operating a plurality of strokes in which one stroke is constituted by the advancing side execution means and the returning side executing means, the advancing side starting means and the returning side stopping means The starting side activating means connected to is activated when the previous process is completed, the advancing side activating means is turned on under the activated state, and the execution condition is recognized by the execution condition recognition means. When it is determined that the advancing side execution means is in order, the advancing side execution means is activated, and when the returning side stopping means is turned on in an inactive state, it becomes an active state, and the advancing side stopping means and the returning side starting means are activated. The starting/terminating side activating means connected to is activated when the forwarding side stopping means is turned on and sets the starting side activating means of the next step to the active state, while in the activated state, the returning side activating means is turned on, and when it is judged by the execution condition recognition means that the execution conditions are satisfied, the return side execution means is activated, and the activation termination side activation means in one process and the activation start in the next process are activated. and a side activation means, such that when one side is activated, the other side is also activated.
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 true JPH01200407A (en) 1989-08-11
JPH0750403B2 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
JPH0750403B2 (en) 1995-05-31

Similar Documents

Publication Publication Date Title
JP5576625B2 (en) Apparatus and method for reducing energy consumption of a machine
JP3665008B2 (en) Synchronization control method and synchronization control apparatus
JP2004326618A (en) Numerical control device of machine tool
JP4807511B2 (en) PLC
US4972310A (en) Sequence control system and its method
JPH01200407A (en) Sequence control method
JPH01116805A (en) Sequence control method
US20160306333A1 (en) Monitoring device for programmable controller
JPH01116806A (en) Sequence control method
JPH01116807A (en) Sequence control method
WO2000067083A1 (en) Method of programming motion controller
JP3700529B2 (en) Sequence controller
JP2000276211A (en) Programmable controller
JP6549378B2 (en) Programmable controller monitoring device
JP3628096B2 (en) Machine tool positioning apparatus and method
JP4208600B2 (en) NC machine tool
JPH0740187A (en) Control device for nc working machine
JPH11134010A (en) Program executing method of programmable controller
JPH10230328A (en) Method and device for controlling punch press
JPH01209503A (en) Axis control system of programmable controller
JPS6149206A (en) Process operation method
KR950009791Y1 (en) Device for controlling tool changing position
KR100254187B1 (en) Machining stop unit with remote adjust panel
KR0176554B1 (en) Automated Facility System Control Method Using Positioning Unit
JP2001100823A (en) Numerical controller