Professional Documents
Culture Documents
Press the Save Changes button. Now the monitoring of time server starts on
clusterA and clusterB.
NTP mode
This option should be chosen when the ECS clusters are polling the PLC units
using the TCP driver. In this case, it is usual that the NTP Time-of-Day
synchronization is supported.
No setup is required on the ECS software. On the PLC side, some steps must be
followed.
Notes:
Only IPs entries are supported as NTP server addresses; no host names.
Ensure that the PLC and time servers belong to the same subnet.
The update interval shall be set as 60s, as default.
Cluster A Cluster B
Eng. Op.
(PS) (FS) Station Station
TCP TCP TCP
Adapter Adapter Adapter
Control Net
Siemens
PLC
If all the components share the network (no networks segmentation), only a
single TCP adapter per device is required.
Cluster A Cluster B
Eng. Op.
(PS) (FS) Station Station
TCP TCP TCP TCP
Adapter Adapter Adapter Adapter
Siemens
PLC
Figure 4.2.1.3 – CP 443-1 card configuration Figure 4.2.1.4 - CPU S7400 clock config.
Figure 4.2.1.5 – CP 443-1 card configuration Figure 4.2.1.6– CPU S7300 clock config.
Some CP 343-1 allows configuring the “Forward time of day to station” option.
This is by default enabled in the configuration since the CPU S7300 does not
usually support slave synchronization (see figure 4.2.1.6), but if the CPU provides
the option of requesting the time of day automatically from an NTP server using
the onboard Ethernet port, this CP option should be disabled. This avoids the time
of day acquired by the CPU from the NTP server being overwritten again by the
time of day received by the CP.
This setup applies to a CPU with onboard Ethernet-port, (example 315-2 PN/DP),
using the ECS clusters as the time servers.
In order to enable time synchronization to the PLC using CPU with internal
Ethernet-port, the Siemens controllers have to be configured in accordance to the
above pictures.
Simatic mode
In case the PLC Ethernet adapters do not support TCP protocol, or the ECS
clusters are currently using the OSI driver (upgrade project), and no chance of
reconfiguration to TCP, then the Simatic time broadcast (native mechanism) is
used.
For this purpose, each ECS cluster must be equipped, at least, with two Network
Ethernet adapters, one for the supervision network with TCPv4 protocol enabled,
and another one with the RawEther driver enabled. Please refer to (“ECC -
Installation Manual”) for further details.
As default, the time is set in the PLCs once per hour, and the time source is
always one of the ECS clusters of a system.
In case of V7 and V8 systems running in parallel and polling PLCs connected
physically to the same network, it must be ensured that only a couple of ECS
clusters sends out the time broadcast to the controllers, so the function must be
disabled in the other systems, e.g. ECSv7, PXP, QCX, etc..
This mechanism requires some configuration, in the ECS as well as in the
Siemens software.
The image below illustrates a typical control system network with the minimum
required NIC adapters. The engineering station is optionally equipped with 2
cards, one to display the ECS data from the clusters, and another one to go
online on the PLC.
Cluster A Cluster B
Eng. Op.
(PS) (FS) Station Station
RawEther RawEther TCP
Adapter Adapter Adapter
Control Net
Siemens
PLC
In the ECS system that set the time in the PLCs, the broadcast message
frequency shall be configured as illustrated:
The “Forward time of day” option lets configure whether the CP will forward time-
of-day messages when it receives them from a SIMATIC time transmitter from
the LAN.
If there is more than one CP in a station connected to the same network, only
one of them is allowed to forward the synchronization messages.