Siemens Industry Online Support
Siemens AG
Entry type: Application example, Entry ID: 39040038, Entry date: 07/25/2014

Data synchronization over open communication between multiple field devices (S7-1200) and a head PLC (S7-1200/ S7-300/ WinAC) (Set 17).

  • Entry
  • Associated product(s)
The application example demonstrates with a concrete example the data synchronization between one head PLC and several field PLCs.

For synchronization tasks and the exchange of control and status information between one head PLC and several field PLCs, a performant cyclic communication is needed.
The following points must be noted here:

  • Supply of all the field PLCs with the same or different sets of data from the head PLC (down sync).
  • Updating the sets of data from all the field PLCs in the head PLC (up sync).

For solving the task, the block DATASYNC_X has been developed, which automatically assumes the control of the data synchronization:

  • Function block DATASYNC_HEAD for the head PLC
  • Function block DATASYNC_SUB for the field PLC

The application example is demonstrated with a concrete example - the control of solar trackers. The expression solar tracker means solar energy systems which can be tracked according to the position of the sun to ensure the best possible energy yields.
For the field PLC, a CPU S7-1200 is used in this example. For the head PLC, this solution uses two types of devices:

  • An S7-1200 controller
  • An S7-300/400/ IPC with WinAC
The head PLC sequentially establishes an ISO-on-TCP communication connection with each field PLC and terminates it again. Data is sent to the field PLCs and data is received from them. After all field PLCs have been operated, the process is repeated.
The data communication among the PLCs is displayed in images by the HMI panel.

The realization of the data synchronisation with the DATASYNC_X function block has the following advantages for you:

  • simple and transparent integration of the DATASYNC_X blocks in your existing user program.
  • flexible modification of the quantity structure for the send and receive of the data.
  • number of field PLCs is variabel.

  Documentation (1,3 MB) 
 Registrierung notwendig  Project (TIA Portal V13 SP1) (16,2 MB) 

Security Notes
In order to protect plants, systems, machines and networks against cyber threats, it is necessary to implement – and continuously maintain – a holistic, state-of-the-art industrial security concept. Siemens’ products and solutions only form one element of such a concept. Customer is responsible to prevent unauthorized access to its plants, systems, machines and networks. Systems, machines and components should only be connected to the enterprise network or the internet if and to the extent necessary and with appropriate security measures (e.g. use of firewalls and network segmentation) in place. Additionally, Siemens’ guidance on appropriate security measures should be taken into account. For more information about industrial security, please visit http://www.siemens.com/industrialsecurity. Siemens’ products and solutions undergo continuous development to make them more secure. Siemens strongly recommends to apply product updates as soon as available and to always use the latest product versions. Use of product versions that are no longer supported, and failure to apply latest updates may increase customer’s exposure to cyber threats. To stay informed about product updates, subscribe to the Siemens Industrial Security RSS Feed under http://www.siemens.com/industrialsecurity.

Last Changes
Security Notice actualized, update Project to V13 SP1

Additional Keywords
S7-1200, data synchronization, data concentrator


Copy URL
mySupport Cockpit