JP7211764B2 - Part program generator and program - Google Patents
Part program generator and program Download PDFInfo
- Publication number
- JP7211764B2 JP7211764B2 JP2018203931A JP2018203931A JP7211764B2 JP 7211764 B2 JP7211764 B2 JP 7211764B2 JP 2018203931 A JP2018203931 A JP 2018203931A JP 2018203931 A JP2018203931 A JP 2018203931A JP 7211764 B2 JP7211764 B2 JP 7211764B2
- Authority
- JP
- Japan
- Prior art keywords
- measurement
- identification information
- program
- part program
- unit
- 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.)
- Active
Links
Images
Landscapes
- A Measuring Device Byusing Mechanical Method (AREA)
Description
本発明は、測定機による測定箇所の誤認の防止に資するパートプログラムを生成するパートプログラム生成装置及びプログラムに関する。 The present invention relates to a part program generation device and a program that generate a part program that helps prevent misrecognition of a measurement point by a measuring machine.
測定機には、被測定物の複数箇所の測定に際し、前もってプログラミングした順番で測定を行う機能を持つものがある。この機能をパートプログラム機能と呼び、それぞれの測定箇所における測定内容及び測定順番を記録した情報をパートプログラムと呼ぶ。 Some measuring instruments have a function of performing measurements in a pre-programmed order when measuring a plurality of locations on an object to be measured. This function is called a part program function, and the information recording the measurement contents and measurement order at each measurement point is called a part program.
パートプログラムは、例えば、基準測定物を対象に実際に測定を行い、その手順をプログラムとして記録することにより生成することができる。また、測定機がパートプログラム編集機能を備える場合には、それを用いて手順を記録することによって、実測定を行うことなく生成することができる。 A part program can be generated by, for example, actually measuring a reference measurement object and recording the procedure as a program. In addition, if the measuring machine has a part program editing function, it can be used to record the procedure, thereby generating the part program without actual measurement.
マニュアル測定機(例えば、非特許文献1に記載の高さ測定機)においてパートプログラムを実行させる場合、それぞれの測定箇所で何の測定を実行するかはプログラムに記録された順序で自動的に遷移するが、検出部であるプローブの各測定箇所への移動は人手によって行われる。具体的には、プローブを移動させるべき位置をパートプログラムが測定機の表示部に表示し、その位置近くにプローブが位置するようにオペレータがプローブを移動させた上で各測定箇所での測定を実行する。 When executing a part program on a manual measuring machine (for example, the height measuring machine described in Non-Patent Document 1), what measurements are to be performed at each measurement point is automatically changed in the order recorded in the program. However, the movement of the probe, which is the detection unit, to each measurement point is performed manually. Specifically, the part program displays the position to which the probe should be moved on the display of the measuring machine, and the operator moves the probe so that the probe is positioned near that position, and then performs measurement at each measurement point. Run.
パートプログラムが指示するプローブを移動させるべき測定箇所が、例えば高さにより特定される場合、測定箇所の指示が高さの情報のみであると、被測定物Wに同程度の高さの段が複数あった場合にプローブの移動箇所を誤るおそれがある。例えば、図9に示すような同程度の高さのA、Bの2つの段がある場合、本来はAの近傍にプローブを移動させるべきところ、誤ってBの近傍に移動させて測定を実行してしまうと、Aの測定結果としてBの測定結果が記録されてしまう。 When the measurement point to which the probe is to be moved, which is indicated by the part program, is specified by height, for example, if the measurement point is indicated only by height information, there will be a step of approximately the same height on the object W to be measured. If there are more than one, there is a possibility that the position to which the probe should be moved may be mistaken. For example, if there are two steps A and B with similar heights as shown in FIG. Otherwise, the measurement result of B will be recorded as the measurement result of A.
本発明の目的は、測定機の検出部を移動させながら被測定物の複数の測定箇所において測定を行う際に、同じような外観の測定箇所が存在する場合にも、測定すべき箇所に誤りなく検出部を移動させることを可能とするパートプログラム生成装置及びプログラムを提供することにある。 It is an object of the present invention to detect an error in the location to be measured even if there are measurement locations with similar appearances when performing measurements at a plurality of measurement locations on an object to be measured while moving the detection unit of a measuring instrument. It is an object of the present invention to provide a part program generation device and a program that enable movement of a detection unit without movement.
本発明のパートプログラム生成装置は、測定機の検出部を被測定物の複数の測定箇所に人手により順次移動させながら行う測定に際し測定機において実行されるパートプログラムを生成するプログラム生成手段を備えるパートプログラム生成装置であって、それぞれの測定箇所について、測定箇所と他の測定箇所とを識別するための識別情報を取得する識別情報取得手段を更に備え、プログラム生成手段は、それぞれの測定箇所の測定に際し、所定の表示器に測定箇所の位置情報を表示させ、かつ、所定の提示器に測定箇所の識別情報を提示させた後に、測定実行の指示入力を受け付けるようにパートプログラムを構成することを特徴とする。 A part program generating apparatus of the present invention includes a program generating means for generating a part program to be executed by the measuring machine when performing measurement while sequentially moving a detection unit of the measuring machine to a plurality of measurement points on an object to be measured. The program generation device further comprises identification information acquisition means for acquiring identification information for identifying each measurement point from another measurement point, wherein the program generation means performs measurement at each measurement point. In this case, the part program is configured to receive an instruction input for measurement execution after displaying the position information of the measurement point on a predetermined display device and presenting the identification information of the measurement point on a predetermined presentation device. Characterized by
プログラム生成手段は、パートプログラムを例えば、基準測定物の複数の測定箇所のそれぞれについて所望の順番で実際に実行された、測定機による所望の内容の測定及び識別情報取得手段による識別情報の取得について、実行された手順を記録することにより生成してもよい。 The program generation means generates a part program for, for example, measurement of desired contents by the measuring machine and acquisition of identification information by the identification information acquisition means, which are actually executed in a desired order for each of a plurality of measurement points of the reference measurement object. , may be generated by recording the steps performed.
また例えば、所定の生成方法により予め生成された、それぞれの測定箇所の位置情報、測定の順番及び測定の内容が記録されたベースプログラムを、識別情報取得手段により取得された識別情報を用いて編集することにより生成してもよい。 Further, for example, a base program in which the position information of each measurement point, the order of measurement, and the contents of measurement, which are generated in advance by a predetermined generation method, are recorded is edited using the identification information obtained by the identification information obtaining means. may be generated by
識別情報は、例えば測定箇所を含む画像とし、所定の提示器を所定の表示器としてもよい。この場合、画像を撮像する撮像部を備え、識別情報取得手段が撮像部で撮像された画像を取得するようにしてもよい。 The identification information may be, for example, an image including the measurement point, and a predetermined presentation device may be a predetermined display device. In this case, an imaging unit for capturing an image may be provided, and the identification information acquisition means may acquire the image captured by the imaging unit.
また、識別情報を測定箇所の特徴を説明する音声とし、所定の提示器を所定の放音器としてもよい。この場合、音声を収音する収音部を備え、識別情報取得手段が収音部で収音された音声を取得するようにしてもよい。 Also, the identification information may be a voice that describes the characteristics of the measurement location, and the predetermined presentation device may be a predetermined sound emitter. In this case, a sound pickup section for picking up sound may be provided, and the identification information acquiring means may acquire the sound picked up by the sound pickup section.
測定機は、例えば複数の測定箇所それぞれの高さを測定する測定機が好適である。 The measuring machine is preferably, for example, a measuring machine that measures the height of each of a plurality of measurement points.
本発明のパートプログラム生成装置の各手段の機能は、プログラムに記述してコンピュータに実行させることにより実現してもよい。 The function of each means of the part program generation device of the present invention may be realized by describing it in a program and causing a computer to execute it.
本発明のパートプログラム生成装置及びプログラムによれば、被測定物の複数の測定箇所において測定を行う際に、同じような外観の測定箇所が存在する場合にも、測定すべき箇所に誤りなく検出部を移動させることが可能となる。 According to the part program generation device and program of the present invention, when performing measurement at a plurality of measurement points on an object to be measured, even if there are measurement points with similar appearances, the point to be measured is detected without error. parts can be moved.
以下、本発明の実施形態を、図面を参照しつつ説明する。なお、以下の説明及び図面では、同一の機能部には同一の符号を付し、一度説明した機能部については説明を省略又は必要に応じた程度の説明にとどめることとする。 BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the following description and drawings, the same functional units are denoted by the same reference numerals, and the functional units that have already been described are omitted or only described as necessary.
〔装置の構成〕
本発明のパートプログラム生成装置は、測定機の検出部を被測定物の複数の測定箇所に人手により順次移動させながら行う測定に際し、測定機において実行されるパートプログラムを生成する装置である。
[Device configuration]
A part program generation device of the present invention is a device that generates a part program to be executed in a measuring machine when performing measurements while sequentially moving a detection unit of the measuring machine to a plurality of measurement points on an object to be measured.
ここで、測定機の種別は、検出部を移動させながら被測定物の複数の測定箇所において測定を行う測定機であれば任意である。以下では、測定機が高さ測定機である場合を例にとって説明する。 Here, the type of the measuring device is arbitrary as long as it is a measuring device that performs measurements at a plurality of measurement points on the object to be measured while moving the detection unit. In the following, a case where the measuring device is a height measuring device will be described as an example.
図1は、本発明のパートプログラム生成装置100と、生成したパートプログラムを実行させる測定機1の構成例を示す図である。なお、この構成例は、測定機1とパートプログラム生成装置100とでデータ処理部20を共用する場合の例であるが、共用せず個別に設け、相互に連携して処理するように構成しても構わない。
FIG. 1 is a diagram showing a configuration example of a part
測定機1は、支持部11、リニヤスケール12、検出ヘッド13及びプローブ14を備える位置検出部10と、データ処理部20と、を備える
The
支持部11は、高さ方向が測長方向とされたリニヤスケール12が設けられるとともに、リニヤスケール12の測長方向に沿って移動可能な形態で検出ヘッド13を支持する。
The
検出ヘッド13は、オペレータが移動させることにより通過したリニヤスケール12の格子目盛の数量を示す信号を出力する。
The
プローブ14は、検出ヘッド13に固設される探針であり、オペレータが被測定物Wの測定箇所に接触するように手動で移動させる。
The
データ処理部20は、コンピュータであり、計数部21、記憶部22、演算部23、指示入力部24、識別情報入力部25及び表示部26を備える。
The
計数部21は、測定機1の検出ヘッド13から出力された信号に基づき、検出ヘッド13の現在位置を特定する。
The
記憶部22は、検出ヘッド13の現在位置情報、生成途上又は生成済のパートプログラム、収集した識別情報などが記憶される任意の記憶手段である。
The
演算部23は、パートプログラムなどを実行するCPUである。
The
指示入力部24は、パートプログラムの生成に必要な情報をオペレータが入力するキーボード、マウスや、表示部26と一体化されたタッチパネルディスプレイなどの入力手段である。
The
識別情報入力部25は、識別情報収集部30などから入力される画像や音声などの入力インタフェースである。
The identification
表示部26は、測定に関連する情報を表示する液晶ディスプレイなどの表示手段である。
The
なお、データ処理部20は必ずしも一体構成する必要はなく、記憶部22、指示入力部24、及び表示部26のうち少なくともいずれかを、任意の方式の有線通信又は無線通信により接続された本体外部に設けてもよい。
Note that the
パートプログラム生成装置100は、データ処理部20と識別情報収集部30を備える。
The part
データ処理部20は、測定機1のものと共通である。なお、前記のとおり、測定機1とパートプログラム生成装置100とに別々に設けても構わない。
A
識別情報収集部30は、例えば、動画や静止画の撮像器やマイクロホンなどの収音器である。
The identification
なお、識別情報収集部30の代わりに、識別情報が予め記憶された任意の記憶手段である識別情報記憶機器40を備えても構わない。
Instead of the identification
識別情報収集部30と識別情報記憶機器40は、いずれを備える場合においても、必ずしもデータ処理部20と一体構成する必要はなく、任意の方式の有線通信又は無線通信により接続された本体外部に設けてもよい。
The identification
〔パートプログラム生成の実現手段の構成〕
本発明のパートプログラム生成装置100は、測定機1の検出ヘッド13を被測定物Wの複数の測定箇所に人手により順次移動させながら行う測定に際し測定機1において実行されるパートプログラムを生成するプログラム生成手段と、それぞれの測定箇所について、測定箇所と他の測定箇所とを識別するための識別情報を取得する識別情報取得手段と、を備え、プログラム生成手段は、それぞれの測定箇所の測定に際し、表示部26に測定箇所の位置情報を表示させ、かつ、所定の提示器に測定箇所の識別情報を提示させた後に、測定実行の指示入力を受け付けるようにパートプログラムを構成する。
[Configuration of means for realizing part program generation]
The part
プログラム生成手段及び識別情報取得手段の機能は、例えば、当該機能が記述されたプログラム生成プログラム及び識別情報取得プログラムを予め記憶部22に記憶させておき、これらを読み出して演算部23において実行することにより実現することができる。
The functions of the program generation means and the identification information acquisition means are, for example, that a program generation program and an identification information acquisition program in which the functions are described are stored in advance in the
識別情報は、測定箇所と他の測定箇所とを識別するための任意の情報であり、例えば測定箇所を含む画像とする。この場合、識別情報収集部30は、動画や静止画を撮像するカメラやビデオレコーダなどの任意の撮像器である撮像部として構成し、識別情報取得手段が撮像された画像を取得するように構成する。また、所定の提示器には、例えば表示部26を採用する。
The identification information is arbitrary information for identifying the measurement point from other measurement points, and is, for example, an image including the measurement point. In this case, the identification
識別情報は、測定箇所の特徴を説明する音声としてもよい。この場合、識別情報収集部30は、音声を収音するマイクロホンなどの任意の収音器である収音部として構成し、識別情報取得手段が収音された音声を取得するように構成する。また、所定の提示器には、例えば、データ処理部20に放音部27を設けてこれを採用する。
The identification information may be a voice that describes the features of the measurement location. In this case, the identification
なお、識別情報収集部30の代わりに識別情報記憶機器40を設けた場合には、識別情報取得手段が識別情報記憶機器40から画像又は音声を取得するように構成する。
When the identification
識別情報は、測定箇所を含むCADデータでもよい。この場合、識別情報取得手段が識別情報記憶機器40からCADデータを取得するように構成する。
The identification information may be CAD data including measurement points. In this case, the identification information acquisition means is configured to acquire the CAD data from the identification
〔パートプログラム生成の実施形態〕
本発明のパートプログラム生成装置100を用いて作成するパートプログラムの構造の例を図2に示す。パートプログラムは、実行項目と、実行項目を実行するための補助情報となるパラメータとを一組として、各実行項目を実行する順番で記憶部22に順次記憶させる。以下、この一組のデータをプログラム行と呼ぶ。
[Embodiment of part program generation]
FIG. 2 shows an example of the structure of a part program created using the part
実行項目としては、例えば、画像、下方向測定、上方向測定、終了などが挙げられる。下方向測定は、プローブを下降方向に移動させて行う測定であり、上方向測定はプローブを上昇方向に移動させて行う測定である。 Examples of execution items include image, downward measurement, upward measurement, and end. A downward measurement is a measurement performed by moving the probe downward, and an upward measurement is a measurement performed by moving the probe upward.
実行項目を画像、下方向測定、上方向測定、終了とした場合、画像については対応するパラメータとして表示する画像ファイル名を、下方向測定及び上方向測定については対応するパラメータとして測定開始位置を、それぞれ実行項目とともに記憶部22に記憶させる。また、終了については、パラメータは不要であるため、実行項目のみを記憶部22に記憶させ、対応するパラメータについては何も記憶させない又は無を示す情報を記憶させる。
When the execution items are image, downward measurement, upward measurement, and end, the image file name to be displayed as the corresponding parameter for the image, the measurement start position as the corresponding parameter for downward measurement and upward measurement, Each of them is stored in the
以下、このような構造のパートプログラムを生成するパートプログラム生成装置100の2つの実施形態を説明する。
Two embodiments of the part
<第1実施形態>
第1実施形態は、プログラム生成手段が、基準測定物の複数の測定箇所のそれぞれについて所望の順番で実際に実行された、測定機による所望の内容の測定及び識別情報取得手段による識別情報の取得について、実行された手順を記録することによりパートプログラムを生成する実施形態である。
<First Embodiment>
In the first embodiment, the program generation means actually performs measurement of desired contents by the measuring machine and acquisition of identification information by the identification information acquisition means, in a desired order for each of a plurality of measurement points of the reference measurement object. is an embodiment in which a part program is generated by recording the executed procedure.
本実施形態におけるパートプログラム生成の流れを図3に示す。 FIG. 3 shows the flow of part program generation in this embodiment.
まず、プログラム生成手段の機能が記述されたプログラム生成プログラムが演算部23で実行されると、まず、測定指示待ちステップ(S1)において、オペレータによる測定指示の入力を待つ。ここでオペレータは、指示入力部24から測定開始や生成終了などの実行項目を入力する。測定開始の入力は、オペレータがプローブ14を測定開始位置に移動させた後に、下方向測定又は上方向測定のいずれかの測定種類を入力することにより行う。指示入力部24からの実行項目の入力の具体的な実現方法は任意であり、例えば、指示入力部24を実行項目入力専用のボタンやスイッチとして構成して、これらの操作により実現してもよいし、表示部26に入力インタフェースを表示させ、指示入力部24であるマウスやキーボードなどから当該入力インタフェースに入力するように構成して実現してもよい。
First, when the program generation program describing the function of the program generation means is executed by the
オペレータによりいずれかの実行項目の入力がされた場合、生成終了判断ステップ(S2)に移行する。このとき、測定指示待ち状態で実行項目として生成終了が入力された場合には測定終了記憶ステップ(S11)に移行し、パートプログラムの「実行項目」に「終了」を追記して処理を終了する。 If the operator inputs any of the execution items, the process proceeds to the generation end determination step (S2). At this time, when "end of generation" is input as an execution item in the state of waiting for a measurement instruction, the process proceeds to the measurement end storage step (S11), "end" is added to the "execution item" of the part program, and the process ends. .
一方、測定指示待ち状態で実行項目として測定開始が入力された場合には情報取得有効判断ステップ(S3)に移行する。このとき、予め決定し記憶部22に記憶させておいた、パートプログラム生成時に画像や音声などの識別情報の取得を行う(=有効)か、否(=無効)かの情報に基づき、無効であれば識別情報の取得を行わずに測定条件記憶ステップ(S8)に移行する。また、有効であれば識別情報取得ステップ(S4)に移行する。
On the other hand, when measurement start is input as an execution item in the measurement instruction waiting state, the process proceeds to the information acquisition validity determination step (S3). At this time, based on the information, which is determined in advance and stored in the
識別情報取得ステップ(S4)では、識別情報取得手段の機能が記述された識別情報取得プログラムが、演算部23で自動的に又は指示入力部24からのオペレータの指示入力を契機に実行され、識別情報収集部30又は識別情報記憶機器40から識別情報を取得して記憶部22に記憶させる。
In the identification information acquisition step (S4), an identification information acquisition program in which the function of the identification information acquisition means is described is automatically executed by the
具体的には、識別情報を識別情報収集部30から取得する場合、オペレータの操作により識別情報収集部30において識別情報が収集されるまで待機し、収集されたことを契機に、当該識別情報を識別情報入力部25を介して演算部23に取り込み、記憶部22に記憶させる。識別情報の収集に際しオペレータは、画像を撮像する場合には測定箇所がわかるように撮像し、音声を収音する場合は測定箇所の特徴を説明する音声を収音する。
Specifically, when the identification information is acquired from the identification
また、識別情報を識別情報記憶機器40から取得する場合、予め識別情報記憶機器40に記憶された、測定箇所がわかるように撮像された画像ファイル、又は測定箇所の特徴を説明する音声が収音された音声ファイルを、識別情報入力部25を介して演算部23に取り込み、記憶部22に記憶させる。
When the identification information is acquired from the identification
識別情報取得ステップ(S4)における識別情報の取得完了後、識別情報提示ステップ(S5)に移行する。識別情報提示ステップ(S5)では、記憶部22に記憶された識別情報を演算部23が読み出して、識別情報が画像であれば表示部26に当該画像を表示させ、音声であれば放音部27から当該音声を放音させる。
After completing the acquisition of the identification information in the identification information acquisition step (S4), the process proceeds to the identification information presentation step (S5). In the identification information presentation step (S5), the
識別情報提示ステップ(S5)における識別情報の提示後、再取得ステップ(S6)に移行する。再取得ステップ(S6)では、識別情報を取得し直すか否かの指示入力をオペレータが指示入力部24から行う。指示入力部24からの指示入力の具体的な実現方法は任意であり、例えば、指示入力部24を指示入力専用のボタンやスイッチとして構成して、これらの操作により実現してもよいし、表示部26に入力インタフェースを表示させ、指示入力部24であるマウスやキーボードなどから当該入力インタフェースに入力するように構成して実現してもよい。
After presentation of the identification information in the identification information presentation step (S5), the process proceeds to the reacquisition step (S6). In the reacquisition step (S6), the operator inputs an instruction from the
再取得ステップ(S6)において、取得し直す指示入力がされた場合には、識別情報取得ステップ(S4)に戻り、取得し直さない指示入力がされた場合には、識別情報記憶ステップ(S7)に移行する。 In the reacquisition step (S6), if an instruction to reacquire is input, the process returns to the identification information acquisition step (S4), and if an instruction not to reacquire is input, the identification information storage step (S7). transition to
識別情報記憶ステップ(S7)では、演算部23が識別情報提示ステップ(S5)において提示された識別情報を記憶部22から読み出す。そして、必要に応じて所定のファイル形式に変換し、ファイル名が付されていない場合には固有のファイル名を付して記憶部22に書き戻す。また、演算部23は、識別情報についての実行項目と対応するパラメータを一組とするプログラム行をパートプログラムに記録する。
In the identification information storage step (S7), the
具体的には、識別情報が画像であれば、実行項目が画像、対応するパラメータが当該画像のファイル名であるプログラム行を記録し、識別情報が音声であれば、実行項目が音声、対応するパラメータが当該音声のファイル名であるプログラム行を記録する。なお、パートプログラムへのプログラム行への記録に際し、記憶部22に生成途中のパートプログラムが存在しない場合には、当該プログラム行を内容とするパートプログラムを新たに生成して記憶部22に記憶させ、既に存在する場合には記憶部22から読み出して当該プログラム行を追記した上で記憶部22に書き戻す。
Specifically, if the identification information is an image, a program line whose execution item is an image and the corresponding parameter is the file name of the image is recorded. Record a program line whose parameter is the file name of the sound in question. When recording the program line in the part program, if the part program in the middle of generation does not exist in the
識別情報記憶ステップ(S7)における識別情報の記憶及びパートプログラムへの
識別情報についてのプログラム行の記録の後、測定条件記憶ステップ(S8)に移行する。測定条件記憶ステップ(S8)では、記憶部22からパートプログラムを読み出して、測定指示待ちステップ(S1)で入力された実行項目(下方向測定又は上方向測定)と実行項目に対応するパラメータ(測定開始位置=実行項目入力時にオペレータにより移動されたプローブ14の現在位置)を一組のプログラム行としてパートプログラムに追記し、記憶部22に書き戻す。
After the identification information is stored in the identification information storage step (S7) and the program line for the identification information is recorded in the part program, the process proceeds to the measurement condition storage step (S8). In the measurement condition storage step (S8), the part program is read out from the
測定条件記憶ステップ(S8)でのパートプログラムへのプログラム行の記録の後、測定ステップ(S9)に移行する。測定ステップ(S9)では、オペレータによる指示入力部24からの測定実行指示の入力により測定を実行する。具体的には例えば、測定実行指示の入力により、プローブ14を測定指示待ちステップ(S1)で入力された実行項目に応じて下降又は上昇させ、被測定物Wの測定箇所への接触を契機に測定結果を測定機1の位置検出部10からデータ処理部20に取り込む。より具体的には、プローブ14が固設された検出ヘッド13から出力された信号に基づき計数部21で特定されたプローブ14の現在位置を演算部23が取り込み、実行項目に応じた特有の演算を行って、その演算結果を測定結果として記憶部22に記憶させる。
After recording the program line in the part program in the measurement condition storage step (S8), the process proceeds to the measurement step (S9). In the measurement step (S9), the operator inputs a measurement execution instruction from the
指示入力部24からの測定実行指示の入力の具体的な実現方法は任意であり、例えば、指示入力部24を測定実行指示入力専用のボタンやスイッチとして構成して、これらの操作により実現してもよいし、表示部26に入力インタフェースを表示させ、指示入力部24であるマウスやキーボードなどから当該入力インタフェースに入力するように構成して実現してもよい。
The input of the measurement execution instruction from the
また、測定実行指示は上記の例のようにプローブ14の移動と測定結果の取り込みを1度の指示入力で行うように構成してもよいし、プローブ14の移動と測定結果の取り込みとで個別に指示入力を行うように構成してもよい。
Further, the measurement execution instruction may be configured such that the movement of the
測定ステップ(S9)での測定実行後、測定結果表示ステップ(S10)に移行し、記憶部22に記憶された測定結果を表示部26に表示させる。
After executing the measurement in the measurement step (S9), the process proceeds to the measurement result display step (S10), and the measurement result stored in the
測定結果表示ステップ(S10)での測定結果の表示後、測定指示待ちステップ(S1)に再び移行し、次の測定指示を待機する。 After the measurement results are displayed in the measurement result display step (S10), the process moves to the measurement instruction waiting step (S1) again to wait for the next measurement instruction.
<第2実施形態>
第2実施形態は、プログラム生成手段が、所定の生成方法により予め生成された、それぞれの測定箇所の位置情報、測定の順番及び測定の内容が記録されたベースプログラムを、識別情報取得手段により取得された識別情報を用いて編集することによりパートプログラムを生成する実施形態である。
<Second embodiment>
In the second embodiment, the program generation means acquires, by the identification information acquisition means, a base program in which the position information of each measurement location, the order of measurement, and the content of the measurement are recorded, which is generated in advance by a predetermined generation method. It is an embodiment in which a part program is generated by editing using the identified identification information.
具体的には、プログラム生成手段にプログラムの編集機能を加えることで、従来の一般的なパートプログラムに相当するベースプログラムに、オペレータに識別情報を提示するプログラム行を追記して本発明におけるパートプログラムの生成を実現する。 Specifically, by adding a program editing function to the program generating means, a program line for presenting identification information to the operator is added to a base program corresponding to a conventional general part program, thereby creating a part program according to the present invention. to realize the generation of
ベースプログラムは、第1実施形態に示すような実測定による生成方法により生成してもよいし、プログラム生成手段がプログラムの編集機能を備えることから、当該編集機能を用いて生成してもよい。以下では、ベースプログラムを実測定により生成する場合を例にとって説明する。 The base program may be generated by a generation method based on actual measurement as shown in the first embodiment, or may be generated by using a program editing function provided by the program generating means. In the following, a case where the base program is generated by actual measurement will be described as an example.
本実施形態におけるベースプログラム生成の流れを図4に示す。図3に示す第1実施形態でのパートプログラム生成の流れとの相違は、S3~S7が省略されている点にある。 FIG. 4 shows the flow of base program generation in this embodiment. The difference from the flow of part program generation in the first embodiment shown in FIG. 3 is that S3 to S7 are omitted.
まず、プログラム生成手段の機能が記述されたプログラム生成プログラムが演算部23で実行されると、まず、測定指示待ちステップ(S1)において、オペレータによる測定指示の入力を待つ。ここでオペレータは、指示入力部24から測定開始や生成終了などの実行項目を入力する。測定開始の入力は、オペレータがプローブ14を測定開始位置に移動させた後に、下方向測定又は上方向測定のいずれかの測定種類を入力することにより行う。指示入力部24からの実行項目の入力の具体的な実現方法は任意であり、例えば、指示入力部24を実行項目入力専用のボタンやスイッチとして構成して、これらの操作により実現してもよいし、表示部26に入力インタフェースを表示させ、指示入力部24であるマウスやキーボードなどから当該入力インタフェースに入力するように構成して実現してもよい。
First, when the program generation program describing the function of the program generation means is executed by the
オペレータによりいずれかの実行項目の入力がされた場合、生成終了判断ステップ(S2)に移行する。このとき、測定指示待ち状態で実行項目として生成終了が入力された場合には、Yes側の測定終了記憶ステップ(S11)に移行し、ベースプログラムの「実行項目」に「終了」を追記して処理を終了する。 If the operator inputs any of the execution items, the process proceeds to the generation end determination step (S2). At this time, if the end of generation is input as an execution item while waiting for a measurement instruction, the process proceeds to the measurement end storage step (S11) on the Yes side, and adds "end" to the "execution item" of the base program. End the process.
一方、測定指示待ち状態で実行項目として測定開始が入力された場合には、No側の測定条件記憶ステップ(S8)に移行する。測定条件記憶ステップ(S8)では、測定指示待ちステップ(S1)で入力された実行項目(下方向測定又は上方向測定)と実行項目に対応するパラメータ(測定開始位置=実行項目入力時にオペレータにより移動されたプローブ14の現在位置)を一組のプログラム行としてベースプログラムに記録し、記憶部22に記憶させる。なお、ベースプログラムへのプログラム行への記録に際し、記憶部22に生成途中のベースプログラムが存在しない場合には、当該プログラム行を内容とするベースプログラムを新たに生成して記憶部22に記憶させ、既に存在する場合には記憶部22から読み出して当該プログラム行を追記した上で記憶部22に書き戻す。
On the other hand, when measurement start is input as an execution item in the measurement instruction waiting state, the process proceeds to the measurement condition storage step (S8) on the No side. In the measurement condition storage step (S8), the execution item (downward measurement or upward measurement) input in the measurement instruction waiting step (S1) and the parameter corresponding to the execution item (measurement start position = moved by the operator when the execution item is input) are stored. The current position of the
測定条件記憶ステップ(S8)でのベースプログラムへのプログラム行の記録の後、測定ステップ(S9)に移行する。測定ステップ(S9)では、オペレータによる指示入力部24からの測定実行指示の入力により測定を実行する。具体的には例えば、測定実行指示の入力により、プローブ14を測定指示待ちステップ(S1)で入力された実行項目に応じて下降又は上昇させ、被測定物Wの測定箇所への接触を契機に測定結果を測定機1の位置検出部10からデータ処理部20に取り込む。より具体的には、プローブ14が固設された検出ヘッド13から出力された信号に基づき計数部21で特定されたプローブ14の現在位置を演算部23が取り込み、実行項目に応じた特有の演算を行って、その演算結果を測定結果として記憶部22に記憶させる。
After recording the program line in the base program in the measurement condition storage step (S8), the process proceeds to the measurement step (S9). In the measurement step (S9), the operator inputs a measurement execution instruction from the
指示入力部24からの測定実行指示の入力の具体的な実現方法は任意であり、例えば、指示入力部24を測定実行指示入力専用のボタンやスイッチとして構成して、これらの操作により実現してもよいし、表示部26に入力インタフェースを表示させ、指示入力部24であるマウスやキーボードなどから当該入力インタフェースに入力するように構成して実現してもよい。
The input of the measurement execution instruction from the
また、測定実行指示は上記の例のようにプローブ14の移動と測定結果の取り込みを1度の指示入力で行うように構成してもよいし、プローブ14の移動と測定結果の取り込みとで個別に指示入力を行うように構成してもよい。
Further, the measurement execution instruction may be configured such that the movement of the
測定ステップ(S9)での測定実行後、測定結果表示ステップ(S10)に移行し、記憶部22に記憶された測定結果を表示部26に表示させる。
After executing the measurement in the measurement step (S9), the process proceeds to the measurement result display step (S10), and the measurement result stored in the
測定結果表示ステップ(S10)での測定結果の表示後、測定指示待ちステップ(S1)に再び移行し、次の測定指示を待機する。 After the measurement results are displayed in the measurement result display step (S10), the process moves to the measurement instruction waiting step (S1) again to wait for the next measurement instruction.
図4に示す流れにより実測定を経て生成した、又はプログラム生成手段の編集機能を用いて生成した、ベースプログラムの内容例を図5に示す。識別情報についてのプログラム行が含まれないこのようなベースプログラムに、測定ごとに識別情報についてのプログラム行を追加することで、本発明におけるパートプログラムを生成する。 FIG. 5 shows an example of the contents of a base program generated through actual measurement according to the flow shown in FIG. 4 or generated using the editing function of the program generation means. A part program in the present invention is generated by adding a program line for identification information for each measurement to such a base program that does not contain a program line for identification information.
図5に示すベースプログラムの行番号が1と2の間に、識別情報についてのプログラム行を追加する場合を例にとって説明する。ここでは、識別情報が画像である場合について例示するが、識別情報が音声などの別の情報であっても構わないことは前記の通りである。
A case where a program line for identification information is added between
記憶部22からベースプログラムを読み出し、プログラム生成手段が有するプログラム編集機能により、ベースプログラムの行番号が1と2の間に実行項目が「画像」、パラメータが「画像ファイル名」であるプログラム行を追加するとともに、元の行番号が2以下のプログラム行について行番号を+1ずつシフトさせて、記憶部22に書き戻す。図6に、図5のベースプログラムに識別情報についてのプログラム行が追加された時点での状態を示す。
The base program is read out from the
プログラム編集機能によるプログラム行の追加の具体的な実現方法は任意である。例えば、記憶部22から読み出したベースプログラムの内容を表示部26に表示させるとともに、プログラム行追加のための入力インタフェースを表示させ、この入力インタフェースにオペレータが指示入力部24から必要な情報を入力することで追加できるように構成してもよい。
A specific implementation method for adding a program line by the program editing function is arbitrary. For example, the content of the base program read out from the
追加するプログラム行を構成する「画像ファイル名」に対応する画像ファイルは、例えば、識別情報取得手段の機能が記述された識別情報取得プログラムを演算部23で実行させて、識別情報収集部30又は識別情報記憶機器40から取得して、記憶部22に記憶させる。
The image file corresponding to the "image file name" that constitutes the program line to be added is obtained by, for example, executing an identification information acquisition program in which the function of the identification information acquisition means is described in the
具体的には、識別情報収集部30から取得する場合、オペレータの操作により識別情報収集部30において収集された識別情報を、識別情報入力部25を介して演算部23に取り込まれ、記憶部22に記憶させる。識別情報の収集に際しオペレータは、画像を撮像する場合には測定箇所がわかるように撮像し、音声を収音する場合は測定箇所の特徴を説明する音声を収音する。
Specifically, when acquiring from the identification
また、識別情報記憶機器40から取得する場合、予め識別情報記憶機器40に記憶された、測定箇所がわかるように撮像された画像ファイルを、識別情報入力部25を介して演算部23に取り込み、記憶部22に記憶させる。
Further, when acquiring from the identification
〔パートプログラム生成装置により生成されたパートプログラムの実行〕
パートプログラム生成装置100により生成されたパートプログラムの実行の流れを図7に示す。
[Execution of part program generated by part program generation device]
FIG. 7 shows the execution flow of the part program generated by the part
記憶部22に記憶されたパートプログラムの読み出しに際し、まず、最初に読み出すパートプログラム行番号を1に設定する(S101)。
When reading the part program stored in the
続いて、S101で設定されたパートプログラム行番号のプログラム行を記憶部22から演算部23に読み出す(S102)。
Subsequently, the program line of the part program line number set in S101 is read from the
演算部23は、プログラム行に記録された実行項目に従って処理を分岐する(S103)。
The
実行項目が「画像」の場合、演算部23はパラメータとして付随している、測定箇所を示す画像ファイルのファイル名に従い、画像ファイルを記憶部22から読み出し、例えば表示部26の図8に示す画像表示領域26cに画像を表示させる(S104)。画像の画像表示領域26cへの表示後、次に読み出すプログラム行番号を更新し(S109)、次のプログラム行の読み出し処理(S102)に戻る。
When the execution item is "image", the
実行項目が「下方向測定」や「上方向測定」の場合、演算部23は実行項目とパラメータとして付随している測定開始位置を、例えば表示部26の図8に示す実行項目表示領域26aと測定開始位置表示領域26bにそれぞれに表示させる(S105)。表示後、測定待機(S106)に移行する。
When the execution item is "downward measurement" or "upward measurement", the
測定待機(S106)では、オペレータにより指示入力部24から測定実行指示が入力されるまで待機する。オペレータは、この待機中に表示部26の測定開始位置表示領域26bに表示されている測定開始位置と、画像表示領域26cに表示されている測定箇所を示す画像に従い、プローブ14を測定箇所に移動させる。
In the measurement standby (S106), it waits until the operator inputs a measurement execution instruction from the
オペレータにより指示入力部24から測定実行指示が入力されると、プローブ14を実行項目に応じて下降又は上昇させ、被測定物Wの測定箇所への接触を契機に測定結果を測定機1の位置検出部10からデータ処理部20に取り込む。より具体的には、プローブ14が固設された検出ヘッド13から出力された信号に基づき計数部21で特定されたプローブ14の現在位置を演算部23が取り込み、実行項目に応じた特有の演算を行って、その演算結果を測定結果として記憶部22に記憶させる。
When the operator inputs a measurement execution instruction from the
続いて、記憶部22に記憶された測定結果を、測定結果として例えば、表示部26の測定結果表示領域26dに表示させる(S108)。
Subsequently, the measurement result stored in the
表示部26の測定結果表示領域26dへの測定結果の表示後、次に読み出すプログラム行番号を更新し(S109)、次のプログラム行読出し処理(S102)に戻る。
After the measurement result is displayed in the measurement
実行項目が「終了」の場合、パートプログラム実行処理を終了する。 If the execution item is "end", the part program execution process is terminated.
以上説明した本発明のパートプログラム生成装置100及びプログラムによれば、測定機の検出部を移動させながら被測定物の複数の測定箇所において測定を行う際に、同じような外観の測定箇所が存在する場合にも、測定すべき箇所に該当する画像又は測定すべき箇所を示す音声情報に基づき、測定すべき箇所に誤りなく検出部を移動させることが可能となる。
According to the part
本発明は、上記の各実施形態に限定されるものではない。各実施形態は例示であり、本発明の特許請求の範囲に記載された技術的思想と実質的に同一な構成を有し、同様な作用効果を奏するものは、いかなるものであっても本発明の技術的範囲に包含される。すなわち、本発明において表現されている技術的思想の範囲内で適宜変更が可能であり、その様な変更や改良を加えた形態も本発明の技術的範囲に含む。 The invention is not limited to the above embodiments. Each embodiment is an example, and the present invention can be any one that has substantially the same configuration as the technical idea described in the claims of the present invention and produces similar effects. included in the technical scope of In other words, modifications can be made as appropriate within the scope of the technical ideas expressed in the present invention, and forms with such modifications and improvements are also included in the technical scope of the present invention.
例えば、図1に示す装置構成についてはこの限りではなく、本発明において表現されている技術的思想の範囲内で各構成部を分割、併合してもよい。また、図3、図4及び図7に例示するそれぞれの処理の流れについてもこの限りではなく、本発明において表現されている技術的思想の範囲内で順序を変更してもよい。更に、図2に示すパートプログラムの構造や図8に示す画面表示の構成についてもこの限りではなく、本発明において表現されている技術的思想の範囲内で変更してもよい。 For example, the device configuration shown in FIG. 1 is not limited to this, and each component may be divided and merged within the scope of the technical idea expressed in the present invention. Moreover, the flow of each process illustrated in FIGS. 3, 4, and 7 is not limited to this, and the order may be changed within the scope of the technical idea expressed in the present invention. Furthermore, the structure of the part program shown in FIG. 2 and the structure of the screen display shown in FIG.
1…測定機
10…位置検出部
11…支持部
12…リニヤスケール
13…検出ヘッド
14…プローブ
20…データ処理部
21…計数部
22…記憶部
23…演算部
24…指示入力部
25…識別情報入力部
26…表示部
26a…実行項目表示領域
26b…測定開始位置表示領域
26c…画像表示領域
26d…測定結果表示領域
27…放音部
30…識別情報収集部
40…識別情報記憶機器
100…パートプログラム生成装置
W…被測定物
DESCRIPTION OF
Claims (9)
それぞれの前記測定箇所について、前記測定箇所と他の測定箇所とを識別するための識別情報を取得する識別情報取得手段を更に備え、
前記プログラム生成手段は、前記測定箇所に対する前記測定機による実行項目及び前記測定箇所の測定開始位置の入力を受け付け、当該測定箇所に対応する前記識別情報を示すプログラム行と、前記実行項目と前記測定開始位置とを一組とするプログラム行と、が記述され、実行されることで、それぞれの前記測定箇所の測定に際し、所定の表示器に前記測定箇所の前記測定開始位置を表示させ、かつ、所定の提示器に前記測定箇所の前記識別情報を提示させた後に、前記実行項目の測定実行の指示入力を受け付ける、パートプログラムを生成する
ことを特徴とするパートプログラム生成装置。 A part program generation device comprising program generation means for generating a part program to be executed by the measuring machine when performing measurement while manually sequentially moving a detection unit of the measuring machine to a plurality of measurement locations on an object to be measured,
further comprising identification information acquisition means for acquiring identification information for identifying each of the measurement locations from other measurement locations;
The program generation means receives an input of an execution item by the measuring machine for the measurement point and a measurement start position of the measurement point, and generates a program line indicating the identification information corresponding to the measurement point, the execution item and the measurement. and a program line including a start position as a set is described and executed to cause a predetermined display to display the measurement start position of the measurement point when measuring each of the measurement points, and A part program generating device for generating a part program for receiving an instruction input for measurement execution of the execution item after causing a predetermined presentation device to present the identification information of the measurement location.
前記所定の提示器は、前記所定の表示器である
ことを特徴とする請求項1から3のいずれか1項に記載のパートプログラム生成装置。 The identification information is an image including the measurement point,
4. The part program generation device according to any one of claims 1 to 3, wherein said predetermined presenter is said predetermined display.
前記識別情報取得手段は、前記撮像部で撮像された画像を取得する
ことを特徴とする請求項4に記載のパートプログラム生成装置。 An imaging unit that captures the image,
5. The part program generating apparatus according to claim 4, wherein said identification information acquiring means acquires an image captured by said imaging section.
前記所定の提示器は、所定の放音器である
ことを特徴とする請求項1から3のいずれか1項に記載のパートプログラム生成装置。 The identification information is a voice that describes the characteristics of the measurement point,
4. The part program generation device according to any one of claims 1 to 3, wherein the predetermined presentation device is a predetermined sound emitter.
前記識別情報取得手段は、前記収音部で収音された音声を取得する
ことを特徴とする請求項6に記載のパートプログラム生成装置。 A sound pickup unit that picks up the sound,
7. The part program generating apparatus according to claim 6, wherein said identification information acquisition means acquires the sound picked up by said sound pickup unit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2018203931A JP7211764B2 (en) | 2018-10-30 | 2018-10-30 | Part program generator and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2018203931A JP7211764B2 (en) | 2018-10-30 | 2018-10-30 | Part program generator and program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2020071091A JP2020071091A (en) | 2020-05-07 |
| JP7211764B2 true JP7211764B2 (en) | 2023-01-24 |
Family
ID=70547606
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2018203931A Active JP7211764B2 (en) | 2018-10-30 | 2018-10-30 | Part program generator and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7211764B2 (en) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2003028675A (en) | 2001-07-13 | 2003-01-29 | Mitsutoyo Corp | Auxiliary measuring instrument and measuring instrument |
| JP2004017198A (en) | 2002-06-14 | 2004-01-22 | Mitsutoyo Corp | Device, method and program for preparing part program |
| JP2015224947A (en) | 2014-05-27 | 2015-12-14 | 株式会社キーエンス | Optical coordinate measurement device |
| JP2017053741A (en) | 2015-09-10 | 2017-03-16 | 株式会社ミツトヨ | Hardness tester and hardness test method |
| JP2017133909A (en) | 2016-01-27 | 2017-08-03 | 株式会社東京精密 | CMM measuring method, measuring control device, and measuring program |
| JP2018084488A (en) | 2016-11-24 | 2018-05-31 | 株式会社東京精密 | Three-dimensional measuring machine measurement method and three-dimensional measuring machine |
-
2018
- 2018-10-30 JP JP2018203931A patent/JP7211764B2/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2003028675A (en) | 2001-07-13 | 2003-01-29 | Mitsutoyo Corp | Auxiliary measuring instrument and measuring instrument |
| JP2004017198A (en) | 2002-06-14 | 2004-01-22 | Mitsutoyo Corp | Device, method and program for preparing part program |
| JP2015224947A (en) | 2014-05-27 | 2015-12-14 | 株式会社キーエンス | Optical coordinate measurement device |
| JP2017053741A (en) | 2015-09-10 | 2017-03-16 | 株式会社ミツトヨ | Hardness tester and hardness test method |
| JP2017133909A (en) | 2016-01-27 | 2017-08-03 | 株式会社東京精密 | CMM measuring method, measuring control device, and measuring program |
| JP2018084488A (en) | 2016-11-24 | 2018-05-31 | 株式会社東京精密 | Three-dimensional measuring machine measurement method and three-dimensional measuring machine |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2020071091A (en) | 2020-05-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10140746B2 (en) | Image processing device, image processing method, and computer program | |
| US8148687B1 (en) | System and method for creating equipment inspection routes | |
| US8863033B2 (en) | Method and system for inspecting an asset | |
| JP2010038685A (en) | Waveform observing apparatus and system | |
| JP2012152016A (en) | Cable connection work support apparatus | |
| CN108475050A (en) | Operation analysis device, operation analysis method, program, and information storage medium | |
| JP2012103786A (en) | Test support device, control method, and program | |
| JP5456563B2 (en) | Method and apparatus for displaying sound source estimation image | |
| CN103678469B (en) | Media file management method | |
| JP7211764B2 (en) | Part program generator and program | |
| CN110779460B (en) | Offline guidance device, measurement control device, and storage medium | |
| JP6361432B2 (en) | Display control program, display control method, and display control apparatus | |
| JP5815434B2 (en) | Manual creation support device and manual creation support method | |
| JP6637291B2 (en) | Medical support system and examination image search method | |
| JP6803431B2 (en) | Programs, information processing devices and information processing methods | |
| JP6330917B2 (en) | Data display processing device for scanning probe microscope, data display processing method for scanning probe microscope, and control program | |
| CN111078983B (en) | A method for determining a page to be recognized and a learning device | |
| JP6818795B2 (en) | Information processing equipment, information processing methods and computer programs | |
| US10754601B2 (en) | Printing through automatic sorting | |
| US20230288691A1 (en) | Microscope system, superimposing unit, and operation method | |
| JP2009267864A (en) | Presentation recording apparatus, presentation reproducing apparatus and program | |
| JP6494085B2 (en) | Work procedure manual creation device | |
| JPH09250909A (en) | Method and system for measuring image without contact | |
| CN104915124B (en) | A kind of information processing method and electronic equipment | |
| JP4055204B2 (en) | Waveform measuring device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20210915 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20220713 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20220719 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20220913 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20230110 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20230112 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7211764 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |