The present invention relates to a programmable controller which generates a speed command to a servomotor.
Priorly, when generating a speed pattern by a programmable controller, as shown in the block diagram of a controller of
Also, in a case of synchronous control between two spindles (the number of main and slave spindles is not specified) having the master-servant relationship where the slave spindle is driven in synchronization with movement of the main spindle as shown in
However, in the above-described prior art, according to the speed pattern generating function, the move command (or a processing program) is analyzed, thereupon the speed pattern is automatically generated, therefore generation of the speed pattern has been fixed to synchronous/asynchronous timing specified by the move command and it has been impossible for a user to carry out a start/stop at free timing.
In addition, when the speed pattern is generated by the speed pattern generating function, the calculation results are directly output to the servomotor, therefore, it has been impossible to process said speed pattern halfway and output these to the servomotor as a speed command.
Accordingly, there has been a problem such that, due to the above-described drawbacks, speed patterns other than the speed pattern provided by the controller cannot be realized.
Therefore, it is an object of the present invention to provide a speed pattern generator as one function and open the calculation results to the user without outputting the results as a command to a servomotor, whereby providing a programmable controller which is capable of providing an environment which allows the user to realize an arbitrary speed pattern.
In order to achieve the above-described object, according to the first aspect of the invention, a programmable controller which comprises a speed pattern generator including speed pattern generator units that receive input of the amount of movement, speed, acceleration time, and deceleration time and calculate a desired speed pattern for output to a servomotor, wherein
Also, according to the second aspect of the invention, the programmable controller comprises a user operation portion, the speed pattern generator outputs the calculated speed pattern to said user operation portion, and an output is sent from said user operation portion to the servomotor. Moreover, according to the third aspect of the invention, the user operation portion can be started and stopped by a user at free timing.
Furthermore, according to the fourth aspect of the invention, the speed pattern generator units store trapezoidal waveforms having arbitrary shapes and a desired speed pattern is generated as a composite pattern that is geometrically superposed based on the algebraic sum of these trapezoidal waveforms.
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
Referring to
The user freely processes the calculation results of the results portion 13 from the speed pattern generator 12 by means of the user operation portion 14 and outputs a desirable speed command for the servomotor 17 to the speed command 15 and provides this command for the servo control portion 16.
In this case, a plurality of speed pattern generator units 12a, . . . , 12n exist and can start/stop at a user's desirable timing.
In the output example of the speed pattern generator shown in
Now, operations will be described.
In a case where the user moves the servomotor 17 by a certain amount of movement, the velocity waveform of the servomotor 17 becomes a polygon based on the trapezoid as shown in FIG. 2. When the area of this polygon is regarded as the amount of movement, a combination of trapezoids which realizes this area and polygonal shape by adding or deducting trapezoids having arbitrary shapes is determined.
Based on the combination of trapezoids thus determined, the user inputs, while weighing the timing for realizing this polygon, the move command 11 into a plurality of speed pattern generator units 12a through 12n and obtains calculation results from each thereof. The algebraic sum of results 13 (trapezoids) from said plurality of speed pattern generator units 12a through 12n is output to the servo control portion 16 as a timely speed command 15, whereby a desirable velocity waveform can be realized.
For inputting the move command 11, a formula where a processing program is given to a controller by a CPU module is employed, whereas in the present case, it becomes possible to directly input into the speed pattern generator 12 of the controller by the user as the move command 11.
In addition, in the user operation portion 14, it is possible to perform processing (various filtering operations) to the algebraic sum waveform of values (trapezoids) of the results portion 13, which are calculation results from the speed pattern generator 12. The user operation portion 14 is constructed such that the user can perform processing such as superposition and the like by use of a mouse and the like in a dialogue manner while monitoring a polygonal waveform of the calculated results which is displayed on a display device (unillustrated).
Concretely, referring to the speed command example of
(1) First, as shown in
(2) Then, generation of a speed pattern of a trapezoid EGHF is carried out at a time t1, and since this output is in the decelerating direction, this output is deducted from the output 1 and the resulting pattern is set as an output 2.
(3) Generation of a speed pattern of a trapezoid GHIJ is carried out at a time t2, and since this output is in the acceleration direction, this output is added to the output 2 and the resulting pattern is set as an output 3.
By setting such outputs 1 through 3 as a speed command to the servo control portion 16, it becomes possible to command the velocity waveform having the shape ABEGJIHFCD illustrated by the solid lines, thus making it possible to freely execute the speed command by user operations.
Such free execution of the speed command by user operations is possible irrespective of synchronous/asynchronous control. As a simple example of synchronous control, in a case where for a main spindle which carries out one cutting process with acceleration, constant speed, and deceleration as shown in the trapezoid ABCD of
Thus, it becomes possible for the programmable controller (or a motion controller) to carry out generation of and rewriting of a speed command independent of a command from a superordinate device such as a CPU module and the like, and it also becomes possible to carry out correction of acceleration in a case of motion program look-ahead predictive control for a plurality of blocks without waiting for program modifications by the superordinate device, therefore this controller effectively functions as a distributed system, whereby enabling an improvement in cycle time to improve the productivity.
As has been described above, according to the present invention, the user freely processes an output from the speed pattern generator provided by the programmable controller (or a motion controller), whereby it becomes possible to output an arbitrary speed command to the servomotor, therefore the user has an effect to improve the tact time of a machine.
Furthermore, the speed pattern generator of the present invention is similar to a shift order such as automatic acceleration and deceleration in the motion program in terms of the commanding method, therefore there is also an effect such that consistency in use is excellent and a decline in production costs can be expected.
The present invention can provide a programmable controller where generation and processing of speed command patterns by user operation is possible, therefore it is optimal for use where complicated machine control is carried out.
Number | Date | Country | Kind |
---|---|---|---|
11-126059 | May 1999 | JP | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCTJP00/02691 | 4/24/2000 | WO | 00 | 1/28/2002 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO0068745 | 11/16/2000 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
4155426 | Booker, Jr. | May 1979 | A |
4348731 | Kogawa | Sep 1982 | A |
4408868 | Thomas et al. | Oct 1983 | A |
4698509 | Wells et al. | Oct 1987 | A |
4767910 | Stevens et al. | Aug 1988 | A |
5380181 | Hiraoka et al. | Jan 1995 | A |
5394743 | Noguchi et al. | Mar 1995 | A |
5396792 | Kohsaka et al. | Mar 1995 | A |
6781339 | Ikeguchi | Aug 2004 | B1 |
Number | Date | Country |
---|---|---|
57037267 | Mar 1982 | JP |
57050023 | Mar 1982 | JP |
07-064620 | Mar 1995 | JP |
10-039913 | Feb 1998 | JP |
10-039915 | Feb 1998 | JP |