Wincc Rest Api [UPDATED]
Assigning specific read/write authorizations per tag for secure communications. Connectivity:
To change a setpoint, an external system sends a PUT or POST request with a JSON payload.
: A background application monitored via a dedicated port using the Microsoft C++ SDK. It transforms external HTTP requests into internal WinCC API runtime calls.
: Built on HTTPS with support for certificate-based authentication, the REST API provides enterprise-grade security for industrial data transmission.
+-------------------+ HTTP/JSON +--------------------+ | WinCC Runtime | <===============================> | External IT System | | (Tags, Alarms) | (GET, POST, PUT) | (MES, ERP, Cloud) | +-------------------+ +--------------------+ 1. Read and Write Tag Values wincc rest api
url = "http://192.168.1.100/WinCC/REST/Tags/TagName" username = "YourWinCCUser" password = "YourPassword"
Siemens SIMATIC WinCC (both WinCC V7/V8 and WinCC Unified) addresses this need through its integrated . This powerful interface bridges the gap between the factory floor and software developers, allowing external applications to securely read, write, and manipulate industrial data using standard HTTP requests. What is the WinCC REST API?
WinCC's REST API enforces HTTPS communication, requiring a properly configured SSL certificate. Create a self-signed certificate using IIS Manager or obtain a certificate from a trusted Certificate Authority. Ensure the certificate's "Issued To" name matches the computer name exactly, as this name must be consistent throughout the configuration.
Do not expose the WinCC REST API directly to the corporate IT network or the internet. Place a reverse proxy or an Industrial DMZ server between the OT network and the IT network to filter traffic. It transforms external HTTP requests into internal WinCC
The WinCC REST API provides standard endpoints to interact with the core pillars of SCADA data: 1. Tag Management (Read/Write)
It's important to choose the right tool for the job. How does the REST API compare to other WinCC communication options?
For the REST service to run automatically when the WinCC Runtime starts, it needs to be added to the startup list.
The WinCC REST API represents a fundamental advancement in how industrial SCADA systems integrate with the broader enterprise IT ecosystem. By embracing standard web technologies, Siemens has dramatically reduced the complexity of integrating WinCC with modern applications, enabling faster development cycles, more flexible architectures, and enhanced security. Read and Write Tag Values url = "http://192
Using a browser or Postman, navigate to: http://<Your_IP>/WinCC/REST/version If successful, you receive a JSON response like:
Special characters in tag names require proper URL encoding. For example, to read a structured tag element named "MyTag.[NewElement]", the square brackets must be encoded as "%5B" and "%5D" respectively:
The WinCC Connectivity Pack requires a valid license. Without proper licensing, the REST service will not function correctly. Verify the license status through Automation License Manager before proceeding.