JPH07120169B2 - Time chart creation device - Google Patents
Time chart creation deviceInfo
- Publication number
- JPH07120169B2 JPH07120169B2 JP63075960A JP7596088A JPH07120169B2 JP H07120169 B2 JPH07120169 B2 JP H07120169B2 JP 63075960 A JP63075960 A JP 63075960A JP 7596088 A JP7596088 A JP 7596088A JP H07120169 B2 JPH07120169 B2 JP H07120169B2
- Authority
- JP
- Japan
- Prior art keywords
- time
- execution
- time chart
- operating
- execution instruction
- 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
Links
Landscapes
- Programmable Controllers (AREA)
Description
【発明の詳細な説明】 (産業上の利用分野) 本発明は、例えば自動機械を構成する各構成部品のタイ
ムチャートを作成するタイムチャート作成装置に係り、
特に、前記各構成部品それぞれの作動順序及びその動作
時間を一見して認識し得るタイムチャートを作成するこ
とができるタイムチャート作成装置に関する。Description: TECHNICAL FIELD The present invention relates to a time chart creation device that creates a time chart of each component that constitutes an automatic machine, for example.
In particular, the present invention relates to a time chart creation device capable of creating a time chart that can recognize the operation sequence and operation time of each of the components at a glance.
(従来の技術) 一般に、生産工場等において既に配設され、稼動してい
る自動機械に、他の自動機械を増設する場合には、その
稼動している自動機械の動作と増設される自動機械の動
作とが干渉しないように、それぞれの動作を比較検討す
る必要がある。そして、その比較検討の結果、その稼動
している自動機械の動作を変更する必要がある場合に
は、生産管理を行う上で、変更するその動作を明確にす
る必要がある。(Prior Art) Generally, when another automatic machine is added to an already installed and operated automatic machine in a production plant or the like, the operation of the operating automatic machine and the automatic machine to be added It is necessary to compare and examine each operation so as not to interfere with the operation of. Then, as a result of the comparison and examination, when it is necessary to change the operation of the operating automatic machine, it is necessary to clarify the operation to be changed in production control.
このように自動機械の動作を比較検討したり、その動作
を明確にする場合には、一般的に、その動作を表わすタ
イムチャートを作成し、作業者等がそのタイムチャート
に基づいて、自動機械の動作を変更したり、その調整を
したりしている。In this way, when comparing the operation of an automatic machine or clarifying the operation, generally, a time chart showing the operation is created, and an operator, etc., based on the time chart, I am changing the behavior of and making adjustments.
従来、このようなタイムチャートを作成する方法には種
々のものがあるが、そのひとつの方法には次のようなも
のがある。即ち、タイムチャートを作成する作成者が、
自動機械を構成する各構成部品それぞれの作動順序を目
視で確認しながらストップウォッチ等によってその作動
時間を測定し、その作成者が各構成部品それぞれの作動
順序と作動時間とを記録に基づいて図示することによっ
てタイムチャートを作成するという方法がある。Conventionally, there are various methods for creating such a time chart, and one of them is as follows. That is, the creator who creates the time chart
While visually confirming the operating sequence of each component that constitutes the automatic machine, the operating time is measured by a stopwatch etc., and the creator shows the operating sequence and operating time of each component based on the records. There is a method of creating a time chart by doing.
又、その他の方法としては、第12図に示されるようなタ
イムチャート作成装置によって作成する方法がある。以
下にこのタイムチャート作成装置を図面に基づいて説明
する。Further, as another method, there is a method of making with a time chart making apparatus as shown in FIG. The time chart creating device will be described below with reference to the drawings.
図示されない機械の総括的な制御を行うシーケンサ1に
は入力装置2が接続されており、この入出力装置2の入
力端子X1は、その機械に配設されたリミットスイッチに
接続されている。又、入出力装置2の出力端子Y1は、同
機械に配設された図示されないシリンダを作動させる電
磁弁に接続されている。そしてシーケンサ1は、入出力
装置2の入力端子X1を介してリミットスイッチの作動状
態を入力し、シーケンサ1は、所定の条件によって、入
出力装置2の出力端子Y1を介して電磁弁をONしてシリン
ダを作動し、機械を動作させている。An input device 2 is connected to a sequencer 1 that performs overall control of a machine (not shown), and an input terminal X1 of this input / output device 2 is connected to a limit switch arranged on the machine. The output terminal Y1 of the input / output device 2 is connected to a solenoid valve that operates a cylinder (not shown) arranged in the machine. Then, the sequencer 1 inputs the operating state of the limit switch via the input terminal X1 of the input / output device 2, and the sequencer 1 turns on the solenoid valve via the output terminal Y1 of the input / output device 2 according to a predetermined condition. The cylinder to operate the machine.
又、シーケンサ1の内部には、メモリ3が設けられてお
り、このメモリ3は、シーケンサ1が機械を動作させる
ことによって変化する入出力装置2のそれぞれの端子の
ON、OFFの状態を一時的に記憶するものである。言いか
えれば、メモリ3は、ある瞬間における機械の動作状態
を一時的に記憶するものである。Also, a memory 3 is provided inside the sequencer 1, and this memory 3 is provided for each terminal of the input / output device 2 which changes when the sequencer 1 operates a machine.
The ON / OFF state is temporarily stored. In other words, the memory 3 temporarily stores the operating state of the machine at a certain moment.
さらに、シーケンサ1は、記憶装置4に接続され、この
記憶装置4は、メモリ3で一時的に記憶した機械の動作
状態を決められた一定時間毎に記憶することによって機
械の一連の動作を記憶するものである。その記憶装置4
には、プリンタ5が接続されており、このプリンタ5
は、記憶装置4で記憶した機械の一連の動作を時間の経
過に基づいて図示化し、擬似的なタイムチャートをプリ
ント出力するものである。Further, the sequencer 1 is connected to a storage device 4, and the storage device 4 stores a series of operations of the machine by temporarily storing the operation state of the machine in the memory 3 at a predetermined fixed time. To do. The storage device 4
A printer 5 is connected to the printer 5.
Is to illustrate a series of machine operations stored in the storage device 4 based on the passage of time, and print out a pseudo time chart.
このように構成された従来のタイムチャート作成装置
は、以下のように動作する。The conventional time chart creation device configured as described above operates as follows.
シーケンサ1によって機械が動作すると、例えばリミッ
トスイッチと電磁弁とがそれぞれ作動された場合には、
入出力装置2の入力端子X1と出力端子Y1とがON、OFFす
ることになる。そして、シーケンサ1の内部のメモリ3
は、例えば図中に示されるように入力端子X1がOFF、出
力端子Y1がONである状態を一時的に記憶する。すると、
記憶装置4は図中の記憶内容6に示すように、そのX1、
Y1の状態を決められた一定時間毎に記憶し続ける。そし
て機械が1サイクル動作した後、所定の時間が経過する
と、この記憶装置4に記憶されている記憶内容6に基づ
いて、プリンタ5によってプリント結果7に示すような
タイムチャートが打出される。When the machine is operated by the sequencer 1, for example, when the limit switch and the solenoid valve are respectively activated,
The input terminal X1 and the output terminal Y1 of the input / output device 2 are turned on and off. Then, the memory 3 inside the sequencer 1
Temporarily stores the state in which the input terminal X1 is OFF and the output terminal Y1 is ON, as shown in the figure. Then,
The storage device 4, as shown in the storage content 6 in the figure, has its X1,
It keeps remembering the state of Y1 at fixed intervals. Then, after a predetermined period of time has passed after the machine has operated for one cycle, the printer 5 outputs a time chart as shown in the print result 7 based on the stored contents 6 stored in the storage device 4.
即ち、記憶装置4には入出力装置2における入力及び出
力の一定時間毎の状態が記憶されることになり、この記
憶された状態に基づいてタイムチャートが作成されるこ
とになる。That is, the storage device 4 stores the states of the input and output of the input / output device 2 at constant time intervals, and the time chart is created based on the stored states.
(発明が解決しようとする課題) しかしながら、従来のように、タイムチャート作成者が
自動機械を構成する各構成部品の作動順序を目視し、そ
の作動時間をストップウォッチ等で測定することによっ
てタイムチャートを作成するものにあっては、そのタイ
ムチャートには必然的に作成者の測定誤差が含まれるこ
とになり、動作時間を正確に表したタイムチャートを作
成することが非常に困難であるばかりでなく、その作動
時間が極端に短い自動機械については、作成者は、スト
ップウォッチ等でその作動時間を測定することができ
ず、さらには、タイムチャート作成のための作業が非常
に繁雑であるという欠点を有している。(Problems to be Solved by the Invention) However, as in the conventional case, a time chart creator visually checks the operating sequence of each component constituting the automatic machine and measures the operating time with a stopwatch or the like to obtain a time chart. In the case of creating a time chart, the time chart inevitably contains the measurement error of the creator, and it is very difficult to create a time chart that accurately represents the operating time. For automatic machines whose operation time is extremely short, the creator cannot measure the operation time with a stopwatch etc., and the work for creating the time chart is very complicated. It has drawbacks.
一方、従来のタイムチャート作成装置によってタイムチ
ャートを作成するものにあっては、前記各構成部品のそ
れぞれの動作状態を一連の動作として決められた一定の
時間毎に記憶する必要がある為に、記憶装置4の記憶容
量はその自動機械1サイクルの動作時間に比例して大く
なり、この動作時間の長い自動機械のタイムチャートを
作成しようとすると、記憶装置4の記憶容量は非常に大
容量のものが必要になってしまう。On the other hand, in the case of creating a time chart by the conventional time chart creating device, since it is necessary to store the respective operating states of the respective component parts at fixed time intervals determined as a series of operations, The storage capacity of the storage device 4 becomes large in proportion to the operating time of one cycle of the automatic machine, and when an attempt is made to create a time chart of the automatic machine having a long operating time, the storage capacity of the storage device 4 becomes very large. I will need something.
又、機械の動作に必要な入出力数が多い自動機械では、
言いかえれば、複雑な動作を行う自動機械等では、動作
測定の対象となる構成部材が多いことから、シーケンサ
1のメモリ3に一時的に記憶されるデータの数が多くな
り、その結果シーケンサ1の処理時間に影響を及ぼす場
合があり、自動機械の制御に悪影響を与える虞があると
いう問題もある。Also, in an automatic machine that has many inputs and outputs required for machine operation,
In other words, the number of data temporarily stored in the memory 3 of the sequencer 1 is large in an automatic machine or the like that performs a complicated operation, because there are many constituent members to be subjected to the operation measurement. However, there is also a problem in that the processing time may be affected and the control of the automatic machine may be adversely affected.
さらに、プリンタ5からプリント出力されるタイムチャ
ートには、図に示す通り各構成部品それぞれの作動順序
及びこれらのインターロック状態が表わされておらず、
このようなタイムチャートでは、機械の連続した動作を
理解する上で機械の動作が一見して理解し難いという問
題点があった。Furthermore, the time chart printed out from the printer 5 does not show the operation order of each component and the interlock state of these components as shown in the figure,
In such a time chart, there is a problem that the operation of the machine is difficult to understand at first glance when understanding the continuous operation of the machine.
本発明は、このような従来の問題点に鑑みて成されたも
のであり、自動機械を構成する各構成部品それぞれの作
動順序及びその動作時間並びにそれらのインターロック
状態を一見して認識し得るタイムチャートを作成するタ
イムチャート作成装置を提供することを目的とする。The present invention has been made in view of such conventional problems, and it is possible to recognize at a glance the operating sequence and operating time of each component constituting the automatic machine, and their interlocking states. An object is to provide a time chart creation device that creates a time chart.
(課題を解決するための手段) 前記目的を達成するための本発明は、シリンダやモータ
等からなる複数の作動部材を、所定の規則または手動に
よる入力操作で作動させる実行手段と、前記実行手段に
よる複数の作動部材の作動順序を記憶する実行順序記憶
手段と、前記実行手段によるそれぞれの作動部材の作動
時間を記憶する実行時間記憶手段と、前記実行順序記憶
手段に記憶された前記複数の作動部材の作動順序及び前
記実行時間記憶手段に記憶された前記それぞれの作動部
材の作動時間に基づいて前記複数の作動部材のタイムチ
ャート作成の演算を行なうタイムチャート演算手段とを
有することを特徴とするものである。(Means for Solving the Problem) The present invention for achieving the above-mentioned object is an execution means for operating a plurality of operation members including a cylinder, a motor, etc. by a predetermined rule or a manual input operation, and the execution means. Execution order storage means for storing the operation order of the plurality of operation members, execution time storage means for storing the operation time of each operation member by the execution means, and the plurality of operations stored in the execution order storage means. Time chart calculation means for calculating the time chart of the plurality of operation members based on the operation order of the members and the operation time of each of the operation members stored in the execution time storage means. It is a thing.
(作用) このように構成された本発明に係るタイムチャート作成
装置の作用を、第1図に基づいて以下に説明する。(Operation) The operation of the time chart creating apparatus according to the present invention thus configured will be described below with reference to FIG.
実行手段10が、所定の規則または手動入力による操作に
従って各作動部材を作動させると、実行時間記憶手段11
は、実行手段10が作動部材を作動させている時間を記憶
し、また実行順序記憶手段12は、その作動部材が作動さ
れた順序を記憶する。そして、タイムチャート演算手段
13は、その時間と順序とに基づいて、作動部材の動作に
関するタイムチャート作成のための演算を行う。When the execution means 10 operates each operating member according to a predetermined rule or an operation by manual input, the execution time storage means 11
Stores the time that the execution means 10 has activated the actuating member, and the execution order storage means 12 stores the order in which the actuation member has been actuated. And the time chart calculation means
Based on the time and order, 13 performs a calculation for creating a time chart regarding the operation of the operating member.
(実施例) 以下に、本発明に係るタイムチャート作成装置の一実施
例を図面に基づいて詳細に説明する。(Embodiment) An embodiment of the time chart creating apparatus according to the present invention will be described below in detail with reference to the drawings.
第2図は、本発明に係るタイムチャート作成装置を備え
たワーク固定装置の概略構成図である。FIG. 2 is a schematic configuration diagram of a work fixing device equipped with the time chart creating device according to the present invention.
ワーク20を昇降させるリフタ21には、そのワーク20をリ
フタ21に固定させるクランプ22が設けられている。その
クランプ22は作動部材としてのシリンダ23が作動するこ
とによって、ワーク20をリフタ21に固定する。又、リフ
タ21は作動部材としてのシリンダ24が作動することによ
ってワーク20を昇降させる。そして、それらのシリンダ
23、24は、このワーク固定装置の制御を行うシーケンサ
25(このシーケンサ25には、本発明に係るタイムチャー
ト作成装置が内蔵されている。)によって作動される。A lifter 21 for raising and lowering the work 20 is provided with a clamp 22 for fixing the work 20 to the lifter 21. The clamp 22 fixes the work 20 to the lifter 21 by operating a cylinder 23 as an operating member. Further, the lifter 21 moves the work 20 up and down by operating a cylinder 24 as an operating member. And those cylinders
23 and 24 are sequencers that control this work fixing device.
25 (this sequencer 25 has a time chart creating device according to the present invention built therein).
このようなワーク固定装置は、シーケンサ25によって同
図に示されている番号順に動作する。Such a work fixing device operates by the sequencer 25 in the order of the numbers shown in FIG.
ワーク20をリフタ21に装着すると、シーケンサ25は、シ
リンダ23を作動させることによってクランプ22を「出」
の方向(ワーク20をリフタ21に固定する方向)に移動さ
せ()、シリンダ23が「出」の方向に作動したこと
を、図示されないスイッチX1によって入力すると、シリ
ンダ24を作動させることによってリフタ21を上昇させる
()。When the work 20 is mounted on the lifter 21, the sequencer 25 “clamps” the clamp 22 by operating the cylinder 23.
Direction (the direction in which the work 20 is fixed to the lifter 21) (), and the fact that the cylinder 23 has actuated in the "out" direction is input by the switch X1 (not shown), the cylinder 24 is actuated. Raise ().
そしてシーケンサ25は、シリンダ24がリフタ21を上昇さ
せる方向に作動したことを図示されないスイッチX3によ
って入力し、ワーク20に所定の作業が行なわれると、シ
ーケンサ25は、シリンダ24を作動させ、リフタ21を下降
させ()、シリンダ24がリフタ21を下降させる方向に
作動したことを図示されないスイッチX4によって入力す
ると次にシリンダ23を作動させ、クランプ22を「戻」の
方向(リフタ21からワーク20を取り外せる方向)に移動
させる()。そして、シーケンサ25はシリンダ23が
「戻」の方向に作動したことを図示されないX2によって
入力することによって、この固定装置の一工程の動作が
修了する。尚、同図に示されているY1、Y2、Y3、Y4は、
それぞれのシリンダ23、24をそれぞれの方向に作動させ
るシーケンサ25の実行命令の符号である。Then, the sequencer 25 inputs that the cylinder 24 has actuated in the direction of raising the lifter 21 by a switch X3 (not shown), and when a predetermined work is performed on the work 20, the sequencer 25 actuates the cylinder 24 to cause the lifter 21 to move. When the switch X4 (not shown) is operated to input that the cylinder 24 has operated in the direction of lowering the lifter 21 (), the cylinder 23 is then actuated, and the clamp 22 is in the "return" direction (from the lifter 21 to the work 20). Move it in the direction you can remove it). Then, the sequencer 25 completes the operation of one step of the fixing device by inputting that the cylinder 23 has operated in the "return" direction by X2 (not shown). Incidentally, Y 1 , Y 2 , Y 3 and Y 4 shown in the figure are
It is the code of the execution instruction of the sequencer 25 which operates the respective cylinders 23, 24 in the respective directions.
このようなワーク固定装置の動作は、第3図に示される
ようなタイムチャートによって表わすことができる。The operation of such a work fixing device can be represented by a time chart as shown in FIG.
このようなタイムチャートを作成する本発明に係るタイ
ムチャート作成装置を、以下に図面に基づいて説明す
る。A time chart creating apparatus according to the present invention for creating such a time chart will be described below with reference to the drawings.
第4図は、本発明に係るタイムチャート作成装置の概略
構成図である。FIG. 4 is a schematic configuration diagram of a time chart creation device according to the present invention.
同図に示すように、演算制御部及び記憶部を備えたCPU3
0には、電源部31、入力部32及び出力部33がそれぞれ接
続されている。この入力部32には、自動機械に取付けら
れているリミットスイッチ、押釦スイッチ、などが接続
されており、これらの接点情報が入力される。そして、
出力部33には、表示装置、電磁弁、ランプなどが接続さ
れ、CPU30の命令に基づいてこれらの駆動機器が動作す
る。このCPU30は、実行手段、タイムチャート演算手
段、実行順序記憶手段及び実行時間記憶手段をその内部
に備えている。As shown in the figure, the CPU 3 including an arithmetic control unit and a storage unit
A power supply unit 31, an input unit 32, and an output unit 33 are connected to 0, respectively. A limit switch, a push button switch, and the like attached to the automatic machine are connected to the input unit 32, and contact information of these is input. And
A display device, a solenoid valve, a lamp, and the like are connected to the output unit 33, and these drive devices operate based on a command from the CPU 30. The CPU 30 has therein an execution means, a time chart calculation means, an execution order storage means, and an execution time storage means.
また、CPU30には、プログラムを入力するプログラムロ
ーダ34が必要に応じて接続しうるようになっており、CP
U30に新規のプログラムを入力する場合や設計変更の際
には、このプログラムローダ34によってプログラムの追
加や変更を行うことになる。Also, a program loader 34 for inputting a program can be connected to the CPU 30 as needed,
When a new program is input to U30 or the design is changed, the program loader 34 adds or changes the program.
このように構成されたタイムチャート作成装置は、第5
図に示す処理概念図と第6図に示す動作フローチャート
に基づいて動作する前記ワーク固定装置から以下のよう
にしてタイムチャートを作成することになるが、その前
に、シーケンサ25によるプログラムの処理は従来のもの
に比して独特の処理を行なうようにしてあるので、その
処理について以下に説明する。The time chart creation device configured as described above is the fifth
A time chart will be created as follows from the work fixing device that operates based on the process conceptual diagram shown in the figure and the operation flowchart shown in FIG. 6, but before that, the processing of the program by the sequencer 25 Since a unique process is performed as compared with the conventional one, the process will be described below.
第5図に示す処理概念図は、シーケンサ25に記憶されて
いる動作プログラムの処理過程を概念的に示した図であ
り、同図中、P0、P2は起動開始の状態点を示し、P1は起
動終了の状態点を示し、S10、S20、S30、S40は進行側起
動の遷移条件を示し、S11、S21、S31、S41は進行側停止
の遷移条件を示し、S12、S22、S32、S42は戻し側起動の
遷移条件を示し、S13、S23、S33、S43は戻し側停止の遷
移条件を示しY1、Y2、Y3、Y4は実行命令を示している。The processing conceptual diagram shown in FIG. 5 is a diagram conceptually showing the processing steps of the operation program stored in the sequencer 25. In FIG. 5, P0 and P2 indicate start-up state points, and P1 indicates S10, S20, S30, S40 shows the transition condition of the progress side start, S11, S21, S31, S41 shows the transition condition of the progress side stop, S12, S22, S32, S42 The transition conditions for starting the return side are shown, S13, S23, S33, and S43 show the transition conditions for stopping the return side, and Y1, Y2, Y3, and Y4 show execution instructions.
この概念図に示した各構成要素は、実行過程の一部を示
した第6図のフローチャートに基づいて次のように動作
する。以下にこの動作を第2図及び第4図を参照しつつ
説明する。尚、実行命令Y1はクランプ22出の命令、実行
命令Y2はクランプ22を手動操作によって出から入に戻す
命令であるとする。Each component shown in this conceptual diagram operates as follows based on the flowchart of FIG. 6 showing a part of the execution process. This operation will be described below with reference to FIGS. 2 and 4. It is assumed that the execution instruction Y1 is an instruction to output the clamp 22, and the execution instruction Y2 is an instruction to return the clamp 22 from the output to the input by manual operation.
まず、ワーク固定装置の動作を総括制御するCPU30によ
り、状態点P0が活性であるかどうかの判断をし、活性で
なければ、処理を終了し(ステップ1)、活性であれ
ば、遷移条件S10が1であるかどうかの判断をする。つ
まり、実行命令Y1を実行する条件が整っているかどうか
の判断をする(ステップ2)。ここまでで、CPU30はワ
ーク20がリフタ21に載置され、クランプ22を出に設定す
る準備が終了しているかどうかの判断を行なうことにな
る。この判断の結果、遷移条件S10が1でなければ、換
言すればクランプ22を出に設定する準備が整っていなけ
れば、ステップ1及びステップ2の処理を繰返し、逆に
遷移条件S10が1ならば、状態点P0を不活性化して実行
命令Y1を実行する(ステップ3、4、)。即ち、CPU30
はシリンダ23を作動させてクランプ22を出に設定する。
次に、遷移条件S11が1であるかどうかの判断をする。
すなわち、実行命令Y1の実行を終了する条件が整ってい
るかどうかを判断する(ステップ5)。この判断の結
果、遷移条件S11が1でなければステップ4及びステッ
プ5の処理を繰返して実行命令Y1の実行を続行し、遷移
条件S11が1ならば、換言すればクランプ22が出に設定
されたら、状態点P1を活性化し、(ステップ6、)処理
を終了する。First, the CPU 30 that comprehensively controls the operation of the work fixing device determines whether or not the state point P0 is active. If it is not active, the process ends (step 1). If it is active, the transition condition S10 It is determined whether is 1. That is, it is determined whether the conditions for executing the execution instruction Y1 are satisfied (step 2). Up to this point, the CPU 30 determines whether the work 20 is placed on the lifter 21 and the preparation for setting the clamp 22 to the output is completed. As a result of this determination, if the transition condition S10 is not 1, in other words, if it is not ready to set the clamp 22 to the output, the processes of steps 1 and 2 are repeated, and conversely, if the transition condition S10 is 1. , The state point P0 is deactivated and the execution instruction Y1 is executed (steps 3, 4). That is, CPU30
Activates cylinder 23 to set clamp 22 out.
Next, it is determined whether the transition condition S11 is 1.
That is, it is determined whether or not the conditions for ending the execution of the execution instruction Y1 are satisfied (step 5). As a result of this judgment, if the transition condition S11 is not 1, the processes of steps 4 and 5 are repeated to continue the execution of the execution instruction Y1, and if the transition condition S11 is 1, in other words, the clamp 22 is set to the output. After that, the state point P1 is activated, and the process (step 6,) ends.
また、CPU30により、状態点P1が活性であると判断され
ている場合には(ステップ10)、状態点P1が活性であれ
ば状態点P2を活性化する(ステップ11)。つまり、次の
ステップの処理を可能とする。そして、状態点P1が活性
であるかどうかの判断をし、活性でなければ、処理を終
了し(ステップ12)、活性であれば、遷移条件S12が1
であるかどうかの判断をする。つまり、実行命令Y2を実
行する条件が整っているかどうかを判断する。具体的に
は、CPU30に接続されている手動操作の押釦スイッチが
操作され、クランプ2を出から入に手動で戻す準備がで
きているかどうかの判断をする(ステップ13)。この判
断の結果、遷移条件S12が1でなければステップ12及び
ステップ13の処理を繰返し、遷移条件S12が1ならば、
状態点P1及びP2を不活性化して実行命令Y2を実行する。
即ち、クランプ2を出から入に手動で戻す(ステップ1
4、15、16)。次に、遷移条件S13が1であるかどうかの
判断をする。すなわち、実行命令Y2の実行を終了する条
件が整っているかどうかを判断する。つまり、クランプ
2が出から入に手動で戻されたかどうかの判断をする。
(ステップ17)。この判断の結果、遷移条件S13が1で
なければステップ16及びステップ17の処理を繰返して実
行命令Y2の実行を続行し、遷移条件S13が1ならば、状
態点P0を活性化し、(ステップ18)、処理を終了する。
さらに、CPU30は、実行命令Y3、Y4についても、上記と
同様に動作させる。If the CPU 30 determines that the state point P1 is active (step 10), the state point P2 is activated if the state point P1 is active (step 11). That is, the processing of the next step is possible. Then, it is determined whether or not the state point P1 is active. If it is not active, the process is terminated (step 12). If it is active, the transition condition S12 is 1
To determine if. That is, it is determined whether the conditions for executing the execution instruction Y2 are satisfied. Specifically, it is determined whether or not the manually operated push button switch connected to the CPU 30 is operated to prepare to manually return the clamp 2 from the exit to the entrance (step 13). As a result of this judgment, if the transition condition S12 is not 1, the processes of steps 12 and 13 are repeated, and if the transition condition S12 is 1,
The state points P1 and P2 are deactivated and the execution instruction Y2 is executed.
That is, the clamp 2 is manually returned from the exit to the entrance (step 1
4, 15, 16). Next, it is determined whether the transition condition S13 is 1. That is, it is determined whether or not the condition for ending the execution of the execution instruction Y2 is satisfied. That is, it is determined whether the clamp 2 has been manually returned from the exit to the entrance.
(Step 17). If the transition condition S13 is not 1 as a result of this determination, the processing of steps 16 and 17 is repeated to continue execution of the execution instruction Y2. If the transition condition S13 is 1, the state point P0 is activated (step 18 ), The processing ends.
Further, the CPU 30 operates the execution instructions Y3 and Y4 in the same manner as above.
したがって、シーケンサ25は、第2図に示す順番で前記
ワーク固定装置を自動動作させることができると共に、
手動操作などによってその自動動作をサイクル途中で一
時的に停止させ、手動操作によって任意の部材を作動さ
せた場合であっても、その場起動が可能である。Therefore, the sequencer 25 can automatically operate the work fixing device in the order shown in FIG.
Even if the automatic operation is temporarily stopped in the middle of the cycle by a manual operation and an arbitrary member is operated by the manual operation, the in-situ activation is possible.
次に、タイムチャート作成装置によりこのワーク固定装
置のタイムチャートを作成する動作を以下に図面に基づ
いて説明する。尚、第5図に示されている進行側起動の
遷移条件と進行側停止の遷移条件とのそれぞれの条件
が、所定の時間からONするまでの時間の経過を記憶する
メモリをそれぞれT10、T11、T20、T21、T30、T31、T4
0、T41とする。Next, an operation of creating a time chart of this work fixing device by the time chart creating device will be described below with reference to the drawings. In addition, the memory for storing the lapse of time from the predetermined time until the transition condition of the progress side start and the transition condition of the progress side stop shown in FIG. , T20, T21, T30, T31, T4
0 and T41.
第7図は、各実行命令が作動するまでの時間を記憶する
動作フロートチャートである。FIG. 7 is an operation flow chart for storing the time until each execution instruction is activated.
プログラムがスタートすると、CPU30は、演算制御部に
設けられているタイマーをリセットすると共に、そのタ
イマを起動させて時間計測を開始する(ステップ20)。
そして、CPU30は進行側起動の遷移条件S10がONしたかど
うかを判断し、S10がONならば、ステップ22へ進め、S10
がONしなければONするまで待機する(ステップ21)。ス
テップ21でS10がONすると、CPU30は、ステップ20でリセ
ットしてからS10がONするまでの経過時間、換言すれば
実行命令Y1の開始時刻を記憶部のT10に記憶させると共
に実行命令Y1を実行する(ステップ22,ステップ23)。
そして、CPU30は、進行側停止の遷移条件S11がONしたか
どうかを判断し、S11がONならばステップ25へ進め実行
命令Y1を停止する。また、S11がONでなければONするま
で待機する(ステップ24,ステップ25)。When the program starts, the CPU 30 resets the timer provided in the arithmetic control unit and activates the timer to start time measurement (step 20).
Then, the CPU 30 determines whether or not the transition condition S10 for starting the starting side is ON, and if S10 is ON, the process proceeds to step 22 and S10
If does not turn on, wait until it turns on (step 21). When S10 is turned on in step 21, the CPU 30 stores the elapsed time from the reset in step 20 until S10 is turned on, in other words, stores the start time of the execution instruction Y1 in T10 of the storage unit and executes the execution instruction Y1. (Steps 22 and 23).
Then, the CPU 30 determines whether or not the transition condition S11 for stopping the progressing side is turned on, and if S11 is turned on, advances to step 25 and stops the execution instruction Y1. If S11 is not ON, it waits until it is ON (steps 24 and 25).
同様に、各遷移条件S20,S21,S30,S31,S40,S41がONする
までの経過時間についても、CPU30は、記憶部のT20、T2
1、T30、T31、T40、T41にセットする(ステップ26〜ス
テップ27、ステップ28、ステップ29)。Similarly, regarding the elapsed time until each transition condition S20, S21, S30, S31, S40, S41 is turned on, the CPU 30 is
1, T30, T31, T40, T41 (step 26 to step 27, step 28, step 29).
以上のように、この処理においては、CPU30によって記
憶部に各実行命令の実行時間が格納され、第8図に示さ
れているようなタイムテーブルが作成される。As described above, in this process, the CPU 30 stores the execution time of each execution instruction in the storage unit and creates the time table as shown in FIG.
また、CPU30は、第9図に示す動作フローチャートに基
づいて各実行命令の実行順序を次のようにして記憶す
る。尚、図中Ynは、実行命令を表わし、この動作フロー
チャートによって、例えば第10図に示す一要素について
は、Y1、Y3、Y4、Y2の順にそれぞれ処理が行なわれるこ
とになる。Further, the CPU 30 stores the execution order of each execution instruction as follows based on the operation flowchart shown in FIG. In the figure, Yn represents an execution instruction, and according to this operation flowchart, for example, one element shown in FIG. 10 is processed in the order of Y1, Y3, Y4, Y2.
CPU30は、前記動作フローチャートに基づいて一実行命
令を実行する同時に、その実行命令が戻し側の実行命令
かどうか判断し、戻し側であればステップ35へ、戻し側
でなければステップ31の処理を行なう(ステップ30)。
CPU30は、ステップ30において実行中の実行命令が戻し
側の実行命令でないと判断すると、実行中の実行命令の
逆の実行命令(実行中がY1であればその逆の実行命令は
Y2、同様にY3であれば、その逆の実行命令はY4)をCPU3
0が有する記憶部のチェックレジスタ40に格納する(ス
テップ31)。そして、CPU30は、その実行中の実行命令
を、その記憶部に記憶し(ステップ32)、ステップ32で
記憶した実行命令にその実行命令の遷移条件を付加して
記憶する(ステップ33)。さらに、実行中でない状態を
表わすインタロック状態をその実行命令に付加して(そ
れぞれの実行命令の間を結ぶ)記憶する(ステップ3
4)。The CPU 30 executes one execution instruction based on the operation flowchart, and at the same time, determines whether the execution instruction is a return side execution instruction, and if it is a return side, proceeds to step 35, and if it is not a return side, proceeds to step 31. Do (step 30).
When the CPU 30 determines in step 30 that the execution instruction being executed is not the return execution instruction, the execution instruction opposite to the execution instruction being executed (if Y1 is being executed, the reverse execution instruction is
Y2, and if Y3 as well, the reverse instruction is Y4) to CPU3
The data is stored in the check register 40 of the storage unit of 0 (step 31). Then, the CPU 30 stores the execution instruction being executed in the storage unit (step 32), adds the transition condition of the execution instruction to the execution instruction stored in step 32, and stores it (step 33). Further, an interlock state indicating a state not being executed is added to the execution instruction (stored between the execution instructions) and stored (step 3
Four).
又、ステップ30においてCPU30が実行中の実行命令が戻
し側の実行命令であると判断すると、ステップ31でチェ
ックレジスタ40に格納した逆の実行命令から実行中の実
行命令を削除し(ステップ35)、実行中の逆の実行命令
を記憶する順位を捜し(ステップ36)、その順位に実行
中の逆の実行命令を記憶し、ステップ33へ進む(ステッ
プ37)。If it is determined in step 30 that the CPU 30 is executing the return execution instruction, the execution instruction being executed is deleted from the reverse execution instructions stored in the check register 40 in step 31 (step 35). The order of storing the reverse execution instruction being executed is searched (step 36), the reverse execution instruction being executed is stored in that order, and the process proceeds to step 33 (step 37).
このように、CPU30が実行命令を実行順に記憶する概念
図を第10図に示す。FIG. 10 is a conceptual diagram in which the CPU 30 stores the execution instructions in the execution order in this way.
同図に示されるように、チェックレジスタ40には、ステ
ップ31において格納されたY2、Y4が示されている。そし
て一点鎖線で囲んだ部分には、第9図に示される実行命
令を実行順に記憶するフローチャートによって記憶部が
記憶した内容が概念的に示されている。As shown in the figure, the check register 40 shows Y2 and Y4 stored in step 31. Then, in the portion surrounded by the one-dot chain line, the contents stored in the storage unit are conceptually shown by the flowchart for storing the execution instructions shown in FIG. 9 in the order of execution.
タイムチャート作成装置がワーク固定装置を動作させる
ことによって、実行命令Y1がそのY1の遷移条件X2からX1
まで実行中であることが記憶され、同様に、実行命令Y3
がそのY3の遷移条件X4からX3まで実行中であり、Y4がX3
からX4まで、Y2がX1からX2まで、それぞれ実行中である
ことが記憶されている。そして、図中矢線で示されてい
るインターロック状態は、それぞれの実行命令を結び、
記憶されている。When the time chart creation device operates the work fixing device, the execution instruction Y1 causes the transition condition X2 to X1 of Y1.
It is remembered that the execution is up to
Is executing the transition condition X4 to X3 of Y3, and Y4 is X3
To X4 and Y2 from X1 to X2 are remembered to be running. And the interlock state shown by the arrow in the figure connects each execution instruction,
Remembered
このようにして、CPU30は、実行命令が実行された順序
を記憶することになる。In this way, the CPU 30 will store the order in which the execution instructions were executed.
したがってCPU30が、それぞれの実行命令が実行してい
る時間と、その実行命令が実行される順序とをそれぞれ
記憶することによって、CPU30は、第11図に示すタイム
チャートを作成することが可能となる。第11図は、第10
図で示した概念図にそれぞれの実行命令が実行している
時間の経過(第8図に示した経過時間の一例)を加味し
たタイムチャートであり、CPU30は、出力部33を介してC
RTあるいはプリンタ等の表示装置にこのタイムチャート
を作成させることができる。Therefore, the CPU 30 stores the time that each execution instruction is executing and the order in which the execution instruction is executed, so that the CPU 30 can create the time chart shown in FIG. . Fig. 11 shows 10
9 is a time chart in which the elapsed time of each execution instruction (an example of the elapsed time shown in FIG. 8) is added to the conceptual diagram shown in FIG.
This time chart can be created on a display device such as an RT or a printer.
以上のように、本発明のタイムチャート作成装置では、
各作動部材を作動させている実行時間は、その作動の開
始時刻及び終了時刻の記憶から算出することが可能であ
ることから、各作動部材の作動の開始時刻と終了時刻を
記憶させており、一方、各作動部材の作動順序も記憶さ
せている。As described above, in the time chart creation device of the present invention,
Since the execution time of operating each operating member can be calculated from the storage of the start time and the end time of the operation, the start time and the end time of the operation of each operating member are stored, On the other hand, the operating order of each operating member is also stored.
したがって、タイムチャートを作成する場合には、この
開始時刻、終了時刻及び作動順序のデータに基づいて前
記したような処理を行なえば、第11図に示すようなタイ
ムチャートを作成することができることになる。そし
て、記憶するデータ数は各作動部材毎の作動順序、作動
の開始時間及び終了時間であるので、記憶させるデータ
数は極めて少なくなるのは明らかであり、複雑な動作を
する生産装置のタイムチャートを作成する場合であって
も、そればど大きな記憶容量を必要としないことにな
る。Therefore, when creating a time chart, the time chart as shown in FIG. 11 can be created by performing the above-mentioned processing based on the data of the start time, the end time, and the operation order. Become. Since the number of data to be stored is the operating sequence of each operating member, the start time and the end time of the operation, it is clear that the number of data to be stored will be extremely small, and the time chart of the production device performing a complicated operation. Even if you create, you will not need much storage capacity.
(発明の効果) 以上の説明により明らかなように、本発明によれば、実
行手段が作動部材を作動させている時間と、実行手段が
作動部材を作動させる順序とを、それぞれ実行時間記憶
手段と実行順序記憶手段とが別々に記憶し、タイムチャ
ート演算手段がその順番と時間とによってタイムチャー
トを作成する演算を行なうこととしたので、作動部材が
作動する順番が予め決められた所定の規則以外の手動に
よる動作が行われても、その作動順序と時間とが正確に
示されたタイムチャートを作成することができるという
効果を奏する。(Effects of the Invention) As is apparent from the above description, according to the present invention, the execution time storage means indicates the time during which the execution means operates the operation member and the order in which the execution means operates the operation member. And the execution order storage means are separately stored, and the time chart calculation means performs the calculation for creating the time chart based on the order and the time. Therefore, the order in which the operating members operate is determined by a predetermined rule. Even if a manual operation other than the above is performed, there is an effect that it is possible to create a time chart in which the operation sequence and time are accurately shown.
第1図は、本考案に係るタイムチャート作成装置の概略
構成図、第2図は、本発明に係るタイムチャート作成装
置を内蔵したワーク固定装置の概略構成図、第3図は、
ワーク固定装置の動作タイムチャート、第4図は、本発
明に係るタイムチャート作成装置の概略構成図、第5図
は、本発明に係るタイムチャート作成装置の処理概念
図、第6図は、本発明に係るタイムチャート作成装置の
動作フローチャート、第7図は、本発明に係るタイムチ
ャート作成装置の各遷移条件が作動するまでの時間を記
憶する動作フローチャート、第8図は、記憶部上に記憶
されたそれぞれの経過時間の一例を示した図、第9図
は、実行命令を実行順に記憶するフローチャート、第10
図は、実行命令を実行順に記憶する処理概念図、第11図
は、本発明に係るタイムチャート作成装置によって作成
したタイムチャート、第12図は、従来のタイムチャート
作成装置の概略構成図。 10……実行手段、11……実行時間記憶手段、12……実行
順序記憶手段、13……タイムチャート演算手段、30……
CPU、32……入力部、33……出力部。FIG. 1 is a schematic configuration diagram of a time chart creation device according to the present invention, FIG. 2 is a schematic configuration diagram of a work fixing device incorporating the time chart creation device according to the present invention, and FIG.
An operation time chart of the work fixing device, FIG. 4 is a schematic configuration diagram of the time chart creating device according to the present invention, FIG. 5 is a processing conceptual diagram of the time chart creating device according to the present invention, and FIG. FIG. 7 is an operation flowchart of the time chart creating device according to the invention, FIG. 7 is an operation flowchart for storing the time until each transition condition of the time chart creating device according to the present invention is activated, and FIG. FIG. 9 is a diagram showing an example of each elapsed time, and FIG. 9 is a flowchart for storing execution instructions in the order of execution.
FIG. 11 is a conceptual diagram of a process of storing execution instructions in execution order, FIG. 11 is a time chart created by the time chart creating device according to the present invention, and FIG. 12 is a schematic configuration diagram of a conventional time chart creating device. 10 ... Execution means, 11 ... Execution time storage means, 12 ... Execution order storage means, 13 ... Time chart calculation means, 30 ...
CPU, 32 …… input section, 33 …… output section.
───────────────────────────────────────────────────── フロントページの続き (72)発明者 川上 隆行 神奈川県横浜市神奈川区宝町2番地 日産 自動車株式会社内 (72)発明者 清水 圭 神奈川県横浜市神奈川区宝町2番地 日産 自動車株式会社内 (72)発明者 伊藤 隆敏 神奈川県横浜市神奈川区宝町2番地 日産 自動車株式会社内 (56)参考文献 特開 昭61−75406(JP,A) 特開 平1−100603(JP,A) 実開 昭62−179608(JP,U) ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Takayuki Kawakami 2 Takara-cho, Kanagawa-ku, Yokohama, Kanagawa Nissan Motor Co., Ltd. (72) Kei Shimizu 2 Takara-cho, Kanagawa-ku, Yokohama, Kanagawa Nissan Motor Co., Ltd. ( 72) Inventor Takatoshi Ito 2 Takaracho, Kanagawa-ku, Yokohama, Kanagawa Nissan Motor Co., Ltd. (56) Reference JP 61-75406 (JP, A) JP 1-100603 (JP, A) 62-179608 (JP, U)
Claims (1)
材を、所定の規則または手動による入力操作で作動させ
る実行手段と、 前記実行手段による複数の作動部材の作動順序を記憶す
る実行順序記憶手段と、 前記実行手段によるそれぞれの作動部材の作動時間を記
憶する実行時間記憶手段と、 前記実行順序記憶手段に記憶された前記複数の作動部材
の作動順序及び前記実行時間記憶手段に記憶された前記
それぞれの作動部材の作動時間に基づいて前記複数の作
動部材のタイムチャート作成の演算を行なうタイムチャ
ート演算手段と、を有することを特徴とするタイムチャ
ート作成装置。1. Execution means for activating a plurality of operating members, such as cylinders and motors, according to a predetermined rule or manual input operation, and execution order storage means for storing the operating order of the plurality of operating members by the executing means. An execution time storage means for storing an operation time of each operation member by the execution means, an operation order of the plurality of operation members stored in the execution order storage means, and the execution time stored in the execution time storage means A time chart calculation device, comprising: a time chart calculation means for calculating the time charts of the plurality of operation members based on the operation time of each operation member.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63075960A JPH07120169B2 (en) | 1988-03-31 | 1988-03-31 | Time chart creation device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63075960A JPH07120169B2 (en) | 1988-03-31 | 1988-03-31 | Time chart creation device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH01251107A JPH01251107A (en) | 1989-10-06 |
| JPH07120169B2 true JPH07120169B2 (en) | 1995-12-20 |
Family
ID=13591298
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63075960A Expired - Lifetime JPH07120169B2 (en) | 1988-03-31 | 1988-03-31 | Time chart creation device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH07120169B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002287822A (en) * | 2001-03-27 | 2002-10-04 | Bridgestone Corp | Method and device for preparing timing chart |
| TWI859399B (en) * | 2020-01-28 | 2024-10-21 | 日商歐普同股份有限公司 | Motion control device, motion control method, and program |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6175406A (en) * | 1984-09-20 | 1986-04-17 | Toshiba Corp | Sequence controller |
| JPS62179608U (en) * | 1986-05-02 | 1987-11-14 | ||
| JPH01100603A (en) * | 1987-10-13 | 1989-04-18 | Honda Motor Co Ltd | Sequence program creation support system for sequence control equipment |
-
1988
- 1988-03-31 JP JP63075960A patent/JPH07120169B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH01251107A (en) | 1989-10-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20050234565A1 (en) | Programmable control system for automated actuator operation | |
| CN100474192C (en) | Numerical controller | |
| JPH07120169B2 (en) | Time chart creation device | |
| JP6748146B2 (en) | Control device, control method, and control program | |
| JPH0577143A (en) | Failure diagnosis device for automated line | |
| JPS59114602A (en) | Programmable controller | |
| JP2001034316A (en) | Machine controller | |
| JP7548132B2 (en) | Recovery Support Device | |
| JP3460747B2 (en) | Numerical control unit | |
| JP2533374B2 (en) | Control program creation method | |
| JP3246175B2 (en) | Failure analysis support device | |
| JPH0887429A (en) | Programmable controller | |
| KR900008537B1 (en) | The controller and its method of high level language program and off-line program | |
| JP2921228B2 (en) | Programmable controller | |
| JP3018732B2 (en) | Programmable controller | |
| JPH0241189Y2 (en) | ||
| JPH07253876A (en) | Program creation device | |
| JP2001100823A (en) | Numerical controller | |
| JPH07114404A (en) | Debug system for ladder program | |
| JPH11175111A (en) | Control device and control method for automatic machine | |
| JP2004046711A (en) | Motor control programming software | |
| JP2001113441A (en) | Shaft positioning processing method | |
| JPH0228836A (en) | Load system for numerical value control device | |
| JPS61170803A (en) | Sequence control method | |
| JPH0743953B2 (en) | ROM random writing device |