JP2017146910A - Data generation program, processing device, and inspection device - Google Patents

Data generation program, processing device, and inspection device Download PDF

Info

Publication number
JP2017146910A
JP2017146910A JP2016030003A JP2016030003A JP2017146910A JP 2017146910 A JP2017146910 A JP 2017146910A JP 2016030003 A JP2016030003 A JP 2016030003A JP 2016030003 A JP2016030003 A JP 2016030003A JP 2017146910 A JP2017146910 A JP 2017146910A
Authority
JP
Japan
Prior art keywords
data
data table
graphic
data generation
generation program
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
JP2016030003A
Other languages
Japanese (ja)
Inventor
孝志 村山
Takashi Murayama
孝志 村山
優弥 佐藤
Yuya Sato
優弥 佐藤
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.)
COSMO SYSTEM KK
Original Assignee
COSMO SYSTEM KK
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 COSMO SYSTEM KK filed Critical COSMO SYSTEM KK
Priority to JP2016030003A priority Critical patent/JP2017146910A/en
Publication of JP2017146910A publication Critical patent/JP2017146910A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Numerical Control (AREA)
  • General Factory Administration (AREA)

Abstract

PROBLEM TO BE SOLVED: To enable graphic data generated by design support software to be used in various devices.SOLUTION: A numerical data generation program extracts one or more elements from DXF data which shows a graphic form constituted of the elements and associates positional information indicating a position and speed information with each element. Thus, with the positional information based on the DXF data, positions of an X-axis table 22X and a Y-axis table 22Y included in a processing device 10 are identified and, with the speed information, travel speeds of the X-axis table 22X and the Y-axis table 22Y are identified.SELECTED DRAWING: Figure 1

Description

本発明は、データ生成プログラム、加工装置、及び検査装置に関するものである。   The present invention relates to a data generation program, a processing apparatus, and an inspection apparatus.

加工装置として、例えばPLC(Programmable Logic Controller)を利用した機械装置が広く用いられている(例えば特許文献1)。加工装置で加工される加工物は、CAD(Computer Aided Design)ソフトに代表されるような、コンピュータで利用可能な設計支援ソフトによって設計される。   As a processing apparatus, for example, a mechanical apparatus using a PLC (Programmable Logic Controller) is widely used (for example, Patent Document 1). A workpiece processed by the processing apparatus is designed by design support software that can be used by a computer, such as CAD (Computer Aided Design) software.

このため、PLCを利用した加工装置は、例えば、CADデータで記述された位置情報を人が読み取り、加工装置に対応した数値設定器により設定され、PLCで利用可能な加工データとされる。また、タッチパネル表示器に対して手入力で位置情報を入力することで、加工データを作成する装置もある。このような加工装置では、複雑な形状を加工するためのデータ入力が難しかった。   For this reason, in a processing apparatus using PLC, for example, position information described by CAD data is read by a person, set by a numerical setting device corresponding to the processing apparatus, and processed data usable in the PLC. There is also an apparatus that creates machining data by manually inputting position information to a touch panel display. In such a processing apparatus, it has been difficult to input data for processing a complicated shape.

複雑な加工をするには、マシニングセンタ等の数値制御工作機械(以下「NC工作機械」という。)が用いられるものの、NC工作機械では制御装置に特有のNCデータ(例えばGコード)が用いられており、CADデータを使用することはできないものが多い。また、CADデータを読み込み可能なNC工作機械は、非常に高価であり、汎用性が低い。   For complex machining, numerically controlled machine tools such as machining centers (hereinafter referred to as “NC machine tools”) are used, but NC machine tools use NC data (for example, G code) specific to the control device. In many cases, CAD data cannot be used. An NC machine tool capable of reading CAD data is very expensive and has low versatility.

特開2015−168023号公報Japanese Patent Laying-Open No. 2015-168023

しかしながら、CADデータを人が読み取って、装置に対して手入力によって位置情報を入力する方法は、人的ミスを生じさせたり、多大な工数を要する。   However, a method in which CAD data is read by a person and position information is manually input to the apparatus causes a human error or requires a large number of man-hours.

本発明は、このような事情に鑑みてなされたものであって、設計支援ソフトで作成された図形データを各種装置に利用可能とする、データ生成プログラム、加工装置、及び検査装置、を提供することを目的とする。   The present invention has been made in view of such circumstances, and provides a data generation program, a processing apparatus, and an inspection apparatus that can use graphic data created by design support software for various apparatuses. For the purpose.

上記課題を解決するために、本発明のデータ生成プログラム、加工装置、及び検査装置は以下の手段を採用する。   In order to solve the above problems, the data generation program, the processing apparatus, and the inspection apparatus of the present invention employ the following means.

本発明の第一態様に係るデータ生成プログラムは、コンピュータを、一つ以上の要素によって構成される図形を示した図形データから該要素を抽出し、該要素毎に位置を示す位置情報を付加したデータテーブルを生成するデータテーブル生成手段と、前記データテーブルに含まれる前記要素毎に速度情報を関連付ける速度付加手段と、して機能させる。   In the data generation program according to the first aspect of the present invention, the computer extracts the element from the graphic data indicating the graphic constituted by one or more elements, and adds position information indicating the position for each element. Data table generating means for generating a data table and speed adding means for associating speed information for each element included in the data table are caused to function.

本構成に係るデータ生成プログラムは、図形データを加工装置等の機械装置に使用可能とするものである。
図形データは、直線や曲線等の線によって図形の形状を特定したデータであり、例えばコンピュータで利用可能な設計支援ソフトで作成されたCADデータである。また、図形データから生成されるデータは、例えばPLCで利用可能なデータである。
The data generation program according to the present configuration makes it possible to use graphic data for a mechanical device such as a processing device.
The graphic data is data in which the shape of the graphic is specified by a line such as a straight line or a curve, for example, CAD data created by design support software available on a computer. The data generated from the graphic data is data that can be used in the PLC, for example.

本構成は、データテーブル生成手段によって、図形データから該要素が抽出され、該要素毎に位置を示す位置情報を付加したデータテーブルが生成される。そして、速度付加手段によって、データテーブルに含まれる要素毎に速度情報が関連付けられる。
これにより、図形データに基づいた位置情報によって、例えば、加工装置が備えるXYテーブルの位置が特定され、速度情報によって、XYテーブルの移動速度が特定される。
従って、本構成によれば、設計支援ソフトで作成された図形データを機械装置に利用可能となる。
In this configuration, the element is extracted from the graphic data by the data table generating means, and a data table to which position information indicating the position is added is generated for each element. Then, the speed adding means associates speed information for each element included in the data table.
Thereby, for example, the position of the XY table provided in the processing apparatus is specified by the position information based on the graphic data, and the moving speed of the XY table is specified by the speed information.
Therefore, according to this configuration, the graphic data created by the design support software can be used for the mechanical device.

上記第一態様では、前記速度情報を、前記要素毎に加速度、一定速度、及び減速度が変更可能としてもよい。   In the first aspect, the speed information may be changeable in acceleration, constant speed, and deceleration for each element.

本構成によれば、機械装置の性能や要素に応じた適切な速度設定ができる。   According to this configuration, an appropriate speed can be set according to the performance and elements of the mechanical device.

上記第一態様では、前記データテーブルを、定義されるパラメータの種類が前記要素の種類毎に異なり、該パラメータで定義される複数の前記要素の集合としてもよい。   In the first aspect, the data table may be defined as a set of a plurality of elements defined by the parameters, with different types of parameters defined for each element type.

本構成によれば、データテーブルは、要素の種類によっては不要なパラメータを保持する必要が生じないのでは、データテーブルを用いたデータ処理が速くなる。   According to this configuration, if the data table does not need to hold unnecessary parameters depending on the type of element, data processing using the data table is accelerated.

上記第一態様では、前記データテーブルに基づいて前記図形を描画して画像表示装置に表示させる描画手段と、前記画像表示装置に表示された前記図形を構成する前記要素のうち、ユーザーによって選択された前記要素を前記データテーブルから削除する要素削除手段と、を備えてもよい。   In the first aspect, a drawing unit that draws the graphic based on the data table and displays the graphic on the image display device, and the element constituting the graphic displayed on the image display device are selected by a user. Element deletion means for deleting the element from the data table.

本構成によれば、図形データに含まれるものの、加工等に不要な要素を簡易に削除できる。   According to this configuration, elements included in the graphic data but unnecessary for processing or the like can be easily deleted.

本発明の第二態様に係る加工装置は、上記記載のデータ生成プログラムによって生成された前記データテーブルを用いて被加工物を加工する。   The processing apparatus according to the second aspect of the present invention processes a workpiece using the data table generated by the data generation program described above.

本発明の第三態様に係る検査装置は、上記記載のデータ生成プログラムによって生成された前記データテーブルを用いて検査対象物を検査する。   The inspection apparatus according to the third aspect of the present invention inspects an inspection object using the data table generated by the data generation program described above.

本発明によれば、設計支援ソフトで作成された図形データを各種装置に利用可能とする、という効果を有する。   According to the present invention, there is an effect that the graphic data created by the design support software can be used for various apparatuses.

本発明の実施形態に係る加工装置の全体構成図である。1 is an overall configuration diagram of a processing apparatus according to an embodiment of the present invention. 本発明の実施形態に係る数値データ生成装置の電気的構成を示す機能ブロック図である。It is a functional block diagram which shows the electric constitution of the numerical data generation apparatus which concerns on embodiment of this invention. 本発明の実施形態に係るACサーボモータ制御装置の電気的構成を示す機能ブロック図である。It is a functional block diagram which shows the electric constitution of the AC servomotor control apparatus which concerns on embodiment of this invention. 本発明の実施形態に係る数値データ生成処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the numerical data generation process which concerns on embodiment of this invention. 本発明の実施形態に係る起動画像である。It is a starting image which concerns on embodiment of this invention. 本発明の実施形態に係る設定画像である。It is a setting image which concerns on embodiment of this invention. 本発明の実施形態に係る画層単位でパラメータの設定が終了した場合における設定画像である。It is a setting image when parameter setting is completed in units of layers according to the embodiment of the present invention. 本発明の実施形態に係るディスプレイに表示される描画データテーブルを示す画像である。It is an image which shows the drawing data table displayed on the display which concerns on embodiment of this invention. 本発明の実施形態に係るグラフィック表示の一例を示す図である。It is a figure which shows an example of the graphic display which concerns on embodiment of this invention. 本発明の実施形態に係るディスプレイに表示される操作画像である。It is the operation image displayed on the display which concerns on embodiment of this invention. 本発明の実施形態に係る要素の種類毎に定義されるパラメータを示す模式図である。It is a schematic diagram which shows the parameter defined for every kind of element which concerns on embodiment of this invention. 本発明の実施形態に係る描画データテーブルの全体構成を示す模式図である。It is a schematic diagram which shows the whole structure of the drawing data table which concerns on embodiment of this invention. 本発明の実施形態に係る描画データテーブルの生成手順を示した模式図である。It is the schematic diagram which showed the production | generation procedure of the drawing data table which concerns on embodiment of this invention. 多次元配列テーブルとされない描画データテーブルと、多次元配列テーブルとされた描画データテーブルとを比較した模式図である。FIG. 6 is a schematic diagram comparing a drawing data table that is not a multidimensional array table and a drawing data table that is a multidimensional array table. 本発明の実施形態に係る要素の種類毎にソートした多次元配列テーブルの模式図である。It is a schematic diagram of the multidimensional arrangement | sequence table sorted according to the kind of element which concerns on embodiment of this invention. 本発明の実施形態に係る描画データテーブル生成処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the drawing data table production | generation process which concerns on embodiment of this invention.

以下に、本発明に係るデータ生成プログラム、加工装置、及び検査装置の一実施形態について、図面を参照して説明する。   Hereinafter, an embodiment of a data generation program, a processing apparatus, and an inspection apparatus according to the present invention will be described with reference to the drawings.

図1は、本実施形態に係る機械装置である加工装置10の全体構成図である。
加工装置10は、XYテーブル装置12、数値データ生成装置14、及びACサーボモータ制御装置16を備える。
FIG. 1 is an overall configuration diagram of a processing apparatus 10 that is a mechanical apparatus according to the present embodiment.
The processing device 10 includes an XY table device 12, a numerical data generation device 14, and an AC servo motor control device 16.

XYテーブル装置12は、ACサーボモータ20X、ACサーボモータ20Y、X軸テーブル22X、Y軸テーブル22Y、及びワーク固定具24を備える。   The XY table device 12 includes an AC servomotor 20X, an AC servomotor 20Y, an X-axis table 22X, a Y-axis table 22Y, and a work fixture 24.

ACサーボモータ20Xは、ワーク固定具24を載置したX軸テーブル22XをX軸方向に移動させる。ACサーボモータ20Yは、X軸テーブル22Xを載置したY軸テーブル22YをY軸方向に移動させる。
ワーク固定具24は、加工具26によって加工されるワーク28が固定される。ワーク28は、ワーク基準ブロック30A,30B,30Cによって予め設定された基準位置に固定される。
加工具26は、一例として、アーム32の先端にであって、ワーク28に対して上方(図1の紙面垂直方向であるZ軸方向)に設けられており、レーザーをワーク28に照射することでワーク28を加工するレーザー加工装置である。
The AC servo motor 20X moves the X-axis table 22X on which the work fixture 24 is placed in the X-axis direction. The AC servo motor 20Y moves the Y-axis table 22Y on which the X-axis table 22X is placed in the Y-axis direction.
A workpiece 28 to be processed by the processing tool 26 is fixed to the workpiece fixing tool 24. The work 28 is fixed at a reference position set in advance by the work reference blocks 30A, 30B, and 30C.
As an example, the processing tool 26 is provided at the tip of the arm 32 and above the work 28 (in the Z-axis direction which is the direction perpendicular to the paper surface in FIG. 1), and irradiates the work 28 with laser. This is a laser processing apparatus for processing the workpiece 28.

このような構成により、XYテーブル装置12は、ワーク28をX軸方向及びY軸方向に移動させながら、ワーク28を加工する。   With such a configuration, the XY table device 12 processes the workpiece 28 while moving the workpiece 28 in the X-axis direction and the Y-axis direction.

