Programming Device

The programming device automates the inclusion of imaging device commands, reducing operator burden by generating and displaying icons or texts, thus simplifying the creation of control programs for industrial machines.

JP7553559B2Active Publication Date: 2024-09-18FANUC LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2022528851
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-06-05
Filing Date
2021-06-01
Publication Date
2024-09-18
Estimated Expiration
2041-06-01

AI Technical Summary

Technical Problem

Existing robot programming systems require operators to manually insert and select command statements for multiple imaging devices, increasing operational burden due to the need for repeated device selection.

Method used

A programming device that acquires information about connected imaging devices and generates icons or command texts, allowing for the automatic inclusion of imaging device selection and display, reducing the operator's burden in creating control programs.

Benefits of technology

Reduces the operational burden on operators by simplifying the programming process for industrial machines by automatically generating and displaying icons or command texts for imaging devices, making it easier to create control programs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007553559000008
    Figure 0007553559000008
  • Figure 0007553559000002
    Figure 0007553559000002
  • Figure 0007553559000003
    Figure 0007553559000003
Patent Text Reader

Abstract

Provided is a programming device capable of reducing the load of an operator that creates a control program including a command corresponding to a function of an imaging device. Provided is a programming device 10 for programming industrial machinery, the programming device 10 comprising: a command generation unit 11 that acquires information regarding an imaging device connected to a control device 20 of the industrial machinery and that, on the basis of the acquired information, generates an icon or command statement expressing a command using an image acquired by the imaging device; and a command display unit 12 that displays the generated icon or command statement on a display screen.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a programming device for an industrial machine. [Background technology]

[0002] Generally, robot programming is performed using text-based commands, so the instructor needs to have knowledge of the programming language of the robot. On the other hand, in order to support the instructor's intuitive input of the robot control program, a program creation device has been proposed that enables programming using icons representing each command for controlling the robot (for example, Patent Document 1). [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Patent No. 6498366 Summary of the Invention [Problem to be solved by the invention]

[0004] A set of commands for programming a robot system equipped with an imaging device includes commands corresponding to a function of capturing an image of an object using the imaging device and processing the captured image to detect the object. In general, when a command statement corresponding to a function using such an imaging device is included in a control program of a robot, it is necessary to insert the command statement corresponding to the function using the imaging device into the control program of the robot, and then select and set the imaging device to be operated by the command statement separately. The imaging device arranged in the robot system may be one or more. In this case, the operator needs to insert multiple command statements corresponding to the functions of the imaging device into the program, and then repeatedly select the imaging device to be operated by each inserted command statement, which further increases the burden on the operator. In programming a control program for an industrial machine, a programming device that can reduce the burden on an operator who creates a control program including commands corresponding to the functions of the imaging device is desired. [Means for solving the problem]

[0005] One aspect of the present disclosure is a programming device for programming an industrial machine, the programming device acquiring information about an imaging device connected to a control device of the industrial machine, and , taken Icons or instructions representing commands using images acquired by the imaging device A settable icon or command statement including the selection of an imaging device is displayed. The programming device includes a command generating unit that generates an image capture device in a selected format, and a command display unit that displays the generated icon or command sentence on a display screen. Effect of the Invention

[0006] According to the above configuration, in programming a control program for an industrial machine, it is possible to reduce the burden on an operator who creates a control program including commands corresponding to the functions of the imaging device.

[0007] These and other objects, features and advantages of the present invention will become more apparent from the detailed description of exemplary embodiments of the invention that are illustrated in the accompanying drawings. [Brief description of the drawings]

