WO2012105028A1 - 数値制御装置 - Google Patents

数値制御装置 Download PDF

Info

Publication number
WO2012105028A1
WO2012105028A1 PCT/JP2011/052287 JP2011052287W WO2012105028A1 WO 2012105028 A1 WO2012105028 A1 WO 2012105028A1 JP 2011052287 W JP2011052287 W JP 2011052287W WO 2012105028 A1 WO2012105028 A1 WO 2012105028A1
Authority
WO
WIPO (PCT)
Prior art keywords
axis
command
virtual
workpiece
turret
Prior art date
Application number
PCT/JP2011/052287
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 三菱電機株式会社
Priority to US13/977,857 priority Critical patent/US9557728B2/en
Priority to JP2011525343A priority patent/JP5014515B1/ja
Priority to CN201180066661.9A priority patent/CN103370661B/zh
Priority to DE112011104832.7T priority patent/DE112011104832B4/de
Priority to PCT/JP2011/052287 priority patent/WO2012105028A1/ja
Priority to TW100117340A priority patent/TWI457736B/zh
Publication of WO2012105028A1 publication Critical patent/WO2012105028A1/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
    • 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/408Numerical 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 data handling or data format, e.g. reading, buffering or conversion of data
    • G05B19/4083Adapting programme, configuration
    • 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/36Nc in input of data, input key till input tape
    • G05B2219/36234Convert program for a 2-axis machine into program for 4-axis machine
    • 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/50249Tool, probe, pen changer

