Controller and measuring system

JP2024113563A5Pending Publication Date: 2025-12-17TOKYO SEIMITSU CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2023018641
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-09
Publication Date
2025-12-17

AI Technical Summary

Technical Problem

Existing shape measuring machines require significant time and effort for advance preparation of automatic programs for each workpiece, and changing measurement conditions necessitates creating separate programs, leading to poor maintainability.

Method used

A control device that acquires setting information from outside sources and controls the shape measuring machine to perform specific operations based on this information, allowing for variable settings and external data files to reduce preparation effort and enable sharing of automatic programs among similar workpieces.

Benefits of technology

This approach reduces the time and effort required for preparing to measure different workpieces, improves maintainability, and minimizes data storage and communication load by enabling shared automatic programs, while ensuring accurate and consistent measurement results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

To provide a controller and a measuring system that can reduce time and effort for advance preparations when measuring different workpieces.SOLUTION: A controller has a control unit that controls a shape measuring machine according to a program in which an operating procedure for measurement is described. The control unit acquires, from the outside, setting information on a specific operation of a series of operations to be performed by the shape measuring machine according to the program, and causes the shape measuring machine to perform the specific operation according to the acquired setting information.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a control device for a shape measuring machine, and a measurement system including a shape measuring machine and its control device. [Background technology]

[0002] In a Computerized Numerically Controlled (CNC) measuring machine, the measuring machine operates according to a pre-created automatic program (also called a part program) and automatically measures the workpiece (object to be measured) (for example, see Patent Documents 1-3).

[0003] In shape measuring machines (for example, three-dimensional coordinate measuring machines, surface roughness measuring machines, contour measuring machines, roundness measuring machines, cylindrical shape measuring machines, etc.) that measure the shape of a workpiece (surface roughness, contour shape, roundness, three-dimensional coordinates, etc.) via a stylus, the movement path of the stylus, the conditions for analyzing the measurement results, etc. are written into an automatic program. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2004-017198 A [Patent Document 2] JP 2017-166955 A [Patent Document 3] JP 2020-071029 A Summary of the Invention [Problem to be solved by the invention]

[0005] An automatic program needs to be created for each workpiece, which means that as the number of workpieces increases, the amount of preparation work required increases.

[0006] Furthermore, even when measurements are to be performed with only some conditions changed, a separate automatic program must be created, which presents a problem of poor maintainability.

[0007] The present invention has been made in consideration of the above circumstances, and has an object to provide a control device and a measurement system that can reduce the effort required for advance preparation when measuring different workpieces. [Means for solving the problem]

[0008] In order to solve the above problems, the control device of the first aspect is a control device for a shape measuring machine, and has a control unit that controls the shape measuring machine in accordance with a program in which measurement operation procedures are described, and the control unit acquires setting information from the outside for a specific operation among a series of operations to be performed by the shape measuring machine in accordance with the program, and causes the shape measuring machine to perform the specific operation in accordance with the acquired setting information.

[0009] The control device of the second aspect is characterized in that, in the control device of the first aspect, the program describes settings for a specific operation using variables, and when causing the shape measuring machine to perform a specific operation, the control unit refers to setting information acquired from outside and causes the shape measuring machine to perform the specific operation.

[0010] The control device of the third aspect is characterized in that, in the control device of the second aspect, the control unit acquires the setting information for the specific operation by externally acquiring a data file in which setting information for the specific operation is recorded.

[0011] The control device of the fourth aspect is characterized in that, in the control device of the first aspect, the control unit rewrites the program description for a specific operation based on setting information obtained from the outside, and controls the shape measuring instrument in accordance with the rewritten program.

[0012] The control device of the fifth aspect is characterized in that, in the control device of any one of the first to fourth aspects, the control unit displays information on a series of operations to be performed by the shape measuring instrument according to a program, and setting information for each operation, on the first display unit, and displays information regarding a specific operation in an emphasized manner.

[0013] The control device of a sixth aspect is characterized in that, in the control device of any one of the first to fourth aspects, the control unit acquires authentication information associated with setting information for a specific operation from the outside, determines the authenticity of the acquired authentication information, and if the authenticity of the acquired authentication information is confirmed, controls the shape measuring machine in accordance with the program.

[0014] The control device of the seventh aspect is characterized in that, in the control device of the sixth aspect, the control unit compares authentication information associated with the program with the acquired authentication information to determine the authenticity of the acquired authentication information.

[0015] The control device of an eighth aspect is characterized in that, in the control device of any one of the first to fourth aspects, the specific operation is an operation of positioning the measurement position, and the control unit acquires setting information about the measurement position from the outside.

[0016] A ninth aspect of the control device is the control device according to any one of the first to fourth aspects, characterized in that the shape measuring machine measures the roundness using a stylus.

[0017] The control device of the 10th aspect is characterized in that, in the control device of any one of the 1st to 4th aspects, it further has a reading unit that reads the setting information from a medium on which the setting information is recorded, and the control unit acquires the setting information from the reading unit that reads the setting information from the medium.

[0018] The control device of the 11th aspect is characterized in that, in the control device of the 10th aspect, code information encoding setting information for a specific operation is printed on a medium, and the reading unit reads the code information from the medium to obtain the setting information.

[0019] The control device of a twelfth aspect is characterized in that, in the control device of any one of the first to fourth aspects, the specific operation is an operation of positioning the measurement position, and the control unit acquires setting information about the measurement position from the outside, and displays the acquired setting information about the measurement position on the first display unit.

[0020] The control device of the 13th aspect is characterized in that, in the control device of the 12th aspect, the control unit displays a diagram of the workpiece on the first display unit and displays setting information about the measurement position in association with the diagram.

[0021] The control device of a fourteenth aspect is characterized in that, in the control device of the thirteenth aspect, the figure is a figure of a cross section of the workpiece.

[0022] The measurement system of the first aspect is characterized by comprising a shape measuring machine, any one of the control devices of the eleventh to fourth aspects for controlling the shape measuring machine, and an external device for outputting setting information for a specific operation to the control device and instructing the execution of a measurement.

[0023] The measurement system of the second aspect comprises a shape measuring machine, a control device of the third aspect that controls the shape measuring machine, and an external device that outputs setting information for a specific operation to the control device and instructs the execution of measurement, wherein the external device comprises an input unit that accepts input of settings for the specific operation, and a data file generation unit that generates a data file based on the input information.

[0024] The measurement system of the third aspect comprises a shape measuring machine, a control device of the 12th aspect that controls the shape measuring machine, and an external device that outputs setting information regarding the measurement position to the control device and instructs the execution of the measurement, and is characterized in that the external device comprises a second display unit, an input unit that accepts input of settings regarding the measurement position, and a display control unit that displays the inputted setting information of the measurement position on the second display unit.

[0025] The measurement system of the fourth aspect is characterized in that, in the measurement system of the third aspect, the display control unit displays a diagram of the workpiece on the second display unit and displays measurement position setting information in association with the diagram. Effect of the Invention

[0026] According to the present invention, the time and effort required for advance preparation when measuring different workpieces can be reduced. [Brief description of the drawings]

[0027] [Figure 1] FIG. 1 is a system configuration diagram showing an example of a measurement system to which the present invention is applied. [Diagram 2] FIG. 2 is a diagram showing an example of a roundness measuring machine. [Diagram 3] FIG. 3 is a diagram illustrating an example of a hardware configuration of the control device. [Figure 4] FIG. 4 is a block diagram of main functions of the control device. [Diagram 5] FIG. 5 is a diagram showing an outline of the automatic program. [Figure 6] FIG. 6 is a diagram showing an example of a display of the measurement results. [Figure 7] FIG. 7 is a diagram illustrating an example of the management database. [Figure 8] FIG. 8 is a diagram showing a process flow of the measurement system. [Figure 9] FIG. 9 is a flowchart showing a procedure of measurement control performed by the control device. [Figure 10] FIG. 10 is a diagram showing an example of highlighting. [Figure 11] FIG. 11 is a diagram showing an example of a processing flow when performing authentication processing on an external file. [Figure 12] FIG. 12 is a diagram showing an example of a setting screen for setting information. [Figure 13] FIG. 13 is a conceptual diagram showing an example of a method for checking the setting contents. [Figure 14]FIG. 14 is a block diagram of the main functions of the control device when the setting information is encoded and read. [Figure 15] FIG. 15 is a block diagram of main functions of the control device of the measurement system of this embodiment. [Figure 16] FIG. 16 is a diagram showing an example of a process flow when the automatic program is rewritten to execute measurement control. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0028] Preferred embodiments of the present invention will now be described with reference to the accompanying drawings.

[0029] [First embodiment] [Measurement system] FIG. 1 is a system configuration diagram showing an example of a measurement system to which the present invention is applied.

[0030] 1 is a system that automatically measures the roundness of a workpiece W, and includes a roundness measuring machine 100, a control device 200 that controls the roundness measuring machine 100, a carry-in / out device 300 that carries the workpiece W in and out of the roundness measuring machine 100, and a general control device 400 that generalizes and controls the entire system. The roundness measuring machine 100 is an example of a shape measuring machine.

[0031] [Roundness measuring machine] Fig. 2 is a diagram showing an example of a roundness measuring machine. In Fig. 2, X, Y, and Z indicate three directions that are perpendicular to each other. As an example, the X direction and the Y direction are horizontal directions, and the Z direction is a vertical direction (height direction). An axis parallel to the X direction is the X axis, an axis parallel to the Y direction is the Y axis, and an axis parallel to the Z direction is the Z axis.

[0032] The roundness measuring machine 100 shown in Fig. 2 is a table rotation type roundness measuring machine. The table rotation type roundness measuring machine 100 measures by rotating the table side while fixing the detector side. In the table rotation type roundness measuring machine 100, a workpiece W is held on a table 112, and the displacement of the surface of the workpiece W is detected by a detector 116 in synchronization with the rotation angle of the table 112, thereby obtaining data (polar coordinate data) required for calculating roundness.

[0033] 2 is a so-called contact type roundness measuring machine. In the contact type roundness measuring machine, a contact needle (also called a probe or stylus) 116A is brought into contact with the surface of the workpiece W to detect the displacement of the surface of the workpiece W.

[0034] As shown in FIG. 2, the roundness measuring machine 100 includes a base 110, a table 112, a rotational position detection unit (not shown), a table driving unit 114, a detector 116, a detector driving unit 118, and the like.

[0035] The base 110 is a support table (base) that supports each part of the roundness measuring machine 100.

[0036] Table 112 has a disk-like shape and rotates around a rotation axis θ parallel to the Z axis. Although omitted for convenience, table 112 is preferably equipped with a centering mechanism, a tilting mechanism, and the like. The centering mechanism is a mechanism that adjusts the center position of table 112. The tilting mechanism is a mechanism that adjusts the tilt of table 112.

[0037] The table 112 is provided with an air chuck 120 as a means for holding the workpiece W. The workpiece W is held by the air chuck 120 and fixed onto the table 112.

[0038] A rotational position detection unit (not shown) detects the rotational position of table 112. The rotational position detection unit is configured, for example, by a rotary encoder or the like.

[0039] Table driving section 114 is composed of a support section (not shown) that rotatably supports table 112, a motor (not shown) as a rotation drive source, a rotation transmission mechanism (not shown) that transmits the rotation of the motor to the table, and the like.

[0040] Detector 116 is a contact type detector. Contact type detector 116 has a stylus 116A, and detects the displacement of the surface of workpiece W by bringing the tip of stylus 116A into contact with the surface of workpiece W. More specifically, the amount of displacement of the tip of stylus 116A is detected to detect the displacement of the surface of workpiece W. The amount of displacement of stylus 116A is detected by, for example, a differential transformer or the like.

[0041] The detector driving unit 118 moves the detector 116 in the Z direction and the X direction on the base 110. As shown in FIG. 2, the detector driving unit 118 is composed of a column 118A provided on the base 110, a carriage 118B provided on the column 118A, an arm 118C provided on the carriage 118B, and a detector holder 118D provided on the arm 118C. The column 118A is disposed along the Z direction. The carriage 118B is supported so as to be movable along the Z direction. The carriage 118B is driven by a drive mechanism (not shown) provided on the column 118A to move in the Z direction. The arm 118C is supported so as to be movable along the X direction. The arm 118C is driven by a drive mechanism (not shown) provided on the carriage 118B to move in the X direction. The detector holder 118D is provided at the tip of the arm 118C. Detector 116 is held in detector holder 118D.

[0042] The detector 116 moves in the Z direction by driving the carriage 118B, and moves in the X direction by driving the arm 118C.

[0043] The measurement of roundness is performed according to the following procedure. First, the workpiece W is set on the table 112. The workpiece W is held by the air chuck 120 and set on the table 112. Next, the probe 116A of the detector 116 is brought into contact with the surface of the workpiece W. Next, the table 112 is rotated. While the table 112 is rotating, the detector 116 detects the displacement of the surface of the workpiece W and acquires polar coordinate data. The acquired data is processed to calculate the roundness. When measuring multiple locations, the position at which the probe 116A is brought into contact is changed for measurement. This series of operations during measurement is written as an automatic program.

[0044] [Control device] The control device 200 controls the roundness measuring machine 100 under the control of the overall control device 400, and causes the roundness measuring machine 100 to perform predetermined measurements.

[0045] [Control device hardware configuration] FIG. 3 is a diagram illustrating an example of a hardware configuration of the control device.

[0046] As shown in FIG. 3, the control device 200 is composed of a computer and includes a CPU (Central Processing Unit) 211, a ROM (Read Only Memory) 212, a RAM (Random Access Memory) 213, an auxiliary storage device 214, an input device 215, a display device 216, and an input / output interface (Interface: I / F) 217, etc.

[0047] The CPU 211, which is a processor, constitutes a control unit of the control device 200. The CPU 211 executes a predetermined program (control program) to cause the computer to function as a control device. The control program is stored in the ROM 212 or the auxiliary storage device 214.

[0048] The ROM 212, the RAM 213, and the auxiliary storage device 214 constitute a storage unit of the control device 200. The auxiliary storage device 214 is constituted by, for example, a hard disk drive (HDD) or a solid state drive (SSD).

[0049] The input device 215 constitutes an operation unit of the control device 200. The input device 215 is composed of, for example, a keyboard, a mouse, a touch panel, and the like.

[0050] The display device 216 constitutes a display unit of the control device 200. The display device 216 is constituted by, for example, a liquid crystal display (LCD), an organic light emitting diode (OLED) display, etc. The display device 216 provided in the control device 200 is an example of a first display unit.

[0051] The input / output interface 217 constitutes a connection unit of the control device 200. The control device 200 is connected to the roundness measuring machine 100, the overall control device 400, etc., via the input / output interface 217 so as to be able to communicate with them.

[0052] [Main functions of the control device] FIG. 4 is a block diagram of main functions of the control device.

[0053] As shown in the figure, the control device 200 has functions such as an external file acquisition unit 221, a measurement control unit 222, an arithmetic processing unit 223, a display control unit 224, and a recording control unit 225. These functions are realized by the CPU 211 executing a predetermined program.

[0054] [External file acquisition section] The external file acquisition unit 221 acquires an external file F in which information necessary for measurement is recorded. The external file F is acquired from the general control device 400 via the input / output interface 217. The information recorded in the external file F will be described later.

[0055] [Measurement control section] The measurement control unit 222 controls the measurement of the workpiece W by the roundness measuring machine 100. The measurement control unit 222 controls the roundness measuring machine 100 so that the measurement is performed in a predetermined procedure. The measurement control unit 222 controls the operation of the roundness measuring machine 100 in accordance with an automatic program, thereby controlling the measurement of the workpiece W.

[0056] FIG. 5 is a diagram showing an outline of the automatic program. FIG. 5 shows an example of measuring the roundness of the outer circumference of the inner ring of a bearing as the measurement target (workpiece W). In particular, an example of measuring the roundness of two flange parts (parts on both sides of the raceway groove WRG) WF1 and WF2 is shown. Therefore, there are two measurement points. In FIG. 5, the combination of dots and arrows indicated by the symbol MP shows an example of the movement path of the stylus 116A relative to the workpiece W. Positions Z1 and Z2 show measurement positions in the Z direction. Position Z1 is the measurement position (first measurement position) of one flange part (first flange part) WF1. Position Z2 is the measurement position (second measurement position) of the other flange part (second flange part) WF2.

[0057] As shown in FIG. 5, the roundness is measured in the order of the first flange portion WF1 and the second flange portion WF2. That is, the stylus 116A moves from the bottom to the top of the workpiece W to measure each measurement target portion. In this case, each process (command) is executed in the following procedure. First, the stylus 116A is positioned at the first measurement position Z1. After positioning, the stylus 116A is brought into contact with the outer periphery of the first flange portion WF1 to measure the roundness. After the measurement is completed, the stylus 116A is positioned at the second measurement position Z2. After positioning, the stylus 116A is brought into contact with the outer periphery of the second flange portion WF2 to measure the roundness.

[0058] As shown in Fig. 5, the automatic program describes a series of operations (commands) to be performed by the roundness measuring machine 100 in chronological order. In the example shown in Fig. 5, each operation is performed in the following order: (1) axis clamping [release Z-axis clamp], (2) positioning [Z1], (3) axis clamping [Z-axis clamp], (4) roundness measurement [Gaussian, Low, 50], (5) axis clamping [release Z-axis clamp], (6) positioning [Z2], (7) axis clamping [Z-axis clamp], (8) roundness measurement [Gaussian, Low, 50], (9) axis clamping [release Z-axis clamp]. The items in brackets [ ] are settings for each operation or process.

[0059] "Z-axis clamp" in "axis clamp" refers to clamping (fixing) the Z-axis. Also, "Z-axis clamp release" in "axis clamp" refers to releasing the clamp on the Z-axis.

[0060] The "Z1" in "positioning" means positioning the probe 116A at position Z1 in the Z direction. Moreover, the "Z2" in "positioning" means positioning the probe 116A at position Z2 in the Z direction.

[0061] In "Circularity measurement", the settings in [] are the measurement settings (including the analysis condition settings). [Gaussian, Low, 50] is an example of an analysis condition setting, and shows the settings of "Filter", "Cutoff", and "Number of peaks". "Filter" is used to remove unnecessary shape components from the measurement data. As an example, it is set by selecting from no filter, 2RC, Gaussian, spline, and robust spline. "Cutoff" is used to calculate only the necessary uneven peaks from the measurement data. As an example, a low-pass filter (Low) or bandpass filter (Band) is set. "Number of peaks" is the number of peaks to calculate per revolution of the measurement data. [Gaussian, Low, 50] is an example when Gaussian is selected as the "Filter", low-pass filter (Low) as the "Cutoff", and 50 as the "Number of peaks".

[0062] 5, each operation or process is performed in the following order: (1) release the clamp on the Z axis, (2) position the stylus 116A at position Z1, (3) clamp the Z axis, (4) perform a roundness measurement under set conditions, (5) release the clamp on the Z axis, (6) position the stylus 116A at position Z2, (7) clamp the Z axis, (8) perform a roundness measurement under set conditions, (9) release the clamp on the Z axis. Note that when the measurement starts, the stylus 116A is located at the origin position and the Z axis is clamped. After the measurement is completed, the stylus 116A returns to the origin position and the Z axis is clamped.

[0063] In this way, in the automatic program, a series of operations (commands) to be performed by the roundness measuring machine 100 is written in chronological order.

[0064] In this embodiment, the settings for some of the series of operations described in the automatic program are described using variables. Specifically, the settings for "positioning" are described using variables. The "positioning" operation is an example of a specific operation.

[0065] The control device 200 acquires setting information about "positioning" from the outside. "From the outside" means acquiring from outside the device. In other words, it means acquiring from a device or the like different from the control device 200 (acquiring as so-called external input). The measurement control unit 222 refers to the setting information about positioning acquired from the outside and controls the positioning.

[0066] Setting information for "positioning" is recorded in the external file F. As described above, the external file F is acquired by the external file acquisition unit 221. Therefore, the measurement control unit 222 refers to the external file F acquired by the external file acquisition unit 221 to control the positioning.

[0067] The external file F is, for example, composed of structured data, and describes the setting information regarding positioning in a specified format. As an example, the external file F is composed of a CSV (Comma Separated Value) file. For example, when the first measurement position Z1 is set to Z=20 mm and the second measurement position Z2 is set to Z=40 mm, as shown in FIG. 5, [Z1, Z2] is described on the first line and [20, 40] is described on the second line, and the external file F is created. In this case, the element "Z1" before the comma (,) on the first line indicates that the positioning setting at the first measurement position Z1 is the setting target, and the element "Z2" after the comma indicates that the positioning setting at the second measurement position Z2 is the setting target. Also, the element "20" before the comma on the second line indicates that the positioning setting at the first measurement position Z1 is 20 mm, and the element "40" after the comma indicates that the positioning setting at the second measurement position Z2 is 40 mm. The external file F is an example of a data file in which setting information for a particular operation is recorded.

[0068] The automatic program is created in a predetermined format using a predetermined language. For example, it is created using a markup language such as XML (Extensible Markup Language). The created automatic program is recorded in the auxiliary storage device 214. In response to an instruction to execute measurement given from the general control device 400, the measurement control unit 222 reads out the automatic program from the auxiliary storage device 214 and executes each process. When executing a process in which settings are described by variables, the measurement control unit 222 refers to the external file F to acquire setting information and executes the process according to the acquired information.

[0069] [Calculation processing unit] The calculation processing unit 223 acquires polar coordinate data obtained by executing the measurement process from the roundness measuring machine 100, processes the acquired polar coordinate data, and calculates roundness. The calculation processing unit 223 processes the polar coordinate data according to the set conditions (filter, offset, number of peaks, etc.).

[0070] [Display control section] The display control unit 224 controls the output to the display device 216. The display device 216 displays various types of information.

[0071] FIG. 6 is a diagram showing an example of a display of the measurement results.

[0072] As shown in Fig. 6, the measurement results of roundness are displayed in a result display area A1 set in the screen 216A. A series of operations (commands) executed according to the automatic program are displayed in a command display area A2 set in the screen 216A. Furthermore, detailed settings for the operation (command) selected in the command display area A2 are displayed in a command content display area A3 set in the screen 216A. Fig. 6 shows an example in which the settings for "roundness measurement (8)" are displayed in the command content display area A3.

[0073] The measurement results are displayed after processing by the arithmetic processing unit 223. Other displays are displayed in advance. For example, they are displayed in response to an instruction from the general control device 400 to execute a measurement.

[0074] In this way, the operations executed according to the automatic program and their settings are displayed on the display device 216 together with the measurement results. This allows the user to easily check the contents of the automatically performed measurement (the operation procedure and the settings of each operation).

[0075] In addition to displaying such measurement results, the display control unit 224 causes the display device 216 to display various information depending on the situation or in response to an instruction from the user. For example, when an error occurs, the display control unit 224 causes a predetermined error message to be displayed on the screen.

[0076] [Recording control section] The recording control unit 225 controls the recording of data in the auxiliary storage device 214. As an example, the recording control unit 225 performs a process of recording data of the measurement result in the auxiliary storage device 214 in a predetermined format.

[0077] [Carry-in / out device] The carry-in / out device 300 carries the workpiece W in and out of the roundness measuring machine 100. The carry-in / out device 300 is, for example, configured with a robot arm. The carry-in / out device 300, for example, takes out the workpiece W from a pallet (not shown) set in a predetermined position, and supplies it to the roundness measuring machine 100. More specifically, the taken-out workpiece W is set in the air chuck 120 on the table 112. The carry-in / out device 300 also retrieves the workpiece W from the table 112 after measurement has been completed, and returns it to its original position. In other words, the carry-in / out device 300 returns the workpiece W to the same place as when it was taken out. A plurality of workpieces W are stored in an orderly manner on the pallet.

[0078] In this example, the work W is supplied and collected from a pallet, but it is also possible to use a configuration in which the work W is picked up from a conveyor by the carrying-in / out device 300 and supplied and collected (so-called in-line measurement).

[0079] [Overall control device] The overall control device 400 overall controls the entire measurement system so that the roundness measuring machine 100, the air chuck 120, and the carry-in / out device 300 work together to automatically perform measurement. The overall control device 400 is, for example, a programmable logic controller (PLC). A programmable logic controller is a type of computer, has a processor (for example, a CPU) 411, a memory (for example, a RAM) 412, and an auxiliary storage device (for example, a flash memory) 413, and operates with software. The overall control device 400 of this embodiment is further provided with an input device 414 and a display device 415. The input device 414 is, for example, a keyboard or a touch panel. The display device 415 is, for example, a liquid crystal display, an organic EL display, or the like.

[0080] The overall control device 400 instructs the control device 200 to execute a measurement by specifying an automatic program to be executed. As described above, in the automatic program executed by the control device 200 of this embodiment, some operation settings are described by variables. Therefore, the overall control device 400 outputs to the control device 200 an external file F that records setting information about the operation together with an instruction to execute the measurement.

[0081] An external file F is prepared for each work W. The external file F of each work is stored in the auxiliary storage device 413. The auxiliary storage device 413 stores, for example, a management database DB, and the external file F of each work W is managed in the management database DB.

[0082] FIG. 7 is a diagram illustrating an example of the management database.

[0083] The management database DB records information about the workpieces W to be measured, and in association with that information, records information about the automatic program to be used for each workpiece W, and information about the external file F. The information about the workpieces W is, for example, unique identification information assigned to each workpiece W, such as an ID (Identification). The information about the workpieces W is, for example, numbered in the order of measurement and recorded. The information about the automatic program to be used is, for example, information about the file name of the automatic program to be used. Furthermore, the information about the external file F to be used is, for example, information about the file name of the external file F to be used.

[0084] In the example shown in FIG. 7, the measurement control is performed for workpieces No. 1 (ID: WA001) to No. 100 (ID: WA100) using the same automatic program (PA001). Also, the measurement control is performed for workpieces No. 101 (ID: WB001) to No. 200 (ID: WB100) using the same automatic program (PB001). As an example, workpieces No. 1 to No. 100 have roughly the same shape, but are measured at different positions. Similarly, workpieces No. 101 to No. 200 have roughly the same shape, but are measured at different positions. Since workpieces No. 101 to No. 200 have different shapes from workpieces No. 1 to No. 100, they are configured to use different automatic programs.

[0085] The overall control device 400 instructs the control device 200 to execute measurement based on the information recorded in the management database DB. That is, the overall control device 400 specifies an automatic program recorded in the management database DB for the workpiece W to be measured, and instructs the control device 200 to execute measurement. The overall control device 400 also reads out an external file F recorded in the management database DB and outputs it to the control device 200. The overall control device 400 is an example of an external device.

[0086] [Measurement system operation] FIG. 8 is a diagram showing a process flow of the measurement system.

[0087] First, the overall control device 400 outputs an instruction to carry in the workpiece W to the carry-in / out device 300. In response to this instruction, the carry-in / out device 300 takes out the workpiece W from a pallet (not shown) and sets it on the table 112 of the roundness measuring machine 100. More specifically, the workpiece W is set on the air chuck 120 on the table 112.

[0088] Next, the overall control device 400 outputs an instruction to the air chuck 120 to clamp the workpiece W. In response to this clamp instruction, the air chuck 120 clamps the workpiece W. As a result, the workpiece W is fixed onto the table 112.

[0089] Next, the overall control device 400 outputs an instruction to execute the measurement to the control device 200. The instruction is given by specifying the automatic program to be used. The overall control device 400 specifies the automatic program to be used based on the information recorded in the management database DB, and issues an instruction to execute the measurement.

[0090] Together with the execution instruction, an external file F in which predetermined setting information is recorded is transmitted from the overall control device 400 to the control device 200. The overall control device 400 reads out the external file F to be used based on the information recorded in the management database DB, and transmits it to the control device 200.

[0091] The control device 200 executes measurement control in response to an instruction to execute measurement. The measurement control is performed according to a specified automatic program. The measurement control will be described in detail later.

[0092] When the measurement is completed, the control device 200 outputs the result of the measurement control to the general control device 400. In other words, whether or not the measurement was performed normally is notified. For example, if the measurement was performed normally, "RESULT_OK" is notified. If the measurement was not performed normally, "RESULT_NG" is notified.

[0093] When the result of the measurement control is received by the overall control device 400, a clamp release instruction is output from the overall control device 400 to the air chuck 120. In response to this clamp release instruction, the air chuck 120 releases the clamp of the workpiece W. This makes it possible to retrieve the workpiece W from the table 112.

[0094] When the clamp is released, the overall control device 400 outputs an instruction to the carry-in / out device 300 to carry out the workpiece W. In response to this instruction, the carry-in / out device 300 retrieves the workpiece W from the table 112 and returns it to its original position, i.e., to a pallet (not shown).

[0095] When the measurement of one workpiece W is completed, the central control device 400 judges whether or not the measurement of all the workpieces W to be measured is completed. When the measurement of all the workpieces W is completed, the process ends. On the other hand, if the measurement of all the workpieces W is not completed, the next workpiece W is processed according to the above procedure.

[0096] [Measurement control] FIG. 9 is a flowchart showing a procedure of measurement control performed by the control device.

[0097] The control device 200 controls the roundness measuring machine 100 in accordance with the automatic program. The measurement control unit 222 reads out the automatic program specified by the overall control device 400 from the auxiliary storage device 214 and executes it. The measurement control unit 222 sequentially executes operations (commands) described in the automatic program.

[0098] First, an operation (command) to be executed is read (step S11). Next, it is determined whether the setting of the read operation is described by a variable (step S12).

[0099] If the operation settings are not described by variables, the measurement control unit 222 operates the roundness measuring machine 100 under the setting conditions described in the automation program (step S13). After completing the operation, the measurement control unit 222 determines whether there is a next operation to be performed (step S14). If there is a next operation to be performed, the measurement control unit 222 returns to step S11 and reads the contents of the next operation to be performed. If there is no next operation to be performed, the process ends.

[0100] On the other hand, if the operation settings are described in variables, the measurement control unit 222 judges whether or not an external file F exists (step S15). If the external file F exists, the measurement control unit 222 checks the contents of the external file F (step S16). That is, it checks whether or not the setting information is described in a predetermined format. The measurement control unit 222 judges whether or not the external file F is normal based on the check result (step S17). If the external file F is normal, the roundness measuring machine 100 is operated under the setting conditions described in the external file F (step S18). After the operation is completed, the measurement control unit 222 judges whether or not there is a next operation to be executed (step S14). If there is a next operation to be executed, the measurement control unit 222 returns to step S11 and reads the contents of the next operation to be executed. If there is no next operation to be executed, the process ends.

[0101] If it is determined in step S15 that the external file F does not exist, or if it is determined in step S17 that the external file F is abnormal, the measurement control unit 222 performs a predetermined warning process (step S19). As an example, the measurement control unit 222 causes the display device 216 to display a predetermined error message via the display control unit 224. In addition, if the roundness measuring machine 100 is equipped with a warning light, the measurement control unit 222 may turn on the warning light, or if the roundness measuring machine 100 is equipped with a buzzer, the measurement control unit 222 may sound the buzzer. After the warning process, the measurement control unit 222 stops the measurement operation (step S20).

[0102] In this way, the measurement control unit 222 sequentially executes the operations (commands) described in the automation program to control the roundness measuring machine 100. For operations (commands) whose settings are described using variables, the measurement control unit 222 refers to the external file F and operates the roundness measuring machine 100 under the setting conditions described in the external file F.

[0103] For example, in the example of the automatic program shown in Figure 5, if the settings for the positioning operation (2) and the positioning operation (6) are described using variables, when executing the positioning operation (2) and when executing the positioning operation (6), the external file F is referenced and each process is executed.

[0104] In this way, when controlling an object according to an automatic program, the following effects can be obtained by describing some operation settings with variables and acquiring the setting information from an external source. For example, when measuring multiple workpieces with only some different measurement conditions (for example, when the approximate shape is the same but only the measurement position is different), conventionally, an automatic program was created for each workpiece. According to the measurement system 1 of this embodiment, only the external file F needs to be prepared. This can significantly reduce the amount of work required for advance preparation. In addition, since the automatic program can be shared between multiple workpieces, maintainability can be improved. Furthermore, since the total number of automatic programs can be reduced, the amount of data required for storage can be significantly reduced. For example, the size of a standard automatic program is 300 KB, while the size of an external file is about 1 KB. Therefore, for example, when measuring 100 workpieces, while conventionally 300 KB x 100 = 30 MB is required, with the measurement system 1 of this embodiment, only 300 KB + (1 KB x 100) = 400 KB is required. This also significantly reduces the communication load when moving the automatic program.

[0105] [Variations] [Measurement and setting targets] In the above embodiment, an example has been described in which two locations on the outer periphery of the inner ring of a bearing are measured, but the measurement object (workpiece) is not limited to this.

[0106] In the above embodiment, the setting of the positioning operation of the stylus 116A is performed externally, but the operations (commands) that can be set externally are not limited to this. Settings (analysis conditions, etc.) for the processing operations performed by the calculation processing unit 223 may be set externally.

[0107] [Display the set information] It is preferable that the information set based on the external file can be confirmed on the control device 200. For example, a series of operations (commands) executed according to the automatic program is displayed on the display device 216, and for operations whose settings are described in variables, setting information obtained from the external file is displayed (see FIG. 6). At this time, it is preferable that the operations whose settings are described in variables are highlighted on the screen. FIG. 10 is a diagram showing an example of highlighting. FIG. 10 shows an example in which the settings of two positioning operations are described in variables in the automatic program. As shown in FIG. 10, the display of positioning among the series of operations displayed in the command display area A2 is highlighted. Specifically, it is displayed in a larger size (font) than the display of the other operations, and is displayed in a text color and background color different from the display of the other operations. Furthermore, it is displayed with a star at the beginning. In this way, by highlighting, it becomes clear that the setting is an operation described in variables (operation whose conditions can be arbitrarily set). In addition, by displaying the set information, the set contents can be confirmed on the control device 200. This makes it easy to check whether the operation conditions are set correctly.

[0108] The highlighting method is not limited to the example shown in Fig. 10. In addition, for example, the relevant action can be highlighted by blinking the display, underlining the relevant action, or italicizing or bolding the text of the relevant action. Also, these can be combined appropriately for highlighting. Also, only the set information can be highlighted.

[0109] [External file authentication process] As described above, according to the measurement system 1 of this embodiment, when measuring multiple workpieces with only some different measurement conditions, an automatic program can be shared between the multiple workpieces. On the other hand, when the measurement conditions are significantly different (for example, when the shapes of the workpieces are different), a different automatic program is required. In this case, the control device 200 appropriately holds multiple automatic programs and appropriately switches between the automatic programs to be used to control the measurement.

[0110] If the control device 200 holds multiple automation programs, there is a risk that a different automation program will be executed by mistake, or that an external file used by another automation program will be referenced by mistake.

[0111] To prevent this, it is preferable to check the correspondence between the external file and the automatic program before executing the measurement control. For example, a predetermined authentication process can be performed on the received external file F to confirm its authenticity before executing the measurement control.

[0112] FIG. 11 is a diagram showing an example of a processing flow when performing authentication processing on an external file.

[0113] First, the overall control device 400 outputs a measurement execution instruction to the control device 200. As described above, the execution instruction is issued by specifying an automatic program to be executed. Together with this execution instruction, the overall control device 400 transmits to the control device 200 an external file F in which predetermined setting information and a password are recorded.

[0114] The password is unique to each automatic program and is determined in advance for each automatic program. The password is an example of authentication information. In the external file F, predetermined setting information and password information for the automatic program to be used are recorded in a predetermined format.

[0115] The control device 200 holds information about a password that is determined for each automatic program. The password information is stored in the auxiliary storage device 214, for example.

[0116] When the measurement control unit 222 of the control device 200 receives an instruction to perform measurement and the external file F, it executes an authentication process. First, it reads out the password of the specified automatic program. Next, it reads the password from the received external file F. Next, it compares the two read passwords. That is, it determines whether the two passwords match. From the comparison result, it determines the authenticity of the external file F. That is, it determines whether the received external file corresponds to the automatic program instructed to be executed. If the passwords match, it is determined that the external file corresponds to the automatic program instructed to be executed. That is, it is determined that the external file is authentic. On the other hand, if the passwords do not match, it is determined that the external file does not correspond to the automatic program instructed to be executed. That is, it is determined that the external file is unauthorized.

[0117] If it is determined to be genuine, the measurement control section 222 executes the process of controlling the measurement according to the automatic program. After the measurement is completed, the measurement control section 222 outputs the control result to the overall control device 400.

[0118] On the other hand, if it is determined to be unauthorized, a warning process is executed. For example, a predetermined error message is displayed on the display device 216. After the warning process, the result is output to the central control device 400. That is, a message is output indicating that an error has occurred due to the transmission of an unauthorized external file.

[0119] In this way, by checking the correspondence between the external file and the automatic program to be executed before executing measurement control, it is possible to prevent the execution of an incorrect automatic program or the referencing of an incorrect external file.

[0120] In the above example, the verification process is performed before the automatic program is executed, but the timing of the verification process is not limited to this. For example, the verification process may be performed when an external file is referenced. In this case, the measurement process is stopped when the external file is found to be fraudulent (when the password does not match).

[0121] In the above configuration, the password is also recorded in the file (external file F) that records the setting information, but the file (first external file) that records the setting information and the file (second external file) that records the password may be configured as separate files. In this case, the two are associated with each other and transmitted to the control device 200.

[0122] Moreover, an external file may be transmitted from the general control device 400 to the control device 200 with a tag attached instead of a password.

[0123] Furthermore, passwords and the like may be hashed and transmitted as an external file from the general control device 400 to the control device 200. In this case, the hashed password is verified.

[0124] Furthermore, when an external file is sent, a checksum may be added, which makes it possible to detect errors in the data being sent.

[0125] [How to obtain setting information] In the above embodiment, an external file F in which setting information is recorded is created, and the external file F is transmitted from the general control device 400 to the control device 200. The method by which the control device 200 acquires the setting information is not limited to this. Below, a modified example of the method of acquiring the setting information will be described.

[0126] (1) Acquiring from another device The configuration may be such that the setting information is acquired from a device other than the general control device 400. In this case, similarly to the above embodiment, the configuration may be such that the setting information is acquired in the form of an external file F, or such that only the setting information is acquired. The communication form may be wired or wireless.

[0127] (2) Acquiring via storage media For example, the external file F recording the setting information may be stored in a storage medium such as a memory card or a CD-ROM (Compact Disc Read Only Memory), and the external file F may be read via a reading device (memory card reader, CD-ROM drive, etc.).

[0128] (3) Acquiring via an input device The configuration may be such that the user manually inputs the setting information using the input device 215 of the control device 200 or the input device 414 of the overall control device 400. In this case, a predetermined setting screen is displayed on the display device 216 of the control device 200 or the display device 415 of the overall control device 400 to accept the input of the setting information.

[0129] Fig. 12 is a diagram showing an example of a setting screen for setting information. Fig. 12 shows an example of a case where the roundness of two points (two flange portions) on the outer periphery of the inner ring of a bearing is measured, and is an example of a case where the measurement positions in the Z direction are described as variables in an automatic program. Fig. 12 also shows an example of a case where the setting information is input using the input device 414 of the overall control device 400. That is, Fig. 12 shows an example of a screen 415A displayed on the display device 415 of the overall control device 400.

[0130] As shown in FIG. 12, two input boxes B1 and B2 for inputting setting information of two measurement positions are displayed on a screen 415A of the display device 415. The first input box B1 is a box for inputting setting information of one measurement position (in this example, the measurement position of the first flange portion WF1 of the inner ring of the bearing). The second input box B2 is a box for inputting setting information of the other measurement position (in this example, the measurement position of the second flange portion WF2 of the inner ring of the bearing). The screen 415A displays the two input boxes B1 and B2 as well as a figure CS of the workpiece W to be measured (in this example, the figure of the inner ring of the bearing). In this example, a figure of a cross section of the workpiece W (a so-called cross section) is displayed. The two input boxes B1 and B2 are displayed in association with this figure CS. Specifically, lead lines LL1 and LL2 are drawn from positions corresponding to the measurement positions on the figure CS and are displayed linked to the corresponding input boxes B1 and B2. This makes it possible to suppress erroneous input.

[0131] 12, the first input box B1 is a box for inputting the measurement position of the first tsuba portion WF1, and the second input box B2 is a box for inputting the measurement position of the second tsuba portion WF2. For this reason, the first input box B1 is displayed with a leader line LL1 drawn from a location on the figure CS that corresponds to the first tsuba portion WF1. The second input box B2 is displayed with a leader line LL2 drawn from a location on the figure CS that corresponds to the second tsuba portion WF2.

[0132] This method of displaying the input position of the setting information (the measurement position in the example of FIG. 12) using the graphic CS of the cross section of the workpiece W is a display method unique to shape measuring machines. In particular, this is an effective display method for measuring machines that measure roundness, because the shape and measurement values ​​of the cross section of the workpiece W do not change even if the table 112 is rotated.

[0133] Moreover, such a display does not require particularly advanced processing power. In other words, since the display can be fixed except for the numerical values ​​input by the user, advanced display processing power is not required. Therefore, it can be realized even on a computer with low processing power. This makes it possible to reduce the cost of the hardware configuration.

[0134] In the overall control device 400, display control on the display device 415 is performed by a processor 411. The processor 411 functions as a display control unit by executing a predetermined program.

[0135] Setting information is input to each of the input boxes B1, B2 via the input device 414. The overall control device 400 generates an external file F based on the input information and transmits it to the control device 200. The function of generating the external file F is realized, for example, by the processor 411 of the overall control device 400 executing a predetermined program. That is, the processor 411 functions as an external file generation unit. The external file generation unit is an example of a data file generation unit.

[0136] Note that instead of creating the external file F and transmitting the setting information to the control device 200, a configuration in which input setting information is transmitted directly to the control device 200 may be used.

[0137] In this way, the setting information can be configured to be manually input by the user using the input device 414 of the overall control device 400 (or the input device 215 of the control device 200).

[0138] In this example, the display device 415 of the overall control device 400 is an example of a second display unit, and the input device 414 of the overall control device 400 is an example of an input unit.

[0139] In the case of a configuration in which setting information is manually input from outside as described above, it is preferable to have a configuration in which it is possible to check whether the set information has been correctly reflected.

[0140] FIG. 13 is a conceptual diagram showing an example of a method for checking the setting contents.

[0141] 13 shows an example of a case where a user manually inputs setting information using the input device 414 of the overall control device 400. As described above, input boxes B1 and B2 for inputting setting information and a graphic CS of a workpiece W are displayed on the display device 415 of the overall control device 400. The same information displayed on the display device 415 of the overall control device 400 is displayed on the display device 216 of the control device 200.

[0142] The control device 200 controls the display in the input boxes B1 and B2 based on the setting information transmitted from the overall control device 400. That is, when the setting information is transmitted in the form of an external file F, the display in the input boxes B1 and B2 is controlled based on the information recorded in the external file F. When the input setting information is transmitted directly, the display in the input boxes B1 and B2 is controlled based on the received information. Therefore, the display is not synchronized between the overall control device 400 and the display device 216. The overall control device 400 controls the display in the input boxes B1 and B2 independently based on the input from the user, and the control device 200 controls the display in the input boxes B1 and B2 independently based on the information received from the overall control device 400. This allows the control device 200 to check whether the set information is correctly reflected.

[0143] The control device 200 always displays this during measurement of the workpiece W. After the measurement is completed, the display is switched to displaying the measurement results (see FIG. 6). Note that the display position may be changed while the measurement results are being displayed, and this display may be performed. Alternatively, the display may be switched to in response to an instruction from the user.

[0144] In this way, on the control device 200 side, by displaying the setting contents on the display device 216, it is possible to check whether the setting contents have been correctly reflected. In addition, at this time, by displaying the set information using the graphic CS of the workpiece W, the setting contents can be easily checked.

[0145] When the information thus set is displayed on the display device 216 of the control device 200, it is preferable to have a configuration in which measurement control is performed after an instruction to perform measurement is received from the user. In this case, the user checks the content displayed on the display device 216 and instructs the control device 200 to perform measurement. That is, the user checks that there are no errors in the input information and instructs the control device 200 to perform measurement. This makes it possible to prevent measurement from being performed based on erroneous settings.

[0146] In this example, the set information is displayed on the display device 216 of the control device 200, but the set information may be displayed on a display device other than the display device 216 of the control device 200. For example, a display device other than the display device 216 of the control device 200 may be prepared, and the set information may be displayed on that display device.

[0147] The instruction to execute the measurement after the confirmation may be given from the general control device 400. Alternatively, the instruction may be given from an input device provided separately from the input device 215 of the control device 200.

[0148] For safety reasons, a measuring device including the control device 200 may be surrounded by a fence. In this case, it is effective to display setting information on a display device other than the display device 216 of the control device 200, and to instruct measurement execution from an input device (including the input device 414 of the general control device 400) other than the input device 215 of the control device 200 (unless the display device 216 and the input device 215 can be installed outside the fence). These display devices and / or input devices are preferably installed near the general control device 400, which makes it easy to check the settings and to instruct measurement execution. Moreover, mobile terminals such as smartphones and tablets can be used as these display devices and / or input devices.

[0149] (4) How to encode and read the setting information For example, the setting information may be coded using a one-dimensional code such as a barcode or a two-dimensional code such as a QR code (registered trademark), and the coded information (code information) may be read by a reader to acquire the setting information.