[0008] [Figure 1] FIG. 1 is a diagram illustrating a configuration of a robot system including a teaching device (programming device) according to an embodiment. [Diagram 2] FIG. 2 is a functional block diagram of a teaching device. [Diagram 3] 11 is a flowchart showing an instruction generation and display process. [Figure 4] 13 is a first example of creating and displaying an icon of an imaging device by command generation and display processing. [Diagram 5] 13 is a second example of creating and displaying an icon of an imaging device by command generation and display processing. [Figure 6] 13 is an example of a screen that is displayed when a details tab is pressed on the program creation screen. [Figure 7] 11 is an example of a program creation screen for detailed programming regarding the functions of the imaging device. [Figure 8] FIG. 11 is a diagram showing an example of a text-based program creation screen in a typical teaching device as a comparative example. [Figure 9] FIG. 13 is a diagram showing an example of a text-based program creation screen in the present embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] Next, an embodiment of the present disclosure will be described with reference to the drawings. In the drawings, similar components or functional parts are given similar reference symbols. To facilitate understanding, the scale of these drawings is appropriately changed. In addition, the form shown in the drawings is one example for implementing the present invention, and the present invention is not limited to the illustrated form.

[0010] FIG. 1 is a diagram showing a configuration of a robot system 100 including a teaching device (programming device) 10 according to an embodiment. As shown in FIG. 1, the robot system 100 includes a robot 30 having a hand 31 mounted on the arm tip, visual sensors 41 and 42, a robot control device 20 that controls the robot 30, and a teaching device 10 connected to the robot control device 20. The robot 30 is a vertical articulated robot in this example, but other types of robots may be used. The robot control device 20 controls the operation of the robot 30 according to a control program or in response to a command from the teaching device 10. The robot control device 20 may have a configuration as a general computer having a CPU, ROM, RAM, storage device, operation unit, display unit, input / output interface, network interface, etc.

[0011] The visual sensor 41 is attached to the tip of the arm of the robot 30. The visual sensor 42 is fixed at a position where it can capture an image of the object 1 in the work space where the robot 30 is installed. In the robot system 100, the visual sensors 41 and 42 detect the position of the object 1, and the hand 31 of the robot 30 handles the object 1 on the workbench 2.

[0012] The visual sensors 41, 42 are connected to the robot controller 20 and operate under the control of the robot controller 20. The robot controller 20 also functions as an image processing device that acquires images captured by the visual sensors (41, 42) and performs image processing such as object detection on the captured images. The robot controller 20 holds a model pattern of the object and detects the object by pattern matching between the object in the captured image and the model pattern. The robot controller 20 can correct the teaching position based on the position of the detected object 1 and perform operations such as picking up the object 1.

[0013] The visual sensors 41 and 42 may be cameras (2D cameras) that capture grayscale images or color images, or stereo cameras or three-dimensional sensors (3D cameras) that can acquire distance images or three-dimensional point clouds. As an example, in this embodiment, the visual sensor 41 is a 2D camera, and the visual sensor 42 is a 3D camera. Note that, while FIG. 1 shows an example in which a total of two imaging devices, one 2D camera and one 3D camera, are arranged in the robot system 100, the number of imaging devices provided in the robot system 100 may be one, or three or more. Also, a plurality of imaging devices of the same type (e.g., a plurality of 2D cameras or a plurality of 3D cameras) may be arranged in the robot system 100.

[0014] The teaching device 10 is used to create a control program for making the robot 30 handle the object 1. The teaching device 10 is, for example, a teaching operation panel or a tablet terminal connected to the robot control device 20. Alternatively, the teaching device 10 may be a programming device (such as a PC) for performing programming offline. The teaching device 10 may have a hardware configuration as a general computer having a CPU, ROM, RAM, a storage device, an input / output interface, a network interface, etc.

[0015] Fig. 2 is a functional block diagram of the teaching device 10. Fig. 2 also shows the connection relationship between the teaching device 10 and other devices. As shown in Fig. 2, the teaching device 10 has an instruction generating unit 11, an instruction display unit 12, a program editing unit 13, and a program generating unit 14.

[0016] The command generating unit 11 acquires information about one or more imaging devices connected to the robot control device 20 from the robot control device 20, and creates an icon or command statement representing a command using an image captured by each of the one or more imaging devices based on the information, in an expression format that can identify each of the one or more imaging devices. Here, the "information about the imaging device" is information (e.g., product model) that can identify the type of each imaging device connected to the robot control device 20. As a result, the command generating unit 11 can identify the type of imaging device provided in the robot system 100 as, for example, a 2D camera (monochrome), a 2D camera (color), or a 3D camera.

