Siemens SIMATIC S7-1500 Function Manual page 54

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

Advertisement

Websites
3.8 User pages
● <Id> You can specify a numerical ID for the fragment. If no ID is assigned, the fragment is
Note
ID assignment
Set the ID as low as possible because the highest ID influences the size of the Web
control DB.
● <Modus>
Importing fragments
You can specify a fragment in an HTML page and import this fragment into other websites.
Example
A company logo is to be displayed on all websites of a web application.
The HTML code for the fragment that displays the company logo exists only once. You can
import the fragment as often and into as many HTML files as necessary.
Syntax
<!-- AWP_Import_Fragment_Name='<Name>' -->
<Name> corresponds to the name of the fragment to be imported.
Example
HTML code within a website that creates a fragment for displaying an image:
<!-- AWP_Start_Fragment Name='My_company_logo' -->
<p><img src="Company logo.jpg"></p>
HTML code that imports the created fragment into another website:
<!-- AWP_Import_Fragment Name='My_company_logo' -->
54
automatically assigned an ID. For manual pages (<Type>=manual), the fragment can be
addressed with this ID in the user program of the CPU.
– "visible": The contents of the fragment are displayed on the user page (default).
– "hidden": The contents of the fragment are not displayed on the user page.
Function Manual, 01/2013, A5E03484625-01
Web server

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents