The present application is based on, and claims priority from JP Application Serial Number 2021-105468, filed Jun. 25, 2021, the disclosure of which is hereby incorporated by reference herein in its entirety.
The present disclosure relates to a program creation apparatus, a program, and a robot motion program.
For example, as disclosed in JP-A-2017-64844, in related art, program automatic creation apparatuses creating motion programs for robot to execute work on objects are known. In the program automatic creation apparatus disclosed in JP-A-2017-64844, steps of work are created as a flowchart and a motion program is automatically generated based on the created flowchart.
Work of a robot often includes various motions and, after an entire program is automatically generated, a user sometimes corrects the program with respect to each motion. When the program for a predetermined motion is corrected, it is necessary to reflect the correction on another motion relating to the motion. However, the entire program is automatically generated by the program automatic creation apparatus, and it is difficult for the user to understand the entire program and to reflect the correction on the other motion.
A program creation apparatus according to an aspect of the present disclosure acquires a work sequence executed by a robot, and creates a robot motion program containing a motion program based on the work sequence, an execution mode that can be enabled or disabled is switchable, and a command to switch to enable or disable the execution mode.
A non-transitory computer-readable storage medium storing a program according to an aspect of the present disclosure acquires a work sequence executed by a robot, and creates a robot motion program containing a motion program based on the work sequence, an execution mode that can be enabled or disabled, and a command to switch to enable or disable the execution mode.
A non-transitory computer-readable storage medium storing a robot motion program according to an aspect of the present disclosure includes a motion program based on a work sequence executed by a robot, an execution mode that can be enabled or disabled, and a command to switch to enable or disable the execution mode.
As below, a program creation apparatus, a program, and a robot motion program according to the present disclosure will be explained in detail based on preferred embodiments shown in the accompanying drawings.
Prior to the explanation of a program creation apparatus 4 automatically creating a robot motion program P, a robot system 1 driven based on the robot motion program P automatically created by the program creation apparatus 4 will be briefly explained. As shown in
The robot 2 is a six-axis robot having six drive axes. The robot 2 has a base 21 and a robot arm 22 pivotably coupled to the base 21, and an end effector 23 is attached to the distal end portion of the robot arm 22.
The robot arm 22 is a robotic arm in which a plurality of arms 221, 222, 223, 224, 225, 226 are pivotably coupled and includes six joints J1 to J6. Of the joints, the joints J2, J3, J5 are bending joints and the joints J1, J4, J6 are twisting joints. Further, motors M and encoders E are respectively provided in the joints J1, J2, J3, J4, J5, J6.
The end effector 23 is coupled to the arm 226. The end effector 23 is detachable from the arm 226 and one suitable for work executed by the robot 2 may be selected and attached. The end effector 23 of the embodiment has an abrasive wheel 231 driven to rotate, and the robot 2 executes polishing work to smooth the surface of an object Q.
As above, the robot 2 is explained, however, the configuration of the robot 2 is not particularly limited. For example, the robot 2 may be a scalar robot (horizontal articulated robot), a dual-arm robot, or the like. Further, the robot 2 may be fixed to a floor or the like to be immovable or fixed to a mobile apparatus such as an automated guided vehicle (AGV) to be movable.
The robot control apparatus 3 controls driving of the robot system 1 based on the robot motion program P automatically created by the program creation apparatus 4.
The robot control apparatus 3 consists of e.g. a computer and includes a processor processing information, a memory communicably connected to the processor, and an external interface for coupling to an external apparatus. Various programs that can be executed by the processor are stored in the memory, and the processor may read and execute the various programs stored in the memory.
As above, the robot system 1 is briefly explained. Next, the program creation apparatus 4 creating the robot motion program P will be explained.
The program creation apparatus 4 consists of e.g. a computer and includes a processor processing information, a memory communicably connected to the processor, and an external interface for coupling to an external apparatus. Various programs PP that can be executed by the processor are stored in the memory, and the processor may read and execute the programs PP. The programs PP are software automatically creating the robot motion program P and hardware with the software installed therein is the program creation apparatus 4.
As shown in
As a first step, for example, the work information acquisition unit 41 displays an input window (graphic user interface) shown in
The received motion is not particularly limited. In the example shown in
After receiving the motion from the user, the work information acquisition unit 41 displays an input window (graphic user interface) as shown in
The work sequence shown in
The program generation unit 42 creates the robot motion program P based on the work sequence created according to an instruction from the user at a second step. The created robot motion program P contains a motion program P0 based on the work sequence executed by the robot 2, execution modes that can be enabled or disabled, and commands to switch to enable or disable the execution modes. Note that the execution modes are not particularly limited, but include e.g. a force control mode, a low-speed execution mode, a sequential execution mode, a low torque mode, and a coordinate system check mode. These are the modes frequently used in drive control of the robot 2, and the highly convenient robot motion program P may be obtained.
Of the modes, the force control mode is a mode of feeding back output from the force sensor of the robot arm 22 to driving of the robot 2. The low-speed execution mode is a mode of slowly driving the robot arm 22 at a predetermined speed or less at e.g. test driving. The sequential execution mode is a mode in which the robot 2 stops at each time when finishing one motion and starts the next motion by an instruction from the user at e.g. test driving. The low torque mode is a mode of driving the robot arm 22 with low torque equal to or less than predetermined torque for increasing safety for e.g. a human-coexistence robot. The coordinate system check mode is a mode of checking whether or not e.g. a coordinate system used for control of the robot 2 (a local coordinate system set for the object Q or a tool coordinate system set for the end effector 23) is right with the user.
Note that, as below, for convenience of explanation, a case where the robot motion program P contains the force control mode, the low-speed execution mode, the sequential execution mode, and the coordinate system check mode as the execution modes will be representatively explained.
According to the robot motion program P having the above described configuration, the plurality of execution modes may be managed by the single robot motion program P, and thereby, when a parameter relating to a certain execution mode is corrected, consideration of synchronization with another execution mode is not necessary. In other words, when a parameter relating to a certain execution mode is corrected, the correction is reflected on another execution mode.
Specifically, in a case where different programs are created with respect to each execution mode e.g. a robot motion program P11 in which the force control mode is enabled, a robot motion program P12 in which the force control mode is disabled, a robot motion program P21 in which the low-speed execution mode is enabled, a robot motion program P22 in which the low-speed execution mode is disabled as shown in
Therefore, the user should make the same correction for the corresponding parts of the other robot motion programs P12, P21, P22 for synchronization. However, not all users necessarily have the sufficient knowledge about the programs. Users having insufficient knowledge do not know the portions of the robot motion programs P12, P21, P22 to correct for synchronization, and the correction is very difficult and mistakes in confirmation are easily caused.
On the other hand, according to the robot motion program P of the embodiment, as described above, the single program contains the plurality of execution modes, and, when a parameter in the robot motion program P is corrected, the other execution modes are automatically synchronized. Therefore, even the users having insufficient knowledge may easily correct the robot motion program P.
Accordingly, in the state shown in
Particularly, in the embodiment, all commands C1, C2, C3, C4 are collectively displayed in a part, and the user may easily check the statuses of the respective execution modes and select to enable/disable the modes. Accordingly, the robot motion program P easy to handle may be obtained. Note that “collectively displayed in a part” also refer to e.g. a state without irrelevant description to the commands between the commands C1, C2, C3, C4.
Furthermore, in the embodiment, as shown in
Here, part of the force control mode contained in the motion program P0 is shown in
As above, the program creation apparatus 4, the programs PP, and the robot motion program P are explained. As described above, the program creation apparatus 4 acquires the work sequence executed by the robot 2, and creates the robot motion program P containing the motion program P0 based on the work sequence, the execution modes that can be enable or disable, and the commands C1, C2, C3, C4 to switch to enable or disable the execution modes. According to the configuration, the single robot motion program P contains the programs when the execution modes are enabled and the programs when the execution modes are disabled, and, when a parameter in the robot motion program P is corrected, the other execution modes are automatically synchronized. Therefore, even the users having insufficient knowledge may easily correct the robot motion program P.
Further, as described above, as the execution modes, the program contains at least one of the force control mode of controlling driving of the robot 2 based on a received force, the low-speed execution mode of driving the robot 2 at a predetermined speed or less, the sequential execution mode in which the robot 2 stops at each time when finishing one motion, the low torque mode of driving the robot 2 with predetermined torque or less, and the coordinate system check mode of inquiring whether or not the coordinate system used for control of the robot 2 is right. Thereby, the highly convenient robot motion program P may be obtained.
As described above, the robot motion program P has the plurality of execution modes and the plurality of commands C1, C2, C3, C4 corresponding to the respective execution modes are collectively described in the robot motion program P. Thereby, the user may easily check the statuses of the respective execution modes and select to enable/disable the modes. Accordingly, the robot motion program P easy to handle may be obtained.
Further, as described above, the commands C1, C2, C3, C4 are displayed in the other window W2 than that for the motion program P0 based on the work sequence on the screen of the monitor 51 as the display device. Thereby, the effort to search for the commands C1, C2, C3, C4 in the robot motion program P is saved. Therefore, the robot motion program P easy to handle may be obtained.
Furthermore, as described above, the program PP acquires the work sequence executed by the robot 2, and creates the robot motion program P containing the motion program P0 based on the work sequence, the execution modes that can be enabled or disabled, and the commands C1, C2, C3, C4 to switch to enable or disable the execution modes. According to the configuration, the single robot motion program P contains the programs when the execution modes are enabled and the programs when the execution modes are disabled, and, when a parameter in the robot motion program P is corrected, the other execution modes are automatically synchronized. Therefore, even the users having insufficient knowledge may easily correct the robot motion program P.
As described above, the robot motion program P contains the motion program P0 based on the work sequence executed by the robot 2, the execution modes that can be enabled or disabled, and the commands C1, C2, C3, C4 to switch to enable or disable the execution modes. According to the configuration, the single robot motion program P contains the programs when the execution modes are enabled and the programs when the execution modes are disabled, and, when a parameter in the robot motion program P is corrected, the other execution modes are automatically synchronized. Therefore, even the users having insufficient knowledge may easily correct the robot motion program P.
As above, the program creation apparatus, the program, and the robot motion program according to the present disclosure are explained based on the illustrated embodiments, however, the present disclosure is not limited to those. The configurations of the respective parts may be replaced by arbitrary configurations having the same functions. Further, any other configuration may be added to the present disclosure. Furthermore, the respective embodiments may be appropriately combined.
Number | Date | Country | Kind |
---|---|---|---|
2021-105468 | Jun 2021 | JP | national |