[0017] The "information on the imaging device" may further include information that can identify the installation location of the imaging device. The information that can identify the installation location is, for example, information indicating whether the imaging device is a camera (hand camera) mounted on a robot or a fixed camera fixed in the working space. In general, the connection cable of a camera mounted on a robot is wired through the inside of the robot and connected to a specific input / output interface of the robot control device, so that the robot control device can identify the installation location of the imaging device (whether it is a hand camera or a fixed camera) based on which input / output interface the imaging device is connected to (for example, information indicating which port the imaging device is connected to). Note that more detailed position information (for example, coordinate information within the working space in the case of a fixed camera) may be provided as information indicating the installation location of the imaging device.

[0018] Alternatively, in the case where an imaging device is attached to a robot before the robot is shipped, information indicating that the camera is, for example, a hand camera may be stored on the camera side as part of the product information. In the case of the robot system 100 having the configuration of Fig. 1, the command generation unit 11 acquires, for example, the following information from the robot control device 20 as information related to the visual sensors 41, 42. Information about visual sensor 41: 2D camera (color), hand camera Information about visual sensor 42: 3D camera, fixed camera

[0019] By acquiring the above-mentioned "information on the imaging device," the command generating unit 11 can generate an icon or command sentence for each imaging device in an expression format that makes it possible to identify the type, number, and installation location of the imaging device connected to the robot control device 20. The command display unit 12 displays the icon or command sentence generated by the command generating unit 11 in a predetermined display area of ​​the display device 18.

[0020] The program editing unit 13 displays an editing screen (program creation screen) for creating a control program for the robot 30 on the display device 18, and accepts editing operations for the control program. Here, the control program includes instructions for controlling the robot 30 and instructions for capturing images by the visual sensor and processing the captured images. The program generation unit 14 generates a control program from icons arranged in a program creation area on the editing screen, or from command statements written in the program creation area on the editing screen.

[0021] Two examples of the generation and display of icons or command statements by the teaching device 10 will be described below. The first example is an operation example in which the teaching device 10 generates and displays an icon representing a command using an image acquired by an imaging device, and the second example is an operation example in which the teaching device 10 generates and displays a command statement (text) representing a command using an image acquired by an imaging device. FIG. 3 is a flowchart showing a process for generating and displaying an icon or command statement representing a command using an image acquired by an imaging device (hereinafter, also referred to as a command generation and display process). The flowchart in FIG. 3 is common to the first and second examples, so the two examples will be described below with reference to the flowchart in FIG. 3 as appropriate. The process in FIG. 3 is executed under the control of the CPU of the teaching device 10.

[0022] (First embodiment) In the first embodiment, the teaching device 10 generates and displays an icon representing a command using an image captured by an imaging device. In this case, the command generating unit 11 functions as an icon generating unit, and the command display unit 12 functions as an icon display unit. The command generating and display process in FIG. 3 is started by starting the teaching device 10 or by performing a predetermined operation on the teaching device 10 to open a program creation screen. First, the teaching device 10 (program editing unit 13) displays a program creation screen (editing screen) 400 on the display device 18 (step S1). FIGS. 4 and 5 show two examples of the program creation screen 400 created here. As shown in FIGS. 4 and 5, the program creation screen 400 includes a program creation area 300 and an icon display area 200.

[0023] Next, the teaching device 10 (the command generating unit 11) acquires information about the imaging device connected to the robot control device 20 from the robot control device 20 (step S2). Next, the teaching device 10 (the command generating unit 11) creates an icon of the imaging device based on the information about the imaging device (step S3).

[0024] Next, the teaching device 10 (command generating unit 11) checks whether icons have been created for all imaging devices connected to the robot control device 20 based on the information about the imaging devices (step S4). The teaching device 10 (command generating unit 11) repeats step S3 of creating an icon until icons have been created for all imaging devices connected to the robot control device 20 (S4: NO). When icons have been created for all imaging devices connected to the robot control device 20 (S4: YES), the process proceeds to step S5.

