To change a recipe setpoint or start a batch from an ERP system, issue a write command. POST Endpoint: https:// /api/v1/tags/Write Payload:
Then came the — officially introduced with WinCC Professional (TIA Portal V15+ and later). At first glance, it sounds like a magic wand: “HTTP? JSON? Great, my web developer can now talk to a power plant.”
response = requests.post( write_url, auth=(username, password), json=payload, verify=False )
Instead of using complex, proprietary industrial protocols like OPC UA or native Siemens drivers, developers can use universal web programming languages (such as Python, JavaScript, C#, or Go) to communicate with WinCC. Data is exchanged in , making it instantly readable by modern web apps, cloud services, and databases. Key Capabilities
Open the Computer editor in the WinCC Configuration Studio and configure the REST server settings. wincc rest api
Enables microservices, web-based dashboards, and cloud-native applications.
"username": "api_developer", "password": "SecurePassword123!" Use code with caution.
Data is exchanged in JSON (JavaScript Object Notation), which is lightweight, human-readable, and easily parsed by modern programming languages like Python, Node.js, and JavaScript.
This public link is valid for 7 days and shares a thread, including any personal information you added. This link or copies made by others cannot be deleted. If you share with third parties, their policies apply. Can’t copy the link right now. Try again later. To change a recipe setpoint or start a
The REST API introduces HTTP overhead. Do not poll every 50 milliseconds for 10,000 tags. Follow best practices:
"Value": 80.0
import requests from requests.auth import HTTPBasicAuth
Encrypts data in transit between the client and the SCADA server. Key Capabilities Open the Computer editor in the
: Read and write process values in real-time.
You define the host address and port number (e.g., https://[computer_name]:[port]/ ).
Would you like a practical example (e.g., Python code that reads/writes to a WinCC tag via REST) or a deeper comparison with OPC UA?
: Used for write access to specific resources, such as updating a tag value or sending data to a cloud endpoint. Technical Requirements
Configuration is tightly coupled with the WinCC project explorer and IIS (Internet Information Services) settings. WinCC Unified (The Modern Web-Native Platform)