System for the exchange of information between a machining apparatus and a transfer device

Abstract
In a system for an exchange of information between a machine tool (1) and a transfer device (11) for feeding blank or pre-machined work pieces or tools to the machine tool (1) or removing machined products or tools from the machine tool (1), the machine tool (1) comprises a control unit (3) and an interface (4), whereby the control unit (3) monitors and controls machining states of the machine tool (1) and transmits information regarding the machining states of the machine tool (1) via the interface (4) to the transfer device (11) to activate the transfer device (11). The transfer device (11) receives the information via an interface (14) assigned to it, processes the information by means of a control unit (13) assigned to it and reacts in response to the information, whereby a printer interface is used as the interface (4) of the machine tool (1).
Description

DESCRIPTION OF THE FIGURES


FIG. 1 shows a block diagram of the system according to the invention with a machine tool and a transfer device; and



FIG. 2 shows a flow diagram for explaining the operation of the system according to the present invention shown in FIG. 1.





In the following, the present invention will be explained in detail with the help of a preferred embodiment and with reference to the accompanying drawings.


DESCRIPTION OF THE ILLUSTRATED EMBODIMENTS


FIG. 1 shows a block diagram of a system according to one embodiment of the present invention. The system comprises a machine tool 1 and a transfer device 11. The machine tool 1 can be a lathe, a milling machine, a spark erosion machine, a wire erosion machine or the like. The transfer device 11 can be designed, for example, as a robot adapted to deliver blank work pieces or tools to the machine tool 1 or for removing machined work pieces or tools from the machine tool 1. Coordination between the machine tool 1 and the transfer device 11 is performed by means of an exchange of information between them.


An exchange of information between the machine tool and the transfer device can be realized by executing a sequence by means of a sequential interface. As such an interface, for example a profibus or a RS232/RS422 interface can be used, operating according to a certain protocol. Using a sequential interface has the advantage that a simple reliable connection may be realized and that there is no dependency on the number of positions for the loading of parts. However, thereby, it is required to adapt the software of the machine tool; this can be done often only by the manufacturer of the machine tool. Particularly in the case of machine tools that are already in practical use, an adaptation of the machine software is not readily possible or even not at all possible.


Moreover, there is the possibility to create logical bit patterns appearing at the digital outputs, which can be used by the transfer device for calculating a position. The creation of bit patterns, thereby, can be done by an operator by means of simple programming using an ISO code. However, it can happen that not enough digital outputs are available in already present machine tools, and sometimes it is not possible to add more digital outputs to a present machine tool. The number of the required digital outputs depends on the size of a storage area of the transfer device in which transmitted signals can be stored.


In the following, as an example, a simple embodiment of a communicating exchange of information between the machine tool and the transfer device is described which follows the teaching of the present invention.


As can be seen in FIG. 1, the machine tool 1 comprises a control rack 2 including a control unit 3, a serial or parallel printer interface 4 and digital inputs/outputs 5, while the transfer device 11 comprises a control rack 12 including a control unit 13, a serial or parallel interface 4 corresponding to the printer interface; and digital inputs/outputs 15. In practice, a single control rack 2, 12 both for the machine tool 1 and the transfer device 11 is provided, which is, as a rule, attached to or built into the machine tool 1 or the transfer device 11, or is free standing. However, in FIG. 1, a representation with separately shown control racks 2 and 12 has been chosen to clarify the assignment of the particular control units 3 and 13, interfaces 4 and 14 and digital inputs/outputs 5 and 15 (normally 24V) to the particular machine tool 1 and transfer device 11.


Further, the particular information or data streams a and b between the interfaces 4 and 14 and the digital inputs/outputs 5 and 15, respectively, can be seen.


The information stream a runs unidirectionally from the printer interface 4 of the machine tool 1 to the interface 14 of the transfer device 11. It contains an instruction, being a printer instruction due to the fact that it originates from the printer interface 4, which requires that a piece, for example a work piece or a tool, of the machine tool has to be exchanged. This information, i.e., the exchange instruction a for the activation of the transfer device 11, is received via the interface 14 of the transfer device 11 by the control unit 13 of the transfer device 11 and causes the control unit 13 of the transfer device 11 to activate a protocol for performing different operation steps, as will be explained in more detail with reference to FIG. 2.


The information stream b runs in both directions between the digital inputs/outputs 5 of the machine tool 1 and the digital inputs/outputs 15 of the transfer device 11. It contains signals for the synchronization of the machine tool 1 with the transfer device 11, as will also be explained in more detail with reference to FIG. 2.



