Abstract:
A program setting method for an injection molding machine control device comprises the steps of a manufacturer previously making and storing unit programs corresponding to a plurality of basic operations, a user selecting desired unit programs to form whole programs and the control device connecting the selected unit programs in a predetermined order before storing the whole programs. By this method, users can readily and simply make and store a desired sequence program for the injection molding machine.

Description:
BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     The invention relates to a program setting method for an injection molding machine control device, wherein the control device operates on a sequence program. 
     2. Description-of the Relevant Art 
     Conventionally, an injection molding machine has a control device built-in, which sequentially carries out various controls for the injection molding machine, as disclosed in the gazettes of Japanese Patent Application Laid Open (Kokai) No. 3(1991)-207628, and of Japanese Patent Publication (Kokoku) No. 5(1993)-12136. 
     The control device includes a micro processor unit (MPU) comprised of a sequence portion for executing sequence controls, and a human machine interface (HMI) portion having the functions of setting parameters required for executing the sequence controls, and monitoring and displaying the condition of the machine, etc. This MPU is operated by the sequence program stored in a ROM (read only memory). Commonly, injection molding machines are made to operate in an automatic mode, even machines used to make many different products or small numbers of products. In the machines which are constantly being used to mold different product and wherein relatively few products are molded before a different product is to be molded, the ratio of the time spent changing the automatic control programming to the time spent molding is quite high. For example, when changing the color of the molded product while using the same mold much time is spent replacing the molding materials while repeating the steps of purging the molding material of one color and supplying the new molding material of another color. Moreover, in this Case, usually the purging step is carried out automatically in order to shorten the arranging time. 
     Further, the conventional automatic purging step is carried out by a predetermined sequence program which is programmed by the machine&#39;s manufacturer. There is no means by which knowledgeable users (molded product manufacturers) can tailor the operations of the injection molding machine to their specific production needs. Moreover, although the users can ask the machine manufacturers to change the program, it takes a long time to change the program, and there are costs required for the labor and the programming, and also the use of the machine is lost while changing the program. 
     SUMMARY OF THE INVENTION 
     It is an object of the invention to provide a program setting method for an injection molding machine control device, which is capable of allowing users to readily make a desired sequence program using only the know-how they possess. 
     In order to attain the above-mentioned object, there is proposed a program setting method for an injection molding machine control device comprising the steps of a manufacturer previously making and storing, unit programs X1, X2 . . . , Y1, Y2 . . . , Z1, Z2 . . . corresponding to a plurality of basic operations a user, selecting unit programs X1 . . . , Y1 . . . , Z1 . . . to form whole programs, and the control device connecting the selected unit programs X1 . . . , Y1 . . . , Z1 . . . in a predetermined order before storing the whole programs PXa, PXb . . . , PYa, PYb . . . , PZa, PZb . . . . 
     The unit programs X1 . . . , Y1 . . . , Z1 . . . correspond to a plurality of basic operations of an processing step. The unit programs are previously made by a manufacturer and stored in a ROM 10 built-in a control device C. The optional processing step is a step in addition to a standard step, or an injecting step relating to the molding, such as a pressure maintaining step and a measuring step, etc. The optional processing steps include one or two and more of: an automatically purging process, a production-completion-time stopping process, an abnormal-time stopping process, and an abnormal-time ejector process. 
     In the invention, the users can make and store whole programs PXa, PXb . . . , PYa, PYb . . . , PZa, PZb . . . of the optional processing steps based on the unit programs X1 . . . , Y1 . . . , Z1 . . . . At the time of forming the whole program, the respective unit programs X1 . . . , Y1 . . . , Z1 . . . stored in the ROM 10, are displayed on the displaying portion 9, and are optionally selected according to the setting guidance, then the selected unit programs X1 . . . , Y1 . . . , Z1 . . . are connected in the predetermined order, so that the whole programs PXa . . . , PYa . . . , PZa . . . of the optional processing step are made. The whole programs PXa . . . , PYa . . . , PZa . . . are stored in another ROM 4 of the control device C and can be used for the actual control. Moreover, the stored whole programs PXa . . . , PYa . . . , PZa . . . can be rewritten when desired. 
    
    
     Further scope of applicability of the present invention will become apparent from the detailed description given hereinafter. However, it should be understood that the detailed description and specific examples, while indicating preferred embodiments of the invention, are given by way of illustration only, since various changes and modifications within the spirit and scope of the invention will become apparent to those skilled in the art from this detailed description. 
     BRIEF DESCRIPTION OF THE DRAWINGS 
     The present invention will become more fully understood from the detailed description given hereinbelow and the accompanying drawings which are given by way of illustration only, and thus are not limitative of the present invention, and wherein: 
     FIG. 1 is a flowchart showing a procedure of a program setting method according to the invention; 
     FIG. 2 is a block diagram of a control device which can carry out the setting method; 
     FIG. 3 is a table showing unit programs which are used in the setting method; 
     FIGS. 4a to 4c are block diagrams showing whole programs which are made by the setting method; 
     FIG. 5 is a table showing other unit programs which are used in the setting method; 
     FIGS. 6a to d are block diagrams showing other whole programs which are made by the setting method; 
     FIG. 7 is a table of still other unit programs used in the setting method; and 
     FIGS. 8a to 8d are block diagrams showing still other whole programs which are made by the setting method. 
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS 
     One preferable embodiment according to the invention will be exemplified and described hereinafter with reference to the drawings. 
     At first, the construction of a main part (including an MPU) of an injection molding machine control device C which can carry out a program setting method according to the invention will be described with reference to FIG. 2. 
     In FIG. 2, reference numeral 2 denotes a CPU which executes various kinds of controls and a calculating process. Reference numeral 3 denotes a RAM, and 4 a ROM which uses a rewritable EEPROM, etc., each of which is managed by the CPU 2. Moreover, the CPU 2, the RAM 3 and the ROM 4 are connected to a bus line 5. Reference numeral 6 denotes an input/output portion of digital signals, and 7 an input/output portion of analogue signals, each of which is connected to the bus line 5. Also, reference numeral 8 denotes an operating portion which is comprised of a key board, etc., and 9 a displaying portion which is comprised of a CRT, etc., respectively. 
     Reference numeral 10 denotes a ROM which stores unit programs X1, X2 . . . , Y1, Y2 . . . , Z1, Z2 . . . corresponding to a plurality of basic operations of an optional processing step which can be annexed to a standard step relating to the molding. The ROM 10 is connected to the bus line 5. An optional processing step means a step which is not directly related to molding, such as an automatically purging process, a production-completion-time stopping process, an abnormal-time stopping process, and an abnormal-time ejector process, etc. A standard step is an injecting step directly relating to molding, such as a pressure maintaining step, a measuring step, a cooling step, a mold opening/closing step, etc. A basic operation is a small operation which is a part of an operational processing step. For example, in the case of the automatic purging process, the basic operations include an: &#34;injection device advancing&#34; operation, &#34;injection device retreating&#34; operation, &#34;measuring (non-back pressure)&#34; operation, &#34;measuring (back pressure)&#34; operation, &#34;injecting (the most advancing)&#34; operation, &#34;injecting (the most advancing position variable&#34; operation, &#34;before-measuring screw forcibly retreating (time)&#34; operation, and &#34;before-measuring screw forcibly retreating (position)&#34; operation. 
     Further, reference numeral 11 denotes a user programmable RAM which is used at the time of storing the program, and which is connected to the bus line 5. A normal RAM can be used for the user programmable RAM 11. 
     Next, the program setting method according to the invention will be described with reference to the flowchart shown in FIG. 1. 
     At first, the machine manufacturers make the unit programs for the respective optional processing steps, that is, the unit programs used the in &#34;automatically purging process&#34; shown in FIG. 3, comprised of X1 &#34;injection device advancing&#34;, X2 &#34;injection device retreating&#34;, X3 &#34;measuring (non-back pressure)&#34;, X4 &#34;measuring (back pressure)&#34;, X5 &#34;injecting (the most advancing)&#34;, X6 &#34;injecting (the most advancing position variable)&#34;, X7 &#34;before-measurement screw forcibly retreating (time)&#34;, X8 &#34;before-measurement screw forcibly retreating (position)&#34;, the unit programs used in the &#34;production-completion-time stopping process&#34; shown in FIG. 5, comprised of Y1 &#34;mold opening-stopping&#34;, Y2 &#34;mold clamping-stopping&#34;, Y3 &#34;injection device retreating&#34;, Y4 &#34;injecting&#34;, Y5 &#34;ejector&#34;, Y6 &#34;nozzle/injection barrel temperature maintaining control&#34;, Y7 &#34;pump stopping&#34;, Y8 &#34;alarm lamp&#34;, Y9 &#34;alarm buzzer&#34;, and the unit programs used in the &#34;abnormal-time stopping process&#34; shown in FIG. 7, comprised of Z1 &#34;mold opening-stopping&#34;, Z2 &#34;mold clamping-stopping&#34;, Z3 &#34;injection device retreating&#34;, Z4 &#34;injecting&#34;, Z5 &#34;ejector&#34;, Z6 &#34;nozzle/injection barrel temperature maintaining control&#34;, Z7 &#34;pump. stopping&#34;, Z8 &#34;alarm lamp&#34;, Z9 &#34;alarm buzzer&#34;. Then, the manufacturers store the unit programs in the ROM 10. 
     The users can set the whole programs PXa, PXb . . . , PYa, PYb . . . , PZa, PZb . . . of the optional processing step based on the unit programs X1 . . . , Y1 . . . , Z1 . . . . 
     That is, when the users set the programs, first, a user programming mode is selected at a step S1. Whereby, the whole program of the operational processing step can be set. Next, the optional processing step to be set is selected at a step S2. At this point, alternatives of the optional processing step are displayed in the display portion 9, i.e. &#34;automatically purging process&#34;, &#34;production-completion-time stopping processing&#34;, and &#34;abnormal-time stopping process&#34;, and are selected. As one example, it is assumed that the &#34;automatically purging process&#34; is selected. Next, the unit programs X1 to X8 in the &#34;automatically purging process&#34;, as shown in FIG. 3, are displayed on the displaying portion 9, so that desired ones may be selected from the respective unit programs X1 to X8 according to the setting guidance which is displayed on the displaying portion 9. 
     For example, in the automatic purging process, &#34;X2&#34;, &#34;X7&#34;, &#34;X3&#34;, &#34;X5&#34;, &#34;X7&#34;, &#34;X3&#34; may be selected in the order as shown in FIG. 4a, and the program may be set to repeat the automatic purging process of retreating the injection device, and retreating the screw forcibly during a predetermined time before measuring, then carrying out the measurement at a non-back pressure, thereafter, moving the screw up to the most advancing position, thereby carrying out the injection. By this selection, there is made a whole program PXa of the &#34;automatically purging process&#34; in which the unit programs are connected in the selected order, at a step S3. In forming the whole program, the respective unit programs are read out from the ROM 10, and transferred to the RAM 11 to be written in an empty area of the RAM 11. It is determined whether the whole program PXa is finished at a step S4, by a user pressing an end key on the operating portion 8. The finished whole program PXa is then transferred from the RAM 11 to the ROM 4, then written in the ROM 4 at a step S5. As mentioned above, the users can make and set the desired whole program PXa corresponding to the automatically purging process. Further, the whole program PXa can be made again and rewritten as occasion demands. 
     As further illustration, FIG. 4b shows a program PXb in which the unit programs &#34;Xi&#34;, &#34;X8&#34;, &#34;X4&#34;, &#34;X2&#34;, &#34;X6&#34;, &#34;X8&#34;, and &#34;X4&#34; are connected in order, and in FIG. 4c shows a whole program PXc in which the unit programs &#34;X2&#34;, &#34;X5&#34;, &#34;X7&#34;, &#34;X3&#34;, &#34;X5&#34;, and &#34;X7&#34; are connected in order. FIG. 6a shows a whole program PYa in which the unit program &#34;Y1&#34; in the &#34;production-completion-time stopping process&#34; is selected. FIG. 6b shows a PYb in which the unit program &#34;Y2&#34; is selected. FIG. 6c shows a whole program PYc in which the unit programs &#34;Y2&#34;, &#34;Y3&#34;, &#34;Y4&#34;, &#34;Y6&#34;, and &#34;Y7&#34; are connected in order. FIG. 6d shows a whole program PYd in which the unit programs &#34;Y1&#34;, &#34;Y7&#34;, &#34;Y8&#34; are connected in order. Furthermore, FIG. 8a shows a whole program PZa in which the unit programs &#34;Z1&#34;, &#34;Z8&#34;, and &#34;Z9&#34; in the &#34;abnormal-time stopping process&#34; are connected in order. FIG. 8b shows a whole program PZb in which the unit programs &#34;Z2&#34; and &#34;Z9&#34; are connected in order. FIG. 8c shows a whole program PZc in which the unit programs &#34;Z2&#34;, &#34;Z3&#34;, &#34;Z4&#34;, &#34;Z6&#34; and &#34;Z7&#34; are connected in order. FIG. 8d shows a whole program PZd in which the unit programs &#34;Z1&#34;, &#34;Z7&#34; and &#34;Z8&#34; are connected in order. 
     Such whole programs, as illustrated in FIGS. 4b, 4c, 6a-6d, and 8a-8d, are also made and stored in a similar manner to the case of the above-mentioned whole program PXa. Each whole program may be made again or rewritten as occasion demands. By virtue of the invention, users can readily make and store sequence programs using only the know-how they possess. 
     It should be readily apparent that other optional processing steps, or whole programs, besides those specifically disclosed, may be used, such as an abnormal time ejector process. 
     The invention being thus described, it will be obvious that the same may be varied in many ways. Such variations are not to be regarded as a departure from the spirit and scope of the invention, and all such modifications as would be obvious to one skilled in the art are intended to be included within the scope of the following claims. 
     The embodiment of the invention is described in detail. However, the invention is not restricted to the embodiment. For example, the optional processing step, except the exemplified examples, includes another any optional processing step such as an abnormal-time ejector process. Otherwise, the detailed construction and the method, etc., can be optionally modified so long as they are not deviated from the gist of the invention.