Introduction
The Web server lets you monitor and administer the CPU through authorized users by means of a network. This permits evaluation and diagnostics over long distances. All you need is a web browser.
Alarms and status information are visualized on HTML pages.
Web browser
You need a web browser to access the HTML pages of the CPU.
You will find information on the Web browsers and Web browser versions with which the Web server was tested in the manuals listed and linked below.
|
Note If you access the Web server of the CPU using a communications processor (CP), ensure that the cache (temporary Internet files) is enabled in your browser. Choose the "Automatically" option in the cache settings of your browser. If the cache is disabled or if a setting other than "Automatically" is made in your browser, this may result in slow access times and incomplete display. |
Reading information via the Web server
The following information can be read from the CPU. The availability of the respective web pages depends on the CPU and its firmware version.
Below you will find an overview of the information available on the individual Web pages of the Web server of the CPU S7-1500.
|
Information |
Description |
|---|---|
|
Start page with general CPU information |
The start page provides an overview of general information on the CPU, the name of the CPU, the type of CPU and basic information on the current operating state. |
|
Diagnostics: Identification information |
Displays the static identification information such as serial number, article number and version numbers. |
|
Diagnostics: Memory |
Current values on the memory in use. |
|
Content of the diagnostic buffer |
Displays the content of the diagnostics buffer with the most recent entries first. |
|
Status of the modules |
Displays whether the components of a station are in proper order, if, for example, there are maintenance requirements or components cannot be reached. |
|
Firmware update |
As a user with suitable access rights, you have the option of updating the firmware of CPUs, of the display or individual central or distributed modules with an update file. |
|
Alarms |
Displays project-oriented alarm text with filters and sorting options. |
|
Information about communication |
Display of the communication connections, display of the resources as well as interface parameters and port statistics. |
|
Topology |
Display of the topology with the graphic, table views and status overview for networked PROFINET participants. |
|
Status of the tags |
Display of the status of user program operands for observing the values. Tip: When the tag status page is exited, the entries made on it are not saved. If you want to monitor the same entered tag again later on, create a bookmark in your Web browser for the "Tag status" page. Otherwise, you will have to enter the tag again when the page is re-opened. |
|
Watch tables |
Display of the watch tables created with STEP 7. |
|
User pages (if such Web pages/Web applications have been configured and loaded) |
The user pages deliver a list of Web pages with customer-specific Web applications. With the first call of the "WWW" instruction in the user program, the link to the user page is displayed on this Web page . A click on the link opens the user page in a new window. |
|
File browser |
S7-1500: The file browser lists files and directories that are located on the SIMATIC Memory Card. Files can be downloaded, deleted, renamed or uploaded regardless of the file type. Directories can only be created, deleted or renamed. The Filebrowser only grants you read access to the "DataLogs" and "Backups" directories. System files are not displayed in the file browser and can therefore not be changed or deleted. System files are the order file and all the special directories including their content which are referenced by the order file. |
|
Data logs |
Display and call up of the data logs generated by the user program. Note: If you open large data log files via this Web page, the processing times of the data log instructions that process this data log file can increase considerably. Although the processing time of the priority class (OB in which the data log instruction is called) does not increase, the output parameter BUSY is set for the duration of the processing. |
|
Online backup |
S7-1500 (firmware V2.0 or higher): Backing up and restoring the CPU configuration. You can back up a CPU configuration using the Web server with the corresponding access rights. If necessary, you can restore this configuration at a later time. You can create as many backups as you want and store a variety of configurations for a CPU. |
|
Motion diagnostics |
S7-1500 (firmware V2.0 or higher): Displays the status, errors, technology interrupts and the current values of technology objects (TOs), for example, speed axis (TO_SpeedAxis), positioning axis (TO_PositioningAxis), synchronous axis (TO_SynchronousAxis), external encoder (TO_ExternalEncoder), measuring input (TO_MeasuringInput), cam (TO_OutputCam), cam track (TO_CamTrack). The "Motion diagnostics" Web page provides detailed information on the configured technology objects in the Diagnostics and Service overview views. |
|
Trace |
Display of measurements stored on the SIMATIC memory card. |
Web access to the CPU via PG/PC
Proceed as follows to access the Web server:
-
Connect the client (PG/PC) to the CPU via the PROFINET interface.
If you do not access the web via the PROFINET interface of the CPU but via the interface of a CP (e.g., CP 1543-1), the web pages load much more slowly than with the connection via the interface of the CPU. Make sure that the cache settings (temporary Internet files) of the browser are set to "Automatic" in this case.
-
Open the web browser.
Enter the IP address of the CPU in the "Address" field of the Web browser in the format http://ww.xx.yy.zz (example: http://192.168.3.141).
The start page of the CPU is opened. You can navigate from the start page to additional information.
If the start page does not appear, make sure that the Web server was activated in the configuration and that the configuration was loaded.
Web access to an S7-300/400 CPU via HMI devices and mobile devices
The Web server also supports the Windows Terminal Service so that in addition to the operation of programming devices and PCs, thin client solutions with mobile devices (e.g. PDA, MOBIC T8) and rugged local stations (e.g. SIMATIC MP370 with ThinClient/MP option) with Windows CE are possible.
Proceed as follows to access the Web server:
-
Connect the client (HMI device, PDA) with the CPU via the PROFINET interface.
-
Open the web browser.
Enter the IP address of the CPU in the "Address" field of the Web browser in the format http://ww.xx.yy.zz /basic (example: http://192.168.3.141/basic).
The start page of the CPU is opened. From the start page, you can navigate to further information.
HMI devices operating with the Windows CE operating system V 5.x or earlier process CPU information in a browser specially developed for Windows CE. The information appears in a simplified format in this browser.
|
Note Using SIMATIC Micro Memory Card with Web server (S7-300) The configuration data for the Web server is stored on the SIMATIC Micro Memory Card. That is why we recommend using a SIMATIC Micro Memory Card with at least 512 KB. You can also use the Web server without SIMATIC Micro Memory Card. The CPU must have been assigned an IP address to permit operation.
|
Web access to an S7-1500 CPU via HMI devices and mobile devices
HMI devices operating with the preinstalled Windows CE operating system (V 5.x or earlier) process CPU information in a browser specially developed for Windows CE. The information appears in a simplified format in this browser.
The Web server offers web pages with reduced complexity which have been optimized for devices with small screens and low computing power.
Requirement for access with mobile devices:
-
WLAN connection for the CPU (WLAN Access Point, for example, SCALANCE W788-1RR or SCALANCE W784-1)
-
Activated Web server on the CPU
-
WLAN has to be activated for the mobile device and a connection to the access point has to be established.
The procedure for a mobile device is identical to that for other devices (programming device/PC). In the browser, you enter the IP address of the CPU interface, download the certificate and install it subsequently.
Web access to an S7-1500 CPU via the Web API
From firmware version V2.8 onwards, the S7-1500 CPUs offer a web-based API (Web API) as an interface for reading and writing CPU data.
The Web API can be reached via POST requests to the following URL:https://[ip_address]/api/jsonrpc
Through the Web API, clients (such as web browsers) call methods in the S7-1500 CPU that enable reading and writing of CPU data. This includes, for example, logging in and logging out as an authorized user and methods for querying the Web API itself, as well as methods for maintaining the session.
The JSON-RPC 2.0 (JavaScript Object Notation Remote Procedure Call) protocol is used. This protocol is based on HTTP. For example, web browsers have access via the Web API using JavaScript for asynchronous requests.
The information on which CPU variants have a Web API and which clients can use the Web API, as well as explanations and examples of the Web API methods, can be found in the function manual "Webserver".
Security
Make sure that you protect the CPU from being compromised through the use of different methods, for example, by limiting network access and using firewalls.
The Web server offers the following security functions:
-
Access via the secure transmission protocol HTTPS
-
Configurable user authorization via user list