また、本実施形態に係る加工装置10は、加工具26の替わりに垂直方向(Z軸方向)の距離を測定する距離測定装置等の検査具をアーム32の先端に備え、ワーク固定具24に非検査物を載置することによって、検査装置としても機能する。
具体的には、アーム32の先端に備えられた距離測定装置が移動しながら非検査物までの距離を測定することで、非検査物の高さが測定される。これにより、検査装置としても機能する加工装置10は、非検査物の形状を特定し、非検査物が所定の形状に加工されているか否かを判定可能となる。
In addition, the processing apparatus 10 according to the present embodiment includes an inspection tool such as a distance measuring device that measures the distance in the vertical direction (Z-axis direction) instead of the processing tool 26 at the tip of the arm 32, and the work fixture 24 By placing a non-inspection object, it also functions as an inspection device.
Specifically, the height of the non-inspection object is measured by measuring the distance to the non-inspection object while the distance measuring device provided at the tip of the arm 32 moves. Thereby, the processing apparatus 10 that also functions as an inspection apparatus can specify the shape of the non-inspection object and determine whether or not the non-inspection object is processed into a predetermined shape.

なお、加工装置10をワーク28の加工に用いる場合は、加工モードとされ、加工装置10を検査装置として用いる場合は、検査モードとされる。   In addition, when using the processing apparatus 10 for the process of the workpiece | work 28, it is set as processing mode, and when using the processing apparatus 10 as an inspection apparatus, it is set as inspection mode.

数値データ生成装置14は、図形データに基づいてACサーボモータ制御装置16で利用可能な数値データを生成する。図形データは、直線や曲線等の線によって図形の形状を特定したデータであり、例えばコンピュータで利用可能な設計支援ソフトで作成されたDXF(Drawing Exchange Format)形式のCADデータである。なお、図形には文字形状も含まれる。
以下の説明において、DXF形式のCADデータをDXFデータという。なお、DXFデータは、数値データ生成装置14に設計支援ソフトがインストールされることで、数値データ生成装置14によって作成されてもよいし、他のコンピュータによって作成されて数値データ生成装置14に転送されてもよい。数値データの生成に用いられるDXFデータは、数値データ生成装置14に予め記憶されている。
The numerical data generation device 14 generates numerical data that can be used by the AC servo motor control device 16 based on the graphic data. The graphic data is data in which the shape of the graphic is specified by a line such as a straight line or a curve, and is, for example, CAD data in DXF (Drawing Exchange Format) format created by design support software available on a computer. The figure includes a character shape.
In the following description, the DXF format CAD data is referred to as DXF data. The DXF data may be generated by the numerical data generation device 14 by installing design support software in the numerical data generation device 14, or may be generated by another computer and transferred to the numerical data generation device 14. May be. DXF data used for generating numerical data is stored in advance in the numerical data generating device 14.

なお、数値データ生成装置14は、例えば、CPU(Central Processing Unit)、RAM(Random Access Memory)、ROM(Read Only Memory)、及びHDD(Hard Disk Drive)等のコンピュータ読み取り可能な記憶媒体等から構成されたPC(Personal Computer)である。そして、各種機能を実現するための一連の処理は、一例として、プログラムの形式で記憶媒体等に記憶されており、このプログラムをCPUがRAM等に読み出して、情報の加工・演算処理を実行することにより、各種機能が実現される。なお、プログラムは、ROMやその他の記憶媒体に予めインストールしておく形態や、コンピュータ読み取り可能な記憶媒体に記憶された状態で提供される形態、有線又は無線による通信手段を介して配信される形態等が適用されてもよい。コンピュータ読み取り可能な記憶媒体とは、磁気ディスク、光磁気ディスク、CD−ROM、DVD−ROM、半導体メモリ等である。   The numerical data generation device 14 includes a computer-readable storage medium such as a central processing unit (CPU), a random access memory (RAM), a read only memory (ROM), and a hard disk drive (HDD). PC (Personal Computer). A series of processes for realizing various functions is stored in a storage medium or the like in the form of a program as an example, and the CPU reads the program into a RAM or the like to execute information processing / arithmetic processing. As a result, various functions are realized. The program is preinstalled in a ROM or other storage medium, provided in a state stored in a computer-readable storage medium, or distributed via wired or wireless communication means. Etc. may be applied. The computer-readable storage medium is a magnetic disk, a magneto-optical disk, a CD-ROM, a DVD-ROM, a semiconductor memory, or the like.

ACサーボモータ制御装置16は、所謂PLCであり、数値データ生成装置14によって生成された数値データが入力され、数値データに基づいてACサーボモータ20X,20Yを制御し、ワーク28をX軸方向及びY軸方向に移動させる。ACサーボモータ制御装置16は、例えばLANによって数値データ生成装置14と接続され、LANを介して数値データ生成装置14から数値データが転送される。   The AC servo motor control device 16 is a so-called PLC, receives the numerical data generated by the numerical data generation device 14, controls the AC servo motors 20X and 20Y based on the numerical data, and moves the workpiece 28 in the X-axis direction and Move in the Y-axis direction. The AC servo motor control device 16 is connected to the numerical data generation device 14 via, for example, a LAN, and numerical data is transferred from the numerical data generation device 14 via the LAN.

次に、数値データ生成装置14の詳細について説明する。
数値データ生成装置14は、図形の形状を特定したDXFデータから図形を構成する複数の要素を抽出し、要素毎に位置情報と速度情報を関連付けた数値データを生成する。
Next, details of the numerical data generation device 14 will be described.
The numerical data generation device 14 extracts a plurality of elements constituting the graphic from the DXF data specifying the shape of the graphic, and generates numerical data in which position information and velocity information are associated with each element.

図2は、数値データ生成装置14の電気的構成を示す機能ブロック図である。
数値データ生成装置14は、DXFデータ読込部50、DXFデータ解析部52、位置情報生成部54、基準位置設定部56、速度付加処理部58、描画データテーブル生成部60、PC−PLCデータ通信部62、及び描画部64を備える。なお、上記各機能は、数値データ生成装置14が備えるHDD等の記憶媒体に記憶されたプログラムにより実現される。
FIG. 2 is a functional block diagram showing an electrical configuration of the numerical data generation device 14.
The numerical data generation device 14 includes a DXF data reading unit 50, a DXF data analysis unit 52, a position information generation unit 54, a reference position setting unit 56, a speed addition processing unit 58, a drawing data table generation unit 60, and a PC-PLC data communication unit. 62 and a drawing unit 64. Each of the above functions is realized by a program stored in a storage medium such as an HDD provided in the numerical data generation device 14.

DXFデータ読込部50は、HDD等の記憶媒体に記憶されているDXFデータに対するユーザーの選択を受け付け、選択されたDXFデータを記憶媒体から読み出す。   The DXF data reading unit 50 receives a user's selection for DXF data stored in a storage medium such as an HDD, and reads the selected DXF data from the storage medium.

DXFデータ解析部52は、DXFデータを解析し、DXFデータに含まれる図形形状を線情報として抽出すると共に文字形状を文字情報として抽出し、抽出した線情報や文字情報を個別の要素として扱う。このために、各要素をDXFデータのレイヤー(画層ともいう。)毎に抽出してデータ列とする。以下の説明において、このデータ列を画層リストという。
なお、要素として扱う線情報は、例えば、直線(LINE)、円(CIRCLE)、円弧(ARC)、連続軌跡(POLYLINE)、頂点(VERTEX)、及び点(POINT)等であり、DXFデータの要素定義部(ENTITY)によって定義されている。
The DXF data analysis unit 52 analyzes the DXF data, extracts a graphic shape included in the DXF data as line information, extracts a character shape as character information, and handles the extracted line information and character information as individual elements. For this purpose, each element is extracted for each DXF data layer (also called a layer) to form a data string. In the following description, this data string is referred to as a layer list.
The line information handled as elements is, for example, straight line (LINE), circle (CIRCLE), arc (ARC), continuous trajectory (POLYLINE), vertex (VERTEX), point (POINT), etc. It is defined by the definition part (ENTITY).

位置情報生成部54は、要素の始点位置と終点位置とを相対的に示す相対位置情報を生成し、画層リストに格納する。なお、位置情報は、X座標、Y座標,及びZ座標で特定される座標情報である。
このように、DXFデータ解析部52によって、一つ以上の要素によって構成される図形を示したDXFデータから要素が抽出され、位置情報生成部54によって、要素毎に位置を示す位置情報を付加したデータテーブルである画層リストが生成される。
The position information generating unit 54 generates relative position information that relatively indicates the start position and end position of the element, and stores the relative position information in the layer list. The position information is coordinate information specified by the X coordinate, the Y coordinate, and the Z coordinate.
As described above, the DXF data analysis unit 52 extracts elements from the DXF data indicating a graphic composed of one or more elements, and the position information generation unit 54 adds position information indicating the position for each element. A layer list that is a data table is generated.

基準位置設定部56は、各レイヤーの相対位置情報に基づいて、各レイヤーの始点位置と終点位置とを絶対位置に変換し、画層リストに格納する。なお、この絶対位置の基準位置でされるゼロ点(x,y)=(0,0)は、XYテーブル装置12に載置されたワーク28の基準位置と一致するものである。
このように、各要素の位置情報は、他の要素の位置情報との相対位置として表された後、該相対位置に対して基準位置を指定して絶対位置とされる。
Based on the relative position information of each layer, the reference position setting unit 56 converts the start point position and end point position of each layer into absolute positions and stores them in the layer list. Note that the zero point (x, y) = (0, 0), which is the reference position of the absolute position, coincides with the reference position of the work 28 placed on the XY table device 12.
Thus, after the position information of each element is expressed as a relative position with respect to the position information of other elements, the reference position is designated with respect to the relative position and is set as the absolute position.

速度付加処理部58は、要素毎に速度情報を関連付け、画層リストに格納する。速度情報は、加速、一定速度、及び減速を含む。この速度情報に基づいて、ACサーボモータ20X,20Yが制御され、X軸テーブル22X及びY軸テーブル22Yが移動する。
なお、加速度、一定速度、及び減速度は要素毎に変更可能とされている。これにより、機械装置の性能や要素に応じた適切な速度設定ができる。
また、ここでいう速度とは、X軸方向の速度及びY軸方向の速度を合成した値(以下「軸合成速度」という。)である。さらに、加速度及び減速度は、一例として加速時間及び減速時間として設定されるが、これに限らず、加速度及び減速度そのものが設定されてもよい。
The speed addition processing unit 58 associates speed information for each element and stores it in the layer list. The speed information includes acceleration, constant speed, and deceleration. Based on this speed information, the AC servomotors 20X and 20Y are controlled, and the X-axis table 22X and the Y-axis table 22Y move.
The acceleration, the constant speed, and the deceleration can be changed for each element. This makes it possible to set an appropriate speed according to the performance and elements of the mechanical device.
Further, the speed here is a value obtained by combining the speed in the X-axis direction and the speed in the Y-axis direction (hereinafter referred to as “axis combined speed”). Furthermore, although acceleration and deceleration are set as acceleration time and deceleration time as an example, not only this but acceleration and deceleration itself may be set.

描画データテーブル生成部60は、複数の画層リストを統合した描画データテーブルを生成する描画データテーブル生成処理を行う。描画データテーブル生成処理については詳細を後述する。   The drawing data table generation unit 60 performs a drawing data table generation process for generating a drawing data table in which a plurality of layer lists are integrated. Details of the drawing data table generation processing will be described later.

PC−PLCデータ通信部62は、描画データテーブルをACサーボモータ制御装置16、すなわちPLCで利用可能な数値データに変換し、ACサーボモータ制御装置16へ転送する。   The PC-PLC data communication unit 62 converts the drawing data table into numerical data usable in the AC servo motor control device 16, that is, the PLC, and transfers the numerical data to the AC servo motor control device 16.

描画部64は、描画データテーブルに基づいて図形を描画して、数値データ生成装置14が備えるディスプレイ66に表示(以下「グラフィック表示」という。)させる。
さらに、描画部64は、ディスプレイ66に表示された図形を構成する要素のうち、ユーザーによって選択された要素を描画データテーブルから削除する要素削除手段としても機能する。
また、グラフィック表示として、特定の要素の種類を選択して、選択した種類の要素のみをディスプレイ66に表示させることもできる。
The drawing unit 64 draws a figure based on the drawing data table and displays the figure on a display 66 included in the numerical data generation device 14 (hereinafter referred to as “graphic display”).
Further, the drawing unit 64 also functions as an element deleting unit that deletes an element selected by the user from the drawing data table among the elements constituting the graphic displayed on the display 66.
Further, as a graphic display, a specific element type can be selected, and only the selected type of element can be displayed on the display 66.

次に、ACサーボモータ制御装置16の詳細について図3を参照して説明する。
ACサーボモータ制御装置16は、PLCユニット70及びモータドライバー72X,72Yを備える。
Next, the details of the AC servo motor control device 16 will be described with reference to FIG.
The AC servo motor control device 16 includes a PLC unit 70 and motor drivers 72X and 72Y.

PLCユニット70は、CPU74とモーションユニット76を備える。   The PLC unit 70 includes a CPU 74 and a motion unit 76.

CPU74は、PLCユニット70全体の制御を司り、例えば、数値データ生成装置14から転送された数値データを記憶媒体に記憶したり、読み出したりする。
モーションユニット76は、数値データ生成装置14から転送された数値データに基づいて、ACサーボモータ20X,20Yに対する位置決め制御を行う。この位置決め制御は、ACサーボモータ20X,20Yによる同期運転、位置追従、及び補完制御等によって行われる。
The CPU 74 controls the entire PLC unit 70, for example, stores or reads numerical data transferred from the numerical data generation device 14 in a storage medium.
The motion unit 76 performs positioning control on the AC servomotors 20X and 20Y based on the numerical data transferred from the numerical data generation device 14. This positioning control is performed by synchronous operation by the AC servomotors 20X and 20Y, position tracking, and complementary control.

モータドライバー72X,72Yは、モーションユニット76から出力された制御信号に基づいて、ACサーボモータ20X,20Yを駆動させる。   The motor drivers 72X and 72Y drive the AC servo motors 20X and 20Y based on the control signal output from the motion unit 76.

図4は、DXFデータに基づいて数値データを生成する数値データ生成処理の流れを示すフローチャートである。また、図5〜10は、数値データ生成処理を実行した場合に、ディスプレイ66に表示される各種画像である。   FIG. 4 is a flowchart showing the flow of numerical data generation processing for generating numerical data based on DXF data. 5 to 10 are various images displayed on the display 66 when the numerical data generation process is executed.

まず、数値データ生成プログラムが起動すると図5に示す画像(「起動画像」という。)80が表示され、ステップ100では、パラメータの初期設定が行われる。
図6は、パラメータの設定を行うための画像(以下「設定画像」という。)82であり、起動画像80におけるメニューバー84の“ファイル(F)”をクリックすることで表示されるプルダウンメニューから選択される。本実施形態では、各パラメータは予め初期値が設定されているが、ユーザー自身によって入力されてもよい。
First, when the numerical data generation program is activated, an image 80 (referred to as “activation image”) 80 shown in FIG. 5 is displayed. In step 100, initial setting of parameters is performed.
FIG. 6 shows an image 82 for setting parameters (hereinafter referred to as “setting image”). From the pull-down menu displayed by clicking “File (F)” on the menu bar 84 in the startup image 80. Selected. In this embodiment, initial values are set in advance for each parameter, but may be input by the user himself / herself.

設定されるパラメータとしては、図形表示の有無、加工番号表示の有無、レーザー加工の有無、色の指定、軸合成速度の設定、加速時間の設定、減速時間の設定、及びドウェルタイムの設定がある。   Parameters to be set include graphic display, processing number display, laser processing, color specification, axis composition speed setting, acceleration time setting, deceleration time setting, and dwell time setting. .

図形表示は、対象レイヤーに含まれる図形をグラフィック表示するか選択する設定である。加工番号表示は、図形をグラフィック表示する際に加工番号を合わせて表示するか選択する設定である。レーザー加工は、対象レイヤーに含まれる図形をレーザー加工するか選択する設定である。色は、対象レイヤーに含まれる図形をグラフィック表示する際の描画色を選択する設定である。軸合成速度は、XY軸の速度設定である。加速時間は、モーター軸が軸合成速度に達するまでの時間設定である。減速時間は、モーター軸が停止するまでの時間設定である。ドウェルタイムは、次の加工開始までの待機時間設定である。   The graphic display is a setting for selecting whether to display a graphic included in the target layer. The processing number display is a setting for selecting whether to display a processing number together when a graphic is displayed graphically. Laser processing is a setting for selecting whether to perform laser processing on a figure included in the target layer. The color is a setting for selecting a drawing color when a graphic included in the target layer is graphically displayed. The axis synthesis speed is a speed setting for the XY axes. The acceleration time is a time setting until the motor shaft reaches the shaft synthesis speed. The deceleration time is a time setting until the motor shaft stops. The dwell time is a waiting time setting until the next processing starts.

次のステップ102では、設定画像82を介してユーザーがDXFデータを選択する。ここで選択されたDXFデータに基づいて数値データが生成される。   In the next step 102, the user selects DXF data via the setting image 82. Numerical data is generated based on the DXF data selected here.

次のステップ104では、ユーザーによって選択されたDXFデータをHDDから読み出し、RAMに展開する。   In the next step 104, the DXF data selected by the user is read from the HDD and expanded in the RAM.

次のステップ106では、DXFデータを解析することで、DXFデータを構成するENTITYセクションに含まれる画層情報を抽出して、画層毎に画層リストを生成する。   In the next step 106, by analyzing the DXF data, the layer information included in the ENTITY section constituting the DXF data is extracted, and a layer list is generated for each layer.

次のステップ108では、画層リスト毎にパラメータの設定を行う。このパラメータは、ステップ100で初期設定したパラメータが用いられてもよいし、ユーザーによって画層リスト毎にパラメータを変更して新たに設定し直されてもよい。また、ステップ108では、要素の始点位置と終点位置とを相対的に示す相対位置情報を、絶対位置情報に変換する。   In the next step 108, parameters are set for each layer list. As this parameter, the parameter initially set in step 100 may be used, or the parameter may be changed and newly set by the user for each layer list. In step 108, the relative position information relatively indicating the start position and end position of the element is converted into absolute position information.

図7は、画層リスト毎のパラメータの設定が終了した場合における設定画像82の一例である。   FIG. 7 is an example of the setting image 82 when the parameter setting for each layer list is completed.

次のステップ110では、設定画像82における変換ボタン86をユーザーが押す。   In the next step 110, the user presses the conversion button 86 in the setting image 82.

次のステップ112では、描画データテーブルを生成する。なお、描画データテーブルは、詳細を後述するように多次元配列テーブルとして生成される。   In the next step 112, a drawing data table is generated. The drawing data table is generated as a multidimensional array table as will be described in detail later.

図8は、描画データテーブルを表形式によるデータ編集が可能なソフトウェアを介して展開され、ディスプレイ66に表示される描画データテーブルの一例を示す画像である。なお、図8に示される描画データテーブル88は、多次元配列テーブルに基づいて、ユーザーが理解し易いように示したものである。なお、図8に示される描画データテーブル88において命令は要素に相当し、この命令毎に加工番号が付与される。   FIG. 8 is an image showing an example of the drawing data table developed on the drawing data table via software capable of editing data in a tabular format and displayed on the display 66. The drawing data table 88 shown in FIG. 8 is shown based on the multidimensional array table so that the user can easily understand it. In the drawing data table 88 shown in FIG. 8, a command corresponds to an element, and a processing number is assigned to each command.

次のステップ114では、描画プログラムの起動指示が入力されたか否かを判定し、肯定判定の場合はステップ116へ移行し、否定判定の場合はステップ124へ移行する。   In the next step 114, it is determined whether or not an instruction to start the drawing program has been input. If the determination is affirmative, the process proceeds to step 116. If the determination is negative, the process proceeds to step 124.

ステップ116では、描画プログラムを起動し、図9に示すように、起動画像80の描画表示部92に描画データテーブルに基づいた図形をグラフィック表示する。なお、グラフィック表示される図形は、ステップ102で選択されたDXFデータにより示される画像と同様のものとなる。
また、ユーザーは、特定の要素の種類を選択して、選択した種類の要素のみを描画表示部92に表示させることもできる。
In step 116, the drawing program is activated, and a graphic based on the drawing data table is graphically displayed on the drawing display unit 92 of the activation image 80, as shown in FIG. The graphic displayed is the same as the image indicated by the DXF data selected in step 102.
Further, the user can select a specific element type and display only the selected type of element on the drawing display unit 92.

次のステップ118では、グラフィック表示された図形を形成する要素のうち、何れかがユーザーによって選択されたか否かを判定し、肯定判定の場合はステップ120へ移行し、否定判定の場合はステップ124へ移行する。   In the next step 118, it is determined whether or not any of the elements forming the graphic displayed graphic is selected by the user. If the determination is affirmative, the process proceeds to step 120. If the determination is negative, step 124 is performed. Migrate to

ステップ120では、選択した要素の削除指示がユーザーによって入力されたか否かを判定し、肯定判定の場合はステップ122へ移行し、否定判定の場合はステップ118へ戻る。   In step 120, it is determined whether or not an instruction to delete the selected element is input by the user. If the determination is affirmative, the process proceeds to step 122. If the determination is negative, the process returns to step 118.

ステップ122では、選択した要素を描画データテーブルから削除し、ステップ118へ戻る。これにより、DXFデータに含まれるものの、加工等に不要な要素を簡易に削除できる。   In step 122, the selected element is deleted from the drawing data table, and the process returns to step 118. As a result, elements included in the DXF data but unnecessary for processing or the like can be easily deleted.

ステップ124では、加工装置10を加工モード又は検査モードの何れで用いるか選択するための選択ボタンが押されたか否かを判定し、肯定判定の場合はステップ126へ移行し、否定判定の場合はステップ114へ戻る。   In step 124, it is determined whether or not the selection button for selecting whether the processing apparatus 10 is used in the processing mode or the inspection mode has been pressed. If the determination is affirmative, the process proceeds to step 126, and if the determination is negative. Return to step 114.

