Siemens Industry Online Support
Siemens AG
Entry type: Application example Entry ID: 109753067, Entry date: 11/28/2019

Library for PROFINET data records

  • Entry
  • Associated product(s)
The "LPNDR" block library includes several function blocks. With these you can read various device and status information from a PROFINET device and describe parameters.

With the "LPNDR" block library, you receive function blocks with which you can read various device and status information from a PROFINET device and describe parameters.

Functions of the library
You can use the library blocks to perform the following functions:

  • Reading the device information:

  • Information via the interface, e.g. IP and MAC address

  • Information about the device interface, e.g. status, medium, name

  • Information about the link status of the interfaces, e.g. link down, link up

  • Information about the role of the device in MRP, e.g. client, manager

  • Port statistics information, e.g. number of received bytes

  • Readout of the MRP status

  • Modification of the parameters of an analog input module of the ET 200SP at runtime, e.g. to enable and disable channel diagnostics.

The finished functions are freely customizable and can therefore be used universally.

Components of the library
The following table lists the function blocks of the library:




Reads general information about the device.


Returns the status of an MRP domain.


Reads and writes a parameter data record to an analog input module of the ET 200SP.

Documentation and Example
The library "LPNDR" can be used with all SIMATIC S7-1200 and S7-1500 CPUs. You can read the information from all devices that are PROFINET-capable.

  Library Description (1,2 MB) 
 Registrierung notwendig  Library (TIA Portal V15.1) (1,2 MB)

Here You find the older Version of the entry with TIA Portal V14.
 Registrierung notwendig  Archive-File (TIA Portal V14) (818,2 KB)

Last Changes
Adjustment of block "LPNDR_ReadGlobalInfo"

Security information
In order to protect technical infrastructures, systems, machines and networks against cyber threats, it is necessary to implement – and continuously maintain – a holistic, state-of-the-art IT security concept. Siemens’ products and solutions constitute one element of such a concept. For more information about cyber security, please visit
Rate entry
no rating
Requests and feedback
What do you want to do?
Note: The feedback always relates to the current entry / product. Your message will be forwarded to our technical editors working in the Online Support. In a few days, you will receive a response if your feedback requires one. If we have no further questions, you will not hear from us.