EasyManua.ls Logo

Siemens S7-1200 - Page 661

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
System Manual, 03/2014, A5E02486680-AG
661
Block tag
Data type
Description
initialized
BOOL
Web application is initialized
last_error INT Last error returned from a WWW instruction
call (Page 642) 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 637)
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
fragments 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.
Struct members of requesttab struct
Block tag
Data type
Description
page_index
UINT
Number of the current web page
fragment_index UINT Number of the current fragment - can be set to
a different fragment
// Request Commands
continue BOOL Enables current page/fragment for sending and
continues with the next fragment
repeat BOOL Enables current page/fragment for resending
and continues with the same fragment
abort
BOOL
Close http connection without sending
finish BOOL Send this fragment; page is complete - do not
process any additional fragments
// Request states
The request states are read-only
idle
BOOL
Nothing to do, but active
waiting
BOOL
Fragment is waiting to be enabled

Table of Contents

Other manuals for Siemens S7-1200

Related product manuals