Section User Pages (Pa Ge - Siemens SIMATIC S7-1500 Function Manual

Web server
Hide thumbs Also See for SIMATIC S7-1500:
Table of Contents

Advertisement

Web pages
3.16 User pages
Creating user pages
You can use any HTML editor to create your own user page(s). Make sure that your HTML
code complies with the standards of the W3C (World Wide Web Consortium), because
STEP 7 does not check the HTML syntax in any way. In addition to the simple HTML code,
you can also use JavaScript commands in your user pages.
Proceed as follows:
1. Create the HTML file for your user page with an HTML editor.
To allow data from the CPU to be output on your web page, integrate the AWP
commands as HTML comments (see section AWP commands (Page 124)).
2. Store the HTML file and all associated source files (e.g., *.gif, *.jpg, *.js, etc.) in a
directory on your PG/PC and note the storage path.
3. Call the "WWW" instruction in STEP 7 and program it (see section Programming the
WWW instruction (Page 139)).
4. Configure the user page in STEP 7 (see section Configuring user pages (Page 138)). In
this way, you compile the contents of your HTML files, among other things, into data
blocks.
5. Download the configuration and the user program to the CPU.
6. Open your user page with your display device by means of a web browser in the Web
server of the CPU.
Note
Extensive HTML pages, especially those with a lot of images, take up a lot of space in the
load memory. Make sure you select a SIMATIC memory card with enough memory to
provide sufficient load memory.
If the sum of the HTML pages > 1 MB, performance losses may occur as only 1 MB data
is saved in the cache.
We recommend that you create each individual file of an HTML page with a size not
exceeding 512 KB; otherwise, problems can occur when sending the file from the Web
server to the browser. You can view the size of the respective file in the file explorer of
the directory.
122
Function Manual, 11/2019, A5E03484625-AG
Web server

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic et 200proSimatic et 200sp

Table of Contents