Siemens SIMATIC S7-1500 Function Manual page 47

Web server
Hide thumbs Also See for SIMATIC S7-1500:
Table of Contents

Advertisement

General syntax
All AWP commands, except for the command for reading a PLC tag, have this structure:
<!-- AWP_< command name and parameter> -->
Files including AWP commands:
● must be UTF-8 encoded.
● may not include the following sequence: ]]>
● may not include the following sequence outside "Reading tag areas" (:="<Varname>":): :=
● depending on the use, must identify special characters in tag names or data block names
● are case-sensitive
● should be additionally enclosed by JavaScript comments ("/*...*/") in JavaScript files
Overview of AWP commands
Table 3- 5
AWP commands
Function
Reading PLC tags
Writing PLC tags
Reading special tags
Writing special tags
Define enum types
Assigning enum types to tags
Define data block fragments
Import data block fragments
Web server
Function Manual, 01/2013, A5E03484625-01
To define UTF-8 as character set of the page, add the following line to your HTML code:
<meta http-equiv="content-type" content="text/html; charset utf-8">
Note
Saving the HTML page
Make sure that you save the file in the editor in UTF 8 character encoding as well.
with character escape sequences or quotation marks
Representation
:=<Varname>:
<!-- AWP_In_Variable Name='<Varname1>' -->
<!-- AWP_Out_Variable Name='<Typ>:<Name>' -->
<!-- AWP_In_Variable Name='<Typ>:<Name>' -->
<!-- AWP_Enum_Def Name='<Name Enum-Typ>' Values='0:
"<Text_1>",1:"<Text_2>",...,x:"<Text_y>"' -->
<!-- AWP_Enum_Ref Name='<Varname>' Enum='<Name Enum-Typ>'
-->
<!--AWP_Start_Fragment Name='<Name>'[Type=<Typ>]
[ID=<Id>] -->
<!--AWP_Import_Fragment Name='<Name>' -->
Websites
3.8 User pages
47

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents