Micropython Functionality; Overview And Description - Siemens SIMATIC S7-1500 Manual

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

Advertisement

Intel® Distribution of OpenVINO™ Toolkit
The OpenVINO toolkit is required for building the neural networks that are run on the
Intel® Movidius™ Myriad™ processor.
The Intel Distribution of OpenVINO-Toolkit includes a model optimizer as well as runtime and
development tools. It enables you to optimize, tune, and run comprehensive AI inference on
the device.
OpenVINO enables you to increase the deep learning performance for computer vision and
other tasks, including outside the TM NPU.
Use models that were trained with conventional frameworks, such as TensorFlow.
Use the OpenVINO version that is compatible with the TM NPU version in each case so that
the neural network is converted correctly.
You can find the compatible versions on the Internet
(https://support.industry.siemens.com/cs/us/en/view/109812049).
Reference: OpenVINO Toolkit (https://www.intel.com)
See also
Hardware Accelerator (https://www.intel.com)
6.1

MicroPython functionality

6.1.1

Overview and description

The TM NPU has no function without the MicroPython script. The entire functionality of the
TM NPU is provided and controlled by the MicroPython script.
You can find more information in section: Block diagram (logical) (Page 24)
During startup, the module searches the "Scripts" folder on the SIMATIC Memory Card for a
script named "main.py" and executes it.
An example script with an application example is available for download on the Internet
(https://support.industry.siemens.com/cs/ww/en/view/109781466).
MicroPython
• MicroPython is a slim and efficient implementation of the Python 3 programming
language.
• MicroPython contains a subset of the Python standard library.
• MicroPython is optimized for execution on microcontroller systems with limited resources
and in restricted environments.
Compiling and executing
MicroPython is provided with an integrated interpreter and a runtime environment in the
module. Additional tools are not required for compiling and executing the script.
More information
You can find more information on the website of MicroPython
(https://www.micropython.org/). You can find the documentation of MicroPython at micropy­
thon.org (https://docs.micropython.org/en/v1.12/).
Technology Module TM NPU
Equipment Manual, 07/2023, A5E46384784-AC
Programming
6.1 MicroPython functionality
31

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic et 200mp

Table of Contents