Fragments - Siemens SIMATIC S7-1500 Function Manual

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

Advertisement

3.16.1.4

Fragments

Fragments
Fragments are "logical sections" of a web page to be processed by the CPU individually.
Fragments are usually entire pages, but they can be individual elements, such as files (e.g.
images) or documents.
Note
In each fragment in which enum texts are referenced by a PLC tag, this PLC tag must be
assigned to the enum type name with the appropriate AWP command.
Defining fragments
A fragment extends to the beginning of the next fragment or to the end of the file.
Syntax
<!-- AWP_Start_Fragment Name='<Name>' [Type="<Typ>"] [ID="<Id>"] -->
This command specifies the start of a fragment.
● <Name> Specifies the name of the fragment. The name must start with a letter [a-zA-Z]
or an underscore ( _ ). This first character can be followed by letters, underscores or
numbers [0-9].
● <Type> Specifies the type of the fragment.
– "manual": The application program is notified of the request for a fragment and can
– "automatic": The page is edited automatically (default)
● <Id> You can specify a numerical ID for the fragment. If no ID is assigned, the fragment is
automatically assigned an ID. For manual pages (<Type>=manual), the fragment can be
addressed with this ID in the user program of the CPU.
Note
ID assignment
Set the ID as low as possible because the highest ID influences the size of the Web
control DB.
● <Modus>
– "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.
Web server
Function Manual, 11/2019, A5E03484625-AG
react accordingly. The functionality of the fragment must be controlled with STEP 7
and the tags of the control DB.
Web pages
3.16 User pages
133

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic et 200proSimatic et 200sp

Table of Contents