Robot Communication Configuration

You are currently viewing the documentation for the latest version (2.1.0). To access a different version, click the "Switch version" button located in the upper-right corner of the page.

■ If you are not sure which version of the product you are currently using, please feel free to contact Mech-Mind Technical Support.

In this tutorial, you will learn how to load the Standard Interface program files to the Yaskawa robot, and set up the Standard Interface communication between the Mech-Mind Vision System and the robot.

  • In this section, you will load the robot Standard Interface program and the configuration files to the robot system to establish the Standard Interface communication between the vision system and the robot.

  • If you are using the robots of other brands, you can find instructions on setting up the Standard Interface communication with the desired robot from the section Standard Interface Communication.

Preparation before Loading

Check Controller and Software Compatibility

  • Confirm that the robot is a 6-axis YASKAWA robot. In this guide, YASKAWA_GP8 is used.

  • Confirm that the robot controller model and the system version meet the requirements below.

    Controller model System version

    DX200

    DN3.16.00A-00

    YRC1000

    YAS2.94.00-00

    YRC1000micro

    YBS2.31.00-00

    In this guide, the robot YRC1000 (YAS2.94.00-00) is used.
  • Confirm that the Ethernet option has been enabled for the YASKAWA robot.

    Click here for instructions
    1. Press and hold the MAIN MENU key on the teach pendant, and power on the robot to enter the maintenance mode.

      If the robot is already started, please restart the robot while pressing the MAIN MENU key on the teach pendant.
      set ip 1
    2. In the maintenance mode, select SYSTEM  SECURITY  MANAGEMENT MODE.

      set ip 2
      set ip 3
    3. Enter the password (which is sixteen 9s by default), and then select Enter to enter the MANAGEMENT MODE.

      set ip 4
      set ip 5
    4. In Main Menu, select SYSTEM  SETUP  OPTION FUNCTION .

      set ip 6
      set ip 7
    5. In the OPTION FUNCTION interface, select DETAIL of NETWORK FUNCTION SETTING, and then press SELECT on the teach pendant to enter the NETWORK FUNCTION SETTING interface.

      check network option
    6. Check whether the status of ETHERNET is displayed as USED.

      check network ethernet
      If the status is NOT USED, please contact the robot manufacturer for support.
  • Confirm that the MotoPlus option has been enabled for the YASKAWA robot.

    Click here for instructions
    1. In the MANAGEMENT MODE of the maintenance mode, select MotoPlus APL.  MotoPlus FUNC. SETTING on the Main Menu.

    2. On the MotoPlus FUNC. SETTING interface, check whether the status of APPLI. AUTOSTART AT POWER ON is ENABLE.

      check motoplus 1
    3. If the status is DISABLE, select DISABLE, and press SELECT on the teach pendant to switch the status to ENABLE.

      check motoplus 2

If the preceding conditions cannot be met, the vision system cannot communicate with the robot through the Standard Interface. Please contact the robot manufacturer for support.

Set up Network Connection

  1. If you are using the YRC1000 controller, plug the Ethernet cable of the IPC into the LAN2 (CN106) port on the CPU board of the robot controller.

    • If you are using the DX200 controller, plug the Ethernet cable of the IPC into the CN104 port on the CPU board of the robot controller.

    • For the YRC1000 controller:

      • The LAN1 port is only used to connect the teach pendant and cannot be used to connect the IPC Ethernet cable.

      • If the LAN2 port is occupied, use LAN3 instead, to connect the IPC Ethernet cable.

  2. Make sure that the IP address of the YASKAWA robot and that of the IPC are in the same subnet.

    Click here for instructions
    1. At the MANAGEMENT MODE of the maintenance mode, select SYSTEM  SETUP  OPTION FUNCTION on the Main Menu. In the OPTION FUNCTION interface, select LAN INTERFACE SETTING.

      set ip 6
      set ip 7
      set ip 8
    2. Check the IP address of the robot (i.e., the IP address of LAN2).

      set ip address 2
    3. Make sure that the IP address of the robot and that of the IPC are in the same subnet. If they are not in the same subnet, please refer to the section Set the IP Addresses on the IPC to modify the IP address of the IPC.

