JP2017181314A - Program displaying measurement result of displacement meter, and displacement meter - Google Patents

Program displaying measurement result of displacement meter, and displacement meter Download PDF

Info

Publication number
JP2017181314A
JP2017181314A JP2016069215A JP2016069215A JP2017181314A JP 2017181314 A JP2017181314 A JP 2017181314A JP 2016069215 A JP2016069215 A JP 2016069215A JP 2016069215 A JP2016069215 A JP 2016069215A JP 2017181314 A JP2017181314 A JP 2017181314A
Authority
JP
Japan
Prior art keywords
identification information
displacement meter
displacement
unit
head
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2016069215A
Other languages
Japanese (ja)
Other versions
JP6694307B2 (en
JP2017181314A5 (en
Inventor
宣之 栗原
Noriyuki Kurihara
宣之 栗原
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.)
Keyence Corp
Original Assignee
Keyence Corp
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 Keyence Corp filed Critical Keyence Corp
Priority to JP2016069215A priority Critical patent/JP6694307B2/en
Publication of JP2017181314A publication Critical patent/JP2017181314A/en
Publication of JP2017181314A5 publication Critical patent/JP2017181314A5/ja
Application granted granted Critical
Publication of JP6694307B2 publication Critical patent/JP6694307B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

PROBLEM TO BE SOLVED: To improve the usability of a user using a plurality of displacement meters by connecting them to a computer.SOLUTION: A program is executed by a computer which is connected to a plurality of displacement meters measuring a distance to a measurement object and a displacement of the measurement object and controls the plurality of displacement meters. The computer renders a measurement result of each of the displacement meters on a display object of a monitor screen. The computer updates an association between the displacement meter and the display object, when the association between the displacement meter and the display object does not agree. In the update, the computer displays a message about an approval of the update.SELECTED DRAWING: Figure 1

Description

本発明は変位計の測定結果を表示するプログラムおよび変位計に関する。   The present invention relates to a program for displaying a measurement result of a displacement meter and a displacement meter.

プログラマブル・ロジック・コントローラ(以下、PLCと称す)は、FA(Factory Automation)制御システムにおいて広く使用されているシーケンス制御装置であり、ラダープログラムと呼ばれる専用プログラムにしたがって動作する。操作者(オペレータ)は、PLCに接続された複数の接触式変位計を用いて検査対象物(ワーク)が合格品かどうかを検査する。特許文献1によれば、そのような接触式変位計が提案されている。   A programmable logic controller (hereinafter referred to as “PLC”) is a sequence controller widely used in an FA (Factory Automation) control system, and operates according to a dedicated program called a ladder program. An operator (operator) inspects whether or not the inspection object (workpiece) is an acceptable product using a plurality of contact displacement meters connected to the PLC. According to Patent Document 1, such a contact displacement meter is proposed.

特開2005−201863号公報JP 2005-201863 A

従来の変位計はPLCに接続されて使用されていたが、これをパーソナルコンピュータ(PC)に接続して使用したいという市場ニーズが存在する。とりわけ、PLCを利用するためにはラダー言語をマスターしなければならないため、ユーザには負担が重い。また、ベルトコンベヤーによって搬送されるワークを高速に検査するためには依然としてPLCが必要となろうが、製造ラインから離れたところでワークを検査するようなオフライン検査ではPLCは不要であろう。また、ユーザにとってはPLCよりもPCのほうが入手しやすいという事情もある。   Conventional displacement gauges have been used by being connected to a PLC, but there is a market need to use them by connecting them to a personal computer (PC). In particular, in order to use the PLC, the ladder language must be mastered, so the burden on the user is heavy. Also, a PLC will still be required to inspect workpieces conveyed by the belt conveyor at high speed, but an off-line inspection in which workpieces are inspected at a distance from the production line will not require a PLC. In addition, there is a situation that a PC is easier to obtain than a PLC for a user.

ところで、多数の変位計をPCに接続して使用するケースでは、多数の測定結果をわかりやすく表示することが求められる。そこで、本発明は複数の変位計によって取得された測定結果を対応する表示部品(表示オブジェクト)にレンダリングして表示するプログラムを提供する。本発明によれば、各変位計と各表示オブジェクトが関連付けられて管理されることになるが、ある変位計が別の変位計に交換されてしまうことがある。この場合に、PCが自動である変位計に関連付けられていた表示オブジェクトに対して別の変位計を自動で割り当ててしまうと、ユーザの意図した表示オブジェクトにユーザの意図とは異なる測定結果が表示されてしまう可能性がある。そこで、本発明は、複数の変位計をコンピュータに接続して使用するユーザのユーザビリティを改善することを目的とする。たとえば、本発明は、変位計と表示オブジェクトとの関係を更新することの承諾をユーザから得てから更新を実行するプログラムを提供することを目的とする。   By the way, in the case of using a large number of displacement meters connected to a PC, it is required to display a large number of measurement results in an easy-to-understand manner. Therefore, the present invention provides a program that renders and displays measurement results obtained by a plurality of displacement meters on a corresponding display component (display object). According to the present invention, each displacement meter and each display object are associated and managed, but a certain displacement meter may be replaced with another displacement meter. In this case, if another displacement meter is automatically assigned to the display object associated with the displacement meter whose PC is automatic, a measurement result different from the user's intention is displayed on the display object intended by the user. There is a possibility of being. Accordingly, an object of the present invention is to improve the usability of a user who uses a plurality of displacement meters connected to a computer. For example, an object of the present invention is to provide a program that executes an update after obtaining permission from a user to update the relationship between a displacement meter and a display object.

本発明は、たとえば、
測定対象物に対する距離または前記測定対象物の変位を測定する第一変位計および第二変位計と接続され、前記第一変位計および前記第二変位計を制御するコンピュータにおいて実行されるプログラムであって、
前記第一変位計の識別情報を前記第一変位計から取得するとともに、前記第二変位計の識別情報を前記第二変位計から取得する取得手段と、
前記第一変位計の識別情報と前記第二変位計の識別情報を記憶する第一記憶手段と、
前記第一変位計の識別情報と、前記第一変位計により得られた測定値を表示する第一表示オブジェクトの識別情報との関連付けを記憶するとともに、前記第二変位計の識別情報と、前記第二変位計により得られた測定値を表示する第二表示オブジェクトの識別情報との関連付けを記憶する第二記憶手段と、
前記第一変位計により得られた測定値を前記第一表示オブジェクトにレンダリングするとともに、前記第二変位計により得られた測定値を前記第二表示オブジェクトにレンダリングするレンダリング手段と、
前記第一変位計の識別情報が取得できなくなり、かつ、第三変位計の識別情報が取得されるようになると、当該第三変位計により得られた測定値を前記第一表示オブジェクトにレンダリングすべく、前記第一変位計の識別情報に代えて前記第三変位計の識別情報を前記第一表示オブジェクトの識別情報に関連付けることの承諾を求める情報を出力する出力手段と、
前記第一表示オブジェクトの識別情報に関連付けられている識別情報を前記第一変位計の識別情報に代えて前記第三変位計の識別情報に変更する変更手段として前記コンピュータを機能させることを特徴とするプログラムを提供する。
The present invention is, for example,
A program that is connected to a first displacement meter and a second displacement meter that measure a distance to the measurement object or a displacement of the measurement object and that is executed in a computer that controls the first displacement meter and the second displacement meter. And
Obtaining the identification information of the first displacement meter from the first displacement meter, and obtaining the identification information of the second displacement meter from the second displacement meter;
First storage means for storing identification information of the first displacement meter and identification information of the second displacement meter;
Storing the association between the identification information of the first displacement meter and the identification information of the first display object that displays the measurement value obtained by the first displacement meter, and the identification information of the second displacement meter, Second storage means for storing an association with identification information of a second display object for displaying a measurement value obtained by the second displacement meter;
Rendering means for rendering the measurement value obtained by the first displacement meter on the first display object, and rendering the measurement value obtained by the second displacement meter on the second display object;
When the identification information of the first displacement meter cannot be acquired and the identification information of the third displacement meter is acquired, the measurement value obtained by the third displacement meter is rendered on the first display object. Therefore, output means for outputting information for requesting consent to associate the identification information of the third displacement meter with the identification information of the first display object instead of the identification information of the first displacement meter,
The computer is caused to function as changing means for changing the identification information associated with the identification information of the first display object to the identification information of the third displacement meter instead of the identification information of the first displacement meter. Provide a program to

また、本発明は、
測定対象物に対する距離または測定対象物の変位を測定する複数の変位計と接続され、前記複数の変位計を制御するコンピュータにおいて実行されるプログラムであって、
前記複数の変位計のそれぞれから固有の識別情報を取得する取得手段と、
前記取得手段により取得された前記複数の変位計のそれぞれの識別情報を記憶する第一記憶手段と、
前記複数の変位計のそれぞれにより得られた測定値を表示する複数の表示オブジェクトの識別情報と、前記複数の変位計のそれぞれの識別情報との関連付けを記憶する第二記憶手段と、
前記複数の変位計により得られた各測定値を、前記複数の表示オブジェクトのうち関連付けられている表示オブジェクトに表示させる表示制御手段と、
前記複数の変位計のうち一つの変位計が他の変位計に変更されると、前記取得手段により取得された当該他の変位計の識別情報を、前記複数の表示オブジェクトのうち当該一つの変位計の識別情報に関連付けられていた表示オブジェトの識別情報に関連付けることの承諾を求める情報を出力する出力手段として前記コンピュータを機能させることを特徴とするプログラムを提供する。
The present invention also provides:
A program that is connected to a plurality of displacement meters that measure a distance to the measurement object or a displacement of the measurement object and that is executed in a computer that controls the plurality of displacement meters,
Obtaining means for obtaining unique identification information from each of the plurality of displacement meters;
First storage means for storing identification information of each of the plurality of displacement meters acquired by the acquisition means;
Second storage means for storing identification information of a plurality of display objects for displaying measured values obtained by each of the plurality of displacement gauges, and identification information for each of the plurality of displacement gauges;
Display control means for displaying each measurement value obtained by the plurality of displacement meters on an associated display object among the plurality of display objects;
When one displacement meter of the plurality of displacement meters is changed to another displacement meter, the identification information of the other displacement meter acquired by the acquisition unit is used as the one displacement of the plurality of display objects. There is provided a program for causing the computer to function as output means for outputting information for requesting consent to be associated with identification information of a display object associated with identification information of a meter.

また、本発明は、
測定対象物に対する距離または測定対象物の変位を測定する複数の変位計と接続され、前記複数の変位計を制御するコンピュータにおいて実行されるプログラムであって、
前記複数の変位計のそれぞれにより得られた測定値を表示する複数の表示オブジェクトの識別情報と、前記複数の変位計のそれぞれの識別情報とを関連付けて記憶する記憶手段と、
前記複数の変位計により得られた各測定値を、前記複数の表示オブジェクトのうち関連付けられている表示オブジェクトにレンダリングするレンダリング手段と、
前記プログラムが起動されるか、または、取得指示が入力されると、前記コンピュータに接続されている複数の変位計のそれぞれから固有の識別情報を取得する取得手段と、
前記コンピュータに接続されている複数の変位計から前記取得手段により取得された複数の識別情報と前記記憶手段に記憶されている複数の識別情報とが一致しているかどうかを判定する判定手段と、
前記コンピュータに接続されている複数の変位計から取得された複数の識別情報と前記記憶手段に記憶されている複数の識別情報とが一致していないときに、前記コンピュータに接続されている複数の変位計の識別情報と前記複数の表示オブジェクトの識別情報との関連付けの更新を承諾するかどうかを求める情報を出力する出力手段と、
前記更新を承諾する指示が入力されると、前記関連付けを更新する更新手段として前記コンピュータを機能させることを特徴とするプログラムを提供する。
The present invention also provides:
A program that is connected to a plurality of displacement meters that measure a distance to the measurement object or a displacement of the measurement object and that is executed in a computer that controls the plurality of displacement meters,
Storage means for storing identification information of a plurality of display objects for displaying measured values obtained by each of the plurality of displacement gauges and identification information for each of the plurality of displacement gauges;
Rendering means for rendering each measurement value obtained by the plurality of displacement meters to an associated display object among the plurality of display objects;
When the program is started or an acquisition instruction is input, acquisition means for acquiring unique identification information from each of a plurality of displacement meters connected to the computer,
A determination unit that determines whether or not a plurality of pieces of identification information acquired by the acquisition unit from a plurality of displacement meters connected to the computer match a plurality of pieces of identification information stored in the storage unit;
When a plurality of identification information acquired from a plurality of displacement meters connected to the computer and a plurality of identification information stored in the storage means do not match, a plurality of information connected to the computer Output means for outputting information for requesting whether or not to accept the update of the association between the identification information of the displacement meter and the identification information of the plurality of display objects;
When an instruction for accepting the update is input, a program is provided that causes the computer to function as an update unit that updates the association.

本発明によれば、変位計と表示オブジェクトとの関係を更新することの承諾をユーザから得てから更新が実行されるため、複数の変位計をコンピュータに接続して使用するユーザのユーザビリティが向上する。   According to the present invention, since the update is executed after obtaining consent from the user to update the relationship between the displacement meter and the display object, the usability of a user who uses a plurality of displacement meters connected to a computer is improved. To do.

検査システムを示す図Diagram showing inspection system 変位計を示す図Diagram showing displacement meter 変位計を示すブロック図Block diagram showing the displacement meter コンピュータを示すブロック図Block diagram showing a computer モニター画面の設定処理と表示処理を示すフローチャートFlow chart showing monitor screen setting and display processing モニターユーザインターフェースを示す図Diagram showing the monitor user interface モニターユーザインターフェースを示す図Diagram showing the monitor user interface モニター画面を設定するためのユーザインターフェースを示す図The figure which shows the user interface for setting the monitor screen モニター画面を設定するためのユーザインターフェースを示す図The figure which shows the user interface for setting the monitor screen モニター画面を設定するためのユーザインターフェースを示す図The figure which shows the user interface for setting the monitor screen モニター画面を設定するためのユーザインターフェースを示す図The figure which shows the user interface for setting the monitor screen モニター画面を設定するためのユーザインターフェースを示す図The figure which shows the user interface for setting the monitor screen モニター画面を設定するためのユーザインターフェースを示す図The figure which shows the user interface for setting the monitor screen モニター画面を設定するためのユーザインターフェースを示す図The figure which shows the user interface for setting the monitor screen モニター画面を設定するためのユーザインターフェースを示す図The figure which shows the user interface for setting the monitor screen モニター画面を設定するためのユーザインターフェースを示す図The figure which shows the user interface for setting the monitor screen モニター画面を設定するためのユーザインターフェースを示す図The figure which shows the user interface for setting the monitor screen モニター画面を設定するためのユーザインターフェースを示す図The figure which shows the user interface for setting the monitor screen モニター画面を設定するためのユーザインターフェースを示す図The figure which shows the user interface for setting the monitor screen モニター画面を設定するためのユーザインターフェースを示す図The figure which shows the user interface for setting the monitor screen モニター画面を設定するためのユーザインターフェースを示す図The figure which shows the user interface for setting the monitor screen モニター画面を設定するためのユーザインターフェースを示す図The figure which shows the user interface for setting the monitor screen 管理テーブルを示す図Figure showing the management table コンピュータを示すブロック図Block diagram showing a computer 更新処理を示すフローチャートFlow chart showing update process 管理テーブルを示す図Figure showing the management table 管理テーブルを示す図Figure showing the management table 管理テーブルを示す図Figure showing the management table 承諾処理を示すフローチャートFlow chart showing consent process 承諾問い合わせUIを示す図Diagram showing consent inquiry UI 点滅ボタンを示す図Figure showing a blinking button 点滅ボタンを示す図Figure showing a blinking button

以下に本発明の一実施形態を示す。以下で説明される個別の実施形態は、本発明の上位概念、中位概念および下位概念など種々の概念を理解するために役立つであろう。また、本発明の技術的範囲は、特許請求の範囲によって確定されるのであって、以下の個別の実施形態によって限定されるわけではない。   An embodiment of the present invention is shown below. The individual embodiments described below will help to understand various concepts, such as the superordinate concept, intermediate concept and subordinate concept of the present invention. Further, the technical scope of the present invention is determined by the scope of the claims, and is not limited by the following individual embodiments.

<検査(測定)システム>
図1は複数の変位計を用いた検査システム(変位計システム)の一例を示している。図1においてコンピュータ1はノートブック型のPCであるが、汎用のコンピュータであればよい。コンピュータ1は液晶表示装置などの表示部2とキーボードやポインティングデバイスなどの入力部3を有している。なお、タッチパネルデバイスのように、表示部2と入力部3とが積層されていてもよい。コンピュータ1はユニバーサルシリアルバスなどの通信ポートを有している。複数の変位計5はコンピュータ1の通信ポートに接続される。なお、コンピュータ1が備える通信ポートの数よりも変位計5の数が多い場合はハブ4が採用されてもよい。複数の変位計5は検査対象物であるワークWの各部の変位や変位計5からワークWまでの距離などを測定する。一般に複数の変位計5は治具に固定される。
<Inspection (measurement) system>
FIG. 1 shows an example of an inspection system (displacement meter system) using a plurality of displacement meters. In FIG. 1, the computer 1 is a notebook PC, but it may be a general-purpose computer. The computer 1 includes a display unit 2 such as a liquid crystal display device and an input unit 3 such as a keyboard and a pointing device. Note that the display unit 2 and the input unit 3 may be stacked like a touch panel device. The computer 1 has a communication port such as a universal serial bus. The plurality of displacement meters 5 are connected to the communication port of the computer 1. If the number of displacement meters 5 is larger than the number of communication ports provided in the computer 1, the hub 4 may be employed. The plurality of displacement meters 5 measure the displacement of each part of the workpiece W that is the inspection object, the distance from the displacement meter 5 to the workpiece W, and the like. In general, the plurality of displacement meters 5 are fixed to a jig.

<変位計>
図2(A)、図2(B)、図2(C)は変位計5の構成例を示している。図2(A)によれば、変位計5は、ヘッドH、通信ケーブル6a、中継部10、通信ケーブル6c、コネクタ9を有している。ヘッドHはワークWに直接的に接触することでワークWについての変位や距離(以下、単に変位と称す)を測定したり、接触せずに変位を測定したりする。前者の接触式変位計は測定精度が高いものの、設計上の耐久寿命が存在する。したがって、設計上の耐久寿命を超えたヘッドHは交換されなければならない。後者の非接触式変位計は光や超音波を用いて変位を測定する変位計である。非接触式変位計は、ワークWと接触しないため、接触式変位計と比較して耐久寿命が長いものの、測定精度が低い。
<Displacement meter>
FIGS. 2A, 2 </ b> B, and 2 </ b> C show configuration examples of the displacement meter 5. 2A, the displacement meter 5 includes a head H, a communication cable 6a, a relay unit 10, a communication cable 6c, and a connector 9. The head H measures the displacement and distance (hereinafter simply referred to as displacement) of the workpiece W by directly contacting the workpiece W, or measures the displacement without contacting. The former contact displacement meter has a high measurement accuracy but has a design durability. Therefore, the head H that has exceeded the designed endurance life must be replaced. The latter non-contact type displacement meter is a displacement meter that measures displacement using light or ultrasonic waves. Since the non-contact displacement meter does not come into contact with the workpiece W, the durability is longer than that of the contact displacement meter, but the measurement accuracy is low.

ヘッドHで測定された変位を示す電気信号は通信ケーブル6aを介して中継部10に送信される。通信ケーブル6aはヘッドに接続されて電気信号を伝達する信号線の一例である。中継部10は電気信号をデジタル値に変換し、通信ケーブル6cおよびコネクタ9を介してコンピュータ1に送信する。なお、中継部10は、測定結果であるデジタル値をコンピュータ1の通信ポートの通信規格に沿った電気信号に変換してコンピュータ1に送信する。つまり、中継部10は電気信号を第一通信規格の通信信号に変換する中継手段として機能する。コネクタ9はコンピュータ1の通信ポートに装着される。   An electrical signal indicating the displacement measured by the head H is transmitted to the relay unit 10 via the communication cable 6a. The communication cable 6a is an example of a signal line that is connected to the head and transmits an electrical signal. The relay unit 10 converts the electrical signal into a digital value and transmits it to the computer 1 via the communication cable 6 c and the connector 9. The relay unit 10 converts a digital value as a measurement result into an electrical signal conforming to the communication standard of the communication port of the computer 1 and transmits it to the computer 1. That is, the relay unit 10 functions as a relay unit that converts an electrical signal into a communication signal of the first communication standard. The connector 9 is attached to the communication port of the computer 1.

図2(B)は中継部10の機能が第一中継部7と第二中継部8とに分割された例を示している。第一中継部7と第二中継部8とは通信ケーブル6bを介して接続されている。第一中継部7はヘッドHから受信した電気信号をデジタル値に変換する機能を有している。第二中継部8は、測定結果であるデジタル値をコンピュータ1の通信ポートの通信規格に沿った電気信号に変換してコンピュータ1に送信する機能を有している。なお、図2(A)や図2(B)に示した変位計5ではヘッドHを交換することができる。つまり、ヘッドHの機能を少なくすることで、ヘッドHを安価にすることが可能となる。   FIG. 2B shows an example in which the function of the relay unit 10 is divided into a first relay unit 7 and a second relay unit 8. The first relay unit 7 and the second relay unit 8 are connected via a communication cable 6b. The first relay unit 7 has a function of converting an electrical signal received from the head H into a digital value. The second relay unit 8 has a function of converting a digital value, which is a measurement result, into an electrical signal conforming to the communication standard of the communication port of the computer 1 and transmitting it to the computer 1. Note that the head H can be exchanged in the displacement meter 5 shown in FIG. 2 (A) or FIG. 2 (B). That is, by reducing the functions of the head H, the head H can be made inexpensive.

図2(C)はヘッドHに中継部10の機能を実装した例を示している。ヘッドHのサイズは大きくなるものの、コンピュータ1からヘッドHまでの間には通信ケーブル6cだけが存在する。つまり、変位計5を簡素にすることができる。   FIG. 2C shows an example in which the function of the relay unit 10 is mounted on the head H. Although the size of the head H increases, only the communication cable 6c exists between the computer 1 and the head H. That is, the displacement meter 5 can be simplified.

図3は図2(A)に示した変位計5の機能を示している。ヘッドHには、ワークWの変位に応じて移動することでアナログの電気信号を生成する測定子11が設けられている。ADC21はアナログデジタルコンバータであり、変位に応じたアナログの電気信号をデジタル信号(デジタル値)に変換する。制御部22は変位量を示すデジタル値に所定の演算を施したり、コンピュータ1から受信した点灯コマンドに基づき表示灯23を点灯させたり、点滅コマンドに基づき表示灯23を点滅させたりする。また、制御部22は通信部24を通じて演算結果(測定結果)を中継部10に送信する。制御部22は通信部24を通じてヘッドIDの読み出しコマンドを受信すると、記憶部25からヘッドIDを読み出して通信部24から送信する。ヘッドIDは変位計の識別情報の一例である。   FIG. 3 shows the function of the displacement meter 5 shown in FIG. The head H is provided with a measuring element 11 that generates an analog electric signal by moving in accordance with the displacement of the workpiece W. The ADC 21 is an analog-digital converter, and converts an analog electrical signal corresponding to the displacement into a digital signal (digital value). The control unit 22 performs a predetermined calculation on the digital value indicating the amount of displacement, turns on the indicator lamp 23 based on the lighting command received from the computer 1, and blinks the indicator lamp 23 based on the blink command. Further, the control unit 22 transmits the calculation result (measurement result) to the relay unit 10 through the communication unit 24. When receiving a head ID read command via the communication unit 24, the control unit 22 reads the head ID from the storage unit 25 and transmits it from the communication unit 24. The head ID is an example of identification information of the displacement meter.

中継部10は、伝統的にアンプと呼ばれているが、増幅機能を有している必要はない。中継部10の制御部32は通信部31を介して受信した測定結果を、通信部34を介してコンピュータ1に送信したり、通信部34を介してコンピュータ1から受信したコマンドを、通信部31を介してヘッドHに送信したりする。中継部10は、オプションの表示灯33を備えているか、または、信号ケーブルを介して表示灯33に接続されていてもよい。制御部32はコンピュータ1から受信したコマンドに基づき表示灯33を点灯させたり、点滅させたりしてもよい。また、制御部32はコンピュータ1から受信した公差データとヘッドHから受信した測定結果とを比較し、測定結果が公差の範囲内かどうかを判定しても良い。制御部32は、測定結果が公差の範囲内であれば測定結果が合格であるとして表示灯33の色をグリーンに設定し、測定結果が公差の範囲内でなければ測定結果が不合格であるとして表示灯33の色をレッドに設定してもよい。制御部32は、測定結果と公差とを比較し、測定結果の合否を出力する。制御部32はコンピュータ1からアンプIDの読み出しコマンドを受信すると、記憶部35から読み出したアンプIDをコンピュータ1に送信する。アンプIDは変位計の識別情報の一例であり、ここでは中継部10の識別情報である。なお、制御部32は、予めヘッドHからヘッドIDを読み出して記憶部35に記憶していてもよい。制御部32は、コンピュータ1からヘッドIDの読み出しコマンドを受信すると、記憶部35からヘッドIDを読み出してコンピュータ1に送信してもよい。記憶部35’は通信IDを記憶するオプションの記憶部である。通信IDはUSBデバイスに割り当てられたアドレスやIPアドレス、COMポート番号などであってもよい。USBはユニバーサルシリアルバスの略称である。通信部34はコンピュータ1が備えているいずれかの通信部と通信する回路であり、USB、RS−232C、イーサネット(登録商標)などの規格に準拠して通信を実行する。通信部34は無線LANの規格やIoT(インターネットオブシング)通信規格などに準拠した無線通信部であってもよい。いずれにしても通信部34はコンピュータ1と通信可能な通信回路である。   The relay unit 10 is traditionally called an amplifier, but does not need to have an amplification function. The control unit 32 of the relay unit 10 transmits the measurement result received via the communication unit 31 to the computer 1 via the communication unit 34 or the command received from the computer 1 via the communication unit 34. To the head H. The relay unit 10 may include an optional indicator lamp 33 or may be connected to the indicator lamp 33 via a signal cable. The control unit 32 may turn on or blink the indicator lamp 33 based on the command received from the computer 1. The control unit 32 may compare the tolerance data received from the computer 1 with the measurement result received from the head H and determine whether the measurement result is within the tolerance range. If the measurement result is within the tolerance range, the control unit 32 sets the color of the indicator lamp 33 to green as the measurement result is acceptable, and if the measurement result is not within the tolerance range, the measurement result is unacceptable. As an alternative, the color of the indicator lamp 33 may be set to red. The control unit 32 compares the measurement result with the tolerance and outputs pass / fail of the measurement result. When receiving the amplifier ID read command from the computer 1, the control unit 32 transmits the amplifier ID read from the storage unit 35 to the computer 1. The amplifier ID is an example of identification information of the displacement meter, and here is identification information of the relay unit 10. The control unit 32 may read the head ID from the head H in advance and store it in the storage unit 35. When receiving a head ID read command from the computer 1, the control unit 32 may read the head ID from the storage unit 35 and transmit it to the computer 1. The storage unit 35 ′ is an optional storage unit that stores a communication ID. The communication ID may be an address assigned to the USB device, an IP address, a COM port number, or the like. USB is an abbreviation for Universal Serial Bus. The communication unit 34 is a circuit that communicates with any one of the communication units included in the computer 1, and performs communication in accordance with standards such as USB, RS-232C, and Ethernet (registered trademark). The communication unit 34 may be a wireless communication unit compliant with a wireless LAN standard, an IoT (Internet of Thing) communication standard, or the like. In any case, the communication unit 34 is a communication circuit that can communicate with the computer 1.

なお、図2(B)に示した変位計5では、測定子11がヘッドHに収容され、残りの機能は第一中継部7に収容される。つまり、図3に示したヘッドHの機能のうち、破線の左側に存在する機能が図2(B)に示したヘッドHに収容され、破線の右側に存在する機能が第一中継部7に収容される。第二中継部8は中継部10の機能を備える。   In the displacement meter 5 shown in FIG. 2B, the measuring element 11 is accommodated in the head H, and the remaining functions are accommodated in the first relay unit 7. That is, among the functions of the head H shown in FIG. 3, the function existing on the left side of the broken line is accommodated in the head H shown in FIG. Be contained. The second relay unit 8 has the function of the relay unit 10.

図2(C)に示した変位計5では、図3に示した中継部10が省略され、図3に示したヘッドHの各機能が中継部10の機能も実装することになる。その結果、制御部22は制御部32の代わりに測定値に対する演算を実行し、通信部24は通信部34の代わりにコンピュータ1と通信することになる。   In the displacement meter 5 shown in FIG. 2C, the relay unit 10 shown in FIG. 3 is omitted, and each function of the head H shown in FIG. As a result, the control unit 22 performs an operation on the measurement value instead of the control unit 32, and the communication unit 24 communicates with the computer 1 instead of the communication unit 34.

図3が示すように中継部10の通信ユニット(通信部34と記憶部35’)は中継部10の本体から着脱可能なユニットであってもよい。ユーザは通信プロトコルや通信回路の異なる複数の通信ユニット(例:有線LAN、無線LAN、RS−232C、短距離無線通信など)の中からコンピュータ1と接続可能な通信ユニットを選択することが可能となる。   As shown in FIG. 3, the communication unit (communication unit 34 and storage unit 35 ′) of the relay unit 10 may be a unit that can be detached from the main body of the relay unit 10. The user can select a communication unit that can be connected to the computer 1 from a plurality of communication units (eg, wired LAN, wireless LAN, RS-232C, short-range wireless communication, etc.) having different communication protocols and communication circuits. Become.

<コンピュータ>
コンピュータ1は測定結果を表示するモニター画面の作成支援装置として機能するパーソナルコンピュータである。CPU40は記憶部42に記憶されているプログラム43を実行することでモニター画面の作成機能とモニター画面の表示機能とを実現する。記憶部42は、ハードディスクドライブ(HDD)、ソリッドステートドライブ(SSD)、RAM、ROMなどの集合体である。プログラム43や設定データ44はHDDやSSDに記憶される。CPU40は通信部41を通じて複数の変位計5と通信し、各変位計5から識別情報や測定結果を取得したり、特定の変位計5の表示灯23を点灯させたりする。ここでは、説明の便宜上、通信部41がUSB規格に準拠して通信を実行する回路であると仮定されている。UI部51は入力部3を通じて入力された指示を受け付けたり、表示部2にモニターUIを表示させたりする。UIはユーザインターフェースの略称である。演算部52は、設定データ44により定義された演算を測定結果に対して実行する。総合判定部53は、複数の変位計5から取得された測定結果や測定結果から求められた演算結果に基づきワークWが総合的に合格品かどうかを判定する。デバイス管理部54は、通信部41の通信ポートに接続されている複数の変位計5(ヘッドHや中継部10など)をプラグアンドプレイ方式にしたがって認識して管理する。デバイス管理部54は、認識した変位計5に対してCOMポートを割り当ててもよい。デバイス管理部54は、プログラム43により実現されてもよいが、コンピュータ1で動作しているオペレーティングシステムのデバイスマネージャと連携してこれらの機能を実現してもよい。たとえば、デバイス管理部54は、デバイスマネージャがプラグアンドプレイ方式にしたがって認識して変位計5と、変位計5に割り当てたCOMポートの番号をデバイスマネージャから取得し、変位計5を管理するための管理テーブルを作成し、記憶部42に格納してもよい。
<Computer>
The computer 1 is a personal computer that functions as a monitor screen creation support device that displays measurement results. The CPU 40 executes a program 43 stored in the storage unit 42 to realize a monitor screen creation function and a monitor screen display function. The storage unit 42 is an aggregate of a hard disk drive (HDD), solid state drive (SSD), RAM, ROM, and the like. The program 43 and setting data 44 are stored in the HDD or SSD. The CPU 40 communicates with the plurality of displacement meters 5 through the communication unit 41, acquires identification information and measurement results from each displacement meter 5, and turns on the indicator lamp 23 of the specific displacement meter 5. Here, for convenience of explanation, it is assumed that the communication unit 41 is a circuit that performs communication in accordance with the USB standard. The UI unit 51 accepts an instruction input through the input unit 3 or causes the display unit 2 to display a monitor UI. UI is an abbreviation for user interface. The computing unit 52 performs the computation defined by the setting data 44 on the measurement result. The comprehensive determination unit 53 determines whether or not the work W is a comprehensive product based on the measurement results obtained from the plurality of displacement meters 5 and the calculation results obtained from the measurement results. The device management unit 54 recognizes and manages a plurality of displacement meters 5 (head H, relay unit 10 and the like) connected to the communication port of the communication unit 41 according to a plug and play method. The device management unit 54 may assign a COM port to the recognized displacement meter 5. The device management unit 54 may be realized by the program 43, but may realize these functions in cooperation with a device manager of an operating system operating on the computer 1. For example, the device management unit 54 acquires the displacement meter 5 and the COM port number assigned to the displacement meter 5 recognized by the device manager according to the plug-and-play method, and manages the displacement meter 5. A management table may be created and stored in the storage unit 42.

作成部60は、コンピュータ1に、各変位計5の測定結果をモニターするためのモニター画面を作成する。作成部60は、モニター画面に関する各種の設定を実行する設定部61を有している。設定部61は、たとえば、各変位計5の設定や演算部52で実行される演算の設定、総合判定部53による総合判定のための判定基準などの設定を実行して設定データ44を作成する。さらに、作成部60は、モニターUIに含まれるモニター画面をカスタマイズするためのカスタム部62を有している。カスタム部62はユーザの指示に応じてモニター画面に各種の表示オブジェクト(部品)を配置する部品配置部63を有している。部品配置部63はさらに様々な編集機能有している。色変更部64はユーザの指示に応じてモニター画面の背景色を変更する。画像変更部65はユーザの指示に応じてモニター画面に表示される画像(画像ファイル)を変更する。選択部66はユーザの指示に応じて測定結果を表示する表示形式を選択する。総合判定配置部67はユーザの指示に応じてワークWの総合判定結果を表示する表示オブジェクトをモニター画面に配置する。引き出し線配置部68はユーザの指示に応じて引き出し線をモニター画面に配置する。   The creating unit 60 creates a monitor screen for monitoring the measurement result of each displacement meter 5 on the computer 1. The creation unit 60 includes a setting unit 61 that executes various settings related to the monitor screen. The setting unit 61 creates setting data 44 by executing setting of each displacement meter 5, setting of calculation executed by the calculation unit 52, and setting of determination criteria for comprehensive determination by the comprehensive determination unit 53, for example. . Furthermore, the creation unit 60 includes a custom unit 62 for customizing a monitor screen included in the monitor UI. The custom unit 62 includes a component arrangement unit 63 that arranges various display objects (components) on the monitor screen in accordance with a user instruction. The component placement unit 63 further has various editing functions. The color changing unit 64 changes the background color of the monitor screen in accordance with a user instruction. The image changing unit 65 changes an image (image file) displayed on the monitor screen in accordance with a user instruction. The selection unit 66 selects a display format for displaying the measurement result in accordance with a user instruction. The comprehensive determination arrangement unit 67 arranges a display object for displaying the comprehensive determination result of the workpiece W on the monitor screen in accordance with a user instruction. The lead line placement unit 68 places lead lines on the monitor screen in accordance with a user instruction.

<フローチャート>
図5は変位測定方法に関与するモニター画面の作成処理と表示処理とを実行する手順を示している。CPU40はプログラム43を実行することで以下のステップを実行する。
<Flowchart>
FIG. 5 shows a procedure for executing a monitor screen creation process and a display process related to the displacement measurement method. The CPU 40 executes the following steps by executing the program 43.

S11でCPU40(設定部61)は基本設定を実行し、基本設定の内容を設定データ44に格納する。基本設定は、測定を実行する変位計5の設定や演算設定などを含む。   In S <b> 11, the CPU 40 (setting unit 61) executes basic setting and stores the contents of the basic setting in the setting data 44. The basic setting includes a setting of the displacement meter 5 that performs measurement, a calculation setting, and the like.

S12でCPU40(カスタム部62)はモニター画面のカスタマイズを実行し、カスタマイズ内容を設定データ44に格納する。CPU40はユーザ操作にしたがってモニター画面にレンダリングするワークWの画像や測定結果を表示するための表示オブジェクトを配置する。このように、S12は、コンピュータに、各変位計の測定結果をモニターするためのモニター画面を作成するステップである。また、S12は、測定対象物の画像をインポートするインポートするステップと、測定対象物の画像に対して各変位計の測定結果に関する情報を表示するための表示オブジェクトを配置するステップを含む。   In S <b> 12, the CPU 40 (custom unit 62) customizes the monitor screen and stores the customization content in the setting data 44. The CPU 40 arranges a display object for displaying an image of the work W to be rendered and a measurement result on the monitor screen according to a user operation. Thus, S12 is a step of creating a monitor screen for monitoring the measurement result of each displacement meter in the computer. Further, S12 includes an importing step of importing an image of the measurement object, and a step of arranging a display object for displaying information on the measurement result of each displacement meter with respect to the measurement object image.

S13でCPU40(UI部51)は設定データ44に基づく測定結果、演算結果または総合判定結果を対応する表示オブジェクトにレンダリングしてモニター画面を生成し、モニター画面を含むモニターUIを表示部2に表示する。S13は、モニター画面を用いて各変位計の測定結果をモニターすることが指示されると実行されるステップである。また、S13はモニター画面を作成するときに配置された測定対象物の合否を表示する表示オブジェクトを測定対象物の画像と共に表示するステップとして機能する。後述するように、S13は、各変位計の測定結果を表示する表示オブジェクトと測定対象物の画像とを含む第一モニター画面と、測定対象物の画像を含まない、各変位計の測定結果をリスト表示する第二モニター画面とを切り替えるステップをさらに有しいてもよい。さらに、S13はユーザにより入力される変更指示に応じて前記表示オブジェクトの配置を変更する配置変更するステップをさらに有していてもよい。   In S13, the CPU 40 (UI unit 51) generates a monitor screen by rendering the measurement result, calculation result, or comprehensive determination result based on the setting data 44 to the corresponding display object, and displays the monitor UI including the monitor screen on the display unit 2. To do. S13 is a step that is executed when it is instructed to monitor the measurement result of each displacement meter using the monitor screen. Further, S13 functions as a step of displaying a display object that displays the pass / fail of the measurement object arranged when creating the monitor screen together with the image of the measurement object. As will be described later, in S13, the first monitor screen including the display object for displaying the measurement result of each displacement meter and the image of the measurement object, and the measurement result of each displacement meter not including the image of the measurement object. You may further have the step which switches the 2nd monitor screen displayed as a list. Furthermore, S13 may further include a step of changing the arrangement for changing the arrangement of the display objects in accordance with a change instruction input by the user.

このように、CPU40は、基本設定やカスタマイズにより作成されたモニター画面に対して測定結果などをレンダリングしてモニター画面を表示部2に表示する。モニターUIのうちモニター画面を除いた部分(ボタンやメニューなどのコントロール)はテンプレートファイルとして記憶部42に記憶されていてもよい。   As described above, the CPU 40 renders the measurement result and the like on the monitor screen created by the basic setting and customization, and displays the monitor screen on the display unit 2. A portion of the monitor UI excluding the monitor screen (controls such as buttons and menus) may be stored in the storage unit 42 as a template file.

<ユーザインターフェース>
●モニター画面
図6はモニター画面78を含むモニターUI70の一例を示す図である。モニターUI70は設定データ44に基づいてUI部51が表示部2に表示するユーザインターフェースである。モニターUI70には様々な表示オブジェクトが配置されている。モニター画面78は変位計5により取得された測定結果や演算結果などを表示するためのUIである。設定ボタン71はモニターUI70から、モニターUI70の基本設定やカスタマイズを実行するUIに切り替えることを指示するボタンである。総合判定部品72は、総合判定結果を表示する表示オブジェクトである。画像領域73はワークWの画像を表示する領域である。測定結果部品である表示オブジェクト74は変位計5の測定結果自体や測定結果から演算により求められた演算結果を表示する表示オブジェクトである。引き出し線75は、表示オブジェクト74とワークWの画像または変位計5のヘッドHの画像とを結ぶ表示オブジェクトである。引き出し線75は、表示オブジェクト74とワークWまたはヘッドHとの関係をユーザが理解することを補助する。切り替えボタン76は、モニター画面78と一覧画面とを切り替えることを指示するためのボタンである。ポインタ77はユーザが入力部3のポインティングデバイスを操作することで移動し、指示を入力するために使用される。つまり、UI部51は、入力部3のポインティングデバイスの操作量に応じてポインタ77の表示位置を変更する。モニターUI70にあるトリガボタンは、ロギング情報を残すためのボタンである。プリセットボタンは、その左の「全ての測定値」などを選んだ後に押すと、対象がゼロにセットされる。プリセットリセットボタンは、プリセットされる前の状態に戻すためのボタンである。
<User interface>
Monitor Screen FIG. 6 is a view showing an example of the monitor UI 70 including the monitor screen 78. The monitor UI 70 is a user interface that the UI unit 51 displays on the display unit 2 based on the setting data 44. Various display objects are arranged on the monitor UI 70. The monitor screen 78 is a UI for displaying measurement results, calculation results, and the like acquired by the displacement meter 5. The setting button 71 is a button for instructing to switch from the monitor UI 70 to a UI for executing basic settings and customization of the monitor UI 70. The comprehensive determination component 72 is a display object that displays the comprehensive determination result. The image area 73 is an area for displaying an image of the workpiece W. The display object 74 that is a measurement result component is a display object that displays the measurement result itself of the displacement meter 5 and the calculation result obtained by calculation from the measurement result. The lead line 75 is a display object that connects the display object 74 and the image of the workpiece W or the image of the head H of the displacement meter 5. The lead line 75 assists the user in understanding the relationship between the display object 74 and the workpiece W or the head H. The switch button 76 is a button for instructing to switch between the monitor screen 78 and the list screen. The pointer 77 moves when the user operates the pointing device of the input unit 3 and is used to input an instruction. That is, the UI unit 51 changes the display position of the pointer 77 according to the operation amount of the pointing device of the input unit 3. The trigger button in the monitor UI 70 is a button for leaving logging information. When the preset button is pressed after selecting “all measured values” on the left, the target is set to zero. The preset reset button is a button for returning to a state before being preset.

図7は一覧画面79を含むモニターUI70の一例を示している。UI部51は入力部3を通じて切り替えボタン76が操作されたことを検知すると、測定結果や演算結果を一覧形式で表示するための一覧画面79を表示部2に表示する。切り替えボタン76が再度操作されると、UI部51は、一覧画面79をモニター画面78に切り替える。   FIG. 7 shows an example of a monitor UI 70 including a list screen 79. When the UI unit 51 detects that the switching button 76 is operated through the input unit 3, the UI unit 51 displays a list screen 79 for displaying the measurement results and the calculation results in a list format on the display unit 2. When the switching button 76 is operated again, the UI unit 51 switches the list screen 79 to the monitor screen 78.

●モニターUIを設定するための設定UI
(1)基本設定(S11)
・センサ設定
作成部60は入力部3を通じて設定ボタン71が操作されたことを検知すると、モニター画面78を設定したり作成したりするためのユーザインターフェースを表示部2に表示する。
● Setting UI for setting monitor UI
(1) Basic setting (S11)
Sensor Setting When the creation unit 60 detects that the setting button 71 has been operated through the input unit 3, the creation unit 60 displays a user interface for setting or creating the monitor screen 78 on the display unit 2.

図8は変位計5に関する設定を実行するためのセンサ設定UI80の一例を示している。図8が示すように、入力部3を通じて設定ボタン71が操作されると、作成部60はセンサ設定UI80を表示部2に表示する。センサ設定UI80は設定項目を選択するための4つの項目ボタン81を有している。   FIG. 8 shows an example of a sensor setting UI 80 for executing settings related to the displacement meter 5. As shown in FIG. 8, when the setting button 71 is operated through the input unit 3, the creation unit 60 displays the sensor setting UI 80 on the display unit 2. The sensor setting UI 80 has four item buttons 81 for selecting setting items.

センサ設定領域83は、コンピュータ1に接続されている変位計5の接続状態を示すアイコン、センサ名(変位計5の名称または測定結果の名称)を設定するテキスト領域、測定結果に演算を実行するかどうかの切り替え部、測定結果をいずれかのIOポートから出力するかどうかの切り替え部、モニターUI70に測定結果を表示するかどうかの切り替え部、変位計5の表示灯23に対する点滅コマンドを送信するためのボタン、センサ設定領域83から変位計5を削除することを指示するボタンなどを有している。作成部60の設定部61は、デバイス管理部54により認識されている変位計5の情報をデバイス管理部54から取得してセンサ設定領域83に列挙する。設定部61は、ダミーセンサの追加ボタン85が操作されたことを検知すると、デバイス管理部54により認識されていない仮想デバイス(ダミーデバイス)をセンサ設定領域83に追加してもよい。たとえば、ユーザが変位計5を追加で購入することを予定している場合に、事前に、モニターUI70にその変位計5の表示オブジェクトを配置することが可能となる。閾値設定領域84は、測定結果の合否を判定するための判定閾値(公差)を設定するためのUIである。測定結果を五段階評価する場合には四つの判定閾値が必要となる。たとえば、LLは公差の下限値に相当する判定閾値である。LOはLLよりも大きな判定閾値である。HIはLOよりも大きな判定閾値である。HHは公差の上限値に相当する判定閾値である。総合判定部53、制御部22または制御部32は設定された判定閾値と測定結果とを比較し、判定結果を生成してもよい。たとえば、制御部22は、測定結果がLL未満であれば、測定結果がLL未満であることを示す判定結果(LL判定出力)をコンピュータ1に送信する。制御部22は、測定結果がLO未満かつLL以上であれば、測定結果がLO未満かつLL以上であることを示す判定結果(LO判定出力)をコンピュータ1に送信する。制御部22は、測定結果がHI未満かつLO以上であれば、測定結果がHI未満かつLO以上であることを示す判定結果(GO判定出力)をコンピュータ1に送信する。制御部22は、測定結果がHH未満かつHI以上であれば、測定結果がHH未満かつHI以上であることを示す判定結果(HI判定出力)をコンピュータ1に送信する。制御部22は、測定結果がHH以上であれば、測定結果がHH以上であることを示す判定結果(HH判定出力)をコンピュータ1に送信する。制御部22は、これらの判定結果に加えて生の測定値もコンピュータ1に送信してもよい。これらの判定は制御部32や総合判定部53により実行されてもよい。閾値設定領域84はヒステリシスを設定する領域を有していてもよい。ヒステリシスを設定することで、測定結果が短時間に振動しても判定結果を安定させることが可能となる。閾値設定領域84は変位計5の測定結果を校正する領域を有していてもよい。たとえば、変位計5がワークWに接触していないときの測定結果をプリセット値(通常はゼロ)に校正することができる。校正に関するスパンやオフセットを受け付ける領域が閾値設定領域84に設けられてもよい。   The sensor setting area 83 executes an operation on an icon indicating a connection state of the displacement meter 5 connected to the computer 1, a text area for setting a sensor name (a name of the displacement meter 5 or a measurement result), and a measurement result. A switching unit for determining whether or not to output the measurement result from any of the IO ports, a switching unit for determining whether or not to display the measurement result on the monitor UI 70, and a blinking command for the indicator lamp 23 of the displacement meter 5 And a button for instructing to delete the displacement meter 5 from the sensor setting area 83. The setting unit 61 of the creating unit 60 acquires information on the displacement meter 5 recognized by the device management unit 54 from the device management unit 54 and lists the information in the sensor setting area 83. When detecting that the dummy sensor addition button 85 is operated, the setting unit 61 may add a virtual device (dummy device) that is not recognized by the device management unit 54 to the sensor setting area 83. For example, when the user plans to purchase the displacement meter 5 additionally, the display object of the displacement meter 5 can be arranged on the monitor UI 70 in advance. The threshold setting area 84 is a UI for setting a determination threshold (tolerance) for determining whether or not the measurement result is acceptable. When the measurement result is evaluated in five stages, four determination threshold values are required. For example, LL is a determination threshold corresponding to the lower limit value of the tolerance. LO is a determination threshold value larger than LL. HI is a determination threshold value larger than LO. HH is a determination threshold corresponding to the upper limit value of the tolerance. The comprehensive determination unit 53, the control unit 22, or the control unit 32 may compare the set determination threshold value with the measurement result to generate a determination result. For example, if the measurement result is less than LL, the control unit 22 transmits a determination result (LL determination output) indicating that the measurement result is less than LL to the computer 1. If the measurement result is less than LO and greater than or equal to LL, the control unit 22 transmits a determination result (LO determination output) indicating that the measurement result is less than LO and greater than or equal to LL to the computer 1. If the measurement result is less than HI and greater than or equal to LO, the control unit 22 transmits a determination result (GO determination output) indicating that the measurement result is less than HI and greater than or equal to LO to the computer 1. If the measurement result is less than HH and greater than or equal to HI, the control unit 22 transmits a determination result (HI decision output) indicating that the measurement result is less than HH and greater than or equal to HI to the computer 1. If the measurement result is HH or higher, the control unit 22 transmits a determination result (HH determination output) indicating that the measurement result is HH or higher to the computer 1. The control unit 22 may transmit raw measurement values to the computer 1 in addition to these determination results. These determinations may be executed by the control unit 32 or the comprehensive determination unit 53. The threshold setting area 84 may have an area for setting hysteresis. By setting the hysteresis, it is possible to stabilize the determination result even if the measurement result vibrates in a short time. The threshold setting area 84 may have an area for calibrating the measurement result of the displacement meter 5. For example, the measurement result when the displacement meter 5 is not in contact with the workpiece W can be calibrated to a preset value (usually zero). An area for accepting a span or offset for calibration may be provided in the threshold setting area 84.

なお、モニターボタン82は、モニターUI70を表示部2に表示させるためのボタンである。カスタムボタン86はカスタム設定UIを表示部2に表示させるためのボタンである。   The monitor button 82 is a button for displaying the monitor UI 70 on the display unit 2. The custom button 86 is a button for displaying the custom setting UI on the display unit 2.

設定部61は入力部3を通じて設定された設定内容を設定データ44として記憶部42に保存する。   The setting unit 61 stores the setting content set through the input unit 3 in the storage unit 42 as setting data 44.

・演算設定
図9は演算設定UI90の一例を示している。演算設定UI90は設定項目を選択するための4つの項目ボタン81を有している。図9が示すように、入力部3を通じて演算設定ボタンが操作されると、設定部61は演算設定UI90を表示部2に表示する。
Calculation Setting FIG. 9 shows an example of the calculation setting UI 90. The calculation setting UI 90 has four item buttons 81 for selecting setting items. As shown in FIG. 9, when the calculation setting button is operated through the input unit 3, the setting unit 61 displays the calculation setting UI 90 on the display unit 2.

追加ボタン91が操作されると、設定部61は演算設定領域92に演算設定を追加する。演算設定には、演算設定に付与される名前、演算の種類を示す情報、演算に使用される変位計の名称などが含まれている。編集ボタン95が操作されると、設定部61は演算内容を設定するためのダイアログボックスを表示部2に表示する。   When the add button 91 is operated, the setting unit 61 adds calculation settings to the calculation setting area 92. The calculation setting includes a name given to the calculation setting, information indicating the type of calculation, a name of a displacement meter used for the calculation, and the like. When the edit button 95 is operated, the setting unit 61 displays a dialog box for setting the calculation contents on the display unit 2.

図10は演算内容を設定するためのダイアログボックス96の一例を示す図である。プルダウンメニュー97は演算の種類をリスト形式で表示するUIである。ダイアログボックス96は、演算設定に付与される名前を入力するためのテキストボックスを有していてもよい。プルダウンメニュー98は、選択された種類の演算に測定結果が利用される変位計5を選択するためのUIである。設定部61は、選択された種類の演算に応じて複数のプルダウンメニュー98をダイアログボックス96に配置してもよい。設定部61はセンサ設定領域83に列挙されている変位計5の一覧からプルダウンメニュー98を生成する。設定部61はプルダウンメニュー98から選択された変位計5の測定結果を、プルダウンメニュー97から選択された演算に使用するよう設定データ44を作成する。なお、図10に示されているダイアログボックス96は、2つの変位計5の測定結果X1とX2とを加算してワークWの厚みを演算する厚み演算を設定するためのダイアログボックスである。演算の種類としては、たとえば、最大値演算、最小値演算、平坦度演算、平均値演算などがある。最大値演算とは、複数の変位計5から取得された測定値のうち最大値を求める演算である。最小値演算とは、複数の変位計5から取得された測定値のうち最小値を求める演算である。平坦度演算とは、最大値と最小値との差を平坦度として求める演算である。平均値演算は、複数の変位計5から取得された測定値の平均値を求める演算である。さらに、ワークWの表面のねじれや反りを求める演算が採用されてもよい。   FIG. 10 is a diagram showing an example of a dialog box 96 for setting calculation contents. A pull-down menu 97 is a UI for displaying the type of calculation in a list format. The dialog box 96 may have a text box for inputting a name given to the calculation setting. The pull-down menu 98 is a UI for selecting the displacement meter 5 whose measurement result is used for the selected type of calculation. The setting unit 61 may arrange a plurality of pull-down menus 98 in the dialog box 96 according to the selected type of calculation. The setting unit 61 generates a pull-down menu 98 from the list of displacement meters 5 listed in the sensor setting area 83. The setting unit 61 creates the setting data 44 so that the measurement result of the displacement meter 5 selected from the pull-down menu 98 is used for the calculation selected from the pull-down menu 97. A dialog box 96 shown in FIG. 10 is a dialog box for setting a thickness calculation for calculating the thickness of the workpiece W by adding the measurement results X1 and X2 of the two displacement meters 5. Examples of the types of calculation include maximum value calculation, minimum value calculation, flatness calculation, average value calculation, and the like. The maximum value calculation is an operation for obtaining the maximum value among the measurement values acquired from the plurality of displacement meters 5. The minimum value calculation is an operation for obtaining the minimum value among the measurement values acquired from the plurality of displacement meters 5. The flatness calculation is an operation for obtaining the difference between the maximum value and the minimum value as the flatness. The average value calculation is an operation for obtaining an average value of measurement values acquired from the plurality of displacement meters 5. Furthermore, the calculation which calculates | requires the twist and curvature of the surface of the workpiece | work W may be employ | adopted.

設定部61は入力部3を通じて設定された設定内容を設定データ44として記憶部42に保存する。   The setting unit 61 stores the setting content set through the input unit 3 in the storage unit 42 as setting data 44.

・入出力設定
図11は入出力設定を実行するための入出力設定UI100を示している。入出力設定UI100は、コンピュータ1に接続されている外部機器(例:PLC)などに信号を出力する出力設定や外部機器から信号を入力する入力設定などを実行するためのUIである。
Input / output setting FIG. 11 shows an input / output setting UI 100 for executing input / output setting. The input / output setting UI 100 is a UI for executing an output setting for outputting a signal to an external device (for example, PLC) connected to the computer 1 or an input setting for inputting a signal from the external device.

ここで、IN設定の項目に表示されている「最小入力時間」とは、ON信号の最低保持時間のことである。最小入力時間以上にわたり信号が継続して入力されていなければ、当該信号はON信号とみなされない。ノイズが多い環境下では、誤ってONと判断してしまうことを防ぐため、「最小入力時間」を相対的に長く設定される。このように最小入力時間以上にわたり信号が入力されて初めてONと判断される。「ロギングトリガに使用する」のチェックをいれると、チェックを入れた入力項目がロギングに対するトリガーとなる。なお、Switch1とIN1とはどちらの操作でも信号入力と判断するOR条件としてある。「プリセットに使用する」のチェックを入れると、IN2の入力でプリセットを行うことができる。   Here, the “minimum input time” displayed in the IN setting item is the minimum holding time of the ON signal. If the signal is not continuously input over the minimum input time, the signal is not regarded as an ON signal. In a noisy environment, the “minimum input time” is set relatively long in order to prevent erroneous determination of ON. In this way, it is determined that the signal is ON only when a signal is input over the minimum input time. When “Use for logging trigger” is checked, the checked input item becomes a trigger for logging. Note that Switch 1 and IN 1 are OR conditions for determining signal input in either operation. If “Use for preset” is checked, presetting can be performed by inputting IN2.

・ロギング設定
図12はロギング設定を実行するためのロギング設定UI101を示している。ロギングとはCPU40がワークWの総合判定結果や測定結果をログとして記憶部42に記録することをいう。ロギング設定UI101には、ロギングを開始するためのトリガーの設定や、表計算ソフトウエアへのログファイルの転送設定、ログファイルに記録する記録項目(転送項目)、ログファイルのファイル名の設定などを実行するためのUIが含まれている。トリガーとしては、入力部3であるキーボードから所定のキー入力が実行されたことは、コンピュータ1に接続されたフットスイッチが踏まれたことであってもよい。
Logging Setting FIG. 12 shows a logging setting UI 101 for executing logging setting. Logging means that the CPU 40 records the comprehensive determination result and measurement result of the work W in the storage unit 42 as a log. The logging setting UI 101 includes settings for triggers for starting logging, log file transfer settings to spreadsheet software, record items to be recorded in the log file (transfer items), log file name settings, and the like. A UI for execution is included. As a trigger, execution of a predetermined key input from the keyboard which is the input unit 3 may be that a foot switch connected to the computer 1 is stepped on.

(2)カスタマイズ(S12)
・カスタムモニタ設定
図13はカスタマイズUI110を示す図である。図6に示したようなモニターUI70はカスタマイズUI110を通じてユーザにより作成される。作成部60のカスタム部62は、カスタムボタン86が操作されるとカスタマイズUI110を表示部2に表示する。
(2) Customization (S12)
Custom Monitor Setting FIG. 13 is a diagram showing the customized UI 110. The monitor UI 70 as shown in FIG. 6 is created by the user through the customization UI 110. The custom unit 62 of the creating unit 60 displays the customization UI 110 on the display unit 2 when the custom button 86 is operated.

図13はカスタマイズUI110の初期画面を示している。背景色変更ボタン111が操作されると、色変更部64は背景色を選択するためのカラーパレットを含むダイアログボックスを表示部2に表示し、入力部3を通じて選択された背景色をモニター画面に設定する。画像変更ボタン112が操作されると、画像変更部65は画像ファイルを選択するためのダイアログボックスを表示部2に表示し、入力部3を通じて選択された画像ファイルをモニター画面に設定する。   FIG. 13 shows an initial screen of the customization UI 110. When the background color change button 111 is operated, the color change unit 64 displays a dialog box including a color palette for selecting a background color on the display unit 2, and the background color selected through the input unit 3 is displayed on the monitor screen. Set. When the image change button 112 is operated, the image change unit 65 displays a dialog box for selecting an image file on the display unit 2 and sets the image file selected through the input unit 3 on the monitor screen.

図14はワークWの画像と変位計5の画像とを含む画像ファイルが選択され、ワークWの画像と変位計5の画像とが画像領域73にレンダリングされたカスタマイズUI110を示している。なお、変位計5の画像はオプションに過ぎず、表示されなくてもよい。一般に、ワークWを製造するユーザはワークWの設計図面や画像のファイルを有している。したがって、ユーザは、容易にワークWの画像を記録した画像ファイルをモニター画面78に対してインポートすることができるであろう。なお、変位計5の画像がさらに含まれていれば、ユーザは、複数の変位計5がそれぞれワークWのどの部位を測定しているかを視覚的に把握可能となる。ユーザはデジタルカメラで画像ファイルを生成してもよい。ユーザは、治具に複数の変位計5を固定し、サンプルのワークWに複数の変位計5を宛がい、複数の変位計5を宛がわれたワークWをデジタルカメラで撮影し、画像ファイルを生成してもよい。   FIG. 14 shows a customized UI 110 in which an image file including the image of the workpiece W and the image of the displacement meter 5 is selected, and the image of the workpiece W and the image of the displacement meter 5 are rendered in the image area 73. Note that the image of the displacement meter 5 is merely an option and may not be displayed. In general, a user who manufactures a workpiece W has a design drawing of the workpiece W and an image file. Therefore, the user can easily import an image file in which an image of the work W is recorded on the monitor screen 78. If the image of the displacement meter 5 is further included, the user can visually grasp which part of the workpiece W each of the plurality of displacement meters 5 measures. The user may generate an image file with a digital camera. A user fixes a plurality of displacement meters 5 to a jig, assigns a plurality of displacement meters 5 to a sample workpiece W, photographs the workpiece W assigned to a plurality of displacement meters 5 with a digital camera, and outputs an image file. May be generated.

図15は測定結果や演算結果を表示する表示オブジェクト74がモニター画面78に配置されたことを示している。部品配置部63の選択部66は、測定結果や演算結果の表示形式を選択する選択ボタン113を操作されると、操作された選択ボタン113に対応する表示形式の表示オブジェクト74をモニター画面78に配置する。ここでは、3種類の表示形式が例示されている。一つ目は横に伸びるバーで測定結果を表示するバーグラフタイプの表示形式である。二つ目は縦に伸びるバーで測定結果を表示するバーグラフタイプの表示形式である。三つめは数値にて測定結果を表示する表示形式である。これらの表示形式は単なる例示に過ぎない。このように表示形式ごとに選択ボタン113がカスタマイズUI110に設けられていてもよい。ポインタ77により表示オブジェクト74がドラッグされたことを検知すると、選択部66はドラッグ量に応じて表示オブジェクト74の表示位置を変更する。   FIG. 15 shows that the display object 74 for displaying the measurement result and the calculation result is arranged on the monitor screen 78. When the selection unit 66 of the component placement unit 63 is operated on the selection button 113 for selecting the display format of the measurement result or calculation result, the display object 74 having the display format corresponding to the operated selection button 113 is displayed on the monitor screen 78. Deploy. Here, three types of display formats are illustrated. The first is a bar graph type display format in which measurement results are displayed by bars extending horizontally. The second is a bar graph type display format in which the measurement result is displayed by a bar extending vertically. The third is a display format for displaying the measurement results numerically. These display formats are merely examples. Thus, the selection button 113 may be provided in the customization UI 110 for each display format. When it is detected that the display object 74 is dragged by the pointer 77, the selection unit 66 changes the display position of the display object 74 according to the drag amount.

図16は表示オブジェクトの設定ダイアログボックス116を示している。ポインタ77により表示オブジェクト74がクリックまたはダブルクリックされると、選択部66は設定ダイアログボックス116を表示部2に表示する。選択部66は、センサ設定領域83に列挙されている変位計5や演算設定の一覧から設定ダイアログボックス116を生成する。選択部66は、ポインタ77により選択された変位計5や演算設定を表示オブジェクト74に関連付ける。たとえば、設定データ44において、表示オブジェクト74の部品IDと変位計5の識別情報(例:ヘッドID)とが関連づけられる。これにより、表示オブジェクト74には関連付けられている変位計5の測定結果や演算結果がレンダリングされる。選択部66は、変位計5の測定結果をリアルタイムで表示オブジェクト74にレンダリングしてもよい。つまり、作成部60は、モニターボタン82が押されてモニターUI70に遷移しなくても、カスタマイズUI110上で測定結果をリアルタイムで表示オブジェクト74に表示させてもよい。また、表示オブジェクト74が配置されると、ユーザの操作を受け付けることなく表示部2に設定ダイアログボックス116が表示され、ユーザに設定を入力するよう促すように構成してもよい。   FIG. 16 shows a display object setting dialog box 116. When the display object 74 is clicked or double-clicked by the pointer 77, the selection unit 66 displays the setting dialog box 116 on the display unit 2. The selection unit 66 generates a setting dialog box 116 from the displacement meter 5 listed in the sensor setting area 83 and a list of calculation settings. The selection unit 66 associates the displacement meter 5 and calculation settings selected by the pointer 77 with the display object 74. For example, in the setting data 44, the part ID of the display object 74 and the identification information (eg, head ID) of the displacement meter 5 are associated with each other. As a result, the measurement result or calculation result of the displacement meter 5 associated with the display object 74 is rendered. The selection unit 66 may render the measurement result of the displacement meter 5 on the display object 74 in real time. In other words, the creation unit 60 may display the measurement result on the display object 74 in real time on the customization UI 110 even if the monitor button 82 is pressed and the monitor UI 70 is not changed. Further, when the display object 74 is arranged, the setting dialog box 116 may be displayed on the display unit 2 without accepting a user operation, and the user may be prompted to input the setting.

図17は複数の表示オブジェクト74が配置されたモニター画面78を示している。選択部66は、選択ボタン113が操作されるたびに表示オブジェクト74をモニター画面78に追加的に配置して行く。このように一つのモニター画面上に複数の表示オブジェクト74が配置されてもよい。   FIG. 17 shows a monitor screen 78 on which a plurality of display objects 74 are arranged. The selection unit 66 additionally arranges the display object 74 on the monitor screen 78 each time the selection button 113 is operated. As described above, a plurality of display objects 74 may be arranged on one monitor screen.

図18は引き出し線75の設定UIを示している。引き出し線配置部68は、引き出し線ボタン115が操作されたことを検知すると、引き出し線75をモニター画面に配置する。引き出し線75の位置と形状はポインタ77による操作に応じて変更される。つまり、引き出し線配置部68は、ポインタ77により引き出し線75の中央付近がドラッグされると、ドラッグ量に応じて引き出し線75の全体の位置を変更(平行移動)する。引き出し線配置部68は、ポインタ77により引き出し線75の端部付近がドラッグされると、ドラッグ量に応じて引き出し線75の端部の位置を変更する。   FIG. 18 shows a setting UI for the lead line 75. When the leader line arrangement unit 68 detects that the leader line button 115 has been operated, the leader line arrangement unit 68 arranges the leader line 75 on the monitor screen. The position and shape of the lead line 75 are changed according to the operation by the pointer 77. That is, when the vicinity of the center of the leader line 75 is dragged by the pointer 77, the leader line arrangement unit 68 changes (translates) the entire position of the leader line 75 according to the drag amount. When the vicinity of the end portion of the lead line 75 is dragged by the pointer 77, the lead line arrangement unit 68 changes the position of the end portion of the lead line 75 according to the drag amount.

図19は他の種類の引き出し線75を示している。引き出し線配置部68は、複数の種類の引き出し線のうちユーザにより選択された種類の引き出し線をモニター画面に配置してもよい。たとえば、図19が示すように、各引き出し線の種類ごとに引き出し線ボタン115が配置され、どの引き出し線ボタン115が押されたかに応じて引き出し線配置部68は選択された引き出し線の種類を特定してもよい。図19において示されたH形状の引き出し線75は、厚みや二点間の距離などをユーザに示唆するのに役立つであろう。   FIG. 19 shows another type of lead wire 75. The leader line arrangement unit 68 may arrange a kind of leader line selected by the user among a plurality of kinds of leader lines on the monitor screen. For example, as shown in FIG. 19, a leader line button 115 is arranged for each type of leader line, and the leader line arrangement unit 68 selects the type of leader line selected according to which leader line button 115 is pressed. You may specify. The H-shaped lead line 75 shown in FIG. 19 will be useful for informing the user of the thickness, the distance between two points, and the like.

図20は総合判定結果を表示する表示オブジェクトである総合判定部品72をモニター画面に配置するUIを示している。総合判定配置部67は総合判定ボタン114が操作されると、総合判定部品72をモニター画面に配置する。総合判定配置部67はポインタ77により総合判定部品72がドラッグされると、ドラッグ量に応じて総合判定部品72の表示位置を変更する。   FIG. 20 shows a UI for arranging the comprehensive determination component 72, which is a display object for displaying the comprehensive determination result, on the monitor screen. When the comprehensive determination button 114 is operated, the comprehensive determination arrangement unit 67 arranges the comprehensive determination component 72 on the monitor screen. When the comprehensive determination component 72 is dragged by the pointer 77, the comprehensive determination arrangement unit 67 changes the display position of the comprehensive determination component 72 according to the drag amount.

・総合判定に使用される変位計(測定結果や演算結果)の選択
上述したようにCPU40の総合判定部53は工場で製造されたワークWが合格品かどうかを総合的に判定する。この総合判定に用いられる変位計(測定結果)や演算結果もユーザによって選択される。
-Selection of the displacement meter (measurement result and calculation result) used for comprehensive determination As mentioned above, the comprehensive determination part 53 of CPU40 comprehensively determines whether the workpiece | work W manufactured in the factory is a pass product. The displacement meter (measurement result) and calculation result used for this comprehensive determination are also selected by the user.

図21は総合判定配置部67が表示部2に表示するダイアログボックス120を示している。総合判定部品72がポインタ77によりクリックまたはダブルクリックされると、総合判定配置部67がダイアログボックス120を表示部2に表示する。総合判定配置部67はセンサ設定領域83に列挙された変位計5と演算結果との一覧を設定データ44から取得してダイアログボックス120にレンダリングする。この例では、総合判定により使用される変位計5と演算結果とのそれぞれが、対応するチェックボックスにチェックを入れることで選択される。総合判定部53は、基本的に、選択された変位計5の測定結果と演算結果とのすべてが判定基準を満たしているときにワークWを合格品と判定する。総合判定にはこのような論理積(AND)が採用されることが一般的であるが、これは必須ではない。ダイアログボックス120の代わりに次のようなUIが採用されてもよい。   FIG. 21 shows a dialog box 120 displayed on the display unit 2 by the comprehensive determination arrangement unit 67. When the comprehensive determination component 72 is clicked or double-clicked with the pointer 77, the comprehensive determination placement unit 67 displays the dialog box 120 on the display unit 2. The comprehensive determination arrangement unit 67 obtains a list of the displacement meters 5 listed in the sensor setting area 83 and the calculation results from the setting data 44 and renders them in the dialog box 120. In this example, each of the displacement meter 5 and the calculation result used for the comprehensive determination is selected by checking a corresponding check box. The general determination unit 53 basically determines that the workpiece W is an acceptable product when all of the measurement results and calculation results of the selected displacement meter 5 satisfy the determination criteria. Such a logical product (AND) is generally adopted for the comprehensive determination, but this is not essential. Instead of the dialog box 120, the following UI may be adopted.

図22(A)は総合判定配置部67が表示部2に表示する他のダイアログボックス121を示している。総合判定部品72がポインタ77によりクリックまたはダブルクリックされると、総合判定配置部67がダイアログボックス121を表示部2に表示する。総合判定配置部67はセンサ設定領域83に列挙された変位計5と演算結果との一覧を設定データ44から取得してダイアログボックス121にレンダリングする。論理選択部122は、総合判定を論理積により実行するのか論理和により実行するのかを選択するためのラジオボタンを有している。対象選択部123は、変位計5(測定結果)と演算結果のそれぞれについて総合判定に使用するかどうかや、個別の判定結果を反転して総合判定に使用するかどうかなどを選択するためのラジオボタンを有している。   FIG. 22A shows another dialog box 121 displayed on the display unit 2 by the comprehensive determination arrangement unit 67. When the comprehensive determination component 72 is clicked or double-clicked with the pointer 77, the comprehensive determination placement unit 67 displays the dialog box 121 on the display unit 2. The comprehensive determination arrangement unit 67 obtains a list of the displacement meter 5 listed in the sensor setting area 83 and the calculation result from the setting data 44 and renders it in the dialog box 121. The logic selection unit 122 has a radio button for selecting whether to execute comprehensive judgment by logical product or logical sum. The object selection unit 123 is a radio for selecting whether the displacement meter 5 (measurement result) and the calculation result are used for comprehensive determination, whether individual determination results are inverted and used for comprehensive determination, and the like. Has a button.

図22(B)は設定部61が表示部2に表示するセンサ設定領域83を示している。上述したセンサ設定領域83に列挙されている変位計5(測定結果)や演算結果のそれぞれを総合判定に使用するかどうかを選択するための選択ボタン129がセンサ設定領域83に設けられてもよい。設定部61はポインタ77により選択ボタン129がクリックされるごとに、選択のON/OFFを切り替える。   FIG. 22B shows a sensor setting area 83 displayed on the display unit 2 by the setting unit 61. A selection button 129 for selecting whether or not to use each of the displacement meter 5 (measurement result) and the calculation result listed in the sensor setting area 83 in the comprehensive determination may be provided in the sensor setting area 83. . Each time the selection button 129 is clicked with the pointer 77, the setting unit 61 switches selection ON / OFF.

図22(C)は選択部66がカスタマイズUI110に表示する表示オブジェクト74に選択ボタン130が設けられた例を示している。選択部66はポインタ77により選択ボタン130がクリックされるごとに、選択のON/OFFを切り替える。これにより、各変位計5の測定結果や演算結果が総合判定に使用されるかどうかを、より直感的に選択可能となろう。   FIG. 22C shows an example in which the selection button 130 is provided on the display object 74 that the selection unit 66 displays on the customization UI 110. The selection unit 66 switches selection ON / OFF each time the selection button 130 is clicked by the pointer 77. Thereby, it will be possible to more intuitively select whether or not the measurement results and calculation results of each displacement meter 5 are used for comprehensive determination.

なお、図22(C)が示すように各変位計5の測定結果や演算結果を表示する表示オブジェクト74には、変位計5や演算結果の名称を示すオブジェクト124、測定結果や演算結果(数値)を示すオブジェクト125、測定結果や演算結果を示すバー126、公差の下限値を示すオブジェクト127、公差の上限値を示すオブジェクト128などを含んでいてもよい。とりわけ、バー126と公差とを比較することで、ワークWの測定結果が公差に対して余裕があるのか、余裕がないかなどをユーザは判定しやすくなろう。バー126の表示色は測定結果や演算結果が公差内であれば第一の色(例:緑)で表示され、測定結果や演算結果が公差内でなければ第二の色(例:赤)で表示されてもよい。   As shown in FIG. 22C, the display object 74 for displaying the measurement result and calculation result of each displacement meter 5 includes the object 124 indicating the name of the displacement meter 5 and the calculation result, the measurement result and calculation result (numerical value). ), A bar 126 indicating measurement results and calculation results, an object 127 indicating a lower limit value of tolerance, an object 128 indicating an upper limit value of tolerance, and the like. In particular, by comparing the bar 126 with the tolerance, the user can easily determine whether the measurement result of the workpiece W has a margin with respect to the tolerance or not. The display color of the bar 126 is displayed in the first color (eg, green) if the measurement result or calculation result is within the tolerance, and the second color (eg, red) if the measurement result or calculation result is not within the tolerance. May be displayed.

<まとめ1>
以上で説明したように変位計5は測定対象物に対する距離または測定対象物の変位を測定する変位計の一例である。測定対象物の一例はワークWである。コンピュータ1は複数の変位計5と接続され、複数の変位計を5制御するコンピュータの一例である。プログラム43はコンピュータ1において実行されるプログラムの一例である。コンピュータ1のCPU40がプログラム43を実行することで、コンピュータ1は各変位計5の測定結果をユーザがモニターするためのモニター画面を作成する作成手段(例:作成部60)として機能する。作成部60やカスタム部62、部品配置部63は、ワークWの画像に対して、各変位計の測定結果を表示するための表示オブジェクト74を配置する配置手段として機能する。図7や図20などが示すように、表示オブジェクトの一つとしては複数の測定結果と公差との比較から判定される複数の測定結果の合否を論理演算して得られる測定対象物の合否を表示する表示オブジェクト(例:総合判定部品72)が含まれていてもよい。このように複数の変位計5をコンピュータ1に接続して構成された検査システムにおいてユーザはワークWの合否を容易に視認できるようになるため、ユーザビリティが改善するであろう。
<Summary 1>
As described above, the displacement meter 5 is an example of a displacement meter that measures the distance to the measurement object or the displacement of the measurement object. An example of the measurement object is a workpiece W. The computer 1 is an example of a computer that is connected to a plurality of displacement meters 5 and controls the plurality of displacement meters 5. The program 43 is an example of a program executed on the computer 1. When the CPU 40 of the computer 1 executes the program 43, the computer 1 functions as a creation unit (for example, a creation unit 60) that creates a monitor screen for the user to monitor the measurement result of each displacement meter 5. The creation unit 60, the custom unit 62, and the component placement unit 63 function as a placement unit that places a display object 74 for displaying the measurement result of each displacement meter on the image of the workpiece W. As shown in FIG. 7 and FIG. 20, as one of the display objects, the pass / fail of a measurement object obtained by logically calculating the pass / fail of a plurality of measurement results determined from a comparison between a plurality of measurement results and tolerances is shown. A display object to be displayed (eg, comprehensive judgment component 72) may be included. In the inspection system configured by connecting the plurality of displacement meters 5 to the computer 1 in this way, the user can easily see whether the workpiece W is accepted or not, so that the usability will be improved.

