Siemens Industry Online Support
Siemens AG
Entry type: Application example, Entry ID: 68011496, Entry date: 04/25/2017

Creating and using user-defined web pages on S7-1200 / S7-1500

  • Entry
  • Associated product(s)
How to program web pages, to control your plant

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.
  • Location-independent
    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.
  • Security
    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:

Further information
System Diagnostics with S7-1500 and TIA Portal

Last modification
V2.2 attachments updated

Security Notes
In order to protect plants, systems, machines and networks against cyber threats, it is necessary to implement – and continuously maintain – a holistic, state-of-the-art industrial security concept. Siemens’ products and solutions only form one element of such a concept. Customer is responsible to prevent unauthorized access to its plants, systems, machines and networks. Systems, machines and components should only be connected to the enterprise network or the internet if and to the extent necessary and with appropriate security measures (e.g. use of firewalls and network segmentation) in place. Additionally, Siemens’ guidance on appropriate security measures should be taken into account. For more information about industrial security, please visit http://www.siemens.com/industrialsecurity.
Siemens’ products and solutions undergo continuous development to make them more secure. Siemens strongly recommends to apply product updates as soon as available and to always use the latest product versions. Use of product versions that are no longer supported, and failure to apply latest updates may increase customer’s exposure to cyber threats. To stay informed about product updates, subscribe to the Siemens Industrial Security RSS Feed under http://www.siemens.com/industrialsecurity.

Additional keywords
AJAX, language switch