WinCC Unified - Setting tag value limit

Since WinCC Unified V17, users have been able to set upper and lower limits for tags to ensure the value stays within a defined range. This feature is essential for preventing invalid inputs and protects connected devices from unexpected inputs.

In this guide, I’ll walk you through the steps to set tag limits in WinCC Unified V20 using a simple example.

Steps to Define Tag Input Limits

  1. Create a New Tag
    • Open the Tag Table and create a new tag (e.g., Data_Integer_Value)

  2. Access Tag Properties
    • Hover over Data_Integer_Value, then right-click → Properties.

  3. Define Upper and Lower Boundaries
    • Navigate to the Range section.
    • Under Lower2 and Upper2, set the minimum and maximum values according to your requirements. Wincc Unified 1

  4. Link Tag to a Screen Element
    • Add a new Screen.
    • In the new screen, add an IO Field element.
    • Link the Process Value of the IO Field to the tag Data_Integer_Value. Wincc Unified 2

  5. Run Simulation Mode to verify the range settings
    • Start Simulation Mode.
    • Try entering values beyond the defined limits to see how the system handles them. WinCC Unified Simulation