Siemens SIMATIC NET S7-1500 Operating Instructions Manual page 52

Industrial ethernet
Hide thumbs Also See for SIMATIC NET S7-1500:
Table of Contents

Advertisement

Configuration, programming
4.7 FTP communication
Job block for write and read access and other FTP commands
The following data structure is used for the FTP commands store, retrieve, delete and
append.
Table 4- 7
FTP_FILENAME
Parameter
InterfaceID
HW_ANY
ID
CONN_OUC
ConnectionType
BYTE
ActiveEstablishment BOOL
FTPcmd
BYTE
CertIndex
BYTE
DataBlockNumber
UINT
LenFilename
UINT
Filename
ARRAY[0..3] OF
STRING[254]
52
Type
Range of values
1, 2...64
0
TRUE
2, 3, 4, 6
0 = FTP
1 = FTPS
0...1000
Meaning / remarks
Module start address
When you call an instruction, you transfer the module start
address of the CP in the LADDR parameter.
You will find the module start address of the CP in the
configuration of the CP under: "Proper-
ties>Addresses>Inputs"
The FTP jobs are handled on FTP connections. The pa-
rameter identifies the connection being used.
Connection type "FTP"
TRUE = active connection establishment
FTP command "STORE / RETRIEVE / DELETE /
APPEND"
FTP command that executes when the instruction is called.
You can find the value ranges for the command types in
the section Input parameter - FTP_CMD (Page 47).
Note:
The FTP command specified here must be specified identi-
cally in the CMD input parameter.
Here, choose between the protocol types FTP or FTPS.
Note on FTPS:
If the FTP server is configured outside the STEP 7 project
of the FTP client, the certificate must be imported from the
FTP server.
The data block specified here contains the file DB to be
read / written.
The "LenFilename" parameter for specifying the total length
of the file name is not evaluated.
Instead, the length information in the string of the "File-
name" parameter is evaluated.
File name of the destination or source file.
The four strings for the file name are concatenated and
transferred to the server as a complete string.
Operating Instructions, 12/2019, C79000-G8976-C289-08
CP 1543-1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic net cp 1543-1

Table of Contents