FAULT DIAGNOSING SYSTEM

Abstract: No further information obtainable for this publication.

Description: The present invention relates to a malfunction diagnosis system for use in the diagnosis of a malfunction of a numerical control system (CNC) by a remote host computer, and more specifically, to a malfunction diagnosis system capable of processing input and output signals and the like of the host computer. Numerical control apparatuses (CNC) or programmable controllers connected thereto (PC) have become more sophisticated and complicated due to advances in a semiconductor technology including a microprocessor and software technology. The malfunction rate of these numerical control apparatuses and programmable controllers has been reduced to a very low level by improvements in reliability technologies, but once a malfunction occurs, it is sometimes difficult to find the portion at which the malfunction exists. More specifically, an overall knowledge of electronics, software, machine tools, machining technologies and the like is required to find the malfunctioning portion. A malfunction diagnosis system has been proposed wherein a host computer is installed at a service station and a malfunction of a CNC system is diagnosed by connecting the host computer to the CNC system through a communication line to diagnose the malfunction instead of dispatching a service engineer to the site at which the CNC system is installed. Nevertheless, even if the portion of the CNC system at which a malfunction has occurred is found as a result of the malfunction diagnosis effected by the host computer connected to the CNC system, a service engineer must be dispatched to the field to repair the malfunction, and it is not always possible to meet the user's request for an immediate dispatch of a service engineer. On the other hand, as a result of the diagnosis, it is often found that the CNC system is suffering only a local malfunction, and can be returned to use by a suitable processing of the malfunction. Further, it is sometimes found that the CNC system itself has malfunctioned and it is a sequence program or the like that is defective. Therefore, there are many cases wherein a machining operation can be resumed by taking suitable measures, without the need for a service engineer at the site. DISCLOSURE OF THE INVENTION Taking the above into consideration, an object of the present invention is to provide a malfunction diagnosis system capable of processing input and output signals and the like of a host computer. EP-A-0051861 discloses a malfunction warning and diagnosis system. According to the present invention, there is provided a malfunction diagnosis method of diagnosing a malfunction of a numerical control system (CNC) having a programmable controller (PC) including a non-volatile memory by a remote host computer, the method comprising the step of: reading input and output signals of the PC by the host computer; and characterised by the steps of: diagnosing the malfunction to determine whether the malfunction can be repaired by processing the input and output signals and/or by changing a sequence program in the PC; remotely repairing the malfunction by processing the input and output signals and storing corrected processing signals in the non-volatile memory; and, executing the sequence program using the corrected processing signals. When a local malfunction occurs and the CNC system can be used by restricting a part of the functions thereof, a part of the input and output signals is peremptorily changed to enable the CNC system to be operated. In the drawings: Fig 1. is a conceptual diagram of a malfunction diagnosis system according to the present invention; and, Figure 2 is a flowchart of the processing effected by a host computer. BEST MODE OF CARRYING OUT THE INVENTION An embodiment of the present invention will be described below with reference to drawings. Figure 1 shows a conceptual diagram of a malfunction diagnosis system according to the present invention, wherein 1 designates a numerical control system (hereinafter, referred to as a CNC) and 2 designates a programmable controller (hereinafter, referred to as a PC), which is a programmable machine controller (PMC) contained in the CNC 1 or a programmable logic controller (PLC) provided independently of the CNC 1. The PC 2 is provided with a ROM 21 in which a sequence program and a management program for managing the execution of the sequence program are stored, a RAM 22 in which input and output signals and the like are stored, and a non-volatile memory 23 in which parameters which must be maintained after a power supply is cut are stored. Sometimes, the sequence program is stored in the RAM 22 to operate the system in such a manner that a part of the sequence program can be changed in response to an instruction from a host computer. In Figure 1, 3 designates a machine tool and 4 designates the host computer installed at a service center and connected to the PC 2 through a communication line 5. Preferably the communication line is a public communication line of about 2400 bits/sec to 9600 bits/sec, or a high speed digital transmission line of 64 kbits/sec or more when image data or the like is transmitted at a high speed. The CNC 1 outputs machine control signals F such as M, S, and T functions and the like, and the PC 2 output signals Y to the machine tool 3 to control actuators and the like thereof in response to the signals F. On the contrary, the machine tool 3 outputs signals X of switches and the like, indicating the statuses thereof to the PC 2, and the PC 2 controls the machine tool 3 based on these signals. Further, a part of the signals is directly transmitted to the CNC as signals G, or transmitted thereto after having been processed by the sequence program in the PC 2. Therefore, it is generally possible to diagnose a portion of the CNC system at which a malfunction has occurred by examining these input and output signals F, Y, X, and G. On the other hand, when a malfunction of the switches of the machine tool 3 occurs, the system is arranged such that the PC 2 produces an alarm and the operation of the machine tool 3 is interrupted. The malfunction of the switches or the like is rarely related to an overall machining operation, however, and thus when the malfunction is not related to the overall machining operation, the parts of the machining operation not affected by the malfunction can be continued. Therefore, when this kind of malfunction occurs, preferably the CNC system operation is continued by tentatively processing a malfunctioned portion thereof, as long as this does not affect the safety of the operation. Similarly, even if a malfunction of a part of the functions of the CNC 1 has occurred, preferably the operation of the CNC system is continued if the malfunctioned part is not necessary to the current machining. Therefor, when the malfunctioning portion is found, an instruction for peremptorily ignoring the status of the signals causing the malfunction is transmitted from the host computer and stored in the non-volatile memory 23 in the PC 2, to operate the CNC system. Further, a malfunction is sometimes caused by an error in the sequence program, and in this case, the CNC system can be operated by correcting a part of the sequence program by an instruction from the host computer 4. To accomplish this, the CNC system must be operated with the sequence program stored in the RAM 22. Figure 2 shows a flowchart of a processing effected by the host computer, wherein numerals prefixed with an "S" indicate the numbers of steps of the process. At step 1, a service engineer at a service station reads input and output signals through the communication line 5, using the host computer. In this case, data shown on a display and indicating the status of signals of the PC 2 can be directly transmitted as video signals. At step S2, the service engineer diagnoses a malfunction based on the input and output signals and the content thereof, to determine the cause of the malfunction, and when the cause is found, at step 3 it is determined whether the malfunction can be repaired based on an instruction from the host computer 4. When the malfunction can be repaired, the flow goes to step S4, and when it cannot be repaired, the service engineer goes to the site at which the CNC system is installed, and the operation of the CNC system is stopped until the service engineer arrives. At step S4, the input and output signals are processed. For example, when the signals X from the machine tool 3 are defective, the signals are cut off and other signals are tentatively stored in the non-volatile memory 23 and read by the sequence program. When the signals F from the CNC 1 are defective, the same process is executed. Further, when the sequence program is defective, the sequence program is partly corrected. The corrected part is stored in the non-volatile memory 23, and corrected when a power supply is switched on and the sequence program is transmitted from the ROM 21 to the RAM 22. Then, at step S5, it is determined whether the malfunction has been repaired, and when the malfunction has not been repaired, the flow returns to step S2 and the diagnosis of the malfunction is continued. The temporarily repaired portion will be permanently repaired by a service engineer later, and down time of the CNC can be minimized and the workload of the service engineer reduced. As described above, according to the present invention, since signals and the like causing a malfunction can be changed by the host computer, the malfunction can be repaired by a remote control operation, and the time necessary to repair the malfunction is reduced, whereby the operation rate of the CNC system is improved and the workload of the service engineer is reduced.

Claims: A malfunction diagnosis method of diagnosing a malfunction of a numerical control system (1) having a programmable controller (2) including a non-volatile memory (23) by a remote host computer (4), the method comprising the step of: reading input and output signals of the programmable controller by the host computer; and characterised by the steps of: diagnosing the malfunction to determine whether the malfunction can be repaired by processing the input and output signals and/or by changing a sequence program in the programmable controller; remotely repairing the malfunction by processing the input and output signals and storing corrected processing signals in the non-volatile memory (23); and, executing the sequence program using the corrected processing signals. A method according to claim 1, wherein the programmable controller (2) is a programmable machine controller (PMC) contained in the numerical control system.

Inventors: CHIBA KOSUKE FANUC DAI- BIRA-K, TANAKA KUNIO, CHIBA, KOSUKE FANUC DAI-3 BIRA-KARAMATSU, TANAKA, KUNIO
Applicants: FANUC LTD, FANUC LTD.
Application year: 1989
Main classification: G05B19
IPC codes: G05B19, G05B23, G05B9, G06F11