×
Siemens Industry Online Support
Siemens AG
Entry type: Application example Entry ID: 109753067, Entry date: 07/11/2019
(9)
Rate

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.

Overview
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:


Block

Description

LPNDR_ReadGlobalInfo

Reads general information about the device.

LPNDR_ReadMrpState

Returns the status of an MRP domain.

LPNDR_ReadWriteParameter

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,0 MB)

Archive
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
Upgrade to TIA Portal V15.1; Modifiy LinkStatus


 

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
https://www.siemens.com/cybersecurity#Ouraspiration.