Ftpclient.conf - Siemens SIMATIC S7-1500 Manual

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

Advertisement

Use of the parameter "mtu"
"mtu" stands for Maximum Transmission Unit and, in IP networks, refers to the maximum
length (in bytes) of an IP packet that can be transmitted unfragmented in the network.
The possible value range setting for the TM NPU is between 1500 bytes and 9216 bytes.
When using a switch, e.g. for data transmission via FTP, the parameter "mtu" must be set
according to the performance capability of the switch used and the FTP server.
When a GigE Vision camera is used, we recommend working with jumbo frames for best
performance.
Set "mtu" to 9000 bytes. Set the same value for the "mtu" parameter on the TM NPU and the
camera.
If the parameter is not specified in the configuration file "network.conf", the default value
1500 bytes is used.
If you set a value outside the permissible range of 1500 to 9216 bytes, the Ethernet interface
is not enabled. A configuration error (Page 28) is signaled in the value status (error byte, bit
3) in the process image input (PII).
D.2

ftpclient.conf

In order to exchange data with the TM NPU using the FTP protocol, you must transfer the
configuration file "ftpclient.conf" to the TM NPU using the SIMATIC Memory Card beforehand.
Structure of the configuration file
The configuration file "ftpclient.conf" contains the following information:
• readonly
• server
• localPath
• ftpUser
• ftpPass
Supported character sets: UTF-8, CP1252
Permitted line endings: CR-LF (Windows), LF (Unix), CR (Mac)
Procedure
1. Create or edit the configuration file "ftpclient.conf".
The file is in JSON format.
2. Copy the configuration file "ftpclient.conf" to the "config" folder on the
SIMATIC Memory Card.
The FTP client of the TM NPU only starts if the configuration file "ftpclient.conf" is present
on the SIMATIC Memory Card.
Changes to the configuration file "ftpclient.conf" only take effect after a restart of the
TM NPU.
3. Provide an external FTP server and connect it to the TM NPU via Ethernet.
You can then exchange data with the external FTP server by calling corresponding
MicroPython commands in the TM NPU.
Technology Module TM NPU
Equipment Manual, 07/2023, A5E46384784-AC
Configuration files
D.2 ftpclient.conf
57

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic et 200mp

Table of Contents