Create a Mech-Vision Project and Save It

  1. Open Mech-Vision. If the Welcome interface as shown below is displayed, it indicates that Mech-Vision is started successfully.

    image
  2. In the Welcome interface of Mech-Vision, click Create from solution library to open the Solution Library.

    project build welcome interface library
    The Solution Library is a resource library that provides typical solutions or projects (with sample data) from various application scenarios.
  3. In the Application Template tab of the Solution Library, select the High-Precision Positioning and Assembly solution, as shown below.

    project build select project

    If you cannot find the High-Precision Positioning and Assembly solution in the Solution Library, click the Download icon in the upper-right corner.

  4. Set the solution name and path, and then click Create.

    After the project is created, the created solution and project will be displayed in the project list in the upper-left corner of the Mech-Vision main interface.

    • A solution is a set of configurations and data related to robots and robot communication, vision processing, path planning, etc. that are required for the machine vision application.

    • A project is a workflow of vision processing in the solution. Normally, a solution only contains one Mech-Vision project, but it may contain more than one project in complex application scenarios.

    • The High-Precision Positioning and Assembly solution only contains one project “High-Precision Positioning and Assembly”.

    project build check project list

    In the Graphical Programming Workspace of the main interface, the workflow of the “High-Precision Positioning and Assembly” project will be displayed.

    project build check project step
  5. In the project list, right-click the solution, and select Autoload Solution.

    project build click auto load

    After this solution is set to autoload, the project name will be displayed in green, and the project ID will be displayed in the left of the project name.

    project build auto load finish
    The project ID will be used by the robot pick-and-place program to trigger the Mech-Vision project to run.
  6. On the menu bar, select File  Save Solution.

    project build save solution

Set up Robot Communication Configuration

In this example, the robot communication configuration has been set for the YASKAWA robot (YASKAWA_GP8) by default. The Robot Communication Configuration option on the toolbar is enabled.

robot interface config

Prepare Program Files

  1. On the IPC, go to Communication Component/Robot_Interface/YASKAWA in the installation directory of Mech-Vision & Mech-Viz.

  2. If you are using the YRC1000 controller, copy the JBI folder and the mm_module_yrc1000.out file to the root directory of the empty USB flash drive which is formatted already.

    • Please ensure that your flash drive is formatted in advance and the file system of the flash drive is FAT32.

    • If you are using the DX200 controller, you need to copy the backend program file mm_module_dx200.out in this step.

    • mm_module_yrc1000.out: the robot backend program file (MotoPlus application file).

    • JBI : the folder storing robot frontend program files (Job files).

  3. Plug the USB flash drive into the USB port on the rear panel of the teach pendant.

Make Sure That No Program Is Running in MotoPlus

Before you load the robot program files to the robot, make sure that no other MotoPlus programs are running.

  • If no programs are running, skip this section.

  • If there are any running program, delete those application programs.

    Click here for instructions
    1. In the MANAGEMENT MODE of the maintenance mode, select MotoPlus APL.  DELETE on the Main Menu.

      delete motoplus app 1
    2. On the MotoPlus APL. DELETE interface, select the program file to be deleted, and then press SELECT on the teach pendant to select this file.

      delete motoplus app 2
    3. Press ENTER on the teach pendant, and press the YES button on the pop-up dialog box to delete the program.

      delete motoplus app 3

Load the Program Files

