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

Advertisement

Quick Links

Edition
07/2023
MANUAL
SIMATIC
S7-1500 / ET 200MP
Technology Module TM NPU
6ES7556-1AA00-0AB0
support.industry.siemens.com

Advertisement

Table of Contents
loading

Summary of Contents for Siemens SIMATIC S7-1500

  • Page 1 Edition 07/2023 MANUAL SIMATIC S7-1500 / ET 200MP Technology Module TM NPU 6ES7556-1AA00-0AB0 support.industry.siemens.com...
  • Page 2 Introduction Security information SIMATIC Product overview S7-1500/ET 200MP Technology Module TM NPU Wiring Equipment Manual Configuration / address space Programming Diagnostics Technical specifications Parameter data records Dimension drawing Interlock of the TM NPU Configuration files 07/2023 A5E46384784-AC...
  • Page 3 Note the following: WARNING Siemens products may only be used for the applications described in the catalog and in the relevant technical documentation. If products and components from other manufacturers are used, these must be recommended or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and maintenance are required to ensure that the products operate safely and without any problems.
  • Page 4: Table Of Contents

    Table of contents Introduction............................Open Source Software...................... Security information........................... Security information......................Module-specific security information................. Important information regarding decommissioning of the module........Product overview..........................10 S7-1500/ET 200MP Documentation Guide................. 10 3.1.1 Information classes S7-1500/ET 200MP................10 3.1.2 Basic tools........................Properties......................... 14 Operator controls and display elements................
  • Page 5 Table of contents Programming............................30 MicroPython functionality....................31 6.1.1 Overview and description....................31 6.1.2 Using MicroPython......................32 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...............
  • Page 6: Introduction

    We are liable for the product described, including the open-source software contained in it, pursuant to the conditions applicable to the product. Siemens accepts no liability for the use of the open source software over and above the intended program sequence, or for any faults caused by modifications to the software.
  • Page 7: Security Information

    Siemens' products and solutions undergo continuous development to make them more secure. Siemens strongly recommends that product updates are applied as soon as they are available and that the latest product versions are used. Use of product versions that are no longer supported, and failure to apply the latest updates may increase customers' exposure to cyber threats.
  • Page 8: Module-Specific Security Information

    Security information 2.2 Module-specific security information Module-specific security information Observe the following security instructions. In this way, you protect the TM NPU against unauthorized access. In addition, you prevent: • Loss of data • Manipulation • Limited availability of the module Use of the Ethernet interface The TM NPU Ethernet interface and the services contained therein are exclusively designed for communication in an access-protected area of your system.
  • Page 9: 2.3 Important Information Regarding Decommissioning Of The Module

    Security information 2.3 Important information regarding decommissioning of the module Locking the Ethernet port Lock the unused Ethernet port mechanically with an RJ 45 port lock. Diagnostic message when the SIMATIC Memory Card is removed Removing the SIMATIC Memory Card during operation triggers a diagnostic event, which is indicated in the value status (error byte, bit 1) in the PII.
  • Page 10: Product Overview

    S7-1500/ET 200MP Documentation Guide 3.1.1 Information classes S7-1500/ET 200MP The documentation for the SIMATIC S7-1500 automation system and the ET 200MP distributed I/O system is arranged into three areas. This arrangement enables you to access the specific content you require. Changes and supplements to the manuals are documented in a Product Information.
  • Page 11 You can find the Manual Collection on the Internet. (https://support.industry.siemens.com/cs/de/en/view/109806400) SIMATIC S7-1500 comparison list for programming languages The comparison list contains an overview of which instructions and functions you can use for which controller families.
  • Page 12: Basic Tools

    You can find SIEMENS PRONETA Basic on the Internet: (https://support.industry.siemens.com/cs/ww/en/view/67460624) SIEMENS PRONETA Professional is a licensed product that offers you additional functions. It offers you simple asset management in PROFINET networks and supports operators of Technology Module TM NPU...
  • Page 13 (https://www.siemens.com/proneta-professional) SINETPLAN SINETPLAN, the Siemens Network Planner, supports you in planning automation systems and networks based on PROFINET. The tool facilitates professional and predictive dimensioning of your PROFINET installation as early as in the planning stage. In addition, SINETPLAN supports you during network optimization and helps you to exploit network resources optimally and to plan reserves.
  • Page 14: Properties

    Product overview 3.2 Properties Properties Article number 6ES7556-1AA00-0AB0 View of the module Technical properties • Open software architecture through integrated MicroPython interpreter • Loading and executing of neural networks • Processing of data of the utilized cameras • Processing of data from the CPU user program •...
  • Page 15 (Page 19). • Gigabit Ethernet Vision cameras You can find the list with an overview of the supported cameras on the Internet (https://support.industry.siemens.com/cs/ww/en/view/109815405). Accessories The following accessories are supplied with the module and can also be ordered separately as spare parts: •...
  • Page 16: Operator Controls And Display Elements

    Product overview 3.3 Operator controls and display elements Operator controls and display elements The figure below shows the operator controls and display elements of the TM NPU. ① LEDs: RUN, ERROR and MAINTENANCE ② Slot for the SIMATIC memory card ③...
  • Page 17: Functions

    Product overview 3.4 Functions Functions Advances in automation are requiring more and more computing power, as well as the use of technologies with artificial intelligence (AI). The TM NPU is equipped with an AI-capable processor. This enables fast and efficient processing of large amounts of data by means of neural networks. The AI processor is especially well-suited for image processing using neural networks.
  • Page 18 • Implementation of flexible and precise production processes • Streamlined collaboration between IT (DataScience) and OT (Automation) • Cost-effective solution because everything is supplied by SIEMENS • Availability of tailored tool chains for the AI side • Efficient solutions thanks to low costs •...
  • Page 19: Wiring

    ③ X80: Terminal for the 24 V DC supply voltage More information You can find more information on connecting and commissioning the TM NPU in the S7-1500, ET 200MP Automation System (https://support.industry.siemens.com/cs/ww/en/view/59191792) System Manual. Technology Module TM NPU Equipment Manual, 07/2023, A5E46384784-AC...
  • Page 20: 24 V Dc Supply Voltage

    Wiring 4.1 Terminal assignments and interface descriptions 4.1.2 24 V DC supply voltage The following table shows the signal names and the descriptions of the pin assignment of the 24 V DC supply voltage. View Signal name Description 24 V DC 24 V DC (for looping through) Ground Ground (for looping through) 1L+ and 2L+ as well as 1M and 2M are bridged internally Maximum 10 A permitted 4.1.3...
  • Page 21: Gigabit Ethernet

    NOTE The GigE Vision camera can also be connected via an Ethernet switch. We strongly recommend use of Gigabit-capable SIEMENS SCALANCE devices. Required network settings Make the required network settings, such as IP address, MTU size, etc. in the configuration file named below: network.conf (Page 56).
  • Page 22: Ftp Client

    More information You can find the list with an overview of the supported cameras and the recommended parameter settings ("Packet Delay", "MTU Size", "Frame Rate", "Resolution", etc.) on the Inter­ net (https://support.industry.siemens.com/cs/ww/en/view/109815405). 4.1.4.2 FTP client You establish a connection to an external FTP server via the Ethernet interface with the integrated FTP client, for example, to •...
  • Page 23: Block Diagram (Electrical)

    Wiring 4.2 Block diagram (electrical) Block diagram (electrical) The figure below shows the schematic circuit diagram of the TM NPU: ① NPU processor unit 24 V DC supply voltage ② Backplane bus interface Ground ③ Internal supply voltage converter RUN LED (green) Slot for SIMATIC Memory Card ERROR LED (red) X80 24 VDC...
  • Page 24: Block Diagram (Logical)

    Wiring 4.3 Block diagram (logical) Block diagram (logical) Symbolic structure and function of the TM NPU The figure below shows the symbolic structure, method of operation and software architecture of the TM NPU: Hardware Accelerator Intel® Movidius™ Myriad™ X Vision Processing Unit (VPU) The core operations of the TM NPU are performed by the Intel®...
  • Page 25 Wiring 4.3 Block diagram (logical) Structural distribution and mode of operation The TM NPU is subdivided functionally into "application" and "firmware": • The application consists of the neural network (or networks) and the user program – the so-called MicroPython script. The user program is not supplied with the TM NPU, but instead must be loaded from the SIMATIC Memory Card.
  • Page 26: Configuration / Address Space

    You integrate firmware version V2.0 of the module (6ES7 556-1AA00-0AB0) using HSP 0379. The Hardware Support Packages (HSP) are available for download on the Internet (https://support.industry.siemens.com/cs/ww/en/view/72341852). Alternatively, you can access this download from the menu bar of STEP 7 (TIA Portal): Options >...
  • Page 27: Address Space And Address Assignment

    Configuration / address space 5.2 Address space and address assignment Address space and address assignment The CPU and TM NPU exchange their data via the process image. The TM NPU works with a process image of 256 bytes for inputs and 256 bytes for outputs. In the process image of the inputs and outputs, the first two bytes are always reserved for the control, status and error information.
  • Page 28: Status And Error Information In The Process Image Input (Pii)

    Configuration / address space 5.3 Status and error information in the process image input (PII) More information You can find more information on the diagnostic messages in section Diagnostic messages (Page 41). Status and error information in the process image input (PII) Status byte 0 provides information regarding the validity of the processed data and the status of the module.
  • Page 29: Control Information In The Process Image Output (Piq)

    Configuration / address space 5.4 Control information in the process image output (PIQ) Error information in the IB n+1 The following image shows the assignment of the input byte IB n+1. The byte provides information about the errors detected. ① Bit 0: Error in the application, for example, uncaught exception in the script, script termination, syntax error in the script, etc.
  • Page 30: Programming

    • 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). Technology Module TM NPU Equipment Manual, 07/2023, A5E46384784-AC...
  • Page 31: Micropython Functionality

    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) MicroPython functionality 6.1.1...
  • Page 32: Using Micropython

    The documentation of the implemented MicroPython is provided with the latest firmware version. Note that future versions may contain additional changes. You can find a full list of supported functions and their description as well as information regarding changes here (https://support.industry.siemens.com/cs/ww/en/view/109812049). Technology Module TM NPU Equipment Manual, 07/2023, A5E46384784-AC...
  • Page 33: Sequence And Procedures

    Programming 6.2 Sequence and procedures More information You can find more information in section Further information about the MicroPython user interface (Page 38). 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.
  • Page 34 Programming 6.2 Sequence and procedures Example of a program flow The following figure shows an example of the basic program flow: ① • Initializing the camera ③ MicroPython standard libraries TM NPU-specific libraries and objects for • Video pipeline access to: •...
  • Page 35: Process Overview

    MicroPython script (main.py). More information You can find more information on the SIMATIC AI Model Deployer in the AI Model Deployer System Manual (https://support.industry.siemens.com/cs/ww/en/view/109810811). You can find more information on the configuration files in section Configuration files (Page 56).
  • Page 36: Initialization

    Programming 6.2 Sequence and procedures 6.2.1.2 Initialization Requirement The SIMATIC Memory Card contains the neural network(s) and the script. Starting the TM NPU Follow the steps below to start the TM NPU: 1. Insert the SIMATIC Memory Card into the intended slot. 2.
  • Page 37: Structure Of The "Main.py" Script File

    Programming 6.2 Sequence and procedures 6.2.2.3 Structure of the "main.py" script file The structure of the "main.py" script file is described by way of example below. This structure can be modified as needed depending on the application. Structure The "main.py" script file consists of 3 blocks: •...
  • Page 38: Further Information About The Micropython User Interface

    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.
  • Page 39: Diagnostics

    Diagnostics Status and error displays The diagnostic information provided by the status LEDs of the module represents an initial aid in limiting errors. To identify the error more precisely, the display of the CPU, the module status information indicated in STEP 7 or the diagnostic buffer of the CPU can be evaluated. There you will find plain text information about the error that occurred and the number of the matching error OB.
  • Page 40 Diagnostics 7.1 Status and error displays LED displays RUN/ERROR/MAINT Table 7-1  Meaning of the LEDs RUN/ERROR/MAINT LEDs Meaning Remedy ERROR MAINT No or too low supply voltage via backplane • Switch on the CPU or IM and/or the sys­ bus. tem power supply. •...
  • Page 41: Diagnostics Alarms

    Diagnostics 7.2 Diagnostics alarms LINK LED Meaning Remedy Ethernet connection established. Parameter assignment of the technology mod­ ule is valid. This file must be in Linux or Windows format in order to be read by the TM NPU. Editors outside a Linux environment can change the line endings and thus make the file unreadable for the TM NPU.
  • Page 42: Troubleshooting

    Diagnostics 7.3 Troubleshooting Troubleshooting 7.3.1 SIMATIC Memory Card cannot be read Cause When the TM NPU writes data to the SIMATIC Memory Card, the files must be opened with write access. The application must ensure that files are closed after the write operation. If the SIMATIC Memory Card is removed from the module during the write operation or if the power supply is interrupted, the files cannot be closed correctly.
  • Page 43: Camera-Specific Error

    Diagnostics 7.3 Troubleshooting 7.3.3 Camera-specific error Interruption of the connection to the camera during ongoing operation • The application continues running. • The connection to the camera must be reestablished. Camera not found during start • If the camera is called up in the script, execution of the script pauses until the camera has been found.
  • Page 44: Effects Of A High Network Load

    Diagnostics 7.3 Troubleshooting Procedure To view the MicroPython debug messages via web server, follow these steps: 1. Connect a programming device with an IP address in the same subnet to the TM NPU via Ethernet. 2. Start the TM NPU. The web server starts. 3.
  • Page 45: Technical Specifications

    Technical specifications Technical specifications TM NPU The following table shows the technical specifications at the time of printing. You can find a data sheet with the latest technical specifications on the Internet (https://support.industry.siemens.com/cs/ww/en/pv/6ES7556-1AA00-0AB0/td?dl=en): Article number 6ES7556-1AA00-0AB0 General information   Product type designation...
  • Page 46 Technical specifications Article number 6ES7556-1AA00-0AB0 Input current   Current consumption (rated value) 0.35 A; 24 V input voltage, USB load of 800 mA, 25 °C ambient temperature Current consumption, max. 0.6 A Inrush current, max. 3 A I²t 0.17 A²·s Power   Power available from the backplane bus 0.65 W Power consumption from the backplane bus 1.1 W...
  • Page 47 Technical specifications Article number 6ES7556-1AA00-0AB0 Interface types   • Yes; only for commissioning and test purposes Number of ports • • Output current of the interface, max. 900 mA Interface types   RJ 45 (Ethernet)   1000 Mbps • USB port  ...
  • Page 48: Firmware Update

    Altitude during operation relating to sea level   • Installation altitude above sea level, max. 2 000 m Decentralized operation   to SIMATIC S7-300 to SIMATIC S7-400 to SIMATIC S7-1200 to SIMATIC S7-1500 to standard PROFIBUS master to standard PROFINET controller Dimensions   Width 35 mm Height 147 mm Depth 129 mm...
  • Page 49: Hardware Versions And Hardware Functional State

    Technical specifications 8.2 Hardware versions and hardware functional state Hardware versions and hardware functional state Hardware functional state FS03 • A firmware update from firmware version V1.x to V2.x is not possible and will be aborted if attempted. The original firmware is retained unchanged. Both TIA Portal and Simatic Manager abort the update and issue a message.
  • Page 50: Parameter Data Records

    Parameter data records Parameter data record 128 NOTE The parameter data record 128 is read-only. Write access using WRREC (SFB53), for example, is rejected. Data record structure The following table shows the structure of the data record 128. Bit → Byte Reserved Major version...
  • Page 51: Parameter Data Record 1990

    Parameter data records A.2 Parameter data record 1990 Bit → Byte Reserved Reserved Reserved GigE Vision: Debug mode Reserved FTP client Ethernet inter­ 0 = Disabled (HTTP server): face: 1 = Enabled 0 = Disabled 0 = Disabled 1 = Enabled 1 = Enabled Reserved Number of following parameter blocks = 1...
  • Page 52 Parameter data records A.2 Parameter data record 1990 Data record structure (read) Byte Format Name Value uint8 command 0x42 uint8 status 0 = SUCCESS 1 = ERROR 2 = BUSY (read again) 2 … 32 uint16 counter 0 (if status != SUCCESS) 1 … 9999 The data record "read"...
  • Page 53: Dimension Drawing

    Dimension drawing The dimensional drawing of the module on the mounting rail, as well as a dimensional drawing with open front panel, are provided in the appendix. Always observe the specified dimensions for installation in cabinets, control rooms, etc. Dimensional drawings of the TM NPU technology module Figure B-1  Dimensional drawing of the TM NPU technology module, front and side views Technology Module TM NPU Equipment Manual, 07/2023, A5E46384784-AC...
  • Page 54 Dimension drawing Figure B-2  Dimensional drawing of the TM NPU technology module, side view with open front cover Technology Module TM NPU Equipment Manual, 07/2023, A5E46384784-AC...
  • Page 55: Interlock Of The Tm Npu

    Interlock of the TM NPU Locking options Provide additional protection for your TM NPU technology module from unauthorized access (for example to the SIMATIC memory card) by using a secure front cover. You have e.g. the following options: • Attach a seal •...
  • Page 56: Configuration Files

    Configuration files Inconsistent entries and errors in the network.conf, ftpclient.conf and debug.conf configuration files are reported via a group error in the PII. You can find more information on the process image input (PII) in the value status (error byte, bit 1) in section Status and error information in the process image input (PII) (Page 28). network.conf NOTE The configuration file "network.conf"...
  • Page 57: Ftpclient.conf

    Configuration files D.2 ftpclient.conf Use of the parameter "mtu" "mtu" stands for Maximum Transmission Unit and, in IP networks, refers to the maximum length (in bytes) of an IP packet that can be transmitted unfragmented in the network. The possible value range setting for the TM NPU is between 1500 bytes and 9216 bytes. When using a switch, e.g.
  • Page 58 Configuration files D.2 ftpclient.conf Example file "readonly":false, "server":"192.168.0.97", "localPath":"/FTPserver", "ftpUser":"user1", "ftpPass":"userPasswd" NOTE Use of /FTP "/FTP" is not a valid value for "localPath". NOTE Use of "ftpPass" Due to the JSON format of the "ftpclient.conf" configuration file, the following must be noted for the password: When using the characters "...
  • Page 59: Debug.conf

    Configuration files D.3 debug.conf "required": [ "server","localPath" ] debug.conf To enable debug mode, transfer the configuration file "debug.conf" to the TM NPU using the SIMATIC Memory Card. Requirement In order to access the debug web page of the module, the following requirements must be met: •...
  • Page 60 Configuration files D.3 debug.conf Example file NOTE MAC address Use the notation with hyphens and uppercase letters to specify the MAC address, as shown in the example. "DebugOn":"AC-64-17-CF-31-F1" Technology Module TM NPU Equipment Manual, 07/2023, A5E46384784-AC...
  • Page 61: Index

    Index FW update, 48 Technology Module TM NPU Equipment Manual, 07/2023, A5E46384784-AC...

This manual is also suitable for:

Simatic et 200mp

Table of Contents