
6 Programming...................................................................................................................................... 30
6.1 MicroPython functionality................................................................................................. 31
6.1.1 Overview and description.................................................................................................. 31
6.1.2 Using MicroPython............................................................................................................ 32
6.2 Sequence and procedures................................................................................................. 33
6.2.1 Process overview.............................................................................................................. 35
6.2.1.1 SIMATIC Memory Card...................................................................................................... 35
6.2.1.2 Initialization...................................................................................................................... 36
6.2.2 main.py - structure and setup............................................................................................ 36
6.2.2.1 Application start / execution of the Python script............................................................... 36
6.2.2.2 Working with MicroPython................................................................................................ 36
6.2.2.3 Structure of the "main.py" script file.................................................................................. 37
6.2.2.4 "main.py" script file during operation................................................................................ 37
6.2.3 Further information about the MicroPython User Interface................................................ 38
7 Diagnostics......................................................................................................................................... 39
7.1 Status and error displays................................................................................................... 39
7.2 Diagnostics alarms............................................................................................................ 41
7.3 Troubleshooting............................................................................................................... 42
7.3.1 SIMATIC Memory Card cannot be read............................................................................... 42
7.3.2 Check data integrity on the SIMATIC Memory Card............................................................ 42
7.3.3 Camera-specific error........................................................................................................ 43
7.3.4 Viewing MicroPython debug messages via web server....................................................... 43
7.3.5 Effects of a high network load .......................................................................................... 44
8 Technical specifications...................................................................................................................... 45
8.1 Firmware update.............................................................................................................. 48
8.2 Hardware versions and hardware functional state............................................................. 49
A Parameter data records...................................................................................................................... 50
A.1 Parameter data record 128................................................................................................ 50
A.2 Parameter data record 1990.............................................................................................. 51
B Dimension drawing............................................................................................................................ 53
C Interlock of the TM NPU...................................................................................................................... 55
D Configuration files.............................................................................................................................. 56
D.1 network.conf.................................................................................................................... 56
D.2 ftpclient.conf.................................................................................................................... 57
D.3 debug.conf....................................................................................................................... 59
Index................................................................................................................................................... 61
Technology Module TM NPU
Equipment Manual, 07/2023, A5E46384784-AC 5
Table of contents