[0150] Fig. 14 is a block diagram of the main functions of the control device when the setting information is encoded and read out. In particular, Fig. 14 shows an example in which the setting information is encoded using a two-dimensional code 2DC.

[0151] Setting information for the workpiece W is coded in a two-dimensional code 2DC, and the created two-dimensional code 2DC is printed on a label LB. The label LB with the two-dimensional code 2DC printed on it is affixed to the workpiece W. The label LB is affixed to a surface other than the surface to be measured (the surface with which the stylus comes into contact). For example, as shown in FIG. 14, if the workpiece W is the inner ring of a bearing and the roundness of its outer periphery is to be measured, the label LB is affixed to the end surface of the workpiece W. The label LB with the two-dimensional code 2DC printed on it is an example of a medium on which setting information is recorded.

[0152] The control device 200 of this example includes a two-dimensional code reader 231 and a setting information acquisition unit 232, as shown in FIG.

[0153] The two-dimensional code reader 231 reads the two-dimensional code 2DC. Specifically, it captures an image of the surface bearing the two-dimensional code 2DC, and extracts the two-dimensional code 2DC from the obtained image. It then performs a decoding process on the extracted two-dimensional code 2DC, and outputs the recorded information (setting information). The two-dimensional code reader 231 is installed, for example, on a path along which the workpiece W is carried in by the carry-in / out device 300 (see FIG. 1). This makes it possible to read the two-dimensional code 2DC attached to the workpiece W in the process of carrying the workpiece W into the roundness measuring machine 100.

[0154] The setting information acquisition unit 232 acquires information (setting information) output from the two-dimensional code reader 231.

[0155] The measurement control unit 222 executes measurement control based on information (setting information) output from the setting information acquisition unit 232. That is, when executing an operation (command) whose settings are described by variables, the measurement control unit 222 executes the operation by referring to the acquired setting information.

[0156] In this way, the setting information can be configured to be read and acquired from the two-dimensional code 2DC. With this configuration, the overall control device 400 does not need to manage the external file F (such as linking it to the workpiece W), simplifying operation and management. Furthermore, when the same workpiece W is measured with a different measuring device, the setting information can be acquired in a similar manner. In other words, it becomes possible to reuse the information.

[0157] In this example, the setting information is encoded using a two-dimensional code 2DC, but the encoding method is not limited to this. Alternatively, the setting information may be encoded using a one-dimensional code such as a barcode. Also, the setting information may be encoded using a two-dimensional code other than a QR code.

[0158] In addition, when encoding the setting information, other information may also be encoded. For example, identification information of the workpiece, information on the automatic program to be executed, etc. may also be encoded. When information on the automatic program to be executed is included in the encoding, the overall control device 400 only needs to instruct the control device 200 to execute the measurement.

[0159] In addition, in this example, a label LB on which a two-dimensional code 2DC is printed is affixed to the workpiece W, and the two-dimensional code 2DC is read from the workpiece W, but the object to which the label LB is affixed is not limited to this. In addition, for example, a label LB can be affixed to a pallet that contains the workpiece W, and the two-dimensional code 2DC can be read from the pallet. Also, the object on which the two-dimensional code 2DC is printed is not limited to the label LB, and it can be printed on other media. For example, the two-dimensional codes 2DC of the workpiece W to be measured may be printed all at once on a sheet of paper, and the two-dimensional codes 2DC may be read from the sheet of paper in the order of measurement. Also, the two-dimensional code 2DC may be printed directly on the workpiece W.

[0160] As a method other than coding, the setting information can also be obtained using a so-called optical character reader (OCR). In this case, for example, the setting information is printed as character information on a label and affixed to the workpiece W. When reading the setting information, for example, an image of the surface to which the label is affixed is captured, and character recognition processing is performed on the obtained image to obtain the setting information.

[0161] Also, the configuration may be such that the setting information is recorded in an IC tag and read from the IC tag. In this case, an IC tag recording the setting information is affixed to the workpiece W. Also, the control device 200 is provided with an IC tag reader.

[0162] [Second embodiment] In the first embodiment, the settings of some operations (commands) of the automatic program are described by variables, and the control device 200 performs a predetermined measurement control by acquiring the setting information from outside. Since only the information of variables at the time of execution is acquired from outside, the program itself is not changed.

[0163] In this embodiment, the automatic program itself is rewritten to cause the control device 200 to perform a predetermined measurement control. Specifically, the settings for a specific operation (command) in the automatic program are rewritten, and the control device 200 performs measurement control according to the rewritten automatic program. Since the configuration is such that the settings are rewritten, the execution procedure of the operation itself is not changed.

[0164] In this embodiment, the process of rewriting the automatic program is performed by the control device 200. The control device 200 rewrites the target automatic program in accordance with an external rewrite instruction including setting information.

[0165] The basic configuration of the measurement system 1 is the same as that of the first embodiment. Therefore, only the differences from the first embodiment will be described here. In other words, only the automatic program rewriting will be described.

[0166] FIG. 15 is a block diagram of main functions of the control device of the measurement system of this embodiment.

[0167] As shown in Fig. 15, the control device 200 of this embodiment is provided with a rewrite processing unit 241 that performs rewrite processing of the automatic program. The rewrite processing unit 241 performs processing to rewrite settings for specific operations described in the automatic program according to the rewrite program. Therefore, the rewrite program includes information on the operations (commands) to be rewritten and information on the contents to be rewritten (setting information). For example, in the example shown in Fig. 5, when the settings of the positioning operation (2) and the positioning operation (6) are to be rewritten, the rewrite program includes information that the targets to be rewritten are the positioning operation (2) and the positioning operation (6), and information on the contents to be rewritten (setting information) for the settings of each operation.

[0168] In this embodiment, the rewrite program is transmitted from the overall control device 400 to the control device 200 together with an instruction to execute the measurement. The CPU 211 of the control device 200 executes the received rewrite program to function as the rewrite processing unit 241, and performs a process of rewriting the automatic program in accordance with the rewrite program. For example, when the automatic program is created using a markup language such as XML, a process of rewriting the description portion of the corresponding operation is performed (a process of rewriting the text is performed).

[0169] The rewrite program is created in advance and stored in the overall control device 400. The rewrite program may be created by the overall control device 400 or by another device. When the overall control device 400 creates the rewrite program, the overall control device 400 is provided with a rewrite program creation function. In this case, the overall control device 400 receives input of information required for rewriting (operations to be rewritten and their setting information) from the user, and generates the rewrite program based on the received information. When the rewrite program is created by another device, the device is provided with a similar function.

[0170] FIG. 16 is a diagram showing an example of a process flow when the automatic program is rewritten to execute measurement control.

[0171] First, a measurement execution instruction is output from the general control device 400 to the control device 200. If there are multiple automatic programs executable on the control device 200 side, the automatic program to be executed is specified and an execution instruction is output.

[0172] Together with this execution instruction, a rewrite program is transmitted from the general control device 400 to the control device 200. When the control device 200 receives the rewrite program, it performs a process of rewriting the target automatic program according to the received rewrite program. The success or failure of this rewrite process is determined.

[0173] If the rewriting is successful, the measurement control is performed according to the rewritten automatic program. On the other hand, if the rewriting fails, a predetermined warning process is performed. For example, a predetermined error message is displayed on the display device 216.

[0174] In this way, according to the measurement system of this embodiment, the automatic program can be rewritten from outside, and the roundness measuring machine 100 can be operated according to the rewritten automatic program. Therefore, also in the measurement system of this embodiment, the effort of advance preparation can be significantly reduced when measuring multiple workpieces where only some of the measurement conditions are different. Furthermore, since the automatic program can be shared between multiple workpieces, maintainability can be improved. Furthermore, unlike the measurement system 1 of the first embodiment, there is no need to manage the external file F.