Definitions

  • the present invention relates to a numerical control device.
  • Patent Document 1 describes an NC turret lathe that does not have a Y-axis.
  • the NC turret lathe rotates the tool turret, the Z axis that performs the workpiece feeding operation, the C axis that rotates the workpiece, the X axis that is perpendicular to the Z axis and performs the tool turret feeding operation. It has a turret rotation axis, but does not have a Y axis perpendicular to the Z axis and the X axis.
  • the control for performing machining as if it has the Y axis that is, the virtual Y axis control
  • the rotation of the C axis, the rotation of the turret rotation axis, and the feeding operation of the X axis are performed in conjunction with each other. Is called.
  • the rotation of the C-axis is performed independently during the virtual Y-axis control
  • the rotation of the turret rotation shaft and the feeding operation of the X-axis are caused simultaneously with the rotation of the C-axis. For this reason, when it is desired to position the workpiece (single rotation of the C-axis), it is necessary to cancel the virtual Y-axis control once.
  • the tool when continuing machining by virtual Y-axis control while exchanging tools, the tool returns to the tool exchange position every time one machining (machining process) is completed, cancels virtual Y-axis control, and after canceling, the tool Exchange (single rotation of the turret rotation axis) is performed, and the virtual Y-axis control is made valid again. For this reason, it exists in the tendency for the cycle time of a process to become long.
  • the present invention has been made in view of the above, and an object of the present invention is to obtain a numerical control device capable of reducing the cycle time of processing.
  • a numerical control device includes an X axis that moves a turret to which a plurality of tools are attached, an H axis that rotates the turret, A numerical control device for controlling a machine tool having a C-axis for rotating a workpiece and not having a Y-axis orthogonal to the X-axis.
  • the H-axis is rotated independently according to the H-axis single rotation command. Further, it is characterized by comprising means for performing tool change.
  • the tool can be changed during the virtual Y-axis control without canceling the virtual Y-axis control. Therefore, since the number of steps in a series of processing can be reduced, the cycle time of processing can be reduced.
  • FIG. 1 is a diagram showing an external configuration of a work support unit and a turret in the first embodiment.
  • FIG. 2 is a diagram illustrating a configuration of the numerical controller according to the first embodiment.
  • FIG. 3 is a flowchart of the operation of the numerical control apparatus according to the first embodiment.
  • FIG. 4 is a flowchart showing a workpiece machining procedure according to the first embodiment.
  • FIG. 5 is a diagram showing a machining program in the first embodiment.
  • FIG. 6 is a diagram illustrating a workpiece machining procedure according to the first embodiment.
  • FIG. 7 is a flowchart showing a workpiece machining procedure according to the second embodiment.
  • FIG. 8 is a diagram showing a machining program in the second embodiment.
  • FIG. 1 is a diagram showing an external configuration of a work support unit and a turret in the first embodiment.
  • FIG. 2 is a diagram illustrating a configuration of the numerical controller according to the first embodiment.
  • FIG. 3 is
  • FIG. 9 is a diagram illustrating a workpiece machining procedure according to the second embodiment.
  • FIG. 10 is a flowchart showing a workpiece machining procedure according to the third embodiment.
  • FIG. 11 is a diagram showing a machining program in the third embodiment.
  • FIG. 12 is a diagram illustrating a workpiece machining procedure according to the third embodiment.
  • FIG. 13 is a diagram illustrating a configuration of a numerical control device according to a comparative example.
  • FIG. 14 is a flowchart showing a workpiece machining procedure in the comparative example.
  • FIG. 15 is a diagram showing a machining program in the comparative example.
  • FIG. 16 is a diagram showing a workpiece machining procedure in the comparative example.
  • FIG. 1 A schematic configuration of the numerical controller 1 according to the first embodiment will be described with reference to FIGS. 1 and 2.
  • FIGS. 1A and 1B are a perspective view and a front view, respectively, showing an external configuration of a machine tool 900 controlled by the numerical control device 1.
  • FIG. 2 is a block diagram showing the configuration of the numerical control device 1.
  • the machine tool 900 has a turret 905 and a workpiece support 906 as shown in FIGS. 1 (a) and 1 (b).
  • the machine tool 900 has an X axis, a Z axis, an H axis, and a C axis.
  • the X axis is a movement axis that moves the turret 905.
  • the Z axis is a movement axis for moving the workpiece W.
  • the H axis is a rotation axis for turning the tools 9051 and 9052 by rotating the turret 905.
  • the C axis is a rotation axis that rotates the workpiece W.
  • the Y axis perpendicular to the X axis and the Z axis is shown by broken lines.
  • the Y axis is a virtual movement axis used in the virtual Y axis control mode in the machining program 343 created by the user.
  • the user designates the coordinate positions of the X-axis, Y-axis, H-axis, and C-axis to create a required machining program 343.
  • the user does not consider the rotation of the H-axis and C-axis, for example, assuming that the arrow in S23 in FIG. 6 is attached, that is, the tool direction and the virtual plane X-axis coincide with each other.
  • the machining program 343 is created by specifying the above.
  • the X-axis command is described as “X20”, the Y-axis command as “Y10”, the C-axis command as “C-180”, and the H-axis command as “T1111” (see FIG. 5). ).
  • the machine tool 900 further includes X-axis, H-axis, Z-axis, and C-axis servomotors 901, 902, 903, and 904, as shown in FIG.
  • the X axis servo motor 901 and the H axis servo motor 902 move the X axis and rotate the H axis with respect to the turret 905.
  • the Z-axis servo motor 903 and the C-axis servo motor 904 move the Z-axis and rotate the C-axis with respect to the workpiece support unit 906.
  • the numerical control device 1 includes a display unit 10, an input operation unit 20, a control calculation unit 30, and a drive unit 90.
  • an automatic activation signal of the machining program 343 is supplied to the control calculation unit 30 in accordance with the operation of the automatic activation button of the machining program 343 by the user.
  • the control calculation unit 30 activates the machining program 343, and in accordance with the machining program 343, the X-axis movement amount command, the H-axis rotation amount command, the Z-axis movement amount command, and the C-axis rotation amount.
  • a command is generated and supplied to the drive unit 90.
  • the drive unit 90 includes an X-axis servo control unit 91, an H-axis servo control unit 92, a Z-axis servo control unit 93, and a C-axis servo control unit 94, and the X-axis movement amount input from the control calculation unit 30
  • the X-axis servo motor 901, H-axis servo motor 902, Z-axis servo motor 903, and C-axis servo motor 904 are driven according to the command, the H-axis rotation command, the Z-axis movement command, and the C-axis rotation command. .
  • the control calculation unit 30 includes a PLC 36, a machine control signal processing unit 35, a storage unit 34, an analysis processing unit 37, an interpolation processing unit 38, a virtual Y axis control switching processing unit 39, a switch 44, an acceleration / deceleration processing unit 43, and a virtual Y axis.
  • a control unit 41, an axis data output unit 42, an input control unit 32, a screen processing unit 31, and a data setting unit 33 are included.
  • the automatic start signal of the machining program 343 is input to the machine control signal processing unit 35 via the PLC 36.
  • the machine control signal processing unit 35 instructs the analysis processing unit 37 via the storage unit 34 to activate the machining program 343.
  • the storage unit 34 stores the tool correction data 342, the machining program 343, and the screen display data 344, and has a shared area 345 as a work space.
  • the analysis processing unit 37 calculates the tool correction amount (Tx, Ty) (see FIG. 6) and stores it in the storage unit 34 as the tool correction data 342.
  • the analysis processing unit 37 reads the machining program 343 from the storage unit 34 in response to the activation instruction of the machining program 343, and performs analysis processing on each block (each row) of the machining program 343. If the analyzed block (row) includes an M code (for example, the M code “M111” shown in FIG. 5), the analysis processing unit 37 stores the analysis result via the storage unit 34 and the machine control signal processing unit 35. To the PLC 36. If the analyzed line includes a code other than the M code (for example, the G code “G01” shown in FIG. 5), the analysis processing unit 37 adds the tool correction amount (Tx, Ty) to the analysis result. To the interpolation processing unit 38.
  • M code for example, the M code “M111” shown in FIG. 5
  • the PLC 36 When the PLC 36 receives the analysis result of the virtual Y-axis control mode ON (for example, the M code “M111” shown in FIG. 5), the PLC 36 has a virtual Y-axis control mode signal processing unit 351 in the machine control signal processing unit 35.
  • the Y-axis control mode signal is turned on and temporarily stored in the shared area 345 of the storage unit 34.
  • the virtual Y-axis control mode is started, and each unit recognizes that it is in the virtual Y-axis control mode by referring to the virtual Y-axis control mode signal (ON state) of the common area 345. To do.
  • the PLC 36 When the PLC 36 receives the analysis result of the virtual Y-axis control mode OFF (for example, the M code “M101” shown in FIG. 5), the PLC 36 has the virtual Y-axis control mode signal processing unit 351 in the machine control signal processing unit 35.
  • the Y-axis control mode signal is turned off and temporarily stored in the common area. Thereby, in the numerical control apparatus 1, the virtual Y-axis control mode is canceled and a control mode other than the virtual Y-axis control mode is set.
  • the interpolation processing unit 38 receives the analysis result (position command) from the analysis processing unit 37, performs interpolation processing on the analysis result (position command), and sends the result of the interpolation processing (movement amount, rotation amount) to the acceleration / deceleration processing unit 43. Supply.
  • the acceleration / deceleration processing unit 43 performs acceleration / deceleration processing on the result of the interpolation processing supplied from the interpolation processing unit 38.
  • the acceleration / deceleration processing unit 43 outputs the acceleration / deceleration processing results for the X axis, Y axis, C axis, and H axis to the switch 44, and directly outputs the acceleration / deceleration processing results for the Z axis to the axis data output unit.
  • the switch 44 outputs the acceleration / deceleration processing result to either the virtual Y axis control unit 41 or the axis data output unit 42 based on the switching signal from the virtual Y axis control switching processing unit 39.
  • the virtual Y-axis control switching processing unit 39 connects the acceleration / deceleration processing unit 43 and the virtual Y-axis control unit 41 in the virtual Y-axis control mode in which the virtual Y-axis control mode signal of the common area 345 is ON.
  • the acceleration / deceleration processing unit 43 and the axis data output unit 42 are connected in a control mode other than the virtual Y-axis control mode in which the virtual Y-axis control mode signal of the common area 345 is OFF. Switch 44 is switched.
  • the virtual Y-axis control unit 41 executes control processing in the virtual Y-axis control mode. Specifically, the X-axis, Y-axis, C-axis, and H-axis commands subjected to acceleration / deceleration processing are converted into X-axis, C-axis, and H-axis commands in the machine coordinate system, and the converted X-axis, C-axis, and H-axis are converted. The command is input to the axis data output unit 42. In the virtual Y axis control mode, the X axis, the H axis, and the C axis normally operate in conjunction with each other.
  • the virtual Y-axis control unit 41 includes a virtual Y-axis control command axis determination unit 414, a virtual Y-axis control processing unit 411, and a virtual Y-axis control command synthesis unit 412.
  • the virtual Y-axis control command axis determination unit 414 refers to the machining program 343 stored in the storage unit 34 for each block (one row), and the command for each block (each row) is received. It is determined whether the command is an XY axis movement amount command or an H axis or C axis single rotation amount command.
  • the virtual Y-axis control command axis determination unit 414 is an acceleration / deceleration processing unit when the command by the machining program 343 is an XY-axis movement amount command (for example, a movement amount command by “G00 X20 Y50” shown in FIG. 5).
  • the virtual Y-axis control processing unit 411 is supplied to the virtual Y-axis control processing unit 411 and the H-axis or C-axis single rotation amount command (for example, “T1111” or “C180” shown in FIG. 5).
  • the H-axis or C-axis single rotation amount command input from the acceleration / deceleration processing unit 43 is supplied to the virtual Y-axis control command combining unit 412.
  • the virtual Y-axis control command axis determination unit 414 receives the command of the machining program 343 created in the program coordinate system for the first movement amount command including the movement amount command of the XY axis for each block.
  • the second movement amount command including the H-axis single movement amount command and / or the C-axis single movement amount command, and the first movement amount command is supplied to the virtual Y-axis control processing unit 411, and the second movement amount The command is supplied to the virtual Y-axis control command combining unit 412.
  • the virtual Y-axis control processing unit 411 converts the XY-axis movement amount command input from the acceleration / deceleration processing unit 43 into a movement position command (X1, Y1), and the converted movement position
  • the coordinates of the command are converted into an X-axis movement position command, an H-axis rotation position command, and a C-axis rotation position command, which are movement position commands in the machine coordinate system as the real coordinate system, and the X-axis, H-axis, C-axis
  • Each axis movement position (Xr, Hr, Cr) is obtained.
  • the virtual Y-axis control processing unit 411 uses the XY movement position calculated last time and the XY-axis movement amount command input from the acceleration / deceleration processing unit 43 to determine the current XY. Calculate the moving position. Then, the virtual Y-axis control processing unit 411 converts the calculated current XY movement position according to the following equations 1 to 3, and obtains the movement position (Xr1, Hr1, Cr1) in the machine coordinate system.
  • the virtual Y-axis control processing unit 411 obtains a difference between the previous movement position (Xr0, Hr0, Cr0) in the machine coordinate system and the current movement position (Xr1, Hr1, Cr1), thereby obtaining a difference in the machine coordinate system.
  • the virtual Y-axis control processing unit 411 supplies the X-axis movement amount command ( ⁇ Xr1) to the axis data output unit 42, and outputs the H-axis rotation amount command ( ⁇ Hr1) and the C-axis rotation amount command ( ⁇ Cr1). This is supplied to the virtual Y-axis control command synthesis unit 412.
  • the virtual Y-axis control command combining unit 412 receives the H-axis and / or C-axis single rotation amount command ( ⁇ H2 and / or ⁇ C2) input from the acceleration / deceleration processing unit 43 and the virtual Y-axis control processing unit 411.
  • the H-axis rotation amount command ( ⁇ Hr1) and the C-axis rotation amount command ( ⁇ Cr1) after coordinate conversion are combined.
  • the virtual Y-axis control command combining unit 412 supplies the combined H-axis rotation amount command ⁇ Hr and C-axis rotation amount command ⁇ Cr to the axis data output unit 42.
  • the axis data output unit 42 supplies the X axis movement amount command ⁇ Xr1 supplied from the virtual Y axis control processing unit 411 to the drive unit 90 and rotates the H axis supplied from the virtual Y axis control command combining unit 412.
  • An amount command ⁇ Hr and a C-axis rotation amount command ⁇ Cr are supplied to the drive unit 90.
  • FIG. 3 is a flowchart of the operation of the numerical control apparatus according to the first embodiment.
  • step S1 the analysis processing unit 37 calculates tool correction amounts (Tx, Ty) (see FIG. 6) and stores them in the storage unit 34.
  • the analysis processing unit 37 performs an analysis process of the machining program 343, adds the tool correction amount (Tx, Ty) to the analysis result, and passes it to the interpolation processing unit 38.
  • step S2 the interpolation processing unit 38 receives the analysis result (position command) from the analysis processing unit 37, performs an interpolation process on the analysis result (position command), and supplies the result of the interpolation processing to the acceleration / deceleration processing unit 43.
  • step S ⁇ b> 3 the acceleration / deceleration processing unit 43 performs acceleration / deceleration processing on the supplied interpolation processing result, and supplies the acceleration / deceleration processing result to the switch 44.
  • step S4 the virtual Y-axis control switching processing unit 39 determines whether or not to perform the virtual Y-axis control determination process based on the virtual Y-axis control mode signal in the common area 345. That is, when the virtual Y-axis control switching processing unit 39 is in the virtual Y-axis control mode (“Yes” in step S4), the process proceeds to step S10. If the virtual Y-axis control switching processing unit 39 is in a control mode other than the virtual Y-axis control mode (“No” in step S4), the process proceeds to step S17.
  • step S10 the virtual Y-axis control unit 41 performs a virtual Y-axis control mode process. Specifically, the following steps S11 to S17 are performed.
  • the virtual Y axis control command axis determination unit 414 refers to the machining program 343 stored in the storage unit 34 for each block, and whether the command of each block is a movement amount command of the XY axes. It is also determined whether it is a single rotation amount command for the H axis and / or the C axis. If the command by the machining program 343 is a movement amount command of the XY axis (for example, a movement amount command to “X20 Y50” shown in FIG. 5), the virtual Y axis control command axis determination unit 414 An axis movement amount command is supplied to the virtual Y-axis control processing unit 411, and the process proceeds to step S12.
  • the command by the machining program 343 is a single rotation amount command for the H axis and / or the C axis (for example, a single rotation amount command by “T1111” or “C180” shown in FIG. 5). If there is, the H axis and / or C axis single rotation amount command is supplied to the virtual Y axis control command combining unit 412 and the process proceeds to step S16.
  • step S12 the virtual Y-axis control processing unit 411 performs a program coordinate position calculation process.
  • the virtual Y-axis control processing unit 411 uses the XY-axis movement amount command input from the acceleration / deceleration processing unit 43 and the previous XY movement position to determine the current movement position (X-axis coordinate “ X1 ", Y-axis coordinate” Y1 ").
  • step S13 the virtual Y axis control processing unit 411 performs coordinate conversion processing (program coordinate ⁇ machine coordinate conversion processing). That is, the virtual Y-axis control processing unit 411 converts the current movement position (X1, Y1) in the program coordinate system by the above-described equations 1 to 3, and moves the movement position (Xr1, Hr1, Cr1) in the machine coordinate system. Ask for.
  • the virtual Y-axis control processing unit 411 supplies the X-axis movement amount command ( ⁇ Xr1) to the axis data output unit 42 and advances the process to step S17, and also rotates the H-axis rotation amount command ( ⁇ Hr1) and the C-axis rotation.
  • the quantity command ( ⁇ Cr1) is supplied to the virtual Y-axis control command combining unit 412 and the process proceeds to step S16.
  • step S16 the virtual Y-axis control command combining unit 412 uses the H-axis rotation amount command ⁇ Hr2 generated by the virtual Y-axis control processing unit 411 as shown in Equation 4 above. Combined with ⁇ Hr1, an H-axis rotation amount command ⁇ Hr is generated. Similarly, the virtual Y-axis control command synthesizing unit 412 receives the C-axis rotation amount command ⁇ Cr2 generated by the virtual Y-axis control processing unit 411 as shown in Equation 5 above. To generate a C-axis rotation amount command ⁇ Cr. The virtual Y-axis control command combining unit 412 supplies the combined H-axis rotation amount command ⁇ Hr and C-axis rotation amount command ⁇ Cr to the axis data output unit 42.
  • step S17 the axis data output unit 42 performs axis data output processing. That is, the axis data output unit 42 supplies the X-axis movement amount command ⁇ Xr1 supplied from the virtual Y-axis control processing unit 411 to the drive unit 90 and the H-axis supplied from the virtual Y-axis control command combining unit 412. Rotation amount command ⁇ Hr and C axis rotation amount command ⁇ Cr are supplied to the drive unit 90.
  • FIG. 4 is a flowchart showing a processing procedure for the workpiece W using the numerical control device 1.
  • FIG. 5 is a diagram showing the description contents in the machining program 343 stored in the storage unit 34 of the numerical controller 1.
  • FIG. 6 is a diagram illustrating the operation of the turret 905 and the workpiece W in accordance with the workpiece W machining procedure. In the following, the position on the Z-axis is maintained in a fixed state in a series of processes, and the Z-axis feed operation is driven after the series of processes is completed.
  • step S21 shown in FIG. 4 the numerical control apparatus 1 causes the tool 9051 for milling to be replaced with a tool to be used for machining in accordance with the description of “N100 T1010” in the machining program 343 shown in FIG.
  • step S22 the numerical controller 1 selects the C-axis mode according to the description of “N102 G00 C0” in the machining program 343.
  • the virtual plane is a plane formed by the X axis and the virtual Y axis, and is a plane corresponding to the XY plane in the program coordinate system.
  • step S24 the numerical controller 1 enables the virtual Y-axis control mode according to the description of “N104 M111” in the machining program 343.
  • step S129 the numerical controller 1 inverts the workpiece W and positions the workpiece W according to the description of “N109 G00 C180” in the machining program 343.
  • the virtual Y-axis control command axis determination unit 414 supplies the C-axis single rotation amount command to the virtual Y-axis control command combining unit 412 because the command by “N109 G00 C180” is the C-axis single rotation amount command.
  • the virtual Y-axis control command combining unit 412 outputs the C-axis single rotation amount command to the axis data output unit 42 as the C-axis rotation amount command ( ⁇ Cr).
  • the C-axis servo control unit 94 drives the C-axis servo motor 904 to rotate. Thereby, as shown by S129 in FIG. 6, the workpiece W is rotated and inverted independently (positioned at C180 on the program coordinates).
  • step S33 the numerical controller 1 positions the turret 905 and the workpiece W so that the main axis direction of the tool 9051 and the X-axis direction on the virtual plane are parallel to each other according to the description of “N113 G00 Y0” in the machining program 343. I do.
  • step S135 the numerical controller 1 causes the tool 9052 for drilling to be replaced with a tool to be used for machining according to the description of “N114 T1111” in the machining program 343.
  • the virtual Y-axis control command axis determination unit 414 supplies the H-axis single rotation amount command to the virtual Y-axis control command combining unit 412 because the command by “T1111” is the H-axis single rotation amount command.
  • the virtual Y-axis control command synthesis unit 412 outputs the H-axis single rotation amount command to the axis data output unit 42 as the H-axis rotation amount command ( ⁇ Hr).
  • the H-axis servo control unit 92 drives the H-axis servo motor 902 to rotate. Thereby, as shown by S135 in FIG. 6, the turret 905 is rotated alone to perform the tool changing operation.
  • step S137 the analysis processing unit 37 causes the tool 9052 to perform drilling according to the description of “N116 G83 X5 D40 H3 F100” in the machining program 343.
  • step S34 the analysis processing unit 37 cancels the virtual Y-axis control mode according to the description of “N118 M101” in the machining program 343.
  • the virtual Y-axis control unit 841 performs the virtual Y-axis control command axis determination unit 414 and the virtual Y-axis control command synthesis shown in FIG.
  • step S27 is performed between the milling of the workpiece on one side of the workpiece W (step S26) and the milling of the workpiece on the other side of the workpiece W (step S32).
  • Step S31 needs to be performed.
  • step S27 the numerical controller 800 follows the description of “N19 G00 Y0” in the machining program 343 shown in FIG. 15 so that the main axis direction of the tool 9051 is parallel to the X axis direction in the virtual plane. 905 and the workpiece W are positioned.
  • step S28 the numerical controller 800 cancels the virtual Y-axis control mode according to the description of “N20 M10” in the machining program 343.
  • step S29 the numerical controller 800 reverses and positions the workpiece W according to the description of “N21 G00 C180” in the machining program 343.
  • step S30 the numerical controller 800 re-enables the virtual Y-axis control mode according to the description of “N22 M11” in the machining program 343.
  • step S31 the numerical controller 800 moves the tool 9051 to the machining start position according to the description of “N23 G00 X20 Y-50” in the machining program 343.
  • step S26 when the machining in the virtual Y-axis control mode is continued while positioning the workpiece axis (C axis), the workpiece axis (C axis) every time one machining (step S26) is completed. ), The tool direction and the virtual plane X-axis direction are made parallel (step S27), the virtual Y-axis control mode is canceled (step S28), and the workpiece axis (C-axis) is positioned after the cancellation. Is performed (step S29), and the virtual Y-axis control mode is enabled again (step S30). For this reason, it exists in the tendency for the cycle time of a process to become long.
  • the virtual Y-axis control unit 41 includes the virtual Y-axis control command axis determination unit 414 and the virtual Y-axis control command synthesis unit 412. Yes. That is, when the command by the machining program 343 is the C axis single rotation amount command, the virtual Y axis control command axis determination unit 414 sends the C axis single rotation amount command to the C via the virtual Y axis control command combining unit 412. This is supplied to the shaft data output unit 42 as a shaft rotation amount command.
  • step S129 shown in FIG. 4 can be performed instead of the process of steps S27 to S31 shown in FIG. Thereby, since the number of steps in a series of processing can be reduced, the cycle time of processing can be reduced.
  • the virtual Y axis control command axis determination unit 414 uses the H axis single rotation amount command as a virtual Y axis control command. This is supplied to the axis data output unit 42 as a rotation amount command for the H axis via the synthesis unit 412. Thereby, since the turret 905 can be rotated independently during the virtual Y-axis control mode, the tools 9051 and 9052 can be exchanged without canceling the virtual Y-axis control mode. That is, as shown in FIG.
  • step S135) after the milling (step S32), the tool change (step S135) can be performed without canceling the virtual Y-axis control mode, and the virtual Y-axis control mode is enabled again. Therefore, it is possible to perform the drilling process (step S137) immediately. Thereby, since the number of steps in a series of processing can be reduced, the cycle time of processing can be reduced.
  • Embodiment 2 the numerical controller 1 according to the second embodiment will be described. Below, it demonstrates focusing on a different part from Embodiment 1.
  • FIG. 1 the numerical controller 1 according to the second embodiment will be described. Below, it demonstrates focusing on a different part from Embodiment 1.
  • the numerical control apparatus 1 changes the tool (step S135 shown in FIG. 4) and moves the tool 9052 to the machining start position (see FIG. 4).
  • Step S136) shown in FIG. 7 is performed in parallel in the same block (Step S235 shown in FIG. 7) in the machining program 343.
  • FIG. 7 is a flowchart illustrating a processing procedure of the workpiece W using the numerical control device 1 according to the second embodiment.
  • FIG. 8 is a diagram illustrating the description contents in the machining program 343 stored in the storage unit 34 of the numerical control device 1 according to the second embodiment.
  • FIG. 9 is a diagram illustrating operations of the turret 905 and the workpiece W according to the workpiece W machining procedure according to the second embodiment.
  • step S235 shown in FIG. 7 the process of step S135 shown in FIG. 4 and the process of step S136 are performed in parallel. That is, in step S235, the numerical controller 1 replaces the tool to be used for machining with the tool 9052 for drilling according to the description of “N211 G00 X20 Y10 T1111” in the machining program 343 shown in FIG. 9052 is moved to the machining start position.
  • the virtual Y-axis control command axis determination unit 414 performs the virtual Y-axis control processing on the XY-axis movement amount command because the command by “G00 X20 Y10” is the XY-axis movement amount command. Part 411.
  • the virtual Y-axis control processing unit 411 uses the XY-axis movement amount command in the program coordinate system, the X-axis movement amount command ( ⁇ Xr1) in the machine coordinate system, the H-axis rotation amount command ( ⁇ Hr1), and C A shaft rotation amount command ( ⁇ Cr1) is generated.
  • the virtual Y-axis control processing unit 411 supplies the X-axis movement amount command ( ⁇ Xr1) to the axis data output unit 42, and outputs the H-axis rotation amount command ( ⁇ Hr1) and the C-axis rotation amount command ( ⁇ Cr1). This is supplied to the virtual Y-axis control command synthesis unit 412.
  • the virtual Y-axis control command axis determination unit 414 synthesizes the H-axis single rotation amount command ( ⁇ H2) with the virtual Y-axis control command synthesis because the command by “T1111” is the H-axis single rotation amount command ( ⁇ H2).
  • the virtual Y-axis control command synthesizing unit 412 combines the H-axis single rotation amount command ⁇ Hr2 with the H-axis rotation amount command ⁇ Hr1 generated by the virtual Y-axis control processing unit 411, as shown in Equation 4 above. An H-axis rotation amount command ⁇ Hr is generated.
  • the virtual Y-axis control command combining unit 412 supplies the combined H-axis rotation amount command ⁇ Hr to the axis data output unit 42.
  • the C-axis rotation amount command ⁇ Cr is generated, and the generated C-axis rotation amount command ⁇ Cr is supplied to the axis data output unit 42.
  • the tool can be positioned at the machining start position while changing the tool.
  • the virtual Y-axis control command combining unit 412 generates the H-axis single rotation amount command by the virtual Y-axis control processing unit 411 according to the XY-axis movement amount command.
  • the H-axis rotation amount command is generated by combining with the H-axis rotation amount command, and is supplied to the axis data output unit 42.
  • the tool can be moved to the machining start position of the workpiece W according to the XY axis movement amount command while the turret 905 is rotated independently according to the H axis single rotation amount command and the tool is changed. . That is, the tool change (step S135 shown in FIG.
  • step S136 shown in FIG. 4 the movement of the tool 9052 to the machining start position of the workpiece W (step S136 shown in FIG. 4) are the same block in the machining program 343 (step S235 shown in FIG. 7). ) In parallel. Thereby, since the number of steps in a series of processing can be further reduced, the processing cycle time can be further reduced.
  • Embodiment 3 the numerical controller 1 according to the third embodiment will be described. Below, it demonstrates focusing on a different part from Embodiment 1.
  • FIG. 1 the numerical controller 1 according to the third embodiment.
  • the numerical control apparatus 1 performs tool change (step S135 shown in FIG. 4) and positioning of the workpiece W (processing similar to step S129 shown in FIG. 4).
  • the movement of the tool 9052 to the machining start position of the workpiece W (step S136 shown in FIG. 4) is performed in parallel in the same block (step S335 shown in FIG. 10) in the machining program 343.
  • FIG. 10 is a flowchart illustrating the processing procedure of the workpiece W using the numerical control device 1 according to the third embodiment.
  • FIG. 11 is a diagram illustrating the description contents in the machining program 343 stored in the storage unit 34 of the numerical controller 1 according to the third embodiment.
  • FIG. 12 is a diagram illustrating operations of the turret 905 and the workpiece W according to the workpiece W machining procedure according to the third embodiment.
  • step S335 shown in FIG. 10 in addition to the processing in step S135 and the processing in step S136 shown in FIG. 4, the workpiece W is positioned in parallel. That is, in step S335, the numerical controller 1 causes the tool 9052 for drilling to be replaced with a tool to be used for machining according to the description of “N311 G00 X20 Y10 C-180 T1111” in the machining program 343 shown in FIG. While moving the tool 9052 to the machining start position, the workpiece W is positioned.
  • the virtual Y-axis control command axis determination unit 414 performs the virtual Y-axis control processing on the XY-axis movement amount command because the command by “G00 X20 Y10” is the XY-axis movement amount command. Part 411.
  • the virtual Y-axis control processing unit 411 uses the XY-axis movement amount command in the program coordinate system, the X-axis movement amount command ( ⁇ Xr1) in the machine coordinate system, the H-axis rotation amount command ( ⁇ Hr1), and C A shaft rotation amount command ( ⁇ Cr1) is generated.
  • the virtual Y-axis control processing unit 411 supplies the X-axis movement amount command ( ⁇ Xr1) to the axis data output unit 42, and outputs the H-axis rotation amount command ( ⁇ Hr1) and the C-axis rotation amount command ( ⁇ Cr1). This is supplied to the virtual Y-axis control command synthesis unit 412.
  • the virtual Y-axis control command axis determination unit 414 synthesizes the C-axis single rotation amount command ( ⁇ C2) with the virtual Y-axis control command synthesis because the command by “C180” is the C-axis single rotation amount command ( ⁇ C2).
  • the virtual Y-axis control command combining unit 412 combines the C-axis single rotation amount command ⁇ Cr2 with the C-axis rotation amount command ⁇ Cr1 generated by the virtual Y-axis control processing unit 411, as shown in Equation 5 above.
  • the C axis rotation amount command ⁇ Cr is generated.
  • the virtual Y-axis control command combining unit 412 supplies the combined C-axis rotation amount command ⁇ Cr to the axis data output unit 42.
  • the virtual Y-axis control command axis determination unit 414 synthesizes the H-axis single rotation amount command ( ⁇ H2) with the virtual Y-axis control command synthesis because the command by “T1111” is the H-axis single rotation amount command ( ⁇ H2).
  • the virtual Y-axis control command synthesizing unit 412 combines the H-axis single rotation amount command ⁇ Hr2 with the H-axis rotation amount command ⁇ Hr1 generated by the virtual Y-axis control processing unit 411, as shown in Equation 4 above. Then, an H-axis rotation amount command ⁇ Hr is generated.
  • the virtual Y-axis control command combining unit 412 supplies the combined H-axis rotation amount command ⁇ Hr to the axis data output unit 42.
  • the tool W can be changed and the workpiece W can be positioned while being positioned at the machining start position.
  • the virtual Y-axis control command combining unit 412 generates the H-axis single rotation amount command by the virtual Y-axis control processing unit 411 in accordance with the XY-axis movement amount command.
  • the H-axis rotation amount command is generated by combining with the H-axis rotation amount command, and is supplied to the axis data output unit 42.
  • the virtual Y-axis control command synthesizing unit 412 sends the C-axis single rotation amount command to the C-axis rotation amount command generated by the virtual Y-axis control processing unit 411 according to the XY-axis movement amount command.
  • a rotation amount command for the C axis is generated and supplied to the axis data output unit 42.
  • the workpiece is independently rotated according to the C-axis single rotation amount command, and the workpiece is positioned.
  • the tool can be moved to the machining start position of the workpiece in accordance with the axis movement amount command. That is, tool change (step S135 shown in FIG. 4), positioning of the workpiece W (processing similar to step S129 shown in FIG. 4), and movement of the tool 9052 to the machining start position (step shown in FIG. 4).
  • S136 is performed in parallel in the same block (step S335 shown in FIG. 10) in the machining program 343.
  • the numerical control device is suitable for workpiece machining by virtual Y-axis control.

Abstract

 数値制御装置は、複数の工具が取り付けられるタレットを移動させるX軸と、前記タレットを回転させるH軸と、ワークを回転させるC軸とを有し、前記X軸に直交するY軸を有さない工作機械を制御する数値制御装置であって、加工プログラム中のX-Y軸移動指令をX-H-C座標系での指令に変換し、変換した指令に従ってX軸、H軸およびC軸を連動駆動する仮想Y軸制御モード中に、前記H軸の単独回転指令に従って前記H軸を単独で回転させ、工具交換を行う手段を備えている。

Description

数値制御装置
 本発明は、数値制御装置に関する。
 特許文献1には、Y軸を持たないNCターレット旋盤が記載されている。NCターレット旋盤は、ワークの送り動作を行うZ軸と、ワークの回転を行うC軸と、Z軸に垂直な軸であって工具ターレットの送り動作を行うX軸と、工具ターレットの回転を行うターレット回転軸とを有しているが、Z軸及びX軸に垂直なY軸を有していない。このようなNCターレット旋盤において、C軸の回転とターレット回転軸の回転とを結合させて行い、工具のワークに対するY軸方向の送り動作を生起するものとされている。これにより、特許文献1によれば、Y軸を持たないNCターレット旋盤を用いて、あたかもY軸を有しているかのように機械加工作用を実行できるとされている。
