×
Siemens Industry Online Support
Siemens AG
Entry type: Application example, Entry ID: 58862931, Entry date: 09/29/2015
(17)
Rate

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

  • Entry
  • Associated product(s)
This application shows, how to program web pages, to control your plant.
Modern automation technology increasingly integrates internet technologies which – together with an integrated Ethernet-based communication – enable, for example, direct access to the system via the intranet. During the test and commissioning phase, the commissioning engineer wants to have flexible access to the CPU; individual data are to be visualized during operation for diagnostic purposes: For access mechanisms via the internet or intranet it is reasonable to use already existing standards such as the http technology, standard web browsers and common "languages" such as HTML or JavaScript.

Solution  
SIMATIC CPUs with PROFINET interface provide the opportunity to access tags of the CPU with the help of web pages provided by the system. The integrated web server of the S7-CPU is accessed via a standard web browser. In this example the tags are saved in a string that should be transferred to the web pages. That reduces the update time.
In addition to the standard mechanisms of the web page such as identification, diagnostic buffer, module status, communication, variable status and data log, individual web pages can be designed and called for your particular application.

This application shows how to create your own user-defined web pages for S7-1200 easily and quickly. Prior knowledge in HTML-programming is not absolutely necessary.

To create your individual web page (user-defined web page), you can use any tools such as Microsoft Frontpage, Notepad, etc.. For designing your web page, you can use all options provided by HTML, CSS and JavaScript. In addition, there is a special command syntax (AW P command) for directed communication with the CPU.

The following figure shows the implemented visualization:


Downloads
  Documentation (5,6 MB)
 Registrierung notwendig  Project for STEP 7 V11 (1,9 MB)

Note
For STEP 7 V14 we offer a seperate application Example:
Creating and using user-defined web pages on S7-1200 / S7-1500


Security information
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 constitute one element of such a concept. For more information about industrial security, please visit
http://www.siemens.com/industrialsecurity.