[0025] In step S5, the teaching device 10 (command display unit 12) displays the icon created by the above process in a predetermined display area (icon display area 200) (step S5). In this specification, the icon may include any command for various devices that is graphically expressed by a figure, a picture, a symbol, or the like. Therefore, in addition to the icons exemplified in this embodiment, the icon may also include, for example, a graphic object used in a visual programming tool (for example, a block used in puzzle-style graphic programming).

[0026] Two examples of creating and displaying an icon for an image capture device by the command generation and display process of FIG. 3 will be described with reference to FIG. 4 and FIG.

[0027] FIG. 4 shows a first example of the creation and display of an icon of an imaging device by command generation and display processing. As shown in FIG. 4, a program creation screen 400 includes an icon display area 200 that displays a list of icons that can be used for programming, and a program creation area 300 for creating a control program by arranging the icons in the order of operation. Here, it is assumed that the visual sensor 41 is a 2D camera, and the visual sensor 42 is a 3D camera. In step S3, the teaching device 10 (command generation unit 11) generates an icon 201 of a shape imitating the appearance of a 2D camera as an icon of the visual sensor 41 (2D camera). As shown in FIG. 4, the icon 201 may be added with a word "taken with 2D camera A" as a word representing the function of the icon. In addition, the teaching device 10 (command generation unit 11) generates an icon 202 of a shape imitating the appearance of a 3D camera as an icon of the visual sensor 42 (3D camera). As shown in FIG. 4, the icon 202 may be added with a word "taken with 3D camera A" as a word representing the function of the icon.

[0028] The teaching device 10 (command display unit 12) displays the icons 201 and 202 in an icon display area 200 together with icons 101-104 for controlling (control program) the robot 30. The icons 201 and 202 are configured to distinguish between the visual sensor 41 (2D camera) and the visual sensor 42 (3D camera), so that the operator can instantly grasp the type and number of imaging devices that can be used (i.e., connected to the robot control device 20) by looking at the icons 201 and 202 displayed in the icon display area 200. Note that the program creation screen 400 may be provided with a button for switching between displaying and hiding text information (such as "grab" and "release") added to each of the icons 101-104 and 201-202.

[0029] The icons 101-104 and 201-202 displayed in the icon display area 200 represent the following operation commands. Icon 101: Close hand to grab object Icon 102: Open Hand Command Icon 103: Command to move the tip of the robot arm in a straight line Icon 104: Command to move the tip of the robot arm along an arc-shaped trajectory Icon 201: Detects the position of the object using a 2D camera Icon 202: Detect the position of the object using a 3D camera

[0030] The program editing unit 13 accepts an operation by the operator to arrange the icons displayed in the icon display area 200 in the program creation area 300 by dragging and dropping. The program generation unit 14 generates a control program according to the icons arranged in the program creation area 300. In the program creation area 300 of Fig. 4, icon 103, icon 201, icon 101, icon 103, and icon 104 are arranged in the order of operation. In this control program, an operation is performed in which the tip of the arm of the robot 30 is moved linearly to a target position, the position of an object is detected by a 2D camera, the taught position is corrected according to the detected position, and the object is grasped and moved by the hand 31.

[0031] 5 shows a second example of creating and displaying an icon of an imaging device by command generation and display processing. Here, it is assumed that both visual sensor 41 and visual sensor 42 are 2D cameras. In this case, the information on the imaging device acquired by teaching device 10 (command generation unit 11) from robot control device 20 includes information on the installation location of the imaging device in addition to the type of imaging device. Based on the information on the imaging device acquired from robot control device 20, teaching device 10 (command generation unit 11) determines that visual sensor 41 is a hand camera arranged at the tip of the arm of robot 30, and that visual sensor 42 is a fixed camera fixed in the working space.

[0032] As a result, the teaching device 10 (command generating unit 11) creates, as the icon of the visual sensor 41, an icon 212 including a figure that suggests that the visual sensor 41 is a camera attached to the tip of the arm of the robot. As shown in FIG. 5, the icon 212 may be added with a word (here, "taken with a 2D hand camera") that helps to understand the function and installation location of the icon 212. In addition, the teaching device 10 (command generating unit 11) creates, as the icon of the function of the visual sensor 42, an icon 211 having a figure that suggests that the visual sensor 42 is a fixed camera. As shown in FIG. 5, the icon 211 may be added with a word (here, "taken with a 2D fixed camera") that helps to understand the function and installation location of the icon 211.

