plc.myforum.ro Forum Index plc.myforum.ro
PLCs users www.plc.myforum.ro!
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Library for PROFINET data records

 
Post new topic   Reply to topic    plc.myforum.ro Forum Index -> Simatic Automation Systems
View previous topic :: View next topic  
Author Message
maersk
Member 3
Member 3
maersk

Joined: 17 Aug 2014
Posts: 891

PostPosted: 18/01/2018 21:21    Post subject: Library for PROFINET data records Reply with quote

Library for PROFINET data records
https://support.industry.siemens.com/cs/document/109753067/
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.
https://support.industry.siemens.com/cs/attachments/109753067/109753067_PNDataRecords_Library_DOKU_V10_en.pdf
https://support.industry.siemens.com/cs/attachments/109753067/109753067_PNDateRecord_LIB_TIA_V10.zip
Back to top
View user's profile Send private message
gert
Member 3
Member 3
gert

Joined: 02 Jan 2015
Posts: 645

PostPosted: 02/05/2018 16:54    Post subject: status of an MRP ring in the CPU user program in TIA Reply with quote

How do you read out the status of an MRP ring in the user program of the CPU in STEP 7 (TIA Portal)?
Use 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
Code:
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.
https://support.industry.siemens.com/cs/attachments/109753067/109753067_PNDataRecords_Library_DOKU_V10_en.pdf
https://support.industry.siemens.com/cs/attachments/109753067/109753067_PNDateRecord_LIB_TIA_V10.zip
Back to top
View user's profile Send private message
geller
Junior
Junior


Joined: 25 Apr 2017
Posts: 17

PostPosted: 19/10/2018 14:08    Post subject: Library for PROFINET data records Reply with quote

Library for PROFINET data records
https://support.industry.siemens.com/cs/document/109753067/library-for-profinet-data-records
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.
https://support.industry.siemens.com/cs/attachments/109753067/109753067_PNDataRecords_Library_DOKU_V10_en.pdf
https://support.industry.siemens.com/cs/attachments/109753067/109753067_PNDateRecord_LIB_TIA_V10.zip
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    plc.myforum.ro Forum Index -> Simatic Automation Systems All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Fa-ti si tu propriul forum GRATUIT, pe www.myforum.ro