Set up Standard Interface Communication with TOPSTAR

You are currently viewing the documentation for a pre-release version (2.2.0). To access documentation for other versions, click the "Switch Version" button located in the upper-right corner of the page.

■ If you're unsure about the version of the product you are using, please contact Mech-Mind Technical Support for assistance.

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

In this section, you will load the robot 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

Controller Version:

  • T: 3.1.11.0

  • M: 2.2.5.0

  • P: 3.205.0.4

  • K:xos_ms36_l_v1.4.1

Teach Pendant Version: X-View: 3.1.14.2083

Procedure for checking version information:

  1. Launch the X-View robot interface software (using version v2.2.3 as an example).

    topstar xview
  2. From the User Level drop-down list, select User Level 4.

    user level
  3. Enter the password 0920.

    user pwd

    If a System Warning dialog box appears, click OK.

    warn popup
  4. Click Square Grid to enter the main interface, select the System module, and then click Version.

    ver info
  5. Open the page to view the software and hardware version information.

    all info

Set up the Network Connection

Connect the Hardware

Insert one end of the network cable into the industrial PC’s network port and the other end into the robot controller cabinet motherboard’s Ethernet port, as shown in the figure below:

insert ethernet

When connecting the industrial PC, you must use the Ethernet port; do not connect the network cable to the EtherCAT port!

Set the IP Address

Establish a network connection via the X-View as follows:

  1. Launch the X-View, click Square Grid to enter the main interface, select the Robot Params module, then click Comm..

    commu conf
  2. Go to the Comm. page. Under IP options, in the Control section, set the robot’s IP address to be on the same subnet as the industrial PC.

    modify ip

Back up Robot Program Files

PC Mode Backup

  1. Turn the control cabinet selector switch to PC Mode.

  2. Launch the X-View software, then select and switch to Manual Mode from the left sidebar menu.

  3. Select the programs to be backed up, then click the Export button at the bottom.

  4. In the pop-up dialog box, modify the exported program name (if necessary), then click OK to export the program as a backup.

TP Mode Backup

  1. Turn the control cabinet selector switch to TP Mode.

  2. Prepare a blank USB flash drive, create a new folder named USB in the root directory, and then insert it into the USB port on the control cabinet.

    Only a folder named USB can be recognized; do not use any other naming convention.

  3. Select and switch to Manual Mode on the left menu of the teach pendant.

  4. Select the programs to be backed up, then click the Export button at the bottom.

  5. A window will pop up allowing you to edit the name of the exported program; click OK to export the program as a backup.

Set up Robot Communication Configuration

  1. Open Mech-Vision. 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. It is recommended to set the port number to 50000 or above. Ensure that the port number is not occupied by another program.

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

    4. Click Apply.

  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

Prepare Program Files

Software Flashing (PC mode) File Preparation

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

  2. Copy the following files into the USB folder located in the root directory of the X-View.

    • MM_Auto_Calib.lua

    • MM_COMTEST.lua

    • MM_Module.lua

    • MM_S1_Vis_Basic.lua

    • MM_S2_Viz_Basic.lua

    • MM_S3_Vis_Path.lua

Teach Pendant (TP mode) Import File Preparation

  1. Prepare a blank USB flash drive (formatting is recommended).

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

  3. Insert the USB flash drive into the industrial PC and copy the following files to the root directory of the USB drive.

    • MM_Auto_Calib.lua

    • MM_COMTEST.lua

    • MM_Module.lua

    • MM_S1_Vis_Basic.lua

    • MM_S2_Viz_Basic.lua

    • MM_S3_Vis_Path.lua

  4. Then, unplug the flash drive.

Load the Program Files to the Robot

Flashing can be performed in two ways: software flashing and import via the teach pendant, corresponding to the controller cabinet’s supported PC mode and TP mode.

usb file
  • For software flashing (PC), copy the files from the USB flash drive to the software installation directory.

  • For teach pendant import (TP), copy the USB folder to the USB flash drive (the USB flash drive must be empty).

Software Flashing (PC) Steps

  1. Turn the control cabinet selector switch to PC Mode.

    pc switch
  2. Confirm that the flashing program already exists in the USB folder under the software root directory.

    topstar xview usb
  3. Launch the X-View and go to the USB directory page, where you can browse all programs in the USB folder.

    lua catalog
  4. Click the main tab to open the Comm. edit page. If a prompt appears in the lower-left corner of the page: “In Remote mode, program list operations are disabled!” Please turn off Remote mode before proceeding with the steps.

    modify warn
  5. To switch Remote mode, click the Hand icon in the top menu bar of the software interface. In the pop-up window, click Remote Mode to complete the switch.

    modify remote
  6. Click main again to enter the interface, then click USB directory.

    main catalog
  7. Select each flashing program in turn, click Import, then in the pop-up window click Lua Program to import.

    Note: When importing the MM_Module.lua program, select the Library.

    lua import

Teach Pendant Import (TP) Steps

  1. Turn the control cabinet selector switch to TP Mode.

    tp switch
  2. Log in to the teach pendant; the user password is 0920.

    user 1 pwd

    If a System Warning pop-up appears, click OK.

    user 1 warn
  3. Insert the USB flash drive into the teach pendant.

    usb insert
  4. Enter the main interface and click USB directory.

    user 1 catalog
  5. Select each flashing program in turn, click Import, then in the pop-up window click Lua Program to import.

    Note: When importing the MM_Module.lua program, select the Library.

    user 1 import

Test Standard Interface Communication

  1. In the X-View software interface, click main and select MM_COMTEST.lua from the program list.

    lua catalog
  2. Enter the MM_COMTEST.lua program page and modify the IP address and port number. Then, in the software interface, click the robot icon in the upper-right corner and, from the Trigger menu, click Compile.

    test commu
  3. Switch to Debug Mode, then click MM_COMTEST.lua again to open the edit page.

    switch mode
  4. Place the cursor on the first line of the program page, then click the Run button in the CONTROL area at the bottom-rightplay of the software interface; the robot will start executing the program.

  5. When the connection is successful, Mech-Visionthe returned status information is as shown in the figure below:

    vision center log

The connection test is for testing purposes only; once successfully established, the connection will automatically disconnect. You can view the Client connected and Client disconnected logs on the Console tab of the Mech-Vision Log window.

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.