Reading And Displaying Data From The Cpu - Siemens SIMATIC S7-1500 Function Manual

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

Advertisement

Websites
3.8 User pages
Figure 3-25
The user page also uses an AWP command which writes the special tag into the tag table; it
includes the user ID of the user who currently accesses the page.
3.8.4.2

Reading and displaying data from the CPU

Example HTML code for reading out and displaying data from the CPU
This part of the HTML code is used for displaying the power output on the user side.
The text "Power Output:" is displayed on the left-hand side; on the right-hand side, the value
of the tags for the power output including the unit ("KW") is displayed.
The AWP command
data block is referenced by its symbolic name here and not by its number ("Data_block_1"
instead of "DB1").
The code used in the example is:
<tr style="height:2%;">
<td>
<p>Power output:</p>
</td>
<td>
<p style="margin-bottom:5px;"> :="Data_block_1".PowerOutput: KW</p>
</td>
</tr>
60
Header of the website with number and location of the wind turbine.
Atmospheric conditions at the turbine, wind speed, wind direction and current temperature are
displayed.
Read-out power output.
Manual override: Activates manual override of the turbine. To make manual settings for speed,
orientation and angle of attack, the STEP 7 user program requires that manual override has
been activated.
Override of the orientation: Activates manual override of the turbine orientation.
Override of the angle of attack: Activates manual override of the angle of attack of the rotor
blades.
By clicking this button, you transfer the override settings to the CPU.
Manual setting of a percentage value for braking. The setting "Manual override" is not required
to enter a brake value.
Overview of user page wind turbine
:="Data_block_1".PowerOutput
executes the reading operation. The
Function Manual, 01/2013, A5E03484625-01
Web server

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents