Project Building Workflow

This section outlines the basic workflow and logic for building a measurement project in Mech-Metrics, helping users understand the key steps from creating a new project to completing measurement.

Clarify measurement requirements → create a new measurement project → create a new part → configure measurement features → create a reference frame → start measurement

Clarify Measurement Requirements

Before building a project, determine the basic requirements based on actual production or inspection needs, including the part types to be measured, measurement features, measurement accuracy, and output results. This step helps make later project configuration more targeted and efficient.

Create a New Measurement Project

Create a new measurement project in Mech-Metrics. When creating the project, enter the project name and specify the project path. The project carries all subsequent measurement objects and configurations.

Create a New Part

Add the parts to be measured to the project. If the inline measurement application involves different types of parts, create separate parts and configure a different part ID for each part so that they can be distinguished.

When creating a new part, specify the part name. After the part is created, specify the part type, specify the Mech-MSR solution path, and import the CAD file for the part as a reference object.

You must configure the Mech-MSR solution in advance in Mech-MSR, and configure a Mech-MSR project for each feature to be measured.

Configure Measurement Features

Add measurement features for each part. Measurement features are the specific locations or parameters to be inspected, such as holes, surfaces, and lines. Set the measurement parameters, tolerance ranges, and judgment criteria for each feature to ensure accuracy and completeness of the measurement task.

Create a Reference Frame

Create and configure the reference frame according to measurement requirements. Proper reference frame settings help ensure accuracy and consistency of measurement data.

Start Measurement

Before starting measurement, make sure the following configuration is complete:

  • In Mech-MSR, a Mech-MSR solution has been configured for the Mech-Metrics project, and a Mech-MSR project has been configured for all measurement features.

  • In Mech-MSR, standard interface communication (TCP ASCII communication) has been configured and the communication service has been started.

  • On the robot side, robot communication has been configured and the inline measurement program has been prepared.

After completing the above configuration, you can execute commands from the robot side in sequence: start the measurement task, run feature measurement, and end the measurement task.

The following example uses a network debugging tool to demonstrate the measurement process.

  1. Open Mech-Metrics and load the configured Mech-Metrics project. Open Mech-MSR and load the configured Mech-MSR solution.

  2. In the Mech-Metrics & Mech-MSR installation directory, go to the Mech-MSR/center/tool folder and double-click NetAssist.exe to open the network debugging assistant.

  3. In the Network Settings area in the upper left, set Protocol Type to TCP Client. Then set Remote Host Address and Remote Host Port according to the IP address and port of the TCP ASCII service configured in Mech-MSR, and click Connect. In the Data Log area on the right, a log entry indicates that the server is connected.

  4. In the Data Send area, enter command 801, then click Send to start the measurement task.

    801,1,770B,sn001,2

    If the message is sent successfully, the Data Log area displays 801,8100,0. In the log panel of Mech-Metrics, you can see the log message "Measurement started. Part name: 770B".

  5. In the Data Send area, enter command 802, then click Send to run feature measurement.

    802,1,1,10,20,30,40,50,60,100,200,300,0,180,0

    If the message is sent successfully, the Data Log area displays 802,8101. In the log panel of Mech-Metrics, you can see the log messages "Feature (xxx) of part (770B) is being measured" and "Feature (xxx) of part (770B) measurement completed".

  6. In the Data Send area, enter command 803, then click Send to end the measurement task and obtain the measurement result.

    803,1

    If the message is sent successfully, the Data Log area displays 803,8102,1,xx,xx,xx. In the log panel of Mech-Metrics, you can see the log message "Part (770B) measurement completed. Result: xx".

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.