WO2022102738A1 - 制御装置 - Google Patents

制御装置 Download PDF

Info

Publication number
WO2022102738A1
WO2022102738A1 PCT/JP2021/041693 JP2021041693W WO2022102738A1 WO 2022102738 A1 WO2022102738 A1 WO 2022102738A1 JP 2021041693 W JP2021041693 W JP 2021041693W WO 2022102738 A1 WO2022102738 A1 WO 2022102738A1
Authority
WO
WIPO (PCT)
Prior art keywords
tool
value
adjustment
offset value
adjustment value
Prior art date
Application number
PCT/JP2021/041693
Other languages
English (en)
French (fr)
Other versions
WO2022102738A9 (ja
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 ファナック株式会社
Priority to CN202180075282.XA priority Critical patent/CN116457142A/zh
Priority to JP2022562196A priority patent/JPWO2022102738A1/ja
Priority to US18/034,765 priority patent/US20230408986A1/en
Priority to DE112021004765.5T priority patent/DE112021004765T5/de
Publication of WO2022102738A1 publication Critical patent/WO2022102738A1/ja
Publication of WO2022102738A9 publication Critical patent/WO2022102738A9/ja

Links

Images

Classifications

    • 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
    • G05B19/401Numerical 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 characterised by control arrangements for measuring, e.g. calibration and initialisation, measuring workpiece for machining purposes
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B13/00Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion
    • G05B13/02Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric
    • G05B13/0205Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric not using a model or a simulator of the controlled system
    • G05B13/024Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric not using a model or a simulator of the controlled system in which a parameter or coefficient is automatically adjusted to optimise the performance
    • G05B13/0245Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric not using a model or a simulator of the controlled system in which a parameter or coefficient is automatically adjusted to optimise the performance not using a perturbation signal
    • 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
    • B23Q15/00Automatic control or regulation of feed movement, cutting velocity or position of tool or work
    • B23Q15/007Automatic control or regulation of feed movement, cutting velocity or position of tool or work while the tool acts upon the workpiece
    • B23Q15/12Adaptive control, i.e. adjusting itself to have a performance which is optimum according to a preassigned criterion
    • 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
    • B23Q15/00Automatic control or regulation of feed movement, cutting velocity or position of tool or work
    • B23Q15/20Automatic control or regulation of feed movement, cutting velocity or position of tool or work before or after the tool acts upon the workpiece
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/50Machine tool, machine tool null till machine tool work handling
    • G05B2219/50289Tool offset general
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Definitions

  • the present invention relates to a control device.
  • the tool offset value of each tool is adjusted in order to prevent over-cutting of the work.
  • Patent Document 1 When the outer diameter of the work is turned, the operator sets the tool offset values of the outer diameter roughing tool and the outer diameter finishing tool set by the tool presetter or the like before machining the work. , Perform an operation of adding a predetermined adjustment value (Patent Document 1).
  • the operator When the inner diameter of the work is turned, the operator subtracts a predetermined adjustment value from the tool offset values of the inner diameter roughing tool and the inner diameter finishing tool set by the tool presetter or the like. Perform the operation. Then, the operator measures dimensions such as the outer diameter and the inner diameter of the workpiece after machining, and corrects the adjustment value so that the workpiece is machined to the design dimensions. This makes it possible to prevent the work from being over-cut.
  • the operator needs to input the adjustment value for adjusting each of the multiple tool offset values one by one before the trial machining. Therefore, the working time of the worker is increased, and the operating time of the machine tool is shortened. As a result, productivity in the factory may decrease.
  • An object of the present invention is to provide a control device capable of reducing the working time of a worker and improving the productivity in a factory.
  • the control device stores an offset value storage unit that stores a plurality of tool offset values associated with a plurality of tools, an adjustment value storage unit that stores an adjustment value used for adjusting a plurality of tool offset values, and an adjustment value. It is provided with a calculation unit for calculating a plurality of adjustment offset values by adjusting a plurality of tool offset values using the above.
  • the working time of the worker can be reduced and the productivity in the factory can be improved.
  • FIG. 1 is a diagram illustrating an example of a hardware configuration of a machine tool.
  • the machine tool 1 is a machine that processes a work using a tool.
  • the machine tool 1 cuts a workpiece using a tool such as a cutting tool, an end mill, or a drill.
  • the machine tool 1 is, for example, a lathe, a machining center, or a multi-tasking machine.
  • the machine tool 1 includes a control device 2, a display device 3, an input device 4, a servo amplifier 5, a servo motor 6, a spindle amplifier 7, a spindle motor 8, a tool presetter 9, and a peripheral device 10. ..
  • the control device 2 is a device that controls the entire machine tool 1.
  • the control device 2 is, for example, a numerical control device.
  • the control device 2 includes a CPU (Central Processing Unit) 201, a bus 202, a ROM (Read Only Memory) 203, a RAM (Random Access Memory) 204, and a non-volatile memory 205.
  • a CPU Central Processing Unit
  • ROM Read Only Memory
  • RAM Random Access Memory
  • the CPU 201 is a processor that controls the entire control device 2 according to a system program.
  • the CPU 201 reads a system program or the like stored in the ROM 203 via the bus 202. Further, the CPU 201 controls the servomotor 6 and the spindle motor 8 according to the machining program to machine the workpiece.
  • Bus 202 is a communication path that connects each hardware in the control device 2 to each other. Each hardware in the control device 2 exchanges data via the bus 202.
  • the ROM 203 is, for example, a storage device that stores a system program for controlling the entire control device 2 and an analysis program for analyzing various data.
  • RAM 204 is a storage device that temporarily stores various data.
  • the RAM 204 temporarily stores data related to the tool path calculated by analyzing the machining program, data for display, data input from the outside, and the like.
  • the RAM 204 functions as a work area for the CPU 201 to process various data.
  • the non-volatile memory 205 is a storage device that retains data even when the machine tool 1 is turned off and the control device 2 is not supplied with power.
  • the non-volatile memory 205 is composed of, for example, an SSD (Solid State Drive).
  • the non-volatile memory 205 stores, for example, tool information regarding the specifications of the tool input from the input device 4, tool offset value, information indicating the tool life, and a machining program.
  • the control device 2 further includes a first interface 206, a second interface 207, an axis control circuit 208, a spindle control circuit 209, a third interface 210, a PLC (Programmable Logic Controller) 211, and I. It is equipped with a / O unit 212.
  • the first interface 206 is an interface for connecting the bus 202 and the display device 3.
  • the first interface 206 sends, for example, various data processed by the CPU 201 to the display device 3.
  • the display device 3 is a device that receives various data via the first interface 206 and displays various data.
  • the display device 3 displays, for example, a machining program, a tool offset value, etc. stored in the non-volatile memory 205.
  • the display device 3 is a display such as an LCD (Liquid Crystal Display).
  • the second interface 207 is an interface for connecting the bus 202 and the input device 4.
  • the second interface 207 for example, sends the data input from the input device 4 to the CPU 201 via the bus 202.
  • the input device 4 is a device for inputting various data.
  • the input device 4 receives, for example, input of a tool offset value and tool information, and sends the input data to the non-volatile memory 205 via the second interface 207.
  • the input device 4 is, for example, a keyboard and a mouse.
  • the input device 4 and the display device 3 may be configured as one device such as a touch panel.
  • the axis control circuit 208 is a control circuit that controls the servomotor 6.
  • the axis control circuit 208 receives a control command from the CPU 201 and outputs a command for driving the servomotor 6 to the servo amplifier 5.
  • the axis control circuit 208 sends, for example, a torque command for controlling the torque of the servomotor 6 to the servo amplifier 5.
  • the servo amplifier 5 receives a command from the axis control circuit 208 and supplies electric power to the servomotor 6.
  • the servo motor 6 is a motor that receives power from the servo amplifier 5 and drives it.
  • the servomotor 6 is connected to, for example, a tool post, a spindle head, and a ball screw that moves a table.
  • the components of the machine tool 1 such as the tool post, spindle head, and table move, for example, in the X-axis direction, the Y-axis direction, or the Z-axis direction.
  • the spindle control circuit 209 is a control circuit for controlling the spindle motor 8.
  • the spindle control circuit 209 receives a control command from the CPU 201 and outputs a command for driving the spindle motor 8 to the spindle amplifier 7.
  • the spindle control circuit 209 sends, for example, a torque command for controlling the torque of the spindle motor 8 to the spindle amplifier 7.
  • the spindle amplifier 7 receives a command from the spindle control circuit 209 and supplies electric power to the spindle motor 8.
  • the spindle motor 8 is a motor that is driven by receiving electric power from the spindle amplifier 7.
  • the spindle motor 8 is connected to the spindle and rotates the spindle.
  • the third interface 210 is an interface for connecting the bus 202 and the tool presetter 9.
  • the third interface 210 sends the tool offset value detected by the tool presetter 9 to the non-volatile memory via the bus 202.
  • the tool presetter 9 is a device that is arranged inside the machine tool 1 and detects tool offset values of a plurality of tools.
  • the tool presetter 9 includes a contact sensor.
  • a reference point for detecting the tool offset value is set in advance on the spindle to which the tool is attached.
  • the tool presetter 9 detects the tool offset value based on the position of the reference point at the timing when the tool contacts the contact sensor.
  • the tool presetter 9 sends the detected tool offset value to the RAM 204.
  • the PLC 211 executes a ladder program to control the peripheral device 10.
  • the PLC 211 controls the peripheral device 10 via the I / O unit 212.
  • the I / O unit 212 is an interface for connecting the PLC 211 and the peripheral device 10.
  • the I / O unit 212 sends the command received from the PLC 211 to the peripheral device 10.
  • the peripheral device 10 is a device that is installed in the machine tool 1 and performs an auxiliary operation when the machine tool 1 processes the work.
  • the peripheral device 10 may be a device installed around the machine tool 1.
  • the peripheral device 10 is a robot such as a tool changer and a manipulator, for example.
  • FIG. 2 is a block diagram showing an example of the function of the control device 2.
  • the control device 2 includes, for example, an input reception unit 221, an offset value storage unit 222, an adjustment value storage unit 223, a display unit 224, a calculation unit 225, and a control unit 226.
  • the input reception unit 221, the display unit 224, the calculation unit 225, and the control unit 226 use the RAM 204 as a work area for arithmetic processing using, for example, the system program, the control program, and various data stored in the ROM 203 by the CPU 201. Is realized by.
  • the offset value storage unit and the adjustment value storage unit 223 store, for example, the data input from the input device 4 and the tool presetter 9 or the processing result of the arithmetic processing in the CPU 201 in the RAM 204 or the non-volatile memory 205. It is realized by being done.
  • the input receiving unit 221 receives input of tool offset values of a plurality of tools used for machining from the tool presetter 9.
  • the tool offset value is data indicating the distance from the reference point to the tool cutting edge.
  • the tool offset value is data indicating the distance from the reference point of the spindle to which the tool is mounted to the tool cutting edge.
  • FIG. 3 is a diagram showing an example of a tool offset value of an outer diameter machining tool.
  • the outer diameter machining tool To is, for example, a cutting tool.
  • the reference point C is set, for example, at the center of the spindle end.
  • the tool offset value includes, for example, tool offset values Ox and Oz in the X-axis direction and the Z-axis direction.
  • the tool offset value Ox in the X-axis direction is a value indicating the distance in the X-axis direction from the reference point C to the cutting edge.
  • the tool offset value Oz in the Z-axis direction is a value indicating the distance in the Z-axis direction from the reference point C to the cutting edge.
  • the reference point C is located in the + direction of the X axis and the + direction of the Z axis with respect to the cutting edge of the tool.
  • the tool offset value Ox in the X-axis direction and the tool offset value Oz in the Z-axis direction are positive values, respectively.
  • FIG. 4 is a diagram showing an example of the tool offset value of the milling tool.
  • the milling tool Tm is, for example, an end mill or a milling cutter.
  • the reference point C is, for example, the center of the spindle end.
  • the tool offset value includes, for example, a value indicating a tool length correction Ol and a value indicating a tool diameter correction Od.
  • the value of the tool length correction Ol is a value indicating the distance from the reference point C to the tip of the milling tool Tm.
  • the value of the tool diameter correction Od is a value indicating the distance from the reference point C to the outer circumference of the milling tool Tm. That is, the value of the tool diameter correction Od is a value indicating the radius of the milling tool Tm.
  • the reference point C is located in the + direction of the X axis with respect to the tip of the tool.
  • the value of the tool length correction Ol becomes a positive value.
  • the value of the tool diameter correction Od is always a positive value.
  • the offset value storage unit 222 stores a plurality of tool offset values associated with each of the plurality of tools.
  • the offset value storage unit 222 stores the tool offset value received by the input reception unit 221 in association with each tool.
  • the offset value storage unit 222 stores, for example, the tool offset values Ox and Oz in the X-axis direction and the Z-axis direction of each tool in association with the tool number of each tool.
  • the input receiving unit 221 also receives input of adjustment values used for adjusting a plurality of tool offset values from the input device 4.
  • the adjustment value is numerical information used for collectively adjusting a plurality of tool offset values.
  • the adjustment of the tool offset value will be described.
  • FIG. 5A and 5B are diagrams for explaining the adjustment of the tool offset value of the outer diameter machining tool To.
  • the trial machining means the machining of the first workpiece when a plurality of workpieces having the same shape are continuously machined. Alternatively, it means machining of the first workpiece after the machining program is read out.
  • the adjustment value Av of 0.2 [mm] is added to the tool offset value Ox in the X-axis direction and the tool offset value Oz in the Z-axis direction. Will be done.
  • the adjustment value Av of 0.2 [mm] is added to the tool offset value Ox in the X-axis direction and the tool offset value Oz in the Z-axis direction of the outer diameter finishing tool.
  • the outer diameter dimension and the dimension in the longitudinal direction are machined so as to be larger by the adjustment value Av.
  • the adjustment value Av is corrected so that the work W is machined to the design dimension in the subsequent machining.
  • the outer diameter dimension of the work W machined using the tool offset value to which the adjustment value Av is added is 0.21 [mm] larger than the design dimension
  • the outer diameter of the rough machining tool is in the X-axis direction. It is necessary to perform machining using values obtained by subtracting 0.21 [mm] from the tool offset value Ox and the tool offset value Ox in the X-axis direction of the outer diameter finishing tool.
  • the tool offset value Oz in the Z-axis direction of the tool for roughing the outer diameter and the tool for finishing the outer diameter are used. It is necessary to perform machining using a value obtained by subtracting 0.19 [mm] from the tool offset value Oz in the Z-axis direction. By adjusting the tool offset value in this way, the work can be machined to the design dimensions.
  • the input receiving unit 221 receives, for example, the input of the adjustment value Av used for collectively adjusting the tool offset value Ox in the X-axis direction of the outer diameter roughing tool and the outer diameter finishing tool. Further, the input receiving unit 221 accepts the input of the adjustment value Av used for collectively adjusting the tool offset value Oz in the Z-axis direction of the outer diameter roughing tool and the outer diameter finishing tool.
  • the input receiving unit 221 may accept the input of the adjustment value Av used for collectively adjusting the tool offset value Ox in the X-axis direction of the inner diameter roughing tool and the inner diameter finishing tool. Further, the input receiving unit 221 may accept the input of the adjustment value Av used for collectively adjusting the tool offset value Oz in the Z-axis direction of the inner diameter roughing tool and the inner diameter finishing tool.
  • the adjustment value storage unit 223 is received by the input reception unit 221 and stores the adjustment value Av used for adjusting a plurality of tool offset values.
  • the display unit 224 causes the display device 3 to display the tool offset values of the plurality of tools stored in the offset value storage unit 222 and the adjustment value Av stored in the adjustment value storage unit 223.
  • FIG. 6 is a diagram showing an example of a display screen displayed on the display device 3 by the display unit 224.
  • the tool number of each tool the tool information, the tool offset value Ox in the X-axis direction, and the wear amount, and the tool offset value Oz in the Z-axis direction, and the wear amount are displayed.
  • the adjustment value Av in the X-axis direction and the adjustment value Av in the Z-axis direction are displayed in the line above the line in which the information about the tool of the tool number "1" is displayed.
  • the calculation unit 225 calculates a plurality of adjustment offset values obtained by adjusting a plurality of tool offset values using the adjustment value Av.
  • the calculation unit 225 adds the adjustment value Av “0.200” to the tool offset value Ox “3.200” in the X-axis direction of the outer diameter roughing tool, and adjusts the adjustment offset value “3”. .400 "is calculated. Similarly, the adjustment value Av “0.200” is added to the tool offset value Oz “2.500” in the Z-axis direction to calculate the adjustment offset value "2.700".
  • the calculation unit 225 calculates the adjustment offset value "4.700” by adding the adjustment value Av “0.200” to the tool offset value Ox "4.500" in the X-axis direction of the outer diameter finishing tool. do. Similarly, the adjustment value Av “0.200” is added to the tool offset value Oz “3.500” in the Z-axis direction to calculate the adjustment offset value "3.700".
  • the adjustment offset value calculated by the calculation unit may be stored in a storage unit such as an adjustment offset value storage unit (not shown), for example.
  • the control unit 226 controls, for example, the servo motor 6 and the spindle motor 8 to cut the work.
  • the control unit 226 analyzes the machining program and calculates the movement path in which the tool moves during machining of the work W, the feed rate of the tool, and the rotation speed of the spindle.
  • the control unit 226 rotates the spindle at the calculated rotation speed, and controls the servomotor 6 so that the tool moves at the calculated feed rate along the calculated tool path.
  • the work W is processed.
  • the control unit 226 controls the position of the tool based on the adjustment offset value calculated by the calculation unit 225.
  • the control device 2 is used for the offset value storage unit 222 for storing a plurality of tool offset values associated with the plurality of tools, and for adjusting the plurality of tool offset values. It includes an adjustment value storage unit 223 that stores the adjustment value Av, and a calculation unit 225 that calculates a plurality of adjustment offset values by adjusting a plurality of tool offset values using the adjustment value Av.
  • the operator does not need to input a plurality of adjustment values Av when adjusting a plurality of tool offset values. That is, one adjustment value Av for adjusting a plurality of tool offset values at once may be input. As a result, the working time of the worker can be reduced and the productivity in the factory can be improved.
  • control device 2 is provided in the machine tool 1.
  • control device 2 may be provided, for example, in a management server installed at a place away from the machine tool 1.
  • FIG. 7 is a diagram showing an example of the tool offset value of the inner diameter machining tool.
  • the reference point C is, for example, the center of the spindle end.
  • the tool offset value includes, for example, tool offset values Ox and Oz in the X-axis direction and the Z-axis direction.
  • the tool offset value Ox in the X-axis direction is a value indicating the distance in the X-axis direction from the reference point C to the cutting edge.
  • the tool offset value Oz in the Z-axis direction is a value indicating the distance in the Z-axis direction from the reference point C to the cutting edge.
  • the reference point C is located in the-direction of the X-axis and the +-direction of the Z-axis with respect to the cutting edge of the tool.
  • the tool offset value Ox in the X-axis direction is a negative value
  • the tool offset value Oz in the Z-axis direction is a positive value.
  • FIG. 8A and 8B are diagrams for explaining the adjustment of the tool offset value of the inner diameter machining tool Ti.
  • the tool offset value and the inner diameter of the inner diameter roughing tool stored in the offset value storage unit 222 are stored.
  • the tool offset value of the finishing tool is adjusted respectively.
  • the adjustment value Av of 0.2 [mm] is subtracted from the tool offset value Ox in the X-axis direction of the inner diameter roughing tool, and the adjustment value of 0.2 [mm] is subtracted from the tool offset value Oz in the Z-axis direction. Av is added.
  • the adjustment value Av of 0.2 [mm] is subtracted from the tool offset value Ox in the X-axis direction of the inner diameter finishing tool, and the adjustment value of 0.2 [mm] is adjusted with respect to the tool offset value Oz in the Z-axis direction. The value Av is added.
  • the inner diameter dimension is machined so as to be smaller by the adjustment value Av, and the longitudinal dimension is machined to be larger by the adjustment value Av.
  • the adjustment value Av is corrected so that the work W is machined to the design dimension in the subsequent machining.
  • FIG. 9 is a diagram showing an example of a display screen displaying a tool offset value of the inner diameter machining tool Ti.
  • the adjustment value storage unit 223 adjusts the tool offset value Oz in the Z-axis direction with -0.200 [mm] as the adjustment value Av for adjusting the tool offset value Ox in the X-axis direction. 0.200 [mm] is stored as the adjustment value Av for this purpose.
  • the calculation unit 225 calculates the adjustment offset value by adding the adjustment value Av of ⁇ 0.200 [mm] to the tool offset value Ox in the X-axis direction of the inner diameter roughing tool. Further, the calculation unit 225 calculates the adjustment offset value by adding the adjustment value Av of 0.200 [mm] to the tool offset value Oz in the Z-axis direction of the inner diameter roughing tool.
  • the calculation unit 225 calculates the adjustment offset value by adding the adjustment value Av of ⁇ 0.200 [mm] to the tool offset value Ox in the X-axis direction of the inner diameter finishing tool. Further, the calculation unit 225 calculates the adjustment offset value by adding the adjustment value Av of 0.200 [mm] to the tool offset value Oz in the Z-axis direction of the inner diameter finishing tool.
  • the inner diameter dimension is reduced by the adjustment value Av, and the dimension in the longitudinal direction is increased by the adjustment value Av.
  • the adjustment value Av is corrected according to the measured value.
  • the adjustment value Av stored in the adjustment value storage unit 223 is added to the plurality of tool offset values by the calculation unit 225.
  • the calculation unit 225 adds the adjustment value Av to each of the plurality of tool offset values or subtracts them from the plurality of tool offset values based on the plurality of tool offset values stored in association with the plurality of tools. You may calculate a plurality of adjustment offset values.
  • the calculation unit 225 adds the adjustment value Av to the tool offset value in the X-axis direction.
  • the calculation unit 225 subtracts the adjustment value Av from the tool offset value in the X-axis direction.
  • FIG. 10 is a diagram showing an example of a display screen displaying the tool offset values of the outer diameter machining tool To and the inner diameter machining tool Ti.
  • the tool offset value Ox in the X-axis direction of the outer diameter roughing tool and the outer diameter finishing tool is a positive value. Therefore, the calculation unit 225 adds the adjustment value Av to the tool offset value Ox in the X-axis direction of the outer diameter roughing tool and the outer diameter finishing tool.
  • the tool offset value Ox in the X-axis direction of the inner diameter roughing tool and the inner diameter finishing tool is a negative value. Therefore, the calculation unit 225 subtracts the adjustment value Av from the tool offset value Ox in the X-axis direction of the inner diameter roughing tool and the inner diameter finishing tool.
  • the tool offset value Oz in the Z-axis direction of the outer diameter roughing tool, the outer diameter finishing tool, the inner diameter roughing tool, and the inner diameter finishing tool is a positive value. Therefore, the calculation unit 225 adds the adjustment value Av to the tool offset value Oz in the Z-axis direction of each tool. As a result, even when both outer diameter machining and inner diameter machining are performed, the operator can adjust the adjustment value used to adjust the respective tool offset values in the X-axis direction and the Z-axis direction. You only have to enter one Av each. As a result, the working time of the worker can be reduced and the productivity in the factory can be improved.
  • the calculation unit 225 adds the adjustment value Av to the plurality of tool offset values or subtracts them from the plurality of tool offset values based on the tool information stored in association with the plurality of tools.
  • the adjustment offset value may be calculated.
  • the tool information is information indicating the names or types of the plurality of tools.
  • the name of the tool is, for example, the product name and model number of each tool.
  • the types of tools include outer diameter roughing tools, outer diameter finishing tools, inner diameter roughing tools, inner diameter finishing tools, milling tools, and drills.
  • the calculation unit 225 refers to the information indicating the name or type of each of the plurality of tools, and determines whether to add the adjustment value Av to the tool offset value of each tool or to subtract it from the tool offset value of each tool. Judge and calculate the adjustment offset value.
  • the tool information may include cutting edge information indicating the direction in which each cutting edge of a plurality of tools faces.
  • the cutting edge information is, for example, a virtual cutting edge number.
  • the virtual cutting edge number is a number indicating the cutting edge position when it is assumed that the cutting edge R is not formed in the tool in which the cutting edge R is formed.
  • the cutting edge information is input by an operator from, for example, the input device 4.
  • the cutting edge information may be acquired by, for example, the tool presetter 9 and may be input from the tool presetter 9.
  • FIG. 11 is a diagram illustrating a virtual cutting edge number.
  • 12A to 12D are diagrams showing specific examples of tools corresponding to each virtual cutting edge number.
  • Each circle shown in FIG. 11 shows the position of the tool assuming that the intersection of the vertical axis and the horizontal axis is the cutting edge position.
  • the calculation unit 225 determines whether to add the adjustment value Av to the tool offset value of each tool or subtract it from the tool offset value of each tool, and calculates the adjustment offset value. ..
  • the operator can adjust the tool offset values in the X-axis direction and the Z-axis direction. You only have to enter one Av each. As a result, the working time of the worker can be reduced and the productivity in the factory can be improved.
  • the control device 2 may further include an acquisition unit that acquires cutting direction information indicating the cutting direction of each of the plurality of tools from the machining program.
  • the calculation unit 225 may calculate a plurality of adjustment offset values by adding the adjustment value Av to each of the plurality of tool offset values or subtracting from the plurality of tool offset values based on the cutting direction information. good.
  • FIG. 13 is a block diagram showing the function of the control device 2 provided with the acquisition unit.
  • the acquisition unit 227 is realized, for example, by the CPU 201 using the system program, the control program, and various data stored in the ROM 203 for arithmetic processing using the RAM 204 as a work area.
  • the acquisition unit 227 acquires the cutting direction information indicating the cutting direction of each of the plurality of tools from the machining program. For example, the acquisition unit 227 acquires the cutting direction information indicating the tool cutting direction used in the roughing cycle in the machining program.
  • FIG. 14 is a diagram showing an example of a machining program.
  • the machining program shown in FIG. 14 is a machining program for executing rough machining of a workpiece using the rough machining cycle command “G71”.
  • the tool is positioned at the machining start position "X100.0Z2.0" by the "G00X100.0Z2.0” described in the sequence number "N12".
  • the roughing cycle command "G71U4.0R1.0" described in the sequence number "N13” commands a depth of cut of 4.0 [mm] and a relief amount of 1.0 [mm] during roughing. ..
  • Finishing allowance 0.2 [mm] in the X-axis direction, finishing allowance 0.2 [mm] in the Z-axis direction, feed rate 0.25 [mm / rev], and rotation speed 500 [rpm] are commanded. Further, in sequence numbers N15 to N18, the finish shape of the work is instructed.
  • the finishing dimension of the outer diameter of the work with respect to the position "X100.0" in the X-axis direction positioned by the sequence number N12 is "X50.0", “X60.0", or "X82.0". .. That is, in the rough machining cycle command, cutting is performed from the machining start position "X100.0Z2.0" to the "-X-axis direction" and the "-Z-axis direction”. That is, the acquisition unit 227 acquires the cutting direction information "-X, -Z” indicating the cutting direction of the tool according to the roughing cycle command "G71".
  • the calculation unit 225 adds the adjustment value Av to the tool offset value Ox in the X-axis direction and the tool offset value Oz in the Z-axis direction based on the cutting direction information "-X, -Z" acquired by the acquisition unit 227. To calculate the adjustment offset value.
  • the operator uses the adjustment value Av to adjust the respective tool offset values in the X-axis direction and the Z-axis direction. You only have to enter one for each. As a result, the working time of the worker can be reduced and the productivity in the factory can be improved.
  • the adjustment value storage unit 223 stores one adjustment value Av for adjusting the tool offset value in the X-axis direction and one adjustment value Av for adjusting the tool offset value in the Z-axis direction.
  • the adjustment value storage unit 223 may store a plurality of adjustment values Av in association with each of the X-axis direction and the Z-axis direction. That is, the adjustment value Av adjusts the first adjustment value for adjusting at least one tool offset value among the plurality of tool offset values and the other at least one tool offset value among the plurality of tool offset values. It may include a second adjustment value.
  • FIG. 15 is a diagram showing an example of a display screen when the adjustment value storage unit 223 stores a plurality of adjustment values Av.
  • the adjustment value storage unit 223 stores the first adjustment value and the second adjustment value.
  • the calculation unit 225 calculates the adjustment offset value of each tool using the first adjustment value or the second adjustment value.
  • the calculation unit 225 determines, for example, whether to add the first adjustment value to the tool offset value or the second adjustment value based on the tool offset value stored in association with each tool. Calculate the adjustment offset value. When the tool offset value is a positive value, the calculation unit 225 adds the first adjustment value indicating the positive value to the tool offset value. When the tool offset value is a negative value, the calculation unit 225 adds a second adjustment value indicating a negative value to the tool offset value.
  • the tool offset value Ox in the X-axis direction of the outer diameter roughing tool and the outer diameter finishing tool is a positive value. Therefore, the calculation unit 225 adds the first adjustment value Av1 indicating a positive value to the tool offset value Ox in the X-axis direction of the outer diameter roughing tool and the outer diameter finishing tool, respectively. Calculate the adjustment offset value.
  • the tool offset value Ox in the X-axis direction of the inner diameter roughing tool and the inner diameter finishing tool is a negative value. Therefore, the calculation unit 225 adds a second adjustment value indicating a negative value to the tool offset value Ox in the X-axis direction of the inner diameter roughing tool and the inner diameter finishing tool, respectively, to adjust the offset value. Is calculated.
  • the operator adjusts the tool offset values of the plurality of outer diameter machining tools To. Only one adjustment value Av may be input. Further, even when the offset value storage unit 222 stores the tool offset values of the plurality of inner diameter machining tools Ti, the operator can adjust the tool offset values of the plurality of inner diameter machining tools Ti. Only one adjustment value Av may be input. As a result, the working time of the worker can be reduced and the productivity in the factory can be improved.
  • the calculation unit 225 determines whether to add the first adjustment value or the second adjustment value Av2 to the tool offset value of each tool based on the information indicating the name or type of the tool.
  • the adjustment offset value may be calculated. Further, the calculation unit 225 determines whether to add the first adjustment value or the second adjustment value to the tool offset value of each tool based on the cutting edge information of each tool, and determines the adjustment offset value. May be calculated. Further, the calculation unit 225 determines whether to add the first adjustment value or the second adjustment value to the tool offset value of each tool based on the cutting direction information acquired by the acquisition unit 227.
  • the adjustment offset value may be calculated by judgment.
  • the offset value storage unit 222 may further store the adjustment value application information in association with the tool information of a plurality of tools.
  • the adjustment value application information is information indicating which of the plurality of adjustment values Av the adjustment value Av adjusts the tool offset value of each tool.
  • FIG. 16 is a diagram showing an example of a display screen when the offset value storage unit 222 stores the adjustment value application information.
  • an application number is displayed as adjustment value application information between the column in which the tool information is displayed and the column in which the tool offset value Ox in the X-axis direction is displayed.
  • the first adjustment value and the second adjustment value are numbered “1" and “2", respectively.
  • the tool offset value of each tool includes the number “1” or the number “2" indicating which of the first adjustment value and the second adjustment value the tool offset value is adjusted. Is associated and memorized. That is, based on the number "1" or the number "2" stored in association with the tool offset value of each tool, the calculation unit 225 sets the tool offset value of each tool as the first adjustment value or the second adjustment value. It is determined which of the adjustment values Av of the adjustment values of is to be added.
  • the operator adjusts the tool offset values of the plurality of outer diameter machining tools To. Only one adjustment value Av may be input. Further, even when the offset value storage unit 222 stores the tool offset values of the plurality of inner diameter machining tools Ti, the operator can adjust the tool offset values of the plurality of inner diameter machining tools Ti. Only one adjustment value Av may be input. As a result, the working time of the worker can be reduced and the productivity in the factory can be improved.
  • the adjustment value storage unit 223 stores three or more adjustment values, and three or more adjustment values are displayed on the display screen. You may do so.
  • a plurality of adjustment values Av may be applied to one tool offset value.
  • both the first adjustment value and the second adjustment value may be added to the outer diameter roughing tool and the outer diameter finishing tool.
  • the operator sets the first adjustment value to 0.200 [mm] and the second adjustment value to 0.000 [mm] at the time of the first cutting.
  • the operator sets the second adjustment value to ⁇ 0.050 [mm]. That is, the first adjustment value can be used as the adjustment value used at the time of the first machining, and the second adjustment value can be used as the adjustment value for adjusting the first adjustment value.
  • the offset value storage unit 222 may store the adjustment value application information and the cutting edge information in association with the tool offset value of each tool.
  • the calculation unit 225 determines whether to adjust each tool offset value using the adjustment value Av of the first adjustment value or the second adjustment value based on the adjustment value application information. Further, the calculation unit 225 adds the first adjustment value or the second adjustment value to each tool offset value based on the cutting edge information, or adds the first adjustment value or the second adjustment value from each tool offset value. Determine whether to subtract the value and calculate the adjustment offset value.
  • FIG. 18 is a diagram showing an example of a display screen when the offset value storage unit 222 stores the adjustment value application information and the cutting edge information in association with the tool offset value of each tool.
  • the adjustment value storage unit 223 stores the numbers “1” and the numbers “2” in association with the first adjustment value and the second adjustment value, respectively.
  • the offset value storage unit 222 is associated with the tool offset value of each tool, and is adjusted to indicate whether the tool offset value is adjusted using the adjustment value Av of the first adjustment value or the second adjustment value. Stores value application information. Further, the offset value storage unit 222 stores the cutting edge information indicating the direction of the tool in association with the tool offset value of each tool.
  • the calculation unit 225 adds the first adjustment value or the second adjustment value to the tool offset value of each tool based on the adjustment value application information stored in association with the tool information of each tool and the cutting edge information. Alternatively, the first adjustment value or the second adjustment value is subtracted from the tool offset value of each tool.
  • the adjustment value application information "1" is stored in association with the outer diameter roughing tool, the outer diameter finishing tool, the inner diameter roughing tool, and the inner diameter finishing tool. Therefore, the first adjustment value is added to the tool offset values of the outer diameter roughing tool, the outer diameter finishing tool, the inner diameter roughing tool, and the inner diameter finishing tool, or from the tool offset value. The first adjustment value is subtracted.
  • the cutting edge information "3" is stored in association with the outer diameter roughing tool and the outer diameter finishing tool. Therefore, the first adjustment value of 0.200 [mm] is added to the tool offset value in the X-axis direction of the outer diameter roughing tool and the outer diameter finishing tool. Further, the cutting edge information "2" is associated and stored in the inner diameter roughing tool and the inner diameter finishing tool. Therefore, the first adjustment offset value of 0.200 [mm] is subtracted from the tool offset value in the X-axis direction of the inner diameter roughing tool and the inner diameter finishing tool.
  • the adjustment value application information "2" is stored in association with the roughing end mill and the finishing end mill. Therefore, the second adjustment value of 0.200 [mm] is added to the tool diameter correction of the roughing end mill and the finishing end mill, respectively.
  • the tool is a rotary tool such as a milling tool
  • the tool offset value displayed in the tool offset value column in the X-axis direction is displayed in the tool diameter correction and tool offset value columns in the Z-axis direction.
  • the tool offset value is the tool length correction.
  • the operator adjusts the tool offset value of the tool used for turning and milling, respectively. You only have to enter one. As a result, the working time of the worker can be reduced and the productivity in the factory can be improved.

Abstract

制御装置が、複数の工具にそれぞれ対応付けられた複数の工具オフセット値を記憶するオフセット値記憶部と、複数の工具オフセット値の調整に用いられる調整値を記憶する調整値記憶部と、調整値を用いて複数の工具オフセット値を調整した複数の調整オフセット値を算出する算出部と、を備える。

Description

制御装置
 本発明は、制御装置に関する。
 従来、工作機械においてワークの試し加工が行われる場合、ワークの削り過ぎを防ぐために、各工具の工具オフセット値が調整される。
 例えば、ワークの外径旋削が行われる場合、ワークの加工前に、作業者は、ツールプリセッタなどで設定された外径荒加工用工具、および外径仕上げ加工用工具の工具オフセット値にそれぞれ、所定の調整値を加算する操作を行う(特許文献1)。
 また、ワークの内径旋削が行われる場合は、作業者は、ツールプリセッタなどで設定された内径荒加工用工具、および内径仕上げ加工用工具の工具オフセット値からそれぞれ、所定の調整値を減算する操作を行う。そして、作業者は、加工後のワークの外径、および内径などの寸法を測定し、設計寸法にワークが加工されるように調整値を修正する。これにより、ワークの削りすぎを防ぐことができる。
特開2003-58216号公報
 しかし、作業者は試し加工の前に、複数の工具オフセット値のそれぞれを調整する調整値を1つずつ入力する必要がある。そのため、作業者の作業時間が増大し、工作機械の稼働時間が短くなる。その結果、工場における生産性が低下するおそれがある。
 本発明は、作業者の作業時間を削減し、工場における生産性を向上させることが可能な制御装置を提供することを目的とする。
 制御装置が、複数の工具にそれぞれ対応付けられた複数の工具オフセット値を記憶するオフセット値記憶部と、複数の工具オフセット値の調整に用いられる調整値を記憶する調整値記憶部と、調整値を用いて複数の工具オフセット値を調整した複数の調整オフセット値を算出する算出部と、を備える。
 本発明により、作業者の作業時間を削減し、工場における生産性を向上させることができる。
工作機械のハードウェア構成の一例を説明する図である。 制御装置の機能の一例を示すブロック図である。 外径加工用工具の工具オフセット値の一例について説明する図である。 ミリング工具の工具オフセット値の一例について説明する図である。 外径加工用工具の工具オフセット値の調整について説明する図である。 外径加工用工具の工具オフセット値の調整について説明する図である。 表示部が表示装置に表示させる表示画面の一例を示す図である。 内径加工用工具の工具オフセット値の一例を示す図である。 内径加工用工具の工具オフセット値の調整について説明する図である。 内径加工用工具の工具オフセット値の調整について説明する図である。 内径加工用工具の工具オフセット値を表示する表示画面の一例を示す図である。 外径加工用工具、および内径加工用工具の工具オフセット値を表示する表示画面の一例を示す図である。 仮想刃先番号を説明する図である。 各仮想刃先番号に対応する工具の具体例を示す図である。 各仮想刃先番号に対応する工具の具体例を示す図である。 各仮想刃先番号に対応する工具の具体例を示す図である。 各仮想刃先番号に対応する工具の具体例を示す図である。 取得部を備えた制御装置の機能の一例を示すブロック図である。 加工プログラムの一例を示す図である。 調整値記憶部が複数の調整値を記憶する場合の表示画面の一例を示す図である。 オフセット値記憶部が調整値適用情報を記憶する場合の表示画面の一例を示す図である。 1つの工具オフセット値に対し複数の調整値が適用される場合の表示画面の一例を示す図である。 オフセット値記憶部が調整値適用情報と刃先情報とを記憶する場合の表示画面の一例を示す図である。
 以下、本発明の一実施形態について図面を用いて説明する。なお、以下の実施形態で説明する特徴の組合わせのすべてが課題解決に必ずしも必要であるとは限らない。また、必要以上の詳細な説明を省略する場合がある。また、以下の実施形態の説明、および図面は、当業者が本発明を十分に理解するために提供されるものであり、特許請求の範囲を限定することを意図していない。
 図1は、工作機械のハードウェア構成の一例を説明する図である。工作機械1は、工具を用いてワークの加工を行う機械である。工作機械1は、バイト、エンドミル、ドリルなどの工具を用いてワークの切削加工を行う。工作機械1は、例えば、旋盤、マシニングセンタ、複合加工機である。
 工作機械1は、制御装置2と、表示装置3と、入力装置4と、サーボアンプ5およびサーボモータ6と、スピンドルアンプ7およびスピンドルモータ8と、ツールプリセッタ9と、周辺機器10とを備える。
 制御装置2は、工作機械1の全体を制御する装置である。制御装置2は、例えば、数値制御装置である。
 制御装置2は、CPU(Central Processing Unit)201と、バス202と、ROM(Read Only Memory)203と、RAM(Random Access Memory)204と、不揮発性メモリ205とを備えている。
 CPU201は、システムプログラムに従って制御装置2の全体を制御するプロセッサである。CPU201は、バス202を介してROM203に格納されたシステムプログラムなどを読み出す。また、CPU201は、加工プログラムに従って、サーボモータ6およびスピンドルモータ8などを制御し、ワークの加工を行う。
 バス202は、制御装置2内の各ハードウェアを互いに接続する通信路である。制御装置2内の各ハードウェアはバス202を介してデータをやり取りする。
 ROM203は、例えば、制御装置2全体を制御するためのシステムプログラム、および各種データを解析するための解析プログラムを記憶する記憶装置である。
 RAM204は、各種データを一時的に記憶する記憶装置である。RAM204は、加工プログラムを解析して算出される工具経路に関するデータ、表示用のデータ、外部から入力されるデータなどを一時的に記憶する。RAM204は、CPU201が各種データを処理するための作業領域として機能する。
 不揮発性メモリ205は、工作機械1の電源が切られ、制御装置2に電源が供給されていない状態でもデータを保持する記憶装置である。不揮発性メモリ205は、例えば、SSD(Solid State Drive)で構成される。不揮発性メモリ205は、例えば、入力装置4から入力された工具の仕様に関する工具情報、工具オフセット値、工具寿命を示す情報、および、加工プログラムを記憶する。
 制御装置2は、さらに、第1のインタフェース206と、第2のインタフェース207と、軸制御回路208と、スピンドル制御回路209と、第3のインタフェース210と、PLC(Programmable Logic Controller)211と、I/Oユニット212とを備えている。
 第1のインタフェース206は、バス202と表示装置3とを接続するインタフェースである。第1のインタフェース206は、例えば、CPU201が処理した各種データを表示装置3に送る。
 表示装置3は、第1のインタフェース206を介して各種データを受け、各種データを表示する装置である。表示装置3は、例えば、不揮発性メモリ205に記憶された加工プログラム、工具オフセット値などを表示する。表示装置3は、LCD(Liquid Crystal Display)などのディスプレイである。
 第2のインタフェース207は、バス202と入力装置4とを接続するインタフェースである。第2のインタフェース207は、例えば、入力装置4から入力されたデータをバス202を介してCPU201に送る。
 入力装置4は、各種データを入力するための装置である。入力装置4は、例えば、工具オフセット値、および工具情報の入力を受け、入力されたデータを第2のインタフェース207を介して不揮発性メモリ205に送る。入力装置4は、例えば、キーボード、およびマウスである。なお、入力装置4と表示装置3とは、例えば、タッチパネルのように1つの装置として構成されてもよい。
 軸制御回路208は、サーボモータ6を制御する制御回路である。軸制御回路208は、CPU201からの制御指令を受けてサーボモータ6を駆動させるための指令をサーボアンプ5に出力する。軸制御回路208は、例えば、サーボモータ6のトルクを制御するトルクコマンドをサーボアンプ5に送る。
 サーボアンプ5は、軸制御回路208からの指令を受けて、サーボモータ6に電力を供給する。
 サーボモータ6は、サーボアンプ5から電力の供給を受けて駆動するモータである。サーボモータ6は、例えば、刃物台、主軸頭、テーブルを移動させるボールねじに連結される。サーボモータ6が駆動することにより、刃物台、主軸頭、テーブルなどの工作機械1の構成要素は、例えば、X軸方向、Y軸方向、またはZ軸方向に移動する。
 スピンドル制御回路209は、スピンドルモータ8を制御するための制御回路である。スピンドル制御回路209は、CPU201からの制御指令を受けてスピンドルモータ8を駆動させるための指令をスピンドルアンプ7に出力する。スピンドル制御回路209は、例えば、スピンドルモータ8のトルクを制御するトルクコマンドをスピンドルアンプ7に送る。
 スピンドルアンプ7は、スピンドル制御回路209からの指令を受けて、スピンドルモータ8に電力を供給する。
 スピンドルモータ8は、スピンドルアンプ7から電力の供給を受けて駆動するモータである。スピンドルモータ8は、主軸に連結され、主軸を回転させる。
 第3のインタフェース210は、バス202とツールプリセッタ9とを接続するインタフェースである。第3のインタフェース210は、ツールプリセッタ9によって検出された工具オフセット値をバス202を介して不揮発性メモリに送る。
 ツールプリセッタ9は、工作機械1の内部に配置され、複数の工具の工具オフセット値を検出する装置である。ツールプリセッタ9は接触センサを備える。また、工具が取り付けられる主軸にはあらかじめ工具オフセット値を検出するための基準となる基準点が設定される。ツールプリセッタ9は、工具が接触センサに接触したタイミングにおける基準点の位置に基づいて工具オフセット値を検出する。ツールプリセッタ9は、検出した工具オフセット値をRAM204に送る。
 PLC211は、ラダープログラムを実行して周辺機器10を制御する。PLC211は、I/Oユニット212を介して周辺機器10を制御する。
 I/Oユニット212は、PLC211と周辺機器10とを接続するインタフェースである。I/Oユニット212は、PLC211から受けた指令を周辺機器10に送る。
 周辺機器10は、工作機械1に設置され、工作機械1がワークの加工を行う際の補助的な動作を行う装置である。周辺機器10は、工作機械1の周辺に設置される装置であってもよい。周辺機器10は、例えば、工具交換装置、およびマニピュレータなどのロボットである。
 次に、制御装置2の機能の一例について説明する。
 図2は、制御装置2の機能の一例を示すブロック図である。制御装置2は、例えば、入力受付部221と、オフセット値記憶部222と、調整値記憶部223と、表示部224と、算出部225と、制御部226とを備えている。
 入力受付部221、表示部224、算出部225、制御部226は、例えば、CPU201がROM203に記憶されているシステムプログラム、制御プログラム、および各種データを用いて、RAM204を作業領域として演算処理することにより実現される。
 また、オフセット値記憶部、および調整値記憶部223は、例えば、入力装置4、およびツールプリセッタ9から入力されたデータ、またはCPU201における演算処理の処理結果がRAM204、または不揮発性メモリ205に記憶されることにより実現される。
 入力受付部221は、ツールプリセッタ9から、加工に用いられる複数の工具の工具オフセット値の入力を受ける。
 工具オフセット値とは、基準点から工具刃先までの距離を示すデータである。工作機械1が、旋盤をベースとした複合加工機、あるいは、マシニングセンタである場合、工具オフセット値は、工具が取り付けられる主軸の基準点から工具刃先までの距離を示すデータである。各工具に対して工具オフセット値を設定することにより、使用工具に関わらず、加工プログラムにおいてワーク座標系での座標値を用いて加工形状を指定することができる。
 図3は、外径加工用工具の工具オフセット値の一例を示す図である。外径加工用工具Toは、例えば、バイトである。基準点Cは、例えば、主軸端の中心に設定される。工具オフセット値は、例えば、X軸方向、およびZ軸方向の工具オフセット値Ox、Ozを含む。図3に示すとおり、X軸方向の工具オフセット値Oxは、基準点Cから刃先までのX軸方向の距離を示す値である。Z軸方向の工具オフセット値Ozは、基準点Cから刃先までのZ軸方向の距離を示す値である。
 外径加工用工具Toが主軸に取り付けられた場合、基準点Cは工具の刃先に対しX軸の+方向、およびZ軸の+方向に位置する。この場合、X軸方向の工具オフセット値Ox、およびZ軸方向の工具オフセット値Ozは、それぞれ、正の値となる。
 図4は、ミリング工具の工具オフセット値の一例を示す図である。ミリング工具Tmは、例えば、エンドミル、フライスである。基準点Cは、例えば、主軸端の中心である。工具オフセット値は、例えば、工具長補正Olを示す値、および工具径補正Odを示す値を含む。工具長補正Olの値は、基準点Cからミリング工具Tmの先端までの距離を示す値である。工具径補正Odの値は、基準点Cからミリング工具Tmの外周までの距離を示す値である。つまり、工具径補正Odの値は、ミリング工具Tmの半径を示す値である。
 ミリング工具Tmが主軸に取り付けられた場合、基準点Cは工具の先端に対しX軸の+方向に位置する。この場合、工具長補正Olの値は正の値となる。また、工具径補正Odの値は、常に正の値である。
 ここで、図2に戻り、制御装置2の機能の説明を続ける。
 オフセット値記憶部222は、複数の工具にそれぞれ対応付けられた複数の工具オフセット値を記憶する。オフセット値記憶部222は、入力受付部221によって受け付けられた工具オフセット値を各々の工具に対応付けて記憶する。オフセット値記憶部222は、例えば、各工具の工具番号に対応付けて、各工具のX軸方向、およびZ軸方向の工具オフセット値Ox、Ozを記憶する。
 入力受付部221は、また、入力装置4から複数の工具オフセット値の調整に用いられる調整値の入力を受け付ける。調整値とは、複数の工具オフセット値を一括して調整するために用いられる数値情報である。ここで、工具オフセット値の調整について説明する。
 図5A、および図5Bは、外径加工用工具Toの工具オフセット値の調整について説明する図である。図5Aに示す円柱形状のワークWの外径を切削して図5Bに示す形状の製品を製造する場合、試し加工では、オフセット値記憶部222に記憶された外径荒加工用工具の工具オフセット値と外径仕上げ加工用工具の工具オフセット値がそれぞれ調整される。ここで、試し加工とは、複数の同一形状のワークが連続して加工される際の、最初のワークの加工を意味する。あるいは、加工プログラムが読み出された後の最初のワークの加工を意味する。
 外径荒加工用工具の工具オフセット値の調整において、例えば、X軸方向の工具オフセット値Ox、およびZ軸方向の工具オフセット値Ozに対し、0.2[mm]の調整値Avがそれぞれ加算される。同様に、外径仕上げ加工用工具のX軸方向の工具オフセット値Ox、およびZ軸方向の工具オフセット値Ozに対し、0.2[mm]の調整値Avがそれぞれ加算される。
 これにより、試し加工では、外径寸法、および長手方向の寸法が調整値Avの分だけ大きくなるように加工される。試し加工が完了すると、外径寸法、長手方向の寸法が測定され、その後の加工でワークWが設計寸法に加工されるように調整値Avが修正される。
 例えば、調整値Avが加算された工具オフセット値を用いて加工されたワークWの外径寸法が設計寸法よりも0.21[mm]だけ大きい場合、外径荒加工用工具のX軸方向の工具オフセット値Ox、および外径仕上げ加工用工具のX軸方向の工具オフセット値Oxから、それぞれ0.21[mm]だけ減算した値を用いて加工を行う必要がある。
 また、ワークWの長手方向の寸法が設計寸法よりも0.19[mm]だけ大きく加工された場合、外径荒加工用工具のZ軸方向の工具オフセット値Oz、および外径仕上げ加工用工具のZ軸方向の工具オフセット値Ozから、それぞれ0.19[mm]だけ減算した値を用いて加工を行う必要がある。このような、工具オフセット値の調整を行うことにより、ワークを設計寸法に加工することができる。
 入力受付部221は、例えば、外径荒加工用工具、および外径仕上げ加工用工具のX軸方向の工具オフセット値Oxを一括して調整するために用いられる調整値Avの入力を受け付ける。また、入力受付部221は、外径荒加工用工具、および外径仕上げ加工用工具のZ軸方向の工具オフセット値Ozを一括して調整するために用いられる調整値Avの入力を受け付ける。
 また、入力受付部221は、内径荒加工用工具、および内径仕上げ加工用工具のX軸方向の工具オフセット値Oxを一括して調整するために用いられる調整値Avの入力を受け付けてもよい。また、入力受付部221は、内径荒加工用工具、および内径仕上げ加工用工具のZ軸方向の工具オフセット値Ozを一括して調整するために用いられる調整値Avの入力を受け付けてもよい。
 ここで、図2に戻り、制御装置2の機能の説明を続ける。
 調整値記憶部223は、入力受付部221によって受け付けられ、複数の工具オフセット値の調整に用いられる調整値Avを記憶する。
 表示部224は、オフセット値記憶部222に記憶された複数の工具の工具オフセット値、および調整値記憶部223に記憶された調整値Avを表示装置3に表示させる。
 図6は、表示部224が表示装置3に表示させる表示画面の一例を示す図である。表示画面には、各工具の工具番号、工具情報、X軸方向の工具オフセット値Ox、および摩耗量、ならびに、Z軸方向の工具オフセット値Oz、および摩耗量が表示される。また、工具番号「1」の工具に関する情報が表示される行の上の行には、X軸方向の調整値Av、およびZ軸方向の調整値Avが表示される。
 ここで、図2に戻り、制御装置2の機能の説明を続ける。
 算出部225は、調整値Avを用いて複数の工具オフセット値を調整した複数の調整オフセット値を算出する。
 図6に示す例では、算出部225は、外径荒加工用工具のX軸方向の工具オフセット値Ox「3.200」に調整値Av「0.200」を加算し、調整オフセット値「3.400」を算出する。同様に、Z軸方向の工具オフセット値Oz「2.500」に調整値Av「0.200」を加算し、調整オフセット値「2.700」を算出する。
 また、算出部225は、外径仕上げ加工用工具のX軸方向の工具オフセット値Ox「4.500」に調整値Av「0.200」を加算し、調整オフセット値「4.700」を算出する。同様にZ軸方向の工具オフセット値Oz「3.500」に調整値Av「0.200」を加算し、調整オフセット値「3.700」を算出する。
 算出部によって算出された調整オフセット値は、例えば、調整オフセット値記憶部(不図示)などの記憶部に記憶されるようにしてもよい。
 ここで、図2に戻り、制御装置2の機能の説明を続ける。
 制御部226は、例えば、サーボモータ6、およびスピンドルモータ8を制御し、ワークの切削加工を行う。制御部226は、加工プログラムを解析し、ワークWの加工時に工具が移動する移動経路、工具の送り速度、および、主軸の回転速度を算出する。制御部226は、算出した回転速度で主軸を回転させ、算出した工具経路に沿って、算出した送り速度で工具が移動するようにサーボモータ6を制御する。これにより、ワークWの加工が行われる。このとき、制御部226は、算出部225によって算出された調整オフセット値に基づいて工具の位置制御を行う。
 以上説明したように、本実施形態にかかる制御装置2は、複数の工具にそれぞれ対応付けられた複数の工具オフセット値を記憶するオフセット値記憶部222と、複数の工具オフセット値の調整に用いられる調整値Avを記憶する調整値記憶部223と、調整値Avを用いて複数の工具オフセット値を調整した複数の調整オフセット値を算出する算出部225と、を備える。
 そのため、作業者は、複数の工具オフセット値を調整する際に、複数の調整値Avを入力する必要がない。つまり、複数の工具オフセット値を一括して調整するための1つの調整値Avを入力すればよい。その結果、作業者の作業時間が削減され、工場における生産性を向上させることができる。
 なお、上述した実施形態では、制御装置2は工作機械1に設けられる。しかし、制御装置2は、例えば、工作機械1とは離れた場所に設置された管理サーバに設けられてもよい。
 上述した実施形態は、外径加工用工具Toで外径旋削が行われる場合の例であるが、以下では、内径加工用工具を用いて内径旋削が行われる場合の例について説明する。
 図7は、内径加工用工具の工具オフセット値の一例を示す図である。基準点Cは、例えば、主軸端の中心である。工具オフセット値は、例えば、X軸方向、およびZ軸方向の工具オフセット値Ox、Ozを含む。図7に示すとおり、X軸方向の工具オフセット値Oxは、基準点Cから刃先までのX軸方向の距離を示す値である。また、Z軸方向の工具オフセット値Ozは、基準点Cから刃先までのZ軸方向の距離を示す値である。
 図7に示す内径加工用工具Tiが主軸に取り付けられた場合、基準点Cは工具の刃先に対しX軸の-方向、およびZ軸の+方向に位置する。この場合、X軸方向の工具オフセット値Oxは負の値となり、Z軸方向の工具オフセット値Ozは正の値となる。
 図8A、および図8Bは、内径加工用工具Tiの工具オフセット値の調整について説明する図である。図8Aに示す円筒形状のワークの内径を切削して図8Bに示す形状の製品を製造する場合、試し加工では、オフセット値記憶部222に記憶された内径荒加工用工具の工具オフセット値と内径仕上げ加工用工具の工具オフセット値とがそれぞれ調整される。
 例えば、内径荒加工用工具のX軸方向の工具オフセット値Oxから0.2[mm]の調整値Avが減算され、Z軸方向の工具オフセット値Ozに対し0.2[mm]の調整値Avが加算される。同様に、内径仕上げ加工用工具のX軸方向の工具オフセット値Oxから0.2[mm]の調整値Avが減算され、Z軸方向の工具オフセット値Ozに対し0.2[mm]の調整値Avが加算される。
 これにより、試し加工では、内径寸法が調整値Avの分だけ小さくなるように加工され、長手方向の寸法が調整値Avの分だけ大きくなるように加工される。試し加工が完了すると、内径寸法、長手方向の寸法などが測定され、その後の加工でワークWが設計寸法に加工されるように調整値Avが修正される。
 図9は、内径加工用工具Tiの工具オフセット値を表示する表示画面の一例を示す図である。図9に示す例では、調整値記憶部223は、X軸方向の工具オフセット値Oxを調整するための調整値Avとして-0.200[mm]、Z軸方向の工具オフセット値Ozを調整するための調整値Avとして0.200[mm]を記憶している。
 算出部225は、内径荒加工用工具のX軸方向の工具オフセット値Oxに対し-0.200[mm]の調整値Avを加算して調整オフセット値を算出する。また、算出部225は、内径荒加工用工具のZ軸方向の工具オフセット値Ozに対し0.200[mm]の調整値Avを加算して調整オフセット値を算出する。
 同様に、算出部225は、内径仕上げ加工用工具のX軸方向の工具オフセット値Oxに対し-0.200[mm]の調整値Avを加算して調整オフセット値を算出する。また、算出部225は、内径仕上げ加工用工具のZ軸方向の工具オフセット値Ozに対し0.200[mm]の調整値Avを加算して調整オフセット値を算出する。
 これにより、試し加工では、内径寸法が調整値Avの分だけ小さく、長手方向の寸法が調整値Avの分だけ大きくなるように加工される。試し加工が実行されると、内径寸法、長手方向の寸法が測定され、測定値に合わせて調整値Avが修正される。その結果、試し加工が行われているワーク、およびその後連続して加工されるワークを設計寸法に加工することができる。
 上述した実施形態では、調整値記憶部223に記憶された調整値Avは算出部225によって複数の工具オフセット値に加算される。しかし、算出部225は、複数の工具に対応付けて記憶された複数の工具オフセット値に基づいて、調整値Avを複数の工具オフセット値にそれぞれ加算して、あるいは複数の工具オフセット値から減算して複数の調整オフセット値を算出してもよい。
 例えば、X軸方向の工具オフセット値が正の値である場合、この工具は、外径加工用工具Toである。したがって、算出部225は、X軸方向の工具オフセット値に対し調整値Avを加算する。
 一方、X軸方向の工具オフセット値が負の値である場合、この工具は、内径加工用工具Tiである。したがって、算出部225は、X軸方向の工具オフセット値から調整値Avを減算する。
 図10は、外径加工用工具To、および内径加工用工具Tiの工具オフセット値を表示する表示画面の一例を示す図である。図10に示す例では、外径荒加工用工具、および外径仕上げ加工用工具のX軸方向の工具オフセット値Oxは正の値である。したがって、算出部225は、外径荒加工用工具、および外径仕上げ加工用工具のX軸方向の工具オフセット値Oxに対し、調整値Avを加算する。一方、内径荒加工用工具、および内径仕上げ加工用工具のX軸方向の工具オフセット値Oxは、負の値である。したがって、算出部225は、内径荒加工用工具、および内径仕上げ加工用工具のX軸方向の工具オフセット値Oxから調整値Avを減算する。
 また、外径荒加工用工具、外径仕上げ加工用工具、内径荒加工用工具、および内径仕上げ加工用工具のZ軸方向の工具オフセット値Ozは、正の値である。したがって、算出部225は、各工具のZ軸方向の工具オフセット値Ozに対し調整値Avを加算する。これにより、外径加工、および内径加工の両方の加工が行なわれる場合であっても、作業者は、X軸方向、およびZ軸方向のそれぞれの工具オフセット値を調整するために用いられる調整値Avをそれぞれ1つ入力すればよい。その結果、作業者の作業時間が削減され、工場における生産性を向上させることができる。
 なお、算出部225は、複数の工具にそれぞれ対応付けて記憶された工具情報に基づいて、調整値Avを複数の工具オフセット値に加算するか、あるいは複数の工具オフセット値から減算して複数の調整オフセット値を算出してもよい。ここで、工具情報とは、複数の工具のそれぞれの名称、または種類を示す情報である。工具の名称とは、例えば、各工具の製品名、型番である。また、工具の種類は、外径荒加工用工具、外径仕上げ加工用工具、内径荒加工用工具、内径仕上げ加工用工具、ミリング工具、ドリルを含む。
 算出部225は、複数の工具のそれぞれの名称、または種類を示す情報を参照して、調整値Avを各工具の工具オフセット値に加算するか、あるいは各工具の工具オフセット値から減算するかを判断して調整オフセット値を算出する。
 また、工具情報には、複数の工具のそれぞれの刃先が向く方向を示す刃先情報を含んでいてもよい。刃先情報は、例えば、仮想刃先番号である。仮想刃先番号とは、刃先Rが形成された工具において、刃先Rが形成されていないと仮定した場合の刃先位置を示す番号である。刃先情報は、例えば、入力装置4から作業者によって入力される。刃先情報は、例えば、ツールプリセッタ9によって取得され、ツールプリセッタ9から入力されても良い。
 図11は、仮想刃先番号を説明する図である。図12A~図12Dは、各仮想刃先番号に対応する工具の具体例を示す図である。図11に示す各円は、縦軸、および横軸の交点が刃先位置であると仮定した場合の工具の位置を示している。例えば、図11の工具刃先番号P=3の工具は、図12Aに示す外径加工用工具Toである。また、工具刃先番号P=4の工具は、例えば、図12Bに示す外径加工用工具Toである。また、工具刃先番号P=2の工具は、例えば、図12Cに示す内径加工用工具Tiである。また、工具刃先番号P=1の工具は、例えば、図12Dに示す内径加工用工具Tiである。また、工具刃先番号P=0の工具は、例えば、エンドミルなどのミリング工具である。
 算出部225は、このような刃先情報を用いて、調整値Avを各工具の工具オフセット値に加算するか、あるいは各工具の工具オフセット値から減算するかを判断して調整オフセット値を算出する。これにより、外径加工、内径加工などの複数の加工が行われる場合であっても、作業者は、X軸方向、およびZ軸方向のそれぞれの工具オフセット値を調整するために用いられる調整値Avをそれぞれ1つ入力すればよい。その結果、作業者の作業時間が削減され、工場における生産性を向上させることができる。
 制御装置2は、加工プログラムから複数の工具のそれぞれの切込方向を示す切込方向情報を取得する取得部を、さらに備えていてもよい。この場合、算出部225は、切込方向情報に基づいて調整値Avを複数の工具オフセット値にそれぞれ加算して、あるいは複数の工具オフセット値から減算して複数の調整オフセット値を算出してもよい。
 図13は、取得部を備えた制御装置2の機能を示すブロック図である。取得部227は、例えば、CPU201がROM203に記憶されているシステムプログラム、制御プログラム、および各種データを用いて、RAM204を作業領域として演算処理することにより実現される。
 取得部227は、加工プログラムから複数の工具のそれぞれの切込方向を示す切込方向情報を取得する。例えば、取得部227は、加工プログラム中の荒加工サイクルに用いられる工具切り込み方向を示す切込方向情報を取得する。
 図14は、加工プログラムの一例を示す図である。図14に示される加工プログラムは、荒加工サイクル指令「G71」を用いてワークの荒加工を実行する加工プログラムである。加工プログラム中、シーケンス番号「N12」に記載された「G00X100.0Z2.0」により、工具が加工開始位置「X100.0Z2.0」に位置決めされる。また、シーケンス番号「N13」に記載された荒加工サイクル指令「G71U4.0R1.0」により荒加工時の切込量4.0[mm]、および逃げ量1.0[mm]が指令される。
 また、シーケンス番号「N14」に記載された荒加工サイクル指令「G71P15Q18U0.2W0.2F0.25S500」により仕上げ形状を規定する最初のシーケンス番号「N15」、仕上げ形状を規定する最後のシーケンス番号「N18」、X軸方向の仕上げ代0.2[mm]、Z軸方向の仕上げ代0.2[mm]、送り速度0.25[mm/rev]、回転数500[rpm]が指令される。また、シーケンス番号N15~N18では、ワークの仕上げ形状が指令されている。
 ここで、シーケンス番号N12で位置決めされるX軸方向の位置「X100.0」に対するワークの外径の仕上げ寸法は、「X50.0」、「X60.0」、または「X82.0」である。つまり、荒加工サイクル指令では、加工開始位置「X100.0Z2.0」から、「-X軸方向」、および「-Z軸方向」に切込みが行われる。すなわち、取得部227は、荒加工サイクル指令「G71」による工具の切り込み方向を示す切込方向情報「-X,-Z」を取得する。
 算出部225は、取得部227によって取得された切り込み方向情報「-X,-Z」に基づいてX軸方向の工具オフセット値Ox、およびZ軸方向の工具オフセット値Ozに対し調整値Avを加算して調整オフセット値を算出する。
 したがって、外径加工、および内径加工の両方の加工が行なわれる場合であっても、作業者は、X軸方向、およびZ軸方向のそれぞれの工具オフセット値を調整するために用いられる調整値Avをそれぞれ1つ入力すればよい。その結果、作業者の作業時間が削減され、工場における生産性を向上させることができる。
 上述した実施形態では、調整値記憶部223は、X軸方向の工具オフセット値を調整する調整値Av、およびZ軸方向工具オフセット値を調整する調整値Avをそれぞれ1つ記憶する。しかし、調整値記憶部223は、X軸方向、およびZ軸方向のそれぞれに関連付けて複数の調整値Avを記憶してもよい。すなわち、調整値Avは、複数の工具オフセット値のうちの少なくとも1つの工具オフセット値を調整する第1の調整値と、複数の工具オフセット値のうちの他の少なくとも1つの工具オフセット値を調整する第2の調整値とを含んでいてもよい。
 図15は、調整値記憶部223が複数の調整値Avを記憶する場合の表示画面の一例を示す図である。図15に示す例では、調整値記憶部223は、第1の調整値、および第2の調整値を記憶する。算出部225は、第1の調整値、または第2の調整値を用いて各工具の調整オフセット値を算出する。
 算出部225は、例えば、各工具に関連付けて記憶された工具オフセット値に基づいて、工具オフセット値に第1の調整値を加算するか、あるいは第2の調整値を加算するかを判断して調整オフセット値を算出する。工具オフセット値が正の値である場合、算出部225は、正の値を示す第1の調整値を工具オフセット値に加算する。また、工具オフセット値が負の値である場合、算出部225は、負の値を示す第2の調整値を工具オフセット値に加算する。
 例えば、外径荒加工用工具、および外径仕上げ加工用工具のX軸方向の工具オフセット値Oxは、正の値である。したがって、算出部225は、外径荒加工用工具、および外径仕上げ加工用工具のX軸方向の工具オフセット値Oxに対して、正の値を示す第1の調整値Av1をそれぞれ加算して調整オフセット値を算出する。
 また、内径荒加工用工具、および内径仕上げ加工用工具のX軸方向の工具オフセット値Oxは、負の値である。したがって、算出部225は、内径荒加工用工具、および内径仕上げ加工用工具のX軸方向の工具オフセット値Oxに対して、負の値を示す第2の調整値をそれぞれ加算して調整オフセット値を算出する。
 これにより、オフセット値記憶部222が複数の外径加工用工具Toの工具オフセット値を記憶している場合であっても、作業者は、複数の外径加工用工具Toの工具オフセット値を調整するための1つの調整値Avを入力すればよい。さらに、オフセット値記憶部222が複数の内径加工用工具Tiの工具オフセット値を記憶している場合であっても、作業者は、複数の内径加工用工具Tiの工具オフセット値を調整するための1つの調整値Avを入力すればよい。その結果、作業者の作業時間が削減され、工場における生産性を向上させることができる。
 また、算出部225は、工具の名称、または種類を示す情報に基づいて、各工具の工具オフセット値に第1の調整値を加算するか、あるいは第2の調整値Av2を加算するかを判断して調整オフセット値を算出してもよい。また、算出部225は、各工具の刃先情報に基づいて、各工具の工具オフセット値に第1の調整値を加算するか、あるいは第2の調整値を加算するかを判断して調整オフセット値を算出してもよい。また、算出部225は、取得部227によって取得された切込方向情報に基づいて、各工具の工具オフセット値に第1の調整値を加算するか、あるいは第2の調整値を加算するかを判断して調整オフセット値を算出してもよい。
 オフセット値記憶部222は、複数の工具の工具情報に関連付けて、調整値適用情報をさらに記憶してもよい。調整値適用情報とは、各工具の工具オフセット値が複数の調整値Avのうちのいずれの調整値Avによって調整されるか示す情報である。
 図16は、オフセット値記憶部222が調整値適用情報を記憶している場合の表示画面の一例を示す図である。表示画面には、工具情報が表示される列とX軸方向の工具オフセット値Oxが表示される列との間に、調整値適用情報として適用番号が表示される。
 第1の調整値、および第2の調整値には、それぞれ番号「1」、および番号「2」が付される。また、各工具の工具オフセット値には、各工具オフセット値が第1の調整値、および第2の調整値のうちいずれの調整値によって調整されるかを示す番号「1」、または番号「2」が関連付けて記憶される。つまり、各工具の工具オフセット値に関連付けて記憶された番号「1」、または番号「2」に基づいて、算出部225は、各工具の工具オフセット値に、第1の調整値、または第2の調整値のいずれの調整値Avを加算するかを判断する。
 これにより、オフセット値記憶部222が複数の外径加工用工具Toの工具オフセット値を記憶している場合であっても、作業者は、複数の外径加工用工具Toの工具オフセット値を調整するための1つの調整値Avを入力すればよい。さらに、オフセット値記憶部222が複数の内径加工用工具Tiの工具オフセット値を記憶している場合であっても、作業者は、複数の内径加工用工具Tiの工具オフセット値を調整するための1つの調整値Avを入力すればよい。その結果、作業者の作業時間が削減され、工場における生産性を向上させることができる。
 なお、図16に示す例では、2つの調整値Avが表示されているが、調整値記憶部223が3つ以上の調整値を記憶し、3つ以上の調整値が表示画面に表示されるようにしてもよい。
 また、1つの工具オフセット値に対し、複数の調整値Avが適用されるようにしてもよい。例えば、図17に示すように、第1の調整値、および第2の調整値がともに外径荒加工用工具、および外径仕上げ加工用工具に加算されるようにしてもよい。この場合、作業者は、第1回目の切削時に、第1の調整値を0.200[mm]、第2の調整値を0.000[mm]に設定する。そして、外径寸法を測定した後、外径寸法が0.050[mm]だけ設計寸法よりも大きい場合、作業者は、第2の調整値を-0.050[mm]に設定する。つまり、第1の調整値を、最初の加工時に用いる調整値として利用し、第2の調整値を第1の調整値を調整する調整値として利用することができる。
 また、オフセット値記憶部222は、各工具の工具オフセット値に関連付けて調整値適用情報と刃先情報とを記憶してもよい。この場合、算出部225は、調整値適用情報に基づいて、第1の調整値、または第2の調整値のいずれの調整値Avを用いて各工具オフセット値を調整するかを判断する。さらに、算出部225は、刃先情報に基づいて、各工具オフセット値に第1の調整値または第2の調整値を加算するか、あるいは各工具オフセット値から第1の調整値または第2の調整値を減算するかを判断し、調整オフセット値を算出する。
 図18は、オフセット値記憶部222が各工具の工具オフセット値に調整値適用情報と刃先情報とを関連付けて記憶する場合の表示画面の一例を示す図である。図18に示す例では、調整値記憶部223は、第1の調整値、および第2の調整値にそれぞれ関連付けて、番号「1」、および番号「2」を記憶している。
 また、オフセット値記憶部222は各工具の工具オフセット値に関連付けて、工具オフセット値が第1の調整値、または第2の調整値のいずれの調整値Avを用いて調整されるかを示す調整値適用情報を記憶している。さらに、オフセット値記憶部222は、各工具の工具オフセット値に関連付けて、工具の向きを示す刃先情報を記憶している。
 算出部225は、各工具の工具情報に関連付けて記憶されている調整値適用情報、および刃先情報に基づいて各工具の工具オフセット値に第1の調整値、または第2の調整値を加算するか、あるいは各工具の工具オフセット値から第1の調整値、または第2の調整値を減算する。
 図18に示す例では、外径荒加工用工具、外径仕上げ加工用工具、内径荒加工用工具、および内径仕上げ加工用工具には調整値適用情報「1」が関連付けて記憶されている。したがって、外径荒加工用工具、外径仕上げ加工用工具、内径荒加工用工具、および内径仕上げ加工用工具の工具オフセット値に対し第1の調整値が加算されるか、あるいは工具オフセット値から第1の調整値が減算される。
 また、外径荒加工用工具、および外径仕上げ加工用工具には、刃先情報「3」が関連付けて記憶されている。そのため、外径荒加工用工具と外径仕上げ加工用工具のX軸方向の工具オフセット値には、0.200[mm]の第1の調整値が加算される。また、内径荒加工用工具、および内径仕上げ加工用工具には、刃先情報「2」が関連付けて記憶されている。そのため、内径荒加工用工具、および内径仕上げ加工用工具のX軸方向の工具オフセット値から0.200[mm]の第1の調整オフセット値が減算される。
 荒加工用エンドミル、および仕上げ加工用エンドミルには、調整値適用情情報「2」がそれぞれ関連付けて記憶されている。したがって、荒加工用エンドミル、および仕上げ加工用エンドミルの工具径補正に対し、それぞれ、0.200[mm]の第2の調整値が加算される。なお、工具がミリング工具などの回転工具である場合、X軸方向の工具オフセット値の欄に表示されている工具オフセット値が工具径補正、Z軸方向の工具オフセット値の欄に表示されている工具オフセット値が工具長補正である。
 したがって、旋削加工とミリングとのそれぞれの加工用工具を用いて加工が行われる場合であっても、作業者は、旋削加工とミリングとに用いられる工具の工具オフセット値を調整する調整値をそれぞれ1つ入力すればよい。その結果、作業者の作業時間が削減され、工場における生産性を向上させることができる。
  1    工作機械
  2    制御装置
  3    表示装置
  4    入力装置
  5    サーボアンプ
  6    サーボモータ
  7    スピンドルアンプ
  8    スピンドルモータ
  9    ツールプリセッタ
  10   周辺機器
  201  CPU
  202  バス
  203  ROM
  204  RAM
  205  不揮発性メモリ
  206  第1のインタフェース
  207  第2のインタフェース
  208  軸制御回路
  209  スピンドル制御回路
  210  第3のインタフェース
  211  PLC
  212  I/Oユニット
  221  入力受付部
  222  オフセット値記憶部
  223  調整値記憶部
  224  表示部
  225  算出部
  226  制御部
  227  取得部
  Ox   X軸方向の工具オフセット値
  Oz   Z軸方向の工具オフセット値
  C    基準点
  To   外径加工用工具
  Tm   ミリング工具
  Ti   内径加工用工具
  W    ワーク
  Ol   工具長補正
  Od   工具径補正
  Av   調整値

Claims (8)

  1.  複数の工具にそれぞれ対応付けられた複数の工具オフセット値を記憶するオフセット値記憶部と、
     前記複数の工具オフセット値の調整に用いられる調整値を記憶する調整値記憶部と、
     前記調整値を用いて前記複数の工具オフセット値を調整した複数の調整オフセット値を算出する算出部と、
    を備える制御装置。
  2.  前記算出部は、前記複数の工具オフセット値に基づいて、前記調整値を前記複数の工具オフセット値に加算して、あるいは前記複数の工具オフセット値から減算して前記複数の調整オフセット値を算出する請求項1に記載の制御装置。
  3.  前記オフセット値記憶部は、前記複数の工具にそれぞれ対応付けられた複数の工具情報を、さらに記憶し、
     前記算出部は、前記複数の工具情報に基づいて、前記調整値を前記複数の工具オフセット値に加算して、あるいは前記複数の工具オフセット値から減算して前記複数の調整オフセット値を算出する請求項1に記載の制御装置。
  4.  前記複数の工具情報は、前記複数の工具のそれぞれの名称、または種類を示す情報である請求項3に記載の制御装置。
  5.  前記複数の工具情報は、前記複数の工具のそれぞれの刃先が向く方向を示す刃先情報である請求項3に記載の制御装置。
  6.  加工プログラムから前記複数の工具のそれぞれの切込方向を示す切込方向情報を取得する取得部を、さらに備え、
     前記算出部は、前記切込方向情報に基づいて前記調整値を前記複数の工具オフセット値に加算して、あるいは前記複数の工具オフセット値から減算して前記複数の調整オフセット値を算出する請求項1に記載の制御装置。
  7.  前記調整値は、前記複数の工具オフセット値のうちの少なくとも1つの工具オフセット値を調整する第1の調整値と、前記複数の工具オフセット値のうちの他の少なくとも1つの工具オフセット値を調整する第2の調整値とを含む請求項1~6のいずれか1項に記載の制御装置。
  8.  前記オフセット値記憶部は、前記第1の調整値、および前記第2の調整値のいずれの調整値に基づいて、前記複数の調整オフセット値が算出されるかを示す調整値適用情報をさらに記憶する請求項7に記載の制御装置。
PCT/JP2021/041693 2020-11-16 2021-11-12 制御装置 WO2022102738A1 (ja)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN202180075282.XA CN116457142A (zh) 2020-11-16 2021-11-12 控制装置
JP2022562196A JPWO2022102738A1 (ja) 2020-11-16 2021-11-12
US18/034,765 US20230408986A1 (en) 2020-11-16 2021-11-12 Controller
DE112021004765.5T DE112021004765T5 (de) 2020-11-16 2021-11-12 Steuervorrichtung

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2020190262 2020-11-16
JP2020-190262 2020-11-16

Publications (2)

Publication Number Publication Date
WO2022102738A1 true WO2022102738A1 (ja) 2022-05-19
WO2022102738A9 WO2022102738A9 (ja) 2023-05-04

Family

ID=81602359

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2021/041693 WO2022102738A1 (ja) 2020-11-16 2021-11-12 制御装置

Country Status (5)

Country Link
US (1) US20230408986A1 (ja)
JP (1) JPWO2022102738A1 (ja)
CN (1) CN116457142A (ja)
DE (1) DE112021004765T5 (ja)
WO (1) WO2022102738A1 (ja)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05138497A (ja) * 1991-11-14 1993-06-01 Fanuc Ltd 工具の摩耗補正方式
JPH0736514A (ja) * 1993-07-20 1995-02-07 Fanuc Ltd 3次元工具径補正方式
JP2002187003A (ja) * 2000-12-21 2002-07-02 Mori Seiki Co Ltd 切削工機の制御装置及びその表示方法

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003058216A (ja) 2001-08-09 2003-02-28 Fuji Mach Mfg Co Ltd 工具の摩耗補正の入力プログラム、入力装置、入力装置付きcnc工作機械

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05138497A (ja) * 1991-11-14 1993-06-01 Fanuc Ltd 工具の摩耗補正方式
JPH0736514A (ja) * 1993-07-20 1995-02-07 Fanuc Ltd 3次元工具径補正方式
JP2002187003A (ja) * 2000-12-21 2002-07-02 Mori Seiki Co Ltd 切削工機の制御装置及びその表示方法

Also Published As

Publication number Publication date
US20230408986A1 (en) 2023-12-21
CN116457142A (zh) 2023-07-18
JPWO2022102738A1 (ja) 2022-05-19
DE112021004765T5 (de) 2023-06-29
WO2022102738A9 (ja) 2023-05-04

Similar Documents

Publication Publication Date Title
US10788807B2 (en) Method for compensating milling cutter deflection
JP4676544B2 (ja) 工作機械に対してワークの供給及び取り出しを行うロボットを制御するロボット制御装置
EP2515190B1 (en) Numerical control machine tool
US4617635A (en) Numerical control machining system
JP5079165B2 (ja) 数値制御装置及び数値制御方法
KR100704050B1 (ko) 공구의 위치 설정오차 보정방법
CN112068484B (zh) 一种数控机床cnc系统的实时中断处理方法
US20030145678A9 (en) Control apparatus for cutting machine and method of indication
WO2022102738A1 (ja) 制御装置
KR102453367B1 (ko) 공작기계 및 공작기계의 제어방법
JPS62163109A (ja) 数値制御装置
WO2015029218A1 (ja) エアカット調整装置
JP2016038674A (ja) 工作機械の補正値演算方法及び補正値演算プログラム
JP7423030B2 (ja) 工具交換時自動補正機能を備えた工作機械
JPS6334049A (ja) 数値制御式横中ぐり盤における中ぐり軸伸び補正方法
WO2023012990A1 (ja) 数値制御装置
WO2022039142A1 (ja) 数値制御装置、工作機械、および工作機械の制御方法
WO2023228356A1 (ja) 数値制御装置およびコンピュータ読み取り可能な記憶媒体
JPH05177480A (ja) 自動工具交換装置を備えたマシニングセンタの制御装 置
KR20190096018A (ko) 공작기계의 축이동 보정장치 및 보정방법
WO2023162001A1 (ja) 加工面推定装置およびコンピュータ読み取り可能な記憶媒体
CN109884982B (zh) 数值控制装置
US20230280707A1 (en) Numerical controller, manufacturing machine, and method of controlling manufacturing machine
JP6919427B2 (ja) 工作機械、工作機械の制御方法、及び、工作機械の制御プログラム
KR20210108613A (ko) 공작기계의 공작물 절단 확인장치 및 확인방법

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

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2022562196

Country of ref document: JP

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 202180075282.X

Country of ref document: CN

122 Ep: pct application non-entry in european phase

Ref document number: 21891983

Country of ref document: EP

Kind code of ref document: A1