特公平3-33441号公報
 あたかもY軸を有しているかのように機械加工を行うための制御、すなわち仮想Y軸制御では、C軸の回転とターレット回転軸の回転とX軸の送り動作とが、互いに連動して行われる。仮想Y軸制御中にC軸の回転を単独で行おうとしても、C軸の回転に連動してターレット回転軸の回転及びX軸の送り動作が同時に生起されてしまう。このため、ワークの位置決め(C軸の単独の回転)を行いたい場合には、仮想Y軸制御を一度キャンセルしてから行う必要がある。すなわち、ワークの位置決めを行いながら、仮想Y軸制御による加工を続ける場合は、1つの加工(加工工程)が終了する度に、ワークの位置決めができる位置に戻り(工具方向と仮想平面X軸方向とを平行にし)、仮想Y軸制御をキャンセルし、キャンセル後、ワークの位置決め(C軸の単独の回転)を行い、再び、仮想Y軸制御を有効にすることになる。このため、加工のサイクルタイムが長くなる傾向にある。
 あるいは、仮想Y軸制御中にターレット回転軸の回転を単独で行おうとしても、ターレット回転軸の回転に連動してC軸の回転及びX軸の送り動作が同時に生起されてしまう。このため、工具交換(ターレット回転軸の単独の回転)を行いたい場合には、仮想Y軸制御を一度キャンセルしてから行う必要がある。すなわち、工具交換をしながら、仮想Y軸制御による加工を続ける場合は、1つの加工(加工工程)が終了する度に、工具交換位置に戻り、仮想Y軸制御をキャンセルし、キャンセル後、工具交換(ターレット回転軸の単独の回転)を行い、再び、仮想Y軸制御を有効にすることになる。このため、加工のサイクルタイムが長くなる傾向にある。
 本発明は、上記に鑑みてなされたものであって、加工のサイクルタイムを低減できる数値制御装置を得ることを目的とする。
 上述した課題を解決し、目的を達成するために、本発明の1つの側面にかかる数値制御装置は、複数の工具が取り付けられるタレットを移動させるX軸と、前記タレットを回転させるH軸と、ワークを回転させるC軸とを有し、前記X軸に直交するY軸を有さない工作機械を制御する数値制御装置であって、加工プログラム中のX-Y軸移動指令をX-H-C座標系での指令に変換し、変換した指令に従ってX軸、H軸およびC軸を連動駆動する仮想Y軸制御モード中に、前記H軸の単独回転指令に従って前記H軸を単独で回転させ、工具交換を行う手段を備えたことを特徴とする。
 本発明によれば、仮想Y軸制御中に、仮想Y軸制御をキャンセルすることなく工具交換を行うことができる。これにより、一連の加工における工程数を低減できるので、加工のサイクルタイムを低減できる。
図1は、実施の形態1におけるワーク支持部及びタレットの外観構成を示す図である。 図2は、実施の形態1にかかる数値制御装置の構成を示す図である。 図3は、実施の形態1にかかる数値制御装置の動作を示すフローチャートである。 図4は、実施の形態1におけるワークの加工手順を示すフローチャートである。 図5は、実施の形態1における加工プログラムを示す図である。 図6は、実施の形態1におけるワークの加工手順を示す図である。 図7は、実施の形態2におけるワークの加工手順を示すフローチャートである。 図8は、実施の形態2における加工プログラムを示す図である。 図9は、実施の形態2におけるワークの加工手順を示す図である。 図10は、実施の形態3におけるワークの加工手順を示すフローチャートである。 図11は、実施の形態3における加工プログラムを示す図である。 図12は、実施の形態3におけるワークの加工手順を示す図である。 図13は、比較例にかかる数値制御装置の構成を示す図である。 図14は、比較例におけるワークの加工手順を示すフローチャートである。 図15は、比較例における加工プログラムを示す図である。 図16は、比較例におけるワークの加工手順を示す図である。
 以下に、本発明にかかる数値制御装置の実施の形態を図面に基づいて詳細に説明する。なお、これらの実施の形態によりこの発明が限定されるものではない。
