INTERFACE CIRCUIT FOR MECHANICAL APPLICATION

Abstract: The interface circuit comprises a relay circuit (11) connected with a numberical controller (1) through a serial interface; and modules (20,40) connected with the relay circuit (11) through a serial interface. The modules include serial/parallel converters (30,50) and a driver (21a) or a receiver (41a).

Description: Technical Field The present invention relates to a machine interface circuit for controlling terminal units such as relays, switches and the like of a machine tool, and more specifically, to an improved machine interface circuit connected to the relays, switches and the like in a simple manner. Background Art A numerical control unit is usually interfaced with a machine tool through a serial interface in accordance with an increased number of signals. An example of this is shown in FIG. 3, wherein 1 designates the numerical control unit, and 70 designates an I/O base unit. Usually a plurality of I/O base units are used for a single numerical control unit 1. Two I/O base units 70, 80 are shown in the drawing, and since the I/O base unit 70 and the I/O base unit 80 have substantially the same arrangement, only the I/O base unit 70 will be described. The I/O base unit 70 is connected to the numerical control unit 70 through a serial interface drive units such as relays and the like by a driver 72a after a serial signal has been converted into a parallel signal by a serial/parallel converter 71. A signal from switches of the machine tool is received by a receiver 73a and the like, converted into a serial signal by the serial/parallel converter 71, and applied to the numerical control unit. The I/O base unit 70 and the like are disadvantageous, in that they include a considerable number of I/O units, long parallel leads must be used to connect the I/O base unit 70 to the relays, the switches and the like of the machine tool and further, problems arise in the manufacture and cost thereof. Although the base unit 70 may be installed in the vicinity of the relays and the like, this causes another problem in that the parallel signal cables to the other switches and the like must be made longer. US-A-4071911 discloses a machine controller with a multiplexer interface. An object of the present invention is to solve the above problems and to provide an improved machine interface circuit which can be connected to relays, switches and the like in a simple manner. To achieve the above object, in accordance with the present invention, there is provided a machine interface circuit adapted for controlling terminal units such as relays, switches and the like of a machine tool through a numerical control unit, comprising: a plurality of module circuits, each module circuit including a serial/parallel conversion circuit and drivers or receivers; and, a plurality of interchange circuits connected to said numerical control unit through a serial interface and to the module circuits through serial interfaces, the interchange circuits separating signals from the numerical control unit into a plurality of signals and sending the separated signals to each module circuit, and gathering signals from each module circuit and sending the gathered signals to the numerical control unit; characterised in that: the plurality of module circuits are installed in the vicinity of the relays and switches. Since a serial signal from the numerical control unit is once interchanged by interchange circuits and then transmitted to the vicinity of a group of the relays of the machine tool as the serial signal and there converted into a parallel signal, the distance over which the parallel signal is transmitted shortened, and thus cables, cable bundles, and the like can be provided easily. A signal from the group of the switches is processed in the same manner, but in a reverse direction. In the drawings: Fig. 1 is a block diagram of an embodiment of the present invention ; Fig. 2 is a detailed diagram of a serial/parallel conversion circuit; and Fig. 3 is a diagram of a conventional interface between a numerical control unit and a machine tool. Best Mode for Carrying Out the Invention An embodiment of the present invention will be hereinafter described in detail with reference to the drawings. FIG. 1 is a block diagram of the embodiment of the present invention, wherein 1 designates a numerical control unit, and 11 and 12 designate interchange circuits, the numerical control unit 1 being connected to the interchange circuits through a serial interface. The number of interchange circuits 11 and the like is determined in accordance with the overall scale of an NC machine tool. The interchange circuit 11 is connected to an output module 20 and an input module 40 and the like through serial interfaces. The output module 20 and the input module 40 are installed in the vicinity of a group of relays and a group of switches of the machine tool, respectively; for example, they are installed on a relay panel or inside a machine operation panel, and thus the leads for the parallel signal can be made as shorter as possible. The signal from the numerical control unit 1 is transmitted to the relays and the like through the interchange circuit 11 and the output module, and the signal from the switches and the like is transmitted to the numerical control unit 1 is through the input module 40 and the interchange circuit 11. The serial signals are preferably transmitted through optical fibers. The output module 20 comprises a serial/parallel conversion circuit 30 and drivers 21a, and the like. The number of drivers 21a and the like depends on the system applied to the machine tool, and in practice, is usually 10 to 50 sets. The serial/parallel conversion circuit 30 will be described in detail later. The input module 40 has substantially the same arrangement as the output module 20 and comprises a serial/parallel conversion circuit 50 and receivers 41a and the like. The number of receivers 41a corresponds to the number of drivers 21a and the like of the output module 20; in practice, the module includes 10 to 50 sets of the receivers. Next, the serial/parallel conversion circuit 30 used by the output module 20 and the serial/parallel conversion circuit 50 used by the input module will be described. Since the two circuits are substantially the same, only the serial/parallel conversion circuit 30 used by the output module 20 will be described in detail. FIG. 2 shows the arrangement of the serial/parallel conversion circuit 30, wherein 31 designates a control circuit effecting an overall control of the conversion circuit 30 and 32 designates a conversion circuit effecting a serial to parallel conversion of input signals and applying the converted signals to a RAM 33. The RAM stores the signals as bit signals. The signals are written into respective output bit circuits 34 and output therefrom as parallel signals. Such circuits can be easily produced by appropriate IC's or the like. The serial/parallel conversion circuit 50 has substantially the same arrangement as the serial/parallel conversion circuit 30 except that signals flows therethrough in the reverse direction. In the above embodiment, although the modules are separate into modules for inputs and modules for outputs, the inputs and the outputs may be mixed and provided in the same module. For example, 10 sets of drivers may be combined with 20 sets of receivers. The above arrangement can reduce the number of parallel leads at the machine side. According to the present invention, as described above, since the serial signals from the numerical control unit are interchanged once by the interchange circuits, further transmitted to the vicinity of the group of the switches and the relays of the machine tool and there converted into parallel signals, the parallel signals are transmitted over a only short distance, and thus cables and cable bundles can be easily manufactured and the cost thereof is reduced.

Claims: A machine interface circuit adapted for controlling terminal units such as relays, switches and the like of a machine tool through a numerical control unit (1), comprising: a plurality of module circuits (20,40,60), each module circuit including a serial/parallel conversion circuit (30,50) and drivers (21a) or receivers (41a); and, a plurality of interchange circuits (11,12) connected to said numerical control unit through a serial interface and to the module circuits through serial interfaces, the interchange circuits separating signals from the numerical control unit into a plurality of signals and sending the separated signals to each module circuit, and gathering signals from each module circuit and sending the gathered signals to the numerical control unit; characterised in that: the plurality of module circuits (20,40,60) are installed in the vicinity of the relays and switches. A machine interface circuit according to claim 1, wherein each of the module circuits (20,40,60) includes both drivers (21a) and receivers (41a). A machine interface circuit according to claim 1, wherein the serial interface is composed of optical fibres.

Inventors: IMAZEKI RYOJI, KURAKAKE MITSUO, IMAZEKI, RYOJI, KURAKAKE, MITSUO
Applicants: FANUC LTD, FANUC LTD.
Application year: 1988
Main classification: G05B19
IPC codes: G05B19