How can you directly access user-defined web pages of the S7-1200 / S7-1500?
-
Entry
-
Associated product(s)
Description
The input fields for logging on are located in the top left corner of the standard web pages. You must first open the standard web page, log on there and only then can you use the user-defined web pages to write data to the CPU. This FAQ response provides you with the option of logging on directly to the user-defined web page.
Requirements
Beforehand you must enable the web server for the CPU in the CPU properties of the device configuration and in the User Administration assign a user the web permissions for operator control and monitoring. Then you must save and compile the project and load it into the CPU.
Instructions
- Open the "STEP_7_Main_Webpage.zip" file attached below and unpack the file in a directory on your hard disk.
- Open the "Main_Webpage.html" file and your HTML page using Microsoft FrontPage, for example.
- Expand the "<body>" tag as follows: "<body onload="loginCheck()">".
- Copy the code from "<!-- BEGIN Login Area -->" up to and including "<!-- END Login Area -->" and paste it in the "body" area of your HTML page.
Note
If your HTML page is divided into multiple areas with the block element "<div>" or "<span>", paste the code into one of the "<div>" or "<span>" areas. - Generate the web DBs with the TIA Portal and load your configuration data into the CPU.
Note
- If you log on through the user-defined web pages, the logon window of the standard web pages already opened is not updated automatically. Update the standard web pages by pressing the "F5" key.
-
With firmware V1.7 and higher of the S7-1500 CPUs, in the STEP 7 (TIA Portal) you can define the user pages as the entry page of the web server. As shown in Fig. 1 in the Properties of the S7-1500 CPU you go to "Web server > User-defined web pages > Entry page" and for "Select entry page:" you select the entry "UP1".

Fig. 1
Download
step_7_main_webpage.zip (1,1 KB)
Creation Environment
The download in this FAQ response was tested with STEP 7 (TIA Portal) V13 Update 1.
Further Information
- More information on the topic of S7-1200 web server applications are available in Entry ID: 58862931
- More information on the topic of S7-1500 web server applications is available in Entry ID: 68011496
- German
- French
- Italian
- Spanish
- Chinese
Entry belongs to product tree folder(s):
- Automation Technology Automation Systems Industrial Automation Systems SIMATIC PLC Basic Controller S7-1200 Central processing units Standard CPUs
- Automation Technology Automation Systems Industrial Automation Systems SIMATIC PLC Advanced Controller S7-1500 CPUs Standard-CPUs
- Automation Technology Automation Systems Industrial Automation Systems SIMATIC PLC Advanced Controller S7-1500 CPUs Failsafe CPUs
- Automation Technology Automation Systems Industrial Automation Systems SIMATIC PLC Advanced Controller S7-1500 Accessories
- Automation Technology Automation Systems Industrial Automation Systems SIMATIC PLC Distributed Controller based on ET 200SP Central processing units Standard CPUs
- Automation Technology Automation Systems Industrial Automation Systems SIMATIC PLC Distributed Controller based on ET 200SP Central processing units Fail-safe CPUs
- Automation Technology Automation Systems Industrial Automation Systems SIMATIC PLC Distributed Controller based on ET200Pro Central processing units Standard CPUs
- Automation Technology Industry software Automation software TIA Portal PLC programming STEP 7 Professional (TIA Portal)
- Automation Technology Industry software Automation software TIA Portal PLC programming STEP 7 Basic (TIA Portal)
- Automation Technology Products for specific requirements Automatision technology for extreme conditions SIPLUS extreme Industrial Automation Systems Controllers SIPLUS Advanced Controller SIPLUS S7-1500 SIPLUS Central Processing Units SIPLUS Standard CPUs
- Automation Technology Automation Systems Industrial Automation Systems SIMATIC PLC Advanced Controller S7-1500 CPUs Compact CPUs
- Automation Technology Automation Systems Industrial Automation Systems SIMATIC PLC Advanced Controller S7-1500 CPUs Technology CPUs
- Automation Technology Automation Systems Industrial Automation Systems SIMATIC PLC Distributed Controller based on ET200Pro Central processing units Fail-safe CPUs
- Automation Technology Automation Systems Industrial Automation Systems SIMATIC PLC Advanced Controller S7-1500 CPUs Redundante CPUs
- You have a technical question / problem: Ask the Technical Support
- You want to discuss in our forum and exchange experiences with other users
- You want to create CAx data for one or more products
- You would like to send us feedback on this Entry