Numerical controller capable of specifying halt point
10108171 ยท 2018-10-23
Assignee
Inventors
Cpc classification
International classification
Abstract
A numerical controller of the invention includes a halt block specifying unit that specifies, from among blocks corresponding to unmachined sections of a machining program, a command block in which halting is allowed to occur as a halt block during an automatic operation of a machine tool, a halt position selecting unit that selects, as a position at which the automatic operation is halted, any one of a start point, an intermediate point, and an end point of the halt block, and a halting unit that halts the automatic operation at a position selected by the halt position selecting unit.
Claims
1. A numerical controller including a processor configured to perform machining while controlling a machine tool according to a machining program, the processor of the numerical controller configured to: register a plurality of commands which an automatic operation of the machine tool is safely halted; switch enabling/disabling of the halt based on the plurality of registered commands; select, as a position at which the automatic operation is halted, any one of a start point of a block by selecting a setting point button and a start point button, an intermediate point of the block by selecting the setting point button and an intermediate point button, and an end point of the block by selecting the setting point button and an end point button based on a command of the plurality of registered commands and based on the selection of the setting button and the selection of the any one of the start point button, the intermediate point button, and the end point button by an operator; and halt the automatic operation at the selected position when the command of the plurality of registered commands is executed and when switching enabling/disabling of the halt based on the plurality of registered commands.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) Other objects and features of the present invention will become apparent from the following detailed description taken in conjunction with the accompanying drawings, in which
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
(13)
(14) A numerical controller 100 controls a machine tool 102. A CPU 111 serving as a processor controls the entire operation of the numerical controller 100 according to a system program stored in a ROM 112. A RAM 113 stores various data and an input/output signal. Various data stored in a non-volatile memory 114 are retained even after power-off.
(15) A graphic control circuit 115 converts a digital signal to a display signal and supplies the obtained display signal to a display 116. A keyboard 117 is a device for inputting various setting data, provided with numerical keys, character keys, and the like.
(16) An axis control circuit 118 receives from the CPU 111 a moving command of each axis and outputs the moving command to a servo amplifier 119. The servo amplifier 119 receives the moving command and drives a servo motor (not illustrated) of the machine tool 102. The components described above are connected to each other via a bus 121. A PMC (Programmable Machine Controller) 122 receives a T function signal (tool selecting command) and the like via the bus 121 during execution of a machining program. Then, the PMC 122 processes the received signal according to a sequence program and outputs as an operation command to control the machine tool 102.
(17) Further, the PMC 122 receives a state signal from the machine tool 102 and transfers a necessary input signal to the CPU 111. In addition, a software key 123 whose function changes according to the system program or the like and an interface 124 for transmitting NC data to an external device such as a storage device are connected to the bus 121. The software key 123 is arranged on a display/MDI panel 125 together with the display 116 and the keyboard 117.
(18) The above is a known numerical controller configured to control a machine tool. In the following some embodiments of the present invention, the numerical controller 100 is configured to be capable of: specifying a halt block from among blocks corresponding to unmachined sections during machining, and halting the automatic operation when the halt block is executed; previously registering a command allowing a halt operation to be executed and halting the automatic operation according to the registered command; analyzing a non-cutting state where a machining flaw or tool damage does not occur due to halt and subsequent resume operations and halting the automatic operation based on the analysis; and setting the number of blocks to be executed in a single activation of the machine tool and halting the automatic operation when the number of blocks actually executed reaches the set number of blocks. With each of the above configurations, the halt/resume of the automatic operation can be executed without involving the machining flaw or tool damage.
(19) This eliminates the need of inserting the halt command, thereby saving time and trouble in creating the machining program, and eliminates the need of measuring a timing at which the halt operation is executed. Further, it is not necessary to observe the machining state at the machine side until a state where the halt operation can be executed is reached. Further, when a machining program composed of successive minute blocks is checked, the minute blocks are executed in a block unit corresponding to the specified number of blocks, facilitating a check operation.
(20) <First Embodiment>
(21)
(22) In the machining program being executed, a halt block (command block in which the halt is allowed to occur) can be specified from among blocks corresponding to unmachined sections. The halt block can be specified by moving the program cursor to a target command block, by specifying a sequence number in the machining program, or by specifying a path of the unmachined section of a drawing path using a touch panel.
(23) As an example in which the halt block is specified using the program cursor, the operator moves the program cursor to specify a command block in which the halt is allowed to occur. The automatic operation is halted at a start point of the halt block, an intermediate point thereof, or an end point thereof. The automatic operation is halted when a command block being read for execution is the halt block. It is possible to make a setting such that the automatic operation is halted at any one of the start point of the halt block, intermediate point thereof, or end point thereof. Thus, when there occurs a need to halt the automatic operation after start of the machining, the automatic operation can easily be halted in a command block in which the halt operation does not affect the machining.
(24) In
(25) As illustrated in
(26) A processing flow illustrated in
<Second Embodiment>
(27)
(28) A plurality of commands allowing execution of the halt operation can be set in a memory. As the memory, the non-volatile memory 114 (see
(29) A switch capable of switching enable/disable of the halt based on the registered command is prepared. This switch can be prepared as a software key displayed on the display 116. Here, assume that the halt based on the registered command is enabled by the switch while the machine tool 102 machines the work 6 according to the machining program. In this case, when a command block read for execution includes any one of the plurality of registered commands, the automatic operation is halted in the read command block. It is possible to make a setting such that the automatic operation is halted at any one of the start point of the halt block, intermediate point thereof, or end point thereof (see
(30) According to the second embodiment, the operator can previously register, in the memory, a command allowing the halt operation to be executed without any problems. The operator can enable the halt based on the registered command when there occurs a need to halt the automatic operation during the machining. When any one of the plurality of registered commands is set in a block to be currently executed, the machine tool 102 can halt the automatic operation at any one of the start point, intermediate point, and end point of the block to be currently executed.
(31) A processing flow illustrated in
<Third Embodiment>
(32)
(33) When there occurs a need to halt the automatic operation after start of the machining, the operator selects halt based on a non-cutting state using an operation button. It is determined whether or not the machining state is in the non-cutting state (state where cutting is not performed) based on a motor load state or a discharge state (in the case of discharge machining), and when an affirmative result is obtained, the automatic operation is halted.
(34) A switch capable of switching enable/disable of the halt based on the non-cutting state is prepared. When the halt based on the non-cutting state is enabled by the switch during the machining, it is determined whether or not the machining state is in the non-cutting state based on a motor load state or a discharge state (in the case of discharge machining), and when an affirmative result is obtained, the automatic operation is halted. Thus, when there occurs a need to halt the automatic operation after start of the machining, the automatic operation can easily be halted in the non-cutting state in which the halt operation does not affect the machining.
(35) A processing flow illustrated in
<Fourth Embodiment>
(36)
(37) A processing flow illustrated in