図14などに関連して説明したように画像変更部65や画像変更ボタン112はワークWの画像をインポートするインポート手段として機能する。これによりユーザはどのようなワークWを検査しているかを、コンピュータ1を通じて理解しやすくなろう。   As described with reference to FIG. 14 and the like, the image change unit 65 and the image change button 112 function as import means for importing the image of the work W. This makes it easier for the user to understand what kind of work W is being inspected through the computer 1.

図15や図22(C)などを用いて説明したように、各変位計5の測定結果を表示する表示オブジェクト74は、測定結果である測定値と、測定値に対する公差とを示すバーグラフであってもよい。これによりユーザは測定結果と公差との関係を視覚的に把握しやすくなろう。バーグラフに代えてゲージが採用されてもよい。   As described with reference to FIGS. 15 and 22C and the like, the display object 74 that displays the measurement result of each displacement meter 5 is a bar graph indicating the measurement value that is the measurement result and the tolerance for the measurement value. There may be. This makes it easier for the user to visually grasp the relationship between the measurement result and the tolerance. A gauge may be employed instead of the bar graph.

図4を用いて説明したように演算部52は測定値と公差とを演算することで演算結果を取得する演算手段として機能する。なお、演算部52は各変位計5に設けられていてもよい。総合判定部53は演算結果に基づき測定対象物の合否を判定する判定手段として機能する。   As described with reference to FIG. 4, the calculation unit 52 functions as a calculation unit that acquires the calculation result by calculating the measurement value and the tolerance. The calculation unit 52 may be provided in each displacement meter 5. The comprehensive determination unit 53 functions as a determination unit that determines pass / fail of the measurement object based on the calculation result.

図6などを用いて説明したようにモニター画面78は、各変位計5の測定結果を表示する表示オブジェクト74とワークWの画像とを含む第一モニター画面の一例である。図7を用いて説明したように、一覧画面79は、ワークWの画像を含まない、各変位計5の測定結果をリスト表示する第二モニター画面の一例である。切り替えボタン76は、モニター画面78と一覧画面79とを切り替える切り替え手段として機能する。ユーザは自己の好みに応じて測定結果を表示するユーザインターフェースを切り替えることが可能となる。   As described with reference to FIG. 6 and the like, the monitor screen 78 is an example of a first monitor screen including a display object 74 that displays the measurement result of each displacement meter 5 and an image of the workpiece W. As described with reference to FIG. 7, the list screen 79 is an example of a second monitor screen that does not include an image of the workpiece W and displays a list of measurement results of the displacement meters 5. The switching button 76 functions as switching means for switching between the monitor screen 78 and the list screen 79. The user can switch the user interface for displaying the measurement result according to his / her preference.

上述したようにユーザは入力部3を通じてポインタ77を操作することで様々な表示オブジェクトの位置を変更する。つまり、カスタム部62や部品配置部63はユーザにより入力される変更指示に応じて表示オブジェクトの配置を変更する配置変更手段として機能する。   As described above, the user changes the positions of various display objects by operating the pointer 77 through the input unit 3. That is, the custom unit 62 and the component arrangement unit 63 function as an arrangement changing unit that changes the arrangement of the display object in accordance with a change instruction input by the user.

作成部60がユーザ操作に応じて作成し、記憶部42に記憶させる設定データ44は、モニター画面78を構成するワークWの画像と、表示オブジェクトの位置とを示す設定ファイルの一例である。一般に設定データ44はワークWの画像を格納した画像ファイルの名称やファイルパス、表示オブジェクトの位置、表示オブジェクトに表示される情報、変位計5の識別情報など様々な情報を一体的に管理するプロジェクトファイルとなろう。   The setting data 44 created by the creation unit 60 in response to a user operation and stored in the storage unit 42 is an example of a setting file indicating the image of the work W constituting the monitor screen 78 and the position of the display object. In general, the setting data 44 is a project that integrally manages various information such as the name and file path of the image file storing the image of the work W, the position of the display object, the information displayed on the display object, and the identification information of the displacement meter 5. Become a file.

図2や図3などを用いて説明したように、変位計5は、ワークWに接触するヘッドHと、ヘッドHにより測定されたワークWの変位を示す電気信号をコンピュータ1に送信する送信手段とを有する。たとえば、ヘッドH、中継部10、第一中継部7および第二中継部8のいずれかに実装される通信部24または通信部34は送信手段の一例である。   As described with reference to FIGS. 2 and 3, the displacement meter 5 includes the head H that contacts the workpiece W and a transmission unit that transmits to the computer 1 an electrical signal indicating the displacement of the workpiece W measured by the head H. And have. For example, the communication unit 24 or the communication unit 34 mounted on any of the head H, the relay unit 10, the first relay unit 7, and the second relay unit 8 is an example of a transmission unit.

図23(A)が示すように、作成部60は、ヘッドHから取得した識別情報(例:ヘッドID)と、表示オブジェクトの識別情報(例:部品ID)とを関連付ける部品管理テーブル131を作成して記憶部42に記憶させてもよい。作成部60は、デバイス管理部54を通じて変位計5に割り当てられた通信ID(COMポート番号などの通信ポートの番号)を取得する。作成部60は、取得した通信ポートの番号を元にして変位計5に識別情報を要求するためのコマンドを送信する。ヘッドHに対する要求コマンドと、中継部10などのアンプに対する要求コマンドとは別のものであってもよい。上述したように制御部22は要求コマンドを受信すると記憶部25からヘッドIDを読み出してコンピュータ1に送信する。同様に制御部32は要求コマンドを受信すると記憶部35から中継器ID(アンプID)を読み出してコンピュータ1に送信する。なお、複数の変位計5により取得された複数の測定結果を演算することで取得された演算結果を表示する表示オブジェクト74については、演算結果を取得するために使用される複数の変位計5のヘッドIDが部品IDに関連付けられる。作成部60は、複数の変位計5のヘッドIDに関連付けられている中継器IDや通信IDも部品IDに関連付けてもよい。   As shown in FIG. 23A, the creation unit 60 creates a component management table 131 that associates the identification information (eg, head ID) acquired from the head H and the identification information (eg, component ID) of the display object. Then, it may be stored in the storage unit 42. The creation unit 60 acquires a communication ID (a communication port number such as a COM port number) assigned to the displacement meter 5 through the device management unit 54. The creation unit 60 transmits a command for requesting identification information to the displacement meter 5 based on the acquired communication port number. The request command for the head H and the request command for the amplifier such as the relay unit 10 may be different. As described above, when receiving the request command, the control unit 22 reads the head ID from the storage unit 25 and transmits it to the computer 1. Similarly, when receiving the request command, the control unit 32 reads the repeater ID (amplifier ID) from the storage unit 35 and transmits it to the computer 1. In addition, about the display object 74 which displays the calculation result acquired by calculating the several measurement result acquired by the several displacement meter 5, about the several displacement meter 5 used in order to acquire a calculation result The head ID is associated with the component ID. The creation unit 60 may also associate the relay ID and the communication ID associated with the head IDs of the plurality of displacement meters 5 with the component ID.

図23(B)が示すようにデバイス管理部54は各変位計5を管理するためのデバイス管理テーブル132を作成し、記憶部42に記憶させる。デバイス管理テーブル132は設定データ44の一部であってもよい。デバイス管理部54は通信ID、中継器ID、ヘッドIDを関連付けてデバイス管理テーブル132に登録する。たとえば、デバイス管理部54はデバイスマネージャから取得した各通信IDに対して順番にコマンドを発行することで、中継器ID、ヘッドIDを取得して通信ポートの番号に関連付ける。これにより、デバイス管理テーブル132が作成される。なお、図8に示したセンサ設定UI80において再読み込みボタンが操作されたことを検知すると、デバイス管理部54は、同様の手順を実行してデバイス管理テーブル132を更新してもよい。   As shown in FIG. 23B, the device management unit 54 creates a device management table 132 for managing each displacement meter 5 and stores it in the storage unit 42. The device management table 132 may be a part of the setting data 44. The device management unit 54 registers the communication ID, repeater ID, and head ID in the device management table 132 in association with each other. For example, the device management unit 54 issues a command to each communication ID acquired from the device manager in order, thereby acquiring the relay ID and the head ID and associating them with the communication port number. Thereby, the device management table 132 is created. When detecting that the reload button is operated in the sensor setting UI 80 illustrated in FIG. 8, the device management unit 54 may update the device management table 132 by executing the same procedure.

上述したように、設定部61は、ダミーセンサの追加ボタン85が操作されたことを検知すると、デバイス管理部54により認識されていない仮想デバイス(ダミーデバイス)をセンサ設定領域83に追加する。作成部60は、ダミーセンサに対していずれか表示オブジェクトを関連付けてもよい。図23(A)が示すように、中継器IDやヘッドIDについてはダミーセンサであることがわかるような特定の識別情報が付与されてもよい。   As described above, when detecting that the dummy sensor addition button 85 has been operated, the setting unit 61 adds a virtual device (dummy device) that is not recognized by the device management unit 54 to the sensor setting area 83. The creation unit 60 may associate any display object with the dummy sensor. As shown in FIG. 23A, the relay ID and head ID may be given specific identification information that can be recognized as a dummy sensor.

図6や図18、図19などを用いて説明したように部品配置部63の引き出し線配置部68はワークWの画像に対して、各変位計5の測定箇所を示す表示オブジェクトを配置してもよい。これによりユーザは各変位計5の測定箇所を視覚的に理解しやすくなろう。なお、測定箇所を示す表示オブジェクトは引き出し線であってもよい。また、このような引き出し線などの補助的な表示オブジェクトが、測定箇所またはヘッドHと、測定結果を示す表示オブジェクトとを結ぶように配置されてもよい。これにより、ユーザは、各表示オブジェクトが表示している測定結果とその測定結果を取得した変位計5との関係を視覚的に把握しやすくなろう。   As described with reference to FIG. 6, FIG. 18, FIG. 19, and the like, the lead line arrangement unit 68 of the component arrangement unit 63 arranges a display object indicating the measurement location of each displacement meter 5 on the workpiece W image. Also good. This makes it easier for the user to visually understand the measurement location of each displacement meter 5. The display object indicating the measurement location may be a lead line. Further, an auxiliary display object such as a lead line may be arranged so as to connect the measurement location or the head H and the display object indicating the measurement result. This makes it easier for the user to visually grasp the relationship between the measurement result displayed by each display object and the displacement meter 5 that acquired the measurement result.

図6などを用いて説明したように、部品配置部63の選択部66は、複数の変位計5により取得された複数の測定値に対して所定の演算を施して得られる演算結果(例:幅)を表示する表示オブジェクト74をワークWの画像に対してさらに配置してもよい。たとえば、幅などの測定値は複数の変位計5を用いなければ測定できない。したがって、複数の変位計5を用いて取得された測定値から演算により求められた演算値を表示する表示オブジェクトがモニター画面78に配置されてもよい。これにより、ユーザは、単一の変位計5では測定できないワークHの各部位の測定結果(演算値)についてもモニター画面78において確認できるようになろう。   As described with reference to FIG. 6 and the like, the selection unit 66 of the component placement unit 63 performs a calculation result obtained by performing a predetermined calculation on a plurality of measurement values acquired by the plurality of displacement meters 5 (example: A display object 74 that displays (width) may be further arranged with respect to the image of the workpiece W. For example, measurement values such as width cannot be measured unless a plurality of displacement meters 5 are used. Therefore, a display object for displaying a calculated value obtained by calculation from measured values acquired using a plurality of displacement meters 5 may be arranged on the monitor screen 78. Thereby, the user will be able to confirm on the monitor screen 78 also the measurement results (calculated values) of each part of the workpiece H that cannot be measured by the single displacement meter 5.

UI部51は、モニター画面78の作成モードからワークWの検査を実行する検査モードに切り替えられると、各変位計5の測定結果を表示オブジェクト74などにレンダリングすることでモニター画面78を表示装置(表示部2)に表示するレンダリング手段として機能してもよい。このような切り替えはモニターボタン82が操作されると実行される。このようにモニター画面78の作成モードと検査モード(モニターモード)とを有する統合環境がプログラム43によって提供されてもよい。これによりユーザは容易にモニター画面78を作成して、検査を実行することが可能となる。また、ユーザは、実際に検査を実行することでモニター画面78の改善すべき点に気付くことが多い。従来であれば、ソフトウエアベンダーに電話で改善点を伝えてソフトウエアの改良を待たねばならず、ユーザビリティに欠けていた。しかし、本実施形態であれば、ユーザは設定ボタン71を操作して即座に作成モードに切り替えてモニター画面78を修正することができるため、ユーザビリティが向上する。したがって、このような統合環境は有用であろう。   When the UI unit 51 is switched from the creation mode of the monitor screen 78 to the inspection mode for executing the inspection of the workpiece W, the UI unit 51 renders the measurement result of each displacement meter 5 on the display object 74 or the like to display the monitor screen 78 on the display device ( It may function as a rendering means for displaying on the display unit 2). Such switching is executed when the monitor button 82 is operated. As described above, the program 43 may provide an integrated environment having the monitor screen 78 creation mode and the inspection mode (monitor mode). As a result, the user can easily create the monitor screen 78 and execute the inspection. In addition, the user often notices points to be improved on the monitor screen 78 by actually executing the inspection. In the past, it was necessary to inform the software vendor of the improvement points over the phone and wait for the software to be improved. However, according to the present embodiment, the user can operate the setting button 71 to immediately switch to the creation mode and correct the monitor screen 78, so that usability is improved. Therefore, such an integrated environment would be useful.

<モニターUIの更新>
上述したように複数の変位計5がコンピュータ1に接続されて形成された検査システムではいずれかの変位計5が別の変位計5に交換される可能性がある。とりわけ、接触式のヘッドHは設計上の寿命(耐用年数)があるため、寿命を迎えたヘッドHは新品に交換されることになる。また、ユーザがヘッドHや中継部(アンプ)を誤って破損してしまうことも考えられる。このようにヘッドHなどは交換される可能性がある。図23(A)を用いて説明したように、表示オブジェクト74の部品IDはヘッドHのヘッドIDなどに関連付けられて管理されている。したがって、ヘッドH等が交換されれば、交換後のヘッドHのヘッドIDを部品IDに対して関連付ける更新作業が発生する。ユーザが手作業で更新作業を実施することは、ユーザビリティに欠けよう。また、ユーザの意図にできるだけ添うように部品管理テーブル131が自動的に更新され、モニターUIもまた自動的に更新されれば便利であろう。たとえば、部品管理テーブル131やデバイス管理テーブル132において複数の表示オブジェクト74のうち一つの表示オブジェクト74だけ、これに対応するヘッドHが見つからず、その代わりに別のヘッドHが一つ見つかることが想定される。この場合、デバイス管理部54が見つけられなくなったあるヘッドHが新たに見つかった別のヘッドHへユーザによって交換された可能性が高い。したがって、デバイス管理部54は、あるヘッドHのヘッドIDに関連付けられていた表示オブジェクト74の部品IDを、別のヘッドHのヘッドIDに関連づけてもよい。ただし、このような関連付けの更新はユーザの承諾を得てから実行されると、ユーザの意図を反映させやすいだろう。
<Updating the monitor UI>
In the inspection system formed by connecting the plurality of displacement meters 5 to the computer 1 as described above, any one of the displacement meters 5 may be replaced with another displacement meter 5. In particular, since the contact-type head H has a design life (service life), the head H that has reached the end of its life is replaced with a new one. It is also conceivable that the user accidentally breaks the head H or the relay unit (amplifier). In this way, the head H and the like may be exchanged. As described with reference to FIG. 23A, the component ID of the display object 74 is managed in association with the head ID of the head H and the like. Therefore, if the head H or the like is replaced, an update operation for associating the head ID of the replaced head H with the component ID occurs. It would be unusable for the user to perform the update work manually. In addition, it would be convenient if the parts management table 131 is automatically updated to match the user's intention as much as possible, and the monitor UI is also automatically updated. For example, in the parts management table 131 and the device management table 132, it is assumed that only one display object 74 of the plurality of display objects 74 cannot find the corresponding head H, and instead find another head H. Is done. In this case, there is a high possibility that a head H that the device management unit 54 can no longer find has been replaced by another newly found head H by the user. Therefore, the device management unit 54 may associate the component ID of the display object 74 associated with the head ID of a certain head H with the head ID of another head H. However, if such an association update is performed after obtaining the user's consent, it will easily reflect the user's intention.

なお、ある作業部屋で使用されていた検査システムが別の作業部屋に移動されることがある。移動作業を効率よく実行するために、検査システムが分解されるだろう。別の作業部屋で検査システムを再び組み立てる作業(段取り替え)において多数のヘッドHがどの中継部に接続されていたかをユーザが覚えておくことは容易ではない。移動前は第一のヘッドHと第一の中継部がペアを形成していたにもかかわらず、移動後には第一のヘッドHと第二の中継部がペアを形成することもあろう。したがって、移動の前後でヘッドHと中継部との接続関係が変わってしまったとしても、移動前に使用されていたいずれのヘッドHもいずれかの中継部を介してコンピュータ1に接続されている限りは、ユーザに追加の負担をさせることなくモニターUIが提供されるべきであろう。   An inspection system used in one work room may be moved to another work room. The inspection system will be disassembled in order to carry out the mobile work efficiently. It is not easy for the user to remember to which relay section a large number of heads H are connected in the work of reassembling the inspection system in another work room (setup change). Although the first head H and the first relay unit form a pair before the movement, the first head H and the second relay unit may form a pair after the movement. Therefore, even if the connection relationship between the head H and the relay unit is changed before and after the movement, any head H used before the movement is connected to the computer 1 via any relay unit. Insofar as a monitor UI should be provided without placing an additional burden on the user.

<デバイス管理テーブルの更新>
デバイス管理部54は所定のタイミングにデバイスマネージャから変位計5に関連した通信IDを取得する。所定のタイミングとは、たとえば、定期的なタイミングであってもよいし、センサ設定UI80などに配置された再読み込みボタンが操作されたことをCPU40が検知したタイミングであってもよい。デバイス管理部54は変位計5の接続された通信ポートに対して中継器IDとヘッドIDの読み出しコマンドを送信する。これにより通信部41を介して各変位計5にコマンドが転送される。上述したように各変位計5は中継器ID(中継器が存在しない実施形態では省略される)とヘッドIDをコンピュータ1に送信する。デバイス管理部54はデバイス管理テーブル132において、取得した通信ID、ヘッドIDおよび中継器IDの関連付けを更新する。デバイス管理部54はデバイス管理テーブル132の内容を変更すると、作成部60に変更を通知する。
<Update device management table>
The device management unit 54 acquires a communication ID related to the displacement meter 5 from the device manager at a predetermined timing. The predetermined timing may be, for example, a periodic timing or a timing at which the CPU 40 detects that a reload button arranged on the sensor setting UI 80 or the like has been operated. The device management unit 54 transmits a repeater ID and head ID read command to the communication port to which the displacement meter 5 is connected. As a result, the command is transferred to each displacement meter 5 via the communication unit 41. As described above, each displacement meter 5 transmits the repeater ID (omitted in the embodiment where no repeater is present) and the head ID to the computer 1. The device management unit 54 updates the association between the acquired communication ID, head ID, and repeater ID in the device management table 132. When the content of the device management table 132 is changed, the device management unit 54 notifies the creation unit 60 of the change.

<部品管理テーブルの更新>
図24は部品管理テーブル131の更新処理に関与する機能を示すブロック図である。図25は部品管理テーブル131の更新処理を示すフローチャートである。すでに説明した機能には同一の参照符号が付与されている。作成部60は、デバイス管理部54からデバイス管理テーブル132を更新したことを示す通知を受信すると、部品管理テーブル131の更新処理を開始する。なお、この時点では上述しようにデバイス管理テーブル132が最新のものに更新されている。
<Update parts management table>
FIG. 24 is a block diagram showing functions involved in the update processing of the component management table 131. FIG. 25 is a flowchart showing the update process of the component management table 131. Functions already described are given the same reference numerals. Upon receiving a notification indicating that the device management table 132 has been updated from the device management unit 54, the creation unit 60 starts an update process for the component management table 131. At this time, as described above, the device management table 132 is updated to the latest one.

S21でCPU40(デバイス判定部141)は部品管理テーブル131に登録されているヘッドHがすべて存在するかどうか(コンピュータ1に接続されているかどうか)を判定する。たとえば、デバイス判定部141は部品管理テーブル131に記憶されている変位計5のヘッドIDと、デバイス管理テーブル132に記憶されているヘッドIDとが一致するかどうかを判定する。つまり、デバイス判定部141は部品管理テーブル131に記憶されているすべての変位計5のヘッドIDがデバイス管理テーブル132に存在するかどうかを判定する。部品管理テーブル131に登録されているすべてのヘッドHが存在すれば、CPU40はS22に進む。   In S <b> 21, the CPU 40 (device determination unit 141) determines whether all the heads H registered in the component management table 131 are present (whether connected to the computer 1). For example, the device determination unit 141 determines whether the head ID of the displacement meter 5 stored in the component management table 131 matches the head ID stored in the device management table 132. That is, the device determination unit 141 determines whether the head IDs of all the displacement meters 5 stored in the component management table 131 exist in the device management table 132. If all the heads H registered in the component management table 131 exist, the CPU 40 proceeds to S22.

S22でCPU40(デバイス判定部141)はヘッドIDおよび中継器IDの組み合わせに変更があるかどうかを判定する。たとえば、デバイス判定部141は、部品管理テーブル131に登録されているヘッドIDおよび中継器IDの組み合わせがデバイス管理テーブル132に登録されているヘッドIDおよび中継器IDの組み合わせに一致しているかどうかを判定する。ヘッドHが中継部10から着脱可能かつ交換可能な製品であることがある。ヘッドIDがシリアルナンバーなどの固有の製品識別情報であれば、ヘッドHが交換されると、デバイス管理部54が取得するヘッドIDも変更される。ただし、中継部10は交換されていなければ、デバイス管理部54が取得する中継器IDは維持される。よって、ヘッドIDおよび中継器IDの組み合わせが変更されてしまう。なお、通信IDを含めた組み合わせが更新の対象とされてもよい。つまり、デバイス判定部141はヘッドID、中継器IDおよび通信ID(通信ポートの番号など)の組み合わせの一致/不一致を判定してもよい。ヘッドIDおよび中継器ID等の組み合わせに変更がなければCPU40は更新処理を終了する。ヘッドIDおよび中継器ID等の組み合わせに変更があれば、CPU40はS23に進む。   In S22, the CPU 40 (device determination unit 141) determines whether there is a change in the combination of the head ID and the repeater ID. For example, the device determination unit 141 determines whether the combination of the head ID and the repeater ID registered in the component management table 131 matches the combination of the head ID and the repeater ID registered in the device management table 132. judge. The head H may be a detachable and replaceable product from the relay unit 10. If the head ID is unique product identification information such as a serial number, when the head H is replaced, the head ID acquired by the device management unit 54 is also changed. However, if the relay unit 10 has not been replaced, the relay ID acquired by the device management unit 54 is maintained. Therefore, the combination of the head ID and the repeater ID is changed. Note that a combination including a communication ID may be an update target. That is, the device determination unit 141 may determine whether the combination of the head ID, the repeater ID, and the communication ID (such as the communication port number) matches or does not match. If there is no change in the combination of the head ID and the repeater ID, the CPU 40 ends the update process. If there is a change in the combination of the head ID and the repeater ID, the CPU 40 proceeds to S23.

S23でCPU40(更新部144)はデバイス管理テーブル132に登録されているヘッドIDおよび中継器ID等の組み合わせに一致するように、部品管理テーブル131に登録されているヘッドIDおよび中継器ID等の組み合わせを更新する。   In S23, the CPU 40 (update unit 144) sets the head ID and repeater ID registered in the component management table 131 so as to match the combination of the head ID and repeater ID registered in the device management table 132. Update the combination.

このようにヘッドIDは変更されないが、ヘッドIDに関連付けられていた中継器ID等が変更されしまうことがある。これは段取り替え等で発生する現象である。したがって、部品IDに関連付けられているヘッドIDに変化がなくても、中継器ID等が変更されているときは、中継器ID等が更新されることになる。また、通信IDは、コンピュータ1に対して変位計5を接続する順番に応じて変わってしまうことがある。よって、部品IDに関連付けられていた通信IDについても自動的に更新されれば、便利であろう。   Thus, although the head ID is not changed, the repeater ID associated with the head ID may be changed. This is a phenomenon that occurs during setup change. Therefore, even if there is no change in the head ID associated with the component ID, when the repeater ID or the like is changed, the repeater ID or the like is updated. Further, the communication ID may change depending on the order in which the displacement meter 5 is connected to the computer 1. Therefore, it will be convenient if the communication ID associated with the component ID is also automatically updated.

S21で一つ以上のヘッドHが存在しないと判定すると、CPU40はS24に進む。S24でCPU40(デバイス判定部141)は未知のヘッドIDの数と検知不可のヘッドIDの数はそれぞれ1個であるかどうかを判定する。未知のヘッドIDとは既知のヘッドIDではないヘッドIDのことである。つまり、未知のヘッドIDとはデバイス管理テーブル132に新たに登録されたものの、部品管理テーブル131にはまだ登録されていないヘッドIDのことである。検知不可のヘッドIDとは、部品管理テーブル131に登録されているものの、デバイス管理テーブル132からは消去されてしまったヘッドIDのことである。換言すれば、検知不可のヘッドIDとは、デバイス管理部54がいずれの変位計5からも取得できなくなってしまったヘッドIDである。   If it is determined in S21 that one or more heads H do not exist, the CPU 40 proceeds to S24. In S24, the CPU 40 (device determination unit 141) determines whether the number of unknown head IDs and the number of undetectable head IDs are one each. An unknown head ID is a head ID that is not a known head ID. That is, an unknown head ID is a head ID that has been newly registered in the device management table 132 but has not yet been registered in the component management table 131. The undetectable head ID is a head ID that has been registered in the component management table 131 but has been deleted from the device management table 132. In other words, the undetectable head ID is a head ID that the device management unit 54 has become unable to acquire from any displacement meter 5.

図26(A)は、部品管理テーブル131に登録されている1個のヘッドID(例:CCCC)が検知不可となったことを示している。図26(B)は、デバイス管理テーブル132において1個のヘッドID(例:CCCC)が消去され、その代わりに、1個の未知のヘッドID(例:DDDD)が取得できるようになったことを示している。このように、1個の検知不可のヘッドIDが発生し、かつ、1個の未知のヘッドIDが発生しているケースは、ユーザが、あるヘッドHを別のヘッドHに交換した可能性が高い。また、この場合、計測位置自体は変更されていないだろう。CPU40は未知のヘッドIDの数が1個であり、検知不可のヘッドIDの数も1個であると判定すると、S25に進む。   FIG. 26A shows that one head ID (for example, CCCC) registered in the component management table 131 cannot be detected. FIG. 26B shows that one head ID (eg, CCCC) is deleted from the device management table 132, and instead, one unknown head ID (eg, DDDD) can be acquired. Is shown. As described above, in the case where one undetectable head ID is generated and one unknown head ID is generated, there is a possibility that the user has replaced one head H with another head H. high. In this case, the measurement position itself will not be changed. If the CPU 40 determines that the number of unknown head IDs is one and the number of undetectable head IDs is one, the process proceeds to S25.

S25でCPU40(更新部144)は、検知不可のヘッドIDに代えて未知のヘッドIDを部品IDに関連付ける。つまり、更新部144は部品管理テーブル131において検知不可のヘッドID(例:CCCC)に関連付けられていた部品ID(例:横バー2)に対して未知のヘッドID(例:DDDD)を関連付ける。図26(C)は、更新部144によって更新された部品管理テーブル131を示している。なお、更新部144は、未知のヘッドID(例:DDDD)に関連付けられている通信IDや中継器IDをデバイス管理テーブル132から取得し、部品管理テーブル131にも更新された通信IDや中継器IDを登録する。   In S25, the CPU 40 (update unit 144) associates the unknown head ID with the component ID instead of the undetectable head ID. That is, the update unit 144 associates an unknown head ID (eg, DDDD) with a component ID (eg, horizontal bar 2) associated with a head ID (eg: CCCC) that cannot be detected in the component management table 131. FIG. 26C shows the component management table 131 updated by the update unit 144. Note that the update unit 144 acquires a communication ID and a relay ID associated with an unknown head ID (eg, DDDD) from the device management table 132 and updates the communication ID and relay that are also updated in the component management table 131. Register the ID.

S24で未知のヘッドIDの数と検知不可のヘッドIDの数がそれぞれ1個ではないと判定すると、CPU40はS26に進む。S26でCPU40(デバイス判定部141)はデバイス管理部54により新たに発見された未知のヘッドIDに関連付けられている中継器IDはいずれも既知の中継器IDであるかどうかを判定する。上述したように中継部10に取り付けられていたヘッドHだけが新品に交換されることがある。この場合、ヘッドHが交換されただけで、計測位置自体は変更されていない可能性が高い。   When determining in S24 that the number of unknown head IDs and the number of undetectable head IDs are not one each, the CPU 40 proceeds to S26. In S <b> 26, the CPU 40 (device determination unit 141) determines whether any of the repeater IDs associated with the unknown head ID newly discovered by the device management unit 54 is a known repeater ID. As described above, only the head H attached to the relay unit 10 may be replaced with a new one. In this case, there is a high possibility that the measurement position itself is not changed only by replacing the head H.

図27(A)は2個のヘッドID(例:AAAAとBBBB)が検知不可となった部品管理テーブル131の一例を示している。図27(B)は2個の未知のヘッドID(例:GGGGとHHHH)を新たに登録されたデバイス管理テーブル132の一例を示している。部品管理テーブル131とデバイス管理テーブル132とを比較すると分かるように、ヘッドIDが“AAAA”から“GGGG”に変更されているものの中継器IDである“1111”は変更されていないことがわかる。同様に、ヘッドIDが“BBBB”から“HHHH”に変更されているものの中継器IDである“2222”は変更されていないことがわかる。よって、ヘッドIDが“AAAA”であるヘッドHが、ヘッドIDが“GGGG”であるヘッドHに交換された可能性が高い。同様に、ヘッドIDが“BBBB”であるヘッドHが、ヘッドIDが“HHHH”であるヘッドHに交換された可能性が高い。このように、CPU40はデバイス管理部54により新たに発見された未知のヘッドIDに関連付けられている中継器IDはいずれも既知の中継器IDであれば、S27に進む。   FIG. 27A shows an example of the component management table 131 in which two head IDs (for example, AAAA and BBBB) cannot be detected. FIG. 27B shows an example of the device management table 132 in which two unknown head IDs (eg, GGGG and HHHH) are newly registered. As can be seen from a comparison between the component management table 131 and the device management table 132, it can be seen that although the head ID has been changed from “AAAA” to “GGGG”, the repeater ID “1111” has not been changed. Similarly, although the head ID is changed from “BBBB” to “HHHH”, it can be seen that the repeater ID “2222” is not changed. Therefore, there is a high possibility that the head H whose head ID is “AAAA” is replaced with the head H whose head ID is “GGGG”. Similarly, there is a high possibility that the head H whose head ID is “BBBB” is replaced with the head H whose head ID is “HHHH”. In this way, if the repeater ID associated with the unknown head ID newly discovered by the device management unit 54 is any known repeater ID, the CPU 40 proceeds to S27.

S27でCPU40(更新部144)は、中継器IDを元に未知のヘッドIDを、検知不可となったヘッドIDに関連づけられていた部品IDに関連づける。たとえば、更新部144は、検知不可となったヘッドID(例:AAAA)に関連付けられていた中継器ID(例:1111)をデバイス管理テーブル132内で探索し、中継器ID(例:1111)に関連付けられている未知のヘッドID(例:GGGG)を取得する。さらに、更新部144は、検知不可となったヘッドID(例:AAAA)に関連付けられていた部品ID(例:縦バー1)に未知のヘッドID(例:GGGG)を関連づけることで、部品管理テーブル131を更新する。同様に、更新部144は、検知不可となったヘッドID(例:BBBB)に関連付けられていた中継器ID(例:2222)をデバイス管理テーブル132内で探索し、中継器ID(例:2222)に関連付けられている未知のヘッドID(例:HHHH)を取得する。さらに、更新部144は、検知不可となったヘッドID(例:BBBB)に関連付けられていた部品ID(例:横バー1)に未知のヘッドID(例:HHHH)を関連づけることで、部品管理テーブル131を更新する。図27(C)は、更新された部品管理テーブル131を示している。なお、中継器IDは変更されていないものの通信ID(通信ポートの番号)が変更されていれば、更新部144は、ヘッドIDと共に通信IDもデバイス管理テーブル132から取得して部品管理テーブル131に登録する。このように、更新部144は、中継器IDをキーとしてヘッドIDと通信IDを更新してもよい。   In S27, the CPU 40 (update unit 144) associates the unknown head ID based on the relay ID with the component ID associated with the head ID that has become undetectable. For example, the update unit 144 searches the device management table 132 for the repeater ID (example: 1111) associated with the head ID (example: AAAA) that has become undetectable, and repeater ID (example: 1111). An unknown head ID (for example, GGGG) associated with is acquired. Further, the update unit 144 associates an unknown head ID (eg, GGGG) with the component ID (eg, vertical bar 1) associated with the head ID (eg, AAAA) that has become undetectable, thereby managing the components. Update the table 131. Similarly, the update unit 144 searches the device management table 132 for the repeater ID (example: 2222) associated with the head ID (example: BBBB) that has become undetectable, and repeater ID (example: 2222). ) To obtain an unknown head ID (eg, HHHH) associated with. Furthermore, the update unit 144 associates an unknown head ID (eg, HHHH) with a component ID (eg, horizontal bar 1) associated with a head ID (eg, BBBB) that has become undetectable, thereby managing the component. Update the table 131. FIG. 27C shows the updated component management table 131. If the relay ID has not been changed but the communication ID (communication port number) has been changed, the updating unit 144 acquires the communication ID together with the head ID from the device management table 132 and stores it in the component management table 131. sign up. Thus, the update unit 144 may update the head ID and the communication ID using the repeater ID as a key.

S26で部品管理テーブル131に登録されている既知の中継器IDの少なくとも一つがデバイス管理テーブル132に登録されていなければ、CPU40はS28に進む。図28(A)は2個のヘッドIDが検知不可となった部品管理テーブル131を示している。図28(B)は2個のヘッドIDが検知不可なり、かつ、それらに関連付けられていた2個の中継器IDも検知不可となったデバイス管理テーブル132を示している。図28(B)が示すデバイス管理テーブル132では既知の変位計5とはヘッドIDも中継器IDも異なる3個の未知の変位計5が新たに登録されている。この場合は、検知不可となった変位計5(ヘッドH)がどの変位計5(ヘッドH)に交換されたかをCPU40は正確に特定することができない。S28でCPU40(出力部142または設定部61)は検知不可となったヘッドIDなどを強調表示する。たとえば、出力部142または設定部61はセンサ設定領域83においてセンサ名を赤色などで強調表示してもよい。あるいは、出力部142が、表示オブジェクト74におけるセンサ名を示すオブジェクト124を強調表示してもよい。出力部142が、表示オブジェクト74自体や、表示オブジェクト74に連結されている引き出し線75、変位計5のアイコン(画像)を強調表示してもよい。強調表示は視覚的に判別可能な表示形式であれば十分であり、色の変更、点滅、メッセージの追加などのいずれであってもよい。   If at least one of the known relay IDs registered in the component management table 131 in S26 is not registered in the device management table 132, the CPU 40 proceeds to S28. FIG. 28A shows the component management table 131 in which two head IDs cannot be detected. FIG. 28B shows the device management table 132 in which two head IDs cannot be detected, and the two relay IDs associated with them cannot be detected. In the device management table 132 shown in FIG. 28B, three unknown displacement meters 5 having head IDs and repeater IDs different from the known displacement meters 5 are newly registered. In this case, the CPU 40 cannot accurately identify which displacement meter 5 (head H) the displacement meter 5 (head H) that has become undetectable has been replaced. In S <b> 28, the CPU 40 (output unit 142 or setting unit 61) highlights the head ID that has become undetectable. For example, the output unit 142 or the setting unit 61 may highlight the sensor name in red or the like in the sensor setting area 83. Alternatively, the output unit 142 may highlight the object 124 indicating the sensor name in the display object 74. The output unit 142 may highlight the display object 74 itself, the leader line 75 connected to the display object 74, and the icon (image) of the displacement meter 5. It is sufficient that the highlight display is a display format that can be visually discriminated, and any of color change, blinking, message addition, and the like may be used.

<更新の承諾>
上述したステップS23、S25およびS27では検知不可能となったヘッドIDが別のヘッドIDに自動的に置換される。しかし、ユーザは、モニターUIを作成する過程で手動操作により各表示オブジェクト74に変位計5を関連付けているため、ヘッドHを交換したときに再度手動操作が必要になるのではと考えるかもしれない。このような場合にはユーザに対して自動的に更新が適用されたことを知らせられることで、ユーザを安堵させてもよい。また、ユーザは別の意図があってヘッドHを交換するかもしれない。たとえば、ワークWにおける測定部位を変更するとともに、その測定部位に適したヘッドHを採用するかもしれない。したがって、自動更新を実行する前または後に自動更新を通知したり、ユーザの承諾を得たりする手段が提供されればユーザビリティが向上しよう。
<Acceptance of update>
The head ID that has become undetectable in steps S23, S25, and S27 described above is automatically replaced with another head ID. However, the user may think that manual operation is required again when the head H is replaced because the displacement meter 5 is associated with each display object 74 by manual operation in the process of creating the monitor UI. . In such a case, the user may be relieved by automatically informing the user that the update has been applied. Further, the user may exchange the head H with another intention. For example, while changing the measurement site | part in the workpiece | work W, the head H suitable for the measurement site | part may be employ | adopted. Therefore, usability will be improved if a means for notifying or obtaining the user's consent before or after executing the automatic update is provided.

図29(A)はS23、S25およびS27をサブルーチンとして示したフローチャートである。   FIG. 29A is a flowchart showing S23, S25 and S27 as subroutines.

S31でCPU40(更新部144)はS23、S25およびS27に関連して説明した更新処理を実行する。   In S31, the CPU 40 (update unit 144) executes the update process described in relation to S23, S25, and S27.

S32でCPU40(出力部142)は更新に関するメッセージを表示部2に出力する。更新に関するメッセージとは、部品IDに対するヘッドID等の関連付けの更新を実行したことを示すものや、更新の事後承諾を求めるメッセージなどであってもよい。   In S <b> 32, the CPU 40 (output unit 142) outputs a message regarding update to the display unit 2. The message regarding the update may be a message indicating that the association of the head ID or the like with respect to the component ID has been updated, a message for requesting post-update approval, or the like.