[0033] The teaching device 10 (command display unit 12) displays the icons 211 and 212 in the icon display area 200 together with the icons 101-104 for controlling the robot 30. The icons 211 and 212 are configured to be able to distinguish between the visual sensor 41 (hand camera) and the visual sensor 42 (fixed camera), so that the operator can instantly grasp the type, number, and installation location of the imaging devices that are available (i.e., connected to the robot control device 20) by looking at the icons 211 and 212 displayed in the icon display area 200.

[0034] The program editing unit 13 accepts an operation by the operator to arrange icons displayed in the icon display area 200 in the program creation area 300 by dragging and dropping. The program generation unit 14 generates a control program according to the icons arranged in the program creation area 300. In the program creation area 300 of Fig. 5, icons 103, 211, 101, 103, and 104 are arranged in the order of operation. In this control program, an operation is performed in which the tip of the arm of the robot 30 is moved linearly to a target position, the position of an object is detected by a 2D fixed camera, the taught position is corrected according to the detected position, and the object is grasped and moved by the hand 31.

[0035] Next, an operation for performing detailed programming on icons (icons 201-202, 211-212) related to the functions of the imaging device (commands using images acquired by the imaging device) generated by the command generating unit 11 will be described. FIG. 6 shows an example of the program creation screen 400 when an operator selects an icon (e.g., icon 201) related to the functions of the imaging device arranged in the program creation area 300 and presses the details tab 262 in the program creation screen 400 on the program creation screen 400 as exemplified in FIG. 4 and FIG. 5. In this case, as shown in FIG. 6, a new creation button 501 and a drop-down menu 502 appear in the lower area of ​​the program creation screen 400. When the operator wants to newly create a detailed program related to the functions of the imaging device, the operator presses the new creation button 501. On the other hand, the drop-down menu 502 displays programs related to the functions of the imaging device registered in the teaching device 10. The operator can open the selected program by selecting a desired program from the drop-down menu 502 and pressing the open button 503.

[0036] 6 may display a live image 550 of an imaging device corresponding to an icon (e.g., icon 201) selected in the program creation area 300. With this configuration, the operator can more reliably recognize which imaging device corresponds to the icon selected on the program creation area 300 by looking at the live image 550. The display function of such a live image 550 may be realized, for example, by the program editing unit 13 requesting the robot control device 20 to transmit a live image of the imaging device corresponding to the icon selected in the program creation area 300.

[0037] When the programming tab 261 is selected on the program creation screen 400 shown in FIG. 6, the lower area of ​​the program creation screen 400 returns to the icon display area 200 displaying a list of icons, and the operator is returned to a state where he or she can program the robot.

[0038] 7 shows a program creation screen 400A for detailed programming related to the functions of the imaging device, which is displayed by pressing the new creation button 501 or the open button 503 on the screen of FIG. 6. As shown in FIG. 7, the program creation screen 400A for the functions of the imaging device has the same screen configuration as the program creation screen 400 for creating a control program for a robot. The program creation screen 400A includes an icon display area 200A for displaying icons related to the control of the imaging device, and a program creation area 300A for creating a detailed program for the functions of the imaging device. As in the case of editing the control program for the robot, the operator can create a detailed program for the functions of the imaging device by selecting icons from the icon display area 200A and arranging them in the program creation area 300A by a drag-and-drop operation.

[0039] 7, the icons displayed in the icon display area 200A include an imaging icon 252 representing a function related to imaging, a detection icon 253 representing an object detection function, and a correction calculation icon 254 representing calculation of a correction amount. The operator can select each icon arranged in the program creation area 300A and perform a predetermined operation to display a parameter setting screen at the bottom of the program creation screen 400A and set detailed parameters. In the parameter setting of the imaging icon 252, the following setting items are set. Exposure time · LED lighting on or off Image reduction ratio

