Set up Standard Interface Communication with TM

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 topic introduces the process of setting up the Standard Interface communication with a Techman (TM) robot.

Prerequisites

Before you perform any operation on the TM robot, please make sure that the following requirements have been met:

  1. The controller software (TMflow) version is 1.84 or above.

  2. The versions of the Mech-Vision and Mech-Viz are 1.6.1 or above.

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

Get Control of the Robot

There are two ways to control the robot, and you can choose either one according to the actual situation.

Control the Robot via the Controller

  1. Connect the monitor, keyboard, and mouse to the controller through the controller’s USB and HDMI ports accordingly.

  2. Click tm interface program icon1, and wait for the corresponding robot ID to appear in the window.

    tm interface program getcontrol1
  3. Connect the robot in any of the following ways:

    • Double-click the robot icon

    • Double-click the robot ID

    • Double-click the IP address of the robot

      tm interface program getcontrol2
  4. Enter your ID and password in the Log in window, and click OK. You can use the default ID administrator to log in without a password.

    tm interface program getcontrol3
  5. Click Get Control to control the robot.

    tm interface program getcontrol4

    If the robot is controlled successfully, the window will be as shown below.

    tm interface program getcontrol5

Control the Robot via the IPC

Connect Hardware

Plug the Ethernet cable into the LAN port of the robot controller to connect it with the IPC.

tm setup instructions lan

Set the IP Address of the IPC

Set the IP addresses of the IPC and robot to be in the same subnet. Or else the robot cannot be connected successfully.

Control the Robot with the IPC

  1. Download and install the TMflow software on your IPC from Techman Robot’s website.

    If the robot brand is Omron TM, please download TMFlow 1.8.4 or above from the Omron official website and complete the upgrade process.
  2. Open TMflow, click tm interface program icon1, and wait for the corresponding robot ID to appear in the window.

    tm interface program getcontrol1
  3. Connect the robot in any of the following ways:

    • Double-click the robot icon

    • Double-click the robot ID

    • Double-click the IP address of the robot

      tm interface program getcontrol2
  4. Enter your ID and password in the Log in window, and click OK. You can use the default ID administrator to log in without a password.

    tm interface program getcontrol3
  5. Click Get Control to control the robot.

    tm interface program getcontrol4

    If the robot is controlled successfully, the window will be as shown below.

    tm interface program getcontrol5

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

Load the Program Files

The example below uses an IPC to load the program files. The method to load the program files with a controller is similar.

Prepare the Files

  1. Plug the USB 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. Navigate to Mech-Center\Robot_Interface\Robot_Plugin\TM_Plugin_and_Play\TMFlow from the installation directory of Mech-Vision & Mech-Viz. Copy the TM_Export folder and paste it to the USB flash drive.

  4. Plug the USB flash drive with the program files into the USB port of the robot controller.

Back up Robot System Files

It is recommended to back up robot system files before loading Standard Interface program files to avoid system corruption that may be caused by the loading operation. In case any issue occurs, you can use the backup file to restore the robot system.

  1. Open the TMflow software, click the tm interface program icon2 icon in the upper left corner of the window, and select System  Backup\Restore.

    tm backup1
  2. Click Backup, enter a File Name for the backup file, and then click Backup.

    tm backup3

    If you need to restore the robot system with the backup file, click Restore and then Restore.

    tm backup4

Load the Files to the Robot

  1. Before loading the files to the robot, please 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
  2. Open the TMflow software, click tm interface program icon2 and then select System  Import/Export.

    tm setup instructions load1
  3. Click Import in the upper left corner.

    tm setup instructions load1 1
  4. Select the program file TM000249_AC173610 in the Robot List pop-up window and click OK.

    tm setup instructions load1 2
  5. Click Project, and select all three files in sequence in the Select files panel, and then they will appear in the Selected files panel on the right.

    tm setup instructions load2
    tm setup instructions load3
  6. Click Component, and select all six files in sequence in the Select files panel, and then they will appear in the Selected files panel on the right.

    tm setup instructions load4
    tm setup instructions load5
  7. Click Global Variable, and select all files in sequence in the Select files panel, and then they will appear in the Selected files panel on the right.

    tm setup instructions load6
    tm setup instructions load7
  8. Click Import in the lower right corner of the window, and click OK in the pop-up window after the import is completed.

    tm setup instructions load8
  9. Click tm interface program icon2, and select Setting  Component.

    tm setup instructions load9
  10. Select all components and click Save.

    tm setup instructions load10
  11. Unplug the USB flash drive from the IPC after you have completed the above steps.

Test Robot Connection

  1. Click tm interface program icon2 and select Project to open the window below.

    tm setup instructions test1
  2. Click the tm interface program icon3 icon in the upper left corner of the window, and enter a name for the project in the pop-up window, and then click OK.

    tm setup instructions test2
  3. Drag the MM init node into the Flow Editing Area.

    tm setup instructions test3
  4. Click the tm interface program icon4 icon in the upper left corner of the mm_v01_init1 node.

    tm setup instructions test3 1
  5. Click the icons one by one as in the image below.

    tm calibration program8
    tm calibration program9
    tm calibration program10
  6. Enter the IP address of the IPC in the Add Device window and click OK.

    tm calibration program11
  7. Press the M/A button on the Robot Stick until you hear a beep, which suggests that the Manual mode has been disabled. Press the buttons + - + + - in sequence, and the blue Auto light will be on, suggesting that the robot has been switched to the Auto mode.

    tm setup instructions load20
  8. Then press the Run button on the Robot Stick, and the program will be run after three beeps.

  9. If the robot is connected successfully, the Console tab of Mech-Vision’s Log panel will display a note.

    vision center log
  10. After you complete the testing, press the Stop button on the Robot Stick.

Appendix

Modify the IP Address of the Robot

  1. Click tm interface program icon2, and select System  Network.

    tm setup instructions lan1
  2. Set the IP Address and Subnet Mask in the Network setting window. Please make sure that the IP addresses of the robot and the IPC belong to the same subnet.

    tm setup instructions lan2

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.