EasyManuals Logo

Siemens SIMATIC NET S7-1500 User Manual

Siemens SIMATIC NET S7-1500
90 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #53 background imageLoading...
Page #53 background image
Configuration, programming
4.7 FTP communication
CP 1543-1
Operating Instructions, 12/2019, C79000-G8976-C289-08
53
Job block for the RETR_PART FTP command
The following data structure is used for the RETR_PART FTP command.
Table 4- 8 FTP_FILENAME_PART
Parameter
Type
Range of values
Meaning / remarks
InterfaceID HW_ANY 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"
ID CONN_OUC 1, 2...64 The FTP jobs are handled on FTP connections. The pa-
rameter identifies the connection being used.
ConnectionType
BYTE
0
Connection type "FTP"
ActiveEstablishment
BOOL
TRUE
TRUE = active connection establishment
FTPcmd BYTE 7 FTP command "RETR_PART"
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).
The FTP command specified here must be specified identi-
cally in the CMD input parameter.
CertIndex BYTE 0 = FTP
1 = FTPS
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.
Offset
DWORD
Offset in bytes starting at which the file will be read.
Length DWORD Sublength in bytes that is read starting at the value speci-
fied in "OFFSET".
Special features:
If "DW#16#FFFFFFFF" is specified, the available rest of
the file will be read.
Result OK (DONE = 1, STATUS = 0) if no other error
occurred.
When OFFSET > length of the original file:
Length of the destination file (ACT_LENGTH in file DB):
0 bytes on the CPU.
Result OK (DONE = 1, STATUS = 0) if no other error
occurred.
When OFFSET + LEN > length of the original file (and
LEN ≠ 0xFFFFFFFF):
Length of the destination file (ACT_LENGTH in file DB):
Available bytes starting at "OFFSET".
Result OK (DONE = 1, STATUS = 0) if no other error oc-
curred.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SIMATIC NET S7-1500 and is the answer not in the manual?

Siemens SIMATIC NET S7-1500 Specifications

General IconGeneral
Product FamilySIMATIC NET
Product SeriesS7-1500
Supply voltage24 V DC
Protection classIP20
TypeIndustrial Ethernet
Transfer rate10/100/1000 Mbps
ProtocolsPROFINET, TCP/IP
Operating temperature0 °C to 60 °C
Storage Temperature-40 °C to 70 °C
InterfaceRJ45
Product type designationSIMATIC NET S7-1500
Relative Humidity5 to 95% (non-condensing)

Related product manuals