Block tag
requesttab
Struct members of requesttab struct
Block tag
page_index
fragment_index
// Request Commands
continue
repeat
abort
finish
// Request states
idle
waiting
sending
aborting
Operation
Whenever your program makes changes to the control DB, it must call the WWW instruction
with the number of the modified control DB as its parameter. The global commands and
request commands take effect when the STEP 7 user program executes the WWW
instruction (Page 508).
The STEP 7 user program can set the fragment_index explicitly, thus causing the Web
server to process the specified fragment with a request command. Otherwise, the Web
server processes the current fragment for the current page when the WWW instruction
executes.
S7-1200 Programmable controller
System Manual, 11/2011, A5E02486680-05
Data type
ARRAY [ 1 .. 4 ] OF STRUCT
Data type
UINT
UINT
BOOL
BOOL
BOOL
BOOL
BOOL
BOOL
BOOL
BOOL
104BWeb server
11.3 User-defined web pages
Description
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.
Description
Number of the current web page
Number of the current fragment - can be
set to a different fragment
Enables current page/fragment for
sending and continues with the next
fragment
Enables current page/fragment for
resending and continues with the same
fragment
Close http connection without sending
Send this fragment; page is complete -
do not process any additional fragments
The request states are read-only
Nothing to do, but active
Fragment is waiting to be enabled
Fragment is sending
User has aborted current request
527