×
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 S7 V11 (1,9 MB)

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

Security information
Siemens provides products and solutions with industrial security functions that support the secure operation of plants, solutions, machines, equipment and/or networks. They are important components in a holistic industrial security concept. With this in mind, Siemens’ products and solutions undergo continuous development. Siemens recommends strongly that you regularly check for product updates.
For the secure operation of Siemens products and solutions, it is necessary to take suitable preventive action (e.g. cell protection concept) and integrate each component into a holistic, state-of-the-art industrial security concept. Third-party products that may be in use should also be considered. For more information about industrial security, visit 
https://www.siemens.com/industrialsecurity.
To stay informed about product updates as they occur, sign up for a product-specific newsletter. For more information, visit 
https://support.industry.siemens.com.

Last Changes
Adaptation to Internet Explorer 11 (Java Script)