You build a recipe in SIMATIC Batch by first defining your plant model and units in the batch configuration, then creating a master recipe in the Recipe Editor. You assemble it from operations and phases, set parameters, and verify it before release. A clear structure up front saves a lot of rework later. Below, we answer the five questions beginners ask most often.

What do you need in place before writing a recipe?

Before writing a recipe in SIMATIC Batch, you need a working plant model, a configured batch server, and equipment phases that exist in the underlying automation project. Without these building blocks, the recipe has nothing to execute. Think of the recipe as the instruction set and the equipment as the hands that carry it out.

Make sure these prerequisites are ready:

  • A plant hierarchy: the process cell, units, and equipment modules defined in your engineering project.
  • Equipment phases: the control logic for actions such as dosing, heating, or agitating, already programmed and tested at the control level.
  • Materials and parameters: a clear list of ingredients, setpoints, and tolerances from your process or quality team.
  • The process description: a written outline of the production steps in the order they should happen.

Spend time with the process engineers before opening the editor. A recipe is only as good as the process knowledge behind it.

How is a SIMATIC Batch recipe structured?

A SIMATIC Batch recipe follows the ISA-88 model and has three main levels: the procedure, the unit procedures, and the operations, with phases at the lowest level. Each level groups logic in a readable way, so you can see what the batch does from a high-level overview down to individual equipment actions.

Here is how the layers fit together:

  • Recipe procedure: the overall sequence for the batch, from start to finish.
  • Unit procedure: the part of the recipe that runs on one unit, such as a reactor or mixing tank.
  • Operation: a logical block of work within a unit, such as “charge,” “heat,” or “discharge.”
  • Phase: the smallest step, linked to an equipment phase in the control system.

A recipe also contains a header with general information, transitions that define when a step ends, and parameters that hold setpoints, quantities, and limits. Because parameters sit in the recipe rather than in the code, you can adjust a product without touching the control logic.

How do you create your first recipe step by step?

You create your first recipe by opening the Recipe Editor, creating a new master recipe, building the structure in the Recipe Editor, assigning phases, setting parameters, and then saving and releasing it. Start small, with a simple recipe that has one unit and a few phases, and expand once the basics work.

  1. Create the master recipe. Open the Recipe Editor, add a new master recipe, and fill in the header with a name, version, and batch size range.
  2. Define the procedure. Add the unit procedure and link it to the unit class it will run on.
  3. Add operations. Break the process into logical blocks, for example filling, mixing, heating, and emptying.
  4. Insert phases. Place the equipment phases inside each operation and link them to the available phases in your plant model.
  5. Set parameters. Enter setpoints, material quantities, tolerances, and time limits for each phase.
  6. Define transitions. Set the conditions that must be true before the recipe moves to the next step, such as a temperature being reached or a level being confirmed.
  7. Check and save. Run the editor’s consistency check, fix any errors, then save and release the recipe for use.

Keep names consistent and descriptive from the start. Clear naming makes recipes far easier to maintain once you have dozens of them.

What are common mistakes beginners make with batch recipes?

The most common beginner mistakes are skipping process knowledge, hard-coding values that belong in parameters, overloading a single operation, and ignoring failure scenarios. These issues rarely show up while building, but they cause trouble during testing or, worse, in production.

Watch out for these pitfalls:

  • Building without a clear process description: you end up redesigning the recipe when the real process differs from your assumptions.
  • Putting too much in one operation: large operations are hard to read, reuse, and troubleshoot.
  • Forgetting error handling: what should happen if a valve fails or a limit is exceeded? Plan hold and abort behavior early.
  • Inconsistent naming and versioning: unclear names and missing version notes make audits and changes painful.
  • Not planning for reuse: well-designed operations can serve several recipes, saving engineering time.

A good habit is to review your recipe with an operator. They will spot practical problems that never appear on paper.

How can you test a recipe before running it in production?

