Siemens SIMATIC S7-1500 Function Manual page 12

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

Advertisement

3.16
User pages ............................................................................................................................ 120
3.16.1
AWP commands ................................................................................................................... 124
3.16.1.1
PLC tags ............................................................................................................................... 125
3.16.1.2
Special tags .......................................................................................................................... 129
3.16.1.3
Enum types ........................................................................................................................... 131
3.16.1.4
Fragments ............................................................................................................................. 133
3.16.1.5
Arrays .................................................................................................................................... 135
3.16.1.6
Structures .............................................................................................................................. 136
3.16.2
Configuring user pages ......................................................................................................... 138
3.16.3
Programming the WWW instruction ...................................................................................... 139
3.16.4
Defining the user page as start page .................................................................................... 141
3.16.5
Example of a user page ........................................................................................................ 143
3.16.5.1
Website for monitoring and controlling a wind turbine .......................................................... 143
3.16.5.2
Reading and displaying data from the CPU.......................................................................... 145
3.16.5.3
Using enum types ................................................................................................................. 147
3.16.5.4
Writing user inputs into the controller ................................................................................... 148
3.16.5.5
Writing special tags ............................................................................................................... 149
3.16.5.6
3.17
Filebrowser ........................................................................................................................... 154
3.18
Reading out service data ...................................................................................................... 155
3.19
Basic websites ...................................................................................................................... 156
3.20
API (Application Programming Interface) ............................................................................. 158
3.20.1
Web API ................................................................................................................................ 158
3.20.2
The available Web API methods .......................................................................................... 161
3.20.2.1
Api.Login ............................................................................................................................... 162
3.20.2.2
Api.GetPermissions .............................................................................................................. 163
3.20.2.3
Api.Browse ............................................................................................................................ 164
3.20.2.4
Api.Version ............................................................................................................................ 165
3.20.2.5
Api.Ping ................................................................................................................................. 165
3.20.2.6
Api.GetCertificateUrl ............................................................................................................. 166
3.20.2.7
Api.Logout ............................................................................................................................. 166
3.20.3
Web API integration .............................................................................................................. 166
3.20.4
Web API sessions ................................................................................................................. 169
3.20.5
Read and write process data ................................................................................................ 170
3.20.5.1
Supported data types ............................................................................................................ 170
3.20.5.2
Parameter assignment of the block properties ..................................................................... 175
3.20.5.3
PlcProgram.Read .................................................................................................................. 176
3.20.5.4
PlcProgram.Write .................................................................................................................. 177
3.20.5.5
PlcProgram.Browse .............................................................................................................. 179
3.20.6
Website for monitoring and controlling a wind turbine .......................................................... 183
Glossary ............................................................................................................................................. 196
Index................................................................................................................................................... 200
Function Manual, 11/2019, A5E03484625-AG
Table of contents
11

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic et 200proSimatic et 200sp

Table of Contents