MONITORING SYSTEM FOR NUMERICALLY CONTROLLED MACHINE TOOL

Abstract: This monitoring system comprises a numerical control­ ler (11) and a controller (12) including computers for other equipment to cooperate with the numerical controller (11), a machine tool (12′) and a robot (13′) and so forth and controls the controlling operations of the respective equipments in accordance with the M, S and T function commands fed out of the numerical controller (11). This monitoring system also has a monitor unit (14) including a computer, which receives operating status signals from the monitoring input/output circuits (D-1) to (D-4) of the respective equipment via a common data bus (15). The computers of the monitor unit (14) allow it to monitor the operating states of the respective equipment and to answer the operation status signals of the other equipment to be operated in accordance with the operation status data request signal from the respective equipment.

Description: DESCRIPTION MONITORING SYSTEM FOR NUMERICAL CONTROL MACHINE TOOL SYSTEM Technical Field The present invention relates to a monitoring system for a numerical control machine tool system, and more particularly to a monitoring system which can perform highdegree monitoring and which can reduce the number of signal lines required for monitoring. Background Art For realizing unmanned operation of a numerical control machine tool system, it is necessary to monitor whether various equipment constituting the system is operating in conformity with predetermined rules. In a case where any operation against the rule has been detected, an appropriate step such as emergency stop must be taken so as to prevent the equipment from being damaged. By way of example, a machine tool moves a tool or a table on the basis of a command from a numerical control device (termed "NCt') so as to subject a workpiece to machining as programmed. In order to allow the machine tool to perform the predetermined machining on the workpiece on the basis of the command from the NC, feed power, a pneumatic pressure etc. must have proper values. For example, electric power must be 1 kW in order to rotate 2 the table, and the pneumatic pressure must be 5 kg/cm2 in order to blow out the air. If the electric power and the pneumatic pressure are less than the aforementioned values, the machine tool cannot operate as commanded. In addition, the operations of various parts of the machine tool are controlled by M function instructions, T function instructions, S function instructions, etc. which are given by the NC. Unless the parts are accurately operating in response to the corresponding instructions, machining control as commanded cannot be carried out. For example, when the periods of time during which the machine operates in response to the M function instructions etc. are much longer than the predetermined periods of time, the machine is not operating correctly, and when outputs resulting from the executions of the M, S, T function instructions etc., e.g., displacement, rotational direction, rotational speed etc. are not as commanded, the machine is operating erroneously. In those cases, not only is the workpiece wasted, but machining efficiency also declines markedly. It is accordingly required to monitor whether or not the respective parts of the machine tool are normally operating and to stop the machine or issue an alarm in the pressure of any abnormally, so as to quickly obviate difficulties attributed to the abnormality. On the other hand, in an NC machine tool associated with a robot wherein the robot performs the loading and unloading of a workpiece, the change of tools, etc., the robot complies with a service request from the NC machine tool side (for example, a workpiece change request M20 or a tool change request M06) to execute for the machine tool the service such as the loading and unloading of workpieces and the change of tools. In this regard, in order to allow the robot to load the workpiece on the chuck of the machine tool (for example, lathe), the lathe must be in the following status: (1) The splash guard of the lathe is in the open state, (2) the chuck is open, (3) the spindle is at a stop, and (4) the tool rest is at a stop in a normal position. It is accordingly necessary to monitor whether or not the above conditions (1) - (4) are fulfilled and to stop the workpiece loading and unloading operation of the robot even when only one condition is not met. In addition to the aforementioned states (1) - (4), the states of the machine tool to be monitored include the "open/ closed" state of a jig, the "retracted/advanced state of a tail stock, the "unclamped/clamped" state of the tool, etc. In a prior-art NC machine tool or robot and NC machine tool combination, various status-check signals are transmitted from the NC or robot side to the machine tool through a control interface, while the machine tool receives the status-check signals and then transmits status-signals or data expressive of predetermined states to the NC or the robot as individual control signals. The NC or the robot monitors the machine status with the status signals or data transmitted from the machine, and performs the NC control or the robot service in accordance with this machine status. In such' prior-art system, however, as the states to be monitored increase or the equipment to constitute the NC machine tool system increase, the number of signal lines becomes larger and the connections of cables to be coupled become more complicated. Moreover, the arrangements of the respective equipment and the cable connections differ depending upon what is to be monitored or the degree of monitoring (whether complicated and highly precise monitoring or the minimum required monitoring is performed). Therefore, the system does not readily lend itself to general-purpose use and becomes high in cost. Disclosure of the Invention The present invention has for its object to provide a numerical control machine tool system which can perform highly precise monitoring and reduce the number of signal lines and which does not require that equipment be remodeled irrespective of the monitoring system, and which readily lends itself to general-purpose use. Concretely, in a numerical control machine tool system wherein L (L > 2) items of equipment of a numerical control device, a machine tool, a robot,- etc.-which are constructed so as -- to operate in association are coupled through a control interface or interfaces for exchanging control information to control the associated operations, M-number of monitor interfaces(M > 1) and N-number of monitor means (N > 1) are disposed separately from the control interface or interfaces, and at least one of the M interfaces has at least one of the L items of equipment and at least one of the N monitor means coupled thereto. The equipment and the monitor means which are coupled with the monitor interface have computers, respectively. The computer of the equipment delivers monitor information expressive of the state of this equipment to the coupled monitor interface, and the computer of the monitor means receives the monitor information transmitted through the coupled monitor interface, whereby the machine toll, the robot etc. are controlled in succession. Thus, the present invention provides a monitoring system for the numerical control machine tool system wherein the hardware need not be remodeled or altered at all even when the states to be monitored increase or when the items of equipment of the system increase and wherein a single data bus suffices for effecting the function of transmitting monitor information. Brief Description of the Drawings Both Figures 1 and 2 are block diagrams of numerical control machine tool systems to which the system of the present invention is applied. Best Mode for Carrying Out the Invention The present invention will now be described in detail with reference to the embodiments shown in the accompanying drawings. Figure 1 is a block diagram of a numerical control machine tool system according to the present invention. In the figure, numeral 11 designates an NC having a built-in computer and which has the arrangement of the so-called computer NC (CNC). It comprises a processor A-l which performs predetermined NC control processing in accordance with a control program and a machining program, a control program memory B-l which stores the control program, a controlli-ng-inputXoutput circuit C-i which exchanges control signals between it and a machine tool controller as well as a robot controller, a monitoring input/output cicuit D-l which receives and delivers monitor information, and a servo control circuit E-1. Machining program data is read from a paper tape, not shown, or from a memory, not shown, for storing the machining program. Numeral 12 designates the machine tool controller (hereinafter, termed "power sequence controller") in having a built-in a computer. In response to such control signals as M, S and T function instructions received from the NC 11, or cover "open/close", jig "open/close", chuck "open/close", tail stock "advance/retract" and tool "clamp/ unclamp" instructions received from the robot side, the power sequence controller performs predetermined sequence processing and delivers machine control signals to a machine tool thereby causing the machine to execute such operations as spindle "forward rotation/reverse rotation/ stop", coolant "on/off", cover "open/close" and chuck "open/close". When the machine operations have ended, the power sequence controller delivers an operation end signal to the NC 11 or the robot controller. The power sequence controller 12 comprises a processor A-2 which performs the predetermined sequence processing and other processing in accordance with a control program, a control program memory B-2 which stores the control program, a controlling input/output circuit C-2 which exchanges control signals with the NC 11 or the robot controller and which delivers the machine control signals to the machine tool, and a monitoring input/output circuit D-2 which receives and delivers monitor information. Symbol 12' denotes the machine tool, which has a D.C. motor F-2' for driving a tool rest (or a table) and a position detector G-2; for detecting the position of the tool rest. Symbol 13 denotes the robot controller, and symbol 13' a robot. The robot controller 13 has a computer arrangement, and it comprises a processor A-3 which performs teaching and other processing in accordance with a control program and which performs playback processing for some taught contents, a memory B-3 which stores the control program and the taught contents, a controlling input/output circuit C-3 which exchanges control signals with the NC 11 and'the power sequence controller 12 and which delivers a hand control signal, a wrist rotation control signal etc. to the robot 13', a monitoring input output circuit D-3 which receives and delivers monitor information, and a servo circuit E-3 which moves the robot as commanded. The robot 13' has- a servomotor F-3' which controls the vertical motion, horizontal turning, expansion and contraction, etc. of an arm, and a position detector G-3' which detects the position of the arm. Numeral 14 indicates a monitoring device, which has a computer arrangement. It comprises a processor A-4 which performs predetermined monitor processing, a control program B-4 which stores a monitoring control program, and a monitoring input/output circuit D-4 which receives and delivers monitor information. Numeral 15 indicates a data bus which transmits the monitor information bidirectionally and by which the monitoring input/output circuits D-l to D-4 are interconnected. Monitor interfaces are constructed of the circuits D-l to D-4 and the data bus 15. The monitor information which is transmitted through the monitor interface includes 1 a transmission request signal for requesting the status of each equipment, 2 a signal for identifying the kind of status and data indicative of the status, and 3 a signal expressive of a monitored result. Numerals 16a - 16e denote signal lines for transmitting and receiving control signals. The M, S and T function instructions for controlling the machine and the M, S and T end signals are bidirectionally transmitted through the signal line 16a; a robot service request signal, a robot service end signal, etc. are transmitted through the signal line 16b; and the cover "open/close", jig "open/close", chuck "open/close" and the like control signals, operation end signals, etc. are transmitted through the signal line 16c. Now, the monitoring operation will be described. Under the controls of their control programs, the processors A-l, A-2 and A-3 of the respective items of equipment ii to 13 set various equipment states required for monitoring, along with state identifier codes, into the unshown retisters of the corresponding monitoring input/output circuits D-l to D-3 at predetermined times, on demand or at need. By way of example, the current position data of the tool rest is set in the monitoring input/output circuit D-1 of the NC 11 at predetermined times. Feed power data, pneumatic pressure data, spindle rotation direction data, spindle rotation/stop data, detected values of sensors mounted on the machine 12', data indicating the open or closed state of a splash guard, data indicating the open or closed state of the chuck, etc. are set in the monitoring input/output circuit D-2 of the power sequence controller 12 at predetermined times. Further, data indicating the current position of the arm and the full opening/full closure of the hand, pneumatic pressure data, etc. are set into the monitoring input/output circuit D-3 of the robot controller 13 at predetermined times. The processor A-4 reads the status data stored in the monitoring input/output circuits D-1 to D-3 of the respective equipment 11 to 13, along with their identifier codes, through the monitoring input/output circuit D-4 at predetermined time intervals (polling), and it stores them in a data memory, not shown. Regarding the status data of power, pneumatic pressures, etc., each time the monitoring device 14 reads these status data, it compares them with proper values stored in advance, to examine whether the differences lie within allowable ranges or not If the range is exceeded, the monitoring device informs the corresponding items of equipment 11 - 13 of an alarm (monitored result) through the bus 15 so as to stop the numerical control machining or the robot service. Regarding the current position signal of the tool rest and the current position signal of the arm of the robot, each time these current position signals are read, the monitoring device monitors whether the tool rest and the arm have entered predetermined forbidden-entry areas., whether they have made overstrokes, etc., whereupon it provides monitored results. On the other hand, when the request signal for the loading or unloading of a workpiece is transmitted from the NC 11 to the robot controller 13 through the line 16b, the robot controller 13 sends status data request signals to the monitoring device 14 in succession in order to determine (1) open or closed state of the splash guard, (2) the open or closed state of the chuck, (3) the rotation or stop state of the spindle, and (4) whether or not the tool rest is at a stop in its normal position. Thus, the monitoring device 14 relays the aforementioned states (1) - (4) to the robot controller 13 in succession. The robot controller 13 examines the transmitted states so as to stop the robot until all the four conditions of "splash guard open", "chuck open", "spindle stop" and "stop of the tool rest in the normal positon" are met, and to allow the robot to execute the loading or unloading of the workpiece. It is also possible that when the workpiece loading or unloading request signal, the tool change request signal, or the like has been commanded from the NC 11, the monitoring device 14 will monitor whether predetermined conditions are met, whereupon it transmits the monitored results to the robot controller 13. Figure 2 is a block diagram of another numerical control machine tool system according to the present invention. The independent monitoring device is removed, and the functions of the monitoring device are assigned to the processor A-l, control program memory B-l and monitoring input/output circuit D-1 of the NC and also a data memory, not shown. In the figure, the same parts as in Figure 1 are assigned the same symbols, and they are not described in detail. The functions of the monitoring device may also be assigned to the power sequence controller 12 or the robot controller 13. While, in the embodiments, the robot-incorporated NC machine tools have been exaplained, the present invention is also applicable to a system which consists only of an NC and a machine tool or of an NC and a robot. Industrial Applicability As described above, according to the present invention, it is only required to dispose a monitoring device and a data bus and to dispose monitoring input/output units within respective equipment. Therefore, even when the number of states to be monitored increase or when the items of equipment of a system increase in number, the hardware need not be remodeled or altered at all, so that the respective equipment lends itself to general purpose use. Since the single data bus suffices for transmitting monitor information, the number of cables decreases and difficulty in the connections of the cables can be eliminated, so that the cost of the system can be lowered.

Claims: WHAT IS CLAIMED IS: (1) In a numerical control machine tool system wherein L-items of equipment (L > 2) of a numerical control device, a machine tool, a robot, etc. are constructed so as to operate in association and wherein the respective items equipment are coupled through a control interface or interfaces for exchanging control information to control the associated operations, a monitoring system for a nuemerical control machine tool system characterized in that M-number of monitor interfaces (N > 1) and N-number of monitor means (N > 1) are disposed separately from said control interface or interfaces, that at least one of said monitor interfaces, for example, the I-th monitor interfaces has at least one of said L-items of equipment, for example, the J-th item of equipment and at least one of said N monitor means, for example, the K-th monitor means coupled thereto, and that said J-th item of equipment includes a computer which delivers monitor information expressive of the status of this J-th item of equipment to said I-th monitor interface, while said X-th monitor means includes a computer which receives the monitor information transmitted through said I-th monitor interface. (2) A monitoring system for a numerical control machine tool system as defined in Claim 1, characterized in that said I-th monitor interface transmits the monitor information bidirectitonally. (3) A monitoring system for a numerical control machine tool system as defined in Claim 1, characterized in that said K-th monitor means is realized by the J'-th (J'J) J) including a computer among said L items of equipment. (4) A monitoring system for a numerical control machine tool system as defined in Claim 1, characterized in that said computer of said J-th item of equipment is shared with a computer for controlling said J-th item of equipment. (5) A monitoring system for a numerical control machine tool system as defined in Claim 3, characterized in that said computer of said J'-th item of equipment is shared with a computer for controlling said J'-th item.: of equipment. (6) A monitoring system for a numerical control machine tool system as defined in Claim 1, characterized in that said monitor information which is transmitted through said I-th monitor interface includes a signal for identifying the kind of state and data expressive of said state and that said I-th monitor interface can transmit a plurality of kinds of monitor information. (7) A monitoring system for a numerical control machine tool system as defined in Claim 1, characterized in that said monitor information which is transmitted through said I-th monitor interface include a request signal for transmission of data expressive of the state. (8) A monitoring system for a numerical control machine tool system as defined in Claim 1, characterized in that said monitor information which is transmitted through said I-th monitor interface includes a signal expressive of a monitored result.

Inventors: KOMIYA, HIDETSUGU
Applicants: FANUC LTD
Application year: 1981
Main classification: G05B19
IPC codes: G05B19, G05B23