Patent ID: 9557728
Date: 2017-01-31
CPC Classifications: G05B

Claim:
1. A numerical control apparatus that controls a machine tool including an X axis for moving a turret to which a plurality of tools are attached, an H axis for rotating the turret, and a C axis for rotating a work and not including a Y axis orthogonal to the X axis, the numerical control apparatus comprising a unit configured to independently rotate the H axis according to an independent rotation command for the H axis and to perform tool replacement during an imaginary Y-axis control mode, the imaginary Y-axis control mode being a mode for converting an X-Y axes movement command in a machining program into a command in an X-H-C coordinate system and for driving the X axis, the H axis, and the C axis in association with one another according to the converted command, wherein a rotation center line of the C axis and a rotation center line of the H axis are substantially parallel to each other, and the unit configured to independently rotate the H axis according to the independent rotation command for the H axis and to perform tool replacement includes: a separating unit configured to separate, for each block among blocks, a command of a machining program created in a program coordinate system into a first movement command and a second movement command, the first movement command including at least one of an X-axis movement command and a Y-axis movement command, the second movement command including at least one of an H-axis independent movement command and a C-axis independent movement command; a coordinate converting unit configured to convert the first movement command into a command of a machine coordinate system including the X-H-C axes; and a combining unit configured to combine the converted H-axis movement command and the separated H-axis independent movement command and to combine the converted C-axis movement command and the separated C-axis independent movement command.