Controls
By calculating the recovery path of the slave axis drive device, avoiding the interference interval, and returning it to the specified position following the characteristics of the electronic cam, the problem of the correlation deviation between the main axis and the slave axis after the electronic cam control is stopped is solved, and the electronic cam control is realized. Start again and workpiece protection.
Patent Information
- Application Number
- CN202080017421.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-03-05
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2040-03-05
AI Technical Summary
After the electronic cam control of the master axis and the slave axis is stopped, the correlation between the master axis and the slave axis deviates from the electronic cam characteristics, making it difficult to restart the electronic cam control and possibly causing the slave axis drive device to interfere with the workpiece unintentionally.
By calculating the recovery path of the slave axis drive device, avoiding the interference interval, the slave axis drive device can be restored to the specified position following the electronic cam characteristics, thereby restarting synchronous control and avoiding unintentional workpiece interference.
It is realized that after the electronic cam control is stopped, the correlation between the main axis and the slave axis is restored to follow the characteristics of the electronic cam, avoiding the unintentional interference of the slave axis drive device on the workpiece, and ensuring the normal progress of the specified work.
Smart Images

Figure CN113508347B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a control device for performing so-called electronic cam control between a main shaft and a slave shaft in a working device having a main shaft drive device and a slave shaft drive device. Background Art
[0002] Electronic cams are sometimes used in motion control to control the movement of machinery, equipment, etc., including motion control for controlling the movement of motors. Electronic cams realize the movement of mechanical cams through electronic control, and perform synchronous control of the master axis and the slave axis according to the electronic cam characteristics (profile) determined by the software. In this application, such synchronous control is also referred to as electronic cam control. Therefore, by appropriately changing and selecting the electronic cam characteristics, it is essentially possible to freely realize the setting of the cam, fine-tuning of the cam shape, etc. For example, Patent Document 1 discloses a technology that can easily realize the change of the movement of the slave axis in the electronic cam action.
[0003] In addition, Patent Document 2 discloses the following technology: In a control device that performs electronic cam control, when synchronous control of a master axis and a slave axis based on electronic cam control has stopped, if the correlation between the master axis and the slave axis deviates from the electronic cam characteristics, the deviation is eliminated. In this technology, if the correlation between the master axis and the slave axis deviates from the electronic cam characteristics when the synchronous control has stopped, the original position of the cam angle of the slave axis relative to the stopped master axis is calculated, and the slave axis is moved from the position at the time of the stop to the position that should have existed, without moving the master axis, thereby eliminating the deviation of the correlation between the master axis and the slave axis. By eliminating the deviation in this way, the electronic cam control can be restarted.
[0004] Prior art literature
[0005] Patent Literature
[0006] Patent Document 1: Japanese Patent No. 4807475
[0007] Patent Document 2: Japanese Patent No. 5506456 Summary of the invention
[0008] Problems to be solved by the invention
[0009] In a working device, when the electronic cam control of the main shaft drive device and the slave shaft drive device is stopped for some reason, the correlation between the main shaft and the slave shaft may deviate from the electronic cam characteristics that are the basis of the electronic cam control. This is because the driving devices of the main shaft and the slave shaft are driven independently due to the stop. In this way, it is difficult to restart the electronic cam control in a state where the correlation between the main shaft and the slave shaft deviates from the electronic cam characteristics.
[0010] Therefore, it is also possible to eliminate the correlation deviation between the main axis and the slave axis according to the prior art, but in this case, in the process of restoring the slave axis to the position where it should have been, the slave axis drive device may interfere with the workpiece in an unintentional manner. For example, in the case where the slave axis drive device performs a certain prescribed operation on the workpiece through the electronic cam control of the slave axis drive device and the main axis drive device, during the recovery process of the slave axis after the synchronous control is stopped, although the prescribed operation is not required, the slave axis drive device interferes with the workpiece, and as a result, a certain operation may be performed. From the perspective of protecting the working device and the workpiece, such unintentional interference of the slave axis drive device with the workpiece is not ideal.
[0011] The present invention has been made in view of such problems, and an object of the present invention is to provide a technology for appropriately restoring the master axis and the slave axis to follow the correlation of the electronic cam characteristics after the electronic cam control is stopped in a working device that performs a predetermined operation by electronic cam control.
[0012] Means for solving problems
[0013] In the present invention, in order to solve the above-mentioned problem, the following structure is adopted: after stopping the synchronous control of the main axis and the slave axis in the electronic cam control, when the main axis and the slave axis are restored to follow the correlation of the electronic cam characteristics associated with the electronic cam control, a path avoiding the interference section of the slave axis driving device and the prescribed operation is calculated as the recovery path. In this way, the initial electronic cam control can be appropriately restarted.
[0014] Specifically, the control device of the present invention is a working device having a main shaft drive device corresponding to the main shaft and a slave shaft drive device corresponding to the slave shaft and configured so that the slave shaft drive device performs a prescribed work on the workpiece, and synchronously controls the position of the slave shaft drive device based on an electronic cam characteristic corresponding to the cam angle of the main shaft. The control device comprises: an acquisition unit, which acquires a prescribed position of the slave shaft drive device as a position corresponding to the cam angle of the stopped main shaft according to the electronic cam characteristic when the synchronous control of the main shaft drive device and the slave shaft drive device is stopped; a calculation unit, which calculates a recovery path for the slave shaft drive device to avoid the interference interval and reach the prescribed position based on the prescribed position and an interference interval set in the cycle range of the slave shaft drive device in which the slave shaft drive device interferes with the workpiece in order to perform the prescribed work when it is judged that the stopped slave shaft drive device deviates from the prescribed position; and a recovery execution unit, which drives the slave shaft drive device so that the slave shaft drive device moves to the prescribed position according to the recovery path.
[0015] The control device is a device for synchronously controlling the main shaft drive device corresponding to the main shaft and the slave shaft drive device corresponding to the slave shaft based on the electronic cam characteristics. This synchronous control is called the so-called electronic cam control. Here, during the synchronous control, the correlation between the main shaft and the slave shaft becomes a relationship that follows the electronic cam characteristics. According to this correlation, the prescribed work on the workpiece is achieved through the cooperation of the main shaft drive device and the slave shaft drive device. The electronic cam characteristics can be appropriately adjusted within the range that the main shaft drive device and the slave shaft drive device can drive, for example, according to the content of the desired prescribed work.
[0016] Here, if the synchronous control of the main shaft drive device and the slave shaft drive device according to the electronic cam characteristics is stopped due to a request such as an emergency stop, the result of the stop is that the correlation between the main shaft and the slave shaft sometimes deviates from the electronic cam characteristics. If the synchronous control is restarted directly after such a stop, the correlation between the main shaft and the slave shaft remains deviated, and the slave shaft drive device cannot perform the prescribed operation on the workpiece as expected. Therefore, the above-mentioned control device realizes appropriate recovery processing of the synchronous control through the acquisition unit, the calculation unit, and the recovery execution unit.
[0017] First, the acquisition unit calculates the specified position of the slave drive device corresponding to the cam angle of the main shaft in the stopped state. The specified position is defined as the position where the slave drive device should be located according to the cam angle of the main shaft at the current moment when following the electronic cam characteristics. The acquisition unit can acquire the specified position based on the electronic cam characteristics. And, in the case where the current position of the slave drive device in the stopped state deviates from the acquired specified position, if the synchronous control is directly restarted, it means that the slave drive device cannot perform the intended specified work on the workpiece.
[0018] Therefore, in such a case, the calculation unit calculates a recovery path for the slave drive device to move to the specified position avoiding the interference interval based on the obtained specified position and the interference interval set in the circulation range of the slave drive device, and the recovery execution unit performs the recovery process of the slave drive device to the specified position according to the recovery path. By calculating the recovery path in consideration of the interference interval, it is possible to avoid unintentional interference with the workpiece during the process of the slave drive device returning to the specified position, and the electronic cam control as the synchronous control of the main drive device and the slave drive device can be appropriately restarted.
[0019] Here, in the above-mentioned control device, the slave drive device may be a device that can rotate in any direction of the positive direction and the negative direction, and the calculation unit may calculate a path in any direction of the positive direction and the negative direction that can move the slave drive device to the specified position avoiding the interference interval as the recovery path. In this way, by setting the slave drive device as a device that can rotate in both positive and negative directions, the recovery path that avoids the interference interval can be calculated by considering the relative position relationship between the specified position and the interference interval. In addition, the slave drive device may also be a device other than such a rotatable device. Even in such a case, the recovery path can be calculated by studying the slave drive device.
[0020] In addition, in the control device described above, it is also possible to further include a notification unit, which notifies the calculation unit that the calculation of the recovery path cannot be performed when the position of the stopped slave drive device is included in the interference interval, or when the specified position is included in the interference interval. When such a condition is met, it is considered difficult to avoid the interference of the slave drive device with the workpiece during the recovery of the slave drive device to the specified position. Therefore, by notifying the user of the situation that it is difficult to calculate the above-mentioned recovery path due to such a situation by the notification unit and notifying the user, the user can take other countermeasures. For example, by arbitrarily adjusting the position of the slave drive device using a device generally referred to as a manual pulse generator, it is possible to cope with the resumption of synchronous control.
[0021] In addition, in the above-mentioned control device, a display unit may be further provided, and when the slave shaft drive device is being driven by the recovery execution unit, the display unit displays the specified position and the current position of the driven slave shaft drive device together with the electronic cam characteristic. According to such a structure, the user can visually confirm the transition of the position of the slave shaft drive device during the process of the slave shaft drive device recovering to the specified position, so that the user can easily understand the situation, and the convenience is improved.
[0022] Effects of the Invention
[0023] In a working device that performs a predetermined operation by electronic cam control, after the electronic cam control is stopped, the master axis and the slave axis can be appropriately restored to a correlation that follows the electronic cam characteristics. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 This is a diagram showing a schematic configuration of a control system including a standard PLC as a control device, and a schematic configuration of a cutting device that is electronically cam-controlled by the control system.
[0025] Figure 2 Yes Description Figure 1 Diagram of the interference interval in the cutting device shown.
[0026] Figure 3 This is a diagram mainly showing a control structure of a standard PLC according to an embodiment.
[0027] Figure 4 This is a diagram showing electronic cam characteristics related to electronic cam control.
[0028] Figure 5 This is a flowchart of a process for restoring a slave axis driving device to a predetermined position in accordance with the electronic cam characteristics after the electronic cam control is stopped.
[0029] Figure 6 Yes Display Figure 5 An example of a display screen showing transition of the position of the slave shaft driving device during the recovery process is shown. DETAILED DESCRIPTION
[0030] <Application Examples>
[0031] based on Figure 1 as well as Figure 2 An application example of the control device according to the embodiment will be described. Figure 1 The upper part (a) is a schematic diagram of the control system including the control device. The control system includes a network 1, a servo driver 4, and a standard PLC (Programmable Logic Controller) 5. The servo driver 4 is a servo control device for servo-controlling a cutting device 6 having two motors 2a and 2b corresponding to two control axes. In addition, Figure 1 The control system shown is configured so that two control axes (motors) can be driven by one servo driver 4. However, instead of this configuration, one servo driver 4 may be configured for each control axis, and each servo driver 4 may be connected via a network 1. In addition, a command for driving and controlling the cutting device 6 is provided to the servo driver 4 from a standard PLC 5. The standard PLC 5 is equivalent to the control device disclosed in the present application.
[0032] In the above control system, electronic cam control is performed between the motor 2a and the motor 2b in the cutting device 6 using the command sent from the standard PLC 5. In the electronic cam control, the motor 2a and the motor 2b are controlled according to the prescribed electronic cam characteristics (see the following description). Figure 4 ) synchronously controls the motor 2a and the motor 2b. In this embodiment, the control shaft of the motor 2a is used as the main shaft, and the motor 2a is used as the main shaft driving device. In addition, the control shaft of the motor 2b is used as the slave shaft, and the motor 2b is used as the slave shaft driving device. The details of the electronic cam control will be described later.
[0033] Here, in the cutting device 6, an instruction is issued from the standard PLC 5 so that the packaging paper is appropriately cut in accordance with the position of the packaged object, and the servo driver 4 performs feedback control on each motor so that the motors 2a and 2b follow the instruction. The servo driver 4 to which the instruction is provided receives the feedback signal output from each encoder connected to the motors 2a and 2b, and provides a driving current to the motor 2 so that the output of each motor follows the instruction. The provided current utilizes the AC power sent from the AC power supply to the servo driver 4. In the present embodiment, the servo driver 4 is of a type that accepts three-phase AC, but it may also be of a type that accepts single-phase AC. In addition, in the present application, the feedback control method of the servo driver 4 is not limited to a specific method. Moreover, the structure of the servo driver 4 does not constitute the core of the invention of the present application, and therefore its detailed disclosure is omitted.
[0034] Here, in Figure 1 The lower section (b) of the disclosure discloses a schematic structure of the cutting device 6. In the cutting device 6, the motor 2a is used as a main shaft driving device to drive the belt conveyor 6b. Packaged objects are arranged at fixed intervals on the belt conveyor 6b, and continuous wrapping paper is covered thereon. The cutting device 6 is an operating device that cuts the continuous wrapping paper with a rotary cutter 6a according to the packaged objects, and the continuous wrapping paper is equivalent to a workpiece. In the cutting device 6, it is configured to convey each packaged object toward the rotary cutter 6a in sequence. In this embodiment, from Figure 1 The packaged object is conveyed from the left to the right. In addition, the rotary cutter 6a is driven by the motor 2b. Every time the rotary cutter 6a rotates one circle (in this embodiment, the counterclockwise rotation is regarded as the positive rotation, and the rotary cutter 6a rotates one circle in the positive direction), the blade of the rotary cutter 6a interferes with the wrapping paper, cuts the wrapping paper, and forms a state where the cut wrapping paper piece is placed on the corresponding packaged object. Then, the packaged object is wrapped with the wrapping paper piece by a wrapping device not explicitly shown.
[0035] In addition, in this embodiment, for easy understanding, it is assumed that when the motor 2a rotates once, one packaged object is conveyed on the belt conveyor 6b by a distance corresponding to the amount suitable for its packaging, and when the motor 2b rotates once, the rotary cutter 6a is driven once to cut a packaging paper corresponding to the length of one packaged object. And, specifically, Figure 2 As shown in FIG. 1 , when the rotation angle of the motor 2b driving the rotary cutter 6a is in the range corresponding to the range shown in R1, the blade of the rotary cutter 6a interferes with the wrapping paper as the workpiece. Therefore, the cycle range of the motor 2b, that is, the range of R1 when the motor 2b rotates once, corresponds to the interference interval disclosed in the present application.
[0036] Here, based on Figure 3The control structure of the standard PLC 5 is described. The standard PLC 5 generates instructions related to the motion of the electronic cam control for the cutting device 6 and provides them to the servo driver 4. The standard PLC 5 has functional units such as a synchronization control unit 50, an acquisition unit 51, a calculation unit 52, a recovery execution unit 53, a notification unit 54, and a display unit 55. Moreover, each process of these functional units is executed by the calculation processing device installed in the standard PLC 5. In addition, the standard PLC 5 also has a storage device (memory) not shown in the figure, for example, the storage device stores data related to the operation of the cutting device 6. Figure 4 Information related to the electronic cam characteristics of the electronic cam control is shown.
[0037] The synchronous control unit 50 is a functional unit that manages the synchronous control performed in the cutting device 6, that is, the electronic cam control. Figure 4 The electronic cam characteristics shown generate respective instructions for the motor 2a as the main shaft driving device and the motor 2b as the slave shaft driving device. Specifically, in one cycle of the electronic cam characteristics, the motor 2a is controlled so that the position (rotation angle of the main shaft) changes at a constant speed. The position of the motor 2b is controlled synchronously with the operation of such motor 2a. Here, the cycle range of the motor 2b, that is, the range of the position (rotation angle) of the slave shaft is defined by the minimum position Y0 and the maximum position Y1. In addition, as described above, the rotary cutter 6a is a device driven by the motor 2b to rotate, so when the rotation angle of the slave shaft is at the maximum position Y1, the rotary cutter 6a rotates one circle from the minimum position Y0 and returns to the same state as when it was at the minimum position Y0. The rotation direction at this time is set as the positive direction of the rotary cutter 6a, and the opposite rotation direction is set as the negative direction.
[0038] In addition, the rotation angle range of the motor 2b between the first angle Y11 and the second angle Y12 (Y12>Y11) corresponds to Figure 2 The interference interval R1 shown in FIG. 1 is shown in FIG. 1. That is, in one cycle of the electronic cam control, when the position of the motor 2a is in the range of X1 to X2, the position of the motor 2b is Y11 to Y12, and when the packaged object moved by the drive of the motor 2a is in a predetermined position range on the belt conveyor 6b, the blade of the rotary cutter 6a interferes with the packaging paper as a workpiece and cuts it. In addition, the electronic cam characteristics are set so that when the motor 2b is in the first angle Y11 to the second angle Y12, the rotation speed of the slave shaft is reduced compared to when it is not in the range. This is because the cutting of the blade of the rotary cutter 6a is taken into consideration.
[0039] In addition, the synchronous control unit 50 also performs a process of stopping the electronic cam control performed between the motor 2a and the motor 2b. The stop process also includes a stop process based on an emergency stop request issued from an emergency stop button (not shown) included in the above-mentioned control system. When the synchronous control unit 50 receives such an emergency stop request, the synchronous control unit 50 quickly stops the electronic cam control (synchronous control) previously performed. As a result, the motor 2a and the motor 2b are controlled to stop independently.
[0040] Furthermore, the acquisition unit 51 is configured to obtain the value of the motor 2a when the electronic cam control between the motor 2a and the motor 2b is stopped. Figure 4 The electronic cam characteristics shown in the figure are used to obtain the rotation angle of the motor 2b corresponding to the rotation angle of the stopped motor 2a, that is, the function part of the specified position of the motor 2b. This specified position is obtained according to the electronic cam characteristics, so it can be said that it is the rotation angle that the motor 2b should have when the correlation between the master axis and the slave axis based on the electronic cam control is maintained after stopping.
[0041] Here, based on Figure 4 The state of electronic cam control stop is described. It is assumed that a stop command is issued to the electronic cam control at time t1. At this time, the main shaft drive device, that is, the motor 2a, is represented by point P11, and the slave shaft drive device, that is, the motor 2b, is represented by point P21. When the stop command of the electronic cam control is issued at time t1, the stop control of each axis is performed in a state where the synchronization between the main shaft and the slave shaft is lost, and at time t2, the motors 2a and 2b are stopped respectively. Therefore, when the main shaft is used as a reference in the stopped state, the rotation angle of the motor 2b as the slave shaft drive device is at a position deviated from the electronic cam characteristic. In addition, the position of the motor 2a at time t2 is represented by point P12 (the position of the motor 2a can be obtained by the encoder provided on the motor 2a), and the position of the motor 2b is represented by point P22 (the position of the motor 2b can be obtained by the encoder provided on the motor 2b). Moreover, the specified position obtained by the acquisition unit 51 is set as point P23 on the electronic cam characteristic according to this definition.
[0042] Next, the calculation unit 52 is a functional unit that calculates a recovery path that the motor 2b should follow in order to return the rotation angle of the motor 2b that actually deviates from the electronic cam characteristic as described above to the predetermined position P23 on the electronic cam characteristic. Specifically, the calculation unit 52 calculates a path that avoids the interference section R1 where the rotary cutter 6a driven by the motor 2b in the cutting device 6 interferes with the workpiece as the recovery path.
[0043] The recovery execution unit 53 is a functional unit that drives the motor 2b so that the motor 2b moves to the specified position P23 according to the recovery path calculated by the calculation unit 52. The notification unit 54 is a functional unit that notifies the user when the recovery path that avoids the interference interval R1 cannot be calculated by the calculation unit 52 as described above. As the case where the recovery path cannot be calculated, the case where the position P22 of the motor 2b when stopped is included in the interference interval R1 and the case where the specified position P23 obtained by the acquisition unit 51 is included in the interference interval R1 can be listed. The display unit 55 is a functional unit that displays the transition of the current position of the motor 2b toward the specified position P23 in an overlapping manner with the electronic cam characteristics when the recovery execution unit 53 performs the recovery processing of the motor 2b. The display of the display unit 55 can be performed on a display provided on the standard PLC 5 or on a display connected to the outside of the standard PLC 5.
[0044] <Recovery Process>
[0045] Here, based on Figure 5 , the flow of the recovery process for returning the motor 2b of the slave shaft drive device to the predetermined position P23 when the electronic cam control is stopped in the cutting device 6 will be described. Figure 5 The recovery process shown is repeatedly executed at a predetermined interval. First, in S101, the synchronous control unit 50 determines whether the electronic cam control as the synchronous control is stopped in the cutting device 6. If a positive determination is made in S101, the process proceeds to S102, and if a negative determination is made, the recovery process ends.
[0046] In S102, the acquisition unit 51 acquires the predetermined position P23 of the motor 2b according to the electronic cam characteristics. Next, in S103, it is determined whether the current position P22 of the stopped motor 2b deviates from the acquired predetermined position P23. Figure 4 In the illustrated embodiment, since the current position P22 is offset from the predetermined position P23, an affirmative determination is made in S103. If an affirmative determination is made in S103, the process proceeds to S104, and if a negative determination is made, the present restoration process is terminated.
[0047] In S104, it is determined whether a recovery path can be calculated for restoring the current position P22 of the motor 2b that has deviated from the electronic cam characteristic to the prescribed position P23. Specifically, when the current position P22 of the stopped motor 2b is included in the interference interval R1, the motor 2b is stopped in a state where the rotary cutter 6a interferes with the workpiece. Therefore, no matter how the motor 2b is restored, the interference between the rotary cutter 6a and the workpiece will progress in the recovery process. In addition, when the prescribed position P23 calculated by the calculation unit 52 is included in the interference interval R1, the motor 2b is restored to a state where the rotary cutter 6a interferes with the workpiece, so the interference between the rotary cutter 6a and the workpiece cannot be avoided in the recovery process. In this way, since the interference between the rotary cutter 6a and the workpiece in the recovery process is unintentional and unnecessary, it is not preferred to perform the interference by executing the recovery process. Therefore, when the current position P22 is included in the interference interval R1, or when the prescribed position P23 is included in the interference interval R1, it is determined in S104 that the recovery path cannot be calculated, and a negative determination is made. In other cases, it is determined that the restoration path can be calculated in S104, and an affirmative determination is made. If an affirmative determination is made in S104, the process proceeds to S105, and if a negative determination is made, the process proceeds to S108.
[0048] In S105, the calculation unit 52 calculates a return path based on the current position P22, the predetermined position P23, and the interference section R1 of the stopped motor 2b. That is, the calculation unit 52 calculates a path from the current position P22 to the predetermined position P23 that can avoid the interference section R1 as the return path. Figure 4 In the example shown, when recovering from the position P22 of the stopped motor 2b to the prescribed position P23, as recovery paths, there are a path in the negative direction indicated by a black arrow and a path in the positive direction indicated by a hollow arrow. However, since the slave axis position Y22 of the stopped position P22 is located at a position crossing the interference interval R1 in the positive direction, if the recovery is performed along the path in the negative direction, the interference interval R1 is crossed during the recovery process. This means that during the recovery process, the rotary cutter 6a and the workpiece interfere with each other unnecessarily. Therefore, in order to avoid such unnecessary interference, the calculation unit 52 calculates the path in the positive direction (the path indicated by the hollow arrow) as the recovery path. Which path in the positive direction or the negative direction is calculated as the recovery path depends on the correlation between the slave axis position P22 at the time of stopping and the prescribed position P23 and the interference interval R1. When the processing of S105 is completed, enter S106.
[0049] In S106, the motor 2b is driven by the recovery execution unit 53 according to the recovery path calculated in S105 to recover the current position P22 to the predetermined position P23. Then, in the next S107, the display unit 55 displays the transition of the current position P22 of the motor 2b that is recovering to the predetermined position P23 on the display. Figure 6 An example of the display of the display is shown. Figure 6 In the method shown, the lower side of the display screen displays Figure 4 The electronic cam characteristics shown in the figure are substantially the same as those shown in the figure, and the current position P12 of the motor 2a and the current position P22 of the motor 2b when stopped are superimposed on them. On this basis, the current position P22 of the motor 2b is displayed on the display as it approaches the specified position P23 through the recovery process. In this embodiment, the current position P22 is displayed as it moves in the direction of the hollow arrow. By displaying the transition in this way, the user can understand how the motor 2b recovers to the specified position P23.
[0050] In addition, the display may not only display the shift of the current position P22 of the motor 2b, but also display the parameters for controlling the shift. For example, the moving speed (Speed), acceleration (Acc.), deceleration (Dec.), and jerk (Jerk) of the current position P22 during the recovery process may be displayed as the parameters. Furthermore, in the case where the display is a touch panel, the display and the standard PLC 5 may be configured as follows: the user may input the values of these parameters by touching the display, and the input values of each parameter are reflected in the recovery process of the motor 2b.
[0051] If a negative determination is made in S104 and the process proceeds to S108, in S108, the user is notified by the notification unit 54 that a recovery path avoiding the interference section R1 cannot be calculated. This notification may be made in Figure 6 The notification may be performed by text or images on the display shown in the figure, or by sound or the like as another method. In addition, the user who receives the notification can try to restore the motor 2b to the predetermined position P23 by a method other than the above-mentioned restoration process. For example, the user presses Figure 6 The "MPG" button on the display shown switches the drive of motor 2b to a state that can be achieved by a device generally called a manual pulse generator, thereby enabling the manual pulse generator to be operated to adjust the position of motor 2b manually by the user and restore the position to the specified position P23.
[0052] Thus, according to Figure 6The recovery process shown in the figure can restore the positional relationship between the motor 2a and the motor 2b constituting the main axis and the slave axis to the correlation following the electronic cam characteristics in the cutting device 6 that performs the workpiece cutting operation by electronic cam control after the electronic cam control is stopped. That is, in the recovery process, the rotary cutter 6a driven by the motor 2b will not interfere with the workpiece unnecessarily, and the position of the motor 2b can be restored to the proper position.
[0053] <Note 1>
[0054] A control device (5) is provided, in a working device (6) having a main shaft drive device (2a) corresponding to a main shaft and a slave shaft drive device (2b) corresponding to a slave shaft, and configured so that the slave shaft drive device (2b) performs a predetermined operation on a workpiece, for synchronously controlling the position of the slave shaft drive device (2b) based on an electronic cam characteristic corresponding to a cam angle of the main shaft, the control device (5) comprising:
[0055] an acquisition unit (51) which, when the synchronous control of the main shaft drive device (2a) and the slave shaft drive device (2b) is stopped, acquires a predetermined position (P23) of the slave shaft drive device (2b) corresponding to the cam angle of the stopped main shaft according to the electronic cam characteristics;
[0056] a calculation unit (52) for calculating a recovery path for causing the slave shaft drive device (2b) to avoid the interference interval (R1) and reach the specified position (P23) based on the specified position (P23) and an interference interval (R1) set within a cycle range of the slave shaft drive device (2b) in which the slave shaft drive device (2b) interferes with the workpiece in order to perform the specified work, when the slave shaft drive device (2b) judged to be stopped deviates from the specified position (P23); and
[0057] A recovery execution unit (53) drives the slave shaft drive device (2b) to move the slave shaft drive device (2b) to the specified position (P23) according to the recovery path.
[0058] Description of symbols
[0059] 1: Network; 2a, 2b: Motor; 5: Standard PLC; 50: Synchronous control unit; 51: Acquisition unit; 52: Calculation unit; 53: Recovery execution unit; 54: Notification unit; 55: Display unit; 6a: Rotary cutter; 6b: Belt conveyor.
Claims
1. A control device, in a working device having a main shaft drive device corresponding to a main shaft and a slave shaft drive device corresponding to a slave shaft and configured so that the slave shaft drive device performs a predetermined work on a workpiece, for synchronously controlling the position of the slave shaft drive device based on an electronic cam characteristic corresponding to a cam angle of the main shaft, the control device comprising: an acquisition unit that acquires a predetermined position of the slave shaft drive device as a position corresponding to the cam angle of the stopped main shaft according to the electronic cam characteristics when the synchronous control of the main shaft drive device and the slave shaft drive device is stopped; a calculation unit for calculating a recovery path for causing the slave shaft drive device to avoid the interference interval and reach the prescribed position based on the prescribed position and an interference interval set within a cycle range of the slave shaft drive device in which the slave shaft drive device interferes with the workpiece in order to perform the prescribed work, when the slave shaft drive device judged to be stopped deviates from the prescribed position; as well as The return execution unit drives the slave shaft drive device to move the slave shaft drive device to the predetermined position according to the return path.
2. The control device according to claim 1, wherein: The slave shaft driving device is a device capable of rotating in any direction of a positive direction and a negative direction. The calculation unit calculates, as the return path, a path in either a positive direction or a negative direction that enables the slave shaft driving device to move to the predetermined position while avoiding the interference section.
3. The control device according to claim 1 or claim 2, wherein: The control device further includes a notification unit configured to notify the calculation unit that calculation of the return path cannot be performed when the position of the stopped slave axis driving device is included in the interference section or when the predetermined position is included in the interference section.
4. The control device according to claim 1 or 2, wherein: The control device further includes a display unit configured to display the predetermined position and a current position of the driven slave-axis driving device together with the electronic cam characteristic when the slave-axis driving device is being driven by the recovery execution unit.
Citation Information
Patent Citations
JP1980006456B2
Electronic cam control device
JP2011180983A
