EasyManua.ls Logo

Siemens SIMATIC S7-1200 - Page 1079

Siemens SIMATIC S7-1200
1614 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
12.7 User-defined Web pages
S7-1200 Programmable controller
System Manual, V4.2, 09/2016, A5E02486680-AK
1079
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
initialized
BOOL
Web application is initialized
last_error INT Last error returned from a WWW instruction
call (Page 1059) when the return code of
WWW is 16#0010:
16#0001: fragment DB structure is inconsistent
16#0002: the application name already exists
16#0003: no resources (memory)
16#0004: control DB structure is inconsistent
16#0005: fragment DB not available
16#0006: fragment DB not for AWP
16#0007: enumeration data is inconsistent
16#000D: conflicting size of the control DB
Request table
The request table is an array of structures containing commands and states that apply to
individual fragment DBs. If you created fragments with the AWP_Start_Fragment
(Page 1052) command of type "manual", the STEP 7 user program must control these pages
through the control DB. The request states are read-only and provide information about the
current fragment. You use the request commands to control the current fragment.
Block tag
Data type
Description
requesttab ARRAY [ 1 .. 4 ] OF STRUCT Array of structures for individual fragment DB
control.
The Web server can process up to four frag-
ments at a time. The array index for a particular
fragment is arbitrary when the Web server is
processing multiple fragments or fragments
from multiple browser sessions.

Table of Contents

Other manuals for Siemens SIMATIC S7-1200

Related product manuals