Build a Workflow

You are currently viewing the documentation for the latest version (2.1.2). 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.

After configuring the project resources, you can start to build the workflow.

Introduction

The workflow refers to the robot motion control program built in the flowchart form in Mech-Viz. Mech-Viz uses a graphical way to build workflows.

A workflow is formed by many Steps, and each Step represents a different robot programming module. You can select the Step you need in the Step library, drag it to the workflow editing area and define the logic and process of the program by setting parameters and connecting Steps, so as to create the logic to control the robot.

Mech-Viz provides plenty of Steps to meet the requirements of various industrial scenarios, such as robot motion control, vision system connection, vision result processing, DI/DO control, logical topology, logical judgment, picking, depalletizing, and communication.

Basic Procedures for Using Steps

Objectives Description

Search for a Step

Enter a keyword in the search box at the top of the Workflow panel or look in the relevant category for the Step you want.

Add a Step

Drag the Step from the Step library to the graphical programming workspace.

Delete a Step

Select the Step you want to delete and then press the Delete key; or right-click the Step you want to delete and select Delete in the context menu.

Connect Steps

Move the cursor onto the exit port of a Step and then drag the cursor to the entry port of another Step.

Delete a Connection between Steps

Click the connection you want to delete and then press the Delete key. Or you can select the connection, right-click it, and then select Delete in the context menu.

Customize Description of the Step

Right-click a Step and select Custom Description in the context menu.

How to Build a Workflow

Usually, the robot motion path is formed by multiple waypoints. This section is a introduction to how to build a simple workflow with a path formed by two waypoints.

Follow these steps below to build the workflow:

  1. Open Mech-Viz, click New blank project and select one robot model in the robot model library.

    Skip the first step if you have already created a Mech-Viz project.
  2. Select Workflow in the bottom-right corner of the functional panels.

  3. Find the “Fixed-Point Move” Step under the Basic Move category in the Workflow panel and then drag it to the right graphical programming workspace.

  4. View the initial angles of robot joints under the JPs parameter on the right side. You can adjust the position of a joint by dragging the corresponding slider, and see the changes of robot pose accordingly in the 3D simulation area. The pose after adjustment can be taken as a waypoint.

  5. Connect the start icon with Fixed-Point Move_1. Click Simulate button in the upper-left corner of the software interface. The robot will move to the waypoint you set before.

  6. Add another waypoint. Similarly, drag the Fixed-Point Move Step in the Workflow panel to the graphical programming workspace. Then, adjust the angle of a joint. Connect the output port of Fixed-Point Move_1 with the input port of Fixed-Point Move_2 and then click the Simulate button. The robot will move from one waypoint to another.

  7. Connect the output port of Fixed-Point Move_2 with the input port of Fixed-Point Move_1 for a circular execution. The built workflow is as shown below.

run simulate robot 1
  • Under the standard Interface communication, please do not build an infinite loop logic in the workflow.

  • Under the standard Interface communication, the Steps including Check DI, Set DO, Notify, Set Payload, Execute Tool Action, Stop Workflow and Set Robotiq, etc. cannot be used.

As for building the workflow in complicated scenarios, please refer to Example Projects for more information.

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.