show the entry list
Industrial Ethernet S7-300/400 CPs -- Setting up and parameterizing hardware -- Synchronizing time
Time synchronization - Time synchronization in the automation environment
How do you configure the SIMATIC S7-300 as time master or time slave for time-of-day synchronization via Industrial Ethernet in SIMATIC mode?
How do you configure time synchronization?
Where can you find information on the Siclock system?
Which SIMATIC S7-300/S7-400 modules support the NTP time-of-day message and how do you activate this kind of time synchronization?
How can you calculate the actual local time (summer time or winter time) in the S7-300/400 CPU and then use it on the panel as system time?
How do you configure the SIMATIC S7-400 as time master or time slave for time-of-day synchronization via Industrial Ethernet in SIMATIC mode?
How do you configure a PC as NTP server?
Why can't you use the IEEE Standard 1588 for synchronizing SIMATIC controllers?
ProTool -- System-wide configuration -- Synchronizing time
How can you calculate the actual local time (summer time or winter time) in the S7-300/400 CPU and then use it on the panel as system time?
How do you synchronize date/time between a line/graphics operator panel (TD17, OP5, OP15, OP17, TP27, OP27, TP37, OP37) and an S7-300/400 controller with ProTool?
How do you synchronize the date and time between a Windows-based operator panel and the S7-300/S7-400 controller with ProTool?
How do you synchronize the date and time between an S7-300/400 and OP3 (C7-621) with ProTool?
How do you synchronize date and time between a TP170A and an S7-300/400 controller with ProTool?
How do you synchronize time/date between a TP170A and an S7-200 CPU with ProTool?
How do you synchronize the date and time between a line or graphics device (TD17, OP5, OP7, OP15, OP17, TP27, OP27, TP37, OP37) and an S7-200 CPU with ProTool?
How do you synchronize the date and time between an OP3 and an S7-200 CPU?
How do you synchronize the system clock between a Windows-based panel and an S7-200 CPU with ProTool?
How are the date and time of the S7-200 CPU displayed on a TP170A connected to it?
How do you synchronize time/date between a SIMATIC HMI panel and a SIMOTION controller?
How does time synchronization work between S5 and a Windows-based operator panel?
WinCC flexible ES -- Creating HMI configurations -- Synchronizing date and time
What settings are to be made in Windows 7 in order to change the system time of the PC by means of WinCC flexible Runtime/WinCC Runtime Advanced?
How can you calculate the actual local time (summer time or winter time) in the S7-300/400 CPU and then use it on the panel as system time?
How do you synchronize the data and time between a SIMATIC HMI panel and a SIMOTION controller?
How do you synchronize date/time between a TP170A / TP170micro / TP177micro and an S7-200 CPU with WinCC flexible?
How do you synchronize the date and time between a TP170A and the S7-300/S7-400 controller with WinCC flexible?
How do you synchronize the date and time between an operator panel and an S7-300/S7-400 controller with WinCC flexible?
How do you synchronize the system clock between a Windows-based panel and an S7-200 CPU with WinCC flexible?
How do you do the summer/winter time switchover with WinCC flexible (update to version V1.1)?
How do you change the date format in WinCC flexible?
How can you calculate the actual local time (summer time or winter time) in the S7-300/400 CPU and then use it on the panel as system time?
Part number:

Description:
There is no time conversion of the S7-300/400 CPU clock to summer or winter time in automation facilities with integrated time synchronization. Industrial plants with time synchronization are always supposed to be set to winter time In order to determine the current local time (summer time) in the CPU you can use block FC61 "BT_LT" of the standard library "Miscellaneous Blocks". The Online Help for "BT_LT" contains a list of the blocks required in addition. Based on a default basic time, "BT_LT" calculates the current local time by means of data stored in a data block The calculated local time can for instance serve as system time for operation and monitoring devices (e.g. SIMATIC HMI panels) by means of time synchronization.


Fig. 01

Example of a conversion of the CPU basic time in local time and transfer of the local time to the panel

Conversion of the CPU basic time into local time

  • Configure a data block according to structure UDT60 of the Standard Library "Miscellaneous Blocks" with the calculation parameters for the local time and the conversion data for summertime and wintertime. This DB must be specified as input parameter "WS_DAT" at the "BT_LT".


Fig. 02

  • Read out the basic time of the CPU using SFC1 "READ_CLK".
  • Specify the read out basic time as input parameter "BT" at the "BT_LT".
  • At the parameter "LT" the local time calculated is issued in the DATE_AND_TIME format.


Fig. 03

Transfer of the local time to the panel

The transfer of the local time determined "LT" to the panel can be carried out via the time-of-day synchronization between panel and CPU. With time-of-day synchronization, the local time determined can be transferred to the panel using controller jobs (14 "Set time" and 15 "Set date"). After executing job 14 or 15, the system time of panel is automatically set with the delivered data.

For more information and sample programs on time-of-day synchronization, see the following entries:
 

Sample programs

Entry ID:
How do you synchronize date/time between a line/graphics operator panel (TD17, OP5, OP15, OP17, TP27, OP27, TP37, OP37) and an S7-300/400 controller with ProTool? 24088798
How do you synchronize the date and time between an S7-300/400 and OP3 (C7-621) with ProTool? 23972743
How do you synchronize date and time between a TP170A and an S7-300/400 controller with ProTool? 23972509
How do you synchronize the date and time between a Windows-based operator panel and the S7-300/S7-400 controller with ProTool? 24079457
Table 1: Sample programs for time-of-day synchronization

 Entry ID:19324378   Date:2008-08-15 
I regard this article....as helpfulas not helpful                                 
mySupport
My Documentation Manager 
Newsletter 
CAx-Download-Manager 
Support Request
To this entry
Print
Create PDF 
Send to a friend
QuickLinks
Compatibility tool 
Help
Online Help
Guided Tour