FIG. 2 shows a flow diagram for explaining the operation of the system according to the invention shown in FIG. 1. The flow diagram is subdivided into two parts, showing, in each case, the operations at the side of the machine tool 1 and at the side of the transfer device 11, respectively.


First, in a step S1, a system with a machine tool 1 and a transfer device 11 is activated. Thereby, an operator loads a special macro, normally an ISO code, into the control unit 3 of the machine tool 1. The result is that the control unit 13 can initiate, for example after the machining of a work piece has been finished, that the printer interface 4 can transmit a “print request”, i.e., the information a requesting the exchange of a work piece; the “print request” and information a, respectively, is transferred to the interface 14 of the transfer device 11. It is understood that the transmission of a “print request” a can take place also prior to machining a work piece in order to load a work piece to be machined into the machine tool 1. Moreover, a “print request” a can be created for loading or exchanging a tool.


Moreover, during step S1, connections are established between the machine tool 1 and the transfer device 11, particularly between the interfaces 4 and 14 as well as between the digital inputs/outputs 5 and 15. At the side of the transfer device 11, this is shown by a step S2, also showing a waiting state of the transfer device 11. At the side of the transfer device 11, in a step S3, it is checked whether or not the system has been established. Moreover, in this step S3, according to a later described second embodiment, it can be checked whether or not the machine tool 1 is in a state of readiness for an exchange of a work piece and/or a tool. If the result if the check is NO, a reset to the wait state in step S2 is performed. Otherwise, if the result of the check is YES, the program sequence at the side of the transfer device 11 proceeds to a step S6.


After the step S1 having finished at the side of the machine tool 1, the system is ready so that the machine tool 1 can be loaded by the transfer device 11, and at the side of the machine tool 1, the sequence proceeds to a step S4. In this step S4, a sub-program requesting an exchange is started by the control unit 3 of the machine tool 1, if such exchange is required at the side of the machine tool 1; such requirement is determined by the control unit 3 of the machine tool 1. Upon starting the above mentioned sub-program, the main program transfers for example the following parameters to the sub-program: The location identification of the work piece or tool in the magazine, a positioning identification, i.e., the information where the work piece or tool has to be placed, and possibly a description of the transfer movement to be performed by the transfer device. The sub-program having been started, the sequence at the side of the machine tool 1 continues to a step S5 in which the serial or parallel printer interface 4 sends a “print request”, as previously mentioned, to the serial or parallel interface 14 of the transfer device 11. Thereafter, the sequence at the side of the machine tool 1 continues to a step S9 in which the control unit is waiting for an acknowledgment of the exchange of a work piece or tool requested by sending out the “print request”.


Simultaneously, it is checked at the side of the transfer device 11 in a step S6 whether or not a “print request” has been received by the interface 14, and whether or not this “print request” is valid. The validity of the “print request” can be checked, for example, by transmitting the information in the “print request” together with a check sum. If the answer is NO in step S6, the sequence at the side of the transfer device 11 is reset to the waiting state in step S2. If, however, the answer in step S6 is YES, the sequence at the side of the transfer device 11 continues to a step S7, in which an exchange of the work piece or the tool is performed which has been initiated by the “print request” on the basis of the parameters transferred to the sub-program in step S3.


After the step S7, the sequence at the side of the transfer device 11 continues to a step S8 in which it is acknowledged that a work piece and/or a tool has been exchanged in the machine tool 1. Such acknowledgement is realized by means of sending a signal from a digital output 15 of the transfer device 11 to a digital input 5 of the machine tool 1 since the printer interface 4 of the machine tool 1 can transmit signals only in a direction from the machine tool 1 to the transfer device 11.


At the side of the transfer device 11, the sequence after step S8 returns to the waiting state in step S2, while at the side of the machine tool 1, a check is performed in step S9 whether or not an exchange of a work piece and/or tool has been acknowledged by the transfer device 11. If the answer is NO, the sequence at the side of the machine tool 1 returns, according to a first embodiment to be described later, to step S4 in which a “print request” is sent out, or, according to a second embodiment, the sequence is stopped to wait until the answer is YES. If the answer is YES, the sequence at the side of the machine tool 1 continues to a step S10 in which the machining program to be performed by the machine tool 1 is started; this means that the sub-program is left and the main program is resumed.


The first and second embodiments, which have been addressed above, relate to the case in which the machine tool 1 is not ready for an exchange of the work piece and/or tool. In this case, which is relevant for the reliable operation of the system, it is required that an exchange compellingly cannot take place; the result is that the “print request” and an exchange request, respectively, has to be canceled. This can be accomplished in one of two possible ways:


