Further Information About The Micropython User Interface - Siemens SIMATIC S7-1500 Manual

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

Advertisement

Programming
6.2 Sequence and procedures
Access to an FTP server
During runtime, there is read and write access to an external FTP server, which can be
accessed via the FTP client of the module (Page 22).
The FTP server access can be used, for example, for the following:
• Saving inference results and recorded images, e.g. for gathering training data
• Loading neural networks
• For validation of a neural network:
Reading images from the FTP server and using them as input for the neural network.
During startup, the FTP client of the module requires a little time (approx. 10 s) to become
fully initialized, since the startup runs in parallel with the initialization routines of the
"main.py" script.
If you attempt to access the FTP server during this time, an error message occurs. To avoid
accessing the FTP server during startup, you have the option of integrating a waiting period
in the script (sleep).
NOTE
Use of the "Change" and "Attach" functions
Use of the "Change" or "Attach" function when accessing files on the FTP server, e.g. "r+",
"w+", etc. or "a*", is not supported and results in overwriting of the file.
6.2.3

Further information about the MicroPython User Interface

You can find more information on the Online API and on MicroPython functions on the Inter­
net (https://support.industry.siemens.com/cs/ww/en/view/109812049):
• MicroPython APIs
• Additional documentation
You can find the complete MicroPython documentation in the same entry, organized under
the compatible TM NPU firmware version.
38
Technology Module TM NPU
Equipment Manual, 07/2023, A5E46384784-AC

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic et 200mp

Table of Contents