Description The web server of the SIMATIC CPU provides the user with web pages for displaying diagnostics information. A SIMATIC Panel with Internet Explorer can access the web pages. In this way the user can display the diagnostic buffer and more CPU information on the SIMATIC Panel.
Note The functional differences between the different SIMATIC Panels are given in Entry ID 40227286. This will help you determine which panels support the Internet Explorer.
You can use any SIMATIC CPU that supports the web server function.
Creation environment This FAQ has been created with the software/hardware below.
Create controller Create a SIMATIC controller in your project.
Define CPU properties In the project navigation you open the device configuration of the SIMATIC controller and select the "Properties" tab. Click the "Web server" item and activate the "Enable web server on this module" option.
Save the settings and download the configuration into the SIMATIC controller.
Configuration of the HMI operator panel
Create operator panel Create an operator panel in your project.
Add a button to your screen.
Change to the "Events" tab. Add the "OpenInternetExplorer" function and specify the IP address of the SIMATIC CPU as home page. In this example: "http://172.16.30.32"
Note on security
Caution The functions and solutions described in this article confine themselves predominantly to the realization of the automation task. Furthermore, please take into account that corresponding protective measures have to be taken in the context of Industrial Security when connecting your equipment to other parts of the plant, the enterprise network or the internet. More information can be found in Entry ID: 50203404.
How do you synchronize the time of the HMI Basic Panel with an S7-1200 PLC?
Synchronize the system time of your HMI Basic Panel with the system time of your S7-1200 PLC by configuring tags and blocks and incorporating the configuration in your HMI Basic Panel.
Synchronize the time Detailed instructions for synchronizing the time are available in PDF format in the section "Instructions for Synchronizing Time" in the file "S7-1200_HMI_time_sync_HowTo.pdf".
The sample project created in the instructions for STEP 7 Basic V10.5 can be downloaded in the section "Download" in the file "S7-1200_HMI_time_sync_example.zip".
Instructions for synchronizing the time
Configuring the S7-1200 PLC
Configuring the HMI Basic Panel
Using the time functions
Double-click the link "S7-1200_HMI_time_sync.pdf" to open the instructions. You need the Acrobat Reader program for this.
Core statement With WinCC flexible 2008 Service Pack 2 all panels with an Ethernet interface that can be configured with WinCC flexible 2008 and the WinCC flexible 2008 Runtime can access S7-1200 data blocks using absolute addresses (no symbolic DBs) via the "SIMATIC S7 300/400" driver.
The following items are supported:
Data type: Bool, Byte, Char, DInt, DWord, Int, Real, Time, Word, String, Array
New S7-1200 data type:
SInt can be connected in WinCC flexible 2008 SP2 as Char
(range: -128 to 127)
USInt can be connected in WinCC flexible 2008 SP2 as Byte
(range: 0 to 255)
UInt can be connected in WinCC flexible 2008 SP2 as Word
(range: 0 to 65535)
UDInt can be connected in WinCC flexible 2008 SP2 as DWord
(range: 0 to 4294967295)
Structures (Struct, IEC_Counter, IEC_Timer, DTL, IEC_SCounter, IEC_DCounter, IEC_UCounter, IEC_USCounter, IEC_UDCounter, ErrorStruct) are not supported, but elements of structures can be connected in WinCC flexible 2008 SP2 separately.
Read and write access to peripheral inputs and outputs
Procedure The procedure for the communication with WinCC flexible 2008 Runtime is described below.
Create a data block using an absolute address in STEP 7 Basic V10.5 via "Add new block" and "Global DB".
Remove the check mark for the option "Symbolic access only".
In the data block, you create the tags that WinCC flexible 2008 will access.
In WinCC flexible 2008, you create a connection via "Communication > Connections".
Select "SIMATIC S7 300/400" as the communication driver.
Select "Ethernet" as the interface.
Enter the IP address for the WinCC flexible Runtime and the S7-1200 station.
Select "S7ONLINE" as the operator panel's access point.
Specify "1" as the PLC's expansion slot.
Open the PG/PC interface under "Start > Control panel > Set PG/PC interface".
In the PG/PC interface, you must set the access point "S7ONLINE" to "TCP/IP -> [Used network card]".
Create the S7-1200 tags using absolute addresses under "Communication > Tags" (compare with Fig. 02).
Notice Service Pack 2 for WinCC flexible 2008 is available under entry ID: 38612895.
With which devices can the S7-1200 communicate over the integrated PROFINET interface and which protocols does the S7-1200 support?
Communication partners of S7-1200 The S7-1200 CPU communicates with the devices below over the integrated PROFINET interface:
Other S7 CPUs (S7-200, S7-300, S7-400, S7-1200)
HMI devices (SIMATIC Basic Panels and SIMATIC Comfort Panels, for example)
Devices that support Open User Communications
Maximum number of simultaneous, asynchronous communication connections The S7-1200 CPU supports the following maximum number of simultaneous, asynchronous communication connections:
Description and maximum number of connections
Open User Communications
The S7-1200 CPU supports 8 connections for Open User Communications (active or passive) using the following instructions: T_SEND_C, T_RECV_C, TCON, TDISCON, TSEND and TRECV.
Note Modbus TCP uses Open User Communications (OUC) connections as Modbus communications path. There can be multiple client-server connections in addition to the connection between STEP 7 and the CPU. Mixed client and server connections are supported up to the maximum number permitted to be supported by the CPU for Open User Communications.
3 connections for a passive S7-1200 CPU communicating with an active S7 CPU or LOGO!, this means the S7-1200 is S7 server. The active S7 CPU or LOGO! establishes the connection and uses PUT and GET instructions (S7-300, S7-400 and S7-1200) or the ETHx_XFER instruction (S7-200)
to read and write data.
8 connections for an active S7-1200 CPU or LOGO! communicating with a passive S7 CPU, this means the S7-1200 is S7 client. The active S7-1200 CPU establishes the connection and uses PUT and GET instructions to read and write data.
The S7-1200 CPU provides dedicated HMI connections to support up to 3 HMI devices.
The S7-1200 CPU provides connections to support 1 programming device (PG).
Web server connections (HTTP)
The S7-1200 provides connections for the web server.
PROFINET and PROFIBUS For PROFINET, the S7-1200 CPU supports a maximum of 8 PROFINET IO devices and 128 submodules, which ever is reached first. PROFIBUS supports a maximum of 16 DP slaves on one DP master with a maximum of 256 submodules per DP slave.
As from firmware version V3.0 the S7-1200 CPU supports 16 PROFINET IO devices with a maximum of 256 submodules. PROFIBUS supports 32 DP slaves with a maximum of 512 submodules per DP slave.
Validity This entry is valid for:
S7-1200 CPUs with firmware version V1.0.0.
STEP 7 Basic V10.5 without Service Pack.
Integrated PROFINET interface of the S7-1200 The integrated PROFINET interface of the S7-1200 CPU is implemented as RJ45 socket.
Supported protocols The S7-1200 supports the following protocols over the integrated PROFINET interface:
ISO-on-TCP (RFC 1006)
PROFINET RT - Basic Services and IO Controller
S7 communication (S7 server)
S7 communication the PUT/GET instructions (S7 client)
HTTP (Hypertext Transfer Protocol)
HTTPS - Hyper Text Transfer Protocol Secure
SNMP - Simple Network Management Protocol
LLDP - Link Layer Discovery Protocol
DCP - Discovery & Configuration Protocol
NTP - Network Time Protocol
ARP - Address Resolution Protocol
Additional Information More information about communications with the S7-1200 CPU is available in the S7-1200 manual in Entry ID: 36932465.
How can you access tags of the S7-1200 with WinCC?
Description It is possible to access tags of the S7-1200 from WinCC via the OPC.
For this, you create a PC station with an OPC server. You can access the OPC server with WinCC.
A detailed description of the required procedure is available in chapters 1 to 5 of the PDF in Entry ID 39960679.
Validity This FAQ is valid for
S7-1200 CPUs up to and including firmware version V1.0.2.