ステップ126では、ステップ124で加工装置10を加工モード又は検査モードの何れで用いるかがユーザーによって選択され、選択されたモードが加工装置10に設定される。   In step 126, the user selects whether to use the processing apparatus 10 in the processing mode or the inspection mode in step 124, and the selected mode is set in the processing apparatus 10.

次のステップ128では、図10に示す操作画像90の運転開始ボタン94をユーザーが押すことによって、描画データテーブル88がPLCで解釈可能な数値データに変換される。この変換は具体的には、描画データテーブルにおいて「図形表示」、「番号表示」、「色」等、加工装置10による加工又は検査に不要な情報を削除することである。   In the next step 128, when the user presses the operation start button 94 of the operation image 90 shown in FIG. 10, the drawing data table 88 is converted into numerical data that can be interpreted by the PLC. Specifically, this conversion is to delete information unnecessary for processing or inspection by the processing apparatus 10 such as “graphic display”, “number display”, and “color” in the drawing data table.

次のステップ130では、数値データ生成装置14からACサーボモータ制御装置16へ数値データを転送する。これにより、ACサーボモータ制御装置16は、ACサーボモータ20X,20Yを駆動させることで、X軸テーブル22X及びY軸テーブル22Yを移動させる。そして、加工モードが選択されている場合は、ワーク28に対する加工が行われ、検査モードが選択されている場合は、被検査対象物に対する検査が行われる。   In the next step 130, the numerical data is transferred from the numerical data generator 14 to the AC servo motor controller 16. Accordingly, the AC servo motor control device 16 drives the AC servo motors 20X and 20Y to move the X-axis table 22X and the Y-axis table 22Y. When the machining mode is selected, the workpiece 28 is machined. When the inspection mode is selected, the inspection object is inspected.

次に、ステップ112における描画データテーブルの生成について詳述する。
描画データテーブルは、多次元配列テーブルとして生成される。多次元配列テーブルは、定義されるパラメータの種類が要素の種類毎に異なり、該パラメータで定義される複数の要素の集合である。
すなわち、直線や円等の要素は、要素の種類が異なると必要なパラメータも異なるため、要素の種類毎に個別のパラメータが格納できる配列が定義され、この配列の集合が多次元配列パラメータとして扱われる。
Next, the generation of the drawing data table in step 112 will be described in detail.
The drawing data table is generated as a multidimensional array table. The multi-dimensional array table is a set of a plurality of elements defined by the parameters, with different types of parameters defined for each element type.
In other words, elements such as lines and circles require different parameters for different element types, so an array that can store individual parameters for each element type is defined, and this set of arrays is treated as a multidimensional array parameter. Is called.

図11は、要素の種類毎に定義されるパラメータの一例である。
図11(A)は、要素が直線の場合におけるパラメータであり、図11(B)は、要素が円の場合におけるパラメータであり、図11(C)は、要素が円弧の場合におけるパラメータである。
直線のパラメータは16種類であり、具体的には、加工番号、レイヤー名、図形表示、番号表示、レーザー加工、色、軸速度、加速時間、減速時間、ドウェルタイム、始点X、始点Y、始点Z、終点X、終点Y、終点Zが含まれる。
円のパラメータは19種類であり、直線のパラメータに対して、中心点X、中心点Y、中心点Zがさらに含まれる。
円弧のパラメータは21種類であり、円のパラメータに対して、半径、開始角、終了角がさらに含まれる。
同様に、他の線情報を示す要素の種類(連続軌跡、頂点、及び点等)に対しても、各々定義されるパラメータの種類が異なる。
FIG. 11 is an example of parameters defined for each type of element.
FIG. 11A shows parameters when the element is a straight line, FIG. 11B shows parameters when the element is a circle, and FIG. 11C shows parameters when the element is a circular arc. .
There are 16 types of straight line parameters. Specifically, machining number, layer name, graphic display, number display, laser processing, color, axis speed, acceleration time, deceleration time, dwell time, start point X, start point Y, start point Z, end point X, end point Y, end point Z are included.
There are 19 types of circle parameters, and a center point X, a center point Y, and a center point Z are further included with respect to the straight line parameters.
There are 21 types of arc parameters, and the radius, start angle, and end angle are further included with respect to the circle parameters.
Similarly, the types of parameters defined for the types of elements indicating other line information (such as continuous trajectories, vertices, and points) are also different.

一方、要素が文字情報の場合、位置情報(X,Y,Z)、文字の高さ、文字列等が抽出され、連続軌跡として扱われ、これらに応じたパラメータが定義される。   On the other hand, when the element is character information, position information (X, Y, Z), character height, character string, and the like are extracted, treated as a continuous trajectory, and parameters corresponding to these are defined.

図12は、描画データテーブルである多次元配列テーブルの定義を示した模式図である。多次元配列テーブルは、図12に示されるように、パラメータに数値が入力された各要素を行データとし、複数の行データを集合させたものである。例えば、図12の“パラメータ1”が直線を示す要素であり、“パラメータ2”が円を示す要素であり、“パラメータ3”が円弧を示す要素であり、“パラメータ4”が文字を示す要素である。
すなわち、描画データテーブルは、図13に示されるように、DXFデータのENTITYセクションに含まれる要素を抽出し、抽出した要素に基づいて要素の種類に応じた各パラメータに応じた値が入力されることで行データが生成され、複数の行データが配列されたデータテーブルである。
FIG. 12 is a schematic diagram showing the definition of a multidimensional array table that is a drawing data table. As shown in FIG. 12, the multidimensional array table is a set of a plurality of row data in which each element whose numerical value is input as a parameter is row data. For example, “Parameter 1” in FIG. 12 is an element indicating a straight line, “Parameter 2” is an element indicating a circle, “Parameter 3” is an element indicating an arc, and “Parameter 4” is an element indicating a character. It is.
That is, as shown in FIG. 13, the drawing data table extracts the elements included in the ENTITY section of the DXF data, and inputs values corresponding to the parameters corresponding to the types of the elements based on the extracted elements. This is a data table in which row data is generated and a plurality of row data are arranged.

図14は、多次元配列テーブルとされない描画データテーブルと、多次元配列テーブルとされた描画データテーブルとを比較した模式図である。図14(A)は、多次元配列テーブルとされない描画データテーブルであり、図14(B)は、多次元配列テーブルとされた描画データテーブルである。図14の横方向がパラメータの数を示し、縦方向が各要素を示す。   FIG. 14 is a schematic diagram comparing a drawing data table that is not a multidimensional array table and a drawing data table that is a multidimensional array table. FIG. 14A is a drawing data table that is not a multi-dimensional array table, and FIG. 14B is a drawing data table that is a multi-dimensional array table. The horizontal direction in FIG. 14 indicates the number of parameters, and the vertical direction indicates each element.

多次元配列テーブルとされない描画データテーブルは、要素毎のパラメータの種類が同じである。このため、図14(A)に示されるように、描画データテーブルの列数が固定となり、不要なパラメータには例えば“0”等の不要であることを示す数値又は文字を保持する必要がある。このように、多次元配列テーブルとされない描画データテーブルは、不要なパラメータを保持する必要が生じるので、データ処理が遅くなる。   Drawing data tables that are not multidimensional array tables have the same parameter types for each element. For this reason, as shown in FIG. 14A, the number of columns in the drawing data table is fixed, and unnecessary parameters such as “0” need to hold numerical values or characters indicating that they are unnecessary. . As described above, a drawing data table that is not a multi-dimensional array table needs to hold unnecessary parameters, which slows data processing.