[0040] The following setting items are set in the parameter setting of the detection icon 253. Note that in the following setting items, "matching degree threshold" and "contrast threshold" are parameters related to thresholds in image processing for detecting an object. Images to be used Find shapes Matching Threshold Contrast Threshold

[0041] In the correction calculation icon 254, for example, the position of the target object on the image is calculated based on the detection result of the detection icon 253, and the position on the image is converted into three-dimensional coordinates in the robot coordinate system, thereby obtaining a correction amount for correcting the robot's teaching position.

[0042] In the program in the program creation area 300A in FIG. 7 (hereinafter, referred to as the vision program 604), the imaging icon 252 is placed first, then the auxiliary icon 257 corresponding to the detection operation is placed, and two detection icons 253 are placed within the frame of the auxiliary icon 257. This vision program 604 realizes the following operations. First, the imaging icon 252 captures an image of the object. Next, the detection auxiliary icon 257 detects the overall shape of the object, and the two detection icons 253 within the auxiliary icon 257 detect features on the object (e.g., holes). This makes it possible to detect an object having two holes. Next, the correction calculation icon 254 calculates the coordinates of the object in the robot coordinate system, and uses these as data for position correction.

[0043] (Second Example) Next, a second embodiment of the present invention will be described regarding the generation and display of an icon or command statement by the teaching device 10. In the second embodiment, the teaching device 10 generates and displays a command statement (text) that indicates a command using an image acquired by an imaging device. FIG. 9 shows an example of a text-based program creation screen 400B generated by the teaching device 10 according to this embodiment, and FIG. 8 shows an example of a text-based program creation screen 140 in a general teaching device as a comparative example. Both FIG. 8 and FIG. 9 show program creation screens for executing the same operation in a robot system equipped with two imaging devices as in FIG. 1.

[0044] FIG. 9 shows a program creation screen 400B displayed by the program editing unit 13 of the teaching device 10 according to this embodiment. The program creation screen 400B includes a program creation area 300B for performing text-based programming. With the program creation screen 400B displayed, a predetermined operation (for example, pressing an instruction list button (not shown) displayed on the program creation screen 400B) can be performed via the input device 19 of the teaching device 10 to display a pop-up menu 200B displaying a list of command statements. The operator can insert a command statement at the cursor position by moving the cursor to a desired line number position on the program creation area 300B and selecting the desired command statement from the pop-up menu 200B.

[0045] The process of creating and displaying a command statement by the teaching device 10 will be described with reference to the flowchart of FIG. 3. First, the process of FIG. 3 is started by starting the teaching device 10 or by performing a predetermined operation to open a program creation screen in the teaching device 10. First, the teaching device 10 (program editing unit 13) opens the program creation screen 400B (step S1). Next, the command generation unit 11 acquires information about the imaging device connected to the robot control device 20 from the robot control device 20 (step S2). Here, information about two visual sensors is obtained. For convenience, the two cameras are referred to as camera A and camera B. The command generation unit 11 creates a command statement for each of the two cameras A and B. For example, with respect to the command statement "VISION DETECTION" which is a command to instruct imaging by the imaging device, the command generation unit 11 generates command statements "CAMERA A VISION DETECTION" and "CAMERA B VISION DETECTION" for instructing each of the cameras A and B (step S3). In addition, the command generation unit 11 generates the command statements "Camera A VISION CORRECT DATA INPUT" and "Camera B VISION CORRECT DATA INPUT" to instruct camera A and camera B, respectively, regarding the command statement "VISION CORRECT DATA INPUT," which is a command for detecting the position of an object from a captured image (steps S3, S4).