You can test a recipe before production by running it in a simulated or test environment, stepping through each phase, and checking transitions, parameters, and failure responses. Never release a new recipe straight to the plant. Testing catches logic gaps while mistakes are still cheap to fix.

A solid test approach includes:

  • Simulation: run the recipe against a simulated plant so no real material or equipment is at risk.
  • Step-by-step execution: follow the batch through each phase and confirm it behaves as the process description says.
  • Boundary tests: try minimum and maximum batch sizes and parameter limits.
  • Failure scenarios: trigger holds, aborts, and alarms to confirm the recipe reacts safely.
  • Operator review: let the people who will run the batch walk through it and give feedback.

Document the results and keep the test records with the recipe version. This helps during audits and makes future changes easier to validate.

How CoNet helps with SIMATIC Batch recipes

Building recipes is only one part of a batch project. Real value comes when your batch system also talks to the rest of your factory. As a specialist focused exclusively on Siemens, we support you across the whole lifecycle, from recipe design and engineering to testing, maintenance, and 24/7 support.

Here is what we can do for you:

  • Design and engineer SIMATIC Batch recipes that follow ISA-88 and fit your process.
  • Review your existing recipes and plant model to remove complexity and improve reuse.
  • Connect SIMATIC Batch to your ERP, MES, or cloud applications with Smart Batch Connect, our integration software that offers a modern API layer on top of SIMATIC Batch.
  • Test and validate integrations safely using the mock mode, without needing a live batch installation.
  • Provide ongoing support so your team can focus on production rather than technical troubleshooting.

Want to take your first recipes, or your batch integrations, to the next level? Contact us and we will be happy to think along with you.

Frequently Asked Questions

How do I reuse recipe logic across multiple products in SIMATIC Batch?

Use library operations and library unit procedures, which you define once and reference in multiple master recipes. Keep product-specific values such as setpoints and quantities in parameters rather than inside the logic, so one operation can serve many products. Establish a naming convention and version control for library objects early, because a change to a library item can affect every recipe that uses it.

What is the difference between a master recipe and a control recipe?

A master recipe is the validated, reusable template you create in the Recipe Editor. When you start a batch, SIMATIC Batch creates a control recipe, a specific copy of the master recipe with the actual batch size, material data, and equipment assignments for that run. This means you can run many batches from one master recipe while each batch keeps its own traceable record.

What should I do if the recipe's consistency check reports errors?

Start with the first error in the list, because later errors are often a consequence of earlier ones. Typical causes are phases not linked to an equipment phase, missing parameter values, or a unit class that does not match the plant model. After fixing, re-run the check and compare your recipe with the equipment phase definitions in the batch configuration if the same error returns.

How should I handle recipe changes once a recipe is already released?

Never edit a released recipe directly. Create a new version, make and document your changes, then test and release it through your normal approval process. Keep a short change note with each version describing what changed and why, so audits and troubleshooting are much easier later.

How do I plan hold and abort behavior in a recipe?

Define for each operation what a safe state looks like if something goes wrong, such as closing valves, stopping dosing, or keeping the agitator running. Then make sure the equipment phases support the hold and abort commands you plan to use. Test these scenarios in simulation by deliberately triggering failures, and review the results with an operator before release.

Can I connect SIMATIC Batch to my ERP or MES so recipes and batches are not started manually?

Yes. Instead of building custom interfaces directly on the SIMATIC Batch API, you can use an integration layer such as Smart Batch Connect, which exposes batch functions through a modern API. This lets your ERP or MES create, start, and monitor batches automatically. Start with a single use case, such as starting a batch from a production order, and use a mock mode to test safely before touching a live installation.

What is a good first project for someone new to SIMATIC Batch?

Build a simple recipe with one unit and three or four phases, such as fill, mix, heat, and empty, and run it against a simulated plant. This teaches you the full cycle of structure, parameters, transitions, checking, and testing without the complexity of multiple units or material flows. Once that works reliably, add a second unit, parameters with tolerances, and error handling.

Related Articles

Stay up to date

Related news