JPH01100603A - Sequence program generation supporting system for sequence controller - Google Patents

Sequence program generation supporting system for sequence controller

Info

Publication number
JPH01100603A
JPH01100603A JP25881087A JP25881087A JPH01100603A JP H01100603 A JPH01100603 A JP H01100603A JP 25881087 A JP25881087 A JP 25881087A JP 25881087 A JP25881087 A JP 25881087A JP H01100603 A JPH01100603 A JP H01100603A
Authority
JP
Japan
Prior art keywords
operating
sequence program
sequence
machine tool
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP25881087A
Other languages
Japanese (ja)
Inventor
Hiroshi Hamano
浜野 洋
Michio Fujinuma
藤沼 通男
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.)
Honda Motor Co Ltd
Original Assignee
Honda 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 Honda Motor Co Ltd filed Critical Honda Motor Co Ltd
Priority to JP25881087A priority Critical patent/JPH01100603A/en
Publication of JPH01100603A publication Critical patent/JPH01100603A/en
Pending legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)

Abstract

PURPOSE:To automatize the generation of a operating time chart by detecting an operating time when a sequence program is applied to a controlled system and operated, and generating the operating time chart based on stored operating condition data. CONSTITUTION:When a machine tool 10 is operated by the sequence program at the initial time of designing or at the time of amendment, a CPU 26 of an operating control part 14 measures the respective operating times with a timer 37 based on the input/output address data of respective operating units stored in a memory 28 and of an operating condition detector, relating information data to indicate the correspondence between the respective operating units and the operating condition detector, and the operating condition data to indicate the operating condition, which the respective operating units can obtain, and stores them into the memory 28. Next, when the generation instruction for the operating time chart is issued, the CPU 26 reads the operating time data from the memory 28, and automatically generates the operating time chart corresponding to the latest sequence program.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明はシーケンスプログラムによって工作機械等の制
御対象を制御するシーケンス制御装置におけるシーケン
スプログラム作成支援シスチムニ関し、−層詳細には、
設計者、プログラマ−等によって作成されたシーケンス
プログラムが工作機械等の制御対象に適用された段階あ
るいは該制御対象の一部変更が生じた段階で修正された
場合において、当該シーケンスプログラムに係るタイム
チャートを自動作成することにより新たなシーケンスプ
ログラムの修正、改造を容易にするシーケンス制御装置
におけるシーケンスプログラム作成支援システムに関す
る。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a sequence program creation support system in a sequence control device that controls a controlled object such as a machine tool using a sequence program.
In the case where a sequence program created by a designer, programmer, etc. is modified when it is applied to a controlled object such as a machine tool or when a partial change occurs in the controlled object, a time chart related to the sequence program. The present invention relates to a sequence program creation support system for a sequence control device that facilitates modification and modification of new sequence programs by automatically creating a sequence program.

[発明の背景] 一般に、工作機械あるいは作業ロボット等の装置では、
人員の削減、作業効率の向上環のため、その動作手順を
シーケンスプログラムによって設定し、所望の加工機能
を遂行するようにしたシーケンス制御装置が広く利用さ
れている。
[Background of the Invention] Generally, in devices such as machine tools or working robots,
In order to reduce the number of personnel and improve work efficiency, sequence control devices are widely used in which the operating procedures are set by a sequence program to perform desired processing functions.

このようなシーケンス制御装置を用いたシステムにおい
て、前記のシーケンスプログラムはシーケンサ(シーケ
ンス制御装置)によって順次解読処理され、制御信号と
して工作機械等の制御対象に供給される。そして、当該
制御対象は前記制御信号に基づいて対応する各部が動作
し、所定の動作が終了するとリミットスイッチ、センサ
等の検出手段から検知信号を発生し、制御対象の各部の
動作遷移状態信号として前記シーケンサに出力する。一
方、シーケンサは、前記検知信号に基づいて、制御対象
の各部が前記制御信号に対応して所定の動作を完了した
ことを検出し、次のシーケンスプログラムのステップの
処理を行う。これを順次繰り返して実行することにより
、当該制御対象に対して所望の加工作業を遂行するよう
にしている。
In a system using such a sequence control device, the sequence program is sequentially decoded by a sequencer (sequence control device) and supplied as a control signal to a controlled object such as a machine tool. Then, each part of the controlled object operates based on the control signal, and when a predetermined operation is completed, a detection signal is generated from a detection means such as a limit switch or sensor, and this is used as an operation transition state signal of each part of the controlled object. Output to the sequencer. On the other hand, the sequencer detects, based on the detection signal, that each part to be controlled has completed a predetermined operation in response to the control signal, and processes the next step of the sequence program. By sequentially repeating this process, a desired machining operation is performed on the controlled object.

このようなシーケンス制御装置を用いた工作機械におい
て、制御対象である工作機械を動作制御するための制御
手順は、先ず、設計者によって工作機械を構成する各操
作単位についての動作関係を時間軸上に表記した動作タ
イムチャートとして設定される。次いで、このタイムチ
ャートに基づいてプログラマ−がリレーシンボル等を用
いたラダーダイヤグラムによって表されたシーケンスプ
ログラムを作成した後、シーケンス制御装置の翻訳プロ
グラムにより該ラダーダイヤグラムがシーケンサに適合
した形に変換されて実際のシーケンスプログラム、すな
わち、オブジェクトプログラムが完成する。このことは
、一般のプログラム作成でいう設計者による論理仕様書
(プログラム仕様書)の作成、プログラマ−によるソー
スプログラムの作成およびコンパイラ(翻訳プログラム
)によるオブジェクトプログラムへの変換に対応する。
In a machine tool using such a sequence control device, the control procedure for controlling the operation of the machine tool that is the target of control is first determined by the designer on the time axis, the operational relationship of each operation unit that makes up the machine tool. It is set as an operation time chart written in . Next, a programmer creates a sequence program represented by a ladder diagram using relay symbols etc. based on this time chart, and then the ladder diagram is converted into a form suitable for the sequencer by the translation program of the sequence control device. An actual sequence program, that is, an object program is completed. This corresponds to the creation of a logic specification (program specification) by a designer, the creation of a source program by a programmer, and the conversion into an object program by a compiler (translator program) in general program creation.

ところで、このようにして作成されたシーケンスプログ
ラムを実際の工作機械等の制御対象に適用して稼動させ
る場合、アクチュエータ等の各操作単位の動作が設計時
点で予定された作動時間等に対して僅かにずれることが
ある。また、機械設備等の一部が変更される場合もある
By the way, when applying the sequence program created in this way to an actual controlled object such as a machine tool, the operation of each operation unit such as an actuator may be slightly shorter than the operating time scheduled at the time of design. It may shift. Additionally, some of the machinery and equipment may be changed.

このような場合、制御対象を正常に動作させるためにシ
ーケンスプログラムの一部修正あるいは変更を行ってい
るが、このような細部の修正、変更は設計時点で作成し
た作動タイムチャートに対しては行わないのが通常であ
る。
In such cases, part of the sequence program is modified or changed in order to make the controlled object operate normally, but such detailed modifications or changes are not made to the operation time chart created at the time of design. Usually there is no.

従って、このような修正、変更が数多く行われた場合に
は、設計時点で最初に作成された作動タイムチャートと
現実の工作機械との間にはかなりのギャップが生じるこ
ととなり、後日、この工作機械をモデルとして新たな工
作機械を作成したり改造を行う際に、上記の作動タイム
チャートをそのまま使用することが出来ず、動作シーケ
ンスの解析に多大の時間を割かなければならないという
不都合が生じる。この場合、シーケンスプログラムの修
正あるいは変更時に上記の作動タイムチャートに遡って
これを作成し直せば、前述のような不都合は解消出来る
が、修正、変更の都度に設計者等の人手によって上記の
作動タイムチャートを作成し直すためかなりの工数を必
要とする欠点が指摘されている。
Therefore, if many such modifications and changes are made, there will be a considerable gap between the operating time chart initially created at the time of design and the actual machine tool. When creating or modifying a new machine tool using a machine as a model, the above operation time chart cannot be used as is, and a large amount of time must be spent on analyzing the operation sequence, which is an inconvenience. In this case, the above-mentioned inconvenience can be resolved by going back and re-creating the above-mentioned operation time chart when modifying or changing the sequence program, but each time a modification or change is made, the above-mentioned operation time chart must be It has been pointed out that the drawback is that it requires a considerable amount of man-hours to recreate the time chart.

[発明の目的] 本発明は前記の不都合を克服するためになされたもので
あって、作成されたシーケンスプログラムを工作機械等
の制御対象に適用して動作させた際の作動状況から設計
時点で作成された作動タイムチャートを自動的に作成す
ることにより、その後の設備変更、改造等におけるシー
ケンスプログラムの解析、作成を容易に行なえるように
したシーケンス制御装置におけるシーケンスプログラム
作成支援システムを提供することを目的とする。
[Object of the Invention] The present invention has been made to overcome the above-mentioned disadvantages, and the present invention has been made to overcome the above-mentioned disadvantages. To provide a sequence program creation support system for a sequence control device that facilitates the analysis and creation of sequence programs for subsequent equipment changes, remodeling, etc. by automatically creating a created operation time chart. With the goal.