実施の形態1.
 実施の形態1にかかる数値制御装置1の概略構成について図1及び図2を用いて説明する。図1(a)及び図1(b)は、それぞれ、数値制御装置1により制御される工作機械900の外観構成を示す斜視図及び正面図である。図2は、数値制御装置1の構成を示すブロック図である。
 工作機械900は、図1(a)、(b)に示すように、タレット905、及びワーク支持部906を有する。工作機械900は、X軸、Z軸、H軸、及びC軸を有する。X軸は、タレット905を移動させる移動軸である。Z軸は、ワークWを移動させる移動軸である。H軸は、タレット905を回転させることで、工具9051、9052を旋回させる回転軸である。C軸は、ワークWを回転させる回転軸である。
 なお、図1には、X軸、Z軸に垂直なY軸を破線で図示している。Y軸はユーザが作成する加工プログラム343中の仮想Y軸制御モード内で使用される仮想的な移動軸である。ユーザは、仮想Y軸制御モード内では、X軸、Y軸、H軸およびC軸の座標位置を指定して所要の加工プログラム343を作成する。ユーザは、H軸、C軸の回転を考慮することなく、例えば、図6のS23の矢印が付された状態、すなわち工具方向と仮想平面X軸が一致した状態を想定してX-Y座標などを指定することによって加工プログラム343を作成する。加工プログラム343において、例えば、X軸指令は「X20」、Y軸指令は「Y10」、C軸指令は「C-180」、H軸指令は「T1111」というように記述される(図5参照)。
 工作機械900は、図2に示すように、さらに、X軸、H軸、Z軸、C軸サーボモータ901、902、903、904を有する。X軸サーボモータ901、H軸サーボモータ902は、タレット905に対して、X軸の移動、H軸の回転を行う。Z軸サーボモータ903、C軸サーボモータ904は、ワーク支持部906に対して、Z軸の移動、C軸の回転を行う。
 数値制御装置1は、表示部10、入力操作部20、制御演算部30、及び駆動部90を備える。例えば、ユーザによる加工プログラム343の自動起動ボタンの操作に応じて、加工プログラム343の自動起動の信号が制御演算部30へ供給される。これに応じて、制御演算部30は、加工プログラム343を起動して、加工プログラム343に従い、X軸の移動量指令、H軸の回転量指令、Z軸の移動量指令、C軸の回転量指令を生成して駆動部90へ供給する。駆動部90は、X軸サーボ制御部91、H軸サーボ制御部92、Z軸サーボ制御部93、C軸サーボ制御部94を有し、、制御演算部30から入力されたX軸の移動量指令、H軸の回転量指令、Z軸の移動量指令、C軸の回転量指令に従い、X軸サーボモータ901、H軸サーボモータ902、Z軸サーボモータ903、C軸サーボモータ904を駆動する。
 次に、制御演算部30の内部構成について説明する。
 制御演算部30は、PLC36、機械制御信号処理部35、記憶部34、解析処理部37、補間処理部38、仮想Y軸制御切換処理部39、スイッチ44、加減速処理部43、仮想Y軸制御部41、軸データ出力部42、入力制御部32、画面処理部31、及びデータ設定部33を有する。
 加工プログラム343の自動起動の信号は、PLC36経由で機械制御信号処理部35に入力される。機械制御信号処理部35は、記憶部34経由で解析処理部37に指示して加工プログラム343を起動させる。
 記憶部34は、工具補正データ342、加工プログラム343、画面表示データ344を記憶するとともに、ワークスペースとしての共有エリア345を有している。
 解析処理部37は、工具補正量(Tx、Ty)を計算して(図6参照)記憶部34に工具補正データ342として記憶させる。解析処理部37は、加工プログラム343の起動指示に応じて、記憶部34から加工プログラム343を読み出し、加工プログラム343の各ブロック(各行)について解析処理を行う。解析処理部37は、解析したブロック(行)にMコード(例えば、図5に示すMコード「M111」)が含まれていれば、その解析結果を記憶部34、機械制御信号処理部35経由でPLC36へ渡す。解析処理部37は、解析した行にMコード以外のコード(例えば、図5に示すGコード「G01」)が含まれていれば、その解析結果に工具補正量(Tx、Ty)を加味して補間処理部38へ渡す。
 PLC36は、仮想Y軸制御モードONの解析結果(例えば、図5に示すMコード「M111」)を受けた場合、機械制御信号処理部35内の仮想Y軸制御モード信号処理部351が有する仮想Y軸制御モード信号をON状態にして記憶部34の共有エリア345に一時記憶させる。これにより、数値制御装置1では、仮想Y軸制御モードが開始され、各部が共有エリア345の仮想Y軸制御モード信号(ON状態)を参照することにより仮想Y軸制御モード中であることを認識する。PLC36は、仮想Y軸制御モードOFFの解析結果(例えば、図5に示すMコード「M101」)を受けた場合、機械制御信号処理部35内の仮想Y軸制御モード信号処理部351が有する仮想Y軸制御モード信号をOFF状態にして共有エリアに一時記憶させる。これにより、数値制御装置1では、仮想Y軸制御モードがキャンセルされ、仮想Y軸制御モード以外の制御モードになる。
 補間処理部38は、解析処理部37から解析結果(位置指令)を受け取り、解析結果(位置指令)に対する補間処理を行い、補間処理の結果(移動量、回転量)を加減速処理部43へ供給する。
 加減速処理部43は、補間処理部38から供給された補間処理の結果に対して加減速処理を行う。加減速処理部43は、X軸、Y軸、C軸、H軸に関する加減速処理結果をスイッチ44に出力し、Z軸に関する加減速処理結果を軸データ出力部42に直接出力する。
 スイッチ44は、仮想Y軸制御切換処理部39からの切り替え信号に基づき加減速処理結果を仮想Y軸制御部41、軸データ出力部42の何れかに出力する。仮想Y軸制御切換処理部39は、共有エリア345の仮想Y軸制御モード信号がONになっている仮想Y軸制御モードにおいて、加減速処理部43と仮想Y軸制御部41とを接続するようにスイッチ44を切り換え、共有エリア345の仮想Y軸制御モード信号がOFFになっている仮想Y軸制御モード以外の制御モードにおいて、加減速処理部43と軸データ出力部42とを接続するようにスイッチ44を切り換える。
 仮想Y軸制御部41は、仮想Y軸制御モードでの制御処理を実行する。具体的には、加減速処理されたX軸、Y軸、C軸、H軸指令を機械座標系におけるX軸、C軸、H軸指令に変換し、変換したX軸、C軸、H軸指令を軸データ出力部42に入力する。仮想Y軸制御モードにおいては、通常は、X軸、H軸、C軸が連動して動作する。
 仮想Y軸制御部41は、仮想Y軸制御指令軸判定部414、仮想Y軸制御処理部411、及び仮想Y軸制御指令合成部412を有する。
 仮想Y軸制御指令軸判定部414は、仮想Y軸制御モード下においては、記憶部34に記憶された加工プログラム343を1ブロック(1行)毎に参照し、各ブロック(各行)の指令がX-Y軸の移動量指令であるのか、それともH軸又はC軸の単独回転量指令であるのかを判定する。仮想Y軸制御指令軸判定部414は、加工プログラム343による指令がX-Y軸の移動量指令(例えば、図5に示す「G00 X20 Y50」による移動量指令)である場合、加減速処理部43から入力されたX-Y軸の移動量指令を仮想Y軸制御処理部411へ供給し、H軸又はC軸の単独回転量指令(例えば、図5に示す「T1111」や「C180」による単独回転量指令)である場合、加減速処理部43から入力されたH軸又はC軸の単独回転量指令を仮想Y軸制御指令合成部412へ供給する。別言すれば、仮想Y軸制御指令軸判定部414は、プログラム座標系で作成された加工プログラム343の指令を、1ブロック毎に、X-Y軸の移動量指令を含む第1移動量指令と、H軸単独移動量指令及び/又はC軸単独移動量指令を含む第2移動量指令とに分離し、第1移動量指令は仮想Y軸制御処理部411へ供給し、第2移動量指令は仮想Y軸制御指令合成部412へ供給する。
 仮想Y軸制御処理部411は、仮想Y軸制御モードにおいて、加減速処理部43から入力されたX-Y軸の移動量指令を移動位置指令(X1,Y1)に変換し、変換した移動位置指令を、実座標系としての機械座標系の移動位置指令であるX軸の移動位置指令とH軸の回転位置指令とC軸の回転位置指令とに座標変換し、X軸、H軸、C軸の各移動位置(Xr,Hr,Cr)を求める。
 具体的には、仮想Y軸制御処理部411は、前回計算したX-Y移動位置と、加減速処理部43から入力されたX-Y軸の移動量指令とを用いて今回のX-Y移動位置を計算する。そして、仮想Y軸制御処理部411は、計算した今回のX-Y移動位置を下記の数式1~3にしたがって座標変換して、機械座標系における移動位置(Xr1,Hr1,Cr1)を求める。
   Xr1=f(X1)+f(Y1)・・・数式1
   Hr1=f11(X1)+f12(Y1)・・・数式2
   Cr1=f21(X1)+f22(Y1)・・・数式3
 さらに、仮想Y軸制御処理部411は、機械座標系における前回移動位置(Xr0,Hr0,Cr0)と、今回の移動位置(Xr1,Hr1,Cr1)との差分をとることにより、機械座標系におけるX軸移動量(ΔXr1=Xr1-Xr0)とH軸回転量(ΔHr1=Hr1-Hr0)とC軸回転量(ΔCr1=Cr1-Cr0)とを計算する。仮想Y軸制御処理部411は、X軸の移動量指令(ΔXr1)を軸データ出力部42へ供給するとともに、H軸の回転量指令(ΔHr1)とC軸の回転量指令(ΔCr1)とを仮想Y軸制御指令合成部412へ供給する。
 なお、仮想Y軸制御処理部411は、X-Y軸の移動量指令を受けていない場合、回転量零の回転量指令、すなわちΔHr1=0とΔCr1=0とを仮想Y軸制御指令合成部412へ供給し、ΔXr1=0を軸データ出力部42へ供給する。
 仮想Y軸制御指令合成部412は、加減速処理部43から入力されたH軸及び/又はC軸の単独回転量指令(ΔH2及び/又はΔC2)と、仮想Y軸制御処理部411から入力される座標変換後のH軸の回転量指令(ΔHr1)とC軸の回転量指令(ΔCr1)とをそれぞれ合成する。
 仮想Y軸制御指令合成部412は、下記の数式4に示すように、H軸の単独回転指令ΔHr2(=ΔH2)を、仮想Y軸制御処理部411により生成されたH軸の回転量指令ΔHr1と合成し、H軸の回転量指令ΔHrを生成する。
   ΔHr=ΔHr1+ΔHr2・・・数式4
 同様に、仮想Y軸制御指令合成部412は、下記の数式5に示すように、C軸の単独回転量指令ΔCr2(=ΔC2)を、仮想Y軸制御処理部411により生成されたC軸の回転量指令ΔCr1と合成し、C軸の回転量指令ΔCrを生成する。
   ΔCr=ΔCr1+ΔCr2・・・数式5
 仮想Y軸制御指令合成部412は、合成したH軸の回転量指令ΔHr及びC軸の回転量指令ΔCrを軸データ出力部42へ供給する。
 軸データ出力部42は、仮想Y軸制御処理部411から供給されたX軸の移動量指令ΔXr1を駆動部90へ供給するとともに、仮想Y軸制御指令合成部412から供給されたH軸の回転量指令ΔHr及びC軸の回転量指令ΔCrを駆動部90へ供給する。
 次に、実施の形態1にかかる数値制御装置1の動作について図3を用いて説明する。図3は、実施の形態1にかかる数値制御装置の動作を示すフローチャートである。
 ステップS1では、解析処理部37が、工具補正量(Tx、Ty)を計算して(図6参照)記憶部34に記憶させる。解析処理部37は、加工プログラム343の解析処理を行い、その解析結果に工具補正量(Tx、Ty)を加味して補間処理部38へ渡す。
 ステップS2では、補間処理部38が、解析処理部37から解析結果(位置指令)を受け取り、解析結果(位置指令)に対する補間処理を行い、補間処理の結果を加減速処理部43へ供給する。
 ステップS3では、加減速処理部43が、供給された補間処理の結果に対して加減速処理を行い、加減処理結果をスイッチ44にへ供給する。
 ステップS4では、仮想Y軸制御切換処理部39が、共有エリア345の仮想Y軸制御モード信号に基づき仮想Y軸制御判定処理を行うべきか否かを判断する。すなわち、仮想Y軸制御切換処理部39は、仮想Y軸制御モードである場合(ステップS4で「Yes」)、処理をステップS10へ進める。仮想Y軸制御切換処理部39は、仮想Y軸制御モード以外の制御モードである場合(ステップS4で「No」)、処理をステップS17へ進める。
 ステップS10では、仮想Y軸制御部41が、仮想Y軸制御モードの処理を行う。具体的には、以下のステップS11~S17の処理を行う。
 ステップS11では、仮想Y軸制御指令軸判定部414は、記憶部34に記憶された加工プログラム343を1ブロック毎に参照し、各ブロックの指令がX-Y軸の移動量指令であるのか、それともH軸及び/又はC軸の単独回転量指令であるのかを判定する。仮想Y軸制御指令軸判定部414は、加工プログラム343による指令がX-Y軸の移動量指令(例えば、図5に示す「X20 Y50」への移動量指令)である場合、そのX-Y軸の移動量指令を仮想Y軸制御処理部411へ供給し、処理をステップS12へ進める。仮想Y軸制御指令軸判定部414は、加工プログラム343による指令がH軸及び/又はC軸の単独回転量指令(例えば、図5に示す「T1111」や「C180」による単独回転量指令)である場合、そのH軸及び/又はC軸の単独回転量指令を仮想Y軸制御指令合成部412へ供給し、処理をステップS16へ進める。
 ステップS12では、仮想Y軸制御処理部411が、プログラム座標位置計算処理を行う。すなわち、仮想Y軸制御処理部411は、加減速処理部43から入力されたX-Y軸の移動量指令と、前回のX-Y移動位置とを用いて今回の移動位置(X軸座標「X1」、Y軸座標「Y1」)を計算する。
 ステップS13では、仮想Y軸制御処理部411が、座標変換処理(プログラム座標→機械座標の変換処理)を行う。すなわち、仮想Y軸制御処理部411は、プログラム座標系における今回の移動位置(X1,Y1)を上記の数式1~3により座標変換して、機械座標系における移動位置(Xr1,Hr1,Cr1)を求める。
 ステップS15では、仮想Y軸制御処理部411が、機械座標系における前回位置(Xr0,Hr0,Cr0)と今回の移動位置(Xr1,Hr1,Cr1)との差分をとることにより、機械座標系におけるX軸移動量(ΔXr1=Xr1-Xr0)とH軸回転量(ΔHr1=Hr1-Hr0)とC軸回転量(ΔCr1=Cr1-Cr0)とを計算する。仮想Y軸制御処理部411は、X軸の移動量指令(ΔXr1)を軸データ出力部42へ供給して処理をステップS17へ進めるとともに、H軸の回転量指令(ΔHr1)とC軸の回転量指令(ΔCr1)とを仮想Y軸制御指令合成部412へ供給して処理をステップS16へ進める。
 ステップS16では、仮想Y軸制御指令合成部412が、上記の数式4に示すように、H軸の単独回転量指令ΔHr2を、仮想Y軸制御処理部411により生成されたH軸の回転量指令ΔHr1と合成し、H軸の回転量指令ΔHrを生成する。同様に、仮想Y軸制御指令合成部412は、上記の数式5に示すように、C軸の単独回転量指令ΔCr2を、仮想Y軸制御処理部411により生成されたC軸の回転量指令ΔCr1と合成し、C軸の回転量指令ΔCrを生成する。仮想Y軸制御指令合成部412は、合成したH軸の回転量指令ΔHr及びC軸の回転量指令ΔCrを軸データ出力部42へ供給する。
 ステップS17では、軸データ出力部42が、軸データ出力処理を行う。すなわち、軸データ出力部42は、仮想Y軸制御処理部411から供給されたX軸の移動量指令ΔXr1を駆動部90へ供給するとともに、仮想Y軸制御指令合成部412から供給されたH軸の回転量指令ΔHr及びC軸の回転量指令ΔCrを駆動部90へ供給する。
 次に、実施の形態1にかかる数値制御装置1を用いたワークWの加工手順について、図4~図6を用いて説明する。図4は、数値制御装置1を用いたワークWの加工手順を示すフローチャートである。図5は、数値制御装置1の記憶部34に記憶された加工プログラム343における記述内容を示す図である。図6は、ワークWの加工手順に従ったタレット905及びワークWの動作を示す図である。以下では、一連の加工においてZ軸における位置が固定された状態に維持され、一連の加工が終わった後でZ軸の送り動作の駆動が行われる。
 図4に示すステップS21では、数値制御装置1が、図5に示す加工プログラム343における「N100 T1010」の記述に従って、加工に用いられるべき工具をフライス加工用の工具9051に交換させる。
 ステップS22では、数値制御装置1が、加工プログラム343における「N102 G00 C0」の記述に従って、C軸モードを選択する。
 ステップS23では、数値制御装置1が、加工プログラム343における「N103 G00 X60 H0 Z0」の記述に従って、工具9051の主軸方向と仮想平面におけるX軸方向とが平行になるX=60の位置に、タレット905及びワークWの位置決めを行う。仮想平面は、X軸と仮想Y軸とによって形成される平面であり、プログラム座標系におけるXY平面に対応した平面である。
 ステップS24では、数値制御装置1が、加工プログラム343における「N104 M111」の記述に従って、仮想Y軸制御モードを有効にする。
 ステップS25では、数値制御装置1が、加工プログラム343における「N106 G00 X20 Y50」の記述に従って、工具9051を加工開始位置(X=20,Y=50)に移動させる。
 ステップS26では、数値制御装置1が、加工プログラム343における「N107 G01 X20 Y-50 F1000」の記述に従って、加工開始位置(X=20,Y=50)から加工終了位置(X=20,Y=-50)まで工具9051によるフライス加工を行わせる。
 ステップS129では、数値制御装置1が、加工プログラム343における「N109 G00 C180」の記述に従って、ワークWを反転させ、ワークWを位置決めする。
 すなわち、仮想Y軸制御指令軸判定部414は、「N109 G00 C180」による指令がC軸の単独回転量指令であるため、C軸の単独回転量指令を仮想Y軸制御指令合成部412に供給させる。仮想Y軸制御指令合成部412は、C軸の単独回転量指令をC軸の回転量指令(ΔCr)として軸データ出力部42に出力する。C軸サーボ制御部94がC軸のサーボモータ904を回転駆動させる。これにより、図6にS129で示すように、ワークWを単独で回転させ反転させる(プログラム座標上のC180に位置決めされる)。
 ステップS32では、数値制御装置1が、加工プログラム343における「N111 G01 X20 Y50」の記述に従って、加工開始位置(X=20,Y=-50)から加工終了位置(X=20,Y=50)まで工具9051によるフライス加工を行わせる。
 ステップS33では、数値制御装置1が、加工プログラム343における「N113 G00 Y0」の記述に従って、工具9051の主軸方向と仮想平面におけるX軸方向とが平行になるように、タレット905及びワークWの位置決めを行う。
 ステップS135では、数値制御装置1が、加工プログラム343における「N114 T1111」の記述に従って、加工に用いられるべき工具を穴あけ加工用の工具9052に交換させる。
 すなわち、仮想Y軸制御指令軸判定部414は、「T1111」による指令がH軸の単独回転量指令であるため、H軸の単独回転量指令を仮想Y軸制御指令合成部412に供給させる。仮想Y軸制御指令合成部412は、H軸の単独回転量指令をH軸の回転量指令(ΔHr)として軸データ出力部42に出力する。H軸サーボ制御部92がH軸のサーボモータ902を回転駆動させる。これにより、図6にS135で示すように、タレット905を単独で回転させ工具交換動作を行わせる。
 ステップS136では、解析処理部37が、加工プログラム343における「N115 G00 X20 Y10」の記述に従って、工具9052を加工開始位置(X=20,Y=10)に移動させる。
 ステップS137では、解析処理部37が、加工プログラム343における「N116 G83 X5 D40 H3 F100」の記述に従って、工具9052による穴あけ加工を行わせる。
 ステップS138では、解析処理部37が、加工プログラム343における「N117 G00 X30 Y0」の記述に従って、工具9052の主軸方向と仮想平面におけるX軸方向とが平行になるX=30の位置に、タレット905及びワークWの位置決めを行う。
 ステップS34では、解析処理部37が、加工プログラム343における「N118 M101」の記述に従って、仮想Y軸制御モードをキャンセルする。
 ここで、仮に、図13に示すように、数値制御装置800の制御演算部830において、仮想Y軸制御部841が図2に示す仮想Y軸制御指令軸判定部414及び仮想Y軸制御指令合成部412を有しない場合について考える。この場合、図14に示すように、ワークWにおける一方側の被加工部位のフライス加工(ステップS26)とワークWにおける他方側の被加工部位のフライス加工(ステップS32)との間に、ステップS27~ステップS31を行なう必要がある。
 すなわち、ステップS27では、数値制御装置800が、図15に示す加工プログラム343における「N19 G00 Y0」の記述に従って、工具9051の主軸方向と仮想平面におけるX軸方向とが平行になるように、タレット905及びワークWの位置決めを行う。
 ステップS28では、数値制御装置800が、加工プログラム343における「N20 M10」の記述に従って、仮想Y軸制御モードをキャンセルする。
 ステップS29では、数値制御装置800が、加工プログラム343における「N21 G00 C180」の記述に従って、ワークWを反転させ位置決めする。
 ステップS30では、数値制御装置800が、加工プログラム343における「N22 M11」の記述に従って、仮想Y軸制御モードを再び有効にする。
 ステップS31では、数値制御装置800が、加工プログラム343における「N23 G00 X20 Y-50」の記述に従って、工具9051を加工開始位置に移動させる。
 すなわち、図16に示すように、ワーク軸(C軸)の位置決めをしながら、仮想Y軸制御モードによる加工を続ける場合、1つの加工(ステップS26)が終了する度に、ワーク軸(C軸)の位置決めできる位置に戻って工具方向と仮想平面X軸方向とを平行にし(ステップS27)、仮想Y軸制御モードをキャンセルし(ステップS28)、キャンセル後、ワーク軸(C軸)の位置決めを行い(ステップS29)、再び、仮想Y軸制御モードを有効にする(ステップS30)。このため、加工のサイクルタイムが長くなる傾向にある。
 それに対して、実施の形態1では、数値制御装置1の制御演算部30において、仮想Y軸制御部41が仮想Y軸制御指令軸判定部414及び仮想Y軸制御指令合成部412を有している。すなわち、仮想Y軸制御指令軸判定部414は、加工プログラム343による指令がC軸の単独回転量指令である場合、そのC軸の単独回転量指令を仮想Y軸制御指令合成部412経由でC軸の回転量指令として軸データ出力部42へ供給する。これにより、仮想Y軸制御モード中にワークWの回転を単独で行うことができるので、仮想Y軸制御モードをキャンセルすることなくワークWを位置決めすることができる。すなわち、図14に示すステップS27~ステップS31の処理に代えて図4に示すステップS129の処理を行うことができる。これにより、一連の加工における工程数を低減できるので、加工のサイクルタイムを低減できる。
 また、実施の形態1では、仮想Y軸制御指令軸判定部414が、加工プログラム343による指令がH軸の単独回転量指令である場合、そのH軸の単独回転量指令を仮想Y軸制御指令合成部412経由でH軸の回転量指令として軸データ出力部42へ供給する。これにより、仮想Y軸制御モード中にタレット905の回転を単独で行うことができるので、仮想Y軸制御モードをキャンセルすることなく工具9051、9052を交換することができる。すなわち、図4に示すように、フライス加工(ステップS32)が終わった後に仮想Y軸制御モードをキャンセルすることなく工具交換(ステップS135)を行うことができ、仮想Y軸制御モードを再び有効にする必要もないため、すぐに穴あけ加工(ステップS137)を行うことができる。これにより、一連の加工における工程数を低減できるので、加工のサイクルタイムを低減できる。
実施の形態2.
 次に、実施の形態2にかかる数値制御装置1について説明する。以下では、実施の形態1と異なる部分を中心に説明する。
 実施の形態2にかかる数値制御装置1は、図7~図9に示すように、工具交換(図4に示すステップS135)と、工具9052のワークWの加工開始位置への移動(図4に示すステップS136)とを加工プログラム343中の同じブロック(図7に示すステップS235)において並行して行わせる。図7は、実施の形態2にかかる数値制御装置1を用いたワークWの加工手順を示すフローチャートである。図8は、実施の形態2にかかる数値制御装置1の記憶部34に記憶された加工プログラム343における記述内容を示す図である。図9は、実施の形態2におけるワークWの加工手順に従ったタレット905及びワークWの動作を示す図である。
 図7に示すステップS235では、図4に示すステップS135の処理とステップS136の処理とが並行して行われる。すなわち、ステップS235では、数値制御装置1が、図8に示す加工プログラム343における「N211 G00 X20 Y10 T1111」の記述に従って、加工に用いられるべき工具を穴あけ加工用の工具9052に交換させるとともに、工具9052を加工開始位置に移動させる。
 具体的には、仮想Y軸制御指令軸判定部414は、「G00 X20 Y10」による指令がX-Y軸の移動量指令であるため、X-Y軸の移動量指令を仮想Y軸制御処理部411に供給させる。仮想Y軸制御処理部411は、プログラム座標系におけるX-Y軸の移動量指令を用いて、機械座標系におけるX軸の移動量指令(ΔXr1)とH軸の回転量指令(ΔHr1)とC軸の回転量指令(ΔCr1)とを生成する。仮想Y軸制御処理部411は、X軸の移動量指令(ΔXr1)を軸データ出力部42へ供給するとともに、H軸の回転量指令(ΔHr1)とC軸の回転量指令(ΔCr1)とを仮想Y軸制御指令合成部412へ供給する。
 また、仮想Y軸制御指令軸判定部414は、「T1111」による指令がH軸の単独回転量指令(ΔH2)であるため、H軸の単独回転量指令(ΔH2)を仮想Y軸制御指令合成部412へ供給させる。仮想Y軸制御指令合成部412は、上記の数式4に示すように、H軸の単独回転量指令ΔHr2を、仮想Y軸制御処理部411により生成されたH軸の回転量指令ΔHr1と合成しH軸の回転量指令ΔHrを生成する。仮想Y軸制御指令合成部412は、合成したH軸の回転量指令ΔHrを軸データ出力部42へ供給する。
 さらに、仮想Y軸制御指令合成部412は、C軸の単独回転量指令を受けていないので、回転量零のC軸の単独回転量指令ΔCr2(=0)をC軸の回転量指令ΔCr1と合成し、C軸の回転量指令ΔCrを生成し、生成したC軸の回転量指令ΔCrを軸データ出力部42へ供給する。
 その結果、図9にS235で示すように、工具交換を行いながら、加工開始位置に位置決めすることができる。
 以上のように、実施の形態2では、仮想Y軸制御指令合成部412が、H軸の単独回転量指令を、X-Y軸の移動量指令に応じて仮想Y軸制御処理部411により生成されたH軸の回転量指令と合成してH軸の回転量指令を生成して軸データ出力部42へ供給する。これにより、H軸の単独回転量指令に従ってタレット905を単独で回転させて工具交換を行いながら、X-Y軸の移動量指令に従って工具をワークWの加工開始位置に移動させることが可能となる。すなわち、工具交換(図4に示すステップS135)と、工具9052のワークWの加工開始位置への移動(図4に示すステップS136)とを加工プログラム343中の同じブロック(図7に示すステップS235)において並行して行わせる。これにより、一連の加工における工程数をさらに低減できるので、加工のサイクルタイムをさらに低減できる。
