an embodiment of the present invention will now be described with reference to the drawings . in fig1 a valve mechanism 1 has a rotary valve 8 , and an inlet port 6 , an outlet port 7 . a hopper 3 containing a filler 2 is mounted on the valve mechanism 1 to communicate with the inlet port 6 . a first piston cylinder 5 is connected to the valve mechanism 1 through a side port ( not shown by a number ) to communicate with the inlet port 6 and the outlet port 7 as the valve 8 is rotated . the first piston cylinder 5 has a piston 4 to which a piston rod 16 is connected . air - hydro converters 12 , 12 &# 39 ; converting air pressure to oil pressure , stop valves 30 , 30 &# 39 ; and actuators 32 , 32 &# 39 ; connected to a third piston cylinder 13 , used to ensure stable movement of the piston 4 . a piston rod 15 connected at one end to a piston 14 in the third cylinder 13 is pivoted at the other end to the piston rod 16 of the piston 4 . magnetic type proximity switches 17 , 17 &# 39 ; are mounted on the third cylinder 13 , and a magnetic ring 18 is fitted on the piston 14 . therefore , for example , when the piston 14 moves to arrive at the position of the proximity switch 17 &# 39 ;, the proximity switch 17 &# 39 ; detects the magnetic ring 18 and transmits a detection signal to a programmable sequence controller 36 . since the sequence controller 36 is electrically connected to the stop valves 30 , 30 &# 39 ; and actuators 32 , 32 &# 39 ; for transmitting a predetermined signal to them , the moving distance of the piston 14 , i . e ., the moving distance of the piston 4 , can be adjusted by the action of the actuators 32 , 32 &# 39 ;, which control hydraulic power toward the third piston cylinder 13 . furthermore , the actuators 32 , 32 &# 39 ; have a function to control the speeds of the piston 14 of the third piston cylinder 13 by regulating said hydraulic power . references d , d &# 39 ; and e , e &# 39 ; stand for signals to be transmitted from the sequence controller 36 to the stop valves 30 , 30 &# 39 ; and the actuators 32 , 32 &# 39 ;, respectively . the combination of the air - hydro coverters 12 , 12 &# 39 ;, stop valves 30 , 30 &# 39 ;, actuators 32 , 32 &# 39 ;, the third piston cylinder 13 , piston 14 , piston rods 15 and 16 , magnetic type proximity switches 17 , 17 &# 39 ;, and magnet ring 18 , will be generally referred to hereinafter as a first control system m . the nozzle 11 is fixed to a rack 19 , which can move in the direction of the insertion of the nozzle 11 into the product 10 . the rack 19 is connected at one end to a piston rod 22 driven into and out of a second piston cylinder 21 by the combination of separately provided air - hydro converters 20 , 20 &# 39 ;, stop valves 31 , 31 &# 39 ;, and actuators 33 , 33 &# 39 ;. the degree of movement of the rack 19 is detected by a rotary encoder 24 , which is rotated by a pinion gear 23 making meshing engagement with the rack 19 . the combination of the rack 19 , air - hydro converters 20 , 20 &# 39 ;, stop valves 31 , 31 &# 39 ;, actuators 33 , 33 &# 39 ;, second piston cylinder 21 , piston rod 22 , pinion gear 23 , and rotary encoder 24 , will be generally referred to hereinafter as a second control system n . the depth of the insertion of the nozzle 11 into the product 10 is set by numerical valves which the operator inputs to a counter 34 mounted on a control panel . when the count by the rotary encoder 24 showing the progress of the rack 19 during the inserting operation equals the set value , the counter 34 transmits a signal indicated as &# 34 ; f &# 34 ; to the sequence controller 36 . based upon the signal &# 34 ; f ,&# 34 ; the sequence controller 36 directs an actuation signal to the stop valves 31 , 31 &# 39 ; to stop the insertion and provide the desired depth of insertion of the nozzle 11 . the speed of the insertion of the nozzle 11 into the product 10 can be controlled by the actuators 33 and 33 &# 39 ; which operate in response to the command from the programmable sequence controller 36 . the speed of the extrusion from the piston 4 can also be controlled by the actuators 32 and 32 &# 39 ; which operate in response to the command from the programmable sequence controller 36 , so that the controller 36 control the timing of the insertion and retraction of the nozzle 11 and the extrusion . the quantity of the filler 2 to be injected into the product 10 can be previously determined by adjusting the positions of the proximity switches 17 and 17 &# 39 ;, namely , these positions correspond to a top dead center and a bottom dead center of the piston 14 , respectively . a product supply conveyor 27 , having product supports 25 , travels in a direction orthogonal to the moving direction of the nozzle 11 . in fig1 reference &# 34 ; a &# 34 ; stands for a signal which is transmitted from the sequence controller 36 to a motor for driving the conveyor 27 . a holding plate 28 is above the conveyor 27 and moves downward to hold the product 10 while the filler 2 is charged in the product 10 . a product sensor 29 , near the supply conveyor 27 , detects the product 10 when it is at a predetermined position , where the filler 2 is to be charged . the relation between the operating time of the nozzle 11 and that of the piston 4 will now be described by reference to the operation time chart shown in fig2 . in fig2 &# 34 ; a &# 34 ; means the time zone for the advancing movement of the nozzle 11 , and &# 34 ; b &# 34 ; means the time zone for the retracting movement of the advanced nozzle 11 . the time periods of the time zones &# 34 ; a &# 34 ; and &# 34 ; b &# 34 ; are not necessarily the same . one cycle includes the advance and retraction of the nozzle 11 to its original position . &# 34 ; c &# 34 ; means the time zone for the extruding movement of the piston 4 , and &# 34 ; d &# 34 ; and &# 34 ; e &# 34 ; mean the time zones for the sucking movement of the piston 4 . also , in the time zone &# 34 ; d ,&# 34 ; the rotary valve 8 is in the position to close the passage leading to the hopper 3 . therefore , the suction by the piston 4 in this time zone exhibits the effect of a negative pressure in the nozzle 11 , so that dripping of the filler 2 from the tip of the nozzle 11 is prevented while the tip of the nozzle 11 is taken out from the product 10 . this time zone &# 34 ; d &# 34 ; is very short . in the time zone &# 34 ; e ,&# 34 ; the rotary valve 8 opens the passage from the first piston cylinder to the hopper 3 and closes the passage leading to the nozzle 11 . therefore , the suction by the piston 4 has the effect of filling the filler 2 in the chamber of the first piston cylinder 5 . the manner of control will now be described . the amount of the filler 2 is proportional to the distance of movement of the piston 4 in the first piston cylinder 5 . although this distance is changed by the operator manipulating the dial , the sequence controller 36 , actuates the air - hydro converter 12 , 12 &# 39 ; in the first control system m so that the corresponding amount of filler material 2 can always be charged within a a constant time . as shown in fig3 and fig4 the length l1 or l2 of the filler 2 charged in the product 10 is variable . it is determined by changing the time period of the time zone of the extruding movement of the piston 4 during the retracting movement of the nozzle 11 . the time period of the time zone c of the extruding movement of the piston 4 is changed by the operator manipulating the dial , and the sequence controller 36 generates and transmits signals to the actuators 33 and 33 &# 39 ; so as to adjust the filled quantity in each cross - section in the product 10 . these operations can be achieved by applying the data on the required advancing period of time and required retracting period of time of the nozzle 11 to the programmable sequence controller 36 , together with the data of the retracting distance . the injecting operation is repeated automatically in accordance with data freely set in a manner as described above , but it is interrupted if the extruding operation of the piston 4 for injecting a predetermined length of the filler is obstructed for some reason . that is , since the function of the proximity switch 17 , in the first control system m is adapted to sense the end of the extruding operation of the piston 4 and to transmit the detection signal to the sequence controller 36 , if it does not detect the arrival of the piston 14 even after the lapse of a predetermined time which is programmed in the sequence controller 36 and the sequence controller 36 receives no detection signal , the sequence controller 36 generates no command to cause the rotary valve 8 to open the passage from the hopper 3 to the chamber of the first piston cylinder 5 . therefore , the next operation does not take place . because of the above feature , the impossibility of the extrusion of the filler material 2 due to plugging of the nozzle 11 with an obstacle or the like is sensed , and the operation is automatically interrupted . thus , the occurrence of an inadequately charged product can be readily detected . as described above , the present invention can provide a method which finds a wide range of applications in that the position and length of a filler material charged in products can be freely selected to meet changes in the shape and size of supplied products . further , when a filler material to be charged in a product cannot be charged due to the presence of an obstacle in the nozzle and for other reasons , such a charging error can be readily detected . thus , no sampling test is required , but nevertheless rejects can be readily detected . also , in fig1 references b , b &# 39 ; and c , c &# 39 ; stand for signals to be transmitted from the sequence controller 36 to the stop valves 31 , 31 &# 39 ; and the actuators 33 , 33 &# 39 ;, respectively . reference 37 stands for an actuator to carry the holding plate 28 up and down .
a method of injecting viscous fluid into bread or confectionery is provided . viscous fluid is drawn by a piston from a hopper through a 3 - port valve into the chamber of a first piston cylinder , and after changing the position of the valve the viscous fluid is extruded through a tube and a reciprocally movable nozzle into a product while the nozzle is being retracted . according to the present invention , the relation between the time of retraction of an injection nozzle from bread or confectionery and the stroke and time of extrusion by a piston is adjusted , so that the position , amount , and length of the viscous fluid charged in the product can be freely varied .