図30は更新の承諾を求めるメッセージの一例を示す図である。ダイアログ150は、更新を実行したことや更新の承諾を求めるメッセージを含んでいる。ダイアログ150は、承諾を受け付けるためのボタン151を有していてもよい。承諾受付部143はボタン151の操作に応じて自動更新の承諾を受け付ける。ダイアログ150には自動更新を取り消すためのキャンセルボタンが追加で設けられていてもよい。   FIG. 30 is a diagram showing an example of a message for requesting an update. The dialog 150 includes a message that the update has been executed and the update is requested. The dialog 150 may have a button 151 for accepting consent. The acceptance accepting unit 143 accepts acceptance of automatic update according to the operation of the button 151. The dialog 150 may be additionally provided with a cancel button for canceling the automatic update.

図29(B)はS23、S25およびS27をサブルーチンとして示した別のフローチャートである。これは事前承諾型の更新処理を示している。   FIG. 29B is another flowchart showing S23, S25 and S27 as subroutines. This indicates a pre-acknowledgement type update process.

S41でCPU40(出力部142)は更新の承諾を求めるメッセージ(例:ダイアログ150)を表示部2に出力する。   In S <b> 41, the CPU 40 (output unit 142) outputs a message (for example, dialog 150) requesting approval of update to the display unit 2.

S42でCPU40(承諾受付部143)はユーザが更新を承諾したことを示す指示が入力部3を通じて入力されたかどうかを判定する。たとえば、更新の承諾はボタン151が押されたことであってもよい。また、更新の拒絶はキャンセルボタンが押されたことであってもよい。更新が承諾されるとCPU40はS43に進む。   In S <b> 42, the CPU 40 (acceptance accepting unit 143) determines whether or not an instruction indicating that the user has accepted the update is input through the input unit 3. For example, the acceptance of the update may be that the button 151 has been pressed. Further, the rejection of the update may be that the cancel button has been pressed. If the update is accepted, the CPU 40 proceeds to S43.

S43でCPU40(更新部144)はS23、S25およびS27に関連して説明した更新処理を実行する。一方で、更新が承諾されなければ、CPU40はS44に進む。   In S43, the CPU 40 (update unit 144) executes the update process described in relation to S23, S25, and S27. On the other hand, if the update is not accepted, the CPU 40 proceeds to S44.

S44でCPU40(カスタム部62)はユーザによるマニュアルでの更新を実行する。たとえば、カスタマイズUI110において強調表示された表示オブジェクト74がポインタ77によりクリックされると、カスタム部62は、選択可能なヘッドIDのリストを表示部2に表示する。カスタム部62は、クリックにより選択された表示オブジェクト74の部品IDの編集を開始する。このときに表示されるUIは図21に示したようなUIとなろう。カスタム部62は、リストから選択された変位計5のヘッドIDや中継器IDをデバイス管理テーブル132から取得し、クリックにより選択された表示オブジェクト74の部品IDに関連づけることで部品管理テーブル131を更新する。このように、ユーザは自動更新とマニュアル更新とを選択することで、自己の意図にあったモニターUIを作成できるようになろう。   In S44, the CPU 40 (custom unit 62) executes a manual update by the user. For example, when the display object 74 highlighted in the customization UI 110 is clicked with the pointer 77, the custom unit 62 displays a list of selectable head IDs on the display unit 2. The custom unit 62 starts editing the component ID of the display object 74 selected by clicking. The UI displayed at this time will be a UI as shown in FIG. The custom unit 62 acquires the head ID and relay ID of the displacement meter 5 selected from the list from the device management table 132 and updates the component management table 131 by associating it with the component ID of the display object 74 selected by clicking. To do. Thus, the user will be able to create a monitor UI that suits his / her intention by selecting automatic update or manual update.

<ヘッド等の点滅>
図1などに示したようにワークWに対して多数の変位計5が位置決めされる。多数の変位計5は治具などに固定または支持される。変位計5が増えるにつれて、モニター画面78における表示オブジェクト74と、実際にワークWに対して設置される変位計5との関係が正しいかどうかをユーザは確かめなければならない。また、モニター画面に表示されている変位計5の名称と実際の変位計5との関係もユーザは自己が意図した関係になっているどうかを確認することになろう。このような場合にモニターUIやカスタマイズUIを通じて変位計5の表示灯23や中継部10の表示灯33などを点灯や点滅させるための指示を入力できれば便利であろう。
<Flashing of the head>
A large number of displacement meters 5 are positioned with respect to the workpiece W as shown in FIG. Many displacement meters 5 are fixed or supported by a jig or the like. As the number of displacement meters 5 increases, the user must check whether the relationship between the display object 74 on the monitor screen 78 and the displacement meter 5 actually installed on the workpiece W is correct. Further, the user will confirm whether the relationship between the name of the displacement meter 5 displayed on the monitor screen and the actual displacement meter 5 is the relationship intended by the user. In such a case, it would be convenient if an instruction for lighting or blinking the indicator lamp 23 of the displacement meter 5 or the indicator lamp 33 of the relay unit 10 can be input through the monitor UI or the customized UI.

図31はセンサ設定UI80などから呼び出されるシリアルナンバー(ヘッドID)の確認UI160を示している。設定部61のリスト部145は部品管理テーブル131からヘッドHの識別情報やセンサ名などを読み出してリストを作成し、センサ設定UI80にリストをレンダリングする。センサ設定UI80には変位計5ごとに点滅ボタン162が設けられている。設定部61の選定部146はユーザによりクリックされた点滅ボタン162を検知し、検知した点滅ボタン162に対応するヘッドIDを点灯制御部147に通知する。点灯制御部147は、通知されたヘッドIDに関連付けられている通信IDをデバイス管理テーブル132から読み出し、読み出した通信IDを元にヘッドHの点滅コマンドを送信する。点滅コマンドを受信した変位計5は表示灯を点滅させる。これによりユーザはユーザインターフェース上の変位計5と実際の変位計5との関係を把握しやすくなろう。   FIG. 31 shows a serial number (head ID) confirmation UI 160 called from the sensor setting UI 80 or the like. The list unit 145 of the setting unit 61 reads the identification information of the head H, the sensor name, and the like from the component management table 131 to create a list, and renders the list on the sensor setting UI 80. The sensor setting UI 80 is provided with a blink button 162 for each displacement meter 5. The selection unit 146 of the setting unit 61 detects the flashing button 162 clicked by the user, and notifies the lighting control unit 147 of the head ID corresponding to the detected flashing button 162. The lighting control unit 147 reads the communication ID associated with the notified head ID from the device management table 132, and transmits a blink command of the head H based on the read communication ID. The displacement meter 5 that has received the blink command blinks the indicator lamp. This makes it easier for the user to grasp the relationship between the displacement meter 5 on the user interface and the actual displacement meter 5.

図32は任意の変位計5を点滅させるための他のUIを示している。ここではモニター画面78から点滅の指示が入力される。変位計5のアイコン(画像)に点滅ボタン162が設けられていてもよいが、図32が示すように表示オブジェクト74に点滅ボタン162が設けられてもよい。ユーザはモニター画面78と実際の変位計5とを見比べることで、モニター画面78が正しく作成されているかどうか(または変位計5が正しく配置されているかどうか)を確認しやすくなろう。   FIG. 32 shows another UI for blinking an arbitrary displacement meter 5. Here, a blinking instruction is input from the monitor screen 78. The blinking button 162 may be provided on the icon (image) of the displacement meter 5, but the blinking button 162 may be provided on the display object 74 as shown in FIG. By comparing the monitor screen 78 with the actual displacement meter 5, the user can easily confirm whether the monitor screen 78 is correctly created (or whether the displacement meter 5 is correctly arranged).

ここではヘッドHの表示灯23が点滅する例を用いたが、表示灯23の表示色が変更されたり、表示灯23が消灯から点灯に切り替えられたりしてもよい。また、表示灯23が液晶表示装置であれば、特別なメッセージが表示されてもよい。また、表示灯23に代えてブザー等の音源素子が採用されている場合、音がヘッドHから出力されてもよい。また、ヘッドHがエアを吹き出すエアバルブを有している場合、エアバルブを制御してエアがヘッドHから出力されてもよい。   Here, an example in which the indicator lamp 23 of the head H blinks is used. However, the display color of the indicator lamp 23 may be changed, or the indicator lamp 23 may be switched from off to on. If the indicator lamp 23 is a liquid crystal display device, a special message may be displayed. In addition, when a sound source element such as a buzzer is employed instead of the indicator lamp 23, sound may be output from the head H. Further, when the head H has an air valve that blows out air, the air may be output from the head H by controlling the air valve.

なお、点灯制御部147は複数の変位計5のうち同時に点滅等可能な表示灯23を1個に制限してもよい。複数の表示灯23が点滅してしまうと、ユーザは意図した変位計5を確認しにくくなるからである。   Note that the lighting control unit 147 may limit the number of indicator lamps 23 that can blink simultaneously among the plurality of displacement meters 5 to one. This is because it becomes difficult for the user to confirm the intended displacement meter 5 when the plurality of indicator lamps 23 blink.

<まとめ2>
上述したようにプログラム43は測定対象物に対する距離または測定対象物の変位を測定する第一変位計および第二変位計と接続され、第一変位計および第二変位計を制御するコンピュータ1において実行されるプログラムである。図23(B)を用いて説明したように、デバイス管理部54は第一変位計の識別情報(例:CCCC)を第一変位計から取得するとともに、第二変位計の識別情報(例:AAAA)を第二変位計から取得する取得手段として機能する。識別情報の取得処理は、プログラム43が起動したときや、ユーザにより取得指示が入力されたときに実行されうる。記憶部42に記憶されるデバイス管理テーブル132は第一変位計の識別情報と第二変位計の識別情報を記憶する第一記憶手段として機能する。記憶部42に記憶される部品管理テーブル131は第一変位計の識別情報と、第一変位計により得られた測定値を表示する第一表示オブジェクトの識別情報(例:横バー2)との関連付けを記憶するとともに、第二変位計の識別情報と、第二変位計により得られた測定値を表示する第二表示オブジェクトの識別情報(例:縦バー1)との関連付けを記憶する第二記憶手段として機能する。UI部51や作成部60などは第一変位計により得られた測定値を第一表示オブジェクトにレンダリングするとともに、第二変位計により得られた測定値を第二表示オブジェクトにレンダリングするレンダリング手段として機能する。図26を用いて説明したように、第一変位計の識別情報(例:CCCC)が取得できなくなり、かつ、第三変位計の識別情報(例:DDDD)が取得されるようになることがある。図30などを用いて説明したように、出力部142は当該第三変位計により得られた測定値を第一表示オブジェクトにレンダリングすべく、第一変位計の識別情報に代えて第三変位計の識別情報を第一表示オブジェクトの識別情報に関連付けること(関連付けたこと)の承諾を求める情報を出力する出力手段として機能する。図26(A)および図26(C)が示すように、更新部144は第一表示オブジェクトの識別情報(例:横バー2)に関連付けられている識別情報を第一変位計の識別情報に代えて第三変位計の識別情報(例:DDDD)に変更する変更手段として機能する。このようにユーザに対して承諾に関する情報が出力されるため、ユーザはコンピュータ1により関連付けが実行されることを理解しやすくなり、ユーザビリティが改善しよう。
<Summary 2>
As described above, the program 43 is connected to the first displacement meter and the second displacement meter that measure the distance to the measurement object or the displacement of the measurement object, and is executed in the computer 1 that controls the first displacement meter and the second displacement meter. Program. As described with reference to FIG. 23B, the device management unit 54 acquires identification information (for example, CCCC) of the first displacement meter from the first displacement meter, and also identifies identification information (for example, the second displacement meter). AAAA) functions as an acquisition means for acquiring from the second displacement meter. The identification information acquisition process can be executed when the program 43 is activated or when an acquisition instruction is input by the user. The device management table 132 stored in the storage unit 42 functions as a first storage unit that stores identification information of the first displacement meter and identification information of the second displacement meter. The component management table 131 stored in the storage unit 42 includes identification information of the first displacement meter and identification information of the first display object (for example, horizontal bar 2) that displays the measurement value obtained by the first displacement meter. 2nd which memorize | stores an association | association with the identification information (example: vertical bar 1) of the 2nd display object which displays the measurement information obtained by the 2nd displacement meter and the measured value obtained by the 2nd displacement meter while memorizing association It functions as a storage means. The UI unit 51, the creation unit 60, and the like are rendering means for rendering the measurement value obtained by the first displacement meter on the first display object, and rendering the measurement value obtained by the second displacement meter on the second display object. Function. As described with reference to FIG. 26, identification information (for example, CCCC) of the first displacement meter cannot be acquired, and identification information (for example, DDDD) of the third displacement meter may be acquired. is there. As described with reference to FIG. 30 and the like, the output unit 142 renders the measurement value obtained by the third displacement meter on the first display object in place of the identification information of the first displacement meter. It functions as an output means for outputting information for requesting consent to associate (associate) the identification information with the identification information of the first display object. As shown in FIGS. 26 (A) and 26 (C), the update unit 144 converts the identification information associated with the identification information (eg, horizontal bar 2) of the first display object into the identification information of the first displacement meter. Instead, it functions as changing means for changing to identification information (eg, DDDD) of the third displacement meter. Since information regarding consent is output to the user in this way, the user can easily understand that the association is executed by the computer 1, and usability will be improved.

図29(B)を用いて説明したように、承諾受付部143は承諾を受け付ける受付手段として機能する。更新部144は、承諾受付部143により事前承諾が受け付けられると、第一表示オブジェクトの識別情報に関連付けられている識別情報を第一変位計の識別情報に代えて第三変位計の識別情報に変更する。このように承諾を前提として関連付けが更新されれば、ユーザの意図しない更新は実行されにくくなろう。   As described with reference to FIG. 29B, the consent accepting unit 143 functions as accepting means for accepting consent. When the prior acceptance is accepted by the acceptance acceptance unit 143, the updating unit 144 replaces the identification information associated with the identification information of the first display object with the identification information of the first displacement meter, instead of the identification information of the first displacement meter. change. If the association is updated on the premise of consent in this way, an update that is not intended by the user will be difficult to execute.

図29(A)などを用いて説明したように、出力部142は、更新部144が関連付けの変更を実行した後で、事後承諾を求める情報を出力してもよい。このように推奨される更新が実行されたことをユーザに通知することで、ユーザは更新の事実を把握することが可能となる。また、ユーザは、更新結果を確認してマニュアルで関連付けを更新しなおすことも可能となろう。たとえば、更新部144は、表示オブジェクト74がクリックされたことを検知すると、クリックされた表示オブジェクト74について関連付け(レコード)を部品管理テーブル131から取得して表示部2に表示する。さらに、更新部144は、表示した関連付けのうちヘッドIDがクリックされたことを検知すると、デバイス管理テーブル132を表示部2に表示させ、一つのヘッドIDをユーザに選択させてもよい。更新部144は、ユーザにより選択されたヘッドIDを、現在更新作業中の表示オブジェクト74に関連付け、部品管理テーブル131を更新する。なお、表示部2に表示されるデバイス管理テーブル132には、各ヘッドHの表示灯23を点滅させるための点滅ボタン162が配置されてもよい。これによりユーザは選択したヘッドIDが自分の意図したヘッドHのヘッドIDかどうかを確認しやすくなろう。このようにコンピュータ1による自動更新をユーザがマニュアルで修正する機能が提供されてもよい。   As described with reference to FIG. 29A and the like, the output unit 142 may output information for requesting subsequent approval after the update unit 144 has executed the association change. Thus, by notifying the user that the recommended update has been executed, the user can grasp the fact of the update. In addition, the user will be able to confirm the update result and manually update the association manually. For example, when the update unit 144 detects that the display object 74 has been clicked, the update unit 144 acquires an association (record) from the part management table 131 for the clicked display object 74 and displays the association (record) on the display unit 2. Further, when detecting that the head ID is clicked in the displayed association, the updating unit 144 may display the device management table 132 on the display unit 2 and allow the user to select one head ID. The updating unit 144 updates the parts management table 131 by associating the head ID selected by the user with the display object 74 currently being updated. In the device management table 132 displayed on the display unit 2, a blink button 162 for blinking the indicator lamp 23 of each head H may be arranged. This makes it easy for the user to check whether the selected head ID is the head ID of the head H intended by the user. As described above, a function may be provided in which the user manually corrects the automatic update by the computer 1.

図2、図3を用いて説明したように、第一変位計、第二変位計および第三変位計のそれぞれは、測定対象物に対する距離または測定対象物の変位を電気信号に変換するヘッドHと、電気信号をコンピュータ1に中継する中継手段(例:中継部10、第一中継部7、第二中継部8など)と、中継手段とコンピュータ1とを接続するコネクタ9と、各変位計の識別情報(例:ヘッドID、中継器ID、通信IDなど)を記憶する第三記憶手段(例:記憶部25、35、35’)とを有していてもよい。ここで、第三記憶手段は各変位計の識別情報としてヘッドHの識別情報を記憶していてもよい。また、図3が示すように、第三記憶手段はヘッドHに設けられた記憶部25であってもよい。図3が示すように、第三記憶手段は中継手段に設けられており、ヘッドHから取得されたヘッドの識別情報を記憶する記憶部35であってもよい。また、第三記憶手段は各変位計5の識別情報として中継手段の識別情報(例:中継器ID)を記憶する記憶部35であってもよい。ヘッドHは交換可能なヘッドであってもよい。図3を用いて説明したように、第三記憶手段は、ヘッドHの識別情報を記憶する第四記憶手段である記憶部25と、中継手段の識別情報を記憶する第五記憶手段である記憶部35とを有していてもよい。また、第二記憶手段である部品管理テーブル131は、各変位計5の識別情報として各変位計5を構成しているヘッドHの識別情報(例:ヘッドID)と中継手段の識別情報(例:中継器ID)とを、各変位計5に対応する表示オブジェクトの識別情報(例:部品ID)に関連付けて記憶してもよい。   As described with reference to FIGS. 2 and 3, each of the first displacement meter, the second displacement meter, and the third displacement meter is a head H that converts the distance to the measurement object or the displacement of the measurement object into an electrical signal. Relay means for relaying electrical signals to the computer 1 (for example, the relay section 10, the first relay section 7 and the second relay section 8), a connector 9 for connecting the relay means and the computer 1, and each displacement meter 3rd storage means (for example, storage parts 25, 35, and 35 ') which memorize the discernment information (example: head ID, repeater ID, communication ID, etc.). Here, the 3rd memory | storage means may memorize | store the identification information of the head H as identification information of each displacement meter. Further, as shown in FIG. 3, the third storage unit may be a storage unit 25 provided in the head H. As shown in FIG. 3, the third storage unit is provided in the relay unit, and may be a storage unit 35 that stores the identification information of the head acquired from the head H. The third storage unit may be a storage unit 35 that stores the identification information of the relay unit (eg, repeater ID) as the identification information of each displacement meter 5. The head H may be a replaceable head. As described with reference to FIG. 3, the third storage unit is a storage unit 25 that is a fourth storage unit that stores the identification information of the head H, and a storage that is a fifth storage unit that stores the identification information of the relay unit. Part 35 may be included. In addition, the component management table 131 serving as the second storage unit includes identification information (eg, head ID) of the head H constituting each displacement meter 5 and identification information (eg, head ID) constituting each displacement meter 5 as identification information of each displacement meter 5. : Repeater ID) may be stored in association with the identification information (eg, component ID) of the display object corresponding to each displacement meter 5.

図25や図27を用いて説明したように、デバイス判定部141は、部品管理テーブル131に記憶されている第一変位計のヘッドHの識別情報(例:AAAA)がデバイス管理部54により取得できなくなり、かつ、第一変位計の中継手段(中継器ID:1111)を通じて別のヘッドHの識別情報(例:GGGG)が取得されると、第一変位計のヘッドHが交換されたと判定してもよい。出力部142は、別のベッドHの識別情報を第一表示オブジェクトの識別情報に関連付ける(関連付けた)ことの承諾を求める情報を出力してもよい。更新部144は、承諾受付部143により承諾が受け付けられると、部品管理テーブル131に記憶されている第一表示オブジェクトの識別情報(例:縦バー1)に対して別のベッドHの識別情報(例:GGGG)を関連付けてもよい。このように部品管理テーブル131に記憶されていたヘッドIDがいずれの変位計5からも取得できなくなり、代わりに別のヘッドID取得されるようになった状態はヘッドHが交換された状態であろう。よって、ヘッドIDの関連付けを更新することでユーザの負担が軽減されよう。   As described with reference to FIGS. 25 and 27, the device determination unit 141 acquires the identification information (for example, AAAA) of the head H of the first displacement meter stored in the component management table 131 by the device management unit 54. If the identification information (example: GGGG) of another head H is obtained through the relay unit (relay ID: 1111) of the first displacement meter, it is determined that the head H of the first displacement meter has been replaced. May be. The output unit 142 may output information asking for permission to associate (associate) the identification information of another bed H with the identification information of the first display object. When the acceptance is accepted by the acceptance accepting unit 143, the updating unit 144 identifies the identification information of another bed H (for example, the vertical bar 1) with respect to the identification information (for example, the vertical bar 1) stored in the parts management table 131. Example: GGGG) may be associated. The state in which the head ID stored in the component management table 131 cannot be acquired from any displacement meter 5 and another head ID is acquired instead is the state in which the head H is replaced. Let's go. Therefore, the burden on the user will be reduced by updating the association of the head ID.

ところで、ヘッドHは交換されずに、中継部10のみが交換されることもあろう。部品管理テーブル131に記憶されている第一変位計の中継部10の識別情報がデバイス管理部54により取得できなくなり、かつ、第一変位計のヘッドHの識別情報が別の中継部10を通じて取得されることもあろう。この場合に、デバイス判定部141は、第一変位計の中継手段が交換されたと判定してもよい。出力部142は、第一変位計のヘッドHの識別情報を中継してきた別の中継手段の識別情報を第一表示オブジェクトの識別情報に関連付けることの承諾を求める情報を出力してもよい。更新部144は、承諾受付部143により承諾が受け付けられると、部品管理テーブル131に記憶されている第一表示オブジェクトの識別情報に対して別の中継手段の識別情報を関連付けてもよい。このようにヘッドHは交換されずに、中継部10が交換されると、更新部144は中継部10の中継器ID、部品IDおよびヘッドIDとの関連付けを更新してもよい。この関連づけも上述した事後承諾により更新されてもよい。   By the way, the head H may not be replaced, and only the relay unit 10 may be replaced. The identification information of the relay unit 10 of the first displacement meter stored in the component management table 131 cannot be acquired by the device management unit 54, and the identification information of the head H of the first displacement meter is acquired through another relay unit 10. It will be done. In this case, the device determination unit 141 may determine that the relay unit of the first displacement meter has been replaced. The output unit 142 may output information asking for permission to associate the identification information of another relay means that relays the identification information of the head H of the first displacement meter with the identification information of the first display object. When the acceptance is accepted by the acceptance accepting unit 143, the updating unit 144 may associate the identification information of another relay unit with the identification information of the first display object stored in the parts management table 131. Thus, when the relay unit 10 is replaced without replacing the head H, the updating unit 144 may update the association of the relay unit 10 with the relay ID, the component ID, and the head ID. This association may also be updated by the above-described post-approval.

ところで、ヘッドHおよび中継部10を含む変位計5が別の変位計5に交換されることも考えられる。つまり、部品管理テーブル131に記憶されている第一変位計のヘッドの識別情報と中継手段の識別情報との両方がデバイス管理部54により取得できなくなり、かつ、第三変位計のヘッドHの識別情報と中継手段の識別情報とが取得されることがある。この場合に、デバイス判定部141は、第一変位計が第三変位計に交換されたと判定してもよい。出力部142は、第三変位計のヘッドの識別情報と中継手段の識別情報とを第一表示オブジェクトの識別情報に関連付けることの承諾を求める情報を出力してもよい。更新部144は、承諾受付部143により承諾が受け付けられると、部品管理テーブル131に記憶されている第一表示オブジェクトの識別情報に対して第三変位計のヘッドの識別情報と中継手段の識別情報とを関連付けてもよい。このようにヘッドHと中継部10が同時に交換されたとしても、表示オブジェクトの部品IDに対して新たに見つかったヘッドHと中継部10を関連付けることが可能となろう。この関連づけも上述した事後承諾により更新されてもよい。   By the way, it can be considered that the displacement meter 5 including the head H and the relay unit 10 is replaced with another displacement meter 5. That is, it becomes impossible for the device management unit 54 to acquire both the identification information of the head of the first displacement meter and the identification information of the relay means stored in the component management table 131, and the identification of the head H of the third displacement meter. Information and identification information of the relay means may be acquired. In this case, the device determination unit 141 may determine that the first displacement meter has been replaced with the third displacement meter. The output unit 142 may output information asking for permission to associate the identification information of the head of the third displacement meter and the identification information of the relay unit with the identification information of the first display object. When the acceptance is accepted by the acceptance accepting unit 143, the update unit 144 uses the identification information of the head of the third displacement meter and the identification information of the relay unit with respect to the identification information of the first display object stored in the parts management table 131. May be associated with each other. Thus, even if the head H and the relay unit 10 are exchanged at the same time, the newly found head H and the relay unit 10 can be associated with the component ID of the display object. This association may also be updated by the above-described post-approval.

図3、図31および図32を用いて説明したように、第一変位計、第二変位計および第三変位計のそれぞれは、コンピュータ1から出力される点灯指示に応じて点灯する表示灯23を有していてもよい。図3を用いて説明したように、表示灯23は、ヘッドHと中継器との少なくとも一方に設けられていればよい。なお、表示灯23は、コネクタ9からヘッドHまでの間に存在する部品であればどの部品に設けられていてもよい。たとえば、ケーブル6a、6b、6cなどに表示灯23が設けられてもよい。   As described with reference to FIGS. 3, 31, and 32, each of the first displacement meter, the second displacement meter, and the third displacement meter is turned on in response to a lighting instruction output from the computer 1. You may have. As described with reference to FIG. 3, the indicator lamp 23 may be provided on at least one of the head H and the repeater. The indicator lamp 23 may be provided on any component as long as it is a component existing between the connector 9 and the head H. For example, the indicator lamp 23 may be provided on the cables 6a, 6b, 6c, and the like.

図31に関連して説明したように、リスト部145は、コンピュータ1に接続されている複数の変位計5のリストを表示するリスト手段して機能する。また選定部146や点滅ボタン162は複数の変位計5のうちの一つの変位計を選択する選択手段として機能する。点灯制御部147は選定部146や点滅ボタン162により選択された変位計5の表示灯23を点灯させる点灯制御手段として機能する。これによりユーザは表示灯23と点灯させることが可能となる。これは、表示オブジェクト74と実際の変位計5との対応関係などを確認する際に有用であろう。   As described with reference to FIG. 31, the list unit 145 functions as a list unit that displays a list of a plurality of displacement meters 5 connected to the computer 1. The selection unit 146 and the blink button 162 function as a selection unit that selects one displacement meter from among the plurality of displacement meters 5. The lighting control unit 147 functions as a lighting control unit that lights the indicator lamp 23 of the displacement meter 5 selected by the selection unit 146 or the blink button 162. As a result, the user can turn on the indicator lamp 23. This will be useful when confirming the correspondence between the display object 74 and the actual displacement meter 5 or the like.

図2や図3に関連して説明したように、ヘッドHと中継器との機能分担には様々なバリエーションが存在する。また、図3に示した構成とは異なる構成が採用されてもよい。たとえば、中継部10は、ヘッドHが出力した電気信号をアナログ/デジタル変換するADコンバータ(例:ADC21)と、ADコンバータから出力されるデジタル値をコンピュータ1に送信する送信手段(例:通信部24)とを有していてもよい。この場合に、ヘッドの識別情報を記憶する記憶部25とADC21とが一つの筐体(中継部10の筐体)に収納されてもよい。また、中継手段は、第二中継部8であってもよい。この場合に、ヘッドHと第二中継部8との間には、電気信号をアナログ/デジタル変換するADコンバータが設けられる。上述したように、第一中継部7にADコンバータが設けられることになろう。この場合に、第一中継部7の筐体内に記憶部25とADコンバータとが収納されてもよい。図2(C)を用いて説明したように、ヘッドHと、電気信号をアナログ/デジタル変換するADコンバータと、ヘッドHの識別情報を記憶する第三記憶手段とが一つの筐体に収納されてもよい。   As described with reference to FIGS. 2 and 3, there are various variations in the function sharing between the head H and the repeater. Further, a configuration different from the configuration shown in FIG. 3 may be adopted. For example, the relay unit 10 includes an AD converter (eg, ADC 21) that performs analog / digital conversion on an electrical signal output from the head H, and a transmission unit (eg, communication unit) that transmits a digital value output from the AD converter to the computer 1. 24). In this case, the storage unit 25 that stores the identification information of the head and the ADC 21 may be housed in one housing (the housing of the relay unit 10). Further, the relay unit may be the second relay unit 8. In this case, an AD converter is provided between the head H and the second relay unit 8 for analog / digital conversion of the electrical signal. As described above, the first relay unit 7 will be provided with an AD converter. In this case, the storage unit 25 and the AD converter may be housed in the housing of the first relay unit 7. As described with reference to FIG. 2C, the head H, the AD converter that performs analog / digital conversion of the electrical signal, and the third storage unit that stores the identification information of the head H are housed in one housing. May be.

また、第二中継部8や中継部10は、電気信号をユニバーサルシリアルバス規格のシリアル信号に変換するユニバーサルシリアルバスデバイスであってもよい。大抵のPCはユニバーサルシリアルバスを有している。したがって、ユーザはPCに複数の変位計5を接続して簡易な検査システムを形成することが可能となろう。   The second relay unit 8 and the relay unit 10 may be a universal serial bus device that converts an electrical signal into a serial signal of the universal serial bus standard. Most PCs have a universal serial bus. Therefore, the user will be able to connect a plurality of displacement meters 5 to the PC to form a simple inspection system.

上述したように段取り替えが実行されるときは、コンピュータ1は、一旦、シャットダウンされるだろう。よって、デバイス管理部54またはデバイス判定部141は、プログラム43が起動したときに、デバイス管理テーブル132に記憶されているすべての変位計5の識別情報とデバイス管理部54により取得されたすべての変位計5の識別情報とが一致するかどうかを判定することになろう。両者が一致すると、出力部142は関連付け更新の承諾に関する情報を表示しなくてもよい。つまり、段取り替えにおいてヘッドHが交換されることはないため、ユーザは、ヘッドHと表示オブジェクト74との関係が維持されることを望むであろう。よって、わざわざ関連付けの更新に関する情報を出力する必要はないだろう。   When the setup change is performed as described above, the computer 1 will be once shut down. Therefore, when the program 43 is activated, the device management unit 54 or the device determination unit 141 recognizes all the displacement meters 5 stored in the device management table 132 and all the displacements acquired by the device management unit 54. It will be determined whether the total 5 pieces of identification information match. If the two match, the output unit 142 does not have to display information regarding the approval of the association update. That is, since the head H is not replaced in the setup change, the user will want to maintain the relationship between the head H and the display object 74. Therefore, there is no need to output information about the association update.

上述したように、作成部60は、各変位計5の測定結果をモニターするためのモニター画面を作成する作成手段として機能する。画像変更部65は測定対象物の画像をインポートするインポート手段として機能する。部品配置部63は測定対象物の画像に対して、各変位計の測定結果を表示するための表示オブジェクト74を配置する配置手段として機能する。また、演算部52や総合判定部53は第一変位計の測定結果と第二変位計との測定結果との演算結果を計算する計算手段として機能する。部品配置部63は、演算結果を表示する表示オブジェクト74を測定対象物の画像に対して配置してもよい。引き出し線配置部68は表示オブジェクト74に対して引き出し線を付与する付与手段として機能する。また、測定対象物の画像には各変位計の測定位置を示すアイコンが付与されてもよい。作成部60は、コンピュータ1に接続されてないダミー変位計の測定結果を表示する表示オブジェクト74を測定対象物の画像に配置してもよい。このような仮想の変位計のための表示オブジェクト74をモニター画面78に配置しておけば、実際に変位計5がコンピュータ1に接続されたときの表示オブジェクト74の配置作業の負担が軽減されるだろう。つまり、ユーザは、仮想の変位計のための表示オブジェクト74に対して、コンピュータ1に新たに接続された変位計5を関連付ける作業を実行するだけで、モニター画面78を簡単に更新できるようになろう。なお、図21、図22に示したように、仮想の変位計の測定結果は総合判定に影響しないように、総合判定の対象から除外される。   As described above, the creation unit 60 functions as a creation unit that creates a monitor screen for monitoring the measurement result of each displacement meter 5. The image changing unit 65 functions as import means for importing an image of the measurement object. The component placement unit 63 functions as a placement unit for placing a display object 74 for displaying the measurement result of each displacement meter with respect to the image of the measurement object. Moreover, the calculating part 52 and the comprehensive determination part 53 function as a calculation means which calculates the calculation result of the measurement result of a 1st displacement meter, and the measurement result of a 2nd displacement meter. The component placement unit 63 may place a display object 74 that displays the calculation result on the image of the measurement target. The lead line arrangement unit 68 functions as a giving unit that gives a lead line to the display object 74. Moreover, the icon which shows the measurement position of each displacement meter may be provided to the image of the measurement object. The creation unit 60 may arrange a display object 74 that displays a measurement result of a dummy displacement meter not connected to the computer 1 in an image of the measurement target. If the display object 74 for such a virtual displacement meter is arranged on the monitor screen 78, the burden of the arrangement work of the display object 74 when the displacement meter 5 is actually connected to the computer 1 is reduced. right. That is, the user can easily update the monitor screen 78 simply by executing the operation of associating the displacement meter 5 newly connected to the computer 1 with the display object 74 for the virtual displacement meter. Let's go. As shown in FIGS. 21 and 22, the measurement result of the virtual displacement meter is excluded from the comprehensive determination target so as not to affect the comprehensive determination.

ところで、複数の変位計5が治具に固定されてから複数の変位計5がコンピュータ1に接続されてもよい。また、作成部60が複数の変位計5の各表示オブジェクト74を測定対象物の画像に配置した後で、複数の変位計5がコンピュータ1に接続されてもよい。   By the way, the plurality of displacement meters 5 may be connected to the computer 1 after the plurality of displacement meters 5 are fixed to the jig. Further, after the creation unit 60 arranges the display objects 74 of the plurality of displacement meters 5 on the image of the measurement object, the plurality of displacement meters 5 may be connected to the computer 1.

なお、作成部60は部品管理テーブル131が未作成の状態(初期状態)においてN個の変位計5が検知されると、N個の表示オブジェクト74をモニター画面78に配置してもよい。これにより、ユーザは表示オブジェクト74の表示位置だけを修正するだけでモニターUIを完成させることが可能となろう。   Note that the creation unit 60 may arrange the N display objects 74 on the monitor screen 78 when the N displacement meters 5 are detected in a state where the parts management table 131 is not created (initial state). Thereby, the user will be able to complete the monitor UI only by correcting the display position of the display object 74.

ところで、UI部51や作成部60は複数の変位計5により得られた各測定値を、複数の表示オブジェクトのうち関連付けられている表示オブジェクトに表示させる表示制御手段として機能する。また、出力部142は、複数の変位計5のうち一つの変位計5が他の変位計5に変更されると、デバイス管理部54により取得された当該他の変位計の識別情報を、複数の表示オブジェクトのうち当該一つの変位計の識別情報に関連付けられていた表示オブジェトの識別情報に関連付けることの承諾を求める情報を出力してもよい。   By the way, the UI unit 51 and the creation unit 60 function as a display control unit that displays each measurement value obtained by the plurality of displacement meters 5 on an associated display object among the plurality of display objects. In addition, when one displacement meter 5 among the plurality of displacement meters 5 is changed to another displacement meter 5, the output unit 142 displays a plurality of pieces of identification information of the other displacement meters acquired by the device management unit 54. Information for requesting consent to be associated with the identification information of the display object associated with the identification information of the one displacement meter may be output.

図2(B)を用いて説明したように、変位計5は、測定対象物に対する距離または測定対象物の変位を電気信号に変換するヘッドHと、ヘッドHに接続され電気信号を伝達する第一信号線(例:ケーブル6a)と、第一信号線が接続され、電気信号を第一通信規格の通信信号に変換する第一中継手段(例:第一中継部7)と、ヘッドHの固有識別情報を記憶する第一記憶手段(例:記憶部25)と、第一中継手段とコンピュータ1との間に着脱可能に接続され、第一通信規格の通信信号を第二通信規格の通信信号に変換する第二中継手段(例:第二中継部8)と、第二中継手段の固有識別情報を記憶する第二記憶手段(記憶部35)とを有していてもよい。第二中継部8は、記憶部25から取得したヘッドの固有識別情報(例:ヘッドID)と、記憶部35から取得した第二中継部8の固有識別情報(例:中継器ID)とをコンピュータ1に送信してもよい。図3を用いて説明したように、変位計5は、コンピュータ1から出力される点灯指示に応じて点灯または点滅する少なくとも一つの表示灯23、33をさらに有していてもよい。図2(B)を用いて説明したように、変位計5は、第二中継部8に接続された第二信号線(例:ケーブル6c)と、第二信号線の端部に設けられ、コンピュータに接続するコネクタ9とをさらに有していてもよい。表示灯は、コネクタ9からヘッドHまでのいずれかに設けられていれば十分である。   As described with reference to FIG. 2B, the displacement meter 5 includes the head H that converts the distance to the measurement object or the displacement of the measurement object into an electric signal, and the first that is connected to the head H and transmits the electric signal. One signal line (example: cable 6a) and a first signal line are connected, and a first relay means (example: first relay section 7) that converts an electrical signal into a communication signal of the first communication standard; A first storage unit (eg, storage unit 25) that stores unique identification information is detachably connected between the first relay unit and the computer 1, and a communication signal of the first communication standard is transmitted to the communication of the second communication standard. You may have the 2nd relay means (example: 2nd relay part 8) which converts into a signal, and the 2nd memory | storage means (memory | storage part 35) which memorize | stores the specific identification information of a 2nd relay means. The second relay unit 8 uses the unique identification information (eg, head ID) of the head acquired from the storage unit 25 and the unique identification information (eg: repeater ID) of the second relay unit 8 acquired from the storage unit 35. You may transmit to the computer 1. As described with reference to FIG. 3, the displacement meter 5 may further include at least one indicator lamps 23 and 33 that are lit or blinked in response to a lighting instruction output from the computer 1. As described with reference to FIG. 2B, the displacement meter 5 is provided at the second signal line (for example, the cable 6c) connected to the second relay unit 8 and the end of the second signal line, You may further have the connector 9 connected to a computer. It is sufficient that the indicator lamp is provided anywhere from the connector 9 to the head H.

なお、ヘッドH、ケーブル6aおよび第一中継部7が単一のユニットとして一体化されていてもよい。これを単位としてヘッドHが交換されてもよい。また、第二中継部8、ケーブル6cおよびコネクタ9が単一のユニットとして一体化されていてもよい。   In addition, the head H, the cable 6a, and the 1st relay part 7 may be integrated as a single unit. The head H may be exchanged in units of this. Moreover, the 2nd relay part 8, the cable 6c, and the connector 9 may be integrated as a single unit.

第二中継部8はコンピュータ1によってCOMポート番号を付与される通信デバイスであってもよい。シリアル通信系の通信規格ではCOMポート番号が付与されることが多い。   The second relay unit 8 may be a communication device to which the computer 1 is assigned a COM port number. COM port numbers are often assigned in serial communication system communication standards.

ヘッドHおよび第一中継部7はコネクタ9、ケーブル6cおよび第二中継部8を介して電力を供給されて動作してもよい。コネクタ9はハブ4を介してコンピュータ1に接続されてもよい。   The head H and the first relay unit 7 may operate by being supplied with power via the connector 9, the cable 6 c, and the second relay unit 8. The connector 9 may be connected to the computer 1 via the hub 4.

図25などを用いて説明したように、デバイス判定部141は、コンピュータ1に接続されている複数の変位計5からデバイス管理部54により取得された複数の識別情報と記憶部42に記憶されている複数の識別情報とが一致しているかどうかを判定する判定手段として機能する。出力部142は、コンピュータ1に接続されている複数の変位計5から取得された複数の識別情報と記憶部42に記憶されている複数の識別情報とが一致していないときに、コンピュータ1に接続されている複数の変位計の識別情報と複数の表示オブジェクトの識別情報との関連付けの更新を承諾するかどうかを求める情報を出力してもよい。図29(B)を用いて説明したように、更新部144は、更新を承諾する指示が入力されると、関連付けを更新してもよい。   As described with reference to FIG. 25 and the like, the device determination unit 141 is stored in the storage unit 42 and a plurality of identification information acquired by the device management unit 54 from the plurality of displacement meters 5 connected to the computer 1. It functions as a determination means for determining whether or not a plurality of identification information items that match. When the plurality of pieces of identification information acquired from the plurality of displacement meters 5 connected to the computer 1 and the plurality of pieces of identification information stored in the storage unit 42 do not coincide with each other, the output unit 142 Information for requesting whether or not to update the association between the identification information of the plurality of connected displacement meters and the identification information of the plurality of display objects may be output. As described with reference to FIG. 29B, the update unit 144 may update the association when an instruction to accept the update is input.

デバイス判定部141が、コンピュータ1に接続されている複数の変位計5からデバイス管理部54により取得された複数の識別情報のうち一つが記憶部42には記憶されていない未知の変位計の識別情報であり、かつ、記憶部42に記憶されている複数の変位計5の識別情報のうち一つの変位計5の識別情報が取得できないと判定し、かつ、更新を承諾する指示が入力されると、更新部144は、記憶部42に記憶されている複数の変位計5の識別情報のうちデバイス管理部54により取得できなくなった一つの変位計の識別情報に関連付けられていた表示オブジェクトの識別情報を、未知の変位計の識別情報に関連付けてもよい。   Identification of an unknown displacement meter in which one of the plurality of identification information acquired by the device management unit 54 from the plurality of displacement meters 5 connected to the computer 1 is not stored in the storage unit 42 Information, and it is determined that the identification information of one displacement meter 5 among the identification information of the plurality of displacement meters 5 stored in the storage unit 42 cannot be obtained, and an instruction to approve the update is input Then, the update unit 144 identifies the display object associated with the identification information of one displacement meter that cannot be obtained by the device management unit 54 among the identification information of the plurality of displacement meters 5 stored in the storage unit 42. The information may be associated with identification information of an unknown displacement meter.

S28に関して説明したように、出力部142は、記憶部42に記憶されている複数の変位計5の識別情報のうち二つ以上の変位計の識別情報がデバイス管理部54により取得できなくなると、当該二つ以上の変位計の識別情報を強調して出力してもよい。なお、出力部142は、エラーメッセージを出力してもよい。   As described with respect to S28, when the output unit 142 cannot acquire the identification information of two or more displacement meters among the identification information of the plurality of displacement meters 5 stored in the storage unit 42 by the device management unit 54, The identification information of the two or more displacement meters may be emphasized and output. Note that the output unit 142 may output an error message.

中継部10は、複数の変位計5に対して一対一で接続され、それぞれ接続された変位計5の測定結果をコンピュータ1に転送する複数の中継手段であってものよい。記憶部42は、複数の表示オブジェクト74の識別情報と、複数の変位計5の識別情報と、複数の中継部10の識別情報とを関連付けて記憶する。デバイス判定部141が、記憶部42に記憶されている複数の中継部10の識別情報のすべてがデバイス管理部54により取得され、かつ、記憶部42に記憶されていない未知の変位計の識別情報が複数の中継部10のうち一つの中継部10を通じて取得されると、更新部144は、当該一つの中継部10の識別情報に関連付けられている表示オブジェクト74の識別情報に対して、未知の変位計の識別情報を関連付けてもよい。   The relay unit 10 may be a plurality of relay units that are connected to the plurality of displacement meters 5 on a one-to-one basis and that transfer measurement results of the connected displacement meters 5 to the computer 1. The storage unit 42 stores the identification information of the plurality of display objects 74, the identification information of the plurality of displacement meters 5, and the identification information of the plurality of relay units 10 in association with each other. The device determination unit 141 obtains all the identification information of the plurality of relay units 10 stored in the storage unit 42 by the device management unit 54 and is not stored in the storage unit 42. Is acquired through one relay unit 10 among the plurality of relay units 10, the update unit 144 determines whether the identification information of the display object 74 associated with the identification information of the one relay unit 10 is unknown. Displacement meter identification information may be associated.

Claims (21)

