The present disclosure relates to an offline teaching device, and more particularly relates to displaying of commands constituting a teaching program.
An offline teaching device for forming and editing a teaching program of an industrial robot on a computer using offline teaching software has been known. The offline teaching device displays a model such as a robot and a workpiece three-dimensionally or two-dimensionally on a display device such as a liquid crystal display, and forms and edits a teaching program while movement of the robot is checked, on the displayed model. Note here that teaching is also referred to as “giving instructions.”
PTL 1 describes a graphic display device for displaying a tool trajectory, wherein the graphic display device displays the content of a numerical control (NC) processing program with respect to the tool trajectory in a region designated by a cursor.
PTL 2 describes a teaching point information display device for displaying a teaching point diagram, wherein point numbers of the teaching points are displayed in the vicinity of teaching points. PTL 2 mentions that a program of a welding robot includes a starting point detection program, a program in which a welding condition is set, and a program in which a crater condition is set, and these programs are executed sequentially.
PTL 3 describes an offline drawing method of a robot for drawing a direction program of a robot, wherein colors of drawn lines are changed.
A welding system for carrying out welding using a robot executes a work while it controls an operation of the robot, an output of a welding machine, and the like, according to a teaching program. The teaching program is roughly divided into two programs, that is, a position detection program for detecting position displacement of a workpiece before welding, and a welding program for executing welding. The position detection program includes a plurality of position detection commands, and the welding program includes a plurality of welding commands.
The position detection program is generally executed before welding is actually carried out. That is to say, in the teaching program, the position detection commands for detecting the position displacement, and the welding commands for controlling a welding output are registered in distant places from each other in the program. Therefore, a detection result (position displacement from ideal position) obtained by executing, detecting and storing a position detection command is not displayed in a state in which a welding command is displayed. Therefore, checking of correspondence between a position detection command and a welding command increases worker's labor and causes a teaching error.
In order to solve the above-mentioned problems, an offline teaching device in accordance with the present disclosure includes a display unit, a storage unit, and a control unit. The display unit displays a teaching program, and a model diagram. The storage unit stores commands constituting the teaching program, and model data of the model diagram. The control unit controls the display unit and the storage unit. The teaching program includes a position detection program including a plurality of position detection commands, and a welding program including a plurality of welding commands. The control unit displays an operation trajectory of a robot when the teaching program is executed, in the model diagram. The control unit displays a part of the plurality of position detection commands and a part of the plurality of welding commands, in the model diagram.
As mentioned above, the present disclosure can display a command corresponding to the operation trajectory in the corresponding position of the operation trajectory displayed in the model diagram. Therefore, this makes it possible to easily specify an edition section when the teaching program is carried out, to reduce edition error, and to enhance the accuracy of the program and formation efficiency of the program.
Hereinafter, a first exemplary embodiment of the present disclosure is described with reference to
As shown in
Storage unit 10 includes teaching program storage portion 11, model data storage portion 12, and command-combination information storage portion 13. Teaching program storage portion 11 stores a teaching program. The teaching program includes a position detection program, and a welding program. Teaching program storage portion 11 includes position detection program storage portion 14 for storing the position detection program, and welding program storage portion 15 for storing the welding program.
Position detection program storage portion 14 includes a plurality of position detection commands for executing position detection. Welding program storage portion 15 includes a plurality of welding commands for executing welding. Model data storage portion 12 stores model data. The model data are model information of a robot, an external axis (positioner), and a workpiece, as well as an operation trajectory of a tip of a welding torch held by the robot. Command-combination information storage portion 13 stores command-combination information showing the corresponding relation between the position detection command and the welding command in the teaching program and the operation trajectory of the tip of the welding torch.
Control unit 20 reads the teaching program, the model data, and the command-combination information stored in storage unit 10, and displays them on display unit 30. Furthermore, control unit 20 generates command-combination information, and stores it in command-combination information storage portion 13. Furthermore, control unit 20 changes the position detection commands, the welding commands, and the model data, constituting the teaching program, and stores (updates) them in teaching program storage portion 11 and model data storage portion 12. Furthermore, control unit 20 controls displaying of display unit 30 and information of storage unit 10 in response to an input (a designated position on display unit 30) by pointing device 40.
Display unit 30 includes teaching program display portion 31 for displaying the teaching program, and model display portion 32 for displaying a model diagram. Teaching program display portion 31 has position detection program display portion 34 for displaying the position detection program, and welding program display portion 35 for displaying the welding program.
Pointing device 40 is, for example, a mouse and a touch pad. Pointing device 40 designates a position on display unit 30.
Next, more specific displaying of display unit 30, as well as functions of storage unit 10, control unit 20, and pointing device 40 are described with reference to
As shown in
Position detection program display portion 34 displays a plurality of position detection commands 36. The number of position detection commands 36 depends on the number of sections to be position-detected when one teaching program is executed. Therefore, for example, when a workpiece having a complicated shape is welded, the number of position detection commands 36 is increased.
Welding program display portion 35 displays a plurality of welding commands 37. The number of welding commands 37 depends on the number of sections to be welded when one teaching program is executed. Therefore, for example, when a workpiece having a complicated shape is welded, the number of welding commands 37 is increased.
Individual commands included in position detection commands 36 and welding commands 37 are described more specifically. For example, “MOVE_P001” is a command to move the tip of the welding torch to a position, P001. When a robot to be used at this time is a vertical articulated robot, the command indicates, for example, an angle of each axis. Furthermore, as to movement speed of the welding torch, for example, the rotation speed of each axis of the robot is designated. Furthermore, for example, “WELD_1” and “Arc-start” are commands for designating welding conditions such as a welding voltage, a welding current, and a welding-wire feeding rate with respect to a welding machine to be connected. Furthermore, “SHIFT_1” is a command to correct a position of the tip of the welding torch so that the result of position detection is reflected.
As shown in
As shown in
Furthermore, control unit 20 generates operation trajectory data (TRAJECTORY in
Furthermore, control unit 20 generates command-combination information showing the corresponding relation between the position detection command or the welding command and the operation trajectory, based on the teaching program stored in teaching program storage portion 11, and stores the generated command-combination information in the command-combination information storage portion 13. Note here that control unit 20 may generate command-combination information showing the corresponding relation between the individual commands included in the position detection commands or the welding commands and the operation trajectory, and may store the generated information in command-combination information storage portion 13.
Then, control unit 20 displays a position detection command and a welding command corresponding to the operation trajectory, on the operation trajectory displayed three-dimensionally in model display portion 32, based on the command-combination information. Furthermore, the commands displayed by control unit 20 may be individual commands included in the position detection commands or the welding commands. In
Next, a specific offline teaching method is described with reference to
Firstly, an operator stores model data about a robot, an external axis (positioner), and a workpiece in model data storage portion 12 of storage unit 10. Thus, control unit 20 can display a model diagram on model display portion 32 of display unit 30.
Next, the operator forms a position detection program while viewing the model diagram. That is to say, the operator stores position detection commands 36 in position detection program storage portion 14 of storage unit 10. Note here that each position detection command 36 has a region in which a position detection result is additionally stored. Specifically, “TCHSNS_1” is provided with a region into which a result obtained by executing a contact operation command for position detection, that is, a command “TCHSNS_1” after “MOVE_P001” shown in
Next, the operator forms a welding program while viewing the model diagram. That is to say, the operator stores welding command 37 in welding program storage portion 15 of storage unit 10. At this time, the operator can form welding command 37 while viewing position detection command 36 displayed in the model diagram. The operator reflects the result obtained by position detection command 36 on welding command 37 during formation of welding command 37. Specifically, the operator adds a position correction command, “SHIFT_1,” shown in
Note here that a route in which the welding torch moves so as to detect position displacement in the position detection program and a route in which the welding torch carries out welding in the welding program are not necessarily the same as each other. The reason therefore is as follows. In the position detection program, it is preferable to detect a plurality of positions to be detected as efficiently as possible. That is to say, in the position detection program, it is preferable that position detection is carried out in such an order that the distance in which the welding torch moves becomes the shortest. On the other hand, in the welding program, welding is required to be carried out along a predetermined welding line. Thus, in the offline teaching device of the present disclosure, position detection command 36 is displayed on the operation trajectory of the model diagram. Therefore, it is not necessary to find out position detection program display portion 34 by scrolling. This enables an operator to find out the position detection result easily without incorrect selection of the position detection result to be reflected on welding command 37.
Furthermore, in formation of the welding program, the operator may form all welding commands 37 once, and then may add a position correction command (for example, “SHIFT_1”) to welding commands 37 such that the detection result of position detection command 36 is reflected. Alternatively, in formation of the welding program, the operator may add a position correction command such that the detection result of position detection command 36 is reflected every time the operator forms one welding command 37.
As mentioned above, according to this exemplary embodiment, position detection command 36 can be displayed on model display portion 32 thus facilitating understanding and edition of the teaching program. Furthermore, errors in teaching can be reduced during formation of the welding program.
Next, a modification of the first exemplary embodiment is described with reference to
In the teaching program of the first exemplary embodiment, as shown in
Note here that in this case, in order to check position detection command 36 and welding command 37 constituting the teaching program, whole teaching program display portion 31 is scrolled vertically because the position detection program and the welding program are not brought together.
Next, a second exemplary embodiment is described with reference to
This exemplary embodiment does not have pointing device 40 of the first exemplary embodiment. Instead, display unit 50 is allowed to have an input function, and input information is sent from display unit 50 to control unit 20. This enables a display position of display unit 50 to be designated directly by touch pen 51. Note here that instead of touch pen 51, an operator's finger or a common pen may be employed.
In addition to an effect of the first exemplary embodiment, this exemplary embodiment has an effect of making the input by an operator easier. In this exemplary embodiment, it is not necessary to connect a pointing device to control unit 20.
This exemplary embodiment is described with reference to
In the first and second exemplary embodiments, model display portion 32 can display a command corresponding to an operation trajectory, but edition of the command is carried out in teaching program display portion 31. On the contrary, in the offline teaching device of this exemplary embodiment, an edition screen of the command can be displayed in model display portion 32.
Firstly, an example is described using a simple program as shown in
Specifically, in the position detection program, the welding torch moves from the upper side of the workpiece to position P001, and the welding torch carries out a contact detection operation with respect to the workpiece from position P001 toward positions P002, P003, and P004. Subsequently, the welding torch moves to position P011, and the welding torch carries out a contact detection operation with respect to the workpiece from position P011 toward positions P012 and P013. Finally, the welding torch moves to position P021, and carries out a contact detection operation with respect to the workpiece from position P021 toward position P022. In the contact detection operation toward positions P002, P003, P004, P012, P013, and P022, position displacement is detected between the position in which contact has been actually detected and an ideal position. Based on these detection results, position information in the welding command is corrected.
Next, a welding program is specifically described. In the welding program, firstly, the welding torch starts welding at position P101. Subsequently, while the welding torch moves to position P103, a workpiece is welded. Finally, the welding torch completes welding at position P103.
In this exemplary embodiment, as shown in
As mentioned above, this exemplary embodiment edits (changes) only the selected command. Therefore, unlike conventionally, it is not necessary to scroll teaching program display portion 31. This can reduce labor of an operator and errors in selection of edition commands.
Furthermore, the first to third exemplary embodiments display all the commands included in the position detection commands and the welding commands, but it is possible to set to display only predetermined commands. Furthermore, the first to third exemplary embodiments display only the commands corresponding to the operation trajectory specified by pointer 41, but it is possible to set to display all the commands within the predetermined range from the specified place.
Furthermore, the present disclosure describes welding as an example of processing, and a welding torch as a tool. However, the present disclosure can be applied to an offline teaching device for forming a teaching program for coating work using a spray gun, transportation work using a handling unit, and the like.
The present disclosure enables a command corresponding to an operation trajectory to be displayed in a position corresponding to the operation trajectory displayed in a model diagram. Therefore, this facilitates specification of an edition section when the teaching program is formed, reduces edition error, and enhances accuracy of the program and formation efficiency of the program. Thus, the present disclosure is industrially applicable for an offline teaching device for editing a teaching program of a robot or a processing machine.
Number | Date | Country | Kind |
---|---|---|---|
2014-159179 | Aug 2014 | JP | national |
This application is a U.S. national stage application of the PCT international application No. PCT/JP2015/003689.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2015/003689 | 7/23/2015 | WO | 00 |