CNC CONTROL SYSTEM

Abstract: A CNC control system for controlling a number of paths by one numeric controller. It designates the execution sequence (6) of a PERT program (5) of each path (4) and the PERT program (5) is executed sequentially in accordance with the designated sequence. Accordingly, the content can be checked for each PERT program (5). @(11pp Dwg.No.1/3)@

Description: Technical Field The present invention relates to a computerized numerical control (CNC) method of controlling a plurality of paths with a single computerized numerical control apparatus, and more particularly to a CNC method of sequentially executing part programs for respective paths. Background Art There has recently been used a multipath control method which controls a plurality of paths with a single computerized numerical control (CNC) apparatus in order that the CNC apparatus can operate with more functions and a workpiece can be machined in a shorter period of time. In computerized numerical control apparatus controlled by the multipath control method, part programs for respective paths are generally executed simultaneously, i.e., parallel to each other. It is however difficult or even practically impossible to check the part programs which are executed parallel to each other. In view of the aforesaid problems of the conventional CNC method, it is an object of the present invention to provide a CNC method which can sequentially execute part programs for respective paths. EP-A-0249639 discloses an NC data preparation method whereby machining processes having a serial arrangement are taken as being machining sequence dependent (visual serial arrangement) and machining processes having a parallel arrangement are taken as being machining sequence independent (visual parallel arrangement). To achieve the above object, there is provided in accordance with the present invention a computerized numerical control method of checking and correcting a plurality of machining paths, the method comprising the steps of: storing a plurality of part programs which are to be parallely executed during the machining of a workpiece, corresponding to the plurality of paths; designating, on a display screen, an order in which to execute the path programs sequentially for respective paths; and characterised by the steps of: sequentially executing the part programs for the respective paths in the order designated in step; checking the part programs during the execution of step; correcting any errors in the part programs detected during the checking in step; and designating the order in which the part programs are to be executed in parallel to each other. The part programs for the respective paths are designated in a certain order in which they are to be executed. The part programs are then executed in the designated order, and contents thereof are checked for each of the part programs. If necessary, an actual order may be modified. In the drawings: FIG. 1 is a view showing a display screen used in a CNC method according to the present invention; FIG. 2 is a flowchart of a sequence of the CNC method of the present invention; and FIG. 3 is a block diagram of the hardware of a computerized numerical control apparatus for multipath control according to the present invention. Best Mode for Carrying Out the Invention An embodiment of the present invention will hereinafter be described with reference to the drawings. FIG. 1 shows a display screen used in a CNC method according to the present invention. A CRT/MDI unit has a display screen 1 which includes a multipath setting display area 2, and a selection display area 3 for selecting a parallel execution mode or a sequential execution mode. In FIG. 1, a parallel execution mode is selected, and the selection of the parallel execution mode is indicated by an underline which is displayed. In a normal machining process, part programs for respective paths are executed simultaneously parallel to each other to machine a plurality of workpieces at the same time. At times, one workpiece may be machined simultaneously by a number of machining heads and corresponding part programs. If the part programs were executed as they are, the part programs would be simultaneously executed, and any checking of these part programs would be practically impossible to carry out. According to the present invention, a selection capability is provided which allows the part programs for respective paths to be sequentially executed. The selection capability displays a path number section 4 for displaying path numbers, a program number section 5 for displaying the part programs for the paths, such as Oaaaa, Obbbb, Occcc, and so on, and a sequence number section 6 for setting an order in which to execute the part programs. In the selection display area 3, a sequential execution mode is selected, and an order in which to execute the part programs is preset in the sequence number section 6. According to the preset order, a computerized numerical control apparatus does not execute the part programs parallel to each other, but executes the part programs in the order set in the sequence execution section 6. As a result, the programmer can confirm the contents of the part programs while they are being executed one by one. Furthermore, the programmer can correct errors in the part programs, if necessary, and can also vary the parallel execution order or the like. FIG. 2 shows a sequence of the CNC method according to the present invention. The numerals following a letter "S" in FIG. 2 indicate step numbers. [S1] A sequential execution mode is selected and an order in which to execute the part programs for the paths is preset on the multipath setting display screen. [S2] When a cycle start button is pushed, the part programs for the respective paths are executed in the preset order. [S3] Whether the contents, steps, and order of machining processes are correct or not is checked. [S4] If there is an error, the contents of the part programs are corrected, and the order in which the part programs are executed parallel to each other is varied. In this manner, the contents of the part programs for the respective paths can be corrected, and the order in which the part programs are to be executed parallel to each other can be varied so as to be optimum. FIG. 3 shows in block form the hardware of the computerized numerical control apparatus for multipath control according to the present invention. Designated at 11 is a channel bus which comprises a multimaster bus which can connect channels. The channel bus 11 has a number of slots 11a, 11b, ... 11g to which channels and other units (described later) can be connected. The CRT/MDI unit, denoted at 12, displays the multipath setting display screen, and enters an order in which to execute the part programs for the respective paths, through a keyboard. The reference numerals 13, 14 indicate axis control modules each capable of controlling servomotors for 2 or 3 axes. An I/O circuit 15 receives input signals from and transmits output signals to an external circuit. A PC (programmable controller) is omitted from illustration in FIG. 3. Denoted at 21, 22, 23 are channels, each having the function of one computerized numerical control apparatus. Therefore, one channel can read, decode, and execute numerical control commands, and can also control devices such as the CRT/MDI unit. Consequently, each of the channels can execute commands for a certain number of axes, which have heretofore been executed by a conventional computerized numerical control apparatus. On a two-head numerically control engine lathe, for example, a first spindle, an X1 axis, and a Z1 axis are controlled by the channel I 21, a second spindle, an X2 axis, and a Z2 axis are controlled by the channel II 22, and the channel II 23 is used as a master channel for control overall operation such as supervising of the other channels. The channel I 21 controls the CRT/MDI unit 12 through the channel bus 11. These channels 21 through 23 are coupled to the channel bus 11 and share the executing operation. If the executing capacity of one of the channels runs low, part of the operation to be executed is transferred to the other channels. For example, while the channel I 21 is executing interpolation at very small intervals, and the channel II 22 is executing linear interpolation, then part of calculations in advance of the interpolation to be executed by the channel I 21 can be executed by the channel II 22. As a result, the executing capacities of these channels can be balanced so that no unbalanced execution by these channels will take place. The channel III 23 operates as a master channel to execute overall control processes such as the regulation of priority to use the channel bus 11 and the supervision of the other channels. Of course, the channel III 23 can also control the spindles and the axes. If the channel III 23 is given so many tasks that it can no longer effect the overall control processes and also is the other channels have a sufficient executing capacity, then it is possible to transfer the master right to the other channels. With the present invention, as described above, since the part programs for the respective paths are sequentially executed in the designated order, they can successively be checked to determine whether they are properly prepared in their steps. The present invention is also effective to determine whether the order in which to execute the paths is optimum or not.

Claims: A computerized numerical control method of checking and correcting a plurality of machining paths (4), the method comprising the steps of: (a) storing a plurality of part programs (5) which are to be parallely executed during the machining of a workpiece, corresponding to the plurality of paths (4); (b) designating, on a display screen, an order (6) in which to execute the path programs sequentially for respective paths; and characterised by the steps of: (c) sequentially executing the part programs for the respective paths in the order designated in step (b); (d) checking the part programs (5) during the execution of step (c); (e) correcting any errors in the part programs detected during the checking in step (d); and (f) designating the order in which the part programs are to be executed in parallel to each other.

Inventors: FUJIBAYASHI KENTARO, SASAKI TAKAO, YASUDA KEN FANUC DAI- VIRA-KAR, FUJIBAYASHI, KENTARO, SASAKI, TAKAO, YASUDA, KEN, FANUC DAI-3 VIRA-KARAMATSU
Applicants: FANUC LTD, FANUC LTD.
Application year: 1989
Main classification: G05B19
IPC codes: G05B19