Set up Standard Interface Communication with YASKAWA

You are viewing an old version of the documentation. You can switch to the documentation of the latest version by clicking the top-right corner of the page.

This guide shows how to load the Standard Interface program files to a YASKAWA robot, and set up the Standard Interface communication between Mech-Mind Vision System and the robot.

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

Preparation

Check Controller and Software Compatibility

  • Confirm that the robot is a 6-axis YASKAWA robot. This guide uses YASKAWA_GP8 as an example.

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

    Robot controller model System version

    YRC1000

    YAS2.94.00-00

    YRC1000micro

    YBS2.31.00-00

    This guide takes the robot YRC1000 (YAS2.94.00-00) as an example.
  • 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 press 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. At 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.

    3. If the status is “DISABLE”, select DISABLE, and press SELECT on the teach pendant to switch the status to “ENABLE”.

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 the 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.

    • 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.

Set up “Robot Communication Configuration”

  1. Run Mech-Vision, and you may enter different interfaces. Create a new solution according to the instructions below.

    • If you have entered the Welcome interface, click New blank solution.

    create solution 1
    • If you have entered the main interface, click File  New Solution on the menu bar.

    create solution 2
  2. Click Robot Communication Configuration on the toolbar of Mech-Vision.

  3. In the Robot Communication Configuration window, complete the following configurations.

    1. Click the Select robot drop-down menu, and select Listed robot. Click Select robot model, and select the robot model that you use. Then, click Next.

    2. In the Communication mode area, select Standard Interface for Interface service type, TCP Server for Protocol, and ASCII for the protocol format.

    3. It is recommended to set the port number to 50000 or above. Ensure that the port number is not occupied by another program.

    4. (Optional) Select Auto enable interface service when opening the solution.

    5. Click Apply.

      tcp ascii
  4. On the main interface of Mech-Vision, make sure that the Robot Communication Configuration switch on the toolbar is flipped and has turned blue.

    interface service

Prepare the Program Files

  1. On the IPC, go to Mech-Center/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.

    • The USB flash drive should be formatted beforehand.

    • 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.

    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.

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

Load the Program Files

Load the MotoPlus Application File to the Robot

  1. Press and hold the 主菜单 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 主菜单 key on the teach pendant.
  2. Under the maintenance mode, select MotoPlus APL.  DEVICE  USB: Pendant on the Main Menu.

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

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

    begin to load 4
    begin to load 5
  5. 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.

    begin to load 6
    begin to load 7
  6. 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 Job 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

    Press Enter in the lower-right corner of the teach pendant screen to enter the management mode.

    change language level 4
  4. Press 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. Click 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 is to ensure 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 successfully, a log will be recorded in the Console tab of the log panel of Mech-Vision.

    vision center log

Appendix

Set IP Addresses

  1. Press and hold MAIN MENU while starting the robot to enter the maintenance mode.

    • If you are not holding MAIN MENU when starting the robot, the system will enter not enter the maintenance mode.

    • If the robot is already started, please restart the robot while pressing MAIN MENU.

    set ip 1
  2. Select SYSTEM  SECURITY. Then select MANAGEMENT MODE.

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

    set ip 4
    set ip 5
  4. Select SYSTEM  SETUP  OPTION FUNCTION. At the OPTION FUNCTION interface, select LAN INTERFACE SETTING.

    set ip 6
    set ip 7
    set ip 8
  5. Set the IP address of LAN2: In the area of “IP ADDRESS SETTING(LAN2)”, select MANUAL SETTING in the drop-down menu, and set proper values for IP ADDRESS and SUBNET MASK.

    set ip address 1
    set ip address 2
    • The IP address of LAN2 should be in the same subnet as that of the IPC.

    • The subnet mask should be 255.255.255.0.

  6. After modifying the IP address, press ENTER on the teach pendant, and a dialogue box saying Modify? will pop up. Select YES.

    set ip address 3

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.