Quick Facts of Adapter

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.

Introduction to Adapter

Adapter is an integrated component used for communication with Mech-Vision and Mech-Viz. It establishes gRPC communication with Mech-Vision and Mech-Viz via Basic API interfaces, and enables communication with external devices over common industrial protocols, such as TCP/IP Socket, HTTP, and Mitsubishi PLC MC Protocol.

mech interface architecure

Adapter Functions

With Adapter, you can:

  • Control Mech-Vision and Mech-Viz internally

    Category Function

    Mech-Vision related

    Start Mech-Vision project and get vision target(s)

    Set Mech-Vision Step parameter

    Read Mech-Vision Step parameter

    Switch Mech-Vision recipe

    Mech-Viz related

    Start Mech-Viz project

    Stop Mech-Viz project

    Set Mech-Viz Step parameter

    Read Mech-Viz Step parameter

    Set serial number of the gripper

    Set the robot velocity

    Set point cloud collision parameters

    Obtain the running status of Mech-Viz

  • Enable non-vision functions such as user interface customization, database creation, file reading and writing, and communication with the Web system

    You will need to program in Python to enable these functions on external services.

Adapter Development

Mech-Vision provides an Adapter Generator to help beginners generate an Adapter program rapidly and then build an Adapter project. For details on the Adapter Generator, refer to Adapter Generator Guide.

You can program based on the generated Adapter program., or you can program Adapter from scratch.

Deployment of an Adapter Project

After programming the Adapter, you can deploy the program in the project:

  1. Click Robot Communication Configuration on the toolbar of Mech-Vision.

  2. Complete the following settings in the Robot Communication Configuration window.

    1. Select a robot model, and click Next.

    2. Select Adapter for Interface service type.

    3. Click adapter generator 20 in the text box of Adapter project directory. Select an Adapter project file in the pop-up file browser.

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

    5. Click the Apply button.

    adapter generator 19
  3. Make sure the Interface Service is started: The “Robot Communication Configuration” switch on the toolbar of Mech-Vision is flipped and turned to blue.

    adapter generator 21

Now, you have finished creating an Adapter project.

After reading this section, you can generate your first Adapter program according to Adapter Generator Guide.

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.