ROBOT CONTROLLER AND ROBOT CONTROL METHOD
20210107154 ยท 2021-04-15
Inventors
Cpc classification
B25J9/1658
PERFORMING OPERATIONS; TRANSPORTING
B25J9/1664
PERFORMING OPERATIONS; TRANSPORTING
International classification
Abstract
To provide a robot controller and a robot control method that do not need a logic command to be associated with a teaching position for a robot, and that are thus capable of executing the logic command at a desired position and a desired timing. A robot controller includes: an operation command interpretation unit that interprets an operation command program describing a teaching operation and a teaching position for a robot, and that generates an operation command; a logic command interpretation unit that interprets a logic command program describing a logic command instructing a machining process to be performed by the robot and an execution position for the logic command, independently from the teaching operation and the teaching position, and that generates the logic command that includes the execution position; and a command execution unit that executes the operation command and the logic command.
Claims
1. A robot controller, comprising: an operation command interpretation unit that interprets an operation command program describing a teaching operation and a teaching position for a robot, and that generates an operation command; a logic command interpretation unit that interprets a logic command program describing a logic command instructing a machining process to be performed by the robot and an execution position for the logic command, independently from the teaching operation and the teaching position, and that generates the logic command that includes the execution position; and a command execution unit that executes the operation command and the logic command.
2. The robot controller according to claim 1, wherein the execution position for the logic command is present on a travel path of the robot, the travel path being based on the teaching operation and the teaching position.
3. The robot controller according to claim 1, wherein the command execution unit executes, in a case where, in the logic command program, the execution position is not present on a travel path of the robot, the travel path being based on the teaching operation and the teaching position, the logic command at a proximal-most position to the execution position for the machining process on the travel path.
4. A robot control method, comprising: an operation command interpretation step of interpreting an operation command program describing a teaching operation and a teaching position for a robot, and of generating an operation command; a logic command interpretation step of interpreting a logic command program describing a logic command instructing a machining process to be performed by the robot and an execution position for the logic command, independently from the teaching operation and the teaching position, and of generating the logic command that includes the execution position; and a command execution step of executing the operation command and the logic command.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
[0024]
[0025]
[0026]
[0027]
[0028]
[0029]
[0030]
DETAILED DESCRIPTION OF THE INVENTION
[0031] An embodiment of the present invention will now be described herein with reference to
1 Configuration of Embodiment
[0032]
[0033] The robot controller 10 represents a device that controls the robot 20. Specifically, the robot controller 10 stores teaching programs, teaching data, and operation parameters, for example, to be used for operation control and machining control of the robot 20, and executes the teaching programs on the basis of the teaching data and the operation parameters to control the robot 20.
[0034] The robot 20 is, but not limited to, an articulated robot such as a six-axis vertical articulated robot or a four-axis vertical articulated robot. The robot 20 may be an orthogonal coordinate robot, a SCARA (selective compliance assembly robot arm) robot, or a parallel link robot, for example.
[0035] The external peripheral device 30 is a PLC or one of various application controllers for laser oscillators.
[0036] In a case where, in the robot control system 1 illustrated in
[0037]
[0038] The memory unit 11 stores an operation command program describing teaching operations and teaching positions for the robot 20, and a logic command program describing logic commands instructing machining processes to be performed by the robot 20 and execution positions for the logic commands, independently from the teaching operations and the teaching positions.
[0039]
[0040] As illustrated in
[0041] In the example in
[0042] The logic command program also instructs start and end of machining processes at positions that are independent from the teaching positions designated in the operation command program.
[0043] In a first row in the logic command program illustrated in
[0044] The control unit 12 is one that is known among those skilled in the art, and that includes a central processing unit (CPU), a read-only memory (ROM), a random access memory (RAM), and a complementary metal-oxide semiconductor (CMOS) memory, for example, which are configured to communicate with each other via a bus.
[0045] The CPU represents a processor that wholly controls the robot controller 10. The CPU is configured to read, via the bus, system programs and application programs stored in the ROM, to wholly control the robot controller 10 in accordance with the system programs and the application programs, and to cause, as illustrated in
[0046] The operation command interpretation unit 121 interprets an operation command program describing a teaching operation and a teaching position for a robot 20, as described above, and generates an operation command.
[0047] The logic command interpretation unit 122 interprets a logic command program describing a logic command instructing a machining process to be performed by the robot 20 and an execution position for the logic command, as described above, and generates the logic command including the execution position.
[0048] The command execution unit 123 starts, upon start of a teaching program, a task process to be performed by the operation command interpretation unit 121 and a task process to be performed by the logic command interpretation unit 122, and executes the operation command generated by the operation command interpretation unit 121 to monitor robot positions while the robot 20 is operating to execute, at a timing when the robot 20 passes through each of the execution positions for the logic commands, each of the logic commands generated by the logic command interpretation unit 122.
[0049] Therefore, upon execution, by the robot controller 10, of the operation command program and the logic command program exemplified in
[0050] Note that, in a logic command program, positions at which execution of a logic command starts and ends are preferably, but not limited to, positions on a path along which a robot travels in accordance with an operation command program, as described above. For example, positions at which execution of a logic command starts and ends may be proximal-most positions to an execution position for a machining process, on a path along which a robot travels in accordance with an operation command program.
2 Effects Achieved by the Embodiment
[0051] To teach a logic command that controls a machining process such as laser welding, in the robot controller 10 according to the present embodiment, it is possible to execute the logic command at a desired position and a desired timing, independently from an operation command (a teaching position) for the robot 20.
[0052] To even successively teach machining sections each having a short pitch, in the robot controller 10 according to the present embodiment, it is not necessary to increase teaching positions in accordance with increased numbers of starting terminals and ending terminals of the machining sections, leading to simple implementation of a teaching program, and ease of maintenance and ease of visibility for the teaching program and the like.
[0053] Furthermore, in the robot controller 10 according to the present embodiment, a number of teaching points for the robot 20 can be minimized. Operation-plan processing for the robot 20 can also be made lighter, allowing the robot 20 to exert its original performance.
[0054] Furthermore, since, in the robot controller 10 according to the present embodiment, alignment between an order of executing operation commands and an order of executing logic commands for the robot 20 is not required, the logic commands can be executed at desired timings, regardless of teaching positions regarding operations of the robot 20.
[0055]
[0056] In the robot controller 10 according to the present embodiment, even though, as illustrated in
[0057] Furthermore, to adjust the timing for executing a logic command, in the conventional techniques, it is necessary to finely adjust teaching positions for robot operations in rows forming a pair, leading to a changed operation plan, and eventually a changed operation path at each adjustment. On the other hand, since, in the robot controller 10 according to the present embodiment, a logic command program is separated from an operation command program, the timing for executing a logic command can only be finely adjusted, impacting neither an operation plan nor an operation path.
[0058]
[0059]
[0060]
[0061]
3 Implementation Examples
[0062] An information output terminal such as a tablet device may be caused to display an operation path taught to the robot 20. The position and the timing at which a signal is to be output, and eventually the position and the timing at which a logic command that controls process-machining is to be executed may be directly touched with a finger or a device such as a touch-pen on the displayed operation path, and may be designated on the operation path taught to the robot 20.
[0063] Therefore, it is possible, on the basis of the designated position at which the logic command is to be executed, to generate and execute a logic command program, together with an operation command program. Since a user of the robot controller 10 can intuitively designate the timing for executing a logic command, and can teach a process-machining command, it is possible to shorten the time required for teaching and operation-checking.
[0064] In addition to serial communications and communications via signals to be input and output with the external peripheral device 30, the robot control method according to the present invention can be comprehensively applied to all logic commands that are executable regardless of the operational situation of the robot 20.
EXPLANATION OF REFERENCE NUMERALS
[0065] 1 Robot control system [0066] 10 Robot controller [0067] 11 Memory unit [0068] 12 Control unit [0069] 20 Robot [0070] 30 External peripheral device [0071] 121 Operation command interpretation unit [0072] 122 Logic command interpretation unit [0073] 123 Command execution unit