EasyManua.ls Logo

Siemens S7-1200 - Advanced User-Defined Web

Siemens S7-1200
1028 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Web server
11.6 User-defined Web pages
S7-1200 Programmable controller
660 System Manual, 03/2014, A5E02486680-AG
11.6.10
Advanced user-defined Web page control
When you generate data blocks for your user-defined Web pages, STEP 7 creates a control
DB that it uses to control display of and interaction with the user-defined pages. STEP 7 also
creates a set of fragment DBs that represent the individual pages. Under normal
circumstances, you do not need to know the structure of the control DB or how to manipulate
it.
If you want to turn a web application on and off, for example, or manipulate individual manual
fragments, you use the control DB tags and the WWW instruction to do so.
Structure of the control DB
The control DB is an extensive data structure, and is accessible when programming your
STEP 7 user program. Only some of the control data block tags are described here.
Commandstate structure
"Commandstate" is a structure that contains global commands and global states for the Web
server.
Global commands in the "Commandstate" structure
The global commands apply to the Web server in general. You can deactivate the Web
server or restart it from the control DB parameters.
Block tag
Data type
Description
init BOOL Evaluate the control DB and initialize the Web
application
deactivate
BOOL
Deactivate the Web application
Global states in the Commandstate structure
The global states apply to the Web server in general and contain status information about
the Web application.
Block tag
Data type
Description
initializing
BOOL
Web application is reading control DB
error
BOOL
Web application could not be initialized
deactivating
BOOL
Web application is terminating
deactivated
BOOL
Web application is terminated

Table of Contents

Other manuals for Siemens S7-1200

Related product manuals