TCP File Server for S7 Controller
With the help of the “TCP Client” function block in the individual S7 stations, the data is prepared and sent to the PC station via the TCP protocol. The “TCP file server” PC program receives the data records from the SIMATIC stations and saves it line by line in the files.
The following figure shows the configuration and the user interface of the application.
The solution was realized for S7-300, S7-1200 and S7-1500 CPUs.
This example offers you the following advantages:
- Economic alternative for small applications
- Easy configuration
- Individual expandability by open source code
- Transferring and saving of the data in any formats (CSV, XML, binary etc.), since the formatting is performed in the program of the S7 controller.
Documentation und example project
Documentation (1,5 MB)
Project for STEP 7 V14 and TCP-File Server (4,1 MB)
Archive for STEP 7 V13 SP1 (5,8 MB)
Improvements in Windows Application, updated to STEP 7 V14