Siemens Industry Online Support
Siemens AG
Entry type: Application example Entry ID: 81367009, Entry date: 08/15/2019

FTP Client Communication with S7-1200/1500

  • Entry
  • Associated product(s)
This entry shows an application solution of how an S7-1500/1200 can exchange data with an FTP server as simple FTP client without communication processor.

The widely distributed File Transfer Protocol (FTP) offers you the possibility of storing data on almost any server system of all the known operating systems.

In this application example we provide you with a function block (Ftp1X00Cmd) that implements a FTP client into the S7-CPU. The block can perform the following FTP commands:


The following screen shows what components can be used by this application example in the FTP communication.

The FTP block introduced here enables the very easy use of 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.

Documentation and example project
  Dokumentation (1,5 MB)
 Registrierung notwendig  Project TIA Portal V15.1 (2,7 MB)

Other examples can be found here
Data transmission via FTP with SIMATIC S7-300 and CP 343-1 Advanced
Data transmission via FTP with SIMATIC S7-1500 and CP 1543-1

Last Changes
Update TIA Portal V15.1