Machine tool system and opening stop position calculating device
10317871 ยท 2019-06-11
Assignee
Inventors
Cpc classification
G05B19/416
PHYSICS
B23Q17/007
PERFORMING OPERATIONS; TRANSPORTING
G05B19/19
PHYSICS
B23Q11/0825
PERFORMING OPERATIONS; TRANSPORTING
B23Q11/0891
PERFORMING OPERATIONS; TRANSPORTING
International classification
G05B19/416
PHYSICS
G05B19/19
PHYSICS
B23Q17/00
PERFORMING OPERATIONS; TRANSPORTING
Abstract
A machine tool system and an opening stop position calculating device are provided. The machine tool system includes an openable and closable door for closing an opening of a cover surrounding a machine tool. Furthermore, the machine tool system includes an opening width setting unit for setting an opening width of the door, an opening stop position calculating unit for calculating an opening stop position of the door at which a total time, which is obtained by summing a time required to move the door from a fully closed position to a position of the set opening width and a time required to move the door from an opening stop position where the door is opened and stopped to the fully closed position, is minimized, and a door control unit for controlling opening and closing of the door based on the calculated opening stop position when exchanging the workpiece.
Claims
1. A machine tool system comprising: a machine tool equipped with an openable and closable door configured to close an opening of a cover that surrounds the machine tool, and an electric motor configured to open and close the door; and a workpiece exchanging device configured to carry out exchange of a workpiece placed inside the cover; the machine tool system further comprising: an opening width setting unit configured to set an opening width of the door that is necessary for exchanging the workpiece; an opening stop position calculating unit configured to calculate an opening stop position of the door at which a total time becomes minimum, wherein the total time is obtained by summing a time required to move the door from a fully closed position to a position of the set opening width, and a time required to move the door from an opening stop position at which the door is opened more than the opening width and stopped to the fully closed position; and a door control unit configured to control the electric motor based on the calculated opening stop position when the workpiece is exchanged by the workpiece exchanging device, and thereby move the door from the fully closed position to the opening stop position, wherein the door control unit controls the electric motor to initiate a door opening operation or a door closing operation, wherein, during the door opening operation, the door is moved from the fully closed position to the calculated opening stop position, and during the door closing operation, the door is moved from calculated opening stop position to the fully closed position.
2. The machine tool system according to claim 1, wherein at least one from among the opening width setting unit, the opening stop position calculating unit, and the door control unit is provided in a controller of the machine tool.
3. The machine tool system according to claim 1, wherein at least one from among the opening width setting unit, the opening stop position calculating unit, and the door control unit is provided in a controller that differs from a controller of the machine tool.
4. The machine tool system according to claim 3, wherein the controller that differs from the controller of the machine tool is a controller of the workpiece exchanging device.
5. The machine tool system according to claim 1, wherein the workpiece exchanging device includes a gripping member configured to grip the workpiece, and a moving member configured to move the gripping member.
6. The machine tool system according to claim 5, wherein: when the door is moved to the position of the opening width, the workpiece exchanging device drives the moving member and the gripping member that are in a stop position, performs exchanging of the workpiece, and thereafter, retracts the gripping member to the stop position; and after having exchanged the workpiece, when the gripping member is retracted to a position at which the door, the moving member, and the gripping member do not interfere with each other even if the door is moved to the fully closed position, the door control unit controls the electric motor and closes the door.
7. The machine tool system according to claim 1, wherein: the door moves at a predetermined movement speed; and the opening stop position calculating unit calculates the opening stop position of the door at which the total time becomes minimum, using an acceleration from a stopped state of the door until reaching the predetermined movement speed, and a time constant from the stopped state of the door until reaching the predetermined movement speed.
8. The machine tool system according to claim 7, wherein the opening stop position calculating unit calculates the opening stop position of the door at which the total time becomes minimum, using a relational expression L.sub.2=L+aT.sup.2/8, where L.sub.2 is the opening stop position of the door, L is the opening width set by the opening width setting unit, a is the acceleration from the stopped state of the door until reaching the predetermined movement speed, and T is the time constant from the stopped state of the door until reaching the predetermined movement speed.
9. An opening stop position calculating device of a machine tool system, comprising: an opening width setting unit configured to set an opening width of a door that is opened and closed by an electric motor and is necessary for exchanging a workpiece; and an opening stop position calculating unit configured to calculate an opening stop position of the door at which a total time becomes minimum, wherein the total time is obtained by summing a time required to move the door from a fully closed position to a position of the set opening width, and a time required to move the door from an opening stop position at which the door is opened more than the opening width and stopped to the fully closed position, wherein, the door is moved from the fully closed position to the calculated opening stop position during the door opening operation by a door control unit, and the door is moved from calculated opening stop position to the fully closed position by the door control unit during the door closing operation.
10. The opening stop position calculating device according to claim 9, wherein: the door moves at a predetermined movement speed; and the opening stop position calculating unit calculates the opening stop position of the door at which the total time becomes minimum, using an acceleration from a stopped state of the door until reaching the predetermined movement speed, and a time constant from the stopped state of the door until reaching the predetermined movement speed.
11. The opening stop position calculating device according to claim 10, wherein the opening stop position calculating unit calculates the opening stop position of the door at which the total time becomes minimum, using a relational expression L.sub.2=L+aT.sup.2/8, where L.sub.2 is the opening stop position of the door, L is the opening width set by the opening width setting unit, a is the acceleration from the stopped state of the door until reaching the predetermined movement speed, and T is the time constant from the stopped state of the door until reaching the predetermined movement speed.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
(18)
DESCRIPTION OF THE PREFERRED EMBODIMENTS
(19) Preferred embodiments of a machine tool system and an opening stop position calculating device according to the present invention will be described in detail below with reference to the accompanying drawings.
(20)
(21) As shown in
(22) As shown in
(23) Further, as shown in
(24) In this instance, the position of the door 22 in the case that the door 22 is fully closed (the case shown in
(25) Further, in the case that the workpiece exchanging device 14 is operated within a workpiece exchanging operation range, a range (area) of the position of the door 22 in which the door 22 interferes with the workpiece exchanging device 14 (or more specifically, interferes with at least one of the arm 24a and the gripping member 24b) is referred to as a door interference area (for example, refer to the condition shown in
(26) Furthermore, even in the case that the door 22 is operated (moved) in any manner within the operation range, the range (area) of the operation position of the workpiece exchanging device 14, in which the door 22 does not interfere with the workpiece exchanging device 14 (more specifically, the arm 24a and the gripping member 24b), is referred to as a workpiece exchanging device non-interference area (for example, refer to the condition shown in
(27) Returning to the description of
(28) The workpiece exchanging device 14 includes a controller 40 and a drive mechanism 42. The drive mechanism 42 includes a plurality of drive units 44 that drive a plurality of non-illustrated drive shafts (for example, drive shafts of the arm 24a and the gripping member 24b) of the workpiece exchanging device 14. The plurality of drive units 44 are constituted by electric motors such as servomotors or the like. By controlling the plurality of drive units 44, the controller 40 moves the arm 24a and the gripping member 24b, and thereby carries out exchange and replacement of the workpiece W. Stated otherwise, the workpiece W (machined workpiece W) on which machining by the machine tool 12 has been completed is removed, and placement (mounting) of a non-machined workpiece W on the table Ta is carried out. Mutual communications can be carried out between the numerical controller 30 and the controller 40. Such communications may be carried out over wires, or may be carried out in a wireless manner. Moreover, the controller 40 drives the plurality of drive units 44 in accordance with a program stored in a non-illustrated storage medium.
(29) Next, in accordance with the flowchart shown in
(30) When it is determined in step S1 that machining on the workpiece W has been completed, the routine proceeds to step S2, whereupon the numerical controller 30 initiates a door opening operation to open the door 22. The numerical controller 30 initiates the door opening operation by controlling the door driving unit 36. At this time, the numerical controller 30 calculates the opening stop position of the door 22, and carries out the opening operation of the door 22 so as to stop the door 22 at the calculated opening stop position. In accordance therewith, the door 22 is moved from the fully closed position to the opening stop position. The opening stop position is a position more on the side of the opening direction than the door interference boundary position, or in other words, a position within the door non-interference area. Calculations concerning the opening stop position of the door will be described later.
(31) Next, in step S3, the numerical controller 30 determines whether or not the position of the door 22 has entered into the door non-interference area, or whether or not the position of the door 22 has arrived at the door interference boundary position. More specifically, based on a detection signal (a detection signal indicative of a movement amount of the door 22) from a non-illustrated encoder provided in the door driving unit 36, the numerical controller 30 determines whether or not the position of the door 22 has moved to the door non-interference area, or whether or not the position of the door has moved to the door interference boundary position.
(32) The door interference boundary position is determined unambiguously based on the opening width that was set by an operator (hereinafter referred to as a user-set opening width), to be described later. At the time that the workpiece W is exchanged, in order to prevent interference between the door 22 and the workpiece exchanging device 14, it is necessary for the exchanging operation to be started by the workpiece exchanging device 14 after the door 22 has been opened to or beyond the door interference boundary position. The door interference boundary position is changed depending on the type of the workpiece W, the size of the workpiece W, or the operating space of the workpiece exchanging device 14. Further, in order to shorten the cycle time, the door 22 should not be opened any more than necessary.
(33) Accordingly, the operator sets the user-set opening width, and then based on the user-set opening width, the door interference boundary position is determined. The user-set opening width is defined by information indicative of the distance (width) from the fully closed position of the door 22 to the door interference boundary position, and is an opening width (required width) for the door 22 that is necessary for exchanging the workpiece W. Moreover, in order to lower the risk of interference between the door 22 and the workpiece exchanging device 14 (the arm 24a and the gripping member 24b), the operator may also set the user-set opening width to be slightly longer than the actual door interference boundary position.
(34) In step S3, if it is determined that the position of the door 22 has not entered into the door non-interference area or has not arrived at the door interference boundary position, then the routine remains at step S3 until it is determined that the position of the door 22 has entered into the door non-interference area or arrived at the door interference boundary position. In addition, in step S3, if it is determined that the position of the door 22 has entered into the door non-interference area or has arrived at the door interference boundary position, the routine proceeds to step S4, whereupon the numerical controller 30 transmits a door non-interference area signal to the controller 40 of the workpiece exchanging device 14.
(35) Next, in step S5, the numerical controller 30 determines whether or not the door 22 has moved to the opening stop position. More specifically, based on a detection signal (a detection signal indicative of a movement amount of the door 22) from the encoder provided in the door driving unit 36, the numerical controller 30 determines whether or not the position of the door 22 has moved to the opening stop position. In step S5, the routine remains at step S5 if it is determined that the door 22 has not moved to the opening stop position, whereas if it is determined that the door 22 has moved to the opening stop position, the routine proceeds to step S6, whereupon the numerical controller 30 stops further movement of the door 22 by controlling the door driving unit 36.
(36) In step S4, if the controller 40 of the workpiece exchanging device 14 receives the door non-interference area signal transmitted from the numerical controller 30 of the machine tool 12, then in step S7, the controller 40 initiates the exchanging operation of the workpiece W. The controller 40 initiates the exchanging operation of the workpiece W by controlling the plurality of drive units 44. By initiating the exchanging operation, the arm 24a and the gripping member 24b that are in the stop position (retracted position) (refer to the state shown in
(37) Next, in step S8, the controller 40, after carrying out exchange of the workpiece W, determines whether or not the operation position of the workpiece exchanging device 14 (the arm 24a and the gripping member 24b) has entered into the workpiece exchanging device non-interference area, or whether or not the operation position thereof has arrived at the workpiece exchanging device interference boundary position. More specifically, on the basis of detection signals from non-illustrated encoders provided in the plurality of drive units 44, the controller 40 calculates the operation position of the arm 24a and the gripping member 24b. In addition, the controller 40 determines whether or not the calculated operation position of the arm 24a and the gripping member 24b has entered into the workpiece exchanging device non-interference area, or whether or not the calculated operation position thereof has arrived at the workpiece exchanging device interference boundary position. In a non-illustrated storage medium of the controller 40, position information of the workpiece exchanging device interference boundary position is stored, and the determination is made on the basis of the position information. In step S8, in the case that the determination is NO, the routine remains at step S8 until the determination becomes YES. In addition, in the case that the determination in step S8 is YES (in other words, after exchanging of the workpiece W is carried out, in the event it is determined that the operation position of the workpiece exchanging device 14 (the arm 24a and the gripping member 24b) has entered into the workpiece exchanging device non-interference area or has arrived at the workpiece exchanging device interference boundary position), the routine proceeds to step S9, whereupon the controller 40 transmits a workpiece exchanging device non-interference area signal to the numerical controller 30 of the machine tool 12.
(38) Next, in step S10, the controller 40 determines whether or not the machine tool 12 (the arm 24a and the gripping member 24b) has moved (been operated) to the stop position. More specifically, on the basis of detection signals from the encoders provided in the plurality of drive units 44, the controller 40 determines whether or not the operation position of the arm 24a and the gripping member 24b has moved to the stop position. In step S10, if it is determined that the machine tool 12 (the arm 24a and the gripping member 24b) has not been moved (operated) to the stop position, the routine remains at step S10, whereas if it is determined that the machine tool 12 has moved to the stop position, the routine proceeds to step S11, whereupon the controller 40 stops operation of the machine tool 12 (the arm 24a and the gripping member 24b) by controlling the plurality of drive units 44.
(39) If the numerical controller 30 of the machine tool 12 receives the workpiece exchanging device non-interference area signal, which was transmitted in step S9 from the controller 40 of the workpiece exchanging device 14, then in step S12, the numerical controller 30 of the machine tool 12 initiates a door closing operation to close the door 22. The numerical controller 30 initiates the door closing operation by controlling the door driving unit 36. Consequently, the door 22 is moved from the opening stop position to the fully closed position.
(40) Next, in step S13, the numerical controller 30 determines whether or not the door 22 has moved to the fully closed position. More specifically, based on a detection signal (a detection signal indicative of a movement amount of the door 22) from the encoder provided in the door driving unit 36, the numerical controller 30 determines whether or not the position of the door 22 has moved to the fully closed position. In step S13, if it is determined that the door 22 has not moved to the fully closed position, the routine remains at step S13, whereas if it is determined that the door 22 has moved to the fully closed position, the routine proceeds to step S14, whereupon the numerical controller 30 stops further movement of the door 22. In addition, in step S15, the numerical controller 30 controls the plurality of spindle drive units 34, and initiates machining on a non-machined workpiece W.
(41) In order to shorten the cycle time, it is necessary to minimize (shorten) the total time (Top+Tcl), wherein the total time (Top+Tcl) is obtained by summing a time Top required to move the door 22 by the user-set opening width (or stated otherwise, the time required to move the door 22 from the fully closed position to the door interference boundary position), and a time Tcl required to move the door 22 from the opening stop position to the fully closed position. Consequently, according to the present embodiment, an opening stop position at which the total time (Top+Tcl) becomes minimum is calculated. Stated otherwise, an opening stop position is calculated at which the opening and closing time of the door 22 during exchange of the workpiece W becomes shortened.
(42)
(43)
(44) The data input unit 50 inputs the user-set opening width responsive to an operation of the operator (user) (step S31). The data input unit 50 is an interface for the operator to input data such as the user-set opening width, and may be a liquid crystal panel equipped with a touch panel. In this case, the operator (user) can input data by touching the display screen with a finger. Further, the data input unit 50 may also include a liquid crystal panel, a mouse, and a keyboard. In accordance with this feature, it is possible for the operator to input data by operating the mouse and the keyboard while observing the display screen of the liquid crystal panel.
(45) The opening width setting unit 52 sets the user-set opening width that was input by the data input unit 50 (step S32). The opening width setting unit 52 stores the user-set opening width that was set in a non-illustrated storage medium provided in the opening width setting unit 52.
(46)
(47) The opening stop position calculating unit 54 calculates opening stop positions on the basis of the user-set opening widths, which were set (stored) in association, respectively, with each of the plurality of door opening width command codes D (D1 to D3) (step S33). The opening stop position calculating unit 54 calculates the opening stop position for each of the door opening width command codes D (D1 to D3). The manner of calculating the opening stop positions will be described in detail later.
(48) The opening stop position storage unit 56 stores the opening stop position that was calculated by the opening stop position calculating unit 54 (step S34). At this time, the opening stop position storage unit 56 stores the plurality of opening stop positions that are associated respectively with the plurality of door opening width command codes D (D1 to D3).
(49) The machining program analysis unit 58 is a device for reading in and analyzing the machining program. By analyzing the machining program, the machining program analysis unit 58 determines whether or not a door opening command code (for example, M100) has been detected (step S35). When the door opening command code is detected, the machining program analysis unit 58 outputs the door opening command to the door control unit 60. In the machining program, together with the door opening command code, there also is written a door opening width command code D indicative of which opening width is to be used out of the user-set opening widths that were set. Accordingly, the machining program analysis unit 58 outputs to the door control unit 60 both the door opening command and the door opening width command code D.
(50) When the door opening command is transmitted from the machining program analysis unit 58 (YES in step S35), the door control unit 60 performs an operation to open the door 22 (step S36). Stated otherwise, the door control unit 60 controls the door driving unit 36 and opens the door 22. At this time, in the door control unit 60, the opening stop position, which corresponds to the door opening width command code D that was transmitted together with the door opening command from the machining program analysis unit 58, is read out from the opening stop position storage unit 56, and the door driving unit 36 is controlled based on the read out opening stop position. The door control unit 60 controls the door driving unit 36 so as to stop the door 22 at the opening stop position. Moreover, the door opening operation of step S2, the door stopping operation of steps S6 and S14, and the door closing operation of step S12 of
(51) Next, with reference to
(52)
(53) As can be understood from observing
(54) In this instance, the time required for the door 22 to move from the door interference boundary position L to the opening stop position L.sub.2 (=L+L.sub.1) is represented by T.sub.1, and the time during which the door 22 moves at the predetermined movement speed V (=aT) is represented by T.sub.2. Further, the time required for the door 22 to move from the fully closed position L.sub.0 to the door interference boundary position L is represented by Top, and the time required for the door 22 to move from the opening stop position L.sub.2 to the fully closed position L.sub.0 is represented by Tcl.
(55) From the features described above, the time Tcl can be represented by the following equation (1), the opening stop position L.sub.2 can be represented by the following equation (2), Top can be represented by the following equation (3), and L.sub.1 can be represented by the following equation (4).
Tcl=2T+T.sub.2(1)
L.sub.2=L+L.sub.1=(aT.sup.2)/22+aTT.sub.2(2)
Top=TclT.sub.1(3)
L.sub.1=(aT.sub.1.sup.2)/2(4)
(56) From equations (1) through (4), the opening and closing time of the door 22 during exchange of the workpiece W, or in other words, the total time (Top+Tcl), which is obtained by summing the time Top required to move the door 22 from the fully closed position L.sub.0 to the door interference boundary position L (user-set opening width), and the time Tcl required to move the door 22 from the opening stop position L.sub.2 to the fully closed position L.sub.0, can be represented by the following equation (5). It should be noted that the reason why the time T.sub.1 required to move the door from the door interference boundary position L to the opening stop position L.sub.2 is not included within the opening and closing time of the door 22 at the time of exchanging of the workpiece W is because, during time T.sub.1, exchange and replacement of the workpiece W is carried out by the workpiece exchanging device 14. Stated otherwise, the time Top and the time Tcl are times during which only the door 22 is moved for the purpose of exchanging the workpiece W.
(57)
(58) In equation (5), aside from the term L.sub.1, all of the other terms are constants, and therefore, when L.sub.1 is defined by the expression L.sub.1=aT.sup.2/8, the total time (Top+Tcl) becomes the minimum value thereof. Consequently, the opening stop position calculating unit 54 calculates the opening stop position L.sub.2 on the basis of the user-set opening width L that was set by the opening width setting unit 52, and aT.sup.2/8 (=L.sub.1). Stated otherwise, the opening stop position calculating unit 54 calculates the opening stop position L.sub.2, using the relational expression L.sub.2=L+aT.sup.2/8. In addition, by the door control unit 60 controlling the door driving unit 36 so that the door 22 stops at the opening stop position L.sub.2 (=L+aT.sup.2/8) which was calculated by the opening stop position calculating unit 54, the opening and closing time of the door 22 at the time that the workpiece W is exchanged can be made as short as possible. Incidentally, the door control unit 60 does not necessarily control the door driving unit 36 so as to stop the door 22 at the calculated opening stop position L.sub.2. Stated otherwise, the door control unit 60 may control the door driving unit 36 so as to stop the door 22 at a position shifted slightly from the calculated opening stop position L.sub.2. However, if the position at which the door 22 is stopped is shifted significantly from the opening stop position L.sub.2, the total time (Top+Tcl) becomes large (prolonged). Therefore, it is preferable that the door 22 should be stopped at a position in which the total time (Top+Tcl) lies within a range of a few % with respect to the minimum total time (Top+Tcl).
(59) [Modifications of the Embodiment Described Above]
(60) The above-described embodiment may be modified in the following ways.
(61) (Modification 1) According to a first modification, the opening width setting unit 52 incorporates the user-set opening width L, which is input by the data input unit 50, into the machining program.
(62) (Modification 2) According to the above-described embodiment and the first modification, the numerical controller 30 controls the door driving unit 36. However, the controller 40 of the workpiece exchanging device 14 may also control the door driving unit 36. In this case, the determination of whether or not the position of the door 22 has entered into the door non-interference area or has arrived at the door interference boundary position (the operation of step S3) may also be carried out by the controller 40. Further, the determination of whether or not the operation position of the workpiece exchanging device 14 has entered into the workpiece exchanging device non-interference area, or whether the operation position thereof has arrived at the workpiece exchanging device interference boundary position (the operation of step S8) may also be performed by the numerical controller 30. In this case, together with the workpiece exchanging device 14 outputting the operation information of the workpiece exchanging device 14 to the numerical controller 30, the position information of the workpiece exchanging device interference boundary position also is stored in a non-illustrated storage medium of the numerical controller 30.
(63) (Modification 3) According to the above-described embodiment and the first modification, the numerical controller 30 controls the door driving unit 36. However, as shown in
(64) (Modification 4) Among the data input unit 50, the opening width setting unit 52, the opening stop position calculating unit 54, the opening stop position storage unit 56, the machining program analysis unit 58, and the door control unit 60, at least one thereof may be provided in a controller apart from the numerical controller 30 (for example, the centralized controller 70 or the controller 40 of the workpiece exchanging device 14).
(65) (Modification 5) Although the above described embodiment and the first through fourth modifications have been described by way of example with a robot serving as the workpiece exchanging device 14, a loader may also serve as the workpiece exchanging device 14. The loader also includes a gripping member that grips the workpiece W, and a moving member that moves the gripping member.
(66) As has been described above, the machine tool system 10, which has been described in the form of at least one of the above-described embodiment and the first through fifth modifications thereof, is equipped with the machine tool 12, which comprises the openable and closable door 22 for closing the opening 20a of the cover 20 that surrounds the machine tool 12, and the door driving unit 36 for opening and closing the door 22, as well as the workpiece exchanging device 14 that carries out exchange of the workpiece W arranged inside the cover 20. In addition, the machine tool system 10 is further equipped with the opening width setting unit 52 for setting the user-set opening width L of the door 22, the opening stop position calculating unit 54 for calculating an opening stop position L.sub.2 of the door 22 at which a total time (Top+Tcl), which is obtained by summing the time Top required to move the door 22 from the fully closed position L.sub.0 to the position of the user-set opening width L, and the time Tcl required to move the door 22 from the opening stop position L.sub.2 at which the door 22 is opened and stopped to the fully closed position L.sub.0, is minimized, and the door control unit 60 for controlling the door driving unit 36 based on the calculated opening stop position L.sub.2 when the workpiece W is exchanged by the workpiece exchanging device 14, and thereby controlling the door 22.
(67) In accordance with this configuration, while preventing interference between the door 22 and the workpiece exchanging device 14, it is possible to shorten the opening and closing time of the door 22 when exchanging the workpiece W. Consequently, the cycle time can be shortened.
(68) At least one from among the opening width setting unit 52, the opening stop position calculating unit 54, and the door control unit 60 may be provided in the numerical controller 30 of the machine tool 12. Further, at least one from among the opening width setting unit 52, the opening stop position calculating unit 54, and the door control unit 60 may be provided in a controller that differs from the numerical controller 30 of the machine tool 12. The controller that differs from the controller 30 of the machine tool 12 may be the controller 40 of the workpiece exchanging device 14, or may be the centralized controller 70.
(69) The workpiece exchanging device 14 includes a gripping member (for example, the gripping member 24b) that grips the workpiece W, and a moving member (for example, the arm 24a or the like) that moves the gripping member. Consequently, exchange of the workpiece W can be carried out by the workpiece exchanging device 14.
(70) When the door 22 is moved to the position of the user-set opening width L, the workpiece exchanging device 14 drives the moving member and the gripping member that are in the stop position, and carries out exchange of the workpiece W, and thereafter, retracts the gripping member to the stop position. After having exchanged the workpiece W, the gripping member is retracted to a position at which the door 22, the moving member, and the gripping member do not interfere with each other even if the door 22 is moved to the fully closed position, and then the door control unit 60 controls the door driving unit 36 and thereby closes the door 22. In accordance with this feature, interference between the door 22 and the workpiece exchanging device 14 can be prevented, and the cycle time can be shortened.
(71) The door 22 moves at a predetermined movement speed V, and the opening stop position calculating unit 54 calculates the opening stop position L.sub.2 of the door 22 at which the total time (Top+Tcl) becomes minimum, using an acceleration a from a stopped state of the door 22 until the door 22 reaches the predetermined movement speed V, and a time constant T from the stopped state of the door 22 until the door 22 reaches the predetermined movement speed V. Consequently, in a simple manner, the opening stop position L.sub.2 of the door 22 at which the total time (Top+Tcl) is minimum can be calculated. More specifically, using the relational expression L.sub.2=L+aT.sup.2/8, the opening stop position calculating unit 54 calculates the opening stop position L.sub.2 of the door 22 at which the total time (Top+Tcl) becomes minimum.
(72) While the invention has been particularly shown and described with reference to a preferred embodiment, it will be understood that variations and modifications can be effected thereto by those skilled in the art without departing from the scope of the invention as defined by the appended claims.