Awp Commands Supported By The S7-1200 Web Server - Siemens S7-1200 System Manual

Hide thumbs Also See for S7-1200:
Table of Contents
To program your HTML code to use data from the S7-1200, you include AWP commands
(Page 627) as HTML comments. When finished, save your HTML pages to your PC and
note the folder path where you save them.
Note
The file size limit for HTML files containing AWP command is 64 kilobytes. You must keep
your file size below this limit.
Refreshing user-defined Web pages
User-defined Web pages do not automatically refresh. It is your choice whether to program
the HTML to refresh the page or not. For pages that display PLC data, refreshing periodically
keeps the data current. For HTML pages that serve as forms for data entry, refreshing can
interfere with the user entering data. If you want your entire page to automatically refresh,
you can add this line to your HTML header, where "10" is the number of seconds between
refreshes:
You can also use JavaScript or other HTML techniques to control page or data refreshing.
For this, refer to documentation on HTML and JavaScript.
11.6.2

AWP commands supported by the S7-1200 Web server

The S7-1200 Web server provides AWP commands that you embed in your user-defined
Web pages as HTML comments for the following purposes:
● Reading variables (Page 629)
● Writing variables (Page 630)
● Reading special variables (Page 631)
● Writing special variables (Page 633)
● Defining enum types (Page 635)
● Assigning variables to enum types (Page 635)
● Creating fragment data blocks (Page 637)
S7-1200 Programmable controller
System Manual, 03/2014, A5E02486680-AG
Web server
11.6 User-defined Web pages
627
Table of Contents
loading

Table of Contents