Advanced User-Defined Web - Siemens S7-1200 System Manual

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

Advertisement

Web server
11.6 User-defined Web pages
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
init
deactivate
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
initializing
error
deactivating
deactivated
660
Data type
BOOL
BOOL
Data type
BOOL
BOOL
BOOL
BOOL
Description
Evaluate the control DB and initialize the Web
application
Deactivate the Web application
Description
Web application is reading control DB
Web application could not be initialized
Web application is terminating
Web application is terminated
S7-1200 Programmable controller
System Manual, 03/2014, A5E02486680-AG

Advertisement

Table of Contents
loading

Table of Contents