Auto-Switch Tool

Project Introduction

The example demonstrates how to auto-switch the tool in a scenario where small sheet metal is randomly stacked. The vision system guides the robot to switch to the appropriate tool based on different pick points, enabling smart picking in deep bins and ensuring a high bin clearance rate.

The operation effect is as follows:

auto switch tool demo

Application Scenario

In the following situations, it is often necessary to use the Change Tool Step to auto-switch the tool.

  • Use the same tool to pick target objects in multiple ways. If you want to pick a ring, you can do so by expanding the claw gripper inside the ring or by closing it outside.

different methods to pick
  • Pick target objects with different tools. For example, you need to use different claw grippers to pick brake discs that are randomly placed on the front or back side.

The example demonstrates the effect of using the same tool to pick target objects in multiple ways.

Prerequisites

  1. In the Master-Control communication mode, configure control logic for the regular tool in the project resource tree.

    1. In the project resource tree, click add tool icon on the right side of Tools, open the Tool Configuration window , add the tool, and complete relevant settings.

    2. Click the Configure control logic for regular tool and complete relevant configurations.

      • Add the action names shared by all tools in Global tool action.

      • Independently configure DO signals for the corresponding tool actions of different tools in Configure action.

        configure regular tool control logic
  2. Configure the correspondence between pick points and tools in the target object editor.

    When setting the pick point, you can enable the required tools from Tool list to facilitate previewing the relative positions of the tools and pick points in the target object editor.
    configure tool list
  3. If using a standard interface program or Adapter for communication, you need to write a program for the robot end. This example project comes with example programs. Please download them from the software installation directory at Communication Component/Robot_Interface/FANUC/sample/MM_S7_Viz_SwitchTCP. For more information about example programs, please refer to Example Programs.

Workflow Description

  • In the Standard Interface or Adapter communication mode, the position of the Change Tool Step in the workflow is shown below.

    example workflow 1
  • In the Master-Control communication mode, the workflow is shown below. Compared to the workflow in the Standard Interface and Adapter communication modes, Execute Tool Action is added to perform the corresponding tool actions.

    example workflow 2

    Key steps and their features in the workflow are listed in the table below.

    No. Step Feature

    1

    Change Tool

    Auto-switch to the appropriate tool

    2

    Execute Tool Action

    Adjust the corresponding tool to the initial pick state

    3

    Execute Tool Action

    Use the corresponding tool to execute the pick command

    4

    Execute Tool Action

    Use the corresponding tool to execute the place command

Parameter Description

  • The Change Tool Step

    In the step parameter area, set Operation Mode to Auto-switch to appropriate tool, and select Limit Tools in Use as needed. If not selected, the software will attempt to switch to the appropriate tool by trying all enabled tools in the target object editor.

    parameter tuning 1
  • The Execute Tool Action Step

    This Step can only be used in the Master-Control communication mode.

    Select the appropriate tool action for the stage from the drop-down menu of the Tool Action Name. Select Send to Robot in the Master-Control communication mode.

    parameter tuning 2

Notes

To apply this example in actual production, you can modify and configure the project based on the following notes to quickly put it into use.

  • Close vision records, and call the corresponding Mech-Vision project to obtain vision results by the Vision Recognition Step.

  • Configure Scene objects and Tools models.

  • Configure collision detection parameters.

  • If the Standard Interface communication is used, you can refer to Example Programs to write a program for the robot end.

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.