NUMERICALLY CONTROLLED MACHINE TOOL SYSTEM

Abstract: Disclosed is a system whereby when a work is actually placed on the work table of a numerically controlled machine tool and tha work is actually machined in accordance with the data actually inputted by the operator as desired or through manual operation of the machine tool, the resulting desired numerical data are successively stored in the system. When the series of machining operations are completed, the data stored in the memory system provide sufficient data as a machining or part program which can be utilized as an input program for machining parts of the same kind.

Description: MANUALLY INPUTTED DATA MEMORY SYSTEM FOR NUMERICALLY CONTROLLED MACHINE TOOLS The present invention relates to a memory system for preparing the required program data for a numerically controlled machine tool by storing the manually inputted data or the numerical data corresponding to the movements of the machine tool during the manual operation thereof. In recent years, the numerical control has become popular remarkably and it has been used by being incorporated in a large number of machine tools such as machining centers. The principal function of numerical control systems is such that a program tape is prepared and a machine tool is operated in accordance with the tape or alternatively the program data of such tape is stored in the internal memory of the numerical control system and the data are read from the memory to effect the memory-controlled operation. This type of numerical control system has manual data inputting means such as a keyboad which is incorporated in the control panel as an auxiliary function for the tapecontrolled operation and the memory-controlled operation thereby allowing the operation in accordance with the manually inputted data. A machine tool equipped with such numerical control system cannot be operated unless a program is inputted to it so that how the machining is to be accomplished is entirely left to the discretion of a programmer and the operator that actually performs the machining is required only to perform the operation of inserting the prepared tape in the system. In fact, the preparation of a program requires a high degree of knowledge and the actual preparation of programs shows that the satisfactory machining cannot be accomplished unless the program is corrected many times through test machining. While there will be no problem with the mass production of limited kinds of parts, a considerable inconvenience would be encountered in the production of a diversity of parts in small quantities. The present invention has been made in view of these circumstances in the prior art, and it is the primary object of this invention to provide a manually inputted data memory system for numerically controlled machine tools which is so designed that the preparation of a program can be effected, while looking at a drawing, by an operator himself who has the most ample knowledge about the machining conditions and who performs the actual machining. In other words, in accordance with the invention there is provided a manually inputted data memory system for numerically controlled machine tools in which with a work actually placed on the work table of a numerically controlled machine tool, the operator himself actually inputs data manually as desired or the operator effects the machining through manual operation of the machine so as to successively store the numerical data during the operation, so that when the machining is completed, a program of a series of machining operations is obtained and the machining of the next work is accomplished automatically through memorycontrolled operation in accordance with the thus obtained program. In accordance with one form of the invention there is a feature that in combination with a numerical control system for machine tools capable of manually inputting numerical data by means of a manual data inputting control panel and operating the machine in accordance with the inputted data, a memory system comprises a memory for temporarily storing the manually inputted data, and a controller for controlling the entry of the manually inputted data into the temporary memory and the transfer of the data stored in the temporary memory to the memory in the numerical control system. In accordance with another form of the invention there is another feature that in combination with a numerical control system for machine tools in which upon manual operation of a machine tool the positional data of a processing tool obtained during the manual machining operations are generated as numerical signals, a memory system comprises a memory for temporarily storing the numerical signals, and a controller for controlling the entry of the numerical signals into the temporary memory and the transfer of the data stored in the temporary memory to the memory in the numerical control system. Thus, the memory system according to this invention can be combined with a numerical control system for machine tools with the resulting effects that when the operator sets a material and machines it in a manual data input mode by inputting the data every machining operation block, all the numerical data are stored or alternatively when the operator sets a material and manually operates the machine tool thereby performing the required machining, the numerical data successively produced in the numerical control system in the course of the operations are all stored, whereby each time a part is finished, the stored data are transferred to the internal memory of the numerical control system and the desired program of the part is stored in the internal memory, thereby making it possible thereafter to effect the machining of parts of the same kind through the memory-controlled operation in accordance with the program. The present invention will be described in greater detail with reference to its preferred embodiment shown in the accompanying drawing. The single drawing is a schematic diagram showing the system construction of a numerically controlled machine tool incorporating a memory system according to an embodiment of the invention. In the accompanying drawing showing an embodiment of the invention, numeral 1 designates a machine tool (machining center), and 2 a numerical control system of the machine tool 1. Although the numerical control system 2. is shown as located outside the machine tool 1 for purposes of description, usually it is incorporated in the body portion of the machine tool 1 in many cases. Numeral 3 designates the contorl panel of the machine tool 1 which is connected to the numerical control system 2 and comprising a cathode ray tube display 31 for displaying the inputted program data, in-process data or the like, a manual data inputting keyboad 32 and various setting and selector switches. Numeral 4 designates a memory system according to the invention adapted for connection to such a numerically controlled machine tool having a manual data inputting function. More specifically, the memory system 4 comprises a controller 41 and a read/write memory 42 as wel.l as auxiliary components including a mode selector switch 43, an operation indicator lamp 44, an address indicator 45 and'.a data indicator 46. The memory system 4 is connectea to the control panel 3 so as to receive the numerical data, mode signals and X, Y and Z axis signals inputted manually. through the keyboard 32, and the memory system 4 is also connected to the numerical control system 2 so that the data stored in the memory 42 are transferred to the display 31 and an internal memory 21 of the numerical control system 2 and the actual machining command numerical data are supplied from the numerical control system 2 to the memory system 4. The hardware construction of the memory system 4 comprises a microcomputer including a readfwrite memory device such as a random access memory (RAM) forming the memory 42 and its principal functions comprise sequentially introducing and storing the numerical data obtained when the machine tool is operated with the numerical control system 2 being set in the manual data inputting mode, introducing and storing the numerical signals indicative of the X, Y and Z axis positions of the machining positions which appear in the numerical control system 2 when the machine tool 1 is operated manually and not by the numerical control, and transferring one or the other of these two numerical data sotred in the memory 42 to the internal memory 21 of the numerical control system 2 by means of the control panel 3 in the editing mode of the numerical control system 2. During the transfer of data, the contents of the numerical control system internal memory 21 are displayed on. the display 31 so that the program is checked and corrections, if necessary, are made to the program in the numerical control system 2 in the editing mode. The manually inputted data program transferred to the internal memory 2 and corrected in this way now forms the sufficient machining data for the next work and thus the automatic machining of parts of the same kind can be accomplished by operating the numerical control system 2 in the memory-controlled operation mode. The above-mentioned functions will now be described in greater detail. (a) Storing numerical data input during the manual data inputting mode of operation: The manual data inputting .mode of operation is such that the data corresponding to the movements for each block in the memory-controlled operation are inputted by the keyboad 32 thereby operating the machine tool 1. Thus, since the data are inputted by depressing the keys of the keyboad 32 in the order for example of G ..., X ..., Y ..., F S ..., M ..., and then depressing a start key STA thus executing these instructions through the numerical control system 2, it is only necessary to store the data as such as the desired data for the corresponding machining block. It is to be noted here that in the illustrated embodiment the keyboad 32 includes keys 0, N, G, R, X, Y, Z, I, J, K, F, M, S, T, L, P, Q, D/H, B, etc., which are address keys and keys 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, etc., which are data keys. Thus, the input data for each block comprises a plurality of signals consisting of an address key signal and the following some data key signals. It is to be noted that the edting mode differs in some aspects from the manual data inputting mode and the difference resides in the fact that the function of the editing mode is the preparation of a program and naturally there are many conventions which are necessary to reduce the length of the program and allow the maximum operation of the machine. For this purpose, the memory system 4 incorporates a control sequence by means of an ROM (read-only memory) or the like so as to make the maximum use of the conventions in the editing mode for storing purposes. For instance, the.program number address key 0, the sequence number address key N and the end of block address key EOB are not essentially used in the manual data inputting mode of operation. The purpose of the address key 0 is to give a number to a program and the O number is a very important instruction for calling a subprogram. In the manual data inputting mode, however, there exists no subproram and thus this instruction is essentially ignored. On the other hand, when data are to be stored in the memdry 42, the 0 number is given to the data so that the subprogram control is effected. If the 0 number is not present, the same positioning operation is required each time the tool changing is performed. The sequence number key N is provided to give block numbers to the data and it essentially has no significance in the manual data inputting mode. However, this key is necessary to know at a later time which operation is being performed in the execution of the program. Thus, as a function of the controller 41, the memory system 4 automatically and sequentially increases the sequence number by one and stores it for every block. Lastly, the end-of-block key EOB is used when the edition of one block is completed and the control is to be transferred to the next block. Thus, since this can be ignored completely in the manual data inputting mode of operation, it is arranged so that in the manual data inputting mode the controller 41 automatically writes the o address EOB into the memory 42 when the start key STA is depressed. Described so far are the measures required to deal with -dn the address keys which are not essentially used in the manual data inputting mode of operation, and it is necessary to arrange particularly with respect to the 0 instruction so that the storage of data in the memory system 4 does not take place as a principle unless the 0 instruction is used. As regards the utilization of the 0 instruction, if, for example, the data input for a certain block is PaM98CR (STA), this means the calling of a program number a of the subprogram and therefore the controller 41 must automatically read out the program a. In this case, since the program data have been incorporated in the program , the controller 41 must also have the function of automatically transferring the data to the internal memory 21 of the numerical control system 2. Note that since the programacould not be present from the very beginning, it is arranged so that when a program number search fails to find the data in question, the nonexistence of the data is displayed on the display 31. In this case, this kind of instruction without data is disregarded in the numerical control system 2 and thus no special countermeasure is required. In the foregoing description, if, in the course of the manual data inputting mode of operation, wrong data are inputted and executed or a reset button RE is depressed so that the block is cancelled inevitably for the purpose of averting danger, the data stored in the memory 42 must be corrected. In this case, while the operations may be performed again from the beginning in the order of machining, it is expedient to call the blocks which are earlier in sequence number by two or three blocks than that which was stopped and start the machining again thereat. As a result, it is arranged so that a sequence number can be indicated on the indicator 45 and also the mode selector switch 43 can be moved to its UNREAD" position to effect the sequence calling. In this case, it is also necessary to operate the machine in the memory-controlled mode with respect to the several blocks and then make corrections to the block in question. In other words, when any trouble occurs, theaoperator first ascertains the sequence number of the block in question on the indicator 45 and then checks at the "READ" position what data are stored in the preceding blocks. In this case, it is only necessary that the machine tool 1 is set in the condition existed prior to the block which is to be executed essentially so that the machine tool 1 is operated in a single-block fashion with respect to the several blocks and then upon reaching the block in question the mode selector switch 43 is returned to the "WRITE" mode thereby starting again the manual data inputting mode of operation. (b) Storage of numerical signals during the manual operation: Differing from the--above-described (a), this is the storage of numerical data during the machining of a work through the manual operation of the machine tool 1. In this case, the positional data of the X, Y and Z axes of the machine tool 1 are generated as numerical data from the numerical control system 2 so that these numerical signals are taken and stored in the memory 42. In this case, at the control panel 3 the operating mode of the machine tool 1 is changed to the manual mode of operation and then any one the axes X, Y and Z is selected thereby manually effecting the movement of the selected axes. Then, an input key IN is depressed so that the resulting positional data are taken and stored in the memory 42 by virtue of the function of the controller 41. In this case, the requirement for the preperation of a program is the logic product of the fact that the machine tool is in the manual mode of operation and the fact that the input key has been depressed. (c) Transfer of stored data: The data stored in the memory 42 as a result of the above-described (a) or (b) form an independent program upon completion of the machining of a work in the main. When the same machining is required, the thus stored data are transferred to the internal memory 21 of the numerical control system 2 and the following two methods are available for this purpose. In accordance with the first method, in the manual data inputting mode the memory system 4 is set to the "READ" position by its mode detector switch 43 and then the start key STA is depressed. As a result, the memory system 4 transfers the data for one bldck stored in the memory 42 to the internal memory 21-of the numerical control system 2 by means of the control panel 3 and simultaneously an automatic start is made thereby executing the block. Upon completion of the block the start key STA is depressed again so that the transfer and execution of the data of the next block are effected. In other words, this method serves the similar function as the single-block operation and it is suitable for the same machining of a small number of works. The second method consists of transferring once all the data in the memory 42 to the internal memory 21 of the numerical control system 2 and then executing the data and this method is well suited for use in applications where the same machining is repeated in excess of a certain extent. In this case, the numerical control system 2 is placed in the editing mode through the control panel 3 and also the "MOVE" position is selected by the switch 43 in the memory system 4. Thus, the transfer of the data is effected in response to the depression of the start key STA and during the transfer the transferred data are sequentially displayed on the display 31 thus making it possible to confirm the contents of the program. In this case, it is also possible to correct, increase and delete the contents of the program. When the transfer of the data to the internal memory 21 is completed, the role of the memory system 4 is over. When the operating mode is set to the memory-controlled operation and the start key Stasis depressed in the control panel 3, the numerical control system 2 causes the machine tool 1 to perform the same machining in the memory-controlled operating mode. In this case, the data stored in the memory 42 may be backed up in a suitable manner. In the Figure, the "HOLD" position of the mode selector switch 43 stops all the functions of the memory system 4 and the indicator 44, 45 and 46 are turned on only in response to the other positions From the foregoing description it will be seen that in accordance with the present invention, by virtue of the fact that the manual data inputting function which has heretofore been performing only an assisting role for the tape-controlled operation or the memory-controlled operation is now changed to an independent and useful function owing to the storage of the inputted data and that the desired machining data are successively stored while actually operating a machine tool, there are many industrial effects that upon satisfactory completion of a part the corresponding program is prepared,' that is, the operator is allowed to think on his own will and prepare the desired program by himself thereby helping the operator to promote his understanding of numerically controlled machines-, that differing from the conversational programming there is no limitation to data to be inputted and thus the system can be combined with any type of numerically controlled machine tool so as to easily prepare a program which allows the machine tool to make a variety of movements, that the processing of data is performed by a controller comprising a microcomputer whose microprogram can be selected and modified so as to provide complex movements which were nowt known before and so on.

Claims: What is claimed is: 1. In combination with a numerically controlled machine tool having a numerical control system whereby a numerical data input is applied to the numerical control system through a manual data inputting control panel and the machine tool is operated in accordance with the inputted data, a manually inputted data memory system comprising: memory-means for temporarily storing said manually inputted data; and controller means for controlling the introduction of said manually inputted data into said memory means and the transfer of said data stored in said memory means to an internal memory of said numerical control system. 2. In combination with a numerically controlled machine tool having a numerical control system whereby when the machine tool is operated manually positional data of a processing tool during manual machining operations are generated as numerical signals by the numerical control system, a manually inputted data memory system comprising: memory means for temporarily storing said numerical signals; and controller means for controlling the introduction of said numerical signals into said memory means and the transfer of said data stored in said memory means to an internal memory of said numerical control system.

Inventors: KITAMURA, KOICHIRO
Applicants: KITAMURA KIKAI KABUSHIKI KAISHA (KITAMURA MACHINERY CO.,LTD.)
Application year: 1982
Main classification: G05B19
IPC codes: G05B19, G06F13