測定対象物に対する距離または前記測定対象物の変位を測定する第一変位計および第二変位計と接続され、前記第一変位計および前記第二変位計を制御するコンピュータにおいて実行されるプログラムであって、
前記第一変位計の識別情報を前記第一変位計から取得するとともに、前記第二変位計の識別情報を前記第二変位計から取得する取得手段と、
前記第一変位計の識別情報と前記第二変位計の識別情報を記憶する第一記憶手段と、
前記第一変位計の識別情報と、前記第一変位計により得られた測定値を表示する第一表示オブジェクトの識別情報との関連付けを記憶するとともに、前記第二変位計の識別情報と、前記第二変位計により得られた測定値を表示する第二表示オブジェクトの識別情報との関連付けを記憶する第二記憶手段と、
前記第一変位計により得られた測定値を前記第一表示オブジェクトにレンダリングするとともに、前記第二変位計により得られた測定値を前記第二表示オブジェクトにレンダリングするレンダリング手段と、
前記第一変位計の識別情報が取得できなくなり、かつ、第三変位計の識別情報が取得されるようになると、当該第三変位計により得られた測定値を前記第一表示オブジェクトにレンダリングすべく、前記第一変位計の識別情報に代えて前記第三変位計の識別情報を前記第一表示オブジェクトの識別情報に関連付けることの承諾を求める情報を出力する出力手段と、
前記第一表示オブジェクトの識別情報に関連付けられている識別情報を前記第一変位計の識別情報に代えて前記第三変位計の識別情報に変更する変更手段として前記コンピュータを機能させることを特徴とするプログラム。
A program that is connected to a first displacement meter and a second displacement meter that measure a distance to the measurement object or a displacement of the measurement object and that is executed in a computer that controls the first displacement meter and the second displacement meter. And
Obtaining the identification information of the first displacement meter from the first displacement meter, and obtaining the identification information of the second displacement meter from the second displacement meter;
First storage means for storing identification information of the first displacement meter and identification information of the second displacement meter;
Storing the association between the identification information of the first displacement meter and the identification information of the first display object that displays the measurement value obtained by the first displacement meter, and the identification information of the second displacement meter, Second storage means for storing an association with identification information of a second display object for displaying a measurement value obtained by the second displacement meter;
Rendering means for rendering the measurement value obtained by the first displacement meter on the first display object, and rendering the measurement value obtained by the second displacement meter on the second display object;
When the identification information of the first displacement meter cannot be acquired and the identification information of the third displacement meter is acquired, the measurement value obtained by the third displacement meter is rendered on the first display object. Therefore, output means for outputting information for requesting consent to associate the identification information of the third displacement meter with the identification information of the first display object instead of the identification information of the first displacement meter,
The computer is caused to function as changing means for changing the identification information associated with the identification information of the first display object to the identification information of the third displacement meter instead of the identification information of the first displacement meter. Program to do.
前記承諾を受け付ける受付手段をさらに有し、
前記変更手段は、前記承諾が受け付けられると、前記第一表示オブジェクトの識別情報に関連付けられている識別情報を前記第一変位計の識別情報に代えて前記第三変位計の識別情報に変更することを特徴とする請求項1に記載のプログラム。
And further comprising a receiving means for receiving the consent,
When the approval is accepted, the changing means changes the identification information associated with the identification information of the first display object to the identification information of the third displacement meter instead of the identification information of the first displacement meter. The program according to claim 1.
前記出力手段は、前記変更手段が変更を実行した後で、事後承諾を求める情報を出力することを特徴とする請求項1に記載のプログラム。   The program according to claim 1, wherein the output unit outputs information for requesting subsequent approval after the change unit executes the change. 前記第一変位計、前記第二変位計および前記第三変位計のそれぞれは、
前記測定対象物に対する距離または前記測定対象物の変位を電気信号に変換するヘッドと、
前記電気信号を前記コンピュータに中継する中継手段と、
前記中継手段と前記コンピュータとを接続するコネクタと、
各変位計の識別情報を記憶する第三記憶手段と
を有することを特徴とする請求項2に記載のプログラム。
Each of the first displacement meter, the second displacement meter, and the third displacement meter is
A head for converting a distance to the measurement object or a displacement of the measurement object into an electrical signal;
Relay means for relaying the electrical signal to the computer;
A connector for connecting the relay means and the computer;
The program according to claim 2, further comprising third storage means for storing identification information of each displacement meter.
前記第三記憶手段は各変位計の識別情報として前記ヘッドの識別情報を記憶していることを特徴とする請求項4に記載のプログラム。   The program according to claim 4, wherein the third storage means stores identification information of the head as identification information of each displacement meter. 前記第三記憶手段は各変位計の識別情報として前記中継手段の識別情報を記憶していることを特徴とする請求項4に記載のプログラム。   The program according to claim 4, wherein the third storage means stores identification information of the relay means as identification information of each displacement meter. 前記ヘッドは交換可能なヘッドであり、
前記第三記憶手段は、
前記ヘッドの識別情報を記憶する第四記憶手段と、
前記中継手段の識別情報を記憶する第五記憶手段と
を有しており、
前記第二記憶手段は、各変位計の識別情報として各変位計を構成している前記ヘッドの識別情報と前記中継手段の識別情報とを、各変位計に対応する表示オブジェクトの識別情報に関連付けて記憶することを特徴とする請求項4に記載のプログラム。
The head is a replaceable head;
The third storage means is
Fourth storage means for storing identification information of the head;
And fifth storage means for storing identification information of the relay means,
The second storage means associates the identification information of the head constituting each displacement meter and the identification information of the relay means as identification information of each displacement meter with identification information of a display object corresponding to each displacement meter. And storing the program according to claim 4.
前記第二記憶手段に記憶されている前記第一変位計の前記ヘッドの識別情報が前記取得手段により取得できなくなり、かつ、前記第一変位計の前記中継手段を通じて別のヘッドの識別情報が取得されると、前記第一変位計の前記ヘッドが交換されたと判定する判定手段として前記コンピュータをさらに機能させ、
前記出力手段は、前記別のベッドの識別情報を前記第一表示オブジェクトの識別情報に関連付けることの承諾を求める情報を出力し、
前記変更手段は、前記受付手段により承諾が受け付けられると、前記第二記憶手段に記憶されている前記第一表示オブジェクトの識別情報に対して前記別のベッドの識別情報を関連付けることを特徴とする請求項7に記載のプログラム。
The identification information of the head of the first displacement meter stored in the second storage unit cannot be acquired by the acquisition unit, and the identification information of another head is acquired through the relay unit of the first displacement meter. Then, the computer further functions as a determination unit that determines that the head of the first displacement meter has been replaced,
The output means outputs information requesting permission to associate the identification information of the other bed with the identification information of the first display object;
When the acceptance is accepted by the accepting unit, the changing unit associates the identification information of the other bed with the identification information of the first display object stored in the second storage unit. The program according to claim 7.
前記第二記憶手段に記憶されている前記第一変位計の前記中継手段の識別情報が前記取得手段により取得できなくなり、かつ、前記第一変位計の前記ヘッドの識別情報が別の中継手段を通じて取得されると、前記第一変位計の前記中継手段が交換されたと判定する判定手段として前記コンピュータをさらに機能させ、
前記出力手段は、前記別の中継手段の識別情報を前記第一表示オブジェクトの識別情報に関連付けることの承諾を求める情報を出力し、
前記変更手段は、前記受付手段により承諾が受け付けられると、前記第二記憶手段に記憶されている前記第一表示オブジェクトの識別情報に対して前記別の中継手段の識別情報を関連付けることを特徴とする請求項7に記載のプログラム。
The identification information of the relay means of the first displacement meter stored in the second storage means cannot be acquired by the acquisition means, and the identification information of the head of the first displacement meter is passed through another relay means When acquired, the computer further functions as a determination unit that determines that the relay unit of the first displacement meter has been replaced,
The output means outputs information asking for permission to associate the identification information of the other relay means with the identification information of the first display object;
When the acceptance is accepted by the accepting means, the changing means associates the identification information of the other relay means with the identification information of the first display object stored in the second storage means. The program according to claim 7.
前記第二記憶手段に記憶されている前記第一変位計の前記ヘッドの識別情報と前記中継手段の識別情報との両方が前記取得手段により取得できなくなり、かつ、前記第三変位計のヘッドの識別情報と中継手段の識別情報とが取得されると、前記第一変位計が前記第三変位計に交換されたと判定する判定手段として前記コンピュータをさらに機能させ、
前記出力手段は、前記第三変位計のヘッドの識別情報と中継手段の識別情報とを前記第一表示オブジェクトの識別情報に関連付けることの承諾を求める情報を出力し、
前記変更手段は、前記受付手段により承諾が受け付けられると、前記第二記憶手段に記憶されている前記第一表示オブジェクトの識別情報に対して前記第三変位計のヘッドの識別情報と中継手段の識別情報とを関連付けることを特徴とする請求項9に記載のプログラム。
Both the identification information of the head of the first displacement meter and the identification information of the relay unit stored in the second storage unit cannot be acquired by the acquisition unit, and the head of the third displacement meter When the identification information and the identification information of the relay means are acquired, the computer further functions as a determination means for determining that the first displacement meter has been replaced with the third displacement meter,
The output means outputs information asking for permission to associate the identification information of the head of the third displacement meter and the identification information of the relay means with the identification information of the first display object;
When the accepting means is accepted by the accepting means, the changing means, with respect to the identification information of the first display object stored in the second storage means, the identification information of the head of the third displacement meter and the relay means The program according to claim 9, wherein the program is associated with identification information.
前記第一変位計、前記第二変位計および前記第三変位計のそれぞれは、
前記コンピュータから出力される点灯指示に応じて点灯する表示灯をさらに有することを特徴とする請求項4に記載のプログラム。
Each of the first displacement meter, the second displacement meter, and the third displacement meter is
The program according to claim 4, further comprising an indicator lamp that lights in response to a lighting instruction output from the computer.
前記コンピュータに接続されている複数の変位計のリストを表示するリスト手段と、
前記複数の変位計のうちの一つの変位計を選択する選択手段と、
前記選択手段により選択された変位計の前記表示灯を点灯させる点灯制御手段としてさらにコンピュータを機能させることを特徴とする請求項11に記載のプログラム。
List means for displaying a list of a plurality of displacement meters connected to the computer;
Selecting means for selecting one of the plurality of displacement meters;
The program according to claim 11, further causing a computer to function as lighting control means for lighting the indicator lamp of the displacement meter selected by the selection means.
前記プログラムが起動したときに、前記第一記憶手段に記憶されているすべての変位計の識別情報と前記取得手段により取得されたすべての変位計の識別情報とが一致すると、前記出力手段は前記情報を表示しないことを特徴とする請求項1ないし12のいずれか一項に記載のプログラム。   When the identification information of all the displacement meters stored in the first storage unit matches the identification information of all the displacement meters acquired by the acquisition unit when the program is started, the output unit The program according to any one of claims 1 to 12, wherein information is not displayed. 各変位計の測定結果をモニターするためのモニター画面を作成する作成手段であって、
前記測定対象物の画像をインポートするインポート手段と、
前記測定対象物の画像に対して、各変位計の測定結果を表示するための表示オブジェクトを配置する配置手段と
を有する前記作成手段として前記コンピュータを機能させることを特徴とする請求項1ないし13のいずれか一項に記載のプログラム。
A creation means for creating a monitor screen for monitoring the measurement result of each displacement meter,
Import means for importing an image of the measurement object;
14. The computer is caused to function as the creation means having placement means for placing a display object for displaying a measurement result of each displacement meter with respect to an image of the measurement object. The program as described in any one of.
前記作成手段は、前記コンピュータに接続されてないダミー変位計の測定結果を表示する表示オブジェクトを前記測定対象物の画像に配置することを特徴とする請求項14に記載のプログラム。   15. The program according to claim 14, wherein the creating unit arranges a display object for displaying a measurement result of a dummy displacement meter not connected to the computer in an image of the measurement object. 測定対象物に対する距離または測定対象物の変位を測定する複数の変位計と接続され、前記複数の変位計を制御するコンピュータにおいて実行されるプログラムであって、
前記複数の変位計のそれぞれから固有の識別情報を取得する取得手段と、
前記取得手段により取得された前記複数の変位計のそれぞれの識別情報を記憶する第一記憶手段と、
前記複数の変位計のそれぞれにより得られた測定値を表示する複数の表示オブジェクトの識別情報と、前記複数の変位計のそれぞれの識別情報との関連付けを記憶する第二記憶手段と、
前記複数の変位計により得られた各測定値を、前記複数の表示オブジェクトのうち関連付けられている表示オブジェクトに表示させる表示制御手段と、
前記複数の変位計のうち一つの変位計が他の変位計に変更されると、前記取得手段により取得された当該他の変位計の識別情報を、前記複数の表示オブジェクトのうち当該一つの変位計の識別情報に関連付けられていた表示オブジェトの識別情報に関連付けることの承諾を求める情報を出力する出力手段として前記コンピュータを機能させることを特徴とするプログラム。
A program that is connected to a plurality of displacement meters that measure a distance to the measurement object or a displacement of the measurement object and that is executed in a computer that controls the plurality of displacement meters,
Obtaining means for obtaining unique identification information from each of the plurality of displacement meters;
First storage means for storing identification information of each of the plurality of displacement meters acquired by the acquisition means;
Second storage means for storing identification information of a plurality of display objects for displaying measured values obtained by each of the plurality of displacement gauges, and identification information for each of the plurality of displacement gauges;
Display control means for displaying each measurement value obtained by the plurality of displacement meters on an associated display object among the plurality of display objects;
When one displacement meter of the plurality of displacement meters is changed to another displacement meter, the identification information of the other displacement meter acquired by the acquisition unit is used as the one displacement of the plurality of display objects. A program for causing the computer to function as output means for outputting information for requesting consent to be associated with identification information of a display object associated with identification information of a total.
測定対象物に対する距離または前記測定対象物の変位を測定する変位計であって、
前記測定対象物に対する距離または前記測定対象物の変位を電気信号に変換するヘッドと、
前記ヘッドに接続され前記電気信号を伝達する第一信号線と、
前記第一信号線が接続され、前記電気信号を第一通信規格の通信信号に変換する第一中継手段と、
前記ヘッドの固有識別情報を記憶する第一記憶手段と、
前記第一中継手段とコンピュータとの間に着脱可能に接続され、前記第一通信規格の通信信号を第二通信規格の通信信号に変換する第二中継手段と、
前記第二中継手段の固有識別情報を記憶する第二記憶手段と、
を有し、
前記第二中継手段は、前記第一記憶手段から取得した前記ヘッドの固有識別情報と、前記第二記憶手段から取得した前記第二中継手段の固有識別情報とを前記コンピュータに送信することを特徴とする変位計。
A displacement meter for measuring a distance to a measurement object or a displacement of the measurement object,
A head for converting a distance to the measurement object or a displacement of the measurement object into an electrical signal;
A first signal line connected to the head and transmitting the electrical signal;
A first relay means connected to the first signal line, for converting the electrical signal into a communication signal of a first communication standard;
First storage means for storing unique identification information of the head;
A second relay unit that is detachably connected between the first relay unit and the computer, and that converts the communication signal of the first communication standard into a communication signal of the second communication standard;
Second storage means for storing unique identification information of the second relay means;
Have
The second relay means transmits the unique identification information of the head acquired from the first storage means and the unique identification information of the second relay means acquired from the second storage means to the computer. Displacement meter.
前記第二中継手段は前記コンピュータによってCOMポート番号を付与される通信デバイスであることを特徴とする請求項17に記載の変位計。   The displacement meter according to claim 17, wherein the second relay means is a communication device to which a COM port number is assigned by the computer. 測定対象物に対する距離または測定対象物の変位を測定する複数の変位計と接続され、前記複数の変位計を制御するコンピュータにおいて実行されるプログラムであって、
前記複数の変位計のそれぞれにより得られた測定値を表示する複数の表示オブジェクトの識別情報と、前記複数の変位計のそれぞれの識別情報とを関連付けて記憶する記憶手段と、
前記複数の変位計により得られた各測定値を、前記複数の表示オブジェクトのうち関連付けられている表示オブジェクトにレンダリングするレンダリング手段と、
前記プログラムが起動されるか、または、取得指示が入力されると、前記コンピュータに接続されている複数の変位計のそれぞれから固有の識別情報を取得する取得手段と、
前記コンピュータに接続されている複数の変位計から前記取得手段により取得された複数の識別情報と前記記憶手段に記憶されている複数の識別情報とが一致しているかどうかを判定する判定手段と、
前記コンピュータに接続されている複数の変位計から取得された複数の識別情報と前記記憶手段に記憶されている複数の識別情報とが一致していないときに、前記コンピュータに接続されている複数の変位計の識別情報と前記複数の表示オブジェクトの識別情報との関連付けの更新を承諾するかどうかを求める情報を出力する出力手段と、
前記更新を承諾する指示が入力されると、前記関連付けを更新する更新手段として前記コンピュータを機能させることを特徴とするプログラム。
A program that is connected to a plurality of displacement meters that measure a distance to the measurement object or a displacement of the measurement object and that is executed in a computer that controls the plurality of displacement meters,
Storage means for storing identification information of a plurality of display objects for displaying measured values obtained by each of the plurality of displacement gauges and identification information for each of the plurality of displacement gauges;
Rendering means for rendering each measurement value obtained by the plurality of displacement meters to an associated display object among the plurality of display objects;
When the program is started or an acquisition instruction is input, acquisition means for acquiring unique identification information from each of a plurality of displacement meters connected to the computer,
A determination unit that determines whether or not a plurality of pieces of identification information acquired by the acquisition unit from a plurality of displacement meters connected to the computer match a plurality of pieces of identification information stored in the storage unit;
When a plurality of identification information acquired from a plurality of displacement meters connected to the computer and a plurality of identification information stored in the storage means do not match, a plurality of information connected to the computer Output means for outputting information for requesting whether or not to accept the update of the association between the identification information of the displacement meter and the identification information of the plurality of display objects;
When an instruction for accepting the update is input, the program causes the computer to function as update means for updating the association.
前記判定手段が、前記コンピュータに接続されている複数の変位計から前記取得手段により取得された複数の識別情報のうち一つが前記記憶手段には記憶されていない未知の変位計の識別情報であり、かつ、前記記憶手段に記憶されている複数の変位計の識別情報のうち一つの変位計の識別情報が取得できないと判定し、かつ、前記更新を承諾する指示が入力されると、前記更新手段は、前記記憶手段に記憶されている複数の変位計の識別情報のうち前記取得手段により取得できなくなった一つの変位計の識別情報に関連付けられていた表示オブジェクトの識別情報を、前記未知の変位計の識別情報に関連付けることを特徴とする請求項19に記載のプログラム。   One of the plurality of identification information acquired by the acquisition unit from the plurality of displacement meters connected to the computer is identification information of an unknown displacement meter that is not stored in the storage unit. And when it is determined that the identification information of one displacement gauge among the identification information of the plurality of displacement gauges stored in the storage means cannot be acquired, and an instruction to accept the update is input, The means includes the identification information of the display object associated with the identification information of one displacement meter that cannot be acquired by the acquisition unit among the identification information of the plurality of displacement meters stored in the storage unit, The program according to claim 19, wherein the program is associated with identification information of a displacement meter. 前記複数の変位計に対して一対一で接続され、それぞれ接続された変位計の測定結果を前記コンピュータに転送する複数の中継手段をさらに有し、
前記記憶手段は、前記複数の表示オブジェクトの識別情報と、前記複数の変位計の識別情報と、前記複数の中継手段の識別情報とを関連付けて記憶し、
前記判定手段が、前記記憶手段に記憶されている前記複数の中継手段の識別情報のすべてが前記取得手段により取得され、かつ、前記記憶手段に記憶されていない未知の変位計の識別情報が前記複数の中継手段のうち一つの中継手段を通じて取得されると、前記更新手段は、当該一つの中継手段の識別情報に関連付けられている表示オブジェクトの識別情報に対して、前記未知の変位計の識別情報を関連付けることを特徴とする請求項19に記載のプログラム。
A plurality of relay means connected to the plurality of displacement meters on a one-to-one basis and transferring the measurement results of the connected displacement meters to the computer;
The storage means stores the identification information of the plurality of display objects, the identification information of the plurality of displacement meters, and the identification information of the plurality of relay means in association with each other,
The determination means acquires all the identification information of the plurality of relay means stored in the storage means by the acquisition means, and identification information of an unknown displacement meter not stored in the storage means When acquired through one relay means among a plurality of relay means, the update means identifies the unknown displacement meter with respect to the display object identification information associated with the identification information of the one relay means. The program according to claim 19, wherein the information is associated.
JP2016069215A 2016-03-30 2016-03-30 Program that displays the measurement result of displacement meter Expired - Fee Related JP6694307B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016069215A JP6694307B2 (en) 2016-03-30 2016-03-30 Program that displays the measurement result of displacement meter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016069215A JP6694307B2 (en) 2016-03-30 2016-03-30 Program that displays the measurement result of displacement meter

Publications (3)

Publication Number Publication Date
JP2017181314A true JP2017181314A (en) 2017-10-05
JP2017181314A5 JP2017181314A5 (en) 2019-05-09
JP6694307B2 JP6694307B2 (en) 2020-05-13

Family

ID=60004466

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016069215A Expired - Fee Related JP6694307B2 (en) 2016-03-30 2016-03-30 Program that displays the measurement result of displacement meter

Country Status (1)

Country Link
JP (1) JP6694307B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020125934A (en) * 2019-02-01 2020-08-20 株式会社小野測器 Measurement system
JP2022100869A (en) * 2020-12-24 2022-07-06 ダイキン工業株式会社 Air treatment device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007101502A (en) * 2005-10-07 2007-04-19 Koshin Kensetsu Kk Displacement information acquisition system
JP2010175539A (en) * 2009-01-27 2010-08-12 General Electric Co <Ge> Automatic calibration of sensor by sensor parameter download
JP2013246173A (en) * 2012-05-25 2013-12-09 Mitsutoyo Corp Exchangeable optical mechanism for chromatic range sensor optical pen

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007101502A (en) * 2005-10-07 2007-04-19 Koshin Kensetsu Kk Displacement information acquisition system
JP2010175539A (en) * 2009-01-27 2010-08-12 General Electric Co <Ge> Automatic calibration of sensor by sensor parameter download
JP2013246173A (en) * 2012-05-25 2013-12-09 Mitsutoyo Corp Exchangeable optical mechanism for chromatic range sensor optical pen

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020125934A (en) * 2019-02-01 2020-08-20 株式会社小野測器 Measurement system
JP7208810B2 (en) 2019-02-01 2023-01-19 株式会社小野測器 measurement system
JP2022100869A (en) * 2020-12-24 2022-07-06 ダイキン工業株式会社 Air treatment device
JP7456925B2 (en) 2020-12-24 2024-03-27 ダイキン工業株式会社 air treatment equipment

Also Published As

Publication number Publication date
JP6694307B2 (en) 2020-05-13

Similar Documents

Publication Publication Date Title
EP3232280B1 (en) Field device maintenance apparatus, method for maintaining a field device, and storage medium
US20110178754A1 (en) Portable Articulated Arm Coordinate Measuring Machine Having Integrated Software Controls
US9719887B2 (en) Field device commissioning system and field device commissioning method
CN104049122B (en) Hand-held measuring system with optional option
JP6625398B2 (en) Inspection guidance system
JP6111675B2 (en) Method, apparatus and program for supporting user program design of safety controller
CN104502743A (en) Automatic testing system and method for power management product based on Labview
EP3232380B1 (en) Device maintenance apparatus, method for maintaining device, and storage medium
JP6694307B2 (en) Program that displays the measurement result of displacement meter
JP6197827B2 (en) Sensor management apparatus, sensor management method, and sensor management program
US9323900B2 (en) Analysis system, analysis device, and management device
JP6863752B2 (en) Management device for measuring equipment
JP2013211000A (en) Portable terminal device
US10078034B2 (en) Field device commissioning system and field device commissioning method
JP2011114415A (en) Radio device connection state display device
TWI431620B (en) Burning method
TW201437946A (en) Engineering tool
JP6735129B2 (en) Program for displaying measurement result of displacement gauge, displacement gauge system and displacement measurement method
JP2014142823A (en) Data creation device and method
US6892158B2 (en) Measurement data collection apparatus
JP2013161153A (en) Construction method of control system for controlling energy consuming device, and control system for controlling energy consuming device
KR101239804B1 (en) Apparatus and method for diagnosing control rod control system
JP2018163138A (en) Positioning device and program
JP2019080435A (en) Smart meter determination system
KR101833311B1 (en) Control system of the automation equipment using a smart phone

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190314

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190314

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200120

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200124

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200316

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: 20200403

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200417

R150 Certificate of patent or registration of utility model

Ref document number: 6694307

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees