WO2024101339A1 - ワークの測定機能を有した機械および工作機械 - Google Patents

ワークの測定機能を有した機械および工作機械 Download PDF

Info

Publication number
WO2024101339A1
WO2024101339A1 PCT/JP2023/039988 JP2023039988W WO2024101339A1 WO 2024101339 A1 WO2024101339 A1 WO 2024101339A1 JP 2023039988 W JP2023039988 W JP 2023039988W WO 2024101339 A1 WO2024101339 A1 WO 2024101339A1
Authority
WO
WIPO (PCT)
Prior art keywords
measurement
axis
workpiece
probe
measuring
Prior art date
Application number
PCT/JP2023/039988
Other languages
English (en)
French (fr)
Inventor
忠 笠原
太輔 鎌野
恒二 葛西
健一 大畑
Original Assignee
株式会社牧野フライス製作所
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 株式会社牧野フライス製作所 filed Critical 株式会社牧野フライス製作所
Publication of WO2024101339A1 publication Critical patent/WO2024101339A1/ja

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23QDETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
    • B23Q17/00Arrangements for observing, indicating or measuring on machine tools
    • B23Q17/22Arrangements for observing, indicating or measuring on machine tools for indicating or measuring existing or desired position of tool or work
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23QDETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
    • B23Q3/00Devices holding, supporting, or positioning work or tools, of a kind normally removable from the machine
    • B23Q3/155Arrangements for automatic insertion or removal of tools, e.g. combined with manual handling
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form