[目的を達成するための手段] 前記の目的を達成するために、本発明はシーケンスプロ
グラムを実行するシーケンス制御装置の入出力ボートに
接続される制御対象の各操作単位と各作動状態検知器の
入出力アドレスデータ、各操作単位と各作動状態検知器
の対応を示す関連情報データおよび各操作単位の取り得
る作動状態を示す作動状態データを格納する記憶手段と
、各操作単位および各作動状態検知器の作動時刻を検出
する時間計測手段とを備え、前記シーケンスプログラム
を実行することで前記制御対象を動作させ、前記時間計
測手段により各操作単位および各作動状態検知器の作動
時刻を検出し、前記記憶手段に格納した入出力アドレス
データ、関連情報データおよび作動状態データに基づい
て作動タイムチャートを作成することを特徴とする。
[Means for Achieving the Object] In order to achieve the above-mentioned object, the present invention provides a method for controlling each operation unit of a controlled object and each operating state detector connected to an input/output boat of a sequence control device that executes a sequence program. storage means for storing input/output address data, related information data indicating the correspondence between each operating unit and each operating state detector, and operating state data indicating possible operating states of each operating unit, and each operating unit and each operating state detector; and a time measuring means for detecting the operating time of the device, the control target is operated by executing the sequence program, and the time measuring means detects the operating time of each operation unit and each operating state detector, The present invention is characterized in that an operation time chart is created based on input/output address data, related information data, and operation state data stored in the storage means.

[実施態様] 次に、本発明に係るシーケンスプログラム作成支援シス
テムについて好適な実施態様を挙げ、添付の図面を参照
しながら以下詳細に説明する。
[Embodiments] Next, preferred embodiments of the sequence program creation support system according to the present invention will be described in detail with reference to the accompanying drawings.

第1図は本発明に係るシーケンスプログラム作成支援シ
ステムの全体構成を示す。この場合、当該システムはワ
ークに対して所定の作業を行う工作機械10と、設計者
あるいはプログラマ−等によって作成されたシーケンス
プログラムに基づいて前記工作機械10の動作制御を行
うシーケンサ12と、シーケンサ12を介して工作機械
10の動作をモニタしまたはシーケンサ12に各種指令
を与える操作制御部14とから基本的に構成される。な
お、工作機械10とシーケンサ12との間およびシーケ
ンサ12と操作制御部I4との間はインタフェース16
および18によって接続される。
FIG. 1 shows the overall configuration of a sequence program creation support system according to the present invention. In this case, the system includes a machine tool 10 that performs a predetermined operation on a workpiece, a sequencer 12 that controls the operation of the machine tool 10 based on a sequence program created by a designer, programmer, etc. It basically consists of an operation control section 14 that monitors the operation of the machine tool 10 or gives various commands to the sequencer 12 via the control section 14. Note that an interface 16 is provided between the machine tool 10 and the sequencer 12 and between the sequencer 12 and the operation control unit I4.
and 18.

シーケンサ12はシーケンスプログラムの格納されるメ
モリ20と、前記シーケンスプログラムを順次処理する
C P U22と、シーケンスプログラムに基づく動作
指令をインタフェース16を介して工作機械10に転送
すると共に前記動作指令による工作機械10の遷移状態
信号をCPU22に転送するI10ポート24とを含む
The sequencer 12 includes a memory 20 in which a sequence program is stored, a CPU 22 that sequentially processes the sequence program, and a CPU 22 that transfers operation commands based on the sequence program to the machine tool 10 via an interface 16. and an I10 port 24 that transfers ten transition state signals to the CPU 22.

操作制御部14はシーケンサ12を介して工作機械10
に所定の動作指令を行うと共に前記動作指令に対応した
工作機械10の遷移状態を読み込んで後述する如く作動
タイムチャートを作成し、シーケンスプログラム作成の
支援を行うCPU26と、作動タイムチャートの作成に
用いるデータ(後述)を格納するメモリ28と、工作機
械10への動作指令および工作機械1oの作動状態をデ
ータとして授受するI10ボート3oとを含む。
The operation control unit 14 controls the machine tool 10 via the sequencer 12.
A predetermined operation command is given to the machine tool 10, and the transition state of the machine tool 10 corresponding to the operation command is read, and an operation time chart is created as described later. It includes a memory 28 that stores data (described later), and an I10 boat 3o that sends and receives operation commands to the machine tool 10 and the operating state of the machine tool 1o as data.

この場合、メモリ28には動作指令によって駆動される
工作機械1oを構成するアクチュエータ等の各操作単位
と前記アクチュエータ等が所定の動作を行ったことを検
知するリミットスイッチ等の作動状態検知手段との機能
的な関係を示す各種データが格納され、後述する作動タ
イムチャートの作成に用いられる。I10ポート3oに
はインタフェース32を介してデイスプレィ34および
キーボード36が接続されており、このキーボード36
を介して工作機械1oに対する動作指令が行われる。ま
た、CPU26には時間計測手段としてのタイマ37が
接続される。このタイマ37は工作機械10に対して動
作指令が出力されてから当該工作機械10より作動状態
を検知するまでの時間を計測する。
In this case, the memory 28 stores information about each operation unit such as an actuator that constitutes the machine tool 1o driven by the operation command and an operating state detection means such as a limit switch that detects that the actuator etc. has performed a predetermined operation. Various data indicating functional relationships are stored and used to create an operation time chart to be described later. A display 34 and a keyboard 36 are connected to the I10 port 3o via an interface 32.
An operation command is given to the machine tool 1o via the machine tool 1o. Further, a timer 37 is connected to the CPU 26 as a time measuring means. This timer 37 measures the time from when an operation command is output to the machine tool 10 until the machine tool 10 detects the operating state.