実施の形態3.
 次に、実施の形態3にかかる数値制御装置1について説明する。以下では、実施の形態1と異なる部分を中心に説明する。
 実施の形態3にかかる数値制御装置1は、図10~図12に示すように、工具交換(図4に示すステップS135)と、ワークWの位置決め(図4に示すステップS129と同様の処理)と、工具9052のワークWの加工開始位置への移動(図4に示すステップS136)とを加工プログラム343中の同じブロック(図10に示すステップS335)において並行して行わせる。図10は、実施の形態3にかかる数値制御装置1を用いたワークWの加工手順を示すフローチャートである。図11は、実施の形態3にかかる数値制御装置1の記憶部34に記憶された加工プログラム343における記述内容を示す図である。図12は、実施の形態3におけるワークWの加工手順に従ったタレット905及びワークWの動作を示す図である。
 図10に示すステップS335では、図4に示すステップS135の処理とステップS136の処理とに加えてワークWの位置決めが並行して行われる。すなわち、ステップS335では、数値制御装置1が、図11に示す加工プログラム343における「N311 G00 X20 Y10 C-180 T1111」の記述に従って、加工に用いられるべき工具を穴あけ加工用の工具9052に交換させながら、工具9052を加工開始位置に移動させるとともに、ワークWの位置決めを行う。
 具体的には、仮想Y軸制御指令軸判定部414は、「G00 X20 Y10」による指令がX-Y軸の移動量指令であるため、X-Y軸の移動量指令を仮想Y軸制御処理部411に供給させる。仮想Y軸制御処理部411は、プログラム座標系におけるX-Y軸の移動量指令を用いて、機械座標系におけるX軸の移動量指令(ΔXr1)とH軸の回転量指令(ΔHr1)とC軸の回転量指令(ΔCr1)とを生成する。仮想Y軸制御処理部411は、X軸の移動量指令(ΔXr1)を軸データ出力部42へ供給するとともに、H軸の回転量指令(ΔHr1)とC軸の回転量指令(ΔCr1)とを仮想Y軸制御指令合成部412へ供給する。
 また、仮想Y軸制御指令軸判定部414は、「C180」による指令がC軸の単独回転量指令(ΔC2)であるため、C軸の単独回転量指令(ΔC2)を仮想Y軸制御指令合成部412へ供給させる。仮想Y軸制御指令合成部412は、上記の数式5に示すように、C軸の単独回転量指令ΔCr2を、仮想Y軸制御処理部411により生成されたC軸の回転量指令ΔCr1と合成してC軸の回転量指令ΔCrを生成する。仮想Y軸制御指令合成部412は、合成したC軸の回転量指令ΔCrを軸データ出力部42へ供給する。
 また、仮想Y軸制御指令軸判定部414は、「T1111」による指令がH軸の単独回転量指令(ΔH2)であるため、H軸の単独回転量指令(ΔH2)を仮想Y軸制御指令合成部412へ供給させる。仮想Y軸制御指令合成部412は、上記の数式4に示すように、H軸の単独回転量指令ΔHr2を、仮想Y軸制御処理部411により生成されたH軸の回転量指令ΔHr1と合成してH軸の回転量指令ΔHrを生成する。仮想Y軸制御指令合成部412は、合成したH軸の回転量指令ΔHrを軸データ出力部42へ供給する。
 その結果、図12にS335で示すように、工具交換を行うとともに、加工開始位置に位置決めしながら、ワークWの位置決めを行うことができる。
 以上のように、実施の形態3では、仮想Y軸制御指令合成部412が、H軸の単独回転量指令を、X-Y軸の移動量指令に応じて仮想Y軸制御処理部411により生成されたH軸の回転量指令と合成してH軸の回転量指令を生成して軸データ出力部42へ供給する。それとともに、仮想Y軸制御指令合成部412が、C軸の単独回転量指令を、X-Y軸の移動量指令に応じて仮想Y軸制御処理部411により生成されたC軸の回転量指令と合成してC軸の回転量指令を生成して軸データ出力部42へ供給する。これにより、H軸の単独回転量指令に従ってタレットを単独で回転させて工具交換を行わせながら、C軸の単独回転量指令に従ってワークを単独で回転させてワークの位置決めを行うとともに、X-Y軸の移動量指令に従って工具をワークの加工開始位置に移動させることが可能となる。すなわち、工具交換(図4に示すステップS135)と、ワークWの位置決め(図4に示すステップS129と同様の処理)と、工具9052のワークWの加工開始位置への移動(図4に示すステップS136)とを加工プログラム343中の同じブロック(図10に示すステップS335)において並行して行わせる。これにより、一連の加工における工程数をさらに低減できるので、加工のサイクルタイムをさらに低減できる。
 以上のように、本発明にかかる数値制御装置は、仮想Y軸制御によるワークの加工に適している。
 1 数値制御装置
 10 表示部
 20 入力操作部
 30 制御演算部
 31 画面処理部
 32 入力制御部
 33 データ設定部
 34 記憶部
 35 機械制御信号処理部
 36 PLC
 37 解析処理部
 38 補間処理部
 39 仮想Y軸制御切換処理部
 41 仮想Y軸制御部
 42 軸データ出力部
 43 加減速処理部
 44 スイッチ
 90 駆動部
 91 X軸サーボ制御部
 92 H軸サーボ制御部
 93 Z軸サーボ制御部
 94 C軸サーボ制御部
 342 工具補正データ
 343 加工プログラム
 344 画面表示データ
 345 共有エリア
 351 仮想Y軸制御モード信号処理部
 411 仮想Y軸制御処理部
 412 仮想Y軸制御指令合成部
 414 仮想Y軸制御指令軸判定部
 800 数値制御装置
 830 制御演算部
 841 仮想Y軸制御部
 900 工作機械
 901 サーボモータ
 902 サーボモータ
 903 サーボモータ
 904 サーボモータ
 905 タレット
 906 ワーク支持部
 9051 工具
 9052 工具
 W ワーク

Claims (6)

  1.  複数の工具が取り付けられるタレットを移動させるX軸と、前記タレットを回転させるH軸と、ワークを回転させるC軸とを有し、前記X軸に直交するY軸を有さない工作機械を制御する数値制御装置であって、
     加工プログラム中のX-Y軸移動指令をX-H-C座標系での指令に変換し、変換した指令に従ってX軸、H軸およびC軸を連動駆動する仮想Y軸制御モード中に、前記H軸の単独回転指令に従って前記H軸を単独で回転させ、工具交換を行う手段を備えた
     ことを特徴とする数値制御装置。
  2.  複数の工具が取り付けられるタレットを移動させるX軸と、前記タレットを回転させるH軸と、ワークを回転させるC軸とを有し、前記X軸に直交するY軸を有さない工作機械を制御する数値制御装置であって、
     加工プログラム中のX-Y軸移動指令をX-H-C座標系での指令に変換し、変換した指令に従ってX軸、H軸およびC軸を連動駆動する仮想Y軸制御モード中に、前記C軸の単独回転指令に従って前記C軸を単独で回転させ、前記ワークの位置決めを行う手段を備えた
     ことを特徴とする数値制御装置。
  3.  複数の工具が取り付けられるタレットを移動させるX軸と、前記タレットを回転させるH軸と、ワークを回転させるC軸とを有し、前記X軸に直交するY軸を有さない工作機械を制御する数値制御装置であって、
     加工プログラム中のX-Y軸移動指令をX-H-C座標系での指令に変換し、変換した指令に従ってX軸、H軸およびC軸を連動駆動する仮想Y軸制御モード中に、前記X-Y軸の移動指令に従って前記工具を前記ワークの加工開始位置に移動させながら、前記H軸の単独回転指令に従って前記H軸を単独で回転させて工具交換を行う手段を備えた
     ことを特徴とする数値制御装置。
  4.  複数の工具が取り付けられるタレットを移動させるX軸と、前記タレットを回転させるH軸と、ワークを回転させるC軸とを有し、前記X軸に直交するY軸を有さない工作機械を制御する数値制御装置であって、
     加工プログラム中のX-Y軸移動指令をX-H-C座標系での指令に変換し、変換した指令に従ってX軸、H軸およびC軸を連動駆動する仮想Y軸制御モード中に、前記X-Y軸の移動指令に従って前記工具を前記ワークの加工開始位置に移動させながら、前記C軸の単独回転指令に従って前記C軸を単独で回転させて前記ワークの位置決めを行う手段を備えた
     ことを特徴とする数値制御装置。
  5.  複数の工具が取り付けられるタレットを移動させるX軸と、前記タレットを回転させるH軸と、ワークを回転させるC軸とを有し、前記X軸に直交するY軸を有さない工作機械を制御する数値制御装置であって、
     加工プログラム中のX-Y軸移動指令をX-H-C座標系での指令に変換し、変換した指令に従ってX軸、H軸およびC軸を連動駆動する仮想Y軸制御モード中に、前記X-Y軸の移動指令に従って前記工具を前記ワークの加工開始位置に移動させながら、前記H軸の単独回転指令に従って前記H軸を単独で回転させる工具交換と前記C軸の単独回転指令に従って前記C軸を単独で回転させる前記ワークの位置決めとを行う手段を備えた
     ことを特徴とする数値制御装置。
  6.  複数の工具が取り付けられるタレットを移動させるX軸と、前記タレットを回転させるH軸と、ワークを回転させるC軸とを有し、前記X軸に直交するY軸を有さない工作機械を制御する数値制御装置であって、
     プログラム座標系で作成された加工プログラムの指令を、1ブロック毎に、X軸移動指令及びY軸移動指令の少なくとも一方を含む第1移動指令と、H軸単独移動指令及びC軸移動指令の少なくとも一方を含む第2移動指令とに分離する分離部と、
     前記第1移動指令をX-H-C軸から成る機械座標系の指令に変換する座標変換部と、
     前記変換されたH軸移動指令と前記分離されたH軸単独移動指令とを合成し、前記変換されたC軸移動指令と前記分離されたC軸単独移動指令とを合成する合成部と、
     前記変換されたX軸移動指令、前記合成されたH軸移動指令およびC軸移動指令に従って前記X軸、H軸、C軸を駆動制御する駆動部と、
     を備えることを特徴とする数値制御装置。
