EasyManua.ls Logo

Siemens SIMATIC ET 200AL - Page 777

Siemens SIMATIC ET 200AL
1585 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
Loading...
Open User Communication
6.9 Setting up communication via FTP
Communication
Function Manual, 12/2017, A5E03735815-AF
91
Procedure for setting up FTP client functionality
Requirement:
The FTP server can be reached via the IPv4 network
.
1. Configure an S7-1500 automation system with CPU and CP 1543-1 in the device view of
the Devices & networks editor of STEP 7.
At the same time, you need to select the check box "Permit access with PUT/GET
communication from remote partner (PLC, HMI, OPC, ...)" in the HW configuration of the
S7-1500 CPU under the "Protection" area navigation in the section "Connection
mechanisms".
2. Call the FTP_CMD instruction in the user program of the CPU.
3. Set the connection parameters for the FTP server in the FTP_CMD instruction.
4. Create a global DB and within this DB a tag of the type FTP_CONNECT_IPV4,
FTP_CONNECT_IPV6 or FTP_CONNECT_NAME.
5. Interconnect the tag within the data block with the FTP_CMD instruction.
6. For the connection to the FTP server, specify the following in the DB:
The user name, the password and the IP address for the FTP access in the relevant
data type (FTP_CONNECT_IPV4, FTP_CONNECT_IPV6 or FTP_CONNECT_NAME)
7. Download the hardware configuration and user program to the CPU.
Application examples
Application example: FTP communication with S7-1500 and CP 1543-1
You can find the application example on the Internet
(https://support.industry.siemens.com/cs/ww/en/view/103550797
).
Application example: Evaluate FTP client communication with S7-1200/1500
You can find the application example on the Internet
(https://support.industry.siemens.com/cs/ww/en/view/81367009
).
Additional information
The STEP 7 online help describes:
The system data types
The instructions for open communication
The connection parameters

Table of Contents

Other manuals for Siemens SIMATIC ET 200AL

Related product manuals