Definitions

  • the present invention relates to a workpiece measuring device and machine tool that allows a workpiece fixed to the table of a machine tool to be measured with simple operations.
  • Patent Document 1 describes a method for automatically performing such workpiece measurement work using a measurement NC program.
  • the feed axis for moving the measurement probe, the movement direction, and the measurement point are instructed by a jog operation from an operation panel. Because the operation panel is fixed to the cover of the machine tool, the measurement point where the measurement probe comes into contact with the workpiece is far away from the operator, making it difficult for the operator to accurately confirm the position. In particular, if the measurement point is on the back side of the workpiece, the operator cannot visually see the measurement point.
  • the technical objective of the present invention is to solve these problems with the conventional technology, and to enable an operator to easily contact the measurement probe with the desired measurement point on the workpiece surface and accurately measure the workpiece.
  • a machine with a measurement function includes a work mounting section for mounting the work, a measurement probe for detecting contact with the work, a linear feed axis for moving the work mounting section and the measurement probe relatively, an operation terminal that is portable to a work position near the work mounting section and inputs a movement command for moving the work and the measurement probe relatively on the feed axis, a memory section that stores measurement point information that is the movement direction and coordinates detected when the measurement probe contacts the work, a display section that displays the measurement point information stored in the memory section, and a measurement control device that is configured to allow the measurement point information displayed on the display section to be selected, creates a measurement program based on the measurement point information selected by an operator, and executes the measurement program to measure the work.
  • the movement command for moving the workpiece and the measurement probe relative to each other is input to the feed axis from a work terminal that is portable to the work position near the workpiece attachment section, so that the operator can easily contact the measurement probe with the desired measurement point on the workpiece surface by direct visual inspection, enabling the workpiece to be measured accurately.
  • FIG. 1 is a side view showing an example of a machine to which the present invention is applied.
  • FIG. 2 is a plan view of the manual pulse generator.
  • FIG. 2 is a block diagram of a measurement control device according to a preferred embodiment of the present invention.
  • 4 is a schematic diagram of a screen displayed on a display unit.
  • FIG. 4 is a schematic perspective view for explaining movement of a measurement probe by a manual pulse generator.
  • 4 is a schematic diagram of a screen displayed on a display unit.
  • FIG. 4 is a schematic perspective view for explaining movement of a measurement probe by a manual pulse generator.
  • 4 is a schematic diagram of a screen displayed on a display unit.
  • 4 is a schematic diagram of a screen displayed on a display unit.
  • 1 is a schematic diagram showing an example of a measurement type (reference surface measurement).
  • 1 is a schematic diagram showing an example of a measurement type (tilt measurement);
  • 1 is a schematic diagram showing an example of a measurement type (corner measurement).
  • 1 is a schematic diagram showing an example of a measurement type (pocket measurement).
  • 1 is a schematic diagram showing an example of a measurement type (block measurement).
  • 1 is a schematic diagram for explaining a safety height.
  • 13 is a schematic diagram of a safety height setting screen.
  • a machine 100 constitutes a vertical machining center, and includes a bed 102 as a base fixed to the floor of a factory, a table 106 as a workpiece mounting part which is movably mounted on the top surface of the front part (left side in Fig. 1) of the bed 102 in the front-rear direction or the Y-axis direction (left-right direction in Fig.
  • a column 104 which is erected and fixed on the top surface of the bed 102 at the rear end side (right side in Fig. 1) of the bed 102, an X-axis slider 108 which is movably mounted on the front side of the column 104 in the left-right direction or the X-axis direction (direction perpendicular to the paper surface in Fig. 1), a spindle head 110 which is movably mounted on the front side of the X-axis slider 108 in the up-down direction or the Z-axis direction and which rotatably supports a spindle 112, and a cover (not shown) which surrounds the entire machine 100.
  • the cover includes an operator door for accessing a machining space, which is a space between the spindle 112 and the table 106 where the workpiece W is placed and machined.
  • the operator door is closed during machining and during automatic measurement, which will be described later.
  • the machine 100 may be a general three-dimensional measuring device.
  • the machine 100 performs machining by moving a tool (not shown) attached to the tip of the spindle 112 relative to the workpiece W fixed to the table 106 using the X-axis, Y-axis, and Z-axis feed devices.
  • the machine 100 may also be equipped with associated equipment such as a tool magazine, an automatic tool changer (not shown) for changing tools between the spindle 112 and the tool magazine, a machining fluid supply device (not shown), an oil/air supply device (not shown), and a compressed air supply device (not shown).
  • associated equipment such as a tool magazine, an automatic tool changer (not shown) for changing tools between the spindle 112 and the tool magazine, a machining fluid supply device (not shown), an oil/air supply device (not shown), and a compressed air supply device (not shown).
  • the machine 100 further includes an operation panel 200 for an operator to operate the machine 100, and a manual pulse generator 50 as an operation terminal that is connected to the operation panel 200 and can be carried to a work position near the table.
  • the manual pulse generator 50 as an operation terminal is connected to the NC device 150 by a wire, but the manual pulse generator 50 may also be connected to the NC device 150 wirelessly.
  • the operation terminal may also be a handheld electronic device such as a tablet or smartphone that is connected to the NC device 150 wirelessly or by a wire.
  • a tool (not shown) for machining the workpiece W fixed to the table 106 is attached to the tip of the spindle 112.
  • a measurement probe 114 for measuring the workpiece W is attached to the tip of the spindle 112.
  • the measurement probe 114 can be attached manually by an operator of the machine 100 or automatically by an automatic tool changer of the machine 100.
  • the table 106 is provided so as to be able to reciprocate along a pair of Y-axis guide rails (not shown) that extend in the horizontal Y-axis direction (left and right direction in FIG. 1) on the upper surface of the bed 102, and the bed 102 is provided with a ball screw (not shown) that extends in the Y-axis direction and a Y-axis servo motor (not shown) that is connected to one end of the ball screw as a Y-axis feed device that drives the table 106 to reciprocate along the Y-axis guide rails, and a nut (not shown) that engages with the ball screw is attached to the table 106.
  • the table 106 is also provided with a Y-axis scale 118 that measures the coordinate position of the table 106 in the Y-axis direction.
  • the X-axis slider 108 is provided so as to be capable of reciprocating along a pair of X-axis guide rails (not shown) that extend in the X-axis direction on the front surface of the upper portion of the column 104.
  • the column 104 is provided with a ball screw (not shown) that extends in the X-axis direction and an X-axis servo motor (not shown) that is connected to one end of the ball screw as an X-axis feed device that drives the X-axis slider 108 to reciprocate along the X-axis guide rails, and a nut (not shown) that engages with the ball screw is attached to the X-axis slider 108.
  • the column 104 is also provided with an X-axis scale 116 that measures the coordinate position of the X-axis slider 108 in the X-axis direction.
  • the spindle head 110 is mounted so as to be capable of reciprocating motion along a pair of Z-axis guide rails that extend in the Z-axis direction (vertical direction in FIG. 1) on the front surface of the X-axis slider 108.
  • the X-axis slider 108 is provided with a ball screw (not shown) extending in the Z-axis direction and a Z-axis servo motor (not shown) connected to one end of the ball screw as a Z-axis feed device that drives the spindle head 110 back and forth along the Z-axis guide rails, and a nut (not shown) that engages with the ball screw is attached to the spindle head 110.
  • the X-axis slider 108 is also fitted with a Z-axis scale 120 that measures the coordinate position of the spindle head 110 in the Z-axis direction.
  • the X-axis servo motor, Y-axis servo motor, Z-axis servo motor, X-axis scale 116, Y-axis scale 118, and Z-axis scale 120 are connected to an NC device 150 ( Figure 3) that controls the machine 100.
  • the measurement probe 114 is also connected to the NC device 150.
  • the NC device 150 controls the power (current value) supplied to the X-axis servo motor, Y-axis servo motor, and Z-axis servo motor.
  • the machine 100 may also have A-axis, B-axis, and/or C-axis rotary feed axis devices.
  • the A-axis, B-axis, and/or C-axis rotary feed axis devices may include A-axis servo motors, B-axis servo motors, and/or C-axis servo motors connected to the NC device 150.
  • the operation panel 200 includes a touch panel 202 as a display unit that allows the operator to select a desired portion by touching the screen.
  • the operation panel 200 further includes a number of key switches 204 as an input unit. By pressing the key switches 204, it is possible to input predetermined numbers or letters, select predetermined operations, set override values, perform emergency stops of the machine tool, etc.
  • the manual pulse generator 50 is provided so that the servo motors (not shown) of the X-axis, Y-axis, and Z-axis feed axis devices, which are normally driven based on commands from the NC device 150, can be manually driven as necessary by sending command pulses.
  • the manual pulse generator 50 may be capable of manually driving the servo motors of the A-axis, B-axis, and/or C-axis rotary feed axis devices in addition to the servo motors of the X-axis, Y-axis, and Z-axis feed axis devices.
  • the manual pulse generator 50 is configured to be able to send out command pulses, and includes a pulse generating dial 51 with markings all around as a pulse generating operation means, a selection switch 52 for selecting the destination of the command pulse, a magnification selection switch 53, an emergency stop button 54, an electronic circuit board (not shown), and in this embodiment an enable switch 55, a case 56 large enough to be held in one hand to house the electronic circuit board and to mount the switches, and a cable 57 for electrically connecting to the operation panel 200.
  • the selection switch 52 has the function of turning the power of the manual pulse generator 50 ON/OFF, and the function of selecting the axis to which the command pulse is sent.
  • the indications "X, Y, Z, A, B, C" around the dial of the selection switch 52 in Figure 2 correspond to the X-axis, Y-axis, Z-axis, A-axis, B-axis, and C-axis, respectively. Therefore, when the operator selects "X", for example, a command pulse is sent to the X-axis servo motor.
  • the pulse generating dial 51 is configured to manually control the distance, direction, and speed of movement of the feed axis, etc.
  • the distance traveled by the feed axis, etc. is determined by determining the number of pulses that correspond to the scale around the dial.
  • the magnification selection switch 53 is set to "x1”
  • moving the pulse generating dial 51 one scale generates one pulse.
  • the magnification selection switch 53 is set to "x10”, "x100", or "x1000", 10, 100, or 1000 times the number of pulses generated when "x1" is selected is generated.
  • the drive motor for the feed axis, etc. selected by the selection switch 52 receives a command pulse, it rotates a specified angle according to the number of pulses.
  • the direction of movement of the feed axes, etc. is determined by whether the pulse generating dial 51 is rotated clockwise or counterclockwise, and the positive or negative direction set for each feed axis, etc. is determined.
  • the speed of movement of the feed axis is determined by the rotation speed of the pulse generating dial 51.
  • the enable switch 55 is formed as a push button switch, and operation of the pulse generating dial 51 is enabled and pulse transmission is permitted only while it is pressed. Therefore, when it is desired to transmit a command pulse, the operator must operate the pulse generating dial 51 while pressing the enable switch 55.
  • the manual pulse generator 50 in this embodiment is designed in a form suitable for being held in the operator's left hand and for rotating the pulse generating dial 51 with the right hand while pressing the enable switch 55 with the thumb of the left hand. In some cases, it may be possible to hold the manual pulse generator 50 in the right hand and rotate the pulse generating dial 51 with the left hand while pressing the enable switch 55 with the ring finger of the right hand. However, in this embodiment, the enable switch 55 and the pulse generating dial 51 are arranged on the case 56 of the manual pulse generator 50 so that they cannot be operated simultaneously with one hand.
  • the measurement control device 10 comprises, as its main components, a measurement axis determination unit 12, a measurement direction determination unit 14, a measurement point count unit 16, a measurement process memory unit 18, an automatic measurement command unit 20, a measurement type determination unit 22, a calculation unit 24, a measurement point coordinate memory unit 26, a display control unit 28, and a measurement program memory unit 30.
  • the measurement control device 10 can be configured from a computer and associated software including a CPU (Central Processing Unit), memory devices such as RAM (Random Access Memory) and ROM (Read Only Memory), storage devices such as HDD (Hard Disk Drive) and SSD (Solid State Drive), input/output ports, and a bidirectional bus that interconnects these.
  • the measurement control device 10 may be configured as part of a machine control device that controls the associated equipment of the machine 100, such as a tool magazine (not shown), an automatic tool changer (not shown), a machining fluid supply device (not shown), an oil/air supply device (not shown), and a compressed air supply device (not shown).
  • the measurement axis determination unit 12 determines which feed axis (X-axis, Y-axis, or Z-axis) is measuring the workpiece W based on the change in the position coordinate of the measurement probe 114 in the machine coordinate system, based on the values of the X-axis, Y-axis, and Z-axis scales 116, 118, and 120 input to the NC device 150.
  • the measurement direction determination unit 14 also determines the measurement direction based on the change in the position coordinate of the measurement probe 114 in the machine coordinate system.
  • the measurement point counting unit 16 stores the measurement point where the measurement probe 114 contacts the workpiece W and the feed in the X-axis, Y-axis, and Z-axis stops, and counts the number of measurement points selected by the operator from the stored measurement points and stores this as the number of measurement points.
  • the measurement process memory unit 18 stores the process number of the current manual pulse feed, in association with the axis and direction currently being measured as determined by the measurement axis determination unit 12 and the measurement direction determination unit 14.
  • the automatic measurement command unit 20 instructs the NC device 150 by manual pulse operation and issues a command to measure the measurement point selected by the operator.
  • the measurement type determination unit 22 stores the types of measurements that can be performed by the measurement control device 10 in association with the measurement axis, the measurement method, the number of measurement points, and the measurement sequence.
  • Figures 12 to 16 show examples of the types of measurements that can be performed by the measurement control device 10. The types of measurements shown in Figures 12 to 16 are merely examples, and other types of measurements may be performed.
  • FIG. 12 shows reference surface measurement (single-axis measurement) for measuring the X-, Y- or Z-coordinate of one of the sides perpendicular to the X-, Y- or Z-axis of the workpiece W.
  • the measurement probe 114 is brought close to the workpiece W in the X-, Y- or Z-axis direction of the workpiece W and brought into contact with one of the sides perpendicular to the X-, Y- or Z-axis of the workpiece W, thereby measuring the X-, Y- or Z-coordinate of that side (reference surface).
  • the measurement probe 114 is brought into contact with one side surface of the workpiece W in a linear manner, then moved in a direction perpendicular to the linear path along which the measurement probe 114 was brought into contact with the workpiece W the first time, and then the measurement probe 114 is brought into contact with the one side surface of the workpiece W in a linear manner parallel to the linear path, thereby measuring the tilt angle ⁇ of the workpiece W with respect to the X-axis.
  • Figure 14 shows corner measurement, in which the measurement probe 114 is brought close to the workpiece W in the X-axis and Y-axis directions and brought into contact with the side of the workpiece W to measure the coordinates of the corner where both sides intersect.
  • FIG. 15 shows pocket measurement for measuring the center of a rectangular pocket or recess formed in a workpiece W, in which the measurement probe 114 is placed in the pocket of the workpiece W, and the measurement probe 114 is brought into contact with one inner side surface of the pocket along the X-axis or Y-axis, then moved in the opposite direction along the X-axis or Y-axis to bring it into contact with the opposite inner side surface of the pocket, then moved into contact with the workpiece W along the Y-axis or X-axis to bring it into contact with one inner side surface of the pocket, and then moved in the opposite direction along the Y-axis or X-axis to bring it into contact with the opposite inner side surface of the workpiece W, thereby measuring the central coordinates of the pocket or recess in the workpiece W.
  • the coordinates of two measurement points measured in the X-axis direction are ( x1 , y1 ), ( x2 , y2 ), and the coordinates of two measurement points measured in the Y-axis direction are ( x3 , y3 ), ( x4 , y4 ), the coordinates of the center are expressed as (( x1 + x2 )/2, ( y3 + y4 )/2).
  • 16 shows a block measurement for measuring the central coordinates of a rectangular parallelepiped workpiece W, in which the measurement probe 114 is brought close to the workpiece W along the X-axis or Y-axis to contact the side of the workpiece W, then brought close to the workpiece W in the opposite direction along the X-axis or Y-axis to contact the opposite side of the workpiece W, then brought close to the workpiece W along the Y-axis or X-axis to contact the side of the workpiece W, and then brought close to the workpiece W in the opposite direction along the Y-axis or X-axis to contact the opposite side of the workpiece W, thereby measuring the central coordinates of the workpiece W.
  • the coordinates of two measurement points measured in the X-axis direction are ( x1 , y1 ), ( x2 , y2 ) and the coordinates of two measurement points measured in the Y-axis direction are ( x3 , y3 ), ( x4 , y4 ), the coordinates of the center are expressed as (( x1 + x2 )/2, ( y3 + y4 )/2).
  • FIGS. 4, 6, 8 and 9 show a screen 60 that is displayed on the touch panel 202 when starting a measurement operation of the workpiece W using the manual pulse generator 50.
  • the screen 60 includes a measurement point display area 62 that displays a list of measurement point information, a measurement method display area 64, a measurement point deletion button 66 that deletes the measurement point information displayed in the measurement point display area 62, a delete all measurement points button 68, and an automatic measurement button 70.
  • the icons displayed in the measurement method display area 64 include, by way of example, an icon (reference surface measurement icon) 64a indicating a reference surface measurement in FIG. 12, an icon (slope measurement icon) 64b indicating a tilt measurement in FIG. 13, an icon (corner measurement icon) 64c indicating a corner measurement in FIG. 14, an icon (pocket measurement icon) 64d indicating a pocket measurement in FIG. 15, and an icon (block measurement icon) 64e indicating a block measurement in FIG. 16.
  • the measurement axis determination unit 12 determines that measurement of the X-axis is being performed based on the operation commands for each of the feed axes of the X-axis, Y-axis, and Z-axis.
  • the measurement direction determination unit 14 determines from the movement command that the measurement probe 114 is moving in the negative direction along the X-axis.
  • a skip signal is output from the measuring probe 114 to the NC device 150.
  • the coordinates of each of the feed axes, the X-axis, Y-axis, and Z-axis, at that time are output from the NC device 150 to the measurement point coordinate memory unit 26.
  • the NC device 150 receives the skip signal, it reverses the feed of the X-axis, moves the measuring probe 114 away from the workpiece W, and stops the reversing operation of the measuring probe 114 when it has moved a predetermined distance.
  • the measurement process memory unit 18 stores the manual pulse feed operation by the operator described above as the first process.
  • the measurement type determination unit 22 receives and stores information from the measurement axis determination unit 12 that the X axis was used in the current measurement using manual pulse operation, and information from the measurement direction determination unit 14 that the measurement probe 114 has moved in the negative direction.
  • the display control unit 28 receives these two pieces of information from the measurement type determination unit 22, i.e., information that the measurement probe 114 has moved in the negative direction along the X axis relative to the workpiece W, and also receives the X-axis coordinate value from the measurement point coordinate storage unit 26, and displays the X-coordinate value in the topmost column of the measurement point display area 62 of the screen 60 on the touch panel 202, as shown in FIG. 6.
  • the measuring probe 114 when the measuring probe 114 is moved in the positive direction along the X axis, the negative direction along the Y axis, the positive direction along the Y axis and/or the negative direction along the Z axis and the measuring probe 114 comes into contact with the workpiece W, the coordinate values of the X axis, Y axis and/or Z axis are displayed in a list in sequence in the measuring point display area 62 of the screen 60 as shown in FIG. 8 when the manual pulse operation along the X axis, Y axis and/or Z axis is completed. Note that although the coordinate values of -X, +X, -Y, +Y and -Z are shown in FIG. 8, it goes without saying that the measuring point display area 62 displays the coordinate values corresponding to the manual pulse operation performed by the operator.
  • the coordinate values displayed in the measurement point display area 62 are actively displayed when the operator touches the touch panel 202. They can then be deleted by touching the measurement point deletion button 66. In addition, all coordinate values displayed in the measurement point display area 62 can be deleted by touching the all measurement point deletion button 68. In this way, the operator can redo the measurement of the workpiece W by manual pulse operation.
  • the measurement type determination unit 22 determines the type of measurement. The operation of this embodiment will be explained with reference to Figures 10 and 11.
  • the measurement type determination unit 22 determines whether the number of measurement points is 1 based on information from the measurement point count unit 16. If the number of measurement points is 1 (Yes in step S10), the measurement type determination unit 22 receives the measurement direction (movement direction of the feed axis) from the measurement direction determination unit 14 in step S12 and determines whether the measurement direction is the negative direction along the Z axis. If Yes in step S12, that is, if the measurement direction by manual pulse operation is the negative direction along the Z axis, the measurement type determination unit 22 estimates that the measurement performed by the operator using the manual pulse generator 50 is the reference surface measurement shown in FIG. 12 (one-axis measurement in the Z axis direction). Based on the estimation result, the display control unit 28 displays only the icon 64a indicating the reference surface measurement of FIG. 12 in the measurement method display area 64.
  • the measurement program storage unit 30 can generate and store an automatic measurement program by inputting or combining numerical values such as measurement point information (measurement point coordinate values, measurement direction) and safety height into a blank measurement program corresponding to a specific measurement method, such as reference surface measurement, tilt measurement, corner measurement, pocket measurement, and block measurement, which will be described later.
  • the measurement program storage unit 30 stores such blank measurement programs and automatic measurement programs that have been executed in the past.
  • step S12 When the operator, for example, uses the manual pulse generator 50 to instruct and select measurement in the negative direction along the Z axis, and then touches the automatic measurement button 70, the result in step S12 becomes Yes, and numerical values such as measurement point information (measurement point coordinate value, measurement direction), safety height, etc. are input or combined into the blank measurement program for measuring the reference surface perpendicular to the Z axis of the workpiece W (uniaxial measurement in the -Z axis direction), an automatic measurement program is generated, and the automatic measurement program is executed by the NC device 150 (step S14).
  • measurement point information measured point coordinate value, measurement direction
  • safety height etc.
  • the NC device 150 moves the measuring probe 114 along the Z axis toward the coordinates of the measuring point stored in the measuring point coordinate memory unit 26 (the coordinates of the X-axis, Y-axis, and Z-axis feed axes when the measuring probe 114 comes into contact with the workpiece W).
  • a skip signal is output from the measuring probe 114 to the NC device 150.
  • the coordinates of each of the feed axes, the X-axis, Y-axis, and Z-axis, at that time are output from the NC device 150 to the measurement point coordinate memory unit 26.
  • the NC device 150 receives a skip signal, it reverses the feed of the Z-axis, moves the measuring probe 114 away from the workpiece W, and stops the reversing operation of the measuring probe 114 when it has moved a predetermined distance.
  • the calculation unit 24 calculates the dimension in the Z-axis direction as the height of the workpiece W based on the measurement value.
  • the measurement result is displayed on the touch panel as the height or dimension in the Z-axis direction of the workpiece W.
  • the measurement direction is not the negative direction along the Z axis (No in step S12), that is, if it is the negative or positive direction along the X or Y axis, all of the measurement methods shown in Figures 12 to 16 can be estimated, so the measurement method display area 64 displays all of the reference surface measurement icon 64a, inclination measurement icon 64b, corner measurement icon 64c, pocket measurement icon 64d, and block measurement icon 64e.
  • the measurement axis determination unit 12 determines which axial feed device, X-axis or Y-axis, was used.
  • the determination in step S10 is Yes and the determination in step S12 is No, so when the automatic measurement program is executed, the measurement probe 114 moves along the X-axis or Y-axis based on information from the measurement axis determination unit 12 toward the coordinates of the measurement point stored in the measurement point coordinate storage unit 26 (the coordinates of each of the feed axes of the X-axis, Y-axis, and Z-axis when the measurement probe 114 contacts the workpiece W).
  • the measurement instruction by manual pulse operation is the measurement of one point along the X-axis or Y-axis, so a reference plane measurement perpendicular to the corresponding feed axis is performed.
  • step S12 when the operator uses the manual pulse generator 50 to instruct and select a feed axis other than the Z axis (X-axis or Y-axis) and then touches the automatic measurement button 70 in this state, the determination in step S12 becomes No, and the automatic measurement program is executed to measure a reference plane perpendicular to the feed axis on which the operator performed the measurement using the manual pulse generator 50 (uniaxial measurement in the X-axis or Y-axis direction) (step S16).
  • the automatic measurement method in this case is generally similar to the method described above in relation to the Z axis, except that the feed axis is the X axis or the Y axis.
  • the NC device 150 moves the measurement probe 114 along the X axis or the Y axis, based on information from the measurement axis determination unit 12, toward the coordinates of the measurement point stored in the measurement point coordinate storage unit 26 (the coordinates of the X axis, Y axis, and Z axis feed axes when the measurement probe 114 comes into contact with the workpiece W), in accordance with the automatic measurement program.
  • a skip signal is output from the measuring probe 114 to the NC device 150.
  • the coordinates of each of the feed axes, the X-axis, Y-axis, and Z-axis at that time are output from the NC device 150 to the measurement point coordinate memory unit 26.
  • the NC device 150 receives the skip signal, it reverses the feed of the X-axis or Y-axis, moves the measuring probe 114 away from the workpiece W, and stops the reversing operation of the measuring probe 114 when it has moved a predetermined distance.
  • the calculation unit 24 displays the X-coordinate or Y-coordinate on the touch panel based on the measured value.
  • step S10 determines whether there are two measurement points (No in step S10, Yes in step S18, No in step S20, and No in step S28), three measurement points (No in step S10, Yes in step S18, No in step S20, and Yes in step S28), four measurement points (No in step S10, Yes in step S18, and Yes in step S20), or five or more measurement points (No in step S10, No in step S18).
  • a block measurement (step S24) or a pocket measurement (step S26) is performed. For example, when an operator manually operates a pulse to move the measuring probe 114 closer to the workpiece W along the X-axis, the measuring axis determination unit 12 determines that measurement of the X-axis is being performed based on the motion commands for each of the feed axes of the X-axis, Y-axis, and Z-axis.
  • the measuring direction determination unit 14 determines based on the motion commands for each of the feed axes of the X-axis, Y-axis, and Z-axis whether the movement of the measuring probe 114 along the X-axis is in the direction in which the X coordinate value increases or decreases.
  • a skip signal is output from the measuring probe 114 to the NC device 150.
  • the coordinates of each of the feed axes, the X-axis, Y-axis, and Z-axis, at that time are output from the NC device 150 to the measurement point coordinate memory unit 26.
  • the NC device 150 receives the skip signal, it reverses the feed of the X-axis, moves the measuring probe 114 away from the workpiece W, and stops the reversing operation of the measuring probe 114 when it has moved a predetermined distance.
  • the measurement process memory unit 18 stores the manual pulse feed operation by the operator described above as the first measurement process.
  • the measurement type determination unit 22 receives information from the measurement axis determination unit 12 that only the X-axis was used in the current measurement, information from the measurement direction determination unit 14 that the measurement probe 114 moved in the positive direction along the X-axis, information from the measurement point count unit 16 that there was only one measurement point, and information from the measurement process memory unit 18 that the current measurement only includes the process of moving the measurement probe 114 along the X-axis. Based on this, all of the icons, the reference surface measurement icon 64a, the inclination measurement icon 64b, the corner measurement icon 64c, the pocket measurement icon 64d, and the block measurement icon 64e, are displayed in the measurement method display area 64 as the measurement taught by the operator by manual pulse feed (step S16).
  • the measurement axis determination unit 12 determines that measurement of the X-axis is being performed based on the operation commands for each of the feed axes of the X-axis, Y-axis, and Z-axis.
  • the measurement direction determination unit 14 determines that the measurement probe 114 is being fed in the opposite direction along the X-axis based on the operation commands for each of the feed axes of the X-axis, Y-axis, and Z-axis.
  • a skip signal from the measuring probe 114 causes the coordinates of the X-axis, Y-axis, and Z-axis feed at that time to be output from the NC device 150 to the measuring point coordinate memory unit 26, and the feed of the X-axis is reversed so that the measuring probe 114 is fed in a direction away from the workpiece W.
  • the measuring probe 114 has moved a predetermined distance, the reversing operation of the measuring probe 114 stops.
  • the measuring process memory unit 18 stores the manual pulse feed operation by the operator as the second measuring process.
  • the measurement type determination unit 22 receives information from the measurement axis determination unit 12 that the X axis was used in the measurement, information from the measurement direction determination unit 14 that the measurement probe 114 moved in both the positive and negative directions along the X axis, information from the measurement point count unit 16 that there were two measurement points, and information from the measurement process memory unit 18 that the current measurement includes two processes in which the measurement probe 114 was moved in opposite directions along the X axis.
  • the measurement method display area 64 displays a corner measurement icon 64c, a pocket measurement icon 64d, and a block measurement icon 64e as the measurements taught by the operator by manual pulse feed (step S36).
  • the measurement axis determination unit 12 determines that a measurement on the Y axis is being performed based on the operation commands for each of the feed axes of the X, Y, and Z axes.
  • the measurement direction determination unit 14 determines that the measurement probe 114 is being fed in a direction that decreases the Y coordinate value based on the operation commands for each of the feed axes of the X, Y, and Z axes.
  • a skip signal from the measuring probe 114 causes the coordinates of the X-axis, Y-axis, and Z-axis feed at that time to be output from the NC device 150 to the measuring point coordinate memory unit 26, and the feed of the Y-axis is reversed so that the measuring probe 114 is fed in a direction away from the workpiece W.
  • the measuring probe 114 has moved a predetermined distance, the reversing operation of the measuring probe 114 stops.
  • the measuring process memory unit 18 stores the manual pulse feed operation by the operator described above as the third measuring process.
  • the measurement type determination unit 22 receives information from the measurement axis determination unit 12 that the X-axis and Y-axis were used in the measurement, and information from the measurement point count unit 16 that there were three measurement points. Based on this, the pocket measurement icon 64d and block measurement icon 64e are displayed in the measurement method display area 64 as the measurement taught by the operator through manual pulse feed (step S30).
  • the measurement axis determination unit 12 determines that a measurement of the Y axis is being performed based on the operation commands for each of the feed axes of the X axis, Y axis, and Z axis.
  • the measurement direction determination unit 14 determines that the measurement probe 114 is being fed in the positive direction along the Y axis based on the operation commands for each of the feed axes of the X axis, Y axis, and Z axis.
  • a skip signal from the measuring probe 114 causes the coordinates of the X-axis, Y-axis, and Z-axis feed at that time to be output from the NC device 150 to the measuring point coordinate memory unit 26, and the feed of the Y-axis is reversed so that the measuring probe 114 is fed in a direction away from the workpiece W.
  • the measuring probe 114 has moved a predetermined distance, the reversing operation of the measuring probe 114 stops.
  • the measuring process memory unit 18 stores the manual pulse feed operation by the operator described above as the fourth measuring process.
  • step S22 the measurement type determination unit 22 compares the coordinate value when the measurement probe 114 is moved in the negative direction along the X axis and comes into contact with the workpiece W (-X measurement point) with the coordinate value when the measurement probe 114 is moved in the positive direction and comes into contact with the workpiece W (+X measurement point) based on information from the measurement axis determination unit 12, the measurement direction determination unit 14, and the measurement point coordinate memory unit 26.
  • the measurement type determination unit 22 estimates that the measurement performed by the operator using the manual pulse generator 50 is the block measurement in FIG. 16. The display control unit 28 displays only the block measurement icon 64e based on the estimation result. If (-X measurement point) ⁇ (+X measurement point) (No in step S22), the measurement type determination unit 22 estimates that the measurement performed using the manual pulse generator 50 is the pocket measurement in FIG. 15. The display control unit 28 displays only the pocket measurement icon 64d based on the estimation result.
  • step S22 the coordinate value (-Y measurement point) when the measurement probe 114 is moved in the negative direction along the Y axis and comes into contact with the workpiece W may be compared with the coordinate value (+Y measurement point) when the measurement probe 114 is moved in the positive direction and comes into contact with the workpiece W.
  • the measurement probe 114 When automatically measuring a measurement point that has been taught by manual pulse operation, the measurement probe 114 is moved in one direction along the X-axis or Y-axis to contact the workpiece W, and before moving the measurement probe 114 in the opposite direction along the same feed axis, the measurement probe 114 is (1) moved higher than the workpiece W, (2) passed above the workpiece W, (3) positioned at a predetermined distance (DA) from the workpiece W, and (4) moved toward the workpiece W, as shown in FIG. 17. In this case, it is preferable to be able to set a safety height HS higher than the height of the workpiece W in advance to prevent collision between the measurement probe 114 and the workpiece W.
  • DA predetermined distance
  • a safety height setting screen 80 as shown in FIG. 18 can be displayed on the touch panel 202.
  • the safety height setting screen 80 can include, for example, a safety height HS display section 82, an increase button 84 for the safety height HS value, and a decrease button 86.
  • the safety height setting screen 80 may also include a graphic 88 indicating that the screen is a screen for setting the safety height.
  • the operator uses manual pulse feed operations to teach the measurement probe 114 to contact the workpiece W, selects it, and then touches the automatic measurement button 70, which uses a measurement program that performs a series of contact operations between the measurement probe 114 and the workpiece W at a constant speed.
  • step S30 the measurement type determination unit 22 can estimate, based on information from the measurement axis determination unit 12, the measurement direction determination unit 14, and the measurement point coordinate storage unit 26, that the measurement performed by the operator using the manual pulse generator 50 is the block measurement in FIG. 16 or the pocket measurement in FIG. 15, but automatic measurement is not possible.
  • step S32 the measurement type determination unit 22 determines whether the measurements made by the operator using the manual pulse generator 50 were made in the same direction for the same feed axis based on information from the measurement axis determination unit 12 and the measurement direction determination unit 14. If the measurements were made in the same direction for the same feed axis (Yes in step S32), the measurement type determination unit 22 assumes that the measurement made by the operator using the manual pulse generator 50 is the tilt measurement in FIG. 13, and displays the tilt measurement icon 64b (step S34).
  • the measurement axis determination unit 12 determines that measurement of the X-axis is being performed, and at the same time, the measurement direction determination unit 14 determines that the measurement probe 114 is being fed in the positive direction along the X-axis.
  • the operator uses manual pulse feed operation to move the measurement probe 114 in a direction perpendicular (Y-axis direction) to the linear path (X-axis) along which the measurement probe 114 was first brought close to the workpiece W, and then moves the measurement probe 114 in a linear manner parallel to the linear path (X-axis direction) to the same side surface of the workpiece W and makes contact with the side surface.
  • the measurement axis determination unit 12 determines that measurement of the X-axis is being performed, and at the same time, the measurement direction determination unit 14 determines that the measurement probe 114 is being fed in the positive direction along the X-axis.
  • the measurement type determination unit 22 displays a tilt measurement icon 64b in the measurement method display area 64 based on information from the measurement axis determination unit 12 that the X axis was used in the measurement, information from the measurement direction determination unit 14 that the measurement probe 114 was sent in the positive direction along the X axis, and information from the measurement point count unit 16 that there were two measurement points.
  • the NC device 150 moves the measurement probe 114 toward the coordinates of the measurement point stored in the measurement point coordinate memory unit 26 (the coordinates of the X-axis, Y-axis, and Z-axis feed axes when the measurement probe 114 comes into contact with the workpiece W) in accordance with the automatic measurement program.
  • a skip signal is output from the measurement probe 114 to the NC device 150.
  • the coordinates of the X-axis, Y-axis, and Z-axis feed axes at that time are output from the NC device 150 to the measurement point coordinate memory unit 26.
  • the NC device 150 when the NC device 150 receives a skip signal, it reverses the feed of the X-axis, moves the measuring probe 114 away from the side of the workpiece W, and stops the reversing operation of the measuring probe 114 when it has moved a predetermined distance.
  • the NC device 150 performs similar measurements for the remaining measurement points.
  • the calculation unit 24 calculates the inclination angle ⁇ of the workpiece W that the measuring probe 114 has come into contact with with respect to the X-axis from the coordinate values of the two measurement points.
  • the measurement type determination unit 22 estimates that the measurement performed by the operator using the manual pulse generator 50 is the corner measurement in FIG. 14, the pocket measurement in FIG. 15, or the block measurement in FIG. 16, and displays the corner measurement icon 64c, the pocket measurement icon 64d, and the block measurement icon 64e (step S36).
  • the measurement type determination unit 22 determines that the measurement taught by the operator through manual pulse feed is a corner measurement, based on the information from the measurement axis determination unit 12 that the X-axis and Y-axis were used in the measurement, the information from the measurement direction determination unit 14 that the measurement probe 114 was sent in the positive direction along both the X-axis and the Y-axis, the information from the measurement point count unit 16 that there are two measurement points, and the information from the measurement process memory unit 18 that the current measurement includes two processes in which the measurement probe 114 was moved in the positive direction along the Y-axis and the X-axis, and then displays only the corner measurement icon 64c.
  • the NC device 150 moves the measurement probe 114 toward the coordinates of the measurement point stored in the measurement point coordinate memory unit 26 (the coordinates of the X-axis, Y-axis, and Z-axis feed axes when the measurement probe 114 comes into contact with the workpiece W) in accordance with the automatic measurement program.
  • a skip signal is output from the measurement probe 114 to the NC device 150.
  • the coordinates of the X-axis, Y-axis, and Z-axis feed axes at that time are output from the NC device 150 to the measurement point coordinate memory unit 26.
  • the NC device 150 when the NC device 150 receives a skip signal, it reverses the feed of the X-axis, moves the measuring probe 114 away from the side of the workpiece W, and stops the reversing operation of the measuring probe 114 when it has moved a predetermined distance.
  • the NC device 150 performs similar measurements for the remaining measurement points.
  • the calculation unit 24 calculates the coordinates of the corner between the two side faces that the measuring probe 114 has come into contact with, from the coordinate values of the two measurement points.
  • the operator feeds the measurement probe 114 using the manual pulse generator 50 to directly teach the measurement device the measurement points, eliminating the need for the operator to select the measurement items or input the approximate dimensions of the workpiece when making a measurement.
  • the measurement results can be output to the NC device 150. This makes it possible to set the top surface position of the workpiece W (Fig. 12), the corner positions of the workpiece W (Fig. 14), and the center position of the workpiece W (Figs. 15 and 16) in the workpiece coordinate system of the NC device 150.
  • the relative position of the workpiece W and the measuring probe 114 can be corrected by the rotary feed axis based on the measurement point information.
  • the measuring probe 114 is brought into contact with the workpiece W, it is desirable to make contact from the normal direction of the surface of the workpiece W. If contact is not made from the normal direction, the bending of the measuring probe 114 will not be uniform, and the amount by which the measuring probe 114 bends upon contact will vary, resulting in errors in the measurement results. Since the measurement is performed under the condition of making contact from the normal direction, the rotary feed device can make the measuring probe 114 come into contact with the surface of the workpiece W from the normal direction in response to the operation taught by the operator through manual pulse operation.
  • all the measurement point information required for multiple types of measurements is taught by contacting the measurement probe with the workpiece using a manual pulse generator, the measurement point information required for the first measurement is selected from the taught measurement point information and an automatic measurement is performed, and then the measurement point information required for the next measurement is reselected and an automatic measurement is performed, thereby allowing multiple types of measurements to be performed continuously. In this way, the efficiency of measurement work can be improved by performing multiple types of measurements continuously after teaching all the necessary measurement points.
  • Measurement control device 12 Measurement axis determination section 14 Measurement direction determination section 16 Measurement point count section 18 Measurement process memory section 20 Automatic measurement command section 22 Measurement type determination section 24 Calculation section 26 Measurement point coordinate memory section 28 Display control section 30 Measurement program memory section 50 Manual pulse generator 51 Pulse generation dial 52 Selection switch 53 Magnification selection switch 54 Emergency stop button 55 Enable switch 62 Measurement point display area 64 Measurement method display area 64a Reference surface measurement icon 64b Inclination measurement icon 64c Corner measurement icon 64d Pocket measurement icon 64e Block measurement icon 66 Measurement point deletion button 68 All measurement point deletion button 70 Automatic measurement button 80 Setting screen 82 Display section 84 Increase button 86 Decrease button 100 Machine 102 Bed 104 Column 106 Table 108 X-axis slider 110 Spindle head 112 Spindle 114 Measuring probe 116 X-axis scale 118 Y-axis scale 120 Z-axis scale 150 NC device 200 Operation panel 202 Touch panel 204 Key switch

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Numerical Control (AREA)
  • Automatic Tool Replacement In Machine Tools (AREA)
  • Machine Tool Sensing Apparatuses (AREA)
  • Length Measuring Devices With Unspecified Measuring Means (AREA)
  • A Measuring Device Byusing Mechanical Method (AREA)

Abstract

ワーク(W)の測定機能を有した機械(100)が、ワークを取り付けるテーブル(106)と、ワークに接触したことを検出する測定プローブ(114)と、テーブルと測定プローブを相対移動させる直線送り軸と、送り軸にワークと測定プローブとを相対移動させる移動指令を入力する手動パルス発生器(50)と、測定プローブがワークに接触した時に検出した移動方向及び座標である測定点情報を記憶する記憶部(26)と、記憶部に記憶された測定点情報を表示する表示部(202)と、オペレータが選択した測定点情報に基づいて測定プログラムを作成し、該測定プログラムを実行してワークを測定する測定制御装置(10)とを備える。

Description

ワークの測定機能を有した機械および工作機械
 本発明は、工作機械のテーブルに固定したワークを簡単な操作で測定可能にしたワークの測定装置および工作機械に関する。
 工作機械では、加工プログラムを実行してワークを加工する際に、ワークの基準位置を工作機械に設定する必要がある。そのために、測定プローブを用いてワークの基準点を測定している。こうしたワークの測定作業を測定用NCプログラムにより自動的に実行する方法が特許文献1に記載されている。
国際公開第2017/168727号公報
 特許文献1の方法では、操作盤からジョグ操作によって、測定プローブを移動させる送り軸、移動方向および測定点を教示している。操作盤は、工作機械のカバーに固定されているため、測定プローブがワークに接触する測定点がオペレータから離れており、オペレータにとって正確に位置を確認することが難しい。特に、測定点が、ワークの裏側にある場合には、オペレータは測定点を目視することができない。
 本発明は、こうした従来技術の問題を解決することを技術課題としており、オペレータが、容易にワーク表面の所望の測定点に測定プローブを接触させ、正確にワークを測定できるようにすることを目的としている。
 上述の課題を解決するために、本発明によれば、ワークの測定機能を有した機械において、前記ワークを取り付けるワーク取付部と、前記ワークに接触したことを検出する測定プローブと、前記ワーク取付部と前記測定プローブを相対移動させる直線送り軸と、前記ワーク取付部の近傍の作業位置まで持ち運び可能に設けられ、前記送り軸に前記ワークと前記測定プローブとを相対移動させる移動指令を入力する操作端末と、前記測定プローブがワークに接触した時に検出した移動方向及び座標である測定点情報を記憶する記憶部と、前記記憶部に記憶された測定点情報を表示する表示部と、前記表示部に表示された測定点情報を選択可能に構成され、オペレータによって選択された測定点情報に基づいて測定プログラムを作成し、該測定プログラムを実行して前記ワークを測定する測定制御装置とを備える測定機能を有した機械が提供される。
 ワーク取付部の近傍の作業位置まで持ち運び可能に設けられた作業端末からワークと測定プローブとを相対移動させる移動指令を送り軸に入力するようにしたので、オペレータは、直接目視してワーク表面の所望の測定点に測定プローブを容易に接触させ、正確にワークを測定できるようにすることが可能となる。
本発明を適用する機械の一例を示す側面図である。 手動パルス発生器の平面図である。 本発明の好ましい実施形態による測定制御装置のブロック図である。 表示部に表示される画面の略図である。 手動パルス発生器による測定プローブの移動を説明するための略示斜視図である。 表示部に表示される画面の略図である。 手動パルス発生器による測定プローブの移動を説明するための略示斜視図である。 表示部に表示される画面の略図である。 表示部に表示される画面の略図である。 本発明の好ましい実施形態による測定制御装置の作用を説明する 本発明の好ましい実施形態による測定制御装置の作用を説明する 測定の種類の一例(基準面測定)を示す略図である。 測定の種類の一例(傾斜測定)を示す略図である。 測定の種類の一例(コーナー測定)を示す略図である。 測定の種類の一例(ポケット測定)を示す略図である。 測定の種類の一例(ブロック測定)を示す略図である。 安全高さを説明するための略図である。 安全高さ設定画面の略図である。
 以下、添付図面を参照して、本発明の好ましい実施の形態を説明する。
 図1を参照すると、本発明を適用する機械の一例が示されている。図1において、本発明の好ましい実施の形態による機械100は、立形マシニングセンタを構成しており、工場の床面に固定された基台としてのベッド102、ベッド102の前方部分(図1では左側)の上面で前後方向またはY軸方向(図1では左右方向)に移動可能に設けられワークWを固定するワーク取付部としてのテーブル106、ベッド102の後端側(図1では右側)で同ベッド102の上面に立設、固定されたコラム104、該コラム104の前面で左右方向またはX軸方向(図1では紙面に垂直な方向)に移動可能に設けられたX軸スライダ108、X軸スライダ108の前面で上下方向またはZ軸方向に移動可能に取り付けられ主軸112を回転可能に支持する主軸頭110および機械100全体を包囲するカバー(図示せず)を具備している。
 カバーは、主軸112とテーブル106との間のワークWが配置され加工が行われる空間である加工空間へアクセスするためのオペレータドアを含んでいる。オペレータドアは、加工中および後述する自動測定測定中は閉鎖される。
 なお、機械100は、一般的な3次元測定装置であってもよい。
 機械100は、主軸112の先端に装着された工具(図示せず)をテーブル106に固定されたワークWに対してX軸、Y軸、Z軸の各軸送り装置によって相対移動させることによって、加工するようになっている。
 機械100は、また、工具マガジンや、主軸112と工具マガジンとの間で工具を交換する自動工具交換装置(図示せず)、加工液供給装置(図示せず)、オイルエア供給装置(図示せず)、圧縮空気供給装置(図示せず)のような機械100の関連機器を備えることができる。
 機械100は、更に、オペレータが機械100を操作するための操作盤200と、操作盤200に接続されテーブルの近傍の作業位置まで持ち運び可能な操作端末としての手動パルス発生器50を備えている。なお、本実施形態では、操作端末としての手動パルス発生器50は有線でNC装置150に接続されているが、手動パルス発生器50無線でNC装置150に接続されていてもよい。また、操作端末は、無線または有線でNC装置150に接続されたタブレットやスマートフォンのようなハンドヘルド電子機器であってもよい。
 主軸112の先端には、テーブル106に固定されたワークWを加工する工具(図示せず)が装着される。図1では、主軸112の先端には、工具に代えて、ワークWを測定するための測定プローブ114が装着されている。測定プローブ114は、機械100のオペレータが手動で、或いは、機械100の自動工具交換装置によって自動的に装着するようにできる。
 テーブル106は、ベッド102の上面において水平なY軸方向(図1の左右方向)に延設された一対のY軸案内レール(図示せず)に沿って往復動可能に設けられており、ベッド102には、テーブル106をY軸案内レールに沿って往復駆動するY軸送り装置として、Y軸方向に延設されたボールねじ(図示せず)と、該ボールねじの一端に連結されたY軸サーボモータ(図示せず)が設けられており、テーブル106には、前記ボールねじに係合するナット(図示せず)が取り付けられている。テーブル106には、また、テーブル106のY軸方向の座標位置を測定するY軸スケール118が取り付けられている。
 X軸スライダ108は、コラム104の上方部分の前面においてX軸方向に延設された一対のX軸案内レール(図示せず)に沿って往復動可能に設けられている。コラム104には、X軸スライダ108をX軸案内レールに沿って往復駆動するX軸送り装置として、X軸方向に延設されたボールねじ(図示せず)と、該ボールねじの一端に連結されたX軸サーボモータ(図示せず)が設けられており、X軸スライダ108には、前記ボールねじに係合するナット(図示せず)が取り付けられている。コラム104には、また、X軸スライダ108のX軸方向の座標位置を測定するX軸スケール116が取り付けられている。
 主軸頭110は、X軸スライダ108の前面においてZ軸方向(図1では上下方向)に延設された一対のZ軸案内レールに沿って往復動可能に設けられている。X軸スライダ108には、主軸頭110をZ軸案内レールに沿って往復駆動するZ軸送り装置として、Z軸方向に延設されたボールねじ(図示せず)と、該ボールねじの一端に連結されたZ軸サーボモータ(図示せず)が設けられており、主軸頭110には、前記ボールねじに係合するナット(図示せず)が取り付けられている。X軸スライダ108には、また、主軸頭110のZ軸方向の座標位置を測定するZ軸スケール120取り付けられている。
 X軸サーボモータ、Y軸サーボモータ、Z軸サーボモータおよびX軸スケール116、Y軸スケール118、Z軸スケール120は、機械100を制御するNC装置150(図3)に接続されている。測定プローブ114もまた、NC装置150に接続されている。NC装置150によって、X軸サーボモータ、Y軸サーボモータ、Z軸サーボモータへ供給される電力(電流値)が制御される。
 機械100は、X軸、Y軸、Z軸の各直線送り軸装置に加えて、A軸、B軸および/またはC軸の回転送り軸装置を備えていてもよい。A軸、B軸および/またはC軸の回転送り軸装置は、NC装置150に接続されたA軸サーボモータ、B軸サーボモータおよび/またはC軸サーボモータを備えることができる。
 操作盤200は、表示部として、オペレータが画面に接触することにより所望の部分の選択が可能なタッチパネル202を含む。操作盤200は、更に、入力部として、複数のキースイッチ204を含む。キースイッチ204を押すことにより、所定の数字や文字の入力、所定の操作の選択、オーバライド値の設定、工作機械の非常停止等を行うことができる。
 手動パルス発生器50は、通常はNC装置150からの指令に基づいて駆動されるX軸、Y軸およびZ軸の各送り軸装置のサーボモータ(図示せず)を、指令パルスを送出することにより必要に応じて手動で駆動できるように設けられている。手動パルス発生器50は、X軸、Y軸およびZ軸の各送り軸装置のサーボモータに加えて、A軸、B軸、および/またはC軸の回転送り軸装置のサーボモータを手動で駆動できるようにしてもよい。
 このため、手動パルス発生器50は、指令パルスを送出することができるように構成されており、パルス発生操作手段として全周に目盛の付けられたパルス発生ダイヤル51と、指令パルスの送出先を選択する選択スイッチ52と、倍率選択スイッチ53と、非常停止ボタン54と、電子回路基板(図示せず)と、さらに本実施形態においてはイネーブルスイッチ55と、前記電子回路基板を収容するとともに前記スイッチ類を取り付ける、片手で保持できる大きさのケース56と、操作盤200に電気的に接続するためのケーブル57とを有する。
 選択スイッチ52は、手動パルス発生器50の電源のON/OFF機能と、指令パルスの送出先の軸を選択する機能を有する。図2の選択スイッチ52のダイヤルの周囲の表示「X、Y、Z、A、B、C」がそれぞれX軸、Y軸、Z軸、A軸、B軸、C軸に対応している。従って、オペレータが、例えば「X」が選択すると、X軸サーボモータに指令パルスが送出される。
 パルス発生ダイヤル51は、送り軸等の移動距離と送り軸等の移動方向と送り軸等の移動速度とを手動で制御するように構成されている。送り軸等の移動距離は、ダイヤルの周囲の目盛りに対応しているパルス数を定めることで決定される。倍率選択スイッチ53が「×1」を選択されている場合、パルス発生ダイヤル51を1目盛り動かすと1パルス発生する。倍率選択スイッチ53が「×10」、「×100」または「×1000」が選択されているなら「×1」を選択されているときの10倍、100倍、または1000倍の数のパルスが発生する。選択スイッチ52で選択された送り軸等の駆動モータは、指令パルスを受けると、パルス数に応じた所定の角度だけ回転する。
 送り軸等の移動方向については、パルス発生ダイヤル51を右回りさせるかまたは左回りさせるかによって、各送り軸等で定められた正または負の向きが決定される。送り軸の移動速度はパルス発生ダイヤル51の回転速度に応じて決定される。
 イネーブルスイッチ55は、押しボタンスイッチとして形成されており、それが押されている間にのみ、パルス発生ダイヤル51の操作が有効にされてパルスの送出が許可される。したがって、指令パルスを送出したい場合には、オペレータはイネーブルスイッチ55を押しながら、パルス発生ダイヤル51を操作する必要がある。
 本実施形態における手動パルス発生器50は、オペレータの左手で保持し、左手の親指でイネーブルスイッチ55を押しながら、右手でパルス発生ダイヤル51を回転させるのに適した形態にデザインされている。手動パルス発生器50を右手で保持して右手の薬指等でイネーブルスイッチ55を押しながら、左手でパルス発生ダイヤル51を回転させることは場合によっては可能であるかもしれない。しかしながら、本実施形態においては、イネーブルスイッチ55とパルス発生ダイヤル51は、それらの片手での同時操作が不可能であるように手動パルス発生器50のケース56に配置されている。
 次に、本発明の好ましい実施形態による測定装置のブロック図である図3を参照すると、測定制御装置10は、測定軸判定部12、測定方向判定部14、測定点カウント部16、測定工程記憶部18、自動測定指令部20、測定タイプ判定部22、演算部24、測定点座標記憶部26、表示制御部28および測定プログラム記憶部30を主要な構成要素として具備している。
 測定制御装置10は、CPU(中央演算素子)、RAM(ランダムアクセスメモリ)やROM(リードオンリーメモリ)のようなメモリ装置、HDD(ハードディスクドライブ)やSSD(ソリッドステートドライブ)のような記憶デバイス、出入力ポート、および、これらを相互接続する双方向バスを含むコンピュータおよび関連するソフトウェアから構成することができる。測定制御装置10は、機械100の工具マガジン(図示せず)や、自動工具交換装置(図示せず)、加工液供給装置(図示せず)、オイルエア供給装置(図示せず)、圧縮空気供給装置(図示せず)のような機械100の関連機器を制御する機械制御装置の一部として構成してもよい。
 測定軸判定部12は、NC装置150に入力されるX軸、Y軸、Z軸の各スケール116、118、120の値に基づき、機械座標系における測定プローブ114の位置座標の変化によって、X軸、Y軸、Z軸のどの送り軸でワークWを測定しているのかを判定する。測定方向判定部14は、やはり機械座標系における測定プローブ114の位置座標の変化から測定方向を判定する。
 測定点カウント部16は、測定プローブ114がワークWに接触して、X軸、Y軸、Z軸の送りが停止した測定点を記憶し、記憶した測定点の中からオペレータが選択した測定点の数をカウントして測定点の個数として記憶する。測定工程記憶部18は、現在の手動パルス送りが何番目の工程であるか、測定軸判定部12および測定方向判定部14で判定された現在測定中の軸と方向に関連付けて記憶する。自動測定指令部20は、オペレータが、後述する自動測定ボタン70(図4、6、8、9)をタッチ操作したときに、手動パルス操作により教示し、オペレータが選択した測定点を測定するようNC装置150に対して指令を発する。
 測定タイプ判定部22は、測定制御装置10によって実行可能な測定の種類を、測定軸、測定方法、測定点の個数および測定順序と関連付けて記憶している。
 図12~図16に測定制御装置10によって実行可能な測定の種類を例示する。図12~図16に示す測定の種類は単なる例示であって、他の種類の測定ができるようにしてもよい。
 図12は、ワークWのX軸、Y軸、Z軸に垂直な側面の1つのX座標、Y座標またはZ座標を測定する基準面測定(1軸測定)を示している。これは、測定プローブ114をワークWのX軸、Y軸またはZ軸方向にワークWに接近させて、ワークWのX軸、Y軸、Z軸に垂直な側面の1つに接触させることによって、その側面(基準面)のX座標、Y座標またはZ座標を測定するものである。
 図13は、ワークWのX軸に対する傾斜角を測定する傾斜測定を示している。これは、ワークWの1つの側面に対して測定プローブ114を直線状に接近させて該側面に接触させ、次いで、1回目に測定プローブ114をワークWに接近させた直線経路に対して垂直方向に移動させ、次いで、測定プローブ114を前記直線経路に対して平行にワークWの前記1つの側面に対して直線状に接近させて該側面に接触させることによって、X軸に対するワークWの傾斜角θを測定する。2つの測定点の座標を(x1、y1)、(x2、y2)とすると、傾斜角θは、θ=ATAN(y2-y1)/(x2-x1)の計算式によって演算により求めることができる。
 図14は、X軸、Y軸方向から測定プローブ114をワークWに接近させ、ワークWの側面に接触させることによって、両側面の交差する隅部の座標を測定するコーナー測定を示している。
 図15は、ワークWに形成した矩形のポケットまたは凹部の中心を測定するポケット測定を示しており、測定プローブ114をワークWのポケット内に配置して、測定プローブ114をX軸またはY軸に沿ってポケットの一方の内側面に接近させて該内側面に接触させ、次いで、X軸またはY軸に沿って反対方向に送りポケットの反対の内側面に接触させ、次いで、Y軸またはX軸に沿ってワークWに接近させてポケットの一方の内側面に接触させ、次いで、Y軸またはX軸に沿って反対方向に送りワークWの反対側の内側面面に接触させることによって、ワークWのポケットまたは凹部の中心座標を測定する場合を示している。X軸方向に測定した2つの測定点の座標を(x1、y1)、(x2、y2)、Y軸方向に測定した2つの測定点の座標を(x3、y3)、(x4、y4)とすると、中心の座標は((x1+x2)/2、(y3+y4)/2)で表される。
 図16は、直方体形状のワークWの中心座標を測定するブロック測定を示しており、測定プローブ114をX軸またはY軸に沿ってワークWに接近させてワークWの側面に接触させ、次いで、X軸またはY軸に沿って反対方向にワークWに接近させてワークWの反対側面に接触させ、次いで、Y軸またはX軸に沿ってワークWに接近させてワークWの側面に接触させ、次いで、Y軸またはX軸に沿って反対方向にワークWに接近させてワークWの反対側面に接触させることによって、ワークWの中心座標を測定する場合を示している。X軸方向に測定した2つの測定点の座標を(x1、y1)、(x2、y2)、Y軸方向に測定した2つの測定点の座標を(x3、y3)、(x4、y4)とすると、中心の座標は((x1+x2)/2、(y3+y4)/2)で表される。
 次に、図4~図18を参照して、本発明のワーク測定方法の一例を説明する。
 図4、6、8、9は、手動パルス発生器50を用いたワークWの測定操作を開始したときに、タッチパネル202に表示される画面60を示している。画面60は、測定点情報をリスト表示する測定点表示領域62、測定方法表示領域64、測定点表示領域62に表示されている測定点情報を削除する測定点削除ボタン66、全測定点削除ボタン68および自動測定ボタン70を含む。
 測定方法表示領域64に表示されるアイコンは、一例として、図12の基準面測定を示すアイコン(基準面測定アイコン)64a、図13の傾斜測定を示すアイコン(傾斜測定アイコン)64b、図14のコーナー測定を示すアイコン(コーナー測定アイコン)64c、図15のポケット測定を示すアイコン(ポケット測定アイコン)64dおよび図16のブロック測定を示すアイコン(ブロック測定アイコン)64eが含まれる。
 例えば、図5に示すように、手動パルス発生器50を用いて、主軸112の先端部に装着した測定プローブ114を、テーブル106に固定されたワークWに対して、X軸方向に移動させると、測定軸判定部12はX軸、Y軸、Z軸の各々の送り軸の動作指令から、X軸の測定が実行中であると判定する。同時に、測定方向判定部14は、移動指令から、測定プローブ114がX軸に沿ってマイナス方向に移動していることを判定する。
 次いで、測定プローブ114がワークWの側面に接触すると、測定プローブ114からスキップ信号がNC装置150へ出力される。スキップ信号を受信すると、その時のX軸、Y軸、Z軸の各送り軸の座標がNC装置150から測定点座標記憶部26へ出力される。また、NC装置150は、スキップ信号を受信するとX軸の送りを反転し、測定プローブ114をワークWから離反させ、所定距離移動したところで、測定プローブ114の反転動作を停止する。測定工程記憶部18は、1番目の工程として上述のオペレータによる手動パルス送り操作を記憶する。
 このとき、測定タイプ判定部22は、今般の手動パルス操作による測定では、X軸が用いられたとの情報を測定軸判定部12から、そして測定プローブ114がマイナス方向に移動したとの情報を測定方向判定部14から受け取り記憶する。表示制御部28は、測定タイプ判定部22から、これら2つの情報、つまり測定プローブ114がワークWに対してX軸に沿ってマイナス方向に移動したとの情報を受け取り、かつ、測定点座標記憶部26から、X軸の座標値を受け取り、図6に示すように、タッチパネル202上の画面60の測定点表示領域62の最上位の欄にX座標値を表示する。
 同様に、測定プローブ114をX軸に沿ってプラス方向、Y軸に沿ってマイナス方向、Y軸に沿ってプラス方向および/またはZ軸に沿ってマイナス方向に移動させて、測定プローブ114がワークWに接触したときの、X軸、Y軸および/またはZ軸の座標値が、図8に示すように、画面60の測定点表示領域62に、X軸、Y軸および/またはZ軸に沿った手動パルス操作が終了したときに、順次にリスト表示される。なお、図8には、-X、+X、-Y、+Y、-Zの座標値が示されているが、測定点表示領域62には、オペレータが行った手動パルス操作に対応した座標値が表示されることは言うまでもない。
 測定点表示領域62に表示された座標値は、オペレータがタッチパネル202をタッチ操作することによってアクティブ表示される。次いで、測定点削除ボタン66をタッチ操作することによって削除することができる。また、全測定点削除ボタン68をタッチ操作することによって、測定点表示領域62に表示された全ての座標値を削除することができる。こうして、オペレータは、手動パルス操作によるワークWの測定をやり直すことが可能となる。
 オペレータが手動パルス操作により教示した測定点を選択する間、測定タイプ判定部22は測定の種類の判定を行っている。図10、11を参照して、本実施形態の作用を説明する。
 まず、測定タイプ判定部22は、測定点カウント部16からの情報に基づいて、測定点が1であるか否かを判定する。測定点の数が1である場合(ステップS10でYesの場合)、測定タイプ判定部22は、ステップS12において、測定方向判定部14から測定方向(送り軸の移動方向)を受け取り、該測定方向が、Z軸に沿ってマイナス方向であるか否かを判定する。ステップS12でYesの場合、つまり手動パルス操作による測定方向がZ軸に沿ったマイナス方向である場合、測定タイプ判定部22は、オペレータが手動パルス発生器50を用いて行った測定は、図12に示した基準面測定(Z軸方向の1軸測定)であると推定する。表示制御部28は、推定結果に基づき、測定方法表示領域64に図12の基準面測定を示すアイコン64aのみを表示する。
 オペレータが自動測定ボタン70をタッチ操作すると、NC装置150は、測定プログラム記憶部30に格納されている自動測定プログラムを実行する。測定プログラム記憶部30は、後述する基準面測定、傾斜測定、コーナー測定、ポケット測定およびブロック測定のような、特定の測定方法に対応したブランク測定プログラムに、測定点情報(測定点座標値、測定方向)、安全高さ等の数値を入力または組み合わせて自動測定プログラムを生成し、これを記憶することができる。測定プログラム記憶部30は、こうしたブランク測定プログラムおよび過去に実行した自動測定プログラムを格納している。
 オペレータが、例えば、Z軸に沿ったマイナス方向に手動パルス発生器50により測定教示し、選択した後、自動測定ボタン70をタッチ操作すると、ステップS12での判定はYesとなり、ワークWのZ軸に垂直な基準面の測定(-Z軸方向への一軸測定)を行うためのブランク測定プログラムに、測定点情報(測定点座標値、測定方向)、安全高さ等の数値が入力または組み合わせられ、自動測定プログラムが生成され、該自動測定プログラムがNC装置150で実行される(ステップS14)。
 自動測定プログラムに従い、NC装置150は、測定点座標記憶部26に記憶されている測定点の座標(測定プローブ114がワークWに接触したときのX軸、Y軸、Z軸の各送り軸の座標)へ向けて、測定プローブ114をZ軸に沿って移動させる。測定プローブ114の先端がワークWの上面に接触すると、スキップ信号が測定プローブ114からNC装置150へ出力される。
 スキップ信号を受信すると、その時のX軸、Y軸、Z軸の各送り軸の座標がNC装置150から測定点座標記憶部26へ出力される。また、NC装置150は、スキップ信号を受信するとZ軸の送りを反転し、測定プローブ114をワークWから離反させ、所定距離移動したところで、測定プローブ114の反転動作を停止する。
 自動測定が完了すると、演算部24は測定値に基づいてワークWの高さとしてZ軸方向の寸法を演算する。測定結果がタッチパネル上にワークWの高さまたはZ軸方向の寸法として表示される。
 測定方向がZ軸に沿ってマイナス方向ではない場合(ステップS12でNoの場合)、つまり、X軸またはY軸に沿ってマイナス方向またはプラス方向の場合、図12~図16に示した全ての測定方法を推定することができるので、測定方法表示領域64には、基準面測定アイコン64a、傾斜測定アイコン64b、コーナー測定アイコン64c、ポケット測定アイコン64d、ブロック測定アイコン64eの全てが表示される。X軸とY軸の何れの軸送り装置が用いられたかは、測定軸判定部12が判定する。
 このとき、オペレータが自動測定ボタン70をタッチ操作すると、ステップS10の判定はYesであり、ステップS12の判定はNoであるので、自動測定プログラムが実行されると、測定点座標記憶部26に記憶されている測定点の座標(測定プローブ114がワークWに接触したときのX軸、Y軸、Z軸の各送り軸の座標)へ向けて、測定軸判定部12からの情報に基づいて、測定プローブ114がX軸またはY軸に沿って移動する。つまり、自動測定ボタン70をタッチ操作する前には、全ての測定方法が推定されるが、自動測定ボタン70をタッチ操作したときには、手動パルス操作による測定教示は、X軸またはY軸に沿った1点の測定であるので、該当する送り軸に垂直な基準面測定が実行される。
 より詳細には、オペレータが、Z軸以外の送り軸(X軸またはY軸)に沿って手動パルス発生器50により測定教示して、選択し、その状態で自動測定ボタン70をタッチ操作すると、ステップS12での判定はNoとなり、該オペレータが手動パルス発生器50により測定を行った送り軸に垂直な基準面の測定(X軸またはY軸方向への一軸測定)を行うための自動測定プログラムが実行される(ステップS16)。
 この場合の自動測定方法は、送り軸がX軸またはY軸であることを除いて、Z軸に関連して上述した方法と概ね同様であり、NC装置150は、自動測定プログラムに従い、測定点座標記憶部26に記憶されている測定点の座標(測定プローブ114がワークWに接触したときのX軸、Y軸、Z軸の各送り軸の座標)へ向けて、測定軸判定部12からの情報に基づいて、測定プローブ114をX軸またはY軸に沿って移動させる。
 測定プローブ114の先端がワークWのX軸またはY軸に垂直な側面に接触すると、スキップ信号が測定プローブ114からNC装置150へ出力される。スキップ信号を受信すると、その時のX軸、Y軸、Z軸の各送り軸の座標がNC装置150から測定点座標記憶部26へ出力される。また、NC装置150は、スキップ信号を受信するとX軸またはY軸の送りを反転し、測定プローブ114をワークWから離反させ、所定距離移動したところで、測定プローブ114の反転動作を停止する。自動測定が完了すると、演算部24は測定値に基づいて、X座標またはY座標をタッチパネル上に表示する。
 ステップS10でNoの場合、つまり測定点が複数ある場合、フローチャートはステップS18以下で測定点が、2点であるか(ステップS10でNo、ステップS18でYes、ステップS20でNo、かつ、ステップS28でNoの場合)、3点であるか(ステップS10でNo、ステップS18でYes、ステップS20でNo、かつ、ステップS28でYesの場合)、4点であるか(ステップS10でNo、ステップS18でYes、かつ、ステップS20でYesの場合)、或いは、5点以上であるか(ステップS10でNo、ステップS18でNoの場合)を判定する。
 測定点が4点の場合、ブロック測定(ステップS24)またはポケット測定(ステップS26)が行われる。
 例えば、オペレータが手動パルス操作により、測定プローブ114をX軸に沿ってワークWへ接近させると、測定軸判定部12はX軸、Y軸、Z軸の各々の送り軸の動作指令から、X軸の測定が実行中であると判定する。同時に、測定方向判定部14は、X軸、Y軸、Z軸の各々の送り軸の動作指令から、X軸に沿った測定プローブ114の移動が、X座標値が増加する方向であるか、或いは減少する方向であるかを判定する。
 測定プローブ114がワークWの側面に接触すると、測定プローブ114からスキップ信号がNC装置150へ出力される。スキップ信号を受信すると、その時のX軸、Y軸、Z軸の各送り軸の座標がNC装置150から測定点座標記憶部26へ出力される。また、NC装置150は、スキップ信号を受信するとX軸の送りを反転し、測定プローブ114をワークWから離反させ、所定距離移動したところで、測定プローブ114の反転動作を停止する。測定工程記憶部18は、1番目の測定工程として、上述のオペレータによる手動パルス送り操作を記憶する。
 このとき、測定タイプ判定部22は、今般の測定で用いられたのはX軸だけであるとの情報を測定軸判定部12から、X軸に沿って正の方向に測定プローブ114が移動したとの情報を測定方向判定部14から、測定点は1つだけであるとの情報を測定点カウント部16から、および、今般の測定はX軸に沿って測定プローブ114を移動させた工程だけを含んでいるという情報を測定工程記憶部18から受け取り、これに基づいて、オペレータが手動パルス送りによって教示した測定として、測定方法表示領域64には、基準面測定アイコン64a、傾斜測定アイコン64b、コーナー測定アイコン64c、ポケット測定アイコン64dおよびブロック測定アイコン64eの全てのアイコンが表示される(ステップS16)。
 続けてオペレータが手動パルス送り操作によって、測定プローブ114をX軸に沿って反対方向にワークWへ接近させると、測定軸判定部12はX軸、Y軸、Z軸の各々の送り軸の動作指令から、X軸の測定が実行中であると判定する。同時に、測定方向判定部14は、X軸、Y軸、Z軸の各々の送り軸の動作指令から、測定プローブ114がX軸に沿って反対の方向に送られていることを判定する。
 測定プローブ114がワークWの側面に接触すると、測定プローブ114からのスキップ信号によって、その時のX軸、Y軸、Z軸の各送り軸の座標がNC装置150から測定点座標記憶部26へ出力され、X軸の送りが反転されて測定プローブ114がワークWから離反する方向に送られる。測定プローブ114が所定距離移動すると、測定プローブ114の反転動作が停止する。測定工程記憶部18は、2番目の測定工程として、オペレータによる手動パルス送り操作を記憶する。
 このとき、測定タイプ判定部22は、X軸が測定で用いられたとの情報を測定軸判定部12から、X軸に沿って正負の両方向に測定プローブ114が移動したとの情報を測定方向判定部14から、測定点は2点であるとの情報を測定点カウント部16から、および、今般の測定はX軸に沿って測定プローブ114を反対方向に移動させた2つの工程を含んでいるという情報を測定工程記憶部18から受け取り、これに基づいて、オペレータが手動パルス送りによって教示した測定として、測定方法表示領域64には、コーナー測定アイコン64c、ポケット測定アイコン64dおよびブロック測定アイコン64eが表示される(ステップS36)。
 更にオペレータが手動パルス送り操作によって、測定プローブ114をY軸に沿ってマイナス方向にワークWへ接近させると、測定軸判定部12はX軸、Y軸、Z軸の各々の送り軸の動作指令から、Y軸の測定が実行中であると判定する。同時に、測定方向判定部14は、X軸、Y軸、Z軸の各々の送り軸の動作指令から、測定プローブ114がY座標値が減少する方向に送られていることを判定する。
 測定プローブ114がワークWの側面に接触すると、測定プローブ114からのスキップ信号によって、その時のX軸、Y軸、Z軸の各送り軸の座標がNC装置150から測定点座標記憶部26へ出力され、Y軸の送りが反転されて測定プローブ114がワークWから離反する方向に送られる。測定プローブ114が所定距離移動すると、測定プローブ114の反転動作が停止する。測定工程記憶部18は、3番目の測定工程として、上述のオペレータによる手動パルス送り操作を記憶する。
 このとき、測定タイプ判定部22は、X軸とY軸が測定で用いられたとの情報を測定軸判定部12から、測定点は3点であるとの情報を測定点カウント部16から受け取り、これに基づいて、オペレータが手動パルス送りによって教示した測定として、測定方法表示領域64には、ポケット測定アイコン64dおよびブロック測定アイコン64eが表示される(ステップS30)。
 更にオペレータが手動パルス送り操作によって、測定プローブ114をY軸に沿ってプラス方向にワークWへ接近させると、測定軸判定部12はX軸、Y軸、Z軸の各々の送り軸の動作指令から、Y軸の測定が実行中であると判定する。同時に、測定方向判定部14は、X軸、Y軸、Z軸の各々の送り軸の動作指令から、測定プローブ114がY軸に沿って正の方向に送られていることを判定する。
 測定プローブ114がワークWの側面に接触すると、測定プローブ114からのスキップ信号によって、その時のX軸、Y軸、Z軸の各送り軸の座標がNC装置150から測定点座標記憶部26へ出力され、Y軸の送りが反転されて測定プローブ114がワークWから離反する方向に送られる。測定プローブ114が所定距離移動すると、測定プローブ114の反転動作が停止する。測定工程記憶部18は、4番目の測定工程として、上述のオペレータによる手動パルス送り操作を記憶する。
 このように、手動パルス操作による測定点が4点の場合、測定タイプ判定部22は、ステップS22で、測定軸判定部12、測定方向判定部14および測定点座標記憶部26からの情報に基づいて、測定プローブ114をX軸に沿ってマイナス方向に移動させたワークWに接触したときの座標値(-Xの測定点)と、プラス方向に移動させてワークWに接触したときの座標値(+Xの測定点)を比較する。
 (-Xの測定点)≧(+Xの測定点)の場合(ステップS22でYesの場合)、測定タイプ判定部22は、オペレータが手動パルス発生器50を用いて行った測定は、図16のブロック測定であると推定する。表示制御部28は、推定結果に基づき、ブロック測定アイコン64eのみを表示する。(-Xの測定点)<(+Xの測定点)の場合(ステップS22でNoの場合)、測定タイプ判定部22は、手動パルス発生器50を用いて行った測定は、図15のポケット測定であると推定する。表示制御部28は、推定結果に基づき、ポケット測定アイコン64dのみを表示する。
 ステップS22では、測定プローブ114をY軸に沿ってマイナス方向に移動させたワークWに接触したときの座標値(-Yの測定点)と、プラス方向に移動させてワークWに接触したときの座標値(+Yの測定点)を比較するようにしてもよい。
 なお、手動パルス操作による測定教示した測定点を自動測定する際に、測定プローブ114をX軸またはY軸に沿って1つの方向に移動させてワークWに接触させたのちに、測定プローブ114を同一の送り軸に沿って反対の方向に移動させる前に、測定プローブ114を、図17に示すように、(1)ワークWよりも高く移動し、(2)ワークWの上方を通過させ、(3)ワークWから所定の距離(DA)の位置に配置し、(4)ワークWへ向けて接近させることになる。その際、測定プローブ114とワークWとの衝突を防止するために、ワークWの高さよりも高い安全高さHSを予め設定できるようにすることが好ましい。
 また、安全高さHSを設定するために、例えば、図18に示すような安全高さの設定画面80をタッチパネル202上に表示するようにできる。安全高さの設定画面80は、例えば、安全高さHSの表示部82、安全高さHSの数値の増加ボタン84、低減ボタン86を含むことができる。安全高さの設定画面80は、当該画面が安全高さを設定するための画面であることを示すグラフィック88を含んでいてもよい。
 なお、より正確に測定を行いたい場合には、スキップ信号が上がるときの測定プローブ114のたわみ量が一様になるように、一定の速度で測定プローブ114とワークWとを接触させることが望ましい。接触速度一定の条件の測定を行う場合は、オペレータが手動パルス送り操作によって、測定プローブ114をワークWに接触教示し、選択した後、自動測定ボタン70をタッチ操作すると、一連の測定プローブ114とワークWとの接触動作を一定の速度で行う測定プログラムを使用する。
 測定点が3点の場合(ステップS10でNo、ステップS18でYes、ステップS20でNo、かつ、ステップS28でYesの場合)、ステップS30で、測定タイプ判定部22は、測定軸判定部12、測定方向判定部14および測定点座標記憶部26からの情報に基づいて、オペレータが手動パルス発生器50を用いて行った測定は、図16のブロック測定または図15のポケット測定であると推定できるが、自動測定は実行不能である。
 測定点が2点の場合(ステップS10でNo、ステップS18でYes、ステップS20でNo、かつ、ステップS28でNoの場合)、ステップS32で、測定タイプ判定部22は、測定軸判定部12および測定方向判定部14からの情報に基づいて、オペレータが手動パルス発生器50を用いて行った測定が、同一の送り軸について、同じ方向に測定が行われたか否かを判定する。測定が、同一の送り軸について、同じ方向に測定が行われている場合(ステップS32でYesの場合)、測定タイプ判定部22は、オペレータが手動パルス発生器50を用いて行った測定は、図13の傾斜測定であると推定し、傾斜測定アイコン64bを表示する(ステップS34)。
 例えば、オペレータが更に手動パルス送り操作によって測定プローブ114をX軸に沿ってワークWへ接近させると、測定軸判定部12はX軸の測定が実行中であると判定し、同時に、測定方向判定部14は測定プローブ114がX軸に沿って正の方向に送られていると判定する。
 更にオペレータが手動パルス送り操作によって、測定プローブ114を1回目に測定プローブ114をワークWに接近させた直線経路(X軸)に対して垂直方向(Y軸方向)に移動させ、次いで、測定プローブ114を前記直線経路に対して平行(X軸方向)にワークWの前記同じ側面に対して直線状に接近させて該側面に接触させる。このとき、測定軸判定部12はX軸の測定が実行中であると判定し、同時に、測定方向判定部14は測定プローブ114がX軸に沿って正の方向に送られていることを判定する。
 このとき、測定タイプ判定部22は、測定軸判定部12からのX軸が測定で用いられたとの情報、測定方向判定部14からのX軸に沿って正の方向に測定プローブ114が送られたとの情報、測定点カウント部16からの測定点は2点であるとの情報に基づいて、測定方法表示領域64に傾斜測定アイコン64bを表示する。
 オペレータが自動測定ボタン70をタッチ操作すると、NC装置150は、自動測定プログラムに従い、測定プローブ114を、測定点座標記憶部26に記憶されている測定点の座標(測定プローブ114がワークWに接触したときのX軸、Y軸、Z軸の各送り軸の座標)へ向けて移動させる。測定プローブ114の先端がワークWに接触すると、スキップ信号が測定プローブ114からNC装置150へ出力される。スキップ信号を受信すると、その時のX軸、Y軸、Z軸の各送り軸の座標がNC装置150から測定点座標記憶部26へ出力される。
 また、NC装置150は、スキップ信号を受信するとX軸の送りを反転し、測定プローブ114をワークWの側面から離反させ、所定距離移動したところで、測定プローブ114の反転動作を停止する。NC装置150は、同様の測定を残りの測定点についても実行する。演算部24は、2つの測定点の座標値から、測定プローブ114が接触したワークWのX軸に対する傾斜角θを演算により求める。
 オペレータが手動パルス発生器50を用いて行った測定が、同一の送り軸について、同じ方向に測定が行われなかった場合(ステップS32でNoの場合)、測定タイプ判定部22は、オペレータが手動パルス発生器50を用いて行った測定は、図14のコーナー測定であるか、図15のポケット測定であるか、図16のブロック測定であると推定し、コーナー測定アイコン64c、ポケット測定アイコン64dおよびブロック測定アイコン64eを表示する(ステップS36)。
 このときオペレータが自動測定ボタン70をタッチ操作すると、測定タイプ判定部22は、測定軸判定部12からのX軸およびY軸が測定で用いられたとの情報、測定方向判定部14からのX軸およびY軸の双方に沿って正の方向に測定プローブ114が送られたとの情報、測定点カウント部16からの測定点は2点であるとの情報、および、測定工程記憶部18からの、今般の測定は測定プローブ114をY軸およびX軸に沿って正の方向に移動させた2つの工程を含んでいるという情報に基づいて、オペレータが手動パルス送りによって教示した測定はコーナー測定であると判定し、コーナー測定アイコン64cのみが表示される。
 それと同時に、NC装置150は、自動測定プログラムに従い、測定プローブ114を、測定点座標記憶部26に記憶されている測定点の座標(測定プローブ114がワークWに接触したときのX軸、Y軸、Z軸の各送り軸の座標)へ向けて移動させる。測定プローブ114の先端がワークWに接触すると、スキップ信号が測定プローブ114からNC装置150へ出力される。スキップ信号を受信すると、その時のX軸、Y軸、Z軸の各送り軸の座標がNC装置150から測定点座標記憶部26へ出力される。
 また、NC装置150は、スキップ信号を受信するとX軸の送りを反転し、測定プローブ114をワークWの側面から離反させ、所定距離移動したところで、測定プローブ114の反転動作を停止する。NC装置150は、同様の測定を残りの測定点についても実行する。演算部24は、2つの測定点の座標値から、測定プローブ114が接触した2つの側面の間のコーナー部の座標を演算により求める。
 オペレータが選択した測定点が5点以上の場合(ステップS18でNoの場合)、自動実行可能な測定の種類が存在しない(選択肢がない)ため、測定方法表示領域64にはアイコン64a~64eの何れも表示されない。
 本実施形態によれば、オペレータが、測定プローブ114を手動パルス発生器50による送り操作して測定装置に対して測定点を直接教示するので、オペレータは、測定に際して測定項目を選択したり、ワークの概略寸法を入力したりする必要がなくなる。
 測定結果は、NC装置150へ出力することができる。これによって、ワークWの上面位置(図12)、ワークWのコーナー位置(図14)や、ワークWの中心位置(図15、16)、をNC装置150のワーク座標系へ設定することが可能となる。
 このように、NC装置150に格納されている測定プログラムに従って測定を行うことにより、ワークWへの測定プローブ114の接近速度を最適化することが可能となり、測定プローブ114による測定誤差を小さくすることができる。
 なお、機械100が回転送り軸を有している場合には、測定点情報に基づいて回転送り軸によって、ワークWと測定プローブ114の相対姿勢を補正することができる。測定プローブ114をワークWに接触させるときに、ワークWの表面の法線方向から接触させることが望ましい。法線方向から接触させないと、測定プローブ114のたわみ方が一様にならずに、接触時に測定プローブ114がたわむ量が変わり、測定結果に誤差が含まれてしまう。法線方向から接触させる条件で測定を行うため、オペレータが手動パルス操作によって接触教示した動作に対し、回転送り装置によって、測定プローブ114をワークWの表面に法線方向から接触させるようにできる。
 本発明は、複数種類の測定に必要なすべての測定点情報を、手動パルス発生器を用いて測定プローブをワークに接触させて教示しておき、教示した測定点情報の中から最初の測定に必要な測定点情報を選択して自動測定を実行し、その後、次の測定に必要な測定点情報を選択し直して自動測定を実行することで、複数種類の測定を連続的に行うことができる。このように、必要な測定点の教示をすべて終わらせてから複数種類の測定を連続的に実行することで測定作業を効率化することができる。
 10  測定制御装置
 12  測定軸判定部
 14  測定方向判定部
 16  測定点カウント部
 18  測定工程記憶部
 20  自動測定指令部
 22  測定タイプ判定部
 24  演算部
 26  測定点座標記憶部
 28  表示制御部
 30  測定プログラム記憶部
 50  手動パルス発生器
 51  パルス発生ダイヤル
 52  選択スイッチ
 53  倍率選択スイッチ
 54  非常停止ボタン
 55  イネーブルスイッチ
 62  測定点表示領域
 64  測定方法表示領域
 64a  基準面測定アイコン
 64b  傾斜測定アイコン
 64c  コーナー測定アイコン
 64d  ポケット測定アイコン
 64e  ブロック測定アイコン
 66  測定点削除ボタン
 68  全測定点削除ボタン
 70  自動測定ボタン
 80  設定画面
 82  表示部
 84  増加ボタン
 86  低減ボタン
 100  機械
 102  ベッド
 104  コラム
 106  テーブル
 108  X軸スライダ
 110  主軸頭
 112  主軸
 114  測定プローブ
 116  X軸スケール
 118  Y軸スケール
 120  Z軸スケール
 150  NC装置
 200  操作盤
 202  タッチパネル
 204  キースイッチ

Claims (6)

  1.  ワークの測定機能を有した機械において、
     前記ワークを取り付けるワーク取付部と、
     前記ワークに接触したことを検出する測定プローブと、
     前記ワーク取付部と前記測定プローブを相対移動させる直線送り軸と、
     前記ワーク取付部の近傍の作業位置まで持ち運び可能に設けられ、前記送り軸に前記ワークと前記測定プローブとを相対移動させる移動指令を入力する操作端末と、
     前記測定プローブがワークに接触した時に検出した移動方向及び座標である測定点情報を記憶する記憶部と、
     前記記憶部に記憶された測定点情報を表示する表示部と、
     前記表示部に表示された測定点情報を選択可能に構成され、オペレータによって選択された測定点情報に基づいて測定プログラムを作成し、該測定プログラムを実行して前記ワークを測定する測定制御装置と、
     を備えることを特徴とする測定機能を有した機械。
  2.  前記測定制御装置は、選択された複数の測定点情報の組み合わせから、測定種別を予測し、表示部に表示する請求項1に記載の測定機能を有した機械。
  3.  前記表示部に、測定プローブがワークに衝突することを回避できる安全高さを設定する画面を表示し、設定された安全高さに基づいて測定プログラムを作成するようにした請求項1に記載の測定機能を有した機械。
  4.  機械は、ワークと測定プローブの相対姿勢を変更する回転送り軸を更に有し、選択された測定点情報に基づいて回転送り軸を回転させ、ワークと測定プローブの相対姿勢を補正可能である請求項1に記載の測定機能を有した機械。
  5.  測定プログラム記憶部を更に有し、測定プログラムの再利用が可能である請求項1に記載の測定機能を有した機械。
  6.  機械は、先端に工具を装着可能な主軸と、該主軸に対面するように配置されワークを取り付けるテーブルと、複数の工具を格納した工具マガジンと、主軸と工具マガジンとの間で工具を交換する自動工具交換装置とを備えたマシニングセンタであり、
     前記自動工具交換装置によって、測定プローブを主軸に装着可能にした請求項1に記載の測定機能を有した機械。
PCT/JP2023/039988 2022-11-07 2023-11-07 ワークの測定機能を有した機械および工作機械 WO2024101339A1 (ja)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2022-178349 2022-11-07
JP2022178349A JP7397948B1 (ja) 2022-11-07 2022-11-07 ワークの測定機能を有した機械および工作機械

Publications (1)

Publication Number Publication Date
WO2024101339A1 true WO2024101339A1 (ja) 2024-05-16

Family

ID=89117035

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2023/039988 WO2024101339A1 (ja) 2022-11-07 2023-11-07 ワークの測定機能を有した機械および工作機械

Country Status (2)

Country Link
JP (1) JP7397948B1 (ja)
WO (1) WO2024101339A1 (ja)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000180106A (ja) * 1998-12-21 2000-06-30 Kokko:Kk ワーク加工装置及びコンピュータ読み取り可能な記録媒体
JP2011027674A (ja) * 2009-07-29 2011-02-10 Jtekt Corp 形状測定装置
WO2017168727A1 (ja) * 2016-03-31 2017-10-05 株式会社牧野フライス製作所 ワークの測定装置および工作機械
JP2018034297A (ja) * 2016-08-25 2018-03-08 株式会社岡本工作機械製作所 自動研削装置
WO2019116462A1 (ja) * 2017-12-13 2019-06-20 株式会社Fuji 製造システム
JP2021168031A (ja) * 2020-04-10 2021-10-21 株式会社岡本工作機械製作所 機械加工方法及び工作機械

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000180106A (ja) * 1998-12-21 2000-06-30 Kokko:Kk ワーク加工装置及びコンピュータ読み取り可能な記録媒体
JP2011027674A (ja) * 2009-07-29 2011-02-10 Jtekt Corp 形状測定装置
WO2017168727A1 (ja) * 2016-03-31 2017-10-05 株式会社牧野フライス製作所 ワークの測定装置および工作機械
JP2018034297A (ja) * 2016-08-25 2018-03-08 株式会社岡本工作機械製作所 自動研削装置
WO2019116462A1 (ja) * 2017-12-13 2019-06-20 株式会社Fuji 製造システム
JP2021168031A (ja) * 2020-04-10 2021-10-21 株式会社岡本工作機械製作所 機械加工方法及び工作機械

Also Published As

Publication number Publication date
JP2024067927A (ja) 2024-05-17
JP7397948B1 (ja) 2023-12-13

Similar Documents

Publication Publication Date Title
JP6351745B2 (ja) 工作機械の制御方法および工作機械の制御装置
US7848851B2 (en) Controller of work piece-conveying robot
JP6625203B2 (ja) ワークの測定装置および工作機械
CN101957610B (zh) 机床的刀具轨迹显示装置
EP2923172B1 (en) Measuring machine and method for automated measurement of an object
US9897991B2 (en) Machine tool
JP6584488B2 (ja) 工作機械の制御方法および工作機械の制御装置
JP5649262B2 (ja) 測定表示方法及び測定表示装置を備えた機械
JP6570592B2 (ja) 工作機械の機上測定方法および制御装置
CN109661292B (zh) 工件测定方法
JP2017027360A (ja) 機械の誤差補償システム及び誤差補償方法、誤差補償プログラム
US20150091898A1 (en) Display Apparatus
JP7414507B2 (ja) 制御装置、計測システム、計測方法
WO2024101339A1 (ja) ワークの測定機能を有した機械および工作機械
JP4661494B2 (ja) 数値制御装置
JP2000292156A (ja) ねじ穴有効深さ測定方法
JP5230466B2 (ja) 形状測定方法及び測定機能を有する機械
KR20210141866A (ko) 회전오차 검출 키트 및 이를 구비하는 수치제어 공작기계
JP2006112861A (ja) 三次元座標測定システム及びそれに用いるパートプログラム
JP7458579B2 (ja) 三次元測定機、及び三次元測定機の測定方法、
JP5493445B2 (ja) 工作機械の表示装置
JPH058126A (ja) 放電加工方法及びその装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23888686

Country of ref document: EP

Kind code of ref document: A1