Load the Backend Program File to the Robot

  1. Press and hold the MAIN MENU key on the teach pendant, and power on the robot to enter the maintenance mode.

    If the robot is already started, please restart the robot while pressing the MAIN MENU key on the teach pendant.
  2. In the maintenance mode, select SYSTEM  SECURITY  MANAGEMENT MODE.

    set ip 2
    set ip 3
  3. Enter the password (which is sixteen 9s by default), and then select Enter to enter the MANAGEMENT MODE.

  4. Select MotoPlus APL.  DEVICE  USB: Pendant on the Main Menu.

    begin to load 1
    begin to load 2
  5. Select MotoPlus APL.  LOAD(USER APPLICATION) .

    begin to load 3
  6. Select mm_module_yrc1000.out. Press ENTER on the teach pendant and then select YES to start loading.

    If you are using the DX200 controller , you need to select mm_module_dx200.out in this step.
    begin to load 4
    begin to load 5
  7. After the loading completes, select MotoPlus APL.  FILE LIST. If you can see the backend program file (mm_module_yrc1000.out), the loading of the backend program file is successful.

    If you are using the DX200 controller , you will see mm_module_dx200.out here after the loading succeeds.
    begin to load 6
    begin to load 7
  8. After you have loaded the backend program file, reboot the robot to enter the online mode.

    You need to load the frontend program files and the example program files under the online mode. Therefore, you need to perform this operation after loading the backend program file.

Load the Frontend Program Files to the Robot

  1. Under the online mode, select SYSTEM INFO  SECURITY on Main Menu of the teach pendant.

    change language level 1
  2. Select MANAGEMENT MODE in the drop-down menu.

    change language level 2
  3. Enter the default password, which is sixteen 9s.

    change language level 3

    Select ENTER in the lower-right corner of the teach pendant screen to enter the management mode.

    change language level 4
  4. Select the right-arrow icon 2 button in the lower-left corner of the teach pendant screen. Then, select SETUP  TEACHING COND, and select EXPANDED in the drop-down menu of LANGUAGE LEVEL.

    change language level 5
    change language level 6
  5. Select EX. MEMORY  DEVICE, and then select USB:Pendant for DEVICE.

    loading foreground program 1
    loading foreground program 2
  6. Select EX. MEMORY  FOLDER. In the FOLDER LIST, select and enter the JBI folder.

    loading foreground program 3
    loading foreground program 4
    loading foreground program 5
  7. Select EX. MEMORY  LOAD. Select JOB, and the programs to be loaded will be displayed.

    loading foreground program 6
    loading foreground program 7
    loading foreground program 8
  8. Select EDIT  SELECT ALL.

    loading foreground program 9
    loading foreground program 10
  9. Press ENTER on the teach pendant. Select YES in the pop-up message to start loading the frontend programs.

    loading foreground program 11
  10. After loading the frontend programs, select JOB  SELECT JOB to view the list of loaded programs. If you can see all frontend programs in the JOB LIST, the loading of is successful.

    loading foreground program 12
    loading foreground program 13

Test Standard Interface Communication

  1. On the teach pendant, select JOB  SELECT JOB on the Main Menu to enter the JOB LIST interface.

    loading foreground program 12
    loading foreground program 13
  2. Select the MM_COMTEST program, and press SELECT to open the program.

    test connection 1
  3. Select the content of line 0001, and then select the IP address and port number in the textbox at the bottom. Press ENTER to enter the edit interface.

    test connection 2
  4. Change the IP address to that of the IPC. If the host port number set in Mech-Vision is modified, the port number 50000 here should be modified accordingly to make it consistent with the host port number set in Mech-Vision.

    test connection 3
  5. Turn the key of the teach pendant to the TEACH mode.

  6. In the TEACH mode, press SERVO ON READY on the teach pendant, and then hold the deadman switch on the back while moving the cursor back to line 0000.

    This step ensures that the job runs from the first line.

    test connection 9
    test connection 10
    test connection 11
  7. Press INTER LOCK and TEST START together on the teach pendant.

    This step is a communication test.

    test connection 12
  8. If the communication between the robot and the vision system is set up, a log will be recorded on the Console tab of the Log panel of Mech-Vision.

    vision center log

Now you have loaded the robot Standard Interface program and the configuration files to the robot system to establish the Standard Interface communication between the vision system and the robot.

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.