Articles Download Safety & Security Forum myUR Go to Main Site

Universal Robots A/S
Energivej 51
DK-5260 Odense S

T: +45 8993 8989
sales@universal-robots.com

 
  • Articles
  • Download
  • Safety & Security
  • Forum
  • myUR
  • Go to Main Site
  • Support
  • Articles
  • Actinav - How to Select Different Tool Actions Based on Pick Type

Actinav - How to Select Different Tool Actions Based on Pick Type

For very particular parts you may need the ability to change your tool actions based on the pick type. This Tech Note shows how to variably adjust your tool action based on the current pick you would like to implement.

Last modified on Feb 24, 2022

Create Date: 23 March 2021

How ActiNav Enables Different Tool Actions

ActiNav provides a variable that can be used to selectively execute different tool actions at Pre-Pick depending on the Pick you would like to execute. This also works at Pick depending on the direction you would like your gripper to actuate towards . Typically parts have features internal on the part that can still be grasped with externally as well as internally. 

 

This method uses the variable ‘Current_Pick’, which is always equal to the name of the Pick Rule used at the last pick.

Step by Step Example

1. Create the Pick and Place combinations

This example has 6 Pick rules with 1 Place Rule.  It is advised to rename your Pick Rules to anything short and easy to remember.  This makes typing in your conditional logic simpler. In this case Top Pick 1 and Top Pick 2 are simplified to T1 and T2.


2. Insert Conditional Logic in Do Pick Under Pre-Pick

Add an If statement to test the value of  “Current_Pick”

 

Test “Current_Pick” for equality to the name of the Pick Rule, in this case “ReGrip Pick”.

You MUST use the Pick Rule Name exactly as it is named in ActiNav Letter by Letter.  Variable names are case sensitive.

If you would like to reference multiple Pick Rule Names you MUST write the expression twice.

Example: If Current_Pick ≟ “Pick_Rule_1” or Current_Pick ≟ “Pick_Rule_2”

This conditional should be a peer, not a child of the sub nodes.

 

3. Set Your Gripper Stroke

Once you have created the condition then set your desired gripper stroke for that particular pick and add either and else if or an else for additional conditionals for the other picks.

In this case for T1 and T2 I would like my gripper stroke at 70 % and for all other picks (Else) set my gripper stroke to 90%.

 

4. Write the Next Conditional for the Direction you would like your Gripper to Actuate towards in the Pick Node.

The same logic above still apples with the same rules. In this case T1 and T2, both are already at 70 % stroke during Pre-Pick.  The following logic will now close my gripper to 100% for T1 and T2.  This Pick is an external grasp.

In the case of all other picks which are at 90 % stroke.  The Else statement is having my gripper move from 90 % to Open (0%).  These Picks are internally grasped.

 

Here is the full program

 

Related articles

ActiNav - Adding a safety laser scanner to a work station
Actinav: Pneumatic Hose Management
Actinav - Creating your own part models with the Einscan SE
ActiNav - Creating a Simplified Part Model using Solidworks
Actinav - Cable Management tech note
ActiNav - Re-grip logic and Sample Progam
End User Software License Agreement (EULA) - ActiNav
Updating ActiNav to the latest version
ActiNav - Integrating a signal light
ActiNav Clearance Shapes Creation and Use
ActiNav v1.3.0 Release
ActiNav Autonomous Bin Picking
Palletizing with ActiNav
Sample ActiNav Program
ActiNav Adding safety laser scanner to ActiNav work cell
ActiNav Remote access - Ixon
ActiNav Rescan - Sample Program
logo

Product

  • UR3e Robot
  • UR5e Robot
  • UR10e Robot
  • UR16e Robot
  • UR20 Robot
  • UR+ Products

Company

  • About us
  • Contact us
  • Careers We're hiring
  • UR merchandise

Training / Resources

  • Academy
  • Technical Resources
  • Articles
  • FAQ

Insights

  • Blog
  • Case stories
  • Content library
  • News centre
  • Podcast
  • Webinars & Events

Get in touch

  • Ask an Expert
  • Schedule a no-cost assessment
  • Find a distributor
  • Customer support

Connect with us

  • LinkedIn
  • Facebook
  • Twitter
  • YouTube
  • Instagram
  • Universal Robots A/S
  • Energivej 51
  • DK-5260 Odense S
  • T: +45 89 93 89 89
  • sales@universal-robots.com
  • US Corporate Office
  • 27-43 Wormwood St.
  • 02210 Boston, MA.
  • +1-844-GO-COBOT
  • ur.na@universal-robots.com
  • Copyright @ Universal Robots 2025
  • Cookie policy
  • Privacy policy
  • Universal Robots A/S
  • Energivej 51
  • DK-5260 Odense S
  • T: +45 89 93 89 89
  • sales@universal-robots.com
  • US Corporate Office
  • 27-43 Wormwood St.
  • 02210 Boston, MA.
  • +1-844-GO-COBOT
  • ur.na@universal-robots.com

Copyright © Universal Robots 2025

Cookie policy
Privacy policy