Using The Www Instruction - Siemens SIMATIC S7-1200 Manual

Easy book
Hide thumbs Also See for SIMATIC S7-1200:
Table of Contents

Advertisement

9.3.4

Using the WWW instruction

The WWW instruction allows your user-defined Web pages to be accessible from the
standard Web pages. Your user program only has to execute the WWW instruction once to
enable access to the user-defined Web pages. You might, however, choose to make the
user-defined Web pages available only under certain circumstances. Your user program
could then call the WWW instruction according to your application requirements.
Table 9- 2
WWW instruction
LAD / FBD
Your user program typically uses the control DB directly as created by the "Create blocks"
process, with no additional manipulation. However, the user program can set global
commands in the control DB to deactivate the web server, or to subsequently reactivate it.
Also, for user-defined pages that you create as manual fragment DBs, the user program
must control the behavior of these pages through a request table in the control DB.
Easy Book
Manual, 11/2011, A5E02486774-04
SCL
ret_val := #WWW(
ctrl_db:=_uint_in_);
Web server for easy Internet connectivity
9.3 Easy to create user-defined web pages
Description
Identifies the control DB to be used for the user-
defined Web pages.
The control data block is the input parameter to
the WWW instruction and specifies the content of
the pages as represented in the fragment data
blocks, as well as state and control information.
187

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents