Workflow

This section describes the complete workflow of the Repair Viewer from deployment to production use.

repair-viewer-workflow

The workflow of the Repair Viewer consists of the following three stages:

  • Deploy the Repair Viewer: Install and enable the Repair Viewer. The operations in this stage are performed only once during deployment.

  • Configure the Repair Viewer: Create a configuration for the repair station, add views and feature annotations, and start the PLC communication service.

  • Production use: The Repair Viewer displays the part measurement results and helps repair operators complete repair operations.

Deploy the Repair Viewer

The operations in this stage need to be performed only once during deployment.

Install the Repair Viewer

The Repair Viewer is installed together with the Mech-Metrics software.

  1. On the secondary IPC, install the Mech-Metrics software suite by referring to Installation Guide.

  2. After the installation is complete, double-click repair_viewer.exe in the Mech-Metrics\bin folder of the installation directory to start the Repair Viewer.

Enable the Repair Viewer

Before using the Repair Viewer, complete the following operations on the primary IPC:

  1. On the primary IPC, start the Mech-Metrics software, click Help  Plugin Manager in the menu bar, and enable the Repair Viewer plugin (plugin name: repair_viewer_service) in the plugin manager.

  2. In the menu bar, click Tools  Repair Viewer Service, and the Repair Viewer Service dialog box will pop up.

    enable service
  3. In the Repair Viewer Service dialog box, set the following parameters:

    • IPC IP: Enter the IP address of the IPC that runs the Mech-Metrics software (that is, the primary IPC).

    • IPC port: Enter the port number monitored by the Repair Viewer service.

    • Enable service: Turn on the switch.

  4. Click OK to enable the Repair Viewer service.

After the service is started successfully, the Mech-Metrics logs will display “Repair Viewer service started” and the related listening address information.

  • The IPC that runs the Mech-Metrics software is the primary IPC, and the IPC that runs the Repair Viewer functions as a secondary IPC. The secondary IPC must create a configuration and connect to the primary IPC before performing subsequent operations.

  • The primary IPC and the secondary IPC can be the same IPC.

Configure the Repair Viewer

After the deployment is complete, create a configuration and complete the related settings for the repair station on the secondary IPC.

Create a Configuration

Start the Repair Viewer on the secondary IPC, and then click New Configuration on the start page. The New Configuration dialog box will pop up.

In the New Configuration dialog box, set the following information:

  • Configuration name: Enter the name of the current configuration. The configuration name cannot be empty and cannot duplicate an existing configuration name.

  • Configuration save path: Click Select to select the save path of the configuration.

  • Primary IPC IP and Primary IPC port: Enter the IP address and port of the primary IPC. The plugin will automatically connect to the primary IPC. If the connection fails, check that the IP address and port are correct.

  • Part name: Click Refresh, and the plugin will retrieve the list of configured parts from the primary IPC. Then select the part corresponding to the current repair station from the list.

    If no part list is retrieved, check that the primary IPC is connected and that parts have been configured in Mech-Metrics.

After the settings are complete, click OK to save the configuration and enter the main interface.

edit configuration

Add Views and Feature Annotations

After entering the main interface, add views and feature annotations for the part as a reference for repair operations.

It is recommended to add Mech-Metrics snapshots as views. After a snapshot is added as a view, the features in the snapshot will be automatically added.

  1. Add views:

    1. Add a Mech-Metrics snapshot to the 3D view or import an external image.

    2. To adjust a view, you can edit the view name, replace the view image, or delete the view.

  2. Add feature annotations:

    1. Click Add Feature in the view, and the plugin will retrieve the feature list of the current part from the primary IPC.

    2. Select a position and click to add the feature to the view, and the plugin will generate the corresponding annotation card.

    3. To adjust an annotation card, you can edit its display name or delete unneeded annotation cards.

view annotation

Start the PLC Communication Service

The Repair Viewer interacts with the PLC device through the PLC communication service.

  1. In the menu bar, click Settings  PLC Communication Service Settings.

  2. In the PLC Communication Service Settings dialog box, set Local IP and Local port, and turn on Enable service.

  3. Click OK to start the PLC communication service.

After the service is started, the PLC Communication Service Status in the status bar will be updated, and the logs will display the listening port information.

The PLC device communicates with the Repair Viewer using the TCP ASCII protocol. The PLC device can send command 805 (query part historical data) to retrieve part measurement data.

Production Use

After the preceding configuration is complete, the Repair Viewer is ready for production use.

During production, the Repair Viewer typically works as follows:

  1. The PLC device triggers a query (command 805), and the Repair Viewer retrieves the measurement data of the specified part from the primary IPC.

  2. The main interface displays the judgment result, measurement results, and feature annotations in the views of the part.

  3. The repair operator clicks NG to filter non-conforming features, locates the areas that require repair based on the annotation cards in the views, and completes the repair operations.

  4. The status bar displays the Part Name, Part SN, Task Started At, and the status of each connection of the current part in real time, helping you monitor the running status of the plugin.

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.