TM Setup Instructions

This section introduces the process of loading the Standard Interface program onto 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 version of the Mech-Center you use is 1.6.1 or above.

  3. You have known the IP address of the robot, e.g., 192.168.2.10.

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_setup_icon1, and wait for the corresponding robot ID to appear in the window.

    ../../../../_images/tm_interface_program_getcontrol11.png
  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.

    ../../../../_images/tm_interface_program_getcontrol21.png
  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.

    ../../../../_images/tm_interface_program_getcontrol31.png
  5. Click Get Control to control the robot.

    ../../../../_images/tm_interface_program_getcontrol41.png

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

    ../../../../_images/tm_interface_program_getcontrol51.png

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.

../../../../_images/tm_setup_instructions_lan2.png

Set the IP Address of the IPC

Attention

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.

  2. Open TMflow, click tm_setup_icon1, and wait for the corresponding robot ID to appear in the window.

    ../../../../_images/tm_interface_program_getcontrol11.png
  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.

    ../../../../_images/tm_interface_program_getcontrol21.png
  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.

    ../../../../_images/tm_interface_program_getcontrol31.png
  5. Click Get Control to control the robot.

    ../../../../_images/tm_interface_program_getcontrol41.png

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

    ../../../../_images/tm_interface_program_getcontrol51.png

Load the Program Files

The example below uses an IPC to load the program files, and 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. Copy the program files to the USB flash drive. The files are stored in the Robot_Interface/Robot_Plugin/TM_Plugin_and_Play/TM_Export folder.

    Attention

    Please copy the entire TM_Export folder to your 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

Hint

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_setup_icon2 icon in the upper left corner of the window, and select System ‣ Backup\Restore.

    ../../../../_images/tm_backup11.png
  2. Click Backup, enter a File Name for the backup file, and then click Backup.

    ../../../../_images/tm_backup21.png

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

    ../../../../_images/tm_backup31.png

Load the Files to the Robot

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.

  1. Open the TMflow software, click tm_setup_icon2 and then select System ‣ Import/Export.

    ../../../../_images/tm_setup_instructions_load17.png
  2. Click Import in the upper left corner. Select the program file TM000249_AC173610 in the Robot List pop-up window and click OK.

    ../../../../_images/tm_setup_instructions_load21.png
  3. 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.

    ../../../../_images/tm_setup_instructions_load31.png
    ../../../../_images/tm_setup_instructions_load41.png
  4. 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.

    ../../../../_images/tm_setup_instructions_load51.png
    ../../../../_images/tm_setup_instructions_load61.png
  5. 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.

    ../../../../_images/tm_setup_instructions_load71.png
  6. Click Import in the lower right corner of the window, and click OK in the pop-up window after the import is completed.

    ../../../../_images/tm_setup_instructions_load81.png
    ../../../../_images/tm_setup_instructions_load91.png
  7. Click tm_setup_icon2, and select Setting ‣ Component.

    ../../../../_images/tm_setup_instructions_load101.png
  8. Select all the components and click Save.

    ../../../../_images/tm_setup_instructions_load111.png
  9. Unplug the USB flash drive from the IPC after you have completed the above steps.

Test Robot Connection

  1. Click tm_setup_icon2 and select Project to open the window as shown below.

    ../../../../_images/tm_setup_instructions_test1.png
  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.

    ../../../../_images/tm_setup_instructions_test2.png
  3. Drag the MM init node into the Flow Editing Area.

    ../../../../_images/tm_setup_instructions_test3.png
  4. Click the tm_interface_program_icon4 icon on the upper left corner of the mm_v01_init1 node.

    ../../../../_images/tm_setup_instructions_test3_1.png
  5. Click send, and select vision3D_mm_mm_v01_init1_ntd_mm in the Network window.

    ../../../../_images/tm_calibration_program81.png
    ../../../../_images/tm_calibration_program91.png
  6. Click + in the Device window.

    ../../../../_images/tm_calibration_program101.png
  7. Enter the IP address of the IPC in the Add Device window and click OK.

    ../../../../_images/tm_calibration_program111.png
  8. Open Mech-Center, and go to Deployment Settings ‣ Mech-Interface and configure the settings as shown in the figure below.

    Hint

    If you are connecting a TM robot for the first time or there is no TM robot in Mech-Center’s Listed Robot window, please refer to Configure the Robot and import a corresponding robot model in Mech-Viz, and then restart Mech-Center.

    ../../../../_images/tm_setup_instructions_test4.png
  9. 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.

    ../../../../_images/tm_setup_instructions_load161.png
  10. Then press the Run button on the Robot Stick, and the program will be run after three beeps.

  11. Click Start interface in Mech-Center to enable the interface service.

  12. The robot is successfully connected if Mech-Center’s Log panel displays the following messages:

    • Start TCP Server interface.

    • The client xxx gets online.

    ../../../../_images/tm_setup_instructions_test5.png
  13. After you complete the testing, press the Stop button on the Robot Stick.

Appendix

Modify the IP Address of the Robot

  1. Click tm_setup_icon2, and select System ‣ Network.

    ../../../../_images/tm_setup_instructions_lan11.png
  2. Set the IP Address and Subnet Mask in the Network setting window. Please make sure that IP addresses of the robot and the IPC belong to the same subnet.