×
Siemens Industry Online Support
Siemens AG
Entry type: Application example Entry ID: 20987586, Entry date: 03/29/2005
(0)
Rate

Client-Server Communications between WinAC Basis and S7-200 Stations via S7 Communication (PUT/GET)

  • Entry
  • Associated product(s)


 Problem 
On the one hand a SIMATIC PC station should easily and cost efficiently tranfer small to medium sized parameter data to multiple small PLCs. Vice versa it should centrally collect process data from those PLCs.

Solution
The S7 communication is a uniform protocol within the entire SIMATIC family used to exchange data between automation systems via simple user interfaces. This application provides the user with a quick, practical introduction to become familiar with the client/server specifics of the S7 communications service PUT/GET and shows how to use the configuration and the user interface in the SIMATIC CPUs. The example specifically illustrates how a PC station with SIMATIC WinAC Basis can send data records with a size of approximately 100 bytes upon request of an S7-200 substation to this S7-200 substation via the MPI bus. In this process, the PC station  is the active client, the S7-200 station the passive server. 

The following picture illustrates the hardware configuration of this example.

The program shows a solution how to code the active side (WinAC Basis, client) in such a way that it is possible to process requests from the passive bit interface of the S7-200 CPU (server).

This principle is  illustrated in the following scheme.

Downloads

Content of Downloads

Download

Documentation (German)
Client-Server Communications between WinAC Basis and S7-200 Stations via S7 Communication (PUT/GET)
20987586_PutGet_S7200_DOKU_v10_d.pdf ( 445 KB )
Documentation (English)
Client-Server Communications between WinAC Basis and S7-200 Stations via S7 Communication (PUT/GET)
20987586_PutGet_S7200_DOKU_v10_e.pdf ( 450 KB )
Code  20987586_PutGet_S7200_CODE_v10.zip ( 227 KB )

 

History

Version

Modification

01/2004 first edition

Keywords: 
S7 Protocol, Bilaterally configured connection, Unilaterally configured connection, S7 connection, WinLC, WinAC, Fixed connection, PUT, GET, CPU 222


Security information
In order to protect technical infrastructures, systems, machines and networks against cyber threats, it is necessary to implement – and continuously maintain – a holistic, state-of-the-art IT security concept. Siemens’ products and solutions constitute one element of such a concept. For more information about cyber security, please visit
https://www.siemens.com/cybersecurity#Ouraspiration.
Rate entry
no rating
Requests and feedback
What do you want to do?
Note: The feedback always relates to the current entry / product. Your message will be forwarded to our technical editors working in the Online Support. In a few days, you will receive a response if your feedback requires one. If we have no further questions, you will not hear from us.