Library for PROFINET data records
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.
Upgrade to TIA Portal V15.1; Modifiy LinkStatus