DEVICE FOR ANALYZING WORKING HOURS OF INJECTION MOLDING MACHINE

Abstract: A device for analyzing working hours, which can measure and store working hours of an injection molding machine for each working status and automatically analyze working hours. Said device detects a working status of the injection molding machine through internal processings (S1 to S6) of a CPU (14) for PMC adapted to sequence-control the injection molding machine. While a specific working status (S1 to S6) is being detected, a very small time Sg(D)t as being an execution period of internal processing is successively added. With these operations, a cumulative time for each working status, i.e. the working hours for each working status can be calculated. Then, the working hours are stored in a nonvolatile RAM (8) by the processing of the CPU (14) for PMC for each working status of the injection molding machine. On the basis of the interrelations between individual working hours stored for each working status, hour ratios and the like accounted for by the respective working status art calculated, and the calculated result and working hours for each working status are display-outputted on a CRT display device of a manual data input device (18) provided with the CRT display device in association with respective working status of the injection molding machine.

Description: The present invention relates to an operating time analysing apparatus for an injection molding machine according to the precharacterising part of claim 1. An operating time analyzing apparatus of this type is used for measuring and totalizing elapsed times associated with specific operating conditions of an injection molding machine. In order to carry out periodical inspection, production management, etc. for injection molding machines in a rationalized manner, it is necessary to periodically analyze the times during which the injection molding machines are operated in various operating conditions. In the case of a conventional injection molding machine, its operator manipulates a timer, stopwatch, or the like depending on the operating condition of the machine for manually measuring the automatic or manual operation time, time loss attributable to the generation of alarms, etc., and records or writes down the obtained information in a daily work report or the like. Sometimes, however, the operator may erroneously operate the timer, stopwatch, or the like, so that it has been difficult to obtain accurate results of measurement at all times. Moreover, in an ordinary injection molding operation, one operator is generally assigned to control about ten injection molding machines. Under such circumstances, however, it is not easy for the operator to operate the timer, stopwatch, etc., and keep the results of measurements on record for each and all such injection molding machines by making entries in the daily work report. Besides, the operator is likely to make interpretative and calculative errors in the processing of the operating time analysis as far as the analysis depends on the manual calculation based on the raw data recorded on the daily work report or the like. If the operating times are analyzed through manual calculation based on firsthand time data described in the work diary or the like, moreover, misreading of data or calculation errors are liable to be caused. A previous attempt to improve upon the manual process, has been disclosed in JP-A-01-090718, which discloses an operating time analyzing apparatus for an injection molding machine, according to the preamble of the attached claim 1. This is, however, a simple apparatus not capable of separately detecting and accumulating the time spent in different categories of injection molding machine operation. EP-A-0487740 is relevant under Article 54(3)EPC, and discloses a method of monitoring the operational histories of a group of injection molding machines. The object of the present invention is to provide an operating time analyzing apparatus for an injection molding machine, capable of accurately analyzing and storing an operating time for each operating condition without the intervention of an operator. According to the present invention there is provided an operating time analyzing apparatus for an injection molding machine, comprising: operating condition detecting means for detecting various operating conditions of an injection molding machine; timer means for cumulatively recording operating conditions detected by means of said operating condition detecting means; and data output means for displaying operating conditions recorded by means of the timer means; characterised in that: said operation condition detecting means is operable to discriminate automatically the category to which a present operating condition of the injection molding machine belongs, from among a plurality of categories determined in advance, at every predetermined period during a time when power is supplied to the injection molding machine; said timer means comprises a plurality of cumulative storage means each of which is provided for a respective one of said operating categories and is arranged in such manner that, when said operating condition detecting means discriminates a specific category of present operation of the injection molding machine, the cumulative storage means corresponding to this discriminated category accumulates, at every one of said predetermined periods, the time for which this category of present operation prevails, and memorizes the thus-accumulated data; and time data outputting means are provided, operable to take out automatically time data cumulatively stored in each said cumulative storage means in accordance with an output displaying instruction, and to cause the time data to be displayed as data indicative of an accumulated time for each category of operating condition. Preferably, the various operating categories (i.e. conditions) include the power-on time of the injection molding machine; the apparatus further comprises means for calculating the respective ratios of the cumulative operation times for the individual operating categories, determined by the timer means, to the power-on time cumulatively recorded by the timer means, and the data output means for displaying the calculated operation time ratios for the individual operating conditions. Also, the various operating categories may include at least one of a heater heat-up time, alarm generation time, stopping time after the completion of production, manual operation time, and automatic operation time. Further preferably, a centralized control computer and a plurality of injection molding machines are connected through data transmission lines, with each of the injection molding machines provided only with the operating condition detecting means, while the centralized control computer being provided with the other means. An embodiment of the present invention may comprise operating condition detecting means for detecting various operating conditions of an injection molding machine, clock means, totalization time output means for outputting a signal when a time output from the clock means agrees with a predetermined time, timer means adapted to be reset in response to the output signal from the totalization time output means and serving to cumulatively record times of various operating conditions detected by the operating condition detecting means, operation time storage means for individual operating conditions for successively storing the times cumulatively recorded by the timer means in response to the output signal from the totalization time output means, and data output means for displaying the cumulatively recorded times of the individual operating conditions stored in the operation time storage means for individual operating condition. Preferably, the various operating conditions include the power-on time of the injection molding machine; the apparatus further comprises means for calculating the respective ratios of the cumulative operation times of the individual operating conditions, determined by the timer means, to the power-on time cumulatively recorded by the timer means; the operation time storage means for individual operating condition also stores the calculated operation time ratios; and the data output means displays the operation time ratios as well as the cumulatively recorded times of the individual operating conditions. Also, these operating conditions may include at least one of a heater heat-up time, alarm generation time, stopping time after the completion of production, manual operation time, semiautomatic operation time, and automatic operation time. Preferably, the totalization time output means outputs one signal a day, and the operation time storage means for individual operating condition stores the operation times by conditions for each day and the operation time ratios. Preferably, the clock means has a calendar function, and includes means capable of reading the month and day delivered from the clock means in response to the output signal from the totalization time output means, adding together the operation times of the various operating conditions for each day, stored in the operation storage means for individual operating condition, when the read day is the last day of the month, calculating the respective ratios of the sum totals of the operation times of the individual states compared with the total power-on time, and storing monthly operation time storage means for individual operating condition with each sum total and each ratio stored as operation times by conditions and operation time ratio, respectively, for the read month. Preferably, the monthly operation time storage means for individual operating condition stores data for one year, and the means for storing the monthly operation time storage means for individual operating condition rewrites stored data of each corresponding month into the calculated operation times by conditions and into operation time ratio for the month. Further preferably, a centralized control computer and a plurality of injection molding machines are connected through data transmission lines, with each of the injection molding machines provided only with the operating condition detecting means, while with the centralized control computer provided with the other means. According to the present invention, as described above, the elapsed times of the individual specific operating conditions of the injection molding machine are integrated and stored by the operation time storage means for individual operating condition while the individual specific operating conditions are detected by the operating condition detecting means. The integrated time stored in the operation time storage means for individual operating condition is displayed for each specific operating condition by the data output means. Further, the operation time storage means for individual operating condition may calculate the ratio of the integrated time of each specific operating condition on the basis of the relationship between the power-on integrated time and another integrated time, and displays the ratio of the integrated time of each specific operating condition through the data output means. When the integrated time and the ratio of the integrated time of each specific operating condition are displayed, values in the state operation time storage means for individual operating condition are automatically initialized, and thereafter, the integrated time and the integrated time ratio of each specific operating condition are displayed in every predetermined period. Thus, with use of the operating time analyzing apparatus according to the present invention, the chances of the measurement errors due to an operator's erroneous use of a timer, stopwatch, or the like during the operation of the machine can be eliminated, and the trouble of keeping a bothersome daily work report for recording the results of measurement will become unnecessary. Further, misreading of data or calculation errors, which are unavoidable in analyzing the integrated times through manual calculation based on firsthand time data obtained from the daily work report or the like, can be avoided, so that the reliability of the results of analysis will be improved substantially. Brief Description of the Drawings Fig. 1 is a block diagram showing the principal part of a motor-operated injection molding machine according to one embodiment of the present invention; Fig. 2 is a flow chart showing an outline of a state detection processing executed by a PMCCPU according to the embodiment; Fig. 3 is a flow chart showing an outline of an operation time storage processing executed by the PMCCPU according to the embodiment; Fig. 4 is a continuation of the flow chart showing the outline of the operation time storage processing; Fig. 5 is a continuation of the flow chart showing the outline of the operation time storage processing; Fig. 6 is a flow chart showing an outline of a display request detection processing executed by the PMCCPU according to the embodiment; Fig. 7 is a conceptual diagram showing a file for storing daily data for one month; Fig. 8 is a conceptual diagram showing a file for storing monthly data for one year; Fig. 9 is a conceptual diagram showing an example of a data display mode; and Fig. 10 is a block diagram showing an example of an operating time analyzing apparatus based on a centralized computer system. Embodiments of the present invention will now be described with reference to the drawings. A motor-operated injection molding machine 19, to which an operating time analyzing apparatus according to the present invention is applied, comprises a stationary platen 27, a movable platen 28, an injection cylinder 29, and a screw 30, the injection cylinder 29 including a band heater 34 for use as heating means and a thermocouple 35 for use as temperature detecting means. The movable platen 28 is moved along tie-bars (not shown) by means of an axial output of a servomotor M1 for mold clamping, with the aid of a drive converter 31, which is composed of a ball-nut-screw mechanism, toggle mechanism, or the like. Also, the screw 30 is moved in the axial direction by means of a servomotor M3 for injection, with the aid of a drive converter 32, which is composed of a ball-nut-screw mechanism, boss-serration mechanism or the like. Further, the screw 30 is rotated for metered kneading by means of a servomotor M2 with the aid of a transmission mechanism such as a gear mechanism 33. A numerical control device for controlling the injection molding machine 19 comprises a microprocessor (hereinafter referred to as NCCPU) 12 for numerical control and a microprocessor (hereinafter referred to as PMCCPU) 14 for a programmable machine controller. The PMCCPU 14 is connected, though data buses, to a ROM 17, stored with programs for controlling the sequence operation of the injection molding machine and the like, and a nonvolatile RAM 8, utilized for the storage of integrated times for individual operating conditions. The microprocessor 12 for numerical control is connected to a ROM 15 stored with management programs for generally controlling the injection molding machine 19, a RAM 4 used for temporary storage of data and the like, and a servo interface 11. Further, the servo interface 11 is connected to a servo circuit 1 of the servomotor M1 for mold clamping, a servo circuit 2 of the servomotor M2 for metering rotation, and a servo circuit 3 of the servomotor M3 for injection. Feedback signals from pulse coders P1, P2 and P3, which are attached to the servomotors M1 to M3 respectively are applied to the servo circuits 1, 2 and 3, respectively. In Fig. 1, only servomotors M1 to M3 are illustrated, and illustration of other servomotors, e.g., servomotors for ejector operation, mold thickness adjustment, nozzle touch, etc., is omitted. The NCCPU 12 and the PMCCPU 14 are connected to each other through a bus arbiter controller 13. Also, the bus arbiter controller 13 is connected to a nonvolatile common RAM 5, an input circuit 6, and an output circuit 7 through data buses. Further, the servo circuit 3, having a torque limit circuit built-in, receives from the output circuit 7 a torque limit value for regulating the maximum injection pressure produced by the servomotor M3 for injection. The band heater 34 is on/off-controlled by the PMCCPU 14 through the the output circuit 7 and a heater circuit 10. While, the respective temperatures of individual parts of the injection cylinder 29, detected by the thermocouple 35, are A/D-converted and applied to the input circuit 6. Further, the current time from a clock unit 9 is applied to the input circuit 6 of the numerical control device. The clock unit 9 has an auto-calendar function to automatically update the respective numbers of the year, month, and day in accordance with preset data, as well as a function of outputting the current time expressed by hour, minute, and second. The bus arbiter controller 13 controls the inputting and outputting of the data between the individual elements by selecting the data buses. An operator controller 16 constitutes an interface between numerical control device and a manual data input device with CRT display unit (hereinafter referred to as CRT/MDI) 18. Various set conditions for injection molding operation are set and entered in the common RAM 5 through the CRT/MDI 18 on an operator's judgment. The CRT/MDI 18, which is composed of a control panel arranged on the injection molding machine body and terminal equipment separate from the injection molding machine body, is provided with a CRT display unit, ten-keys for data entry, soft keys for command entry, etc. The control panel of the CRT/MDI 18 is provided with a semiautomatic operation switch for starting execution of only one cycle of an injection stage from mold clamping to ejection in accordance with programs, an automatic operation switch for starting repeated execution of the injection stage, and a manual operation switch. When manual control keys for mold clamping, metering rotation, injection, ejector operation, etc. are selectively operated, with the manual operation switch selected, the servomotors for individual axes are driven at a predetermined speed. The feed of the individual axes by the manual control keys are controlled by the NCCPU 12 in accordance with the conditions set in the common RAM 5 and the control programs stored in the ROM 15. These manual control keys, along with the semiautomatic operation switch, automatic operation switch and manual operation switch, are arranged on the control panel on the injection molding machine body. Further, the injection molding machine 19 has an abnormality detecting function for detecting abnormality in individual parts of the injection molding machine and outputting alarms, a counting function for cumulatively storing the number of product shots, a cold start preventing function, etc. The abnormality detecting function is triggered if an abnormality is detected in the numerical control device according to self-diagnosable programs, or if an abnormality is detected in the servomotors for the individual axes. This function is triggered, for example, when positional deviation of the servomotors M1, M2 and M3 for mold clamping, metering rotation or injection has increased extraordinarily increase during operation due to the entry of any foreign matter in molds, nozzle clogging, solidification of resin, etc., or when movable units driven by the servomotors of the individual axes during manual operation overtravel to actuate limit switches. If such an abnormality is detected, the NCCPU 12 or PMCCPU 14 for controlling the operation concerned sets an alarm detection flag of the common RAM 5. A counter for cumulatively storing the number of product shots is automatically counted up every time one cycle of the injection stage by the injection molding machine 19 is completed. When the result of the count has attained a number of productions previously set by the CRT/MDI 18, the injection molding machine 19 automatically stops in a mold open state, and the PMCCPU 14 sets a production completion flag of the common RAM 5. If the number of productions is not set, or if it is reset through the CRT/MDI 18, the value of counter and the production completion flag are reset, whereupon the automatic operation of the injection molding machine 19 will be continued until the operation is cancelled. The counter for cumulatively storing the number of product shots will never function unless the number of productions is set. When temperatures in all zones of the injection cylinder 29, which are detected by the thermocouple 35, get in a predetermined range (e.g., ±10%) of deviation from a set value, after the heating temperature of the injection cylinder 29 is set by the CRT/MDI 18, and the band heater 34 is connected to the power supply, prior to the start of the injection molding operation, a cold start prevention timer operates for a predetermined time (normally 15 to 25 minutes). A cold start prevention flag is set in the common RAM 5 lest the injection molding machine 19 perform the injection molding operation before the predetermined time has elapsed after having been connected to the power supply. This cold start prevention flag is automatically reset when the passage of the predetermined time is detected by means of the cold start prevention timer. When the band heater 34 is connected again to the power supply, this flag will be set again. In this arrangement, the operation of the injection molding machine 19 is controlled in a manner such that the NCCPU 12, which operates in accordance with the management programs stored in the ROM 15, distributes pulses to the individual axes through the servo interface 11, and the PMCCPU 14, which operates in accordance with the sequence programs stored in the ROM 17, manages the general sequence operation, in accordance with the set values and the like stored in the common RAM 5. A state detection processing shown in Fig. 2, an operation time storage processing shown in Figs. 3 to 5, and a display request detection processing shown in Fig. 6 are tasks stored in the ROM 17. Among these tasks, the task for the state detection processing of Fig. 2 is repeatedly executed at fine time intervals Δt by means of the PMCCPU 14 as long as the injection molding machine 19 is connected to the power supply. Referring now to the flow charts of Figs. 2 to 6, the processing operation of the operating time analyzing apparatus according to the first embodiment of the present invention will be described. Various operation time storage registers (Ta, Tb, · · · ), each composed of a nonvolatile memory (not shown), are previously reset to be in their respective initial states. Referring first to Fig. 2, the operating state detection processing of the present embodiment will be described. The PMCCPU 14 determines whether or not the cold start prevention flag is set in the common RAM 5 in the state detection processing for each predetermined cycle, that is, whether or not the band heater 34 is in a heat-up stage for heating the injection cylinder 29 (Step 1). If it is detected in this step that the band heater 34 is in the heat-up stage, the execution cycle Δt for the present processing is added to a heat-up time storage register Ta, and the heater heat-up time is cumulatively stored (Step S7), whereupon the state detection processing for this cycle is finished. Since the injection molding operation of the injection molding machine 19 is prohibited in the heat-up stage for the band heater 34, as mentioned before, operations for any other objects of measurement cannot be executed as long as the result of decision in Step S1 is positive (Y: heater being in heat-up stage). When the cold start prevention flag is reset after the heat-up stage for the band heater 34 is finished, the result of detection in Step S1 of the state detection processing of Fig. 1 is always negative (N), and Step S2 is entered. Thereupon, the PMCCPU 14 executes the state detection processing for the subsequent cycles. In Step S2, the PMCCPU 14 determines whether or not the alarm detection flag is set, that is, whether or not an abnormality is detected in any part of the injection molding machine 19. If the abnormality is detected, the execution cycle Δt is added to an alarm generation time storage register Tb, and the alarm generation time is cumulatively stored (Step S8), whereupon the state detection processing for this cycle is finished. Since the operation of the injection molding machine 19 is automatically stopped when the alarm detection flag is set, operations for any other objects of measurement will not be executed while the machine is at rest. If no alarm is detected in the state detection processing for this cycle, the PMCCPU 14 further proceeds to a discrimination processing of Step S3, whereupon it determines whether or not the production completion flag is set, that is, whether or not a predetermined number of injection molding operations are completed. If it is concluded that the predetermined number of injection molding operations are completed, the PMCCPU 14 adds the execution cycle Δt to a stopping time storage register Tc for storing the stopping time after the completion of production, and cumulatively stores the stopping time after the completion of production (Step S9), whereupon the state detection processing for this cycle is finished. In order to drive the injection molding machine 19 after the completion of production, the production completion flag must be reset by operation through the CRT/MDI 18, without regard to the operation mode, manual, semiautomatic, or automatic, so that the operation time for the manual, semiautomatic, or automatic operation after the completion of production will not be added to the stopping time storage register Tc. When the production completion flag is not detected, any of the manual, semiautomatic, and automatic operations can selectively be executed, so that the PMCCPU 14 proceeds to a processing for discriminating the operation mode. Thereupon, the PMCCPU 14 discriminates the activated switch out of the manual operation switch, semiautomatic operation switch, and automatic operation switch arranged on the control panel on the injection molding machine body. If the manual operation is detected, the execution cycle Δt is added to a manual operation time storage register Td, and the manual operation time is cumulatively stored (Steps S4 and S10). If the semiautomatic operation is detected, the execution cycle Δt is added to a semiautomatic operation time storage register Te, and the semiautomatic operation time is cumulatively stored (Steps S5 and S11). If the automatic operation is detected, the execution cycle Δt is added to an automatic operation time storage register Tf, and the automatic operation time is cumulatively stored (Steps S6 and S12). If none of the operation switches are activated, the execution cycle Δt is added to a register Tg for storing other operation times (Step S13). In the state detection processing shown in Fig. 2, the order of discrimination processings for detecting specific operating conditions, such as the heat-up stage for the heater, alarm generation, production completion, etc., which never overlap one another, can be changed as required. While the state detection processing of Fig. 2 is being executed in this manner, the PMCCPU 14 further repeatedly executes the task for the operation time storage processing shown in Figs. 3 to 5. In this processing, current data on the hour, minute, and second is read from the clock unit 9, and it is determined whether or not the value of this data is identical with a predetermined data totalization time (Step S14). If the values are not identical, the operation time storage processing for this cycle is finished without executing the processing of Step S15 and subsequent processings, which will be mentioned later. The resolution of the clock unit 9 associated with the hour, minute, and second is matched with the execution cycle of the operation time storage processing of the PMCCPU 14, and the result of discrimination in Step S14 becomes positive (Y) only in one cycle a day. If the current data on the hour, minute, and second, in the clock unit 9, agrees with the predetermined data totalization time, the PMCCPU 14 reads current data on the date from the clock unit 9, and stores it as a date index d (Step S15). Subsequently, the PMCCPU 14 reads the value in the heat-up time storage register Ta, which is stored with the accumulated times for the specific operating states for a full day from the data totalization time of the preceding day to the current data totalization time, value in the alarm generation time storage register Tb, value in the stopping time storage register Tc, value in the manual operation time storage register Td, value in the semiautomatic operation time storage register Te, value in the automatic operation time storage register Tf, and values in the storage register Tg for storing the other operation times. The individual read register values (Ta to Tg) and the value of power-on time for one day, i.e., the sum of the read values, are made to respectively correspond to date index d, updated and stored in individual storage regions Tad, Tbd, Tcd, Tdd, Ted, Tfd, Tgd and Tσd of a file of the nonvolatile RAM 8 for storing everyday data for one month (Step S16). Then, all the values in the individual registers Ta to Tg are initialized (Step S17). Thereafter, the PMCCPU 14 calculates the ratio of the power-on time to a day and the respective ratios of the heater heat-up time, alarm generation time, stopping time after the completion of production, manual operation time, semiautomatic operation time, automatic operation time, and other operation times to the power-on time for one day are calculated individually, and the results of the calculation are updated and respectively stored in individual storage regions Tσ'd, Ta'd, Tb'd, Tc'd, Td'd, Te'd, Tf'd and Tg'd, of the file of the nonvolatile RAM 8, corresponding to the date index d (Step S18). As shown in Fig. 7, storage regions for date addresses d = 1 to 31 are set in the file of the nonvolatile RAM 8 for storing daily data for one month. These individual regions, as shown in Fig. 7, are stored with the power-on time in the day corresponding to the address d, the ratio thereof to the full day, the various operation times, and the respective ratios thereof to the power-on time. Subsequently, the PMCCPU 14 determines whether or not the current value d of the date read last corresponds to the totalization day or the last date of the current month (Step S19). If no correspondence is discriminated, the operation time storage processing for this cycle is finished without executing the processing of Step S20 and subsequent processings, which will be described later. If the date read last corresponds to the last date of the current month, on the other hand, the PMCCPU 14 proceeds to Step S20, whereupon it reads current data on the month from the clock unit 9, and stores it as a monthly index m. Then, after initializing all the values in individual storage regions Tσm, Tam, Tbm, Tcm, Tdm, Tem, Tfm and Tgm of a file of the nonvolatile RAM 8 for storing monthly data for one year (Step S21), 1 is set in a data read index i (Step S22). Subsequently, the PMCCPU 14 successively reads data for individual days from the first day (i = 1) to the last day ( i = d ) of the month, that is, values in individual storage regions Tσi, Tai, Tbi, Tci, Tdi, Tei, Tfi and Tgi, from a file (see Fig. 7) of the RAM 8 stored with daily data for one month, and cumulatively stores the read values individually in the storage regions Tσm, Tam, Tbm, Tcm, Tdm, Tem, Tfm and Tgm of the separate file (see Fig. 8) of the nonvolatile RAM 8 for storing monthly data for one year (Steps S23, S24 and S25). Thus, in the nonvolatile RAM 8 for storing monthly data for one year, the respective integrated values of the power-on time, heater heat-up time, alarm generation time, stopping time after the completion of production, manual operation time, semiautomatic operation time, automatic operation time, and other operation times, obtained in the days from the first day to the last or d'th day of the current month, are respectively stored in the storage regions Tσm, Tam, Tbm, Tcm, Tdm, Tem, Tfm and Tgm of the file (see Fig. 8) for storing data of the current month. Then, the PMCCPU 14 calculates the total time (seconds) for the current month on the basis of the value of the last date d of the current month (Step S26), calculates the percentage of the power-on time in the month and the respective percentages of the heater heat-up time, alarm generation time, stopping time after the completion of production, manual operation time, semiautomatic operation time, automatic operation time, and other operation times, as compared with the power-on time for the month, and updates and respectively stores these values in individual storage regions Tσ'm, Ta'm, Tb'm, Tc'm, Td'm, Te'm, Tf'm and Tg'm of the file (see Fig. 8) of the nonvolatile RAM 8, corresponding to the monthly index m (Step S27). Thus, the operation time storage processing for this cycle is finished. If the value of the last date d of the current month is 30 or less, data remaining corresponding to the address (d + 1) and subsequent addresses are erased from the file (see Fig. 7) of the nonvolatile RAM 8 for storing daily data for one month, and initialized at the end of the operation time storage processing for this cycle. The operator can be informed of daily operating time data for the current month (sometimes including part of the preceding month) or monthly operating time data for the current year (sometimes including part of the preceding year) by selecting the operating time data by means of the soft keys of the CRT/MDI 18 to have these data displayed on the CRT display unit. The PMCCPU 14 repeatedly executes the display request detection processing with every predetermined cycle, as shown in the flow chart of Fig. 6, substantially in parallel with the state detection processing and the operation time storage processing described above. In this processing, the PMCCPU 14 changes the display picture on the CRT display unit, when a display request from the CRT/MDI 18 is detected (Step S01), and causes the display unit of the CRT/MDI 18 to display daily operating time data for one month, as in the data display picture shown in Fig. 9(a), and monthly operating time data for one year shown in Fig. 9(b) (Step S03). If the time of the request for the display of the operating time data is earlier than the predetermined data totalization time, then the totalization of current day data is not completed, so that daily data for the days from the first day to the preceding day of the current month and daily data for the day of the preceding month corresponding to today and subsequent days are displayed in the display picture, which is for displaying the daily operating time data for one month, as shown in Fig. 9(a). If the data totalization time is set for 19:00:00, and if a request is made that the operating time data be displayed at 18:30:00 on July 15, for example, daily data for the days from July 1 to July 14 and daily data for the days from June 15 to June 30 are displayed. Since May and June have 31 days and 30 days, respectively, data for May 31 remain in a record of the address d = 31 in the file of Fig. 7, which is stored with the daily operating time data for one month. If the value of the last date d is 30 or less, however, the processing of erasing the data corresponding to the address (d + 1) and subsequent addresses is executed at the end of the operation time storage processing, so that the data for May 31 are erased when the operation time storage processing is executed on June 30. If the display of the operating time data at 18:30:00 on July 15 is requested, therefore, only the daily data for the days from July 1 to July 14 and the daily data for the days from June 15 to June 30 are displayed. If the time of the request for the display of the operating time data is later than the predetermined data totalization time, daily data for the days from the first day to the current day of the current month and daily data for the day of the preceding month corresponding to tomorrow and subsequent days are displayed. Thus, the display picture for indicating the daily operating time data for one month indicates daily data for the immediately preceding one month. The same rule applies to the case of the monthly operating time data for one year. If the time of the request for the display of the operating time data is earlier than the predetermined data totalization time, monthly data for the months from the first month to the preceding month of the current year and monthly data for the month of the preceding year corresponding to the current and subsequent months are displayed. If the time of the request for the display of the operating time data is later than the predetermined data totalization time, on the other hand, monthly data for the months from the first month to the current month of the current year and monthly data for the month of the preceding year corresponding to the current and subsequent months are displayed, as shown in Fig. 9(b). Thus, the display picture for indicating the monthly operating time data for one year indicates monthly data for the immediately preceding year. The respective values of the time data displayed on the CRT shown in Fig. 9 are expressed in hour, minute and second. If the other soft keys of the CRT/MDI 18 are operated with the display picture of Fig. 9 selected, the PMCCPU 14 detects this in a discrimination processing of Step S02, and then proceeds to another selection processing depending on the operation. As described above, data output means according to the present embodiment is composed of the CRT display unit of the CRT/MDI 18, and the integrated times for the individual states of the injection molding machine 19 and the ratios thereof are totalized in a predetermined period for each day or month, stored in the files shown in Figs. 7 and 8, and freely displayed at the operator's request. According to the present embodiment, the daily or monthly data are displayed; however, the values in the individual operation time storage registers may be displayed in response to display commands without the division on the daily or monthly basis. Even in this case, the respective percentages of the operation times for the individual operating conditions, as compared with the power-on time, are calculated and displayed. Further, by providing a printer unit along with the CRT/MDI 18 the integrated times for the individual states and the ratios thereof may be printed out in a predetermined period for each day or month every time the processing of Step S18 or S27 in the operation time storage processing is executed. If a file for storing the daily data for one month, such as the one shown in Fig. 7, is prepared every month, it is the same as that the daily data are stored for a whole year. With use of these data, the integrated values of the various operating times for each day of the week, average operating time associated therewith, the percentage of each day of the week compared with the various operating times for each week, etc. can be calculated. In the embodiment described above, the data are totalized by detecting the current date or month by means of the clock unit 9 which has the calendar function. Alternatively, however, the same processing as in this embodiment may be effected by the use of a 24-hour clock unit which can be automatically reset. The following is a brief description of a second embodiment using the 24-hour clock unit which can be automatically reset. According to this embodiment, which are not associated with values representing the date and month, the processings of the first embodiment (Fig. 2) can first be applied directly to the operating condition detection processing. However, the processings (Figs. 3 to 5) of the first embodiment cannot be applied directly to the operation time storage processing. This is because, according to the first embodiment, the current date is detected from the clock unit in the processing of Step S15; the last date of the current month is detected in the processing of Step S19; and the month is read in Step S20. In the second embodiment using the 24-hour clock unit which can be automatically reset, therefore, the processings shown in Fig. 3 and subsequent drawings require modification when they are applied to the operation time storage processing. Accordingly, the discrimination processing of Step S19 is first removed from the operation time storage processing shown in Fig. 3, and a processing for incrementing the value of the date index d in order is executed in place of the processing of Step S15. The value of the date index d for the time of the first power-on operation is 0. Thus, the value of the date index d is updated every time the set time is detected in the discrimination processing of Step S14, thereby enabling the automatic processings of Steps S16 to S18. In order to adjust the value of the date index d to the actual date, however, the value of the date index d needs to be initialized at the beginning of the month. In place of the processing of Step S20 in the operation time storage processing shown in Figs. 4 and 5, therefore, a processing for setting the month index m and the number d of days of the month m are set by detecting a ten-key entry through the CRT/MDI 18 needs to be provided, and a processing for initializing the value of the date index d to 0 is interposed between Steps S26 and S27. When the injection molding machine 19 is connected to the power supply to start operation, according to the arrangement modified in the manner described above, the value of the date index d is updated in order every time the arrival of the data totalization time is detected in the discrimination processing of Step S14, so that the processings of Steps S16 to S18 are automatically executed corresponding to the updated value of the date index d. If the operator sets or inputs the old month index value m and the number d of days of the month m at the end of every month in the processing which replaces Step S20 of Fig. 4, data for the days from the first day to the last or d'th day of the m'th month are automatically added up and totalized in the processings of Steps S21 to S27. Since the value of the index d is automatically initialized to 0 in the processing between Steps S26 and S27, moreover, the value of the date index d is set again to 1 on the first day of the (m + 1)'th month, whereupon the processings for one month can repeatedly be executed in like manner. Thus, in the second embodiment using the 24-hour clock unit which can be automatically reset, setting the month index m and the number d of days of the month m by means of the ten-keys requires some attentiveness; however its function and effect are substantially the same as those of the first embodiment using the clock unit 9 which has the calendar function. In the embodiments described above, the data are totalized daily or monthly. Alternatively, however, the data may be totalized on weekly or annual basis too. The individual operating conditions to be detected can optionally be selected depending on the configuration of the injection molding machine and the like. Further, the time consumed for conditioning or programming, the ratio thereof, and the like can be calculated and displayed by discriminating the mode of combination of the specific operating conditions. In order to calculate the time consumed for conditioning or programming, the ratio thereof, and the like, in some cases, external switches for exclusive use may be provided, or the key operation on the CRT/MDI 18 or the like may be detected, or otherwise state detection signals from inside the injection molding machine 19 may be used. In the first and second embodiments described above, the time in one day or month during which the power is off, that is, power-off time, can be determined based on the value of the power-on time Tσd for one day or the power-on time Tσm for one month. Further, before the power is cut off, an external switch or those keys of the CRT/MDI 18 corresponding to items relating to the reasons for the power cut-off can be operated so that the power-off time can be stored in the nonvolatile RAM 8 for each reason. In this case, for example, the current time of the clock unit 9 can be detected in accordance with the reasons inputted through the external switch or the CRT/MDI 18 immediately before the power is cut off, and this value is stored in the nonvolatile RAM 8. Immediately after the power is turned on again, the current time is read from the clock unit 9; the value of the current time stored when the power is cut off is subtracted from the read value; and the resulting value is stored in the nonvolatile RAM 8 corresponding to the reasons for the power cut-off. Preferably, various items of reasons such as the periodical maintenance, absence of production plan, troubleshooting, etc. should be set and stored in advance. The following is a description of a third embodiment in which a number of injection molding machines are arranged in juxtaposition for injection molding operation. In this case, a single centralized control computer is utilized for analytic operation without providing each injection molding machine with an apparatus for time analysis. Fig. 10 is a block diagram showing the third embodiment in which a single centralized control computer 26 is provided for a plurality of injection molding machines 19a, 19b, 19c, · · · . The principal part of the centralized control computer 26 is composed of a microprocessor 21, ROM 22, RAM 23, CRT/MDI 24, and an external memory unit 25 formed of a floppy disk or hard disk. These injection molding machines 19a, 19b, 19c, · · · and the centralized control computer 26 are connected though data transmission lines extending from the injection molding machines 19a, 19b, 19c, · · · and an interface 20 on the side of the centralized control computer 26. The hardware configuration of each of the injection molding machines 19a, 19b, 19c, · · · is substantially the same as that of the injection molding machine 19 of the foregoing first embodiment. First, in performing data totalizing operation by means of the centralized control computer 26, a heater heat-up detection signal, alarm generation signal, production completion signal, manual operation signal, semiautomatic operation signal, automatic operation signal, etc., along with the respective codes of the individual injection molding machines, are entered in the centralized control computer 26. Then, processings for each predetermined cycle, such as the ones shown in Fig. 2 and Figs. 3 to 5, are executed for the respective codes of the injection molding machines 19a, 19b, 19c, · · · on the side of the centralized control computer 26, and the external memory unit 25 is made to store the totalization results of data in its files, such as the ones shown in Figs. 7 and 8, provided for each injection molding machine code. In displaying the totalization results on a CRT display screen of the manual data input device 24 with CRT display unit, the code of a desired injection molding machine is inputted through the MDI so that only the data of the desired injection molding machine are selectively displayed. In this case, all the software required for the data totalizing operation is provided for the ROM 22 on the side of the centralized control computer 26. It is necessary, therefore, only that each of the injection molding machines 19a, 19b, 19c, · · · be provided with means for detecting specific operating conditions. Thus, this arrangement is applicable to various conventional injection molding machines, as well as to motor-operated injection molding machines, which use a control device for internal processing. If each of the injection molding machines 19a, 19b, 19c, · · · is of the motor-operated type in which a control device is used for internal processing, load on the respective control devices of the injection molding machine and the centralized control computer 26 can be reduced by sharing the necessary processings for the data totalizing operation between the injection molding machine and centralized control computer 26. For example, each of the injection molding machines 19a, 19b, 19c, · · · may be made to execute only a state detection processing such as the one shown in Fig. 2, so that each injection molding machine is stored with data for one day, and the respective control devices of the injection molding machines 19a, 19b, 19c, · · · are polled from the centralized control computer 26 with every data totalization time, whereby the data for each injection molding machine can be collected. Every time these data are collected, the processings shown in Figs. 3 to 5 may be executed for each injection molding machine so that the results are stored in the external memory unit 25. In collecting the data by means of the centralized control computer 26, the processing of the centralized control computer 26 can be executed without regard to the connection of the injection molding machine to the power supply. Therefore, the third embodiment is one suited for the case where the reasons, time, etc. for the cut-off of the injection molding machine from the power supply should be stored. It is easy to transmit the reasons for the power cut-off from the injection molding machine to the centralized control computer 26 by means of their corresponding keys so that the centralized control computer 26 can control the reasons, time, etc. for the cut-off of each injection molding machine from the power supply, corresponding to the reasons. Further, the operating conditions of the injection molding machine can be detected without interruption where detecting means for externally detecting the operating conditions of the injection molding machine without regard to the connection thereof to the power supply is provided. For example, the time for the attachment or detachment of the molds or the like after the power cut-off can be controlled for each injection molding machine by means of limit switches or the like on the stationary platen 27 or movable platen 28 for detecting the attachment and detachment of the molds.

