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.

Download:
Documentation
Example Project TIA V14 SP1
Example Project TIA V15