Professional Documents
Culture Documents
ST-PCS7-Engineering-157-171
ST-PCS7-Engineering-157-171
TimeSyncState tags
After you have configured and activated the time synchronization of the OS servers, two
tags are created in the SSM directory of the internal tag management. The
@TimeSyncDevice1State and @TimeSyncDevice2State tags signal the status of the
server on the access point 1 and access point 2 interfaces. Possible states are: Active
Master, Passive Master, and Slave.
Communication settings
To check if these settings have been applied, select the following path on the OS
server:
"START > Siemens Automation > SIMATIC > SIMATIC NET >
Communication Settings".
Under "Time of day", make sure that "Time-of-day adjustment" is activated.
The "Received time" will only be synchronized when a time master is active and this
card is not the time master.
Take great care with the spelling when naming the access point. The must be identical
to the name selected in the Time Synchronization Editor.
CPU
The CPU module must be configured in HW Config under "Properties". Normally, the
AS is NOT configured as the master in PCS 7.
In the "Diagnostics/Clock" tab, the "As slave" option is set for the Synchronization
Type in the PLC. This allows the CPU to accept a time frame from the time master on
the system bus.
CP443-1 (Ethernet)
The Ethernet CP module must be configured in HW Configuration under "Properties".
Select the "SIMATIC Mode - Forward time of day" option in the "Time-of-Day
Synchronization" tab.
Do not select "Use corrected time". Click on "OK".
CP443-5 (Profibus)
The Profibus time can also be synchronized when configuring the Profibus CP as the
DP master and time synchronization slave. This must be configured in HW
Configuration.
The module time changes to the local time and returns after a few seconds to the
synchronized UTC time.
Requirements
CPU with integrated Ethernet interface
These CPUs may only be used in PCS 7 configurations with a system bus and
terminal bus.
The CPU with integrated Ethernet interface can only be synchronized using NTP mode.
The automation system is configured as the time master for time synchronization.
In contrast to the configuration for an OS server, all time synchronization settings on the
ES are made in WinCC in the client project and then downloaded to the client.
Open the client project of the ES.
Open "Time Synchronization".
Select the "Synchronization via Terminal Bus (Slave)" option and select "Use the time
from a connected WinCC server" check box.
This option uses the server data packets that were downloaded to the project in order
to locate the available OS servers.
You can use Windows aids to check whether the DCF77 service is running:
Computer Management > Applications and Services > Services
The DCF77 service must have the "Started" status.
Task
In this exercise, you configure the time synchronization of your system components.
The master server is used as the time master, and the redundancy partner is configured
as a cooperative time master. Regardless of the CPU used, the AS is synchronized by
means of the CP 443-1 in SIMATIC mode.
Checkpoint
The user administration must be configured for each client OS and server OS.
To simplify configuration, the user administration offers an export function.
Double-click "User Administrator" in WinCC Explorer to open user administration.
The WinCC Configuration Studio opens.
The authorization levels relate to functions in Runtime and have the following meanings:
Creating a group
You create a new user group with a right-click on "User Administrator" and selecting the
"New group" function. Enter the name of the new group.
You specify the authorizations of the group in the "Authorizations" tab. You can pass on
this authorization to members of the group.
Creating users
Create a new user either by right-clicking on the desired group and then selecting the
"New user" function. The properties of the user can either be specified in the main
window for a selected group or in the properties window for a selected user.
The two file formats "Office Open XML Workbook" .xlsx and "Text file" .txt are available
for the export.
The import of user data does not depend on the selection in the navigation area and
always takes place in the main menu.
Edit > Import
Make sure that the import of data cannot be undone.