Siemens SIMATIC S7-1500 Function Manual page 127

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

Advertisement

Web pages
3.16 User pages
Reading PLC tags
These out-tags (output direction as seen from the controller) are inserted at any place in the
HTML text with the syntax described below.
Syntax
:=<Varname>:
<Varname> corresponds to the tag to be read from your STEP 7 project and can be a simple
shared tag or a complete tag path to a structural element. Make sure that you use the name
of the data block and not its number when you use data blocks.
Examples
:="Conveying speed":
:="My_datablock".bitmemory1:
:=%MW100:
Reading tags of the String and Character type
Below, these types of quotation marks are used in the explanation: single quotation marks
('), double quotation marks (").
As of firmware V1.6, with the "Read PLC tags" function, the CPU outputs tags of the String
or Character type enclosed in single quotation marks to the browser.
For example:
● "Varname".MyString = ABC string tag
● You read the tag in HTML using the function :="Varname".MyString:
● The Web server outputs the character string 'ABC' to the browser
126
Function Manual, 11/2019, A5E03484625-AG
Web server

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic et 200proSimatic et 200sp

Table of Contents