SIMATIC WinCC REST API is a modern interface introduced primarily in WinCC V8.0 WinCC Unified
to bridge the gap between industrial automation (OT) and IT systems. It allows external applications—like ERPs, MES, or mobile apps—to read and write SCADA data using standard web protocols like HTTP/HTTPS and JSON. www.siemens.com Two-Way Communication in WinCC V8
WinCC V8.0 features two distinct components for REST-based integration: WinCC/REST API (Inbound):
Operates as a server, allowing external systems to "pull" data. You can read configuration data, access real-time tag values, and query historical archive tags. WinCC/REST Connector (Outbound):
Operates as a client, allowing WinCC to "push" data. It can actively send requests to external web services, triggered by specific tags or alarms. Key Capabilities and Features Data Access:
You can query and edit runtime data, including tag management and archiving systems. Communication is secured via and managed through the WinCC Certificate Manager , which binds certificates to the default port (typically Authentication:
Access is controlled through WinCC's user management, where specific "REST API read" or "write" authorizations can be assigned to individual tags. Platform Support: WinCC V8/V8.1: Full support for both API and Connector. Includes a specialized REST Reporting API Manager Service API (MSA) for complex manager-to-manager communication. WinCC Unified: Modern web-native platform with native REST/MQTT support. www.winccoa.com REST Reporting API - WinCC OA
Introduction
Siemens' WinCC (Windows Control Center) is a popular Human-Machine Interface (HMI) software used for monitoring and controlling industrial processes. With the increasing demand for digitalization and Industry 4.0, WinCC has evolved to provide a REST (Representational State of Resource) API, allowing users to access and manipulate process data, alarms, and other information programmatically. In this article, we'll explore the WinCC REST API, its features, and use cases.
What is a REST API?
A REST (Representational State of Resource) API is an architectural style for designing networked applications. It's based on the idea of resources, which are identified by URIs (Uniform Resource Identifiers), and can be manipulated using a fixed set of operations. REST APIs typically use HTTP (Hypertext Transfer Protocol) as the communication protocol and return data in a format like JSON (JavaScript Object Notation) or XML (Extensible Markup Language).
WinCC REST API Overview
The WinCC REST API is a programming interface that allows external applications to access and manipulate data in a WinCC system. It provides a standardized way to interact with WinCC, enabling developers to create custom applications, integrate with other systems, or automate tasks. The API supports various operations, including:
Features and Benefits
The WinCC REST API offers several features and benefits, including: wincc rest api
Use Cases
The WinCC REST API has a wide range of applications across various industries, including:
Security Considerations
When using the WinCC REST API, it's essential to consider security aspects, such as:
Getting Started
To get started with the WinCC REST API, you'll need:
By leveraging the WinCC REST API, developers can unlock the full potential of their WinCC system, enabling seamless integration, automation, and customization. With this detailed piece, you should have a comprehensive understanding of the WinCC REST API and its applications in industrial automation. SIMATIC WinCC REST API is a modern interface
A data scientist trains a model in Azure Machine Learning.
| Technology | Pros | Cons | |------------|------|------| | WinCC REST API | Simple, HTTP/JSON, language-agnostic, web-friendly | Limited to WinCC Unified/Professional, moderate speed | | OPC UA | High performance, standardized, secure, many SDKs | Steeper learning curve, requires OPC client libraries | | S7 Communication | Lowest latency, direct PLC access | Bypasses WinCC logic & alarming, complex multi-point writes | | WinCC WebUX | Full HMI screen remote access | Heavy, requires WebUX license, not suitable for data integration |
The Siemens WinCC REST API represents a paradigm shift in industrial automation connectivity. Traditionally, accessing data from Supervisory Control and Data Acquisition (SCADA) systems like WinCC required proprietary drivers, OPC (OLE for Process Control) DA/AE, or direct SQL database access. The introduction of the REST API (introduced prominently in WinCC V7.5 and expanded in WinCC Unified) decouples data access from the Windows ecosystem, enabling cross-platform connectivity, mobile integration, and easy adoption by IT developers unfamiliar with industrial protocols.
Security is the first concern when opening a SCADA system to a REST API. WinCC REST APIs do not rely on simple username/password via HTTP headers. Instead, they implement robust mechanisms:
/login endpoint. The server validates credentials (against Active Directory or WinCC internal users) and returns a JSON Web Token (JWT). All subsequent API calls must include this token in the Authorization: Bearer <token> header.To retrieve a "dp" (datapoint) value:
GET http://wincc-oa-server:80/dp_values?dp=MySystem.AI1&dp=MySystem.AI2
The response:
[
"dp": "MySystem.AI1", "value": 76.3, "timestamp": "2025-03-09T13:45:21Z",
"dp": "MySystem.AI2", "value": 45.0, "timestamp": "2025-03-09T13:45:21Z"
]