[0046] Next, the command display unit 12 displays, in a pop-up menu 200B, command statements related to the functions of the imaging devices generated by the command generating unit 11, such as "Camera A VISION DETECT," "Camera B VISION DETECT," "Camera A VISION COMPENSATION DATA SUPPLY," and "Camera B VISION COMPENSATION DATA SUPPLY," along with command statements related to the control of the robot in response to a selection operation on a command list button (not shown) (step S5). By looking at such a pop-up menu 200B (list of command statements), the operator can instantly grasp the type and number of imaging devices connected to the robot system. 9 shows the case where the two cameras are represented as "camera A" and "camera B", but by representing "camera A" as "2D hand camera" and "camera B" as "3D fixed camera", for example, the command statements "2D hand camera vision detection", "3D fixed camera vision detection", "2D hand camera vision correction data access", and "3D fixed camera vision correction data access" may be included in the pop-up menu 200B. In this case, the operator can grasp the type, number, and installation location of the imaging devices attached to the robot system 100.

[0047] By repeating an editing operation of selecting a desired command statement from the list of command statements displayed in the pop-up menu 200B and inserting it in the line where the cursor is located, the operator creates a control program as described in the program creation area 300B. Here, a command statement (lines 3-4) that directly specifies camera A causes camera A to detect the position of the object, and the robot performs position correction based on the detected position while gripping the object (lines 6-10). A command statement (lines 13-14) that directly specifies camera B causes camera B to detect the position of the object, and the robot performs position correction based on the detected position while gripping the object (lines 16-20).

[0048] On the other hand, a general teaching device does not perform a process of creating a command statement for each imaging device. Therefore, as shown in FIG. 8, in a program creation screen 140 by a general teaching device, a pop-up menu 120 displaying a list of commands displays only the commands "VISION DETECT" and "VISION COMPENSATION DATA STOCK" in a format that does not specify the imaging device as commands related to the imaging device. In this case, the operator must, for example, select the command "VISION DETECT" from the pop-up menu 120 and insert it into the program creation area 130, and then select the camera to be used in this command "VISION DETECT" as a parameter. With such a pop-up menu 120, the operator cannot grasp the type, number, and installation location of the imaging device attached to the robot system.

[0049] In the above embodiment, the case where a plurality of imaging devices are arranged in the robot system has been described. However, even if the robot system has only one imaging device, in the first embodiment (FIGS. 4 and 5), an icon in which the imaging device is selected is displayed in the icon display area 200, and in the second embodiment (FIG. 9), a command statement in which the imaging device is selected is displayed in the pop-up menu 200B. For example, in the first embodiment, if the robot system has only one imaging device (visual sensor 41), an icon 201 is displayed in the icon display area 200. In the second embodiment, if the robot system has only one imaging device (camera A), "camera A vision detection" and "camera A vision correction data output" are displayed in the pop-up menu 200B. Therefore, even if the robot system has only one imaging device, the operator does not need to perform an operation to select a camera as detailed settings for an icon or command statement.

[0050] Therefore, according to this embodiment, in programming a control program for an industrial machine, it is possible to reduce the burden on an operator who creates a control program including commands corresponding to the functions of the imaging device.

[0051] Although the present invention has been described using exemplary embodiments, those skilled in the art will understand that modifications and various other changes, omissions, and additions can be made to the above-described embodiments without departing from the scope of the present invention.

[0052] While the above-described embodiment relates to creating a control program in a robot system, the above-described embodiment can be applied to a control program programming device in a system in which one or more imaging devices are connected to the control device of a machine tool or various other industrial machines.

[0053] The functional blocks of the teaching device 10 shown in FIG. 2 may be realized by the CPU of the teaching device 10 executing various software stored in a storage device, or may be realized by a hardware-based configuration such as an ASIC (Application Specific Integrated Circuit).

[0054] The functional arrangement in the functional block diagram shown in FIG. 2 is an example, and some of the functions arranged in the teaching device 10 may be arranged on the robot control device 20 side.

[0055] The timing when the teaching device 10 (command generating unit 11) acquires information about the imaging device from the robot control device 20 and generates an icon or a command sentence may be various other than the examples described in the above-mentioned embodiments, such as the timing when the imaging device is connected to the robot control device 20. The timing when the teaching device 10 (command generating unit 11) acquires information about the imaging device from the robot control device 20 and generates an icon or a command sentence may be any of predetermined startup timings such as when the teaching device 10 is started, when the imaging device is connected to the robot control device 20, or when the program creation screen 400 is opened, or may be a combination of these startup timings.

[0056] The program for executing the command generation and display processing of FIG. 3 in the above-described embodiment can be recorded on various computer-readable recording media (e.g., semiconductor memories such as ROM, EEPROM, and flash memory, magnetic recording media, and optical disks such as CD-ROM and DVD-ROM). [Explanation of symbols]

[0057] 1. Object 2 Workbench 10 Teaching device 11 Instruction generator 12 Command display area 13 Program Editorial Department 14 Program Generation Section 18 Display device 19 Input Devices 20 Robot control device 30. Robot 41, 42 Visual sensor 31 Hands 200 Icon display area 200B Pop-up Menu 300, 300B Programming area 400, 400B Program Creation Screen

Claims

1. A programming device for programming an industrial machine, comprising: a command generating unit that acquires information about an imaging device connected to a control device of the industrial machine, and generates, based on the acquired information, an icon or command statement that represents a command using an image acquired by the imaging device, the icon or command statement being configurable including selection of the imaging device, in a format in which the imaging device has been selected; a command display unit that displays the generated icon or command sentence on a display screen; A programming device comprising:

2. The programming device according to claim 1, wherein the instruction generation unit acquires information about the imaging device from the control device connected to the programming device at any one or more of predetermined startup timings including when the programming device is started, when the imaging device is connected to the control device, and when a program creation screen is opened.

3. 2. The programming device according to claim 1, wherein the instruction generation unit acquires information about the imaging device from the control device connected to the programming device in response to a predetermined operation being performed to launch a program creation screen via an input device of the programming device.

4. The programming device according to claim 1 , wherein the information relating to the imaging device includes information on one or more of a type of the imaging device, an installation location, and information on a port to which the imaging device is connected.

5. The information about the imaging devices is related to a plurality of the imaging devices connected to the control device, The programming device according to claim 4 , wherein the instruction generating section generates the icon or the instruction sentence representing an instruction using an image captured by each of the plurality of imaging devices in an expression format capable of identifying each of the plurality of imaging devices.

6. the information about the imaging devices includes information about the types of each of the plurality of imaging devices, The programming device according to claim 5 , wherein the instruction generation unit generates the icon or the instruction sentence representing an instruction using an image acquired by each of the plurality of imaging devices in an expression format capable of identifying the type of each of the plurality of imaging devices.

7. A programming device for programming an industrial machine, comprising: a command generating unit that acquires information about an image capturing device connected to a control device of the industrial machine, and generates an icon or a command statement representing a command using an image captured by the image capturing device based on the acquired information; a command display unit that displays the generated icon or command sentence on a display screen; Equipped with The information about the imaging device includes information about any one or more of a type of the imaging device, an installation location, and information about a port connected to the imaging device, The information about the imaging devices is related to a plurality of the imaging devices connected to the control device, the command generation unit generates the icon or the command statement representing a command using an image captured by each of the plurality of imaging devices in an expression format that allows each of the plurality of imaging devices to be identified; the information about the imaging devices includes information about installation locations of each of the imaging devices; A programming device, wherein the instruction generation unit generates the icon or the instruction sentence representing an instruction using an image acquired by each of the plurality of imaging devices in an expression format that enables identification of the installation location of each of the plurality of imaging devices.

8. a program editing unit that displays a program creation screen for performing the programming and accepts editing operations on the program creation screen; the instruction generation unit generates the icon representing a command using an image captured by the imaging device; the command display unit displays the generated icon in a predetermined display area on the program creation screen; the program creation screen includes a program creation area for creating a program by arranging icons selected from the predetermined display area, The programming device according to claim 1 , wherein the program editing section displays a live image of an imaging device corresponding to a selected icon in response to a selection operation on the icon arranged in the program creation area.

Citation Information

Patent Citations

  • Communication equipment equipped with communication network selection function

    JP1989098366A

  • Programming method for system including robot

    JP1996249026A

  • Robot controller

    JP1998315172A

  • Systems and methods for controlling robots

    JP2006510496A

  • Information processing device and program

    JP2020009204A