一方、多次元配列テーブルとされた描画データテーブルは、要素毎のパラメータの種類が異なるため、図14(B)に示されるように、要素の種類に応じて列数が変動する。そして、多次元配列テーブルとされた描画データテーブルは、不要なパラメータを保持する必要が生じない。従って、描画データテーブルを用いたデータ処理が速くなる。また、ユーザーがパラメータを変更する際の入力ミスが軽減される。   On the other hand, since the drawing data table that is a multidimensional array table has different types of parameters for each element, the number of columns varies depending on the type of element as shown in FIG. The drawing data table that is a multidimensional array table does not need to hold unnecessary parameters. Therefore, data processing using the drawing data table is accelerated. In addition, input errors when the user changes the parameters are reduced.

さらに、多次元配列テーブルでは、図15に示されるように、要素の種類毎にソートすることが可能となる。
複数種類の要素が混在した多次元配列テーブル(図15(A))を、例えば、直線の要素毎にソートしたものが図15(B)であり、円の要素毎にソートしたものが図15(C)であり、円弧の要素毎にソートしたものが図15(D)である。
これにより、例えば、要素の種類毎にパラメータの変更を行うことが容易となったり、また、描画プログラムによって必要な要素の種類のみを抽出してディスプレイ66に表示されることが容易となる。
Furthermore, in the multidimensional array table, as shown in FIG. 15, it is possible to sort by element type.
For example, FIG. 15B shows a multi-dimensional array table (FIG. 15A) in which a plurality of types of elements are mixed, sorted for each linear element, and FIG. 15B shows a sort for each circular element. FIG. 15D is a diagram in which (C) is sorted for each arc element.
Thereby, for example, it becomes easy to change the parameter for each element type, or it becomes easy to extract only the necessary element type by the drawing program and display it on the display 66.

図16は、描画データテーブル生成処理の流れを示すフローチャートである。   FIG. 16 is a flowchart showing the flow of the drawing data table generation process.

まず、ステップ200では、描画データテーブルの行データを定義する。
すなわち、要素を示すデータを数値データ生成装置14が備える記憶手段(例えばRAM)に保持させるために、図11に示すような配列構造の宣言が行われる。なお、ステップ200では、取得する要素の数が不明なため、記憶手段に対するメモリ領域の確保は行われない。
First, in step 200, line data of a drawing data table is defined.
That is, in order to hold the data indicating the elements in the storage means (for example, RAM) included in the numerical data generation device 14, the array structure as shown in FIG. 11 is declared. In step 200, since the number of elements to be acquired is unknown, no memory area is secured for the storage means.

次のステップ202では、描画データテーブル全体を定義する。
すなわち、図12に示すような配列構造の宣言が行われる。なお、ステップ202でも、取得する要素の数が不明なため、記憶手段に対するメモリ領域の確保は行われない。
In the next step 202, the entire drawing data table is defined.
That is, the declaration of the array structure as shown in FIG. 12 is performed. Even in step 202, since the number of elements to be acquired is unknown, no memory area is secured for the storage means.

次のステップ204では、DXFデータを解析して得られた画層リストに基づいて、行データに対するメモリ領域の確保を行う。すなわち、画層リストにおける要素の種類と数から必要なメモリ領域が判定される。なお、ステップ204では、行データに格納されるデータは全て初期値(“0”、空の文字列、又は“false”)とされる。   In the next step 204, a memory area is secured for the row data based on the layer list obtained by analyzing the DXF data. That is, a necessary memory area is determined from the type and number of elements in the layer list. In step 204, all data stored in the row data is set to an initial value (“0”, an empty character string, or “false”).

次のステップ206では、画層リストから要素を一つずつ取得し、取得した要素の種類に応じたパラメータに値を入力(コピー)することで行データを設定する。   In the next step 206, elements are acquired one by one from the layer list, and row data is set by inputting (copying) values into parameters corresponding to the acquired element types.

次のステップ208では、ステップ206において要素の値が設定された行データを描画データテーブルに追加する。   In the next step 208, the line data in which the element value is set in step 206 is added to the drawing data table.

次のステップ210では、全ての画層リストの末端を検出したか否かを判定し、肯定判
定の場合は描画データテーブル生成処理を終了し、否定判定の場合はステップ204へ戻り、全ての画層リストの末端を検出するまで行データの生成及び追加を繰り返す。
In the next step 210, it is determined whether or not the end of all the layer lists has been detected. If the determination is affirmative, the drawing data table generation process is terminated. If the determination is negative, the process returns to step 204 to return all images. The generation and addition of row data is repeated until the end of the layer list is detected.

以上説明したように、本実施形態に係る数値データ生成プログラムは、一つ以上の要素によって構成される図形を示したDXFデータから該要素を抽出し、該要素毎に位置を示す位置情報及び速度情報を関連付ける。これにより、DXFデータに基づいた位置情報によって、加工装置10が備えるX軸テーブル22X及びY軸テーブル22Yの位置が特定され、速度情報によって、X軸テーブル22X及びY軸テーブル22Yの移動速度が特定される。
従って、数値データ生成プログラムによれば、設計支援ソフトで作成された図形データを各種装置に利用可能とできる。
As described above, the numerical data generation program according to the present embodiment extracts the element from the DXF data indicating the graphic composed of one or more elements, and the position information and speed indicating the position for each element. Associate information. Thereby, the position of the X-axis table 22X and the Y-axis table 22Y included in the processing apparatus 10 is specified by the position information based on the DXF data, and the moving speed of the X-axis table 22X and the Y-axis table 22Y is specified by the speed information. Is done.
Therefore, according to the numerical data generation program, the graphic data created by the design support software can be used for various devices.

以上、本発明を、上記実施形態を用いて説明したが、本発明の技術的範囲は上記実施形態に記載の範囲には限定されない。発明の要旨を逸脱しない範囲で上記実施形態に多様な変更又は改良を加えることができ、該変更又は改良を加えた形態も本発明の技術的範囲に含まれる。また、上記実施形態を適宜組み合わせてもよい。   As mentioned above, although this invention was demonstrated using the said embodiment, the technical scope of this invention is not limited to the range as described in the said embodiment. Various changes or improvements can be added to the above-described embodiment without departing from the gist of the invention, and embodiments to which the changes or improvements are added are also included in the technical scope of the present invention. Moreover, you may combine the said embodiment suitably.

例えば、上記実施形態では、加工具26に対してワーク28が載置されたX軸テーブル22X及びY軸テーブル22Yを移動させる形態について説明したが、本発明は、これに限定されるものではなく、ワーク28と加工具26とが相対的に移動すればよく、例えば、ワーク28が固定され、加工具26がX軸、Y軸、及びZ軸方向に移動する形態としてもよい。   For example, in the above-described embodiment, the form in which the X-axis table 22X and the Y-axis table 22Y on which the workpiece 28 is placed is moved with respect to the processing tool 26 has been described, but the present invention is not limited to this. The workpiece 28 and the processing tool 26 may be moved relatively. For example, the workpiece 28 may be fixed and the processing tool 26 may be moved in the X-axis, Y-axis, and Z-axis directions.

また、上記実施形態では、加工具26をレーザー加工装置とする形態について説明したが、本発明は、これに限定されるものではなく、例えば、アーク溶接やスポット溶接等を可能とする溶接装置や、接着剤等を塗布する塗布装置等としてもよい。   Moreover, although the said embodiment demonstrated the form which uses the processing tool 26 as a laser processing apparatus, this invention is not limited to this, For example, the welding apparatus which enables arc welding, spot welding, etc. Alternatively, a coating device for applying an adhesive or the like may be used.

また、上記実施形態では、検査具を距離測定装置とする形態について説明したが、本発明は、これに限定されるものではなく、例えば、カメラや他のセンサ等としてもよい。   Moreover, although the said embodiment demonstrated the form which uses a test tool as a distance measuring device, this invention is not limited to this, For example, it is good also as a camera, another sensor, etc.

さらに、ACサーボモータ制御装置16がディスプレイを有し、ワーク28に対する加工又は検査の推移をディスプレイに表示させてもよい。   Furthermore, the AC servo motor control device 16 may have a display, and the progress of processing or inspection for the workpiece 28 may be displayed on the display.

また、上記実施形態で説明した各種処理の流れも一例であり、本発明の主旨を逸脱しない範囲内において不要なステップを削除したり、新たなステップを追加したり、処理順序を入れ替えたりしてもよい。   The flow of various processes described in the above embodiment is also an example, and unnecessary steps may be deleted, new steps may be added, or the processing order may be changed within a range not departing from the gist of the present invention. Also good.

10 加工装置
26 加工具
28 ワーク(被加工物)
54 位置情報生成部(データテーブル生成手段)
58 速度付加処理部(速度付加手段)
66 ディスプレイ(画像表示装置)
10 Processing Device 26 Processing Tool 28 Workpiece (Workpiece)
54 Position information generation unit (data table generation means)
58 Speed addition processing part (speed addition means)
66 Display (image display device)

Claims (6)

コンピュータを、
一つ以上の要素によって構成される図形を示した図形データから該要素を抽出し、該要素毎に位置を示す位置情報を付加したデータテーブルを生成するデータテーブル生成手段と、
前記データテーブルに含まれる前記要素毎に速度情報を関連付ける速度付加手段と、
して機能させるためのデータ生成プログラム。
Computer
Data table generating means for extracting the element from graphic data indicating a graphic constituted by one or more elements, and generating a data table to which position information indicating a position is added for each element;
Speed adding means for associating speed information for each element included in the data table;
Data generation program to make it function.
前記速度情報は、前記要素毎に加速度、一定速度、及び減速度が変更可能である請求項1記載のデータ生成プログラム。   The data generation program according to claim 1, wherein the speed information can change an acceleration, a constant speed, and a deceleration for each element. 前記データテーブルは、定義されるパラメータの種類が前記要素の種類毎に異なり、該パラメータで定義される複数の前記要素の集合である請求項1又は請求項2記載のデータ生成プログラム。   3. The data generation program according to claim 1, wherein the data table is a set of a plurality of elements defined by the parameters, with different types of parameters being defined for each element type. 4. 前記データテーブルに基づいて前記図形を描画して画像表示装置に表示させる描画手段と、
前記画像表示装置に表示された前記図形を構成する前記要素のうち、ユーザーによって選択された前記要素を前記データテーブルから削除する要素削除手段と、
を備える請求項1から請求項3の何れか1項記載のデータ生成プログラム。
Drawing means for drawing the graphic based on the data table and displaying the graphic on an image display device;
Among the elements constituting the graphic displayed on the image display device, element deletion means for deleting the element selected by the user from the data table;
The data generation program according to any one of claims 1 to 3, further comprising:
請求項1から請求項4の何れか1項に記載のデータ生成プログラムによって生成された前記データテーブルを用いて被加工物を加工する加工装置。   The processing apparatus which processes a workpiece using the said data table produced | generated by the data generation program of any one of Claims 1-4. 請求項1から請求項4の何れか1項に記載のデータ生成プログラムによって生成された前記データテーブルを用いて検査対象物を検査する検査装置。   An inspection apparatus that inspects an inspection object using the data table generated by the data generation program according to any one of claims 1 to 4.
JP2016030003A 2016-02-19 2016-02-19 Data generation program, processing device, and inspection device Pending JP2017146910A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016030003A JP2017146910A (en) 2016-02-19 2016-02-19 Data generation program, processing device, and inspection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016030003A JP2017146910A (en) 2016-02-19 2016-02-19 Data generation program, processing device, and inspection device

Publications (1)

Publication Number Publication Date
JP2017146910A true JP2017146910A (en) 2017-08-24

Family

ID=59683235

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016030003A Pending JP2017146910A (en) 2016-02-19 2016-02-19 Data generation program, processing device, and inspection device

Country Status (1)

Country Link
JP (1) JP2017146910A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111279278A (en) * 2017-09-01 2020-06-12 欧姆龙株式会社 Manufacturing support system and method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111279278A (en) * 2017-09-01 2020-06-12 欧姆龙株式会社 Manufacturing support system and method
JP2020537773A (en) * 2017-09-01 2020-12-24 オムロン株式会社 Manufacturing support system and method
JP7111152B2 (en) 2017-09-01 2022-08-02 オムロン株式会社 Manufacturing support system and method
US11454956B2 (en) 2017-09-01 2022-09-27 Omron Corporation Manufacturing support system and method
CN111279278B (en) * 2017-09-01 2023-07-28 欧姆龙株式会社 Manufacturing support system and computer-implemented method for supporting manufacturing

Similar Documents

Publication Publication Date Title
CN110494813B (en) Planning and adjustment project based on constructability analysis
JP5819061B2 (en) How to create NC programs for machine tools
JP2018094638A (en) Deburring device
JP5458115B2 (en) Machining path generation method and apparatus
JP5957070B2 (en) Workpiece machining surface display method, workpiece machining surface display device, tool path generation device, and workpiece machining surface display program
JPWO2015097828A1 (en) Machine tool controller
JP2003150220A (en) Simulation device
JPWO2015097886A1 (en) Machining information management device and tool path generation device
JP2010036309A (en) Device and method for optimizing processing parameter, and program
JP2017146910A (en) Data generation program, processing device, and inspection device
TWI684841B (en) Program code generating method and device of multi-axis machine tool for machining inclined plane the same
JP7004868B1 (en) Numerical control device and numerical control method
JP2675200B2 (en) robot
JP6219030B2 (en) Processing data generation device and machine tool
JP2017091429A (en) NC program creation device
Basheer et al. CNC Software Control System Using Visual Basic
JP2010179388A (en) Robot teaching system
Bayesteh et al. Improvement of computer-aided manufacturing (CAM) software for laser machining
JP2007048083A (en) Machining simulation device and machining simulation method
WO2022176241A1 (en) Machine tool, machine tool control method, and machine tool control program
JP2020012776A (en) Part program automatic generation device of roundness measuring equipment, roundness measuring device, and part program automatic generation method of roundness measuring equipment
JP2020038529A (en) Program editor, processor, processing method, and computer program
Ngom et al. Basic design of a computer vision based controller for desktop NC engraving machine
JP2022111397A (en) NC data creation support device, NC data creation support method, and NC data creation support program
JP6894590B2 (en) Reference point identification device, machining program generation system, reference point identification method