一方、工作機械10は、例えば、第2図に示すように構
成される。すなわち、この工作機械1゜はワークWに対
してドリル38を用いて孔明は加工を行うものであり、
加工部40および被加工部42から基本的に構成される
。加工部40ではベース44上にドリル38をワークW
に指向して変位する送り用モータ46が固定される。こ
の場合、送り用モータ46の駆動軸48には被加工部4
2に指向して延在するボール螺子50が一体的に取着さ
れ、このボール螺子50に移動テーブル52が螺着する
On the other hand, the machine tool 10 is configured as shown in FIG. 2, for example. In other words, this machine tool 1° performs drilling on the workpiece W using the drill 38.
It basically consists of a processing section 40 and a processed section 42. In the machining section 40, the drill 38 is placed on the base 44.
A feed motor 46 that is displaced in the direction is fixed. In this case, the drive shaft 48 of the feed motor 46 has the workpiece 4
A ball screw 50 extending toward 2 is integrally attached, and a moving table 52 is screwed onto this ball screw 50.

前記移動テーブル52にはドリル38の回転軸54を支
持するスピンドルユニット56が取着され、このスピン
ドルユニット56には前記回転軸54を駆動する駆動用
モータ58が装着される。なお、駆動用モータ58の駆
動軸60七スピンドルユニツト56に支持される回転軸
54とはブーIJ62および64を介してベルト66に
より連結される。ここで、移動テーブル52の位置はボ
ール螺子50に沿って配設される3つのリミットスイッ
チLSI、LS2およびLS3によって検出される。す
なわち、リミットスイッチLSIは移動テーブル52が
後退端にあることを検出し、リミットスイッチLS2は
移動テーブル52がドリル38の切削開始点にあること
を検出する。また、リミットスイッチLS3は移動テー
ブル52が前進端にあることを検出する。
A spindle unit 56 that supports the rotating shaft 54 of the drill 38 is attached to the moving table 52, and a driving motor 58 that drives the rotating shaft 54 is attached to this spindle unit 56. The drive shaft 60 of the drive motor 58 is connected to the rotating shaft 54 supported by the seventh spindle unit 56 by a belt 66 via boots IJs 62 and 64. Here, the position of the moving table 52 is detected by three limit switches LSI, LS2, and LS3 arranged along the ball screw 50. That is, the limit switch LSI detects that the movable table 52 is at the backward end, and the limit switch LS2 detects that the movable table 52 is at the cutting start point of the drill 38. Further, the limit switch LS3 detects that the moving table 52 is at the forward end.

被加工部42ではベース68上にワーク取付台70が固
着され、このワーク取付台70にはクランプ治具72に
よってワークWが位置決め固定される。
In the workpiece portion 42 , a workpiece mount 70 is fixed onto a base 68 , and a workpiece W is positioned and fixed to the workpiece mount 70 by a clamp jig 72 .

すなわち、クランプ治具72はワーク取付台70に固着
されるクランプ用シリンダ74と、クランプ用シリンダ
74のシリンダロッド76に一端部が軸着し中間部がワ
ーク取付台70に固定された支持部材78により軸支さ
れるクランプ部材80とからなり、前記クランプ部材8
0の他端部によってワークWが位置決め固定される。こ
の場合、クランプ治具72によるワークWのクランプ状
態およびアンクランプ状態は2つのリミットスイ・ソチ
LS4およびLS5によって夫々検出される。
That is, the clamp jig 72 includes a clamp cylinder 74 fixed to the workpiece mount 70 and a support member 78 whose one end is pivoted to the cylinder rod 76 of the clamp cylinder 74 and whose middle part is fixed to the workpiece mount 70. and a clamp member 80 pivotally supported by the clamp member 8.
The workpiece W is positioned and fixed by the other end of the workpiece W. In this case, the clamped state and unclamped state of the workpiece W by the clamp jig 72 are detected by two limit switches LS4 and LS5, respectively.

なお、ベース68には切削油82を貯留するタンク84
が載置されており、前記切削油82は切削油供給用モー
タ86によって駆動されるポンプ88により管路90を
介してワークWに供給される。
Note that the base 68 includes a tank 84 for storing cutting oil 82.
is mounted, and the cutting oil 82 is supplied to the workpiece W via a pipe line 90 by a pump 88 driven by a cutting oil supply motor 86.

