Programming The Www Instruction - Siemens SIMATIC S7-1500 Function Manual

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

Advertisement

8. Click the button
generated data blocks are stored in the STEP 7 project tree in the folder "System blocks
> Web server". These data blocks consist of a control data block (Web control DB) that
controls the display of the webpages and one or several data block fragments (fragment
DBs) with the compiled webpages.
9. In the network view, select the CPU to be loaded and then select the "Download to
device" command in the "Online" menu to download the blocks. The compilation of the
blocks is implicitly triggered before the download. If errors are signaled during this
process, they must be remedied before you can download the configuration.
Deleting data blocks
Click the "Delete block" button
deletes the Web Control DB and all fragment DBs from the project in which your user-
defined pages are located.
3.16.3

Programming the WWW instruction

The WWW instruction
The instruction WWW initializes the Web server of the CPU or synchronizes the user-defined
pages with the user program in the CPU. The Web Control DB is the input parameter for the
WWW instruction and specifies the content of the pages as they are displayed in the
fragment DBs, as well as the status and control information. STEP 7 creates the Web-
Control DB when you click on the "Generate blocks" button.
Note
DB number of the web control DB.
If you change the DB number of the DB 333, the user pages in the Web server can no longer
be reached at renewed downloading into the CPU. Error code W#16#007F is output at the
parameter RET_VAL. Therefore observe the default setting DB 333 for the Web Control DB.
If you want to change the DB number nevertheless, you have to switch the CPU POWER-
OFF → POWER ON, so that the user pages in the Web server can be reached.
Web server
Function Manual, 11/2019, A5E03484625-AG
"Create blocks" to create data blocks from the source files. The
to delete previously generated data blocks. STEP 7
Web pages
3.16 User pages
139

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic et 200proSimatic et 200sp

Table of Contents