Claims: An operating time analyzing apparatus for an injection molding machine, comprising: operating condition detecting means (14) for detecting various operating conditions of an injection molding machine (19); timer means for cumulatively recording operating conditions detected by means of said operating condition detecting means (14); and data display means (18) for displaying operating conditions recorded by means of the timer means; characterised in that: said operation condition detecting means (14) is operable to discriminate automatically the category to which a present operating condition of the injection molding machine (19) belongs, from among a plurality of categories determined in advance, at every predetermined period (Δt) during a time when power is supplied to the injection molding machine (19); said timer means comprises a plurality of cumulative storage means (Ta, Tb ....) each of which is provided for a respective one of said operating categories and is arranged in such manner that, when said operating condition detecting means (14) discriminates a specific category of present operation of the injection molding machine (19), the cumulative storage means (Ta, Tb ....) corresponding to this discriminated category accumulates, at every one of said predetermined periods (Δt), the time for which this category of present operation prevails, and memorizes the thus-accumulated data; and time data outputting means (14) are provided, operable to take out automatically time data cumulatively stored in each said cumulative storage means (Ta, Tb ....) in accordance with an output displaying instruction, and to cause the time data to be displayed as data indicative of an accumulated time for each category of operating condition. An operating time analyzing apparatus for an injection molding machine according to claim 1, wherein said time data outputting means (14) has a function to perform a statistical processing for the time data stored in each cumulative storing means (Ta, Tb ....). An operating time analyzing apparatus for an injection molding machine according to claim 2, wherein said statistical processing comprises calculating the respective ratios of the cumulative operation times for the individual categories of operating conditions, stored in said cumulative storage means (Ta, Tb ....), to the power-on time cumulatively recorded by means of another one of the cumulative storage means, and said data display means (18) displays the calculated operation time ratios for the individual categories of operating conditions. An operating time analyzing apparatus for an injection molding machine according to any one of the preceding claims, wherein said categories of operation include at least one of a heater heat-up time, alarm generation time, stopping time after completing of production, manual operation time, semi-automatic operation time, and automatic operation time. An operating time analyzing apparatus for an injection molding machine according to any one of the preceding claims, and comprising: clock means; and totalization time output means for outputting a signal when a time output from said clock means agrees with a predetermined time, said signal being arranged to reset said cumulative storage means (Ta, Tb ....) and to cause them to count-up again. An operating time analyzing apparatus for an injection molding machine according to claim 5, wherein said totalization time output means outputs one signal a day, and said cumulative storage means (Ta, Tb ....) store the operation times, by category, on a daily basis. An operating time analyzing apparatus for an injection molding machine according to claim 5 or 6, wherein said clock means has a calendar function, and includes means for reading the month and day delivered from said clock means in response to the output signal from said totalization time output means, and adding together the operation times for the various operating categories for each day, stored in said cumulative storage means (Ta, Tb ....) for the individual operating categories, when the read day is the last day of the month, and there being provided monthly operation time storage means for individual operating categories, with each sum total stored as operation times, by categories, for said read month. An operating time analyzing apparatus for an injection molding machine according to claim 7, wherein said monthly operation time storage means for individual operating categories stores data for one year, and is capable of rewriting stored data for each corresponding month into the monthly calculated operation times by categories. An operating time analyzing apparatus for an injection molding machine according to claim 5 or 6, when appended to claim 3, wherein said clock means has a calendar function, and includes means for reading the month and day delivered from said clock means in response to the output signal from said totalization time output means, adding together the operation times for the various operating categories for each day, stored in said cumulative storage means (Ta, Tb ....) for the individual operating categories, when the read day is the last day of the month, and calculating the respective ratios of the sum totals of the operation times for the individual categories compared with the total power-on time, there being provided monthly operation time storage means for individual operating categories with each sum total and each ratio stored as operation times, by categories and operation time ratio, respectively for said read month. An operating time analyzing apparatus for an injection molding machine according to claim 9, wherein said monthly operation time storage means for individual operating categories stores data for one year, and is capable of rewriting stored data for each corresponding month into the calculated operation times by categories and operation time ratio for the month. An operating time analyzing apparatus for an injection molding machine according to any one of the preceding claims, wherein a centralized control computer (26) and a plurality of injection molding machines (19a, 19b ....) are connected through transmission lines, with each of said injection molding machines being provided with operating condition detecting means, while said centralized control computer (26) is provided with the other means.

Inventors: KAMIGUCHI MASAO ROOM - FANUC M, KUBOTA KAZUO, SAITO OSAMU ROOM - FANUC MANSH, TAKEMOTO MASANOBU FANUC DAI- V, KAMIGUCHI, MASAO, ROOM 6-207, FANUC MANSHION, KUBOTA, KAZUO, SAITO, OSAMU, ROOM 9-308, FANUC MANSHION, TAKEMOTO, MASANOBU, FANUC DAI-3 VIRA-KARAMATSU
Applicants: FANUC LTD, FANUC LTD.
Application year: 1992
Main classification: B29C45
IPC codes: G05B19, G07C3, B23Q41, B29C45