Set up the Standard Interface Communication

You are currently viewing the documentation for the latest version (2.1.1). 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 how to load the Standard Interface program files to a TM robot that has TMflow 2 as the controller software, and set up the Standard Interface communication between Mech-Mind Vision System and the robot.

Preparations

Before you proceed, make sure that the following requirements are met:

  • The controller software (TMflow) version is 2.18.

  • The robot IP address, e.g., 192.168.2.10, is obtained.

Control the real robot

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

  2. In the IPC, set the IP address of the IPC.

    To allow communication between the IPC and the robot controller, the IP addresses of the IPC and robot controller must reside in the same subnet. This means that the network portions and subnet masks of the IP addresses should be the same. For example, 192.168.100.169/255.255.255.0 and 192.168.100.170/255.255.255.0 are in the same subnet.
  3. On the IPC, download and install TMflow 2.

  4. Open TMflow, perform the operations shown in the following figure, and then wait for the robot information to appear in the connection interface. In this example, Simulator (TM5X-700) is used.

    tm2 1
  5. Click the tm2 2 icon. In the login interface, input the username and password (the default username is Administrator and the default password is empty) and click OK.

    tm2 3
  6. If the control of the robot is obtained, the control status is Release Control.

    tm2 4

Set up “Robot Communication Configuration”

  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. Under Robot integration, click Open program folder.

      The files needed for subsequent loading will be copied from this folder. Do not close this folder.
    5. (Optional) Select Auto enable interface service when opening the solution.

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

Load the Program Files

  1. Plug the flash drive into the USB port of the IPC.

  2. Rename the USB flash drive to TMROBOT, or else the USB flash drive cannot be recognized by the robot controller.

  3. In the opened program folder (the TM_Plugin_and_Play folder), open the TMFlow2 folder, copy the TM_Export folder to the flash drive, and then unplug the flash drive.

    You can also find the program folder in the Communication Component/Robot_Interface/TM_Plugin_and_Play/TMFlow2 path in the installation directory of Mech-Vision and Mech-Viz.

  4. Plug the USB flash drive into the USB port of the controller.

  5. Press and hold the M/A button on the Robot Stick to switch the robot to the Manual mode (the green Manual light is on). Please skip this step if the robot is already in the Manual mode.

    tm setup instructions load
    tm2 6
  6. In TMflow, perform the operations shown in the following figure to go to the Import/Export interface.

    tm2 7
  7. Click Import, select the program folder (TM000249_AC173610), and then click Select.

    tm2 8
  8. Select Project  Whole Project and select all files on the Select files tab. All selected files will be displayed on the Selected files tab.

    tm2 9
    tm2 10
  9. Select Configuration  Component and select all files on the Select files tab. All selected files will be displayed on the Selected files tab.

    tm2 11
    tm2 12
  10. Select Project  Global Variable and select all files on the Select files tab. All selected files will be displayed on the Selected files tab.

    tm2 13
    tm2 14
  11. Click Import in the lower right corner of the window, and click OK in the pop-up window after the import is completed.

    tm2 15
  12. Perform the operations described in the following figure to go to the Component List interface.

    tm2 16
  13. Enable the Status option for all components, as shown in the following figure. Then, click Save.

    tm2 17
  14. After you complete the preceding operations, unplug the flash drive.

Test Robot Connection

  1. In TMflow, perform the operations shown in the following figure to create a file.

    tm2 18
    tm2 19
  2. Drag MM init from the left-side Components section to the canvas.

    tm2 20
  3. Select mm_v201_init1 and click the edit icon in the top-left corner.

    tm2 21
  4. Select send and click the edit icon.

    tm2 22
  5. Click Select.

    tm2 23
  6. Click the add icon in the top-right corner.

    tm2 24
  7. Select vision3D_mm_mm_v201_init1.ntd_mm and click the edit icon. In the pop-up dialog box, set IP and Port. In the pop-up dialog boxes, click OK.

    • You must set IP to the IP address of the IPC.

    • You must set Port to the port number that is specified in Mech-Vision.

    tm2 25
  8. Select the run key on the Robot Stick to start running the application. After the running stops, press the stop key on the Robot Stick.

    tm calibration program12
  9. If the robot is connected successfully, the Console tab of the Log panel of Mech-Vision will display a record.

    vision center log

Is this page helpful?

You can give a feedback in any of the following ways:

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.