Abstract:
Electrical sequence control system. There is described an electrical sequence control system which is controlled according to a predetermined program by means of a switching circuit wherein the outputs of the binary counter are connected with n bits to the data inputs of the decoder and the address inputs of a multiplexer, the output of the latter being applied to one input of an AND-gate and the second input of said AND-gate being connected to a rectangular wave generator. The output of the AND-gate is connected to the input of the binary counter and the connection of the output of the multiplexer with the input of the binary counter acts as a return when one of the input signals at the multiplexer corresponds with the address input.

Description:
FIELD OF THE INVENTION 
     The invention relates to an electronic sequence control system and particularly to such a system which is controlled by a switching circuit in accordance with a predetermined program. 
     BACKGROUND OF THE INVENTION 
     It is known to use a stepping mechanism for controlling sequences. However, such known devices have the disadvantage that the switching pulses are neutral, namely are not controlled by the sequence of operations itself. Furthermore in this connection, contactor and relay controls are known which are installed fixedly for a certain purpose. These controls are so to speak manufactured according to specifications and are accordingly inflexible. 
     The purpose of the electronic sequence control is to eliminate the neutral switching pulses. Instead the energizing of the circuit is accomplished in response to input signals which are determined by the sequence of operations. 
     The more narrow purpose of the invention is to produce as much as possible an uncomplicated and therefore inexpensive electronic sequence control which is highly flexible in use. It is to be sufficiently simple in structure that a man skilled in the art of electronics is not required to use the control but instead it can be satisfactorily handled by any reasonably competent workman. In particular for the tool machine construction it is important that the control also be understood by a machine mechanic. 
     SUMMARY OF THE INVENTION 
     The invention is based on the general principle that a binary counter is used which is combined with a multiplexer so that the duration of counting by which the method steps are controlled depends on certain signals. 
     In detail the basic purpose of the invention is attained by a circuit of the general type aforesaid in which the outputs of a binary counter 110 are connected with n bits to the data inputs A, B, C, D of a decoder 111 and the address inputs A&#39;,B&#39;, C&#39;,D&#39; of a multiplexer 112, whose output is applied to one input of an AND-gate 115, the second input of said AND-gate being connected to a pulse generator 114, while the output of the AND-gate is connected to the input of the binary counter 110, and that the connection of the output of the multiplexer with the input of the binary counter acts as a return when one of the input informations El to Ex at the multiplexer 112 corresponds with the address inputs. 
     A sequence control according to the invention has the following advantages compared with controls which use as their basic components transistor-relay combinations (German Auslegeschrift No. 1 218 507) and also as compared with a socalled control for shifting the program steps. There is for each step a circuit component required which is relatively complex and hence relatively expensive. The invention, however, operates with a binary counter which has the consequence that for example the increase of a binary counter from 4 bits to 5 bits results in an increase of the stepping switch from 15 to 31 steps. Thus the invention advantageously provides for simple and inexpensive increase in capacity as already exemplarily pointed out above. 
     In order to assure that the sequence control continues to count efficiently without interference from one control impulse to another, the invention is further developed by providing that the pulse generator be an astable multivibrator (rectangular wave generating device). This characteristic is a particularly important development of the invention. 
     A particular advantage of the invention is that the control device can be combined of commercial integrated components, in particular of components of medium integration (Medium Scale Integration, MSI). These components are already known. 
     With respect to this: 
     The binary counter is advantageously a synchronous counter, for example a counter which is two-flank controlled by a pulse generator. For reasons of reliability, it is advantageous that in an extensive control all control operations are derived from a single pulse signal. Also binary counters are used in commerce in which, differing from the illustration of the exemplary embodiments, the AND-gate is integrated, or in which the AND-function is contained. The multiplexer is a conventional component of a data selector. 
     An astable multivibrator (rectangular wave generator) converts in connection with the AND-gate the continuous signal which comes from the multiplexer into a single impulse which energizes the counter and permits it to continue to count for one single binary number (compare also what was said with respect to the binary counter). The decoder converts binary numbers into decimal numbers. (See for example TTL Integrated Circuits, Publisher: Texas Instruments Germany GmbH, 805 Freising. April 1971, in particular Pages 30, 31, 37, 39, 42.) 
     In order to eliminate interference impulses, the invention is advantageously further developed by providing that set inputs (E01 to E02) are connected to the binary counter (110). The intelligence signal must then continue for a predetermined time at the timing device which acts as a delay line, until it is recognized as such and reaches the input of the AND-gate. This development of the invention is for example of importance for tool machine controls. 
     In order to be able to adjust or &#34;set&#34; the binary counter at the start or during the sequence of operations to a selected number, the invention is further developed in that between the multiplexer 112 and the gate 115 there is inserted a timing device 113 having two AND-inputs of which the one input is energized by multiplexer 112A1 and the other input is energized by the set input 140 of the binary counter and by a signal line E00 for setting of the binary counter while the output of the timing device is connected to the input of the AND-gate. In order that during the program sequence &#34;loops&#34; can be driven or steps can be jumped, the invention is further developed by providing that at least one output of the sequence control system is connected with at least one set input of the binary counter and/or by providing further that at a connection of several set inputs to one output of the decoder 111 the conductors to the set inputs are coupled, for example by diodes 128 and 129. Further, if desired, the outputs of the decoder 111 may lead to a diode matrix 125. The arrangement of said specific features is dependent on the program sequence. 
     In the last-named embodiment, the outputs of the diode matrix can be connected both to the amplifier inputs for the final control elements (electromagnetic valve and others) and also to the set inputs of the binary counter. 
     Further advantages and characteristics of the invention can be taken from the following description. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     The invention is described in connection with exemplary embodiments which are illustrated in FIGS. 1 to 4. 
     FIG. 1 is a block diagram of one exemplary embodiment of the invention. 
     FIG. 2 illustrates an exemplary embodiment of the invention having set inputs on the binary counter and having timing means. 
     FIG. 3 schematically illustrates an example for a sequence of operations with a loop and with a &#34;split path.&#34; 
     FIG. 4 illustrates an exemplary embodiment of the invention with a diode matrix which is designed corresponding to FIG. 3. 
    
    
     DETAILED DESCRIPTION 
     FIG. 1 illustrates an exemplary embodiment of the invention of simple construction, which consists substantially of a binary counter 110, a decoder 111, a multiplexer 112, an astable multivibrator (rectangular wave generator) 114 and an AND-gate 115. The multiplexer 112 has inputs E1, E2 . . . E x   -1 , E x , to which are connected, for example, limit switches of tool machines directly or for example through separating members, such as optoelectronic coupling elements. Such separating members, for example opto-electronic coupling elements (opto-isolators), are known from literature. (Brochure of Litronix Inc., 19000 Homestead Road, Cupertino, Cal. 95014, USA.) 
     The output 112A1 of the multiplexer is connected to an input of an AND-gate 115, to the other input of which a conventional rectangular wave generator 114 is connected. 
     The output of the AND-gate is connected to the input of the binary counter 110. The outputs of the binary counter lead on one side to the address inputs A&#39;, B&#39;, C&#39;, D&#39;, E&#39; of the multiplexer 112 and on the other side to the data inputs A, B, C, D, E of the decoder. The operation of a binary counter is known. In the decoder 111, the binary signals are converted into decimal output signals A0 to A x   -1 . At least one set input E00 is provided on the binary counter 110. 
     Upon the appearance of a supply voltage, the binary counter 110 is set on &#34;0,&#34; namely adjusted automatically to &#34;0&#34; by a deionization impulse at the input E00. The binary &#34;0&#34; produces a signal at the output A0 while at the multiplexer 112 the input E1 is armed, namely is made ready for operation. If a signal is now applied at this input, a signal appears at the output 112A1 of the multiplexer, which signal acts on an input of the AND-gate 115. During the next impulse of the rectangular wave generator 114, the output signal of the multiplexer reaches the input of the binary counter 110 which switches to the binary &#34;1,&#34; whereby the output A1 now sends out a signal and through the corresponding address input the input E2 is armed. With a different binary number at the input of the multiplexer the output signal at 112A1 disappears and the stepping advances one step. If a signal already exists at the input of the multiplexer, then same is immediately processed by the control system and it is advanced one step. If the corresponding signal is missing at the input of the multiplexer, then the input which has been armed remains in waiting position. 
     FIG. 2 shows a further exemplary embodiment of the invention, in which the control system is supplemented by a timing device 113 which acts as a delay line. The output 112A1 of the multiplexer is connected to an input of this timing device, the other input of which is at the input for the 0-setting. The output of the timing device is connected at an input of the AND-gate 115, the other input of which is, as before, connected to the pulse generator. The delay line (timing device 113) makes it also possible to use the control system where there is interference, as for example in tool machines. The intelligence signal must first appear for a predetermined time at the delay line until it is recognized as such and reaches the input of the AND-gate. The shorter interference pulses are in this way filtered out. 
     Furthermore, in this exemplary embodiment, set inputs E01 to E08 are provided with which any desired step can be activated. This renders it possible to jump steps in the program or to drive so-called loops, as will be explained more in detail hereinafter in connection with the example of FIGS. 3 and 4. 
     FIG. 3 schematically illustrates the sequence of a program in which at step 4 the apparatus switches back to step 1 in order to repeat the steps 1, 2, 3, 4. Thus, a so-called loop is driven. At step 5 the decision is made whether at a certain condition the program is continued either with the steps 6, 7, 8 or 9, 10. After the steps 8 or 10 the control system is set to &#34;0&#34; and the cycle can start over again. 
     FIG. 4 illustrates the example for a control system for the program according to FIG. 3. The row of dash-dotted boxes represents a sequence control system according to the invention for 15 steps. Various switching elements are connected to the inputs of the multiplexer, thus at E1, E2 and E3 a limit switch 116, at E4 a pressure switch 117 and at E5 a limit switch 130. At E7, in addition to a limit switch, a timing device 118 is also provided. The connection at E8 has a branch 119 which leads to an AND-gate, the other input of which is energized through a further limit switch. The output of the AND-gate lies at E10. Various switching elements, for example an electromagnetic coupling 121, a d.c. current operated contactor 122, and each of electromagnetic valves 123, 124 are connected to the outputs A0 to A3 of the decoder through amplifiers 120. The outputs A4 to A10 lie on the vertical lines of a diode matrix 125. Output A4 is fed through a timing device 127 on a vertical line 126 which is connected through diodes 128, 129 to two horizontal lines, to each of which set inputs E00 and E01 are connected. As long as the limit switch 130 is not closed at the input A5, the control mechanism switches back in step 4 to the step 1. If the limit switch 130 is closed, the signal at A5 is faster than the time delayed signal at A4; the sequence thus continues. 
     In step 5 the decision is made which is dependent upon the condition of the switches b1 and b2, each lying at an input of an AND-gate 131, 132. The respective other inputs of these AND-gates are connected to the output A5. To the outputs of the AND-gates are connected the vertical lines 133, 134 of the matrix. 
     If the switch b1 is closed, then the binary counter is placed on the step 6 through the corresponding horizontal lines and the set inputs E02 plus E04. The signal which comes from A6 turns on an electromagnetic coupling 136 through the corresponding diode and the corresponding vertical lines and through an amplifier 135. The sequence then continues in a suitable manner through step 7 to step 8, where through the setting input E00 the sequence control system is set to &#34;0,&#34; namely is switched back to the initial condition. 
     If the switch b2 is closed, then through the corresponding diodes and vertical lines the set inputs E01 plus E08 are energized, the control system switches on electromagnetic valve 137 and a contactor 138, starting from the output A 9 through the corresponding diodes and vertical lines and through amplifiers. In step 10, the sequence control system is returned again into the initial condition, starting from A10 through the set input E00. 
     The sequence control systems and the diode matrix are individually or in combination advantageously arranged in boxes 139 (FIG. 1) or 139&#39; (FIGS. 2 and 4) or drawers or the like. The connection can then take place by simple multiple contact plugs. In this manner it is possible in a simple and clearly understandable manner to provide easily interchangeable and extensive sequence controls. 
     Although a particular preferred embodiment of the invention has been disclosed above for illustrative purposes, it will be understood that variations or modifications thereof which lie within the scope of the appended claims are fully contemplated.