| View previous topic :: View next topic |
| Author |
Message |
maersk Member 3


Joined: 17 Aug 2014 Posts: 891
|
Posted: 19/06/2015 14:37 Post subject: TCP File Server for S7 Controller |
|
|
TCP File Server for S7 Controller
This application shows you how the production data of all common S7 CPUs can be stored in CSV compus directly in the files of a Windows computer.
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
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.
Project for STEP 7 V13 SP1 and TCP-File Server (6,5 MB)
https://support.industry.siemens.com/cs/attachments/109475508/109475508_PLC_to_CSV_DOC_v10_en.pdf
https://support.industry.siemens.com/cs/attachments/109475508/109475508_PLC_to_CSV_CODE_v10.zip |
|
| Back to top |
|
 |
maersk Member 3


Joined: 17 Aug 2014 Posts: 891
|
Posted: 22/06/2015 17:04 Post subject: FTP Client Communication with S7-1200/1500 |
|
|
FTP Client Communication with S7-1200/1500
https://support.industry.siemens.com/cs/document/81367009/ftp-client-communication-with-s7-12001500
In this application example we supply you with a function block (FTP_1X00_CMD) which implements an FTP client into the S7-CPU. The example shows how to use the FTP_1X00_CMD block by means of two scenarios and is operated via an HMI panel.
Transferring process data from the controller to an FTP server.
Transferring data from an FTP server to the controller.
The figure below shows the setup of this application
The FTP block introduced here enables you to use a S7-1200 / S7-1500 CPU as FTP client with the most frequent FTP commands. The FTP command set corresponds to that of the S7 300/400/1500 CPs
https://support.industry.siemens.com/cs/attachments/81367009/81367009_FTP_S7-1X00_DOKU_V2_0_en.pdf
https://support.industry.siemens.com/cs/attachments/81367009/81367009_FTP_S7-1X00_CODE_V1_0.zip |
|
| Back to top |
|
 |
maersk Member 3


Joined: 17 Aug 2014 Posts: 891
|
Posted: 28/02/2017 13:39 Post subject: TCP File Server for S7 Controller |
|
|
TCP File Server for S7 Controller
https://support.industry.siemens.com/cs/document/109475508/tcp-file-server-for-s7-controller
Documentation und example project TIA V14
https://support.industry.siemens.com/cs/attachments/109475508/109475508_PLC_to_CSV_DOC_v13_en.pdf
https://support.industry.siemens.com/cs/attachments/109475508/109475508_PLC_to_CSV_CODE_V13.zip |
|
| Back to top |
|
 |
|