Creating and using user-defined web pages on S7-1200 / S7-1500
Web pages offer an intuitive way by using a standard Web browser, or a mobile communication device, to access all variants of information inside your S7 PLC. Specific security mechanisms are at your disposal.
You can flexibly access diagnostic data and variables during the test phase, which are already projected. During the regular business, you have the possibility of serving and watching your automation plant process.
Use the standard and free of charge web server of the SIMATIC S7-1200 / S7-1500 CPUs and access your data in the CPU using web pages available in the system.
In addition to the standard mechanisms of the web page, such as start page, identification, diagnostic buffer, module status, messages, communication, topology and file browser, individual web pages can be designed and called for your particular application.
The application on hand shows you how to simply and quickly create your own web pages for S7-1200 / S7-1500. Previous knowledge in HTML programming is not necessary here.
In addition examples are supplied to extend or improve your application.
Short film on the function principle
How can you provide production data online?
Advantages and Benefits
- No additional hardware and software
The web server is contained in any S7-1200 / S7-1500 CPU as a standard. Additional HW or SW is not required; a standard text editor is sufficient.
- Integrated web server
The standard web pages for simple display of services and diagnostic information are quickly activated with a click.
Additionally, individually created, user-defined web pages can be generated.
The access to your controller is possible world-wide via a standard Internet browser as well as via mobile communication devices, such as tablet PC, smart phone, etc.
For access protection you use security standard mechanisms, such as VPN tunnel, etc. Access protection via password protection is also possible.
- Application example
Universal usage of this application for all S7-1200 / S7-1500 controllers. Save time in planning and implementing your automation solution through simple adaptation of the application on hand to your requirements
For individual familiarization with the topic, the following documents of varying information depths are available:
- First steps:
Basics for creating html pages (520,2 KB)
Creating user-defined web pages for S7-1200 / S7-1500 (1,7 MB)
Basic example code in STEP7 V15.1 (3,6 MB)
Examples for the webserver of SIMATIC S7-1200 / S7-1500 (3,4 MB)
Example code with STEP 7 V15.1 (14,8 MB)
System Diagnostics with S7-1500 and TIA Portal
Update TIA Portal V15.1
AJAX, language switch