ここで、工作機械10を駆動制御するシーケンスプログ
ラムは、通常、設計者が作成する作動タイムチャートを
見ながらプログラマ−がリレーシンボル等を用いたラダ
ーダイヤグラムを作成した後、シーケンサの翻訳プログ
ラムにより前記のラダーダイヤグラムから論理条件を用
いて作成される。この場合、第2図に示す工作機械10
の作動タイムチャートは、第3図に示すように、工作機
械10を構成する各操作単位であるクランプ用シリンダ
74、移動テーブル52を駆動する送り用モータ46、
ドリル38を回転駆動する駆動用モータ58および切削
油供給用モータ86の各操作単位の作動状態が時間軸に
沿って表記される。
Here, the sequence program for driving and controlling the machine tool 10 is usually created by a programmer creating a ladder diagram using relay symbols etc. while looking at an operation time chart created by a designer, and then by using a translation program of a sequencer to create a ladder diagram. Created from a ladder diagram using logical conditions. In this case, the machine tool 10 shown in FIG.
As shown in FIG. 3, the operation time chart for the clamp cylinder 74, which is each operation unit that constitutes the machine tool 10, the feed motor 46 that drives the moving table 52,
The operating state of each operation unit of the drive motor 58 that rotationally drives the drill 38 and the cutting oil supply motor 86 is expressed along the time axis.

本発明に係るシーケンスプログラム作成支援システムは
基本的には以上のように構成されるものであり、次にこ
のシステムの作用並びに効果について説明する。
The sequence program creation support system according to the present invention is basically configured as described above.Next, the operation and effects of this system will be explained.

工作機械10は当該システムによって作成されたシーケ
ンスプログラムにより第3図に示す作動タイムチャート
に従って次のように動作する。
The machine tool 10 operates as follows according to the operation time chart shown in FIG. 3 using a sequence program created by the system.

すなわち、シーケンスプログラムが起動されるとクラン
プ治具72がワークWをクランプし、加工部40におけ
る移動テーブル52が後退端から切削開始点まで前進す
る。次に、駆動用モータ5Bが駆動されてドリル3Bが
回転すると共に切削油82がワークWに供給され、切削
作業が開始される。移動テーブル52が前進端まで移動
するとドリル38の回転および切削油82の供給が停止
し、その後、移動テーブル52が後退端まで移動する。
That is, when the sequence program is started, the clamp jig 72 clamps the workpiece W, and the movable table 52 in the processing section 40 moves forward from the retreat end to the cutting start point. Next, the drive motor 5B is driven to rotate the drill 3B, and the cutting oil 82 is supplied to the workpiece W to start the cutting operation. When the moving table 52 moves to the forward end, the rotation of the drill 38 and the supply of cutting oil 82 are stopped, and then the moving table 52 moves to the backward end.

最後に、クランプ治具72がアンクランプ状態となって
一連の動作が終了する。
Finally, the clamp jig 72 becomes unclamped, and the series of operations ends.

ここで、前記シーケンスプログラムに基づく工作機械1
0の動作は設計時点で予定された動作時間に対して僅か
にずれたり、あるいは、設備の一部変更等により変化す
る場合がある。このような場合、シーケンスプログラム
を修正あるいは変更する必要が生じるが、当初作成した
作動タイムチャートまで遡って修正変更することは作業
が極めて煩雑である。このため、シーケンスプログラム
の修正、変更が重なると、当初の作動タイムチャートと
実際の工作機械10との間に相当なギャップが生じ、後
日この工作機械10を基準として新たな動作設計を行う
場合、動作シーケンスの解析に多大の時間を要すること
になる。
Here, the machine tool 1 based on the sequence program
The operation of 0 may deviate slightly from the operation time scheduled at the time of design, or may change due to a partial change in equipment. In such a case, it is necessary to modify or change the sequence program, but it is extremely complicated to go back and modify the operation time chart that was originally created. For this reason, if the sequence program is modified or changed repeatedly, a considerable gap will occur between the original operation time chart and the actual machine tool 10, and when a new operation design is performed based on this machine tool 10 at a later date, Analysis of the motion sequence will take a lot of time.

ところで、本発明では、設計時点や修正時に作成された
シーケンスプログラムを工作機械10に適用して動作さ
せることによりタイマ37を用いて各操作単位、作動状
態検知器等の動作時間情報を収集し、前記動作時間情報
に基づいて常に最新の状態における作動タイムチャート
を自動的に作成し得るようにし、シーケンスプログラム
等の作成を容易にする支援システムを提供する。この場
合、第1図に示すシステムにおける操作制御部14のメ
モリ28には第4図に示すデータが格納されている。
By the way, in the present invention, by applying a sequence program created at the time of design or modification to the machine tool 10 and operating it, the timer 37 is used to collect operating time information of each operation unit, operating state detector, etc. To provide a support system that can automatically create an operation time chart always in the latest state based on the operation time information and facilitate the creation of sequence programs and the like. In this case, the data shown in FIG. 4 is stored in the memory 28 of the operation control unit 14 in the system shown in FIG.

すなわち、クランプ用シリンダ74、送り用モータ46
、駆動用モータ58、切削油供給用モータ86等の各操
作単位はシーケンサ12のI10ポート24に接続され
ており、第4図に示すように、入出力アドレスO乃至4
が割り当てられ、シーケンサ12からの各動作制御信号
がこの入出力アドレスに従って各操作単位に与えられる
。一方、第4図の作動状態は各操作単位の取り得る作動
状態を示すデータであり、シーケンサ12から与えられ
る作動制御信号に従って各操作単位が動作し所定の作動
状態となる。例えば、クランプ用シリンダ74はシーケ
ンサ12から作動制御信号としてクランプ指令を受ける
と、ワークWを所定位置にクランプする動作を行う。各
操作単位がシーケンサ12からの作動制御信号に従って
所定の状態に遷移(動作)すると、各操作単位の作動状
態に対応してこれを検出する作動状態検知器であるリミ
ットスイッチLSI乃至LS5が作動する。また、駆動
用モータ58、切削油供給用モータ86等においては図
示していないが各モータを回転駆動させるための駆動電
流を検知(モニタ)する検出素子のオン、オフにより作
動状態を検知することが出来る。これら各操作単位の作
動状態と作動状態検知器の対応関係が関連情報データと
して記憶されている。各作動状態検知信号はシーケンサ
12のI10ボート24に入力され、n乃至n+7のよ
うに入出力アドレスが割り当てられている。なお、これ
らの基本データは工作機械10の設計当初に設計される
ものであり、シーケンスプログラムの修正等によっても
変化することがないため、操作制御部14のメモリ28
中に予め格納しておく。
That is, the clamp cylinder 74 and the feed motor 46
, the drive motor 58, the cutting oil supply motor 86, etc. are connected to the I10 port 24 of the sequencer 12, and as shown in FIG.
are assigned, and each operation control signal from the sequencer 12 is given to each operation unit according to this input/output address. On the other hand, the operating states in FIG. 4 are data indicating possible operating states of each operating unit, and each operating unit operates in accordance with the operating control signal given from the sequencer 12 to reach a predetermined operating state. For example, when the clamp cylinder 74 receives a clamp command as an operation control signal from the sequencer 12, it performs an operation to clamp the workpiece W at a predetermined position. When each operation unit transitions (operates) to a predetermined state according to the operation control signal from the sequencer 12, limit switches LSI to LS5, which are operation state detectors that detect the operation state of each operation unit, are activated. . Furthermore, although not shown in the drive motor 58, cutting oil supply motor 86, etc., the operating state can be detected by turning on or off a detection element that detects (monitors) the drive current for rotating each motor. I can do it. The correspondence between the operating state of each operation unit and the operating state detector is stored as related information data. Each operating state detection signal is input to the I10 port 24 of the sequencer 12, and is assigned an input/output address such as n to n+7. Note that these basic data are designed at the beginning of the design of the machine tool 10 and do not change even when the sequence program is modified.
Store it in advance.

次に、設計当初あるいは修正のあったシーケンスプログ
ラムを実際の工作機械10に適用して動作させる。この
時、シーケンサ12のI10ボート24を介してシーケ
ンサ12と工作機械10との間で送受される作動制御信
号や作動状態検知器からの検出信号(作動状態信号)は
インタフェース18を介して操作制御部14のI10ポ
ート30に入力され、デイスプレィ34で各状態がモニ
タされる。一方、操作制御部14のCPU26はメモリ
28に格納された各操作単位および作動状態検知器の入
出力アドレスデータ、各操作単位と作動状態検知器の対
応を示す関連情報データ、各操作単位の最り得る作動状
態を示す作動状態データに基づいて各操作単位、作動状
態検知器の変化する時間、すなわち、作動時間をタイマ
37で計測し、作動時間データとして第5図に示す如く
メモリ28に格納する。
Next, the originally designed or modified sequence program is applied to the actual machine tool 10 and operated. At this time, operation control signals transmitted and received between the sequencer 12 and the machine tool 10 via the I10 boat 24 of the sequencer 12 and detection signals (operation status signals) from the operation status detector are used for operation control via the interface 18. The signal is input to the I10 port 30 of the unit 14, and each status is monitored on the display 34. On the other hand, the CPU 26 of the operation control unit 14 stores the input/output address data of each operation unit and the operation state detector stored in the memory 28, the related information data indicating the correspondence between each operation unit and the operation state detector, and the latest information of each operation unit. Based on the operating state data indicating possible operating states, the timer 37 measures the changing time of each operating state detector, that is, the operating time, and stores it in the memory 28 as operating time data as shown in FIG. do.

このように、シーケンスプログラムを実行させて工作機
械10を動作させ作動時間データを収集する。次いで、
操作制御部14のキーボード36等を介して作動タイム
チャートの作成指令が与えられると、CPU26はメモ
リ28から第5図に示す作動時間データを読み出し、C
RTデイスプレィ34あるいはプリンタ等に、第3図に
示す如く、TI乃至T6を時間軸とし各操作単位および
対応する作動状態検知器の変化点(作動点)をプロット
して出力する。これによって、常に、最新のシーケンス
プログラムに対応する作動タイムチャートを自動的に得
ることが出来る。
In this way, the sequence program is executed to operate the machine tool 10 and collect operating time data. Then,
When an instruction to create an operation time chart is given via the keyboard 36 or the like of the operation control unit 14, the CPU 26 reads the operation time data shown in FIG. 5 from the memory 28, and
As shown in FIG. 3, each operation unit and the change point (operating point) of the corresponding operating state detector are plotted and output on the RT display 34 or a printer, with TI to T6 as the time axis. As a result, an operation time chart corresponding to the latest sequence program can be automatically obtained at all times.

[発明の効果] 以上のように本発明によれば、シーケンスプ0グラムの
修正変更が煩雑に行われた場合であっても、当該修正さ
れたシーケンスプログラムを適用して装置を実際に動作
させ、必要な作動時間データを収集した後、作動タイム
チャートの作成指示を行うだけで、自動的に最新のシー
ケンスプログラムに対応する作動タイムチャートを作成
することが出来る。従って、新たに工作機械等の設計を
行う場合、最新の作動タイムチャートを参照することに
よって容易に動作シーケンスの解析が行えるという利点
が得られる。
[Effects of the Invention] As described above, according to the present invention, even if a sequence program is modified in a complicated manner, it is possible to apply the modified sequence program to actually operate the device. After collecting the necessary operating time data, simply issuing an instruction to create an operating time chart automatically creates an operating time chart that corresponds to the latest sequence program. Therefore, when designing a new machine tool or the like, there is an advantage that the operation sequence can be easily analyzed by referring to the latest operation time chart.

以上、本発明について好適な実施態様を挙げて説明した
が、本発明はこの実施態様に限定されるものではなく、
本発明の要旨を逸脱しない範囲において種々の改良並び
に設計の変更が可能なことは勿論である。
Although the present invention has been described above with reference to preferred embodiments, the present invention is not limited to these embodiments.
Of course, various improvements and changes in design are possible without departing from the gist of the present invention.

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

第1図は本発明に係るシーケンスプログラム作成支援シ
ステムの全体構成図、 第2図は第1図に示すシステムに組み込まれる工作機械
の構成図、 第3図は第2図に示す工作機械の作動手順を示す作動タ
イムチャート、 第4図は第2図に示す工作機械を構成する各操作単位に
対応する各作動状態検知器等の関連を示すデータテーブ
ル、 第5図はシーケンスプログラムを実行して得られる各操
作単位、各作動状態検知器等の作動時間データテーブル
である。 10・・・工作機械    12・・・シーケンサ14
・・・操作制御部   16.18・・・インタフェー
ス20・・・メモリ      22・・・CPU24
・・・I10ポート  26・・・CPU28・・・メ
モリ      30・・・I10ポート34・・・デ
イスプレィ  36・・・キーボード37・・・タイマ
     38・・・ドリル40・・・加工部    
 42・・・被加工部W・・・ワーク LSI〜LS5・・・リミットスイッチFIG、5
Fig. 1 is an overall configuration diagram of the sequence program creation support system according to the present invention, Fig. 2 is a configuration diagram of a machine tool incorporated in the system shown in Fig. 1, and Fig. 3 is an operation of the machine tool shown in Fig. 2. Figure 4 is an operation time chart showing the procedure; Figure 4 is a data table showing the relationship between each operating state detector, etc. corresponding to each operation unit that makes up the machine tool shown in Figure 2; Figure 5 is a diagram showing the sequence program being executed. This is an operation time data table for each operation unit, each operation state detector, etc. obtained. 10...Machine tool 12...Sequencer 14
...Operation control unit 16.18...Interface 20...Memory 22...CPU24
...I10 port 26...CPU28...Memory 30...I10 port 34...Display 36...Keyboard 37...Timer 38...Drill 40...Machining section
42...Workpiece part W...Workpiece LSI~LS5...Limit switch FIG, 5

Claims (1)

【特許請求の範囲】[Claims] (1)シーケンスプログラムを実行するシーケンス制御
装置の入出力ポートに接続される制御対象の各操作単位
と各作動状態検知器の入出力アドレスデータ、各操作単
位と各作動状態検知器の対応を示す関連情報データおよ
び各操作単位の取り得る作動状態を示す作動状態データ
を格納する記憶手段と、各操作単位および各作動状態検
知器の作動時刻を検出する時間計測手段とを備え、前記
シーケンスプログラムを実行することで前記制御対象を
動作させ、前記時間計測手段により各操作単位および各
作動状態検知器の作動時刻を検出し、前記記憶手段に格
納した入出力アドレスデータ、関連情報データおよび作
動状態データに基づいて作動タイムチャートを作成する
ことを特徴とするシーケンス制御装置におけるシーケン
スプログラム作成支援システム。
(1) Indicates the input/output address data of each operation unit of the controlled object connected to the input/output port of the sequence control device that executes the sequence program and each operating state detector, and the correspondence between each operating unit and each operating state detector. A storage means for storing related information data and operating state data indicating possible operating states of each operating unit, and a time measuring means for detecting the operating time of each operating unit and each operating state detector, and the sequence program By executing this, the controlled object is operated, the time measuring means detects the operating time of each operation unit and each operating state detector, and input/output address data, related information data, and operating state data are stored in the storage means. A sequence program creation support system for a sequence control device, characterized in that an operation time chart is created based on.
JP25881087A 1987-10-13 1987-10-13 Sequence program generation supporting system for sequence controller Pending JPH01100603A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25881087A JPH01100603A (en) 1987-10-13 1987-10-13 Sequence program generation supporting system for sequence controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25881087A JPH01100603A (en) 1987-10-13 1987-10-13 Sequence program generation supporting system for sequence controller

Publications (1)

Publication Number Publication Date
JPH01100603A true JPH01100603A (en) 1989-04-18

Family

ID=17325360

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25881087A Pending JPH01100603A (en) 1987-10-13 1987-10-13 Sequence program generation supporting system for sequence controller

Country Status (1)

Country Link
JP (1) JPH01100603A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01251107A (en) * 1988-03-31 1989-10-06 Nissan Motor Co Ltd Time chart producing device
JPH04145501A (en) * 1990-10-05 1992-05-19 Nissei Plastics Ind Co Method for generating sequence program
JP2002287822A (en) * 2001-03-27 2002-10-04 Bridgestone Corp Method and device for preparing timing chart

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS606875A (en) * 1983-06-24 1985-01-14 Mitsubishi Electric Corp Graphic display device of time chart
JPS61267804A (en) * 1985-05-23 1986-11-27 Meidensha Electric Mfg Co Ltd Monitor method for process data by program loader

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS606875A (en) * 1983-06-24 1985-01-14 Mitsubishi Electric Corp Graphic display device of time chart
JPS61267804A (en) * 1985-05-23 1986-11-27 Meidensha Electric Mfg Co Ltd Monitor method for process data by program loader

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01251107A (en) * 1988-03-31 1989-10-06 Nissan Motor Co Ltd Time chart producing device
JPH04145501A (en) * 1990-10-05 1992-05-19 Nissei Plastics Ind Co Method for generating sequence program
JP2002287822A (en) * 2001-03-27 2002-10-04 Bridgestone Corp Method and device for preparing timing chart

Similar Documents

Publication Publication Date Title
JP4374045B2 (en) Numerical control device with program restart function
US10409261B2 (en) Method for monitoring a machine tool
US4992712A (en) Control device for industrial machine
US20040236462A1 (en) Numerical control apparatus for machine tool
JP4763719B2 (en) Machine control unit, engineering system for the control unit, and driving method of the control unit
CN116820034B (en) Shaft mode switching method and device and related equipment
JPH01100603A (en) Sequence program generation supporting system for sequence controller
CN116075400A (en) Numerical control system and robot control method
US4737919A (en) Numerical control sequential translator
JP2019079244A (en) Numeric control device
JP2006506719A (en) Machine tool and method of operating machine tool
GB2083247A (en) A programmable machine
US6397123B1 (en) Numerical control apparatus
JP2004362204A (en) Frictional force measuring method in machine tool and numeric control device using measured value obtained by frictional force measuring method
JP7303014B2 (en) Control device
JPH02151909A (en) Control device for industrial machine
JPH01109404A (en) Trouble diagnosis supporting system in sequence controller
EP0360190B1 (en) Control device for industrial machine
JP7401661B2 (en) Numerical control device and control method
JP2019168804A (en) Machining program editing device
WO2022244072A1 (en) Numerical control device and computer-readable storage medium
JP7355965B1 (en) Numerical control device and numerical control system
JPH0768423A (en) Electric discharge machining device
JP7473653B2 (en) Numerical control device having a function of changing a setting parameter for controlling a controlled object at a predetermined timing and a setting parameter changing method thereof
JPS61256407A (en) Numerical controller