PCT/JP2011/052287 2011-02-03 2011-02-03 数値制御装置 WO2012105028A1 (ja)

Priority Applications (6)

Application Number Priority Date Filing Date Title
US13/977,857 US9557728B2 (en) 2011-02-03 2011-02-03 Numerical control apparatus
JP2011525343A JP5014515B1 (ja) 2011-02-03 2011-02-03 数値制御装置
CN201180066661.9A CN103370661B (zh) 2011-02-03 2011-02-03 数控装置
DE112011104832.7T DE112011104832B4 (de) 2011-02-03 2011-02-03 Numerische-Steuerung-Vorrichtung
PCT/JP2011/052287 WO2012105028A1 (ja) 2011-02-03 2011-02-03 数値制御装置
TW100117340A TWI457736B (zh) 2011-02-03 2011-05-18 數值控制裝置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2011/052287 WO2012105028A1 (ja) 2011-02-03 2011-02-03 数値制御装置

Publications (1)

Publication Number Publication Date
WO2012105028A1 true WO2012105028A1 (ja) 2012-08-09

Family

ID=46602269

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2011/052287 WO2012105028A1 (ja) 2011-02-03 2011-02-03 数値制御装置

Country Status (6)

Country Link
US (1) US9557728B2 (ja)
JP (1) JP5014515B1 (ja)
CN (1) CN103370661B (ja)
DE (1) DE112011104832B4 (ja)
TW (1) TWI457736B (ja)
WO (1) WO2012105028A1 (ja)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5851078B1 (ja) * 2015-07-21 2016-02-03 ヤマザキマザック株式会社 タレット刃物台及びこれを備えた工作機械
DE112012006872B4 (de) 2012-09-04 2018-08-16 Mitsubishi Electric Corporation Numeriksteuervorrichtung
WO2021230202A1 (ja) * 2020-05-15 2021-11-18 ファナック株式会社 数値制御装置及び制御方法

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105900026B (zh) * 2014-01-10 2018-06-12 三菱电机株式会社 数控装置
JP6396346B2 (ja) * 2016-01-15 2018-09-26 ファナック株式会社 タレット回転による切込み制御機能を有する数値制御装置
CN106239153A (zh) * 2016-08-30 2016-12-21 中航动力株洲航空零部件制造有限公司 数控车床铣削加工控制方法及装置
JP6549646B2 (ja) * 2017-07-06 2019-07-24 ファナック株式会社 工作機械および原点補正方法
DE102018005612A1 (de) 2017-07-19 2019-01-24 Fanuc Corporation Führungsanzeigeverfahren
CN107953216B (zh) * 2017-12-12 2019-06-14 上海机床厂有限公司 转塔式复合磨床工件坐标系变换方法

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59205206A (ja) * 1983-05-04 1984-11-20 Ikegai Corp 数値制御工作機械の刃物台
JPS62163109A (ja) * 1986-01-14 1987-07-18 Mitsubishi Electric Corp 数値制御装置
JPS6440206A (en) * 1987-08-05 1989-02-10 Citizen Watch Co Ltd Numerically controlled compound lathe and machining method using same
JPH0241801A (ja) * 1988-07-29 1990-02-13 Okuma Mach Works Ltd Y軸加工方法
JPH0333441B2 (ja) * 1983-08-05 1991-05-17 Indetsukusu Fuerubarutsungusu Gmbh
JPH04171104A (ja) * 1990-10-31 1992-06-18 Citizen Watch Co Ltd タレット型数値制御旋盤
JPH06348329A (ja) * 1993-06-04 1994-12-22 Fanuc Ltd 工作機械の制御方法

Family Cites Families (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5040206B1 (ja) * 1970-02-02 1975-12-23
US4054975A (en) * 1975-03-06 1977-10-25 Carl William Lundstrom Turret lathe apparatus
JPS5933507A (ja) 1982-08-18 1984-02-23 Mitsubishi Electric Corp 複刃物台付加工機械の数値制御加工方式
JPS60198606A (ja) 1984-03-21 1985-10-08 Fanuc Ltd 数値制御装置の加減速方式
JPS63273105A (ja) 1987-04-30 1988-11-10 Fanuc Ltd 数値制御装置
JPH0333441A (ja) * 1989-06-29 1991-02-13 Mazda Motor Corp 車両のスリップ制御装置
JPH05108134A (ja) 1990-12-18 1993-04-30 Hitachi Seiki Co Ltd 主軸の割出対応の座標変換方法
JP3035364B2 (ja) 1991-02-06 2000-04-24 株式会社豊田自動織機製作所 スクロール形状加工装置
JPH06332524A (ja) 1993-05-20 1994-12-02 Fanuc Ltd 数値制御装置における速度制御方法
DE19904253A1 (de) 1999-02-03 2000-08-10 Index Werke Kg Hahn & Tessky Werkzeugmaschine
WO2002034463A1 (fr) * 2000-10-26 2002-05-02 Citizen Watch Co., Ltd. Procede et appareil permettant de preparer automatiquement un programme de traitement
JP4220732B2 (ja) 2002-06-27 2009-02-04 中村留精密工業株式会社 旋回工具タレットを備えた工作機械の制御方法
JP2004306073A (ja) * 2003-04-04 2004-11-04 Fanuc Ltd レーザ加工装置、及びレーザ加工方法
JP2005305579A (ja) 2004-04-20 2005-11-04 Makino Milling Mach Co Ltd Nc工作機械の制御方法及び制御装置
US7266425B2 (en) * 2004-09-30 2007-09-04 Rockwell Automation Technologies, Inc. Systems and methods that facilitate motion control through coordinate system transformations
TWM278500U (en) * 2005-05-16 2005-10-21 Leadjeck Automation Co Ltd C shaft driving structure for CNC lathing and milling machining center
JP4168060B2 (ja) * 2006-04-24 2008-10-22 ファナック株式会社 円錐状の加工面の加工を可能にした数値制御装置
JP4947214B2 (ja) * 2008-05-13 2012-06-06 三菱電機株式会社 数値制御方法及びその装置
CN101633025B (zh) * 2009-07-27 2011-04-13 嵊州市金狮弹簧机械有限公司 数控压簧机变径机构
JP4847613B2 (ja) * 2010-05-10 2011-12-28 ファナック株式会社 多軸加工機用数値制御装置
WO2012101790A1 (ja) * 2011-01-26 2012-08-02 三菱電機株式会社 数値制御装置

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59205206A (ja) * 1983-05-04 1984-11-20 Ikegai Corp 数値制御工作機械の刃物台
JPH0333441B2 (ja) * 1983-08-05 1991-05-17 Indetsukusu Fuerubarutsungusu Gmbh
JPS62163109A (ja) * 1986-01-14 1987-07-18 Mitsubishi Electric Corp 数値制御装置
JPS6440206A (en) * 1987-08-05 1989-02-10 Citizen Watch Co Ltd Numerically controlled compound lathe and machining method using same
JPH0241801A (ja) * 1988-07-29 1990-02-13 Okuma Mach Works Ltd Y軸加工方法
JPH04171104A (ja) * 1990-10-31 1992-06-18 Citizen Watch Co Ltd タレット型数値制御旋盤
JPH06348329A (ja) * 1993-06-04 1994-12-22 Fanuc Ltd 工作機械の制御方法

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE112012006872B4 (de) 2012-09-04 2018-08-16 Mitsubishi Electric Corporation Numeriksteuervorrichtung
JP5851078B1 (ja) * 2015-07-21 2016-02-03 ヤマザキマザック株式会社 タレット刃物台及びこれを備えた工作機械
WO2017013738A1 (ja) * 2015-07-21 2017-01-26 ヤマザキマザック株式会社 タレット刃物台及びこれを備えた工作機械
US10773313B2 (en) 2015-07-21 2020-09-15 Yamazaki Mazak Corporation Turret tool rest and machine tool
WO2021230202A1 (ja) * 2020-05-15 2021-11-18 ファナック株式会社 数値制御装置及び制御方法
JP7401661B2 (ja) 2020-05-15 2023-12-19 ファナック株式会社 数値制御装置及び制御方法

Also Published As

Publication number Publication date
TWI457736B (zh) 2014-10-21
JP5014515B1 (ja) 2012-08-29
US9557728B2 (en) 2017-01-31
CN103370661A (zh) 2013-10-23
DE112011104832B4 (de) 2022-12-01
JPWO2012105028A1 (ja) 2014-07-03
US20140114465A1 (en) 2014-04-24
DE112011104832T5 (de) 2013-10-31
CN103370661B (zh) 2015-12-09
TW201234149A (en) 2012-08-16

Similar Documents

Publication Publication Date Title
JP5014515B1 (ja) 数値制御装置
TWI448850B (zh) 數值控制裝置
JP5132842B1 (ja) 数値制御装置
WO2014038101A1 (ja) 数値制御装置
TW201430511A (zh) 決定共同地追蹤參考軌跡之複聯致動器的軌跡之方法
JP2011237885A (ja) テーブル形式データでの制御における刃先r補正または工具径補正の機能を備えた数値制御装置
WO2013179366A1 (ja) 数値制御装置
CN113168155B (zh) 数控装置及数控方法
US7552002B2 (en) Numerical controller
WO2019012692A1 (ja) 数値制御装置および数値制御方法
JPWO2011117915A1 (ja) 数値制御装置及び数値制御方法
JP2005071016A (ja) 数値制御装置
WO2002091089A1 (fr) Tour automatique, procede et dispositif de controle associes
JP5199209B2 (ja) テーブル旋回5軸加工機用数値制御装置
JP5669993B1 (ja) 数値制御装置
JPWO2002091090A1 (ja) 自動旋盤及びその制御方法及びその制御装置
JP2007172325A (ja) 自由曲線加工法および数値制御装置
JP5717926B2 (ja) 数値制御装置
JPH07185901A (ja) 重畳加工制御方法及びその数値制御装置
JP6641543B1 (ja) 数値制御装置
US20160116902A1 (en) Numerical controller operating from table-format data
WO2023053349A9 (ja) 数値制御装置
JP2007233575A (ja) 数値制御装置および工作機械の制御方法
JP2003005814A (ja) 非真円形工作物の加工方法
JP2023102482A (ja) 工作機械、工作機械の制御方法、および工作機械の制御プログラム

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201180066661.9

Country of ref document: CN

WWE Wipo information: entry into national phase

Ref document number: 2011525343

Country of ref document: JP

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

Ref document number: 11857491

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 13977857

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 1120111048327

Country of ref document: DE

Ref document number: 112011104832

Country of ref document: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11857491

Country of ref document: EP

Kind code of ref document: A1