hit counter script

Combining Definitions - Siemens SIMATIC S7-1200 System Manual

Hide thumbs Also See for SIMATIC S7-1200:
Table of Contents

Advertisement

Web server
12.7 User-defined Web pages
Parameters
<Name>
Example
Excerpt from HTML code that creates a fragment to display an image:
<!-- AWP_Start_Fragment Name='My_company_logo' --><p><img
src="company_logo.jpg"></p>
Excerpt from HTML code in another .html file that imports the fragment that displays the logo
image:
<!-- AWP_Import_Fragment Name='My_company_logo' -->
Both .html files (the one that creates the fragment and the one that imports it) are in the
folder structure that you define when you configure the user-defined pages in STEP 7
(Page 1057).
12.7.2.10

Combining definitions

When declaring variables for use in your user-defined Web pages, you can combine a
variable declaration and an alias for the variable (Page 1049). You can also declare multiple
In_Variables in one statement and multiple Out_Variables in one statement.
Examples
<!-- AWP_In_Variable Name='"Level'", Name='"Weight"', Name='"Temp"'
-->
<--! AWP_Out_Variable Name='HEADER:Status', Use='"Status"',
<!-- AWP_In_Variable Name='Alarm' Use='"Data_block_10".Alarm' -->
1054
Text string: name of the fragment DB to be imported
Name='HEADER:Location', Use="Location",
Name='COOKIE_VALUE:name', Use="my_cookie" -->
S7-1200 Programmable controller
System Manual, V4.2, 09/2016, A5E02486680-AK

Advertisement

Table of Contents
loading

Table of Contents

Save PDF