Setting Up Ftp Communication; The Program Block Ftp_Cmd (Ftp Client Function) - Siemens S7-1500 Operating Instructions Manual

Simatic net
Hide thumbs Also See for S7-1500:
Table of Contents

Advertisement

4.7

Setting up FTP communication

4.7.1

The program block FTP_CMD (FTP client function)

Meaning
Using the FTP_CMD instruction, you can establish FTP connections and transfer files from
and to an FTP server.
Note
Block versions
You can use the version V2.x of FTP_CMD in a station only in conjunction with a CPU and a
CP V2.x V2.x.
As soon as the station obtains a CPU V1.x or CP V1.x, you must use FTP_CMD in the older
version V1.x (e.g. V1.4). To do this, change the version of the "SIMATIC NET CP" library to
V3.4. You can then select an older version of the block.
The table below shows the compatibility.
Table 4- 1
Data transfer is possible using FTP or FTPS (secure SSL connections).
Note
FTPS: Comparing certificates
FTPS requires a comparison of the certificates between FTP server and FTP client. If the
FTP server is configured outside the STEP 7 project of the FTP client, the certificate needs
to be imported from the FTP server. Import the certificate of the FTP server as a trusted
certificate in the certificate manager.
How it works
The FTP_CMD instruction references a job block (ARG) in which the FTP command is
specified. Depending on the type of FTP command (CMD), this job block uses different data
structures for parameter assignment. Suitable data types (UDTs) are available for these
various structures.
The following diagram shows the call structure:
CP 1543-1
Operating Instructions, 05/2017, C79000-G8976-C289-07
Compatibility of the block FTP_CMD with versions of the CPU and CP
FTP_CMD
V1.5
V1.5
V2.0
Configuration, programming
4.7 Setting up FTP communication
CPU
V1.x
Any
V2.x
CP 1543-1
Any
V1.x
V2.x
47

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cp 1543-1

Table of Contents