1. Field of the Invention
The present invention relates to a signal processing device for various machines.
2. Description of the Related Art
In order to allow peripheral devices and so forth which are arranged for various machines to be operated in accordance with the operating states of the machines, signals constituting a predetermined logic operation result have hitherto been output with predetermined timing. For example, in the case of an injection molding machine, signals may be output in the metering process during a fully automatic operation or a semiautomatic operation of the injection molding machine as signals that allow a volumetric feeder for supplying resin to the injection molding machine to operate. In this case, a [(fully automatic operation in progress) OR (semiautomatic operation in progress)] AND (metering in progress) signal may be output.
The volumetric feeder signal given by way of example has straightforward timing and is used in logic operations so that it can be used as a ‘metering in progress signal for when a fully automatic operation or semiautomatic operation is underway’ for peripheral devices as well as a volumetric feeder. Because of general versatility of such signals, there are many cases where these signals are provided in an injection molding machine from the beginning. However, because there are restrictions on the number of signals that the injection molding machine can be provided with, it is not possible to handle all the signals that can be assumed.
Hence, in a case where signals that cannot be provided as general-purpose signals are output to the injection molding machine, there is the problem that it is necessary for the manufacturer of the injection molding machine to modify the control program and, as a result, it takes time for the demands of the user to be met.
Therefore, in order to rapidly meet the demands of the user, an injection molding machine that is constituted to allow the user to create a program and to permit the execution of a user-created program and a standard program is known (Japanese Patent Application Laid Open No. 8-132505).
In addition, technology aimed at simplifying the program creation work each time a program is created is known. For example, a method of creating a sequence program by converting a timing chart into a sequence program (See Japanese Patent Application Laid Open No. 4-145501), a programming device with which signal relations are entered in a table format and which automatically generates a ladder program from the table (Japanese Patent Application Laid Open No. 6-4111), a device that describes a logic circuit in a table format and converts the table-format logic circuit into functional language (See Japanese Patent Application Laid Open No. 6-149311), a sequence control method that generates a function to describe the relationship between the input and output at respective points from line diagram information of an operation chart or time chart or the like (Japanese Patent Application Laid Open No. 11-202912), and a molding cycle setting device that allocates an operating command item to each operating sequence of the injection molding machine (See Japanese Patent Application Laid Open No. 2003-225925) are known.
However, because the logic circuit and timing chart and so forth must be investigated even when using the respective technologies above, the creation of the sequence program is still a burden for the user.
Further, the manufacturer must add complex processing inside the sequence-program automatic generation device in order to prevent the machine from performing an erroneous operation when executing a program that was created by the user.
On the other hand, a technology aimed at allowing the user to modify the operation timing of an operating device in the respective steps is known. For example, Japanese Patent Application Laid Open No. H5-181514 discloses a technology that supplies 2n numeric values to the respective operating devices, selects one or a plurality of operating devices that are made to operate in the respective work steps, adds the 2n numeric values that correspond with the selected operating device, and, by setting the added values, allows the operating devices required in the respective work processes to operate.
However, although the devices that operate in the respective work steps can be chosen, signals of the desired logic and timing cannot be obtained.
Furthermore, as shown in
In such a setting method in which ON/OFF setting is made for each signal light to be lit for each signal name, if the types of signals increase, the items necessary for ON/OFF setting increases, with the result that larger display area is required on a display screen and it becomes more difficult to confirm the content of the signals.
Generally, the content of the signals output to the peripheral devices of a machine such as a signal light is diverse for the users using the machine and is not fixed according to the machine but rather varies depending on the system that comprises the machine and the peripheral devices thereof. However, the logic for generating the signals output to the peripheral devices is often simple. Signals can often be generated by means of a simple logic operation such as an OR or AND operation, for example, for signals which are produced when the machine assumes a certain specified state, signals that are produced when a certain event occurs in the machine when the machine assumes a certain specified state, and so forth.
The present invention relates to a machine signal processing device that comprises a controller for controlling a machine, a display device and an input device, wherein the controller comprises logic operation execution means; the display device displays the content of the logic operation of the logic operation execution means and a predefined group of signals; the input device comprises means for selecting and setting a signal from among the group of signals which is displayed on the display device and setting an output destination of the logic operation result; and the logic operation execution means carries out a logic operation on a signal that has been selected and set by means of the input device and outputs the result of the logic operation to the set output destination. With this configuration, the timing for outputting signals can be set easily.
The content of the logic operation displayed on the display device may be specified by a group of setting fields comprising a plurality of setting fields that allow the input device to supply signals to the logic operation execution means, and the display positions of the setting fields. Further, the content of the logic operation may be such that operation of logical addition is carried out on the signals set in the setting fields in a group and operation of logical multiplication is carried out on the results of logical addition operation carried out on the respective one of groups of setting fields.
The signal processing device of the machine according to the present invention has the above constitution and therefore allows a user to change the output timing of an output signal by selecting a familiar signal name, facilitates changes to the conditions for outputting the output signals, and allows output signals that cause peripheral devices to operate to be easily customized.
The above objects and characteristics of the present invention as well as further objects and characteristics thereof will become more apparent from the subsequent description of the embodiments with reference to the attached drawings, of which:
An example in which the present invention is applied to a signal processing device of an injection molding machine will be described hereinbelow as the first embodiment of the present invention.
In
In addition, a buzzer 9, signal light 10, a taking-out device 11 that takes the mold out of the injection molding machine and another peripheral device 12 are connected to a terminal 3 which is provided in the controller 1 and constitutes a peripheral-device output destination.
The signals used by the injection molding machine may be broadly classified as state signals that are repeated in each cycle such as mold closure, injection, dwelling, metering, mold opening, and extrusion, and state signals that arise irrespective of the cycles such as alarm, emergency stop, automatic operation and manual operation and so forth.
Where the majority of the signals that are output to the peripheral devices are concerned, by carrying out operation of logical addition of a few signals among the state signals that are unrelated to the cycles and logical addition of a few signals among the state signals that are repeated for each cycle, a desired output signal can be obtained by carrying out logical multiplication operation on the results of those logical additions. The signals used in the abovementioned volumetric feeder may also be obtained from the logical multiplication operation on [(automatic operation) OR (semiautomatic operation)], logical addition of the state signals unrelated to cycles, and (metering in progress), state signals repeated in each cycle.
Hence, in this embodiment, a logic circuit is provided which stores a plurality of signals so that logical addition operation is carried out based on those signals and logical multiplication operation is carried out based on the results of those logical addition.
First, in this example, a field 20a for setting types of setting between ‘DETAILED SETTINGS’ or ‘SIMPLE SETTINGS’, a field 20b that permits logical addition and logical multiplication operation by setting detailed settings in field 20a and permits the selection of the output method (including whether the output is a contact point A output in which the signal is output as is or a contact point B output in which the signal is output inverted, an edge field 20c for selecting the leading edge/trailing edge in order to output a pulse signal at the leading or trailing edge of the signal thus created; a field 20d for setting whether or not logical multiplication operation is used; and a field 20e for setting the delay time for delaying the output of the signal for the logic operation result are displayed. Moreover, in addition to these, first and second signal setting fields 20f1 and 20f2 for logical addition for setting signals on which logical addition operation is carried out are displayed side by side.
The first signal setting field 20f1 and second signal setting field 20f2 have signal names entered therein in a vertical direction. The logical addition operation on the signals set in the first signal setting field 20f1 is carried out and the logical addition operation on the signals set in the second signal setting field 20f2 are carried out and the logical multiplication operation on the results of the logical addition operations is carried out, whereby the signal ‘S-001’ is output.
Further, when ‘SIMPLE SETTINGS’ is set in the field 20a for setting the types of setting, setting fields 20b, 20c, 20d, and 20e for ‘OUTPUT’, ‘EDGE’, ‘LOGICAL MULTIPLICATION’ and ‘DELAY TIME’ are not displayed, but the signal setting field 20f1 for only one logical addition is displayed, and the signal obtained by logical addition operation based on signal states of the signal names which are set in the signal setting field 20f1 for logical addition is set as an output signal.
Because there is a large quantity of signals, a plurality of screens for displaying the signal group are provided. In the example shown in
This signal group can include, in addition to signals that express the state of the injection molding machine as shown in
Further, in the above example, in the setting screen 20, signal setting fields for logical addition in which signals used for logical addition operation are set are arranged in the vertical direction, and setting fields for carrying out logical addition operation are arranged in a horizontal direction, so that the content of the logic operation in which logical multiplication operation is carried out based on the results of logical addition operation is displayed in respective display positions concerned. However, as shown in
First, the signal setting screen shown in
In the case of the example of the setting screen shown in
When the output signal table is updated in this way, the CPU of the controller 1 executes output-signal control processing to execute a sequence program that is stored in the nonvolatile memory RAM 4 on the basis of the output signal table.
First, the index n is set to ‘1’ and the signal SOR1 that indicates the operation result of the first logical addition is set to ‘OFF’ (step b1). Thereafter, it is judged whether the storage section COND [n] that indicates the state of the injection molding machine on the output signal table is ‘ON’ or not (step b2) and, if the storage section COND [n] is not ‘ON’, the processing proceeds to step b4 and, if the storage section COND [n] is ‘ON’, then it is judged whether OR1 [n] is set to ‘ON’ or not. That is, it is judged whether OR1 [n] is set as a signal on which operation of the first logical addition is to be carried out (step b3). If OR1 [n] has not been set to ‘ON’, the processing proceeds to step b4. In step b4, it is judged whether the index n is equal to or less than N which is the number of the states of the injection molding machine and, if the index does not exceed this number N, index n is incremented by one (step b5) and the processing proceeds to step b2.
The processing of steps b2 to step b5 is executed repeatedly hereinbelow. When it is judged that the storage section COND ‘n’ indicating the state of the injection molding machine is ‘ON’ in step b2 and that the storage section OR1 ‘n’ has been set to ‘ON’ for a signal on which operation of the first logical addition is to be carried out in step b3, the processing proceeds to step b6 and ‘ON’ is set for signal SOR1 that indicates the operation result of the first logical addition and the logic operation processing of the first logical addition is ended. In addition, when there are no cases where the storage section COND [n] and storage section OR1 [n] are both judged to be ‘ON’ up until the index n exceeds N which is the number of the types of states of the injection molding machine, the processing is terminated with the signal SOR1 kept ‘OFF’ as has been set in step b1.
When ‘AUTOMATIC OPERATION IN PROGRESS’ and ‘SEMIAUTOMATIC OPERATION IN PROGRESS’ have been set as the first logical addition as shown in
The ladder program shows that if the storage section COND [n] is ‘ON’ and the storage section OR1 [n] is ‘ON’, then the signal SOR1, which represents the result of operation of the first logical addition, is ‘ON’. It should be noted here that n is any one of 1 to N.
Further, if an output signal table shown in
Furthermore,
Further, the result of logical multiplication operation on the signal SOR1 which indicates the result of operation of the first logical addition and the signal SOR2 which indicates the result of operation of the second logical addition is output as an output signal to the output destination.
In the setting of the output signal S-001 shown in FIG. 2, signal SOR1 is ‘ON’ for ‘AUTOMATIC OPERATION IN PROGRESS’ or ‘SEMIAUTOMATIC OPERATION IN PROGRESS’, based on the result of operation processing of the first logical addition shown in
As explained above, according to the present invention, a user who used a machine is able to set and change the output timing for an output signal simply by changing a signal to be used in logic operation incorporated in the machine beforehand, so that the user need not change or delete a sequence program.
In addition, by matching the positional relationships of setting fields for selecting a signal with logic operation provided in a sequence program, a user can easily understand in which setting field a signal should be set each time the user carries out desired logic operation. That is, as in the case of the embodiment explained above, if means for carrying out logical addition operation based on the combination of signals set in signal name input fields arranged in a vertical direction and carrying out logical multiplication operation based on the outputs of the result of logical addition set in each of logical addition fields arranged in a horizontal direction is prepared in advance, then a user is able to carry out a simple logic operation by selecting setting fields where an output signal is set.
Naturally, a plurality of signals that the user can create may be prepared.
Although an example in which the present invention is applied to an injection molding machine is given in the above embodiment, the present invention can also be used in the output timing processing of signals for a variety of machines. For example, when a parts feeder is to be connected to a machine tool such as a drilling machine, a required signal can be obtained by making settings that output the pulse signal at the trailing edge of a signal which indicates that machining is in process. Furthermore, although a logic operation including two operations of logical addition and an operation of logical multiplication is described in the above embodiment, three or more fields for logical addition operation may be provided so as to carry out logical multiplication operation based on these results of logical addition. Furthermore, logic of negation of signal (signal inversion) may be added and, in this case, a NOT signal may be set in setting fields to carry out logic operation. Further, a display device on which signals for carrying out logic operation are displayed and set may be provided separate from a controller which carries out logic operation based on the signals set on the screen of the display. Such a display device may be arranged on a network.
Number | Date | Country | Kind |
---|---|---|---|
2005-333124 | Nov 2005 | JP | national |