EasyManua.ls Logo

Siemens SIMATIC S7-1200 - Page 1056

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
1056 System Manual, V4.2, 09/2016, A5E02486680-AK
Name and Use clauses
The AWP commands AWP_In_Variable, AWP_Out_Variable, AWP_Enum_Def,
AWP_Enum_Ref, AWP_Start_Fragment and AWP_Import_Fragment have Name clauses.
HTML form commands such as <input> and <select> also have name clauses.
AWP_In_Variable and AWP_Out_Variable can additionally have Use clauses. Regardless of
the command, the syntax for Name and Use clauses regarding the handling of special
characters is the same:
The text you provide for a Name or Use clause must be enclosed within single quotation
marks. If the enclosed name is a PLC tag or Data block name, use single quotation
marks for the full clause.
Within a Name or Use clause, data block names and PLC tag names must be enclosed
within double quotation marks.
If a tag name or Data block name includes a single quote character or backslash, escape
that character with a backslash. The backslash is the escape character in the AWP
command compiler.
Table 12- 2 Examples of Name clauses
Data block name
Tag name
Name clause options
n/a
ABC'DEF
Name='"ABC\'DEF"'
n/a A \B 'C :D
Name='"A \\B \'C :D"'
Data_block_1
Tag_1
Name='"Data_block_1".Tag_1'
Data_block_1
ABC'DEF
Name='"Data_block_1".ABC\'DEF'
Data_block_1
A \B 'C :D
Name='"Data_block_1".A \\B \'C :D'
DB A' B C D$ E
Tag
Name='"DB A\' B C D$ E".Tag'
Use clauses follow the same conventions as Name clauses.
Note
Regardless of what characters you use in your HTML page, set the charset of the HTML
page to UTF
-8 and save it from the editor with UTF-8 character encoding.

Table of Contents

Other manuals for Siemens SIMATIC S7-1200

Related product manuals