SYSTEM FOR REMOTELY DIAGNOZING CNC

Abstract: A personal computer (10) is operated by a service engineer, and a remote operation instruction is sent to the CNC (30) via a communication circuit (53). The data of diagnosis of the CNC (30) selected by the remote operation instruction are transferred to the personal computer (10) and are displayed on a unit (20). The service engineer diagnoses the trouble of the CNC (30) based on the data of diagnosis.

Description: TECHNICAL FIELD The present invention relates to a system for a remote diagnosis of a numerical control apparatus (CNC) for remotely diagnosing a failure of the CNC, and more specifically, to a system for a remote diagnosis of the CNC by which displayed data at the numerical control apparatus is transferred to a computer by a remote operation. BACKGROUND ART Numerical control apparatuses have become more complicated and sophisticated due to advances in semiconductor technology including microprocessors and software technology, and the the failure rate of numerical control apparatuses has been lowered by providing greater reliability technology. Nevertheless when a failure occurs, it is very difficult to find the cause thereof. More specifically, when a complicated failure occurs, the service engineer must have an overall knowledge of electronics, software, machines and machining technology to be able to correct the failure. Nevertheless, very few service engineers have sufficient knowledge to do this, and thus a waste of manpower is incurred if such a competent engineer must be exclusively posted at each factory wherein such numerical control apparatuses are installed. US-A-3882305 discloses a diagnostic communication system for use with industrial machines. Taking the above into consideration, an object of the present invention is to provide a system for a remote diagnosis of a CNC by which data displayed at the numerical control apparatus is transferred to a computer by a remote operation. To solve the above problem, in accordance with the present invention, there is provided a computer comprising: an operation key for executing a remote operation command; operation command conversion means for converting the remote operation command to text to be transmitted; a display unit for displaying the diagnosis data; and a communication control unit for transmitting the text to be transmitted and for receiving the diagnosis data; characterised by: video data extraction means for extracting video data from received diagnosis data; display data conversion means for converting diagnosis data to video data; a video RAM for storing the video data; and the display unit also displaying the video data. According to the present invention there is further provided a numerical control apparatus, comprising: remote operation command decoding means for decoding a remote command; diagnosis data selection means for selecting required diagnosis data based on the remote operation command; a display unit for displaying the diagnosis data; a communication control unit for receiving the remote operation command and transmitting the diagnosis data; characterised by: diagnosis data conversion means for converting the diagnosis data to video data; a video RAM for storing the video data; the display unit also displaying the video data; and a video data conversion means for converting the video data to a text to be transmitted. A system including the computer and NC machine of the present invention is also disclosed. The computer generates and outputs a remote operation command to the numerical control apparatus through the communication line, and diagnosis data of the numerical control apparatus selected in accordance with this remote operation command is transferred to the computer. Accordingly the service engineer can diagnose the cause of a failure of the numerical control apparatus in accordance with the data displayed on the computer. In the drawings:- Figure 1 is a block diagram of a system for a remote diagnosis of a CNC according to the present invention; and Figure 2 is a block diagram of hardware according to the present invention. An embodiment of the present invention will be described below with reference to drawings. Figure 1 shows a block diagram of an embodiment of a system for a remote diagnosis of a CNC according to the present invention wherein 10 designates a computer, which can be a 16 bits or 32 bits general personal computer (PC) or a work station. Here, the description is based on the use of a personal computer (PC). The personal computer 10 is installed at a service base, and remote operation commands are executed by a service engineer having the above-mentioned overall knowledge. The service engineer generates a required operation command through the personal computer 10, obtains the necessary data from a remote numerical control apparatus, makes a diagnosis of the failure and finds the failed portion or an error in a machining program or set parameters, and outputs instructions for the repair of the CNC or correction of the machining program, as necessary. Numeral 11 designates an operation key by which a required remote operation command 12 is output; and 13 designates an operation command conversion means for converting the remote operation command 12 to a text to be transmitted. More specifically, the remote operation command is converted to a code or format for transmission and a check bit and the like is added thereto. Numeral 14 designates a transmission control means for notifying the start of a text transmission. Numeral 15 designates a communication control unit for transmitting the remote operation command and receiving diagnosis data. Although an RS232C is used here as a physical interface, other interfaces may be used as desired. Numeral 16 designates a reception control means for internally recognizing that diagnosis data has been received from the numerical control apparatus 30; 17 designates a video data extraction means for extracting video RAM data from the received diagnosis data; 18 designates a display data conversion means for converting the data to one image of video data displayed on a display unit; 19 designates a video RAM for storing one displayed image of video data, which can be, of course, enlarged to the capacity of the display unit for displaying a plurality of images, as necessary; and 20 designates the display unit which can be a CRT, a liquid crystal display unit or the like. Here, a CRT is used here. In this description, one image displayed on a display unit of the numerical control apparatus, to be described later, is displayed on the display unit 20, whereby the service engineer at a service center can carry out a diagnosis of the remotely installed numerical control apparatus at a service center by studying the image displayed. Numeral 30 designates the numerical control apparatus (CNC) to be diagnosed, which is installed at a location remote from the service center at which the service engineer is working; 31 designates a communication control unit comprising the same RS232C interface as that of the communication control unit 15; 32 designates a reception control means for internally recognizing that a remote operation command has been received; 33 designates a remote operation command decoding means for decoding a remote operation command from a received signal, this remote operation command being a selection signal for selecting displayed images; and 34 designates a diagnosis data selection means. Although diagnosis data is selected by the remote operation command, in practice display image is selected from an internal memory. The diagnosis data selection means 34 receives a selection signal input by an operator at the numerical control apparatus 30 through an operation key 38, and this signal is executed in accordance with an instruction output by the service engineer working at the personal computer 10. Numeral 35 designates a diagnosis data conversion means for converting data selected from a displayed image to one data image able to be displayed; and 36 designates a video RAM for storing video data to be displayed at the display unit 37. This display unit 37 is monitored by an operator staying in the vicinity of the numerical control apparatus. Data in the video RAM 36 is read by a video data reading means 39, a check bit and the like is added to that data by a video data conversion means 40, and the data is then converted to a text to be transmitted. When notification of a transmission is output from a transmission control means 41, the text to be transmitted is output from the communication control unit 31. The following images are displayed by the numerical control apparatus 10 which is remotely operated. (i) Images displaying a present position and remaining moving amount A present position and the like is a basic amount used to determine the location of the machine at which a failure has occurred, and thus is the basic data used for a failure diagnosis. (ii) Image display alarm An alarm image display displays the content of the alarm. Although an operator can often discriminate a simple alarm, a service engineer must study and discriminate a complex alarm. In particular, the alarm image displayed must be studied by a service engineer, since an operator in a factory often may not have sufficient knowledge of numerical control apparatuses and the like. (iii) Image displaying an input/output signal A signal input or output to and from the numerical control apparatus is used to determine whether external hardware is operating normally. (iv) Image displaying a ladder state A failure at the machine can be found by referring to a ladder program contained in a programmable controller or a signal input or output to and from the programmable controller. In addition to the above, images displaying a part program, parameters, ROM/RAM data, offsets, a version of a system program and the like, must be selected. Of course, these images are only examples and it is possible to predetermine other images necessary for diagnosis of a failure, and select these images as necessary. Numerals 51 and 52 designate modulators/demodulators for converting transmitted data to a signal suitable for a communication line 53. Here, a public communication line of about 2400 bits/sec - 9600 bits/sec is used as the communication line 53. Preferably, however, a transmission line of at least 64 K bits/sec is used for a high speed digital transmission, to transmit the image data at a high speed. Note, when a high speed communication line is used, the communication control units 15 and 31 must be modified. Figure 2 is a block diagram showing the hardware of the present invention, wherein 30 designate the numerical control apparatus (CNC); 61 designates a processor for controlling the numerical control apparatus; 62 designates a ROM in which a system program is stored; 63 designates a RAM to which the system program is loaded and in which other data is stored; 11 designates an operation key; 20 designates a display unit; 64 designates a CMOC constituting a non-volatile memory backed up by a battery; 71 to 75 designate axis control circuits for controlling respective axes; and 81 to 85 designate servo amplifiers for driving servo motors 91 to 95. Numeral 65 designates a communication port for outputting a remote operation signal and the like and receiving a video signal. Numeral 66 designates a programmable machine controller (PMC) contained in the numerical control apparatus 30, for controlling the machine by a ladder type sequence program; and 67 designates an input/ output unit and an interface to an electric control console or an operator console on the machine side. Numerals 51 and 52 designate modulators and demodulators; and 53 designates the communication line. Numeral 10 designates a personal computer having a computer unit 42 to which a communication port 43 is added. Although the personal computer executes a remote operation to obtain a displayed image selection signal required for the diagnosis, and the diagnosis data is a video signal of a displayed image as mentioned above, it is possible to output a required signal by a remote operation, select the signal from the numerical control apparatus, and receive the signal at the personal computer by a method other than that described above, and for this purpose, a protocol must be predetermined. As described above, according to the present invention, since the computer can obtain an image signal and the like displayed at the numerical control apparatus installed at a remote place, by a remote operation, a service engineer having the above-mentioned overall knowledge can diagnose a failure of the numerical control apparatus while working at a location remote therefrom, and as a result, a time needed for correcting the failure is shortened, and thus maintenances costs are reduced.

Claims: A computer (10) comprising: an operation key (11) for executing a remote operation command (12); operation command conversion means (13) for converting the remote operation command to text to be transmitted; a display unit (20) for displaying the diagnosis data; and a communication control unit (15) for transmitting the text to be transmitted and for receiving the diagnosis data; characterised by: video data extraction means (17) for extracting video data from received diagnosis data; display data conversion means (18) for converting diagnosis data to video data; a video RAM (19) for storing the video data; and the display unit (20) also displaying the video data. A numerical control apparatus (30), comprising: remote operation command decoding (33) means for decoding a remote command (12); diagnosis data selection means (34) for selecting required diagnosis data based on the remote operation command; a display unit (37) for displaying the diagnosis data; a communication control unit (31) for receiving the remote operation command and transmitting the diagnosis data; characterised by: diagnosis data conversion means (35) for converting the diagnosis data to video data; a video RAM (36) for storing the video data; the display unit (37) also displaying the video data; and a video data conversion means (40) for converting the video data to a text to be transmitted. A system for a remote diagnosis of a numerical control system (CNC), for remotely diagnosing a failure of the CNC, the system comprising: a computer (10) according to claim 1; a numerical control apparatus (30) according to claim 2; and a communication line (53) linking the computer to the numerical control apparatus. A system according to claim 3, wherein the remote operation command (12) is a displayed image selection signal and the diagnosis data is a video signal of a displayed image.

Inventors: HOSOKAWA MASAHIKO FANUC DAI- B, KAWAMURA HIDEAKI, MURAKAMI KUNIHIKO, SASAKI TAKAO, HOSOKAWA, MASAHIKO FANUC DAI-3 BIRA-KARAMATSU, KAWAMURA, HIDEAKI, MURAKAMI, KUNIHIKO, SASAKI, TAKAO
Applicants: FANUC LTD, FANUC LTD.
Application year: 1989
Main classification: G05B23
IPC codes: H04Q9, G05B19, G05B23, G08C19