Programming - Siemens SIMATIC S7-1500 Manual

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

Advertisement

Programming

The application-specific program for the TM NPU consists of multiple program sections that
are loaded into the memory of the TM NPU from a SIMATIC Memory Card:
• Application: MicroPython script in "main.py"
• Configuration files
• Neural networks
Application
The application uses the MicroPython API for the following:
• Communication with the module firmware and reading data of connected cameras.
• Processing of data through the neural network(s).
Neural network
The neural network:
• Processes input data, for example, from the process image or a connected camera, using
the trained AI model.
• Transfers the result to the application.
• Use of the Intel® Movidius™ Myriad™ X as AI accelerator results in several hardware-
specific limitations when using a self-created network.
You can find out more details on the supported layers and the limitations on the Internet
(https://support.industry.siemens.com/cs/ww/en/view/109812049).
Application example
The application example contains files (with detailed description) of executable programs for
object classification and recognition.
The description supplements the TM NPU Equipment Manual and covers the following topics:
• Configuring the TM NPU with STEP 7 (TIA Portal)
• Loading the application and the neural networks into the TM NPU
• Displaying the results on the HMI device or in the watch table
• Use of function blocks for controlling the data exchange between the PLC and TM NPU
• Procedure for changing and expanding the programs by customer-specific objects
The application example and the associated documentation is available for download on the
Internet (https://support.industry.siemens.com/cs/ww/en/view/109781466).
30
Technology Module TM NPU
Equipment Manual, 07/2023, A5E46384784-AC
6

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic et 200mp

Table of Contents