NUMERICAL CONTROLLER

Abstract: A numerical controller which controls multiple spindles through a plurality of channels (10 to 40). A combination of main spindles (61 to 64) and automatic tool changers (51, 52) is selected and controlled by a machining program through channels (10 to 40). Therefore, there is realized a numerical control system that is capable of efficiently controlling a multi-spindle machine tool equipped with automatic tool changers.

Description: The present invention relates to a numerical control system having a plurality of channels, and more particularly to a numerical control system for selecting and controlling a plurality of spindle or tool changer controllers with a plurality of channels. There have widely been used numerical control systems for controlling a number of axes or spindles with a plurality of channels (functional arrangements). Such numerical control systems include a numerical control system for controlling a four-axis lathe having two spindles and two tool rests. A workpiece can be machined at a high speed by the spindles or tool rests. with the four-axis lathe or the like, controllers each for controlling one of the spindles and one of the tool rests are fixed or switched by parameters. Numerical control apparatus have been proposed which make up a complex numerical control system with an increased number of channels (functional arrangements) in order to control a complex machine tool. If spindles or automatic tool changer controllers are controlled in a fixed manner in the numerical control system with a number of channels, then a long period of time is wasted, and it is difficult to achieve an efficient machining operation. Therefore, it is desired that the numerical control system be controlled more flexibly. In view of the aforesaid problems of the conventional numerical control systems, it is an object of the present invention to provide a numerical control system which can select and control a plurality of spindles or tool changer controllers with a plurality of channels. EP-A-0189757 discloses a system in which a plurality of identical processors are provided, each of which is capable of controlling one complex motion or a plurality of simple motions. According to the present invention, there is provided a numerical control system for controlling a plurality of axes with a plurality of channels, the system comprising: a plurality of channels; characterised by: each channel being capable of controlling a spindle or an automatic tool changer controller according to a machining program; and by: means for selecting the spindle or automatic tool changer controller to be controlled by a particular channel according to machining programs. By selecting and controlling the spindles or the automatic tool changer controllers with the channels, any one of combinations of spindles and tool rests can be selected as desired for more flexible machining of a workpiece. In the drawings:- FIG. 1 is a block diagram of a numerical control system according to the present invention; FIG. 2 is a diagram showing, by way of example, machining programs for respective channels; and FIG. 3 is a flowchart of a sequence of operation of the numerical control system. An embodiment of the present invention will hereinafter be described with reference to the drawings. FIG. 1 shows in block form a numerical control system according to the present invention. A channel bus 1 interconnects a plurality of channels 10, 20, 30 each for reading, decoding, and executing a machining program. Each of the channels has a function equivalent to the function of a single numerical control apparatus. Denoted at 51, 52 are automatic tool changer controllers (ATC), and 61, 62, 63, 64 spindles each including a spindle control circuit, a spindle amplifier, a spindle motor, and a spindle. Actually, the numerical control system also includes a master channel for controlling the entire system, axis control modules for controlling axes, a CRT/MDI unit, and peripherals, which are however omitted from illustration in FIG. 1. FIG. 2 shows machining programs for the channels, by way of example. Denoted at 71 is a machining program for the channel 1, 72 a machining program for the channel 2, and 73 a machining program for the channel 3. According to the machining program 71 for the channel 1, the spindle 1 is selected by commands: N1 G68. 1 S1 As the machining program goes on, the spindle 4 is put under the control of the channel 1. Likewise, the spindle 2 is selected according to the machining program 72 for the channel 2, and the spindle 3 is selected according to the machining program 73 for the channel 3. In each of the channels, its spindle is controlled. According to the machining program 73 for the channel 3, the automatic tool changer controller 1 is selected by a command "Al" from commands: N1 G68. 1 S3 A1; and the automatic tool changer controller 1 is put under the control of the channel 1. The control of the spindle and automatic tool changer controller can be transferred from one channel to another channel according to a command in the machining program for said one channel, so that the commands will be executed in the channel which has more execution time, thereby speeding up the processing capability, and also that the combinations of the spindles and tool rests may be changed. Therefore, a tool machine which has heretofore been controlled in a fixed manner can be controlled so as to provide a more complex function. FIG. 3 shows a sequence of operation of the numerical control system of the present invention. Here, the transfer of occupancy for the control of a spindle will be described. The numerals following "S" indicate step numbers. [S1] The spindle 1 is selected by a machining program. [S2] It is determined whether the spindle 1 is not under the control of another channel. If the spindle is free (not occupied), then control goes to a step S3, and if occupied, then control goes to a step S8. [S3] The channel 1 is given the right to occupy the spindle 1, and the spindle 1 is subsequently put under the control of the channel 1. [S4] The spindle 1 is rotated at a predetermined speed by an S command. Although not shown in the flowchart, the spindle 1 is thereafter controlled by the channel 1 to machine a workpiece. After the machining process is finished, the spindle to be controlled by the channel 1 is changed. [S5] The spindle 4 is then selected by the channel 1. [S6] It is determined whether the spindle 4 is free or not. If free, then control goes to a step S7, and if not, then control goes to a step S8. [S7] The right to occupy the spindle 1 is relieved, and the right to occupy the spindle 4 is given to the channel 1. [S8] Since the spindle to be occupied is occupied by another channel, an alarm is generated. In this manner, the spindle is selected by each of the channels, and used to machine the workpiece. The control of the axes is also changed in relation to the spindles. In the above description, the spindles are selectively controlled by the channels. However, the automatic tool changer controllers can also be selectively controlled by the channels. Furthermore, the spindles and the automatic tool changer controllers may be combined in an appropriate combination and selected. As a result, the machine tool can be controlled more flexibly. According to the illustrated sequence, if the spindle to be occupied is occupied by another channel, an alarm is generated. However, the processing may wait until the occupancy of the spindle is relieved. With the present invention, as described above, since the spindles or the automatic tool changer controllers are selected and controlled by the channels, a tool machine having a number of spindles or automatic tool changer controllers can be controlled more efficiently.

Claims: A numerical control system for controlling a plurality of axes with a plurality of channels (functional arrangements), the system comprising: a plurality of channels (10-40); characterised by: each channel being capable of controlling a spindle (61-64) or an automatic tool changer controller (51,52) according to a machining program; and by: means for selecting the spindle or automatic tool changer controller to be controlled by a particular channel according to machining programs. A system according to claim 1, comprising means for generating an alarm when the spindle or automatic tool changer controller which is selected by one channel is being controlled by another channel. A system according to claim 1, comprising means for waiting, when a selected spindle or automatic tool changer controller is being controlled by said other channel, until said selected spindle or automatic tool changer controller is relieved from control said other channel.

Inventors: FUJIBAYASHI KENTARO, KAWAMURA HIDEAKI, SAGARA SHOUICHI FANUC DAI- VIR, FUJIBAYASHI, KENTARO, KAWAMURA, HIDEAKI, SAGARA, SHOUICHI FANUC DAI-3 VIRA-KARAMATSU
Applicants: FANUC LTD, FANUC LTD.
Application year: 1989
Main classification: G05B19
IPC codes: G05B19