Overview of AWP commands
Table 3- 11
AWP commands
Function
Reading PLC tags
Writing PLC tags
Reading special tags
Writing special tags
Defining enum types
Assigning enum types to tags
Defining data block fragments
Importing data block fragments
Accessing the values of an array
Accessing the values of a PLC tag of the
data type STRUCT
3.16.1.1
PLC tags
Introduction to PLC tags
User pages can read PLC tags from the CPU and write data to the CPU.
To do so, PLC tags must:
● be enclosed by double quotation marks ("...").
● also be enclosed by single quotation marks ('" ... "') or with quotation marks masked with
a backslash ("\" ... "\").
● be specified by a PLC tag name.
● if the PLC tag name includes the characters \ (backslash) or ', identify these characters
with the escape sequence \\ or \' as normal characters of the PLC tag name.
● be enclosed with single quotation marks ('...'), if an absolute address (input, output, bit
memory) is used in the AWP command.
Web server
Function Manual, 11/2019, A5E03484625-AG
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>' -->
<!-- AWP_Start_Array Name='"<DB name>".<array name>' -->
...
<!-- AWP_End_Array -->
<!-- AWP_Start_Struct Name='"<DB name>".<struct name>' --
> ...
<!-- AWP_End_Struct -->
Web pages
3.16 User pages
125