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

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

Advertisement

Websites
3.8 User pages
● In the network view, select the CPU you want to download and select the command
Deleting data blocks
Click the "Delete block" button
Deletes the Web-Control DB and all fragment DBs from the project containing your user
pages.
3.8.3

Programming the WWW instruction

The WWW instruction
The WWW instruction initializes the Web server of the CPU or synchronizes the user 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 the button "Create blocks".
Programming the WWW instruction
STEP 7 must execute the WWW instruction so that the user pages can be accessed in the
Web server.
Table 3- 6
LAD/FBD
Parameters
The table below shows the parameters of the WWW instruction.
Table 3- 7
Parameters
CTRL_DB
RET_VAL
56
"Download to device" 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.
WWW instruction
Parameters
Declaration
Input
Output
to delete previously generated data blocks. STEP 7
SCL
ret_val
:=WWW(ctrl_db:=uint_in_)
;
Data type
Description
DB_WWW
Data block that describes the user pages
(Web control DB)
INT
Error information
Description
Access to user pages by means
of the Web server
Function Manual, 01/2013, A5E03484625-01
Web server

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents