WinCC Runtime Advanced · Recipes · Production Setpoints

WinCC Runtime Advanced Recipe Management: PLC Data Blocks, Recipe Records & Production Setpoints

Build production recipes as controlled data transactions—not uncontrolled HMI writes. Organize PLC recipe structures, engineer Runtime Advanced recipe records, validate limits and use clear load/apply/save handshakes for repeatable machine changeovers.

TIA PortalWinCC Runtime AdvancedS7-1200 / S7-1500Hands-On HMI Engineering

Learning Overview

  • Part 1: PLC recipe data model
  • Part 2: Runtime recipe records
  • Part 3: Safe transfer workflow

Estimated time: 120–180 minutes

Prerequisites / What You’ll Need

  • Defined production parameters and engineering limits
  • PLC DB/UDT structure for recipe values
  • Working HMI communication
  • Operator workflow for load, edit, apply and save actions

WinCC Runtime Advanced Recipe Management: PLC Data Blocks, Recipe Records & Production Setpoints: Complete Contents

Practical WinCC Runtime Advanced Engineering Guide

1. Define What a Recipe Controls

A recipe is a named set of production parameters such as temperatures, speeds, timings, pressure limits, dimensions or dosing quantities. Keep recipe values separate from live feedback. Decide which parameters an operator may edit and which are engineering-only.

2. Build a Structured PLC Recipe Interface

Use a dedicated PLC DB or UDT for recipe staging and active values. A robust design separates Recipe_Staging from Recipe_Active so the operator can edit or load a complete record before the PLC validates and applies it. Add handshake/status bits such as LoadComplete, ApplyCmd, ApplyAccepted, ValidationError and ActiveRecipeID.

3. PLC Recipe Structure Example

TYPE UDT_Recipe :
STRUCT
    TempSP      : Real;
    SpeedSP     : Real;
    HeatTime_s  : DInt;
    PressureSP  : Real;
END_STRUCT;
END_TYPE

DB_Recipe.Staging : UDT_Recipe;
DB_Recipe.Active  : UDT_Recipe;
DB_Recipe.ApplyCmd : Bool;
DB_Recipe.Accepted : Bool;
DB_Recipe.Error    : Bool;

4. Configure WinCC Runtime Advanced Recipe Management

Create the recipe structure/data records in the HMI and map each element to the corresponding PLC staging tag. Define user-facing parameter names and engineering units. Use consistent ordering so operators can compare recipe versions easily. Exact editor names and menus can vary slightly across TIA Portal versions, but the engineering principle remains the same: a recipe record represents a coherent parameter set.

5. Use a Controlled Load → Validate → Apply Workflow

Recommended operator sequence: select recipe → load record → review values → request Apply → PLC validates all ranges/interlocks → PLC copies staging to active values → HMI shows accepted/error state. This prevents partial parameter updates and makes the transaction traceable.

6. Validate Limits in the PLC

Do not rely only on HMI input limits. The PLC should validate safety- and process-relevant ranges before copying values into active control setpoints. Check min/max limits, machine mode, recipe compatibility and whether the process is in a safe state for changeover.

7. Save, Create and Manage Data Records

Define who is allowed to create or overwrite recipe records. Production operators may need selection/load rights while supervisors or process engineers receive edit/save rights. Use clear naming such as ProductCode_Revision rather than ambiguous names like Recipe1.

8. Recipe History and Traceability

Runtime Advanced recipe records are different from tag logging archives. Use recipe data records for named parameter sets; use tag logging for time-series process history. For traceability, log the active recipe identifier, change timestamp and key process results where the production requirement demands it.

9. Industrial Recipe Applications

Typical uses include furnace heat-treatment programs, packaging product formats, filling/dosing parameters, mixer batches, machine size changeover and multi-product conveyor settings. The strongest recipe systems combine controlled parameter transfer with operator permissions and clear process-state feedback.

10. Recipe Troubleshooting

ProblemLikely causeCheck
Loaded recipe does not affect machineNo apply handshakeStaging vs active DB and ApplyCmd
Only some values updateTag mapping mismatchRecipe element-to-PLC mapping
Unsafe value acceptedValidation only in HMIAdd PLC-side range/state checks
Operators overwrite master recordWeak permissionsUser authorization and workflow

11. Hands-On Recipe Lab

Create three product recipes with different temperature, speed and timer values. Load each record into staging tags, apply it through a PLC validation handshake, reject one deliberately out-of-range recipe and display the rejection reason on the HMI. The lab is complete when partial/unvalidated parameter changes cannot reach active control values.

WinCC Runtime Advanced Hands-On Lab

Use a non-production PLC/HMI project, document the test conditions, and verify every HMI behavior against the PLC watch table or diagnostics. The objective is not only to make the screen work, but to prove that the engineer can diagnose a deliberate fault and recover the system methodically.

Frequently Asked Questions

What is recipe management in WinCC Runtime Advanced?

It lets engineers configure named sets of HMI/PLC parameters that can be loaded, edited and transferred for repeatable production changeovers.

Should recipe values write directly to active PLC setpoints?

A safer pattern uses staging values plus PLC-side validation before copying the complete recipe into active control setpoints.

What is the difference between a recipe and tag logging?

A recipe is a named parameter set; tag logging is time-series process history. They solve different engineering problems.

How should recipe access be secured?

Assign load, edit, create and overwrite rights according to operator, supervisor and engineering roles, and validate critical values again in the PLC.

Related WinCC Runtime Advanced & Siemens HMI Resources

Need Practical WinCC Runtime Advanced Training?

Build the complete HMI workflow from PLC communication and tags through alarms, trends, recipes and user administration with a practical Siemens automation project.

Discuss Training or Project Support
Verified learning pathway

Discuss SQL Fundamentals and Automation Training

Explore practical SQL Server, PLC/SCADA integration and industrial data training options.

Content reviewed: 4 August 2026

☎ Call WhatsApp ✉ Email Enquire Now