In a first embodiment, the “print request” can be cyclically repeated; according to the description herein above, this is the case if the answer in step S9, in which an acknowledgment of an exchange of a work piece and/or a tool is awaited, is NO.


In a second embodiment, for example after the sub-program in step S4 has been called, a signal can be sent to a digital output 5 of the machine tool 1 which indicates the readiness for an exchange. That signal, appearing at a digital input 15 of the transfer device 11, is recognized by the control unit 13 of the transfer device 11, as has been previously described in connection with step S3; this signal is temporarily stored or buffered by the control unit 13. In this case, only the receipt of an acknowledgement of the exchange of a work piece and/or tool has to be awaited in step S8; a repeated execution of step S6 is avoided. However, the signal for indicating the readiness for an exchange at the digital output 5 of the machine tool 1 has to be reset after an acknowledgment has been received that a work piece and/or a tool has been exchanged in step S8 (YES).


The sequence has been described above for a single exchange of a work piece and/or tool. According to the system of the invention, such an exchange can be performed, by simply initiating the sub-program, whenever a work piece has been finally machined by means of a machining program; thus, the main program (the machining program) and the sub-program are executed alternately.


According to the invention, it is easily possible to upgrade a machine tool with a transfer device and to coordinate them without the need to significantly modify the machine tool. It is only required to load a macro in order to enable the machine tool to transfer “exchange requests” to the transfer device to activate the latter.

Claims
  • 1. A system for exchange of information between a machine tool (1) and a transfer device (11) for feeding blank or pre-machined work pieces or tools to the machine tool (1) or removing machined products or tools from the machine tool (1), wherein: said machine tool (1) comprises a control unit (3) and an interface (4), said control unit (3) configured to monitor and control machining states of the machine tool (1) and to transmit information regarding the machining states of the machine tool (1) via said interface (4) to the transfer device (11) to activate the transfer device (11); andsaid transfer device (11) is configured to receive said information via an interface (14) assigned thereto and to process said information by means of a control unit (13) to react in response to said information,wherein a printer interface is used as the interface (4) of the machine tool (1).
  • 2. A system according to claim 1, characterized in that the printer interface used as said interface (4) of said machine tool (1) is selected from a serial printer interface or a parallel printer interface.
  • 3. A system according to claim 1, characterized in that said information regarding the machining states of said machine tool (1) includes an exchange request for a work piece and/or a tool associated with said machine tool (1).
  • 4. A system according to claim 3, characterized in that the exchange request comprises a magazine location number and a positioning location for the work piece and/or tool and/or a pivot operation for the transfer device (11).
  • 5. A system according to claim 1, further comprising a synchronization device (5, 15) that is configured for synchronizing and step-wise clocking the machine tool (1) and the transfer device (11).
  • 6. A system according to claim 5, characterized in that said synchronization device (5, 15) includes digital inputs/outputs (5, 15) of aid machine tool (1) and said transfer device (11).
  • 7. A system according to claim 1, characterized in that an initialization of said printer interface (4) of said machine tool (1) is realized by loading a macro for sending said information to said transfer device (11), and that said control unit (13) of said transfer device (11) is configured to activate a predetermined corresponding protocol in response to receiving said information.
  • 8. A system according to claim 7, characterized in that said transfer device (11) performs, by means of said associated control unit (13), a work piece or tool exchange according to said protocol upon receiving an exchange request from said printer interface (4) of said machine tool (1).
  • 9. A system according to claim 3, characterized in that said machine tool (1) indicates readiness for the exchange of a work piece and/or tool by providing a signal at said associated digital output (5), said signal being fed to said digital input (15) of said transfer device (11) and being reset, as soon as said machine tool (1) is no longer ready for an exchange.
  • 10. A system according to claim 3, characterized in that said control unit (3) of said machine tool (1) is configured to cyclically repeat transmission of said exchange request to said printer interface (4).
  • 11. A system according to claim 3, characterized in that said control unit (3) of said machine tool (1) is configured to transmit said exchange request with a check sum to said printer interface (4).
  • 12. A system according to claim 6, characterized in that there is provided, at one side of said machine tool (1), a control rack (2) with said control unit (3), said printer interface (4) and said digital inputs/outputs (5), while, at one side of said transfer unit (11), there is provided a control rack (12) with said associated control unit (13), said printer interface (14) and said digital inputs/outputs (15).
  • 13. A system according to claim 12, characterized in that said control rack (2) of said machine tool (1) and said control rack (12) of said transfer unit (11) form a single unit.
Priority Claims (1)
Number Date Country Kind
01157/06 Jul 2006 CH national