Managing a Large Number of Recipes in the Robotiq Palletizing Solution
Methods to simplify recipe handling when the drop-down list becomes unmanageable
Context :
Managing a large number of recipes requires the use of the drop-down menu in the Robotiq Palletizer node. However, this menu does not support sorting or searching, which can make recipe selection time-consuming or error-prone.
Here are two practical methods to make recipe management easier and more efficient.
Option 1: Recommended : Split Recipes Across Multiple Programs
To simplify navigation, you can split your recipe setup into several robot programs. Each program can then contain a shorter, more manageable recipe list in its drop-down menu.
-
Easy to implement and maintain
-
Reduces clutter in each program
-
Recommended when operator input is required for recipe selection
Option 2: Automate Recipe Selection via Script and PLC
For automated workflows, a script-based workaround allows the robot to select the recipe based on external input, such as a PLC signal sent through Modbus.
This approach uses a legacy script that is not officially supported by Robotiq and must be tested thoroughly before deployment.
Runtime Behavior
-
At startup with an empty pallet: recipe selection may change automatically based on the Modbus signal.
-
At startup with boxes on the pallet: the pallet viewer’s recipe takes priority (ideal for crash recovery).
-
After a pallet completes: the script re-checks Modbus inputs and updates the recipe accordingly.
Script Functionality
In this workaround, the left_recipe and right_recipe variables are linked to Modbus register statuses. In the provided example, output registers and the robot’s local address (127.0.0.1) are used for testing purposes.

Values from these registers are fed to the dynamicRecipeChange() script function :

The function dynamicRecipeChangeAllow(True) must be placed in the “Add after pallet” section of the palletizer node.
The DynamicRecipeChangeNew script file also contains the get_PLC_values() function:
Since Modbus limits values to numbers, the PLC input can be formatted using str_cat() to build a recipe name by adding letters.
Alternatively, if statements can be used to associate a numerical value with a specific recipe name.
Script Download
The script is available here:
Download DynamicRecipeChange Script
Conclusion
To manage a large number of recipes efficiently, you can either divide them across multiple programs or automate recipe selection using a PLC and custom script. Choose the method that best matches your operational needs and technical resources.
Need help? Contact us at support@robotiq.com
Updated: January 2026
