Set up Standard Interface Communication with DENSO

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.

This guide shows you how to set up Standard Interface Communication with a DENSO robot.

Preparation

Check Controller and Software Compatibility

  • Robot type: Six-axis robot

  • Controller model: RC8

  • Controller software version: 2.15.0

    Click here for instructions
    1. Tab Setting  System Info on the teach pendant.

      check version 1
    2. Check Controller type and Controller software.

      check version 2

Set up Network Connection

  1. Plug the other end of the IPC’s Ethernet cable into the Ethernet port of the robot controller.

  2. Make sure that the IP addresses of the DENSO robot and the IPC are on the same subnet.

    Click here for instructions
    1. On the teach pendant, tap Setting  Communication and Token  Network and Permission .

      check robot ip 1
    2. In the “Communicate Settings” window, select Ethernet in the “Device” area, and view the IP Address and Subnet mask in the “Setting” area. Check if the robot’s IP address is in the same subnet as the IPC.

      check robot ip 2
    3. If the IP address of the robot and that of the IPC are in different subnets, modify the IPC’s IP address.

Robot Communication Setup

  1. Open 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 section, 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
  1. 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

Input the IPC’s IP Address

  1. Turn the key of the teach pendant to MAN (the manual mode).

    manual mode
  2. On the teach pendant, tap Setting  Communication and Token  Data Communication .

    input ipc ip 1
  3. In the “Data Communication Settings” window, select “Ethernet #4-7,8-15” in the “Device” panel, and select “Client #8” in the “Setting” panel. Tap Edit.

    input ipc ip 2
  4. In the pop-up window, set IP Address to that of the IPC, and set Port to the value set in the “Robot Communication Configuration” window in Mech-Vision. Tap OK.

    input ipc ip 3

Backup

  1. Plug the USB flash drive into the robot controller.

    plug usb
  2. On the teach pendant, tab Setting  Data Read and Write  Project Read and Write .

    backup robot 1
  3. Tab Save in the “Project files” window.

    backup robot 2
  4. In the window that prompts “Specify project name to save”, enter the backup folder name and tab OK.

    backup robot 3
  5. After backing up, the information of the backup files shows up in the “Project files” window. Project Name is the backup folder name that you input at the previous step.

    backup robot 4

Prepare Program Files

  1. Plug the USB flash drive into the IPC.

  2. Go to Communication Component\Robot_Interface\DENSO from the installation directory of Mech-Vision & Mech-Viz, and copy the following files:

    • MM.h

    • MM_Auto_Calib.pcs

    • MM_Module.pcs

    • sample.pcs

  3. Open the USB flash drive and find the folder Source Files in the robot backup folder. Paste the program files into the folder.

Load the Program Files to the Robot

  1. Plug the USB flash drive into the robot controller.

  2. In the “Project files” window of the teach pendant, tap Read.

    read 1
  3. In the pop-up “Project Data” window, select Program and then tap OK.

    read 2
  4. In the pop-up “Read USB” dialogue box, tap OK.

    read 3
  5. Wait a moment. The “System message” dialogue box will pop up after the system finishes reading. Tap OK.

    read 4

Test Standard Interface Communication

Before testing the Standard Interface communication between the robot and the vision system, make sure that the interface service is started. Then, run a test program on the teach pendant to test the Standard Interface communication.

  1. Turn the key of the teach pendant to AUTO (the automatic mode).

    auto mode
  2. Tab Program on the main interface of the teach pendant.

    test 1
  3. Select sample.pcs on the program list. Then, tab Display.

    test 2
  4. Tab Start on the interface.

    test 3
  5. In the pop-up “Run Program” dialogue box, select Single-cycle, and then tab OK.

    test 4
  6. If Standard Interface communication between the robot and Mech-Vision is set up successfully, the arrow will stay at the End Sub line.

    test success
  7. If the Standard Interface connection fails, the error information Connection failed will pop up in the teach pendant. Please troubleshoot communications problems.

    test fail

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.