×
Siemens Industry Online Support
Siemens AG
Entry type: Application example Entry ID: 81367009, Entry date: 05/14/2018
(21)
Rate

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:

  • CONNECT
  • STORE
  • RETRIEVE
  • DELETE
  • APPEND
  • DISCONNECT

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
  Documentation (1,4 MB) 
 Registrierung notwendig  Project TIA Portal V15 (2,4 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
Bugfixing

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.