METHOD AND APPARATUS FOR CONTROLLING FEED SPEED IN NUMERICAL CONTROL SYSTEM

Abstract: A method and apparatus for controlling the feed speed of a machine by a numerical control system having a manual pulse generator (102) for generating pulses (HFP) in re­ sponse to a manual operation, wherein the numerical control system numerically controls the machine by supplying the machine with the generated pulses (HFP) as feed pulses in a manual feed mode (HDL) and with feed pulses correspond­ ing to a commanded feed speed (Fg or Fa) in modes (JOG or AUTO) other than the manual feed mode (HDL), the com­ manded feed speed (Fg or Fa) being modified in accordance with an override quantity (Rg or Ra) stored in a regtster (104 or 105). The method includes selectively designating the modes (JOG or AUTO) other than the manual feed mode (HDL), changing the override quantity (Rg or Ra), which is stored in the register (104 or 105), based on thepulses (HFP) generated by the manual pulse generator (102) and in accordance with the designated mode (JOG or AUTO), and modifying the commanded feed speed (Fg or Fa) in accord­ ance with the override quantity (Rg or Ra) stored in the register (104 or 105).

Description: This invention relates to a method and apparatus for controlling feed speed in a numerical control system which numerically controls the movement of a machine when the system is in use. Numerical control systems are widely employed for numerically controlling the actions and movements of various machines, for example machine tools. A numerical control system performs such control by supplying the servo system of the machine with feed pulses based on a commanded feed speed. Such a numerical control system has a feed speed override function for increasing or decreasing the commanded feed speed in accordance with a separately entered ratio, referred to as an override quantity. The feed speed override function makes it possible to change a commanded feed speed, which has already been programmed into the system, or a jog feed speed given by a parameter, into an optimum feed speed when desired. According to the prior art, the feed speed override function is realized by providing an operator's panel, located on the machine side, with override quantity setting means that are utilized to change the override quantity in analog or digital fashion. This is a disadvantage, however, since such an arrangement requires the provision of special switches to serve as the override setting means, as well as numerous specially provided signal lines to carry the associated signals. The number of such lines becomes particularly large when the arrangement is such as to enable fine setting of the override quantity. EP-A-0 024 947 discloses a method of manually modifying a non-manual commanded feed speed of a numerically controlled machine by means of operating up or down push buttons. This method is very crude and enables no accurate variation of the feed speed to be carried out. US-A-3 557 350 relates to a similar method and discloses the modification of speed in both automatic run mode and also jog feed mode. An embodiment of the present invention may provide a method and apparatus for controlling feed speed in a numerical control system, wherein an override quantity needed to change the pulse range of feed pulses can be set without the provision of special switches and signal lines. An embodiment of the present invention may provide a method and apparatus for controlling feed speed in a numerical control system, wherein an override quantity can be finely set. An embodiment of the present invention may provide a method and apparatus for controlling feed speed in a numerical control system, wherein an override quantity can be set with facility. An embodiment of the present invention may provide a method and apparatus for controlling feed speed in a numerical control system, wherein an override quantity can be set by utilizing a manually operated pulse generator provided for feeding a machine by a manual operation. An embodiment of the present invention may provide a method and apparatus for controlling feed speed in a numerical control system, wherein pulses from a manually operated pulse generator can be utilized in setting an override quantity in a mode designated by a mode selection switch. Other features and advantages of an embodiment of the present invention will be apparent from the following description taken in conjunction with the accompanying drawings, in which like reference characters designate the same or similar parts throughout the figures thereof. Brief Description of the Drawings Figs. 1A and 1B are front and side views, respectively, of a manually operated pulse generator used in an embodiment of the present invention; Fig. 2 is a waveform diagram showing the outputs of the pulse generator illustrated in Fig. 1; and Fig. 3 is a block diagram of an arrangement embodying the present invention. A numerical control system ordinarily is adapted to permit manual transport of a movable machine element, such as the table or tool of a machine tool. For this purpose, the numerical control system is equipped with a manually operated pulse generator in addition to a jog button. Fig. 1 shows the external appearance of the manually operated pulse generator, in which Fig. 1 A is a front view and Fig. 1B a side view. The pulse generator has a handle 11 and a rotating portion 12 to which the handle 11 is attached. When the rotational portion 12 is turned by means of the handle 11, the pulse generator produces an A-phase signal AS and a B-phase signal BS the phases of which are displaced from each other by 90 degrees. The number of pulses in each signal is proportional to the rotational angle of the handle 11, and the pulse rate is proportional to the speed at which the handle is turned. Turning the handle 11 in the forward or clockwise direction causes the phase of the signal AS to lead that of the signal BS, while turning the handle in the reverse or counter-clockwise direction causes the phase of the signal BS to lead. In accordance with a feature of the present embodiment of the invention, the manually operated pulse generator shown in Fig. 1 is used to set an override quantity in a manner described hereinafter. Reference will now be had to the block diagram of Fig. 3 to describe a feed rate control apparatus embodying the present invention. The apparatus includes a mode selection switch 101 of push-button type for selecting the mode of a numerical control system. Such modes include an automatic run mode AUTO, a jog feed /mode JOG and a manual pulse distribution mode HDL, the particular mode being activated when the respective output terminal of the mode selection switch 101 is sent to logical "1". A manually operated pulse generator 102 having the construction shown in Fig. 1 is provided for generating the signals described in conjunction with Fig. 2. Numeral 103 denotes a jog feed button for designating jog feed. A register 104 is adapted to register an override quantity Ra (%) when the automatic run mode prevails, and a register 105 is adapted to register a jog override quantity Rg (%) when the jog feed mode is in effect. Both of these registers are preset to a value of 100. A register 106 is provided for storing a jog feed speed Fg which serves as the effective jog feed speed for as long as Rg remains at 100 in the jog feed mode. This will be described in further detail later. A multiplier 107 takes the product of the jog override quantity Rg from the register 105 and the jog feed speed Fg from the register 106, producing a signal Fgc indicative of the result (i.e., Fgc = Fg × Rg). Thus the output Fgc of the multiplier 107 represents the jog feed speed Fg modified by the override value Rg (%) stored in register 105. A known pulse rate multiplexer 108 takes the product of the override quantity Ra (%) from register 104 and a commanded feed speed Fa, obtained from an arithmetic unit that is not shown, for producing pulses having a pulse rate Fc ( = Ra × Fa). Thus the output of the pulse rate multiplexer 108 represents the commanded feed speed Fa modified by the override value Ra (%) stored in register 104. The output of the multiplexer 108 is applied to a known pulse distributor 109 for producing distributed pulses DIP by performing an arithmetic pulse distribution operation based on the multiplexer output and on input data ΔX, ΔY, indicative of amount of movement along X and Y axes, respectively. A pulse generator unit 110, comprising a known digital differential analyzer, is adapted to generate a pulsed signal JP having a pulse rate proportional to the magnitude of the output Fgc from the multiplier 107. The pulses JP are generated only when the jog button 103 is held depressed. A multiplexer 111 having its output connected to a display unit 112 is responsive to the selected mode (JOG or AUTO, whichever is logical "1") to deliver either the jog feed speed Fgc, namely the output of multiplier 107, or the override quantity Ra (%) from the register 104, the display unit 112 responding by displaying Fgc or Ra (%). AND gates 113a, 113b, 113ceach have a first input terminal connected to the JOG, AUTO and HDL outputs of the mode switch 101, respectively. The output of the AND gate 113c is connected to a three-input OR gate 114 whose two remaining inputs are the pulsed signal JP from the pulse generating unit 110 and the distributed pulse signal DIP from the pulse distributor 109. The output of the OR gate 114 is connected to the servo unit of a machine, not shown. An encoding circuit 115 receives the pulses generated by the manual pulse generator 102 and delivers the pulses upon attaching a sign conforming to the direction in which the handle 11 (Fig. 1) is turned. The pulses delivered by the encoding circuit 115, referred to as handle feed pulses HFP, are applied to the second input terminal of each of the AND gates 113a, 113b, 113c. Counting circuits 116a and 116b, receiving the outputs of AND gates 113a, 113b and of registers 105, 104, respectively, are adapted to either subtract the number of pulses from the corresponding AND gate, or add this number to, the contents of the corresponding register, depending upon the direction of rotation of handle 11. The registers 104 through 106, multiplier 107, AND gates 113a through 113c and counting circuits 116a, 116b comprise a control circuit CT. In the operation of the apparatus illustrated in Fig. 3, AND gate 113c is opened when the manual pulse generation mode is selected (HDL = logical "1") by the mode selection switch 101. When the handle 11 of the manually operated pulse generator 102 is turned under this condition, the encoding circuit 115 delivers the handle feed pulses HFP having a sign in accordance with the direction of handle rotation. The number of pulses produced is a function of the amount of handle rotation. The handle feed pulses HFP are applied to the machine servo unit (not shown) through the open AND gate 113c and the OR gate 114, thereby transporting the table or tool of the machine. The foregoing function performed by the manually operated pulse generator 102 is the originally intended function, whereby the tool or table is transported in accordance with the operation of the handle 11 of the pulse generator. Now assume that the automatic run mode (AUTO = logical "1") is selected by the mode selection switch 101 to open the AND gate 113b. [As mentioned above, the register 104 is preset to an initial value of 100 as an override quantity Ra (i.e., override quantity Ra = 100%)]. As long as the manually operated pulse generator 102 is inactive, therefore, the pulse rate multiplexer 108 delivers pulses Fc indicative of the commanded feed speed Fa (Fc = Fa × 1.0). These pulses are applied to the pulse distributor 109 which responds by generating distributed pulses DIP commensurate with the commanded feed speed Fa. These pulses are applied as feed pulses to the machine servo unit through the OR gate 114 and cause the servo unit to drive the machine element. When the handle 11 of the manually operated pulse generator 102 is turned in the automatic run mode, the handle drive pulses HFP, of positive or negative sign depending upon the direction of handle rotation, are fed from the encoding circuit 115 to the counting circuit 116b via the open AND gate 113b. The counting circuit 116b proceeds to count up or count down the contents of the register 104 depending upon the sign of the pulses HFP. By way of example, assume that the handle of the manually operated pulse generator 102 is rotated one-quarter turn in the reverse direction, where a full turn is equivalent to 100 pulses. This will cause the encoding circuit 115 to deliver 25 of the handle drive pulses HFP, indicative of the negative direction, so that the contents of register 104 will be counted down to a value of 75 ( = 100 _ 25). Thus the override quantity Ra is changed from 100% to 75%. The result is that the pulse rate multiplexer 108 generates a pulse train indicative of a feed speed Fc which is 75% of the commanded feed speed Fa (i.e., Fc = Fa × 0.75). The pulse distributor 109 responds by generating distributed pulses DIP commensurate with the pulse rate Fc ( = Fa × 0.75). Meanwhile, since the automatic run mode has been selected by the "1" logic and its AUTO input terminal, the multiplexer 111 delivers the override quantity Ra (%) to the display unit 112 where Ra is displayed. This simplifies the override adjustment by permitting the operator to observe the override value while turning the handle of the manual pulse generator 102. Next, assume that the operator sets the mode selection switch 101 to the jog feed mode (JOG = logical "1") to open the AND gate 113a. [As mentioned above, the register 105 is preset to an initial value of 100 as an override quantity Rg (i.e., override quantity Rg = 100%). Also, the register 106 stores a jog feed speed Fg that will be delivered as the effective jog speed as long as Rg = 100% holds in the present mode]. Thus, when the jog feed button 103 is held depressed without first turning the manually operated pulse generator 102, the pulse generating unit 110 generates pulses JP indicative of the jog feed speed Fgc ( = Fg × 1.00) produced by the multiplier 107. The pulses JP are applied as feed pulses to the machine servo unit through the OR gate 114, the machine element being driven in response thereto. When the handle 11 of the manually operated pulse generator 102 is turned in the jog feed mode, the handle drive pulses HFP, of positive or negative sign depending upon the direction of handle rotation, are fed from the encoding circuit 115 to the counting circuit 116a via the open AND gate 113a. The counting circuit 116a proceeds to count up or count down the contents of the register 105 depending upon the sign of the pulses HFP. For example, if the handle of the manually operated pulse generator 102 is rotated one-fifth turn in the reverse direction, then the encoding circuit 115 will deliver 20 of the handle drive pulses HFP, indicative of the negative direction, causing the contents of register 105 to be counted down to a value of 80 ( = 100 _ 20). Thus the override quantity Rg is changed from 100% to 80%. The result is that the product delivered by the multiplier 107 is given by Fg × 0.80, so that the pulse generating unit 110 now produces pulses JP indicative of a feed speed expressed by Fg × 0.80. Owing to selection of the jog feed mode by the "1" logic at its JOG terminal terminal, the multiplexer 111 delivers the jog feed speed Fgc ( = Fg × 0.80) to the display unit 112 where Fgc is displayed. Thus, as mentioned above, adjustment of override is facilitated by permitting the operator to observe the jog feed speed while turning the handle of the manual pulse generator 102. Note that the override quantity Ra (%) in the automatic run mode can be changed only when the handle feed pulses HFP are generated by operating the manual pulse generator 102 in said mode. Likewise, the override quantity Rg (%) in the jog feed mode can be changed only when the handle feed pulses HFP are generated by operating the manual pulse generator 102 in said mode. These override quantities Ra, Rg are stored in the respective registers 104, 105. The feed speed is overridden on the basis of the override quantity Ra in register 104 when the automatic run mode is selected, and the jog feed speed is overridden on the basis of the override quantity Rg in the register 105 when the jog feed mode is selected. In the embodiment of the present invention as described and illustrated hereinabove, various switches and signal lines specially provided in the prior art apparatus for setting override quantities may be eliminated, thereby providing a numerical control system which is low in cost and simple to operate. Also, the override quantity and jog feed speed are displayed to simplify their adjustment. As many apparently widely different embodiments of the present invention can be made without departing from the scope thereof, it is to be understood that the invention is not limited to the specific embodiments thereof except as defined in the appended claims. In general terms, there has been disclosed a method and apparatus for controlling the feed speed of a machine by a numerical control system having a manual pulse generator (102) for generating pulses (HFP) in response to a manual operation, wherein the numerical control system numerically controls the machine by supplying the machine with the generated pulses (HFP) as feed pulses in a manual mode (HDL), and with feed pulses corresponding to a commanded feed speed (Fg or Fa) in modes (JOG or AUTO) other than the manual feed mode (HDL), the commanded feed speed (Fg or Fa) being modified in accordance with a register (104 or 105). The method includes selectively designating the modes (JOG or AUTO) other than the manual feed mode (HDL), changing the override quantity (Rg or Ra), which is stored in the register (104, 105), based on the pulses (HFP) generated by the manual pulse generator (102) and in accordance with the designated mode (JOG or AUTO), and modifying the commanded feed speed (Fg or Fa) in accordance with the override quantity (Rg or Ra) stored in the register (104 or 105). According to the present invention there is provided a method of manually modifying a commanded feed speed of a machine controlled by a numerical control system which, in use, supplies the machine with feed pulses at a rate corresponding to the commanded feed speed in a feed mode other than a manual feed mode, there being provided an automatic feed mode in which the commanded feed speed is determined automatically, and a jog feed mode in which the commanded feed speed is predetermined as a rate of pulses generated by holding down a jog feed button, the method comprising: selectively designating at least the automatic feed mode independently from the manual feed mode using a mode selection switch, and manually operating a manual pulse generator to modify the feed speed commanded for at least the automatic feed mode by supplying pulses modifying the commanded feed speed, the manual pulse generator being a rotary device which doubles as the manual pulse generator used to operate the machine in the manual feed mode and which generates pulses having a number dependent on the angle of rotation of the manual pulse generator and a generation rate dependent on the speed of rotation of the manual pulse generator; the method being characterised by: selectively designating the jog feed mode independently from the other feed modes using said mode selection switch; modifying both the commanded feed speed when the designated mode is the automatic feed mode and the jog feed speed when the designated mode is the jog feed mode, by using both a first register to store an override quantity used in the automatic feed mode and a second register to store an override quantity used in the jog feed mode, and changing the override quantity stored in either register dependent on the mode designated by said mode selection switch using changing means, the stored override quantity, and therefore the commanded feed speed, being changed by said changing means in dependence upon the number of pulses produced by the manual pulse generator, and the manual pulse generator varying the stored override quantity in such a manner that the operator modifies the commanded feed speed or jog feed speed by a percentage which is equivalent to the rotary position which he gives to the manual pulse generator; operating said mode selection switch to supply a signal to a selected one of first to third outputs of said switch corresponding respectively to jog feed mode, automatic feed mode and manual feed mode, said outputs being connectid to first inputs of respective first to third AND gates; generating handle feed pulses in response to pulses from said manual pulse generator using an encoder coupled to the manual pulse generator, and supplying the handle feed pulses to second inputs of said AND gates; counting pulses output from the first and second AND gates using first and second counters acting as said changing means and connected to the outputs of the first and second AND gates, respectively; modifying the contents of said second and first registers using signals from the first and second counters, respectively; storing a commanded jog feed speed using a third register; generating a jog speed signal by multiplying outputs from said second and third registers using a multiplier; generating pulses of a frequency based on a product of an override quantity stored in said first register and a commanded feed speed signal applied externally, using a pulse rate multiplexer; generating distributed pulses for the automatic feed mode from said pulses from said pulse rate multiplexer and externally-applied distance data, using a pulse distributor; generating, in response to a signal from said jog feed button, a pulsed signal of a pulse rate proportional to the magnitude of said jog feed speed signal from said multiplier, for the jog feed mode using a pulse generating unit arranged to receive said jog feed speed signal from said multiplier; and transmitting said distributed pulses for the automatic feed mode, said pulsed signal for the jog feed mode, or an output signal from said third AND gate for the manual feed mode, to a servo unit of the machine controlled by the numerical control system, using an OR gate. According to the present invention there is also provided an apparatus for use in manually modifying a commanded feed speed of a machine controlled by a numerical control system which, in use, supplies the machine with feed pulses at a rate corresponding to the commanded feed speed in a feed mode other than a manual feed mode, there being provided an automatic feed mode in which the commanded feed speed is determined automatically, and a jog feed mode in which the commanded feed speed is predetermined as a rate of pulses generated by holding down a jog feed button, the apparatus comprising: a mode selection switch adapted to selectively designate at least the automatic feed mode independently from the manual feed mode, and a manual pulse generator which is manually operable to modify the feed speed commanded for at least the automatic feed mode by supplying pulses modifying the commanded feed speed, the manual pulse generator being a rotary device which doubles as the manual pulse generator used to operate the machine in the manual feed mode and which generates pulses having a number dependent on the angle of rotation of the manual pulse generator and a generation rate dependent on the speed of rotation of the manual pulse generator; the apparatus being characterised in that: said mode selection switch is adapted to selectively designate the jog feed mode independently from the other feed modes; the apparatus comprises means for modifying both the commanded feed speed when the designated mode is the automatic feed mode and the jog feed speed when the designated mode is the jog feed mode, including both a first register for storing an override quantity used in the automatic feed mode and a second register for storing an override quantity used in the jog feed mode, and means operable to change the override quantity stored in either register dependent on the mode designated by said mode selection switch, the stored override quantity, and therefore the commanded feed speed, being changed by said changing means in dependence upon the number of pulses produced by the manual pulse generator, and the manual pulse generator varying the stored override quantity in such a manner that the operator modifies the commanded feed speed or jog feed speed by a percentage which is equivalent to the rotary position which he gives to the manual pulse generator; said mode selection switch has first to third outputs corresponding respectively to jog feed mode automatic feed mode and manual feed mode and is operable to supply a signal to any one of said outputs corresponding to the designated mode said outputs being connected to first inputs or respective first to third AND gates; said manual pulse generator is coupled to an encoder operable to generate handle feed pulses in response to pulses from said manual pulse generator and arranged to supply the handle feed pulses to a second inputs of said AND gates; first and second counters acting as said changing means are provided, connected to the outputs of the first and second AND gates, respectively; said second and first registers are connected to receive signals from the first and second counters, respectively; a third register is provided for storing a commanded jog speed; a multiplier is arranged to receive outputs from said second and third registers and to generate from those outputs a jog feed speed signal indicative of their product; a pulse rate multiplexer is arranged to receive an override quantity signal from said first register and a commanded feed speed signal applied externally and to generate therefrom pulses of a frequency based on the product of said signals; a pulse distributor is arranged to receive said pulses from said pulse rate multiplexer, and externally-applied distance data, and is operable to generate therefrom distributed pulses for the automatic feed mode; a pulse generating unit is arranged to receive said jog feed speed signal from said multiplier and is operable in response to a signal from said jog feed button to generate a pulsed signal of a pulse rate proportional to the magnitude of said jog feed speed signal from said multiplier, for the jog feed mode; and an OR gate is arranged to transmit said distributed pulses for the automatic feed mode, said pulsed signal for the jog feed mode, or an output signal from said third AND gate for the manual feed mode, to a servo unit of the machine controlled by the numerical control system. A method and apparatus according to the preamble of the preceding two statements are known from the control system ELTROPILOT M manufactoral by GILDEMEISTER AG of 4800 Bielefeld, FRG.

Claims: 1. A method of manually modifying a commanded feed speed of a machine controlled by a numerical control system which, in use, supplies the machine with feed pulses at a rate corresponding to the commanded feed speed in a feed mode other than a manual feed mode (HDL), there being provided an automatic feed mode (AUTO) in which the commanded feed speed is determined automatically, and a jog feed mode (JOG) in which the commanded feed speed is predetermined as a rate of pulses generated by holding down a jog feed button, the method comprising: selectively designating at least the automatic feed mode (AUTO) independently from the manual feed mode (HDL) using a mode selection switch (101), and manually operating a manual pulse generator (102) to modify the feed speed commanded for at least the automatic feed mode (AUTO) by supplying pulses (HFP) modifying the commanded feed speed, the manual pulse generator (102) being a rotary device which doubles as the manual pulse generator (102) used to operate the machine in the manual feed mode (HDL) and which generates pulses (HFP) having a number dependent on the angle of rotation of the manual pulse generator and a generation rate dependent on the speed of rotation of the manual pulse generator (102); the method being characterised by: selectively designating the jog feed mode (JOG) independently from the other feed modes using said mode selection switch (101); modifying both the commanded feed speed when the designated mode is the automatic feed mode (AUTO) and the jog feed speed when the designated mode is the jog feed mode (JOG), by using both a first register (104) to store an override quantity used in the automatic feed mode (AUTO) and a second register (105) to store an override quantity used in the jog feed mode (JOG), and changing the override quantity stored in either register (104 or 105) dependent on the mode designated by said mode selection switch (101) using changing means (116a or 116b), the stored override quantity, and therefore the commanded feed speed, being changed by said changing means (116a or 116b) in dependence upon the number of pulses (HFP) produced by the manual pulse generator (102), and the manual pulse generator (102) varying the stored override quantity in such a manner that the operator modifies the commanded feed speed or jog feed speed by a percentage which is equivalent to the rotary position which he gives to the manual pulse generator; operating said mode selection switch (101) to supply a signal to a selected one of first to third outputs of said switch corresponding respectively to jog feed mode (JOG), automatic feed mode (AUTO) and manual feed mode (HDL), said outputs being connected to first inputs of respective first to third AND gates (113a, 113b, 113c); generating handle feed pulses (HFP) in response to pulses from said manual pulse generator (102) using an encoder (115) coupled to the manual pulse generator (102), and supplying the handle feed pulses to second inputs of said AND gates (113a, 113b, 113c); counting pulses output from the first and second AND gates using first and second counters (116a, 116b) acting as said changing means (116a, 116b) and connected to the outputs of the first and second AND (113a, 113b), respectively; modifying the contents of said second and first registers (105, 104) using signals from the first and second counters, respectively; storing a commanded jog feed speed using a third register (106); generating a jog feed speed signal (Fgc) by multiplying outputs from said second and third registers (105, 106) using a multiplier (107); generating pulses of a frequency (Fc) based on a product of an override quantity (Ra) stored in said first register (104) and a commanded feed speed signal (Fa) applied externally, using a pulse rate multiplexer (108); generating, distributed pulses (DIP) for the automatic feed mode (AUTO) from said pulses (Fc) from said pulse rate multiplexer and externally-applied distance data (ΔX, ΔY), using a pulse distributor (109); generating, in response to a signal from said jog feed button (103), a pulsed signal (JP) of a pulse rate proportional to the magnitude of said jog feed speed signal (Fgc) from said multiplier (107), for the jog feed mode (JOG) using a pulse generating unit (110) arranged to receive said jog feed speed signal (Fgc) from said multiplier (107); and transmitting said distributed pulses (DIP) for the automatic feed mode (AUTO), said pulsed signal (JP) for the jog feed mode (JOG), or an output signal from said third AND gate (113c) for the manual feed mode (HDL), to a servo unit of the machine controlled by the numerical control system, using an OR gate (114). 2. A method according to claim 1, wherein the override quantity is normally 100 and the manual pulse generator (102) generates 100 pulses for a complete turn thereof, whereby the override quantity is varied by a percentage equivalent to that fraction of a complete turn which is executed by the manual pulse generator. 3. The method according to claim 1 or 2, further comprising a step of displaying the changed override quantity. 4. The method according to any preceding claim, further comprising a step of displaying the modified commanded feed speed. 5. The method according to any preceding claim, further comprising a step of displaying the changed override quantity when the automatic feed mode (AUTO) is designated, and the modified jog feed speed when the jog feed mode (JOG) is designated. 6. Apparatus for use in manually modifying a commanded feed speed of a machine controlled by a numerical control system which, in use, supplies the machine with feed pulses at a rate corresponding to the commanded feed speed in a feed mode other than a manual feed mode (HDL), there being provided an automatic feed mode (AUTO) in which the commanded feed speed is determined automatically, and a jog feed mode (JOG) in which the commanded feed speed is predetermined as a rate of pulses generated by holding down a jog feed button, the apparatus comprising: a mode selection switch (101) adapted to selectively designate at least the automatic feed mode (AUTO) independently from the manual feed mode (HDL), and a manual pulse generator (102) which is manually operable to modify the feed speed commanded for at least the automatic feed mode (AUTO) by supplying pulses (HFP) modifying the commanded feed speed, the manual pulse generator (102) being a rotary device which doubles as the manual pulse generator (102) used to operate the machine in the manual feed mode (HDL) and which generates pulses (HFP) having a number dependent on the angle of rotation of the manual pulse generator and a generation rate dependent on the speed of rotation of the manual pulse generator (102); the apparatus being characterised in that: said mode selection switch (101) is adapted to selectively designate the jog feed mode (JOG) independently from the other feed modes; the apparatus comprises means for modifying both the commanded feed speed when the designated mode is the automatic feed mode (AUTO) and the jog feed speed when the designated mode is the jog feed mode (JOG), including both a first register (104) for storing an override quantity used in the automatic feed mode (AUTO) and a second register (105) for storing an override quantity used in the jog feed mode (JOG), and means (116a or 116b) operable to change the override quantity stored in either register (104 or 105) dependent on the mode designated by said mode selection switch (101), the stored override quantity, and therefore the commanded feed speed, being changed by said changing means (116a or 116b) in dependence upon the number of pulses (HFP) produced by the manual pulse generator (102), and the manual pulse generator (102) varying the stored override quantity in such a manner that the operator modifies the commanded feed speed or jog feed speed by a percentage which is equivalent to the rotary position which he gives to the manual pulse generator; said mode selection switch (101) has first to third outputs corresponding respectively to jog feed mode (JOG), automatic feed mode (AUTO) and manual feed mode (HDL) and is operable to supply a signal to any one of said outputs corresponding to the designated mode (HDL, AUTO, JOG) said outputs being connected to first inputs of respective first to third AND gates (113a, 113b, 113c); said manual pulse generator (102) is coupled to an encoder (115) operable to generate handle feed pulses (HFP) in response to pulses from said manual pulse generator (102) and arranged to supply the handle feed pulses to second inputs of said AND gates (113a, 113b, 113c); first and second counters (116a, 116b) acting as said changing means (116a, 116b) are provided, connected to the outputs of the first and second AND gates (113a, 113b), respectively; said second and first registers (105, 104) are connected to receive signals from the first and second counters, respectively; a third register (106) is provided for storing a commanded jog feed speed; a multiplier (107) is arranged to receive outputs from said second and third registers (105, 106) and to generate from those outputs a jog feed speed signal (Fgc) indicative of their product; a pulse rate multiplexer (108) is arranged to receive an override quantity signal (Ra) from said first register (104) and a commanded feed speed signal (Fa) applied externally and to generate therefrom pulses of a frequency (Fc) based on the product of said signals; a pulse distributor (109) is arranged to receive said pulses (Fc) from said pulse rate multiplexer, and externally-applied distance data (ΔX, ΔY), and is operable to generate therefrom distributed pulses (DIP) for the automatic feed mode (AUTO); a pulse generating unit (110) is arranged to receive said jog feed speed signal (Fgc) from said multiplier (107) and is operable in response to a signal from said jog feed button (103) to generate a pulsed signal (JP) of a pulse rate proportional to the magnitude of said jog feed speed signal (Fgc) from said multiplier (107), for the jog feed mode (JOG); and an OR gate (114) is arranged to transmit said distributed pulses (DIP) for the automatic feed mode (AUTO), said pulsed signal (JP) for the jog feed mode (JOG), or an output signal from said third AND gate (113c) for the manual feed mode (HDL), to a servo unit of the machine controlled by the numerical control system. 7. The apparatus according to claim 6, wherein the override quantity is normally 100 and the manual pulse generator (102) generates 100 pulses for a complete turn thereof, whereby the override quantity is varied by a percentage equivalent to that fraction of a complete turn which is executed by the manual pulse generator. 8. The apparatus according to claim 6 or 7, further comprising display means (112) for displaying the changed override quantity when the automatic feed mode (AUTO) is designated and the modified jog feed speed when the jog feed mode (JOG) is designated. 9. The apparatus according to claim 6 or 7, further comprising display means (112) for displaying the changed override quantity. 10. The apparatus according to claim 6, 7 or 9, further comprising display means (112) for displaying the modified commanded feed speed. 11. The apparatus according to claim 8, 9 or 10 further comprising a multiplexer (111), arranged to receive said signal (Fgc) from said multiplexer (107) and said override quantity (Ra) from said first register (104) and operable to deliver either signal to a display unit (112), whereby the jog feed speed (Fgc) or the override quantity (Ra) is displayed on the display unit.

Inventors: KIYA, NOBUYUKI, MURAKAMI, KUNIHIKO, NOZAWA, RYOICHIRO
Applicants: FANUC LTD.
Application year: 1983
Main classification: G05B19
IPC codes: G05B19, B23Q15