主权项 |
1. A machining time estimating device that estimates a machining time required for a machine tool to machine a workpiece, the machine tool being controlled based on an NC program, the machining time estimating device comprising:
a storage unit that stores first segment information on a plurality of segments that forms a first NC program; a program dividing unit that divides a second NC program modified based on the first NC program into a plurality of segments, and generates second segment information on the plurality of segments; a segment relation specifying unit that specifies correlation between the plurality of segments that forms the first NC program and the plurality of segments that forms the second NC program, based on the first segment information and the second segment information; an estimation segment determining unit that determines a machining time estimation target segment among the plurality of segments that forms the second NC program; and a machining time estimating unit that estimates a machining time required for the machining of the machine tool controlled based on the second NC program, wherein the first segment information includes an estimated machining time based on the plurality of segments for each of the plurality of segments that forms the first NC program, and the machining time estimating unit is configured to estimate the machining time for a segment that is determined as the machining time estimation target segment by the estimation segment determining unit, and acquire the estimated machining time included in the first segment information with respect to segments that are determined as segments other than the machining time estimation target segment by the estimation segment determining unit, to thereby calculate a total machining time. |