Sequence And Procedures - Siemens SIMATIC S7-1500 Manual

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

Advertisement

More information
You can find more information in section Further information about the MicroPython user
interface (Page 38).
6.2

Sequence and procedures

Program sequence
The basic program flow is described in the following:
1. The MicroPython script is copied to the SIMATIC Memory Card that is inserted in the
TM NPU.
2. During initialization, the TM NPU checks if the MicroPython script "main.py" is present on
the inserted SIMATIC Memory Card.
3. The "main.py" script is loaded into the RAM of the TM NPU.
4. The required initializations are executed by the "main.py" script:
– Instantiation of the camera and video pipeline
– Loading of the neural network
5. Additional module functionality is defined, e.g.:
– Waiting for trigger condition from the CPU
– Fetching an image from the camera stream
– Pre-processing the image via video pipeline
– Processing of the pre-processed image via neural network
Technology Module TM NPU
Equipment Manual, 07/2023, A5E46384784-AC
Programming
6.2 Sequence and procedures
33

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic et 200mp

Table of Contents