[0175] [Variations] In the above embodiment, the overall control device 400 transmits a rewrite program to the control device 200, and the control device 200 executes the rewrite program to rewrite the automatic program, but the method of rewriting the automatic program is not limited to this. In addition, for example, the control device 200 may have a rewrite program, obtain information required for rewriting (operations to be rewritten, contents to be rewritten, etc.) from outside, and execute the rewrite process.

[0176] In the above embodiment, the settings of any operation can be rewritten, but the operations for which the settings can be rewritten may be limited. In this case, the rewriting program is configured to rewrite only the settings of a specific operation.

[0177] The modified examples of the measurement system of the first embodiment described above can also be appropriately applied to the measurement system of this embodiment.

[0178] [Other embodiments] [Shape measuring machine] In the above embodiment, the present invention has been described as being applied to a control device for controlling a roundness measuring machine and a measurement system for measuring a workpiece using the roundness measuring machine, but the application of the present invention is not limited to this. The present invention can also be applied to control devices for controlling, for example, three-dimensional coordinate measuring machines, surface roughness measuring machines, contour measuring machines, cylindrical shape measuring machines, etc. The present invention can also be applied to measurement systems for measuring the shape of a workpiece using these shape measuring machines.

[0179] In the case of a shape measuring machine that measures a workpiece via a stylus, the following effect can be obtained by configuring the machine to change only some of the operation settings without changing the operation (command) procedure. That is, when measuring multiple workpieces W by changing only some of the operation settings without changing the operation procedure, the movement path of the stylus during measurement is the same for each workpiece W. As a result, it becomes possible to perform measurements that include the same history error for each workpiece W. History error is an error that occurs due to the driving direction (upward and downward) of the carriage. The position of the center of gravity of the carriage that moves up and down along the column shifts depending on the driving direction. As a result, the inclination of the carriage changes depending on the driving direction. This carriage inclination is a factor in measurement errors. By measuring each workpiece W along the same path, the measurements include the same history error, making it possible to perform high-precision measurements with reduced variation in accuracy.

[0180] In the case of a shape measuring machine that measures a workpiece via a stylus, for example, it is configured so that only the positioning operation settings can be changed externally. This allows the stylus to move along the same path when measuring multiple workpieces W. This also allows each workpiece W to be measured with the same history error.

[0181] History errors can also occur when measurements are made by rotating the table. In other words, errors can occur in the measurement depending on the direction in which the table is rotated (clockwise or counterclockwise). Therefore, in a form measuring machine that measures workpieces by rotating the table (such as a roundness measuring machine), it is preferable to measure each workpiece by rotating it in the same direction. In this case, for example, the rotation direction of the table is specified in an automatic program, and only the rotation angle can be changed externally. This allows each workpiece to be rotated in the same direction for measurement. [Explanation of symbols]

[0182] 1...measurement system, 100...roundness measuring machine, 110...base, 112...table, 114...table drive unit, 116...detector, 116A...touch pad, 118...detector drive unit, 118A...column, 118,B...carriage, 118C...arm, 118D...detector holder, 120...air chuck, 200...control device, 211...CPU, 212...ROM, 213...RAM, 214...auxiliary storage device, 215...input device, 216...display device, 216A...screen of display device provided in control device, 217...input / output interface, 221...external file acquisition unit, 222...measurement control unit, 223...arithmetic processing unit, 224...display control unit, 225...recording control unit, 231...two-dimensional code reader, 2DC...two-dimensional code, 232...setting information acquisition unit, 24 1...rewrite processing unit, 300...loading / unloading device, 400...overall control device, 411...processor, 412...memory, 413...auxiliary storage device, 414...input device, 415...display device, 415A...screen of display device provided in overall control device, A1...result display area in screen, A2...command display area in screen, A3...command content display area in screen, B1...input box (first input box), B2...input box (second input box), CS...figure of work, F...external file, LB...label, LL1...leader line, LL2...leader line, W...work (inner ring of bearing), WF1...first flange portion of work, WF2...second flange portion of work, WRG...raceway groove of work, Z1...first measurement position, Z2...second measurement position, θ...rotation axis

Claims

1. A control device for a shape measuring machine, a control unit that controls the shape measuring instrument according to a program in which a measurement operation procedure is described; The control unit is acquiring setting information from an external device regarding a specific operation among a series of operations to be performed by the profile measuring instrument in accordance with the program; causing the profile measuring machine to perform the specific operation in accordance with the acquired setting information; Control device.

2. The program has settings for the specific operation described in variables, the control unit, when causing the profile measuring machine to perform the specific operation, refers to the setting information acquired from an external source and causes the profile measuring machine to perform the specific operation. The control device according to claim 1 .

3. the control unit externally acquires a data file in which setting information about the specific operation is recorded, and acquires the setting information about the specific operation. The control device according to claim 2.

4. The control unit is rewriting a description of the program regarding the specific operation based on the setting information obtained from an external source; Controlling the shape measuring instrument according to the rewritten program. The control device according to claim 1 .

5. the control unit displays, on a first display unit, information on a series of operations to be performed by the profile measuring instrument in accordance with the program and setting information for each operation, and displays information on the specific operation in an emphasized manner. A control device according to any one of claims 1 to 4.

6. The control unit is Acquire authentication information associated with setting information for the specific operation from an external source; determining the authenticity of the acquired authentication information; When the authenticity of the acquired authentication information is confirmed, the shape measuring device is controlled in accordance with the program. A control device according to any one of claims 1 to 4.

7. The control unit compares authentication information associated with the program with the acquired authentication information to determine authenticity of the acquired authentication information. The control device according to claim 6.

8. the specific operation is an operation of positioning a measurement position, The control unit externally acquires setting information about the measurement position. A control device according to any one of claims 1 to 4.

9. The shape measuring machine measures the roundness using a stylus. A control device according to any one of claims 1 to 4.

10. a reading unit that reads the setting information from a medium on which the setting information is recorded, The control unit acquires the setting information from the reading unit that reads the setting information from the medium. A control device according to any one of claims 1 to 4.

11. Code information encoding setting information for the specific operation is printed on the medium; The reading unit reads the code information from the medium to obtain the setting information. The control device according to claim 10.

12. the specific operation is an operation of positioning a measurement position, The control unit is acquiring setting information about the measurement position from an external source; displaying the acquired setting information about the measurement position on a first display unit; A control device according to any one of claims 1 to 4.

13. The control unit displays a figure of the workpiece on the first display unit, and displays setting information about the measurement position in association with the figure. The control device according to claim 12.

14. The figure is a cross-sectional figure of a workpiece. The control device according to claim 13.

15. A shape measuring machine; A control device for controlling the shape measuring machine according to any one of claims 1 to 4; an external device that outputs setting information for the specific operation to the control device and instructs the control device to perform a measurement; A measurement system comprising:

16. A shape measuring machine; A control device according to claim 3, which controls the shape measuring machine; an external device that outputs setting information for the specific operation to the control device and instructs the control device to perform a measurement; Equipped with The external device is an input unit that receives an input of a setting for the specific operation; a data file generating unit that generates the data file based on input information; Equipped with Measurement system.

17. A shape measuring machine; A control device according to claim 12, which controls the shape measuring machine; an external device that outputs setting information about the measurement position to the control device and instructs the control device to perform measurement; Equipped with The external device is A second display unit; an input unit that receives an input of settings regarding the measurement position; a display control unit that displays the input setting information of the measurement position on the second display unit; Equipped with Measurement system.

18. The display control unit displays a figure of a workpiece on the second display unit, and displays setting information of the measurement position in association with the figure.

18. The measurement system of claim 17.