Batch Control Module – Linking Control Recipe Parameters to Variables

Batch Control Module – Linking Control Recipe Parameters to Variables

I am trying to understand Batch Control Module and would like to know what is the best approach for linking control recipe parameter values to variables.

The goal is to automatically create and execute a control recipe based on a master recipe. The procedure itself remains the same, while only the parameter values change between batches.

For example, a mixing process may require adding three different ingredients. The sequence of operations is fixed, but the dosage amount for each ingredient varies depending on the production order.

The desired workflow is:

  1. An ERP system sends the required parameter values (e.g., ingredient quantities) to the SCADA system.
  2. SCADA automatically creates a control recipe from the master recipe.
  3. The received parameter values are assigned to the corresponding recipe variables.
  4. The control recipe is executed with the updated parameters.

Has anyone implemented a similar solution? What is the recommended method for passing parameter values from ERP to SCADA and automatically generating/applying control recipes?